1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="12113946-5f5c-34b8-52e7-0187fa3ee4b0")}catch(e){}}(); 2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,118878,277517,e=>{"use strict";var t,n,i,a=e.i(843476),o="Document",c="FragmentDefinition";class l extends Error{constructor(e,t,n,i,a,o,c){super(e),this.name="GraphQLError",this.message=e,a&&(this.path=a),t&&(this.nodes=Array.isArray(t)?t:[t]),n&&(this.source=n),i&&(this.positions=i),o&&(this.originalError=o);var l=c;if(!l&&o){var u=o.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 u(e){return new l(`Syntax Error: Unexpected token at ${i} in ${e}`)}function s(e){if(e.lastIndex=i,e.test(n))return n.slice(i,i=e.lastIndex)}var d=/ +(?=[^\s])/y;function f(){for(var e=0|n.charCodeAt(i++);9===e||10===e||13===e||32===e||35===e||44===e||65279===e;e=0|n.charCodeAt(i++))if(35===e)for(;
2(e=0|n.charCodeAt(i++))&&10!==e&&13!==e;);i--}function h(){for(var e=i,t=0|n.charCodeAt(i++);t>=48&&t<=57||t>=65&&t<=90||95===t||t>=97&&t<=122;t=0|n.charCodeAt(i++));if(e===i-1)throw u("Name");var a=n.slice(e,--i);return f(),a}function p(){return{kind:"Name",value:h()}}var v=/(?:"""|(?:[\s\S]*?[^\\])""")/y,m=/(?:(?:\.\d+)?[eE][+-]?\d+|\.\d+)/y;function g(e){var t;switch(n.charCodeAt(i)){case 91:i++,f();for(var a=[];93!==n.charCodeAt(i);)a.push(g(e));return i++,f(),{kind:"ListValue",values:a};case 123:i++,f();for(var o=[];125!==n.charCodeAt(i);){var c=p();if(58!==n.charCodeAt(i++))throw u("ObjectField");f(),o.push({kind:"ObjectField",name:c,value:g(e)})}return i++,f(),{kind:"ObjectValue",fields:o};case 36:if(e)throw u("Variable");return i++,{kind:"Variable",name:p()};case 34:if(34===n.charCodeAt(i+1)&&34===n.charCodeAt(i+2)){if(i+=3,null==(t=s(v)))throw u("StringValue");return f(),{kind:"StringValue",value:function(e){for(var t=e.split("\n"),n="",i=0,a=0,o=t.length-1,c=0;c<t.length;c++)d.lastIndex=0,d.test(t[c])&&(c&&(!i||d.lastIndex<i)&&(i=d.lastIndex),a=a||c,o=c);for(var l=a;l<=o;l++)l!==a&&(n+="\n"),n+=t[l].slice(i).replace(/\\"""/g,'"""');return n}(t.slice(0,-3)),block:!0}}var l,y=i;i++;var b=!1;
2for(l=0|n.charCodeAt(i++);92===l&&(i++,b=!0)||10!==l&&13!==l&&34!==l&&l;l=0|n.charCodeAt(i++));if(34!==l)throw u("StringValue");return t=n.slice(y,i),f(),{kind:"StringValue",value:b?JSON.parse(t):t.slice(1,-1),block:!1};case 45:case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:for(var k,w=i++;(k=0|n.charCodeAt(i++))>=48&&k<=57;);var S=n.slice(w,--i);if(46!==(k=n.charCodeAt(i))&&69!==k&&101!==k)return f(),{kind:"IntValue",value:S};if(null==(t=s(m)))throw u("FloatValue");return f(),{kind:"FloatValue",value:S+t};case 110:if(117===n.charCodeAt(i+1)&&108===n.charCodeAt(i+2)&&108===n.charCodeAt(i+3))return i+=4,f(),{kind:"NullValue"};break;case 116:if(114===n.charCodeAt(i+1)&&117===n.charCodeAt(i+2)&&101===n.charCodeAt(i+3))return i+=4,f(),{kind:"BooleanValue",value:!0};break;case 102:if(97===n.charCodeAt(i+1)&&108===n.charCodeAt(i+2)&&115===n.charCodeAt(i+3)&&101===n.charCodeAt(i+4))return i+=5,f(),{kind:"BooleanValue",value:!1}}return{kind:"EnumValue",value:h()}}function y(e){if(40===n.charCodeAt(i)){var t=[];i++,f();do{var a=p();if(58!==n.charCodeAt(i++))throw u("Argument");f(),t.push({kind:"Argument",name:a,value:g(e)})}while(41!==n.charCodeAt(i))return i++,f(),t}}function b(e){if(64===n.charCodeAt(i)){var t=[];do i++,t.push({kind:"Directive",name:p(),arguments:y(e)});while(64===n.charCodeAt(i))return t}}function k(){if(123!==n.charCodeAt(i++))throw u("SelectionSet");return f(),w()}function w(){var e=[];do if(46===n.charCodeAt(i)){if(46!==n.charCodeAt(++i)||46!==n.charCodeAt(++i))throw u("SelectionSet");switch(i++,f(),n.charCodeAt(i)){case 64:e.push({kind:"InlineFragment",typeCondition:void 0,directives:b(!1),selectionSet:k()});break;case 111:110===n.charCodeAt(i+1)?(i+=2,f(),e.push({kind:"InlineFragment",typeCondition:{kind:"NamedType",name:p()},directives:b(!1),selectionSet:k()})):e.push({kind:"FragmentSpread",name:p(),directives:b(!1)});break;case 123:i++,f(),e.push({kind:"InlineFragment",typeCondition:void 0,directives:void 0,selectionSet:w()});break;default:e.push({kind:"FragmentSpread",name:p(),directives:b(!1)})}}else{var t=p(),a=void 0;58===n.charCodeAt(i)&&(i++,f(),a=t,t=p());var o=y(!1),c=b(!1),l=void 0;123===n.charCodeAt(i)&&(i++,f(),l=w()),e.push({kind:"Field",alias:a,name:t,arguments:o,directives:c,selectionSet:l})}while(125!==n.charCodeAt(i))return i++,f(),{kind:"SelectionSet",selections:e}}function S(e,t,n){for(var i="",a=0;a<e.length;a++)a&&(i+=t),i+=n(e[a]);return i}var C="\n",O={OperationDefinition(e){var t="";e.description&&(t+=O.StringValue(e.description)+"\n"),t+=e.operation,e.name&&(t+=" "+e.name.value),e.variableDefinitions&&e.variableDefinitions.length&&(e.name||(t+=" "),t+="("+S(e.variableDefinitions,", ",O.VariableDefinition)+")"),e.directives&&e.directives.length&&(t+=" "+S(e.directives," ",O.Directive));var n=O.SelectionSet(e.selectionSet);return"query"!==t?t+" "+n:n},VariableDefinition(e){var t="";return e.description&&(t+=O.StringValue(e.description)+" "),t+=O.Variable(e.variable)+": "+A(e.type),e.defaultValue&&(t+=" = "+A(e.defaultValue)),e.directives&&e.directives.length&&(t+=" "+S(e.directives," ",O.Directive)),t},Field(e){var t=e.alias?e.alias.value+": "+e.name.value:e.name.value;if(e.arguments&&e.arguments.length){var n=S(e.arguments,", ",O.Argument);t.length+n.length+2>80?t+="("+(C+=" ")+S(e.arguments,C,O.Argument)+(C=C.slice(0,-2))+")":t+="("+n+")"}return e.directives&&e.directives.length&&(t+=" "+S(e.directives," ",O.Directive)),e.selectionSet&&e.selectionSet.selections.length&&(t+=" "+O.SelectionSet(e.selectionSet)),t}
2,StringValue:e=>e.block?('"""\n'+e.value.replace(/"""/g,'\\"""')+'\n"""').replace(/\n/g,C):JSON.stringify(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=>"["+S(e.values,", ",A)+"]",ObjectValue:e=>"{"+S(e.fields,", ",O.ObjectField)+"}",ObjectField:e=>e.name.value+": "+A(e.value),Document:e=>e.definitions&&e.definitions.length?S(e.definitions,"\n\n",A):"",SelectionSet:e=>"{"+(C+=" ")+S(e.selections,C,A)+(C=C.slice(0,-2))+"}",Argument:e=>e.name.value+": "+A(e.value),FragmentSpread(e){var t="..."+e.name.value;return e.directives&&e.directives.length&&(t+=" "+S(e.directives," ",O.Directive)),t},InlineFragment(e){var t="...";return e.typeCondition&&(t+=" on "+e.typeCondition.name.value),e.directives&&e.directives.length&&(t+=" "+S(e.directives," ",O.Directive)),t+" "+O.SelectionSet(e.selectionSet)},FragmentDefinition(e){var t="";return e.description&&(t+=O.StringValue(e.description)+"\n"),t+="fragment "+e.name.value+" on "+e.typeCondition.name.value,e.directives&&e.directives.length&&(t+=" "+S(e.directives," ",O.Directive)),t+" "+O.SelectionSet(e.selectionSet)},Directive(e){var t="@"+e.name.value;return e.arguments&&e.arguments.length&&(t+="("+S(e.arguments,", ",O.Argument)+")"),t},NamedType:e=>
2e.name.value,ListType:e=>"["+A(e.type)+"]",NonNullType:e=>A(e.type)+"!"},A=e=>O[e.kind](e),T=(t=function(e,n){return(t=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,n)},function(e,n){if("function"!=typeof n&&null!==n)throw TypeError("Class extends value "+String(n)+" is not a constructor or null");function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}),x=function(){return(x=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var a in t=arguments[n])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e}).apply(this,arguments)},j=function(e,t,n,i){return new(n||(n=Promise))(function(a,o){function c(e){try{u(i.next(e))}catch(e){o(e)}}function l(e){try{u(i.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?a(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(c,l)}u((i=i.apply(e,t||[])).next())})},F=function(e,t){var n,i,a,o={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]},c=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return c.next=l(0),c.throw=l(1),c.return=l(2),"function"==typeof Symbol&&(c[Symbol.iterator]=function(){return this}),c;function l(l){return function(u){var s=[l,u];if(n)throw TypeError("Generator is already executing.");for(;c&&(c=0,s[0]&&(o=0)),o;)try{if(n=1,i&&(a=2&s[0]?i.return:s[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,s[1])).done)return a;switch(i=0,a&&(s=[2&s[0],a.value]),s[0]){case 0:case 1:a=s;break;case 4:return o.label++,{value:s[1],done:!1};case 5:o.label++,i=s[1],s=[0];continue;case 7:s=o.ops.pop(),o.trys.pop();continue;default:if(!(a=(a=o.trys).length>0&&a[a.length-1])&&(6===s[0]||2===s[0])){o=0;continue}if(3===s[0]&&(!a||s[1]>a[0]&&s[1]<a[3])){o.label=s[1];break}if(6===s[0]&&o.label<a[1]){o.label=a[1],a=s;break}
2if(a&&o.label<a[2]){o.label=a[2],o.ops.push(s);break}a[2]&&o.ops.pop(),o.trys.pop();continue}s=t.call(e,o)}catch(e){s=[6,e],i=0}finally{n=a=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}}},N=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&0>t.indexOf(i)&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,i=Object.getOwnPropertySymbols(e);a<i.length;a++)0>t.indexOf(i[a])&&Object.prototype.propertyIsEnumerable.call(e,i[a])&&(n[i[a]]=e[i[a]]);return n},E="u">typeof MessageEvent?MessageEvent:function(e,t){this.type=e,this.data=null==t?void 0:t.data},I=function(e){function t(n,i){var a=e.call(this,n)||this;return Object.setPrototypeOf(a,t.prototype),a.response=i,a}return T(t,e),t}(Error),P=function(e){function t(n,i){var a=e.call(this,n)||this;return Object.setPrototypeOf(a,t.prototype),a.response=i,a}return T(t,e),t}(Error),V=function(e){function t(n,i){var a=e.call(this,n)||this;return Object.setPrototypeOf(a,t.prototype),a.response=i,a}return T(t,e),t}(Error),D=e.i(271645);e.i(247167);var L=Object.prototype.hasOwnProperty;function _(e,t,n){for(n of e.keys())if(R(n,t))return n}function R(e,t){var n,i,a;if(e===t)return!0;if(e&&t&&(n=e.constructor)===t.constructor){if(n===Date)return e.getTime()===t.getTime();if(n===RegExp)return e.toString()===t.toString();if(n===Array){if((i=e.length)===t.length)for(;i--&&R(e[i],t[i]););return -1===i}if(n===Set){if(e.size!==t.size)return!1;for(i of e)if((a=i)&&"object"==typeof a&&!(a=_(t,a))||!t.has(a))return!1;return!0}if(n===Map){if(e.size!==t.size)return!1;for(i of e)if((a=i[0])&&"object"==typeof a&&!(a=_(t,a))||!R(i[1],t.get(a)))return!1;return!0}if(n===ArrayBuffer)e=new Uint8Array(e),t=new Uint8Array(t);else if(n===DataView){if((i=e.byteLength)===t.byteLength)for(;i--&&e.getInt8(i)===t.getInt8(i););return -1===i}if(ArrayBuffer.isView(e)){if((i=e.byteLength)===t.byteLength)for(;i--&&e[i]===t[i];);return -1===i}if(!n||"object"==typeof e){for(n in i=0,e)if(L.call(e,n)&&++i&&!L.call(t,n)||!(n in t)||!R(e[n],t[n]))return!1;return Object.keys(t).length===i}}return e!=e&&t!=t}var B=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&0>t.indexOf(i)&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,i=Object.getOwnPropertySymbols(e);a<i.length;a++)0>t.indexOf(i[a])&&Object.prototype.propertyIsEnumerable.call(e,i[a])&&(n[i[a]]=e[i[a]]);return n},U=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&0>t.indexOf(i)&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,i=Object.getOwnPropertySymbols(e);a<i.length;a++)0>t.indexOf(i[a])&&Object.prototype.propertyIsEnumerable.call(e,i[a])&&(n[i[a]]=e[i[a]]);return n};e.s(["generateRealtimeComponent",0,({contentComponent:e})=>t=>{var{pageProps:n}=t;let{data:i,error:o}=function(e){var t,n,i,a;let{enabled:o,initialData:c}=e,l=B(e,["enabled","initialData"]),[u,s]=(0,D.useState)(null),[d,f]=(0,D.useState)(null),[h,p]=(0,D.useState)(o?"connecting":"closed");return t=()=>{let e;return!1===o?(p("closed"),()=>{}):(!function(){var t,n,i,a;t=this,n=void 0,i=void 0,a=function*(){e=yield function e(t){return j(this,void 0,void 0,function(){var n,i,a,o,c,l,u,s,d,f,h,p,v,m,g,y,b,k,w,S,A,T,D=this;return F(this,function(L){switch(L.label){case 0:n=t.query,i=t.variables,a=t.fetcher,o=t.eventSourceClass,c=t.onStatusChange,l=t.onUpdate,u=t.onChannelError,s=t.onError,d=t.onEvent,f=t.reconnectionPeriod,h=t.baseUrl,p=N(t,["query","variables","fetcher","eventSourceClass","onStatusChange","onUpdate","onChannelError","onError","onEvent","reconnectionPeriod","baseUrl"]),v=a||window.fetch,m=o||window.EventSource,g=Math.min(f||1e3,2e4),y=h||"https://graphql-listen.datocms.com",b=function(){return j(D,void 0,void 0,function(){return F(this,function(n){switch(n.label){case 0:return[4,new Promise(function(e){return setTimeout(e,g)})];case 1:return n.sent(),[2,e(x(x({},t),{reconnectionPeriod:2*g*(1+(.2*Math.random()-.1))}))]}})})},c&&c("connecting"),L.label=1;case 1:var _,R,B;return L.trys.push([1,4,,5]),w="string"==typeof n?n:(C="\n",O[(_=n).kind]?O[_.kind](_):""),[4,v(y,{headers:(R=p,B={Accept:"application/json",Authorization:"Bearer ".concat(R.token)},R.includeDrafts&&(B["X-Include-Drafts"]="true"),R.excludeInvalid&&(B["X-Exclude-Invalid"]="true"),R.environment&&(B["X-Environment"]=R.environment),R.returnCacheTags&&(B["X-Cache-Tags"]="true"),R.contentLink&&(B["X-Visual-Editing"]=R.contentLink),R.baseEditingUrl&&(B["X-Base-Editing-Url"]=R.baseEditingUrl),R.referer&&(B.Referer=R.referer),B),method:"POST",body:JSON.stringify({query:w,variables:i})})];case 2:if((S=L.sent()).status>=300&&S.status<500)throw new P("Invalid status code: ".concat(S.status," ").concat(S.statusText),S);if(S.status>=500)throw new I("Invalid status code: ".concat(S.status," ").concat(S.statusText),S);if("application/json"!==S.headers.get("Content-Type"))throw new V("Invalid content type: ".concat(S.headers.get("Content-Type")),S);return[4,S.json()];case 3:return k=L.sent().url,d&&d({status:"connecting",channelUrl:k,message:"Received channel URL",response:S}),[3,5];case 4:if(A=L.sent(),s&&(T=new E("FetchError",{data:A}),s(T)),A instanceof P)throw A;return c&&c("closed"),[2,b()];case 5:return[2,new Promise(function(e){var t=new m(k),n=!1,i=function(){2!==t.readyState&&(n=!0,t.close())};t.addEventListener("open",function(){c&&c("connected"),e(i)});var a=setInterval(function(){2===t.readyState&&(clearInterval(a),c&&c("closed"),n||b())},300);t.addEventListener("update",function(e){var t=JSON.parse(e.data);l(t)}),t.addEventListener("channelError",function(e){var i=JSON.parse(e.data);i.fatal&&(n=!0),u&&u(i),t.close()}),t.addEventListener("onerror",function(e){s&&s(e),t.close()})})]}})})}(Object.assign(Object.assign({},l),{onStatusChange:e=>{p(e)}
2,onUpdate:e=>{s(null),f(e.response.data)},onChannelError:e=>{f(null),s(e)}}))},new(i||(i=Promise))(function(e,o){function c(e){try{u(a.next(e))}catch(e){o(e)}}function l(e){try{u(a.throw(e))}catch(e){o(e)}}function u(t){var n;t.done?e(t.value):((n=t.value)instanceof i?n:new i(function(e){e(n)})).then(c,l)}u((a=a.apply(t,n||[])).next())})}(),()=>{e&&e()})},n=[l],D.useEffect(t,(i=D.useRef(n),a=D.useRef(0),R(n,i.current)||(i.current=n,a.current+=1),D.useMemo(function(){return i.current},[a.current]))),{error:u,status:h,data:d||c}}(U(t,["pageProps"]));return o?(0,a.jsxs)("div",{children:[(0,a.jsx)("pre",{children:o.code}),": ",o.message,(0,a.jsx)("pre",{children:JSON.stringify(o.response,null,2)})]}):i?(0,a.jsx)(e,Object.assign({},n,{data:i,isDraftModeEnabled:!0})):null}],118878);var q=0,M=new Set;function G(){function e(e,t){var a,l,s=(n=e.body?e.body:e,i=0,f(),{kind:"Document",definitions:function(){var e=[];do{var t=void 0;if(34===n.charCodeAt(i)&&(t=g(!0)),123===n.charCodeAt(i)){if(t)throw u("Document");i++,f(),e.push({kind:"OperationDefinition",operation:"query",name:void 0,variableDefinitions:void 0,directives:void 0,selectionSet:w()})}else{var a=h();switch(a){case"fragment":e.push(function(e){var t=p();if(111!==n.charCodeAt(i++)||110!==n.charCodeAt(i++))throw u("FragmentDefinition");f();var a={kind:"FragmentDefinition",name:t,typeCondition:{kind:"NamedType",name:p()},directives:b(!1),selectionSet:k()};return e&&(a.description=e),a}(t));break;case"query":case"mutation":case"subscription":var o,c=void 0;40!==(o=n.charCodeAt(i))&&64!==o&&123!==o&&(c=p());var l={kind:"OperationDefinition",operation:a,name:c,variableDefinitions:function(){if(f(),40===n.charCodeAt(i)){var e=[];i++,f();do{var t=void 0;if(34===n.charCodeAt(i)&&(t=g(!0)),36!==n.charCodeAt(i++))throw u("Variable");var a=p();if(58!==n.charCodeAt(i++))throw u("VariableDefinition");f();var o=function(){for(var e=0;91===n.charCodeAt(i);)e++,i++,f();var t={kind:"NamedType",name:p()};do if(33===n.charCodeAt(i)&&(i++,f(),t={kind:"NonNullType",type:t}),e){if(93!==n.charCodeAt(i++))throw u("NamedType");f(),t={kind:"ListType",type:t}}while(e--)return t}(),c=void 0;61===n.charCodeAt(i)&&(i++,f(),c=g(!0)),f();var l={kind:"VariableDefinition",variable:{kind:"Variable",name:a},type:o,defaultValue:c,directives:b(!0)};t&&(l.description=t),e.push(l)}while(41!==n.charCodeAt(i))return i++,f(),e}}(),directives:b(!1),selectionSet:k()};t&&(l.description=t),e.push(l);break;default:throw u("Document")}}}while(i<n.length)return e}(),loc:{start:0,end:n.length,startToken:void 0,endToken:void 0,source:{body:n,name:"graphql.web",locationOffset:{line:1,column:1}}}}).definitions,d=new Set;for(var v of t||[])for(var m of v.definitions)m.kind!==c||d.has(m)||(s.push(m),d.add(m));return(a=s[0].kind===c)&&s[0].directives&&(s[0].directives=s[0].directives.filter(e=>"_unmask"!==e.name.value)),{kind:o,definitions:s,get loc(){if(!l&&a){var y=e+function(e){try{q++;var t="";for(var n of e)if(!M.has(n)){M.add(n);var{loc:i}=n;i&&(t+=i.source.body)}return t}finally{0==--q&&M.clear()}}(t||[]);return{start:0,end:y.length,source:{body:y,name:"GraphQLTada",locationOffset:{line:1,column:1}}}}return l},set loc(r){l=r}}}return e.scalar=function(e,t){return t},e.persisted=function(e,t){return{kind:o,definitions:t?t.definitions:[],documentId:e}},e}G();let J=G();e.s(["graphql",0,J],277517)},319553,e=>{"use strict";var t=e.i(277517);let n=(0,t.graphql)(` 3 fragment ImageFileFragment on FileFieldInterface @_unmask { 4 id 5 mimeType 6 alt 7 blurUpThumb 8 width 9 height 10 caption: title 11 } 12`),i=(0,t.graphql)(` 13 fragment VideoFragment on UploadVideoField @_unmask { 14 streamingUrl 15 mp4Url 16 thumbnailUrl 17 muxPlaybackId 18 } 19`),a=(0,t.graphql)(` 20 fragment MediaFileFragment on FileFieldInterface @_unmask { 21 ...ImageFileFragment 22 video { 23 ...VideoFragment 24 } 25 } 26 `,[n,i]),o=(0,t.graphql)(` 27 fragment ExternalVideoFragment on VideoField @_unmask { 28 url 29 thumbnailUrl 30 providerUid 31 provider 32 } 33`);e.s(["ExternalVideoFragment",0,o,"ImageFileFragment",0,n,"MediaFileFragment",0,a]
33)},628761,e=>{"use strict";let t=(0,e.i(277517).graphql)(` 34 fragment PageLinkFragment on RecordInterface @_unmask { 35 __typename 36 id 37 ... on PageSectionPageRecord { 38 slug 39 } 40 ... on PageIndustryRecord { 41 slug 42 } 43 ... on PageCampaignRecord { 44 slug 45 } 46 ... on PageServiceRecord { 47 slug 48 } 49 ... on PageCaseStudyRecord { 50 slug 51 } 52 ... on PageBlogRecord { 53 slug 54 } 55 ... on PageChallengeRecord { 56 slug 57 } 58 } 59`);e.s(["PageLinkFragment",0,t])},579552,e=>{"use strict";var t=e.i(277517),n=e.i(628761);let i=(0,t.graphql)(` 60 fragment CtaBlockFragment on CtaBlockRecord @_unmask { 61 __typename 62 id 63 title 64 anchorPoint 65 isExternal 66 externalUrl 67 page { 68 ...PageLinkFragment 69 } 70 } 71 `,[n.PageLinkFragment]);e.s(["CtaBlockFragment",0,i])},437301,e=>{"use strict";let t=(0,e.i(277517).graphql)(` 72 fragment MetricItemBlockFragment on MetricItemBlockRecord @_unmask { 73 __typename 74 id 75 icon 76 title 77 description 78 } 79`);e.s(["MetricItemBlockFragment",0,t])},625269,e=>{"use strict";let t=(0,e.i(277517).graphql)(` 80 fragment SeoFragment on Tag @_unmask { 81 tag 82 attributes 83 content 84 } 85`);e.s(["SeoFragment",0,t])},579639,e=>{"use strict";e.i(335126),e.s([])},401398,e=>{"use strict";var t=e.i(80594);e.s(["stripStega",0,e=>(0,t.stripStega)(e)])},433417,479930,360649,115505,486427,503768,261486,846117,e=>{"use strict";var t,n,i,a,o,c=e.i(401398);let l=e=>"paragraph"===e.type&&e.children[0]?.type==="span"&&""===(0,c.stripStega)(e.children[0]?.value??"");e.s(["isNodeEmpty",0,l,"isStructuredTextPresent",0,e=>!(e=>{if(!e)return!0;if("value"in e){if(!e.value||l(e.value.document.children[0]))return!0}else if(l(e.document.children[0]))return!0;return!1})(e)],433417);var u=e.i(843476),s="blockquote",d="block",f="inlineBlock",h="code",p="heading",v="inlineItem",m="itemLink",g="link",y="listItem",b="list",k="paragraph",w="root",S="span",C="thematicBreak";function O(e){return e.type===k}function A(e){return e.type===b}function T(e){return e.type===g}(n={})[s]=[k],n[d]=[],n[f]=[],n[h]=[],n[p]="inlineNodes",n[v]=[],n[m]="inlineNodes",n[g]="inlineNodes",n[y]=[k,b],n[b]=[y],n[k]="inlineNodes",n[w]=[s,h,b,k,p,d,C],n[S]=[],n[C]=[],(i={})[s]=["children","attribution"],i[d]=["item"],i[f]=["item"],i[h]=["language","highlight","code"],i[p]=["level","children","style"],i[v]=["item"],i[m]=["item","children","meta"],i[g]=["url","children","meta"],i[y]=["children"],i[b]=["style","children"],i[k]=["children","style"],i[w]=["children"],i[S]=["value","marks"],i[C]=[],e.s(["isBlockquote",0,function(e){return e.type===s},"isHeading",0,function(e){return e.type===p},"isLink",0,T,"isList",0,A,"isParagraph",0,O],479930);var x=e.i(522016),j="blockquote",F="block",N="inlineBlock",E="code",I="heading",P="inlineItem",V="itemLink",D="link",L="listItem",_="list",R="paragraph",B="root",U="span",q="thematicBreak",M=[j,F,N,E,I,P,V,D,L,_,R,B,U,q];function G(e){return e.type===I}function J(e){return e.type===U}function Q(e){return e.type===B}function $(e){return e.type===R}function X(e){return e.type===_}function z(e){return e.type===L}function K(e){return e.type===j}function H(e){return e.type===F}function W(e){return e.type===N}function Y(e){return e.type===E}function Z(e){return e.type===D}function ee(e){return e.type===V}function et(e){return e.type===P}function en(e){return e.type===q}function er(e){return!!("object"==typeof e&&e)}function ei(e){return!!(er(e)&&"value"in e&&ea(e.value))}function ea(e){return!!(er(e)&&"schema"in e&&"document"in e&&"dast"===e.schema)}(a={})[j]=[R],a[F]=[],a[N]=[],a[E]=[],a[I]="inlineNodes",a[P]=[],a[V]="inlineNodes",a[D]="inlineNodes",a[L]=[R,_],a[_]=[L],a[R]="inlineNodes",a[B]=[j,E,_,R,I,F,q],a[U]=[],a[q]=[],(o={})[j]=["children","attribution"],o[F]=["item"],o[N]=["item"],o[E]=["language","highlight","code"],o[I]=["level","children","style"],o[P]=["item"],o[V]=["item","children","meta"],o[D]=["url","children","meta"],o[L]=["children"],o[_]=["style","children"],o[R]=["children","style"],o[B]=["children"],o[U]=["value","marks"],o[q]=[];var eo=(t=function(e,n){return(t=Object.setPrototypeOf||({__proto__:[]}
85)instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,n)},function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}),ec=function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;for(var i=Array(e),a=0,t=0;t<n;t++)for(var o=arguments[t],c=0,l=o.length;c<l;c++,a++)i[a]=o[c];return i},el=function(e){function t(n,i){var a=e.call(this,n)||this;return a.node=i,Object.setPrototypeOf(a,t.prototype),a}return eo(t,e),t}(Error),eu=function(e,t){return{appliable:e,apply:function(e){return t(e)}}};e.s(["renderNodeRule",0,eu],360649);var es=function(){return(es=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var a in t=arguments[n])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e}).apply(this,arguments)},ed=function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;for(var i=Array(e),a=0,t=0;t<n;t++)for(var o=arguments[t],c=0,l=o.length;c<l;c++,a++)i[a]=o[c];return i},ef=function(e){for(var t=e.meta,n={},i=0;i<t.length;i++){var a=t[i];["target","title","rel"].includes(a.id)&&(n[a.id]=a.value)}return n},eh=e.i(271645);let ep={renderNode:eh.default.createElement,renderFragment:(e,t)=>eh.default.createElement(eh.default.Fragment,{key:t},e),renderText:(e,t)=>e};function ev(e,t){return(0,eh.isValidElement)(e)&&null===e.key?(0,eh.cloneElement)(e,{key:t}):e}function em({data:e,renderInlineRecord:t,renderLinkToRecord:n,renderBlock:i,renderInlineBlock:a,renderText:o,renderNode:c,renderFragment:l,customMarkRules:u,customRules:s,customNodeRules:d,metaTransformer:f}){var h,p,v,m;let g=(h=e,m=(p={adapter:{renderText:o||ep.renderText,renderNode:c||ep.renderNode,renderFragment:l||ep.renderFragment},metaTransformer:f,customMarkRules:u,customNodeRules:[eu(et,({node:n,key:i})=>{if(!t)throw new el("The Structured Text document contains an 'inlineItem' node, but no 'renderInlineRecord' prop is specified!",n);if(!(ei(e)&&e.links))throw new el("The document contains an 'itemLink' node, but the passed data prop is not a Structured Text GraphQL response, or data.links is not present!",n);let a=e.links.find(e=>e.id===n.item);if(!a)throw new el(`The Structured Text document contains an 'inlineItem' node, but cannot find a record with ID ${n.item} inside data.links!`,n);return ev(t({record:a}),i)}),eu(ee,({node:t,key:i,children:a})=>{if(!n)throw new el("The Structured Text document contains an 'itemLink' node, but no 'renderLinkToRecord' prop is specified!",t);if(!(ei(e)&&e.links))throw new el("The document contains an 'itemLink' node, but the passed data prop is not a Structured Text GraphQL response, or data.links is not present!",t);let o=e.links.find(e=>e.id===t.item);if(!o)throw new el(`The Structured Text document contains an 'itemLink' node, but cannot find a record with ID ${t.item} inside data.links!`,t);return ev(n({record:o,children:a,transformedMeta:t.meta?(f||ef)({node:t,meta:t.meta}):null}),i)}),eu(H,({node:t,key:n})=>{if(!i)throw new el("The Structured Text document contains a 'block' node, but no 'renderBlock' prop is specified!",t);if(!(ei(e)&&e.blocks))throw new el("The document contains an 'block' node, but the passed data prop is not a Structured Text GraphQL response, or data.blocks is not present!",t);let a=e.blocks.find(e=>e.id===t.item);if(!a)throw new el(`The Structured Text document contains a 'block' node, but cannot find a record with ID ${t.item} inside data.blocks!`,t);return ev(i({record:a}),n)}),eu(W,({node:t,key:n})=>{if(!a)throw new el("The Structured Text document contains an 'inlineBlock' node, but no 'renderInlineBlock' prop is specified!",t);if(!(ei(e)&&e.inlineBlocks))throw new el("The document contains an 'inlineBlock' node, but the passed data prop is not a Structured Text GraphQL response, or data.inlineBlocks is not present!",t);let i=e.inlineBlocks.find(e=>e.id===t.item);if(!i)throw new el(`The Structured Text document contains an 'inlineBlock' node, but cannot find a record with ID ${t.item} inside data.inlineBlocks!`,t);return ev(a({record:i}),n)}),...d||s||[]]}).metaTransformer||ef,function(e,t,n){if(!t)return null;var i,a=ei(t)&&ea(t.value)?t.value.document:ea(t)?t.document:er(t)&&"type"in t&&"string"==typeof t.type&&(i=t.type,M.includes(i))?t:void 0;if(!a)throw Error("Passed object is neither null, a Structured Text value, a DAST document or a DAST node");return function e(t,n,i,a,o){var c,l="children"in n?(function e(t,n){for(var i=0;i<t.length;i++){var a=t[i];Array.isArray(a)?e(a,n):n.push(a)}}(n.children.map(function(i,c){return e(t,i,"t-"+c,ec([n],a),o)}).filter(function(e){return!!e}),c=[]),c):void 0,u=o.find(function(e){return e.appliable(n)});if(u)return u.apply({adapter:t,node:n,children:l,key:i,ancestors:a});throw new el("Don't know how to render a node with type \""+n.type+'". Please specify a custom renderRule for it!',n)}(e,a,"t-0",[],n)}(p.adapter,h,ed(p.customNodeRules||[],[eu(Q,function(e){var t=e.adapter.renderFragment,n=e.key;return t(e.children,n)}),eu($,function(e){return(0,e.adapter.renderNode)("p",{key:e.key},e.children)}),eu(X,function(e){var t=e.adapter.renderNode,n=e.node,i=e.key,a=e.children;return t("bulleted"===n.style?"ul":"ol",{key:i},a)}),eu(z,function(e){return(0,e.adapter.renderNode)("li",{key:e.key},e.children)}),eu(K,function(e){var t=e.adapter.renderNode,n=e.key,i=e.node,a=e.children,o=i.attribution?ed(a||[],[t("footer",{key:"footer"},i.attribution)]):a;return t("blockquote",{key:n},o)}),eu(Y,function(e){var t=e.adapter,n=t.renderNode,i=t.renderText,a=e.ke
85y,o=e.node;return n("pre",{key:a,"data-language":o.language},n("code",null,i(o.code)))}),eu(Z,function(e){var t=e.adapter.renderNode,n=e.key,i=e.children,a=e.node,o=a.meta?m({node:a,meta:a.meta}):{};return t("a",es(es({},o||{}),{key:n,href:a.url}),i)}),eu(en,function(e){return(0,e.adapter.renderNode)("hr",{key:e.key})}),eu(G,function(e){var t=e.node,n=e.adapter.renderNode,i=e.children,a=e.key;return n("h"+t.level,{key:a},i)}),(v=({customMarkRules:p.customMarkRules||[]}).customMarkRules,eu(J,function(e){var t,n,i,a,o,c,l,u=e.adapter,s=e.key;return(e.node.marks||[]).reduce(function(e,t){if(e){var n=v.find(function(e){return e.appliable(t)});return n?n.apply({adapter:u,key:s,mark:t,children:e}):u.renderNode(function(e){switch(e){case"emphasis":return"em";case"underline":return"u";case"strikethrough":return"s";case"highlight":return"mark";default:return e}}(t),{key:s},e)}},(t=e.node,n=e.key,a=(i=e.adapter).renderNode,o=i.renderText,c=i.renderFragment,0===(l=t.value.split(/\n/)).length?o(t.value,n):c(l.slice(1).reduce(function(e,t,i){return e.concat([a("br",{key:n+"-br-"+i}),o(t,n+"-line-"+i)])},[o(l[0],n+"-line-first")]),n)))}))])));return"string"==typeof g?eh.default.createElement(eh.default.Fragment,null,g):g||null}e.s(["StructuredText",0,em],115505);var eg=e.i(572259),ey=e.i(622992),eb=e.i(786368),ek=e.i(658199);let ew=({node:e,children:t,className:n})=>(0,u.jsx)(x.default,{className:(0,ek.cx)("underline",n),href:e.url,...(0,ey.metaTransformer)(e.meta),children:t});e.s(["StructuredLink",0,ew],486427),e.s([],503768),e.s(["BasicText",0,({content:e,locale:t,className:n,linkClassName:i})=>{let a=[eu(O,({children:e,node:t,key:i})=>l(t)?(0,u.jsx)("br",{},i):(0,u.jsx)("p",{className:n,children:e},i)),eu(T,({key:e,node:t,children:n})=>(0,u.jsx)(ew,{node:t,className:i,children:n},e)),eu(A,({key:e,node:t,children:n})=>"bulleted"===t.style?(0,u.jsx)("ul",{className:"list-disc pl-4",children:n},e):(0,u.jsx)("ol",{className:"list-decimal pl-4",children:n},e))];return(0,u.jsx)("div",{"data-datocms-content-link-group":!0,className:"*:first:mt-0! *:last:mb-0!",children:(0,u.jsx)(em,{data:e,customNodeRules:a,renderLinkToRecord:({transformedMeta:e,record:n,children:i})=>{let a=(0,ey.snakeCaseApiKey)(n?.__typename),o=(0,eb.recordToRoute)(a,{attributes:n},(0,eg.toDatoLocale)(t));return o?(0,u.jsx)(x.default,{className:"underline",href:o,...e,children:i}):(0,u.jsx)(u.Fragment,{children:i})},renderInlineRecord:()=>null})})}],261486),e.s([],846117)}]); 86 87//# debugId=12113946-5f5c-34b8-52e7-0187fa3ee4b0
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.