PageSourceSearch

https://www.clickview.net/scripts/Dy8J1lcl.chunk.js

js clickview.net collected 2026-10-09 21:45:00 UTC 64,520 bytes, 48 lines download raw bytes

1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["scripts/CxQNg-CX2.chunk.js","css/iK92jso-.chunk.css"])))=>i.map(i=>d[i]);
2import{o as e,t}from"./DAXXjFlN.chunk.js";import{_ as n,u as r}from"./BftnFbcr.chunk.js";import"./DFZS3Ffo.chunk.js";import{t as i}from"./CQyJ7YGa.chunk.js";import{n as a}from"./e57H3T-k.chunk.js";import{t as o}from"./C2w0pmFW.chunk.js";import{t as s}from"./wrLrTezN.chunk.js";import{n as c}from"./BVnMI-dl.chunk.js";import{t as l}from"./CjA4Q5pm.chunk.js";import{t as u}from"./CZgWQFsJ.chunk.js";import{t as d}from"./D7t5_of1.chunk.js";import{t as f}from"./M97_Ztsu.chunk.js";import{n as p,t as m}from"./BGGL8m_U.chunk.js";import{t as ee}from"./_JLSVjsR.chunk.js";import{t as h}from"./B2INd6bh.chunk.js";var te=t(((e,t)=>{var n=typeof Element<`u`,r=typeof Map==`function`,i=typeof Set==`function`,a=typeof ArrayBuffer==`function`&&!!ArrayBuffer.isView;function o(e,t){if(e===t)return!0;if(e&&t&&typeof e==`object`&&typeof t==`object`){if(e.constructor!==t.constructor)return!1;var s,c,l;if(Array.isArray(e)){if(s=e.length,s!=t.length)return!1;for(c=s;c--!==0;)if(!o(e[c],t[c]))return!1;return!0}var u;if(r&&e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(u=e.entries();!(c=u.next()).done;)if(!t.has(c.value[0]))return!1;for(u=e.entries();!(c=u.next()).done;)if(!o(c.value[1],t.get(c.value[0])))return!1;return!0}if(i&&e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(u=e.entries();!(c=u.next()).done;)if(!t.has(c.value[0]))return!1;return!0}if(a&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(t)){if(s=e.length,s!=t.length)return!1;for(c=s;c--!==0;)if(e[c]!==t[c])return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf&&typeof e.valueOf==`function`&&typeof t.valueOf==`function`)return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString&&typeof e.toString==`function`&&typeof t.toString==`function`)return e.toString()===t.toString();if(l=Object.keys(e),s=l.length,s!==Object.keys(t).length)return!1;for(c=s;c--!==0;)if(!Object.prototype.hasOwnProperty.call(t,l[c]))return!1;if(n&&e instanceof Element)return!1;for(c=s;c--!==0;)if(!((l[c]===`_owner`||l[c]===`__v`||l[c]===`__o`)&&e.$$typeof)&&!o(e[l[c]],t[l[c]]))return!1;return!0}return e!==e&&t!==t}t.exports=function(e,t){try{return o(e,t)}catch(e){if((e.message||``).match(/stack|recursion/i))return console.warn(`react-fast-compare cannot handle circular refs`),!1;throw e}}})),ne=t(((e,t)=>{t.exports=function(e,t,n,r){var i=n?n.call(r,e,t):void 0;if(i!==void 0)return!!i;if(e===t)return!0;if(typeof e!=`object`||!e||typeof t!=`object`||!t)return!1;var a=Object.keys(e),o=Object.keys(t);if(a.length!==o.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(t),c=0;c<a.length;c++){var l=a[c];if(!s(l))return!1;var u=e[l],d=t[l];if(i=n?n.call(r,u,d,l):void 0,i===!1||i===void 0&&u!==d)return!1}return!0}})),g=e(o()),_=e(m()),re=e(te()),ie=e(p()),ae=e(ne());function v(){return v=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},v.apply(this,arguments)}function oe(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,se(e,t)}function se(e,t){return se=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},se(e,t)}function ce(e,t){if(e==null)return{};var n,r,i={},a=Object.keys(e);for(r=0;r<a.length;r++)t.indexOf(n=a[r])>=0||(i[n]=e[n]);return i}var y={BASE:`base`,BODY:`body`,HEAD:`head`,HTML:`html`,LINK:`link`,META:`meta`,NOSCRIPT:`noscript`,SCRIPT:`script`,STYLE:`style`,TITLE:`title`,FRAGMENT:`Symbol(react.fragment)`},le={rel:[`amphtml`,`canonical`,`alternate`]},ue={type:[`application/ld+json`]},de={charset:``,name:[`robots`,`description`],property:[`og:type`,`og:title`,`og:url`,`og:image`,`og:image:alt`,`og:description`,`twitter:url`,`twitter:title`,`twitter:description`,`twitter:image`,`twitter:image:alt`,`twitter:card`,`twitter:site`]},fe=Object.keys(y).map(function(e){return y[e]}),b={accesskey:`accessKey`,charset:`charSet`,class:`className`,contenteditable:`contentEditable`,contextmenu:`contextMenu`,"http-equiv":`httpEquiv`,itemprop:`itemProp`,tabindex:`tabIndex`},pe=Object.keys(b).reduce(function(e,t){return e[b[t]]=t,e},{}),x=function(e,t){for(var n=e.length-1;n>=0;--n){var r=e[n];if(Object.prototype.hasOwnProperty.call(r,t))return r[t]}return null},me=function(e){var t=x(e,y.TITLE),n=x(e,`titleTemplate`);if(Array.isArray(t)&&(t=t.join(``)),n&&t)return n.replace(/%s/g,function(){return t});var r=x(e,`defaultTitle`);return t||r||void 0},he=function(e){return x(e,`onChangeClientState`)||function(){}},ge=function(e,t){return t.filter(function(t){return t[e]!==void 0}).map(function(t){return t[e]}).reduce(function(e,t){return v({},e,t)},{})},_e=function(e,t){return t.filter(function(e){return e[y.BASE]!==void 0}).map(function(e){return e[y.BASE]}).reverse().reduce(function(t,n){if(!t.length)for(var r=Object.keys(n),i=0;i<r.length;i+=1){var a=r[i].toLowerCase();if(e.indexOf(a)!==-1&&n[a])return t.concat(n)}return t},[])},S=function(e,t,n){var r={};return n.filter(function(t){return!!Array.isArray(t[e])||(t[e]!==void 0&&console&&typeof console.warn==`function`&&console.warn(`Helmet: `+e+` should be of type "Array". Instead found type "`+typeof t[e]+`"`),!1)}).map(function(t){return t[e]}).reverse().reduce(function(e,n){var i={};n.filter(function(e){for(var n,a=Object.keys(e),o=0;o<a.length;o+=1){var s=a[o],c=s.toLowerCase();t.indexOf(c)===-1||n===`rel`&&e[n].toLowerCase()===`canonical`||c===`rel`&&e[c].toLowerCase()===`stylesheet`||(n=c),t.indexOf(s)===-1||s!==`innerHTML`&&s!==`cssText`&&s!==`itemprop`||(n=s)}if(!n||!e[n])return!1;var l=e[n].toLowerCase();return r[n]||(r[n]={}),i[n]||(i[n]={}),!r[n][l]&&(i[n][l]=!0,!0)}
2).reverse().forEach(function(t){return e.push(t)});for(var a=Object.keys(i),o=0;o<a.length;o+=1){var s=a[o];r[s]=v({},r[s],i[s])}return e},[]).reverse()},ve=function(e,t){if(Array.isArray(e)&&e.length){for(var n=0;n<e.length;n+=1)if(e[n][t])return!0}return!1},ye=function(e){return Array.isArray(e)?e.join(``):e},be=function(e,t){return Array.isArray(e)?e.reduce(function(e,n){return function(e,t){for(var n=Object.keys(e),r=0;r<n.length;r+=1)if(t[n[r]]&&t[n[r]].includes(e[n[r]]))return!0;return!1}(n,t)?e.priority.push(n):e.default.push(n),e},{priority:[],default:[]}):{default:e}},xe=function(e,t){var n;return v({},e,((n={})[t]=void 0,n))},Se=[y.NOSCRIPT,y.SCRIPT,y.STYLE],Ce=function(e,t){return t===void 0&&(t=!0),!1===t?String(e):String(e).replace(/&/g,`&amp;`).replace(/</g,`&lt;`).replace(/>/g,`&gt;`).replace(/"/g,`&quot;`).replace(/'/g,`&#x27;`)},we=function(e){return Object.keys(e).reduce(function(t,n){var r=e[n]===void 0?``+n:n+`="`+e[n]+`"`;return t?t+` `+r:r},``)},Te=function(e,t){return t===void 0&&(t={}),Object.keys(e).reduce(function(t,n){return t[b[n]||n]=e[n],t},t)},C=function(e,t){return t.map(function(t,n){var r,i=((r={key:n})[`data-rh`]=!0,r);return Object.keys(t).forEach(function(e){var n=b[e]||e;n===`innerHTML`||n===`cssText`?i.dangerouslySetInnerHTML={__html:t.innerHTML||t.cssText}:i[n]=t[e]}),g.createElement(e,i)})},w=function(e,t,n){switch(e){case y.TITLE:return{toComponent:function(){return n=t.titleAttributes,(r={key:e=t.title})[`data-rh`]=!0,i=Te(n,r),[g.createElement(y.TITLE,i,e)];var e,n,r,i},toString:function(){return function(e,t,n,r){var i=we(n),a=ye(t);return i?`<`+e+` data-rh="true" `+i+`>`+Ce(a,r)+`</`+e+`>`:`<`+e+` data-rh="true">`+Ce(a,r)+`</`+e+`>`}(e,t.title,t.titleAttributes,n)}};case`bodyAttributes`:case`htmlAttributes`:return{toComponent:function(){return Te(t)},toString:function(){return we(t)}};default:return{toComponent:function(){return C(e,t)},toString:function(){return function(e,t,n){return t.reduce(function(t,r){var i=Object.keys(r).filter(function(e){return!(e===`innerHTML`||e===`cssText`)}).reduce(function(e,t){var i=r[t]===void 0?t:t+`="`+Ce(r[t],n)+`"`;return e?e+` `+i:i},``),a=r.innerHTML||r.cssText||``,o=Se.indexOf(e)===-1;return t+`<`+e+` data-rh="true" `+i+(o?`/>`:`>`+a+`</`+e+`>`)},``)}(e,t,n)}}}},Ee=function(e){var t=e.baseTag,n=e.bodyAttributes,r=e.encode,i=e.htmlAttributes,a=e.noscriptTags,o=e.styleTags,s=e.title,c=s===void 0?``:s,l=e.titleAttributes,u=e.linkTags,d=e.metaTags,f=e.scriptTags,p={toComponent:function(){},toString:function(){return``}};if(e.prioritizeSeoTags){var m=function(e){var t=e.linkTags,n=e.scriptTags,r=e.encode,i=be(e.metaTags,de),a=be(t,le),o=be(n,ue);return{priorityMethods:{toComponent:function(){return[].concat(C(y.META,i.priority),C(y.LINK,a.priority),C(y.SCRIPT,o.priority))},toString:function(){return w(y.META,i.priority,r)+` `+w(y.LINK,a.priority,r)+` `+w(y.SCRIPT,o.priority,r)}},metaTags:i.default,linkTags:a.default,scriptTags:o.default}}(e);p=m.priorityMethods,u=m.linkTags,d=m.metaTags,f=m.scriptTags}return{priority:p,base:w(y.BASE,t,r),bodyAttributes:w(`bodyAttributes`,n,r),htmlAttributes:w(`htmlAttributes`,i,r),link:w(y.LINK,u,r),meta:w(y.META,d,r),noscript:w(y.NOSCRIPT,a,r),script:w(y.SCRIPT,f,r),style:w(y.STYLE,o,r),title:w(y.TITLE,{title:c,titleAttributes:l},r)}},T=[],De=function(e,t){var n=this;t===void 0&&(t=typeof document<`u`),this.instances=[],this.value={setHelmet:function(e){n.context.helmet=e},helmetInstances:{get:function(){return n.canUseDOM?T:n.instances},add:function(e){(n.canUseDOM?T:n.instances).push(e)},remove:function(e){var t=(n.canUseDOM?T:n.instances).indexOf(e);(n.canUseDOM?T:n.instances).splice(t,1)}}},this.context=e,this.canUseDOM=t,t||(e.helmet=Ee({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:``,titleAttributes:{}}))},Oe=g.createContext({}),ke=_.default.shape({setHelmet:_.default.func,helmetInstances:_.default.shape({get:_.default.func,add:_.default.func,remove:_.default.func})}),Ae=typeof document<`u`,E=function(e){function t(n){var r;return(r=e.call(this,n)||this).helmetData=new De(r.props.context,t.canUseDOM),r}return oe(t,e),t.prototype.render=function(){return g.createElement(Oe.Provider,{value:this.helmetData.value},this.props.children)},t}(g.Component);E.canUseDOM=Ae,E.propTypes={context:_.default.shape({helmet:_.default.shape()}),children:_.default.node.isRequired},E.defaultProps={context:{}},E.displayName=`HelmetProvider`;var D=function(e,t){var n,r=document.head||document.querySelector(y.HEAD),i=r.querySelectorAll(e+`[data-rh]`),a=[].slice.call(i),o=[];return t&&t.length&&t.forEach(function(t){var r=document.createElement(e);for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(i===`innerHTML`?r.innerHTML=t.innerHTML:i===`cssText`?r.styleSheet?r.styleSheet.cssText=t.cssText:r.appendChild(document.createTextNode(t.cssText)):r.setAttribute(i,t[i]===void 0?``:t[i]));r.setAttribute(`data-rh`,`true`),a.some(function(e,t){return n=t,r.isEqualNode(e)})?a.splice(n,1):o.push(r)}),a.forEach(function(e){return e.parentNode.removeChild(e)}),o.forEach(function(e){return r.appendChild(e)}),{oldTags:a,newTags:o}},je=function(e,t){var n=document.getElementsByTagName(e)[0];if(n){for(var r=n.getAttribute(`data-rh`),i=r?r.split(`,`):[],a=[].concat(i),o=Object.keys(t),s=0;s<o.length;s+=1){var c=o[s],l=t[c]||``;n.getAttribute(c)!==l&&n.setAttribute(c,l),i.indexOf(c)===-1&&i.push(c);var u=a.indexOf(c);u!==-1&&a.splice(u,1)}for(var d=a.length-1;d>=0;--d)n.removeAttribute(a[d]);i.length===a.length?n.removeAttribute(`data-rh`):n.getAttribute(`data-rh`)!==o.join(`,`)&&n.setAttribute(`data-rh`,o.join(`,`))}},Me=function(e,t){var n=e.baseTag,r=e.htmlAttributes,i=e.linkTags,a=e.metaTags,o=e.noscriptTags,s=e.onCh
2angeClientState,c=e.scriptTags,l=e.styleTags,u=e.title,d=e.titleAttributes;je(y.BODY,e.bodyAttributes),je(y.HTML,r),function(e,t){e!==void 0&&document.title!==e&&(document.title=ye(e)),je(y.TITLE,t)}(u,d);var f={baseTag:D(y.BASE,n),linkTags:D(y.LINK,i),metaTags:D(y.META,a),noscriptTags:D(y.NOSCRIPT,o),scriptTags:D(y.SCRIPT,c),styleTags:D(y.STYLE,l)},p={},m={};Object.keys(f).forEach(function(e){var t=f[e],n=t.newTags,r=t.oldTags;n.length&&(p[e]=n),r.length&&(m[e]=f[e].oldTags)}),t&&t(),s(e,p,m)},O=null,k=function(e){function t(){for(var t,n=arguments.length,r=Array(n),i=0;i<n;i++)r[i]=arguments[i];return(t=e.call.apply(e,[this].concat(r))||this).rendered=!1,t}oe(t,e);var n=t.prototype;return n.shouldComponentUpdate=function(e){return!(0,ae.default)(e,this.props)},n.componentDidUpdate=function(){this.emitChange()},n.componentWillUnmount=function(){this.props.context.helmetInstances.remove(this),this.emitChange()},n.emitChange=function(){var e,t,n=this.props.context,r=n.setHelmet,i=null,a=(e=n.helmetInstances.get().map(function(e){var t=v({},e.props);return delete t.context,t}),{baseTag:_e([`href`],e),bodyAttributes:ge(`bodyAttributes`,e),defer:x(e,`defer`),encode:x(e,`encodeSpecialCharacters`),htmlAttributes:ge(`htmlAttributes`,e),linkTags:S(y.LINK,[`rel`,`href`],e),metaTags:S(y.META,[`name`,`charset`,`http-equiv`,`property`,`itemprop`],e),noscriptTags:S(y.NOSCRIPT,[`innerHTML`],e),onChangeClientState:he(e),scriptTags:S(y.SCRIPT,[`src`,`innerHTML`],e),styleTags:S(y.STYLE,[`cssText`],e),title:me(e),titleAttributes:ge(`titleAttributes`,e),prioritizeSeoTags:ve(e,`prioritizeSeoTags`)});E.canUseDOM?(t=a,O&&cancelAnimationFrame(O),t.defer?O=requestAnimationFrame(function(){Me(t,function(){O=null})}):(Me(t),O=null)):Ee&&(i=Ee(a)),r(i)},n.init=function(){this.rendered||(this.rendered=!0,this.props.context.helmetInstances.add(this),this.emitChange())},n.render=function(){return this.init(),null},t}(g.Component);k.propTypes={context:ke.isRequired},k.displayName=`HelmetDispatcher`;var Ne=[`children`],Pe=[`children`],A=function(e){function t(){return e.apply(this,arguments)||this}oe(t,e);var n=t.prototype;return n.shouldComponentUpdate=function(e){return!(0,re.default)(xe(this.props,`helmetData`),xe(e,`helmetData`))},n.mapNestedChildrenToProps=function(e,t){if(!t)return null;switch(e.type){case y.SCRIPT:case y.NOSCRIPT:return{innerHTML:t};case y.STYLE:return{cssText:t};default:throw Error(`<`+e.type+` /> elements are self-closing and can not contain children. Refer to our API for more information.`)}},n.flattenArrayTypeChildren=function(e){var t,n=e.child,r=e.arrayTypeChildren;return v({},r,((t={})[n.type]=[].concat(r[n.type]||[],[v({},e.newChildProps,this.mapNestedChildrenToProps(n,e.nestedChildren))]),t))},n.mapObjectTypeChildren=function(e){var t,n,r=e.child,i=e.newProps,a=e.newChildProps,o=e.nestedChildren;switch(r.type){case y.TITLE:return v({},i,((t={})[r.type]=o,t.titleAttributes=v({},a),t));case y.BODY:return v({},i,{bodyAttributes:v({},a)});case y.HTML:return v({},i,{htmlAttributes:v({},a)});default:return v({},i,((n={})[r.type]=v({},a),n))}},n.mapArrayTypeChildrenToProps=function(e,t){var n=v({},t);return Object.keys(e).forEach(function(t){var r;n=v({},n,((r={})[t]=e[t],r))}),n}
2,n.warnOnInvalidChildren=function(e,t){return(0,ie.default)(fe.some(function(t){return e.type===t}),typeof e.type==`function`?`You may be attempting to nest <Helmet> components within each other, which is not allowed. Refer to our API for more information.`:`Only elements types `+fe.join(`, `)+` are allowed. Helmet does not support rendering <`+e.type+`> elements. Refer to our API for more information.`),(0,ie.default)(!t||typeof t==`string`||Array.isArray(t)&&!t.some(function(e){return typeof e!=`string`}),`Helmet expects a string as a child of <`+e.type+`>. Did you forget to wrap your children in braces? ( <`+e.type+">{``}</"+e.type+`> ) Refer to our API for more information.`),!0},n.mapChildrenToProps=function(e,t){var n=this,r={};return g.Children.forEach(e,function(e){if(e&&e.props){var i=e.props,a=i.children,o=ce(i,Ne),s=Object.keys(o).reduce(function(e,t){return e[pe[t]||t]=o[t],e},{}),c=e.type;switch(typeof c==`symbol`?c=c.toString():n.warnOnInvalidChildren(e,a),c){case y.FRAGMENT:t=n.mapChildrenToProps(a,t);break;case y.LINK:case y.META:case y.NOSCRIPT:case y.SCRIPT:case y.STYLE:r=n.flattenArrayTypeChildren({child:e,arrayTypeChildren:r,newChildProps:s,nestedChildren:a});break;default:t=n.mapObjectTypeChildren({child:e,newProps:t,newChildProps:s,nestedChildren:a})}}}),this.mapArrayTypeChildrenToProps(r,t)},n.render=function(){var e=this.props,t=e.children,n=ce(e,Pe),r=v({},n),i=n.helmetData;return t&&(r=this.mapChildrenToProps(t,r)),!i||i instanceof De||(i=new De(i.context,i.instances)),i?g.createElement(k,v({},r,{context:i.value,helmetData:void 0})):g.createElement(Oe.Consumer,null,function(e){return g.createElement(k,v({},r,{context:e}))})},t}(g.Component);A.propTypes={base:_.default.object,bodyAttributes:_.default.object,children:_.default.oneOfType([_.default.arrayOf(_.default.node),_.default.node]),defaultTitle:_.default.string,defer:_.default.bool,encodeSpecialCharacters:_.default.bool,htmlAttributes:_.default.object,link:_.default.arrayOf(_.default.object),meta:_.default.arrayOf(_.default.object),noscript:_.default.arrayOf(_.default.object),onChangeClientState:_.default.func,script:_.default.arrayOf(_.default.object),style:_.default.arrayOf(_.default.object),title:_.default.string,titleAttributes:_.default.object,titleTemplate:_.default.string,prioritizeSeoTags:_.default.bool,helmetData:_.default.object},A.defaultProps={defer:!0,encodeSpecialCharacters:!0,prioritizeSeoTags:!1},A.displayName=`Helmet`;var j=s(),Fe=g.createContext({setPageMetadata:e=>e,revertPageMetadata:()=>void 0,hasPageMetadataChanged:()=>!1,setFaq:()=>void 0,hasProvider:!1});function Ie(e,t){return!c.isEqual(e,t)}function Le(){return g.useContext(Fe)}var Re=e=>{let[t,n]=g.useState({}),[r,i]=g.useState({}),[a,o]=g.useState(null),{title:s,description:c,canonicalLink:l,jsonLd:u,allowIndexing:d,hrefLang:f,preload:p}=t;function m(e){Ie(t,r)&&i(t),n(e)}function ee(){n(r)}function h(e){return Ie(e,t)}function te(e){o(e)}return(0,j.jsx)(Fe.Provider,{value:{setPageMetadata:m,revertPageMetadata:ee,hasPageMetadataChanged:h,setFaq:te,hasProvider:!0},children:(0,j.jsxs)(E,{children:[(0,j.jsxs)(A,{children:[s&&(0,j.jsx)(`title`,{children:s}),c&&(0,j.jsx)(`meta`,{name:`description`,content:c}),l&&(0,j.jsx)(`link`,{rel:`canonical`,href:l}),u&&(0,j.jsx)(`script`,{type:`application/ld+json`,children:JSON.stringify(u)}),a&&(0,j.jsx)(`script`,{type:`application/ld+json`,children:JSON.stringify(a)}),!d&&(0,j.jsx)(`meta`,{name:`robots`,content:`noindex`}),f&&f?.map((e,t)=>(0,j.jsx)(`link`,{rel:`alternate`,hrefLang:e.hrefLang,href:e.canonicalLink},t)),p&&p?.map((e,t)=>{let n={};return e.crossorigin&&(n.crossOrigin=`true`),e.media&&(n.media=e.media),e.type&&(n.type=e.type),(0,j.jsx)(`link`,{rel:`preload`,href:e.href,as:e.as,...n},`preload-${t}`)})]}),e.children]})})};function ze(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}var M=ze();function Be(e){M=e}var N={exec:()=>null};function P(e,t=``){let n=typeof e==`string`?e:e.source,r={replace:(e,t)=>{let i=typeof t==`string`?t:t.source;return i=i.replace(F.caret,`$1`),n=n.replace(e,i),r},getRegex:()=>new RegExp(n,t)};return r}var F={codeRemoveIndent:/^(?: {1,4}| {0,3}\t)/gm,outputLinkReplace:/\\([\[\]])/g,indentCodeCompensation:/^(\s+)(?:```)/,beginningSpace:/^\s+/,endingHash:/#$/,startingSpaceChar:/^ /,endingSpaceChar:/ $/,nonSpaceChar:/[^ ]/,newLineCharGlobal:/\n/g,tabCharGlobal:/\t/g,multipleSpaceGlobal:/\s+/g,blankLine:/^[ \t]*$/,doubleBlankLine:/\n[ \t]*\n[ \t]*$/,blockquoteStart:/^ {0,3}>/,blockquoteSetextReplace:/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,blockquoteSetextReplace2:/^ {0,3}>[ \t]?/gm,listReplaceTabs:/^\t+/,listReplaceNesting:/^ {1,4}(?=( {4})*[^ ])/g,listIsTask:/^\[[ xX]\] /,listReplaceTask:/^\[[ xX]\] +/,anyLine
vendor: 7,242 bytes, lines 2-3
2:/\n.*\n/,hrefBrackets:/^<(.*)>$/,tableDelimiter:/[:|]/,tableAlignChars:/^\||\| *$/g,tableRowBlankLine:/\n[ \t]*$/,tableAlignRight:/^ *-+: *$/,tableAlignCenter:/^ *:-+: *$/,tableAlignLeft:/^ *:-+ *$/,startATag:/^<a /i,endATag:/^<\/a>/i,startPreScriptTag:/^<(pre|code|kbd|script)(\s|>)/i,endPreScriptTag:/^<\/(pre|code|kbd|script)(\s|>)/i,startAngleBracket:/^</,endAngleBracket:/>$/,pedanticHrefTitle:/^([^'"]*[^\s])\s+(['"])(.*)\2/,unicodeAlphaNumeric:/[\p{L}\p{N}]/u,escapeTest:/[&<>"']/,escapeReplace:/[&<>"']/g,escapeTestNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,escapeReplaceNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,unescapeTest:/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi,caret:/(^|[^\[])\^/g,percentDecode:/%25/g,findPipe:/\|/g,splitPipe:/ \|/,slashPipe:/\\\|/g,carriageReturn:/\r\n|\r/g,spaceLine:/^ +$/gm,notSpaceStart:/^\S*/,endingNewline:/\n$/,listItemRegex:e=>RegExp(`^( {0,3}${e})((?:[\t ][^\\n]*)?(?:\\n|$))`),nextBulletRegex:e=>RegExp(`^ {0,${Math.min(3,e-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ \t][^\\n]*)?(?:\\n|$))`),hrRegex:e=>RegExp(`^ {0,${Math.min(3,e-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),fencesBeginRegex:e=>RegExp(`^ {0,${Math.min(3,e-1)}}(?:\`\`\`|~~~)`),headingBeginRegex:e=>RegExp(`^ {0,${Math.min(3,e-1)}}#`),htmlBeginRegex:e=>RegExp(`^ {0,${Math.min(3,e-1)}}<(?:[a-z].*>|!--)`,`i`)},Ve=/^(?:[ \t]*(?:\n|$))+/,He=/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,Ue=/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,I=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,We=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,Ge=/(?:[*+-]|\d{1,9}[.)])/,Ke=P(/^(?!bull |blockCode|fences|blockquote|heading|html)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html))+?)\n {0,3}(=+|-+) *(?:\n+|$)/).replace(/bull/g,Ge).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).getRegex(),qe=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,Je=/^[^\n]+/,Ye=/(?!\s*\])(?:\\.|[^\[\]\\])+/,Xe=P(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace(`label`,Ye).replace(`title`,/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),Ze=P(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,Ge).getRegex(),L=`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|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul`,Qe=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,$e=P(`^ {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|$))`,`i`).replace(`comment`,Qe).replace(`tag`,L).replace(`attribute`,/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),et=P(qe).replace(`hr`,I).replace(`heading`,` {0,3}#{1,6}(?:\\s|$)`).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`,L).getRegex(),tt={blockquote:P(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace(`paragraph`,et).getRegex(),code:He,def:Xe,fences:Ue,heading:We,hr:I,html:$e,lheading:Ke,list:Ze,newline:Ve,paragraph:et,table:N,text:Je},nt=P(`^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)`).replace(`hr`,I).replace(`heading`,` {0,3}#{1,6}(?:\\s|$)`).replace(`blockquote`,` {0,3}>`).replace(`code`,`(?: {4}| {0,3}	)[^\\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`,L).getRegex(),rt={...tt,table:nt,paragraph:P(qe).replace(`hr`,I).replace(`heading`,` {0,3}#{1,6}(?:\\s|$)`).replace(`|lheading`,``).replace(`table`,nt).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`,L).getRegex()},it={...tt,html:P(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace(`comment`,Qe).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:N,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:P(qe).replace(`hr`,I).replace(`heading`,` *#{1,6} *[^
3]`).replace(`lheading`,Ke).replace(`|table`,``).replace(`blockquote`,` {0,3}>`).replace(`|fences`,``).replace(`|list`,``).replace(`|html`,``).replace(`|tag`,``).getRegex()},at=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,ot=/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,st=/^( {2,}|\\)\n(?!\s*$)/,ct=/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,R=/[\p{P}\p{S}]/u,lt=/[\s\p{P}\p{S}]/u,ut=/[^\s\p{P}\p{S}]/u,dt=P(/^((?![*_])punctSpace)/,`u`).replace(/punctSpace/g,lt).getRegex(),ft=/(?!~)[\p{P}\p{S}]/u,pt=/(?!~)[\s\p{P}\p{S}]/u,mt=/(?:[^\s\p{P}\p{S}]|~)/u,ht=/\[[^[\]]*?\]\((?:\\.|[^\\\(\)]|\((?:\\.|[^\\\(\)])*\))*\)|`[^`]*?`|<[^<>]*?>/g,gt=/^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/,_t=P(gt,`u`).replace(/punct/g,R).getRegex(),vt=P(gt,`u`).replace(/punct/g,ft).getRegex(),yt=`^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)`,bt=P(yt,`gu`).replace(/notPunctSpace/g,ut).replace(/punctSpace/g,lt).replace(/punct/g,R).getRegex(),xt=P(yt,`gu`).replace(/notPunctSpace/g,mt).replace(/punctSpace/g,pt).replace(/punct/g,ft).getRegex(),St=P(`^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)`,`gu`).replace(/notPunctSpace/g,ut).replace(/punctSpace/g,lt).replace(/punct/g,R).getRegex(),Ct=P(/\\(punct)/,`gu`).replace(/punct/g,R).getRegex(),wt=P(
vendor: 4,223 bytes, lines 3-6
3/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace(`scheme`,/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace(`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])?)+(?![-_])/).getRegex(),Tt=P(Qe).replace(`(?:-->|$)`,`-->`).getRegex(),Et=P(`^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>`).replace(`comment`,Tt).replace(`attribute`,/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),z=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,Dt=P(/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/).replace(`label`,z).replace(`href`,/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/).replace(`title`,/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),Ot=P(/^!?\[(label)\]\[(ref)\]/).replace(`label`,z).replace(`ref`,Ye).getRegex(),kt=P(/^!?\[(ref)\](?:\[\])?/).replace(`ref`,Ye).getRegex(),At={_backpedal:N,anyPunctuation:Ct,autolink:wt,blockSkip:ht,br:st,code:ot,del:N,emStrongLDelim:_t,emStrongRDelimAst:bt,emStrongRDelimUnd:St,escape:at,link:Dt,nolink:kt,punctuation:dt,reflink:Ot,reflinkSearch:P(`reflink|nolink(?!\\()`,`g`).replace(`reflink`,Ot).replace(`nolink`,kt).getRegex(),tag:Et,text:ct,url:N},jt={...At,link:P(/^!?\[(label)\]\((.*?)\)/).replace(`label`,z).getRegex(),reflink:P(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace(`label`,z).getRegex()},Mt={...At,emStrongRDelimAst:xt,emStrongLDelim:vt,url:P(/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,`i`).replace(`email`,/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\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.!#$%&'*+\/=?_`{\|}~-]+@)))/},Nt={...Mt,br:P(st).replace(`{2,}`,`*`).getRegex(),text:P(Mt.text).replace(`\\b_`,`\\b_| {2,}\\n`).replace(/\{2,\}/g,`*`).getRegex()},B={normal:tt,gfm:rt,pedantic:it},V={normal:At,gfm:Mt,breaks:Nt,pedantic:jt},Pt={"&":`&amp;`,"<":`&lt;`,">":`&gt;`,'"':`&quot;`,"'":`&#39;`},Ft=e=>Pt[e];function H(e,t){if(t){if(F.escapeTest.test(e))return e.replace(F.escapeReplace,Ft)}else if(F.escapeTestNoEncode.test(e))return e.replace(F.escapeReplaceNoEncode,Ft);return e}function It(e){try{e=encodeURI(e).replace(F.percentDecode,`%`)}catch{return null}return e}function Lt(e,t){let n=e.replace(F.findPipe,(e,t,n)=>{let r=!1,i=t;for(;--i>=0&&n[i]===`\\`;)r=!r;return r?`|`:` |`}).split(F.splitPipe),r=0;if(n[0].trim()||n.shift(),n.length>0&&!n.at(-1)?.trim()&&n.pop(),t)if(n.length>t)n.splice(t);else for(;n.length<t;)n.push(``);for(;r<n.length;r++)n[r]=n[r].trim().replace(F.slashPipe,`|`);return n}function U(e,t,n){let r=e.length;if(r===0)return``;let i=0;for(;i<r&&e.charAt(r-i-1)===t;)i++;return e.slice(0,r-i)}function Rt(e,t){if(e.indexOf(t[1])===-1)return-1;let n=0;for(let r=0;r<e.length;r++)if(e[r]===`\\`)r++;else if(e[r]===t[0])n++;else if(e[r]===t[1]&&(n--,n<0))return r;return-1}function zt(e,t,n,r,i){let a=t.href,o=t.title||null,s=e[1].replace(i.other.outputLinkReplace,`$1`);if(e[0].charAt(0)!==`!`){r.state.inLink=!0;let e={type:`link`,raw:n,href:a,title:o,text:s,tokens:r.inlineTokens(s)};return r.state.inLink=!1,e}return{type:`image`,raw:n,href:a,title:o,text:s}}function Bt(e,t,n){let r=e.match(n.other.indentCodeCompensation);if(r===null)return t;let i=r[1];return t.split(`
4`).map(e=>{let t=e.match(n.other.beginningSpace);if(t===null)return e;let[r]=t;return r.length>=i.length?e.slice(i.length):e}).join(`
5`)}var W=class{options;rules;lexer;constructor(e){this.options=e||M}space(e){let t=this.rules.block.newline.exec(e);if(t&&t[0].length>0)return{type:`space`,raw:t[0]}}code(e){let t=this.rules.block.code.exec(e);if(t){let e=t[0].replace(this.rules.other.codeRemoveIndent,``);return{type:`code`,raw:t[0],codeBlockStyle:`indented`,text:this.options.pedantic?e:U(e,`
6`)}}}fences(e){let t=this.rules.block.fences.exec(e);
vendor: 14,547 bytes, lines 6-35
6if(t){let e=t[0],n=Bt(e,t[3]||``,this.rules);return{type:`code`,raw:e,lang:t[2]?t[2].trim().replace(this.rules.inline.anyPunctuation,`$1`):t[2],text:n}}}heading(e){let t=this.rules.block.heading.exec(e);if(t){let e=t[2].trim();if(this.rules.other.endingHash.test(e)){let t=U(e,`#`);(this.options.pedantic||!t||this.rules.other.endingSpaceChar.test(t))&&(e=t.trim())}return{type:`heading`,raw:t[0],depth:t[1].length,text:e,tokens:this.lexer.inline(e)}}}hr(e){let t=this.rules.block.hr.exec(e);if(t)return{type:`hr`,raw:U(t[0],`
7`)}}blockquote(e){let t=this.rules.block.blockquote.exec(e);if(t){let e=U(t[0],`
8`).split(`
9`),n=``,r=``,i=[];for(;e.length>0;){let t=!1,a=[],o;for(o=0;o<e.length;o++)if(this.rules.other.blockquoteStart.test(e[o]))a.push(e[o]),t=!0;else if(!t)a.push(e[o]);else break;e=e.slice(o);let s=a.join(`
10`),c=s.replace(this.rules.other.blockquoteSetextReplace,`
11    $1`).replace(this.rules.other.blockquoteSetextReplace2,``);n=n?`${n}\n${s}`:s,r=r?`${r}\n${c}`:c;let l=this.lexer.state.top;if(this.lexer.state.top=!0,this.lexer.blockTokens(c,i,!0),this.lexer.state.top=l,e.length===0)break;let u=i.at(-1);if(u?.type===`code`)break;if(u?.type===`blockquote`){let t=u,a=t.raw+`
12`+e.join(`
13`),o=this.blockquote(a);i[i.length-1]=o,n=n.substring(0,n.length-t.raw.length)+o.raw,r=r.substring(0,r.length-t.text.length)+o.text;break}else if(u?.type===`list`){let t=u,a=t.raw+`
14`+e.join(`
15`),o=this.list(a);i[i.length-1]=o,n=n.substring(0,n.length-u.raw.length)+o.raw,r=r.substring(0,r.length-t.raw.length)+o.raw,e=a.substring(i.at(-1).raw.length).split(`
16`);continue}}return{type:`blockquote`,raw:n,tokens:i,text:r}}}list(e){let t=this.rules.block.list.exec(e);if(t){let n=t[1].trim(),r=n.length>1,i={type:`list`,raw:``,ordered:r,start:r?+n.slice(0,-1):``,loose:!1,items:[]};n=r?`\\d{1,9}\\${n.slice(-1)}`:`\\${n}`,this.options.pedantic&&(n=r?n:`[*+-]`);let a=this.rules.other.listItemRegex(n),o=!1;for(;e;){let n=!1,r=``,s=``;if(!(t=a.exec(e))||this.rules.block.hr.test(e))break;r=t[0],e=e.substring(r.length);let c=t[2].split(`
17`,1)[0].replace(this.rules.other.listReplaceTabs,e=>` `.repeat(3*e.length)),l=e.split(`
18`,1)[0],u=!c.trim(),d=0;if(this.options.pedantic?(d=2,s=c.trimStart()):u?d=t[1].length+1:(d=t[2].search(this.rules.other.nonSpaceChar),d=d>4?1:d,s=c.slice(d),d+=t[1].length),u&&this.rules.other.blankLine.test(l)&&(r+=l+`
19`,e=e.substring(l.length+1),n=!0),!n){let t=this.rules.other.nextBulletRegex(d),n=this.rules.other.hrRegex(d),i=this.rules.other.fencesBeginRegex(d),a=this.rules.other.headingBeginRegex(d),o=this.rules.other.htmlBeginRegex(d);for(;e;){let f=e.split(`
20`,1)[0],p;if(l=f,this.options.pedantic?(l=l.replace(this.rules.other.listReplaceNesting,`  `),p=l):p=l.replace(this.rules.other.tabCharGlobal,`    `),i.test(l)||a.test(l)||o.test(l)||t.test(l)||n.test(l))break;if(p.search(this.rules.other.nonSpaceChar)>=d||!l.trim())s+=`
21`+p.slice(d);else{if(u||c.replace(this.rules.other.tabCharGlobal,`    `).search(this.rules.other.nonSpaceChar)>=4||i.test(c)||a.test(c)||n.test(c))break;s+=`
22`+l}!u&&!l.trim()&&(u=!0),r+=f+`
23`,e=e.substring(f.length+1),c=p.slice(d)}}i.loose||(o?i.loose=!0:this.rules.other.doubleBlankLine.test(r)&&(o=!0));let f=null,p;this.options.gfm&&(f=this.rules.other.listIsTask.exec(s),f&&(p=f[0]!==`[ ] `,s=s.replace(this.rules.other.listReplaceTask,``))),i.items.push({type:`list_item`,raw:r,task:!!f,checked:p,loose:!1,text:s,tokens:[]}),i.raw+=r}let s=i.items.at(-1);if(s)s.raw=s.raw.trimEnd(),s.text=s.text.trimEnd();else return;i.raw=i.raw.trimEnd();for(let e=0;e<i.items.length;e++)if(this.lexer.state.top=!1,i.items[e].tokens=this.lexer.blockTokens(i.items[e].text,[]),!i.loose){let t=i.items[e].tokens.filter(e=>e.type===`space`);i.loose=t.length>0&&t.some(e=>this.rules.other.anyLine.test(e.raw))}if(i.loose)for(let e=0;e<i.items.length;e++)i.items[e].loose=!0;return i}}html(e){let t=this.rules.block.html.exec(e);if(t)return{type:`html`,block:!0,raw:t[0],pre:t[1]===`pre`||t[1]===`script`||t[1]===`style`,text:t[0]}}def(e){let t=this.rules.block.def.exec(e);if(t){let e=t[1].toLowerCase().replace(this.rules.other.multipleSpaceGlobal,` `),n=t[2]?t[2].replace(this.rules.other.hrefBrackets,`$1`).replace(this.rules.inline.anyPunctuation,`$1`):``,r=t[3]?t[3].substring(1,t[3].length-1).replace(this.rules.inline.anyPunctuation,`$1`):t[3];return{type:`def`,tag:e,raw:t[0],href:n,title:r}}}table(e){let t=this.rules.block.table.exec(e);if(!t||!this.rules.other.tableDelimiter.test(t[2]))return;let n=Lt(t[1]),r=t[2].replace(this.rules.other.tableAlignChars,``).split(`|`),i=t[3]?.trim()?t[3].replace(this.rules.other.tableRowBlankLine,``).split(`
24`):[],a={type:`table`,raw:t[0],header:[],align:[],rows:[]};if(n.length===r.length){for(let e of r)this.rules.other.tableAlignRight.test(e)?a.align.push(`right`):this.rules.other.tableAlignCenter.test(e)?a.align.push(`center`):this.rules.other.tableAlignLeft.test(e)?a.align.push(`left`):a.align.push(null);for(let e=0;e<n.length;e++)a.header.push({text:n[e],tokens:this.lexer.inline(n[e]),header:!0,align:a.align[e]});for(let e of i)a.rows.push(Lt(e,a.header.length).map((e,t)=>({text:e,tokens:this.lexer.inline(e),header:!1,align:a.align[t]})));return a}}lheading(e){let t=this.rules.block.lheading.exec(e);if(t)return{type:`heading`,raw:t[0],depth:t[2].charAt(0)===`=`?1:2,text:t[1],tokens:this.lexer.inline(t[1])}}paragraph(e){let t=this.rules.block.paragraph.exec(e);if(t){let e=t[1].charAt(t[1].length-1)===`
25`?t[1].slice(0,-1):t[1];return{type:`paragraph`,raw:t[0],text:e,tokens:this.lexer.inline(e)}}}text(e){let t=this.rules.block.text.exec(e);if(t)return{type:`text`,raw:t[0],text:t[0],tokens:this.lexer.inline(t[0])}}escape(e){let t=this.rules.inline.escape.exec(e);if(t)return{type:`escape`,raw:t[0],text:t[1]}}tag(e){let t=this.rules.inline.tag.exec(e);if(t)return!this.lexer.state.inLink&&this.rules.other.startATag.test(t[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&this.rules.other.endATag.test(t[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&this.rules.other.startPreScriptTag.test(t[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&this.rules.other.endPreScriptTag.test(t[0])&&(this.lexer.state.inRawBlock=!1),{type:`html`,raw:t[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:t[0]}}link(e){let t=this.rules.inline.link.exec(e);if(t){let e=t[2].trim();if(!this.options.pedantic&&this.rules.other.startAngleBracket.test(e)){if(!this.rules.other.endAngleBracket.test(e))return;let t=U(e.slice(0,-1),`\\`);if((e.length-t.length)%2==0)return}else{let e=Rt(t[2],`()`);if(e>-1){let n=(t[0].indexOf(`!`)===0?5:4)+t[1].length+e;t[2]=t[2].substring(0,e),t[0]=t[0].substring(0,n).trim(),t[3]=``}}let n=t[2],r=``;if(this.options.pedantic){let e=this.rules.other.pedanticHrefTitle.exec(n);e&&(n=e[1],r=e[3])}else r=t[3]?t[3].slice(1,-1):``;return n=n.trim(),this.rules.other.startAngleBracket.test(n)&&(n=this.options.pedantic&&!this.rules.other.endAngleBracket.test(e)?n.slice(1):n.slice(1,-1)),zt(t,{href:n&&n.replace(this.rules.inline.anyPunctuation,`$1`),title:r&&r.replace(this.rules.inline.anyPunctuation,`$1`)},t[0],this.lexer,this.rules)}}reflink(e,t){let n;if((n=this.rules.inline.reflink.exec(e))||(n=this.rules.inline.nolink.exec(e))){let e=t[(n[2]||n[1]).replace(this.rules.other.multipleSpaceGlobal,` `).toLowerCase()];if(!e){let e=n[0].charAt(0);return{type:`text`,raw:e,text:e}}return zt(n,e,n[0],this.lexer,this.rules)}}emStrong(e,t,n=``){let r=this.rules.inline.emStrongLDelim.exec(e);if(r&&!(r[3]&&n.match(this.rules.other.unicodeAlphaNumeric))&&(!(r[1]||r[2])||!n||this.rules.inline.punctuation.exec(n))){let n=[...r[0]].length-1,i,a,o=n,s=0,c=r[0][0]===`*`?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(c.lastIndex=0,t=t.slice(-1*e.length+n);(r=c.exec(t))!=null;){if(i=r[1]||r[2]||r[3]||r[4]||r[5]||r[6],!i)continue;if(a=[...i].length,r[3]||r[4]){o+=a;continue}else if((r[5]||r[6])&&n%3&&!((n+a)%3)){s+=a;continue}if(o-=a,o>0)continue;a=Math.min(a,a+o+s);let t=[...r[0]][0].length,c=e.slice(0,n+r.index+t+a);if(Math.min(n,a)%2){let e=c.slice(1,-1);return{type:`em`,raw:c,text:e,tokens:this.lexer.inlineTokens(e)}}let l=c.slice(2,-2);return{type:`strong`,raw:c,text:l,tokens:this.lexer.inlineTokens(l)}}}}codespan(e){let t=this.rules.inline.code.exec(e);if(t){let e=t[2].replace(this.rules.other.newLineCharGlobal,` `),n=this.rules.other.nonSpaceChar.test(e),r=this.rules.other.startingSpaceChar.test(e)&&this.rules.other.endingSpaceChar.test(e);return n&&r&&(e=e.substring(1,e.length-1)),{type:`codespan`,raw:t[0],text:e}}}br(e){let t=this.rules.inline.br.exec(e);if(t)return{type:`br`,raw:t[0]}}del(e){let t=this.rules.inline.del.exec(e);if(t)return{type:`del`,raw:t[0],text:t[2],tokens:this.lexer.inlineTokens(t[2])}}autolink(e){let t=this.rules.inline.autolink.exec(e);if(t){let e,n;return t[2]===`@`?(e=t[1],n=`mailto:`+e):(e=t[1],n=e),{type:`link`,raw:t[0],text:e,href:n,tokens:[{type:`text`,raw:e,text:e}]}}}url(e){let t;if(t=this.rules.inline.url.exec(e)){let e,n;if(t[2]===`@`)e=t[0],n=`mailto:`+e;else{let r;do r=t[0],t[0]=this.rules.inline._backpedal.exec(t[0])?.[0]??``;while(r!==t[0]);e=t[0],n=t[1]===`www.`?`http://`+t[0]:t[0]}return{type:`link`,raw:t[0],text:e,href:n,tokens:[{type:`text`,raw:e,text:e}]}}}inlineText(e){let t=this.rules.inline.text.exec(e);if(t){let e=this.lexer.state.inRawBlock;return{type:`text`,raw:t[0],text:t[0],escaped:e}}}},G=class e{tokens;options;state;tokenizer;inlineQueue;constructor(e){this.tokens=[],this.tokens.links=Object.create(null),this.options=e||M,this.options.tokenizer=this.options.tokenizer||new W,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};let t={other:F,block:B.normal,inline:V.normal};this.options.pedantic?(t.block=B.pedantic,t.inline=V.pedantic):this.options.gfm&&(t.block=B.gfm,this.options.breaks?t.inline=V.breaks:t.inline=V.gfm),this.tokenizer.rules=t}static get rules(){return{block:B,inline:V}}static lex(t,n){return new e(n).lex(t)}static lexInline(t,n){return new e(n).inlineTokens(t)}lex(e){e=e.replace(F.carriageReturn,`
26`),this.blockTokens(e,this.tokens);for(let e=0;e<this.inlineQueue.length;e++){let t=this.inlineQueue[e];this.inlineTokens(t.src,t.tokens)}return this.inlineQueue=[],this.tokens}blockTokens(e,t=[],n=!1){for(this.options.pedantic&&(e=e.replace(F.tabCharGlobal,`    `).replace(F.spaceLine,``));e;){let r;if(this.options.extensions?.block?.some(n=>(r=n.call({lexer:this},e,t))?(e=e.substring(r.raw.length),t.push(r),!0):!1))continue;if(r=this.tokenizer.space(e)){e=e.substring(r.raw.length);let n=t.at(-1);r.raw.length===1&&n!==void 0?n.raw+=`
27`:t.push(r);continue}if(r=this.tokenizer.code(e)){e=e.substring(r.raw.length);let n=t.at(-1);n?.type===`paragraph`||n?.type===`text`?(n.raw+=`
28`+r.raw,n.text+=`
29`+r.text,this.inlineQueue.at(-1).src=n.text):t.push(r);continue}if(r=this.tokenizer.fences(e)){e=e.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.heading(e)){e=e.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.hr(e)){e=e.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.blockquote(e)){e=e.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.list(e)){e=e.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.html(e)){e=e.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.def(e)){e=e.substring(r.raw.length);let n=t.at(-1);n?.type===`paragraph`||n?.type===`text`?(n.raw+=`
30`+r.raw,n.text+=`
31`+r.raw,this.inlineQueue.at(-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(e)){e=e.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.lheading(e)){e=e.substring(r.raw.length),t.push(r);continue}let i=e;if(this.options.extensions?.startBlock){let t=1/0,n=e.slice(1),r;this.options.extensions.startBlock.forEach(e=>{r=e.call({lexer:this},n),typeof r==`number`&&r>=0&&(t=Math.min(t,r))}),t<1/0&&t>=0&&(i=e.substring(0,t+1))}if(this.state.top&&(r=this.tokenizer.paragraph(i))){let a=t.at(-1);n&&a?.type===`paragraph`?(a.raw+=`
32`+r.raw,a.text+=`
33`+r.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=a.text):t.push(r),n=i.length!==e.length,e=e.substring(r.raw.length);continue}if(r=this.tokenizer.text(e)){e=e.substring(r.raw.length);let n=t.at(-1);n?.type===`text`?(n.raw+=`
34`+r.raw,n.text+=`
35`+r.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=n.text):t.push(r);continue}if(e){let t=`Infinite loop on byte: `+e.charCodeAt(0);if(this.options.silent){console.error(t);break}else throw Error(t)}}return this.state.top=!0,t}inline(e,t=[]){return this.inlineQueue.push({src:e,tokens:t}),t}inlineTokens(e,t=[]){let n=e,r=null;if(this.tokens.links){let e=Object.keys(this.tokens.links);if(e.length>0)for(;(r=this.tokenizer.rules.inline.reflinkSearch.exec(n))!=null;)e.includes(r[0].slice(r[0].lastIndexOf(`[`)+1,-1))&&(n=n.slice(0,r.index)+`[`+`a`.repeat(r[0].length-2)+`]`+n.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(r=this.tokenizer.rules.inline.blockSkip.exec(n))!=null;)n=n.slice(0,r.index)+`[`+`a`.repeat(r[0].length-2)+`]`+n.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;(r=this.tokenizer.rules.inline.anyPunctuation.exec(n))!=null;)n=n.slice(0,r.index)+`++`+n.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);let i=!1,a=``;for(;e;){i||(a=``),i=!1;let r;if(this.options.extensions?.inline?.some(n=>(r=n.call({lexer:this},e,t))?(e=e.substring(r.raw.length),t.push(r),!0):!1))continue;if(r=this.tokenizer.escape(e)){e=e.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.tag(e)){e=e.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.link(e)){e=e.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.reflink(e,this.tokens.links)){e=e.substring(r.raw.length);let n=t.at(-1);r.type===`text`&&n?.type===`text`?(n.raw+=r.raw,n.text+=r.text):t.push(r);continue}if(r=this.tokenizer.emStrong(e,n,a)){e=e.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.codespan(e)){e=e.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.br(e)){e=e.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.del(e)){e=e.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.autolink(e)){e=e.substring(r.raw.length),t.push(r);continue}if(!this.state.inLink&&(r=this.tokenizer.url(e))){e=e.substring(r.raw.length),t.push(r);continue}let o=e;if(this.options.extensions?.startInline){let t=1/0,n=e.slice(1),r;
vendor: 6,219 bytes, lines 35-46
35this.options.extensions.startInline.forEach(e=>{r=e.call({lexer:this},n),typeof r==`number`&&r>=0&&(t=Math.min(t,r))}),t<1/0&&t>=0&&(o=e.substring(0,t+1))}if(r=this.tokenizer.inlineText(o)){e=e.substring(r.raw.length),r.raw.slice(-1)!==`_`&&(a=r.raw.slice(-1)),i=!0;let n=t.at(-1);n?.type===`text`?(n.raw+=r.raw,n.text+=r.text):t.push(r);continue}if(e){let t=`Infinite loop on byte: `+e.charCodeAt(0);if(this.options.silent){console.error(t);break}else throw Error(t)}}return t}},Vt=class{options;parser;constructor(e){this.options=e||M}space(e){return``}code({text:e,lang:t,escaped:n}){let r=(t||``).match(F.notSpaceStart)?.[0],i=e.replace(F.endingNewline,``)+`
36`;return r?`<pre><code class="language-`+H(r)+`">`+(n?i:H(i,!0))+`</code></pre>
37`:`<pre><code>`+(n?i:H(i,!0))+`</code></pre>
38`}blockquote({tokens:e}){return`<blockquote>\n${this.parser.parse(e)}</blockquote>\n`}html({text:e}){return e}heading({tokens:e,depth:t}){return`<h${t}>${this.parser.parseInline(e)}</h${t}>\n`}hr(e){return`<hr>
39`}list(e){let t=e.ordered,n=e.start,r=``;for(let t=0;t<e.items.length;t++){let n=e.items[t];r+=this.listitem(n)}let i=t?`ol`:`ul`,a=t&&n!==1?` start="`+n+`"`:``;return`<`+i+a+`>
40`+r+`</`+i+`>
41`}listitem(e){let t=``;if(e.task){let n=this.checkbox({checked:!!e.checked});e.loose?e.tokens[0]?.type===`paragraph`?(e.tokens[0].text=n+` `+e.tokens[0].text,e.tokens[0].tokens&&e.tokens[0].tokens.length>0&&e.tokens[0].tokens[0].type===`text`&&(e.tokens[0].tokens[0].text=n+` `+H(e.tokens[0].tokens[0].text),e.tokens[0].tokens[0].escaped=!0)):e.tokens.unshift({type:`text`,raw:n+` `,text:n+` `,escaped:!0}):t+=n+` `}return t+=this.parser.parse(e.tokens,!!e.loose),`<li>${t}</li>\n`}checkbox({checked:e}){return`<input `+(e?`checked="" `:``)+`disabled="" type="checkbox">`}paragraph({tokens:e}){return`<p>${this.parser.parseInline(e)}</p>\n`}table(e){let t=``,n=``;for(let t=0;t<e.header.length;t++)n+=this.tablecell(e.header[t]);t+=this.tablerow({text:n});let r=``;for(let t=0;t<e.rows.length;t++){let i=e.rows[t];n=``;for(let e=0;e<i.length;e++)n+=this.tablecell(i[e]);r+=this.tablerow({text:n})}return r&&=`<tbody>${r}</tbody>`,`<table>
42<thead>
43`+t+`</thead>
44`+r+`</table>
45`}tablerow({text:e}){return`<tr>\n${e}</tr>\n`}tablecell(e){let t=this.parser.parseInline(e.tokens),n=e.header?`th`:`td`;return(e.align?`<${n} align="${e.align}">`:`<${n}>`)+t+`</${n}>\n`}strong({tokens:e}){return`<strong>${this.parser.parseInline(e)}</strong>`}em({tokens:e}){return`<em>${this.parser.parseInline(e)}</em>`}codespan({text:e}){return`<code>${H(e,!0)}</code>`}br(e){return`<br>`}del({tokens:e}){return`<del>${this.parser.parseInline(e)}</del>`}link({href:e,title:t,tokens:n}){let r=this.parser.parseInline(n),i=It(e);if(i===null)return r;e=i;let a=`<a href="`+e+`"`;return t&&(a+=` title="`+H(t)+`"`),a+=`>`+r+`</a>`,a}image({href:e,title:t,text:n}){let r=It(e);if(r===null)return H(n);e=r;let i=`<img src="${e}" alt="${n}"`;return t&&(i+=` title="${H(t)}"`),i+=`>`,i}text(e){return`tokens`in e&&e.tokens?this.parser.parseInline(e.tokens):`escaped`in e&&e.escaped?e.text:H(e.text)}},Ht=class{strong({text:e}){return e}em({text:e}){return e}codespan({text:e}){return e}del({text:e}){return e}html({text:e}){return e}text({text:e}){return e}link({text:e}){return``+e}image({text:e}){return``+e}br(){return``}},K=class e{options;renderer;textRenderer;constructor(e){this.options=e||M,this.options.renderer=this.options.renderer||new Vt,this.renderer=this.options.renderer,this.renderer.options=this.options,this.renderer.parser=this,this.textRenderer=new Ht}static parse(t,n){return new e(n).parse(t)}static parseInline(t,n){return new e(n).parseInline(t)}parse(e,t=!0){let n=``;for(let r=0;r<e.length;r++){let i=e[r];if(this.options.extensions?.renderers?.[i.type]){let e=i,t=this.options.extensions.renderers[e.type].call({parser:this},e);if(t!==!1||![`space`,`hr`,`heading`,`code`,`table`,`blockquote`,`list`,`html`,`paragraph`,`text`].includes(e.type)){n+=t||``;continue}}let a=i;switch(a.type){case`space`:n+=this.renderer.space(a);continue;case`hr`:n+=this.renderer.hr(a);continue;case`heading`:n+=this.renderer.heading(a);continue;case`code`:n+=this.renderer.code(a);continue;case`table`:n+=this.renderer.table(a);continue;case`blockquote`:n+=this.renderer.blockquote(a);continue;case`list`:n+=this.renderer.list(a);continue;case`html`:n+=this.renderer.html(a);continue;case`paragraph`:n+=this.renderer.paragraph(a);continue;case`text`:{let i=a,o=this.renderer.text(i);for(;r+1<e.length&&e[r+1].type===`text`;)i=e[++r],o+=`
46`+this.renderer.text(i);t?n+=this.renderer.paragraph({type:`paragraph`,raw:o,text:o,tokens:[{type:`text`,raw:o,text:o,escaped:!0}]}):n+=o;continue}default:{let e=`Token with "`+a.type+`" type was not found.`;if(this.options.silent)return console.error(e),``;throw Error(e)}}}return n}parseInline(e,t=this.renderer){let n=``;for(let r=0;r<e.length;r++){let i=e[r];if(this.options.extensions?.renderers?.[i.type]){let e=this.options.extensions.renderers[i.type].call({parser:this},i);if(e!==!1||![`escape`,`html`,`link`,`image`,`strong`,`em`,`codespan`,`br`,`del`,`text`].includes(i.type)){n+=e||``;continue}}let a=i;switch(a.type){case`escape`:n+=t.text(a);break;case`html`:n+=t.html(a);break;case`link`:n+=t.link(a);break;case`image`:n+=t.image(a);break;case`strong`:n+=t.strong(a);break;case`em`:n+=t.em(a);break;case`codespan`:n+=t.codespan(a);break;case`br`:n+=t.br(a);break;case`del`:n+=t.del(a);break;case`text`:n+=t.text(a);break;default:{let e=`Token with "`+a.type+`" type was not found.`;if(this.options.silent)return console.error(e),``;throw Error(e)}}}return n}},Ut=class{options;block;constructor(e){this.options=e||M}static passThroughHooks=new Set([`preprocess`,`postprocess`,`processAllTokens`]);preprocess(e){return e}postprocess(e){return e}processAllTokens(e){return e}provideLexer(){return this.block?G.lex:G.lexInline}provideParser(){return this.block?K.parse:K.parseInline}},Wt=class{defaults=ze();options=this.setOptions;parse=this.parseMarkdown(!0);parseInline=this.parseMarkdown(!1);Parser=K;Renderer=Vt;TextRenderer=Ht;Lexer=G;Tokenizer=W;Hooks=Ut;constructor(...e){this.use(...e)}walkTokens(e,t){let n=[];for(let r of e)switch(n=n.concat(t.call(this,r)),r.type){case`table`:{let e=r;
vendor: 4,896 bytes, lines 46-47
46for(let r of e.header)n=n.concat(this.walkTokens(r.tokens,t));for(let r of e.rows)for(let e of r)n=n.concat(this.walkTokens(e.tokens,t));break}case`list`:{let e=r;n=n.concat(this.walkTokens(e.items,t));break}default:{let e=r;this.defaults.extensions?.childTokens?.[e.type]?this.defaults.extensions.childTokens[e.type].forEach(r=>{let i=e[r].flat(1/0);n=n.concat(this.walkTokens(i,t))}):e.tokens&&(n=n.concat(this.walkTokens(e.tokens,t)))}}return n}use(...e){let t=this.defaults.extensions||{renderers:{},childTokens:{}};return e.forEach(e=>{let n={...e};if(n.async=this.defaults.async||n.async||!1,e.extensions&&(e.extensions.forEach(e=>{if(!e.name)throw Error(`extension name required`);if(`renderer`in e){let n=t.renderers[e.name];n?t.renderers[e.name]=function(...t){let r=e.renderer.apply(this,t);return r===!1&&(r=n.apply(this,t)),r}:t.renderers[e.name]=e.renderer}if(`tokenizer`in e){if(!e.level||e.level!==`block`&&e.level!==`inline`)throw Error(`extension level must be 'block' or 'inline'`);let n=t[e.level];n?n.unshift(e.tokenizer):t[e.level]=[e.tokenizer],e.start&&(e.level===`block`?t.startBlock?t.startBlock.push(e.start):t.startBlock=[e.start]:e.level===`inline`&&(t.startInline?t.startInline.push(e.start):t.startInline=[e.start]))}`childTokens`in e&&e.childTokens&&(t.childTokens[e.name]=e.childTokens)}),n.extensions=t),e.renderer){let t=this.defaults.renderer||new Vt(this.defaults);for(let n in e.renderer){if(!(n in t))throw Error(`renderer '${n}' does not exist`);if([`options`,`parser`].includes(n))continue;let r=n,i=e.renderer[r],a=t[r];t[r]=(...e)=>{let n=i.apply(t,e);return n===!1&&(n=a.apply(t,e)),n||``}}n.renderer=t}if(e.tokenizer){let t=this.defaults.tokenizer||new W(this.defaults);for(let n in e.tokenizer){if(!(n in t))throw Error(`tokenizer '${n}' does not exist`);if([`options`,`rules`,`lexer`].includes(n))continue;let r=n,i=e.tokenizer[r],a=t[r];t[r]=(...e)=>{let n=i.apply(t,e);return n===!1&&(n=a.apply(t,e)),n}}n.tokenizer=t}if(e.hooks){let t=this.defaults.hooks||new Ut;for(let n in e.hooks){if(!(n in t))throw Error(`hook '${n}' does not exist`);if([`options`,`block`].includes(n))continue;let r=n,i=e.hooks[r],a=t[r];Ut.passThroughHooks.has(n)?t[r]=e=>{if(this.defaults.async)return Promise.resolve(i.call(t,e)).then(e=>a.call(t,e));let n=i.call(t,e);return a.call(t,n)}:t[r]=(...e)=>{let n=i.apply(t,e);return n===!1&&(n=a.apply(t,e)),n}}n.hooks=t}if(e.walkTokens){let t=this.defaults.walkTokens,r=e.walkTokens;n.walkTokens=function(e){let n=[];return n.push(r.call(this,e)),t&&(n=n.concat(t.call(this,e))),n}}this.defaults={...this.defaults,...n}}),this}setOptions(e){return this.defaults={...this.defaults,...e},this}lexer(e,t){return G.lex(e,t??this.defaults)}parser(e,t){return K.parse(e,t??this.defaults)}parseMarkdown(e){return(t,n)=>{let r={...n},i={...this.defaults,...r},a=this.onError(!!i.silent,!!i.async);if(this.defaults.async===!0&&r.async===!1)return a(Error(`marked(): The async option was set to true by an extension. Remove async: false from the parse options object to return a Promise.`));if(t==null)return a(Error(`marked(): input parameter is undefined or null`));if(typeof t!=`string`)return a(Error(`marked(): input parameter is of type `+Object.prototype.toString.call(t)+`, string expected`));i.hooks&&(i.hooks.options=i,i.hooks.block=e);let o=i.hooks?i.hooks.provideLexer():e?G.lex:G.lexInline,s=i.hooks?i.hooks.provideParser():e?K.parse:K.parseInline;if(i.async)return Promise.resolve(i.hooks?i.hooks.preprocess(t):t).then(e=>o(e,i)).then(e=>i.hooks?i.hooks.processAllTokens(e):e).then(e=>i.walkTokens?Promise.all(this.walkTokens(e,i.walkTokens)).then(()=>e):e).then(e=>s(e,i)).then(e=>i.hooks?i.hooks.postprocess(e):e).catch(a);try{i.hooks&&(t=i.hooks.preprocess(t));let e=o(t,i);i.hooks&&(e=i.hooks.processAllTokens(e)),i.walkTokens&&this.walkTokens(e,i.walkTokens);let n=s(e,i);return i.hooks&&(n=i.hooks.postprocess(n)),n}catch(e){return a(e)}}}onError(e,t){return n=>{if(n.message+=`
47Please report this to https://github.com/markedjs/marked.`,e){let e=`<p>An error occurred:</p><pre>`+H(n.message+``,!0)+`</pre>`;return t?Promise.resolve(e):e}if(t)return Promise.reject(n);throw n}}},q=new Wt;function J(e,t){return q.parse(e,t)}J.options=J.setOptions=function(e){return q.setOptions(e),J.defaults=q.defaults,Be(J.defaults),J},J.getDefaults=ze,J.defaults=M,J.use=function(...e){return q.use(...e),J.defaults=q.defaults,Be(J.defaults),J},J.walkTokens=function(e,t){return q.walkTokens(e,t)},J.parseInline=q.parseInline,J.Parser=K,J.parser=K.parse,J.Renderer=Vt,J.TextRenderer=Ht,J.Lexer=G,J.lexer=G.lex,J.Tokenizer=W,J.Hooks=Ut,J.parse=J,J.options,J.setOptions,J.use,J.walkTokens,J.parseInline,K.parse,G.lex;var Gt={container:`_container_1hbtl_1`},Kt=`markdown-link`,qt=new Wt,Y,Jt=/^(\${1,2})(?!\$)((?:\\.|[^\\\n])*?(?:\\.|[^\\\n\$]))\1(?=[\s?!\.,:?!。,:]|$)/,Yt=/^(\${1,2})\n((?:\\[^]|[^\\])+?)\n\1(?:\n|$)/;
47qt.use({breaks:!0,async:!0,extensions:[{name:`inlineKatex`,level:`inline`,start:e=>{let t,n=e;for(;n;){if(t=n.indexOf(`$`),t===-1)return;if((t===0||n.charAt(t-1)===` `)&&n.substring(t).match(Jt))return t;n=n.substring(t+1).replace(/^\$+/,``)}},tokenizer:e=>{let t=e.match(Jt);if(t)return{type:`inlineKatex`,raw:t[0],text:t[2].trim(),displayMode:t[1].length===2}},renderer:e=>Y?Y.renderToString(e.text,{displayMode:e.displayMode}):e.text},{name:`blockKatex`,level:`block`,tokenizer:e=>{let t=e.match(Yt);if(t)return{type:`blockKatex`,raw:t[0],text:t[2].trim(),displayMode:t[1].length===2}},renderer:e=>Y?Y.renderToString(e.text,{displayMode:e.displayMode}):e.text},{start:e=>e.indexOf(`^`),name:`superscript`,level:`inline`,tokenizer:e=>{let t=e.match(/^\^([^\^]+?)\^/);if(t)return{type:`superscript`,raw:t[0],text:t[1]}},renderer:e=>`<sup>${e.text}</sup>`},{name:`subscript`,level:`inline`,start:e=>e.indexOf(`~`),tokenizer:e=>{let t=e.match(/^\~([^\~]+?)\~/);if(t)return{type:`subscript`,raw:t[0],text:t[1]}},renderer:e=>`<sub>${e.text}</sub>`}],walkTokens:async e=>
47{if(e.type===`inlineKatex`||e.type===`blockKatex`){let{katex:e}=await u(async()=>{let{katex:e}=await import(`./CxQNg-CX2.chunk.js`);return{katex:e}},__vite__mapDeps([0,1]));Y=e}}});var Xt={isLink(e){return e.classList.contains(Kt)},async parse(e,t){if(!e)return``;let n=await qt.parse(e,{renderer:Xt.getRenderer(t)});return a.sanitize(n)},async toPlainText(e){if(!e)return``;let t=await this.parse(e,{focusableLinks:!1});return a.sanitize(t,{ALLOWED_TAGS:[],KEEP_CONTENT:!0}).replace(/\s+/g,` `).trim()},getRenderer(e){let t=new qt.Renderer;return t.heading=({text:e,depth:t})=>`<h${t} class="${{1:`h1`,2:`h2`,3:`h6`,4:`h6`,5:`h6`,6:`h6`}[t]}">${e}</h${t}>`,t.link=({href:t,text:n})=>`<a href="${t}" target="_blank" class="info-link ${Kt}" ${e.focusableLinks?`tabIndex="0"`:`tabIndex="-1"`}>${n}</a>`,t},getContainerClass(){return Gt.container}},Zt=i.encloseNamespace(`shared.shared-utils`),Qt=70,$t=160,en=/^(.*)\s/,tn=`pageTitle`,nn=`pageDescription`,rn=`YYYY-MM-DD`,X={AU:`au`,ENGLAND:`gb`,SCOTLAND:`gb-sct`,US:`us`,INTERNATIONAL:`int`},an={[X.AU]:f.AU,[X.ENGLAND]:f.UK,[X.US]:f.US,[f.AU]:X.AU,[f.UK]:X.ENGLAND,[f.US]:X.US};function on(e){return e?e.substring(0,e.length-3)+`...`:``}function sn(e,t){return e?e.substring(0,t):``}function cn(e,t,n){if(!e)return``;let r=t-n;if(e.length<=r)return e;let i=e.slice(0,r),a=i.match(en);return a?a[1]:i}function Z({title:e,phraseContext:t,product:n}){if(!e)return``;if(!t)return Zt(tn,{title:e,product:n});let r=Qt-(t.phraseHandler(t.titlePhrase,{value:``})?.length??0);return e.length>=r?Zt(tn,{title:e,product:n}):t.phraseHandler(t.titlePhrase,{title:e})}function Q({title:e,description:t,phraseContext:n}){let r=on(sn(t||e,$t));if(!n)return Zt(nn,{description:r});let i=$t-(n.phraseHandler(n.descriptionPhrase,{title:``,description:``})?.length??0);if(e?.length>=i)return Zt(nn,{description:r});let a=on(cn(t,$t,n.phraseHandler(n.descriptionPhrase,{title:e,description:``})?.length??0));return n.phraseHandler(n.descriptionPhrase,{title:e,description:a})}function ln(e,t){return e?.reduce((e,n)=>{let r=an[n.contentRegion]?.toUpperCase();return n.id?.toString()!==t?.toString()||!r?e:[...e,{"@type":`Place`,name:r}]},[])??[]}function un(e,t){let n=e?.datePublished?l.format(e?.datePublished,rn):l.format(e?.dateCreated,rn),r=t?.dateModified?l.format(t?.dateModified,rn):``;return{"@context":`https://schema.org`,"@type":`WebPage`,name:e?.name,description:e?.description,url:d.getCanonicalLink(),publisher:{"@type":`Organization`,name:`ClickView`},datePublished:n,dateModified:r}}function dn(e,t,n){return{"@context":`https://schema.org`,"@type":`VideoObject`,mainEntityOfPage:{"@type":`WebPage`,"@id":t},name:e?.name,description:e?.description,thumbnailUrl:e?.thumbnail?.url,uploadDate:e?.dateCreated,duration:l.getDurationISOString(e?.duration,`milliseconds`),hasPart:[{"@type":`WebPageElement`,isAccessibleForFree:!1,cssSelector:`.${h.GLOBAL_PLAYER_SELECTOR}`},{"@type":`WebPageElement`,isAccessibleForFree:!1,cssSelector:`.${h.RESOURCE_ITEM_SELECTOR}`},{"@type":`WebPageElement`,isAccessibleForFree:!1,cssSelector:`.${h.WELCOME_POPUP_SELECTOR}`}],requiresSubscription:!0,isAccessibleForFree:!1,regionsAllowed:ln(n,e?.id),potentialAction:{"@type":`WatchAction`,actionAccessibilityRequirement:{"@type":`ActionAccessSpecification`,requiresSubscription:!0}}}}async function fn(e,t){let n=[];for(let t of e){let e=await Xt.toPlainText(t.answer);n.push({"@type":`Question`,name:t.question,acceptedAnswer:{"@type":`Answer`,text:e}})}let r={"@context":`https://schema.org`,"@type":`FAQPage`,mainEntity:n};return t&&(r.name=t),r}var $=`ClickView`,pn={setProduct(e){$=e},getDefaultMetadata(e){let{title:t,description:n,canonicalLink:r,phraseContext:i,allowIndexing:a,hrefLang:o,product:s,preload:c}=e;return{title:Z({title:t,phraseContext:i,product:s||$}),description:Q({title:t,description:n,phraseContext:i}),canonicalLink:r,allowIndexing:a,hrefLang:o,preload:c,_helperUsed:!0}},getVideoMetadata(e){let{content:t,canonicalLink:n,phraseContext:r,allowIndexing:i,hrefLang:a,regionAlternatives:o,product:s}=e;return{title:Z({title:t?.name,phraseContext:r,product:s||$}),description:Q({title:t?.name,description:t?.description,phraseContext:r}
47),jsonLd:dn(t,n,o),canonicalLink:n,allowIndexing:i,hrefLang:a,_helperUsed:!0}},getClipMetadata(e){let{content:t,canonicalLink:n,phraseContext:r,allowIndexing:i,product:a}=e;return{title:Z({title:t?.name,phraseContext:r,product:a||$}),description:Q({title:t?.name,description:t?.description||t?._parentVideo?.description,phraseContext:r}),canonicalLink:n,allowIndexing:i}},getInteractiveMetadata(e){let{content:t,canonicalLink:n,phraseContext:r,allowIndexing:i,product:a}=e;return{title:Z({title:t?.name,phraseContext:r,product:a||$}),description:Q({title:t?.name,description:t?.description||t?._parentVideo?.description,phraseContext:r}),canonicalLink:n,allowIndexing:i,_helperUsed:!0}},getPlaylistMetadata(e){let{content:t,canonicalLink:n,phraseContext:r,allowIndexing:i,product:a}=e;return{title:Z({title:t?.name,phraseContext:r,product:a||$}),description:Q({title:t?.name,phraseContext:r}),canonicalLink:n,allowIndexing:i,_helperUsed:!0}},getSeriesMetadata(e){let{content:t,canonicalLink:n,phraseContext:r,allowIndexing:i,product:a}=e;return{title:Z({title:t?.name,phraseContext:r,product:a||$}),description:Q({title:t?.name,description:t?.description,phraseContext:r}),canonicalLink:n,allowIndexing:i,_helperUsed:!0}},getClassificationMetadata(e){let{content:{classification:t,dashboard:n},canonicalLink:r,phraseContext:i,allowIndexing:a,hrefLang:o,product:s}=e;function c(){return t?.externalMetadata?.seo?.title?`${t.externalMetadata?.seo?.title} | ${s||$}`:Z({title:t?.name,phraseContext:i,product:s||$})}function l(){return t?.externalMetadata?.seo?.description?t.externalMetadata?.seo?.description:Q({title:t?.name,phraseContext:i})}return{title:c(),description:l(),canonicalLink:r,allowIndexing:a,jsonLd:n&&un(t,n),hrefLang:o,_helperUsed:!0}},getDiscoverMetadata(e){let{content:t,canonicalLink:n,phraseContext:r,allowIndexing:i,hrefLang:a,product:o}=e;return{title:Z({title:t?.name,phraseContext:r,product:o||$}),description:Q({title:t?.name,phraseContext:r}),canonicalLink:n,allowIndexing:i,hrefLang:a,_helperUsed:!0}},async buildFaqJsonLd(e,t){return await fn(e,t)}};function mn(e){let t=e;t._helperUsed||(t=pn.getDefaultMetadata(t)),ee(t.title);let i=Le();if(!i.hasProvider)throw n.throw(new r(`PageMetadataContext must exist in your application to use this hook`));g.useEffect(()=>{!t||e._isPopupUp||i.hasPageMetadataChanged(t)&&i.setPageMetadata(t)})}export{Re as a,J as i,pn as n,Le as o,Xt as r,mn as t};
48//# sourceMappingURL=Dy8J1lcl.chunk.js.map

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.