티스토리 수익 글 보기
!function(){try{var t=”undefined”!=typeof window?window:”undefined”!=typeof global?global:”undefined”!=typeof self?self:{},e=(new t.Error).stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]=”8a6da129-5bad-487f-a43d-80cf3830769a”,t._sentryDebugIdIdentifier=”sentry-dbid-8a6da129-5bad-487f-a43d-80cf3830769a”)}catch(t){}}();”use strict”;(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4330],{64063:function(t){t.exports=function t(e,r){if(e===r)return!0;if(e&&r&&”object”==typeof e&&”object”==typeof r){if(e.constructor!==r.constructor)return!1;if(Array.isArray(e)){if((n=e.length)!=r.length)return!1;for(o=n;0!=o–;)if(!t(e[o],r[o]))return!1;return!0}if(e.constructor===RegExp)return e.source===r.source&&e.flags===r.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===r.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===r.toString();if((n=(a=Object.keys(e)).length)!==Object.keys(r).length)return!1;for(o=n;0!=o–;)if(!Object.prototype.hasOwnProperty.call(r,a[o]))return!1;for(o=n;0!=o–;){var n,o,a,i=a[o];if(!t(e[i],r[i]))return!1}return!0}return e!=e&&r!=r}},79456:function(t,e,r){r.d(e,{F:function(){return l},Z:function(){return i}});var n=r(4942),o=r(93967),a=r.n(o);function i(t,e,r){var o;return a()((o={},(0,n.Z)(o,””.concat(t,”-status-success”),”success”===e),(0,n.Z)(o,””.concat(t,”-status-warning”),”warning”===e),(0,n.Z)(o,””.concat(t,”-status-error”),”error”===e),(0,n.Z)(o,””.concat(t,”-status-validating”),”validating”===e),(0,n.Z)(o,””.concat(t,”-has-feedback”),r),o))}(0,r(3227).b)(“warning”,”error”,””);var l=function(t,e){return e||t}},61512:function(t,e,r){var n,o=this&&this.__extends||(n=function(t,e){return(n=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])})(t,e)},function(t,e){if(“function”!=typeof e&&null!==e)throw TypeError(“Class extends value “+String(e)+” is not a constructor or null”);function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),a=this&&this.__assign||function(){return(a=Object.assign||function(t){for(var e,r=1,n=arguments.length;re.indexOf(n)&&(r[n]=t[n]);if(null!=t&&”function”==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(t);oe.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(t,n[o])&&(r[n[o]]=t[n[o]]);return r},c=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,”__esModule”,{value:!0});var f=u(r(67294)),p=c(r(64063)),d=u(r(45697));function h(t){return t&&t.replace(/ |\u202F|\u00A0/g,” “).replace(/
/g,”
“)}var y=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.lastHtml=e.props.html,e.el=”function”==typeof e.props.innerRef?{current:null}:f.createRef(),e.getEl=function(){return(e.props.innerRef&&”function”!=typeof e.props.innerRef?e.props.innerRef:e.el).current},e.emitChange=function(t){var r=e.getEl();if(r){var n=r.innerHTML;if(e.props.onChange&&n!==e.lastHtml){var o=Object.assign({},t,{target:{value:n}});e.props.onChange(o)}e.lastHtml=n}},e}return o(e,t),e.prototype.render=function(){var t=this,e=this.props,r=e.tagName,n=e.html,o=e.innerRef,i=s(e,[“tagName”,”html”,”innerRef”]);return f.createElement(r||”div”,a(a({},i),{ref:”function”==typeof o?function(e){o(e),t.el.current=e}:o||this.el,onInput:this.emitChange,onBlur:this.props.onBlur||this.emitChange,onKeyUp:this.props.onKeyUp||this.emitChange,onKeyDown:this.props.onKeyDown||this.emitChange,contentEditable:!this.props.disabled,dangerouslySetInnerHTML:{__html:n}}),this.props.children)},e.prototype.shouldComponentUpdate=function(t){var e=this.props,r=this.getEl();return!r||h(t.html)!==h(r.innerHTML)||e.disabled!==t.disabled||e.tagName!==t.tagName||e.className!==t.className||e.innerRef!==t.innerRef||e.placeholder!==t.placeholder||!(0,p.default)(e.style,t.style)},e.prototype.componentDidUpdate=function(){var t=this.getEl();t&&(this.props.html!==t.innerHTML&&(t.innerHTML=this.props.html),this.lastHtml=this.props.html,function(t){var e=document.createTextNode(“”);t.appendChild(e);var r=document.activeElement===t;if(null!==e&&null!==e.nodeValue&&r){var n=window.getSelection();if(null!==n){var o=document.createRange();o.setStart(e,e.nodeValue.length),o.collapse(!0),n.removeAllRanges(),n.addRange(o)}t instanceof HTMLElement&&t.focus()}}(t))},e.propTypes={html:d.string.isRequired,onChange:d.func,disabled:d.bool,tagName:d.string,className:d.string,style:d.object,innerRef:d.oneOfType([d.object,d.func])},e}(f.Component);e.default=y},34788:function(t,e,r){r.d(e,{_:function(){return n}});function n(){return(n=Object.assign||function(t){for(var e=1;e{},c=s(),f=Object,p=t=>t===c,d=t=>”function”==typeof t,h=new WeakMap,y=(t,e)=>f.prototype.toString.call(t)===`[object ${e}]`,g=0,b=t=>{let e,r;let n=typeof t,o=y(t,”Date”),a=y(t,”RegExp”),i=y(t,”Object”);if(f(t)!==t||o||a)e=o?t.toJSON():”symbol”==n?t.toString():”string”==n?JSON.stringify(t):””+t;else{if(e=h.get(t))return e;if(e=++g+”~”,h.set(t,e),Array.isArray(t)){for(r=0,e=”@”;r{if(d(t))try{t=t()}catch(e){t=””}let e=t;return[t=”string”==typeof t?t:(Array.isArray(t)?t.length:t)?b(t):””,e]},v=t=>_(t?t(0,null):null)[0],m=Promise.resolve(),O=(0,l.xD)(o.ZP,t=>(e,r,o)=>{let l;let s=(0,n.useRef)(!1),{cache:c,initialSize:f=1,revalidateAll:p=!1,persistSize:d=!1,revalidateFirstPage:h=!0,revalidateOnMount:y=!1,parallel:g=!1}=o,[,,,b]=a.b.get(a.c);try{(l=v(e))&&(l=i.U+l)}catch(t){}let[_,O,w]=(0,a.z)(c,l),j=(0,n.useCallback)(()=>(0,a.e)(_()._l)?f:_()._l,[c,l,f]);(0,u.useSyncExternalStore)((0,n.useCallback)(t=>l?w(l,()=>{t()}):()=>{},[c,l]),j,j);let C=(0,n.useCallback)(()=>{let t=_()._l;return(0,a.e)(t)?f:t},[l,f]),R=(0,n.useRef)(C());(0,a.u)(()=>{if(!s.current){s.current=!0;return}l&&O({_l:d?R.current:C()})},[l,c]);let k=y&&!s.current,E=t(l,async t=>{let n=_()._i,i=_()._r;O({_r:a.U});let l=[],u=C(),[s]=(0,a.z)(c,t),f=s().data,d=[],y=null;for(let t=0;t{if(u in b){let t=b[u];delete b[u],m=await t}else m=await r(s);v({data:m,_k:s}),l[t]=m};g?d.push(e):await e()}else l[t]=m;g||(y=m)}return g&&await Promise.all(d.map(t=>t())),O({_i:a.U}),l},o),P=(0,n.useCallback)(function(t,e){let r=”boolean”==typeof e?{revalidate:e}:e||{},n=!1!==r.revalidate;return l?(n&&((0,a.e)(t)?O({_i:!0,_r:r.revalidate}):O({_i:!1,_r:r.revalidate})),arguments.length?E.mutate(t,{…r,revalidate:n}):E.mutate()):m},[l,c]),S=(0,n.useCallback)(t=>{let r;if(!l)return m;let[,n]=(0,a.z)(c,l);if((0,a.a)(t)?r=t(C()):”number”==typeof t&&(r=t),”number”!=typeof r)return m;n({_l:r}),R.current=r;let o=[],[i]=(0,a.z)(c,l),u=null;for(let t=0;t
/g,”
“)}var y=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.lastHtml=e.props.html,e.el=”function”==typeof e.props.innerRef?{current:null}:f.createRef(),e.getEl=function(){return(e.props.innerRef&&”function”!=typeof e.props.innerRef?e.props.innerRef:e.el).current},e.emitChange=function(t){var r=e.getEl();if(r){var n=r.innerHTML;if(e.props.onChange&&n!==e.lastHtml){var o=Object.assign({},t,{target:{value:n}});e.props.onChange(o)}e.lastHtml=n}},e}return o(e,t),e.prototype.render=function(){var t=this,e=this.props,r=e.tagName,n=e.html,o=e.innerRef,i=s(e,[“tagName”,”html”,”innerRef”]);return f.createElement(r||”div”,a(a({},i),{ref:”function”==typeof o?function(e){o(e),t.el.current=e}:o||this.el,onInput:this.emitChange,onBlur:this.props.onBlur||this.emitChange,onKeyUp:this.props.onKeyUp||this.emitChange,onKeyDown:this.props.onKeyDown||this.emitChange,contentEditable:!this.props.disabled,dangerouslySetInnerHTML:{__html:n}}),this.props.children)},e.prototype.shouldComponentUpdate=function(t){var e=this.props,r=this.getEl();return!r||h(t.html)!==h(r.innerHTML)||e.disabled!==t.disabled||e.tagName!==t.tagName||e.className!==t.className||e.innerRef!==t.innerRef||e.placeholder!==t.placeholder||!(0,p.default)(e.style,t.style)},e.prototype.componentDidUpdate=function(){var t=this.getEl();t&&(this.props.html!==t.innerHTML&&(t.innerHTML=this.props.html),this.lastHtml=this.props.html,function(t){var e=document.createTextNode(“”);t.appendChild(e);var r=document.activeElement===t;if(null!==e&&null!==e.nodeValue&&r){var n=window.getSelection();if(null!==n){var o=document.createRange();o.setStart(e,e.nodeValue.length),o.collapse(!0),n.removeAllRanges(),n.addRange(o)}t instanceof HTMLElement&&t.focus()}}(t))},e.propTypes={html:d.string.isRequired,onChange:d.func,disabled:d.bool,tagName:d.string,className:d.string,style:d.object,innerRef:d.oneOfType([d.object,d.func])},e}(f.Component);e.default=y},34788:function(t,e,r){r.d(e,{_:function(){return n}});function n(){return(n=Object.assign||function(t){for(var e=1;e