티스토리 수익 글 보기

티스토리 수익 글 보기

“use strict”;(globalThis.webpackChunk_github_ui_github_ui=globalThis.webpackChunk_github_ui_github_ui||[]).push([[31472],{64989:(e,t,n)=>{var r=n(97797);let i=document.querySelector(“dialog.js-splash-dialog”);function o(e){i&&(“Escape”===e.key||”Esc”===e.key?(i.querySelector(“button”).click(),e.stopPropagation()):”Tab”===e.key&&function(e){if(!i)return;e.preventDefault();let t=Array.from(i.querySelectorAll(“a, button”)).filter(c);if(0===t.length)return;let n=e.shiftKey?-1:1,r=i.getRootNode(),o=i.contains(r.activeElement)?r.activeElement:null,s=-1===n?-1:0;if(o instanceof HTMLElement){let e=t.indexOf(o);-1!==e&&(s=e+n)}s<0?s=t.length-1:s%=t.length,t[s].focus()}(e))}function s(e){let{target:t}=e;t instanceof Node&&(i.contains(t)||i.querySelector("button").click())}function c(e){var t;return e.tabIndex>=0&&!e.disabled&&!(t=e).hidden&&(!t.type||”hidden”!==t.type)&&(t.offsetWidth>0||t.offsetHeight>0)}i&&document.addEventListener(“keydown”,o),i&&document.addEventListener(“click”,s),window.addEventListener(“load”,function(){i?.querySelector(“a”)?.focus()}),(0,r.on)(“click”,”.js-dismiss-splash-dialog”,function(){i&&document.removeEventListener(“keydown”,o),i&&document.removeEventListener(“click”,s)}),(0,r.on)(“click”,”.js-dismiss-splash-dialog-link”,function(){i?.querySelector(“button”)?.click()})},97797:(e,t,n)=>{function r(){if(!(this instanceof r))return new r;this.size=0,this.uid=0,this.selectors=[],this.selectorObjects={},this.indexes=Object.create(this.indexes),this.activeIndexes=[]}n.d(t,{h:()=>F,on:()=>j});var i,o=window.document.documentElement,s=o.matches||o.webkitMatchesSelector||o.mozMatchesSelector||o.oMatchesSelector||o.msMatchesSelector;r.prototype.matchesSelector=function(e,t){return s.call(e,t)},r.prototype.querySelectorAll=function(e,t){return t.querySelectorAll(e)},r.prototype.indexes=[];var c=/^#((?:[\w\u00c0-\uFFFF\-]|\\.)+)/g;r.prototype.indexes.push({name:”ID”,selector:function(e){var t;if(t=e.match(c))return t[0].slice(1)},element:function(e){if(e.id)return[e.id]}});var a=/^\.((?:[\w\u00c0-\uFFFF\-]|\\.)+)/g;r.prototype.indexes.push({name:”CLASS”,selector:function(e){var t;if(t=e.match(a))return t[0].slice(1)},element:function(e){var t=e.className;if(t){if(“string”==typeof t)return t.split(/\s/);else if(“object”==typeof t&&”baseVal”in t)return t.baseVal.split(/\s/)}}});var u=/^((?:[\w\u00c0-\uFFFF\-]|\\.)+)/g;r.prototype.indexes.push({name:”TAG”,selector:function(e){var t;if(t=e.match(u))return t[0].toUpperCase()},element:function(e){return[e.nodeName.toUpperCase()]}}),r.prototype.indexes.default={name:”UNIVERSAL”,selector:function(){return!0},element:function(){return[!0]}},i=”function”==typeof window.Map?window.Map:function(){function e(){this.map={}}return e.prototype.get=function(e){return this.map[e+” “]},e.prototype.set=function(e,t){this.map[e+” “]=t},e}();var l=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|[‘”][^'”]*[‘”]|[^\[\]'”]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g;function f(e,t){var n,r,i,o,s,c,a=(e=e.slice(0).concat(e.default)).length,u=t,f=[];do if(l.exec(“”),(i=l.exec(u))&&(u=i[3],i[2]||!u)){for(n=0;n3&&void 0!==arguments[3]?arguments[3]:{},o=!!i.capture,s=o?p:d,c=s[e];c||(c=new r,s[e]=c,document.addEventListener(e,E,o)),c.add(t,n)}function F(e,t,n){return e.dispatchEvent(new CustomEvent(t,{bubbles:!0,cancelable:!0,detail:n}))}}},e=>{e(e.s=64989)}]); //# sourceMappingURL=projects-splash-dialog-3a14f0f9099b.js.map