티스토리 수익 글 보기

티스토리 수익 글 보기

“use strict”;(globalThis.webpackChunk_github_ui_github_ui=globalThis.webpackChunk_github_ui_github_ui||[]).push([[75320],{6923:(e,t,r)=>{r.d(t,{KJ:()=>a,X3:()=>o,g5:()=>i});var n=r(56038);let o=void 0===n.XC,a=!o;function i(){return!!o||!n.XC||!!(n.XC.querySelector(‘react-app[data-ssr=”true”]’)||n.XC.querySelector(‘react-partial[data-ssr=”true”][partial-name=”repos-overview”]’))}},21067:(e,t,r)=>{let n;function o(){let e=(void 0)??n;if(!e)throw Error(“Client env was requested before it was loaded. This likely means you are attempting to use client env at the module level in SSR, which is not supported. Please move your client env usage into a function.”);return e}function a(){return o().locale??”en-US”}function i(){return!!o().login}function c(){return o().login}if(r.d(t,{JK:()=>a,M3:()=>i,_$:()=>o,cj:()=>c}),”undefined”!=typeof document){let e=document.getElementById(“client-env”);if(e)try{n=JSON.parse(e.textContent||””)}catch(e){console.error(“Error parsing client-env”,e)}}},34095:(e,t,r)=>{r.d(t,{G:()=>o,K:()=>a});var n=r(71315);let o=n.XC?.readyState===”interactive”||n.XC?.readyState===”complete”?Promise.resolve():new Promise(e=>{n.XC?.addEventListener(“DOMContentLoaded”,()=>{e()})}),a=n.XC?.readyState===”complete”?Promise.resolve():new Promise(e=>{n.cg?.addEventListener(“load”,e)})},38102:(e,t,r)=>{let n;r.d(t,{AW:()=>y,fE:()=>v,N7:()=>b});var o=r(36301),a=r(77065),i=r(24212);function c(e){return(0,i.q)(e.stack||””).map(e=>({filename:e.file||””,function:String(e.methodName),lineno:(e.lineNumber||0).toString(),colno:(e.column||0).toString()}))}function l(e){let t=document.querySelectorAll(e);if(t.length>0)return t[t.length-1]}var s=r(99223),u=r(71315),d=r(94416),m=r(69599),f=r(88057);let h=!1,p=0,g=Date.now(),v=new Set([“AbortError”,”AuthSessionExpiredError”,”TypeError”,”RateLimitError”,”NotAcceptableError”,”SecFetchDestError”]),y=new Set([“Failed to fetch”,”NetworkError when attempting to fetch resource.”,”Unable to perform this operation. Please try again later.”]);function b(e,t={}){if(!(e instanceof Error||”object”==typeof e&&null!==e&&”name”in e&&”string”==typeof e.name&&”message”in e&&”string”==typeof e.message)){if(function(e){if(!e||”boolean”==typeof e||”number”==typeof e)return!0;if(“string”==typeof e){if(_.some(t=>e.includes(t)))return!0}else if(“object”==typeof e&&”string”==typeof e.message&&”number”==typeof e.code)return!0;return!1}(e))return;let r=Error(),n=function(e){try{return JSON.stringify(e)}catch{return”Unserializable”}}(e);S(w({type:”UnknownError”,value:`Unable to report error, due to a thrown non-Error type: ${typeof e}, with value ${n}`,stacktrace:c(r),catalogService:document.head?.querySelector(‘meta[name=”current-catalog-service”]’)?.content,catalogServiceHash:document.head?.querySelector(‘meta[name=”current-catalog-service-hash”]’)?.content},t));return}e.name&&(“AbortError”===e.name||”RateLimitError”===e.name||”NotAcceptableError”===e.name||”SecFetchDestError”===e.name||v.has(e.name)&&y.has(e.message)||e.name.startsWith(“ApiError”)&&y.has(e.message))||S(w({type:e.name,value:e.message,stacktrace:c(e),catalogService:e.catalogService||document.head?.querySelector(‘meta[name=”current-catalog-service”]’)?.content,catalogServiceHash:e.catalogServiceHash||document.head?.querySelector(‘meta[name=”current-catalog-service-hash”]’)?.content},t))}async function S(e){if(!(!A&&!h&&p<10&&(n??(n=(0,a.TT)()&&function(){let e=u.cg?.history,t=u.cg?.location;if(!e||!t)return!1;try{return e.replaceState(e.state,document.title,t.href),!0}catch{return!1}}()))))return;let t=document.head?.querySelector('meta[name="browser-errors-url"]')?.content;if(t){if(e.error.stacktrace.some(e=>E.test(e.filename)||E.test(e.function))){h=!0;return}p++;try{await fetch(t,{method:”post”,body:JSON.stringify({context:e,target:document.head?.querySelector(‘meta[name=”ui-target”]’)?.content||”full”})})}catch{}}}function w(e,t={}){let r,n={…t};return(0,m.G7)(“failbot_report_error_react_apps_on_page”)&&!n.reactAppName&&(n.reactAppName=function(e){let t=function(){let e=new Set;for(let[t,r]of q)for(let n of document.querySelectorAll(t))if(n instanceof HTMLElement){let t=n.getAttribute(r);t&&e.add(t)}return Array.from(e)}();if(!t||!t.length||!e||!e.length)return;let r=new Set;for(let n of e){if(!n||!n.filename)continue;let e=n.filename.split(/[\\/]/).pop();if(!e||r.has(e))continue;r.add(e);let o=t.find(t=>e.toLowerCase().includes(t.toLowerCase()));if(o)return o}}(e.stacktrace)),Object.assign({error:e,sanitizedUrl:`${window.location.protocol}//${window.location.host}${((r=l(“meta[name=analytics-location]”))?r.content:window.location.pathname)+function(){let e=l(“meta[name=analytics-location-query-strip]”),t=””;e||(t=window.location.search);let r=l(“meta[name=analytics-location-params]”);for(let e of(r&&(t+=(t?”&”:”?”)+r.content),document.querySelectorAll(“meta[name=analytics-param-rename]”))){let r=e.content.split(“:”,2);t=t.replace(RegExp(`(^|[?&])${r[0]}($|=)`,”g”),`$1${r[1]}$2`)}return t}()}`||window.location.href,readyState:document.readyState,referrer:(0,d.dR)(),timeSinceLoad:Math.round(Date.now()-g),user:function(){let e=document.head?.querySelector(‘meta[name=”user-login”]’)?.content;if(e)return e;let t=(0,o.y)();return`anonymous-${t}`}()||void 0,actorId:document.head?.querySelector(‘meta[name=”octolytics-actor-id”]’)?.content,bundler:s.v,ui:”vite-tss”===s.v,release:document.head?.querySelector(‘meta[name=”release”]’)?.content,pastRequestIds:(0,f.xA)()},n)}let E=/(chrome|moz|safari)-extension:\/\//,A=!1;u.cg?.addEventListener(“pageshow”,()=>A=!1),u.cg?.addEventListener(“pagehide”,()=>A=!0),”function”==typeof BroadcastChannel&&new BroadcastChannel(“shared-worker-error”).addEventListener(“message”,e=>{b(e.data.error)});let _=[“Object Not Found Matching Id”,”Not implemented on this platform”,”provider because it’s not your default extension”],q=[[“react-app”,”app-name”],[“react-partial”,”partial-name”]]},53419:(e,t,r)=>{let n;r.d(t,{BI:()=>h,Ti:()=>p,lA:()=>m,sX:()=>f});var o=r(70837),a=r(18679),i=r(82075),c=r(82518);let{getItem:l}=(0,i.A)(“localStorage”),s=”dimension_”,u=[“utm_source”,”utm_medium”,”utm_campaign”,”utm_term”,”utm_content”,”scid”];try{let e=(0,o.O)(“octolytics”);delete e.baseContext,n=new a.s(e)}catch{}function d(e){let t=(0,o.O)(“octolytics”).baseContext||{};if(t)for(let[e,r]of(delete t.app_id,delete t.event_url,delete t.host,Object.entries(t)))e.startsWith(s)&&(t[e.replace(s,””)]=r,delete t[e]);let r=document.querySelector(“meta[name=visitor-payload]”);for(let[e,n]of(r&&Object.assign(t,JSON.parse(atob(r.content))),new URLSearchParams(window.location.search)))u.includes(e.toLowerCase())&&(t[e]=n);return t.staff=(0,c.Xl)().toString(),Object.assign(t,e)}function m(e){n?.sendPageView(d(e))}function f(){return document.head?.querySelector(‘meta[name=”current-catalog-service”]’)?.content}function h(e,t={}){let r=f(),o=r?{service:r}:{};for(let[e,r]of Object.entries(t))null!=r&&(o[e]=`${r}`);n&&(d(o),n.sendEvent(e||”unknown”,d(o)))}function p(e){return Object.fromEntries(Object.entries(e).map(([e,t])=>[e,JSON.stringify(t)]))}},56038:(e,t,r)=>{r.d(t,{Kn:()=>i,XC:()=>o,cg:()=>a,fV:()=>c});let n=”undefined”!=typeof FORCE_SERVER_ENV&&FORCE_SERVER_ENV,o=”undefined”==typeof document||n?void 0:document,a=”undefined”==typeof window||n?void 0:window,i=”undefined”==typeof history||n?void 0:history,c=”undefined”==typeof location||n?{pathname:””,origin:””,search:””,hash:””,href:””}:location},59264:(e,t,r)=>{var n=r(21403);(0,n.lB)(“.js-nav-padding-recalculate”,e=>{let t=!1,r=0,n=document.querySelector(“.js-header-menu”),o=document.querySelector(“.js-header-wrapper”),a=document.querySelector(“.js-header”),i=document.querySelectorAll(“.js-prevent-focus-on-mobile-nav”),c=e=>{let t;return()=>{t&&cancelAnimationFrame(t),t=requestAnimationFrame(e)}},l=()=>{let e=o?.clientHeight;e!==r&&(document.documentElement.style.setProperty(“–header-wrapper-height”,`${e}px`),r=e)},s=()=>{if(!n||!o||!a)return;let e=o.clientHeight,t=”absolute”===getComputedStyle(a).position,r=”fixed”===getComputedStyle(o).position;t&&(e+=a.clientHeight),r||(e-=window.scrollY),n.style.setProperty(“padding-top”,`${e}px`)},u=c(s);if(o&&”fixed”===getComputedStyle(o).position){let e=c(l);new ResizeObserver(()=>{e()}).observe(o),l()}let d=r=>{“Escape”===r.key&&t&&(e.click(),e.focus())};window.removeEventListener(“resize”,s),document.removeEventListener(“keydown”,d);let m=()=>{t||s()};document.addEventListener(“global-banner:close”,()=>{t&&s()}),e.addEventListener(“mousedown”,m),e.addEventListener(“touchstart”,m,{passive:!0}),e.addEventListener(“keydown”,m),a.addEventListener(“details:toggled”,e=>{if(e.target===a){if(t=e.detail.open){if(window.addEventListener(“resize”,u),document.addEventListener(“keydown”,d),i)for(let e of i)e.setAttribute(“tabindex”,”-1″)}else if(window.removeEventListener(“resize”,u),document.removeEventListener(“keydown”,d),i)for(let e of i)e.removeAttribute(“tabindex”)}},!1)}),(0,n.lB)(‘#__primerPortalRoot__, .js-header [data-target=”deferred-side-panel.panel”]’,e=>{e.setAttribute(“data-color-mode”,”light”),e.setAttribute(“data-light-theme”,”light”),e.setAttribute(“data-dark-theme”,”dark”)}),(0,n.lB)(“.js-header-menu-focus-trap”,e=>{e.addEventListener(“focusin”,()=>{let e=document.querySelector(“.js-header-menu-toggle”);e&&e.focus()})}),(0,n.lB)(“.js-header-overlay-fixed”,()=>{let e=document.querySelector(“.js-header-wrapper”),t=document.createElement(“div”);t.setAttribute(“data-scroll-watcher”,”true”),e.before(t),new IntersectionObserver(t=>{e?.setAttribute(“data-is-top”,`${t[0]?.isIntersecting}`)},{rootMargin:”100px 0px 0px 0px”}).observe(t)})},69599:(e,t,r)=>{r.d(t,{G7:()=>l,XY:()=>s,fQ:()=>c});var n=r(5225),o=r(21067);function a(){return new Set((0,o._$)().featureFlags)}let i=r(71315).X3||function(){try{return process?.env?.STORYBOOK===”true”}catch{return!1}}()?a:(0,n.A)(a);function c(){return Array.from(i())}function l(e){return i().has(e)}let s={isFeatureEnabled:l}},71315:(e,t,r)=>{r.d(t,{KJ:()=>n.KJ,Kn:()=>o.Kn,X3:()=>n.X3,XC:()=>o.XC,cg:()=>o.cg,fV:()=>o.fV,g5:()=>n.g5});var n=r(6923),o=r(56038)},78903:(e,t,r)=>{var n=r(50467);new class QueryParamOverrider{collectParams(){for(let e of this.paramsToOverride){let t=RegExp(`${e}=([^=&]*)`,”i”),r=t.exec(this.queryString);t.lastIndex=0,r&&r[1]&&(this.collectedParamsMap[e]=r[1],this.collectedParams.push(`${e}=${r[1]}`))}}overrideParams(e){let t=e.getAttribute(“href”),r=””;if(!(!t||/^javascript:|^mailto:|^tel:|^#/.test(t))){if(-1!==t.indexOf(“#”)){let e=t.split(“#”);if(2!==e.length)return;e[0]&&(t=e[0]),e[1]&&(r=`#${e[1]}`)}if(-1===t.indexOf(“?”))t+=`?${this.collectedParams.join(“&”)}`;else for(let e of this.paramsToOverride){if(!this.collectedParamsMap.hasOwnProperty(e))continue;let r=RegExp(`${e}=([^=&]*)`,”i”),n=r.exec(t);if(r.lastIndex=0,!n){this.collectedParamsMap.hasOwnProperty(e)&&(t+=`&${e}=${this.collectedParamsMap[e]}`);continue}t=t.replace(r,`${e}=${this.collectedParamsMap[e]}`)}t+=r,e.setAttribute(“data-override-applied”,”true”),e.setAttribute(“href”,t)}}eventReaction(e){let t=e.target;!t||”A”!==t.tagName||t.hasAttribute(“data-override-applied”)||this.overrideParams(t)}bindEvents(){document.body.addEventListener(“mouseenter”,this.eventReaction.bind(this),!0),document.body.addEventListener(“touchstart”,this.eventReaction.bind(this),{passive:!0,capture:!0})}constructor(){if((0,n._)(this,”paramsToOverride”,void 0),(0,n._)(this,”queryString”,void 0),(0,n._)(this,”collectedParamsMap”,void 0),(0,n._)(this,”collectedParams”,void 0),(0,n._)(this,”queryRe”,void 0),this.paramsToOverride=[“utm_campaign”,”utm_medium”,”utm_source”,”ocid”],this.queryString=document.location.search,this.collectedParamsMap={},this.collectedParams=[],this.queryRe=RegExp(`(${this.paramsToOverride.join(“|”)})=([^=&]*)`,”gi”),!this.queryString||!this.queryRe.test(this.queryString))return;this.collectParams(),this.bindEvents()}}},82075:(e,t,r)=>{r.d(t,{A:()=>i,D:()=>c});var n=r(71315),o=r(82518);let a=class NoOpStorage{getItem(){return null}setItem(){}removeItem(){}clear(){}key(){return null}get length(){return 0}};function i(e,t={throwQuotaErrorsOnSet:!1},r=n.cg,c=e=>e,l=e=>e){let s;try{if(!r)throw Error();s=r[e]||new a}catch{s=new a}let{throwQuotaErrorsOnSet:u}=t;function d(e){t.sendCacheStats&&(0,o.iv)({incrementKey:e})}function m(e){try{if(s.removeItem(e),t.ttl){let t=`${e}:expiry`;s.removeItem(t)}}catch{}}return{getItem:function(e,t=Date.now()){try{let r=s.getItem(e);if(!r)return null;let n=`${e}:expiry`,o=Number(s.getItem(n));if(o&&t>o)return m(e),m(n),d(“SAFE_STORAGE_VALUE_EXPIRED”),null;return d(“SAFE_STORAGE_VALUE_WITHIN_TTL”),c(r)}catch{return null}},setItem:function(e,r,n=Date.now()){try{if(s.setItem(e,l(r)),t.ttl){let r=`${e}:expiry`,o=n+t.ttl;s.setItem(r,o.toString())}}catch(e){if(u&&e instanceof Error&&e.message.toLowerCase().includes(“quota”))throw e}},removeItem:m,clear:()=>s.clear(),getKeys:function(){return Object.keys(s)},get length(){return s.length}}}function c(e){return i(e,{throwQuotaErrorsOnSet:!1},n.cg,JSON.parse,JSON.stringify)}},82518:(e,t,r)=>{r.d(t,{Xl:()=>g,au:()=>d,iv:()=>m});var n=r(71315),o=r(34095),a=r(99223),i=r(69599),c=r(21067),l=r(70170);let s={PRS_COMMENT_BOX_INP:{name:”pull_requests.comment_box.inp”,hash:”070a85f091c124d118031ed374badf58df0cd9c2902f9aa4f9e09f6fdcbb91d0″,type:”distribution”},PULL_REQUESTS_FILES_JS_HEAP:{name:”pull_requests.files.js_heap”,hash:”7c5d986de8ccbfd17ae58e0da85158912cf65aeb256aecf28c35ddeb794cd2d3″,type:”distribution”}},u=[];function d({name:e,value:t,tags:r}){m({customMetric:{…s[e],value:t,tags:r},ui:”vite-tss”===a.v})}function m(e,t=!1,r=.5){if(!n.X3&&!0!==(0,i.G7)(“browser_stats_disabled”)){if(r<0||r>1)throw RangeError(“Sampling probability must be between 0 and 1”);void 0===e.timestamp&&(e.timestamp=Date.now()),e.loggedIn=(0,c.M3)(),e.staff=g(),e.bundler=a.v,e.ui=”vite-tss”===a.v,Math.random()JSON.stringify(e));for(;r.length>0;)t.push(function(e){let t=e.shift(),r=[t],n=t.length;for(;e.length>0&&n<=65536;){let t=e[0].length;if(n+t<=65536){let o=e.shift();r.push(o),n+=t}else break}return r}(r));return t}(u)){var t=e,r=`{"stats": [${o.join(",")}], "target": "${n.XC?.head?.querySelector('meta[name="ui-target"]')?.content||"full"}"}`;try{navigator.sendBeacon&&navigator.sendBeacon(t,r)}catch{}}u=[]}}function g(){return!!n.XC?.head?.querySelector('meta[name="user-staff"]')?.content}n.XC?.addEventListener("pagehide",p),n.XC?.addEventListener("visibilitychange",p)},88057:(e,t,r)=>{r.d(t,{Ex:()=>i,kt:()=>l,xA:()=>c});var n=r(71315);let o=Array(10).fill(null),a=0;function i(e){o[a]=e,a=(a+1)%10}function c(){let e=[];for(let t=0;t<10;t++){let r=o[(a-1-t+10)%10];r&&e.push(r)}return e}function l(){let e=n.XC;if(!e)return;let t=e.querySelector('meta[name="request-id"]'),r=t?.getAttribute("content");r&&i(r)}},94416:(e,t,r)=>{r.d(t,{BW:()=>o,Ff:()=>f,HK:()=>b,JA:()=>q,LM:()=>h,Pv:()=>E,Vy:()=>m,ZW:()=>w,dR:()=>S,di:()=>p,fX:()=>A,gc:()=>_,k9:()=>y,my:()=>v,wG:()=>g,xT:()=>d});var n=r(95800);let o=”reload”,a=”soft-nav:fail”,i=”soft-nav:fail-referrer”,c=”soft-nav:referrer”,l=”soft-nav:marker”,s=”soft-nav:react-app-name”,u=”soft-nav:latest-mechanism”;function d(){(0,n.SO)(l,”0″),(0,n.Ai)(c),(0,n.Ai)(a),(0,n.Ai)(i),(0,n.Ai)(s),(0,n.Ai)(u)}function m(e){(0,n.SO)(l,e)}function f(){(0,n.SO)(l,”0″)}function h(){let e=(0,n.Gq)(l);return e&&”0″!==e}function p(){return(0,n.Gq)(l)}function g(){return!!v()}function v(){return(0,n.Gq)(a)}function y(e){(0,n.SO)(a,e||o),(0,n.SO)(i,window.location.href)}function b(){(0,n.SO)(c,window.location.href)}function S(){return(0,n.Gq)(c)||document.referrer}function w(){let e=A();e?(0,n.SO)(s,e):(0,n.Ai)(s)}function E(){return(0,n.Gq)(s)}function A(){return document.querySelector(“projects-v2″)?”memex”:document.querySelector(‘react-partial[partial-name=”repos-overview”]’)?”repos-overview”:document.querySelector(“react-app”)?.getAttribute(“app-name”)}function _(){return!!document.querySelector(“react-app”)?.getAttribute(“app-name”)||!!document.querySelector(“projects-v2”)}function q(e){(0,n.SO)(u,e)}},95800:(e,t,r)=>{r.d(t,{Ai:()=>a,Gq:()=>n,SO:()=>o});let{getItem:n,setItem:o,removeItem:a}=(0,r(82075).A)(“sessionStorage”)},95911:(e,t,r)=>{var n=r(97797),o=r(21403),a=r(38102),i=r(53419);let c=”data-analytics-event”,l=”data-analytics-visible”,s=`a:not([${c}]), button:not([${c}]), [${c}]`,u=`[${l}]`;function d(e,t){return e.tagName.toLowerCase()===t}function m(e){return{text:e.textContent||e.getAttribute(“aria-label”)||””,target:e.href}}function f(e){let t=e.closest(“form”);return{text:e.textContent||e.getAttribute(“aria-label”)||””,role:e.getAttribute(“type”)||e.getAttribute(“role”)||”button”,…e.value&&{value:e.value},…t&&{formAction:t.getAttribute(“action”)||””}}}function h(e){if(!e)return{};let t=JSON.parse(e),{label:r}=t;return{…function(e){if(!e)return{};let t={};for(let r of e.split(“;”).map(e=>e.trim())){let[e,n]=r.split(“:”);e&&(t[e.trim()]=n?.trim()||e.trim())}return t}(r),…t}}(0,n.on)(“click”,s,e=>{if(e&&e.currentTarget)try{var t;(0,i.BI)(“analytics.click”,(t=e.currentTarget,{…d(t,”a”)&&m(t),…d(t,”button”)&&f(t),…h(t.getAttribute(c))})),d(e.currentTarget,”details”)&&e.currentTarget.removeAttribute(c)}catch(e){(0,a.N7)(e)}});let p=new IntersectionObserver(function(e){for(let r of e)if(r.isIntersecting)try{var t;(0,i.BI)(“analytics.visible”,(t=r.target,{…d(t,”a”)&&m(t),…d(t,”button”)&&f(t),…h(t.getAttribute(l))})),p.unobserve(r.target)}catch(e){(0,a.N7)(e)}},{rootMargin:”0% 0% -30% 0%”,threshold:0});(0,o.lB)(u,e=>{p.observe(e)})},99223:(e,t,r)=>{r.d(t,{k:()=>i,v:()=>c});var n=r(5225),o=r(71315);let a=(0,n.A)(function(){return o.XC?.head?.querySelector(‘meta[name=”runtime-environment”]’)?.content||””}),i=(0,n.A)(function(){return”enterprise”===a()}),c=”webpack”}}]); //# sourceMappingURL=75320-0d95e9f9e020.js.map