티스토리 수익 글 보기
“use strict”;(globalThis.webpackChunk_github_ui_github_ui=globalThis.webpackChunk_github_ui_github_ui||[]).push([[5903],{4559:(e,t,n)=>{n.d(t,{C:()=>o,i:()=>l});var a=n(71315),r=n(69599),i=n(46493);function o(e,t){(0,r.G7)(“arianotify_comprehensive_migration”)?l(s(e),{…t,element:t?.element??e}):(0,r.G7)(“primer_live_region_element”)&&t?.element===void 0?(0,i.Cj)(e,{politeness:t?.assertive?”assertive”:”polite”}):l(s(e),t)}function l(e,t){let{assertive:n,element:o}=t??{};if((0,r.G7)(“arianotify_comprehensive_migration”))try{“ariaNotify”in Element.prototype&&o?o.ariaNotify(e):”ariaNotify”in Document.prototype&&document.ariaNotify(e)}catch(e){console.error(“Error calling ariaNotify:”,e)}else{var l,s;let t;(0,r.G7)(“primer_live_region_element”)&&void 0===o?(0,i.iP)(e,{politeness:n?”assertive”:”polite”}):(l=e,s=n,(t=o??a.XC?.querySelector(s?”#js-global-screen-reader-notice-assertive”:”#js-global-screen-reader-notice”))&&(t.textContent===l?t.textContent=`${l}\u00A0`:t.textContent=l))}}function s(e){return(e.getAttribute(“aria-label”)||e.innerText||””).trim()}},21764:(e,t,n)=>{n.d(t,{f:()=>c});var a=n(21403),r=n(97797),i=n(58371),o=n(46865),l=n(53627),s=n(4559);function c(e,t){let n=t.querySelector(“*”),a=e.ownerDocument.activeElement,r=null;if(a instanceof HTMLElement&&n instanceof Element){let e=function(e){let t=e.tagName.toLowerCase();if(e.hasAttribute(“id”)){let n=e.id,a=n.match(/^(.+)-\d+$/),r=n.match(/^(.+)-[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}(-.*)?$/);if(a){let e=a[1];return`${t}[id^=”${e}”]`}if(r){let e=r[1],n=r[2]||””;return n?`${t}[id^=”${e}”][id$=”${n}”]`:`${t}[id^=”${e}”]`}return`${t}#${CSS.escape(n)}`}let n=e.hasAttribute(“class”)?`.${e.className.split(” “).map(CSS.escape).join(“.”)}`:””;return`${t}${n}`}(a),t=Array.from(n.querySelectorAll(e));if(1===t.length)r=t[0]??null;else if(t.length>1){let e=a.getAttribute(“aria-describedby”);if(e){let n=e.split(/\s+/).filter(Boolean);for(let e of t){let t=e.getAttribute(“aria-describedby”);if(!t)continue;let a=t.split(/\s+/).filter(Boolean);if(n.some(e=>a.includes(e))){r=e;break}}r||(r=t[0]??null)}else r=t[0]??null}}if(e.replaceWith(t),r instanceof HTMLElement&&(r.focus(),r.getAttribute(“aria-describedby”)?.includes(“codespaces-repository-select-label”))){let e=document.getElementById(“codespaces-create-notice-text”);e&&(0,s.C)(e)}}function d(){let e=new URLSearchParams(new URL(document.location.href,window.location.origin).search);e.set(“response_error”,”true”),window.location.replace(`${window.location.pathname}?${e.toString()}`)}(0,r.on)(“remote-input-error”,”#js-codespaces-repository-select”,()=>{document.querySelector(“#js-codespaces-unable-load-repositories-warning”).hidden=!1}),(0,i.JW)(“.js-new-codespace-form”,async function(e,t){let n=e.closest(“[data-replace-remote-form-target]”),a=n.querySelector(“.js-new-codespace-submit-button”);a instanceof HTMLInputElement&&(a.disabled=!0),e.classList.remove(“is-error”),e.classList.add(“is-loading”);try{a&&a.setAttribute(“disabled”,”true”);let e=await t.html();if(200!==e.status&&d(),c(n,e.html),”true”===n.getAttribute(“data-allow-update-url”)){var r=new FormData(document.querySelector(“form.js-new-codespace-form”));let e=new URLSearchParams(new URL(document.location.href,window.location.origin).search),t=[“vscs_target”];for(let[n,a]of r.entries()){if(t.includes(n)||!a){e.delete(n);continue}e.set(n,a)}(0,l.MM)(e)}}catch(e){throw console.error(“Error submitting new codespace form:”,e),d(),e}});let u=null;function f(e){u=e,null!==e&&document.querySelector(“.js-codespace-loading-steps”).setAttribute(“data-current-state”,u)}(0,a.lB)(“.js-codespace-loading-steps”,{constructor:HTMLElement,add:e=>{let t=e.getAttribute(“data-current-state”);t&&f(t)}}),(0,a.lB)(“.js-codespace-advance-state”,{constructor:HTMLElement,add:e=>{let t=e.getAttribute(“data-state”);t&&f(t)}}),(0,a.lB)(“.js-auto-submit-form”,{constructor:HTMLFormElement,initialize:o.k_}),(0,a.lB)(“.js-workbench-form-container”,{constructor:HTMLElement,add:()=>{let e=document.querySelector(“.js-workbench-form-container form”);(0,o.k_)(e)}})},34095:(e,t,n)=>{n.d(t,{G:()=>r,K:()=>i});var a=n(71315);let r=a.XC?.readyState===”interactive”||a.XC?.readyState===”complete”?Promise.resolve():new Promise(e=>{a.XC?.addEventListener(“DOMContentLoaded”,()=>{e()})}),i=a.XC?.readyState===”complete”?Promise.resolve():new Promise(e=>{a.cg?.addEventListener(“load”,e)})},53627:(e,t,n)=>{n.d(t,{C3:()=>s,JV:()=>i,K3:()=>f,MM:()=>c,OE:()=>m,Zu:()=>u,bj:()=>o,jc:()=>d,kd:()=>l});var a=n(71315);let r=null;function i(){return a.Kn?.state||{}}function o(e){p(i(),””,e)}function l(e){a.Kn?.pushState({appId:i().appId},””,e),b()}function s(e){let t={…i(),…e};r&&(r=t),p(t,””,location.href)}function c(e){o(`?${e.toString()}${a.fV.hash}`)}function d(){o(a.fV.pathname+a.fV.hash)}function u(e){o(e.startsWith(“#”)?e:`#${e}`),(r=i())&&requestIdleCallback(()=>{!history.state&&r&&(s(r),r=null)})}function f(){o(a.fV.pathname+a.fV.search)}function m(){a.Kn?.back()}function p(e,t,n){a.Kn?.replaceState(e,t,n),b()}function b(){a.cg?.dispatchEvent(new CustomEvent(“statechange”,{bubbles:!1,cancelable:!1}))}},70987:(e,t,n)=>{n.d(t,{r:()=>r});var a=n(97797);async function r(e){let t=document.querySelector(“#site-details-dialog”).content.cloneNode(!0),n=t.querySelector(“details”),r=n.querySelector(“details-dialog”),i=n.querySelector(“.js-details-dialog-spinner”);e.detailsClass&&n.classList.add(…e.detailsClass.split(” “)),e.dialogClass&&r.classList.add(…e.dialogClass.split(” “)),e.label?r.setAttribute(“aria-label”,e.label):e.labelledBy&&r.setAttribute(“aria-labelledby”,e.labelledBy),document.body.append(t);try{let t=await e.content;i.remove(),r.prepend(t)}catch{i.remove();let t=document.createElement(“span”);t.textContent=e.errorMessage||”Couldn’t load the content”,t.classList.add(“my-6”),t.classList.add(“mx-4”),r.prepend(t)}return n.addEventListener(“toggle”,()=>{n.hasAttribute(“open”)||((0,a.h)(r,”dialog:remove”),n.remove())}),r}},82518:(e,t,n)=>{n.d(t,{Xl:()=>h,au:()=>u,iv:()=>f});var a=n(71315),r=n(34095),i=n(99223),o=n(69599),l=n(21067),s=n(70170);let c={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”}},d=[];function u({name:e,value:t,tags:n}){f({customMetric:{…c[e],value:t,tags:n},ui:”vite-tss”===i.v})}function f(e,t=!1,n=.5){if(!a.X3&&!0!==(0,o.G7)(“browser_stats_disabled”)){if(n<0||n>1)throw RangeError(“Sampling probability must be between 0 and 1”);void 0===e.timestamp&&(e.timestamp=Date.now()),e.loggedIn=(0,l.M3)(),e.staff=h(),e.bundler=i.v,e.ui=”vite-tss”===i.v,Math.random()JSON.stringify(e));for(;n.length>0;)t.push(function(e){let t=e.shift(),n=[t],a=t.length;for(;e.length>0&&a<=65536;){let t=e[0].length;if(a+t<=65536){let r=e.shift();n.push(r),a+=t}else break}return n}(n));return t}(d)){var t=e,n=`{"stats": [${r.join(",")}], "target": "${a.XC?.head?.querySelector('meta[name="ui-target"]')?.content||"full"}"}`;try{navigator.sendBeacon&&navigator.sendBeacon(t,n)}catch{}}d=[]}}function h(){return!!a.XC?.head?.querySelector('meta[name="user-staff"]')?.content}a.XC?.addEventListener("pagehide",b),a.XC?.addEventListener("visibilitychange",b)},99223:(e,t,n)=>{n.d(t,{k:()=>o,v:()=>l});var a=n(5225),r=n(71315);let i=(0,a.A)(function(){return r.XC?.head?.querySelector(‘meta[name=”runtime-environment”]’)?.content||””}),o=(0,a.A)(function(){return”enterprise”===i()}),l=”webpack-react-next”}}]);
//# sourceMappingURL=5903-cd29fb170be3.js.map