ckbox 2.9.1 → 2.9.2

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
- const _0x5bc96d=_0x577b;(function(_0x2a22c4,_0x5dccba){const _0x1212d1=_0x577b,_0x5af4c9=_0x2a22c4();while(!![]){try{const _0xd11ebb=parseInt(_0x1212d1(0x1fc))/0x1*(-parseInt(_0x1212d1(0x1ff))/0x2)+parseInt(_0x1212d1(0x1ee))/0x3*(-parseInt(_0x1212d1(0x1f4))/0x4)+parseInt(_0x1212d1(0x1ea))/0x5+parseInt(_0x1212d1(0x1f5))/0x6*(parseInt(_0x1212d1(0x1eb))/0x7)+-parseInt(_0x1212d1(0x1f3))/0x8*(-parseInt(_0x1212d1(0x1ef))/0x9)+parseInt(_0x1212d1(0x1fe))/0xa+-parseInt(_0x1212d1(0x1f8))/0xb;if(_0xd11ebb===_0x5dccba)break;else _0x5af4c9['push'](_0x5af4c9['shift']());}catch(_0x4ad574){_0x5af4c9['push'](_0x5af4c9['shift']());}}}(_0x2d73,0xd412a));import*as _0x5b1dd5 from'react';function _0x2d73(){const _0x3326b1=['render','boolean','72NBpjLy','9YHGcEA','unmount','assets','CKBox','13824392kSjcqp','253884jRKxQn','853950QSvMub','onChoose','call','6687945yHEscL','onClose','bind','freeze','975809RoEKPB','createElement','2251570KBagXm','2oGCXYn','createRoot','2284885eJBcIJ','77yswlmt'];_0x2d73=function(){return _0x3326b1;};return _0x2d73();}export{_0x5b1dd5 as React};import*as _0x35d94e from'react-dom/client';function _0x577b(_0x1616d5,_0x520ff6){const _0x2d73a4=_0x2d73();return _0x577b=function(_0x577b81,_0x57b669){_0x577b81=_0x577b81-0x1ea;let _0x47745f=_0x2d73a4[_0x577b81];return _0x47745f;},_0x577b(_0x1616d5,_0x520ff6);}import{CKBox as _0x121637,CKBoxImageEditor,version}from'@ckbox/core';export{version}from'@ckbox/core';const getDialogProps=(_0x235e5a,_0x1cc1ab)=>{const _0x69c342=_0x235e5a['dialog'];if(!_0x69c342)return![];if(typeof _0x69c342==='boolean'){const _0x555798=()=>{_0x1cc1ab();};return{'open':!![],'onClose':_0x555798};}const _0x965dd7=()=>{const _0x552f81=_0x577b;var _0x592072;(_0x592072=_0x69c342[_0x552f81(0x1f9)])===null||_0x592072===void 0x0?void 0x0:_0x592072[_0x552f81(0x1f7)](_0x69c342),_0x1cc1ab();};return{..._0x69c342,'open':!![],'onClose':_0x965dd7};},getAssetsProps=(_0x5b7166,_0x15d5a4)=>{const _0xefeda8=_0x577b;var _0x37a334;const _0x3f473f=(_0x37a334=_0x5b7166[_0xefeda8(0x1f1)])===null||_0x37a334===void 0x0?void 0x0:_0x37a334[_0xefeda8(0x1f6)];if(!_0x3f473f)return _0x5b7166[_0xefeda8(0x1f1)];const _0xa1881a=_0x4eff1f=>{const _0x18a99d=_0xefeda8;var _0x208701;_0x3f473f(_0x4eff1f),_0x15d5a4&&typeof _0x15d5a4!==_0x18a99d(0x1ed)&&((_0x208701=_0x15d5a4[_0x18a99d(0x1f9)])===null||_0x208701===void 0x0?void 0x0:_0x208701['call'](_0x15d5a4));};return{..._0x5b7166['assets'],'onChoose':_0xa1881a};},mount=(_0x29bac8,_0x1711fa)=>{const _0x449312=_0x577b,_0x238d26=_0x35d94e[_0x449312(0x200)](_0x29bac8),_0x32b824=_0x238d26[_0x449312(0x1f0)][_0x449312(0x1fa)](_0x238d26),_0x40e7cf=getDialogProps(_0x1711fa,_0x32b824),_0x1566ef=getAssetsProps(_0x1711fa,_0x40e7cf);return _0x238d26[_0x449312(0x1ec)](_0x5b1dd5['createElement'](_0x121637,{..._0x1711fa,'assets':_0x1566ef,'dialog':_0x40e7cf})),{'unmount':_0x32b824};},mountImageEditor=(_0xa688b0,_0x259e90)=>{const _0x1e3778=_0x577b,_0x441956=_0x35d94e['createRoot'](_0xa688b0),_0x4d676a=_0x441956['unmount'][_0x1e3778(0x1fa)](_0x441956),_0x1d1217=()=>{const _0x24dc1f=_0x1e3778;var _0x51b66f;(_0x51b66f=_0x259e90[_0x24dc1f(0x1f9)])===null||_0x51b66f===void 0x0?void 0x0:_0x51b66f[_0x24dc1f(0x1f7)](_0x259e90),_0x4d676a();};return _0x441956[_0x1e3778(0x1ec)](_0x5b1dd5[_0x1e3778(0x1fd)](CKBoxImageEditor,{..._0x259e90,'open':!![],'onClose':_0x1d1217})),{'unmount':_0x4d676a};};var CKBox=Object[_0x5bc96d(0x1fb)]({'__proto__':null,'React':_0x5b1dd5,'mount':mount,'mountImageEditor':mountImageEditor,'version':version});(function(){const _0x2b41fb=_0x5bc96d,_0x39467a=globalThis;!_0x39467a[_0x2b41fb(0x1f2)]&&(_0x39467a['CKBox']=CKBox);}());export{mount,mountImageEditor};
4
+ (function(_0x568f32,_0x433127){const _0x816360=_0x5dc7,_0xfe41f1=_0x568f32();while(!![]){try{const _0xff1763=-parseInt(_0x816360(0x17e))/0x1+-parseInt(_0x816360(0x18d))/0x2+-parseInt(_0x816360(0x185))/0x3+parseInt(_0x816360(0x17f))/0x4+-parseInt(_0x816360(0x18e))/0x5*(parseInt(_0x816360(0x182))/0x6)+-parseInt(_0x816360(0x180))/0x7+-parseInt(_0x816360(0x17d))/0x8*(-parseInt(_0x816360(0x183))/0x9);if(_0xff1763===_0x433127)break;else _0xfe41f1['push'](_0xfe41f1['shift']());}catch(_0x1b4192){_0xfe41f1['push'](_0xfe41f1['shift']());}}}(_0x2fe0,0x67ab8));function _0x2fe0(){const _0xbdcded=['createElement','114PfyeYq','171ysWxzH','createRoot','216624NtcrwA','render','onChoose','assets','call','dialog','onClose','unmount','1672582WdJPjy','207445zSAkRN','CKBox','bind','1188312MLAMRx','675529cFnNZB','572936SREbVk','1179668mWUkRq'];_0x2fe0=function(){return _0xbdcded;};return _0x2fe0();}import*as _0x55a218 from'react';export{_0x55a218 as React};import*as _0x2c5174 from'react-dom/client';import{CKBox as _0x2c09f4,CKBoxImageEditor,version}from'@ckbox/core';export{version}from'@ckbox/core';const getDialogProps=(_0xa21c36,_0x3ad16d)=>{const _0x44c4b9=_0x5dc7,_0x3448c0=_0xa21c36[_0x44c4b9(0x18a)];if(!_0x3448c0)return![];if(typeof _0x3448c0==='boolean'){const _0x4a94be=()=>{_0x3ad16d();};return{'open':!![],'onClose':_0x4a94be};}const _0x5017b4=()=>{const _0x582ad0=_0x44c4b9;var _0x5440a1;(_0x5440a1=_0x3448c0[_0x582ad0(0x18b)])===null||_0x5440a1===void 0x0?void 0x0:_0x5440a1['call'](_0x3448c0),_0x3ad16d();};return{..._0x3448c0,'open':!![],'onClose':_0x5017b4};},getAssetsProps=(_0x246e03,_0x1514eb)=>{const _0x15f1f4=_0x5dc7;var _0x389bb4;const _0x1b9200=(_0x389bb4=_0x246e03['assets'])===null||_0x389bb4===void 0x0?void 0x0:_0x389bb4[_0x15f1f4(0x187)];if(!_0x1b9200)return _0x246e03[_0x15f1f4(0x188)];const _0x23c641=_0x34e0bb=>{var _0x1831de;_0x1b9200(_0x34e0bb),_0x1514eb&&typeof _0x1514eb!=='boolean'&&((_0x1831de=_0x1514eb['onClose'])===null||_0x1831de===void 0x0?void 0x0:_0x1831de['call'](_0x1514eb));};return{..._0x246e03[_0x15f1f4(0x188)],'onChoose':_0x23c641};},mount=(_0x1074b6,_0x58ba89)=>{const _0x743015=_0x5dc7,_0x2a19ac=_0x2c5174[_0x743015(0x184)](_0x1074b6),_0x32aab2=_0x2a19ac[_0x743015(0x18c)][_0x743015(0x17c)](_0x2a19ac),_0x5b6666=getDialogProps(_0x58ba89,_0x32aab2),_0x1ba6d4=getAssetsProps(_0x58ba89,_0x5b6666);return _0x2a19ac[_0x743015(0x186)](_0x55a218[_0x743015(0x181)](_0x2c09f4,{..._0x58ba89,'assets':_0x1ba6d4,'dialog':_0x5b6666})),{'unmount':_0x32aab2};},mountImageEditor=(_0x2f312c,_0x58ce23)=>{const _0x95d532=_0x5dc7,_0x2764cf=_0x2c5174[_0x95d532(0x184)](_0x2f312c),_0x553bfd=_0x2764cf['unmount'][_0x95d532(0x17c)](_0x2764cf),_0x359cd3=()=>{const _0x1f4bfb=_0x95d532;var _0x2db0ab;(_0x2db0ab=_0x58ce23[_0x1f4bfb(0x18b)])===null||_0x2db0ab===void 0x0?void 0x0:_0x2db0ab[_0x1f4bfb(0x189)](_0x58ce23),_0x553bfd();};return _0x2764cf[_0x95d532(0x186)](_0x55a218['createElement'](CKBoxImageEditor,{..._0x58ce23,'open':!![],'onClose':_0x359cd3})),{'unmount':_0x553bfd};};var CKBox=Object['freeze']({'__proto__':null,'React':_0x55a218,'mount':mount,'mountImageEditor':mountImageEditor,'version':version});function _0x5dc7(_0x13a5fe,_0x3441ff){const _0x2fe070=_0x2fe0();return _0x5dc7=function(_0x5dc706,_0x339aad){_0x5dc706=_0x5dc706-0x17b;let _0xbb11de=_0x2fe070[_0x5dc706];return _0xbb11de;},_0x5dc7(_0x13a5fe,_0x3441ff);}(function(){const _0x28ef9d=_0x5dc7,_0x4f9a09=globalThis;!_0x4f9a09[_0x28ef9d(0x17b)]&&(_0x4f9a09[_0x28ef9d(0x17b)]=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.9.1",
25
+ "version": "2.9.2",
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.9.1"
35
+ "@ckbox/core": "2.9.2"
36
36
  }
37
37
  }