티스토리 수익 글 보기

티스토리 수익 글 보기

(self.webpackChunksubstack=self.webpackChunksubstack||[]).push([[“9354”],{20311:function(e){“use strict”;e.exports=function(e,t,r,n,o,a,i,c){if(!e){var u;if(void 0===t)u=Error(“Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.”);else{var s=[r,n,o,a,i,c],f=0;(u=Error(t.replace(/%s/g,function(){return s[f++]}))).name=”Invariant Violation”}throw u.framesToPop=1,u}}},2404:function(e,t,r){var n=r(60270);e.exports=function(e,t){return n(e,t)}},63950:function(e){e.exports=function(){}},6585:function(e){function t(e,t,r,n){return Math.round(e/r)+” “+n+(t>=1.5*r?”s”:””)}e.exports=function(e,r){r=r||{};var n,o,a,i,c=typeof e;if(“string”===c&&e.length>0){var u=e;if(!((u=String(u)).length>100)){var s=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(u);if(s){var f=parseFloat(s[1]);switch((s[2]||”ms”).toLowerCase()){case”years”:case”year”:case”yrs”:case”yr”:case”y”:return 315576e5*f;case”weeks”:case”week”:case”w”:return 6048e5*f;case”days”:case”day”:case”d”:return 864e5*f;case”hours”:case”hour”:case”hrs”:case”hr”:case”h”:return 36e5*f;case”minutes”:case”minute”:case”mins”:case”min”:case”m”:return 6e4*f;case”seconds”:case”second”:case”secs”:case”sec”:case”s”:return 1e3*f;case”milliseconds”:case”millisecond”:case”msecs”:case”msec”:case”ms”:return f;default:break}}}return}if(“number”===c&&isFinite(e)){return r.long?(o=Math.abs(n=e))>=864e5?t(n,o,864e5,”day”):o>=36e5?t(n,o,36e5,”hour”):o>=6e4?t(n,o,6e4,”minute”):o>=1e3?t(n,o,1e3,”second”):n+” ms”:(i=Math.abs(a=e))>=864e5?Math.round(a/864e5)+”d”:i>=36e5?Math.round(a/36e5)+”h”:i>=6e4?Math.round(a/6e4)+”m”:i>=1e3?Math.round(a/1e3)+”s”:a+”ms”}throw Error(“val is not a non-empty string or a valid number. val=”+JSON.stringify(e))}},30115:function(e){var t=”undefined”!=typeof Element,r=”function”==typeof Map,n=”function”==typeof Set,o=”function”==typeof ArrayBuffer&&!!ArrayBuffer.isView;e.exports=function(e,a){try{return function e(a,i){if(a===i)return!0;if(a&&i&&”object”==typeof a&&”object”==typeof i){var c,u,s,f;if(a.constructor!==i.constructor)return!1;if(Array.isArray(a)){if((c=a.length)!=i.length)return!1;for(u=c;0!=u–;)if(!e(a[u],i[u]))return!1;return!0}if(r&&a instanceof Map&&i instanceof Map){if(a.size!==i.size)return!1;for(f=a.entries();!(u=f.next()).done;)if(!i.has(u.value[0]))return!1;for(f=a.entries();!(u=f.next()).done;)if(!e(u.value[1],i.get(u.value[0])))return!1;return!0}if(n&&a instanceof Set&&i instanceof Set){if(a.size!==i.size)return!1;for(f=a.entries();!(u=f.next()).done;)if(!i.has(u.value[0]))return!1;return!0}if(o&&ArrayBuffer.isView(a)&&ArrayBuffer.isView(i)){if((c=a.length)!=i.length)return!1;for(u=c;0!=u–;)if(a[u]!==i[u])return!1;return!0}if(a.constructor===RegExp)return a.source===i.source&&a.flags===i.flags;if(a.valueOf!==Object.prototype.valueOf&&”function”==typeof a.valueOf&&”function”==typeof i.valueOf)return a.valueOf()===i.valueOf();if(a.toString!==Object.prototype.toString&&”function”==typeof a.toString&&”function”==typeof i.toString)return a.toString()===i.toString();if((c=(s=Object.keys(a)).length)!==Object.keys(i).length)return!1;for(u=c;0!=u–;)if(!Object.prototype.hasOwnProperty.call(i,s[u]))return!1;if(t&&a instanceof Element)return!1;for(u=c;0!=u–;)if((“_owner”!==s[u]&&”__v”!==s[u]&&”__o”!==s[u]||!a.$$typeof)&&!e(a[s[u]],i[s[u]]))return!1;return!0}return a!=a&&i!=i}(e,a)}catch(e){if((e.message||””).match(/stack|recursion/i))return console.warn(“react-fast-compare cannot handle circular refs”),!1;throw e}}},17988:function(e,t,r){“undefined”!=typeof self&&self,e.exports=function(e){var t=[function(e,t,r){“use strict”;function n(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(“undefined”!=typeof Symbol&&Symbol.iterator in Object(e)){var r=[],n=!0,o=!1,a=void 0;try{for(var i,c=e[Symbol.iterator]();!(n=(i=c.next()).done)&&(r.push(i.value),!t||r.length!==t);n=!0);}catch(e){o=!0,a=e}finally{try{n||null==c.return||c.return()}finally{if(o)throw a}}return r}}(e,t)||function(e,t){if(e){if(“string”==typeof e)return o(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return”Object”===r&&e.constructor&&(r=e.constructor.name),”Map”===r||”Set”===r?Array.from(e):”Arguments”===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?o(e,t):void 0}}(e,t)||function(){throw TypeError(“Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.”)}()}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r=c;case”max”:return u<=c;default:return u===c}});return c&&!r||!c&&r})},t.parse=n;var c=/(?:(only|not)?\s*([^\s\(\)]+)(?:\s*and)?\s*)?(.+)?/i,u=/\(\s*([^\s\:\)]+)\s*(?:\:\s*([^\s\)]+))?\s*\)/,s=/^(?:(min|max)-)?(.+)/,f=/(em|rem|px|cm|mm|in|pt|pc)?$/,l=/(dpi|dpcm|dppx)?$/},function(e,t,r){"use strict";e.exports=function(e,t){if(e===t)return!0;if(!e||!t)return!1;var r=Object.keys(e),n=Object.keys(t),o=r.length;if(n.length!==o)return!1;for(var a=0;a1?”Invalid arguments supplied to oneOf, expected an array, got “+arguments.length+” arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).”:”Invalid argument supplied to oneOf, expected an array.”),n)},oneOfType:function(e){if(!Array.isArray(e))return s(“Invalid argument supplied to oneOfType, expected an instance of array.”),n;for(var t=0;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,[“children”,”device”,”onChange”]),i=Object(n.a)(a,r,o);return”function”==typeof t?t(i):i?t:null};var n=r(0)}];function r(e){if(n[e])return n[e].exports;var o=n[e]={i:e,l:!1,exports:{}};return t[e].call(o.exports,o,o.exports,r),o.l=!0,o.exports}var n={};return r.m=t,r.c=n,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:n})},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,”a”,t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p=””,r(r.s=7)}(r(17402))},2833:function(e){e.exports=function(e,t,r,n){var o=r?r.call(n,e,t):void 0;if(void 0!==o)return!!o;if(e===t)return!0;if(“object”!=typeof e||!e||”object”!=typeof t||!t)return!1;var a=Object.keys(e),i=Object.keys(t);if(a.length!==i.length)return!1;for(var c=Object.prototype.hasOwnProperty.bind(t),u=0;uX,VY:()=>et,ZL:()=>Z,bL:()=>J,hE:()=>ee,hJ:()=>Q});var n=r(17402),o=r(61935),a=r(53113),i=r(37227),c=r(39627),u=r(97372),s=r(83723),f=r(2068),l=r(51181),p=r(10607),d=r(9989),y=r(65567),m=r(69836),v=r(58241),h=r(44400),b=r(4006),g=”Dialog”,[O,w]=(0,i.A)(g),[x,j]=O(g),S=e=>{let{__scopeDialog:t,children:r,open:o,defaultOpen:a,onOpenChange:i,modal:s=!0}=e,f=n.useRef(null),l=n.useRef(null),[p,d]=(0,u.i)({prop:o,defaultProp:a??!1,onChange:i,caller:g});return(0,b.Y)(x,{scope:t,triggerRef:f,contentRef:l,contentId:(0,c.B)(),titleId:(0,c.B)(),descriptionId:(0,c.B)(),open:p,onOpenChange:d,onOpenToggle:n.useCallback(()=>d(e=>!e),[d]),modal:s,children:r})};S.displayName=g;var E=”DialogTrigger”;n.forwardRef((e,t)=>{let{__scopeDialog:r,…n}=e,i=j(E,r),c=(0,a.s)(t,i.triggerRef);return(0,b.Y)(d.sG.button,{type:”button”,”aria-haspopup”:”dialog”,”aria-expanded”:i.open,”aria-controls”:i.contentId,”data-state”:V(i.open),…n,ref:c,onClick:(0,o.mK)(e.onClick,i.onOpenToggle)})}).displayName=E;var C=”DialogPortal”,[I,P]=O(C,{forceMount:void 0}),R=e=>{let{__scopeDialog:t,forceMount:r,children:o,container:a}=e,i=j(C,t);return(0,b.Y)(I,{scope:t,forceMount:r,children:n.Children.map(o,e=>(0,b.Y)(p.C,{present:r||i.open,children:(0,b.Y)(l.Z,{asChild:!0,container:a,children:e})}))})};R.displayName=C;var k=”DialogOverlay”,D=n.forwardRef((e,t)=>{let r=P(k,e.__scopeDialog),{forceMount:n=r.forceMount,…o}=e,a=j(k,e.__scopeDialog);return a.modal?(0,b.Y)(p.C,{present:n||a.open,children:(0,b.Y)($,{…o,ref:t})}):null});D.displayName=k;var A=(0,h.TL)(“DialogOverlay.RemoveScroll”),$=n.forwardRef((e,t)=>{let{__scopeDialog:r,…n}=e,o=j(k,r);return(0,b.Y)(m.A,{as:A,allowPinchZoom:!0,shards:[o.contentRef],children:(0,b.Y)(d.sG.div,{“data-state”:V(o.open),…n,ref:t,style:{pointerEvents:”auto”,…n.style}})})}),_=”DialogContent”,M=n.forwardRef((e,t)=>{let r=P(_,e.__scopeDialog),{forceMount:n=r.forceMount,…o}=e,a=j(_,e.__scopeDialog);return(0,b.Y)(p.C,{present:n||a.open,children:a.modal?(0,b.Y)(T,{…o,ref:t}):(0,b.Y)(F,{…o,ref:t})})});M.displayName=_;var T=n.forwardRef((e,t)=>{let r=j(_,e.__scopeDialog),i=n.useRef(null),c=(0,a.s)(t,r.contentRef,i);return n.useEffect(()=>{let e=i.current;if(e)return(0,v.Eq)(e)},[]),(0,b.Y)(Y,{…e,ref:c,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,o.mK)(e.onCloseAutoFocus,e=>{e.preventDefault(),r.triggerRef.current?.focus()}),onPointerDownOutside:(0,o.mK)(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,r=0===t.button&&!0===t.ctrlKey;(2===t.button||r)&&e.preventDefault()}),onFocusOutside:(0,o.mK)(e.onFocusOutside,e=>e.preventDefault())})}),F=n.forwardRef((e,t)=>{let r=j(_,e.__scopeDialog),o=n.useRef(!1),a=n.useRef(!1);return(0,b.Y)(Y,{…e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{e.onCloseAutoFocus?.(t),t.defaultPrevented||(o.current||r.triggerRef.current?.focus(),t.preventDefault()),o.current=!1,a.current=!1},onInteractOutside:t=>{e.onInteractOutside?.(t),t.defaultPrevented||(o.current=!0,”pointerdown”===t.detail.originalEvent.type&&(a.current=!0));let n=t.target;r.triggerRef.current?.contains(n)&&t.preventDefault(),”focusin”===t.detail.originalEvent.type&&a.current&&t.preventDefault()}})}),Y=n.forwardRef((e,t)=>{let{__scopeDialog:r,trapFocus:o,onOpenAutoFocus:i,onCloseAutoFocus:c,…u}=e,l=j(_,r),p=n.useRef(null),d=(0,a.s)(t,p);return(0,y.Oh)(),(0,b.FD)(b.FK,{children:[(0,b.Y)(f.n,{asChild:!0,loop:!0,trapped:o,onMountAutoFocus:i,onUnmountAutoFocus:c,children:(0,b.Y)(s.qW,{role:”dialog”,id:l.contentId,”aria-describedby”:l.descriptionId,”aria-labelledby”:l.titleId,”data-state”:V(l.open),…u,ref:d,onDismiss:()=>l.onOpenChange(!1)})}),(0,b.FD)(b.FK,{children:[(0,b.Y)(U,{titleId:l.titleId}),(0,b.Y)(G,{contentRef:p,descriptionId:l.descriptionId})]})]})}),N=”DialogTitle”,L=n.forwardRef((e,t)=>{let{__scopeDialog:r,…n}=e,o=j(N,r);return(0,b.Y)(d.sG.h2,{id:o.titleId,…n,ref:t})});L.displayName=N;var W=”DialogDescription”,q=n.forwardRef((e,t)=>{let{__scopeDialog:r,…n}=e,o=j(W,r);return(0,b.Y)(d.sG.p,{id:o.descriptionId,…n,ref:t})});q.displayName=W;var B=”DialogClose”;function V(e){return e?”open”:”closed”}n.forwardRef((e,t)=>{let{__scopeDialog:r,…n}=e,a=j(B,r);return(0,b.Y)(d.sG.button,{type:”button”,…n,ref:t,onClick:(0,o.mK)(e.onClick,()=>a.onOpenChange(!1))})}).displayName=B;var z=”DialogTitleWarning”,[K,H]=(0,i.q)(z,{contentName:_,titleName:N,docsSlug:”dialog”}),U=({titleId:e})=>{let t=H(z),r=`\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users. If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component. For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return n.useEffect(()=>{e&&(document.getElementById(e)||console.error(r))},[r,e]),null},G=({contentRef:e,descriptionId:t})=>{let r=H(“DialogDescriptionWarning”),o=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${r.contentName}}.`;return n.useEffect(()=>{let r=e.current?.getAttribute(“aria-describedby”);t&&r&&(document.getElementById(t)||console.warn(o))},[o,e,t]),null},J=S,Z=R,Q=D,X=M,ee=L,et=q}}]); //# sourceMappingURL=9354.8b7a7073.js.map