ckbox 2.10.0 → 2.10.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(_0x59e5c8,_0x3f5e73){const _0x256189=_0x8311,_0x43419e=_0x59e5c8();while(!![]){try{const _0x5b1806=parseInt(_0x256189(0x159))/0x1*(-parseInt(_0x256189(0x161))/0x2)+-parseInt(_0x256189(0x160))/0x3*(parseInt(_0x256189(0x16a))/0x4)+parseInt(_0x256189(0x16b))/0x5*(-parseInt(_0x256189(0x168))/0x6)+parseInt(_0x256189(0x15d))/0x7+-parseInt(_0x256189(0x158))/0x8+parseInt(_0x256189(0x15a))/0x9*(-parseInt(_0x256189(0x166))/0xa)+parseInt(_0x256189(0x164))/0xb;if(_0x5b1806===_0x3f5e73)break;else _0x43419e['push'](_0x43419e['shift']());}catch(_0x30d7dc){_0x43419e['push'](_0x43419e['shift']());}}}(_0x1276,0x1de71));import*as _0x4beb96 from'react';export{_0x4beb96 as React};function _0x8311(_0x1a8288,_0x1ff6d0){_0x1a8288=_0x1a8288-0x156;const _0x127673=_0x1276();let _0x83119d=_0x127673[_0x1a8288];return _0x83119d;}import*as _0x3e8d96 from'react-dom/client';import{CKBox as _0x3c4e12,CKBoxImageEditor,version}from'@ckbox/core';export{version}from'@ckbox/core';const getDialogProps=(_0x23d493,_0x385448)=>{const _0x3f9478=_0x8311,_0x55ab0f=_0x23d493[_0x3f9478(0x15f)];if(!_0x55ab0f)return![];if(typeof _0x55ab0f==='boolean'){const _0x51b61d=()=>{_0x385448();};return{'open':!![],'onClose':_0x51b61d};}const _0x26efaa=()=>{const _0x173e40=_0x3f9478;var _0x13910d;(_0x13910d=_0x55ab0f['onClose'])===null||_0x13910d===void 0x0?void 0x0:_0x13910d[_0x173e40(0x165)](_0x55ab0f),_0x385448();};return{..._0x55ab0f,'open':!![],'onClose':_0x26efaa};},getAssetsProps=(_0x21de24,_0x2d0d58)=>{const _0x56f158=_0x8311;var _0x3fb210;const _0x30a92d=(_0x3fb210=_0x21de24[_0x56f158(0x15b)])===null||_0x3fb210===void 0x0?void 0x0:_0x3fb210[_0x56f158(0x16c)];if(!_0x30a92d)return _0x21de24[_0x56f158(0x15b)];const _0x52f2f0=_0x43c149=>{const _0x9934b4=_0x56f158;var _0x519cbd;_0x30a92d(_0x43c149),_0x2d0d58&&typeof _0x2d0d58!==_0x9934b4(0x156)&&((_0x519cbd=_0x2d0d58['onClose'])===null||_0x519cbd===void 0x0?void 0x0:_0x519cbd[_0x9934b4(0x165)](_0x2d0d58));};return{..._0x21de24[_0x56f158(0x15b)],'onChoose':_0x52f2f0};},mount=(_0x55a1b6,_0x5c246d)=>{const _0xb169e6=_0x8311,_0x400f81=_0x3e8d96[_0xb169e6(0x15e)](_0x55a1b6),_0x2d3529=_0x400f81[_0xb169e6(0x163)][_0xb169e6(0x169)](_0x400f81),_0x24724c=getDialogProps(_0x5c246d,_0x2d3529),_0x2559ff=getAssetsProps(_0x5c246d,_0x24724c);return _0x400f81[_0xb169e6(0x167)](_0x4beb96[_0xb169e6(0x15c)](_0x3c4e12,{..._0x5c246d,'assets':_0x2559ff,'dialog':_0x24724c})),{'unmount':_0x2d3529};},mountImageEditor=(_0x351846,_0x1bfd49)=>{const _0x43c0e0=_0x8311,_0x1da8ac=_0x3e8d96[_0x43c0e0(0x15e)](_0x351846),_0x37bd8f=_0x1da8ac[_0x43c0e0(0x163)][_0x43c0e0(0x169)](_0x1da8ac),_0x328640=()=>{const _0x8c5ed7=_0x43c0e0;var _0x3619f8;(_0x3619f8=_0x1bfd49[_0x8c5ed7(0x157)])===null||_0x3619f8===void 0x0?void 0x0:_0x3619f8[_0x8c5ed7(0x165)](_0x1bfd49),_0x37bd8f();};return _0x1da8ac[_0x43c0e0(0x167)](_0x4beb96[_0x43c0e0(0x15c)](CKBoxImageEditor,{..._0x1bfd49,'open':!![],'onClose':_0x328640})),{'unmount':_0x37bd8f};};function _0x1276(){const _0x4a3bee=['bind','16UFfOCV','10545HMKSii','onChoose','boolean','onClose','232536Pbaoju','4NQQRyy','34812MUqyRT','assets','createElement','1635193tGoksW','createRoot','dialog','109374CvHqoz','106588oKVewk','CKBox','unmount','7010498UiFeWH','call','490eGCwTm','render','486EzAAcB'];_0x1276=function(){return _0x4a3bee;};return _0x1276();}var CKBox=Object['freeze']({'__proto__':null,'React':_0x4beb96,'mount':mount,'mountImageEditor':mountImageEditor,'version':version});(function(){const _0x47efae=_0x8311,_0x2c777f=globalThis;!_0x2c777f[_0x47efae(0x162)]&&(_0x2c777f[_0x47efae(0x162)]=CKBox);}());export{mount,mountImageEditor};
4
+ const _0x5b2785=_0x330a;(function(_0x133305,_0x3f3c77){const _0x1e769d=_0x330a,_0x2355c8=_0x133305();while(!![]){try{const _0x26f003=-parseInt(_0x1e769d(0x16f))/0x1+-parseInt(_0x1e769d(0x167))/0x2*(-parseInt(_0x1e769d(0x163))/0x3)+-parseInt(_0x1e769d(0x15e))/0x4*(parseInt(_0x1e769d(0x169))/0x5)+-parseInt(_0x1e769d(0x170))/0x6*(parseInt(_0x1e769d(0x16e))/0x7)+-parseInt(_0x1e769d(0x166))/0x8+-parseInt(_0x1e769d(0x16b))/0x9+parseInt(_0x1e769d(0x162))/0xa;if(_0x26f003===_0x3f3c77)break;else _0x2355c8['push'](_0x2355c8['shift']());}catch(_0x2ebf54){_0x2355c8['push'](_0x2355c8['shift']());}}}(_0x47c1,0xec4be));import*as _0x2a9a54 from'react';function _0x330a(_0x1f9164,_0x103907){_0x1f9164=_0x1f9164-0x15d;const _0x47c1a9=_0x47c1();let _0x330a19=_0x47c1a9[_0x1f9164];return _0x330a19;}export{_0x2a9a54 as React};import*as _0x29688b from'react-dom/client';import{CKBox as _0x1ec10a,CKBoxImageEditor,version}from'@ckbox/core';export{version}from'@ckbox/core';function _0x47c1(){const _0x99c9a0=['8245MddWpj','assets','7874973VZUKrp','boolean','call','6432755DoyPoj','30272DlKueU','12BvFxtB','bind','unmount','4668GtYfHZ','createRoot','render','freeze','55759050LaEkyf','23034YvCawe','CKBox','createElement','137864JBqJFv','20nnuIFa','onChoose'];_0x47c1=function(){return _0x99c9a0;};return _0x47c1();}const getDialogProps=(_0x13e84c,_0x483184)=>{const _0x5050bc=_0x330a,_0x4be2d1=_0x13e84c['dialog'];if(!_0x4be2d1)return![];if(typeof _0x4be2d1===_0x5050bc(0x16c)){const _0x2d2c7d=()=>{_0x483184();};return{'open':!![],'onClose':_0x2d2c7d};}const _0x246c29=()=>{var _0x2d153a;(_0x2d153a=_0x4be2d1['onClose'])===null||_0x2d153a===void 0x0?void 0x0:_0x2d153a['call'](_0x4be2d1),_0x483184();};return{..._0x4be2d1,'open':!![],'onClose':_0x246c29};},getAssetsProps=(_0x3237ca,_0x553597)=>{const _0x55899b=_0x330a;var _0x5e79cd;const _0x3e81b8=(_0x5e79cd=_0x3237ca[_0x55899b(0x16a)])===null||_0x5e79cd===void 0x0?void 0x0:_0x5e79cd[_0x55899b(0x168)];if(!_0x3e81b8)return _0x3237ca[_0x55899b(0x16a)];const _0xad9a46=_0x1ad9b9=>{const _0x146414=_0x55899b;var _0xfc1be9;_0x3e81b8(_0x1ad9b9),_0x553597&&typeof _0x553597!==_0x146414(0x16c)&&((_0xfc1be9=_0x553597['onClose'])===null||_0xfc1be9===void 0x0?void 0x0:_0xfc1be9[_0x146414(0x16d)](_0x553597));};return{..._0x3237ca['assets'],'onChoose':_0xad9a46};},mount=(_0x1824f4,_0x4dcd7d)=>{const _0x307e3a=_0x330a,_0x3d0101=_0x29688b['createRoot'](_0x1824f4),_0x4d7bf1=_0x3d0101['unmount'][_0x307e3a(0x171)](_0x3d0101),_0x31e6c2=getDialogProps(_0x4dcd7d,_0x4d7bf1),_0x33a11b=getAssetsProps(_0x4dcd7d,_0x31e6c2);return _0x3d0101[_0x307e3a(0x160)](_0x2a9a54[_0x307e3a(0x165)](_0x1ec10a,{..._0x4dcd7d,'assets':_0x33a11b,'dialog':_0x31e6c2})),{'unmount':_0x4d7bf1};},mountImageEditor=(_0x1a5034,_0xa1164e)=>{const _0x12ebbc=_0x330a,_0x58f222=_0x29688b[_0x12ebbc(0x15f)](_0x1a5034),_0x4b23de=_0x58f222[_0x12ebbc(0x15d)][_0x12ebbc(0x171)](_0x58f222),_0x3f28e5=()=>{var _0x25c5c3;(_0x25c5c3=_0xa1164e['onClose'])===null||_0x25c5c3===void 0x0?void 0x0:_0x25c5c3['call'](_0xa1164e),_0x4b23de();};return _0x58f222[_0x12ebbc(0x160)](_0x2a9a54[_0x12ebbc(0x165)](CKBoxImageEditor,{..._0xa1164e,'open':!![],'onClose':_0x3f28e5})),{'unmount':_0x4b23de};};var CKBox=Object[_0x5b2785(0x161)]({'__proto__':null,'React':_0x2a9a54,'mount':mount,'mountImageEditor':mountImageEditor,'version':version});(function(){const _0x3c4c69=_0x5b2785,_0x28dce4=globalThis;!_0x28dce4[_0x3c4c69(0x164)]&&(_0x28dce4['CKBox']=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.10.0",
25
+ "version": "2.10.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.2.3",
33
33
  "react-dom": "^19.2.3",
34
34
  "tslib": "^2.8.1",
35
- "@ckbox/core": "2.10.0"
35
+ "@ckbox/core": "2.10.1"
36
36
  }
37
37
  }