PageSourceSearch

https://drpad.it/_nuxt/24e96f2.js

js drpad.it collected 2026-10-08 20:03:05 UTC 50,416 bytes, 1 lines download raw bytes

1(window.webpackJsonp=window.webpackJsonp||[]).push([[75],{868:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var s,i=1,t=arguments.length;i<t;i++)for(var p in s=arguments[i])Object.prototype.hasOwnProperty.call(s,p)&&(e[p]=s[p]);return e},r.apply(this,arguments)},o=this&&this.__spreadArrays||function(){for(var s=0,i=0,e=arguments.length;i<e;i++)s+=arguments[i].length;var t=Array(s),n=0;for(i=0;i<e;i++)for(var a=arguments[i],r=0,o=a.length;r<o;r++,n++)t[n]=a[r];return t};Object.defineProperty(t,"__esModule",{value:!0}),t.render=t.defaultMetaTransformer=t.spanNodeRenderRule=t.renderMarkRule=t.renderSpanValue=t.markToTagName=t.RenderError=t.renderNodeRule=void 0;var l=n(952);function c(mark){switch(mark){case"emphasis":return"em";case"underline":return"u";case"strikethrough":return"del";case"highlight":return"mark";default:return mark}}function d(e){var t=e.node,n=e.key,r=e.adapter,o=r.renderNode,l=r.renderText,c=r.renderFragment,d=t.value.split(/\n/);return 0===d.length?l(t.value,n):c(d.slice(1).reduce((function(e,line,t){return e.concat([o("br",{key:n+"-br-"+t}),l(line,n+"-line-"+t)])}),[l(d[0],n+"-line-first")]),n)}function f(e){var t=e.customMarkRules;return l.renderRule(l.isSpan,(function(e){var n=e.adapter,r=e.key;return(e.node.marks||[]).reduce((function(e,mark){if(e){var o=t.find((function(e){return e.appliable(mark)}));return o?o.apply({adapter:n,key:r,mark:mark,children:e}):n.renderNode(c(mark),{key:r},e)}}),d(e))}))}Object.defineProperty(t,"renderNodeRule",{enumerable:!0,get:function(){return l.renderRule}}),Object.defineProperty(t,"RenderError",{enumerable:!0,get:function(){return l.RenderError}}),t.markToTagName=c,t.renderSpanValue=d,t.renderMarkRule=function(e,t){return{appliable:"string"==typeof e?function(mark){return mark===e}:e,apply:t}},t.spanNodeRenderRule=f;t.defaultMetaTransformer=function(e){var meta=e.meta,t={};return meta.forEach((function(e){["target","title","rel"].includes(e.id)&&(t[e.id]=e.value)})),t},t.render=function(e,n){var c=n.metaTransformer||t.defaultMetaTransformer;return l.render(n.adapter,e,o(n.customNodeRules||[],[l.renderRule(l.isRoot,(function(e){var t=e.adapter.renderFragment,n=e.key;return t(e.children,n)})),l.renderRule(l.isParagraph,(function(e){return(0,e.adapter.renderNode)("p",{key:e.key},e.children)})),l.renderRule(l.isList,(function(e){var t=e.adapter.renderNode,n=e.node,r=e.key,o=e.children;return t("bulleted"===n.style?"ul":"ol",{key:r},o)})),l.renderRule(l.isListItem,(function(e){return(0,e.adapter.renderNode)("li",{key:e.key},e.children)})),l.renderRule(l.isBlockquote,(function(e){var t=e.adapter.renderNode,n=e.key,r=e.node,l=e.children,c=r.attribution?o(l||[],[t("footer",{key:"footer"},r.attribution)]):l;return t("blockquote",{key:n},c)})),l.renderRule(l.isCode,(function(e){var t=e.adapter,n=t.renderNode,r=t.renderText,o=e.key,l=e.node;return n("pre",{key:o,"data-language":l.language},n("code",null,r(l.code)))})),l.renderRule(l.isLink,(function(e){var t=e.adapter.renderNode,n=e.key,o=e.children,l=e.node,meta=l.meta?c({node:l,meta:l.meta}):{};return t("a",r(r({},meta||{}),{key:n,href:l.url}),o)})),l.renderRule(l.isThematicBreak,(function(e){return(0,e.adapter.renderNode)("hr",{key:e.key})})),l.renderRule(l.isHeading,(function(e){var t=e.node,n=e.adapter.renderNode,r=e.children,o=e.key;return n("h"+t.level,{key:o},r)})),f({customMarkRules:n.customMarkRules||[]})]))}},882:function(e,t,n){"use strict";var r,o;n.d(t,"e",(function(){return l})),n.d(t,"d",(function(){return c})),n.d(t,"f",(function(){return d})),n.d(t,"h",(function(){return f})),n.d(t,"i",(function(){return h})),n.d(t,"k",(function(){return y})),n.d(t,"l",(function(){return v})),n.d(t,"m",(function(){return m})),n.d(t,"n",(function(){return N})),n.d(t,"o",(function(){return k})),n.d(t,"p",(function(){return T})),n.d(t,"q",(function(){return O})),n.d(t,"r",(function(){return w})),n.d(t,"c",(function(){return j})),n.d(t,"b",(function(){return S})),n.d(t,"j",(function(){return I})),n.d(t,"a",(function(){return A})),n.d(t,"g",(function(){return E}));var l="blockquote",c="block",d="code",f="heading",h="inlineItem",y="itemLink",v="link",m="listItem",N="list",k="paragraph",T="root",O="span",w="thematicBreak",j=[l,c,d,f,h,y,v,m,N,k,T,O,w],S=((r={})[l]=[k],r[c]=[],r[d]=[],r[f]="inlineNodes",r[h]=[],r[y]="inlineNodes",r[v]="inlineNodes",r[m]=[k,N],r[N]=[m],r[k]="inlineNodes",r[T]=[l,d,N,k,f,c,w],r[O]=[],r[w]=[],r),I=[O,v,y,h],A=((o={})[l]=["children","attribution"],o[c]=["item"],o[d]=["language","highlight","code"],o[f]=["level","children","style"],o[h]=["item"],o[y]=["item","children","meta"],o[v]=["url","children","meta"],o[m]=["children"],o[N]=["style","children"],o[k]=["children","style"],o[T]=["children"],o[O]=["value","marks"],o[w]=[],o),E=["strong","code","emphasis","underline","strikethrough","highlight"]},911:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}
1)),n.d(t,"i",(function(){return l})),n.d(t,"g",(function(){return c})),n.d(t,"p",(function(){return d})),n.d(t,"o",(function(){return f})),n.d(t,"n",(function(){return h})),n.d(t,"l",(function(){return y})),n.d(t,"m",(function(){return v})),n.d(t,"c",(function(){return m})),n.d(t,"b",(function(){return N})),n.d(t,"d",(function(){return k})),n.d(t,"k",(function(){return T})),n.d(t,"j",(function(){return O})),n.d(t,"h",(function(){return w})),n.d(t,"r",(function(){return j})),n.d(t,"q",(function(){return S})),n.d(t,"e",(function(){return I})),n.d(t,"f",(function(){return A}));var r=n(882);function o(e){return"children"in e}function l(e){return r.j.includes(e.type)}function c(e){return e.type===r.h}function d(e){return e.type===r.q}function f(e){return e.type===r.p}function h(e){return e.type===r.o}function y(e){return e.type===r.n}function v(e){return e.type===r.m}function m(e){return e.type===r.e}function N(e){return e.type===r.d}function k(e){return e.type===r.f}function T(e){return e.type===r.l}function O(e){return e.type===r.k}function w(e){return e.type===r.i}function j(e){return e.type===r.r}function S(e){return e&&"value"in e&&I(e.value)}function I(e){return e&&"schema"in e&&"document"in e}function A(e){if(!e)return!0;var t=S(e)?e.value:I(e)?e:null;if(!t)throw new Error("Passed object is neither null, a Structured Text value or a DAST document");return"dast"===t.schema&&1===t.document.children.length&&"paragraph"===t.document.children[0].type&&1===t.document.children[0].children.length&&"span"===t.document.children[0].children[0].type&&""===t.document.children[0].children[0].value}},912:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var p in e)"default"===p||Object.prototype.hasOwnProperty.call(t,p)||r(t,e,p)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(913),t),o(n(927),t),o(n(965),t),o(n(966),t),o(n(967),t)},913:function(e,t,n){"use strict";var r,o;Object.defineProperty(t,"__esModule",{value:!0}),t.defaultMarks=t.allowedAttributes=t.inlineNodeTypes=t.allowedChildren=t.allowedNodeTypes=t.thematicBreakNodeType=t.spanNodeType=t.rootNodeType=t.paragraphNodeType=t.listNodeType=t.listItemNodeType=t.linkNodeType=t.itemLinkNodeType=t.inlineItemNodeType=t.headingNodeType=t.codeNodeType=t.blockNodeType=t.blockquoteNodeType=void 0,t.blockquoteNodeType="blockquote",t.blockNodeType="block",t.codeNodeType="code",t.headingNodeType="heading",t.inlineItemNodeType="inlineItem",t.itemLinkNodeType="itemLink",t.linkNodeType="link",t.listItemNodeType="listItem",t.listNodeType="list",t.paragraphNodeType="paragraph",t.rootNodeType="root",t.spanNodeType="span",t.thematicBreakNodeType="thematicBreak",t.allowedNodeTypes=[t.blockquoteNodeType,t.blockNodeType,t.codeNodeType,t.headingNodeType,t.inlineItemNodeType,t.itemLinkNodeType,t.linkNodeType,t.listItemNodeType,t.listNodeType,t.paragraphNodeType,t.rootNodeType,t.spanNodeType,t.thematicBreakNodeType],t.allowedChildren=((r={})[t.blockquoteNodeType]=[t.paragraphNodeType],r[t.blockNodeType]=[],r[t.codeNodeType]=[],r[t.headingNodeType]="inlineNodes",r[t.inlineItemNodeType]=[],r[t.itemLinkNodeType]="inlineNodes",r[t.linkNodeType]="inlineNodes",r[t.listItemNodeType]=[t.paragraphNodeType,t.listNodeType],r[t.listNodeType]=[t.listItemNodeType],r[t.paragraphNodeType]="inlineNodes",r[t.rootNodeType]=[t.blockquoteNodeType,t.codeNodeType,t.listNodeType,t.paragraphNodeType,t.headingNodeType,t.blockNodeType,t.thematicBreakNodeType],r[t.spanNodeType]=[],r[t.thematicBreakNodeType]=[],r),t.inlineNodeTypes=[t.spanNodeType,t.linkNodeType,t.itemLinkNodeType,t.inlineItemNodeType],t.allowedAttributes=((o={})[t.blockquoteNodeType]=["children","attribution"],o[t.blockNodeType]=["item"],o[t.codeNodeType]=["language","highlight","code"],o[t.headingNodeType]=["level","children","style"],o[t.inlineItemNodeType]=["item"],o[t.itemLinkNodeType]=["item","children","meta"],o[t.linkNodeType]=["url","children","meta"],o[t.listItemNodeType]=["children"],o[t.listNodeType]=["style","children"],o[t.paragraphNodeType]=["children","style"],o[t.rootNodeType]=["children"],o[t.spanNodeType]=["value","marks"],o[t.thematicBreakNodeType]=[],o),t.defaultMarks=["strong","code","emphasis","underline","strikethrough","highlight"]},926:function(e,t,n){"use strict";function r(e){var t=[];return o(e,t),t}function o(e,t){for(var i=0;i<e.length;i++){var n=e[i];Array.isArray(n)?o(n,t):t.push(n)}}n.r(t),n.d(t,"flatten",(function(){return r}))},927:function(e,t,n){"use strict";
1Object.defineProperty(t,"__esModule",{value:!0}),t.isEmptyDocument=t.isDocument=t.isStructuredText=t.isThematicBreak=t.isInlineItem=t.isItemLink=t.isLink=t.isCode=t.isBlock=t.isBlockquote=t.isListItem=t.isList=t.isParagraph=t.isRoot=t.isSpan=t.isHeading=t.isInlineNode=t.hasChildren=void 0;var r=n(913);function o(e){return e&&"value"in e&&l(e.value)}function l(e){return e&&"schema"in e&&"document"in e}t.hasChildren=function(e){return"children"in e},t.isInlineNode=function(e){return r.inlineNodeTypes.includes(e.type)},t.isHeading=function(e){return e.type===r.headingNodeType},t.isSpan=function(e){return e.type===r.spanNodeType},t.isRoot=function(e){return e.type===r.rootNodeType},t.isParagraph=function(e){return e.type===r.paragraphNodeType},t.isList=function(e){return e.type===r.listNodeType},t.isListItem=function(e){return e.type===r.listItemNodeType},t.isBlockquote=function(e){return e.type===r.blockquoteNodeType},t.isBlock=function(e){return e.type===r.blockNodeType},t.isCode=function(e){return e.type===r.codeNodeType},t.isLink=function(e){return e.type===r.linkNodeType},t.isItemLink=function(e){return e.type===r.itemLinkNodeType},t.isInlineItem=function(e){return e.type===r.inlineItemNodeType},t.isThematicBreak=function(e){return e.type===r.thematicBreakNodeType},t.isStructuredText=o,t.isDocument=l,t.isEmptyDocument=function(e){if(!e)return!0;var t=o(e)?e.value:l(e)?e:null;if(!t)throw new Error("Passed object is neither null, a Structured Text value or a DAST document");return"dast"===t.schema&&1===t.document.children.length&&"paragraph"===t.document.children[0].type&&1===t.document.children[0].children.length&&"span"===t.document.children[0].children[0].type&&""===t.document.children[0].children[0].value}},952:function(e,t,n){"use strict";n.r(t),n.d(t,"blockquoteNodeType",(function(){return o.e})),n.d(t,"blockNodeType",(function(){return o.d})),n.d(t,"codeNodeType",(function(){return o.f})),n.d(t,"headingNodeType",(function(){return o.h})),n.d(t,"inlineItemNodeType",(function(){return o.i})),n.d(t,"itemLinkNodeType",(function(){return o.k})),n.d(t,"linkNodeType",(function(){return o.l})),n.d(t,"listItemNodeType",(function(){return o.m})),n.d(t,"listNodeType",(function(){return o.n})),n.d(t,"paragraphNodeType",(function(){return o.o})),n.d(t,"rootNodeType",(function(){return o.p})),n.d(t,"spanNodeType",(function(){return o.q})),n.d(t,"thematicBreakNodeType",(function(){return o.r})),n.d(t,"allowedNodeTypes",(function(){return o.c})),n.d(t,"allowedChildren",(function(){return o.b})),n.d(t,"inlineNodeTypes",(function(){return o.j})),n.d(t,"allowedAttributes",(function(){return o.a})),n.d(t,"defaultMarks",(function(){return o.g})),n.d(t,"hasChildren",(function(){return l.a})),n.d(t,"isInlineNode",(function(){return l.i})),n.d(t,"isHeading",(function(){return l.g})),n.d(t,"isSpan",(function(){return l.p})),n.d(t,"isRoot",(function(){return l.o})),n.d(t,"isParagraph",(function(){return l.n})),n.d(t,"isList",(function(){return l.l})),n.d(t,"isListItem",(function(){return l.m})),n.d(t,"isBlockquote",(function(){return l.c})),n.d(t,"isBlock",(function(){return l.b})),n.d(t,"isCode",(function(){return l.d})),n.d(t,"isLink",(function(){return l.k})),n.d(t,"isItemLink",(function(){return l.j})),n.d(t,"isInlineItem",(function(){return l.h})),n.d(t,"isThematicBreak",(function(){return l.r})),n.d(t,"isStructuredText",(function(){return l.q})),n.d(t,"isDocument",(function(){return l.e})),n.d(t,"isEmptyDocument",(function(){return l.f})),n.d(t,"RenderError",(function(){return h})),n.d(t,"renderRule",(function(){return y})),n.d(t,"transformNode",(function(){return v})),n.d(t,"render",(function(){return m})),n.d(t,"validate",(function(){return k}));var r,o=n(882),l=n(911),c=n(926),d=(r=function(e,b){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,b){e.__proto__=b}||function(e,b){for(var p in b)Object.prototype.hasOwnProperty.call(b,p)&&(e[p]=b[p])},r(e,b)},function(e,b){function t(){this.constructor=e}r(e,b),e.prototype=null===b?Object.create(b):(t.prototype=b.prototype,new t)}),f=function(){for(var s=0,i=0,e=arguments.length;i<e;i++)s+=arguments[i].length;var t=Array(s),n=0;for(i=0;i<e;i++)for(var a=arguments[i],r=0,o=a.length;r<o;r++,n++)t[n]=a[r];return t},h=function(e){function t(n,r){var o=e.call(this,n)||this;return o.node=r,Object.setPrototypeOf(o,t.prototype),o}return d(t,e),t}(Error),y=function(e,t){return{appliable:e,apply:function(e){return t(e)}}};function v(e,t,n,r,o){var d=Object(l.a)(t)?Object(c.flatten)(t.children.map((function(n,l){return v(e,n,"t-"+l,f([t],r),o)})).filter((function(e){return!!e}))):void 0,y=o.find((function(e){return e.appliable(t)}
1));if(y)return y.apply({adapter:e,node:t,children:d,key:n,ancestors:r});throw new h("Don't know how to render a node with type \""+t.type+'". Please specify a custom renderRule for it!',t)}function m(e,t,n){return t?v(e,Object(l.q)(t)?t.value.document:Object(l.e)(t)?t.document:t,"t-0",[],n):null}var N=function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(null!=s&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]])}return t};function k(e){if(null==e)return{valid:!0};if("dast"!==e.schema)return{valid:!1,message:'.schema is not "dast":\n\n '+JSON.stringify(e,null,2)};for(var t=[e.document],n=e.document,r=function(){var e=t.pop();if(!e)return"break";(n=e).type;var r=N(n,["type"]),l=Object.keys(r).find((function(e){return!o.a[n.type].includes(e)}));if(l)return{value:{valid:!1,message:'"'+n.type+'" has an invalid attribute "'+l+'":\n\n '+JSON.stringify(n,null,2)}};if("meta"in n){if(!Array.isArray(n.meta))return{value:{valid:!1,message:'"'+n.type+"\"'s meta is not an Array:\n\n "+JSON.stringify(n,null,2)}};var c=n.meta.find((function(e){return"object"!=typeof e||!("id"in e)||!("value"in e)||"string"!=typeof e.value}));if(c)return{value:{valid:!1,message:'"'+n.type+'" has an invalid meta '+JSON.stringify(c)+":\n\n "+JSON.stringify(n,null,2)}}}if("marks"in n&&!Array.isArray(n.marks))return{value:{valid:!1,message:'"'+n.type+"\"'s marks is not an Array:\n\n "+JSON.stringify(n,null,2)}};if("children"in n){if(!Array.isArray(n.children))return{value:{valid:!1,message:'"'+n.type+"\"'s children is not an Array:\n\n "+JSON.stringify(n,null,2)}};if(0===n.children.length)return{value:{valid:!1,message:'"'+n.type+"\"'s children cannot be an empty Array:\n\n "+JSON.stringify(n,null,2)}};var d=o.b[n.type];"string"==typeof d&&"inlineNodes"===d&&(d=o.j);var f=n.children.findIndex((function(e){return!e||!d.includes(e.type)}));if(-1!==f){var h=n.children[f];return{value:{valid:!1,message:'"'+n.type+'" has invalid child "'+(h?h.type:h)+'":\n\n '+JSON.stringify(n,null,2)}}}for(var i=n.children.length-1;i>=0;i--)t.push(n.children[i])}};t.length>0;){var l=r();if("object"==typeof l)return l.value;if("break"===l)break}return{valid:!0}}},958:function(e,t,n){"use strict";var r=n(10),o=n(145).findIndex,l=n(146),c="findIndex",d=!0;c in[]&&Array(1)[c]((function(){d=!1})),r({target:"Array",proto:!0,forced:d},{findIndex:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),l(c)},959:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ne}));var r=n(964),o=n.n(r),l=n(960),c=n(868);n.d(t,"b",(function(){return c.renderNodeRule}));var d=n(912);n(961);const f=()=>"undefined"==typeof window,h=()=>!f()&&!!window.IntersectionObserver;var y=Object.defineProperty,v=Object.getOwnPropertySymbols,m=Object.prototype.hasOwnProperty,N=Object.prototype.propertyIsEnumerable,k=(e,t,n)=>t in e?y(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,T=(a,b)=>{for(var e in b||(b={}))m.call(b,e)&&k(a,e,b[e]);if(v)for(var e of v(b))N.call(b,e)&&k(a,e,b[e]);return a};const O=Object(l.defineComponent)({props:{srcset:{type:String},sizes:{type:String},type:{type:String}},setup:({srcset:e,sizes:t,type:n})=>()=>Object(l.h)("source",T(T({},l.isVue2&&{attrs:{srcset:e,sizes:t,type:n}}),l.isVue3&&{srcset:e,sizes:t,type:n}))});var w=Object.defineProperty,j=Object.getOwnPropertySymbols,S=Object.prototype.hasOwnProperty,I=Object.prototype.propertyIsEnumerable,A=(e,t,n)=>t in e?w(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,E=(a,b)=>{for(var e in b||(b={}))S.call(b,e)&&A(a,e,b[e]);if(j)for(var e of j(b))I.call(b,e)&&A(a,e,b[e]);return a};const R=t=>f()?e.from(t.toString(),"binary").toString("base64"):window.btoa(t),x=Object(l.defineComponent)({props:{sizerClass:{type:String},sizerStyle:{type:Object,default:()=>({})},width:{type:Number},height:{type:Number},explicitWidth:{type:Boolean}},setup({sizerClass:e,sizerStyle:t,width:n,height:r,explicitWidth:o}){const svg=`<svg xmlns="http://www.w3.org/2000/svg" width="${n}" height="${r}"></svg>`;return()=>
1Object(l.h)("img",E(E({class:e,style:E({display:"block",width:o?`${n}px`:"100%"},t)},l.isVue2&&{attrs:{src:`data:image/svg+xml;base64,${R(svg)}`,role:"presentation"}}),l.isVue3&&{src:`data:image/svg+xml;base64,${R(svg)}`,role:"presentation"}))}});var P=Object.defineProperty,V=Object.defineProperties,L=Object.getOwnPropertyDescriptors,_=Object.getOwnPropertySymbols,C=Object.prototype.hasOwnProperty,D=Object.prototype.propertyIsEnumerable,F=(e,t,n)=>t in e?P(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,M=(a,b)=>{for(var e in b||(b={}))C.call(b,e)&&F(a,e,b[e]);if(_)for(var e of _(b))D.call(b,e)&&F(a,e,b[e]);return a},z=(a,b)=>V(a,L(b));const B=s=>s=(s=(s=(s=(s=(s=""+s).replace(/&/g,"&amp;")).replace(/</g,"&lt;")).replace(/>/g,"&gt;")).replace(/"/g,"&quot;")).replace(/'/g,"&#39;"),$=object=>{if(!object)return null;let e="";for(var t in object)Object.prototype.hasOwnProperty.call(object,t)&&object[t]&&(e+=`${o()(t)}: ${object[t]}; `);return e.length>0?e:null},J=(e,t,content)=>{const n=[];if(t)for(var r in t)if(Object.prototype.hasOwnProperty.call(t,r)){const e=t[r];e&&n.push(`${B(r)}="${B(e)}"`)}const o=n.length>0?` ${n.join(" ")}`:"";return content?`<${e}${o}>${content.join("")}</${e}>`:`<${e}${o} />`},U={position:"absolute",left:"0px",top:"0px",width:"100%",height:"100%"},W=(e,t,n)=>{if(e&&t)return n.map((n=>{const r=new URL(e);if(1!==n){r.searchParams.set("dpr",`${n}`);const e=r.searchParams.get("max-h"),t=r.searchParams.get("max-w");e&&r.searchParams.set("max-h",`${Math.floor(parseInt(e)*n)}`),t&&r.searchParams.set("max-w",`${Math.floor(parseInt(t)*n)}`)}const o=Math.floor(t*n);return o<50?null:`${r.toString()} ${o}w`})).filter(Boolean).join(",")};Object(l.defineComponent)({name:"DatocmsImage",props:{data:{type:Object,required:!0},pictureClass:{type:String},fadeInDuration:{type:Number},intersectionTreshold:{type:Number,default:0},intersectionThreshold:{type:Number},intersectionMargin:{type:String,default:"0px 0px 0px 0px"},lazyLoad:{type:Boolean,default:!0},rootStyle:{type:Object,default:()=>({})},pictureStyle:{type:Object,default:()=>({})},explicitWidth:{type:Boolean},layout:{type:String,default:()=>"responsive",validator:e=>["intrinsic","fixed","responsive","fill"].includes(e)},objectFit:{type:String},objectPosition:{type:String},usePlaceholder:{type:Boolean,default:!0},sizes:{type:String},priority:{type:Boolean,default:!1},srcSetCandidates:{type:Array,validator:e=>e.every((e=>"number"==typeof e)),default:()=>[.25,.5,.75,1,1.5,2,3,4]}},setup(e){const t=Object(l.ref)(!1);function n(){t.value=!0}const{inView:r,elRef:o}=(({threshold:e,rootMargin:t})=>{const n=Object(l.ref)(null),r=Object(l.ref)(null),o=Object(l.ref)(!1);return Object(l.onMounted)((()=>{h()&&(n.value=new IntersectionObserver((e=>{e.some((({isIntersecting:e})=>e))&&n.value&&(o.value=!0,n.value.disconnect())}),{threshold:e,rootMargin:t}),r.value&&n.value.observe(r.value))})),Object(l.onBeforeUnmount)((()=>{h()&&n.value&&n.value.disconnect()})),{inView:o,elRef:r}})({threshold:e.intersectionThreshold||e.intersectionTreshold||0,rootMargin:e.intersectionMargin||"0px 0px 0px 0px"}),c=Object(l.ref)(!e.priority&&e.lazyLoad),d=Object(l.ref)();return Object(l.watchEffect)((()=>{d.value&&d.value.complete&&d.value.naturalWidth&&n()})),{inView:r,elRef:o,loaded:t,handleLoad:n,computedLazyLoad:c,imageRef:d}},render(){var e,t,n,r,o,c,d,y,v,m,N;const k=(({lazyLoad:e,inView:t,loaded:n})=>!e||!f()&&(!h()||t||n))({lazyLoad:this.computedLazyLoad,inView:this.inView,loaded:this.loaded}),T=(({lazyLoad:e,loaded:t})=>!e||!f()&&(!h()||t))({lazyLoad:this.computedLazyLoad,inView:this.inView,loaded:this.loaded}),w=this.data.webpSrcSet&&Object(l.h)(O,M(M({},l.isVue2&&{props:{srcset:this.data.webpSrcSet,sizes:null!=(t=null!=(e=this.sizes)?e:this.data.sizes)?t:void 0,type:"image/webp"}}),l.isVue3&&{srcset:this.data.webpSrcSet,sizes:null!=(r=null!=(n=this.sizes)?n:this.data.sizes)?r:void 0,type:"image/webp"})),j=this.data.srcSet&&Object(l.h)(O,M(M({},l.isVue2&&{props:{srcset:null!=(o=this.data.srcSet)?o:W(this.data.src,this.data.width,this.srcSetCandidates),sizes:null!=(d=null!=(c=this.sizes)?c:this.data.sizes)?d:void 0}}),l.isVue3&&{srcset:null!=(y=this.data.srcSet)?y:W(this.data.src,this.data.width,this.srcSetCandidates),sizes:null!=(m=null!=(v=this.sizes)?v:this.data.sizes)?m:void 0})),S=void 0===this.fadeInDuration||this.fadeInDuration>0?`opacity ${this.fadeInDuration||500}ms ${this.fadeInDuration||500}ms`:void 0,I=this.usePlaceholder&&(this.data.bgColor||this.data.base64)?Object(l.h)("div",{"aria-hidden":"true",style:{backgroundImage:this.data.base64?`url(${this.data.base64})`:null,backgroundColor:this.data.bgColor,backgroundSize:"cover",opacity:T?0:1,objectFit:this.objectFit,objectPosition:this.objectPosition,transition:S,position:"absolute",left:"-5%",top:"-5%",width:"110%",height:"110%"}}):null,{width:A,aspectRatio:E}=this.data,R=null!=(N=this.data.height)?N:E?A/E:0,P="fill"!==this.layout?Object(l.h)(x,M(M({},l.isVue2&&{props:{sizerClass:this.pictureClass,sizerStyle:this.pictureStyle,width:A,height:R,explicitWidth:this.explicitWidth}}),l.isVue3&&{sizerClass:this.pictureClass,sizerStyle:this.pictureStyle,width:A,height:R,explicitWidth:this.explicitWidth})):null;return Object(l.h)("div",{style:M(M({display:this.explicitWidth?"inline-block":"block",overflow:"hidden"},"fill"===this.layout?U:"intrinsic"===this.layout?{position:"relative",width:"100%",maxWidth:`${A}px`}:"fixed"===this.layout?{position:"relative",width:`${A}px`}:{position:"relative"}),this.rootStyle),ref:"elRef"},[P,I,k&&Object(l.h)("picture",null,[w,j,this.data.src&&Object(l.h)("img",z(M(M({},l.isVue2&&{attrs:{src:this.data.src,alt:this.data.alt,title:this.data.title,fetchpriority:this.priority?"high":void 0},on:{load:this.handleLoad}}),l.isVue3&&{src:this.data.src,alt:this.data.alt,title:this.data.title,fetchpriority:this.priority?"high":void 0,onLoad:this.handleLoad}),{ref:"imageRef",class:this.pictureClass,style:M(z(M({opacity:T?1:0,transition:S},U),{objectFit:this.objectFit,objectPosition:this.objectPosition}),this.pictureStyle)}))]),Object(l.h)("noscript",M(M({},l.isVue2&&{domProps:{innerHTML:J("picture",{},[this.data.webpSrcSet&&J("source",{srcset:this.data.webpSrcSet,sizes:this.data.sizes,type:"image/webp"}),this.data.srcSet&&J("source",{srcset:this.data.srcSet,sizes:this.data.sizes}),J("img",{src:this.data.src,alt:this.data.alt,title:this.data.title,class:this.pictureClass,style:$(M(z(M({},U),{objectFit:this.objectFit,objectPosition:this.objectPosition}),this.pictureStyle)),loading:this.computedLazyLoad?"lazy":void 0,fetchpriority:this.priority?"high":void 0})])}}),l.isVue3&&{innerHTML:J("picture",{},[this.data.webpSrcSet&&J("source",{srcset:this.data.webpSrcSet,sizes:this.data.sizes,type:"image/webp"}),this.data.srcSet&&J("source",{srcset:this.data.srcSet,sizes:this.data.sizes}),J("img",{src:this.data.src,alt:this.data.alt,title:this.data.title,class:this.pictureClass,style:$(M(M({},this.pictureStyle),U)),loading:this.computedLazyLoad?"lazy":void 0,fetchpriority:this.priority?"high":void 0})])}))])}});var G=Object.defineProperty,H=Object.getOwnPropertySymbols,Q=Object.prototype.hasOwnProperty,Y=Object.prototype.propertyIsEnumerable,X=(e,t,n)=>t in e?G(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Z=(a,b)=>{for(var e in b||(b={}))Q.call(b,e)&&X(a,e,b[e]);if(H)for(var e of H(b))Y.call(b,e)&&X(a,e,b[e]);return a};const K=(e,t,n)=>{const r=t||{},{href:o,target:c,rel:d}=r,f=((source,e)=>{var t={};for(var n in source)Q.call(source,n)&&e.indexOf(n)<0&&(t[n]=source[n]);if(null!=source&&H)for(var n of H(source))e.indexOf(n)<0&&Y.call(source,n)&&(t[n]=source[n]);return t})(r,["href","target","rel"]);return Object(l.h)(e,Z(Z({},l.isVue2&&Z({attrs:{href:o,target:c,rel:d}},f)),l.isVue3&&t),void 0===n||Array.isArray(n)?n:[n])},ee={renderNode:K,renderMark:K,renderFragment:(e,t)=>
1e,renderText:(text,e)=>text};function te(element,e){return null!==element&&"string"!=typeof element&&null===element.key&&(element.key=e),element}const ne=Object(l.defineComponent)({name:"DatocmsStructuredText",props:{data:{type:Object},customRules:{type:Array},customNodeRules:{type:Array},customMarkRules:{type:Array},renderInlineRecord:{type:Function},renderLinkToRecord:{type:Function},renderBlock:{type:Function},metaTransformer:{type:Function},renderText:{type:Function},renderNode:{type:Function},renderFragment:{type:Function}},setup:e=>()=>Object(c.render)(e.data,{adapter:{renderText:e.renderText||ee.renderText,renderNode:e.renderNode||ee.renderNode,renderFragment:e.renderFragment||ee.renderFragment},metaTransformer:e.metaTransformer,customMarkRules:e.customMarkRules,customNodeRules:[Object(c.renderNodeRule)(d.isRoot,(({adapter:{renderNode:e},key:t,children:n})=>e("div",{key:t},n))),Object(c.renderNodeRule)(d.isInlineItem,(({node:t,key:n})=>{if(!e.renderInlineRecord)throw new d.RenderError("The Structured Text document contains an 'inlineItem' node, but no 'renderInlineRecord' prop is specified!",t);if(!Object(d.isStructuredText)(e.data)||!e.data.links)throw new d.RenderError("The Structured Text document contains an 'inlineItem' node, but .links is not present!",t);const r=e.data.links.find((e=>e.id===t.item));if(!r)throw new d.RenderError(`The Structured Text document contains an 'inlineItem' node, but cannot find a record with ID ${t.item} inside .links!`,t);return te(e.renderInlineRecord({record:r}),n)})),Object(c.renderNodeRule)(d.isItemLink,(({node:t,key:n,children:r})=>{if(!e.renderLinkToRecord)throw new d.RenderError("The Structured Text document contains an 'itemLink' node, but no 'renderLinkToRecord' prop is specified!",t);if(!Object(d.isStructuredText)(e.data)||!e.data.links)throw new d.RenderError("The Structured Text document contains an 'itemLink' node, but .links is not present!",t);const o=e.data.links.find((e=>e.id===t.item));if(!o)throw new d.RenderError(`The Structured Text document contains an 'itemLink' node, but cannot find a record with ID ${t.item} inside .links!`,t);return te(e.renderLinkToRecord({record:o,children:r,transformedMeta:t.meta?(e.metaTransformer||c.defaultMetaTransformer)({node:t,meta:t.meta}):null}),n)})),Object(c.renderNodeRule)(d.isBlock,(({node:t,key:n})=>{if(!e.renderBlock)throw new d.RenderError("The Structured Text document contains a 'block' node, but no 'renderBlock' prop is specified!",t);if(!Object(d.isStructuredText)(e.data)||!e.data.blocks)throw new d.RenderError("The Structured Text document contains a 'block' node, but .blocks is not present!",t);const r=e.data.blocks.find((e=>e.id===t.item));if(!r)throw new d.RenderError(`The Structured Text document contains a 'block' node, but cannot find a record with ID ${t.item} inside .blocks!`,t);return te(e.renderBlock({record:r}),n)})),...e.customNodeRules||e.customRules||[]]})});Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable}).call(this,n(62).Buffer)},960:function(e,t,n){var r=n(7),o=r.default||r;t.Vue=o,t.Vue2=o,t.isVue2=!0,t.isVue3=!1,t.install=function(){},t.warn=o.util.warn,t.createApp=function(e,t){var n,r={},l={config:o.config,use:o.use.bind(o),mixin:o.mixin.bind(o),component:o.component.bind(o),provide:function(e,t){return r[e]=t,this},directive:function(e,t){return t?(o.directive(e,t),l):o.directive(e)},mount:function(l,c){return n||((n=new o(Object.assign({propsData:t},e,{provide:Object.assign(r,e.provide)}))).$mount(l,c),n)},unmount:function(){n&&(n.$destroy(),n=void 0)}};return l},Object.keys(r).forEach((function(e){t[e]=r[e]}))},961:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var desc=Object.getOwnPropertyDescriptor(t,n);
1desc&&!("get"in desc?!t.__esModule:desc.writable||desc.configurable)||(desc={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,desc)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var p in e)"default"===p||Object.prototype.hasOwnProperty.call(t,p)||r(t,e,p)};t.__esModule=!0,o(n(962),t)},962:function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,b){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,b){e.__proto__=b}||function(e,b){for(var p in b)Object.prototype.hasOwnProperty.call(b,p)&&(e[p]=b[p])},r(e,b)},function(e,b){if("function"!=typeof b&&null!==b)throw new TypeError("Class extends value "+String(b)+" is not a constructor or null");function t(){this.constructor=e}r(e,b),e.prototype=null===b?Object.create(b):(t.prototype=b.prototype,new t)}),l=this&&this.__assign||function(){return l=Object.assign||function(e){for(var s,i=1,t=arguments.length;i<t;i++)for(var p in s=arguments[i])Object.prototype.hasOwnProperty.call(s,p)&&(e[p]=s[p]);return e},l.apply(this,arguments)},c=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(o,l){function c(e){try{f(r.next(e))}catch(e){l(e)}}function d(e){try{f(r.throw(e))}catch(e){l(e)}}function f(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(c,d)}f((r=r.apply(e,t||[])).next())}))},d=this&&this.__generator||function(e,body){var t,n,r,g,o={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return g={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(g[Symbol.iterator]=function(){return this}),g;function l(l){return function(c){return function(l){if(t)throw new TypeError("Generator is already executing.");for(;o;)try{if(t=1,n&&(r=2&l[0]?n.return:l[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,l[1])).done)return r;switch(n=0,r&&(l=[2&l[0],r.value]),l[0]){case 0:case 1:r=l;break;case 4:return o.label++,{value:l[1],done:!1};case 5:o.label++,n=l[1],l=[0];continue;case 7:l=o.ops.pop(),o.trys.pop();continue;default:if(!(r=o.trys,(r=r.length>0&&r[r.length-1])||6!==l[0]&&2!==l[0])){o=0;continue}if(3===l[0]&&(!r||l[1]>r[0]&&l[1]<r[3])){o.label=l[1];break}if(6===l[0]&&o.label<r[1]){o.label=r[1],r=l;break}if(r&&o.label<r[2]){o.label=r[2],o.ops.push(l);break}r[2]&&o.ops.pop(),o.trys.pop();continue}l=body.call(e,o)}catch(e){l=[6,e],n=0}finally{t=r=0}if(5&l[0])throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}([l,c])}}};t.__esModule=!0,t.subscribeToQuery=t.InvalidResponseError=t.Response400Error=t.Response500Error=void 0;var f=n(963),h="undefined"!=typeof MessageEvent?MessageEvent:function(e,t){this.type=e,this.data=null==t?void 0:t.data},y=function(e){function t(n,r){var o=e.call(this,n)||this;return Object.setPrototypeOf(o,t.prototype),o.response=r,o}return o(t,e),t}(Error);t.Response500Error=y;var v=function(e){function t(n,r){var o=e.call(this,n)||this;return Object.setPrototypeOf(o,t.prototype),o.response=r,o}return o(t,e),t}(Error);t.Response400Error=v;var m=function(e){function t(n,r){var o=e.call(this,n)||this;return Object.setPrototypeOf(o,t.prototype),o.response=r,o}return o(t,e),t}(Error);t.InvalidResponseError=m,t.subscribeToQuery=function e(t){return c(this,void 0,void 0,(function(){var n,r,o,N,k,T,O,w,j,S,I,A,E,R,x,P,V,L,_,C,D,F,M,z,B,$,J,U=this;return d(this,(function(W){switch(W.label){case 0:n=t.query,r=t.token,o=t.variables,N=t.preview,k=t.includeDrafts,T=t.excludeInvalid,O=t.environment,w=t.fetcher,j=t.eventSourceClass,S=t.onStatusChange,I=t.onUpdate,A=t.onChannelError,E=t.onError,R=t.onEvent,x=t.reconnectionPeriod,P=t.baseUrl,V=w||window.fetch,L=j||window.EventSource,_=Math.min(x||1e3,2e4),C=P||"https://graphql-listen.datocms.com",D=function(){return c(U,void 0,void 0,(function(){return d(this,(function(n){switch(n.label){case 0:return[4,new Promise((function(e){return setTimeout(e,_)}))];case 1:return n.sent(),[2,e(l(l({},t),{reconnectionPeriod:2*_*(.2*Math.random()-.1+1)}))]}}))}))},S&&S("connecting"),W.label=1;case 1:return W.trys.push([1,4,,5]),M="string"==typeof n?n:(0,f.print)(n),[4,V(C,{headers:l(l(l({Authorization:"Bearer ".concat(r),Accept:"application/json"},O?{"X-Environment":O}:{}),k||N?{"X-Include-Drafts":"true"}:{}),T?{"X-Exclude-Invalid":"true"}:{}),method:"POST",body:JSON.stringify({query:M,variables:o})})];case 2:if((z=W.sent()).status>=300&&z.status<500)throw new v("Invalid status code: ".concat(z.status," ").concat(z.statusText),z);if(z.status>=500)throw new y("Invalid status code: ".concat(z.status," ").concat(z.statusText),z);if("application/json"!==z.headers.get("Content-Type"))throw new m
1("Invalid content type: ".concat(z.headers.get("Content-Type")),z);return[4,z.json()];case 3:return B=W.sent(),F=B.url,R&&R({status:"connecting",channelUrl:F,message:"Received channel URL",response:z}),[3,5];case 4:if($=W.sent(),E&&(J=new h("FetchError",{data:$}),E(J)),$ instanceof v)throw $;return S&&S("closed"),[2,D()];case 5:return[2,new Promise((function(e){var t=new L(F),n=!1,r=function(){2!==t.readyState&&(n=!0,t.close())};t.addEventListener("open",(function(){S&&S("connected"),e(r)}));var o=setInterval((function(){2===t.readyState&&(clearInterval(o),S&&S("closed"),n||D())}),300);t.addEventListener("update",(function(e){var t=JSON.parse(e.data);I(t)})),t.addEventListener("channelError",(function(e){var r=JSON.parse(e.data);r.fatal&&(n=!0),A&&A(r),t.close()})),t.addEventListener("onerror",(function(e){E&&E(e),t.close()}))}))]}}))}))}},963:function(e,t,n){"use strict";n.r(t),n.d(t,"BREAK",(function(){return z})),n.d(t,"GraphQLError",(function(){return c})),n.d(t,"Kind",(function(){return o})),n.d(t,"OperationTypeNode",(function(){return l})),n.d(t,"parse",(function(){return D})),n.d(t,"parseType",(function(){return M})),n.d(t,"parseValue",(function(){return F})),n.d(t,"print",(function(){return G})),n.d(t,"printBlockString",(function(){return J})),n.d(t,"printString",(function(){return $})),n.d(t,"valueFromASTUntyped",(function(){return H})),n.d(t,"valueFromTypeNode",(function(){return Q})),n.d(t,"visit",(function(){return B}));var i,r,o={NAME:"Name",DOCUMENT:"Document",OPERATION_DEFINITION:"OperationDefinition",VARIABLE_DEFINITION:"VariableDefinition",SELECTION_SET:"SelectionSet",FIELD:"Field",ARGUMENT:"Argument",FRAGMENT_SPREAD:"FragmentSpread",INLINE_FRAGMENT:"InlineFragment",FRAGMENT_DEFINITION:"FragmentDefinition",VARIABLE:"Variable",INT:"IntValue",FLOAT:"FloatValue",STRING:"StringValue",BOOLEAN:"BooleanValue",NULL:"NullValue",ENUM:"EnumValue",LIST:"ListValue",OBJECT:"ObjectValue",OBJECT_FIELD:"ObjectField",DIRECTIVE:"Directive",NAMED_TYPE:"NamedType",LIST_TYPE:"ListType",NON_NULL_TYPE:"NonNullType"},l={QUERY:"query",MUTATION:"mutation",SUBSCRIPTION:"subscription"};class c extends Error{constructor(e,t,i,n,a,r,o){super(e),this.name="GraphQLError",this.message=e,a&&(this.path=a),t&&(this.nodes=Array.isArray(t)?t:[t]),i&&(this.source=i),n&&(this.positions=n),r&&(this.originalError=r);var l=o;if(!l&&r){var u=r.extensions;u&&"object"==typeof u&&(l=u)}this.extensions=l||{}}toJSON(){return{...this,message:this.message}}toString(){return this.message}get[Symbol.toStringTag](){return"GraphQLError"}}function d(e){return new c(`Syntax Error: Unexpected token at ${r} in ${e}`)}function f(e){if(e.lastIndex=r,e.test(i))return i.slice(r,r=e.lastIndex)}var a=/ +(?=[^\s])/y;function h(e){for(var t=e.split("\n"),i="",n=0,r=0,o=t.length-1,l=0;l<t.length;l++)a.lastIndex=0,a.test(t[l])&&(l&&(!n||a.lastIndex<n)&&(n=a.lastIndex),r=r||l,o=l);for(var u=r;u<=o;u++)u!==r&&(i+="\n"),i+=t[u].slice(n).replace(/\\"""/g,'"""');return i}function y(){for(var e=0|i.charCodeAt(r++);9===e||10===e||13===e||32===e||35===e||44===e||65279===e;e=0|i.charCodeAt(r++))if(35===e)for(;10!==(e=i.charCodeAt(r++))&&13!==e;);r--}var v=/[_A-Za-z]\w*/y;function m(){var e;if(e=f(v))return{kind:"Name",value:e}}var N=/(?:null|true|false)/y,k=/\$[_A-Za-z]\w*/y,u=/-?\d+/y,T=/(?:\.\d+)?[eE][+-]?\d+|\.\d+/y,O=/\\/g,s=/"""(?:"""|(?:[\s\S]*?[^\\])""")/y,w=/"(?:"|[^\r\n]*?[^\\]")/y;function j(e){var t,a;if(a=f(N))t="null"===a?{kind:"NullValue"}:{kind:"BooleanValue",value:"true"===a};else if(!e&&(a=f(k)))t={kind:"Variable",name:{kind:"Name",value:a.slice(1)}};else if(a=f(u)){var n=a;t=(a=f(T))?{kind:"FloatValue",value:n+a}:{kind:"IntValue",value:n}}else if(a=f(v))t={kind:"EnumValue",value:a};else if(a=f(s))t={kind:"StringValue",value:h(a.slice(3,-3)),block:!0};else if(a=f(w))t={kind:"StringValue",value:O.test(a)?JSON.parse(a):a.slice(1,-1),block:!1};else if(t=function(e){var t;if(91===i.charCodeAt(r)){r++,y();for(var a=[];t=j(e);)a.push(t);if(93!==i.charCodeAt(r++))throw d("ListValue");return y(),{kind:"ListValue",values:a}}}(e)||function(e){if(123===i.charCodeAt(r)){r++,y();for(var a,t=[];a=m();){if(y(),58!==i.charCodeAt(r++))throw d("ObjectField");y();var n=j(e);if(!n)throw d("ObjectField");t.push({kind:"ObjectField",name:a,value:n})}if(125!==i.charCodeAt(r++))throw d("ObjectValue");return y(),{kind:"ObjectValue",fields:t}}}(e))return t;return y(),t}function S(e){var t=[];if(y(),40===i.charCodeAt(r)){var a;for(r++,y();a=m();){if(y(),58!==i.charCodeAt(r++))throw d("Argument");y();var n=j(e);if(!n)throw d("Argument");t.push({kind:"Argument",name:a,value:n})}if(!t.length||41!==i.charCodeAt(r++))throw d("Argument");y()}return t}function I(e){var t=[];for(y();64===i.charCodeAt(r);){r++;var a=m();if(!a)throw d("Directive");y(),t.push({kind:"Directive",name:a,arguments:S(e)})}return t}function A(){var e=m();if(e){var t;if(y(),58===i.charCodeAt(r)){if(r++,y(),t=e,!(e=m()))throw d("Field");y()}return{kind:"Field",alias:t,name:e,arguments:S(!1),directives:I(!1),selectionSet:V()}}}function E(){var e;if(y(),91===i.charCodeAt(r)){r++,y();var t=E();if(!t||93!==i.charCodeAt(r++))throw d("ListType");e={kind:"ListType",type:t}}else{if(!(e=m()))throw d("NamedType");e={kind:"NamedType",name:e}}return y(),33===i.charCodeAt(r)?(r++,y(),{kind:"NonNullType",type:e}):e}var R=/on/y;function x(){if(f(R)){y();var e=m();if(!e)throw d("NamedType");return y(),{kind:"NamedType",name:e}}}var p=/\.\.\./y;function P(){if(f(p)){y();var e,t=r;if((e=m())&&"on"!==e.value)return{kind:"FragmentSpread",name:e,directives:I(!1)};r=t;var i=x(),a=I(!1),n=V();if(!n)throw d("InlineFragment");return{kind:"InlineFragment",typeCondition:i,directives:a,selectionSet:n}}}function V(){var e;if(y(),123===i.charCodeAt(r)){r++,y();for(var t=[];e=P()||A();)t.push(e);if(!t.length||125!==i.charCodeAt(r++))throw d("SelectionSet");return y(),{kind:"SelectionSet",selections:t}}}var L=/fragment/y;function _(){if(f(L)){y();var e=m();if(!e)throw d("FragmentDefinition");y();var t=x();if(!t)throw d("FragmentDefinition");var i=I(!1),n=V();if(!n)throw d("FragmentDefinition");return{kind:"FragmentDefinition",name:e,typeCondition:t,directives:i,selectionSet:n}}}var g=/(?:query|mutation|subscription)/y;function C(){var e,t,a=[],n=[];(e=f(g))&&(y(),t=m(),a=function(){var e,t=[];if(y(),40===i.charCodeAt(r)){for(r++,y();e=f(k);){if(y(),58!==i.charCodeAt(r++))throw d("VariableDefinition");var a=E(),n=void 0;if(61===i.charCodeAt(r)&&(r++,y(),!(n=j(!0))))throw d("VariableDefinition");y(),t.push({kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:e.slice(1)}},type:a,defaultValue:n,directives:I(!0)})}if(41!==i.charCodeAt(r++))throw d("VariableDefinition");y()}return t}(),n=I(!1));var o=V();if(o)return{kind:"OperationDefinition",operation:e||"query",name:t,variableDefinitions:a,directives:n,selectionSet:o}}function D(e,t){return i="string"==typeof e.body?e.body:e,r=0,function(){var e;y();for(var t=[];e=_()||C();)t.push(e);return{kind:"Document",definitions:t}}()}function F(e,t){i="string"==typeof e.body?e.body:e,r=0,y();var a=j(!1);if(!a)throw d("ValueNode");return a}function M(e,t){return i="string"==typeof e.body?e.body:e,r=0,E()}var z={};function B(e,t){var i=[],n=[];try{var a=function e(r,a,o){var l,c=!1,d=t[r.kind]&&t[r.kind].enter||t[r.kind]||t.enter,u=d&&d.call(t,r,a,o,n,i);if(!1===u)return r;if(null===u)return null;if(u===z)throw z;u&&"string"==typeof u.kind&&(c=u!==r,r=u),o&&i.push(o);var f={...r};for(var s in r){n.push(s);var h=r[s];if(Array.isArray(h)){for(var y=[],p=0;p<h.length;p++)null!=h[p]&&"string"==typeof h[p].kind&&(i.push(r),n.push(p),l=e(h[p],p,h),n.pop(),i.pop(),null==l?c=!0:(c=c||l!==h[p],y.push(l)));h=y}else null!=h&&"string"==typeof h.kind&&void 0!==(l=e(h,s,r))&&(c=c||h!==l,h=l);n.pop(),c&&(f[s]=h)}o&&i.pop();var v=t[r.kind]&&t[r.kind].leave||t.leave,g=v&&v.call(t,r,a,o,n,i);if(g===z)throw z;return void 0!==g?g:void 0!==u?c?f:u:c?f:r}(e);return void 0!==a&&!1!==a?a:e}catch(t){if(t!==z)throw t;return e}}function $(e){return JSON.stringify(e)}function J(e){return'"""\n'+e.replace(/"""/g,'\\"""')+'\n"""'}var U=e=>!(!e||!e.length),W={OperationDefinition(e){if("query"===e.operation&&!e.name&&!U(e.variableDefinitions)&&!U(e.directives))return W.SelectionSet(e.selectionSet);var t=e.operation;return e.name&&(t+=" "+e.name.value),U(e.variableDefinitions)&&(e.name||(t+=" "),t+="("+e.variableDefinitions.map(W.VariableDefinition).join(", ")+")"),U(e.directives)&&(t+=" "+e.directives.map(W.Directive).join(" ")),t+" "+W.SelectionSet(e.selectionSet)},VariableDefinition(e){var t=W.Variable(e.variable)+": "+G(e.type);return e.defaultValue&&(t+=" = "+G(e.defaultValue)),U(e.directives)&&(t+=" "+e.directives.map(W.Directive).join(" ")),t},Field(e){var t=(e.alias?e.alias.value+": ":"")+e.name.value;
1if(U(e.arguments)){var i=e.arguments.map(W.Argument),n=t+"("+i.join(", ")+")";t=n.length>80?t+"(\n  "+i.join("\n").replace(/\n/g,"\n  ")+"\n)":n}return U(e.directives)&&(t+=" "+e.directives.map(W.Directive).join(" ")),e.selectionSet?t+" "+W.SelectionSet(e.selectionSet):t},StringValue:e=>e.block?J(e.value):$(e.value),BooleanValue:e=>""+e.value,NullValue:e=>"null",IntValue:e=>e.value,FloatValue:e=>e.value,EnumValue:e=>e.value,Name:e=>e.value,Variable:e=>"$"+e.name.value,ListValue:e=>"["+e.values.map(G).join(", ")+"]",ObjectValue:e=>"{"+e.fields.map(W.ObjectField).join(", ")+"}",ObjectField:e=>e.name.value+": "+G(e.value),Document:e=>U(e.definitions)?e.definitions.map(G).join("\n\n"):"",SelectionSet:e=>"{\n  "+e.selections.map(G).join("\n").replace(/\n/g,"\n  ")+"\n}",Argument:e=>e.name.value+": "+G(e.value),FragmentSpread(e){var t="..."+e.name.value;return U(e.directives)&&(t+=" "+e.directives.map(W.Directive).join(" ")),t},InlineFragment(e){var t="...";return e.typeCondition&&(t+=" on "+e.typeCondition.name.value),U(e.directives)&&(t+=" "+e.directives.map(W.Directive).join(" ")),t+" "+G(e.selectionSet)},FragmentDefinition(e){var t="fragment "+e.name.value;return t+=" on "+e.typeCondition.name.value,U(e.directives)&&(t+=" "+e.directives.map(W.Directive).join(" ")),t+" "+G(e.selectionSet)},Directive(e){var t="@"+e.name.value;return U(e.arguments)&&(t+="("+e.arguments.map(W.Argument).join(", ")+")"),t},NamedType:e=>
1e.name.value,ListType:e=>"["+G(e.type)+"]",NonNullType:e=>G(e.type)+"!"};function G(e){return W[e.kind]?W[e.kind](e):""}function H(e,t){switch(e.kind){case"NullValue":return null;case"IntValue":return parseInt(e.value,10);case"FloatValue":return parseFloat(e.value);case"StringValue":case"EnumValue":case"BooleanValue":return e.value;case"ListValue":for(var i=[],n=0,a=e.values;n<a.length;n+=1)i.push(H(a[n],t));return i;case"ObjectValue":for(var r=Object.create(null),o=0,l=e.fields;o<l.length;o+=1){var u=l[o];r[u.name.value]=H(u.value,t)}return r;case"Variable":return t&&t[e.name.value]}}function Q(e,t,i){if("Variable"===e.kind)return i?Q(i[e.name.value],t,i):void 0;if("NonNullType"===t.kind)return"NullValue"!==e.kind?Q(e,t,i):void 0;if("NullValue"===e.kind)return null;if("ListType"===t.kind){if("ListValue"===e.kind){for(var n=[],a=0,r=e.values;a<r.length;a+=1){var o=Q(r[a],t.type,i);if(void 0===o)return;n.push(o)}return n}}else if("NamedType"===t.kind)switch(t.name.value){case"Int":case"Float":case"String":case"Bool":return t.name.value+"Value"===e.kind?H(e,i):void 0;default:return H(e,i)}}},964:function(e,t,n){"use strict";var r=/[A-Z]/g,o=/^ms-/,l={};function c(e){return"-"+e.toLowerCase()}e.exports=function(e){if(l.hasOwnProperty(e))return l[e];var t=e.replace(r,c);return l[e]=o.test(t)?"-"+t:t}},965:function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,b){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,b){e.__proto__=b}||function(e,b){for(var p in b)Object.prototype.hasOwnProperty.call(b,p)&&(e[p]=b[p])},r(e,b)},function(e,b){function t(){this.constructor=e}r(e,b),e.prototype=null===b?Object.create(b):(t.prototype=b.prototype,new t)}),l=this&&this.__spreadArrays||function(){for(var s=0,i=0,e=arguments.length;i<e;i++)s+=arguments[i].length;var t=Array(s),n=0;for(i=0;i<e;i++)for(var a=arguments[i],r=0,o=a.length;r<o;r++,n++)t[n]=a[r];return t};Object.defineProperty(t,"__esModule",{value:!0}),t.render=t.transformNode=t.renderRule=t.RenderError=void 0;var c=n(927),d=n(926),f=function(e){function t(n,r){var o=e.call(this,n)||this;return o.node=r,Object.setPrototypeOf(o,t.prototype),o}return o(t,e),t}(Error);t.RenderError=f;function h(e,t,n,r,o){var y=c.hasChildren(t)?d.flatten(t.children.map((function(n,c){return h(e,n,"t-"+c,l([t],r),o)})).filter((function(e){return!!e}))):void 0,v=o.find((function(e){return e.appliable(t)}));if(v)return v.apply({adapter:e,node:t,children:y,key:n,ancestors:r});throw new f("Don't know how to render a node with type \""+t.type+'". Please specify a custom renderRule for it!',t)}t.renderRule=function(e,t){return{appliable:e,apply:function(e){return t(e)}}},t.transformNode=h,t.render=function(e,t,n){return t?h(e,c.isStructuredText(t)?t.value.document:c.isDocument(t)?t.document:t,"t-0",[],n):null}},966:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},967:function(e,t,n){"use strict";var r=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(null!=s&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]])}return t};Object.defineProperty(t,"__esModule",{value:!0}),t.validate=void 0;var o=n(913);t.validate=function(e){if(null==e)return{valid:!0};if("dast"!==e.schema)return{valid:!1,message:'.schema is not "dast":\n\n '+JSON.stringify(e,null,2)};for(var t=[e.document],n=e.document,l=function(){var e=t.pop();if(!e)return"break";(n=e).type;var l=r(n,["type"]),c=Object.keys(l).find((function(e){return!o.allowedAttributes[n.type].includes(e)}));if(c)return{value:{valid:!1,message:'"'+n.type+'" has an invalid attribute "'+c+'":\n\n '+JSON.stringify(n,null,2)}};if("meta"in n){if(!Array.isArray(n.meta))return{value:{valid:!1,message:'"'+n.type+"\"'s meta is not an Array:\n\n "+JSON.stringify(n,null,2)}};var d=n.meta.find((function(e){return"object"!=typeof e||!("id"in e)||!("value"in e)||"string"!=typeof e.value}));
1if(d)return{value:{valid:!1,message:'"'+n.type+'" has an invalid meta '+JSON.stringify(d)+":\n\n "+JSON.stringify(n,null,2)}}}if("marks"in n&&!Array.isArray(n.marks))return{value:{valid:!1,message:'"'+n.type+"\"'s marks is not an Array:\n\n "+JSON.stringify(n,null,2)}};if("children"in n){if(!Array.isArray(n.children))return{value:{valid:!1,message:'"'+n.type+"\"'s children is not an Array:\n\n "+JSON.stringify(n,null,2)}};if(0===n.children.length)return{value:{valid:!1,message:'"'+n.type+"\"'s children cannot be an empty Array:\n\n "+JSON.stringify(n,null,2)}};var f=o.allowedChildren[n.type];"string"==typeof f&&"inlineNodes"===f&&(f=o.inlineNodeTypes);var h=n.children.findIndex((function(e){return!e||!f.includes(e.type)}));if(-1!==h){var y=n.children[h];return{value:{valid:!1,message:'"'+n.type+'" has invalid child "'+(y?y.type:y)+'":\n\n '+JSON.stringify(n,null,2)}}}for(var i=n.children.length-1;i>=0;i--)t.push(n.children[i])}};t.length>0;){var c=l();if("object"==typeof c)return c.value;if("break"===c)break}return{valid:!0}}}}]);

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.