ckbox 2.8.0 → 2.8.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
1
  /**
2
2
  * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
3
  */
4
- (function(_0x13020d,_0x1373d9){const _0x4264cb=_0x2862,_0x3275b9=_0x13020d();while(!![]){try{const _0x1269ce=parseInt(_0x4264cb(0x183))/0x1*(-parseInt(_0x4264cb(0x174))/0x2)+-parseInt(_0x4264cb(0x180))/0x3+parseInt(_0x4264cb(0x178))/0x4*(-parseInt(_0x4264cb(0x17e))/0x5)+parseInt(_0x4264cb(0x175))/0x6+parseInt(_0x4264cb(0x17a))/0x7*(parseInt(_0x4264cb(0x176))/0x8)+parseInt(_0x4264cb(0x184))/0x9+parseInt(_0x4264cb(0x17f))/0xa;if(_0x1269ce===_0x1373d9)break;else _0x3275b9['push'](_0x3275b9['shift']());}catch(_0x59311d){_0x3275b9['push'](_0x3275b9['shift']());}}}(_0x54ff,0x74b1f));function _0x2862(_0x99b45,_0x1fc24b){const _0x54ffce=_0x54ff();return _0x2862=function(_0x2862bc,_0x3f7209){_0x2862bc=_0x2862bc-0x16f;let _0x1caaee=_0x54ffce[_0x2862bc];return _0x1caaee;},_0x2862(_0x99b45,_0x1fc24b);}import*as _0x2805a6 from'react';export{_0x2805a6 as React};function _0x54ff(){const _0x18c1ff=['8ThmxSZ','createElement','6369930ayASxJ','bind','boolean','render','865645KCmukR','3408930gefhEE','2524989OZrGDf','call','createRoot','286TIjEvM','6766092HMGIan','assets','dialog','onClose','CKBox','unmount','4206WiiJkD','1588146IBmaVu','8AoPdQL','onChoose'];_0x54ff=function(){return _0x18c1ff;};return _0x54ff();}import*as _0xc8bd60 from'react-dom/client';import{CKBox as _0x1787d6,CKBoxImageEditor,version}from'@ckbox/core';export{version}from'@ckbox/core';const getDialogProps=(_0x368cd7,_0x330153)=>{const _0x509c9f=_0x2862,_0x3f9633=_0x368cd7[_0x509c9f(0x170)];if(!_0x3f9633)return![];if(typeof _0x3f9633==='boolean'){const _0x154220=()=>{_0x330153();};return{'open':!![],'onClose':_0x154220};}const _0x1f1819=()=>{const _0xa47d9c=_0x509c9f;var _0x337254;(_0x337254=_0x3f9633[_0xa47d9c(0x171)])===null||_0x337254===void 0x0?void 0x0:_0x337254[_0xa47d9c(0x181)](_0x3f9633),_0x330153();};return{..._0x3f9633,'open':!![],'onClose':_0x1f1819};},getAssetsProps=(_0x556068,_0x1ff25a)=>{const _0x10c476=_0x2862;var _0x4c5db9;const _0x22f834=(_0x4c5db9=_0x556068[_0x10c476(0x16f)])===null||_0x4c5db9===void 0x0?void 0x0:_0x4c5db9[_0x10c476(0x177)];if(!_0x22f834)return _0x556068[_0x10c476(0x16f)];const _0x2a10cf=_0x4e93a0=>{const _0x568fd1=_0x10c476;var _0x492344;_0x22f834(_0x4e93a0),_0x1ff25a&&typeof _0x1ff25a!==_0x568fd1(0x17c)&&((_0x492344=_0x1ff25a[_0x568fd1(0x171)])===null||_0x492344===void 0x0?void 0x0:_0x492344['call'](_0x1ff25a));};return{..._0x556068['assets'],'onChoose':_0x2a10cf};},mount=(_0x279053,_0x5a9156)=>{const _0x31757f=_0x2862,_0x4d279d=_0xc8bd60[_0x31757f(0x182)](_0x279053),_0x1540a2=_0x4d279d['unmount'][_0x31757f(0x17b)](_0x4d279d),_0x53b7c3=getDialogProps(_0x5a9156,_0x1540a2),_0x1539b2=getAssetsProps(_0x5a9156,_0x53b7c3);return _0x4d279d[_0x31757f(0x17d)](_0x2805a6[_0x31757f(0x179)](_0x1787d6,{..._0x5a9156,'assets':_0x1539b2,'dialog':_0x53b7c3})),{'unmount':_0x1540a2};},mountImageEditor=(_0x55e2ef,_0x152812)=>{const _0x1e123a=_0x2862,_0x554713=_0xc8bd60[_0x1e123a(0x182)](_0x55e2ef),_0x13e93e=_0x554713[_0x1e123a(0x173)]['bind'](_0x554713),_0x289953=()=>{const _0xb19748=_0x1e123a;var _0x37ac16;(_0x37ac16=_0x152812['onClose'])===null||_0x37ac16===void 0x0?void 0x0:_0x37ac16[_0xb19748(0x181)](_0x152812),_0x13e93e();};return _0x554713['render'](_0x2805a6[_0x1e123a(0x179)](CKBoxImageEditor,{..._0x152812,'open':!![],'onClose':_0x289953})),{'unmount':_0x13e93e};};var CKBox=Object['freeze']({'__proto__':null,'React':_0x2805a6,'mount':mount,'mountImageEditor':mountImageEditor,'version':version});(function(){const _0xfed3b=_0x2862,_0x150b1e=globalThis;!_0x150b1e['CKBox']&&(_0x150b1e[_0xfed3b(0x172)]=CKBox);}());export{mount,mountImageEditor};
4
+ const _0x4a07c6=_0x31a8;(function(_0x2a4d02,_0x342be3){const _0xf6f459=_0x31a8,_0x61fe45=_0x2a4d02();while(!![]){try{const _0x436461=-parseInt(_0xf6f459(0xde))/0x1+parseInt(_0xf6f459(0xec))/0x2*(-parseInt(_0xf6f459(0xe0))/0x3)+-parseInt(_0xf6f459(0xee))/0x4+parseInt(_0xf6f459(0xf4))/0x5+parseInt(_0xf6f459(0xe9))/0x6*(-parseInt(_0xf6f459(0xed))/0x7)+-parseInt(_0xf6f459(0xef))/0x8*(-parseInt(_0xf6f459(0xe5))/0x9)+-parseInt(_0xf6f459(0xf3))/0xa*(-parseInt(_0xf6f459(0xf1))/0xb);if(_0x436461===_0x342be3)break;else _0x61fe45['push'](_0x61fe45['shift']());}catch(_0x1524b9){_0x61fe45['push'](_0x61fe45['shift']());}}}(_0x468b,0x2154c));import*as _0x17c263 from'react';export{_0x17c263 as React};import*as _0x5ae842 from'react-dom/client';import{CKBox as _0x2d454c,CKBoxImageEditor,version}from'@ckbox/core';export{version}from'@ckbox/core';const getDialogProps=(_0x13de38,_0x37a9fa)=>{const _0x5309bb=_0x13de38['dialog'];if(!_0x5309bb)return![];if(typeof _0x5309bb==='boolean'){const _0x397ca4=()=>{_0x37a9fa();};return{'open':!![],'onClose':_0x397ca4};}const _0xc5f307=()=>{const _0x2fe0e9=_0x31a8;var _0x138681;(_0x138681=_0x5309bb['onClose'])===null||_0x138681===void 0x0?void 0x0:_0x138681[_0x2fe0e9(0xe2)](_0x5309bb),_0x37a9fa();};return{..._0x5309bb,'open':!![],'onClose':_0xc5f307};},getAssetsProps=(_0x1dc7b0,_0x3e3f37)=>{const _0x2a582f=_0x31a8;var _0x187509;const _0x556855=(_0x187509=_0x1dc7b0[_0x2a582f(0xe6)])===null||_0x187509===void 0x0?void 0x0:_0x187509[_0x2a582f(0xe1)];if(!_0x556855)return _0x1dc7b0['assets'];const _0x4bebf8=_0x21adf0=>{const _0x3282d6=_0x2a582f;var _0x3b8fa2;_0x556855(_0x21adf0),_0x3e3f37&&typeof _0x3e3f37!==_0x3282d6(0xea)&&((_0x3b8fa2=_0x3e3f37[_0x3282d6(0xeb)])===null||_0x3b8fa2===void 0x0?void 0x0:_0x3b8fa2[_0x3282d6(0xe2)](_0x3e3f37));};return{..._0x1dc7b0[_0x2a582f(0xe6)],'onChoose':_0x4bebf8};},mount=(_0x760755,_0x1b41f4)=>{const _0xa4f7d6=_0x31a8,_0x8334ea=_0x5ae842['createRoot'](_0x760755),_0x37f75b=_0x8334ea['unmount']['bind'](_0x8334ea),_0x21a13a=getDialogProps(_0x1b41f4,_0x37f75b),_0x20bc52=getAssetsProps(_0x1b41f4,_0x21a13a);return _0x8334ea[_0xa4f7d6(0xe8)](_0x17c263[_0xa4f7d6(0xf0)](_0x2d454c,{..._0x1b41f4,'assets':_0x20bc52,'dialog':_0x21a13a})),{'unmount':_0x37f75b};},mountImageEditor=(_0x5c5565,_0x31cbd4)=>{const _0x42b0b4=_0x31a8,_0x1a0f44=_0x5ae842[_0x42b0b4(0xe3)](_0x5c5565),_0x57d313=_0x1a0f44[_0x42b0b4(0xe7)][_0x42b0b4(0xdf)](_0x1a0f44),_0x29eb92=()=>{const _0x3bd02f=_0x42b0b4;var _0x5115eb;(_0x5115eb=_0x31cbd4['onClose'])===null||_0x5115eb===void 0x0?void 0x0:_0x5115eb[_0x3bd02f(0xe2)](_0x31cbd4),_0x57d313();};return _0x1a0f44[_0x42b0b4(0xe8)](_0x17c263[_0x42b0b4(0xf0)](CKBoxImageEditor,{..._0x31cbd4,'open':!![],'onClose':_0x29eb92})),{'unmount':_0x57d313};};var CKBox=Object[_0x4a07c6(0xe4)]({'__proto__':null,'React':_0x17c263,'mount':mount,'mountImageEditor':mountImageEditor,'version':version});function _0x468b(){const _0x3ce196=['boolean','onClose','16cszNSW','2758egDSAo','176256GovQHw','895352PrVHEx','createElement','11ISTjUM','CKBox','3170670Sbvlnj','1109990KGCjFd','181169dnsopT','bind','73452YWblRI','onChoose','call','createRoot','freeze','18uYyIwJ','assets','unmount','render','3126mpmgwC'];_0x468b=function(){return _0x3ce196;};return _0x468b();}function _0x31a8(_0x4e003f,_0x145f4b){const _0x468b01=_0x468b();return _0x31a8=function(_0x31a886,_0x38fe1a){_0x31a886=_0x31a886-0xde;let _0x51f01f=_0x468b01[_0x31a886];return _0x51f01f;},_0x31a8(_0x4e003f,_0x145f4b);}(function(){const _0x42d058=_0x4a07c6,_0x3c860b=globalThis;!_0x3c860b[_0x42d058(0xf2)]&&(_0x3c860b[_0x42d058(0xf2)]=CKBox);}());export{mount,mountImageEditor};
package/package.json CHANGED
@@ -22,7 +22,7 @@
22
22
  ],
23
23
  "license": "SEE LICENSE IN LICENSE.md",
24
24
  "name": "ckbox",
25
- "version": "2.8.0",
25
+ "version": "2.8.1",
26
26
  "description": "Main CKBox package",
27
27
  "main": "dist/index.js",
28
28
  "types": "dist/index.d.ts",
@@ -32,6 +32,6 @@
32
32
  "react": "^19.1.0",
33
33
  "react-dom": "^19.1.0",
34
34
  "tslib": "^2.8.1",
35
- "@ckbox/core": "2.8.0"
35
+ "@ckbox/core": "2.8.1"
36
36
  }
37
37
  }