티스토리 수익 글 보기

티스토리 수익 글 보기

performance.mark(“js-parse-end:65536-cad872003d3ade8e.js”); (globalThis.webpackChunk_github_ui_github_ui=globalThis.webpackChunk_github_ui_github_ui||[]).push([[“65536”],{66661(e,t,n){“use strict”;function r(e){let t=e.parentNode;if(null===t||!(t instanceof HTMLElement))throw Error();let n=0;t instanceof HTMLOListElement&&1!==t.start&&(n=t.start-1);let r=t.children;for(let t=0;to,g:()=>s});let l=0;function a(e){return e.replace(/&/g,”&”).replace(/’/g,”'”).replace(/”/g,”"”).replace(//g,”>”)}let i={INPUT:e=>e instanceof HTMLInputElement&&e.checked?”[x] “:”[ ] “,CODE(e){let t=e.textContent||””;return e.parentNode&&”PRE”===e.parentNode.nodeName?(e.textContent=`\`\`\` ${t.replace(/\n+$/,””)} \`\`\` `,e):t.indexOf(“`”)>=0?`\`\` ${t} \`\“:`\`${t}\“},P(e){let t=document.createElement(“p”);return t.textContent=(e.textContent||””).replace(/<(\/?)(pre|strong|weak|em)>/g,”\\<$1$2\\>“),t},STRONG:e=>`**${e.textContent||””}**`,EM:e=>`_${e.textContent||””}_`,DEL:e=>`~${e.textContent||””}~`,BLOCKQUOTE(e){let t=(e.textContent||””).trim().replace(/^/gm,”> “),n=document.createElement(“pre”);return n.textContent=`${t} `,n},A(e){let t=e.textContent||””,n=e.getAttribute(“href”);return/^https?:/.test(t)&&t===n?t:n?`[${t}](${n})`:t},IMG(e){let t=e.getAttribute(“alt”)||””,n=e.getAttribute(“src”);if(!n)throw Error();let r=e.hasAttribute(“width”)?` width=”${a(e.getAttribute(“width”)||””)}”`:””,l=e.hasAttribute(“height”)?` height=”${a(e.getAttribute(“height”)||””)}”`:””;return r||l?`${a(t)}`:`![${t}](${n})`},LI(e){let t,n,a=e.parentNode;if(!a)throw Error();let i=””;if(t=e.childNodes[0],n=e.childNodes[1],!t||!(e.childNodes.length<3)||"OL"!==t.nodeName&&"UL"!==t.nodeName||n&&(n.nodeType!==Node.TEXT_NODE||(n.textContent||"").trim()))if("OL"===a.nodeName)if(l>0&&!a.previousSibling){let t=r(e)+l+1;i=`${t}\\. `}else i=`${r(e)+1}. `;else i=”* “;let o=i.replace(/\S/g,” “),s=(e.textContent||””).trim().replace(/^/gm,o),c=document.createElement(“pre”);return c.textContent=s.replace(o,i),c},OL(e){let t=document.createElement(“li”);return t.appendChild(document.createElement(“br”)),e.append(t),e},H1(e){let t=parseInt(e.nodeName.slice(1));return e.prepend(`${Array(t+1).join(“#”)} `),e},UL:e=>e};i.UL=i.OL;for(let e=2;e<=6;++e)i[`H${e}`]=i.H1;class o{constructor(){this.selection=window.getSelection(),this.processSelectionText=e=>e}closest(e){let t=this.range.startContainer,n=t instanceof Element?t:t.parentElement;return n?n.closest(e):null}get active(){var e;return((null==(e=this.selection)?void 0:e.rangeCount)||0)>0}get range(){var e;return(null==(e=this.selection)?void 0:e.rangeCount)?this.selection.getRangeAt(0):new Range}set range(e){var t,n;null==(t=this.selection)||t.removeAllRanges(),null==(n=this.selection)||n.addRange(e)}set processSelectionTextFn(e){this.processSelectionText=e}get selectionText(){var e;return this.processSelectionText((null==(e=this.selection)?void 0:e.toString().trim())||””)}get quotedText(){return`> ${this.selectionText.replace(/\n/g,”\n> “)} `}select(e){this.selection&&(this.selection.removeAllRanges(),this.selection.selectAllChildren(e))}insert(e){e.value?e.value=`${e.value} ${this.quotedText}`:e.value=this.quotedText,e.dispatchEvent(new CustomEvent(“change”,{bubbles:!0,cancelable:!1})),e.focus(),e.selectionStart=e.value.length,e.scrollTop=e.scrollHeight}}class s extends o{constructor(e=””,t){super(),this.scopeSelector=e,this.callback=t}get selectionText(){var e,t;if(!this.selection)return””;let n=function(e,t){let n=e.startContainer;if(!n||!n.parentNode||!(n.parentNode instanceof HTMLElement))throw Error(“the range must start within an HTMLElement”);let a=n.parentNode,i=e.cloneContents();if(t){let e=i.querySelector(t);e&&(i=document.createDocumentFragment()).appendChild(e)}l=0;let o=a.closest(“li”);if(a.closest(“pre”)){let e=document.createElement(“pre”);e.appendChild(i),(i=document.createDocumentFragment()).appendChild(e)}else if(o&&o.parentNode&&(“OL”===o.parentNode.nodeName&&(l=r(o)),!i.querySelector(“li”))){let e=document.createElement(“li”);if(!o.parentNode)throw Error();let t=document.createElement(o.parentNode.nodeName);e.appendChild(i),t.appendChild(e),(i=document.createDocumentFragment()).appendChild(t)}return i}(this.range,null!=(e=this.scopeSelector)?e:””);null==(t=this.callback)||t.call(this,n);let a=document.createNodeIterator(n,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>e.nodeName in i&&!function(e){if(e instanceof HTMLAnchorElement&&1===e.childNodes.length){let t=e.childNodes[0];if(t instanceof HTMLImageElement)return t.src===e.href}return!1}(e)&&(“IMG”===e.nodeName||null!=e.firstChild||”INPUT”===e.nodeName&&e instanceof HTMLInputElement&&”checkbox”===e.type)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}),o=[],s=a.nextNode();for(;s;)s instanceof HTMLElement&&o.push(s),s=a.nextNode();for(let e of(o.reverse(),o))e.replaceWith(i[e.nodeName](e));let c=document.body;if(!c)return””;let u=document.createElement(“div”);u.appendChild(n),u.style.cssText=”position:absolute;left:-9999px;”,c.appendChild(u);let d=””;try{let e=document.createRange();e.selectNodeContents(u),this.selection.removeAllRanges(),this.selection.addRange(e),d=this.selection.toString(),this.selection.removeAllRanges(),e.detach()}finally{c.removeChild(u)}return this.processSelectionText(d.trim())}}},34784(e,t,n){e.exports=n(34052)},34052(e,t,n){“use strict”;var r=n(9963),l=n(41241),a=n(90007).loadQuery,i=n(13635),o=n(50456),s=n(40121),c=n(7360),u=n(73720),d=n(42695),h=n(15940),p=n(39420),m=n(6505),g=n(71517),f=n(7058),N=n(53386),C=n(91529),T=n(69487);e.exports={ConnectionHandler:T.ConnectionHandler,applyOptimisticMutation:T.applyOptimisticMutation,commitLocalUpdate:T.commitLocalUpdate,commitMutation:T.commitMutation,graphql:T.graphql,readInlineData:T.readInlineData,requestSubscription:T.requestSubscription,EntryPointContainer:r,RelayEnvironmentProvider:o,ProfilerContext:i,fetchQuery:T.fetchQuery,loadQuery:a,loadEntryPoint:l,useFragment:c,useLazyLoadQuery:u,useEntryPointLoader:s,useQueryLoader:m,useMutation:d,usePaginationFragment:h,usePreloadedQuery:p,useRefetchableFragment:g,useRelayEnvironment:f,useSubscribeToInvalidationState:N,useSubscription:C}},15533(e,t,n){“use strict”;n.d(t,{lG:()=>r.l,XI:()=>h,zY:()=>l.z});var r=n(85203),l=n(65729);n(49716);var a=n(72098),i=n(49539),o=n(38267),s=n(74848);let{Container:c,…u}=a.X,d=(0,o.Ay)(c).withConfig({shouldForwardProp:e=>”sx”!==e}).withConfig({displayName:”DataTable__StyleDataTableContainer”,componentId:”sc-qy1ey2-0″})([“”,””],i.sx),h=Object.assign(a.X,{Container:function({as:e,…t}){return(0,s.jsx)(d,{…t,…e?{forwardedAs:e}:{}})},…u})},83592(e,t,n){“use strict”;n.d(t,{s:()=>l});var r=n(2642);function l(e,t){let n=(0,r.a)(e),l=(0,r.a)(t);return n.getFullYear()===l.getFullYear()}},9802(e,t,n){“use strict”;n.d(t,{e:()=>l});var r=n(83592);function l(e){return(0,r.s)(e,Date.now())}},79639(e,t,n){“use strict”;n.d(t,{P:()=>a});var r=n(85551),l=n(40828);function a(e){return(0,r.r)(e,(0,l.e)(Date.now(),1))}},84929(e,t,n){“use strict”;n.d(t,{H:()=>l});var r=n(2940);function l(e,t){let n,l,g=t?.additionalDigits??2,f=function(e){let t,n={},r=e.split(a);if(r.length>2)return n;if(/:/.test(r[0])?t=r[0]:(n.date=r[0],t=r[1],i.test(n.date)&&(n.date=e.split(i)[0],t=e.substr(n.date.length,e.length))),t){let e=o.exec(t);e?(n.time=t.replace(e[1],””),n.timezone=e[1]):n.time=t}return n}(e);if(f.date){let e=function(e,t){let n=RegExp(“^(?:(\\d{4}|[+-]\\d{“+(4+t)+”})|(\\d{2}|[+-]\\d{“+(2+t)+”})$)”),r=e.match(n);if(!r)return{year:NaN,restDateString:””};let l=r[1]?parseInt(r[1]):null,a=r[2]?parseInt(r[2]):null;return{year:null===a?l:100*a,restDateString:e.slice((r[1]||r[2]).length)}}(f.date,g);n=function(e,t){var n,r,l,a,i,o,c,u,h,g;if(null===t)return new Date(NaN);let f=e.match(s);if(!f)return new Date(NaN);let N=!!f[4],C=d(f[1]),T=d(f[2])-1,E=d(f[3]),x=d(f[4]),v=d(f[5])-1;if(N){let e,o;return(n=x,r=v,n>=1&&n<=53&&r>=0&&r<=6)?(l=t,a=x,i=v,(e=new Date(0)).setUTCFullYear(l,0,4),o=e.getUTCDay()||7,e.setUTCDate(e.getUTCDate()+((a-1)*7+i+1-o)),e):new Date(NaN)}{let e=new Date(0);return(o=t,c=T,u=E,c>=0&&c<=11&&u>=1&&u<=(p[c]||(m(o)?29:28))&&(h=t,(g=C)>=1&&g<=(m(h)?366:365)))?(e.setUTCFullYear(t,T,Math.max(C,E)),e):new Date(NaN)}}(e.restDateString,e.year)}if(!n||isNaN(n.getTime()))return new Date(NaN);let N=n.getTime(),C=0;if(f.time&&isNaN(C=function(e){var t,n,l;let a=e.match(c);if(!a)return NaN;let i=h(a[1]),o=h(a[2]),s=h(a[3]);return(t=i,n=o,l=s,24===t?0===n&&0===l:l>=0&&l<60&&n>=0&&n<60&&t>=0&&t<25)?i*r.s0+6e4*o+1e3*s:NaN}(f.time)))return new Date(NaN);if(f.timezone){if(isNaN(l=function(e){var t;if("Z"===e)return 0;let n=e.match(u);if(!n)return 0;let l="+"===n[1]?-1:1,a=parseInt(n[2]),i=n[3]&&parseInt(n[3])||0;return(t=i)>=0&&t<=59?l*(a*r.s0+6e4*i):NaN}(f.timezone)))return new Date(NaN)}else{let e=new Date(N+C),t=new Date(0);return t.setFullYear(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()),t.setHours(e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.getUTCMilliseconds()),t}return new Date(N+C+l)}let a=/[T ]/,i=/[Z ]/i,o=/([Z+-].*)$/,s=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,c=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,u=/^([+-])(\d{2})(?::?(\d{2}))?$/;function d(e){return e?parseInt(e):1}function h(e){return e&&parseFloat(e.replace(",","."))||0}let p=[31,null,31,30,31,30,31,31,30,31,30,31];function m(e){return e%400==0||e%4==0&&e%100!=0}}}]); //# sourceMappingURL=65536-cad872003d3ade8e-327c7ecf7b2e492c.js.map