티스토리 수익 글 보기

티스토리 수익 글 보기

“use strict”;(globalThis.webpackChunk_github_ui_github_ui=globalThis.webpackChunk_github_ui_github_ui||[]).push([[9288],{4559:(e,t,r)=>{r.d(t,{C:()=>i,i:()=>c});var n=r(71315),a=r(69599),o=r(46493);function i(e,t){(0,a.G7)(“arianotify_comprehensive_migration”)?c(l(e),{…t,element:t?.element??e}):(0,a.G7)(“primer_live_region_element”)&&t?.element===void 0?(0,o.Cj)(e,{politeness:t?.assertive?”assertive”:”polite”}):c(l(e),t)}function c(e,t){let{assertive:r,element:i}=t??{};if((0,a.G7)(“arianotify_comprehensive_migration”))try{“ariaNotify”in Element.prototype&&i?i.ariaNotify(e):”ariaNotify”in Document.prototype&&document.ariaNotify(e)}catch(e){console.error(“Error calling ariaNotify:”,e)}else{var c,l;let t;(0,a.G7)(“primer_live_region_element”)&&void 0===i?(0,o.iP)(e,{politeness:r?”assertive”:”polite”}):(c=e,l=r,(t=i??n.XC?.querySelector(l?”#js-global-screen-reader-notice-assertive”:”#js-global-screen-reader-notice”))&&(t.textContent===c?t.textContent=`${c}\u00A0`:t.textContent=c))}}function l(e){return(e.getAttribute(“aria-label”)||e.innerText||””).trim()}},6923:(e,t,r)=>{r.d(t,{KJ:()=>o,X3:()=>a,g5:()=>i});var n=r(56038);let a=void 0===n.XC,o=!a;function i(){return!!a||!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 a(){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 o(){return a().locale??”en-US”}function i(){return!!a().login}function c(){return a().login}if(r.d(t,{JK:()=>o,M3:()=>i,_$:()=>a,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:()=>a,K:()=>o});var n=r(71315);let a=n.XC?.readyState===”interactive”||n.XC?.readyState===”complete”?Promise.resolve():new Promise(e=>{n.XC?.addEventListener(“DOMContentLoaded”,()=>{e()})}),o=n.XC?.readyState===”complete”?Promise.resolve():new Promise(e=>{n.cg?.addEventListener(“load”,e)})},38102:(e,t,r)=>{let n;r.d(t,{AW:()=>g,fE:()=>v,N7:()=>S});var a=r(36301),o=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),f=r(69599),m=r(88057);let p=!1,h=0,y=Date.now(),v=new Set([“AbortError”,”AuthSessionExpiredError”,”TypeError”,”RateLimitError”,”NotAcceptableError”,”SecFetchDestError”]),g=new Set([“Failed to fetch”,”NetworkError when attempting to fetch resource.”,”Unable to perform this operation. Please try again later.”]);function S(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(E.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);b(C({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)&&g.has(e.message)||e.name.startsWith(“ApiError”)&&g.has(e.message))||b(C({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 b(e){if(!(!_&&!p&&h<10&&(n??(n=(0,o.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=>w.test(e.filename)||w.test(e.function))){p=!0;return}h++;try{await fetch(t,{method:”post”,body:JSON.stringify({context:e,target:document.head?.querySelector(‘meta[name=”ui-target”]’)?.content||”full”})})}catch{}}}function C(e,t={}){let r,n={…t};return(0,f.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 N)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 a=t.find(t=>e.toLowerCase().includes(t.toLowerCase()));if(a)return a}}(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()-y),user:function(){let e=document.head?.querySelector(‘meta[name=”user-login”]’)?.content;if(e)return e;let t=(0,a.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,m.xA)()},n)}let w=/(chrome|moz|safari)-extension:\/\//,_=!1;u.cg?.addEventListener(“pageshow”,()=>_=!1),u.cg?.addEventListener(“pagehide”,()=>_=!0),”function”==typeof BroadcastChannel&&new BroadcastChannel(“shared-worker-error”).addEventListener(“message”,e=>{S(e.data.error)});let E=[“Object Not Found Matching Id”,”Not implemented on this platform”,”provider because it’s not your default extension”],N=[[“react-app”,”app-name”],[“react-partial”,”partial-name”]]},40064:(e,t,r)=>{r.d(t,{V:()=>f});var n=r(74848),a=r(96540),o=r(43258),i=r(38621),c=r(52870),l=r(56149);let s={info:””,success:”Toast–success”,error:”Toast–error”},u={info:(0,n.jsx)(i.InfoIcon,{}),success:(0,n.jsx)(i.CheckIcon,{}),error:(0,n.jsx)(i.StopIcon,{})},d=({message:e,timeToLive:t,icon:r,type:o=”info”,role:i=”log”})=>{let[d,f]=a.useState(!0),{safeSetTimeout:m}=(0,c.A)();return(0,a.useEffect)(()=>{t&&m(()=>f(!1),t-300)},[m,t]),(0,n.jsx)(l.ZL,{children:(0,n.jsx)(“div”,{className:”p-1 position-fixed bottom-0 left-0 mb-3 ml-3″,children:(0,n.jsxs)(“div”,{className:`Toast ${s[o]} ${d?”Toast–animateIn”:”Toast–animateOut”}`,id:”ui-app-toast”,”data-testid”:`ui-app-toast-${o}`,role:i,children:[(0,n.jsx)(“span”,{className:”Toast-icon”,children:r||u[o]}),(0,n.jsx)(“span”,{className:”Toast-content”,children:e})]})})})};try{d.displayName||(d.displayName=”Toast”)}catch{}function f(){let{toasts:e,persistedToast:t}=(0,a.useContext)(o.T8);return(0,n.jsxs)(n.Fragment,{children:[e.map((e,t)=>(0,n.jsx)(d,{message:e.message,icon:e.icon,timeToLive:o.Qn,type:e.type,role:e.role},t)),t&&(0,n.jsx)(d,{message:t.message,icon:t.icon,type:t.type,role:t.role})]})}try{f.displayName||(f.displayName=”Toasts”)}catch{}},42255:(e,t,r)=>{r.d(t,{A:()=>o});var n=r(70263),a=r(96540);let o=function(e){let t=(0,n.A)(),[r,o]=(0,a.useState)(e);return[r,(0,a.useCallback)(e=>{t()&&o(e)},[t])]}},43258:(e,t,r)=>{r.d(t,{Qn:()=>l,T8:()=>u,Y6:()=>f,k6:()=>d});var n=r(74848),a=r(52870),o=r(96540),i=r(73189),c=r(42255);let l=5e3,s=(0,o.createContext)({addToast:i.l,addPersistedToast:i.l,clearPersistedToast:i.l}),u=(0,o.createContext)({toasts:[],persistedToast:null});function d({children:e}){let[t,r]=(0,c.A)([]),[i,d]=(0,o.useState)(null),{safeSetTimeout:f}=(0,a.A)(),m=(0,o.useCallback)(function(e){r([…t,e]),f(()=>r(t.slice(1)),l)},[t,f,r]),p=(0,o.useCallback)(function(e){d(e)},[d]),h=(0,o.useCallback)(function(){d(null)},[d]),y=(0,o.useMemo)(()=>({addToast:m,addPersistedToast:p,clearPersistedToast:h}),[p,m,h]),v=(0,o.useMemo)(()=>({toasts:t,persistedToast:i}),[t,i]);return(0,n.jsx)(s.Provider,{value:y,children:(0,n.jsx)(u.Provider,{value:v,children:e})})}function f(){return(0,o.useContext)(s)}try{s.displayName||(s.displayName=”ToastContext”)}catch{}try{u.displayName||(u.displayName=”InternalToastsContext”)}catch{}try{d.displayName||(d.displayName=”ToastContextProvider”)}catch{}},49936:(e,t,r)=>{r.d(t,{I:()=>n});let n=(0,r(96540).createContext)(null)},56038:(e,t,r)=>{r.d(t,{Kn:()=>i,XC:()=>a,cg:()=>o,fV:()=>c});let n=”undefined”!=typeof FORCE_SERVER_ENV&&FORCE_SERVER_ENV,a=”undefined”==typeof document||n?void 0:document,o=”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},57224:(e,t,r)=>{r.d(t,{y:()=>i});var n=r(74848),a=r(16522),o=r(49936);function i(e){let t,r,i=(0,a.c)(7),{children:c,appName:l,category:s,metadata:u}=e;i[0]!==l||i[1]!==s||i[2]!==u?(t={appName:l,category:s,metadata:u},i[0]=l,i[1]=s,i[2]=u,i[3]=t):t=i[3];let d=t;return i[4]!==c||i[5]!==d?(r=(0,n.jsx)(o.I.Provider,{value:d,children:c}),i[4]=c,i[5]=d,i[6]=r):r=i[6],r}try{i.displayName||(i.displayName=”AnalyticsProvider”)}catch{}},68273:(e,t,r)=>{r.d(t,{GV:()=>i,Z6:()=>c,kw:()=>u,th:()=>s,xS:()=>l});var n=r(69599),a=r(71315);function o(e){try{return(0,n.G7)(e)}catch{return!1}}let i=()=>!a.X3&&o(“react_compiler_diff_lines”),c=()=>!a.X3&&o(“react_compiler_pull_requests”),l=()=>!a.X3&&o(“react_compiler_prs_hooks”),s=()=>!a.X3&&o(“react_compiler_prs_ui”),u=()=>!a.X3&&o(“react_compiler_commits”)},69599:(e,t,r)=>{r.d(t,{G7:()=>l,XY:()=>s,fQ:()=>c});var n=r(5225),a=r(21067);function o(){return new Set((0,a._$)().featureFlags)}let i=r(71315).X3||function(){try{return process?.env?.STORYBOOK===”true”}catch{return!1}}()?o:(0,n.A)(o);function c(){return Array.from(i())}function l(e){return i().has(e)}let s={isFeatureEnabled:l}},70263:(e,t,r)=>{r.d(t,{A:()=>c});var n=r(68273),a=r(16522),o=r(88431),i=r(96540);let c=(0,n.xS)()?function(){let e,t,r,n=(0,a.c)(3),c=(0,i.useRef)(!1);n[0]===Symbol.for(“react.memo_cache_sentinel”)?(e=()=>c.current,n[0]=e):e=n[0];let l=e;return n[1]===Symbol.for(“react.memo_cache_sentinel”)?(t=()=>(c.current=!0,()=>{c.current=!1}),r=[],n[1]=t,n[2]=r):(t=n[1],r=n[2]),(0,o.N)(t,r),l}:function(){let e=(0,i.useRef)(!1),t=(0,i.useCallback)(()=>e.current,[]);return(0,o.N)(()=>(e.current=!0,()=>{e.current=!1}),[]),t}},71315:(e,t,r)=>{r.d(t,{KJ:()=>n.KJ,Kn:()=>a.Kn,X3:()=>n.X3,XC:()=>a.XC,cg:()=>a.cg,fV:()=>a.fV,g5:()=>n.g5});var n=r(6923),a=r(56038)},73189:(e,t,r)=>{r.d(t,{l:()=>n});let n=()=>void 0},76143:(e,t,r)=>{r.d(t,{D:()=>o,Y:()=>i});var n=r(4559),a=r(71315);function o(e){if(!a.XC)return;let t=a.XC.querySelector(“title”),r=a.XC.createElement(“title”);r.textContent=e,t?t.textContent!==e&&(t.replaceWith(r),(0,n.i)(e)):(a.XC.head.appendChild(r),(0,n.i)(e))}function i(e){return document.body.classList.contains(“logged-out”)?`${e} \xb7 GitHub`:e}},76629:(e,t,r)=>{r.d(t,{BP:()=>d,D3:()=>u,O8:()=>l});var n=r(74848),a=r(16522),o=r(96540),i=r(71315),c=r(88431);let l={ServerRender:”ServerRender”,ClientHydrate:”ClientHydrate”,ClientRender:”ClientRender”},s=(0,o.createContext)(l.ClientRender);function u(e){let t,r,u,d,f=(0,a.c)(8),{wasServerRendered:m,children:p}=e;f[0]!==m?(t=()=>i.X3?l.ServerRender:m?l.ClientHydrate:l.ClientRender,f[0]=m,f[1]=t):t=f[1];let[h,y]=(0,o.useState)(t);return f[2]!==h?(r=()=>{h!==l.ClientRender&&y(l.ClientRender)},u=[h],f[2]=h,f[3]=r,f[4]=u):(r=f[3],u=f[4]),(0,c.N)(r,u),f[5]!==p||f[6]!==h?(d=(0,n.jsx)(s.Provider,{value:h,children:p}),f[5]=p,f[6]=h,f[7]=d):d=f[7],d}function d(){return(0,o.useContext)(s)}try{s.displayName||(s.displayName=”RenderPhaseContext”)}catch{}try{u.displayName||(u.displayName=”RenderPhaseProvider”)}catch{}},82075:(e,t,r)=>{r.d(t,{A:()=>i,D:()=>c});var n=r(71315),a=r(82518);let o=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 o}catch{s=new o}let{throwQuotaErrorsOnSet:u}=t;function d(e){t.sendCacheStats&&(0,a.iv)({incrementKey:e})}function f(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`,a=Number(s.getItem(n));if(a&&t>a)return f(e),f(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`,a=n+t.ttl;s.setItem(r,a.toString())}}catch(e){if(u&&e instanceof Error&&e.message.toLowerCase().includes(“quota”))throw e}},removeItem:f,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:()=>y,au:()=>d,iv:()=>f});var n=r(71315),a=r(34095),o=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}){f({customMetric:{…s[e],value:t,tags:r},ui:”vite-tss”===o.v})}function f(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=y(),e.bundler=o.v,e.ui=”vite-tss”===o.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 a=e.shift();r.push(a),n+=t}else break}return r}(r));return t}(u)){var t=e,r=`{"stats": [${a.join(",")}], "target": "${n.XC?.head?.querySelector('meta[name="ui-target"]')?.content||"full"}"}`;try{navigator.sendBeacon&&navigator.sendBeacon(t,r)}catch{}}u=[]}}function y(){return!!n.XC?.head?.querySelector('meta[name="user-staff"]')?.content}n.XC?.addEventListener("pagehide",h),n.XC?.addEventListener("visibilitychange",h)},88057:(e,t,r)=>{r.d(t,{Ex:()=>i,kt:()=>l,xA:()=>c});var n=r(71315);let a=Array(10).fill(null),o=0;function i(e){a[o]=e,o=(o+1)%10}function c(){let e=[];for(let t=0;t<10;t++){let r=a[(o-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)}},88431:(e,t,r)=>{r.d(t,{N:()=>o});var n=r(71315),a=r(96540);let o=void 0!==n.cg?.document?.createElement?a.useLayoutEffect:a.useEffect},94416:(e,t,r)=>{r.d(t,{BW:()=>a,Ff:()=>m,HK:()=>S,JA:()=>N,LM:()=>p,Pv:()=>w,Vy:()=>f,ZW:()=>C,dR:()=>b,di:()=>h,fX:()=>_,gc:()=>E,k9:()=>g,my:()=>v,wG:()=>y,xT:()=>d});var n=r(95800);let a=”reload”,o=”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)(o),(0,n.Ai)(i),(0,n.Ai)(s),(0,n.Ai)(u)}function f(e){(0,n.SO)(l,e)}function m(){(0,n.SO)(l,”0″)}function p(){let e=(0,n.Gq)(l);return e&&”0″!==e}function h(){return(0,n.Gq)(l)}function y(){return!!v()}function v(){return(0,n.Gq)(o)}function g(e){(0,n.SO)(o,e||a),(0,n.SO)(i,window.location.href)}function S(){(0,n.SO)(c,window.location.href)}function b(){return(0,n.Gq)(c)||document.referrer}function C(){let e=_();e?(0,n.SO)(s,e):(0,n.Ai)(s)}function w(){return(0,n.Gq)(s)}function _(){return document.querySelector(“projects-v2″)?”memex”:document.querySelector(‘react-partial[partial-name=”repos-overview”]’)?”repos-overview”:document.querySelector(“react-app”)?.getAttribute(“app-name”)}function E(){return!!document.querySelector(“react-app”)?.getAttribute(“app-name”)||!!document.querySelector(“projects-v2”)}function N(e){(0,n.SO)(u,e)}},95800:(e,t,r)=>{r.d(t,{Ai:()=>o,Gq:()=>n,SO:()=>a});let{getItem:n,setItem:a,removeItem:o}=(0,r(82075).A)(“sessionStorage”)},99223:(e,t,r)=>{r.d(t,{k:()=>i,v:()=>c});var n=r(5225),a=r(71315);let o=(0,n.A)(function(){return a.XC?.head?.querySelector(‘meta[name=”runtime-environment”]’)?.content||””}),i=(0,n.A)(function(){return”enterprise”===o()}),c=”webpack-react-next”}}]); //# sourceMappingURL=9288-fd3cd1b18e2b.js.map