티스토리 수익 글 보기
(globalThis.webpackChunk=globalThis.webpackChunk||[]).push([[“environment”],{48359:()=>{if(!(“ariaNotify”in Element.prototype)){let e=`${Date.now()}`;try{e=crypto.randomUUID()}catch{}let t=Symbol(),o=`live-region-${e}`;let Message=class Message{element;message;priority=”normal”;constructor({element:e,message:t,priority:o=”normal”}){this.element=e,this.message=t,this.priority=o}#e(){return this.element.isConnected&&!this.element.closest(“[inert]”)&&(this.element.ownerDocument.querySelector(“:modal”)?.contains(this.element)??!0)}async announce(){if(!this.#e())return;let e=this.element.closest(“dialog”)||this.element.closest(“[role=’dialog’]”)||this.element.getRootNode();(!e||e instanceof Document)&&(e=document.body);let r=e.querySelector(o);r||(r=document.createElement(o),e.append(r)),await new Promise(e=>setTimeout(e,250)),r.handleMessage(t,this.message)}};let r=new class MessageQueue{#t=[];#o;enqueue(e){let{priority:t}=e;if(“high”===t){let t=this.#t.findLastIndex(e=>”high”===e.priority);this.#t.splice(t+1,0,e)}else this.#t.push(e);this.#o||this.#r()}async #r(){this.#o=this.#t.shift(),this.#o&&(await this.#o.announce(),this.#r())}};let LiveRegionCustomElement=class LiveRegionCustomElement extends HTMLElement{#n=this.attachShadow({mode:”closed”});connectedCallback(){this.ariaLive=”polite”,this.ariaAtomic=”true”,this.style.marginLeft=”-1px”,this.style.marginTop=”-1px”,this.style.position=”absolute”,this.style.width=”1px”,this.style.height=”1px”,this.style.overflow=”hidden”,this.style.clipPath=”rect(0 0 0 0)”,this.style.overflowWrap=”normal”}handleMessage(e=null,o=””){t===e&&(this.#n.textContent==o&&(o+=”\xa0″),this.#n.textContent=o)}};customElements.define(o,LiveRegionCustomElement),Element.prototype.ariaNotify=function(e,{priority:t=”normal”}={}){r.enqueue(new Message({element:this,message:e,priority:t}))}}},31196:e=>{e.exports={polyfill:function(){var e,t=window,o=document;if(!(“scrollBehavior”in o.documentElement.style)||!0===t.__forceSmoothScrollPolyfill__){var r=t.HTMLElement||t.Element,n={scroll:t.scroll||t.scrollTo,scrollBy:t.scrollBy,elementScroll:r.prototype.scroll||s,scrollIntoView:r.prototype.scrollIntoView},i=t.performance&&t.performance.now?t.performance.now.bind(t.performance):Date.now,l=(e=t.navigator.userAgent,RegExp(“MSIE |Trident/|Edge/”).test(e))?1:0;t.scroll=t.scrollTo=function(){if(void 0!==arguments[0]){if(!0===c(arguments[0])){n.scroll.call(t,void 0!==arguments[0].left?arguments[0].left:”object”!=typeof arguments[0]?arguments[0]:t.scrollX||t.pageXOffset,void 0!==arguments[0].top?arguments[0].top:void 0!==arguments[1]?arguments[1]:t.scrollY||t.pageYOffset);return}h.call(t,o.body,void 0!==arguments[0].left?~~arguments[0].left:t.scrollX||t.pageXOffset,void 0!==arguments[0].top?~~arguments[0].top:t.scrollY||t.pageYOffset)}},t.scrollBy=function(){if(void 0!==arguments[0]){if(c(arguments[0])){n.scrollBy.call(t,void 0!==arguments[0].left?arguments[0].left:”object”!=typeof arguments[0]?arguments[0]:0,void 0!==arguments[0].top?arguments[0].top:void 0!==arguments[1]?arguments[1]:0);return}h.call(t,o.body,~~arguments[0].left+(t.scrollX||t.pageXOffset),~~arguments[0].top+(t.scrollY||t.pageYOffset))}},r.prototype.scroll=r.prototype.scrollTo=function(){if(void 0!==arguments[0]){if(!0===c(arguments[0])){if(“number”==typeof arguments[0]&&void 0===arguments[1])throw SyntaxError(“Value could not be converted”);n.elementScroll.call(this,void 0!==arguments[0].left?~~arguments[0].left:”object”!=typeof arguments[0]?~~arguments[0]:this.scrollLeft,void 0!==arguments[0].top?~~arguments[0].top:void 0!==arguments[1]?~~arguments[1]:this.scrollTop);return}var e=arguments[0].left,t=arguments[0].top;h.call(this,this,void 0===e?this.scrollLeft:~~e,void 0===t?this.scrollTop:~~t)}},r.prototype.scrollBy=function(){if(void 0!==arguments[0]){if(!0===c(arguments[0])){n.elementScroll.call(this,void 0!==arguments[0].left?~~arguments[0].left+this.scrollLeft:~~arguments[0]+this.scrollLeft,void 0!==arguments[0].top?~~arguments[0].top+this.scrollTop:~~arguments[1]+this.scrollTop);return}this.scroll({left:~~arguments[0].left+this.scrollLeft,top:~~arguments[0].top+this.scrollTop,behavior:arguments[0].behavior})}},r.prototype.scrollIntoView=function(){if(!0===c(arguments[0])){n.scrollIntoView.call(this,void 0===arguments[0]||arguments[0]);return}var e=function(e){for(var t,r,n;e!==o.body&&!1===(r=a(t=e,”Y”)&&u(t,”Y”),n=a(t,”X”)&&u(t,”X”),r||n);)e=e.parentNode||e.host;return e}(this),r=e.getBoundingClientRect(),i=this.getBoundingClientRect();e!==o.body?(h.call(this,e,e.scrollLeft+i.left-r.left,e.scrollTop+i.top-r.top),”fixed”!==t.getComputedStyle(e).position&&t.scrollBy({left:r.left,top:r.top,behavior:”smooth”})):t.scrollBy({left:i.left,top:i.top,behavior:”smooth”})}}function s(e,t){this.scrollLeft=e,this.scrollTop=t}function c(e){if(null===e||”object”!=typeof e||void 0===e.behavior||”auto”===e.behavior||”instant”===e.behavior)return!0;if(“object”==typeof e&&”smooth”===e.behavior)return!1;throw TypeError(“behavior member of ScrollOptions “+e.behavior+” is not a valid value for enumeration ScrollBehavior.”)}function a(e,t){return”Y”===t?e.clientHeight+l1?1:s))),n=o.startX+(o.x-o.startX)*r,l=o.startY+(o.y-o.startY)*r,o.method.call(o.scrollable,n,l),(n!==o.x||l!==o.y)&&t.requestAnimationFrame(e.bind(t,o))}({scrollable:c,method:h,startTime:d,startX:a,startY:u,x:r,y:l})}}}},9158:(e,t,o)=>{“use strict”;var r=o(22353),n=o(96679);n.cg?.addEventListener(“error”,e=>{e.error&&r.N7(e.error)}),n.cg?.addEventListener(“unhandledrejection”,async e=>{if(e.promise)try{await e.promise}catch(e){r.N7(e)}}),n.cg?.location.hash===”#b00m”&&setTimeout(()=>{throw Error(“b00m”)}),o(31196),o(48359);var i=o(86549),l=o(7479);let s=fetch;function c({input:e,error:t,status:o}){if(!t)return;let r=e instanceof Request?e.url:e.toString();(0,l.i)({incrementKey:”FETCH_ERROR”,requestUrl:window.location.href,referredRequestUrl:r,incrementTags:{status:String(o)}},!1,1)}var a=o(27851),u=o(77065),h=o(26559);let d=window.fetch,f=(e,t)=>{if(e instanceof Request){let t={…Object.fromEntries(e.headers.entries()),…(0,h.kt)()};return d(new Request(e,{headers:t}))}{let o={…t?.headers??{},…(0,h.kt)()};return d(new Request(e,{…t,headers:o}))}};document.documentElement.hasAttribute(“override-fetch”)&&window.fetch!==f&&(window.fetch=f);var p=o(88191);(0,u.Bb)(),”undefined”!=typeof document&&((0,i.S)(),n.cg&&(n.cg.fetch=async(e,t)=>{try{let o=await s(e,t);return c({input:e,error:!o.ok,status:o.status}),o}catch(t){throw c({input:e,error:!0,status:”unknown”}),t}}),(()=>{if((0,a.G7)(“remove_child_patch”)&&”function”==typeof Node&&Node.prototype){let e=Node.prototype.removeChild;Node.prototype.removeChild=function(t){try{return e.apply(this,[t])}catch(e){if(e instanceof Error&&e.stack?.includes(“react-lib”))return t;throw e}}}})(),(()=>{if((0,a.G7)(“insert_before_patch”)&&”function”==typeof Node&&Node.prototype){let e=Node.prototype.insertBefore;Node.prototype.insertBefore=function(t,o){try{return e.apply(this,[t,o])}catch(e){if(e instanceof Error&&(e.stack?.includes(“react-lib”)||e.stack?.includes(“react-dom”)))return t;throw e}}}})(),(0,p.pS)())},53005:(e,t,o)=>{“use strict”;o.d(t,{O:()=>l,S:()=>i});var r=o(96679);let n=r.cg?.document?.head?.querySelector(‘meta[name=”release”]’)?.content||””,i=”X-GitHub-Client-Version”;function l(){return n}},8367:(e,t,o)=>{“use strict”;function r(e){return n(e)[0]}function n(e){let t=[];for(let o of function(){try{return document.cookie.split(“;”)}catch{return[]}}()){let[r,n]=o.trim().split(“=”);e===r&&void 0!==n&&t.push({key:r,value:n})}return t}function i(e,t,o=null,r=!1,n=”lax”){let l=document.domain;if(null==l)throw Error(“Unable to get document domain”);l.endsWith(“.github.com”)&&(l=”github.com”);let s=”https:”===location.protocol?”; secure”:””,c=o?`; expires=${o}`:””;!1===r&&(l=`.${l}`);try{document.cookie=`${e}=${t}; path=/; domain=${l}${c}${s}; samesite=${n}`}catch{}}function l(e,t=!1){let o=document.domain;if(null==o)throw Error(“Unable to get document domain”);o.endsWith(“.github.com”)&&(o=”github.com”);let r=new Date(Date.now()-1).toUTCString(),n=”https:”===location.protocol?”; secure”:””,i=`; expires=${r}`;!1===t&&(o=`.${o}`);try{document.cookie=`${e}=”; path=/; domain=${o}${i}${n}`}catch{}}o.d(t,{OR:()=>n,Ri:()=>r,TV:()=>i,Yj:()=>l})},26559:(e,t,o)=>{“use strict”;o.d(t,{jC:()=>c,kt:()=>l,tV:()=>s});var r=o(53005),n=o(27851),i=o(88191);function l(e){let t={“X-Requested-With”:”XMLHttpRequest”,…(0,i.wE)(e)};return(0,n.G7)(“client_version_header”)&&(t={…t,[r.S]:(0,r.O)()}),t}function s(e,t){for(let[o,r]of Object.entries(l(t)))e.set(o,r)}function c(e){if((0,n.G7)(“send_app_type_header”))return{“X-GitHub-App-Type”:e}}},88191:(e,t,o)=>{“use strict”;o.d(t,{$r:()=>l,M1:()=>s,li:()=>n,pS:()=>a,wE:()=>c});var r=o(96679);let n=”X-Fetch-Nonce”,i=new Set;function l(e){i.add(e)}function s(){return i.values().next().value||””}function c(e){let t={};return void 0!==e&&(t[“X-Fetch-Nonce-To-Validate”]=e),void 0===e?t[n]=s():i.has(e)?t[n]=e:t[n]=Array.from(i).join(“,”),t}function a(){let e=r.XC?.head?.querySelector(‘meta[name=”fetch-nonce”]’)?.content||””;e&&l(e)}},86549:(e,t,o)=>{“use strict”;o.d(t,{S:()=>i});var r=o(7799),n=o(8367);function i(){if((0,r.M3)())return;let e=(0,n.Ri)(“increase_contrast_light”),t=(0,n.Ri)(“increase_contrast_dark”);document.documentElement.setAttribute(“data-light-theme”,e?.value===”enabled”?”light_high_contrast”:”light”),document.documentElement.setAttribute(“data-dark-theme”,t?.value===”enabled”?”dark_high_contrast”:”dark”)}}},e=>{var t=t=>e(e.s=t);e.O(0,[“vendors-node_modules_oddbird_popover-polyfill_dist_popover-fn_js”,”vendors-node_modules_github_mini-throttle_dist_index_js-node_modules_stacktrace-parser_dist_s-1d3d52″,”ui_packages_failbot_failbot_ts”],()=>t(9158)),e.O()}]);
//# sourceMappingURL=environment-7c6556075269.js.map