티스토리 수익 글 보기

티스토리 수익 글 보기

performance.mark(“js-parse-end:22278-f0bd99ab3072bfe9.js”); “use strict”;(globalThis.webpackChunk_github_ui_github_ui=globalThis.webpackChunk_github_ui_github_ui||[]).push([[“22278″],{91385(t,e,n){n.d(e,{Xq:()=>l,ai:()=>o,fN:()=>a,qA:()=>c});var r=-1/0,o=1/0;function i(t,e,n,o){for(var i=t.length,a=e.length,l=t.toLowerCase(),c=e.toLowerCase(),s=function(t){for(var e=t.length,n=Array(e),r=”/”,o=0;o1024)return r;var l=Array(n),c=Array(n);return i(t,e,l,c),c[n-1][a-1]}function l(t,e){var n=t.length,o=e.length,a=Array(n);if(!n||!o)return a;if(n===o){for(var l=0;l1024)return a;var c=Array(n),s=Array(n);i(t,e,c,s);for(var u=!1,l=n-1,d=o-1;l>=0;l–)for(;d>=0;d–)if(c[l][d]!==r&&(u||c[l][d]===s[l][d])){u=l&&d&&s[l][d]===c[l-1][d-1]+1,a[l]=d–;break}return a}function c(t,e){t=t.toLowerCase(),e=e.toLowerCase();for(var n=t.length,r=0,o=0;rk,FB:()=>d,p_:()=>_,CF:()=>g,aC:()=>$,zV:()=>I});let o=new WeakSet,i=new WeakMap;function a(t=document){if(i.has(t))return i.get(t);let e=!1,n=new MutationObserver(t=>{for(let e of t)if(“attributes”===e.type&&e.target instanceof Element)u(e.target);else if(“childList”===e.type&&e.addedNodes.length)for(let t of e.addedNodes)t instanceof Element&&l(t)});n.observe(t,{childList:!0,subtree:!0,attributeFilter:[“data-action”]});let r={get closed(){return e},unsubscribe(){e=!0,i.delete(t),n.disconnect()}};return i.set(t,r),r}function l(t){for(let e of t.querySelectorAll(“[data-action]”))u(e);t instanceof Element&&t.hasAttribute(“data-action”)&&u(t)}function c(t){let e=t.currentTarget;for(let n of s(e))if(t.type===n.type){let r=e.closest(n.tag);o.has(r)&&”function”==typeof r[n.method]&&r[n.method](t);let i=e.getRootNode();if(i instanceof ShadowRoot&&o.has(i.host)&&i.host.matches(n.tag)){let e=i.host;”function”==typeof e[n.method]&&e[n.method](t)}}}function*s(t){for(let e of(t.getAttribute(“data-action”)||””).trim().split(/\s+/)){let t=e.lastIndexOf(“:”),n=Math.max(0,e.lastIndexOf(“#”))||e.length;yield{type:e.slice(0,t),tag:e.slice(t+1,n),method:e.slice(n+1)||”handleEvent”}}}function u(t){for(let e of s(t))t.addEventListener(e.type,c)}function d(t,e){let n=t.tagName.toLowerCase();if(t.shadowRoot){for(let r of t.shadowRoot.querySelectorAll(`[data-target~=”${n}.${e}”]`))if(!r.closest(n))return r}for(let r of t.querySelectorAll(`[data-target~=”${n}.${e}”]`))if(r.closest(n)===t)return r}let f=t=>String(“symbol”==typeof t?t.description:t).replace(/([A-Z]($|[a-z]))/g,”-$1″).replace(/–/g,”-“).replace(/^-|-$/,””).toLowerCase(),h=(t,e=”property”)=>{let n=f(t);if(!n.includes(“-“))throw new DOMException(`${e}: ${String(t)} is not a valid ${e} name`,”SyntaxError”);return n},b=”attr”;function g(t,e){O(t,b).add(e)}let p=new WeakSet;function m(t,e){if(p.has(t))return;p.add(t);let n=Object.getPrototypeOf(t),r=n?.constructor?.attrPrefix??”data-“;for(let o of(e||(e=O(n,b)),e)){let e=t[o],n=h(`${r}${o}`),i={configurable:!0,get(){return this.getAttribute(n)||””},set(t){this.setAttribute(n,t||””)}};”number”==typeof e?i={configurable:!0,get(){return Number(this.getAttribute(n)||0)},set(t){this.setAttribute(n,t)}}:”boolean”==typeof e&&(i={configurable:!0,get(){return this.hasAttribute(n)},set(t){this.toggleAttribute(n,t)}}),Object.defineProperty(t,o,i),o in t&&!t.hasAttribute(n)&&i.set.call(t,e)}}let y=new Map,v=new Promise(t=>{“loading”!==document.readyState?t():document.addEventListener(“readystatechange”,()=>t(),{once:!0})}),w=new Promise(t=>{let e=new AbortController;e.signal.addEventListener(“abort”,()=>t());let n={once:!0,passive:!0,signal:e.signal},r=()=>e.abort();document.addEventListener(“mousedown”,r,n),document.addEventListener(“touchstart”,r,n),document.addEventListener(“keydown”,r,n),document.addEventListener(“pointerdown”,r,n)}),A={ready:()=>v,firstInteraction:()=>w,visible:t=>new Promise(e=>{let n=new IntersectionObserver(t=>{for(let r of t)if(r.isIntersecting){e(),n.disconnect();return}},{rootMargin:”0px 0px 256px 0px”,threshold:.01});for(let e of document.querySelectorAll(t))n.observe(e)})},C=new WeakMap;function E(t){cancelAnimationFrame(C.get(t)||0),C.set(t,requestAnimationFrame(()=>{for(let e of y.keys()){let n=t instanceof Element&&t.matches(e)?t:t.querySelector(e);if(customElements.get(e)||n){let r=n?.getAttribute(“data-load-on”)||”ready”,o=r in A?A[r]:A.ready;for(let t of y.get(e)||[])o(e).then(t);y.delete(e),C.delete(t)}}}))}function k(t,e){for(let[n,r]of(“string”==typeof t&&e&&(t={[t]:e}),Object.entries(t)))y.has(n)||y.set(n,new Set),y.get(n).add(r);S(document)}function S(t){r||(r=new MutationObserver(t=>{if(y.size)for(let e of t)for(let t of e.addedNodes)t instanceof Element&&E(t)})),E(t),r.observe(t,{subtree:!0,childList:!0})}let j=Symbol.for(“catalyst”);class x{constructor(t,e){const n=this,r=t.prototype.connectedCallback;t.prototype.connectedCallback=function(){n.connectedCallback(this,r)};const o=t.prototype.disconnectedCallback;t.prototype.disconnectedCallback=function(){n.disconnectedCallback(this,o)};const i=t.prototype.attributeChangedCallback;t.prototype.attributeChangedCallback=function(t,e,r){n.attributeChangedCallback(this,t,e,r,i)};let a=t.observedAttributes||[];Object.defineProperty(t,”observedAttributes”,{configurable:!0,get(){return n.observedAttributes(this,a)},set(t){a=t}}),function(t){let e=t.observedAttributes||[],n=t.attrPrefix??”data-“,r=t=>h(`${n}${t}`);Object.defineProperty(t,”observedAttributes”,{configurable:!0,get:()=>[…O(t.prototype,b)].map(r).concat(e),set(t){e=t}})}(t),function(t,e){let n=e||f(t.name).replace(/-element$/,””);try{window.customElements.define(n,t),window[t.name]=customElements.get(n)}catch(t){if(!(t instanceof DOMException&&”NotSupportedError”===t.name))throw t}}(t,e)}observedAttributes(t,e){return e}connectedCallback(t,e){var n,r;for(let e of(t.toggleAttribute(“data-catalyst”,!0),customElements.upgrade(t),t.querySelectorAll(“template[data-shadowroot]”)))e.parentElement===t&&t.attachShadow({mode:”closed”===e.getAttribute(“data-shadowroot”)?”closed”:”open”}).append(e.content.cloneNode(!0));(m(t),o.add(t),t.shadowRoot&&(l(r=t.shadowRoot),a(r)),l(t),a(t.ownerDocument),e?.call(t),t.shadowRoot)&&(l(n=t.shadowRoot),a(n),S(t.shadowRoot))}disconnectedCallback(t,e){e?.call(t)}attributeChangedCallback(t,e,n,r,o){m(t),”data-catalyst”!==e&&o&&o.call(t,e,n,r)}}function O(t,e){if(!Object.prototype.hasOwnProperty.call(t,j)){let e=t[j],n=t[j]=new Map;if(e)for(let[t,r]of e)n.set(t,new Set(r))}let n=t[j];return n.has(e)||n.set(e,new Set),n.get(e)}function $(t,e){O(t,”target”).add(e),Object.defineProperty(t,e,{configurable:!0,get(){return d(this,e)}})}function I(t,e){O(t,”targets”).add(e),Object.defineProperty(t,e,{configurable:!0,get(){let t=this.tagName.toLowerCase(),n=[];if(this.shadowRoot)for(let r of this.shadowRoot.querySelectorAll(`[data-targets~=”${t}.${e}”]`))r.closest(t)||n.push(r);for(let r of this.querySelectorAll(`[data-targets~=”${t}.${e}”]`))r.closest(t)===this&&n.push(r);return n}})}function _(t){if(“string”==typeof t)return e=>{new x(e,t)};new x(t)}},97088(t,e,n){n.d(e,{s:()=>i});let r=[“utm_source”,”utm_medium”,”utm_campaign”,”utm_term”,”utm_content”,”scid”];var o=n(36301);class i{constructor(t){this.options=t,this.eventBatch=[],this.idleCallbackId=null,this.waitTimerId=null,this.onVisibilityChange=()=>{“hidden”===document.visibilityState&&this.flushBatch()},this.boundFlush=()=>this.flushBatch(),”u”>typeof document&&document.addEventListener(“visibilitychange”,this.onVisibilityChange),”u”>typeof window&&window.addEventListener(“pagehide”,this.boundFlush)}get collectorUrl(){return this.options.collectorUrl}get clientId(){return this.options.clientId?this.options.clientId:(0,o.y)()}get maxBatchSize(){return this.options.maxBatchSize??10}get idleTimeout(){return this.options.idleTimeout??1e3}createEvent(t){return{page:location.href,title:document.title,context:{…this.options.baseContext,…function(){let t={};try{for(let[e,n]of new URLSearchParams(window.location.search)){let o=e.toLowerCase();r.includes(o)&&(t[o]=n)}return t}catch(t){return{}}}(),…t}}}sendPageView(t){let e=this.createEvent(t);this.send({page_views:[e]})}sendEvent(t,e){let n={…this.createEvent(e),type:t};this.send({events:[n]})}sendBatchedEvent(t,e){let n={…this.createEvent(e),type:t};this.eventBatch.push(n),this.eventBatch.length>=this.maxBatchSize?this.flushBatch():this.scheduleFlush()}flushBatch(){if(0===this.eventBatch.length)return;this.cancelScheduledFlush();let t=this.eventBatch;this.eventBatch=[],this.send({events:t})}destroy(){this.flushBatch(),”u”>typeof document&&document.removeEventListener(“visibilitychange”,this.onVisibilityChange),”u”>typeof window&&window.removeEventListener(“pagehide”,this.boundFlush)}scheduleFlush(){null===this.idleCallbackId&&null===this.waitTimerId&&(this.waitTimerId=setTimeout(()=>{this.waitTimerId=null,”function”==typeof requestIdleCallback?this.idleCallbackId=requestIdleCallback(this.boundFlush):this.boundFlush()},this.idleTimeout))}cancelScheduledFlush(){null!==this.idleCallbackId&&(“function”==typeof cancelIdleCallback&&cancelIdleCallback(this.idleCallbackId),this.idleCallbackId=null),null!==this.waitTimerId&&(clearTimeout(this.waitTimerId),this.waitTimerId=null)}send({page_views:t,events:e}){let n=JSON.stringify({client_id:this.clientId,page_views:t,events:e,request_context:{referrer:function(){let t;try{t=window.top.document.referrer}catch(e){if(window.parent)try{t=window.parent.document.referrer}catch(t){}}return””===t&&(t=document.referrer),t}(),user_agent:navigator.userAgent,screen_resolution:function(){try{return`${screen.width}x${screen.height}`}catch(t){return”unknown”}}(),browser_resolution:function(){let t=0,e=0;try{return”number”==typeof window.innerWidth?(e=window.innerWidth,t=window.innerHeight):null!=document.documentElement&&null!=document.documentElement.clientWidth?(e=document.documentElement.clientWidth,t=document.documentElement.clientHeight):null!=document.body&&null!=document.body.clientWidth&&(e=document.body.clientWidth,t=document.body.clientHeight),`${e}x${t}`}catch(t){return”unknown”}}(),browser_languages:navigator.languages?navigator.languages.join(“,”):navigator.language||””,pixel_ratio:window.devicePixelRatio,timestamp:Date.now(),tz_seconds:-60*new Date().getTimezoneOffset()}});try{if(navigator.sendBeacon)return void navigator.sendBeacon(this.collectorUrl,n)}catch{}fetch(this.collectorUrl,{method:”POST”,cache:”no-cache”,headers:{“Content-Type”:”application/json”},body:n,keepalive:!1})}}},70837(t,e,n){n.d(e,{O:()=>r});function r(t=”ha”){let e,n={};for(let r of Array.from(document.head.querySelectorAll(`meta[name^=”${t}-“]`))){let{name:o,content:i}=r,a=o.replace(`${t}-`,””).replace(/-/g,”_”);”url”===a?e=i:n[a]=i}if(!e)throw Error(`AnalyticsClient ${t}-url meta tag not found`);return{collectorUrl:e,…Object.keys(n).length>0?{baseContext:n}:{}}}},97665(t,e,n){n.d(e,{Ht:()=>l,jE:()=>a,v4:()=>i});var r=n(96540),o=n(74848),i=r.createContext(void 0),a=t=>{let e=r.useContext(i);if(t)return t;if(!e)throw Error(“No QueryClient set, use QueryClientProvider to set one”);return e},l=({client:t,children:e})=>(r.useEffect(()=>(t.mount(),()=>{t.unmount()}),[t]),(0,o.jsx)(i.Provider,{value:t,children:e}))},31993(t,e,n){n.d(e,{j:()=>r});function r(t){return t}},97286(t,e,n){n.d(e,{I:()=>i});var r=n(1651),o=n(15985);function i(t,e){return(0,o.t)(t,r.$,e)}},65510(t,e,n){n.d(e,{U:()=>a});var r=n(1651),o=n(15985),i=n(60791);function a(t,e){return(0,o.t)({…t,enabled:!0,suspense:!0,throwOnError:i.R3,placeholderData:void 0},r.$,e)}},34164(t,e,n){n.d(e,{$:()=>r});function r(){for(var t,e,n=0,r=””,o=arguments.length;nr});let r=n(41917).A.Symbol},18348(t,e,n){n.d(e,{A:()=>d});var r=n(241),o=Object.prototype,i=o.hasOwnProperty,a=o.toString,l=r.A?r.A.toStringTag:void 0;let c=function(t){var e=i.call(t,l),n=t[l];try{t[l]=void 0;var r=!0}catch(t){}var o=a.call(t);return r&&(e?t[l]=n:delete t[l]),o};var s=Object.prototype.toString,u=r.A?r.A.toStringTag:void 0;let d=function(t){return null==t?void 0===t?”[object Undefined]”:”[object Null]”:u&&u in Object(t)?c(t):s.call(t)}},72136(t,e,n){n.d(e,{A:()=>r});let r=”object”==typeof global&&global&&global.Object===Object&&global},25353(t,e,n){n.d(e,{A:()=>o});var r=/^(?:0|[1-9]\d*)$/;let o=function(t,e){var n=typeof t;return!!(e=null==e?0x1fffffffffffff:e)&&(“number”==n||”symbol”!=n&&r.test(t))&&t>-1&&t%1==0&&ti});var r=n(72136),o=”object”==typeof self&&self&&self.Object===Object&&self;let i=r.A||o||Function(“return this”)()},66984(t,e,n){n.d(e,{A:()=>r});let r=function(t,e){return t===e||t!=t&&e!=e}},38446(t,e,n){n.d(e,{A:()=>i});var r=n(89610),o=n(5254);let i=function(t){return null!=t&&(0,o.A)(t.length)&&!(0,r.A)(t)}},89610(t,e,n){n.d(e,{A:()=>i});var r=n(18348),o=n(23149);let i=function(t){if(!(0,o.A)(t))return!1;var e=(0,r.A)(t);return”[object Function]”==e||”[object GeneratorFunction]”==e||”[object AsyncFunction]”==e||”[object Proxy]”==e}},5254(t,e,n){n.d(e,{A:()=>r});let r=function(t){return”number”==typeof t&&t>-1&&t%1==0&&t<=0x1fffffffffffff}},23149(t,e,n){n.d(e,{A:()=>r});let r=function(t){var e=typeof t;return null!=t&&(“object”==e||”function”==e)}},53098(t,e,n){n.d(e,{A:()=>r});let r=function(t){return null!=t&&”object”==typeof t}},46632(t,e,n){n.d(e,{A:()=>i});var r=n(51046);function o(t,e){if(“function”!=typeof t||null!=e&&”function”!=typeof e)throw TypeError(“Expected a function”);var n=function(){var r=arguments,o=e?e.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=t.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(o.Cache||r.A),n}o.Cache=r.A;let i=o}}]); //# sourceMappingURL=22278-f0bd99ab3072bfe9-72e8554eec9ab224.js.map