ckbox 2.9.0-rc.5 → 2.9.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(_0x446b4c,_0x208012){const _0x1ccded=_0x230c,_0x483c62=_0x446b4c();while(!![]){try{const _0x32e13f=parseInt(_0x1ccded(0xf5))/0x1+-parseInt(_0x1ccded(0x107))/0x2*(-parseInt(_0x1ccded(0xfe))/0x3)+parseInt(_0x1ccded(0x102))/0x4*(parseInt(_0x1ccded(0xfa))/0x5)+parseInt(_0x1ccded(0xfd))/0x6*(-parseInt(_0x1ccded(0xf6))/0x7)+-parseInt(_0x1ccded(0xfc))/0x8*(-parseInt(_0x1ccded(0x105))/0x9)+-parseInt(_0x1ccded(0x108))/0xa*(-parseInt(_0x1ccded(0x10a))/0xb)+-parseInt(_0x1ccded(0x106))/0xc;if(_0x32e13f===_0x208012)break;else _0x483c62['push'](_0x483c62['shift']());}catch(_0x506d6b){_0x483c62['push'](_0x483c62['shift']());}}}(_0x80a4,0x8d5b0));import*as _0x44e5e2 from'react';export{_0x44e5e2 as React};import*as _0x255658 from'react-dom/client';import{CKBox as _0x52222e,CKBoxImageEditor,version}from'@ckbox/core';function _0x230c(_0x1f7572,_0x594972){const _0x80a47d=_0x80a4();return _0x230c=function(_0x230cae,_0x566556){_0x230cae=_0x230cae-0xf5;let _0x3b9237=_0x80a47d[_0x230cae];return _0x3b9237;},_0x230c(_0x1f7572,_0x594972);}export{version}from'@ckbox/core';function _0x80a4(){const _0x38f655=['2475VJKGgM','30527340vzhBVT','38eYIzql','15830VZsKLv','boolean','6017xtqJou','291133XeDkfT','615965hiycwQ','CKBox','bind','call','30655BwPSIF','dialog','28568tFeyDL','12UUdoRE','163776qXjtTi','render','onChoose','assets','80KnAnsp','onClose','unmount'];_0x80a4=function(){return _0x38f655;};return _0x80a4();}const getDialogProps=(_0x219638,_0x5b2cdc)=>{const _0x5d83d1=_0x230c,_0x7635c7=_0x219638[_0x5d83d1(0xfb)];if(!_0x7635c7)return![];if(typeof _0x7635c7===_0x5d83d1(0x109)){const _0x449255=()=>{_0x5b2cdc();};return{'open':!![],'onClose':_0x449255};}const _0x35c3e1=()=>{const _0xeaed9f=_0x5d83d1;var _0x1739d3;(_0x1739d3=_0x7635c7[_0xeaed9f(0x103)])===null||_0x1739d3===void 0x0?void 0x0:_0x1739d3[_0xeaed9f(0xf9)](_0x7635c7),_0x5b2cdc();};return{..._0x7635c7,'open':!![],'onClose':_0x35c3e1};},getAssetsProps=(_0x2b20e3,_0x55cc09)=>{const _0x2391aa=_0x230c;var _0x4a1808;const _0x30055e=(_0x4a1808=_0x2b20e3['assets'])===null||_0x4a1808===void 0x0?void 0x0:_0x4a1808[_0x2391aa(0x100)];if(!_0x30055e)return _0x2b20e3[_0x2391aa(0x101)];const _0x3413ec=_0xf9b1be=>{const _0x117f85=_0x2391aa;var _0x353491;_0x30055e(_0xf9b1be),_0x55cc09&&typeof _0x55cc09!==_0x117f85(0x109)&&((_0x353491=_0x55cc09[_0x117f85(0x103)])===null||_0x353491===void 0x0?void 0x0:_0x353491['call'](_0x55cc09));};return{..._0x2b20e3[_0x2391aa(0x101)],'onChoose':_0x3413ec};},mount=(_0x36041c,_0x10f93f)=>{const _0x386a3c=_0x230c,_0xf69606=_0x255658['createRoot'](_0x36041c),_0x375b4e=_0xf69606[_0x386a3c(0x104)][_0x386a3c(0xf8)](_0xf69606),_0x47c949=getDialogProps(_0x10f93f,_0x375b4e),_0x3656bc=getAssetsProps(_0x10f93f,_0x47c949);return _0xf69606['render'](_0x44e5e2['createElement'](_0x52222e,{..._0x10f93f,'assets':_0x3656bc,'dialog':_0x47c949})),{'unmount':_0x375b4e};},mountImageEditor=(_0x2d525e,_0x3b9321)=>{const _0x2562bc=_0x230c,_0x5c4ef1=_0x255658['createRoot'](_0x2d525e),_0x2c5c7b=_0x5c4ef1[_0x2562bc(0x104)][_0x2562bc(0xf8)](_0x5c4ef1),_0x1bdee1=()=>{const _0x4320dd=_0x2562bc;var _0x36cd0d;(_0x36cd0d=_0x3b9321[_0x4320dd(0x103)])===null||_0x36cd0d===void 0x0?void 0x0:_0x36cd0d[_0x4320dd(0xf9)](_0x3b9321),_0x2c5c7b();};return _0x5c4ef1[_0x2562bc(0xff)](_0x44e5e2['createElement'](CKBoxImageEditor,{..._0x3b9321,'open':!![],'onClose':_0x1bdee1})),{'unmount':_0x2c5c7b};};var CKBox=Object['freeze']({'__proto__':null,'React':_0x44e5e2,'mount':mount,'mountImageEditor':mountImageEditor,'version':version});(function(){const _0xd0f2f2=_0x230c,_0x4876df=globalThis;!_0x4876df[_0xd0f2f2(0xf7)]&&(_0x4876df[_0xd0f2f2(0xf7)]=CKBox);}());export{mount,mountImageEditor};
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};
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.0-rc.5",
25
+ "version": "2.9.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.9.0-rc.5"
35
+ "@ckbox/core": "2.9.1"
36
36
  }
37
37
  }