Files
Obsidian/Edge Wallet/128.18367.18366.1/bnpl/bnpl.bundle.js
T

2 lines
691 KiB
JavaScript
Raw Normal View History

2026-11-06 08:29:11 +08:00
/*! For license information please see bnpl.bundle.js.LICENSE.txt */
(()=>{var e,t,r,n,o,a,i={2322:(e,t,r)=>{"use strict";function n(e){for(var t,r=0,n=0,o=e.length;o>=4;++n,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(n)|(255&e.charCodeAt(++n))<<8|(255&e.charCodeAt(++n))<<16|(255&e.charCodeAt(++n))<<24))+(59797*(t>>>16)<<16),r=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&r)+(59797*(r>>>16)<<16);switch(o){case 3:r^=(255&e.charCodeAt(n+2))<<16;case 2:r^=(255&e.charCodeAt(n+1))<<8;case 1:r=1540483477*(65535&(r^=255&e.charCodeAt(n)))+(59797*(r>>>16)<<16)}return(((r=1540483477*(65535&(r^=r>>>13))+(59797*(r>>>16)<<16))^r>>>15)>>>0).toString(36)}r.d(t,{Z:()=>n})},1216:(e,t,r)=>{"use strict";r.d(t,{Z:()=>T});var n=r(274),o=r(767),a=r(817),i=r(4609),l=r(9479),s=r(773),c=r(706),u=r(4969);const d=function(e,t,r,n){if(!(0,c.Z)(e))return e;for(var o=-1,a=(t=(0,l.Z)(t,e)).length,d=a-1,f=e;null!=f&&++o<a;){var p=(0,u.Z)(t[o]),h=r;if("__proto__"===p||"constructor"===p||"prototype"===p)return e;if(o!=d){var g=f[p];void 0===(h=n?n(g,p,f):void 0)&&(h=(0,c.Z)(g)?g:(0,s.Z)(t[o+1])?[]:{})}(0,i.Z)(f,p,h),f=f[p]}return e},f=function(e,t,r){return null==e?e:d(e,t,r)};var p=r(6661);const h=function(e,t){return null!=e&&t in Object(e)};var g=r(3592);const v=function(e,t){return function(e,t,r){for(var n=-1,o=t.length,a={};++n<o;){var i=t[n],s=(0,p.Z)(e,i);r(s,i)&&d(a,(0,l.Z)(i,e),s)}return a}(e,t,(function(t,r){return function(e,t){return null!=e&&(0,g.Z)(e,t,h)}(e,r)}))},m=function(e,t){for(var r=-1,n=t.length,o=e.length;++r<n;)e[o+r]=t[r];return e};var b=r(8267),y=r(634),k=r(434),w=b.Z?b.Z.isConcatSpreadable:void 0;const x=function(e){return(0,k.Z)(e)||(0,y.Z)(e)||!!(w&&e&&e[w])},C=function e(t,r,n,o,a){var i=-1,l=t.length;for(n||(n=x),a||(a=[]);++i<l;){var s=t[i];r>0&&n(s)?r>1?e(s,r-1,n,o,a):m(a,s):o||(a[a.length]=s)}return a},S=function(e){return null!=e&&e.length?C(e,1):[]};var B=r(2848),P=r(8608);const E=(_=function(e,t){return null==e?{}:v(e,t)},(0,P.Z)((0,B.Z)(_,void 0,S),_+""));var _;class F extends n.Component{constructor(){super(...arguments),this.referenceResolverStore={},this.referenceStore={}}setRef(...e){const t=this.processStorageKey(e);let r=(0,o.Z)(this.referenceResolverStore,t);if(t&&!(0,a.Z)(r)&&!Array.isArray(r))return"function"==typeof r||(r=e=>{f(this.referenceStore,t,e)},f(this.referenceResolverStore,t,r)),r}getRef(...e){return(0,o.Z)(this.referenceStore,this.processStorageKey(e))}unhandledProps(){const e=Object.keys(this.props).filter((e=>!(F.defaultHandledProps.indexOf(e)>-1)&&this.handledProps&&!this.handledProps.hasOwnProperty(e)));return E(this.props,e)}generateClassNames(e=""){return e.concat(` ${this.props.className||""}`).trim().replace(/(\s){2,}/g," ")||null}withSlot(e,t=this.props.children){return n.Children.map(t,(t=>this.hasSlot(e,t)?t:null))}withoutSlot(e,t=this.props.children){return n.Children.map(t,(t=>this.hasSlot(e,t)?null:t))}hasSlot(e,t){const r=(0,o.Z)(t,"props.slot");return Array.isArray(e)?-1!==e.indexOf(r):e===r}processStorageKey(e){return e.filter((e=>"string"==typeof e||"number"==typeof e)).map(((e,t)=>0===t?e:`[${e}]`)).join("")}}F.defaultHandledProps=["children"];const T=F},7708:(e,t,r)=>{"use strict";r.d(t,{default:()=>u});var n,o,a=r(1216),i=r(7843),l=r(274),s=r(3702);(o=n||(n={})).a="a",o.button="button";class c extends a.Z{constructor(){super(...arguments),this.handledProps={disabled:void 0,href:void 0,managedClasses:void 0}}render(){return l.createElement(this.tag,Object.assign({},this.unhandledProps(),{className:this.generateClassNames(),href:this.props.href||null},this.renderDisabledAttribute()),this.props.children)}generateClassNames(){const{button:e,button__disabled:t}=this.props.managedClasses;return super.generateClassNames((0,i.A)(e,[t,this.props.disabled]))}renderDisabledAttribute(){if(!0===this.props.disabled)return this.tag===n.a?{"aria-disabled":!0}:{disabled:!0}}get tag(){return"string"==typeof this.props.href?n.a:n.button}}c.displayName=`${s.DisplayNamePrefix}Button`,c.defaultProps={managedClasses:{}};const u=c},7286:(e,t,r)=>{"use strict";var n,o,a,i;r.d(t,{H:()=>a,l:()=>n}),(o=n||(n={})).caption="caption",o.h1="h1",o.