PageSourceSearch

https://lobe-chat-eight-virid-32.vercel.app/_next/static/chunks/98914-32203d9a01d2e21f.js

js lobe-chat-eight-virid-32.vercel.app collected 2026-10-03 07:19:24 UTC 197,704 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[98914],{381:(t,e,r)=>{r.d(e,{A:()=>n});let n=(0,r(19946).A)("Settings",[["path",{d:"M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z",key:"1qme2f"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]])},4503:(t,e,r)=>{r.d(e,{M:()=>u});var n=function(t,e){var r=e.voice;return'<voice name="'.concat(r,'">').concat(t,"</voice>")},o=function(t,e){var r=e.style;return r?'<mstts:express-as style="'.concat(r,'">').concat(t,"</mstts:express-as>"):t},i=function(t,e){var r=e.pitch,n=e.rate;return r||n?'<prosody pitch="'.concat(Math.floor(100*(r||1)),'%" rate="').concat(Math.floor(100*(n||1)),'%">').concat(t,"</prosody>"):t},u=function(t,e){var r,u=i(t,e);return r=u=n(u=o(u,e),e),u='<speak version="1.0" xmlns="http://www.w3.org/2001/10/synthesis" xmlns:mstts="https://www.w3.org/2001/mstts" xml:lang="en-US">'.concat(r,"</speak>")}},7066:(t,e,r)=>{r.d(e,{A:()=>M});var n,o=r(12115),i=r(90134),u=r(68132),a=r(77325),c=r(74273);let l=(0,c.A)("Command",[["path",{d:"M15 6v12a3 3 0 1 0 3-3H6a3 3 0 1 0 3 3V6a3 3 0 1 0-3 3h12a3 3 0 1 0-3-3",key:"11bfej"}]]);var s=r(5795);let f=(0,c.A)("CornerDownLeft",[["polyline",{points:"9 10 4 15 9 20",key:"r3jprv"}],["path",{d:"M20 4v7a4 4 0 0 1-4 4H4",key:"6o5b7l"}]]);var h=r(73751),p=r(43825),y=r(37439),d="undefined"!=typeof window&&"navigator"in window&&/(mac|iphone|ipod|ipad)/i.test(navigator.platform),v=(0,r(28968).rU)(function(t){var e,r,o=t.css,i=t.token;return o(n||(e=["\n    position: relative;\n\n    height: 100%;\n\n    font-family: ",";\n    font-size: 13px;\n    line-height: 1.8;\n  "],r||(r=e.slice(0)),n=Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(r)}}))),i.fontFamilyCode)}),g=r(95155);function m(t){return(m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var b=["text","type","onCancel","defaultValue","onConfirm","renderButtons","textareaStyle","textareaClassname","placeholder","height","style","editButtonSize","classNames","shortcut"];function D(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function w(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?D(Object(r),!0).forEach(function(e){var n,o,i;n=t,o=e,i=r[e],(o=function(t){var e=function(t,e){if("object"!=m(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=m(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==m(e)?e:String(e)}(o))in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):D(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function x(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}var E=(0,o.memo)(function(t){var e,r=t.text,n=t.type,i=t.onCancel,u=t.defaultValue,c=t.onConfirm,m=t.renderButtons,D=t.textareaStyle,E=t.textareaClassname,k=t.placeholder,A=t.height,O=t.style,F=t.editButtonSize,j=void 0===F?"middle":F,S=t.classNames,C=t.shortcut,L=function(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r,n,o={},i=Object.keys(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||(o[r]=t[r]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}(t,b),P=function(t){if(Array.isArray(t))return t}(e=(0,o.useState)(u||""))||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,u,a=[],c=!0,l=!1;try{i=(r=r.call(t)).next;for(;!(c=(n=i.call(r)).done)&&(a.push(n.value),a.length!==e);c=!0);}catch(t){l=!0,o=t}
1finally{try{if(!c&&null!=r.return&&(u=r.return(),Object(u)!==u))return}finally{if(l)throw o}}return a}}(e,2)||function(t,e){if(t){if("string"==typeof t)return x(t,2);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return x(t,e)}}(e,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),_=P[0],B=P[1],T=v(),N=T.cx,z=T.styles;return(0,g.jsxs)(h.Flexbox,w(w({gap:16,style:w({flex:1,width:"100%"},O)},L),{},{children:[(0,g.jsx)(y.TextArea,{autoSize:"auto"===(void 0===A?"auto":A),className:N(z,E),classNames:S,onBlur:function(t){return B(t.target.value)},onChange:function(t){return B(t.target.value)},onPressEnter:C?function(t){(d?t.metaKey:t.ctrlKey)&&(null==c||c(_))}:void 0,placeholder:k,resize:!1,style:D,type:void 0===n?"pure":n,value:_}),(0,g.jsx)(h.Flexbox,{direction:"horizontal-reverse",gap:8,children:m?m(_).map(function(t,e){return(0,g.jsx)(a.Ay,w({size:"small"},t),e)}):(0,g.jsxs)(g.Fragment,{children:[(0,g.jsxs)(a.Ay,{onClick:function(){null==c||c(_)},size:j,type:"primary",children:[(null==r?void 0:r.confirm)||"Confirm",C&&(0,g.jsxs)(h.Flexbox,{gap:4,horizontal:!0,children:[(0,g.jsx)(p.default,{icon:d?l:s.A,size:{fontSize:12}}),(0,g.jsx)(p.default,{icon:f,size:{fontSize:12}})]})]}),(0,g.jsx)(a.Ay,{onClick:i,size:j,children:(null==r?void 0:r.cancel)||"Cancel"})]})})]}))}),k=r(68296),A=r(30794);function O(t){return(O="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var F=["defaultValue","onChange"];function j(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function S(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?j(Object(r),!0).forEach(function(e){var n,o,i;n=t,o=e,i=r[e],(o=function(t){var e=function(t,e){if("object"!=O(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=O(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==O(e)?e:String(e)}(o))in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):j(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function C(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}var L=(0,o.memo)(function(t){var e,r=t.defaultValue,n=t.onChange,i=function(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r,n,o={},i=Object.keys(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||(o[r]=t[r]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}(t,F),u=function(t){if(Array.isArray(t))return t}(e=(0,o.useState)(r||""))||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,u,a=[],c=!0,l=!1;try{i=(r=r.call(t)).next;for(;!(c=(n=i.call(r)).done)&&(a.push(n.value),a.length!==e);c=!0);}catch(t){l=!0,o=t}finally{try{if(!c&&null!=r.return&&(u=r.return(),Object(u)!==u))return}finally{if(l)throw o}}return a}}(e,2)||function(t,e){if(t){if("string"==typeof t)return C(t,2);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return C(t,e)}}
1(e,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),a=u[0],c=u[1];return(0,g.jsx)(y.TextArea,S(S({onBlur:function(){return null==n?void 0:n(a)},onChange:function(t){c(t.target.value)},onPressEnter:function(){null==n||n(a)}},i),{},{value:a}))});function P(t){return(P="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function _(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function B(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?_(Object(r),!0).forEach(function(e){var n,o,i;n=t,o=e,i=r[e],(o=function(t){var e=function(t,e){if("object"!=P(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=P(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==P(e)?e:String(e)}(o))in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):_(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function T(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,u,a=[],c=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(a.push(n.value),a.length!==e);c=!0);}catch(t){l=!0,o=t}finally{try{if(!c&&null!=r.return&&(u=r.return(),Object(u)!==u))return}finally{if(l)throw o}}return a}}(t,e)||function(t,e){if(t){if("string"==typeof t)return N(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return N(t,e)}}(t,e)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function N(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}var z=(0,o.memo)(function(t){var e=t.editing,r=t.open,n=t.height,c=void 0===n?"auto":n,l=t.onOpenChange,s=t.onEditingChange,f=t.placeholder,p=t.value,y=t.onChange,d=t.text,m=t.footer,b=t.extra,D=(0,k.Q)().mobile,w=v().styles,x=T((0,i.A)(!1,{onChange:s,value:e}),2),E=x[0],O=x[1],F=T((0,i.A)(!1,{onChange:l,value:r}),2),j=F[0],S=F[1],C=T((0,o.useState)(p),2),P=C[0],_=C[1],N="auto"===c,z={height:N?"unset":c,overflowX:"hidden",overflowY:"auto"},I=E?(0,g.jsxs)(h.Flexbox,{direction:"horizontal-reverse",gap:8,children:[(0,g.jsx)(a.Ay,{onClick:function(){O(!1),null==y||y(P),_(p)},type:"primary",children:(null==d?void 0:d.confirm)||"Confirm"}),(0,g.jsx)(a.Ay,{onClick:function(){O(!1),_(p)},children:(null==d?void 0:d.cancel)||"Cancel"})]}):m;return(0,g.jsx)(A.default,{allowFullscreen:!0,cancelText:(null==d?void 0:d.cancel)||"Cancel",destroyOnClose:!0,footer:I,okText:(null==d?void 0:d.edit)||"Edit",onCancel:function(){S(!1),O(!1),_(p)},onOk:function(){return O(!0)},open:j,title:null==d?void 0:d.title,children:E?(0,g.jsx)(L,{autoSize:N,className:w,defaultValue:p,onChange:function(t){return _(t)},placeholder:f,resize:!1,style:{flex:D?1:void 0,height:N?"unset":c,minHeight:D?"unset":"100%"},type:D?"pure":"block"}):(0,g.jsxs)(g.Fragment,{children:[b,(0,g.jsx)(u.default,{style:p?z:B(B({},z),{},{opacity:.5}),variant:"chat",children:String(p||f)})]})})});function I(t){return(I="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function $(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function G(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};
1e%2?$(Object(r),!0).forEach(function(e){var n,o,i;n=t,o=e,i=r[e],(o=function(t){var e=function(t,e){if("object"!=I(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=I(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==I(e)?e:String(e)}(o))in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):$(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function R(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,u,a=[],c=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(a.push(n.value),a.length!==e);c=!0);}catch(t){l=!0,o=t}finally{try{if(!c&&null!=r.return&&(u=r.return(),Object(u)!==u))return}finally{if(l)throw o}}return a}}(t,e)||function(t,e){if(t){if("string"==typeof t)return U(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return U(t,e)}}(t,e)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function U(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}let M=(0,o.memo)(function(t){var e=t.value,r=t.onChange,n=t.classNames,o=void 0===n?{}:n,a=t.onEditingChange,c=t.editing,l=t.openModal,s=t.onOpenChange,f=t.placeholder,h=t.showEditWhenEmpty,p=t.styles,y=t.height,d=t.inputType,v=t.editButtonSize,m=t.text,b=t.fullFeaturedCodeBlock,D=t.model,w=t.fontSize,x=t.markdownProps,k=R((0,i.A)(!1,{onChange:a,value:c}),2),A=k[0],O=k[1],F=R((0,i.A)(!1,{onChange:s,value:l}),2),j=F[0],S=F[1],C="auto"===y,L=(0,g.jsx)(E,{className:null==o?void 0:o.input,classNames:{textarea:null==o?void 0:o.textarea},defaultValue:e,editButtonSize:v,height:y,onCancel:function(){return O(!1)},onConfirm:function(t){null==r||r(t),O(!1)},placeholder:f,shortcut:!0,style:null==p?void 0:p.input,text:m,textareaClassname:null==o?void 0:o.input,type:d});return!e&&void 0!==h&&h?L:(0,g.jsxs)(g.Fragment,{children:[!j&&A?L:(0,g.jsx)(u.default,G(G({className:null==o?void 0:o.markdown,fontSize:w,fullFeaturedCodeBlock:b,style:G({height:C?"unset":y},null==p?void 0:p.markdown),variant:"chat"},x),{},{children:e||f||""})),j&&(0,g.jsx)(z,{editing:A,extra:null==D?void 0:D.extra,footer:null==D?void 0:D.footer,height:y,onChange:r,onEditingChange:O,onOpenChange:function(t){S(t),O(!1)},open:j,placeholder:f,text:m,value:e})]})})},13409:(t,e,r)=>{r.d(e,{F:()=>F});var n=r(12115),o=r(90427),i=r(49597);function u(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(t,e){if(t){if("string"==typeof t)return a(t,void 0);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return a(t,e)}}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,o=function(){};return{s:o,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,u=!0,c=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return u=t.done,t},e:function(t){c=!0,i=t},f:function(){try{u||null==r.return||r.return()}finally{if(c)throw i}}}}function a(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}var c=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:100;c=t;var r=[],n=(t=(0,i.v0)(c).replaceAll(/[\uFF01-\uFF5E]/g,function(t){return String.fromCharCode(t.charCodeAt(0)-65248)}
1).replaceAll(" "," ").replaceAll("。",".").replaceAll(",",",").replaceAll("!","!").replaceAll("?","?").replaceAll(";",";").replaceAll(":",":").replaceAll("(","(").replaceAll(")",")").replaceAll("【","[").replaceAll("】","]").replaceAll("《","<").replaceAll("》",">").replaceAll("“",'"').replaceAll("”",'"').replaceAll("‘","'").replaceAll("’","'").replaceAll("\n",". ").replaceAll(/\s+/g," ")).split("\n"),o="";function a(t){t.trim()&&r.push(t.trim())}var c,l,s=u(n);try{for(s.s();!(l=s.n()).done;){var f=l.value;if(o.length+f.length+1>e&&o.length>0&&(a(o),o=""),f.length>e){var h,p=f.match(/[^!.?]+[!.?]+/g)||[f],y=u(p);try{for(y.s();!(h=y.n()).done;){var d=h.value;o.length+d.length+1>e&&o.length>0&&(a(o),o=""),o+=(o?" ":"")+d.trim()}}catch(t){y.e(t)}finally{y.f()}}else o+=(o?"\n":"")+f}}catch(t){s.e(t)}finally{s.f()}return o&&a(o),r};function l(t){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function s(){s=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},u=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag";function f(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{f({},"")}catch(t){f=function(t,e,r){return t[e]=r}}function h(e,r,n,i){var u,a,c,l,s=Object.create((r&&r.prototype instanceof m?r:m).prototype);return o(s,"_invoke",{value:(u=e,a=n,c=new S(i||[]),l=y,function(e,r){if(l===d)throw Error("Generator is already running");if(l===v){if("throw"===e)throw r;return{value:t,done:!0}}for(c.method=e,c.arg=r;;){var n=c.delegate;if(n){var o=function e(r,n){var o=n.method,i=r.iterator[o];if(i===t)return n.delegate=null,"throw"===o&&r.iterator.return&&(n.method="return",n.arg=t,e(r,n),"throw"===n.method)||"return"!==o&&(n.method="throw",n.arg=TypeError("The iterator does not provide a '"+o+"' method")),g;var u=p(i,r.iterator,n.arg);if("throw"===u.type)return n.method="throw",n.arg=u.arg,n.delegate=null,g;var a=u.arg;return a?a.done?(n[r.resultName]=a.value,n.next=r.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,g):a:(n.method="throw",n.arg=TypeError("iterator result is not an object"),n.delegate=null,g)}(n,c);if(o){if(o===g)continue;return o}}if("next"===c.method)c.sent=c._sent=c.arg;else if("throw"===c.method){if(l===y)throw l=v,c.arg;c.dispatchException(c.arg)}else"return"===c.method&&c.abrupt("return",c.arg);l=d;var i=p(u,a,c);if("normal"===i.type){if(l=c.done?v:"suspendedYield",i.arg===g)continue;return{value:i.arg,done:c.done}}"throw"===i.type&&(l=v,c.method="throw",c.arg=i.arg)}})}),s}function p(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=h;var y="suspendedStart",d="executing",v="completed",g={};function m(){}function b(){}function D(){}var w={};f(w,u,function(){return this});var x=Object.getPrototypeOf,E=x&&x(x(C([])));E&&E!==r&&n.call(E,u)&&(w=E);var k=D.prototype=m.prototype=Object.create(w);function A(t){["next","throw","return"].forEach(function(e){f(t,e,function(t){return this._invoke(e,t)})})}function O(t,e){var r;o(this,"_invoke",{value:function(o,i){function u(){return new e(function(r,u){!function r(o,i,u,a){var c=p(t[o],t,i);if("throw"!==c.type){var s=c.arg,f=s.value;return f&&"object"==l(f)&&n.call(f,"__await")?e.resolve(f.__await).then(function(t){r("next",t,u,a)},function(t){r("throw",t,u,a)}):e.resolve(f).then(function(t){s.value=t,u(s)},function(t){return r("throw",t,u,a)})}a(c.arg)}(o,i,r,u)})}return r=r?r.then(u,u):u()}})}function F(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function j(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function S(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(F,this),this.reset(!0)}function C(e){if(e||""===e){var r=e[u];if(r)return r.call(e);
vendor: 4,070 bytes, line 1
1if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o<e.length;)if(n.call(e,o))return r.value=e[o],r.done=!1,r;return r.value=t,r.done=!0,r};return i.next=i}}throw TypeError(l(e)+" is not iterable")}return b.prototype=D,o(k,"constructor",{value:D,configurable:!0}),o(D,"constructor",{value:b,configurable:!0}),b.displayName=f(D,c,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===b||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,D):(t.__proto__=D,f(t,c,"GeneratorFunction")),t.prototype=Object.create(k),t},e.awrap=function(t){return{__await:t}},A(O.prototype),f(O.prototype,a,function(){return this}),e.AsyncIterator=O,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var u=new O(h(t,r,n,o),i);return e.isGeneratorFunction(r)?u:u.next().then(function(t){return t.done?t.value:u.next()})},A(k),f(k,c,"Generator"),f(k,u,function(){return this}),f(k,"toString",function(){return"[object Generator]"}),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=C,S.prototype={constructor:S,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(j),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function o(n,o){return a.type="throw",a.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var u=this.tryEntries[i],a=u.completion;if("root"===u.tryLoc)return o("end");if(u.tryLoc<=this.prev){var c=n.call(u,"catchLoc"),l=n.call(u,"finallyLoc");if(c&&l){if(this.prev<u.catchLoc)return o(u.catchLoc,!0);if(this.prev<u.finallyLoc)return o(u.finallyLoc)}else if(c){if(this.prev<u.catchLoc)return o(u.catchLoc,!0)}else{if(!l)throw Error("try statement without catch or finally");if(this.prev<u.finallyLoc)return o(u.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var u=i?i.completion:{};return u.type=t,u.arg=e,i?(this.method="next",this.next=i.finallyLoc,g):this.complete(u)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),g},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),j(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;j(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function f(t,e,r,n,o,i,u){try{var a=t[i](u),c=a.value}catch(t){r(t);return}a.done?e(c):Promise.resolve(c).then(n,o)}function h(t){return function(){var e=this,r=arguments;return new Promise(function(n,o){var i=t.apply(e,r);function u(t){f(i,n,o,u,a,"next",t)}function a(t){f(i,n,o,u,a,"throw",t)}u(void 0)})}}function p(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,u,a=[],c=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(a.push(n.value),a.length!==e);c=!0);}catch(t){l=!0,o=t}
1finally{try{if(!c&&null!=r.return&&(u=r.return(),Object(u)!==u))return}finally{if(l)throw o}}return a}}(t,e)||y(t,e)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function y(t,e){if(t){if("string"==typeof t)return d(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return d(t,e)}}function d(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}var v=function(){var t,e,r=(0,n.useRef)(null),o=p((0,n.useState)([]),2),i=o[0],u=o[1],a=p((0,n.useState)(0),2),c=a[0],l=a[1],f=p((0,n.useState)(0),2),v=f[0],g=f[1],m=p((0,n.useState)(!1),2),b=m[0],D=m[1],w=p((0,n.useState)(0),2),x=w[0],E=w[1];(0,n.useEffect)(function(){try{r.current=new Audio}catch(t){}if(r.current){var t=function(){r.current&&g(r.current.duration)},e=function(){r.current&&l(r.current.currentTime)};return r.current.addEventListener("loadedmetadata",t),r.current.addEventListener("timeupdate",e),function(){r.current&&(r.current.pause(),r.current.load(),r.current.removeEventListener("loadedmetadata",t),r.current.removeEventListener("timeupdate",e))}}},[]),(0,n.useEffect)(function(){if(r.current){var t,e=(t=h(s().mark(function t(){var e,n,o;return s().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(!(!r.current||!r.current.currentSrc)){t.next=2;break}return t.abrupt("return");case 2:r.current.pause(),x<i.length?(e=r.current.currentTime,n=new Blob(i,{type:"audio/mp3"}),r.current.src&&URL.revokeObjectURL(r.current.src),o=URL.createObjectURL(n),r.current.src=o,r.current.load(),r.current.currentTime=e,r.current.play(),E(i.length)):(D(!1),r.current.currentTime=0,l(0));case 4:case"end":return t.stop()}},t)})),function(){return t.apply(this,arguments)});return r.current.addEventListener("ended",e),function(){r.current&&r.current.removeEventListener("ended",e)}}},[x,i]);var k=(0,n.useCallback)((t=h(s().mark(function t(e){var n;return s().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(!(!e||!r.current)){t.next=2;break}return t.abrupt("return");case 2:0===x&&(n=new Blob([e],{type:"audio/mp3"}),r.current.src=URL.createObjectURL(n),r.current.load(),r.current.play(),D(!0),E(1)),u(function(t){return[].concat(function(t){if(Array.isArray(t))return d(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||y(t)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),[e]).filter(Boolean)});case 4:case"end":return t.stop()}},t)})),function(e){return t.apply(this,arguments)}),[x]),A=(0,n.useCallback)(function(){r.current&&r.current.duration>0&&(D(!0),r.current.play())},[]),O=(0,n.useCallback)(function(){r.current&&(D(!1),r.current.pause())},[]),F=(0,n.useCallback)(function(){r.current&&(D(!1),r.current.pause(),r.current.currentTime=0)},[]),j=(0,n.useCallback)(function(t){r.current&&(l(t),r.current.currentTime=t)},[]),S=(0,n.useCallback)(function(){r.current&&(r.current.pause(),r.current.currentTime=0,r.current.src&&URL.revokeObjectURL(r.current.src),r.current.src="",E(0),u([]),g(0),l(0))},[]);return{arrayBuffers:i,currentTime:c,download:(0,n.useCallback)(h(s().mark(function t(){var e;return s().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(r.current){t.next=2;break}return t.abrupt("return");case 2:(e=document.createElement("a")).href=r.current.src,e.download="audio.mp3",e.click();case 6:case"end":return t.stop()}},t)})),[]),duration:v,isPlaying:b,load:k,pause:O,play:A,ref:r,reset:S,setTime:j,stop:F,url:(null==r||null===(e=r.current)||void 0===e?void 0:e.src)||""}};function g(t){return(g="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var m=["onError","onSuccess","onFinish","onStart","onStop"],b=["load","reset"];function D(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function w(){w=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},u=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(e,r,n,i){var u,a,c,l,s=Object.create((r&&r.prototype instanceof v?r:v).prototype);return o(s,"_invoke",{value:(u=e,a=n,c=new S(i||[]),l=h,function(e,r){if(l===p)throw Error("Generator is already running");if(l===y){if("throw"===e)throw r;return{value:t,done:!0}}for(c.method=e,c.arg=r;;){var n=c.delegate;if(n){var o=function e(r,n){var o=n.method,i=r.iterator[o];if(i===t)return n.delegate=null,"throw"===o&&r.iterator.return&&
vendor: 6,029 bytes, line 1
1(n.method="return",n.arg=t,e(r,n),"throw"===n.method)||"return"!==o&&(n.method="throw",n.arg=TypeError("The iterator does not provide a '"+o+"' method")),d;var u=f(i,r.iterator,n.arg);if("throw"===u.type)return n.method="throw",n.arg=u.arg,n.delegate=null,d;var a=u.arg;return a?a.done?(n[r.resultName]=a.value,n.next=r.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,d):a:(n.method="throw",n.arg=TypeError("iterator result is not an object"),n.delegate=null,d)}(n,c);if(o){if(o===d)continue;return o}}if("next"===c.method)c.sent=c._sent=c.arg;else if("throw"===c.method){if(l===h)throw l=y,c.arg;c.dispatchException(c.arg)}else"return"===c.method&&c.abrupt("return",c.arg);l=p;var i=f(u,a,c);if("normal"===i.type){if(l=c.done?y:"suspendedYield",i.arg===d)continue;return{value:i.arg,done:c.done}}"throw"===i.type&&(l=y,c.method="throw",c.arg=i.arg)}})}),s}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="executing",y="completed",d={};function v(){}function m(){}function b(){}var D={};l(D,u,function(){return this});var x=Object.getPrototypeOf,E=x&&x(x(C([])));E&&E!==r&&n.call(E,u)&&(D=E);var k=b.prototype=v.prototype=Object.create(D);function A(t){["next","throw","return"].forEach(function(e){l(t,e,function(t){return this._invoke(e,t)})})}function O(t,e){var r;o(this,"_invoke",{value:function(o,i){function u(){return new e(function(r,u){!function r(o,i,u,a){var c=f(t[o],t,i);if("throw"!==c.type){var l=c.arg,s=l.value;return s&&"object"==g(s)&&n.call(s,"__await")?e.resolve(s.__await).then(function(t){r("next",t,u,a)},function(t){r("throw",t,u,a)}):e.resolve(s).then(function(t){l.value=t,u(l)},function(t){return r("throw",t,u,a)})}a(c.arg)}(o,i,r,u)})}return r=r?r.then(u,u):u()}})}function F(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function j(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function S(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(F,this),this.reset(!0)}function C(e){if(e||""===e){var r=e[u];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o<e.length;)if(n.call(e,o))return r.value=e[o],r.done=!1,r;return r.value=t,r.done=!0,r};return i.next=i}}throw TypeError(g(e)+" is not iterable")}return m.prototype=b,o(k,"constructor",{value:b,configurable:!0}),o(b,"constructor",{value:m,configurable:!0}),m.displayName=l(b,c,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===m||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,l(t,c,"GeneratorFunction")),t.prototype=Object.create(k),t},e.awrap=function(t){return{__await:t}},A(O.prototype),l(O.prototype,a,function(){return this}),e.AsyncIterator=O,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var u=new O(s(t,r,n,o),i);return e.isGeneratorFunction(r)?u:u.next().then(function(t){return t.done?t.value:u.next()})},A(k),l(k,c,"Generator"),l(k,u,function(){return this}),l(k,"toString",function(){return"[object Generator]"}),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=C,S.prototype={constructor:S,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(j),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function o(n,o){return a.type="throw",a.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var u=this.tryEntries[i],a=u.completion;if("root"===u.tryLoc)return o("end");if(u.tryLoc<=this.prev){var c=n.call(u,"catchLoc"),l=n.call(u,"finallyLoc");if(c&&l){if(this.prev<u.catchLoc)return o(u.catchLoc,!0);if(this.prev<u.finallyLoc)return o(u.finallyLoc)}else if(c){if(this.prev<u.catchLoc)return o(u.catchLoc,!0)}else{if(!l)throw Error("try statement without catch or finally");if(this.prev<u.finallyLoc)return o(u.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var u=i?i.completion:{};return u.type=t,u.arg=e,i?(this.method="next",this.next=i.finallyLoc,d):this.complete(u)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),d},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),j(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;j(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function x(t,e,r,n,o,i,u){try{var a=t[i](u),c=a.value}catch(t){r(t);return}a.done?e(c):Promise.resolve(c).then(n,o)}function E(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,u,a=[],c=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(a.push(n.value),a.length!==e);c=!0);}catch(t){l=!0,o=t}
1finally{try{if(!c&&null!=r.return&&(u=r.return(),Object(u)!==u))return}finally{if(l)throw o}}return a}}(t,e)||k(t,e)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function k(t,e){if(t){if("string"==typeof t)return A(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return A(t,e)}}function A(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function O(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r,n,o={},i=Object.keys(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||(o[r]=t[r]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}var F=function(t,e,r){var i,u=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},a=u.onError,l=u.onSuccess,s=u.onFinish,f=u.onStart,h=u.onStop,p=O(u,m),y=E((0,n.useState)(!1),2),d=y[0],F=y[1],j=E((0,n.useState)(!1),2),S=j[0],C=j[1],L=E((0,n.useState)(0),2),P=L[0],_=L[1],B=E((0,n.useState)([]),2),T=B[0],N=B[1],z=v(),I=z.load,$=z.reset,G=O(z,b),R=(0,n.useCallback)(function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];F(!1),C(!1),$(),_(0),N(t)},[]),U=(0,n.useCallback)(function(){null==h||h(),R([])},[R]),M=(0,o.default)(d&&(null==T?void 0:T.length)>0?[t,null==T?void 0:T[P]].join("-"):null,(i=w().mark(function t(){return w().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,r(T[P]);case 2:return t.abrupt("return",t.sent);case 3:case"end":return t.stop()}},t)}),function(){var t=this,e=arguments;return new Promise(function(r,n){var o=i.apply(t,e);function u(t){x(o,r,n,u,a,"next",t)}function a(t){x(o,r,n,u,a,"throw",t)}u(void 0)})}),function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?D(Object(r),!0).forEach(function(e){var n,o,i;n=t,o=e,i=r[e],(o=function(t){var e=function(t,e){if("object"!=g(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=g(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==g(e)?e:String(e)}(o))in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):D(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}({onError:function(t){for(var e=arguments.length,r=Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];null==a||a.apply(void 0,[t].concat(r)),console.error("Error useTTS:",t),R()},onSuccess:function(t){for(var e,r=arguments.length,n=Array(r>1?r-1:0),o=1;o<r;o++)n[o-1]=arguments[o];(null==l||l.apply(void 0,[t].concat(n)),I(t),P<T.length-1)?_(P+1):(null==s||s.apply(void 0,[[].concat(function(t){if(Array.isArray(t))return A(t)}(e=G.arrayBuffers)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(e)||k(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),[t]).filter(Boolean)].concat(n)),F(!1),C(!1))}},p)),q=M.isLoading,Y=M.error,Z=M.mutate,H=(0,n.useCallback)(function(){e&&!q&&(null==f||f(),$(),F(!0),C(!0))},[e,q]);return(0,n.useEffect)(function(){return R(c(e)),function(){R()}},[e]),{audio:G,canStart:!q&&!!e,error:Y,isGlobalLoading:S,isLoading:q,mutate:Z,start:H,stop:U}}},22538:(t,e,r)=>{r.d(e,{A:()=>x});var n=r(3580),o=r(50859),i=r(71640),u=r(12115);let a=t=>t.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),c=function(){for(var t=arguments.length,e=Array(t),r=0;r<t;r++)e[r]=arguments[r];return e.filter((t,e,r)=>!!t&&""!==t.trim()&&r.indexOf(t)===e).join(" ").trim()};var l={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let s=(0,u.forwardRef)((t,e)=>{let{color:r="currentColor",size:n=24,strokeWidth:o=2,absoluteStrokeWidth:i,className:a="",children:s,iconNode:f,...h}=t;return(0,u.createElement)("svg",{ref:e,...l,width:n,height:n,stroke:r,strokeWidth:i?24*Number(o)/Number(n):o,className:c("lucide",a),...h},[...f.map(t=>{let[e,r]=t;return(0,u.createElement)(e,r)}),...Array.isArray(s)?s:[s]])}),f=(t,e)=>{let r=(0,u.forwardRef)((r,n)=>{let{className:o,...i}=r;return(0,u.createElement)(s,{ref:n,iconNode:e,className:c("lucide-".concat(a(t)),o),...i})});return r.displayName="".concat(t),r},h=f("CirclePause",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"10",x2:"10",y1:"15",y2:"9",key:"c1nkhi"}],["line",{x1:"14",x2:"14",y1:"15",y2:"9",key:"h65svq"}]]),p=f("CircleStop",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["rect",{x:"9",y:"9",width:"6",height:"6",rx:"1",key:"1ssd4o"}]]),y=f("Play",[["polygon",{points:"6 3 20 12 6 21 6 3",key:"1oa8hb"}]]),d=f("Download",[["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["polyline",{points:"7 10 12 15 17 10",key:"2ggqvy"}],["line",{x1:"12",x2:"12",y1:"15",y2:"3",key:"1vk2je"}]]);var v=r(73751),g=r(65933),m=r(95155);function b(t){return(b="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function D(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function w(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};
1e%2?D(Object(r),!0).forEach(function(e){var n,o,i;n=t,o=e,i=r[e],(o=function(t){var e=function(t,e){if("object"!=b(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=b(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==b(e)?e:String(e)}(o))in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):D(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}let x=(0,u.memo)(function(t){var e=t.isLoading,r=t.style,a=t.timeStyle,c=t.buttonSize,l=t.className,s=t.onLoadingStop,f=t.audio,b=void 0===f?{canPlay:!1,currentTime:0,download:function(){},duration:0,isPlaying:!1,pause:function(){},play:function(){},setTime:function(){},stop:function(){}}:f,D=t.allowPause,x=void 0===D||D,E=t.showDonload,k=t.buttonActive,A=t.timeType,O=void 0===A?"left":A,F=t.showSlider,j=t.showTime,S=t.timeRender,C=void 0===S?"text":S,L=t.onInitPlay,P=t.onPause,_=t.onStop,B=t.title,T=t.buttonStyle,N=t.onPlay,z=b.isPlaying,I=b.play,$=b.stop,G=b.pause,R=b.duration,U=b.setTime,M=b.currentTime,q=b.download,Y=(0,g.g)(R-M),Z=(0,g.g)(M),H=(0,g.g)(R),Q=(0,u.useMemo)(function(){return"tag"===C?n.default:function(t){return(0,m.jsx)("div",w({},t))}},[C]),V=(0,u.useCallback)(function(){R&&0!==R||e?(null==I||I(),null==N||N()):null==L||L()},[I,R]),W=(0,u.useCallback)(function(){null==G||G(),null==P||P()},[G]),X=(0,u.useCallback)(function(){null==$||$(),null==_||_()},[$]),K=(0,u.useCallback)(function(){e&&(null==s||s(),null==$||$(),null==_||_())},[$,e]);return(0,m.jsxs)(v.Flexbox,{align:"center",className:l,gap:8,horizontal:!0,style:w({width:"100%"},r),children:[(0,m.jsx)("div",{onClick:K,style:{flex:"none"},children:(0,m.jsx)(o.default,{active:k,icon:z?x?h:p:y,loading:e,onClick:z?x?W:X:V,size:c||{blockSize:32,fontSize:16},style:T,title:B})}),(void 0===F||F)&&(0,m.jsx)(i.A,{disabled:0===R||e,max:R,min:0,onChange:function(t){return U(t)},step:.01,style:{flex:1},tooltip:{formatter:g.g},value:M}),(void 0===j||j)&&(0,m.jsxs)(Q,{style:w({cursor:"pointer",flex:"none",margin:0},a),children:["left"===O&&Y,"current"===O&&Z,"combine"===O&&(0,m.jsxs)("span",{children:[Z,(0,m.jsx)("span",{style:{opacity:.66},children:" / ".concat(H)})]})]}),!e&&(void 0===E||E)&&(0,m.jsx)(o.default,{icon:d,onClick:q,size:c||{blockSize:32,fontSize:16},style:T})]})})},25020:(t,e,r)=>{r.d(e,{jG:()=>n});var n="https://api.openai.com/v1"},37439:(t,e,r)=>{r.d(e,{Input:()=>g,TextArea:()=>m});var n,o,i,u=r(72070),a=r(12115);function c(t,e){return e||(e=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}var l=(0,r(28968).rU)(function(t,e){var r=t.cx,u=t.css,a=t.token,l=t.prefixCls,s=e.type,f=u(n||(n=c(["\n      background-color: ",";\n      border: 1px solid ",";\n      transition:\n        background-color 100ms ",",\n        border-color 200ms ",";\n\n      &:hover {\n        background-color: ",";\n      }\n\n      &:focus {\n        border-color: ",";\n      }\n\n      &.","-input-affix-wrapper-focused {\n        border-color: ",";\n      }\n    "])),"block"===s?a.colorFillTertiary:"transparent","block"===s?"transparent":a.colorBorder,a.motionEaseOut,a.motionEaseOut,a.colorFillTertiary,a.colorTextQuaternary,l,a.colorTextQuaternary);return{input:r("pure"!==s&&f,u(o||(o=c(["\n          position: relative;\n          max-width: 100%;\n          height: ",";\n          padding: ",";\n\n          input {\n            background: transparent;\n          }\n        "])),"pure"===s?"unset":"36px","pure"===s?"0":"0 12px")),textarea:r("pure"!==s&&f,u(i||(i=c(["\n          position: relative;\n          max-width: 100%;\n          padding: ",";\n          border-radius: ",";\n\n          textarea {\n            background: transparent;\n          }\n        "])),"pure"===s?"0":"8px 12px","pure"===s?"0":"".concat(a.borderRadius,"px")))}}),s=r(95155);function f(t){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var h=["className","type"],p=["className","type","resize","style"];function y(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function d(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};
1e%2?y(Object(r),!0).forEach(function(e){var n,o,i;n=t,o=e,i=r[e],(o=function(t){var e=function(t,e){if("object"!=f(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=f(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==f(e)?e:String(e)}(o))in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):y(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function v(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r,n,o={},i=Object.keys(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||(o[r]=t[r]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}var g=(0,a.forwardRef)(function(t,e){var r=t.className,n=t.type,o=void 0===n?"ghost":n,i=v(t,h),a=l({type:o}),c=a.styles,f=a.cx;return(0,s.jsx)(u.A,d({className:f(c.input,r),ref:e,variant:"pure"===o?"borderless":void 0},i))}),m=(0,a.forwardRef)(function(t,e){var r=t.className,n=t.type,o=void 0===n?"ghost":n,i=t.resize,a=t.style,c=v(t,p),f=l({type:o}),h=f.styles,y=f.cx;return(0,s.jsx)(u.A.TextArea,d({className:y(h.textarea,r),ref:e,style:void 0===i||i?a:d({resize:"none"},a),variant:"pure"===o?"borderless":void 0},c))})},38996:(t,e,r)=>{function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(){o=function(){return e};var t,e={},r=Object.prototype,i=r.hasOwnProperty,u=Object.defineProperty||function(t,e,r){t[e]=r.value},a="function"==typeof Symbol?Symbol:{},c=a.iterator||"@@iterator",l=a.asyncIterator||"@@asyncIterator",s=a.toStringTag||"@@toStringTag";function f(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{f({},"")}catch(t){f=function(t,e,r){return t[e]=r}}function h(e,r,n,o){var i,a,c,l,s=Object.create((r&&r.prototype instanceof m?r:m).prototype);return u(s,"_invoke",{value:(i=e,a=n,c=new S(o||[]),l=y,function(e,r){if(l===d)throw Error("Generator is already running");if(l===v){if("throw"===e)throw r;return{value:t,done:!0}}for(c.method=e,c.arg=r;;){var n=c.delegate;if(n){var o=function e(r,n){var o=n.method,i=r.iterator[o];if(i===t)return n.delegate=null,"throw"===o&&r.iterator.return&&(n.method="return",n.arg=t,e(r,n),"throw"===n.method)||"return"!==o&&(n.method="throw",n.arg=TypeError("The iterator does not provide a '"+o+"' method")),g;var u=p(i,r.iterator,n.arg);if("throw"===u.type)return n.method="throw",n.arg=u.arg,n.delegate=null,g;var a=u.arg;return a?a.done?(n[r.resultName]=a.value,n.next=r.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,g):a:(n.method="throw",n.arg=TypeError("iterator result is not an object"),n.delegate=null,g)}(n,c);if(o){if(o===g)continue;return o}}if("next"===c.method)c.sent=c._sent=c.arg;else if("throw"===c.method){if(l===y)throw l=v,c.arg;c.dispatchException(c.arg)}else"return"===c.method&&c.abrupt("return",c.arg);l=d;var u=p(i,a,c);if("normal"===u.type){if(l=c.done?v:"suspendedYield",u.arg===g)continue;return{value:u.arg,done:c.done}}"throw"===u.type&&(l=v,c.method="throw",c.arg=u.arg)}})}),s}function p(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=h;var y="suspendedStart",d="executing",v="completed",g={};function m(){}function b(){}function D(){}var w={};f(w,c,function(){return this});var x=Object.getPrototypeOf,E=x&&x(x(C([])));E&&E!==r&&i.call(E,c)&&(w=E);var k=D.prototype=m.prototype=Object.create(w);function A(t){["next","throw","return"].forEach(function(e){f(t,e,function(t){return this._invoke(e,t)})})}function O(t,e){var r;u(this,"_invoke",{value:function(o,u){function a(){return new e(function(r,a){!function r(o,u,a,c){var l=p(t[o],t,u);if("throw"!==l.type){var s=l.arg,f=s.value;return f&&"object"==n(f)&&i.call(f,"__await")?e.resolve(f.__await).then(function(t){r("next",t,a,c)},function(t){r("throw",t,a,c)}):e.resolve(f).then(function(t){s.value=t,a(s)},function(t){return r("throw",t,a,c)})}c(l.arg)}(o,u,r,a)})}return r=r?r.then(a,a):a()}})}function F(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function j(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function S(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(F,this),this.reset(!0)}function C(e){if(e||""===e){var r=e[c];if(r)return r.call(e);
1if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,u=function r(){for(;++o<e.length;)if(i.call(e,o))return r.value=e[o],r.done=!1,r;return r.value=t,r.done=!0,r};return u.next=u}}throw TypeError(n(e)+" is not iterable")}return b.prototype=D,u(k,"constructor",{value:D,configurable:!0}),u(D,"constructor",{value:b,configurable:!0}),b.displayName=f(D,s,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===b||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,D):(t.__proto__=D,f(t,s,"GeneratorFunction")),t.prototype=Object.create(k),t},e.awrap=function(t){return{__await:t}},A(O.prototype),f(O.prototype,l,function(){return this}),e.AsyncIterator=O,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var u=new O(h(t,r,n,o),i);return e.isGeneratorFunction(r)?u:u.next().then(function(t){return t.done?t.value:u.next()})},A(k),f(k,s,"Generator"),f(k,c,function(){return this}),f(k,"toString",function(){return"[object Generator]"}),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=C,S.prototype={constructor:S,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(j),!e)for(var r in this)"t"===r.charAt(0)&&i.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function n(n,o){return a.type="throw",a.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var o=this.tryEntries.length-1;o>=0;--o){var u=this.tryEntries[o],a=u.completion;if("root"===u.tryLoc)return n("end");if(u.tryLoc<=this.prev){var c=i.call(u,"catchLoc"),l=i.call(u,"finallyLoc");if(c&&l){if(this.prev<u.catchLoc)return n(u.catchLoc,!0);if(this.prev<u.finallyLoc)return n(u.finallyLoc)}else if(c){if(this.prev<u.catchLoc)return n(u.catchLoc,!0)}else{if(!l)throw Error("try statement without catch or finally");if(this.prev<u.finallyLoc)return n(u.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&i.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var o=n;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var u=o?o.completion:{};return u.type=t,u.arg=e,o?(this.method="next",this.next=o.finallyLoc,g):this.complete(u)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),g},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),j(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;j(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function i(t,e,r,n,o,i,u){try{var a=t[i](u),c=a.value}catch(t){r(t);return}a.done?e(c):Promise.resolve(c).then(n,o)}r.d(e,{z:()=>u});var u=function(){var t,e=(t=o().mark(function t(e){var r;return o().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return r=new AudioContext,t.next=3,r.decodeAudioData(e);case 3:return t.abrupt("return",t.sent);case 4:case"end":return t.stop()}},t)}),function(){var e=this,r=arguments;return new Promise(function(n,o){var u=t.apply(e,r);function a(t){i(u,n,o,a,c,"next",t)}function c(t){i(u,n,o,a,c,"throw",t)}a(void 0)})});return function(t){return e.apply(this,arguments)}}()},48270:(t,e,r)=>{r.d(e,{A:()=>C});var n=r(12115),o=r(48909),i=r(38996),u=r(30872),a=r(79737),c=r(4503);function l(t){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function s(){s=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},u=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag";function f(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{f({},"")}catch(t){f=function(t,e,r){return t[e]=r}}function h(e,r,n,i){var u,a,c,l,s=Object.create((r&&r.prototype instanceof m?r:m).prototype);return o(s,"_invoke",{value:(u=e,a=n,c=new S(i||[]),l=y,function(e,r){if(l===d)throw Error("Generator is already running");if(l===v){if("throw"===e)throw r;return{value:t,done:!0}}for(c.method=e,c.arg=r;;){var n=c.delegate;if(n){var o=function e(r,n){var o=n.method,i=r.iterator[o];if(i===t)return n.delegate=null,"throw"===o&&r.iterator.return&&
1(n.method="return",n.arg=t,e(r,n),"throw"===n.method)||"return"!==o&&(n.method="throw",n.arg=TypeError("The iterator does not provide a '"+o+"' method")),g;var u=p(i,r.iterator,n.arg);if("throw"===u.type)return n.method="throw",n.arg=u.arg,n.delegate=null,g;var a=u.arg;return a?a.done?(n[r.resultName]=a.value,n.next=r.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,g):a:(n.method="throw",n.arg=TypeError("iterator result is not an object"),n.delegate=null,g)}(n,c);if(o){if(o===g)continue;return o}}if("next"===c.method)c.sent=c._sent=c.arg;else if("throw"===c.method){if(l===y)throw l=v,c.arg;c.dispatchException(c.arg)}else"return"===c.method&&c.abrupt("return",c.arg);l=d;var i=p(u,a,c);if("normal"===i.type){if(l=c.done?v:"suspendedYield",i.arg===g)continue;return{value:i.arg,done:c.done}}"throw"===i.type&&(l=v,c.method="throw",c.arg=i.arg)}})}),s}function p(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=h;var y="suspendedStart",d="executing",v="completed",g={};function m(){}function b(){}function D(){}var w={};f(w,u,function(){return this});var x=Object.getPrototypeOf,E=x&&x(x(C([])));E&&E!==r&&n.call(E,u)&&(w=E);var k=D.prototype=m.prototype=Object.create(w);function A(t){["next","throw","return"].forEach(function(e){f(t,e,function(t){return this._invoke(e,t)})})}function O(t,e){var r;o(this,"_invoke",{value:function(o,i){function u(){return new e(function(r,u){!function r(o,i,u,a){var c=p(t[o],t,i);if("throw"!==c.type){var s=c.arg,f=s.value;return f&&"object"==l(f)&&n.call(f,"__await")?e.resolve(f.__await).then(function(t){r("next",t,u,a)},function(t){r("throw",t,u,a)}):e.resolve(f).then(function(t){s.value=t,u(s)},function(t){return r("throw",t,u,a)})}a(c.arg)}(o,i,r,u)})}return r=r?r.then(u,u):u()}})}function F(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function j(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function S(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(F,this),this.reset(!0)}function C(e){if(e||""===e){var r=e[u];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o<e.length;)if(n.call(e,o))return r.value=e[o],r.done=!1,r;return r.value=t,r.done=!0,r};return i.next=i}}throw TypeError(l(e)+" is not iterable")}return b.prototype=D,o(k,"constructor",{value:D,configurable:!0}),o(D,"constructor",{value:b,configurable:!0}),b.displayName=f(D,c,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===b||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,D):(t.__proto__=D,f(t,c,"GeneratorFunction")),t.prototype=Object.create(k),t},e.awrap=function(t){return{__await:t}},A(O.prototype),f(O.prototype,a,function(){return this}),e.AsyncIterator=O,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var u=new O(h(t,r,n,o),i);return e.isGeneratorFunction(r)?u:u.next().then(function(t){return t.done?t.value:u.next()})},A(k),f(k,c,"Generator"),f(k,u,function(){return this}),f(k,"toString",function(){return"[object Generator]"}),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=C,S.prototype={constructor:S,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(j),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function o(n,o){return a.type="throw",a.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var u=this.tryEntries[i],a=u.completion;if("root"===u.tryLoc)return o("end");if(u.tryLoc<=this.prev){var c=n.call(u,"catchLoc"),l=n.call(u,"finallyLoc");if(c&&l){if(this.prev<u.catchLoc)return o(u.catchLoc,!0);if(this.prev<u.finallyLoc)return o(u.finallyLoc)}else if(c){if(this.prev<u.catchLoc)return o(u.catchLoc,!0)}else{if(!l)throw Error("try statement without catch or finally");if(this.prev<u.finallyLoc)return o(u.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var u=i?i.completion:{};return u.type=t,u.arg=e,i?(this.method="next",this.next=i.finallyLoc,g):this.complete(u)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),g},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),j(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;j(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function f(t,e,r,n,o,i,u){try{var a=t[i](u),c=a.value}catch(t){r(t);return}a.done?e(c):Promise.resolve(c).then(n,o)}var h=function(){var t,e=(t=s().mark(function t(e){var r,n,o,i,u,l,f=arguments;return s().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return r=e.payload,n=(f.length>1&&void 0!==f[1]?f[1]:{}).proxyUrl,o=r.input,i=r.options,u=new Headers({accept:"*/*","accept-language":"zh-CN,zh;q=0.9",authority:"southeastasia.api.speech.microsoft.com","content-type":"application/json",customvoiceconnectionid:(0,a.A)(),origin:"https://speech.microsoft.com","sec-ch-ua":'"Google Chrome";v="111", "Not(A:Brand";v="8", "Chromium";v="111"',"sec-ch-ua-mobile":"?0","sec-ch-ua-platform":'"Windows"',"sec-fetch-dest":"empty","sec-fetch-mode":"cors","sec-fetch-site":"same-site","user-agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36"}),l=JSON.stringify({offsetInPlainText:0,properties:{SpeakTriggerSource:"AccTuningPagePlayButton"},ssml:(0,c.M)(o,i),ttsAudioFormat:"audio-24khz-48kbitrate-mono-mp3"}),t.abrupt("return",fetch(n||"https://southeastasia.api.speech.microsoft.com/accfreetrial/texttospeech/acc/v3.0-beta1/vcg/speak",{body:l,duplex:"half",headers:u,method:"POST",responseType:"arraybuffer"}));case 6:case"end":return t.stop()}},t)}),function(){var e=this,r=arguments;return new Promise(function(n,o){var i=t.apply(e,r);function u(t){f(i,n,o,u,a,"next",t)}function a(t){f(i,n,o,u,a,"throw",t)}u(void 0)})});return function(t){return e.apply(this,arguments)}}(),p=r(24430);function y(t){return(y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function d(){d=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},u=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(e,r,n,i){var u,a,c,l,s=Object.create((r&&r.prototype instanceof m?r:m).prototype);return o(s,"_invoke",{value:(u=e,a=n,c=new S(i||[]),l=h,function(e,r){if(l===p)throw Error("Generator is already running");if(l===v){if("throw"===e)throw r;return{value:t,done:!0}}for(c.method=e,c.arg=r;;){var n=c.delegate;if(n){var o=function e(r,n){var o=n.method,i=r.iterator[o];if(i===t)return n.delegate=null,"throw"===o&&r.iterator.return&&
vendor: 6,253 bytes, line 1
1(n.method="return",n.arg=t,e(r,n),"throw"===n.method)||"return"!==o&&(n.method="throw",n.arg=TypeError("The iterator does not provide a '"+o+"' method")),g;var u=f(i,r.iterator,n.arg);if("throw"===u.type)return n.method="throw",n.arg=u.arg,n.delegate=null,g;var a=u.arg;return a?a.done?(n[r.resultName]=a.value,n.next=r.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,g):a:(n.method="throw",n.arg=TypeError("iterator result is not an object"),n.delegate=null,g)}(n,c);if(o){if(o===g)continue;return o}}if("next"===c.method)c.sent=c._sent=c.arg;else if("throw"===c.method){if(l===h)throw l=v,c.arg;c.dispatchException(c.arg)}else"return"===c.method&&c.abrupt("return",c.arg);l=p;var i=f(u,a,c);if("normal"===i.type){if(l=c.done?v:"suspendedYield",i.arg===g)continue;return{value:i.arg,done:c.done}}"throw"===i.type&&(l=v,c.method="throw",c.arg=i.arg)}})}),s}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="executing",v="completed",g={};function m(){}function b(){}function D(){}var w={};l(w,u,function(){return this});var x=Object.getPrototypeOf,E=x&&x(x(C([])));E&&E!==r&&n.call(E,u)&&(w=E);var k=D.prototype=m.prototype=Object.create(w);function A(t){["next","throw","return"].forEach(function(e){l(t,e,function(t){return this._invoke(e,t)})})}function O(t,e){var r;o(this,"_invoke",{value:function(o,i){function u(){return new e(function(r,u){!function r(o,i,u,a){var c=f(t[o],t,i);if("throw"!==c.type){var l=c.arg,s=l.value;return s&&"object"==y(s)&&n.call(s,"__await")?e.resolve(s.__await).then(function(t){r("next",t,u,a)},function(t){r("throw",t,u,a)}):e.resolve(s).then(function(t){l.value=t,u(l)},function(t){return r("throw",t,u,a)})}a(c.arg)}(o,i,r,u)})}return r=r?r.then(u,u):u()}})}function F(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function j(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function S(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(F,this),this.reset(!0)}function C(e){if(e||""===e){var r=e[u];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o<e.length;)if(n.call(e,o))return r.value=e[o],r.done=!1,r;return r.value=t,r.done=!0,r};return i.next=i}}throw TypeError(y(e)+" is not iterable")}return b.prototype=D,o(k,"constructor",{value:D,configurable:!0}),o(D,"constructor",{value:b,configurable:!0}),b.displayName=l(D,c,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===b||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,D):(t.__proto__=D,l(t,c,"GeneratorFunction")),t.prototype=Object.create(k),t},e.awrap=function(t){return{__await:t}},A(O.prototype),l(O.prototype,a,function(){return this}),e.AsyncIterator=O,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var u=new O(s(t,r,n,o),i);return e.isGeneratorFunction(r)?u:u.next().then(function(t){return t.done?t.value:u.next()})},A(k),l(k,c,"Generator"),l(k,u,function(){return this}),l(k,"toString",function(){return"[object Generator]"}),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=C,S.prototype={constructor:S,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(j),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function o(n,o){return a.type="throw",a.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var u=this.tryEntries[i],a=u.completion;if("root"===u.tryLoc)return o("end");if(u.tryLoc<=this.prev){var c=n.call(u,"catchLoc"),l=n.call(u,"finallyLoc");if(c&&l){if(this.prev<u.catchLoc)return o(u.catchLoc,!0);if(this.prev<u.finallyLoc)return o(u.finallyLoc)}else if(c){if(this.prev<u.catchLoc)return o(u.catchLoc,!0)}else{if(!l)throw Error("try statement without catch or finally");if(this.prev<u.finallyLoc)return o(u.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var u=i?i.completion:{};return u.type=t,u.arg=e,i?(this.method="next",this.next=i.finallyLoc,g):this.complete(u)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),g},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),j(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;j(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function v(t,e,r,n,o,i,u){try{var a=t[i](u),c=a.value}catch(t){r(t);return}a.done?e(c):Promise.resolve(c).then(n,o)}function g(t){return function(){var e=this,r=arguments;return new Promise(function(n,o){var i=t.apply(e,r);function u(t){v(i,n,o,u,a,"next",t)}function a(t){v(i,n,o,u,a,"throw",t)}u(void 0)})}}function m(t,e,r){return(e=b(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function b(t){var e=function(t,e){if("object"!=y(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=y(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}
1(t,"string");return"symbol"==y(e)?e:String(e)}var D=function(){var t;function e(){var t,r,n,o=this,u=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a=u.serviceUrl,c=u.locale,l=u.headers;!function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,e),m(this,"locale",void 0),m(this,"serviceUrl",void 0),m(this,"headers",void 0),m(this,"fetch",(t=g(d().mark(function t(e){var r;return d().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,o.serviceUrl?fetch(o.serviceUrl,{body:JSON.stringify(e),headers:o.headers,method:"POST"}):h({payload:e});case 2:return r=t.sent,t.abrupt("return",r);case 4:case"end":return t.stop()}},t)})),function(e){return t.apply(this,arguments)})),m(this,"create",(r=g(d().mark(function t(e){return d().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,o.fetch(e);case 2:return t.abrupt("return",t.sent);case 3:case"end":return t.stop()}},t)})),function(t){return r.apply(this,arguments)})),m(this,"createAudio",(n=g(d().mark(function t(e){var r,n;return d().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,o.create(e);case 2:return r=t.sent,t.next=5,r.arrayBuffer();case 5:return n=t.sent,t.abrupt("return",(0,i.z)(n));case 7:case"end":return t.stop()}},t)})),function(t){return n.apply(this,arguments)})),this.locale=c,this.serviceUrl=a,this.headers=l}return t=[{key:"voiceOptions",get:function(){return(0,p.O)(this.locale)}}],function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,b(n.key),n)}}(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}();m(D,"localeOptions",(0,u.r)()),m(D,"createRequest",h),m(D,"voiceList",p.A),m(D,"voiceName",o.A),m(D,"styleList",["affectionate","angry","calm","cheerful","disgruntled","embarrassed","fearful","general","gentle","sad","serious"]);var w=r(13409);function x(t){return(x="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var E=["options","locale","api"];function k(){k=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},u=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(e,r,n,i){var u,a,c,l,s=Object.create((r&&r.prototype instanceof v?r:v).prototype);return o(s,"_invoke",{value:(u=e,a=n,c=new S(i||[]),l=h,function(e,r){if(l===p)throw Error("Generator is already running");if(l===y){if("throw"===e)throw r;return{value:t,done:!0}}for(c.method=e,c.arg=r;;){var n=c.delegate;if(n){var o=function e(r,n){var o=n.method,i=r.iterator[o];if(i===t)return n.delegate=null,"throw"===o&&r.iterator.return&&(n.method="return",n.arg=t,e(r,n),"throw"===n.method)||"return"!==o&&(n.method="throw",n.arg=TypeError("The iterator does not provide a '"+o+"' method")),d;var u=f(i,r.iterator,n.arg);if("throw"===u.type)return n.method="throw",n.arg=u.arg,n.delegate=null,d;var a=u.arg;return a?a.done?(n[r.resultName]=a.value,n.next=r.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,d):a:(n.method="throw",n.arg=TypeError("iterator result is not an object"),n.delegate=null,d)}(n,c);if(o){if(o===d)continue;return o}}if("next"===c.method)c.sent=c._sent=c.arg;else if("throw"===c.method){if(l===h)throw l=y,c.arg;c.dispatchException(c.arg)}else"return"===c.method&&c.abrupt("return",c.arg);l=p;var i=f(u,a,c);if("normal"===i.type){if(l=c.done?y:"suspendedYield",i.arg===d)continue;return{value:i.arg,done:c.done}}"throw"===i.type&&(l=y,c.method="throw",c.arg=i.arg)}})}),s}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="executing",y="completed",d={};function v(){}function g(){}function m(){}var b={};l(b,u,function(){return this});var D=Object.getPrototypeOf,w=D&&D(D(C([])));w&&w!==r&&n.call(w,u)&&(b=w);var E=m.prototype=v.prototype=Object.create(b);function A(t){["next","throw","return"].forEach(function(e){l(t,e,function(t){return this._invoke(e,t)})})}function O(t,e){var r;o(this,"_invoke",{value:function(o,i){function u(){return new e(function(r,u){!function r(o,i,u,a){var c=f(t[o],t,i);if("throw"!==c.type){var l=c.arg,s=l.value;return s&&"object"==x(s)&&n.call(s,"__await")?e.resolve(s.__await).then(function(t){r("next",t,u,a)},function(t){r("throw",t,u,a)}):e.resolve(s).then(function(t){l.value=t,u(l)},function(t){return r("throw",t,u,a)})}a(c.arg)}(o,i,r,u)})}return r=r?r.then(u,u):u()}})}function F(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function j(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function S(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(F,this),this.reset(!0)}function C(e){if(e||""===e){var r=e[u];if(r)return r.call(e);
vendor: 4,302 bytes, line 1
1if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o<e.length;)if(n.call(e,o))return r.value=e[o],r.done=!1,r;return r.value=t,r.done=!0,r};return i.next=i}}throw TypeError(x(e)+" is not iterable")}return g.prototype=m,o(E,"constructor",{value:m,configurable:!0}),o(m,"constructor",{value:g,configurable:!0}),g.displayName=l(m,c,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===g||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,m):(t.__proto__=m,l(t,c,"GeneratorFunction")),t.prototype=Object.create(E),t},e.awrap=function(t){return{__await:t}},A(O.prototype),l(O.prototype,a,function(){return this}),e.AsyncIterator=O,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var u=new O(s(t,r,n,o),i);return e.isGeneratorFunction(r)?u:u.next().then(function(t){return t.done?t.value:u.next()})},A(E),l(E,c,"Generator"),l(E,u,function(){return this}),l(E,"toString",function(){return"[object Generator]"}),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=C,S.prototype={constructor:S,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(j),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function o(n,o){return a.type="throw",a.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var u=this.tryEntries[i],a=u.completion;if("root"===u.tryLoc)return o("end");if(u.tryLoc<=this.prev){var c=n.call(u,"catchLoc"),l=n.call(u,"finallyLoc");if(c&&l){if(this.prev<u.catchLoc)return o(u.catchLoc,!0);if(this.prev<u.finallyLoc)return o(u.finallyLoc)}else if(c){if(this.prev<u.catchLoc)return o(u.catchLoc,!0)}else{if(!l)throw Error("try statement without catch or finally");if(this.prev<u.finallyLoc)return o(u.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var u=i?i.completion:{};return u.type=t,u.arg=e,i?(this.method="next",this.next=i.finallyLoc,d):this.complete(u)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),d},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),j(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;j(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function A(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function O(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?A(Object(r),!0).forEach(function(e){var n,o,i;n=t,o=e,i=r[e],(o=function(t){var e=function(t,e){if("object"!=x(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=x(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==x(e)?e:String(e)}(o))in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):A(Object(r)).forEac
1h(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function F(t,e,r,n,o,i,u){try{var a=t[i](u),c=a.value}catch(t){r(t);return}a.done?e(c):Promise.resolve(c).then(n,o)}function j(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,u,a=[],c=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(a.push(n.value),a.length!==e);c=!0);}catch(t){l=!0,o=t}finally{try{if(!c&&null!=r.return&&(u=r.return(),Object(u)!==u))return}finally{if(l)throw o}}return a}}(t,e)||function(t,e){if(t){if("string"==typeof t)return S(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return S(t,e)}}(t,e)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function S(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}var C=function(t,e){var r,o,i=j((0,n.useState)(t),2),u=i[0],a=i[1],c=e.options,l=e.locale,s=e.api,f=function(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r,n,o={},i=Object.keys(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||(o[r]=t[r]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}(e,E),h=j((0,n.useState)(),2),p=h[0],y=h[1],d=(0,w.F)(c.voice,u,(r=k().mark(function t(e){var r,n;return k().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return r=new D(O(O({},s),{},{locale:l})),t.next=3,r.create({input:e,options:c});case 3:return y(n=t.sent),t.abrupt("return",n.arrayBuffer());case 6:case"end":return t.stop()}},t)}),o=function(){var t=this,e=arguments;return new Promise(function(n,o){var i=r.apply(t,e);function u(t){F(i,n,o,u,a,"next",t)}function a(t){F(i,n,o,u,a,"throw",t)}u(void 0)})},function(t){return o.apply(this,arguments)}),f);return O({response:p,setText:a},d)}},49366:(t,e,r)=>{r.d(e,{default:()=>R});var n,o,i,u,a,c,l,s,f,h,p,y,d,v=r(47707),g=r(94326),m=r(92524),b=r(74273);let D=(0,b.A)("CircleX",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]]);var w=r(83496);let x=(0,b.A)("CircleCheckBig",[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]]);var E=r(68335),k=r(98356),A=r(24798),O=r(4232),F=r(12115),j=r(73751),S=r(50859),C=r(43825);function L(t,e){return e||(e=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}var P=(0,r(28968).rU)(function(t,e){var r=t.cx,v=t.token,g=t.css,m=t.prefixCls,b=e.closable,D=e.hasTitle,w=e.showIcon,x=D?16:8,E=D?16:12;return{banner:g(n||(n=L(["\n        border: none;\n        border-radius: 0;\n      "]))),colorfulText:g(o||(o=L(["\n        .","-alert-message,.","-alert-description {\n          color: inherit;\n        }\n      "])),m,m),container:r(g(i||(i=L(["\n          position: relative;\n\n          display: flex;\n          flex-direction: row;\n          gap: ","px;\n          align-items: flex-start;\n\n          max-width: 100%;\n          padding-block: ","px;\n          padding-inline: ","px\n            ","px;\n\n          .","-alert-message {\n            font-weight: ",";\n            line-height: 24px;\n            word-break: normal;\n          }\n          .","-alert-icon {\n            display: flex;\n            align-items: center;\n            height: 24px;\n            margin: 0;\n          }\n          .","-alert-close-icon {\n            display: flex;\n            align-items: center;\n            height: 24px;\n            margin: 0;\n          }\n        "])),D?12:8,x,w?E:1.5*E,b?E:1.5*E,m,D?600:400,m,m),D&&g(u||(u=L(["\n            .","-alert-description {\n              line-height: 1.5;\n              word-break: normal;\n              opacity: 0.75;\n            }\n          "])),m)),expandText:g(a||(a=L(["\n        &:hover {\n          cursor: pointer;\n        }\n      "]))),extra:g(c||(c=L(["\n        position: relative;\n\n        overflow: hidden;\n\n        max-width: 100%;\n\n        border: 1px solid;\n        border-block-start: none;\n        border-end-start-radius: ","px;\n        border-end-end-radius: ","px;\n      "])),v.borderRadiusLG,v.borderRadiusLG),extraBody:g(l||(l=L(["\n        overflow-x: auto;\n        width: 100%;\n        padding-block: ","px;\n        padding-inline: ","px;\n      "])),x,E),extraHeader:g(s||(s=L(["\n        padding-block: ","px;\n        padding-inline: ","px;\n        border-block-start: 1px dashed;\n      "])),.75*x,.75*E),hasExtra:g(f||(f=L(["\n        border-block-end: none;\n        border-end-start-radius: 0;\n        border-end-end-radius: 0;\n      "]))),variantBlock:g(h||(h=L(["\n        border: none;\n      "]))),variantGhost:g(p||(p=L(["\n        background: transparent !important;\n      "]))),variantPure:g(y||(y=L(["\n        padding: 0 !important;\n        background: transparent !important;\n        border: none;\n      "]))),variantPureExtraHeader:g(d||(d=L(["\n        margin-block-start: ","px;\n        margin-inline-start: ","px;\n        padding-inline: 0;\n      "])),x,-(.25*E))}}),_=r(95155);function B(t){return(B="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var T=["closeIcon","closable","description","showIcon","type","variant","icon","colorfulText","style","extra","classNames","text","extraDefaultExpand","extraIsolate","banner"];function N(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function z(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};
1e%2?N(Object(r),!0).forEach(function(e){var n,o,i;n=t,o=e,i=r[e],(o=function(t){var e=function(t,e){if("object"!=B(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=B(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==B(e)?e:String(e)}(o))in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):N(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function I(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}var $={error:D,info:w.A,success:x,warning:E.A},G=function(t){for(var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"info",r=arguments.length,n=Array(r>2?r-2:0),o=2;o<r;o++)n[o-2]=arguments[o];return t[(0,m.A)(["color",e].concat(n).join("-"))]};let R=(0,F.memo)(function(t){var e,r=t.closeIcon,n=t.closable,o=void 0!==n&&n,i=t.description,u=t.showIcon,a=void 0===u||u,c=t.type,l=void 0===c?"info":c,s=t.variant,f=t.icon,h=t.colorfulText,p=void 0===h||h,y=t.style,d=t.extra,m=t.classNames,b=t.text,D=t.extraDefaultExpand,w=t.extraIsolate,x=t.banner,E=function(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r,n,o={},i=Object.keys(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||(o[r]=t[r]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}(t,T),L=function(t){if(Array.isArray(t))return t}(e=(0,F.useState)(void 0!==D&&D))||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,u,a=[],c=!0,l=!1;try{i=(r=r.call(t)).next;for(;!(c=(n=i.call(r)).done)&&(a.push(n.value),a.length!==e);c=!0);}catch(t){l=!0,o=t}finally{try{if(!c&&null!=r.return&&(u=r.return(),Object(u)!==u))return}finally{if(l)throw o}}return a}}(e,2)||function(t,e){if(t){if("string"==typeof t)return I(t,2);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return I(t,e)}}(e,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),B=L[0],N=L[1],R=P({closable:!!o,hasTitle:!!i,showIcon:!!a}),U=R.theme,M=R.styles,q=R.cx,Y=!w&&!!d,Z=(0,_.jsx)(v.A,z({banner:x,className:q(M.container,p&&M.colorfulText,!!Y&&M.hasExtra,"block"===s&&M.variantBlock,"ghost"===s&&M.variantGhost,"pure"===s&&M.variantPure,null==m?void 0:m.alert,!Y&&M.container),closable:o,closeIcon:r||(0,_.jsx)(S.default,{color:G(U,l),icon:k.A,size:"small"}),description:i,icon:(0,_.jsx)(C.default,{icon:$[l]||f,size:{fontSize:i?24:18}}),showIcon:a,style:z({color:p?G(U,l):void 0},y),type:l},E));return d?w?(0,_.jsxs)(j.Flexbox,{className:null==m?void 0:m.container,gap:8,children:[Z,d]}):(0,_.jsxs)(j.Flexbox,{className:null==m?void 0:m.container,children:[Z,(0,_.jsxs)(j.Flexbox,{className:q(M.extra,x&&M.banner,"block"===s&&M.variantBlock,"ghost"===s&&M.variantGhost,"pure"===s&&M.variantPure),style:{background:G(U,l,"bg"),borderColor:G(U,l,"border"),color:G(U,l),fontSize:i?14:12},children:[(0,_.jsxs)(j.Flexbox,{align:"center",className:q(M.extraHeader,"pure"===s&&M.variantPureExtraHeader),gap:g.Ay?6:10,horizontal:!0,style:{borderColor:G(U,l,"border")},children:[(0,_.jsx)(S.default,{color:p?G(U,l):void 0,icon:B?A.A:O.A,onClick:function(){return N(!B)},size:{blockSize:24,fontSize:18}}),(0,_.jsx)("div",{className:q(M.expandText),onClick:function(){return N(!B)},children:(null==b?void 0:b.detail)||"Show Details"})]}),B&&(0,_.jsx)("div",{className:q(M.extraBody,"pure"===s&&M.variantPure),children:d})]})]}):Z})},49597:(t,e,r)=>{e.v0=void 0;let n=r(75347),o=r(40054),i=t=>t+"\n\n",u=t=>t+"\n",a=t=>t,c=()=>"\n",l=()=>"",s={code:t=>(0,o.escape)(t)+"\n\n",blockquote:i,html:l,heading:i,hr:c,list:t=>i(t.trim()),listitem:u,checkbox:l,paragraph:i,table:(t,e)=>u(t+e),tablerow:t=>u(t.trim()),tablecell:t=>t+" ",strong:a,em:a,codespan:a,br:c,del:a,link:(t,e,r)=>r,image:(t,e,r)=>r,text:a,options:{}};e.v0=function(t,e){let r=(0,n.marked)(t,Object.assign(Object.assign({},e),{renderer:s}));return(0,o.unescape)(r).trim()}},65933:(t,e,r)=>{r.d(e,{g:()=>n});var n=function(t){if(t<0)return"--:--";var e=Math.floor(t/60),r=Math.floor(t%60),n=e.toString().padStart(2,"0"),o=r.toString().padStart(2,"0");return"".concat(n,":").concat(o)}},68335:(t,e,r)=>{r.d(e,{A:()=>n});let n=(0,r(74273).A)("TriangleAlert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]])},75347:(t,e)=>{function r(){return(r=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];
1for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function n(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function o(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(r)return(r=r.call(t)).next.bind(r);if(Array.isArray(t)||(r=function(t,e){if(t){if("string"==typeof t)return n(t,void 0);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return n(t,void 0)}}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var o=0;return function(){return o>=t.length?{done:!0}:{done:!1,value:t[o++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function i(){return{async:!1,baseUrl:null,breaks:!1,extensions:null,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,hooks:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1}}e.defaults=i();var u=/[&<>"']/,a=RegExp(u.source,"g"),c=/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,l=RegExp(c.source,"g"),s={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},f=function(t){return s[t]};function h(t,e){if(e){if(u.test(t))return t.replace(a,f)}else if(c.test(t))return t.replace(l,f);return t}var p=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function y(t){return t.replace(p,function(t,e){return"colon"===(e=e.toLowerCase())?":":"#"===e.charAt(0)?"x"===e.charAt(1)?String.fromCharCode(parseInt(e.substring(2),16)):String.fromCharCode(+e.substring(1)):""})}var d=/(^|[^\[])\^/g;function v(t,e){t="string"==typeof t?t:t.source,e=e||"";var r={replace:function(e,n){return n=(n=n.source||n).replace(d,"$1"),t=t.replace(e,n),r},getRegex:function(){return new RegExp(t,e)}};return r}var g=/[^\w:]/g,m=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function b(t,e,r){var n,o,i,u;if(t){try{n=decodeURIComponent(y(r)).replace(g,"").toLowerCase()}catch(t){return null}if(0===n.indexOf("javascript:")||0===n.indexOf("vbscript:")||0===n.indexOf("data:"))return null}e&&!m.test(r)&&(o=e,i=r,D[" "+o]||(w.test(o)?D[" "+o]=o+"/":D[" "+o]=O(o,"/",!0)),u=-1===(o=D[" "+o]).indexOf(":"),r="//"===i.substring(0,2)?u?i:o.replace(x,"$1")+i:"/"!==i.charAt(0)?o+i:u?i:o.replace(E,"$1")+i);try{r=encodeURI(r).replace(/%25/g,"%")}catch(t){return null}return r}var D={},w=/^[^:]+:\/*[^/]*$/,x=/^([^:]+:)[\s\S]*$/,E=/^([^:]+:\/*[^/]*)[\s\S]*$/,k={exec:function(){}};function A(t,e){var r=t.replace(/\|/g,function(t,e,r){for(var n=!1,o=e;--o>=0&&"\\"===r[o];)n=!n;return n?"|":" |"}).split(/ \|/),n=0;if(r[0].trim()||r.shift(),r.length>0&&!r[r.length-1].trim()&&r.pop(),r.length>e)r.splice(e);else for(;r.length<e;)r.push("");for(;n<r.length;n++)r[n]=r[n].trim().replace(/\\\|/g,"|");return r}function O(t,e,r){var n=t.length;if(0===n)return"";for(var o=0;o<n;){var i=t.charAt(n-o-1);if(i!==e||r){if(i!==e&&r)o++;else break}else o++}return t.slice(0,n-o)}function F(t,e){if(e<1)return"";for(var r="";e>1;)1&e&&(r+=t),e>>=1,t+=t;return r+t}function j(t,e,r,n){var o=e.href,i=e.title?h(e.title):null,u=t[1].replace(/\\([\[\]])/g,"$1");if("!"!==t[0].charAt(0)){n.state.inLink=!0;var a={type:"link",raw:r,href:o,title:i,text:u,tokens:n.inlineTokens(u)};return n.state.inLink=!1,a}return{type:"image",raw:r,href:o,title:i,text:h(u)}}var S=function(){function t(t){this.options=t||e.defaults}var r=t.prototype;return r.space=function(t){var e=this.rules.block.newline.exec(t);if(e&&e[0].length>0)return{type:"space",raw:e[0]}},r.code=function(t){var e=this.rules.block.code.exec(t);if(e){var r=e[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:e[0],codeBlockStyle:"indented",text:this.options.pedantic?r:O(r,"\n")}}},r.fences=function(t){var e=this.rules.block.fences.exec(t);if(e){var r=e[0],n=function(t,e){var r=t.match(/^(\s+)(?:```)/);if(null===r)return e;var n=r[1];return e.split("\n").map(function(t){var e=t.match(/^\s+/);return null===e?t:e[0].length>=n.length?t.slice(n.length):t}).join("\n")}(r,e[3]||"");return{type:"code",raw:r,lang:e[2]?e[2].trim().replace(this.rules.inline._escapes,"$1"):e[2],text:n}}},r.heading=function(t){var e=this.rules.block.heading.exec(t);if(e){var r=e[2].trim();if(/#$/.test(r)){var n=O(r,"#");this.options.pedantic?r=n.trim():(!n||/ $/.test(n))&&(r=n.trim())}return{type:"heading",raw:e[0],depth:e[1].length,text:r,tokens:this.lexer.inline(r)}}},r.hr=function(t){var e=this.rules.block.hr.exec(t);if(e)return{type:"hr",raw:e[0]}},r.blockquote=function(t){var e=this.rules.block.blockquote.exec(t);if(e){var r=e[0].replace(/^ *>[ \t]?/gm,""),n=this.lexer.state.top;this.lexer.state.top=!0;var o=this.lexer.blockTokens(r);return this.lexer.state.top=n,{type:"blockquote",raw:e[0],tokens:o,text:r}}},r.list=function(t){var e=this.rules.block.list.exec(t);if(e){var r,n,o,i,u,a,c,l,s,f,h,p,y=e[1].trim(),d=y.length>1,v={type:"list",raw:"",ordered:d,start:d?+y.slice(0,-1):"",loose:!1,items:[]};y=d?"\\d{1,9}\\"+y.slice(-1):"\\"+y,this.options.pedantic&&(y=d?y:"[*+-]");for(var g=RegExp("^( {0,3}"+y+")((?:[	 ][^\\n]*)?(?:\\n|$))");t&&(p=!1,!(!(e=g.exec(t))||this.rules.block.hr.test(t)));){if(r=e[0],t=t.substring(r.length),l=e[2].split("\n",1)[0].replace(/^\t+/,function(t){return" ".repeat(3*t.length)}),s=t.split("\n",1)[0],this.options.pedantic?(i=2,h=l.trimLeft()):(i=(i=e[2].search(/[^ ]/))>4?1:i,h=l.slice(i),i+=e[1].length),a=!1,!l&&/^ *$/.test(s)&&(r+=s+"\n",t=t.substring(s.length+1),p=!0),!p)for(var m=RegExp("^ {0,"+Math.min(3,i-1)+"}(?:[*+-]|\\d{1,9}[.)])((?:[ 	][^\\n]*)?(?:\\n|$))"),b=RegExp("^ {0,"+Math.min(3,i-1)+"}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)"),D=RegExp("^ {0,"+Math.min(3,i-1)+"}(?:```|~~~)"),w=RegExp("^ {0,"+Math.min(3,i-1)+"}#");t&&(s=f=t.split("\n",1)[0],this.options.pedantic&&(s=s.replace(/^ {1,4}(?=( {4})*[^ ])/g,"  ")),!(D.test(s)||w.test(s)||m.test(s)||b.test(t)));){if(s.search(/[^ ]/)>=i||!s.trim())h+="\n"+s.slice(i);else{if(a||l.search(/[^ ]/)>=4||D.test(l)||w.test(l)||b.test(l))break;h+="\n"+s}a||s.trim()||(a=!0),r+=f+"\n",t=t.substring(f.length+1),l=s.slice(i)}!v.loose&&(c?v.loose=!0:/\n *\n *$/.test(r)&&(c=!0)),this.options.gfm&&(n=/^\[[ xX]\] /.exec(h))&&(o="[ ] "!==n[0],h=h.replace(/^\[[ xX]\] +/,"")),v.items.push({type:"list_item",raw:r,task:!!n,checked:o,loose:!1,text:h}),v.raw+=r}
1v.items[v.items.length-1].raw=r.trimRight(),v.items[v.items.length-1].text=h.trimRight(),v.raw=v.raw.trimRight();var x=v.items.length;for(u=0;u<x;u++)if(this.lexer.state.top=!1,v.items[u].tokens=this.lexer.blockTokens(v.items[u].text,[]),!v.loose){var E=v.items[u].tokens.filter(function(t){return"space"===t.type});v.loose=E.length>0&&E.some(function(t){return/\n.*\n/.test(t.raw)})}if(v.loose)for(u=0;u<x;u++)v.items[u].loose=!0;return v}},r.html=function(t){var e=this.rules.block.html.exec(t);if(e){var r={type:"html",raw:e[0],pre:!this.options.sanitizer&&("pre"===e[1]||"script"===e[1]||"style"===e[1]),text:e[0]};if(this.options.sanitize){var n=this.options.sanitizer?this.options.sanitizer(e[0]):h(e[0]);r.type="paragraph",r.text=n,r.tokens=this.lexer.inline(n)}return r}},r.def=function(t){var e=this.rules.block.def.exec(t);if(e){var r=e[1].toLowerCase().replace(/\s+/g," "),n=e[2]?e[2].replace(/^<(.*)>$/,"$1").replace(this.rules.inline._escapes,"$1"):"",o=e[3]?e[3].substring(1,e[3].length-1).replace(this.rules.inline._escapes,"$1"):e[3];return{type:"def",tag:r,raw:e[0],href:n,title:o}}},r.table=function(t){var e=this.rules.block.table.exec(t);if(e){var r={type:"table",header:A(e[1]).map(function(t){return{text:t}}),align:e[2].replace(/^ *|\| *$/g,"").split(/ *\| */),rows:e[3]&&e[3].trim()?e[3].replace(/\n[ \t]*$/,"").split("\n"):[]};if(r.header.length===r.align.length){r.raw=e[0];var n,o,i,u,a=r.align.length;for(n=0;n<a;n++)/^ *-+: *$/.test(r.align[n])?r.align[n]="right":/^ *:-+: *$/.test(r.align[n])?r.align[n]="center":/^ *:-+ *$/.test(r.align[n])?r.align[n]="left":r.align[n]=null;for(n=0,a=r.rows.length;n<a;n++)r.rows[n]=A(r.rows[n],r.header.length).map(function(t){return{text:t}});for(o=0,a=r.header.length;o<a;o++)r.header[o].tokens=this.lexer.inline(r.header[o].text);for(o=0,a=r.rows.length;o<a;o++)for(i=0,u=r.rows[o];i<u.length;i++)u[i].tokens=this.lexer.inline(u[i].text);return r}}},r.lheading=function(t){var e=this.rules.block.lheading.exec(t);if(e)return{type:"heading",raw:e[0],depth:"="===e[2].charAt(0)?1:2,text:e[1],tokens:this.lexer.inline(e[1])}},r.paragraph=function(t){var e=this.rules.block.paragraph.exec(t);if(e){var r="\n"===e[1].charAt(e[1].length-1)?e[1].slice(0,-1):e[1];return{type:"paragraph",raw:e[0],text:r,tokens:this.lexer.inline(r)}}},r.text=function(t){var e=this.rules.block.text.exec(t);if(e)return{type:"text",raw:e[0],text:e[0],tokens:this.lexer.inline(e[0])}},r.escape=function(t){var e=this.rules.inline.escape.exec(t);if(e)return{type:"escape",raw:e[0],text:h(e[1])}},r.tag=function(t){var e=this.rules.inline.tag.exec(t);if(e)return!this.lexer.state.inLink&&/^<a /i.test(e[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&/^<\/a>/i.test(e[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(e[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(e[0])&&(this.lexer.state.inRawBlock=!1),{type:this.options.sanitize?"text":"html",raw:e[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(e[0]):h(e[0]):e[0]}},r.link=function(t){var e=this.rules.inline.link.exec(t);if(e){var r=e[2].trim();if(!this.options.pedantic&&/^</.test(r)){if(!/>$/.test(r))return;var n=O(r.slice(0,-1),"\\");if((r.length-n.length)%2==0)return}else{var o=function(t,e){if(-1===t.indexOf(")"))return -1;for(var r=t.length,n=0,o=0;o<r;o++)if("\\"===t[o])o++;else if("("===t[o])n++;else if(t[o]===e[1]&&--n<0)return o;return -1}(e[2],"()");if(o>-1){var i=(0===e[0].indexOf("!")?5:4)+e[1].length+o;e[2]=e[2].substring(0,o),e[0]=e[0].substring(0,i).trim(),e[3]=""}}var u=e[2],a="";if(this.options.pedantic){var c=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(u);c&&(u=c[1],a=c[3])}else a=e[3]?e[3].slice(1,-1):"";return u=u.trim(),/^</.test(u)&&(u=this.options.pedantic&&!/>$/.test(r)?u.slice(1):u.slice(1,-1)),j(e,{href:u?u.replace(this.rules.inline._escapes,"$1"):u,title:a?a.replace(this.rules.inline._escapes,"$1"):a},e[0],this.lexer)}},r.reflink=function(t,e){var r;if((r=this.rules.inline.reflink.exec(t))||(r=this.rules.inline.nolink.exec(t))){var n=(r[2]||r[1]).replace(/\s+/g," ");
1if(!(n=e[n.toLowerCase()])){var o=r[0].charAt(0);return{type:"text",raw:o,text:o}}return j(r,n,r[0],this.lexer)}},r.emStrong=function(t,e,r){void 0===r&&(r="");var n=this.rules.inline.emStrong.lDelim.exec(t);if(n&&!(n[3]&&r.match(/(?:[0-9A-Za-z\xAA\xB2\xB3\xB5\xB9\xBA\xBC-\xBE\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u0660-\u0669\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07C0-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0966-\u096F\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09E6-\u09F1\u09F4-\u09F9\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A66-\u0A6F\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AE6-\u0AEF\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B66-\u0B6F\u0B71-\u0B77\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0BE6-\u0BF2\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C66-\u0C6F\u0C78-\u0C7E\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CE6-\u0CEF\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D58-\u0D61\u0D66-\u0D78\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DE6-\u0DEF\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F20-\u0F33\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F-\u1049\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u1090-\u1099\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1369-\u137C\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u17E0-\u17E9\u17F0-\u17F9\u1810-\u1819\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A16\u1A20-\u1A54\u1A80-\u1A89\u1A90-\u1A99\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B50-\u1B59\u1B83-\u1BA0\u1BAE-\u1BE5\u1C00-\u1C23\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2070\u2071\u2074-\u2079\u207F-\u2089\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2150-\u2189\u2460-\u249B\u24EA-\u24FF\u2776-\u2793\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2CFD\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u3192-\u3195\u31A0-\u31BF\u31F0-\u31FF\u3220-\u3229\u3248-\u324F\u3251-\u325F\u3280-\u3289\u32B1-\u32BF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA830-\uA835\uA840-\uA873\uA882-\uA8B3\uA8D0-\uA8D9\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA900-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF-\uA9D9\uA9E0-\uA9E4\uA9E6-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA50-\uAA59\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFB
1D3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD07-\uDD33\uDD40-\uDD78\uDD8A\uDD8B\uDE80-\uDE9C\uDEA0-\uDED0\uDEE1-\uDEFB\uDF00-\uDF23\uDF2D-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC58-\uDC76\uDC79-\uDC9E\uDCA7-\uDCAF\uDCE0-\uDCF2\uDCF4\uDCF5\uDCFB-\uDD1B\uDD20-\uDD39\uDD80-\uDDB7\uDDBC-\uDDCF\uDDD2-\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE40-\uDE48\uDE60-\uDE7E\uDE80-\uDE9F\uDEC0-\uDEC7\uDEC9-\uDEE4\uDEEB-\uDEEF\uDF00-\uDF35\uDF40-\uDF55\uDF58-\uDF72\uDF78-\uDF91\uDFA9-\uDFAF]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDCFA-\uDD23\uDD30-\uDD39\uDE60-\uDE7E\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF27\uDF30-\uDF45\uDF51-\uDF54\uDF70-\uDF81\uDFB0-\uDFCB\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC52-\uDC6F\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD03-\uDD26\uDD36-\uDD3F\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDD0-\uDDDA\uDDDC\uDDE1-\uDDF4\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDEF0-\uDEF9\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC50-\uDC59\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE50-\uDE59\uDE80-\uDEAA\uDEB8\uDEC0-\uDEC9\uDF00-\uDF1A\uDF30-\uDF3B\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCF2\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDD50-\uDD59\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC50-\uDC6C\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD50-\uDD59\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDDA0-\uDDA9\uDEE0-\uDEF2\uDFB0\uDFC0-\uDFD4]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDE70-\uDEBE\uDEC0-\uDEC9\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF50-\uDF59\uDF5B-\uDF61\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE96\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD834[\uDEE0-\uDEF3\uDF60-\uDF78]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD837[\uDF00-\uDF1E]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD40-\uDD49\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB\uDEF0-\uDEF9]|\uD839[\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDCC7-\uDCCF\uDD00-\uDD43\uDD4B\uDD50-\uDD59]|\uD83B[\uDC71-\uDCAB\uDCAD-\uDCAF\uDCB1-\uDCB4\uDD01-\uDD2D\uDD2F-\uDD3D\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD83C[\uDD00-\uDD0C]|\uD83E[\uDFF0-\uDFF9]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF38\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])/))){var o=n[1]||n[2]||"";if(!o||o&&(""===r||this.rules.inline.punctuation.exec(r))){var i,u,a=n[0].length-1,c=a,l=0,s="*"===n[0][0]?this.rules.inline.emStrong.rDelimAst:this.rules.inline.emStrong.rDelimUnd;for(s.lastIndex=0,e=e.slice(-1*t.length+a);null!=(n=s.exec(e));
vendor: 11,318 bytes, line 1
1){if(i=n[1]||n[2]||n[3]||n[4]||n[5]||n[6]){if(u=i.length,n[3]||n[4]){c+=u;continue}if((n[5]||n[6])&&a%3&&!((a+u)%3)){l+=u;continue}if(!((c-=u)>0)){u=Math.min(u,u+c+l);var f=t.slice(0,a+n.index+(n[0].length-i.length)+u);if(Math.min(a,u)%2){var h=f.slice(1,-1);return{type:"em",raw:f,text:h,tokens:this.lexer.inlineTokens(h)}}var p=f.slice(2,-2);return{type:"strong",raw:f,text:p,tokens:this.lexer.inlineTokens(p)}}}}}}},r.codespan=function(t){var e=this.rules.inline.code.exec(t);if(e){var r=e[2].replace(/\n/g," "),n=/[^ ]/.test(r),o=/^ /.test(r)&&/ $/.test(r);return n&&o&&(r=r.substring(1,r.length-1)),r=h(r,!0),{type:"codespan",raw:e[0],text:r}}},r.br=function(t){var e=this.rules.inline.br.exec(t);if(e)return{type:"br",raw:e[0]}},r.del=function(t){var e=this.rules.inline.del.exec(t);if(e)return{type:"del",raw:e[0],text:e[2],tokens:this.lexer.inlineTokens(e[2])}},r.autolink=function(t,e){var r,n,o=this.rules.inline.autolink.exec(t);if(o)return n="@"===o[2]?"mailto:"+(r=h(this.options.mangle?e(o[1]):o[1])):r=h(o[1]),{type:"link",raw:o[0],text:r,href:n,tokens:[{type:"text",raw:r,text:r}]}},r.url=function(t,e){var r,n,o,i;if(r=this.rules.inline.url.exec(t)){if("@"===r[2])o="mailto:"+(n=h(this.options.mangle?e(r[0]):r[0]));else{do i=r[0],r[0]=this.rules.inline._backpedal.exec(r[0])[0];while(i!==r[0]);n=h(r[0]),o="www."===r[1]?"http://"+r[0]:r[0]}return{type:"link",raw:r[0],text:n,href:o,tokens:[{type:"text",raw:n,text:n}]}}},r.inlineText=function(t,e){var r,n=this.rules.inline.text.exec(t);if(n)return r=this.lexer.state.inRawBlock?this.options.sanitize?this.options.sanitizer?this.options.sanitizer(n[0]):h(n[0]):n[0]:h(this.options.smartypants?e(n[0]):n[0]),{type:"text",raw:n[0],text:r}},t}(),C={newline:/^(?: *(?:\n|$))+/,code:/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,fences:/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,hr:/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/,html:"^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n *)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$))",def:/^ {0,3}\[(label)\]: *(?:\n *)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/,table:k,lheading:/^((?:.|\n(?!\n))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,text:/^[^\n]+/};C._label=/(?!\s*\])(?:\\.|[^\[\]\\])+/,C._title=/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/,C.def=v(C.def).replace("label",C._label).replace("title",C._title).getRegex(),C.bullet=/(?:[*+-]|\d{1,9}[.)])/,C.listItemStart=v(/^( *)(bull) */).replace("bull",C.bullet).getRegex(),C.list=v(C.list).replace(/bull/g,C.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+C.def.source+")").getRegex(),C._tag="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",C._comment=/<!--(?!-?>)[\s\S]*?(?:-->|$)/,C.html=v(C.html,"i").replace("comment",C._comment).replace("tag",C._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),C.paragraph=v(C._paragraph).replace("hr",C.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",C._tag).getRegex(),C.blockquote=v(C.blockquote).replace("paragraph",C.paragraph).getRegex(),C.normal=r({},C),C.gfm=r({},C.normal,{table:"^ *([^\\n ].*\\|.*)\\n {0,3}(?:\\| *)?(:?-+:? *(?:\\| *:?-+:? *)*)(?:\\| *)?(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"}),C.gfm.table=v(C.gfm.table).replace("hr",C.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",C._tag).getRegex(),C.gfm.paragraph=v(C._paragraph).replace("hr",C.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("table",C.gfm.table).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",C._tag).getRegex(),C.pedantic=r({},C.normal,{html:v("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:\"[^\"]*\"|'[^']*'|\\s[^'\"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",C._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:k,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:v(C.normal._paragraph).replace("hr",C.hr).replace("heading"," *#{1,6} *[^\n]").replace("lheading",C.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()});var L={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:k,tag:"^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(ref)\]/,nolink:/^!?\[(ref)\](?:\[\])?/,reflinkSearch:"reflink|nolink(?!\\()",emStrong:{lDelim:/^(?:\*+(?:([punct_])|[^\s*]))|^_+(?:([punct*])|([^\s_]))/,rDelimAst:/^(?:[^_*\\]|\\.)*?\_\_(?:[^_*\\]|\\.)*?\*(?:[^_*\\]|\\.)*?(?=\_\_)|(?:[^*\\]|\\.)+(?=[^*])|[punct_](\*+)(?=[\s]|$)|(?:[^punct*_\s\\]|\\.)(\*+)(?=[punct_\s]|$)|[punct_\s](\*+)(?=[^punct*_\s])|[\s](\*+)(?=[punct_])|[punct_](\*+)(?=[punct_])|(?:[^punct*_\s\\]|\\.)(\*+)(?=[^punct*_\s])/,rDelimUnd:/^(?:[^_*\\]|\\.)*?\*\*(?:[^_*\\]|\\.)*?\_(?:[^_*\\]|\\.)*?(?=\*\*)|(?:[^_\\]|\\.)+(?=[^_])|[punct*](\_+)(?=[\s]|$)|(?:[^punct*_\s\\]|\\.)(\_+)(?=[punct*\s]|$)|[punct*\s](\_+)(?=[^punct*_\s])|[\s](\_+)(?=[punct*])|[punct*](\_+)(?=[punct*])/},code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:k,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,punctuation:/^([\spunctuation])/};function P(t){return t.replace(/---/g,"—").replace(/--/g,"–").replace(/(^|[-\u2014/(\[{"\s])'/g,"$1‘").replace(/'/g,"’").replace(/(^|[-\u2014/(\[{\u2018\s])"/g,"$1“").replace(/"/g,"”").replace(/\.{3}/g,"…")}function _(t){var e,r,n="",o=t.length;for(e=0;e<o;e++)r=t.charCodeAt(e),Math.random()>.5&&(r="x"+r.toString(16)),n+="&#"+r+";";return n}L._punctuation="!\"#$%&'()+\\-.,/:;<=>?@\\[\\]`^{|}~",L.punctuation=v(L.punctuation).replace(/punctuation/g,L._punctuation).getRegex(),L.blockSkip=/\[[^\]]*?\]\([^\)]*?\)|`[^`]*?`|<[^>]*?>/g,L.escapedEmSt=/(?:^|[^\\])(?:\\\\)*\\[*_]/g,L._comment=v(C._comment).replace("(?:--\x3e|$)","--\x3e").getRegex(),L.emStrong.lDelim=v(L.emStrong.lDelim).replace(/punct/g,L._punctuation).getRegex(),L.emStrong.rDelimAst=v(L.emStrong.rDelimAst,"g").replace(/punct/g,L._punctuation).getRegex(),L.emStrong.rDelimUnd=v(L.emStrong.rDelimUnd,"g").replace(/punct/g,L._punctuation).getRegex(),L._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,L._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,L._email=/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/,L.autolink=v(L.autolink).replace("scheme",L._scheme).replace("email",L._email).getRegex(),L._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,L.tag=v(L.tag).replace("comment",L._comment).replace("attribute",L._attribute).getRegex(),L._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,L._href=/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/,L._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,L.link=v(L.link).replace("label",L._label).replace("href",L._href).replace("title",L._title).getRegex(),L.reflink=v(L.reflink).replace("label",L._label).replace("ref",C._label).getRegex(),L.nolink=v(L.nolink).replace("ref",C._label).getRegex(),L.reflinkSearch=v(L.reflinkSearch,"g").replace("reflink",L.reflink).replace("nolink",L.nolink).getRegex(),L.normal=r({},L),L.pedantic=r({},L.normal,{strong:{start:/^__|\*\*/,middle:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,endAst:/\*\*(?!\*)/g,endUnd:/__(?!_)/g},em:{start:/^_|\*/,middle:/^()\*(?=\S)([\s\S]*?\S)\*(?!\*)|^_(?=\S)([\s\S]*?\S)_(?!_)/,endAst:/\*(?!\*)/g,endUnd:/_(?!_)/g},link:v(/^!?\[(label)\]\((.*?)\)/).replace("label",L._label).getRegex(),reflink:v(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",L._label).getRegex()}),L.gfm=r({},L.normal,{escape:v(L.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/}),L.gfm.url=v(L.gfm.url,"i").replace("email",L.gfm._extended_email).getRegex(),L.breaks=r({},L.gfm,{br:v(L.br).replace("{2,}","*").getRegex(),text:v(L.gfm.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()});var B=function(){function t(t){this.tokens=[],this.tokens.links=Object.create(null),this.options=t||e.defaults,this.options.tokenizer=this.options.tokenizer||new S,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};var r={block:C.normal,inline:L.normal};this.options.pedantic?(r.block=C.pedantic,r.inline=L.pedantic):this.options.gfm&&(r.block=C.gfm,this.options.breaks?r.inline=L.breaks:r.inline=L.gfm),this.tokenizer.rules=r}t.lex=function(e,r){return new t(r).lex(e)},t.lexInline=function(e,r){return new t(r).inlineTokens(e)};var r,n=t.prototype;return n.lex=function(t){var e;
1for(t=t.replace(/\r\n|\r/g,"\n"),this.blockTokens(t,this.tokens);e=this.inlineQueue.shift();)this.inlineTokens(e.src,e.tokens);return this.tokens},n.blockTokens=function(t,e){var r,n,o,i,u=this;for(void 0===e&&(e=[]),t=this.options.pedantic?t.replace(/\t/g,"    ").replace(/^ +$/gm,""):t.replace(/^( *)(\t+)/gm,function(t,e,r){return e+"    ".repeat(r.length)});t;)if(!(this.options.extensions&&this.options.extensions.block&&this.options.extensions.block.some(function(n){return!!(r=n.call({lexer:u},t,e))&&(t=t.substring(r.raw.length),e.push(r),!0)}))){if(r=this.tokenizer.space(t)){t=t.substring(r.raw.length),1===r.raw.length&&e.length>0?e[e.length-1].raw+="\n":e.push(r);continue}if(r=this.tokenizer.code(t)){t=t.substring(r.raw.length),(n=e[e.length-1])&&("paragraph"===n.type||"text"===n.type)?(n.raw+="\n"+r.raw,n.text+="\n"+r.text,this.inlineQueue[this.inlineQueue.length-1].src=n.text):e.push(r);continue}if((r=this.tokenizer.fences(t))||(r=this.tokenizer.heading(t))||(r=this.tokenizer.hr(t))||(r=this.tokenizer.blockquote(t))||(r=this.tokenizer.list(t))||(r=this.tokenizer.html(t))){t=t.substring(r.raw.length),e.push(r);continue}if(r=this.tokenizer.def(t)){t=t.substring(r.raw.length),(n=e[e.length-1])&&("paragraph"===n.type||"text"===n.type)?(n.raw+="\n"+r.raw,n.text+="\n"+r.raw,this.inlineQueue[this.inlineQueue.length-1].src=n.text):this.tokens.links[r.tag]||(this.tokens.links[r.tag]={href:r.href,title:r.title});continue}if((r=this.tokenizer.table(t))||(r=this.tokenizer.lheading(t))){t=t.substring(r.raw.length),e.push(r);continue}if(o=t,this.options.extensions&&this.options.extensions.startBlock&&function(){var e=1/0,r=t.slice(1),n=void 0;u.options.extensions.startBlock.forEach(function(t){"number"==typeof(n=t.call({lexer:this},r))&&n>=0&&(e=Math.min(e,n))}),e<1/0&&e>=0&&(o=t.substring(0,e+1))}(),this.state.top&&(r=this.tokenizer.paragraph(o))){n=e[e.length-1],i&&"paragraph"===n.type?(n.raw+="\n"+r.raw,n.text+="\n"+r.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=n.text):e.push(r),i=o.length!==t.length,t=t.substring(r.raw.length);continue}if(r=this.tokenizer.text(t)){t=t.substring(r.raw.length),(n=e[e.length-1])&&"text"===n.type?(n.raw+="\n"+r.raw,n.text+="\n"+r.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=n.text):e.push(r);continue}if(t){var a="Infinite loop on byte: "+t.charCodeAt(0);if(this.options.silent){console.error(a);break}throw Error(a)}}return this.state.top=!0,e},n.inline=function(t,e){return void 0===e&&(e=[]),this.inlineQueue.push({src:t,tokens:e}),e},n.inlineTokens=function(t,e){var r,n,o,i,u,a,c=this;void 0===e&&(e=[]);var l=t;if(this.tokens.links){var s=Object.keys(this.tokens.links);if(s.length>0)for(;null!=(i=this.tokenizer.rules.inline.reflinkSearch.exec(l));)s.includes(i[0].slice(i[0].lastIndexOf("[")+1,-1))&&(l=l.slice(0,i.index)+"["+F("a",i[0].length-2)+"]"+l.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;null!=(i=this.tokenizer.rules.inline.blockSkip.exec(l));)l=l.slice(0,i.index)+"["+F("a",i[0].length-2)+"]"+l.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;null!=(i=this.tokenizer.rules.inline.escapedEmSt.exec(l));)l=l.slice(0,i.index+i[0].length-2)+"++"+l.slice(this.tokenizer.rules.inline.escapedEmSt.lastIndex),this.tokenizer.rules.inline.escapedEmSt.lastIndex--;for(;t;)if(u||(a=""),u=!1,!(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some(function(n){return!!(r=n.call({lexer:c},t,e))&&(t=t.substring(r.raw.length),e.push(r),!0)}))){if(r=this.tokenizer.escape(t)){t=t.substring(r.raw.length),e.push(r);continue}if(r=this.tokenizer.tag(t)){t=t.substring(r.raw.length),(n=e[e.length-1])&&"text"===r.type&&"text"===n.type?(n.raw+=r.raw,n.text+=r.text):e.push(r);continue}if(r=this.tokenizer.link(t)){t=t.substring(r.raw.length),e.push(r);continue}if(r=this.tokenizer.reflink(t,this.tokens.links)){t=t.substring(r.raw.length),(n=e[e.length-1])&&"text"===r.type&&"text"===n.type?(n.raw+=r.raw,n.text+=r.text):e.push(r);continue}if((r=this.tokenizer.emStrong(t,l,a))||(r=this.tokenizer.codespan(t))||(r=this.tokenizer.br(t))||(r=this.tokenizer.del(t))||(r=this.tokenizer.autolink(t,_))||!this.state.inLink&&(r=this.tokenizer.url(t,_))){t=t.substring(r.raw.length),e.push(r);continue}if(o=t,this.options.extensions&&this.options.extensions.startInline&&function(){var e=1/0,r=t.slice(1),n=void 0;c.options.extensions.startInline.forEach(function(t){"number"==typeof(n=t.call({lexer:this},r))&&n>=0&&(e=Math.min(e,n))}),e<1/0&&e>=0&&(o=t.substring(0,e+1))}(),r=this.tokenizer.inlineText(o,P)){t=t.substring(r.raw.length),"_"!==r.raw.slice(-1)&&(a=r.raw.slice(-1)),u=!0,(n=e[e.length-1])&&"text"===n.type?(n.raw+=r.raw,n.text+=r.text):e.push(r);continue}if(t){var f="Infinite loop on byte: "+t.charCodeAt(0);if(this.options.silent){console.error(f);break}throw Error(f)}}return e},r=[{key:"rules",get:function(){return{block:C,inline:L}}}],function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,function(t){var e=function(t,e){if("object"!=typeof t||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=typeof n)return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}
1(t,"string");return"symbol"==typeof e?e:String(e)}(n.key),n)}}(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}(),T=function(){function t(t){this.options=t||e.defaults}var r=t.prototype;return r.code=function(t,e,r){var n=(e||"").match(/\S*/)[0];if(this.options.highlight){var o=this.options.highlight(t,n);null!=o&&o!==t&&(r=!0,t=o)}return(t=t.replace(/\n$/,"")+"\n",n)?'<pre><code class="'+this.options.langPrefix+h(n)+'">'+(r?t:h(t,!0))+"</code></pre>\n":"<pre><code>"+(r?t:h(t,!0))+"</code></pre>\n"},r.blockquote=function(t){return"<blockquote>\n"+t+"</blockquote>\n"},r.html=function(t){return t},r.heading=function(t,e,r,n){return this.options.headerIds?"<h"+e+' id="'+(this.options.headerPrefix+n.slug(r))+'">'+t+"</h"+e+">\n":"<h"+e+">"+t+"</h"+e+">\n"},r.hr=function(){return this.options.xhtml?"<hr/>\n":"<hr>\n"},r.list=function(t,e,r){var n=e?"ol":"ul";return"<"+n+(e&&1!==r?' start="'+r+'"':"")+">\n"+t+"</"+n+">\n"},r.listitem=function(t){return"<li>"+t+"</li>\n"},r.checkbox=function(t){return"<input "+(t?'checked="" ':"")+'disabled="" type="checkbox"'+(this.options.xhtml?" /":"")+"> "},r.paragraph=function(t){return"<p>"+t+"</p>\n"},r.table=function(t,e){return e&&(e="<tbody>"+e+"</tbody>"),"<table>\n<thead>\n"+t+"</thead>\n"+e+"</table>\n"},r.tablerow=function(t){return"<tr>\n"+t+"</tr>\n"},r.tablecell=function(t,e){var r=e.header?"th":"td";return(e.align?"<"+r+' align="'+e.align+'">':"<"+r+">")+t+"</"+r+">\n"},r.strong=function(t){return"<strong>"+t+"</strong>"},r.em=function(t){return"<em>"+t+"</em>"},r.codespan=function(t){return"<code>"+t+"</code>"},r.br=function(){return this.options.xhtml?"<br/>":"<br>"},r.del=function(t){return"<del>"+t+"</del>"},r.link=function(t,e,r){if(null===(t=b(this.options.sanitize,this.options.baseUrl,t)))return r;var n='<a href="'+t+'"';return e&&(n+=' title="'+e+'"'),n+=">"+r+"</a>"},r.image=function(t,e,r){if(null===(t=b(this.options.sanitize,this.options.baseUrl,t)))return r;var n='<img src="'+t+'" alt="'+r+'"';return e&&(n+=' title="'+e+'"'),n+=this.options.xhtml?"/>":">"},r.text=function(t){return t},t}(),N=function(){function t(){}var e=t.prototype;return e.strong=function(t){return t},e.em=function(t){return t},e.codespan=function(t){return t},e.del=function(t){return t},e.html=function(t){return t},e.text=function(t){return t},e.link=function(t,e,r){return""+r},e.image=function(t,e,r){return""+r},e.br=function(){return""},t}(),z=function(){function t(){this.seen={}}var e=t.prototype;return e.serialize=function(t){return t.toLowerCase().trim().replace(/<[!\/a-z].*?>/ig,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-")},e.getNextSafeSlug=function(t,e){var r=t,n=0;if(this.seen.hasOwnProperty(r)){n=this.seen[t];do r=t+"-"+ ++n;while(this.seen.hasOwnProperty(r))}return e||(this.seen[t]=n,this.seen[r]=0),r},e.slug=function(t,e){void 0===e&&(e={});var r=this.serialize(t);return this.getNextSafeSlug(r,e.dryrun)},t}(),I=function(){function t(t){this.options=t||e.defaults,this.options.renderer=this.options.renderer||new T,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new N,this.slugger=new z}t.parse=function(e,r){return new t(r).parse(e)},t.parseInline=function(e,r){return new t(r).parseInline(e)};var r=t.prototype;return r.parse=function(t,e){void 0===e&&(e=!0);var r,n,o,i,u,a,c,l,s,f,h,p,d,v,g,m,b,D,w,x="",E=t.length;for(r=0;r<E;r++){if(f=t[r],this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[f.type]&&(!1!==(w=this.options.extensions.renderers[f.type].call({parser:this},f))||!["space","hr","heading","code","table","blockquote","list","html","paragraph","text"].includes(f.type))){x+=w||"";continue}switch(f.type){case"space":continue;case"hr":x+=this.renderer.hr();continue;case"heading":x+=this.renderer.heading(this.parseInline(f.tokens),f.depth,y(this.parseInline(f.tokens,this.textRenderer)),this.slugger);continue;case"code":x+=this.renderer.code(f.text,f.lang,f.escaped);continue;case"table":for(n=0,l="",c="",i=f.header.length;n<i;n++)c+=this.renderer.tablecell(this.parseInline(f.header[n].tokens),{header:!0,align:f.align[n]});for(l+=this.renderer.tablerow(c),s="",i=f.rows.length,n=0;n<i;n++){for(o=0,a=f.rows[n],c="",u=a.length;o<u;o++)c+=this.renderer.tablecell(this.parseInline(a[o].tokens),{header:!1,align:f.align[o]});s+=this.renderer.tablerow(c)}x+=this.renderer.table(l,s);continue;case"blockquote":s=this.parse(f.tokens),x+=this.renderer.blockquote(s);continue;case"list":for(n=0,h=f.ordered,p=f.start,d=f.loose,i=f.items.length,s="";n<i;n++)m=(g=f.items[n]).checked,b=g.task,v="",g.task&&(D=this.renderer.checkbox(m),d?g.tokens.length>0&&"paragraph"===g.tokens[0].type?(g.tokens[0].text=D+" "+g.tokens[0].text,g.tokens[0].tokens&&g.tokens[0].tokens.length>0&&"text"===g.tokens[0].tokens[0].type&&(g.tokens[0].tokens[0].text=D+" "+g.tokens[0].tokens[0].text)):g.tokens.unshift({type:"text",text:D}):v+=D),v+=this.parse(g.tokens,d),s+=this.renderer.listitem(v,b,m);x+=this.renderer.list(s,h,p);continue;case"html":x+=this.renderer.html(f.text);continue;case"paragraph":x+=this.renderer.paragraph(this.parseInline(f.tokens));continue;case"text":for(s=f.tokens?this.parseInline(f.tokens):f.text;r+1<E&&"text"===t[r+1].type;)s+="\n"+((f=t[++r]).tokens?this.parseInline(f.tokens):f.text);x+=e?this.renderer.paragraph(s):s;continue;default:var k='Token with "'+f.type+'" type was not found.';if(this.options.silent){console.error(k);return}throw Error(k)}}return x},r.parseInline=function(t,e){e=e||this.renderer;var r,n,o,i="",u=t.length;for(r=0;r<u;r++){if(n=t[r],this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[n.type]&&(!1!==(o=this.options.extensions.renderers[n.type].call({parser:this},n))||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(n.t
1ype))){i+=o||"";continue}switch(n.type){case"escape":case"text":i+=e.text(n.text);break;case"html":i+=e.html(n.text);break;case"link":i+=e.link(n.href,n.title,this.parseInline(n.tokens,e));break;case"image":i+=e.image(n.href,n.title,n.text);break;case"strong":i+=e.strong(this.parseInline(n.tokens,e));break;case"em":i+=e.em(this.parseInline(n.tokens,e));break;case"codespan":i+=e.codespan(n.text);break;case"br":i+=e.br();break;case"del":i+=e.del(this.parseInline(n.tokens,e));break;default:var a='Token with "'+n.type+'" type was not found.';if(this.options.silent){console.error(a);return}throw Error(a)}}return i},t}(),$=function(){function t(t){this.options=t||e.defaults}var r=t.prototype;return r.preprocess=function(t){return t},r.postprocess=function(t){return t},t}();function G(t,e){return function(n,o,i){"function"==typeof o&&(i=o,o=null);var u=r({},o),a=(c=(o=r({},R.defaults,u)).silent,l=o.async,s=i,function(t){if(t.message+="\nPlease report this to https://github.com/markedjs/marked.",c){var e="<p>An error occurred:</p><pre>"+h(t.message+"",!0)+"</pre>";if(l)return Promise.resolve(e);if(s){s(null,e);return}return e}if(l)return Promise.reject(t);if(s){s(t);return}throw t});if(null==n)return a(Error("marked(): input parameter is undefined or null"));if("string"!=typeof n)return a(Error("marked(): input parameter is of type "+Object.prototype.toString.call(n)+", string expected"));if((f=o)&&f.sanitize&&!f.silent&&console.warn("marked(): sanitize and sanitizer parameters are deprecated since version 0.7.0, should not be used and will be removed in the future. Read more here: https://marked.js.org/#/USING_ADVANCED.md#options"),o.hooks&&(o.hooks.options=o),i){var c,l,s,f,p,y=o.highlight;try{o.hooks&&(n=o.hooks.preprocess(n)),p=t(n,o)}catch(t){return a(t)}var d=function(t){var r;if(!t)try{o.walkTokens&&R.walkTokens(p,o.walkTokens),r=e(p,o),o.hooks&&(r=o.hooks.postprocess(r))}catch(e){t=e}return o.highlight=y,t?a(t):i(null,r)};if(!y||y.length<3||(delete o.highlight,!p.length))return d();var v=0;return R.walkTokens(p,function(t){"code"===t.type&&(v++,setTimeout(function(){y(t.text,t.lang,function(e,r){if(e)return d(e);null!=r&&r!==t.text&&(t.text=r,t.escaped=!0),0==--v&&d()})},0))}),void(0===v&&d())}if(o.async)return Promise.resolve(o.hooks?o.hooks.preprocess(n):n).then(function(e){return t(e,o)}).then(function(t){return o.walkTokens?Promise.all(R.walkTokens(t,o.walkTokens)).then(function(){return t}):t}).then(function(t){return e(t,o)}).then(function(t){return o.hooks?o.hooks.postprocess(t):t}).catch(a);try{o.hooks&&(n=o.hooks.preprocess(n));var g=t(n,o);o.walkTokens&&R.walkTokens(g,o.walkTokens);var m=e(g,o);return o.hooks&&(m=o.hooks.postprocess(m)),m}catch(t){return a(t)}}}function R(t,e,r){return G(B.lex,I.parse)(t,e,r)}$.passThroughHooks=new Set(["preprocess","postprocess"]),R.options=R.setOptions=function(t){return R.defaults=r({},R.defaults,t),e.defaults=R.defaults,R},R.getDefaults=i,R.defaults=e.defaults,R.use=function(){for(var t=R.defaults.extensions||{renderers:{},childTokens:{}},e=arguments.length,n=Array(e),o=0;o<e;o++)n[o]=arguments[o];n.forEach(function(e){var n=r({},e);if(n.async=R.defaults.async||n.async||!1,e.extensions&&(e.extensions.forEach(function(e){if(!e.name)throw Error("extension name required");if(e.renderer){var r=t.renderers[e.name];r?t.renderers[e.name]=function(){for(var t=arguments.length,n=Array(t),o=0;o<t;o++)n[o]=arguments[o];var i=e.renderer.apply(this,n);return!1===i&&(i=r.apply(this,n)),i}:t.renderers[e.name]=e.renderer}if(e.tokenizer){if(!e.level||"block"!==e.level&&"inline"!==e.level)throw Error("extension level must be 'block' or 'inline'");t[e.level]?t[e.level].unshift(e.tokenizer):t[e.level]=[e.tokenizer],e.start&&("block"===e.level?t.startBlock?t.startBlock.push(e.start):t.startBlock=[e.start]:"inline"===e.level&&(t.startInline?t.startInline.push(e.start):t.startInline=[e.start]))}e.childTokens&&(t.childTokens[e.name]=e.childTokens)}),n.extensions=t),e.renderer&&function(){var t=R.defaults.renderer||new T,r=function(r){var n=t[r];t[r]=function(){for(var o=arguments.length,i=Array(o),u=0;u<o;u++)i[u]=arguments[u];var a=e.renderer[r].apply(t,i);return!1===a&&(a=n.apply(t,i)),a}};for(var o in e.renderer)r(o);n.renderer=t}(),e.tokenizer&&function(){var t=R.defaults.tokenizer||new S,r=function(r){var n=t[r];t[r]=function(){for(var o=arguments.length,i=Array(o),u=0;u<o;u++)i[u]=arguments[u];var a=e.tokenizer[r].apply(t,i);return!1===a&&(a=n.apply(t,i)),a}};for(var o in e.tokenizer)r(o);n.tokenizer=t}(),e.hooks&&function(){var t=R.defaults.hooks||new $,r=function(r){var n=t[r];
1$.passThroughHooks.has(r)?t[r]=function(o){if(R.defaults.async)return Promise.resolve(e.hooks[r].call(t,o)).then(function(e){return n.call(t,e)});var i=e.hooks[r].call(t,o);return n.call(t,i)}:t[r]=function(){for(var o=arguments.length,i=Array(o),u=0;u<o;u++)i[u]=arguments[u];var a=e.hooks[r].apply(t,i);return!1===a&&(a=n.apply(t,i)),a}};for(var o in e.hooks)r(o);n.hooks=t}(),e.walkTokens){var o=R.defaults.walkTokens;n.walkTokens=function(t){var r=[];return r.push(e.walkTokens.call(this,t)),o&&(r=r.concat(o.call(this,t))),r}}R.setOptions(n)})},R.walkTokens=function(t,e){for(var r,n=[],i=o(t);!(r=i()).done;)!function(){var t=r.value;switch(n=n.concat(e.call(R,t)),t.type){case"table":for(var i,u=o(t.header);!(i=u()).done;){var a=i.value;n=n.concat(R.walkTokens(a.tokens,e))}for(var c,l=o(t.rows);!(c=l()).done;)for(var s,f=c.value,h=o(f);!(s=h()).done;){var p=s.value;n=n.concat(R.walkTokens(p.tokens,e))}break;case"list":n=n.concat(R.walkTokens(t.items,e));break;default:R.defaults.extensions&&R.defaults.extensions.childTokens&&R.defaults.extensions.childTokens[t.type]?R.defaults.extensions.childTokens[t.type].forEach(function(r){n=n.concat(R.walkTokens(t[r],e))}):t.tokens&&(n=n.concat(R.walkTokens(t.tokens,e)))}}();return n},R.parseInline=G(B.lexInline,I.parseInline),R.Parser=I,R.parser=I.parse,R.Renderer=T,R.TextRenderer=N,R.Lexer=B,R.lexer=B.lex,R.Tokenizer=S,R.Slugger=z,R.Hooks=$,R.parse=R;var U=R.options,M=R.setOptions,q=R.use,Y=R.walkTokens,Z=R.parseInline,H=I.parse,Q=B.lex;e.Hooks=$,e.Lexer=B,e.Parser=I,e.Renderer=T,e.Slugger=z,e.TextRenderer=N,e.Tokenizer=S,e.getDefaults=i,e.lexer=Q,e.marked=R,e.options=U,e.parse=R,e.parseInline=Z,e.parser=H,e.setOptions=M,e.use=q,e.walkTokens=Y},79796:(t,e,r)=>{r.d(e,{A:()=>i});var n=r(76107),o=r(37133);let i=function(t){return(0,o.A)((0,n.A)(t).toLowerCase())}},83496:(t,e,r)=>{r.d(e,{A:()=>n});let n=(0,r(74273).A)("Info",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]])},85854:(t,e,r)=>{r.d(e,{A:()=>i});var n=r(62560),o=r(37133);let i=(0,n.A)(function(t,e,r){return t+(r?" ":"")+(0,o.A)(e)})},86980:(t,e,r)=>{r.d(e,{default:()=>p});var n,o,i=r(35125),u=r(12115);function a(t,e){return e||(e=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}var c=(0,r(28968).rU)(function(t){var e=t.css,r=t.token,i=t.prefixCls,u=".".concat(i,"-tabs");return{compact:e(n||(n=a(["\n      .","-tabs-tab {\n        margin: 4px !important;\n\n        + .","-tabs-tab {\n          margin: 4px !important;\n        }\n      }\n    "])),i,i),tabs:e(o||(o=a(["\n      ","-tab + ","-tab {\n        margin-block: ","px !important;\n        margin-inline: 4px !important;\n        padding-block: 0 !important;\n        padding-inline: 12px !important;\n      }\n\n      ","-tab {\n        color: ",";\n        transition: background-color 100ms ease-out;\n\n        &:first-child {\n          margin-block: ","px;\n          margin-inline: 0 4px;\n          padding-block: ","px !important;\n          padding-inline: 12px !important;\n        }\n\n        &:hover {\n          color: "," !important;\n          background: ",";\n          border-radius: ","px;\n        }\n      }\n\n      ","-nav {\n        margin-block-end: 0;\n\n        &::before {\n          display: none;\n        }\n      }\n    "])),u,u,16,u,r.colorTextSecondary,16,6,r.colorText,r.colorFillTertiary,r.borderRadius,u)}}),l=r(95155);function s(t){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var f=["className","variant"];function h(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}let p=(0,u.memo)(function(t){var e=t.className,r=t.variant,n=function(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r,n,o={},i=Object.keys(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||(o[r]=t[r]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}(t,f),o=c(),u=o.styles,a=o.cx;return(0,l.jsx)(i.A,function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};
1e%2?h(Object(r),!0).forEach(function(e){var n,o,i;n=t,o=e,i=r[e],(o=function(t){var e=function(t,e){if("object"!=s(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=s(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==s(e)?e:String(e)}(o))in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):h(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}({className:a(u.tabs,"compact"===r&&u.compact,e)},n))})},92053:(t,e,r)=>{r.d(e,{p:()=>M});var n=r(12115),o=r(15470),i=r(48909),u=r(38996),a=r(30872),c=r(85135),l=r(79737),s=r(4503);function f(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}var h=function(t,e){for(var r=[],n=0,o=Object.entries(t);n<o.length;n++){var i,u=function(t){if(Array.isArray(t))return t}(i=o[n])||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,u,a=[],c=!0,l=!1;try{i=(r=r.call(t)).next;for(;!(c=(n=i.call(r)).done)&&(a.push(n.value),a.length!==e);c=!0);}catch(t){l=!0,o=t}finally{try{if(!c&&null!=r.return&&(u=r.return(),Object(u)!==u))return}finally{if(l)throw o}}return a}}(i,2)||function(t,e){if(t){if("string"==typeof t)return f(t,2);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return f(t,e)}}(i,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),a=u[0],c=u[1];r.push("".concat(a,":").concat(c))}return r.push("",e),r.join("\r\n")};function p(t,e){if(t){if("string"==typeof t)return y(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return y(t,e)}}function y(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}var d=function(t){var e,r={},n=function(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=p(t))){r&&(t=r);var n=0,o=function(){};return{s:o,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,u=!0,a=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return u=t.done,t},e:function(t){a=!0,i=t},f:function(){try{u||null==r.return||r.return()}finally{if(a)throw i}}}}(t.slice(0,t.indexOf("\r\n\r\n")).split("\r\n"));try{for(n.s();!(e=n.n()).done;){var o,i=(o=e.value.split(":",2),function(t){if(Array.isArray(t))return t}(o)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,u,a=[],c=!0,l=!1;try{i=(r=r.call(t)).next;for(;!(c=(n=i.call(r)).done)&&(a.push(n.value),a.length!==e);c=!0);}catch(t){l=!0,o=t}finally{try{if(!c&&null!=r.return&&(u=r.return(),Object(u)!==u))return}finally{if(l)throw o}}return a}}(o,2)||p(o,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),u=i[0],a=i[1];r[u]=a}}catch(t){n.e(t)}finally{n.f()}return{data:t.slice(t.indexOf("\r\n\r\n")+4),headers:r}};function v(t){return(v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function g(){g=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},u=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(e,r,n,i){var u,a,c,l,s=Object.create((r&&r.prototype instanceof m?r:m).prototype);return o(s,"_invoke",{value:(u=e,a=n,c=new S(i||[]),l=h,function(e,r){if(l===p)throw Error("Generator is already running");if(l===y){if("throw"===e)throw r;return{value:t,done:!0}}for(c.method=e,c.arg=r;;){var n=c.delegate;if(n){var o=function e(r,n){var o=n.method,i=r.iterator[o];if(i===t)return n.delegate=null,"throw"===o&&r.iterator.return&&
1(n.method="return",n.arg=t,e(r,n),"throw"===n.method)||"return"!==o&&(n.method="throw",n.arg=TypeError("The iterator does not provide a '"+o+"' method")),d;var u=f(i,r.iterator,n.arg);if("throw"===u.type)return n.method="throw",n.arg=u.arg,n.delegate=null,d;var a=u.arg;return a?a.done?(n[r.resultName]=a.value,n.next=r.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,d):a:(n.method="throw",n.arg=TypeError("iterator result is not an object"),n.delegate=null,d)}(n,c);if(o){if(o===d)continue;return o}}if("next"===c.method)c.sent=c._sent=c.arg;else if("throw"===c.method){if(l===h)throw l=y,c.arg;c.dispatchException(c.arg)}else"return"===c.method&&c.abrupt("return",c.arg);l=p;var i=f(u,a,c);if("normal"===i.type){if(l=c.done?y:"suspendedYield",i.arg===d)continue;return{value:i.arg,done:c.done}}"throw"===i.type&&(l=y,c.method="throw",c.arg=i.arg)}})}),s}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="executing",y="completed",d={};function m(){}function b(){}function D(){}var w={};l(w,u,function(){return this});var x=Object.getPrototypeOf,E=x&&x(x(C([])));E&&E!==r&&n.call(E,u)&&(w=E);var k=D.prototype=m.prototype=Object.create(w);function A(t){["next","throw","return"].forEach(function(e){l(t,e,function(t){return this._invoke(e,t)})})}function O(t,e){var r;o(this,"_invoke",{value:function(o,i){function u(){return new e(function(r,u){!function r(o,i,u,a){var c=f(t[o],t,i);if("throw"!==c.type){var l=c.arg,s=l.value;return s&&"object"==v(s)&&n.call(s,"__await")?e.resolve(s.__await).then(function(t){r("next",t,u,a)},function(t){r("throw",t,u,a)}):e.resolve(s).then(function(t){l.value=t,u(l)},function(t){return r("throw",t,u,a)})}a(c.arg)}(o,i,r,u)})}return r=r?r.then(u,u):u()}})}function F(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function j(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function S(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(F,this),this.reset(!0)}function C(e){if(e||""===e){var r=e[u];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o<e.length;)if(n.call(e,o))return r.value=e[o],r.done=!1,r;return r.value=t,r.done=!0,r};return i.next=i}}throw TypeError(v(e)+" is not iterable")}return b.prototype=D,o(k,"constructor",{value:D,configurable:!0}),o(D,"constructor",{value:b,configurable:!0}),b.displayName=l(D,c,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===b||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,D):(t.__proto__=D,l(t,c,"GeneratorFunction")),t.prototype=Object.create(k),t},e.awrap=function(t){return{__await:t}},A(O.prototype),l(O.prototype,a,function(){return this}),e.AsyncIterator=O,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var u=new O(s(t,r,n,o),i);return e.isGeneratorFunction(r)?u:u.next().then(function(t){return t.done?t.value:u.next()})},A(k),l(k,c,"Generator"),l(k,u,function(){return this}),l(k,"toString",function(){return"[object Generator]"}),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=C,S.prototype={constructor:S,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(j),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function o(n,o){return a.type="throw",a.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var u=this.tryEntries[i],a=u.completion;if("root"===u.tryLoc)return o("end");if(u.tryLoc<=this.prev){var c=n.call(u,"catchLoc"),l=n.call(u,"finallyLoc");if(c&&l){if(this.prev<u.catchLoc)return o(u.catchLoc,!0);if(this.prev<u.finallyLoc)return o(u.finallyLoc)}else if(c){if(this.prev<u.catchLoc)return o(u.catchLoc,!0)}else{if(!l)throw Error("try statement without catch or finally");if(this.prev<u.finallyLoc)return o(u.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var u=i?i.completion:{};return u.type=t,u.arg=e,i?(this.method="next",this.next=i.finallyLoc,d):this.complete(u)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),d},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),j(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;j(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function m(t,e,r,n,o,i,u){try{var a=t[i](u),c=a.value}catch(t){r(t);return}a.done?e(c):Promise.resolve(c).then(n,o)}function b(t){return function(){var e=this,r=arguments;return new Promise(function(n,o){var i=t.apply(e,r);function u(t){m(i,n,o,u,a,"next",t)}function a(t){m(i,n,o,u,a,"throw",t)}u(void 0)})}}var D="6A5AA1D4EAFF4E9FB37E23D68491D6F4",w=BigInt("11644473600"),x=JSON.stringify({context:{synthesis:{audio:{metadataoptions:{sentenceBoundaryEnabled:!1,wordBoundaryEnabled:!0},outputFormat:"audio-24khz-48kbitrate-mono-mp3"}}}}),E=function(t){var e=new Date().toString();return{configHeader:{"Content-Type":"application/json; charset=utf-8",Path:"speech.config","X-Timestamp":e},contentHeader:{"Content-Type":"application/ssml+xml",Path:"ssml","X-RequestId":t,"X-Timestamp":e}}};function k(){return(k=b(g().mark(function t(){var e,n,o;return g().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return n=(e=BigInt(Math.floor(Date.now()/1e3+Number(w)))*BigInt("10000000"))-e%BigInt("3000000000")+D,t.next=5,r.e(8717).then(r.bind(r,8717));case 5:return o=t.sent.hash(n),t.abrupt("return",o.toUpperCase());case 8:case"end":return t.stop()}},t)}))).apply(this,arguments)}var A=function(){var t=b(g().mark(function t(e){var r,n,o,i,u,a,f,p,y,v,m,w,A,O=arguments;return g().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(r=e.payload,o=(n=O.length>1&&void 0!==O[1]?O[1]:{}).proxyUrl,i=n.token,u=r.input,a=r.options,f=(0,l.A)().replaceAll("-",""),t.t0=c.A,t.t1=f,!i){t.next=10;break}t.t2=i,t.next=13;break;case 10:return t.next=12,function(){return k.apply(this,arguments)}();case 12:t.t2=t.sent;case 13:return t.t3=t.t2,t.t4=i||"1-132.0.2957.140",t.t5=i||D,t.t6={ConnectionId:t.t1,"Sec-MS-GEC":t.t3,"Sec-MS-GEC-Version":t.t4,TrustedClientToken:t.t5},t.t7=o||"wss://speech.platform.bing.com/consumer/speech/synthesize/readaloud/edge/v1",t.t8={query:t.t6,url:t.t7},p=t.t0.stringifyUrl.call(t.t0,t.t8),v=(y=E(f)).configHeader,m=y.contentHeader,w=h(v,x),A=h(m,(0,s.M)(u,a)),t.abrupt("return",new Promise(function(t,e){var r=new WebSocket(p);r.binaryType="arraybuffer";var n=function(){r.send(w),r.send(A)},o=new ArrayBuffer(0),i=function(){var e=b(g().mark(function e(n){var i,u,a,c;return g().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if("string"!=typeof n.data){e.next=13;break}e.t0=d(n.data).headers.Path,e.next="turn.end"===e.t0?5:11;break;case 5:if(r.close(),o.byteLength){e.next=8;break}return e.abrupt("return");case 8:return t(new Response(o)),e.abrupt("break",11);case 11:e.next=14;break;case 13:n.data instanceof ArrayBuffer&&(i=new DataView(n.data).getInt16(0),n.data.byteLength>i+2&&(u=n.data.slice(2+i),(c=new Uint8Array(a=new ArrayBuffer(o.byteLength+u.byteLength))).set(new Uint8Array(o),0),c.set(new Uint8Array(u),o.byteLength),o=a)
1);case 14:case"end":return e.stop()}},e)}));return function(t){return e.apply(this,arguments)}}(),u=function(){e(Error("WebSocket error occurred.")),r.close()};r.addEventListener("open",n),r.addEventListener("message",i),r.addEventListener("error",u)}));case 24:case"end":return t.stop()}},t)}));return function(e){return t.apply(this,arguments)}}(),O=r(46509);function F(t){return(F="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function j(){j=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},u=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(e,r,n,i){var u,a,c,l,s=Object.create((r&&r.prototype instanceof v?r:v).prototype);return o(s,"_invoke",{value:(u=e,a=n,c=new S(i||[]),l=h,function(e,r){if(l===p)throw Error("Generator is already running");if(l===y){if("throw"===e)throw r;return{value:t,done:!0}}for(c.method=e,c.arg=r;;){var n=c.delegate;if(n){var o=function e(r,n){var o=n.method,i=r.iterator[o];if(i===t)return n.delegate=null,"throw"===o&&r.iterator.return&&(n.method="return",n.arg=t,e(r,n),"throw"===n.method)||"return"!==o&&(n.method="throw",n.arg=TypeError("The iterator does not provide a '"+o+"' method")),d;var u=f(i,r.iterator,n.arg);if("throw"===u.type)return n.method="throw",n.arg=u.arg,n.delegate=null,d;var a=u.arg;return a?a.done?(n[r.resultName]=a.value,n.next=r.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,d):a:(n.method="throw",n.arg=TypeError("iterator result is not an object"),n.delegate=null,d)}(n,c);if(o){if(o===d)continue;return o}}if("next"===c.method)c.sent=c._sent=c.arg;else if("throw"===c.method){if(l===h)throw l=y,c.arg;c.dispatchException(c.arg)}else"return"===c.method&&c.abrupt("return",c.arg);l=p;var i=f(u,a,c);if("normal"===i.type){if(l=c.done?y:"suspendedYield",i.arg===d)continue;return{value:i.arg,done:c.done}}"throw"===i.type&&(l=y,c.method="throw",c.arg=i.arg)}})}),s}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="executing",y="completed",d={};function v(){}function g(){}function m(){}var b={};l(b,u,function(){return this});var D=Object.getPrototypeOf,w=D&&D(D(C([])));w&&w!==r&&n.call(w,u)&&(b=w);var x=m.prototype=v.prototype=Object.create(b);function E(t){["next","throw","return"].forEach(function(e){l(t,e,function(t){return this._invoke(e,t)})})}function k(t,e){var r;o(this,"_invoke",{value:function(o,i){function u(){return new e(function(r,u){!function r(o,i,u,a){var c=f(t[o],t,i);if("throw"!==c.type){var l=c.arg,s=l.value;return s&&"object"==F(s)&&n.call(s,"__await")?e.resolve(s.__await).then(function(t){r("next",t,u,a)},function(t){r("throw",t,u,a)}):e.resolve(s).then(function(t){l.value=t,u(l)},function(t){return r("throw",t,u,a)})}a(c.arg)}(o,i,r,u)})}return r=r?r.then(u,u):u()}})}function A(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function O(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function S(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(A,this),this.reset(!0)}function C(e){if(e||""===e){var r=e[u];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o<e.length;)if(n.call(e,o))return r.value=e[o],r.done=!1,r;return r.value=t,r.done=!0,r};return i.next=i}}throw TypeError(F(e)+" is not iterable")}return g.prototype=m,o(x,"constructor",{value:m,configurable:!0}),o(m,"constructor",{value:g,configurable:!0}),g.displayName=l(m,c,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===g||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,m):(t.__proto__=m,l(t,c,"GeneratorFunction")),t.prototype=Object.create(x),t},e.awrap=function(t){return{__await:t}},E(k.prototype),l(k.prototype,a,function(){return this}),e.AsyncIterator=k,e.async=function(t,r,n,o,i){void 0===i&&(i=Prom
1ise);var u=new k(s(t,r,n,o),i);return e.isGeneratorFunction(r)?u:u.next().then(function(t){return t.done?t.value:u.next()})},E(x),l(x,c,"Generator"),l(x,u,function(){return this}),l(x,"toString",function(){return"[object Generator]"}),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=C,S.prototype={constructor:S,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(O),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function o(n,o){return a.type="throw",a.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var u=this.tryEntries[i],a=u.completion;if("root"===u.tryLoc)return o("end");if(u.tryLoc<=this.prev){var c=n.call(u,"catchLoc"),l=n.call(u,"finallyLoc");if(c&&l){if(this.prev<u.catchLoc)return o(u.catchLoc,!0);if(this.prev<u.finallyLoc)return o(u.finallyLoc)}else if(c){if(this.prev<u.catchLoc)return o(u.catchLoc,!0)}else{if(!l)throw Error("try statement without catch or finally");if(this.prev<u.finallyLoc)return o(u.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var u=i?i.completion:{};return u.type=t,u.arg=e,i?(this.method="next",this.next=i.finallyLoc,d):this.complete(u)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),d},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),O(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;O(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function S(t,e,r,n,o,i,u){try{var a=t[i](u),c=a.value}catch(t){r(t);return}a.done?e(c):Promise.resolve(c).then(n,o)}function C(t){return function(){var e=this,r=arguments;return new Promise(function(n,o){var i=t.apply(e,r);function u(t){S(i,n,o,u,a,"next",t)}function a(t){S(i,n,o,u,a,"throw",t)}u(void 0)})}}function L(t,e,r){return(e=P(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function P(t){var e=function(t,e){if("object"!=F(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=F(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==F(e)?e:String(e)}var _=function(){var t;function e(){var t,r,n,o=this,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a=i.serviceUrl,c=i.locale,l=i.headers;!function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,e),L(this,"locale",void 0),L(this,"serviceUrl",void 0),L(this,"headers",void 0),L(this,"fetch",(t=C(j().mark(function t(e){var r;return j().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,o.serviceUrl?fetch(o.serviceUrl,{body:JSON.stringify(e),headers:o.headers,method:"POST"}):A({payload:e});case 2:return r=t.sent,t.abrupt("return",r);case 4:case"end":return t.stop()}},t)})),function(e){return t.apply(this,arguments)})),L(this,"create",(r=C(j().mark(function t(e){return j().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",o.fetch(e));case 1:case"end":return t.stop()}},t)})),function(t){return r.apply(this,arguments)})),L(this,"createAudio",(n=C(j().mark(function t(e){var r,n;return j().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,o.create(e);case 2:return r=t.sent,t.next=5,r.arrayBuffer();case 5:return n=t.sent,t.abrupt("return",(0,u.z)(n));case 7:case"end":return t.stop()}},t)})),function(t){return n.apply(this,arguments)})),this.locale=c,this.serviceUrl=a,this.headers=l}return t=[{key:"voiceOptions",get:function(){return(0,O._)(this.locale)}}],function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,P(n.key),n)}}(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}();L(_,"localeOptions",(0,a.r)()),L(_,"voiceList",o.A),L(_,"voiceName",i.A),L(_,"createRequest",A);var B=r(13409);function T(t){return(T="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var N=["options","api","locale"];function z(){z=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},u=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(e,r,n,i){var u,a,c,l,s=Object.create((r&&r.prototype instanceof v?r:v).prototype);return o(s,"_invoke",{value:(u=e,a=n,c=new F(i||[]),l=h,function(e,r){if(l===p)throw Error("Generator is already running");if(l===y){if("throw"===e)throw r;return{value:t,done:!0}}for(c.method=e,c.arg=r;;){var n=c.delegate;if(n){var o=function e(r,n){var o=n.method,i=r.iterator[o];if(i===t)return n.delegate=null,"throw"===o&&r.iterator.return&&
vendor: 5,864 bytes, line 1
1(n.method="return",n.arg=t,e(r,n),"throw"===n.method)||"return"!==o&&(n.method="throw",n.arg=TypeError("The iterator does not provide a '"+o+"' method")),d;var u=f(i,r.iterator,n.arg);if("throw"===u.type)return n.method="throw",n.arg=u.arg,n.delegate=null,d;var a=u.arg;return a?a.done?(n[r.resultName]=a.value,n.next=r.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,d):a:(n.method="throw",n.arg=TypeError("iterator result is not an object"),n.delegate=null,d)}(n,c);if(o){if(o===d)continue;return o}}if("next"===c.method)c.sent=c._sent=c.arg;else if("throw"===c.method){if(l===h)throw l=y,c.arg;c.dispatchException(c.arg)}else"return"===c.method&&c.abrupt("return",c.arg);l=p;var i=f(u,a,c);if("normal"===i.type){if(l=c.done?y:"suspendedYield",i.arg===d)continue;return{value:i.arg,done:c.done}}"throw"===i.type&&(l=y,c.method="throw",c.arg=i.arg)}})}),s}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="executing",y="completed",d={};function v(){}function g(){}function m(){}var b={};l(b,u,function(){return this});var D=Object.getPrototypeOf,w=D&&D(D(j([])));w&&w!==r&&n.call(w,u)&&(b=w);var x=m.prototype=v.prototype=Object.create(b);function E(t){["next","throw","return"].forEach(function(e){l(t,e,function(t){return this._invoke(e,t)})})}function k(t,e){var r;o(this,"_invoke",{value:function(o,i){function u(){return new e(function(r,u){!function r(o,i,u,a){var c=f(t[o],t,i);if("throw"!==c.type){var l=c.arg,s=l.value;return s&&"object"==T(s)&&n.call(s,"__await")?e.resolve(s.__await).then(function(t){r("next",t,u,a)},function(t){r("throw",t,u,a)}):e.resolve(s).then(function(t){l.value=t,u(l)},function(t){return r("throw",t,u,a)})}a(c.arg)}(o,i,r,u)})}return r=r?r.then(u,u):u()}})}function A(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function O(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function F(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(A,this),this.reset(!0)}function j(e){if(e||""===e){var r=e[u];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o<e.length;)if(n.call(e,o))return r.value=e[o],r.done=!1,r;return r.value=t,r.done=!0,r};return i.next=i}}throw TypeError(T(e)+" is not iterable")}return g.prototype=m,o(x,"constructor",{value:m,configurable:!0}),o(m,"constructor",{value:g,configurable:!0}),g.displayName=l(m,c,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===g||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,m):(t.__proto__=m,l(t,c,"GeneratorFunction")),t.prototype=Object.create(x),t},e.awrap=function(t){return{__await:t}},E(k.prototype),l(k.prototype,a,function(){return this}),e.AsyncIterator=k,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var u=new k(s(t,r,n,o),i);return e.isGeneratorFunction(r)?u:u.next().then(function(t){return t.done?t.value:u.next()})},E(x),l(x,c,"Generator"),l(x,u,function(){return this}),l(x,"toString",function(){return"[object Generator]"}),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=j,F.prototype={constructor:F,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(O),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function o(n,o){return a.type="throw",a.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var u=this.tryEntries[i],a=u.completion;if("root"===u.tryLoc)return o("end");if(u.tryLoc<=this.prev){var c=n.call(u,"catchLoc"),l=n.call(u,"finallyLoc");if(c&&l){if(this.prev<u.catchLoc)return o(u.catchLoc,!0);if(this.prev<u.finallyLoc)return o(u.finallyLoc)}else if(c){if(this.prev<u.catchLoc)return o(u.catchLoc,!0)}else{if(!l)throw Error("try statement without catch or finally");if(this.prev<u.finallyLoc)return o(u.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var u=i?i.completion:{};return u.type=t,u.arg=e,i?(this.method="next",this.next=i.finallyLoc,d):this.complete(u)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),d},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),O(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;O(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:j(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function I(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function $(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};
1e%2?I(Object(r),!0).forEach(function(e){var n,o,i;n=t,o=e,i=r[e],(o=function(t){var e=function(t,e){if("object"!=T(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=T(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==T(e)?e:String(e)}(o))in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):I(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function G(t,e,r,n,o,i,u){try{var a=t[i](u),c=a.value}catch(t){r(t);return}a.done?e(c):Promise.resolve(c).then(n,o)}function R(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,u,a=[],c=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(a.push(n.value),a.length!==e);c=!0);}catch(t){l=!0,o=t}finally{try{if(!c&&null!=r.return&&(u=r.return(),Object(u)!==u))return}finally{if(l)throw o}}return a}}(t,e)||function(t,e){if(t){if("string"==typeof t)return U(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return U(t,e)}}(t,e)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function U(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}var M=function(t,e){var r,o,i=R((0,n.useState)(t),2),u=i[0],a=i[1],c=e.options,l=e.api,s=e.locale,f=function(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r,n,o={},i=Object.keys(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||(o[r]=t[r]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}(e,N),h=R((0,n.useState)(),2),p=h[0],y=h[1],d=(0,B.F)(c.voice,u,(r=z().mark(function t(e){var r,n;return z().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return console.log(e),r=new _($($({},l),{},{locale:s})),t.next=4,r.create({input:e,options:c});case 4:return y(n=t.sent),t.abrupt("return",n.arrayBuffer());case 7:case"end":return t.stop()}},t)}),o=function(){var t=this,e=arguments;return new Promise(function(n,o){var i=r.apply(t,e);function u(t){G(i,n,o,u,a,"next",t)}function a(t){G(i,n,o,u,a,"throw",t)}u(void 0)})},function(t){return o.apply(this,arguments)}),f);return $({response:p,setText:a},d)}},92524:(t,e,r)=>{r.d(e,{A:()=>o});var n=r(79796);let o=(0,r(62560).A)(function(t,e,r){return e=e.toLowerCase(),t+(r?(0,n.A)(e):e)})},96456:(t,e,r)=>{r.d(e,{L:()=>E});var n=r(12115),o=r(27204),i=r(25020),u=r(38996),a=r(57030);function c(t){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function l(){l=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},u=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function f(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{f({},"")}catch(t){f=function(t,e,r){return t[e]=r}}function h(e,r,n,i){var u,a,c,l,s=Object.create((r&&r.prototype instanceof m?r:m).prototype);return o(s,"_invoke",{value:(u=e,a=n,c=new S(i||[]),l=y,function(e,r){if(l===d)throw Error("Generator is already running");if(l===v){if("throw"===e)throw r;return{value:t,done:!0}}for(c.method=e,c.arg=r;;){var n=c.delegate;if(n){var o=function e(r,n){var o=n.method,i=r.iterator[o];if(i===t)return n.delegate=null,"throw"===o&&r.iterator.return&&
vendor: 6,253 bytes, line 1
1(n.method="return",n.arg=t,e(r,n),"throw"===n.method)||"return"!==o&&(n.method="throw",n.arg=TypeError("The iterator does not provide a '"+o+"' method")),g;var u=p(i,r.iterator,n.arg);if("throw"===u.type)return n.method="throw",n.arg=u.arg,n.delegate=null,g;var a=u.arg;return a?a.done?(n[r.resultName]=a.value,n.next=r.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,g):a:(n.method="throw",n.arg=TypeError("iterator result is not an object"),n.delegate=null,g)}(n,c);if(o){if(o===g)continue;return o}}if("next"===c.method)c.sent=c._sent=c.arg;else if("throw"===c.method){if(l===y)throw l=v,c.arg;c.dispatchException(c.arg)}else"return"===c.method&&c.abrupt("return",c.arg);l=d;var i=p(u,a,c);if("normal"===i.type){if(l=c.done?v:"suspendedYield",i.arg===g)continue;return{value:i.arg,done:c.done}}"throw"===i.type&&(l=v,c.method="throw",c.arg=i.arg)}})}),s}function p(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=h;var y="suspendedStart",d="executing",v="completed",g={};function m(){}function b(){}function D(){}var w={};f(w,u,function(){return this});var x=Object.getPrototypeOf,E=x&&x(x(C([])));E&&E!==r&&n.call(E,u)&&(w=E);var k=D.prototype=m.prototype=Object.create(w);function A(t){["next","throw","return"].forEach(function(e){f(t,e,function(t){return this._invoke(e,t)})})}function O(t,e){var r;o(this,"_invoke",{value:function(o,i){function u(){return new e(function(r,u){!function r(o,i,u,a){var l=p(t[o],t,i);if("throw"!==l.type){var s=l.arg,f=s.value;return f&&"object"==c(f)&&n.call(f,"__await")?e.resolve(f.__await).then(function(t){r("next",t,u,a)},function(t){r("throw",t,u,a)}):e.resolve(f).then(function(t){s.value=t,u(s)},function(t){return r("throw",t,u,a)})}a(l.arg)}(o,i,r,u)})}return r=r?r.then(u,u):u()}})}function F(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function j(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function S(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(F,this),this.reset(!0)}function C(e){if(e||""===e){var r=e[u];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o<e.length;)if(n.call(e,o))return r.value=e[o],r.done=!1,r;return r.value=t,r.done=!0,r};return i.next=i}}throw TypeError(c(e)+" is not iterable")}return b.prototype=D,o(k,"constructor",{value:D,configurable:!0}),o(D,"constructor",{value:b,configurable:!0}),b.displayName=f(D,s,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===b||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,D):(t.__proto__=D,f(t,s,"GeneratorFunction")),t.prototype=Object.create(k),t},e.awrap=function(t){return{__await:t}},A(O.prototype),f(O.prototype,a,function(){return this}),e.AsyncIterator=O,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var u=new O(h(t,r,n,o),i);return e.isGeneratorFunction(r)?u:u.next().then(function(t){return t.done?t.value:u.next()})},A(k),f(k,s,"Generator"),f(k,u,function(){return this}),f(k,"toString",function(){return"[object Generator]"}),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=C,S.prototype={constructor:S,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(j),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function o(n,o){return a.type="throw",a.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var u=this.tryEntries[i],a=u.completion;if("root"===u.tryLoc)return o("end");if(u.tryLoc<=this.prev){var c=n.call(u,"catchLoc"),l=n.call(u,"finallyLoc");if(c&&l){if(this.prev<u.catchLoc)return o(u.catchLoc,!0);if(this.prev<u.finallyLoc)return o(u.finallyLoc)}else if(c){if(this.prev<u.catchLoc)return o(u.catchLoc,!0)}else{if(!l)throw Error("try statement without catch or finally");if(this.prev<u.finallyLoc)return o(u.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var u=i?i.completion:{};return u.type=t,u.arg=e,i?(this.method="next",this.next=i.finallyLoc,g):this.complete(u)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),g},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),j(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;j(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function s(t,e,r,n,o,i,u){try{var a=t[i](u),c=a.value}catch(t){r(t);return}a.done?e(c):Promise.resolve(c).then(n,o)}function f(t){return function(){var e=this,r=arguments;return new Promise(function(n,o){var i=t.apply(e,r);function u(t){s(i,n,o,u,a,"next",t)}function a(t){s(i,n,o,u,a,"throw",t)}u(void 0)})}}function h(t,e,r){return(e=p(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function p(t){var e=function(t,e){if("object"!=c(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=c(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}
1(t,"string");return"symbol"==c(e)?e:String(e)}var y=function(){var t;function e(){var t,r,n,a=this,c=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};!function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,e),h(this,"OPENAI_BASE_URL",void 0),h(this,"OPENAI_API_KEY",void 0),h(this,"serviceUrl",void 0),h(this,"headers",void 0),h(this,"fetch",(t=f(l().mark(function t(e){var r,n;return l().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return n=(0,o.A)(a.OPENAI_BASE_URL,"audio/speech"),t.abrupt("return",a.serviceUrl?fetch(a.serviceUrl,{body:JSON.stringify(e),headers:a.headers,method:"POST"}):fetch(n,{body:JSON.stringify({input:e.input,model:(null===(r=e.options)||void 0===r?void 0:r.model)||"tts-1",voice:e.options.voice}),headers:new Headers({Authorization:"Bearer ".concat(a.OPENAI_API_KEY),"Content-Type":"application/json"}),method:"POST"}));case 2:case"end":return t.stop()}},t)})),function(e){return t.apply(this,arguments)})),h(this,"create",(r=f(l().mark(function t(e){var r;return l().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,a.fetch(e);case 2:return r=t.sent,t.abrupt("return",r);case 4:case"end":return t.stop()}},t)})),function(t){return r.apply(this,arguments)})),h(this,"createAudio",(n=f(l().mark(function t(e){var r,n;return l().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,a.create(e);case 2:return r=t.sent,t.next=5,r.arrayBuffer();case 5:return n=t.sent,t.next=8,(0,u.z)(n);case 8:return t.abrupt("return",t.sent);case 9:case"end":return t.stop()}},t)})),function(t){return n.apply(this,arguments)})),this.OPENAI_BASE_URL=c.OPENAI_PROXY_URL||i.jG,this.OPENAI_API_KEY=c.OPENAI_API_KEY,this.serviceUrl=c.serviceUrl,this.headers=c.headers}return t=[{key:"voiceOptions",get:function(){return(0,a.N)()}}],function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,p(n.key),n)}}(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}();h(y,"voiceList",a.A);var d=r(13409);function v(t){return(v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var g=["options","api"];function m(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function b(){b=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},u=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(e,r,n,i){var u,a,c,l,s=Object.create((r&&r.prototype instanceof g?r:g).prototype);return o(s,"_invoke",{value:(u=e,a=n,c=new S(i||[]),l=h,function(e,r){if(l===p)throw Error("Generator is already running");if(l===y){if("throw"===e)throw r;return{value:t,done:!0}}for(c.method=e,c.arg=r;;){var n=c.delegate;if(n){var o=function e(r,n){var o=n.method,i=r.iterator[o];if(i===t)return n.delegate=null,"throw"===o&&r.iterator.return&&(n.method="return",n.arg=t,e(r,n),"throw"===n.method)||"return"!==o&&(n.method="throw",n.arg=TypeError("The iterator does not provide a '"+o+"' method")),d;var u=f(i,r.iterator,n.arg);if("throw"===u.type)return n.method="throw",n.arg=u.arg,n.delegate=null,d;var a=u.arg;return a?a.done?(n[r.resultName]=a.value,n.next=r.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,d):a:(n.method="throw",n.arg=TypeError("iterator result is not an object"),n.delegate=null,d)}(n,c);if(o){if(o===d)continue;return o}}if("next"===c.method)c.sent=c._sent=c.arg;else if("throw"===c.method){if(l===h)throw l=y,c.arg;c.dispatchException(c.arg)}else"return"===c.method&&c.abrupt("return",c.arg);l=p;var i=f(u,a,c);if("normal"===i.type){if(l=c.done?y:"suspendedYield",i.arg===d)continue;return{value:i.arg,done:c.done}}
vendor: 5,209 bytes, line 1
1"throw"===i.type&&(l=y,c.method="throw",c.arg=i.arg)}})}),s}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="executing",y="completed",d={};function g(){}function m(){}function D(){}var w={};l(w,u,function(){return this});var x=Object.getPrototypeOf,E=x&&x(x(C([])));E&&E!==r&&n.call(E,u)&&(w=E);var k=D.prototype=g.prototype=Object.create(w);function A(t){["next","throw","return"].forEach(function(e){l(t,e,function(t){return this._invoke(e,t)})})}function O(t,e){var r;o(this,"_invoke",{value:function(o,i){function u(){return new e(function(r,u){!function r(o,i,u,a){var c=f(t[o],t,i);if("throw"!==c.type){var l=c.arg,s=l.value;return s&&"object"==v(s)&&n.call(s,"__await")?e.resolve(s.__await).then(function(t){r("next",t,u,a)},function(t){r("throw",t,u,a)}):e.resolve(s).then(function(t){l.value=t,u(l)},function(t){return r("throw",t,u,a)})}a(c.arg)}(o,i,r,u)})}return r=r?r.then(u,u):u()}})}function F(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function j(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function S(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(F,this),this.reset(!0)}function C(e){if(e||""===e){var r=e[u];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o<e.length;)if(n.call(e,o))return r.value=e[o],r.done=!1,r;return r.value=t,r.done=!0,r};return i.next=i}}throw TypeError(v(e)+" is not iterable")}return m.prototype=D,o(k,"constructor",{value:D,configurable:!0}),o(D,"constructor",{value:m,configurable:!0}),m.displayName=l(D,c,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===m||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,D):(t.__proto__=D,l(t,c,"GeneratorFunction")),t.prototype=Object.create(k),t},e.awrap=function(t){return{__await:t}},A(O.prototype),l(O.prototype,a,function(){return this}),e.AsyncIterator=O,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var u=new O(s(t,r,n,o),i);return e.isGeneratorFunction(r)?u:u.next().then(function(t){return t.done?t.value:u.next()})},A(k),l(k,c,"Generator"),l(k,u,function(){return this}),l(k,"toString",function(){return"[object Generator]"}),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=C,S.prototype={constructor:S,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(j),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function o(n,o){return a.type="throw",a.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var u=this.tryEntries[i],a=u.completion;if("root"===u.tryLoc)return o("end");if(u.tryLoc<=this.prev){var c=n.call(u,"catchLoc"),l=n.call(u,"finallyLoc");if(c&&l){if(this.prev<u.catchLoc)return o(u.catchLoc,!0);if(this.prev<u.finallyLoc)return o(u.finallyLoc)}else if(c){if(this.prev<u.catchLoc)return o(u.catchLoc,!0)}else{if(!l)throw Error("try statement without catch or finally");if(this.prev<u.finallyLoc)return o(u.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var u=i?i.completion:{};return u.type=t,u.arg=e,i?(this.method="next",this.next=i.finallyLoc,d):this.complete(u)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),d},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),j(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;j(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}function D(t,e,r,n,o,i,u){try{var a=t[i](u),c=a.value}catch(t){r(t);return}a.done?e(c):Promise.resolve(c).then(n,o)}function w(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,u,a=[],c=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(a.push(n.value),a.length!==e);c=!0);}catch(t){l=!0,o=t}
1finally{try{if(!c&&null!=r.return&&(u=r.return(),Object(u)!==u))return}finally{if(l)throw o}}return a}}(t,e)||function(t,e){if(t){if("string"==typeof t)return x(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return x(t,e)}}(t,e)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function x(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}var E=function(t,e){var r,o,i=w((0,n.useState)(t),2),u=i[0],a=i[1],c=e.options,l=e.api,s=function(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r,n,o={},i=Object.keys(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||(o[r]=t[r]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}(e,g),f=w((0,n.useState)(),2),h=f[0],p=f[1];return function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?m(Object(r),!0).forEach(function(e){var n,o,i;n=t,o=e,i=r[e],(o=function(t){var e=function(t,e){if("object"!=v(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=v(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==v(e)?e:String(e)}(o))in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):m(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}({response:h,setText:a},(0,d.F)(c.voice,u,(r=b().mark(function t(e){var r,n;return b().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return r=new y(l),t.next=3,r.create({input:e,options:c});case 3:return p(n=t.sent),t.abrupt("return",n.arrayBuffer());case 6:case"end":return t.stop()}},t)}),o=function(){var t=this,e=arguments;return new Promise(function(n,o){var i=r.apply(t,e);function u(t){D(i,n,o,u,a,"next",t)}function a(t){D(i,n,o,u,a,"throw",t)}u(void 0)})},function(t){return o.apply(this,arguments)}),s))}}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.