PageSourceSearch

https://medium-clone-steel.vercel.app/_next/static/chunks/743.34dec1d4341bdf60.js

js medium-clone-steel.vercel.app collected 2026-10-03 07:18:06 UTC 21,487 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[743],{4820:function(t,e,r){function n(t){return t&&"object"==typeof t&&"default"in t?t.default:t}var o,i=n(r(114)),s=n(r(4063)),a=r(2189),u=r(3938),c=r(1619);function p(){return(p=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function l(t,e,r){var n,o=e.token,i=new t("https://"+e.projectId+".api.sanity.io/v1/data/listen/"+e.dataset+"?query=*&effectFormat=mendoza",{withCredentials:!0,headers:o?{Authorization:"Bearer "+o}:void 0});return i.addEventListener("welcome",r.open,!1),i.addEventListener("mutation",(n=r.next,function(t){var e;try{e=JSON.parse(t.data)}catch(t){return}n(e)}),!1),i.addEventListener("channelError",(function(t){var e;i.close();try{e=JSON.parse(t.data)}catch(t){return void r.error(new Error("Unknown error parsing listener message"))}r.error(new Error(e.message||e.error||"Listener returned HTTP "+e.statusCode))}),!1),i.addEventListener("error",(function(t){var e="undefined"!=typeof window&&window.location.origin,n=e?", and that the CORS-origin ("+e+") is allowed":"",o=function(t){return"object"==typeof t&&null!==t&&"message"in t}(t)?" ("+t.message+")":"";r.error(new Error("Error establishing listener - check that the project ID and dataset are correct"+n+o))}),!1),{unsubscribe:function(){return Promise.resolve(i.close())}}}function f(t){return t._id.startsWith("drafts.")?t._id.slice(7):t._id}function h(t,e){var r=p({},t);return delete r._rev,c.applyPatch(r,e)}function d(){return Promise.resolve()}function v(t,e,r){if(!t.s){if(r instanceof y){if(!r.s)return void(r.o=v.bind(null,t,e));1&e&&(e=r.s),r=r.v}if(r&&r.then)return void r.then(v.bind(null,t,e),v.bind(null,t,2));t.s=e,t.v=r;var n=t.o;n&&n(t)}}var y=function(){function t(){}return t.prototype.then=function(e,r){var n=new t,o=this.s;if(o){var i=1&o?e:r;if(i){try{v(n,1,i(this.v))}catch(t){v(n,2,t)}return n}return this}return this.o=function(t){try{var o=t.v;1&t.s?v(n,1,e?e(o):o):r?v(n,1,r(o)):v(n,2,o)}catch(t){v(n,2,t)}},n},t}();function m(t){return t instanceof y&&1&t.s}var g=function(t){var e=t.projectId,r=t.dataset,n=t.token,o=t.documentLimit;try{return Promise.resolve(fetch("https://"+e+".api.sanity.io/v1/data/export/"+r,{credentials:"include",headers:n?{Authorization:"Bearer "+n}:void 0})).then((function(t){function e(e){var r,n,i=function(t){if(!t)throw new Error("Failed to read body from response");var e,r=!1;function n(){r=!0,e&&e.cancel()}return new ReadableStream({start:function(o){e=t.getReader();var i=new TextDecoder,s="";e.read().then((function t(a){try{if(a.done)return r?Promise.resolve():0===(s=s.trim()).length?(o.close(),Promise.resolve()):(o.enqueue(JSON.parse(s)),o.close(),Promise.resolve());for(var u=(s+=i.decode(a.value,{stream:!0})).split("\n"),c=0;c<u.length-1;++c){var p=u[c].trim();if(0!==p.length)try{o.enqueue(JSON.parse(p))}catch(t){return o.error(t),n(),Promise.resolve()}}if(s=u[u.length-1],!e)return Promise.resolve();var l=function(r,n){try{var o=Promise.resolve(e.read()).then((function(e){t(e)}))}catch(t){return n(t)}return o&&o.then?o.then(void 0,n):o}(0,(function(t){o.error(t)}));return Promise.resolve(l&&l.then?l.then((function(){})):void 0)}catch(t){return Promise.reject(t)}})).catch((function(t){return o.error(t)}))},cancel:n})}(t.body).getReader(),s=[],a=function(t,e){var r;do{var n=t();if(n&&n.then){if(!m(n)){r=!0;break}n=n.v}var o=e();if(m(o)&&(o=o.v),!o)return n}while(!o.then);var i=new y,s=v.bind(null,i,2);return(r?n.then(a):o.then(u)).then(void 0,s),i;function a(r){for(n=r;m(o=e())&&(o=o.v),o;){if(o.then)return void o.then(u).then(void 0,s);if((n=t())&&n.then){if(!m(n))return void n.then(a).then(void 0,s);n=n.v}}v(i,1,n)}function u(r){if(r){do{if((n=t())&&n.then){if(!m(n))return void n.then(a).then(void 0,s);n=n.v}if(m(r=e())&&(r=r.v),!r)return void v(i,1,n)}while(!r.then);r.then(u).then(void 0,s)}else v(i,1,n)}}((function(){return Promise.resolve(i.read()).then((function(t){if(function(t){return!!t&&"error"in t&&"object"==typeof t.error&&null!==t.error&&"description"in t.error&&"string"==typeof t.error.description&&!("_id"in t)}(n=(r=t).value))throw new Error("Error streaming dataset: "+n.error);if(n&&!n._id.startsWith("_.")&&s.push(n),o&&s.length>o)throw i.cancel("Reached document limit"),new Error("Error streaming dataset: Reached limit of "+o+" documents")}))}),(function(){return!r.done}));return a&&a.then?a.then((function(t){return s})):s}var r=function(){if(200!==t.status)return Promise.resolve(t.json()).then((function(t){throw new Error("Error streaming dataset: "+("object"==typeof(e=t)&&"error"in e&&"message"in e?e.message||e.error:"<unknown error>"));var e}))}();return r&&r.then?r.then(e):e()}))}catch(t){return Promise.reject(t)}};e.groq=i,e.groqStore=function(t){if(function(){var t=["EventSource","ReadableStream","fetch"].filter((function(t){return!(t in window)}));if(t.length>0)throw new Error("Browser not supported. Missing browser APIs: "+t.join(", "))}(),t.token)throw new Error("`token` option not currently supported in browser");return function(t,e){var r,n=function(t,e){try{return Promise.resolve(c()).then((function(){var r=u.parse(t,{params:e});return Promise.resolve(u.evaluate(r,{dataset:v,params:e})).then((function(t){return t.get()}))}))}catch(t){return Promise.reject(t)}},c=function(){try{return r||(r=function(t,e,r){var n=r.getDocuments,o=r.EventSource,i=t.projectId,s=t.dataset,a=t.overlayDrafts,u=t.documentLimit;if(!t.listen)return{unsubscribe:d,loaded:n({projectId:i,dataset:s,documentLimit:u}).then(S).then(d)};var c,v,y,m,g,b,w=new Map,j=[],P=new Promise((function(t,e){v=t,y=e}));return{unsubscribe:l(o,t,{next:function(t){c?(function(t){if(t.effects&&!t.documentId.startsWith("_.")){var e=w.get(t.documentId)||null;!function(t,e){var r=w.get(t),n=c||[],o=r?n.indexOf(r):-1;-1===o&&e?(n.push(e),w.set(t,e)):e?(n.splice(o,1,e),w.set(t,e)):(n.splice(o,1),w.delete(t))}(t.documentId,h(e,t.effects.apply))}}(t),function(t,e){clearTimeout(b),g!==e.transactionId&&m?(S(m),g=void 0):(g=e.transactionId,m=t.slice()),b=setTimeout(S,25,t.slice())}(c,t)):j.push(t)},open:function(){try{return Promise.resolve(n({projectId:i,dataset:s,documentLimit:u})).then((function(t){(c=function(t,e){var r=new Map;return e.forEach((function(t){var e=r.get(t.documentId)||[];e.push(t),r.set(t.documentId,e)})),r.forEach((function(e,r){var n=t.find((function(t){return t._id===r}));if(n){var o=!1,i=n;e.forEach((function(t){(o=o||t.previousRev===n._rev)&&t.effects&&(i=h(i,t.effects.apply))}
1)),t.splice(t.indexOf(n),1,i)}else console.warn("Received mutation for missing document %s",r)})),t}(t,j)).forEach((function(t){return w.set(t._id,t)})),S(c),v()}))}catch(t){return Promise.reject(t)}},error:function(t){return y(t)}}).unsubscribe,loaded:P};function S(t){m=void 0,b=void 0,g=void 0,e(a?function(t){var e=new Map;return t.forEach((function(t){var r=e.get(f(t));t._id.startsWith("drafts.")?e.set(f(t),function(t){return p({},t,{_id:f(t)})}(t)):r||e.set(t._id,t)})),Array.from(e.values())}(t):t)}}(t,(function(t){v=t,y()}),e)),Promise.resolve(r.loaded).then((function(){}))}catch(t){return Promise.reject(t)}},v=[],y=a.throttle(t.subscriptionThrottleMs||50,(function(){m.forEach(g)})),m=[];function g(t){return n(t.query,t.params).then((function(e){"previousResult"in t&&s(t.previousResult,e)||(t.previousResult=e,t.callback(void 0,e))})).catch((function(e){t.callback(e)}))}return{query:n,getDocument:function(t){try{return Promise.resolve(c()).then((function(){return n(i(o||(e=["*[_id == $id][0]"],r||(r=e.slice(0)),e.raw=r,o=e)),{id:t});var e,r}))}catch(t){return Promise.reject(t)}},getDocuments:function(t){try{return Promise.resolve(c()).then((function(){var e=t.map((function(t){return'*[_id == "'+t+'"][0]'})).join(",\n");return n("["+e+"]")}))}catch(t){return Promise.reject(t)}},subscribe:function(e,r,n){if(!t.listen)throw new Error("Cannot use `subscribe()` without `listen: true`");var o={query:e,params:r,callback:n};m.push(o);var i=!1;return g(o),{unsubscribe:function(){return i||(i=!0,m.splice(m.indexOf(o),1)),Promise.resolve()}}},close:function(){return y.cancel(),r?r.unsubscribe():Promise.resolve()}}}(t,{EventSource:window.EventSource,getDocuments:g})}},4063:function(t){"use strict";t.exports=function t(e,r){if(e===r)return!0;if(e&&r&&"object"==typeof e&&"object"==typeof r){if(e.constructor!==r.constructor)return!1;var n,o,i;if(Array.isArray(e)){if((n=e.length)!=r.length)return!1;for(o=n;0!==o--;)if(!t(e[o],r[o]))return!1;return!0}if(e.constructor===RegExp)return e.source===r.source&&e.flags===r.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===r.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===r.toString();if((n=(i=Object.keys(e)).length)!==Object.keys(r).length)return!1;for(o=n;0!==o--;)if(!Object.prototype.hasOwnProperty.call(r,i[o]))return!1;for(o=n;0!==o--;){var s=i[o];if(!t(e[s],r[s]))return!1}return!0}return e!==e&&r!==r}},1619:function(t,e,r){"use strict";r.r(e),r.d(e,{applyPatch:function(){return y},incremental:function(){return n}});var n={};r.r(n),r.d(n,{applyPatch:function(){return d},getType:function(){return f},rebaseValue:function(){return h},unwrap:function(){return l},wrap:function(){return p}});var o=["Value","Copy","Blank","ReturnIntoArray","ReturnIntoObject","ReturnIntoObjectSameKey","PushField","PushElement","PushParent","Pop","PushFieldCopy","PushFieldBlank","PushElementCopy","PushElementBlank","ReturnIntoObjectPop","ReturnIntoObjectSameKeyPop","ReturnIntoArrayPop","ObjectSetFieldValue","ObjectCopyField","ObjectDeleteField","ArrayAppendValue","ArrayAppendSlice","StringAppendString","StringAppendSlice"],i=function(){function t(t,e,r){this.i=0,this.inputStack=[],this.outputStack=[],this.model=t,this.root=e,this.patch=r}return t.prototype.read=function(){return this.patch[this.i++]},t.prototype.process=function(){for(this.inputStack.push({value:this.root}),this.outputStack.push({value:this.root});this.i<this.patch.length;){var t=this.read(),e=o[t];if(!e)throw new Error("Unknown opcode: "+t);this["process"+e].apply(this)}var r=this.outputStack.pop();return this.finalizeOutput(r)},t.prototype.inputEntry=function(){return this.inputStack[this.inputStack.length-1]},t.prototype.inputKey=function(t,e){return t.keys||(t.keys=this.model.objectGetKeys(t.value).sort()),t.keys[e]},t.prototype.outputEntry=function(){return this.outputStack[this.outputStack.length-1]},t.prototype.outputArray=function(){var t=this.outputEntry();return t.writeValue||(t.writeValue=this.model.copyArray(t.value)),t.writeValue},t.prototype.outputObject=function(){var t=this.outputEntry();return t.writeValue||(t.writeValue=this.model.copyObject(t.value)),t.writeValue},t.prototype.outputString=function(){var t=this.outputEntry();return t.writeValue||(t.writeValue=this.model.copyString(t.value)),t.writeValue},t.prototype.finalizeOutput=function(t){return t.writeValue?this.model.finalize(t.writeValue):t.value},t.prototype.processValue=function(){var t=this.model.wrap(this.read());this.outputStack.push({value:t})},t.prototype.processCopy=function(){var t=this.inputEntry();this.outputStack.push({value:t.value})},t.prototype.processBlank=function(){this.outputStack.push({value:null})},t.prototype.processReturnIntoArray=function(){var t=this.outputStack.pop(),e=this.finalizeOutput(t),r=this.outputArray();this.model.arrayAppendValue(r,e)},t.prototype.processReturnIntoObject=function(){var t=this.read(),e=this.outputStack.pop(),r=this.finalizeOutput(e);r=this.model.markChanged(r);var n=this.outputObject();this.model.objectSetField(n,t,r)},t.prototype.processReturnIntoObjectSameKey=function(){var t=this.inputEntry(),e=this.outputStack.pop(),r=this.finalizeOutput(e),n=this.outputObject();this.model.objectSetField(n,t.key,r)},t.prototype.processPushField=function(){var t=this.read(),e=this.inputEntry(),r=this.inputKey(e,t),n=this.model.objectGetField(e.value,r);this.inputStack.push({value:n,key:r})},t.prototype.processPushElement=function(){var t=this.read(),e=this.inputEntry(),r=this.model.arrayGetElement(e.value,t);this.inputStack.push({value:r})},t.prototype.processPop=function(){this.inputStack.pop()},t.prototype.processPushFieldCopy=function(){this.processPushField(),this.processCopy()},t.prototype.processPushFieldBlank=function(){this.processPushField(),this.processBlank()},t.prototype.processPushElementCopy=function(){this.processPushElement(),this.processCopy()},t.prototype.processPushElementBlank=function(){this.processPushElement(),this.processBlank()},t.prototype.processReturnIntoObjectPop=function(){this.processReturnIntoObject(),this.processPop()},t.prototype.processReturnIntoObjectSameKeyPop=function(){this.processReturnIntoObjectSameKey(),this.processPop()},t.prototype.processReturnIntoArrayPop=function(){this.processReturnIntoArray(),this.processPop()},t.prototype.processObjectSetFieldValue=function(){this.processValue(),this.processReturnIntoObject()},t.prototype.processObjectCopyField=function(){this.processPushField(),this.processCopy(),this.processReturnIntoObjectSameKey(),this.processPop()},t.prototype.processObjectDeleteField=function(){var t=this.read(),e=this.inputEntry(),r=this.inputKey(e,t),n=this.outputObject();this.model.objectDeleteField(n,r)},t.prototype.processArrayAppendValue=function(){var t=this.model.wrap(this.read()),e=this.outputArray();this.model.arrayAppendValue(e,t)},t.prototype.processArrayAppendSlice=function(){var t=this.read(),e=this.read(),r=this.outputArray(),n=this.inputEntry().value;this.model.arrayAppendSlice(r,n,t,e)},t.prototype.processStringAppendString=function(){var t=this.model.wrap(this.read()),e=this.outputString();this.model.stringAppendValue(e,t)},t.prototype.processStringAppendSlice=function(){var t=this.read(),e=this.read(),r=this.outputString(),n=this.inputEntry().value;this.model.stringAppendSlice(r,n,t,e)},t}();function s(t){return t>>16?4:t>>11?3:t>>7?2:1}function a(t){for(var e=0,r=0;r<t.length;r++){var n=s(t.codePointAt(r));4==n&&r++,e+=n}return e}function u(t,e,r){void 0===r&&(r=0);var n=r,o=0;for(o=r;n<e;o++){var i=s(t.codePointAt(o));4===i&&o++,n+=i}return o}var c=function(){function t(t){this.meta=t}return t.prototype.wrap=function(t){return this.wrapWithMeta(t,this.meta,this.meta)},t.prototype.wrapWithMeta=function(t,e,r){return void 0===r&&(r=this.meta),{data:t,startMeta:e,endMeta:r}},t.prototype.asObject=function(t){if(!t.content){for(var e={},r=0,n=Object.entries(t.data);r<n.length;r++){var o=n[r],i=o[0],s=o[1];e[i]=this.wrapWithMeta(s,t.startMeta)}t.content={type:"object",fields:e}}return t.content},t.prototype.asArray=function(t){var e=this;if(!t.content){var r=t.data.map((function(r){return e.wrapWithMeta(r,t.startMeta)})),n=r.map((function(){return e.meta}
1));t.content={type:"array",elements:r,metas:n}}return t.content},t.prototype.asString=function(t){if(!t.content){var e=t.data,r={value:e,utf8size:a(e),uses:[],startMeta:t.startMeta,endMeta:t.endMeta};t.content=this.stringFromParts([r])}return t.content},t.prototype.stringFromParts=function(t){for(var e={type:"string",parts:t},r=0,n=t;r<n.length;r++){n[r].uses.push(e)}return e},t.prototype.objectGetKeys=function(t){return t.content?Object.keys(t.content.fields):Object.keys(t.data)},t.prototype.objectGetField=function(t,e){return this.asObject(t).fields[e]},t.prototype.arrayGetElement=function(t,e){return this.asArray(t).elements[e]},t.prototype.finalize=function(t){return this.updateEndMeta(t),{content:t,startMeta:this.meta,endMeta:this.meta}},t.prototype.markChanged=function(t){return this.wrap(l(t))},t.prototype.updateEndMeta=function(t){if("string"==t.type)for(var e=0,r=t.parts;e<r.length;e++){r[e].endMeta=this.meta}else if("array"===t.type)for(var n=0,o=t.elements;n<o.length;n++){(a=o[n]).content&&a.endMeta!==this.meta&&this.updateEndMeta(a.content),a.endMeta=this.meta}else for(var i=0,s=Object.values(t.fields);i<s.length;i++){var a;(a=s[i]).content&&a.endMeta!==this.meta&&this.updateEndMeta(a.content),a.endMeta=this.meta}},t.prototype.copyString=function(t){if(t){var e=this.asString(t);return this.stringFromParts(e.parts.slice())}return{type:"string",parts:[]}},t.prototype.copyObject=function(t){var e={type:"object",fields:{}};if(t){var r=this.asObject(t);Object.assign(e.fields,r.fields)}return e},t.prototype.copyArray=function(t){var e=t?this.asArray(t):null;return{type:"array",elements:e?e.elements:[],metas:e?e.metas:[]}},t.prototype.objectSetField=function(t,e,r){t.fields[e]=r},t.prototype.objectDeleteField=function(t,e){delete t.fields[e]},t.prototype.arrayAppendValue=function(t,e){t.elements.push(e),t.metas.push(this.meta)},t.prototype.arrayAppendSlice=function(t,e,r,n){var o,i,s=this.asArray(e),a=s.elements.length===r;if((o=t.elements).push.apply(o,s.elements.slice(r,n)),a)(i=t.metas).push.apply(i,s.metas.slice(r,n));else for(var u=r;u<n;u++)t.metas.push(this.meta)},t.prototype.stringAppendValue=function(t,e){for(var r=0,n=this.asString(e).parts;r<n.length;r++){var o=n[r];this.stringAppendPart(t,o)}},t.prototype.stringAppendPart=function(t,e){t.parts.push(e),e.uses.push(t)},t.prototype.resolveStringPart=function(t,e,r){if(0===r)return e;for(var n=e;n<t.parts.length;n++){var o=t.parts[n];if(r===o.utf8size)return n+1;if(r<o.utf8size)return this.splitString(o,r),n+1;r-=o.utf8size}throw new Error("splitting string out of bounds")},t.prototype.splitString=function(t,e){var r,n=e,o=t.utf8size-n;if(t.utf8size!==t.value.length){var i=0;for(e=0;i<n;e++){var a=s(t.value.codePointAt(e));4===a&&e++,i+=a}}r=t.value.slice(0,e);var u={value:t.value.slice(e),utf8size:o,uses:t.uses.slice(),startMeta:t.startMeta,endMeta:t.endMeta};t.value=r,t.utf8size=n;for(var c=0,p=t.uses;c<p.length;c++){var l=p[c],f=l.parts.indexOf(t);if(-1===f)throw new Error("bug: mismatch between string parts and use.");l.parts.splice(f+1,0,u)}},t.prototype.stringAppendSlice=function(t,e,r,n){for(var o=this.asString(e),i=this.resolveStringPart(o,0,r),s=this.resolveStringPart(o,i,n-r),a=i;a<s;a++){var u=o.parts[a];this.stringAppendPart(t,u)}},t}();function p(t,e){return{data:t,startMeta:e,endMeta:e}}function l(t){if("undefined"!==typeof t.data)return t.data;var e,r=t.content;switch(r.type){case"string":e=r.parts.map((function(t){return t.value})).join("");break;case"array":e=r.elements.map((function(t){return l(t)}));break;case"object":e={};for(var n=0,o=Object.entries(r.fields);n<o.length;n++){var i=o[n],s=i[0],a=i[1];e[s]=l(a)}}return t.data=e,e}function f(t){return t.content?t.content.type:Array.isArray(t.data)?"array":null===t.data?"null":typeof t.data}function h(t,e){var r=f(t);if(r!==f(e))return e;var n=new c(t.endMeta),o=new c(e.endMeta);switch(r){case"object":for(var i=n.asObject(t),u=o.asObject(e),p=0,d=Object.keys(i.fields).length,v=Object.keys(u.fields).length,y=0,m=Object.entries(u.fields);y<m.length;y++){var g=m[y],b=g[0],w=g[1],j=i.fields[b];
1j&&(u.fields[b]=h(j,w),u.fields[b]===j&&p++)}return d===v&&d===p?t:e;case"array":var P=n.asArray(t),S=o.asArray(e);if(P.elements.length!==S.elements.length)break;for(var O=0,A=0;A<S.elements.length;A++)S.elements[A]=h(P.elements[A],S.elements[A]),S.elements[A]!==P.elements[A]&&O++;return 0===O?t:e;case"null":case"boolean":case"number":if(l(t)===l(e))return t;break;case"string":var E=l(t),k=l(e);if(E===k)return t;var M=o.copyString(null),I=function(t,e){for(var r=Math.min(t.length,e.length),n=0,o=0;o<r;){var i=t.codePointAt(o);if(i!==e.codePointAt(o))return n;var a=s(i);n+=a,o+=4===a?2:1}return n}(E,k),F=function(t,e,r){void 0===r&&(r=0);for(var n=Math.min(t.length,e.length)-r,o=0,i=0;i<n;){var a=t.codePointAt(t.length-1-i);if(a!==e.codePointAt(e.length-1-i))return o;var u=s(a);o+=u,i+=4===u?2:1}return o}(E,k,I),R=a(k),V=a(E);0<I&&o.stringAppendSlice(M,t,0,I),I<R-F&&o.stringAppendSlice(M,e,I,R-F),V-F<V&&o.stringAppendSlice(M,t,V-F,V);var _=o.finalize(M);if(l(_)!==k)throw new Error("incorrect string rebase");return _}return e}function d(t,e,r){var n=new c(r);return new i(n,t,e).process()}var v={wrap:function(t){return t},finalize:function(t){return Array.isArray(t)?t:t.data},markChanged:function(t){return t},objectGetKeys:function(t){return Object.keys(t)},objectGetField:function(t,e){return t[e]},arrayGetElement:function(t,e){return t[e]},copyObject:function(t){var e={type:"object",data:{}};if(null!==t)for(var r=0,n=Object.entries(t);r<n.length;r++){var o=n[r],i=o[0],s=o[1];e.data[i]=s}return e},copyArray:function(t){return null===t?[]:t.slice()},copyString:function(t){return{type:"string",data:null===t?"":t}},objectSetField:function(t,e,r){t.data[e]=r},objectDeleteField:function(t,e){delete t.data[e]},arrayAppendValue:function(t,e){t.push(e)},arrayAppendSlice:function(t,e,r,n){t.push.apply(t,e.slice(r,n))},stringAppendSlice:function(t,e,r,n){var o=e,i=u(o,r),s=u(o,n,i);t.data+=o.slice(i,s)},stringAppendValue:function(t,e){t.data+=e}};function y(t,e){return new i(v,t,e).process()}},2189:function(t,e){"use strict";function r(t,e,r,n){var o,i=!1,s=0;function a(){o&&clearTimeout(o)}function u(){for(var u=arguments.length,c=new Array(u),p=0;p<u;p++)c[p]=arguments[p];var l=this,f=Date.now()-s;function h(){s=Date.now(),r.apply(l,c)}function d(){o=void 0}i||(n&&!o&&h(),a(),void 0===n&&f>t?h():!0!==e&&(o=setTimeout(n?d:h,void 0===n?t-f:t)))}return"boolean"!==typeof e&&(n=r,r=e,e=void 0),u.cancel=function(){a(),i=!0},u}Object.defineProperty(e,"__esModule",{value:!0}),e.debounce=function(t,e,n){return void 0===n?r(t,e,!1):r(t,n,!1!==e)},e.throttle=r}}]);

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.