acacia-ui 1.0.0 → 1.0.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/main.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"main.js","mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD,O;;;;;;;;;;;;;;;ACVmD;AACnD,iBAAiB;AACjB,2BAA2B;AAC3B,4BAA4B;AAC5B,4BAA4B;AAC5B,4BAA4B;AAC5B,yBAAyB;AACzB,wBAAwB;;AAExB;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA,CAAC;AACD;AACA;AACA,CAAC;AACD;AACA;AACA,CAAC;AACD;AACA;AACA,CAAC;AACD;AACA;AACA,CAAC;AACD;AACA;AACA,CAAC;AACD;AACA;AACA,CAAC;AACD;AACA;AACA,CAAC;AACD;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA;AACA;AACe;AACf;AACA;AACA,mBAAmB,6DAAS;AAC5B;AACA,gCAAgC,OAAO;AACvC,gBAAgB,6DAAS;AACzB;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,mBAAmB,sBAAsB;AACzC,iBAAiB,6DAAS;AAC1B;AACA;AACA;AACA,KAAK;AACL;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,iBAAiB,6DAAS;AAC1B,KAAK;AACL;AACA;AACA;AACA,GAAG;AACH,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC/HiD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACAjD;;AAEO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO;AACP;AACO;AACP;AACO;AACP;AACO;AACP;AACO;AACP;AACO;AACP;AACO;AACP;AACO;AACP;AACO;AACP;AACO;AACP;AACO;AACP;AACO;AACP;AACO;AACP;AACO;AACA;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO;AACP;AACO;AACP;AACO;AACP;AACO;AACP;AACO;AACP;AACO;AACP;AACO;AACP;AACO;AACP;AACO;AACP;AACO;AACP;AACO;AACP;AACO;AACP;AACO;AACP;AACO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,E;;;;;;;;;;;;;;;;ACnGwE;AACxE;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,kBAAkB,OAAO;AACzB;AACA;;AAEA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO;AACP;AACA;AACA;AACA;AACA,IAAI,qFAAe;AACnB;AACA;AACA;AACA,IAAI,qFAAe;AACnB;AACA;AACA;AACA,IAAI,qFAAe;AACnB;AACA;AACA;AACA,IAAI,qFAAe;AACnB;AACA;AACA;AACA,IAAI,qFAAe;AACnB;AACA,IAAI,qFAAe;AACnB,IAAI,qFAAe;AACnB,IAAI,qFAAe;AACnB,IAAI,qFAAe;AACnB;AACA,IAAI,qFAAe;AACnB,IAAI,qFAAe;AACnB,IAAI,qFAAe;AACnB;AACA;AACA;AACA,uBAAuB,kBAAkB;AACzC;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA,sBAAsB,IAAI;AAC1B;AACA,QAAQ;AACR;AACA,QAAQ;AACR;AACA,QAAQ;AACR;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA,MAAM;AACN;AACA,MAAM;AACN;AACA,MAAM;AACN;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,kCAAkC,EAAE,GAAG,EAAE,IAAI,EAAE,IAAI,OAAO,YAAY,EAAE,GAAG,EAAE,IAAI,EAAE;AACnF;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,kCAAkC,OAAO,GAAG,OAAO,GAAG,OAAO,GAAG,OAAO,YAAY,OAAO,GAAG,OAAO,GAAG,OAAO;AAC9G;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA,MAAM;AACN;AACA;AACA,MAAM;AACN;AACA;AACA,MAAM;AACN;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,C;;;;;;;;;;;;;;;;;ACphB4B;;;;;;;;;;;;;;;;;;;;;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uBAAuB,mBAAO,CAAC,2EAAgB;AAC/C,kBAAkB,mBAAO,CAAC,iEAAW;AACrC,mBAAmB,mBAAO,CAAC,mEAAY;AACvC,8BAA8B,mBAAO,CAAC,yFAAuB;AAC7D,gBAAgB,mBAAO,CAAC,6DAAS;AACjC,eAAe,mBAAO,CAAC,2DAAQ;AAC/B,gBAAgB,mBAAO,CAAC,6DAAS;AACjC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,eAAe,QAAQ;AACvB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,eAAe,QAAQ;AACvB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iBAAiB,QAAQ;AACzB;AACA;AACA;AACA;AACA;AACA;AACA,iBAAiB,QAAQ;AACzB;AACA;AACA;AACA;AACA;AACA;AACA,eAAe,aAAa;AAC5B,iBAAiB,QAAQ;AACzB;AACA;AACA;AACA;AACA;AACA;AACA,iBAAiB,QAAQ;AACzB;AACA;AACA;AACA;AACA;AACA;AACA,iBAAiB,QAAQ;AACzB;AACA;AACA;AACA;AACA;AACA;AACA,iBAAiB,QAAQ;AACzB;AACA;AACA;AACA;AACA;AACA;AACA,iBAAiB,QAAQ;AACzB;AACA;AACA;AACA;AACA;AACA;AACA,iBAAiB,QAAQ;AACzB;AACA;AACA;AACA;AACA;AACA;AACA,iBAAiB,QAAQ;AACzB;AACA;AACA;AACA;AACA;AACA;AACA,iBAAiB,QAAQ;AACzB;AACA;AACA;AACA;AACA;AACA;AACA,iBAAiB,QAAQ;AACzB;AACA;AACA;AACA;AACA;AACA;AACA,mBAAmB,iBAAiB,iBAAiB;AACrD;AACA;AACA;AACA;AACA;AACA;AACA,eAAe,yEAAyE;AACxF,iBAAiB,yBAAyB;AAC1C;AACA;AACA;AACA;AACA;AACA;AACA,iBAAiB,QAAQ;AACzB;AACA;AACA;AACA;AACA;AACA;AACA,iBAAiB,SAAS;AAC1B;AACA;AACA;AACA;AACA;AACA;AACA,iBAAiB,SAAS;AAC1B;AACA;AACA;AACA;AACA;AACA;AACA,eAAe,QAAQ;AACvB,iBAAiB,QAAQ;AACzB;AACA;AACA;AACA;AACA;AACA;AACA;AACA,eAAe,QAAQ;AACvB,iBAAiB,QAAQ;AACzB;AACA;AACA;AACA;AACA;AACA;AACA,eAAe,QAAQ;AACvB,iBAAiB,QAAQ;AACzB;AACA;AACA;AACA;AACA;AACA;AACA;AACA,eAAe,QAAQ;AACvB,iBAAiB,QAAQ;AACzB;AACA;AACA;AACA;AACA;AACA;AACA,iBAAiB,QAAQ;AACzB;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iBAAiB,QAAQ;AACzB;AACA;AACA;AACA;AACA;AACA;AACA,iBAAiB,QAAQ;AACzB;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iBAAiB,QAAQ;AACzB;AACA;AACA;AACA;AACA;AACA;AACA,eAAe,QAAQ;AACvB,iBAAiB,QAAQ;AACzB;AACA;AACA;AACA;AACA;AACA;AACA;AACA,eAAe,QAAQ;AACvB,iBAAiB,QAAQ;AACzB;AACA;AACA;AACA;AACA;AACA;AACA,iBAAiB,QAAQ;AACzB;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iBAAiB,QAAQ;AACzB;AACA;AACA;AACA;AACA;AACA;AACA,eAAe,QAAQ;AACvB,iBAAiB,QAAQ;AACzB;AACA;AACA;AACA;AACA;AACA;AACA;AACA,eAAe,QAAQ;AACvB,iBAAiB,QAAQ;AACzB;AACA;AACA;AACA;AACA;AACA;AACA,eAAe,QAAQ;AACvB,iBAAiB,QAAQ;AACzB;AACA;AACA;AACA;AACA;AACA;AACA;AACA,eAAe,QAAQ;AACvB,iBAAiB,QAAQ;AACzB;AACA;AACA;AACA;AACA;AACA,aAAa;;;;;;;;;;;;ACxSA;AACb,8CAA6C,EAAE,aAAa,EAAC;AAC7D,oBAAoB;AACpB,2BAA2B,mBAAO,CAAC,mFAAoB;AACvD,wBAAwB,mBAAO,CAAC,yFAAuB;AACvD,gBAAgB,mBAAO,CAAC,6DAAS;AACjC;AACA;AACA;AACA;AACA,WAAW,QAAQ;AACnB;AACA;AACA,WAAW,aAAa;AACxB;AACA;AACA,aAAa,QAAQ;AACrB;AACA;AACA;AACA,6CAA6C;AAC7C,kDAAkD;AAClD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,oBAAoB;;;;;;;;;;;;ACrDP;AACb,8CAA6C,EAAE,aAAa,EAAC;AAC7D,sBAAsB;AACtB,2BAA2B,mBAAO,CAAC,mFAAoB;AACvD,gBAAgB,mBAAO,CAAC,6DAAS;AACjC;AACA;AACA;AACA;AACA;AACA,WAAW,QAAQ;AACnB;AACA;AACA,eAAe,kCAAkC;AACjD;AACA;AACA;AACA,gCAAgC,aAAa,gCAAgC;AAC7E,mCAAmC,aAAa,8BAA8B;AAC9E;AACA;AACA;AACA;AACA;AACA;AACA,iBAAiB;AACjB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,2BAA2B,2CAA2C;AACtE;AACA;AACA;AACA,2BAA2B,2CAA2C;AACtE;AACA;AACA,aAAa;AACb;AACA,sBAAsB;;;;;;;;;;;;AC3CT;AACb,8CAA6C,EAAE,aAAa,EAAC;AAC7D,oCAAoC;AACpC,gBAAgB,mBAAO,CAAC,6DAAS;AACjC,oCAAoC,mBAAO,CAAC,qGAA6B;AACzE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,oBAAoB,qBAAqB;AACzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,oCAAoC;;;;;;;;;;;;AC7CvB;AACb,8CAA6C,EAAE,aAA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BAAuB,GAAG,wBAAwB,GAAG,uBAAuB,GAAG,wBAAwB,GAAG,uBAAuB,GAAG,oBAAoB;AACxO;AACA;AACA;AACA;AACA;AACA,WAAW,QAAQ;AACnB;AACA,aAAa,SAAS;AACtB;AACA;AACA,6BAA6B;AAC7B,gCAAgC;AAChC,gCAAgC;AAChC,6BAA6B;AAC7B,+BAA+B;AAC/B,+BAA+B;AAC/B;AACA;AACA,oCAAoC,EAAE,EAAE,IAAI;AAC5C;AACA;AACA,uBAAuB;AACvB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,QAAQ;AACnB;AACA,aAAa,SAAS;AACtB;AACA;AACA,8BAA8B;AAC9B,gCAAgC;AAChC,kCAAkC;AAClC,gCAAgC;AAChC,+BAA+B;AAC/B;AACA;AACA,oCAAoC,EAAE,EAAE,IAAI;AAC5C;AACA;AACA,wBAAwB;AACxB;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,QAAQ;AACnB;AACA,aAAa,SAAS;AACtB,wDAAwD;AACxD;AACA;AACA,wCAAwC;AACxC,yCAAyC;AACzC,uCAAuC;AACvC,wCAAwC;AACxC;AACA;AACA;AACA,6BAA6B,IAAI,SAAS,IAAI,SAAS,IAAI;AAC3D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,uBAAuB;AACvB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,QAAQ;AACnB;AACA,aAAa,SAAS;AACtB,sFAAsF;AACtF;AACA;AACA,+CAA+C;AAC/C,+CAA+C;AAC/C,gDAAgD;AAChD;AACA;AACA;AACA,8BAA8B,IAAI,SAAS,IAAI,SAAS,IAAI;AAC5D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,wBAAwB;AACxB;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,QAAQ;AACnB;AACA,aAAa,SAAS;AACtB,yFAAyF;AACzF;AACA;AACA,0CAA0C;AAC1C,0CAA0C;AAC1C,2CAA2C;AAC3C;AACA;AACA;AACA,6BAA6B,IAAI,SAAS,IAAI,UAAU,IAAI;AAC5D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,uBAAuB;AACvB;AACA;AACA;AACA;AACA;AACA,WAAW,QAAQ;AACnB;AACA,aAAa,SAAS;AACtB;AACA,2DAA2D;AAC3D;AACA;AACA,kDAAkD;AAClD,kDAAkD;AAClD,+CAA+C;AAC/C;AACA;AACA;AACA,8BAA8B,IAAI,SAAS,IAAI,UAAU,IAAI;AAC7D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,wBAAwB;AACxB;AACA;AACA;AACA;AACA;AACA,WAAW,QAAQ;AACnB;AACA,aAAa,SAAS;AACtB,sFAAsF;AACtF;AACA;AACA,+CAA+C;AAC/C,+CAA+C;AAC/C,iDAAiD;AACjD;AACA;AACA;AACA,8BAA8B,IAAI,UAAU,IAAI,UAAU,IAAI,UAAU,IAAI;AAC5E;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,wBAAwB;AACxB;AACA;AACA;AACA;AACA;AACA,WAAW,QAAQ;AACnB;AACA,aAAa,SAAS;AACtB,qFAAqF;AACrF;AACA;AACA,4CAA4C;AAC5C,0CAA0C;AAC1C,2CAA2C;AAC3C;AACA;AACA;AACA,6BAA6B,IAAI,SAAS,IAAI,UAAU,IAAI;AAC5D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,uBAAuB;AACvB;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,QAAQ;AACnB;AACA,aAAa,SAAS;AACtB,uCAAuC;AACvC;AACA;AACA,4BAA4B;AAC5B,qCAAqC;AACrC,6CAA6C;AAC7C,iCAAiC;AACjC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,oBAAoB;;;;;;;;;;;;ACpQP;AACb,8CAA6C,EAAE,aAAa,EAAC;AAC7D,qBAAqB;AACrB,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A,aAAa;;;;;;;;;;;;ACjBA;AACb,8CAA6C,EAAE,aAAa,EAAC;AAC7D,YAAY;AACZ,uBAAuB,mBAAO,CAAC,2EAAgB;AAC/C;AACA;AACA;AACA,WAAW,QAAQ;AACnB,WAAW,QAAQ;AACnB;AACA,aAAa,QAAQ;AACrB;AACA;AACA,0CAA0C;AAC1C;AACA;AACA;AACA;AACA,YAAY;;;;;;;;;;;;AClBC;AACb,8CAA6C,EAAE,aAAa,EAAC;AAC7D,uBAAuB,GAAG,mBAAmB;AAC7C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC,kBAAkB,mBAAmB,mBAAmB;AACzD;AACA,uBAAuB;;;;;;;;;;;;ACfV;AACb,8CAA6C,EAAE,aAAa,EAAC;AAC7D,iBAAiB,GAAG,kBAAkB,GAAG,iBAAiB,GAAG,iBAAiB,GAAG,kBAAkB,GAAG,iBAAiB,GAAG,kBAAkB,GAAG,iBAAiB,GAAG,iBAAiB,GAAG,kBAAkB,GAAG,iBAAiB,GAAG,kBAAkB,GAAG,iBAAiB,GAAG,kBAAkB;AAC3R;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mBAAmB,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE;AACvC;AACA,iBAAiB;AACjB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mBAAmB,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE;AACvC;AACA,kBAAkB;AAClB;AACA;AACA;AACA,iBAAiB;AACjB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mBAAmB,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE;AACvC;AACA,iBAAiB;AACjB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mBAAmB,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE;AACvC;AACA,kBAAkB;AAClB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mBAAmB,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE;AACvC;AACA,kBAAkB;AAClB;AACA;AACA;AACA;AACA;AACA;AACA;AACA,uBAAuB,oBAAoB,IAAI,oBAAoB,IAAI,oBAAoB;AAC3F;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mBAAmB,oBAAoB,IAAI,oBAAoB,IAAI,oBAAoB;AACvF;AACA,iBAAiB;AACjB;AACA;AACA;AACA;AACA;AACA,eAAe,KAAK,EAAE,KAAK,EAAE,KAAK;AAClC;AACA,iBAAiB;AACjB;AACA;AACA;AACA;AACA;AACA;AACA,eAAe,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,SAAS;AAC7C;AACA,kBAAkB;AAClB;AACA;AACA,kBAAkB,EAAE,IAAI,EAAE,IAAI,EAAE;AAChC;AACA,iBAAiB;AACjB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,kBAAkB,0BAA0B,IAAI,oBAAoB,KAAK,oBAAoB;AAC7F;AACA,iBAAiB;AACjB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mBAAmB,oBAAoB,IAAI,oBAAoB,KAAK,oBAAoB,KAAK,EAAE;AAC/F;AACA,kBAAkB;AAClB;AACA;AACA;AACA;AACA;AACA;AACA,mBAAmB,oBAAoB,KAAK,oBAAoB,KAAK,oBAAoB,KAAK,oBAAoB;AAClH;AACA,kBAAkB;AAClB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,kBAAkB,cAAc,IAAI,oBAAoB,KAAK,oBAAoB;AACjF;AACA,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;ACvTc;AACxB;AACA;AACA;AACP;AACA;AACA;AACA;AACA,wBAAwB,iBAAiB,GAAG,UAAU;AACtD;AACA;AACO,mCAAmC,gDAAmB;AAC7D;AACA;AACA;AACA,CAAC;AACM;AACP;AACA,EAAE;AACF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO;AACP,kBAAkB,6CAAgB;AAClC;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,C;;;;;;;;;;;AC9CA;AACA;AACA;AACA;AACA;;AAEa;AACb;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA,kCAAkC;AAClC;AACA;AACA;AACA;;AAEA;AACA;AACA,kBAAkB,QAAQ;AAC1B;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,GAAG;AACH,kCAAkC;AAClC;AACA;AACA;;AAEA;AACA,GAAG;AACH;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA,iBAAiB,sBAAsB;AACvC;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,mBAAmB,oBAAoB;AACvC;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;;;;;;;;;;ACzFA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA,uBAAuB,UAAU;AACjC;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,uBAAuB,UAAU;AACjC;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA,qBAAqB,UAAU;AAC/B;AACA;;AAEA;AACA;AACA;;AAEA;AACA,qBAAqB,UAAU;AAC/B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;;;;;;;;;;;;;AC1ImC;AACY;AACN;AACf;AACe;;AAEzC;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,CAAC,IAAI;;AAEL;;AAEA;;AAEA;AACA;AACA,EAAE;AACF;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,oBAAoB,kBAAkB;AACtC;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA,kBAAkB,sBAAsB;AACxC;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA,2CAA2C,sBAAsB,sBAAsB,wBAAwB,wBAAwB;AACvI;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,SAAS;AACT;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,KAAK;AACL;AACA,KAAK;AACL,0BAA0B;AAC1B,KAAK,IAAI;AACT;;AAEA;AACA;AACA;AACA,KAAK;AACL;AACA,KAAK;AACL;AACA;;AAEA,4BAA4B,iBAAiB;AAC7C;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA,KAAK;AACL;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA,4BAA4B,iBAAiB;AAC7C;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,SAAS;AACT;AACA,SAAS;;AAET;AACA;AACA,wBAAwB,iBAAiB;AACzC;AACA,2BAA2B,oDAAY,GAAG;;AAE1C;AACA;;AAEA;AACA,KAAK;AACL;;AAEA;AACA,uCAAuC,QAAQ;AAC/C;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,UAAU;AACV;AACA;AACA,aAAa;AACb;AACA;AACA,CAAC;;AAED;AACA;AACA;;AAEA,gOAAgO,qBAAM;;AAEtO,+KAA+K,qBAAM;;AAErL;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,aAAa;AACb,SAAS;AACT,MAAM;AACN;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA,oBAAoB,0BAA0B;AAC9C;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA,iDAAiD,SAAS;AAC1D;AACA;;AAEA;AACA;AACA,MAAM;AACN;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,sBAAsB;AACtB;AACA;AACA,0BAA0B;AAC1B;AACA;AACA,sBAAsB;AACtB;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA,cAAc;AACd;AACA;AACA,SAAS;AACT;;AAEA;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,SAAS;;AAET;;AAEA;;AAEA;AACA,KAAK;AACL;;AAEA;AACA;;AAEA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;;AAEA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;;AAEA;AACA;AACA;AACA,KAAK;AACL;;AAEA,YAAY,0DAAmB;AAC/B;;AAEA;AACA;AACA;;AAEA;AACA;AACA,SAAS;;AAET;AACA;;AAEA;AACA;AACA,sDAAsD;AACtD,cAAc;AACd;AACA;AACA,SAAS;;AAET,eAAe,0DAAmB;AAClC,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,iBAAiB;AACjB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iBAAiB;AACjB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iBAAiB;AACjB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mDAAmD,gDAAgD;AACnG;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,oBAAoB,yDAAO;AAC3B;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA,8BAA8B,gDAAgD,iGAAiG;AAC/K;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,sCAAsC,wCAAwC,2GAA2G;;AAEzL;AACA,sCAAsC;AACtC,mDAAmD;AACnD,qBAAqB;;AAErB;AACA,sCAAsC;AACtC,mDAAmD;AACnD,qBAAqB;AACrB;;AAEA,8BAA8B,wCAAwC,kDAAkD;AACxH;;AAEA;AACA,+CAA+C;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ACA;AACA;AACA;AACA;AACA;;AAEa;;AAEb,IAAI,IAAqC;AACzC;AACA;;AAEA,YAAY,mBAAO,CAAC,oBAAO;;AAE3B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA,iGAAiG,eAAe;AAChH;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,MAAM;;;AAGN;AACA;AACA,KAAK,GAAG;;AAER,kDAAkD;AAClD;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA,4BAA4B;AAC5B;AACA,qCAAqC;;AAErC,gCAAgC;AAChC;AACA;;AAEA,gCAAgC;;AAEhC;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,IAAI;;;AAGJ;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,EAAE;;;AAGF;AACA;AACA,EAAE;;;AAGF;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,YAAY;AACZ;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,uCAAuC;;AAEvC;AACA;AACA;AACA;AACA;AACA,SAAS;;AAET;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;;AAET;AACA,sBAAsB;AACtB;AACA,SAAS;AACT,uBAAuB;AACvB;AACA,SAAS;AACT,uBAAuB;AACvB;AACA,SAAS;AACT,wBAAwB;AACxB;AACA,SAAS;AACT,wBAAwB;AACxB;AACA,SAAS;AACT,iCAAiC;AACjC;AACA,SAAS;AACT,2BAA2B;AAC3B;AACA,SAAS;AACT,OAAO;AACP;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA,MAAM;;;AAGN;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,2DAA2D;;AAE3D;AACA;;AAEA;AACA,yDAAyD;AACzD;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;;;AAGT;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;;AAEP;AACA;AACA;AACA;AACA;AACA,UAAU;AACV;AACA;;AAEA;AACA,QAAQ;AACR;AACA;AACA,UAAU;AACV;AACA;;AAEA;AACA;AACA,MAAM;AACN;AACA;AACA,QAAQ;AACR;AACA;;AAEA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,aAAa,kBAAkB;AAC/B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mBAAmB;AACnB;;AAEA;AACA;AACA,gFAAgF;AAChF;AACA;;;AAGA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,kBAAkB;;;AAGlB;AACA;AACA,cAAc;AACd;;AAEA;AACA;AACA;AACA;AACA,IAAI;AACJ;;AAEA;AACA;AACA;AACA;;AAEA;AACA,IAAI;;;AAGJ;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,YAAY;AACZ;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,8BAA8B;AAC9B;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,2HAA2H;AAC3H;AACA;AACA;;AAEA;AACA,UAAU;AACV;AACA;;AAEA;AACA;;AAEA,oEAAoE;;AAEpE;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA,iCAAiC;;AAEjC;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,EAAE;;;AAGF;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,wCAAwC;AACxC;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,GAAG;AACd,WAAW,GAAG;AACd,WAAW,GAAG;AACd,WAAW,eAAe;AAC1B,WAAW,GAAG;AACd,WAAW,GAAG;AACd;AACA;AACA;AACA;AACA,WAAW,GAAG;AACd;AACA;AACA;;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,yBAAyB;AACzB;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK,GAAG;;AAER;AACA;AACA;AACA;AACA;AACA,KAAK,GAAG;AACR;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,WAAW,GAAG;AACd,WAAW,QAAQ;AACnB,WAAW,QAAQ;AACnB;;AAEA;AACA;AACA,kBAAkB;;AAElB;AACA;AACA,oBAAoB;AACpB,2DAA2D,UAAU;AACrE,yBAAyB,UAAU;AACnC;AACA,aAAa,UAAU;AACvB;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,MAAM;;;AAGN;AACA;AACA;AACA;AACA,MAAM;;;AAGN;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,SAAS;AACpB,YAAY,SAAS;AACrB;AACA;;;AAGA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AAGA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,cAAc;AACzB,WAAW,GAAG;AACd;;;AAGA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA,6DAA6D;AAC7D;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,WAAW;AACtB,WAAW,GAAG;AACd;;;AAGA;AACA;AACA;AACA;AACA;;AAEA;AACA,sBAAsB,iBAAiB;AACvC;;AAEA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA,MAAM;AACN;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,cAAc;AACzB;;;AAGA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA,MAAM;AACN;AACA;;AAEA;AACA;AACA;AACA;AACA,MAAM;AACN,4CAA4C;;AAE5C;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,cAAc;AACzB;;;AAGA;AACA;AACA;;AAEA,oBAAoB,iBAAiB;AACrC;;AAEA;AACA;;AAEA;;AAEA;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;;;;;;;;ACAA,wD;;;;;;;;;;;ACAA,mD;;;;;;UCAA;UACA;;UAEA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;;UAEA;UACA;;UAEA;UACA;UACA;;;;;WCtBA;WACA;WACA;WACA;WACA;WACA,iCAAiC,WAAW;WAC5C;WACA,E;;;;;WCPA;WACA;WACA;WACA;WACA,yCAAyC,wCAAwC;WACjF;WACA;WACA,E;;;;;WCPA;WACA;WACA;WACA;WACA,GAAG;WACH;WACA;WACA,CAAC,I;;;;;WCPD,wF;;;;;WCAA;WACA;WACA;WACA,uDAAuD,iBAAiB;WACxE;WACA,gDAAgD,aAAa;WAC7D,E;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACNA,aAAa;AAEqD;AACH;AAC2B;AACZ;AACN;AACT;AACY;AACT;AACA;AACH;AACS;AACM;AACA;AACA;AACA;AAClB;AACH;AACG;AACM;AACN;AAEkC;AACA;AAG9F,QAAQ;AACkD;AACF;AACE;AACJ","sources":["webpack://acacia-ui/webpack/universalModuleDefinition","webpack://acacia-ui/./node_modules/@ant-design/colors/es/generate.js","webpack://acacia-ui/./node_modules/@ant-design/colors/es/index.js","webpack://acacia-ui/./node_modules/@ant-design/colors/es/presets.js","webpack://acacia-ui/./node_modules/@ant-design/fast-color/es/FastColor.js","webpack://acacia-ui/./node_modules/@ant-design/fast-color/es/index.js","webpack://acacia-ui/./node_modules/@ant-design/fast-color/es/types.js","webpack://acacia-ui/./node_modules/@babel/runtime/helpers/esm/defineProperty.js","webpack://acacia-ui/./node_modules/@babel/runtime/helpers/esm/toPrimitive.js","webpack://acacia-ui/./node_modules/@babel/runtime/helpers/esm/toPropertyKey.js","webpack://acacia-ui/./node_modules/@babel/runtime/helpers/esm/typeof.js","webpack://acacia-ui/./node_modules/@fontsource-variable/inter/index.css?e692","webpack://acacia-ui/./node_modules/@fontsource-variable/outfit/index.css?2db3","webpack://acacia-ui/./node_modules/@fontsource-variable/roboto-flex/index.css?a2d1","webpack://acacia-ui/./node_modules/@mirawision/colorize/adjust-brightness.js","webpack://acacia-ui/./node_modules/@mirawision/colorize/adjust-hue.js","webpack://acacia-ui/./node_modules/@mirawision/colorize/adjust-saturation.js","webpack://acacia-ui/./node_modules/@mirawision/colorize/apply-greyscale.js","webpack://acacia-ui/./node_modules/@mirawision/colorize/apply-sepia.js","webpack://acacia-ui/./node_modules/@mirawision/colorize/blend-colors.js","webpack://acacia-ui/./node_modules/@mirawision/colorize/blend-multiple-colors.js","webpack://acacia-ui/./node_modules/@mirawision/colorize/calculate-contrast.js","webpack://acacia-ui/./node_modules/@mirawision/colorize/calculate-similarity.js","webpack://acacia-ui/./node_modules/@mirawision/colorize/change-opacity.js","webpack://acacia-ui/./node_modules/@mirawision/colorize/color.js","webpack://acacia-ui/./node_modules/@mirawision/colorize/convert-color.js","webpack://acacia-ui/./node_modules/@mirawision/colorize/extract-opacity.js","webpack://acacia-ui/./node_modules/@mirawision/colorize/generate-multi-stepped-gradient.js","webpack://acacia-ui/./node_modules/@mirawision/colorize/generate-stepped-gradient.js","webpack://acacia-ui/./node_modules/@mirawision/colorize/get-color-format.js","webpack://acacia-ui/./node_modules/@mirawision/colorize/get-luminance.js","webpack://acacia-ui/./node_modules/@mirawision/colorize/get-temperature.js","webpack://acacia-ui/./node_modules/@mirawision/colorize/index.js","webpack://acacia-ui/./node_modules/@mirawision/colorize/invert-color.js","webpack://acacia-ui/./node_modules/@mirawision/colorize/is-dark.js","webpack://acacia-ui/./node_modules/@mirawision/colorize/is-light.js","webpack://acacia-ui/./node_modules/@mirawision/colorize/is-valid-color.js","webpack://acacia-ui/./node_modules/@mirawision/colorize/opposite-color.js","webpack://acacia-ui/./node_modules/@mirawision/colorize/parse-color-numbers.js","webpack://acacia-ui/./node_modules/@mirawision/colorize/random-color.js","webpack://acacia-ui/./node_modules/@mirawision/colorize/shade.js","webpack://acacia-ui/./node_modules/@mirawision/colorize/tint.js","webpack://acacia-ui/./node_modules/@mirawision/colorize/types.js","webpack://acacia-ui/./node_modules/@mirawision/colorize/utils/convert-utils.js","webpack://acacia-ui/./node_modules/antd/es/config-provider/context.js","webpack://acacia-ui/./node_modules/object-assign/index.js","webpack://acacia-ui/./node_modules/react-fast-compare/index.js","webpack://acacia-ui/./node_modules/react-helmet/es/Helmet.js","webpack://acacia-ui/./node_modules/react-side-effect/lib/index.js","webpack://acacia-ui/./node_modules/react/cjs/react-jsx-runtime.development.js","webpack://acacia-ui/./node_modules/react/jsx-runtime.js","webpack://acacia-ui/./node_modules/ts-pattern/dist/index.js","webpack://acacia-ui/./src/components/layout/VerticalLayout/VerticalHeader.tsx","webpack://acacia-ui/./src/components/layout/VerticalLayout/VerticalLayout.tsx","webpack://acacia-ui/./src/components/ui/Avatar/Avatar.tsx","webpack://acacia-ui/./src/components/ui/Badge/Badge.tsx","webpack://acacia-ui/./src/components/ui/Badge/Ribbon.tsx","webpack://acacia-ui/./src/components/ui/Breadcrumb/Breadcrumb.tsx","webpack://acacia-ui/./src/components/ui/Button/Button.tsx","webpack://acacia-ui/./src/components/ui/Card/Card.tsx","webpack://acacia-ui/./src/components/ui/Card/useCardStyles.ts","webpack://acacia-ui/./src/components/ui/Checkbox/Checkbox.tsx","webpack://acacia-ui/./src/components/ui/Checkbox/CheckboxGroup.tsx","webpack://acacia-ui/./src/components/ui/ConfigProvider/ConfigProvider.tsx","webpack://acacia-ui/./src/components/ui/ConfigProvider/defaultTheme.ts","webpack://acacia-ui/./src/components/ui/DatePicker/DatePicker.tsx","webpack://acacia-ui/./src/components/ui/DatePicker/RangePicker.tsx","webpack://acacia-ui/./src/components/ui/Dropdown/Dropdown.tsx","webpack://acacia-ui/./src/components/ui/Dropdown/DropdownButton.tsx","webpack://acacia-ui/./src/components/ui/Input/Input.tsx","webpack://acacia-ui/./src/components/ui/Input/OTP.tsx","webpack://acacia-ui/./src/components/ui/Input/Password.tsx","webpack://acacia-ui/./src/components/ui/Input/Search.tsx","webpack://acacia-ui/./src/components/ui/Input/TextArea.tsx","webpack://acacia-ui/./src/components/ui/Input/useInputStyles.ts","webpack://acacia-ui/./src/components/ui/Menu/Menu.tsx","webpack://acacia-ui/./src/components/ui/Pagination/Pagination.tsx","webpack://acacia-ui/./src/components/ui/Radio/Button.tsx","webpack://acacia-ui/./src/components/ui/Radio/Radio.tsx","webpack://acacia-ui/./src/components/ui/Radio/RadioGroup.tsx","webpack://acacia-ui/./src/components/ui/Segmented/Segmented.tsx","webpack://acacia-ui/./src/components/ui/Select/Select.tsx","webpack://acacia-ui/./src/components/ui/Space/Space.tsx","webpack://acacia-ui/./src/components/ui/Switch/Switch.tsx","webpack://acacia-ui/./src/components/ui/Tabs/Tabs.tsx","webpack://acacia-ui/./src/components/ui/Tag/Tag.tsx","webpack://acacia-ui/./src/components/ui/TimePicker/TimePicker.tsx","webpack://acacia-ui/./src/components/ui/TimePicker/TimeRangePicker.tsx","webpack://acacia-ui/./src/components/ui/Typography/Typography.tsx","webpack://acacia-ui/./src/components/ui/Typography/useTypographyStyles.ts","webpack://acacia-ui/./src/components/ui/interfaces.tsx","webpack://acacia-ui/./src/hooks/useAcaciaColors.tsx","webpack://acacia-ui/./src/hooks/useAcaciaConfig.tsx","webpack://acacia-ui/./src/hooks/useFoucHandler.tsx","webpack://acacia-ui/./src/hooks/useScreenSize.tsx","webpack://acacia-ui/./src/theme/customTheme.ts","webpack://acacia-ui/./src/theme/defaultLogo.tsx","webpack://acacia-ui/./src/theme/typographyUtil.ts","webpack://acacia-ui/./src/tokens/useAcaciaToken.tsx","webpack://acacia-ui/./src/utils/colors.util.ts","webpack://acacia-ui/./src/utils/parseBackgroundColors.ts","webpack://acacia-ui/external umd \"antd\"","webpack://acacia-ui/external umd \"antd-style\"","webpack://acacia-ui/external umd \"prop-types\"","webpack://acacia-ui/external umd \"react\"","webpack://acacia-ui/webpack/bootstrap","webpack://acacia-ui/webpack/runtime/compat get default export","webpack://acacia-ui/webpack/runtime/define property getters","webpack://acacia-ui/webpack/runtime/global","webpack://acacia-ui/webpack/runtime/hasOwnProperty shorthand","webpack://acacia-ui/webpack/runtime/make namespace object","webpack://acacia-ui/./src/index.tsx"],"sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory(require(\"antd\"), require(\"antd-style\"), require(\"prop-types\"), require(\"react\"));\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([\"antd\", \"antd-style\", \"prop-types\", \"react\"], factory);\n\telse {\n\t\tvar a = typeof exports === 'object' ? factory(require(\"antd\"), require(\"antd-style\"), require(\"prop-types\"), require(\"react\")) : factory(root[\"antd\"], root[\"antd-style\"], root[\"prop-types\"], root[\"react\"]);\n\t\tfor(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];\n\t}\n})(this, (__WEBPACK_EXTERNAL_MODULE_antd__, __WEBPACK_EXTERNAL_MODULE_antd_style__, __WEBPACK_EXTERNAL_MODULE_prop_types__, __WEBPACK_EXTERNAL_MODULE_react__) => {\nreturn ","import { FastColor } from '@ant-design/fast-color';\nvar hueStep = 2; // 色相阶梯\nvar saturationStep = 0.16; // 饱和度阶梯,浅色部分\nvar saturationStep2 = 0.05; // 饱和度阶梯,深色部分\nvar brightnessStep1 = 0.05; // 亮度阶梯,浅色部分\nvar brightnessStep2 = 0.15; // 亮度阶梯,深色部分\nvar lightColorCount = 5; // 浅色数量,主色上\nvar darkColorCount = 4; // 深色数量,主色下\n\n// 暗色主题颜色映射关系表\nvar darkColorMap = [{\n index: 7,\n amount: 15\n}, {\n index: 6,\n amount: 25\n}, {\n index: 5,\n amount: 30\n}, {\n index: 5,\n amount: 45\n}, {\n index: 5,\n amount: 65\n}, {\n index: 5,\n amount: 85\n}, {\n index: 4,\n amount: 90\n}, {\n index: 3,\n amount: 95\n}, {\n index: 2,\n amount: 97\n}, {\n index: 1,\n amount: 98\n}];\nfunction getHue(hsv, i, light) {\n var hue;\n // 根据色相不同,色相转向不同\n if (Math.round(hsv.h) >= 60 && Math.round(hsv.h) <= 240) {\n hue = light ? Math.round(hsv.h) - hueStep * i : Math.round(hsv.h) + hueStep * i;\n } else {\n hue = light ? Math.round(hsv.h) + hueStep * i : Math.round(hsv.h) - hueStep * i;\n }\n if (hue < 0) {\n hue += 360;\n } else if (hue >= 360) {\n hue -= 360;\n }\n return hue;\n}\nfunction getSaturation(hsv, i, light) {\n // grey color don't change saturation\n if (hsv.h === 0 && hsv.s === 0) {\n return hsv.s;\n }\n var saturation;\n if (light) {\n saturation = hsv.s - saturationStep * i;\n } else if (i === darkColorCount) {\n saturation = hsv.s + saturationStep;\n } else {\n saturation = hsv.s + saturationStep2 * i;\n }\n // 边界值修正\n if (saturation > 1) {\n saturation = 1;\n }\n // 第一格的 s 限制在 0.06-0.1 之间\n if (light && i === lightColorCount && saturation > 0.1) {\n saturation = 0.1;\n }\n if (saturation < 0.06) {\n saturation = 0.06;\n }\n return Math.round(saturation * 100) / 100;\n}\nfunction getValue(hsv, i, light) {\n var value;\n if (light) {\n value = hsv.v + brightnessStep1 * i;\n } else {\n value = hsv.v - brightnessStep2 * i;\n }\n // Clamp value between 0 and 1\n value = Math.max(0, Math.min(1, value));\n return Math.round(value * 100) / 100;\n}\nexport default function generate(color) {\n var opts = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n var patterns = [];\n var pColor = new FastColor(color);\n var hsv = pColor.toHsv();\n for (var i = lightColorCount; i > 0; i -= 1) {\n var c = new FastColor({\n h: getHue(hsv, i, true),\n s: getSaturation(hsv, i, true),\n v: getValue(hsv, i, true)\n });\n patterns.push(c);\n }\n patterns.push(pColor);\n for (var _i = 1; _i <= darkColorCount; _i += 1) {\n var _c = new FastColor({\n h: getHue(hsv, _i),\n s: getSaturation(hsv, _i),\n v: getValue(hsv, _i)\n });\n patterns.push(_c);\n }\n\n // dark theme patterns\n if (opts.theme === 'dark') {\n return darkColorMap.map(function (_ref) {\n var index = _ref.index,\n amount = _ref.amount;\n return new FastColor(opts.backgroundColor || '#141414').mix(patterns[index], amount).toHexString();\n });\n }\n return patterns.map(function (c) {\n return c.toHexString();\n });\n}","export { default as generate } from \"./generate\";\nexport * from \"./presets\";","// Generated by script. Do NOT modify!\n\nexport var presetPrimaryColors = {\n \"red\": \"#F5222D\",\n \"volcano\": \"#FA541C\",\n \"orange\": \"#FA8C16\",\n \"gold\": \"#FAAD14\",\n \"yellow\": \"#FADB14\",\n \"lime\": \"#A0D911\",\n \"green\": \"#52C41A\",\n \"cyan\": \"#13C2C2\",\n \"blue\": \"#1677FF\",\n \"geekblue\": \"#2F54EB\",\n \"purple\": \"#722ED1\",\n \"magenta\": \"#EB2F96\",\n \"grey\": \"#666666\"\n};\nexport var red = [\"#fff1f0\", \"#ffccc7\", \"#ffa39e\", \"#ff7875\", \"#ff4d4f\", \"#f5222d\", \"#cf1322\", \"#a8071a\", \"#820014\", \"#5c0011\"];\nred.primary = red[5];\nexport var volcano = [\"#fff2e8\", \"#ffd8bf\", \"#ffbb96\", \"#ff9c6e\", \"#ff7a45\", \"#fa541c\", \"#d4380d\", \"#ad2102\", \"#871400\", \"#610b00\"];\nvolcano.primary = volcano[5];\nexport var orange = [\"#fff7e6\", \"#ffe7ba\", \"#ffd591\", \"#ffc069\", \"#ffa940\", \"#fa8c16\", \"#d46b08\", \"#ad4e00\", \"#873800\", \"#612500\"];\norange.primary = orange[5];\nexport var gold = [\"#fffbe6\", \"#fff1b8\", \"#ffe58f\", \"#ffd666\", \"#ffc53d\", \"#faad14\", \"#d48806\", \"#ad6800\", \"#874d00\", \"#613400\"];\ngold.primary = gold[5];\nexport var yellow = [\"#feffe6\", \"#ffffb8\", \"#fffb8f\", \"#fff566\", \"#ffec3d\", \"#fadb14\", \"#d4b106\", \"#ad8b00\", \"#876800\", \"#614700\"];\nyellow.primary = yellow[5];\nexport var lime = [\"#fcffe6\", \"#f4ffb8\", \"#eaff8f\", \"#d3f261\", \"#bae637\", \"#a0d911\", \"#7cb305\", \"#5b8c00\", \"#3f6600\", \"#254000\"];\nlime.primary = lime[5];\nexport var green = [\"#f6ffed\", \"#d9f7be\", \"#b7eb8f\", \"#95de64\", \"#73d13d\", \"#52c41a\", \"#389e0d\", \"#237804\", \"#135200\", \"#092b00\"];\ngreen.primary = green[5];\nexport var cyan = [\"#e6fffb\", \"#b5f5ec\", \"#87e8de\", \"#5cdbd3\", \"#36cfc9\", \"#13c2c2\", \"#08979c\", \"#006d75\", \"#00474f\", \"#002329\"];\ncyan.primary = cyan[5];\nexport var blue = [\"#e6f4ff\", \"#bae0ff\", \"#91caff\", \"#69b1ff\", \"#4096ff\", \"#1677ff\", \"#0958d9\", \"#003eb3\", \"#002c8c\", \"#001d66\"];\nblue.primary = blue[5];\nexport var geekblue = [\"#f0f5ff\", \"#d6e4ff\", \"#adc6ff\", \"#85a5ff\", \"#597ef7\", \"#2f54eb\", \"#1d39c4\", \"#10239e\", \"#061178\", \"#030852\"];\ngeekblue.primary = geekblue[5];\nexport var purple = [\"#f9f0ff\", \"#efdbff\", \"#d3adf7\", \"#b37feb\", \"#9254de\", \"#722ed1\", \"#531dab\", \"#391085\", \"#22075e\", \"#120338\"];\npurple.primary = purple[5];\nexport var magenta = [\"#fff0f6\", \"#ffd6e7\", \"#ffadd2\", \"#ff85c0\", \"#f759ab\", \"#eb2f96\", \"#c41d7f\", \"#9e1068\", \"#780650\", \"#520339\"];\nmagenta.primary = magenta[5];\nexport var grey = [\"#a6a6a6\", \"#999999\", \"#8c8c8c\", \"#808080\", \"#737373\", \"#666666\", \"#404040\", \"#1a1a1a\", \"#000000\", \"#000000\"];\ngrey.primary = grey[5];\nexport var gray = grey;\nexport var presetPalettes = {\n red: red,\n volcano: volcano,\n orange: orange,\n gold: gold,\n yellow: yellow,\n lime: lime,\n green: green,\n cyan: cyan,\n blue: blue,\n geekblue: geekblue,\n purple: purple,\n magenta: magenta,\n grey: grey\n};\nexport var redDark = [\"#2a1215\", \"#431418\", \"#58181c\", \"#791a1f\", \"#a61d24\", \"#d32029\", \"#e84749\", \"#f37370\", \"#f89f9a\", \"#fac8c3\"];\nredDark.primary = redDark[5];\nexport var volcanoDark = [\"#2b1611\", \"#441d12\", \"#592716\", \"#7c3118\", \"#aa3e19\", \"#d84a1b\", \"#e87040\", \"#f3956a\", \"#f8b692\", \"#fad4bc\"];\nvolcanoDark.primary = volcanoDark[5];\nexport var orangeDark = [\"#2b1d11\", \"#442a11\", \"#593815\", \"#7c4a15\", \"#aa6215\", \"#d87a16\", \"#e89a3c\", \"#f3b765\", \"#f8cf8d\", \"#fae3b7\"];\norangeDark.primary = orangeDark[5];\nexport var goldDark = [\"#2b2111\", \"#443111\", \"#594214\", \"#7c5914\", \"#aa7714\", \"#d89614\", \"#e8b339\", \"#f3cc62\", \"#f8df8b\", \"#faedb5\"];\ngoldDark.primary = goldDark[5];\nexport var yellowDark = [\"#2b2611\", \"#443b11\", \"#595014\", \"#7c6e14\", \"#aa9514\", \"#d8bd14\", \"#e8d639\", \"#f3ea62\", \"#f8f48b\", \"#fafab5\"];\nyellowDark.primary = yellowDark[5];\nexport var limeDark = [\"#1f2611\", \"#2e3c10\", \"#3e4f13\", \"#536d13\", \"#6f9412\", \"#8bbb11\", \"#a9d134\", \"#c9e75d\", \"#e4f88b\", \"#f0fab5\"];\nlimeDark.primary = limeDark[5];\nexport var greenDark = [\"#162312\", \"#1d3712\", \"#274916\", \"#306317\", \"#3c8618\", \"#49aa19\", \"#6abe39\", \"#8fd460\", \"#b2e58b\", \"#d5f2bb\"];\ngreenDark.primary = greenDark[5];\nexport var cyanDark = [\"#112123\", \"#113536\", \"#144848\", \"#146262\", \"#138585\", \"#13a8a8\", \"#33bcb7\", \"#58d1c9\", \"#84e2d8\", \"#b2f1e8\"];\ncyanDark.primary = cyanDark[5];\nexport var blueDark = [\"#111a2c\", \"#112545\", \"#15325b\", \"#15417e\", \"#1554ad\", \"#1668dc\", \"#3c89e8\", \"#65a9f3\", \"#8dc5f8\", \"#b7dcfa\"];\nblueDark.primary = blueDark[5];\nexport var geekblueDark = [\"#131629\", \"#161d40\", \"#1c2755\", \"#203175\", \"#263ea0\", \"#2b4acb\", \"#5273e0\", \"#7f9ef3\", \"#a8c1f8\", \"#d2e0fa\"];\ngeekblueDark.primary = geekblueDark[5];\nexport var purpleDark = [\"#1a1325\", \"#24163a\", \"#301c4d\", \"#3e2069\", \"#51258f\", \"#642ab5\", \"#854eca\", \"#ab7ae0\", \"#cda8f0\", \"#ebd7fa\"];\npurpleDark.primary = purpleDark[5];\nexport var magentaDark = [\"#291321\", \"#40162f\", \"#551c3b\", \"#75204f\", \"#a02669\", \"#cb2b83\", \"#e0529c\", \"#f37fb7\", \"#f8a8cc\", \"#fad2e3\"];\nmagentaDark.primary = magentaDark[5];\nexport var greyDark = [\"#151515\", \"#1f1f1f\", \"#2d2d2d\", \"#393939\", \"#494949\", \"#5a5a5a\", \"#6a6a6a\", \"#7b7b7b\", \"#888888\", \"#969696\"];\ngreyDark.primary = greyDark[5];\nexport var presetDarkPalettes = {\n red: redDark,\n volcano: volcanoDark,\n orange: orangeDark,\n gold: goldDark,\n yellow: yellowDark,\n lime: limeDark,\n green: greenDark,\n cyan: cyanDark,\n blue: blueDark,\n geekblue: geekblueDark,\n purple: purpleDark,\n magenta: magentaDark,\n grey: greyDark\n};","import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nconst round = Math.round;\n\n/**\n * Support format, alpha unit will check the % mark:\n * - rgba(102, 204, 255, .5) -> [102, 204, 255, 0.5]\n * - rgb(102 204 255 / .5) -> [102, 204, 255, 0.5]\n * - rgb(100%, 50%, 0% / 50%) -> [255, 128, 0, 0.5]\n * - hsl(270, 60, 40, .5) -> [270, 60, 40, 0.5]\n * - hsl(270deg 60% 40% / 50%) -> [270, 60, 40, 0.5]\n *\n * When `base` is provided, the percentage value will be divided by `base`.\n */\nfunction splitColorStr(str, parseNum) {\n const match = str\n // Remove str before `(`\n .replace(/^[^(]*\\((.*)/, '$1')\n // Remove str after `)`\n .replace(/\\).*/, '').match(/\\d*\\.?\\d+%?/g) || [];\n const numList = match.map(item => parseFloat(item));\n for (let i = 0; i < 3; i += 1) {\n numList[i] = parseNum(numList[i] || 0, match[i] || '', i);\n }\n\n // For alpha. 50% should be 0.5\n if (match[3]) {\n numList[3] = match[3].includes('%') ? numList[3] / 100 : numList[3];\n } else {\n // By default, alpha is 1\n numList[3] = 1;\n }\n return numList;\n}\nconst parseHSVorHSL = (num, _, index) => index === 0 ? num : num / 100;\n\n/** round and limit number to integer between 0-255 */\nfunction limitRange(value, max) {\n const mergedMax = max || 255;\n if (value > mergedMax) {\n return mergedMax;\n }\n if (value < 0) {\n return 0;\n }\n return value;\n}\nexport class FastColor {\n constructor(input) {\n /**\n * All FastColor objects are valid. So isValid is always true. This property is kept to be compatible with TinyColor.\n */\n _defineProperty(this, \"isValid\", true);\n /**\n * Red, R in RGB\n */\n _defineProperty(this, \"r\", 0);\n /**\n * Green, G in RGB\n */\n _defineProperty(this, \"g\", 0);\n /**\n * Blue, B in RGB\n */\n _defineProperty(this, \"b\", 0);\n /**\n * Alpha/Opacity, A in RGBA/HSLA\n */\n _defineProperty(this, \"a\", 1);\n // HSV privates\n _defineProperty(this, \"_h\", void 0);\n _defineProperty(this, \"_s\", void 0);\n _defineProperty(this, \"_l\", void 0);\n _defineProperty(this, \"_v\", void 0);\n // intermediate variables to calculate HSL/HSV\n _defineProperty(this, \"_max\", void 0);\n _defineProperty(this, \"_min\", void 0);\n _defineProperty(this, \"_brightness\", void 0);\n /**\n * Always check 3 char in the object to determine the format.\n * We not use function in check to save bundle size.\n * e.g. 'rgb' -> { r: 0, g: 0, b: 0 }.\n */\n function matchFormat(str) {\n return str[0] in input && str[1] in input && str[2] in input;\n }\n if (!input) {\n // Do nothing since already initialized\n } else if (typeof input === 'string') {\n const trimStr = input.trim();\n function matchPrefix(prefix) {\n return trimStr.startsWith(prefix);\n }\n if (/^#?[A-F\\d]{3,8}$/i.test(trimStr)) {\n this.fromHexString(trimStr);\n } else if (matchPrefix('rgb')) {\n this.fromRgbString(trimStr);\n } else if (matchPrefix('hsl')) {\n this.fromHslString(trimStr);\n } else if (matchPrefix('hsv') || matchPrefix('hsb')) {\n this.fromHsvString(trimStr);\n }\n } else if (input instanceof FastColor) {\n this.r = input.r;\n this.g = input.g;\n this.b = input.b;\n this.a = input.a;\n this._h = input._h;\n this._s = input._s;\n this._l = input._l;\n this._v = input._v;\n } else if (matchFormat('rgb')) {\n this.r = limitRange(input.r);\n this.g = limitRange(input.g);\n this.b = limitRange(input.b);\n this.a = typeof input.a === 'number' ? limitRange(input.a, 1) : 1;\n } else if (matchFormat('hsl')) {\n this.fromHsl(input);\n } else if (matchFormat('hsv')) {\n this.fromHsv(input);\n } else {\n throw new Error('@ant-design/fast-color: unsupported input ' + JSON.stringify(input));\n }\n }\n\n // ======================= Setter =======================\n\n setR(value) {\n return this._sc('r', value);\n }\n setG(value) {\n return this._sc('g', value);\n }\n setB(value) {\n return this._sc('b', value);\n }\n setA(value) {\n return this._sc('a', value, 1);\n }\n setHue(value) {\n const hsv = this.toHsv();\n hsv.h = value;\n return this._c(hsv);\n }\n\n // ======================= Getter =======================\n /**\n * Returns the perceived luminance of a color, from 0-1.\n * @see http://www.w3.org/TR/2008/REC-WCAG20-20081211/#relativeluminancedef\n */\n getLuminance() {\n function adjustGamma(raw) {\n const val = raw / 255;\n return val <= 0.03928 ? val / 12.92 : Math.pow((val + 0.055) / 1.055, 2.4);\n }\n const R = adjustGamma(this.r);\n const G = adjustGamma(this.g);\n const B = adjustGamma(this.b);\n return 0.2126 * R + 0.7152 * G + 0.0722 * B;\n }\n getHue() {\n if (typeof this._h === 'undefined') {\n const delta = this.getMax() - this.getMin();\n if (delta === 0) {\n this._h = 0;\n } else {\n this._h = round(60 * (this.r === this.getMax() ? (this.g - this.b) / delta + (this.g < this.b ? 6 : 0) : this.g === this.getMax() ? (this.b - this.r) / delta + 2 : (this.r - this.g) / delta + 4));\n }\n }\n return this._h;\n }\n getSaturation() {\n if (typeof this._s === 'undefined') {\n const delta = this.getMax() - this.getMin();\n if (delta === 0) {\n this._s = 0;\n } else {\n this._s = delta / this.getMax();\n }\n }\n return this._s;\n }\n getLightness() {\n if (typeof this._l === 'undefined') {\n this._l = (this.getMax() + this.getMin()) / 510;\n }\n return this._l;\n }\n getValue() {\n if (typeof this._v === 'undefined') {\n this._v = this.getMax() / 255;\n }\n return this._v;\n }\n\n /**\n * Returns the perceived brightness of the color, from 0-255.\n * Note: this is not the b of HSB\n * @see http://www.w3.org/TR/AERT#color-contrast\n */\n getBrightness() {\n if (typeof this._brightness === 'undefined') {\n this._brightness = (this.r * 299 + this.g * 587 + this.b * 114) / 1000;\n }\n return this._brightness;\n }\n\n // ======================== Func ========================\n\n darken(amount = 10) {\n const h = this.getHue();\n const s = this.getSaturation();\n let l = this.getLightness() - amount / 100;\n if (l < 0) {\n l = 0;\n }\n return this._c({\n h,\n s,\n l,\n a: this.a\n });\n }\n lighten(amount = 10) {\n const h = this.getHue();\n const s = this.getSaturation();\n let l = this.getLightness() + amount / 100;\n if (l > 1) {\n l = 1;\n }\n return this._c({\n h,\n s,\n l,\n a: this.a\n });\n }\n\n /**\n * Mix the current color a given amount with another color, from 0 to 100.\n * 0 means no mixing (return current color).\n */\n mix(input, amount = 50) {\n const color = this._c(input);\n const p = amount / 100;\n const calc = key => (color[key] - this[key]) * p + this[key];\n const rgba = {\n r: round(calc('r')),\n g: round(calc('g')),\n b: round(calc('b')),\n a: round(calc('a') * 100) / 100\n };\n return this._c(rgba);\n }\n\n /**\n * Mix the color with pure white, from 0 to 100.\n * Providing 0 will do nothing, providing 100 will always return white.\n */\n tint(amount = 10) {\n return this.mix({\n r: 255,\n g: 255,\n b: 255,\n a: 1\n }, amount);\n }\n\n /**\n * Mix the color with pure black, from 0 to 100.\n * Providing 0 will do nothing, providing 100 will always return black.\n */\n shade(amount = 10) {\n return this.mix({\n r: 0,\n g: 0,\n b: 0,\n a: 1\n }, amount);\n }\n onBackground(background) {\n const bg = this._c(background);\n const alpha = this.a + bg.a * (1 - this.a);\n const calc = key => {\n return round((this[key] * this.a + bg[key] * bg.a * (1 - this.a)) / alpha);\n };\n return this._c({\n r: calc('r'),\n g: calc('g'),\n b: calc('b'),\n a: alpha\n });\n }\n\n // ======================= Status =======================\n isDark() {\n return this.getBrightness() < 128;\n }\n isLight() {\n return this.getBrightness() >= 128;\n }\n\n // ======================== MISC ========================\n equals(other) {\n return this.r === other.r && this.g === other.g && this.b === other.b && this.a === other.a;\n }\n clone() {\n return this._c(this);\n }\n\n // ======================= Format =======================\n toHexString() {\n let hex = '#';\n const rHex = (this.r || 0).toString(16);\n hex += rHex.length === 2 ? rHex : '0' + rHex;\n const gHex = (this.g || 0).toString(16);\n hex += gHex.length === 2 ? gHex : '0' + gHex;\n const bHex = (this.b || 0).toString(16);\n hex += bHex.length === 2 ? bHex : '0' + bHex;\n if (typeof this.a === 'number' && this.a >= 0 && this.a < 1) {\n const aHex = round(this.a * 255).toString(16);\n hex += aHex.length === 2 ? aHex : '0' + aHex;\n }\n return hex;\n }\n\n /** CSS support color pattern */\n toHsl() {\n return {\n h: this.getHue(),\n s: this.getSaturation(),\n l: this.getLightness(),\n a: this.a\n };\n }\n\n /** CSS support color pattern */\n toHslString() {\n const h = this.getHue();\n const s = round(this.getSaturation() * 100);\n const l = round(this.getLightness() * 100);\n return this.a !== 1 ? `hsla(${h},${s}%,${l}%,${this.a})` : `hsl(${h},${s}%,${l}%)`;\n }\n\n /** Same as toHsb */\n toHsv() {\n return {\n h: this.getHue(),\n s: this.getSaturation(),\n v: this.getValue(),\n a: this.a\n };\n }\n toRgb() {\n return {\n r: this.r,\n g: this.g,\n b: this.b,\n a: this.a\n };\n }\n toRgbString() {\n return this.a !== 1 ? `rgba(${this.r},${this.g},${this.b},${this.a})` : `rgb(${this.r},${this.g},${this.b})`;\n }\n toString() {\n return this.toRgbString();\n }\n\n // ====================== Privates ======================\n /** Return a new FastColor object with one channel changed */\n _sc(rgb, value, max) {\n const clone = this.clone();\n clone[rgb] = limitRange(value, max);\n return clone;\n }\n _c(input) {\n return new this.constructor(input);\n }\n getMax() {\n if (typeof this._max === 'undefined') {\n this._max = Math.max(this.r, this.g, this.b);\n }\n return this._max;\n }\n getMin() {\n if (typeof this._min === 'undefined') {\n this._min = Math.min(this.r, this.g, this.b);\n }\n return this._min;\n }\n fromHexString(trimStr) {\n const withoutPrefix = trimStr.replace('#', '');\n function connectNum(index1, index2) {\n return parseInt(withoutPrefix[index1] + withoutPrefix[index2 || index1], 16);\n }\n if (withoutPrefix.length < 6) {\n // #rgb or #rgba\n this.r = connectNum(0);\n this.g = connectNum(1);\n this.b = connectNum(2);\n this.a = withoutPrefix[3] ? connectNum(3) / 255 : 1;\n } else {\n // #rrggbb or #rrggbbaa\n this.r = connectNum(0, 1);\n this.g = connectNum(2, 3);\n this.b = connectNum(4, 5);\n this.a = withoutPrefix[6] ? connectNum(6, 7) / 255 : 1;\n }\n }\n fromHsl({\n h,\n s,\n l,\n a\n }) {\n this._h = h % 360;\n this._s = s;\n this._l = l;\n this.a = typeof a === 'number' ? a : 1;\n if (s <= 0) {\n const rgb = round(l * 255);\n this.r = rgb;\n this.g = rgb;\n this.b = rgb;\n }\n let r = 0,\n g = 0,\n b = 0;\n const huePrime = h / 60;\n const chroma = (1 - Math.abs(2 * l - 1)) * s;\n const secondComponent = chroma * (1 - Math.abs(huePrime % 2 - 1));\n if (huePrime >= 0 && huePrime < 1) {\n r = chroma;\n g = secondComponent;\n } else if (huePrime >= 1 && huePrime < 2) {\n r = secondComponent;\n g = chroma;\n } else if (huePrime >= 2 && huePrime < 3) {\n g = chroma;\n b = secondComponent;\n } else if (huePrime >= 3 && huePrime < 4) {\n g = secondComponent;\n b = chroma;\n } else if (huePrime >= 4 && huePrime < 5) {\n r = secondComponent;\n b = chroma;\n } else if (huePrime >= 5 && huePrime < 6) {\n r = chroma;\n b = secondComponent;\n }\n const lightnessModification = l - chroma / 2;\n this.r = round((r + lightnessModification) * 255);\n this.g = round((g + lightnessModification) * 255);\n this.b = round((b + lightnessModification) * 255);\n }\n fromHsv({\n h,\n s,\n v,\n a\n }) {\n this._h = h % 360;\n this._s = s;\n this._v = v;\n this.a = typeof a === 'number' ? a : 1;\n const vv = round(v * 255);\n this.r = vv;\n this.g = vv;\n this.b = vv;\n if (s <= 0) {\n return;\n }\n const hh = h / 60;\n const i = Math.floor(hh);\n const ff = hh - i;\n const p = round(v * (1.0 - s) * 255);\n const q = round(v * (1.0 - s * ff) * 255);\n const t = round(v * (1.0 - s * (1.0 - ff)) * 255);\n switch (i) {\n case 0:\n this.g = t;\n this.b = p;\n break;\n case 1:\n this.r = q;\n this.b = p;\n break;\n case 2:\n this.r = p;\n this.b = t;\n break;\n case 3:\n this.r = p;\n this.g = q;\n break;\n case 4:\n this.r = t;\n this.g = p;\n break;\n case 5:\n default:\n this.g = p;\n this.b = q;\n break;\n }\n }\n fromHsvString(trimStr) {\n const cells = splitColorStr(trimStr, parseHSVorHSL);\n this.fromHsv({\n h: cells[0],\n s: cells[1],\n v: cells[2],\n a: cells[3]\n });\n }\n fromHslString(trimStr) {\n const cells = splitColorStr(trimStr, parseHSVorHSL);\n this.fromHsl({\n h: cells[0],\n s: cells[1],\n l: cells[2],\n a: cells[3]\n });\n }\n fromRgbString(trimStr) {\n const cells = splitColorStr(trimStr, (num, txt) =>\n // Convert percentage to number. e.g. 50% -> 128\n txt.includes('%') ? round(num / 100 * 255) : num);\n this.r = cells[0];\n this.g = cells[1];\n this.b = cells[2];\n this.a = cells[3];\n }\n}","export * from \"./FastColor\";\nexport * from \"./types\";","export {};","import toPropertyKey from \"./toPropertyKey.js\";\nfunction _defineProperty(e, r, t) {\n return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {\n value: t,\n enumerable: !0,\n configurable: !0,\n writable: !0\n }) : e[r] = t, e;\n}\nexport { _defineProperty as default };","import _typeof from \"./typeof.js\";\nfunction toPrimitive(t, r) {\n if (\"object\" != _typeof(t) || !t) return t;\n var e = t[Symbol.toPrimitive];\n if (void 0 !== e) {\n var i = e.call(t, r || \"default\");\n if (\"object\" != _typeof(i)) return i;\n throw new TypeError(\"@@toPrimitive must return a primitive value.\");\n }\n return (\"string\" === r ? String : Number)(t);\n}\nexport { toPrimitive as default };","import _typeof from \"./typeof.js\";\nimport toPrimitive from \"./toPrimitive.js\";\nfunction toPropertyKey(t) {\n var i = toPrimitive(t, \"string\");\n return \"symbol\" == _typeof(i) ? i : i + \"\";\n}\nexport { toPropertyKey as default };","function _typeof(o) {\n \"@babel/helpers - typeof\";\n\n return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) {\n return typeof o;\n } : function (o) {\n return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o;\n }, _typeof(o);\n}\nexport { _typeof as default };","// extracted by mini-css-extract-plugin\nexport {};","// extracted by mini-css-extract-plugin\nexport {};","// extracted by mini-css-extract-plugin\nexport {};","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.adjustBrightness = void 0;\nconst convert_color_1 = require(\"./convert-color\");\nconst get_color_format_1 = require(\"./get-color-format\");\nconst types_1 = require(\"./types\");\n/**\n * Adjusts the brightness of a given color by a specified amount.\n *\n * @param {string} color - The color to adjust, in a recognized color format.\n * If an invalid color format is provided, white (#FFFFFF) will be used as a fallback.\n * @param {number} amount - The amount to adjust the brightness by. This value can be positive (to increase brightness)\n * or negative (to decrease brightness). The adjusted lightness is kept within the 0-100 range.\n *\n * @returns {string} - The adjusted color, converted back to its original format.\n * If the input color format was invalid, returns the adjusted white color in the same format.\n *\n * Example usage:\n * adjustBrightness('#00FF00', -20); // makes a bright green color darker\n * adjustBrightness('rgb(255, 0, 0)', 10); // makes a red color brighter\n * adjustBrightness('invalidColor', 10); // uses white as fallback and adjusts its brightness\n */\nconst adjustBrightness = (color, amount) => {\n const colorFormat = (0, get_color_format_1.getColorFormat)(color);\n // Use white as fallback if color format is invalid\n const validColor = colorFormat ? color : '#FFFFFF';\n const targetFormat = colorFormat || types_1.ColorFormat.HEX;\n const hslColor = (0, convert_color_1.convertColor)(validColor, types_1.ColorFormat.HSL);\n let [h, s, l] = hslColor.match(/\\d+/g).map(Number);\n l = Math.max(0, Math.min(100, l + amount));\n return (0, convert_color_1.convertColor)(`hsl(${h}, ${s}%, ${l}%)`, targetFormat);\n};\nexports.adjustBrightness = adjustBrightness;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.adjustHue = void 0;\nconst convert_color_1 = require(\"./convert-color\");\nconst get_color_format_1 = require(\"./get-color-format\");\nconst types_1 = require(\"./types\");\n/**\n * Adjusts the hue of a given color by a specified amount.\n *\n * @param {string} color - The color to be adjusted, provided in a format recognized by `getColorFormat`.\n * This could be in formats like HEX, RGB, or named colors, among others.\n * If an invalid color format is provided, white (#FFFFFF) will be used as a fallback.\n * @param {number} amount - The amount to adjust the hue by. This value can be positive (to increase hue)\n * or negative (to decrease hue). The hue value is constrained between 0 and 360 degrees.\n *\n * @returns {string} - The color with adjusted hue, in the same format as the input color.\n * If the input color format was invalid, returns the adjusted white color in the same format.\n *\n * Example usage:\n * adjustHue('#00FF00', 30); // changes the hue of a bright green color.\n * adjustHue('rgb(255, 0, 0)', -45); // changes the hue of a red color.\n * adjustHue('invalidColor', 60); // uses white as fallback and adjusts its hue.\n */\nconst adjustHue = (color, amount) => {\n const colorFormat = (0, get_color_format_1.getColorFormat)(color);\n // Use white as fallback if color format is invalid\n const validColor = colorFormat ? color : '#FFFFFF';\n const targetFormat = colorFormat || types_1.ColorFormat.HEX;\n const hslColor = (0, convert_color_1.convertColor)(validColor, types_1.ColorFormat.HSL);\n let [h, s, l] = hslColor.match(/\\d+/g).map(Number);\n h = (h + amount) % 360;\n if (h < 0)\n h += 360;\n return (0, convert_color_1.convertColor)(`hsl(${h}, ${s}%, ${l}%)`, targetFormat);\n};\nexports.adjustHue = adjustHue;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.adjustSaturation = void 0;\nconst convert_color_1 = require(\"./convert-color\");\nconst get_color_format_1 = require(\"./get-color-format\");\nconst types_1 = require(\"./types\");\n/**\n * Adjusts the saturation of a given color by a specified amount.\n *\n * @param {string} color - The color to be adjusted, provided in a format recognized by `getColorFormat`.\n * This could be in formats like HEX, RGB, or named colors, among others.\n * If an invalid color format is provided, white (#FFFFFF) will be used as a fallback.\n * @param {number} amount - The amount to adjust the saturation by. This value can be positive (to increase saturation)\n * or negative (to decrease saturation). The final saturation value is constrained\n * between 0% (completely desaturated) and 100% (fully saturated).\n *\n * @returns {string} - The color with adjusted saturation, in the same format as the input color.\n * If the input color format was invalid, returns the adjusted white color in the same format.\n *\n * Example usage:\n * adjustSaturation('#00FF00', -20); // decreases the saturation of a bright green color, making it more muted.\n * adjustSaturation('rgb(255, 0, 0)', 20); // increases the saturation of a red color, making it more vivid.\n * adjustSaturation('invalidColor', 10); // uses white as fallback and adjusts its saturation.\n */\nconst adjustSaturation = (color, amount) => {\n const colorFormat = (0, get_color_format_1.getColorFormat)(color);\n // Use white as fallback if color format is invalid\n const validColor = colorFormat ? color : '#FFFFFF';\n const targetFormat = colorFormat || types_1.ColorFormat.HEX;\n const hslColor = (0, convert_color_1.convertColor)(validColor, types_1.ColorFormat.HSL);\n let [h, s, l] = hslColor.match(/\\d+/g).map(Number);\n s = Math.max(0, Math.min(100, s + amount));\n return (0, convert_color_1.convertColor)(`hsl(${h}, ${s}%, ${l}%)`, targetFormat);\n};\nexports.adjustSaturation = adjustSaturation;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.applyGreyscale = void 0;\nconst convert_color_1 = require(\"./convert-color\");\nconst get_color_format_1 = require(\"./get-color-format\");\nconst types_1 = require(\"./types\");\n/**\n * Converts a color to its grayscale equivalent using the luminosity method.\n *\n * @param {string} color - The color in any supported format.\n * If an invalid color format is provided, white (#FFFFFF) will be used as a fallback.\n *\n * @returns {string} The grayscale equivalent of the color represented in the same format as the input.\n * If the input color format was invalid, returns the grayscale version of white in the same format.\n *\n * Example usage:\n * applyGreyscale('#ff6347'); // Returns a grayscale version of the tomato color.\n * applyGreyscale('invalidColor'); // Uses white as fallback and returns its grayscale version.\n */\nconst applyGreyscale = (color) => {\n const colorFormat = (0, get_color_format_1.getColorFormat)(color);\n // Use white as fallback if color format is invalid\n const validColor = colorFormat ? color : '#FFFFFF';\n const targetFormat = colorFormat || types_1.ColorFormat.HEX;\n const rgbColor = (0, convert_color_1.convertColor)(validColor, types_1.ColorFormat.RGB);\n const [r, g, b] = rgbColor.match(/\\d+/g).map(Number);\n const grey = Math.round(0.2126 * r + 0.7152 * g + 0.0722 * b);\n return (0, convert_color_1.convertColor)(`rgb(${grey}, ${grey}, ${grey})`, targetFormat);\n};\nexports.applyGreyscale = applyGreyscale;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.applySepia = void 0;\nconst convert_color_1 = require(\"./convert-color\");\nconst get_color_format_1 = require(\"./get-color-format\");\nconst types_1 = require(\"./types\");\n/**\n * Applies a sepia tone effect to the specified color.\n * The sepia effect is achieved by adjusting the Red, Green, and Blue components\n * of the color according to a set formula that simulates the look of sepia-toned photographs.\n *\n * @param {string} color - The color to which the sepia effect will be applied, specified as a string\n * in a recognized format (e.g., HEX, RGB, named colors).\n * If an invalid color format is provided, white (#FFFFFF) will be used as a fallback.\n *\n * @returns {string} - The sepia-toned color, represented in the same format as the input.\n * If the input color format was invalid, returns the sepia-toned white color in the same format.\n *\n * Example usage:\n * applySepia('#826C34'); // returns a sepia-toned version of the original color.\n * applySepia('invalidColor'); // uses white as fallback and returns its sepia-toned version.\n */\nconst applySepia = (color) => {\n const colorFormat = (0, get_color_format_1.getColorFormat)(color);\n // Use white as fallback if color format is invalid\n const validColor = colorFormat ? color : '#FFFFFF';\n const targetFormat = colorFormat || types_1.ColorFormat.HEX;\n let [r, g, b] = (0, convert_color_1.convertColor)(validColor, types_1.ColorFormat.RGB).match(/\\d+/g).map(Number);\n r = Math.round(Math.min(255, (r * 0.393) + (g * 0.769) + (b * 0.189)));\n g = Math.round(Math.min(255, (r * 0.349) + (g * 0.686) + (b * 0.168)));\n b = Math.round(Math.min(255, (r * 0.272) + (g * 0.534) + (b * 0.131)));\n return (0, convert_color_1.convertColor)(`rgb(${[r, g, b].join(', ')})`, targetFormat);\n};\nexports.applySepia = applySepia;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.blendColors = void 0;\nconst color_1 = require(\"./color\");\nconst convert_color_1 = require(\"./convert-color\");\nconst types_1 = require(\"./types\");\n/**\n * Blends two colors together based on a specified weight, producing a new color.\n * The weight determines the contribution of each color to the resulting blend.\n *\n * @param {Color | string} fromColor - The object of Color class or the starting color string in a recognized color format.\n * If an invalid color format is provided, white (#FFFFFF) will be used as a fallback.\n * @param {Color | string} toColor - The object of Color class or the ending color string in a recognized color format.\n * If an invalid color format is provided, white (#FFFFFF) will be used as a fallback.\n * @param {number} weight - A decimal number between 0 and 1 representing the weight of the `toColor` in the blend.\n * A weight of 0 will result in the `fromColor`, a weight of 1 will result in the `toColor`,\n * and a weight of 0.5 will produce an evenly blended color.\n *\n * @returns {string} - The blended color in the same format as the `fromColor`.\n * If either input color format was invalid, white will be used as fallback for that color.\n *\n * Example usage:\n * blendColors('#FF0000', '#0000FF', 0.5); // returns a color string representing the color halfway between red and blue.\n * blendColors('invalidColor', '#0000FF', 0.5); // uses white as fallback for the first color.\n */\nconst blendColors = (fromColor, toColor, weight) => {\n if (typeof fromColor === 'string') {\n fromColor = new color_1.Color(fromColor);\n }\n if (typeof toColor === 'string') {\n toColor = new color_1.Color(toColor);\n }\n if (weight < 0 || weight > 1) {\n throw new Error('Invalid weight value');\n }\n // Use white as fallback if color format is invalid\n const fromColorFormat = fromColor.format() || types_1.ColorFormat.HEX;\n const fromRGB = fromColor.rgb().match(/\\d+/g).map(Number);\n const toRGB = toColor.rgb().match(/\\d+/g).map(Number);\n const [r, g, b] = [0, 1, 2].map((i) => Math.round(fromRGB[i] * (1 - weight) + toRGB[i] * weight));\n return (0, convert_color_1.convertColor)(`rgb(${[r, g, b].join(', ')})`, fromColorFormat);\n};\nexports.blendColors = blendColors;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.blendMultipleColors = void 0;\nconst color_1 = require(\"./color\");\nconst convert_color_1 = require(\"./convert-color\");\nconst types_1 = require(\"./types\");\n/**\n * Blends multiple colors together based on their specified weights, producing a new color.\n * Each color's weight determines its contribution to the resulting blend.\n *\n * @param {ColorWeight[]} colorWeights - An array of objects, each containing a `color` which is the object of Color class or string in a recognized color format and a `weight` number.\n * The weights determine the contribution of each color to the final blend.\n *\n * @returns {string} - The blended color in the same format as the first color in the array.\n *\n * @throws {Error} - Throws an error if any color is in an invalid format or if weights are invalid.\n *\n * Example usage:\n * blendMultipleColors([{ color: '#FF0000', weight: 1 }, { color: '#0000FF', weight: 2 }]); // returns a color string blended from red and blue with blue having twice the weight.\n */\nconst blendMultipleColors = (colorWeights) => {\n if (colorWeights.length === 0) {\n throw new Error('The array of color weights must not be empty.');\n }\n let colors = colorWeights\n .map(({ color, weight }) => ({ color: typeof color === 'string' ? new color_1.Color(color) : color, weight }));\n // Use white as fallback if the first color format is invalid\n const firstColorFormat = colors[0].color.format() || types_1.ColorFormat.HEX;\n const totalWeight = colors.reduce((sum, cw) => sum + cw.weight, 0);\n if (totalWeight <= 0) {\n throw new Error('Total weight must be greater than zero.');\n }\n const blendedRGB = [0, 0, 0];\n colors.forEach(({ color, weight }) => {\n const rgb = color.rgb().match(/\\d+/g).map(Number);\n const normalizedWeight = weight / totalWeight;\n [0, 1, 2].forEach((i) => {\n blendedRGB[i] += rgb[i] * normalizedWeight;\n });\n });\n const [r, g, b] = blendedRGB.map(Math.round);\n return (0, convert_color_1.convertColor)(`rgb(${[r, g, b].join(', ')})`, firstColorFormat);\n};\nexports.blendMultipleColors = blendMultipleColors;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.calculateContrast = void 0;\nconst color_1 = require(\"./color\");\n/**\n * Calculates the contrast ratio between two colors.\n *\n * @param {Color | string} color1 - The object of Color class or the first color string in a recognized color format.\n * @param {Color | string} color2 - The object of Color class or the second color string in a recognized color format.\n *\n * @returns {number} The contrast ratio between the two colors.\n *\n * Example usage:\n * calculateContrast('#ffffff', '#000000'); // Returns 21 (maximum contrast)\n */\nconst calculateContrast = (color1, color2) => {\n if (typeof color1 === 'string') {\n color1 = new color_1.Color(color1);\n }\n if (typeof color2 === 'string') {\n color2 = new color_1.Color(color2);\n }\n const luminance1 = color1.luminance();\n const luminance2 = color2.luminance();\n const l1 = Math.max(luminance1, luminance2);\n const l2 = Math.min(luminance1, luminance2);\n return (l1 + 0.05) / (l2 + 0.05);\n};\nexports.calculateContrast = calculateContrast;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.calculateSimilarity = void 0;\nconst color_1 = require(\"./color\");\nconst types_1 = require(\"./types\");\n/**\n * Calculates the similarity between two colors using the Euclidean distance in RGB color space.\n *\n * @param {Color | string} color1 - The first color for comparison. Can be a color string or a Color instance.\n * @param {Color | string} color2 - The second color for comparison. Can be a color string or a Color instance.\n *\n * @returns {number} - A similarity percentage where 100% means identical colors and 0% means completely different colors.\n *\n * Example usage:\n * calculateSimilarity('#ff0000', '#00ff00'); // Returns similarity between red and green\n * calculateSimilarity(new Color('#ff0000'), new Color('#00ff00')); // Same as above using Color instances\n */\nconst calculateSimilarity = (color1, color2) => {\n color1 = typeof color1 === 'string' ? new color_1.Color(color1) : color1;\n color2 = typeof color2 === 'string' ? new color_1.Color(color2) : color2;\n const { r: r1, g: g1, b: b1 } = color1.parseNumbers(types_1.ColorFormat.RGB);\n const { r: r2, g: g2, b: b2 } = color2.parseNumbers(types_1.ColorFormat.RGB);\n const difference = Math.sqrt((r1 - r2) ** 2 + (g1 - g2) ** 2 + (b1 - b2) ** 2);\n const maxDifference = Math.sqrt(3 * 255 ** 2);\n return 100 - (difference / maxDifference) * 100;\n};\nexports.calculateSimilarity = calculateSimilarity;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.changeOpacity = void 0;\nconst convert_color_1 = require(\"./convert-color\");\nconst get_color_format_1 = require(\"./get-color-format\");\nconst types_1 = require(\"./types\");\n/**\n * Changes the opacity of a specified color to a new value.\n *\n * @param {string} color - The color whose opacity will be changed, specified as a string\n * in a recognized format (e.g., HEX, RGB, HSL, named colors).\n * If an invalid color format is provided, white (#FFFFFF) will be used as a fallback.\n * @param {number} opacity - The new opacity level for the color, a number between 0 and 1.\n * 0 represents full transparency, and 1 represents full opacity.\n *\n * @returns {string} - The color with adjusted opacity, in the same format as the input.\n * If the input color format was invalid, returns the white color with adjusted opacity in the same format.\n *\n * Example usage:\n * changeOpacity('#ff0000', 0.5); // Returns a half-transparent red color in HEX format.\n * changeOpacity('rgba(255, 0, 0, 0.8)', 0.3); // Adjusts an RGBA red color to 30% opacity.\n * changeOpacity('invalidColor', 0.7); // Uses white as fallback and returns it with 70% opacity.\n */\nconst changeOpacity = (color, opacity) => {\n const colorFormat = (0, get_color_format_1.getColorFormat)(color);\n // Use white as fallback if color format is invalid\n const validColor = colorFormat ? color : '#FFFFFF';\n const targetFormat = colorFormat || types_1.ColorFormat.HEX;\n let [r, g, b, a] = (0, convert_color_1.convertColor)(validColor, types_1.ColorFormat.RGBA).match(/\\d+(\\.\\d+)?/g).map(Number);\n a = Math.max(0, Math.min(1, opacity));\n return (0, convert_color_1.convertColor)(`rgba(${[r, g, b, a].join(', ')})`, targetFormat);\n};\nexports.changeOpacity = changeOpacity;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.Color = void 0;\nconst adjust_brightness_1 = require(\"./adjust-brightness\");\nconst adjust_saturation_1 = require(\"./adjust-saturation\");\nconst apply_greyscale_1 = require(\"./apply-greyscale\");\nconst apply_sepia_1 = require(\"./apply-sepia\");\nconst change_opacity_1 = require(\"./change-opacity\");\nconst convert_color_1 = require(\"./convert-color\");\nconst extract_opacity_1 = require(\"./extract-opacity\");\nconst get_color_format_1 = require(\"./get-color-format\");\nconst get_luminance_1 = require(\"./get-luminance\");\nconst invert_color_1 = require(\"./invert-color\");\nconst is_dark_1 = require(\"./is-dark\");\nconst is_light_1 = require(\"./is-light\");\nconst parse_color_numbers_1 = require(\"./parse-color-numbers\");\nconst shade_1 = require(\"./shade\");\nconst tint_1 = require(\"./tint\");\nconst types_1 = require(\"./types\");\n/**\n * The Color class provides a robust set of methods for color manipulation and conversion.\n * It supports various color formats and offers functionalities to adjust color properties like\n * brightness, saturation, opacity, and to apply effects like sepia and grayscale.\n */\nclass Color {\n /**\n * Creates an instance of the Color class.\n * @param {string} initialColor - The initial color value in any supported format.\n */\n constructor(initialColor) {\n // Holds the current color value as a string\n this.currentColor = '';\n // Holds the current color format as a string\n this.currentFormat = '';\n this.set(initialColor);\n }\n /**\n * Sets the current color and format if the color is valid.\n * @param {string} color - The color value to be set.\n */\n set(color) {\n const format = (0, get_color_format_1.getColorFormat)(color);\n if (format) {\n this.currentColor = color;\n this.currentFormat = format;\n }\n else {\n this.currentColor = '';\n this.currentFormat = '';\n }\n }\n /**\n * Returns the current color value.\n * @returns {string} The current color value.\n */\n get() {\n return this.currentColor;\n }\n /**\n * Returns the current color format.\n * @returns {string} The current color format.\n */\n format() {\n return this.currentFormat;\n }\n /**\n * Converts the current color to HEX format.\n * @param {ColorFormat} format - The format to convert.\n * @returns {string} The color in converted format.\n */\n convert(format) {\n return (0, convert_color_1.convertColor)(this.currentColor, format);\n }\n /**\n * Converts the current color to HEX format.\n * @returns {string} The color in HEX format.\n */\n hex() {\n return (0, convert_color_1.convertColor)(this.currentColor, types_1.ColorFormat.HEX);\n }\n /**\n * Converts the current color to HEXA format (HEX with alpha).\n * @returns {string} The color in HEXA format.\n */\n hexa() {\n return (0, convert_color_1.convertColor)(this.currentColor, types_1.ColorFormat.HEXA);\n }\n /**\n * Converts the current color to RGB format.\n * @returns {string} The color in RGB format.\n */\n rgb() {\n return (0, convert_color_1.convertColor)(this.currentColor, types_1.ColorFormat.RGB);\n }\n /**\n * Converts the current color to RGBA format (RGB with alpha).\n * @returns {string} The color in RGBA format.\n */\n rgba() {\n return (0, convert_color_1.convertColor)(this.currentColor, types_1.ColorFormat.RGBA);\n }\n /**\n * Converts the current color to HSL format.\n * @returns {string} The color in HSL format.\n */\n hsl() {\n return (0, convert_color_1.convertColor)(this.currentColor, types_1.ColorFormat.HSL);\n }\n /**\n * Converts the current color to HSLA format (HSL with alpha).\n * @returns {string} The color in HSLA format.\n */\n hsla() {\n return (0, convert_color_1.convertColor)(this.currentColor, types_1.ColorFormat.HSLA);\n }\n /**\n * Converts the current color to HSV format.\n * @returns {string} The color in HSV format.\n */\n hsv() {\n return (0, convert_color_1.convertColor)(this.currentColor, types_1.ColorFormat.HSV);\n }\n /**\n * Converts the current color to CMYK format.\n * @returns {string} The color in CMYK format.\n */\n cmyk() {\n return (0, convert_color_1.convertColor)(this.currentColor, types_1.ColorFormat.CMYK);\n }\n /**\n * Extracts the opacity value from the current color.\n * @returns {{ opacity: number; color: string }} The opacity value and the base color.\n */\n extractOpacity() {\n return (0, extract_opacity_1.extractOpacity)(this.currentColor);\n }\n /**\n * Parses the color components into numeric values.\n * @param {ColorFormat.RGB | ColorFormat.RGBA | ColorFormat.HSL | ColorFormat.HSLA} format - The format to parse.\n * @returns {RGB | RGBA | HSL | HSLA} The parsed numeric components of the color.\n */\n parseNumbers(format) {\n return (0, parse_color_numbers_1.parseColorNumbers)(this.currentColor, format);\n }\n /**\n * Calculates the luminance of the current color.\n * @returns {number} The luminance value.\n */\n luminance() {\n return (0, get_luminance_1.getLuminance)(this.currentColor);\n }\n /**\n * Determines if the current color is light.\n * @returns {boolean} True if the color is considered light, false otherwise.\n */\n isLight() {\n return (0, is_light_1.isLight)(this.currentColor);\n }\n /**\n * Determines if the current color is dark.\n * @returns {boolean} True if the color is considered dark, false otherwise.\n */\n isDark() {\n return (0, is_dark_1.isDark)(this.currentColor);\n }\n /**\n * Adjusts the brightness of the current color by the specified amount.\n * @param {number} amount - The amount to adjust the brightness by.\n * @returns {string} The updated color.\n */\n applyBrightness(amount) {\n this.currentColor = (0, adjust_brightness_1.adjustBrightness)(this.currentColor, amount);\n return this.currentColor;\n }\n /**\n * Returns a new color with the brightness adjusted by the specified amount without changing the current color.\n * @param {number} amount - The amount to adjust the brightness by.\n * @returns {string} The color with adjusted brightness.\n */\n withBrightness(amount) {\n return (0, adjust_brightness_1.adjustBrightness)(this.currentColor, amount);\n }\n /**\n * Adjusts the saturation of the current color by the specified amount.\n * @param {number} amount - The amount to adjust the saturation by.\n * @returns {string} The updated color.\n */\n applySaturation(amount) {\n this.currentColor = (0, adjust_saturation_1.adjustSaturation)(this.currentColor, amount);\n return this.currentColor;\n }\n /**\n * Returns a new color with the saturation adjusted by the specified amount without changing the current color.\n * @param {number} amount - The amount to adjust the saturation by.\n * @returns {string} The color with adjusted saturation.\n */\n withSaturation(amount) {\n return (0, adjust_saturation_1.adjustSaturation)(this.currentColor, amount);\n }\n /**\n * Applies a grayscale effect to the current color and updates it.\n * @returns {string} The updated color.\n */\n applyGrayscale() {\n this.currentColor = (0, apply_greyscale_1.applyGreyscale)(this.currentColor);\n return this.currentColor;\n }\n /**\n * Returns a new color with a grayscale effect without changing the current color.\n * @returns {string} The color with a grayscale effect.\n */\n withGrayscale() {\n return (0, apply_greyscale_1.applyGreyscale)(this.currentColor);\n }\n /**\n * Applies a sepia effect to the current color and updates it.\n * @returns {string} The updated color.\n */\n applySepia() {\n this.currentColor = (0, apply_sepia_1.applySepia)(this.currentColor);\n return this.currentColor;\n }\n /**\n * Returns a new color with a sepia effect without changing the current color.\n * @returns {string} The color with a sepia effect.\n */\n withSepia() {\n return (0, apply_sepia_1.applySepia)(this.currentColor);\n }\n /**\n * Adjusts the opacity of the current color by the specified amount.\n * @param {number} opacity - The new opacity level.\n * @returns {string} The updated color.\n */\n applyOpacity(opacity) {\n this.currentColor = (0, change_opacity_1.changeOpacity)(this.currentColor, opacity);\n return this.currentColor;\n }\n /**\n * Returns a new color with the specified opacity without changing the current color.\n * @param {number} opacity - The new opacity level.\n * @returns {string} The color with adjusted opacity.\n */\n withOpacity(opacity) {\n return (0, change_opacity_1.changeOpacity)(this.currentColor, opacity);\n }\n /**\n * Inverts the current color and updates it.\n * @returns {string} The updated color.\n */\n applyInvert() {\n this.currentColor = (0, invert_color_1.invertColor)(this.currentColor);\n return this.currentColor;\n }\n /**\n * Returns a new color that is the inverse of the current color without changing the current color.\n * @returns {string} The inverted color.\n */\n withInvert() {\n return (0, invert_color_1.invertColor)(this.currentColor);\n }\n /**\n * Applies a shading effect to the current color by the specified percentage and updates it.\n * @param {number} percentage - The percentage to shade the color by.\n * @returns {string} The updated color.\n */\n applyShade(percentage) {\n this.currentColor = (0, shade_1.shade)(this.currentColor, percentage);\n return this.currentColor;\n }\n /**\n * Returns a new color that is shaded by the specified percentage without changing the current color.\n * @param {number} percentage - The percentage to shade the color by.\n * @returns {string} The shaded color.\n */\n withShade(percentage) {\n return (0, shade_1.shade)(this.currentColor, percentage);\n }\n /**\n * Applies a tinting effect to the current color by the specified percentage and updates it.\n * @param {number} percentage - The percentage to tint the color by.\n * @returns {string} The updated color.\n */\n applyTint(percentage) {\n this.currentColor = (0, tint_1.tint)(this.currentColor, percentage);\n return this.currentColor;\n }\n /**\n * Returns a new color that is tinted by the specified percentage without changing the current color.\n * @param {number} percentage - The percentage to tint the color by.\n * @returns {string} The tinted color.\n */\n withTint(percentage) {\n return (0, tint_1.tint)(this.currentColor, percentage);\n }\n}\nexports.Color = Color;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.convertColor = void 0;\nconst get_color_format_1 = require(\"./get-color-format\");\nconst convert_utils_1 = require(\"./utils/convert-utils\");\nconst types_1 = require(\"./types\");\n/**\n * Converts a color from its current format to a specified target format.\n * The conversion process involves determining the color's current format.\n *\n * @param {string} color - The color to be converted, represented as a string.\n * This color should be in a recognized color format (HEX(A), RGB(A), HSL(A), HSV, CMYK).\n * If an invalid color format is provided, white (#FFFFFF) will be used as a fallback.\n * @param {ColorFormat} toFormat - The target format to which the color should be converted.\n * This should be one of the predefined formats in the ColorFormat enumeration.\n *\n * @returns {string} - The converted color in the target format.\n * If the input color format was invalid, returns white in the target format.\n *\n * Example usage:\n * convertColor(\"#FF5733\", ColorFormat.RGB); // returns 'rgb(255, 87, 51)'\n * convertColor(\"invalidColor\", ColorFormat.HEX); // returns '#FFFFFF'\n */\nconst convertColor = (color, toFormat) => {\n const fromFormat = (0, get_color_format_1.getColorFormat)(color);\n // Use white as fallback if color format is invalid\n const validColor = fromFormat ? color : '#FFFFFF';\n const validFromFormat = fromFormat || types_1.ColorFormat.HEX;\n if (validFromFormat === toFormat) {\n return validColor;\n }\n const convertToBase = {\n [types_1.ColorFormat.HEX]: convert_utils_1.hexToRGBA,\n [types_1.ColorFormat.HEXA]: convert_utils_1.hexaToRGBA,\n [types_1.ColorFormat.RGB]: convert_utils_1.rgbToRGBA,\n [types_1.ColorFormat.HSL]: convert_utils_1.hslToRGBA,\n [types_1.ColorFormat.HSLA]: convert_utils_1.hslaToRGBA,\n [types_1.ColorFormat.CMYK]: convert_utils_1.cmykToRGBA,\n [types_1.ColorFormat.HSV]: convert_utils_1.hsvToRGBA,\n };\n const convertFromBase = {\n [types_1.ColorFormat.HEX]: convert_utils_1.rgbaToHex,\n [types_1.ColorFormat.HEXA]: convert_utils_1.rgbaToHexa,\n [types_1.ColorFormat.RGB]: convert_utils_1.rgbaToRGB,\n [types_1.ColorFormat.HSL]: convert_utils_1.rgbaToHSL,\n [types_1.ColorFormat.HSLA]: convert_utils_1.rgbaToHSLA,\n [types_1.ColorFormat.CMYK]: convert_utils_1.rgbaToCMYK,\n [types_1.ColorFormat.HSV]: convert_utils_1.rgbaToHSV,\n };\n const baseColor = validFromFormat === types_1.BaseColorFormat ? validColor : convertToBase[validFromFormat](validColor);\n const outputColor = toFormat === types_1.BaseColorFormat ? baseColor : convertFromBase[toFormat](baseColor);\n return outputColor;\n};\nexports.convertColor = convertColor;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.extractOpacity = void 0;\nconst get_color_format_1 = require(\"./get-color-format\");\nconst types_1 = require(\"./types\");\n/**\n * Extracts the color and opacity from a given color string.\n * If the color format does not include an alpha channel, the opacity is returned as 1.\n * Supports HEXA, RGBA, and HSLA color formats.\n *\n * @param {string} color - The color string to extract opacity from.\n * If an invalid color format is provided, white (#FFFFFF) will be used as a fallback.\n *\n * @returns {{ color: string, opacity: number }} An object containing the color without opacity and the opacity value.\n * If the input color format was invalid, returns white with opacity 1.\n *\n * Example usage:\n * extractOpacity('#ff000080'); // Returns { color: \"#ff0000\", opacity: 0.5 }.\n * extractOpacity('invalidColor'); // Returns { color: \"#FFFFFF\", opacity: 1 }.\n */\nconst extractOpacity = (color) => {\n const colorFormat = (0, get_color_format_1.getColorFormat)(color);\n let opacity = 1;\n // Use white as fallback if color format is invalid\n if (!colorFormat) {\n return { color: '#FFFFFF', opacity: 1 };\n }\n switch (colorFormat) {\n case types_1.ColorFormat.HEXA:\n opacity = parseInt(color.slice(-2), 16) / 255;\n color = color.slice(0, -2);\n break;\n case types_1.ColorFormat.RGBA:\n [, , , opacity] = color.match(/\\d+(\\.\\d+)?/g).map(Number);\n color = `rgb(${color.match(/\\d+/g).slice(0, 3).join(', ')})`;\n break;\n case types_1.ColorFormat.HSLA:\n [, , , opacity] = color.match(/\\d+(\\.\\d+)?/g).map(Number);\n color = `hsl(${color.match(/\\d+/g).slice(0, 3).join(', ')})`;\n break;\n }\n return { color, opacity };\n};\nexports.extractOpacity = extractOpacity;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.generateMultiSteppedGradient = void 0;\nconst color_1 = require(\"./color\");\nconst generate_stepped_gradient_1 = require(\"./generate-stepped-gradient\");\n/**\n * Generates a complex stepped color gradient between multiple colors.\n * This function creates a series of intermediate colors forming a gradient\n * between each pair of colors in the argument list, with specified steps between each pair.\n *\n * @param args - A list of colors and steps where each color (except the last one) is followed by a number\n * indicating the steps to the next color. For example, the call might look like:\n * generateMultiSteppedGradient(\"#ff0000\", 3, \"#ffff00\", 4, \"#0000ff\").\n *\n * @returns An array of color strings representing the complex gradient including all intermediate colors.\n * The format of each color in the array is the same as the format of the first color in the input list.\n *\n * @throws Will throw an error if the arguments don't follow the pattern [color, steps, color, ..., color].\n *\n * Example usage:\n * generateMultiSteppedGradient(\"#ff0000\", 3, \"#ffff00\", 4, \"#0000ff\");\n * // Returns an array including \"#ff0000\", three intermediate colors to \"#ffff00\",\n * // \"#ffff00\" itself, four intermediate colors to \"#0000ff\", and \"#0000ff\".\n */\nconst generateMultiSteppedGradient = (...args) => {\n if (args.length < 3 || args.length % 2 === 0) {\n throw new Error('Function must be called with at least one color and one step count, in an interleaved manner.');\n }\n let gradientColors = [];\n for (let i = 0; i < args.length - 2; i += 2) {\n const fromColor = typeof args[i] === 'string' ? new color_1.Color(args[i]) : args[i];\n const steps = args[i + 1];\n const toColor = typeof args[i + 2] === 'string' ? new color_1.Color(args[i + 2]) : args[i + 2];\n if (typeof steps !== 'number') {\n throw new Error('Arguments must follow the pattern [color, steps, color, ..., color].');\n }\n const gradientSegment = (0, generate_stepped_gradient_1.generateSteppedGradient)(fromColor, toColor, steps);\n if (i === 0) {\n gradientColors.push(fromColor.get());\n }\n gradientColors.push(...gradientSegment);\n gradientColors.push(toColor.get());\n }\n return gradientColors;\n};\nexports.generateMultiSteppedGradient = generateMultiSteppedGradient;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.generateSteppedGradient = void 0;\nconst color_1 = require(\"./color\");\nconst convert_color_1 = require(\"./convert-color\");\nconst types_1 = require(\"./types\");\n/**\n * Generates a stepped color gradient between two colors.\n * This function creates a series of intermediate colors that form a gradient\n * from a starting color to an ending color, with the number of steps.\n *\n * @param {Color | string} fromColor - The color string representing the start color of the gradient.\n * This color should be the object of Color class or a string in format recognized by the `getColorFormat` and `convertColor` functions.\n * If an invalid color format is provided, white (#FFFFFF) will be used as a fallback.\n * @param {Color | string} toColor - The color string representing the end color of the gradient.\n * his color should be the object of Color class or a string in format recognized by the `getColorFormat` and `convertColor` functions.\n * If an invalid color format is provided, white (#FFFFFF) will be used as a fallback.\n * @param {number} count - The number of intermediate colors to generate in the gradient.\n * The total number of colors in the returned array will be equal to this count.\n *\n * @returns {string[]} An array of color strings representing the stepped gradient from the starting color to the ending color.\n * Each color in the array is converted back to the format of the `fromColor`.\n * If either input color format was invalid, white will be used as fallback for that color.\n *\n * Example usage:\n * generateSteppedGradient('#FF0000', '#00FF00', 5); // returns an array of 5 intermediate colors in hexadecimal format between red and green.\n * generateSteppedGradient('invalidColor', '#00FF00', 3); // uses white as fallback for the first color.\n */\nconst generateSteppedGradient = (fromColor, toColor, count) => {\n if (typeof fromColor === 'string') {\n fromColor = new color_1.Color(fromColor);\n }\n if (typeof toColor === 'string') {\n toColor = new color_1.Color(toColor);\n }\n // Use white as fallback if color format is invalid\n const fromColorFormat = fromColor.format() || types_1.ColorFormat.HEX;\n const fromRGBA = fromColor.rgba().match(/\\d+(\\.\\d+)?/g).map(Number);\n const toRGBA = toColor.rgba().match(/\\d+(\\.\\d+)?/g).map(Number);\n const step = 1 / (count + 1);\n let intermediateColors = [];\n for (let i = 1; i <= count; i++) {\n const interpolatedColor = fromRGBA.map((start, index) => {\n const end = toRGBA[index];\n return index !== 3\n ? Math.round(start + (end - start) * step * i)\n : (start + (end - start) * step * i).toFixed(2);\n });\n intermediateColors.push((0, convert_color_1.convertColor)(`rgba(${interpolatedColor.join(', ')})`, fromColorFormat));\n }\n return intermediateColors;\n};\nexports.generateSteppedGradient = generateSteppedGradient;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getColorFormat = void 0;\nconst is_valid_color_1 = require(\"./is-valid-color\");\nconst types_1 = require(\"./types\");\n/**\n * Identifies the format of a given color string from among several supported color models.\n * Utilizes a series of specific validators for different color formats, including HEX, HEXA,\n * RGB, RGBA, HSL, HSLA, HSV, and CMYK. This approach allows for accurately determining the\n * color model of the input string, facilitating format-specific processing or conversions.\n *\n * @param {string} color - The color string to be identified.\n *\n * @returns {ColorFormat | null} - The identified color format as a `ColorFormat` enum value,\n * or `null` if the format does not match any of the supported types.\n *\n * Example usage:\n * getColorFormat('#FF5733'); // returns 'HEX'\n * getColorFormat('rgb(255, 99, 71)'); // returns 'RGB'\n * getColorFormat('invalidColor'); // returns null, as the format is not recognized\n */\nconst getColorFormat = (color) => {\n const validators = {\n [types_1.ColorFormat.HEX]: is_valid_color_1.isValidHEXColor,\n [types_1.ColorFormat.HEXA]: is_valid_color_1.isValidHEXAColor,\n [types_1.ColorFormat.RGB]: is_valid_color_1.isValidRGBColor,\n [types_1.ColorFormat.RGBA]: is_valid_color_1.isValidRGBAColor,\n [types_1.ColorFormat.HSL]: is_valid_color_1.isValidHSLColor,\n [types_1.ColorFormat.HSLA]: is_valid_color_1.isValidHSLAColor,\n [types_1.ColorFormat.HSV]: is_valid_color_1.isValidHSVColor,\n [types_1.ColorFormat.CMYK]: is_valid_color_1.isValidCMYKColor,\n };\n for (const [type, validator] of Object.entries(validators)) {\n if (validator(color)) {\n return type;\n }\n }\n return null;\n};\nexports.getColorFormat = getColorFormat;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getLuminance = void 0;\nconst convert_color_1 = require(\"./convert-color\");\nconst types_1 = require(\"./types\");\n/**\n * Calculates the luminance of a given color.\n *\n * @param {string} color - The color in any supported format.\n *\n * @returns {number} The luminance of the color, a value between 0 and 1.\n *\n * Example usage:\n * getLuminance('#ff0000'); // Returns the luminance of red.\n */\nconst getLuminance = (color) => {\n const rgbColor = (0, convert_color_1.convertColor)(color, types_1.ColorFormat.RGB);\n const [r, g, b] = rgbColor.match(/\\d+/g).map(Number).map((v) => {\n v /= 255;\n return v <= 0.03928 ? v / 12.92 : Math.pow((v + 0.055) / 1.055, 2.4);\n });\n return 0.2126 * r + 0.7152 * g + 0.0722 * b;\n};\nexports.getLuminance = getLuminance;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getTemperature = void 0;\nconst convert_color_1 = require(\"./convert-color\");\nconst get_color_format_1 = require(\"./get-color-format\");\nconst types_1 = require(\"./types\");\n/**\n * Converts a color string into an estimated correlated color temperature (CCT) value expressed in Kelvin.\n * The result is clamped to the range 1000K–10000K, which covers most practical lighting conditions from candlelight to blue daylight.\n *\n * @param {string} color - The color in any supported format (HEX, RGB, RGBA, HSL, HSLA, HSV, CMYK).\n * Examples: \"#FF4500\", \"rgb(255, 69, 0)\", \"hsl(16, 100%, 50%)\"\n *\n * @returns {number} Estimated color temperature in Kelvin (integer or float).\n * Always in the range 1000 ≤ CCT ≤ 10000.\n *\n * @example\n * getTemperature(\"#FF4500\"); // ~2000 (warm orange, firelight)\n * getTemperature(\"rgb(255, 215, 0)\"); // ~3000 (warm white, incandescent)\n * getTemperature(\"hsl(0, 0%, 100%)\"); // ~5500 (neutral daylight)\n * getTemperature(\"#ADD8E6\"); // ~9000 (blue sky light)\n */\nconst getTemperature = (color) => {\n const colorFormat = (0, get_color_format_1.getColorFormat)(color);\n // Use white as fallback if color format is invalid\n const validColor = colorFormat ? color : '#FFFFFF';\n // Convert to RGB format to extract RGB values\n const rgbColor = (0, convert_color_1.convertColor)(validColor, types_1.ColorFormat.RGB);\n // Parse RGB values and normalize to 0–1 range\n const [r, g, b] = rgbColor.match(/\\d+/g).map(Number).map(v => v / 255);\n // Apply gamma correction to convert sRGB → linear RGB\n const linearR = r <= 0.04045 ? r / 12.92 : Math.pow((r + 0.055) / 1.055, 2.4);\n const linearG = g <= 0.04045 ? g / 12.92 : Math.pow((g + 0.055) / 1.055, 2.4);\n const linearB = b <= 0.04045 ? b / 12.92 : Math.pow((b + 0.055) / 1.055, 2.4);\n // Convert linear RGB to XYZ color space using sRGB D65 white point\n // sRGB to XYZ transformation matrix (D65 white point)\n const x = linearR * 0.4124 + linearG * 0.3576 + linearB * 0.1805;\n const y = linearR * 0.2126 + linearG * 0.7152 + linearB * 0.0722;\n const z = linearR * 0.0193 + linearG * 0.1192 + linearB * 0.9505;\n // Compute chromaticity coordinates (x, y)\n const sum = x + y + z;\n if (sum === 0) {\n // Handle pure black or very dark colors\n return 6500; // Default to neutral daylight\n }\n const chromaticityX = x / sum;\n const chromaticityY = y / sum;\n // Apply McCamy's formula to approximate CCT\n // McCamy's formula: CCT = 449 * n^3 + 3525 * n^2 + 6823.3 * n + 5520.33\n // where n = (x - 0.3320) / (0.1858 - y)\n const n = (chromaticityX - 0.3320) / (0.1858 - chromaticityY);\n if (isNaN(n) || !isFinite(n)) {\n // Handle edge cases where the formula breaks down\n return 6500; // Default to neutral daylight\n }\n const cct = 449 * Math.pow(n, 3) + 3525 * Math.pow(n, 2) + 6823.3 * n + 5520.33;\n // Clamp the result to the valid range: 1000K–10000K\n return Math.max(1000, Math.min(10000, cct));\n};\nexports.getTemperature = getTemperature;\n","\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __exportStar = (this && this.__exportStar) || function(m, exports) {\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__exportStar(require(\"./adjust-brightness\"), exports);\n__exportStar(require(\"./adjust-hue\"), exports);\n__exportStar(require(\"./adjust-saturation\"), exports);\n__exportStar(require(\"./apply-greyscale\"), exports);\n__exportStar(require(\"./apply-sepia\"), exports);\n__exportStar(require(\"./blend-colors\"), exports);\n__exportStar(require(\"./blend-multiple-colors\"), exports);\n__exportStar(require(\"./calculate-contrast\"), exports);\n__exportStar(require(\"./calculate-similarity\"), exports);\n__exportStar(require(\"./change-opacity\"), exports);\n__exportStar(require(\"./color\"), exports);\n__exportStar(require(\"./convert-color\"), exports);\n__exportStar(require(\"./extract-opacity\"), exports);\n__exportStar(require(\"./generate-multi-stepped-gradient\"), exports);\n__exportStar(require(\"./generate-stepped-gradient\"), exports);\n__exportStar(require(\"./get-color-format\"), exports);\n__exportStar(require(\"./get-luminance\"), exports);\n__exportStar(require(\"./get-temperature\"), exports);\n__exportStar(require(\"./invert-color\"), exports);\n__exportStar(require(\"./is-dark\"), exports);\n__exportStar(require(\"./is-light\"), exports);\n__exportStar(require(\"./is-valid-color\"), exports);\n__exportStar(require(\"./opposite-color\"), exports);\n__exportStar(require(\"./parse-color-numbers\"), exports);\n__exportStar(require(\"./random-color\"), exports);\n__exportStar(require(\"./shade\"), exports);\n__exportStar(require(\"./tint\"), exports);\n__exportStar(require(\"./types\"), exports);\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.invertColor = void 0;\nconst convert_color_1 = require(\"./convert-color\");\nconst get_color_format_1 = require(\"./get-color-format\");\nconst types_1 = require(\"./types\");\n/**\n * Inverts the given color, producing its opposite in the color spectrum.\n *\n * @param {string} color - The color to be inverted, specified as a string in a recognized format.\n * This could be a hexadecimal code, RGB(A) notation, or any other format supported by `getColorFormat`.\n * If an invalid color format is provided, white (#FFFFFF) will be used as a fallback.\n *\n * @returns {string} - The inverted color, represented in the same format as the input.\n * If the input color format was invalid, returns the inverted white color in the same format.\n *\n * Example usage:\n * invertColor('#FFFFFF'); // returns '#000000', inverting white to black.\n * invertColor('rgb(255, 0, 0)'); // returns 'rgb(0, 255, 255)', inverting red to cyan.\n * invertColor('invalidColor'); // uses white as fallback and returns '#000000'.\n */\nconst invertColor = (color) => {\n const colorFormat = (0, get_color_format_1.getColorFormat)(color);\n // Use white as fallback if color format is invalid\n const validColor = colorFormat ? color : '#FFFFFF';\n const targetFormat = colorFormat || types_1.ColorFormat.HEX;\n let [r, g, b] = (0, convert_color_1.convertColor)(validColor, types_1.ColorFormat.RGB).match(/\\d+/g).map(Number);\n r = 255 - r;\n g = 255 - g;\n b = 255 - b;\n return (0, convert_color_1.convertColor)(`rgb(${[r, g, b].join(', ')})`, targetFormat);\n};\nexports.invertColor = invertColor;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.isDark = void 0;\nconst get_luminance_1 = require(\"./get-luminance\");\n/**\n * Determines if a given color is considered dark.\n *\n * @param {string} color - The color in any supported format.\n *\n * @returns {boolean} True if the color is dark, false otherwise.\n *\n * Example usage:\n * isDark('#ff0000'); // Returns true as red is considered a dark color.\n */\nconst isDark = (color) => {\n return (0, get_luminance_1.getLuminance)(color) <= 0.5;\n};\nexports.isDark = isDark;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.isLight = void 0;\nconst get_luminance_1 = require(\"./get-luminance\");\n/**\n * Determines if a given color is considered light.\n *\n * @param {string} color - The color in any supported format.\n *\n * @returns {boolean} True if the color is light, false otherwise.\n *\n * Example usage:\n * isLight('#ff0000'); // Returns false as red is not considered a light color.\n */\nconst isLight = (color) => {\n return (0, get_luminance_1.getLuminance)(color) > 0.5;\n};\nexports.isLight = isLight;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.isValidCMYKColor = exports.isValidHSVColor = exports.isValidHSLAColor = exports.isValidHSLColor = exports.isValidRGBAColor = exports.isValidRGBColor = exports.isValidHEXAColor = exports.isValidHEXColor = exports.isValidColor = void 0;\n/**\n * Determines whether a given string is a valid HEX color.\n * A valid HEX color must start with a '#' followed by exactly\n * three or six hexadecimal characters (0-9, a-f, or A-F).\n *\n * @param {string} color - The color string to be validated.\n *\n * @returns {boolean} - True if the string is a valid HEX color, false otherwise.\n *\n * Example usage:\n * isValidHEXAColor('#FFF'); // returns true\n * isValidHEXAColor('#FFFFFF'); // returns true\n * isValidHEXAColor('#123ABC'); // returns true\n * isValidHEXAColor('#GGG'); // returns false, contains incorrect characters\n * isValidHEXAColor('123456'); // returns false, missing starting #\n * isValidHEXAColor('#12345'); // returns false, invalid length\n */\nconst isValidHEXColor = (color) => {\n const regex = /^#(?:[0-9a-fA-F]{3}){1,2}$/;\n return regex.test(color);\n};\nexports.isValidHEXColor = isValidHEXColor;\n/**\n * Determines whether a given string is a valid HEXA color code.\n * HEXA color codes are similar to HEX codes but include an additional alpha\n * value to specify transparency. They consist of a pound symbol (#) followed\n * by either 4 or 8 hexadecimal characters (0-9, a-f, A-F). The first three\n * (or six) characters represent the RGB color, and the last character (or two)\n * represents the alpha (transparency) value.\n *\n * @param {string} color - The color string to be validated.\n *\n * @returns {boolean} - True if the string is a valid HEXA color code, false otherwise.\n *\n * Example usage:\n * isValidHEXAColor('#FA3E'); // returns true\n * isValidHEXAColor('#FA3EF8'); // returns true\n * isValidHEXAColor('#FA3EF812'); // returns true\n * isValidHEXAColor('#FA3E12'); // returns false, as it lacks the alpha value for a 6-character code\n * isValidHEXAColor('FA3EF8'); // returns false, missing starting #\n */\nconst isValidHEXAColor = (color) => {\n const regex = /^#(?:[0-9a-fA-F]{4}){1,2}$/;\n return regex.test(color);\n};\nexports.isValidHEXAColor = isValidHEXAColor;\n/**\n * Checks if a given string is a valid representation of an RGB color.\n * An RGB color is specified as 'rgb(x, y, z)' where x, y, and z are integers\n * representing the red, green, and blue color components, respectively.\n * Each component must be within the range of 0 to 255.\n *\n * @param {string} color - The color string to be validated.\n *\n * @returns {boolean} - True if the string is a valid RGB color format and all color components\n * are within the specified range; otherwise, false.\n *\n * Example usage:\n * isValidRGBColor('rgb(255, 99, 71)'); // returns true\n * isValidRGBColor('rgb(256, -1, 300)'); // returns false, components are out of bounds\n * isValidRGBColor('rgb(25, 99, 71)'); // returns true\n * isValidRGBColor('rgb(255,255,255)'); // returns true\n */\nconst isValidRGBColor = (color) => {\n var _a;\n const regex = /^rgb\\((\\d{1,3}),\\s*(\\d{1,3}),\\s*(\\d{1,3})\\)$/;\n if (!regex.test(color)) {\n return false;\n }\n const match = (_a = color.match(regex)) === null || _a === void 0 ? void 0 : _a.map(Number);\n if (!match) {\n return false;\n }\n const [, r, g, b] = match;\n return [r, g, b].every((value) => value >= 0 && value <= 255);\n};\nexports.isValidRGBColor = isValidRGBColor;\n/**\n * Validates if a given string is a correct representation of an RGBA color.\n * An RGBA color is specified as 'rgba(x, y, z, a)' where x, y, and z are integers\n * representing the red, green, and blue components of the color, respectively,\n * each ranging from 0 to 255. The 'a' component is a floating-point number\n * representing the opacity, ranging from 0.0 (completely transparent) to 1.0 (fully opaque),\n * inclusive.\n *\n * @param {string} color - The color string to be validated.\n *\n * @returns {boolean} - True if the color string is a valid RGBA format and all components\n * (red, green, blue, alpha) are within their respective ranges; false otherwise.\n *\n * Example usage:\n * isValidRGBAColor('rgba(255, 99, 71, 0.5)'); // returns true\n * isValidRGBAColor('rgba(255, 99, 71, 1.1)'); // returns false, alpha value is out of bounds\n * isValidRGBAColor('rgba(255, 99, 71, -0.1)'); // returns false, negative alpha value\n */\nconst isValidRGBAColor = (color) => {\n var _a;\n const regex = /^rgba\\((\\d{1,3}),\\s*(\\d{1,3}),\\s*(\\d{1,3}),\\s*(0|1|0?\\.\\d+|1?\\.\\d+)\\)$/;\n if (!regex.test(color)) {\n return false;\n }\n const match = (_a = color.match(regex)) === null || _a === void 0 ? void 0 : _a.map(Number);\n if (!match) {\n return false;\n }\n const [, r, g, b, a] = match;\n return [r, g, b].every((value) => value >= 0 && value <= 255) && a >= 0 && a <= 1;\n};\nexports.isValidRGBAColor = isValidRGBAColor;\n/**\n * Validates if a given string accurately represents a color in the HSL format.\n * HSL stands for Hue, Saturation, and Lightness, and colors in this format are\n * specified as 'hsl(h, s%, l%)', where h is the hue (0 to 360 degrees), s is the saturation\n * (0% to 100%), and l is the lightness (0% to 100%).\n *\n * @param {string} color - The color string to be validated.\n *\n * @returns {boolean} - True if the color string is a valid HSL format and all components\n * (hue, saturation, lightness) are within their respective ranges; false otherwise.\n *\n * Example usage:\n * isValidHSLColor('hsl(120, 50%, 50%)'); // returns true\n * isValidHSLColor('hsl(370, 50%, 50%)'); // returns false, hue is out of bounds\n * isValidHSLColor('hsl(120, 101%, 50%)'); // returns false, saturation is out of bounds\n */\nconst isValidHSLColor = (color) => {\n var _a;\n const regex = /^hsl\\((\\d{1,3}),\\s*(\\d{1,3})%,\\s*(\\d{1,3})%\\)$/;\n if (!regex.test(color)) {\n return false;\n }\n const match = (_a = color.match(regex)) === null || _a === void 0 ? void 0 : _a.map(Number);\n if (!match) {\n return false;\n }\n const [, h, s, l] = match;\n return h >= 0 && h <= 360 && s >= 0 && s <= 100 && l >= 0 && l <= 100;\n};\nexports.isValidHSLColor = isValidHSLColor;\n/**\n * Validates if a given string is a correct representation of an HSLA color.\n * HSLA color notation includes hue (0 to 360 degrees), saturation (0% to 100%),\n * lightness (0% to 100%), and alpha (0.0 to 1.0 for transparency level).\n *\n * @param {string} color - The color string to be validated.\n *\n * @returns {boolean} - True if the color string matches the HSLA format and all\n * components (hue, saturation, lightness, alpha) fall within\n * their respective allowable ranges; false otherwise.\n *\n * Example usage:\n * isValidHSLAColor('hsla(210, 100%, 50%, 0.5)'); // returns true\n * isValidHSLAColor('hsla(210, 100%, 50%, 1.1)'); // returns false, alpha value out of bounds\n * isValidHSLAColor('hsla(360, 50%, 50%, 0)'); // returns true\n */\nconst isValidHSLAColor = (color) => {\n var _a;\n const regex = /^hsla\\((\\d{1,3}),\\s*(\\d{1,3})%,\\s*(\\d{1,3})%,\\s*(0|1|0?\\.\\d+)\\)$/;\n if (!regex.test(color)) {\n return false;\n }\n const match = (_a = color.match(regex)) === null || _a === void 0 ? void 0 : _a.map(Number);\n if (!match) {\n return false;\n }\n const [, h, s, l, a] = match;\n return h >= 0 && h <= 360 && s >= 0 && s <= 100 && l >= 0 && l <= 100 && a >= 0 && a <= 1;\n};\nexports.isValidHSLAColor = isValidHSLAColor;\n/**\n * Validates if a given string is a correct representation of a CMYK color.\n * CMYK colors are defined with four components: Cyan, Magenta, Yellow, and Key (Black),\n * each represented as a percentage from 0% to 100%.\n *\n * @param {string} color - The color string to be validated.\n *\n * @returns {boolean} - True if the color string matches the CMYK format and all components\n * (Cyan, Magenta, Yellow, Key) are within the 0% to 100% range; false otherwise.\n *\n * Example usage:\n * isValidCMYKColor('cmyk(0%, 100%, 0%, 0%)'); // returns true for pure magenta\n * isValidCMYKColor('cmyk(101%, 0%, 0%, 0%)'); // returns false, cyan value out of bounds\n * isValidCMYKColor('cmyk(50%, 50%, 50%, 50%)'); // returns true for a mid-tone color\n */\nconst isValidCMYKColor = (color) => {\n var _a;\n const regex = /^cmyk\\((\\d{1,3})%,\\s*(\\d{1,3})%,\\s*(\\d{1,3})%,\\s*(\\d{1,3})%\\)$/;\n if (!regex.test(color)) {\n return false;\n }\n const match = (_a = color.match(regex)) === null || _a === void 0 ? void 0 : _a.map(Number);\n if (!match) {\n return false;\n }\n const [, c, m, y, k] = match;\n return [c, m, y, k].every(val => val >= 0 && val <= 100);\n};\nexports.isValidCMYKColor = isValidCMYKColor;\n/**\n * Validates whether a given string is a correct representation of an HSV color.\n * HSV stands for Hue, Saturation, and Value, where Hue is measured in degrees (0 to 360),\n * and both Saturation and Value are presented as percentages (0% to 100%).\n *\n * @param {string} color - The color string to be validated.\n *\n * @returns {boolean} - True if the color string adheres to the HSV format and all components\n * (hue, saturation, value) are within their designated ranges; otherwise, false.\n *\n * Example usage:\n * isValidHSVColor('hsv(120, 100%, 100%)'); // returns true for pure green\n * isValidHSVColor('hsv(361, 50%, 50%)'); // returns false, hue is out of bounds\n * isValidHSVColor('hsv(240, 100%, 50%)'); // returns true for a medium blue\n */\nconst isValidHSVColor = (color) => {\n var _a;\n const regex = /^hsv\\((\\d{1,3}),\\s*(\\d{1,3})%,\\s*(\\d{1,3})%\\)$/i;\n if (!regex.test(color)) {\n return false;\n }\n const match = (_a = color.match(regex)) === null || _a === void 0 ? void 0 : _a.map(Number);\n if (!match) {\n return false;\n }\n const [, h, s, v] = match;\n return h >= 0 && h <= 360 && s >= 0 && s <= 100 && v >= 0 && v <= 100;\n};\nexports.isValidHSVColor = isValidHSVColor;\n/**\n * Validates a given color string against multiple color formats.\n * This function consolidates various specific color format validators,\n * including HEX, HEXA, RGB, RGBA, HSL, HSLA, HSV, and CMYK, to determine\n * if the color string conforms to any of these recognized formats.\n *\n * @param {string} color - The color string to be validated.\n *\n * @returns {boolean} - True if the color string is valid in at least one of the supported\n * color formats; false otherwise.\n *\n * Example usage:\n * isValidColor('#FF5733'); // returns true for a valid HEX color.\n * isValidColor('rgb(255, 99, 71)'); // returns true for a valid RGB color.\n * isValidColor('cmyk(0%, 100%, 100%, 0%)'); // returns true for a valid CMYK color.\n * isValidColor('invalidColor'); // returns false, does not match any supported format.\n */\nconst isValidColor = (color) => {\n const validators = [\n isValidHEXColor,\n isValidHEXAColor,\n isValidRGBColor,\n isValidRGBAColor,\n isValidHSLColor,\n isValidHSLAColor,\n isValidHSVColor,\n isValidCMYKColor,\n ];\n return validators.some((validator) => validator(color));\n};\nexports.isValidColor = isValidColor;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.oppositeColor = void 0;\nconst adjust_hue_1 = require(\"./adjust-hue\");\n/**\n * Computes the opposite color (complementary color) by adjusting the hue by 180 degrees.\n *\n * @param {string} color - The color to find the opposite for, provided in a format recognized by `getColorFormat`.\n * This could be in formats like HEX, RGB, or named colors, among others.\n *\n * @returns {string} - The opposite color, in the same format as the input color.\n *\n * @throws {Error} - If the input color's format is invalid or unrecognized, an error is thrown.\n *\n * Example usage:\n * oppositeColor('#00FF00'); // returns the opposite color of a bright green.\n * oppositeColor('rgb(255, 0, 0)'); // returns the opposite color of red.\n */\nconst oppositeColor = (color) => {\n return (0, adjust_hue_1.adjustHue)(color, 180);\n};\nexports.oppositeColor = oppositeColor;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.parseColorNumbers = void 0;\nconst convert_color_1 = require(\"./convert-color\");\nconst get_color_format_1 = require(\"./get-color-format\");\nconst types_1 = require(\"./types\");\n/**\n * Converts a given color to an object containing the numerical values of its components.\n * The function supports conversion to RGB, RGBA, HSL, or HSLA format.\n *\n * @param {string} color - The color string to parse.\n * If an invalid color format is provided, white (#FFFFFF) will be used as a fallback.\n * @param {ColorFormat.RGB | ColorFormat.RGBA | ColorFormat.HSL | ColorFormat.HSLA} format - The desired format for the output.\n *\n * @returns {RGB | RGBA | HSL | HSLA} An object containing the numerical values of the color components.\n * If the input color format was invalid, returns white color values in the specified format.\n */\nconst parseColorNumbers = (color, format) => {\n if (![types_1.ColorFormat.RGB, types_1.ColorFormat.RGBA, types_1.ColorFormat.HSL, types_1.ColorFormat.HSLA].some((colorFormat) => colorFormat === format)) {\n throw new Error('Invalid format specified');\n }\n const colorFormat = (0, get_color_format_1.getColorFormat)(color);\n // Use white as fallback if color format is invalid\n const validColor = colorFormat ? color : '#FFFFFF';\n let convertedColor = (0, convert_color_1.convertColor)(validColor, format);\n let matches = convertedColor.match(/\\d+(\\.\\d+)?/g);\n if (!matches) {\n throw new Error('Color conversion failed');\n }\n let values = matches.map(Number);\n switch (format) {\n case 'rgb':\n case 'rgba':\n return Object.assign({ r: values[0], g: values[1], b: values[2] }, (values.length > 3 && { a: values[3] }));\n case 'hsl':\n case 'hsla':\n return Object.assign({ h: values[0], s: values[1], l: values[2] }, (values.length > 3 && { a: values[3] }));\n default:\n throw new Error('Invalid format specified');\n }\n};\nexports.parseColorNumbers = parseColorNumbers;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.randomColor = void 0;\nconst convert_color_1 = require(\"./convert-color\");\nconst types_1 = require(\"./types\");\n/**\n * Generates a random color in the specified format.\n *\n * @param {ColorFormat} format - The desired color format (hex, hexa, rgb, rgba, hsl, hsla, hsv, cmyk).\n * Default is 'hex'.\n *\n * @returns {string} - The random color in the specified format.\n *\n * Example usage:\n * randomColor(); // Returns a random color in HEX format.\n * randomColor(ColorFormat.RGB); // Returns a random color in RGB format.\n */\nconst randomColor = (format = types_1.ColorFormat.HEX) => {\n const getRandomInt = (max) => Math.floor(Math.random() * (max + 1));\n const r = getRandomInt(255);\n const g = getRandomInt(255);\n const b = getRandomInt(255);\n const a = Math.random().toFixed(2);\n const baseColor = `rgba(${r}, ${g}, ${b}, ${a})`;\n return (0, convert_color_1.convertColor)(baseColor, format);\n};\nexports.randomColor = randomColor;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.shade = void 0;\nconst blend_colors_1 = require(\"./blend-colors\");\n/**\n * Creates a shade of the given color by mixing it with black.\n *\n * @param {string} color - The color to be shaded, in hexadecimal format.\n * @param {number} weight - The percentage of black to mix into the color, between 0 and 1.\n * @returns {string} The shaded color in hexadecimal format.\n *\n * Example usage:\n * const darkRed = shade(\"#ff0000\", 0.5); // Mixes red with 50% black\n */\nconst shade = (color, weight) => {\n return (0, blend_colors_1.blendColors)(color, '#000000', weight);\n};\nexports.shade = shade;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.tint = void 0;\nconst blend_colors_1 = require(\"./blend-colors\");\n/**\n * Creates a tint of the given color by mixing it with white.\n *\n * @param {string} color - The color to be tinted, in hexadecimal format.\n * @param {number} weight - The percentage of white to mix into the color, between 0 and 1.\n *\n * @returns {string} The tinted color in hexadecimal format.\n *\n * Example usage:\n * const lightRed = tint(\"#ff0000\", 0.5); // Mixes red with 50% white\n */\nconst tint = (color, weight) => {\n return (0, blend_colors_1.blendColors)(color, '#FFFFFF', weight);\n};\nexports.tint = tint;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.BaseColorFormat = exports.ColorFormat = void 0;\nvar ColorFormat;\n(function (ColorFormat) {\n ColorFormat[\"HEX\"] = \"hex\";\n ColorFormat[\"HEXA\"] = \"hexa\";\n ColorFormat[\"RGB\"] = \"rgb\";\n ColorFormat[\"RGBA\"] = \"rgba\";\n ColorFormat[\"HSL\"] = \"hsl\";\n ColorFormat[\"HSLA\"] = \"hsla\";\n ColorFormat[\"CMYK\"] = \"cmyk\";\n ColorFormat[\"HSV\"] = \"hsv\";\n})(ColorFormat || (exports.ColorFormat = ColorFormat = {}));\nconst BaseColorFormat = ColorFormat.RGBA;\nexports.BaseColorFormat = BaseColorFormat;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.rgbaToRGB = exports.rgbaToHexa = exports.rgbaToHex = exports.rgbaToHSV = exports.rgbaToHSLA = exports.rgbaToHSL = exports.rgbaToCMYK = exports.rgbToRGBA = exports.hsvToRGBA = exports.hslaToRGBA = exports.hslToRGBA = exports.hexaToRGBA = exports.hexToRGBA = exports.cmykToRGBA = void 0;\nconst hexToRGBA = (color) => {\n let r = 0, g = 0, b = 0, a = 1;\n if (color.length === 4) {\n r = parseInt(color[1] + color[1], 16);\n g = parseInt(color[2] + color[2], 16);\n b = parseInt(color[3] + color[3], 16);\n }\n else if (color.length === 7) {\n r = parseInt(color[1] + color[2], 16);\n g = parseInt(color[3] + color[4], 16);\n b = parseInt(color[5] + color[6], 16);\n }\n return `rgba(${r}, ${g}, ${b}, ${a})`;\n};\nexports.hexToRGBA = hexToRGBA;\nconst hexaToRGBA = (color) => {\n let r = 0, g = 0, b = 0, a = 1;\n if (color.length === 9) {\n r = parseInt(color[1] + color[2], 16);\n g = parseInt(color[3] + color[4], 16);\n b = parseInt(color[5] + color[6], 16);\n a = Math.round(parseInt(color[7] + color[8], 16) / 255 * 100) / 100;\n }\n return `rgba(${r}, ${g}, ${b}, ${a})`;\n};\nexports.hexaToRGBA = hexaToRGBA;\nconst rgbToRGBA = (color) => {\n return color.replace(')', ', 1)').replace('rgb', 'rgba');\n};\nexports.rgbToRGBA = rgbToRGBA;\nconst hslToRGBA = (color) => {\n const [h, s, l] = color.match(/\\d+/g).map(Number);\n const saturation = s / 100;\n const lightness = l / 100;\n let c = (1 - Math.abs(2 * lightness - 1)) * saturation;\n let x = c * (1 - Math.abs((h / 60) % 2 - 1));\n let m = lightness - c / 2;\n let r = 0;\n let g = 0;\n let b = 0;\n if (0 <= h && h < 60) {\n r = c;\n g = x;\n b = 0;\n }\n else if (60 <= h && h < 120) {\n r = x;\n g = c;\n b = 0;\n }\n else if (120 <= h && h < 180) {\n r = 0;\n g = c;\n b = x;\n }\n else if (180 <= h && h < 240) {\n r = 0;\n g = x;\n b = c;\n }\n else if (240 <= h && h < 300) {\n r = x;\n g = 0;\n b = c;\n }\n else if (300 <= h && h < 360) {\n r = c;\n g = 0;\n b = x;\n }\n else if (h === 360) {\n r = c;\n g = 0;\n b = x;\n }\n r = Math.round((r + m) * 255);\n g = Math.round((g + m) * 255);\n b = Math.round((b + m) * 255);\n const a = 1;\n return `rgba(${r}, ${g}, ${b}, ${a})`;\n};\nexports.hslToRGBA = hslToRGBA;\nconst hslaToRGBA = (color) => {\n const [h, s, l, a] = color.match(/\\d+(\\.\\d+)?/g).map(Number);\n const saturation = s / 100;\n const lightness = l / 100;\n let c = (1 - Math.abs(2 * lightness - 1)) * saturation;\n let x = c * (1 - Math.abs((h / 60) % 2 - 1));\n let m = lightness - c / 2;\n let r = 0;\n let g = 0;\n let b = 0;\n if (0 <= h && h < 60) {\n r = c;\n g = x;\n b = 0;\n }\n else if (60 <= h && h < 120) {\n r = x;\n g = c;\n b = 0;\n }\n else if (120 <= h && h < 180) {\n r = 0;\n g = c;\n b = x;\n }\n else if (180 <= h && h < 240) {\n r = 0;\n g = x;\n b = c;\n }\n else if (240 <= h && h < 300) {\n r = x;\n g = 0;\n b = c;\n }\n else if (300 <= h && h < 360) {\n r = c;\n g = 0;\n b = x;\n }\n else if (h === 360) {\n r = c;\n g = 0;\n b = x;\n }\n r = Math.round((r + m) * 255);\n g = Math.round((g + m) * 255);\n b = Math.round((b + m) * 255);\n return `rgba(${r}, ${g}, ${b}, ${a})`;\n};\nexports.hslaToRGBA = hslaToRGBA;\nconst cmykToRGBA = (color) => {\n let [c, m, y, k] = color.match(/(\\d+(\\.\\d+)?%)/g).map((value) => parseFloat(value) / 100);\n let r = 255 * (1 - c) * (1 - k);\n let g = 255 * (1 - m) * (1 - k);\n let b = 255 * (1 - y) * (1 - k);\n r = Math.round(r);\n g = Math.round(g);\n b = Math.round(b);\n const a = 1;\n return `rgba(${r}, ${g}, ${b}, ${a})`;\n};\nexports.cmykToRGBA = cmykToRGBA;\nconst hsvToRGBA = (color) => {\n let [h, s, v] = color.match(/\\d+(\\.\\d+)?/g).map(Number);\n let r, g, b, i, f, p, q, t;\n const saturation = s / 100;\n const value = v / 100;\n if (saturation === 0) {\n r = g = b = value;\n return `rgba(${Math.round(r * 255)}, ${Math.round(g * 255)}, ${Math.round(b * 255)}, 1)`;\n }\n h /= 60;\n i = Math.floor(h);\n f = h - i;\n p = value * (1 - saturation);\n q = value * (1 - saturation * f);\n t = value * (1 - saturation * (1 - f));\n switch (i) {\n case 0:\n r = value;\n g = t;\n b = p;\n break;\n case 1:\n r = q;\n g = value;\n b = p;\n break;\n case 2:\n r = p;\n g = value;\n b = t;\n break;\n case 3:\n r = p;\n g = q;\n b = value;\n break;\n case 4:\n r = t;\n g = p;\n b = value;\n break;\n default: // case 5:\n r = value;\n g = p;\n b = q;\n }\n return `rgba(${Math.round(r * 255)}, ${Math.round(g * 255)}, ${Math.round(b * 255)}, 1)`;\n};\nexports.hsvToRGBA = hsvToRGBA;\nconst rgbaToHex = (rgba) => {\n const [r, g, b] = rgba.match(/\\d+/g).map(Number);\n const rHex = r.toString(16).padStart(2, '0');\n const gHex = g.toString(16).padStart(2, '0');\n const bHex = b.toString(16).padStart(2, '0');\n return `#${rHex}${gHex}${bHex}`.toLowerCase();\n};\nexports.rgbaToHex = rgbaToHex;\nconst rgbaToHexa = (rgba) => {\n const [r, g, b, a] = rgba.match(/\\d+(\\.\\d+)?/g).map(Number);\n const alphaHex = Math.round(a * 255).toString(16).padStart(2, '0');\n const rHex = r.toString(16).padStart(2, '0');\n const gHex = g.toString(16).padStart(2, '0');\n const bHex = b.toString(16).padStart(2, '0');\n return `#${rHex}${gHex}${bHex}${alphaHex}`.toLowerCase();\n};\nexports.rgbaToHexa = rgbaToHexa;\nconst rgbaToRGB = (rgba) => {\n const [r, g, b] = rgba.match(/\\d+/g).map(Number).slice(0, 3);\n return `rgb(${r}, ${g}, ${b})`;\n};\nexports.rgbaToRGB = rgbaToRGB;\nconst rgbaToHSL = (rgba) => {\n let [r, g, b] = rgba.match(/\\d+/g).map(Number).map((value) => value / 255);\n const max = Math.max(r, g, b), min = Math.min(r, g, b);\n let h, s, l = (max + min) / 2;\n if (max === min) {\n h = s = 0;\n }\n else {\n const d = max - min;\n s = l > 0.5 ? d / (2 - max - min) : d / (max + min);\n switch (max) {\n case r:\n h = (g - b) / d + (g < b ? 6 : 0);\n break;\n case g:\n h = (b - r) / d + 2;\n break;\n case b:\n h = (r - g) / d + 4;\n break;\n default:\n h = 0;\n break;\n }\n h /= 6;\n }\n return `hsl(${Math.round(h * 360) % 360}, ${Math.round(s * 100)}%, ${Math.round(l * 100)}%)`;\n};\nexports.rgbaToHSL = rgbaToHSL;\nconst rgbaToHSLA = (rgba) => {\n let [r, g, b, a] = rgba.match(/\\d+(\\.\\d+)?/g).map(Number);\n r /= 255;\n g /= 255;\n b /= 255;\n const max = Math.max(r, g, b), min = Math.min(r, g, b);\n let h, s, l = (max + min) / 2;\n if (max === min) {\n h = s = 0;\n }\n else {\n const d = max - min;\n s = l > 0.5 ? d / (2 - max - min) : d / (max + min);\n switch (max) {\n case r:\n h = (g - b) / d + (g < b ? 6 : 0);\n break;\n case g:\n h = (b - r) / d + 2;\n break;\n case b:\n h = (r - g) / d + 4;\n break;\n default:\n h = 0;\n break;\n }\n h /= 6;\n }\n return `hsla(${Math.round(h * 360)}, ${Math.round(s * 100)}%, ${Math.round(l * 100)}%, ${a})`;\n};\nexports.rgbaToHSLA = rgbaToHSLA;\nconst rgbaToCMYK = (rgba) => {\n let [r, g, b] = rgba.match(/\\d+/g).map(Number).map((value) => value / 255);\n const k = 1 - Math.max(r, g, b);\n const c = (1 - r - k) / (1 - k) || 0;\n const m = (1 - g - k) / (1 - k) || 0;\n const y = (1 - b - k) / (1 - k) || 0;\n return `cmyk(${Math.round(c * 100)}%, ${Math.round(m * 100)}%, ${Math.round(y * 100)}%, ${Math.round(k * 100)}%)`;\n};\nexports.rgbaToCMYK = rgbaToCMYK;\nconst rgbaToHSV = (rgba) => {\n let [r, g, b] = rgba.match(/\\d+/g).map(Number).map((value) => value / 255);\n const max = Math.max(r, g, b);\n const min = Math.min(r, g, b);\n const delta = max - min;\n let h, s, v = max;\n if (delta === 0) {\n h = 0;\n }\n else if (max === r) {\n h = 60 * (((g - b) / delta) % 6);\n }\n else if (max === g) {\n h = 60 * (((b - r) / delta) + 2);\n }\n else {\n h = 60 * (((r - g) / delta) + 4);\n }\n h = h < 0 ? h + 360 : h;\n s = max === 0 ? 0 : (delta / max);\n return `hsv(${Math.round(h)}, ${Math.round(s * 100)}%, ${Math.round(v * 100)}%)`;\n};\nexports.rgbaToHSV = rgbaToHSV;\n","import * as React from 'react';\nexport const defaultPrefixCls = 'ant';\nexport const defaultIconPrefixCls = 'anticon';\nexport const Variants = ['outlined', 'borderless', 'filled', 'underlined'];\nconst defaultGetPrefixCls = (suffixCls, customizePrefixCls) => {\n if (customizePrefixCls) {\n return customizePrefixCls;\n }\n return suffixCls ? `${defaultPrefixCls}-${suffixCls}` : defaultPrefixCls;\n};\n// zombieJ: 🚨 Do not pass `defaultRenderEmpty` here since it will cause circular dependency.\nexport const ConfigContext = /*#__PURE__*/React.createContext({\n // We provide a default function for Context without provider\n getPrefixCls: defaultGetPrefixCls,\n iconPrefixCls: defaultIconPrefixCls\n});\nexport const {\n Consumer: ConfigConsumer\n} = ConfigContext;\nconst EMPTY_OBJECT = {};\n/**\n * Get ConfigProvider configured component props.\n * This help to reduce bundle size for saving `?.` operator.\n * Do not use as `useMemo` deps since we do not cache the object here.\n *\n * NOTE: not refactor this with `useMemo` since memo will cost another memory space,\n * which will waste both compare calculation & memory.\n */\nexport function useComponentConfig(propName) {\n const context = React.useContext(ConfigContext);\n const {\n getPrefixCls,\n direction,\n getPopupContainer,\n renderEmpty\n } = context;\n const propValue = context[propName];\n return {\n classNames: EMPTY_OBJECT,\n styles: EMPTY_OBJECT,\n ...propValue,\n getPrefixCls,\n direction,\n getPopupContainer,\n renderEmpty\n };\n}","/*\nobject-assign\n(c) Sindre Sorhus\n@license MIT\n*/\n\n'use strict';\n/* eslint-disable no-unused-vars */\nvar getOwnPropertySymbols = Object.getOwnPropertySymbols;\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\nvar propIsEnumerable = Object.prototype.propertyIsEnumerable;\n\nfunction toObject(val) {\n\tif (val === null || val === undefined) {\n\t\tthrow new TypeError('Object.assign cannot be called with null or undefined');\n\t}\n\n\treturn Object(val);\n}\n\nfunction shouldUseNative() {\n\ttry {\n\t\tif (!Object.assign) {\n\t\t\treturn false;\n\t\t}\n\n\t\t// Detect buggy property enumeration order in older V8 versions.\n\n\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=4118\n\t\tvar test1 = new String('abc'); // eslint-disable-line no-new-wrappers\n\t\ttest1[5] = 'de';\n\t\tif (Object.getOwnPropertyNames(test1)[0] === '5') {\n\t\t\treturn false;\n\t\t}\n\n\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=3056\n\t\tvar test2 = {};\n\t\tfor (var i = 0; i < 10; i++) {\n\t\t\ttest2['_' + String.fromCharCode(i)] = i;\n\t\t}\n\t\tvar order2 = Object.getOwnPropertyNames(test2).map(function (n) {\n\t\t\treturn test2[n];\n\t\t});\n\t\tif (order2.join('') !== '0123456789') {\n\t\t\treturn false;\n\t\t}\n\n\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=3056\n\t\tvar test3 = {};\n\t\t'abcdefghijklmnopqrst'.split('').forEach(function (letter) {\n\t\t\ttest3[letter] = letter;\n\t\t});\n\t\tif (Object.keys(Object.assign({}, test3)).join('') !==\n\t\t\t\t'abcdefghijklmnopqrst') {\n\t\t\treturn false;\n\t\t}\n\n\t\treturn true;\n\t} catch (err) {\n\t\t// We don't expect any of the above to throw, but better to be safe.\n\t\treturn false;\n\t}\n}\n\nmodule.exports = shouldUseNative() ? Object.assign : function (target, source) {\n\tvar from;\n\tvar to = toObject(target);\n\tvar symbols;\n\n\tfor (var s = 1; s < arguments.length; s++) {\n\t\tfrom = Object(arguments[s]);\n\n\t\tfor (var key in from) {\n\t\t\tif (hasOwnProperty.call(from, key)) {\n\t\t\t\tto[key] = from[key];\n\t\t\t}\n\t\t}\n\n\t\tif (getOwnPropertySymbols) {\n\t\t\tsymbols = getOwnPropertySymbols(from);\n\t\t\tfor (var i = 0; i < symbols.length; i++) {\n\t\t\t\tif (propIsEnumerable.call(from, symbols[i])) {\n\t\t\t\t\tto[symbols[i]] = from[symbols[i]];\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\treturn to;\n};\n","/* global Map:readonly, Set:readonly, ArrayBuffer:readonly */\n\nvar hasElementType = typeof Element !== 'undefined';\nvar hasMap = typeof Map === 'function';\nvar hasSet = typeof Set === 'function';\nvar hasArrayBuffer = typeof ArrayBuffer === 'function' && !!ArrayBuffer.isView;\n\n// Note: We **don't** need `envHasBigInt64Array` in fde es6/index.js\n\nfunction equal(a, b) {\n // START: fast-deep-equal es6/index.js 3.1.3\n if (a === b) return true;\n\n if (a && b && typeof a == 'object' && typeof b == 'object') {\n if (a.constructor !== b.constructor) return false;\n\n var length, i, keys;\n if (Array.isArray(a)) {\n length = a.length;\n if (length != b.length) return false;\n for (i = length; i-- !== 0;)\n if (!equal(a[i], b[i])) return false;\n return true;\n }\n\n // START: Modifications:\n // 1. Extra `has<Type> &&` helpers in initial condition allow es6 code\n // to co-exist with es5.\n // 2. Replace `for of` with es5 compliant iteration using `for`.\n // Basically, take:\n //\n // ```js\n // for (i of a.entries())\n // if (!b.has(i[0])) return false;\n // ```\n //\n // ... and convert to:\n //\n // ```js\n // it = a.entries();\n // while (!(i = it.next()).done)\n // if (!b.has(i.value[0])) return false;\n // ```\n //\n // **Note**: `i` access switches to `i.value`.\n var it;\n if (hasMap && (a instanceof Map) && (b instanceof Map)) {\n if (a.size !== b.size) return false;\n it = a.entries();\n while (!(i = it.next()).done)\n if (!b.has(i.value[0])) return false;\n it = a.entries();\n while (!(i = it.next()).done)\n if (!equal(i.value[1], b.get(i.value[0]))) return false;\n return true;\n }\n\n if (hasSet && (a instanceof Set) && (b instanceof Set)) {\n if (a.size !== b.size) return false;\n it = a.entries();\n while (!(i = it.next()).done)\n if (!b.has(i.value[0])) return false;\n return true;\n }\n // END: Modifications\n\n if (hasArrayBuffer && ArrayBuffer.isView(a) && ArrayBuffer.isView(b)) {\n length = a.length;\n if (length != b.length) return false;\n for (i = length; i-- !== 0;)\n if (a[i] !== b[i]) return false;\n return true;\n }\n\n if (a.constructor === RegExp) return a.source === b.source && a.flags === b.flags;\n // START: Modifications:\n // Apply guards for `Object.create(null)` handling. See:\n // - https://github.com/FormidableLabs/react-fast-compare/issues/64\n // - https://github.com/epoberezkin/fast-deep-equal/issues/49\n if (a.valueOf !== Object.prototype.valueOf && typeof a.valueOf === 'function' && typeof b.valueOf === 'function') return a.valueOf() === b.valueOf();\n if (a.toString !== Object.prototype.toString && typeof a.toString === 'function' && typeof b.toString === 'function') return a.toString() === b.toString();\n // END: Modifications\n\n keys = Object.keys(a);\n length = keys.length;\n if (length !== Object.keys(b).length) return false;\n\n for (i = length; i-- !== 0;)\n if (!Object.prototype.hasOwnProperty.call(b, keys[i])) return false;\n // END: fast-deep-equal\n\n // START: react-fast-compare\n // custom handling for DOM elements\n if (hasElementType && a instanceof Element) return false;\n\n // custom handling for React/Preact\n for (i = length; i-- !== 0;) {\n if ((keys[i] === '_owner' || keys[i] === '__v' || keys[i] === '__o') && a.$$typeof) {\n // React-specific: avoid traversing React elements' _owner\n // Preact-specific: avoid traversing Preact elements' __v and __o\n // __v = $_original / $_vnode\n // __o = $_owner\n // These properties contain circular references and are not needed when\n // comparing the actual elements (and not their owners)\n // .$$typeof and ._store on just reasonable markers of elements\n\n continue;\n }\n\n // all other properties should be traversed as usual\n if (!equal(a[keys[i]], b[keys[i]])) return false;\n }\n // END: react-fast-compare\n\n // START: fast-deep-equal\n return true;\n }\n\n return a !== a && b !== b;\n}\n// end fast-deep-equal\n\nmodule.exports = function isEqual(a, b) {\n try {\n return equal(a, b);\n } catch (error) {\n if (((error.message || '').match(/stack|recursion/i))) {\n // warn on circular references, don't crash\n // browsers give this different errors name and messages:\n // chrome/safari: \"RangeError\", \"Maximum call stack size exceeded\"\n // firefox: \"InternalError\", too much recursion\"\n // edge: \"Error\", \"Out of stack space\"\n console.warn('react-fast-compare cannot handle circular refs');\n return false;\n }\n // some other error. we should definitely know about these\n throw error;\n }\n};\n","import PropTypes from 'prop-types';\nimport withSideEffect from 'react-side-effect';\nimport isEqual from 'react-fast-compare';\nimport React from 'react';\nimport objectAssign from 'object-assign';\n\nvar ATTRIBUTE_NAMES = {\n BODY: \"bodyAttributes\",\n HTML: \"htmlAttributes\",\n TITLE: \"titleAttributes\"\n};\n\nvar TAG_NAMES = {\n BASE: \"base\",\n BODY: \"body\",\n HEAD: \"head\",\n HTML: \"html\",\n LINK: \"link\",\n META: \"meta\",\n NOSCRIPT: \"noscript\",\n SCRIPT: \"script\",\n STYLE: \"style\",\n TITLE: \"title\"\n};\n\nvar VALID_TAG_NAMES = Object.keys(TAG_NAMES).map(function (name) {\n return TAG_NAMES[name];\n});\n\nvar TAG_PROPERTIES = {\n CHARSET: \"charset\",\n CSS_TEXT: \"cssText\",\n HREF: \"href\",\n HTTPEQUIV: \"http-equiv\",\n INNER_HTML: \"innerHTML\",\n ITEM_PROP: \"itemprop\",\n NAME: \"name\",\n PROPERTY: \"property\",\n REL: \"rel\",\n SRC: \"src\",\n TARGET: \"target\"\n};\n\nvar REACT_TAG_MAP = {\n accesskey: \"accessKey\",\n charset: \"charSet\",\n class: \"className\",\n contenteditable: \"contentEditable\",\n contextmenu: \"contextMenu\",\n \"http-equiv\": \"httpEquiv\",\n itemprop: \"itemProp\",\n tabindex: \"tabIndex\"\n};\n\nvar HELMET_PROPS = {\n DEFAULT_TITLE: \"defaultTitle\",\n DEFER: \"defer\",\n ENCODE_SPECIAL_CHARACTERS: \"encodeSpecialCharacters\",\n ON_CHANGE_CLIENT_STATE: \"onChangeClientState\",\n TITLE_TEMPLATE: \"titleTemplate\"\n};\n\nvar HTML_TAG_MAP = Object.keys(REACT_TAG_MAP).reduce(function (obj, key) {\n obj[REACT_TAG_MAP[key]] = key;\n return obj;\n}, {});\n\nvar SELF_CLOSING_TAGS = [TAG_NAMES.NOSCRIPT, TAG_NAMES.SCRIPT, TAG_NAMES.STYLE];\n\nvar HELMET_ATTRIBUTE = \"data-react-helmet\";\n\nvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) {\n return typeof obj;\n} : function (obj) {\n return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n};\n\nvar classCallCheck = function (instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n};\n\nvar createClass = function () {\n function defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if (\"value\" in descriptor) descriptor.writable = true;\n Object.defineProperty(target, descriptor.key, descriptor);\n }\n }\n\n return function (Constructor, protoProps, staticProps) {\n if (protoProps) defineProperties(Constructor.prototype, protoProps);\n if (staticProps) defineProperties(Constructor, staticProps);\n return Constructor;\n };\n}();\n\nvar _extends = Object.assign || function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n\n return target;\n};\n\nvar inherits = function (subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass);\n }\n\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n enumerable: false,\n writable: true,\n configurable: true\n }\n });\n if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass;\n};\n\nvar objectWithoutProperties = function (obj, keys) {\n var target = {};\n\n for (var i in obj) {\n if (keys.indexOf(i) >= 0) continue;\n if (!Object.prototype.hasOwnProperty.call(obj, i)) continue;\n target[i] = obj[i];\n }\n\n return target;\n};\n\nvar possibleConstructorReturn = function (self, call) {\n if (!self) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n\n return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self;\n};\n\nvar encodeSpecialCharacters = function encodeSpecialCharacters(str) {\n var encode = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;\n\n if (encode === false) {\n return String(str);\n }\n\n return String(str).replace(/&/g, \"&amp;\").replace(/</g, \"&lt;\").replace(/>/g, \"&gt;\").replace(/\"/g, \"&quot;\").replace(/'/g, \"&#x27;\");\n};\n\nvar getTitleFromPropsList = function getTitleFromPropsList(propsList) {\n var innermostTitle = getInnermostProperty(propsList, TAG_NAMES.TITLE);\n var innermostTemplate = getInnermostProperty(propsList, HELMET_PROPS.TITLE_TEMPLATE);\n\n if (innermostTemplate && innermostTitle) {\n // use function arg to avoid need to escape $ characters\n return innermostTemplate.replace(/%s/g, function () {\n return Array.isArray(innermostTitle) ? innermostTitle.join(\"\") : innermostTitle;\n });\n }\n\n var innermostDefaultTitle = getInnermostProperty(propsList, HELMET_PROPS.DEFAULT_TITLE);\n\n return innermostTitle || innermostDefaultTitle || undefined;\n};\n\nvar getOnChangeClientState = function getOnChangeClientState(propsList) {\n return getInnermostProperty(propsList, HELMET_PROPS.ON_CHANGE_CLIENT_STATE) || function () {};\n};\n\nvar getAttributesFromPropsList = function getAttributesFromPropsList(tagType, propsList) {\n return propsList.filter(function (props) {\n return typeof props[tagType] !== \"undefined\";\n }).map(function (props) {\n return props[tagType];\n }).reduce(function (tagAttrs, current) {\n return _extends({}, tagAttrs, current);\n }, {});\n};\n\nvar getBaseTagFromPropsList = function getBaseTagFromPropsList(primaryAttributes, propsList) {\n return propsList.filter(function (props) {\n return typeof props[TAG_NAMES.BASE] !== \"undefined\";\n }).map(function (props) {\n return props[TAG_NAMES.BASE];\n }).reverse().reduce(function (innermostBaseTag, tag) {\n if (!innermostBaseTag.length) {\n var keys = Object.keys(tag);\n\n for (var i = 0; i < keys.length; i++) {\n var attributeKey = keys[i];\n var lowerCaseAttributeKey = attributeKey.toLowerCase();\n\n if (primaryAttributes.indexOf(lowerCaseAttributeKey) !== -1 && tag[lowerCaseAttributeKey]) {\n return innermostBaseTag.concat(tag);\n }\n }\n }\n\n return innermostBaseTag;\n }, []);\n};\n\nvar getTagsFromPropsList = function getTagsFromPropsList(tagName, primaryAttributes, propsList) {\n // Calculate list of tags, giving priority innermost component (end of the propslist)\n var approvedSeenTags = {};\n\n return propsList.filter(function (props) {\n if (Array.isArray(props[tagName])) {\n return true;\n }\n if (typeof props[tagName] !== \"undefined\") {\n warn(\"Helmet: \" + tagName + \" should be of type \\\"Array\\\". Instead found type \\\"\" + _typeof(props[tagName]) + \"\\\"\");\n }\n return false;\n }).map(function (props) {\n return props[tagName];\n }).reverse().reduce(function (approvedTags, instanceTags) {\n var instanceSeenTags = {};\n\n instanceTags.filter(function (tag) {\n var primaryAttributeKey = void 0;\n var keys = Object.keys(tag);\n for (var i = 0; i < keys.length; i++) {\n var attributeKey = keys[i];\n var lowerCaseAttributeKey = attributeKey.toLowerCase();\n\n // Special rule with link tags, since rel and href are both primary tags, rel takes priority\n if (primaryAttributes.indexOf(lowerCaseAttributeKey) !== -1 && !(primaryAttributeKey === TAG_PROPERTIES.REL && tag[primaryAttributeKey].toLowerCase() === \"canonical\") && !(lowerCaseAttributeKey === TAG_PROPERTIES.REL && tag[lowerCaseAttributeKey].toLowerCase() === \"stylesheet\")) {\n primaryAttributeKey = lowerCaseAttributeKey;\n }\n // Special case for innerHTML which doesn't work lowercased\n if (primaryAttributes.indexOf(attributeKey) !== -1 && (attributeKey === TAG_PROPERTIES.INNER_HTML || attributeKey === TAG_PROPERTIES.CSS_TEXT || attributeKey === TAG_PROPERTIES.ITEM_PROP)) {\n primaryAttributeKey = attributeKey;\n }\n }\n\n if (!primaryAttributeKey || !tag[primaryAttributeKey]) {\n return false;\n }\n\n var value = tag[primaryAttributeKey].toLowerCase();\n\n if (!approvedSeenTags[primaryAttributeKey]) {\n approvedSeenTags[primaryAttributeKey] = {};\n }\n\n if (!instanceSeenTags[primaryAttributeKey]) {\n instanceSeenTags[primaryAttributeKey] = {};\n }\n\n if (!approvedSeenTags[primaryAttributeKey][value]) {\n instanceSeenTags[primaryAttributeKey][value] = true;\n return true;\n }\n\n return false;\n }).reverse().forEach(function (tag) {\n return approvedTags.push(tag);\n });\n\n // Update seen tags with tags from this instance\n var keys = Object.keys(instanceSeenTags);\n for (var i = 0; i < keys.length; i++) {\n var attributeKey = keys[i];\n var tagUnion = objectAssign({}, approvedSeenTags[attributeKey], instanceSeenTags[attributeKey]);\n\n approvedSeenTags[attributeKey] = tagUnion;\n }\n\n return approvedTags;\n }, []).reverse();\n};\n\nvar getInnermostProperty = function getInnermostProperty(propsList, property) {\n for (var i = propsList.length - 1; i >= 0; i--) {\n var props = propsList[i];\n\n if (props.hasOwnProperty(property)) {\n return props[property];\n }\n }\n\n return null;\n};\n\nvar reducePropsToState = function reducePropsToState(propsList) {\n return {\n baseTag: getBaseTagFromPropsList([TAG_PROPERTIES.HREF, TAG_PROPERTIES.TARGET], propsList),\n bodyAttributes: getAttributesFromPropsList(ATTRIBUTE_NAMES.BODY, propsList),\n defer: getInnermostProperty(propsList, HELMET_PROPS.DEFER),\n encode: getInnermostProperty(propsList, HELMET_PROPS.ENCODE_SPECIAL_CHARACTERS),\n htmlAttributes: getAttributesFromPropsList(ATTRIBUTE_NAMES.HTML, propsList),\n linkTags: getTagsFromPropsList(TAG_NAMES.LINK, [TAG_PROPERTIES.REL, TAG_PROPERTIES.HREF], propsList),\n metaTags: getTagsFromPropsList(TAG_NAMES.META, [TAG_PROPERTIES.NAME, TAG_PROPERTIES.CHARSET, TAG_PROPERTIES.HTTPEQUIV, TAG_PROPERTIES.PROPERTY, TAG_PROPERTIES.ITEM_PROP], propsList),\n noscriptTags: getTagsFromPropsList(TAG_NAMES.NOSCRIPT, [TAG_PROPERTIES.INNER_HTML], propsList),\n onChangeClientState: getOnChangeClientState(propsList),\n scriptTags: getTagsFromPropsList(TAG_NAMES.SCRIPT, [TAG_PROPERTIES.SRC, TAG_PROPERTIES.INNER_HTML], propsList),\n styleTags: getTagsFromPropsList(TAG_NAMES.STYLE, [TAG_PROPERTIES.CSS_TEXT], propsList),\n title: getTitleFromPropsList(propsList),\n titleAttributes: getAttributesFromPropsList(ATTRIBUTE_NAMES.TITLE, propsList)\n };\n};\n\nvar rafPolyfill = function () {\n var clock = Date.now();\n\n return function (callback) {\n var currentTime = Date.now();\n\n if (currentTime - clock > 16) {\n clock = currentTime;\n callback(currentTime);\n } else {\n setTimeout(function () {\n rafPolyfill(callback);\n }, 0);\n }\n };\n}();\n\nvar cafPolyfill = function cafPolyfill(id) {\n return clearTimeout(id);\n};\n\nvar requestAnimationFrame = typeof window !== \"undefined\" ? window.requestAnimationFrame && window.requestAnimationFrame.bind(window) || window.webkitRequestAnimationFrame || window.mozRequestAnimationFrame || rafPolyfill : global.requestAnimationFrame || rafPolyfill;\n\nvar cancelAnimationFrame = typeof window !== \"undefined\" ? window.cancelAnimationFrame || window.webkitCancelAnimationFrame || window.mozCancelAnimationFrame || cafPolyfill : global.cancelAnimationFrame || cafPolyfill;\n\nvar warn = function warn(msg) {\n return console && typeof console.warn === \"function\" && console.warn(msg);\n};\n\nvar _helmetCallback = null;\n\nvar handleClientStateChange = function handleClientStateChange(newState) {\n if (_helmetCallback) {\n cancelAnimationFrame(_helmetCallback);\n }\n\n if (newState.defer) {\n _helmetCallback = requestAnimationFrame(function () {\n commitTagChanges(newState, function () {\n _helmetCallback = null;\n });\n });\n } else {\n commitTagChanges(newState);\n _helmetCallback = null;\n }\n};\n\nvar commitTagChanges = function commitTagChanges(newState, cb) {\n var baseTag = newState.baseTag,\n bodyAttributes = newState.bodyAttributes,\n htmlAttributes = newState.htmlAttributes,\n linkTags = newState.linkTags,\n metaTags = newState.metaTags,\n noscriptTags = newState.noscriptTags,\n onChangeClientState = newState.onChangeClientState,\n scriptTags = newState.scriptTags,\n styleTags = newState.styleTags,\n title = newState.title,\n titleAttributes = newState.titleAttributes;\n\n updateAttributes(TAG_NAMES.BODY, bodyAttributes);\n updateAttributes(TAG_NAMES.HTML, htmlAttributes);\n\n updateTitle(title, titleAttributes);\n\n var tagUpdates = {\n baseTag: updateTags(TAG_NAMES.BASE, baseTag),\n linkTags: updateTags(TAG_NAMES.LINK, linkTags),\n metaTags: updateTags(TAG_NAMES.META, metaTags),\n noscriptTags: updateTags(TAG_NAMES.NOSCRIPT, noscriptTags),\n scriptTags: updateTags(TAG_NAMES.SCRIPT, scriptTags),\n styleTags: updateTags(TAG_NAMES.STYLE, styleTags)\n };\n\n var addedTags = {};\n var removedTags = {};\n\n Object.keys(tagUpdates).forEach(function (tagType) {\n var _tagUpdates$tagType = tagUpdates[tagType],\n newTags = _tagUpdates$tagType.newTags,\n oldTags = _tagUpdates$tagType.oldTags;\n\n\n if (newTags.length) {\n addedTags[tagType] = newTags;\n }\n if (oldTags.length) {\n removedTags[tagType] = tagUpdates[tagType].oldTags;\n }\n });\n\n cb && cb();\n\n onChangeClientState(newState, addedTags, removedTags);\n};\n\nvar flattenArray = function flattenArray(possibleArray) {\n return Array.isArray(possibleArray) ? possibleArray.join(\"\") : possibleArray;\n};\n\nvar updateTitle = function updateTitle(title, attributes) {\n if (typeof title !== \"undefined\" && document.title !== title) {\n document.title = flattenArray(title);\n }\n\n updateAttributes(TAG_NAMES.TITLE, attributes);\n};\n\nvar updateAttributes = function updateAttributes(tagName, attributes) {\n var elementTag = document.getElementsByTagName(tagName)[0];\n\n if (!elementTag) {\n return;\n }\n\n var helmetAttributeString = elementTag.getAttribute(HELMET_ATTRIBUTE);\n var helmetAttributes = helmetAttributeString ? helmetAttributeString.split(\",\") : [];\n var attributesToRemove = [].concat(helmetAttributes);\n var attributeKeys = Object.keys(attributes);\n\n for (var i = 0; i < attributeKeys.length; i++) {\n var attribute = attributeKeys[i];\n var value = attributes[attribute] || \"\";\n\n if (elementTag.getAttribute(attribute) !== value) {\n elementTag.setAttribute(attribute, value);\n }\n\n if (helmetAttributes.indexOf(attribute) === -1) {\n helmetAttributes.push(attribute);\n }\n\n var indexToSave = attributesToRemove.indexOf(attribute);\n if (indexToSave !== -1) {\n attributesToRemove.splice(indexToSave, 1);\n }\n }\n\n for (var _i = attributesToRemove.length - 1; _i >= 0; _i--) {\n elementTag.removeAttribute(attributesToRemove[_i]);\n }\n\n if (helmetAttributes.length === attributesToRemove.length) {\n elementTag.removeAttribute(HELMET_ATTRIBUTE);\n } else if (elementTag.getAttribute(HELMET_ATTRIBUTE) !== attributeKeys.join(\",\")) {\n elementTag.setAttribute(HELMET_ATTRIBUTE, attributeKeys.join(\",\"));\n }\n};\n\nvar updateTags = function updateTags(type, tags) {\n var headElement = document.head || document.querySelector(TAG_NAMES.HEAD);\n var tagNodes = headElement.querySelectorAll(type + \"[\" + HELMET_ATTRIBUTE + \"]\");\n var oldTags = Array.prototype.slice.call(tagNodes);\n var newTags = [];\n var indexToDelete = void 0;\n\n if (tags && tags.length) {\n tags.forEach(function (tag) {\n var newElement = document.createElement(type);\n\n for (var attribute in tag) {\n if (tag.hasOwnProperty(attribute)) {\n if (attribute === TAG_PROPERTIES.INNER_HTML) {\n newElement.innerHTML = tag.innerHTML;\n } else if (attribute === TAG_PROPERTIES.CSS_TEXT) {\n if (newElement.styleSheet) {\n newElement.styleSheet.cssText = tag.cssText;\n } else {\n newElement.appendChild(document.createTextNode(tag.cssText));\n }\n } else {\n var value = typeof tag[attribute] === \"undefined\" ? \"\" : tag[attribute];\n newElement.setAttribute(attribute, value);\n }\n }\n }\n\n newElement.setAttribute(HELMET_ATTRIBUTE, \"true\");\n\n // Remove a duplicate tag from domTagstoRemove, so it isn't cleared.\n if (oldTags.some(function (existingTag, index) {\n indexToDelete = index;\n return newElement.isEqualNode(existingTag);\n })) {\n oldTags.splice(indexToDelete, 1);\n } else {\n newTags.push(newElement);\n }\n });\n }\n\n oldTags.forEach(function (tag) {\n return tag.parentNode.removeChild(tag);\n });\n newTags.forEach(function (tag) {\n return headElement.appendChild(tag);\n });\n\n return {\n oldTags: oldTags,\n newTags: newTags\n };\n};\n\nvar generateElementAttributesAsString = function generateElementAttributesAsString(attributes) {\n return Object.keys(attributes).reduce(function (str, key) {\n var attr = typeof attributes[key] !== \"undefined\" ? key + \"=\\\"\" + attributes[key] + \"\\\"\" : \"\" + key;\n return str ? str + \" \" + attr : attr;\n }, \"\");\n};\n\nvar generateTitleAsString = function generateTitleAsString(type, title, attributes, encode) {\n var attributeString = generateElementAttributesAsString(attributes);\n var flattenedTitle = flattenArray(title);\n return attributeString ? \"<\" + type + \" \" + HELMET_ATTRIBUTE + \"=\\\"true\\\" \" + attributeString + \">\" + encodeSpecialCharacters(flattenedTitle, encode) + \"</\" + type + \">\" : \"<\" + type + \" \" + HELMET_ATTRIBUTE + \"=\\\"true\\\">\" + encodeSpecialCharacters(flattenedTitle, encode) + \"</\" + type + \">\";\n};\n\nvar generateTagsAsString = function generateTagsAsString(type, tags, encode) {\n return tags.reduce(function (str, tag) {\n var attributeHtml = Object.keys(tag).filter(function (attribute) {\n return !(attribute === TAG_PROPERTIES.INNER_HTML || attribute === TAG_PROPERTIES.CSS_TEXT);\n }).reduce(function (string, attribute) {\n var attr = typeof tag[attribute] === \"undefined\" ? attribute : attribute + \"=\\\"\" + encodeSpecialCharacters(tag[attribute], encode) + \"\\\"\";\n return string ? string + \" \" + attr : attr;\n }, \"\");\n\n var tagContent = tag.innerHTML || tag.cssText || \"\";\n\n var isSelfClosing = SELF_CLOSING_TAGS.indexOf(type) === -1;\n\n return str + \"<\" + type + \" \" + HELMET_ATTRIBUTE + \"=\\\"true\\\" \" + attributeHtml + (isSelfClosing ? \"/>\" : \">\" + tagContent + \"</\" + type + \">\");\n }, \"\");\n};\n\nvar convertElementAttributestoReactProps = function convertElementAttributestoReactProps(attributes) {\n var initProps = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n\n return Object.keys(attributes).reduce(function (obj, key) {\n obj[REACT_TAG_MAP[key] || key] = attributes[key];\n return obj;\n }, initProps);\n};\n\nvar convertReactPropstoHtmlAttributes = function convertReactPropstoHtmlAttributes(props) {\n var initAttributes = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n\n return Object.keys(props).reduce(function (obj, key) {\n obj[HTML_TAG_MAP[key] || key] = props[key];\n return obj;\n }, initAttributes);\n};\n\nvar generateTitleAsReactComponent = function generateTitleAsReactComponent(type, title, attributes) {\n var _initProps;\n\n // assigning into an array to define toString function on it\n var initProps = (_initProps = {\n key: title\n }, _initProps[HELMET_ATTRIBUTE] = true, _initProps);\n var props = convertElementAttributestoReactProps(attributes, initProps);\n\n return [React.createElement(TAG_NAMES.TITLE, props, title)];\n};\n\nvar generateTagsAsReactComponent = function generateTagsAsReactComponent(type, tags) {\n return tags.map(function (tag, i) {\n var _mappedTag;\n\n var mappedTag = (_mappedTag = {\n key: i\n }, _mappedTag[HELMET_ATTRIBUTE] = true, _mappedTag);\n\n Object.keys(tag).forEach(function (attribute) {\n var mappedAttribute = REACT_TAG_MAP[attribute] || attribute;\n\n if (mappedAttribute === TAG_PROPERTIES.INNER_HTML || mappedAttribute === TAG_PROPERTIES.CSS_TEXT) {\n var content = tag.innerHTML || tag.cssText;\n mappedTag.dangerouslySetInnerHTML = { __html: content };\n } else {\n mappedTag[mappedAttribute] = tag[attribute];\n }\n });\n\n return React.createElement(type, mappedTag);\n });\n};\n\nvar getMethodsForTag = function getMethodsForTag(type, tags, encode) {\n switch (type) {\n case TAG_NAMES.TITLE:\n return {\n toComponent: function toComponent() {\n return generateTitleAsReactComponent(type, tags.title, tags.titleAttributes, encode);\n },\n toString: function toString() {\n return generateTitleAsString(type, tags.title, tags.titleAttributes, encode);\n }\n };\n case ATTRIBUTE_NAMES.BODY:\n case ATTRIBUTE_NAMES.HTML:\n return {\n toComponent: function toComponent() {\n return convertElementAttributestoReactProps(tags);\n },\n toString: function toString() {\n return generateElementAttributesAsString(tags);\n }\n };\n default:\n return {\n toComponent: function toComponent() {\n return generateTagsAsReactComponent(type, tags);\n },\n toString: function toString() {\n return generateTagsAsString(type, tags, encode);\n }\n };\n }\n};\n\nvar mapStateOnServer = function mapStateOnServer(_ref) {\n var baseTag = _ref.baseTag,\n bodyAttributes = _ref.bodyAttributes,\n encode = _ref.encode,\n htmlAttributes = _ref.htmlAttributes,\n linkTags = _ref.linkTags,\n metaTags = _ref.metaTags,\n noscriptTags = _ref.noscriptTags,\n scriptTags = _ref.scriptTags,\n styleTags = _ref.styleTags,\n _ref$title = _ref.title,\n title = _ref$title === undefined ? \"\" : _ref$title,\n titleAttributes = _ref.titleAttributes;\n return {\n base: getMethodsForTag(TAG_NAMES.BASE, baseTag, encode),\n bodyAttributes: getMethodsForTag(ATTRIBUTE_NAMES.BODY, bodyAttributes, encode),\n htmlAttributes: getMethodsForTag(ATTRIBUTE_NAMES.HTML, htmlAttributes, encode),\n link: getMethodsForTag(TAG_NAMES.LINK, linkTags, encode),\n meta: getMethodsForTag(TAG_NAMES.META, metaTags, encode),\n noscript: getMethodsForTag(TAG_NAMES.NOSCRIPT, noscriptTags, encode),\n script: getMethodsForTag(TAG_NAMES.SCRIPT, scriptTags, encode),\n style: getMethodsForTag(TAG_NAMES.STYLE, styleTags, encode),\n title: getMethodsForTag(TAG_NAMES.TITLE, { title: title, titleAttributes: titleAttributes }, encode)\n };\n};\n\nvar Helmet = function Helmet(Component) {\n var _class, _temp;\n\n return _temp = _class = function (_React$Component) {\n inherits(HelmetWrapper, _React$Component);\n\n function HelmetWrapper() {\n classCallCheck(this, HelmetWrapper);\n return possibleConstructorReturn(this, _React$Component.apply(this, arguments));\n }\n\n HelmetWrapper.prototype.shouldComponentUpdate = function shouldComponentUpdate(nextProps) {\n return !isEqual(this.props, nextProps);\n };\n\n HelmetWrapper.prototype.mapNestedChildrenToProps = function mapNestedChildrenToProps(child, nestedChildren) {\n if (!nestedChildren) {\n return null;\n }\n\n switch (child.type) {\n case TAG_NAMES.SCRIPT:\n case TAG_NAMES.NOSCRIPT:\n return {\n innerHTML: nestedChildren\n };\n\n case TAG_NAMES.STYLE:\n return {\n cssText: nestedChildren\n };\n }\n\n throw new Error(\"<\" + child.type + \" /> elements are self-closing and can not contain children. Refer to our API for more information.\");\n };\n\n HelmetWrapper.prototype.flattenArrayTypeChildren = function flattenArrayTypeChildren(_ref) {\n var _babelHelpers$extends;\n\n var child = _ref.child,\n arrayTypeChildren = _ref.arrayTypeChildren,\n newChildProps = _ref.newChildProps,\n nestedChildren = _ref.nestedChildren;\n\n return _extends({}, arrayTypeChildren, (_babelHelpers$extends = {}, _babelHelpers$extends[child.type] = [].concat(arrayTypeChildren[child.type] || [], [_extends({}, newChildProps, this.mapNestedChildrenToProps(child, nestedChildren))]), _babelHelpers$extends));\n };\n\n HelmetWrapper.prototype.mapObjectTypeChildren = function mapObjectTypeChildren(_ref2) {\n var _babelHelpers$extends2, _babelHelpers$extends3;\n\n var child = _ref2.child,\n newProps = _ref2.newProps,\n newChildProps = _ref2.newChildProps,\n nestedChildren = _ref2.nestedChildren;\n\n switch (child.type) {\n case TAG_NAMES.TITLE:\n return _extends({}, newProps, (_babelHelpers$extends2 = {}, _babelHelpers$extends2[child.type] = nestedChildren, _babelHelpers$extends2.titleAttributes = _extends({}, newChildProps), _babelHelpers$extends2));\n\n case TAG_NAMES.BODY:\n return _extends({}, newProps, {\n bodyAttributes: _extends({}, newChildProps)\n });\n\n case TAG_NAMES.HTML:\n return _extends({}, newProps, {\n htmlAttributes: _extends({}, newChildProps)\n });\n }\n\n return _extends({}, newProps, (_babelHelpers$extends3 = {}, _babelHelpers$extends3[child.type] = _extends({}, newChildProps), _babelHelpers$extends3));\n };\n\n HelmetWrapper.prototype.mapArrayTypeChildrenToProps = function mapArrayTypeChildrenToProps(arrayTypeChildren, newProps) {\n var newFlattenedProps = _extends({}, newProps);\n\n Object.keys(arrayTypeChildren).forEach(function (arrayChildName) {\n var _babelHelpers$extends4;\n\n newFlattenedProps = _extends({}, newFlattenedProps, (_babelHelpers$extends4 = {}, _babelHelpers$extends4[arrayChildName] = arrayTypeChildren[arrayChildName], _babelHelpers$extends4));\n });\n\n return newFlattenedProps;\n };\n\n HelmetWrapper.prototype.warnOnInvalidChildren = function warnOnInvalidChildren(child, nestedChildren) {\n if (process.env.NODE_ENV !== \"production\") {\n if (!VALID_TAG_NAMES.some(function (name) {\n return child.type === name;\n })) {\n if (typeof child.type === \"function\") {\n return warn(\"You may be attempting to nest <Helmet> components within each other, which is not allowed. Refer to our API for more information.\");\n }\n\n return warn(\"Only elements types \" + VALID_TAG_NAMES.join(\", \") + \" are allowed. Helmet does not support rendering <\" + child.type + \"> elements. Refer to our API for more information.\");\n }\n\n if (nestedChildren && typeof nestedChildren !== \"string\" && (!Array.isArray(nestedChildren) || nestedChildren.some(function (nestedChild) {\n return typeof nestedChild !== \"string\";\n }))) {\n throw new Error(\"Helmet expects a string as a child of <\" + child.type + \">. Did you forget to wrap your children in braces? ( <\" + child.type + \">{``}</\" + child.type + \"> ) Refer to our API for more information.\");\n }\n }\n\n return true;\n };\n\n HelmetWrapper.prototype.mapChildrenToProps = function mapChildrenToProps(children, newProps) {\n var _this2 = this;\n\n var arrayTypeChildren = {};\n\n React.Children.forEach(children, function (child) {\n if (!child || !child.props) {\n return;\n }\n\n var _child$props = child.props,\n nestedChildren = _child$props.children,\n childProps = objectWithoutProperties(_child$props, [\"children\"]);\n\n var newChildProps = convertReactPropstoHtmlAttributes(childProps);\n\n _this2.warnOnInvalidChildren(child, nestedChildren);\n\n switch (child.type) {\n case TAG_NAMES.LINK:\n case TAG_NAMES.META:\n case TAG_NAMES.NOSCRIPT:\n case TAG_NAMES.SCRIPT:\n case TAG_NAMES.STYLE:\n arrayTypeChildren = _this2.flattenArrayTypeChildren({\n child: child,\n arrayTypeChildren: arrayTypeChildren,\n newChildProps: newChildProps,\n nestedChildren: nestedChildren\n });\n break;\n\n default:\n newProps = _this2.mapObjectTypeChildren({\n child: child,\n newProps: newProps,\n newChildProps: newChildProps,\n nestedChildren: nestedChildren\n });\n break;\n }\n });\n\n newProps = this.mapArrayTypeChildrenToProps(arrayTypeChildren, newProps);\n return newProps;\n };\n\n HelmetWrapper.prototype.render = function render() {\n var _props = this.props,\n children = _props.children,\n props = objectWithoutProperties(_props, [\"children\"]);\n\n var newProps = _extends({}, props);\n\n if (children) {\n newProps = this.mapChildrenToProps(children, newProps);\n }\n\n return React.createElement(Component, newProps);\n };\n\n createClass(HelmetWrapper, null, [{\n key: \"canUseDOM\",\n\n\n // Component.peek comes from react-side-effect:\n // For testing, you may use a static peek() method available on the returned component.\n // It lets you get the current state without resetting the mounted instance stack.\n // Don’t use it for anything other than testing.\n\n /**\n * @param {Object} base: {\"target\": \"_blank\", \"href\": \"http://mysite.com/\"}\n * @param {Object} bodyAttributes: {\"className\": \"root\"}\n * @param {String} defaultTitle: \"Default Title\"\n * @param {Boolean} defer: true\n * @param {Boolean} encodeSpecialCharacters: true\n * @param {Object} htmlAttributes: {\"lang\": \"en\", \"amp\": undefined}\n * @param {Array} link: [{\"rel\": \"canonical\", \"href\": \"http://mysite.com/example\"}]\n * @param {Array} meta: [{\"name\": \"description\", \"content\": \"Test description\"}]\n * @param {Array} noscript: [{\"innerHTML\": \"<img src='http://mysite.com/js/test.js'\"}]\n * @param {Function} onChangeClientState: \"(newState) => console.log(newState)\"\n * @param {Array} script: [{\"type\": \"text/javascript\", \"src\": \"http://mysite.com/js/test.js\"}]\n * @param {Array} style: [{\"type\": \"text/css\", \"cssText\": \"div { display: block; color: blue; }\"}]\n * @param {String} title: \"Title\"\n * @param {Object} titleAttributes: {\"itemprop\": \"name\"}\n * @param {String} titleTemplate: \"MySite.com - %s\"\n */\n set: function set$$1(canUseDOM) {\n Component.canUseDOM = canUseDOM;\n }\n }]);\n return HelmetWrapper;\n }(React.Component), _class.propTypes = {\n base: PropTypes.object,\n bodyAttributes: PropTypes.object,\n children: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.node), PropTypes.node]),\n defaultTitle: PropTypes.string,\n defer: PropTypes.bool,\n encodeSpecialCharacters: PropTypes.bool,\n htmlAttributes: PropTypes.object,\n link: PropTypes.arrayOf(PropTypes.object),\n meta: PropTypes.arrayOf(PropTypes.object),\n noscript: PropTypes.arrayOf(PropTypes.object),\n onChangeClientState: PropTypes.func,\n script: PropTypes.arrayOf(PropTypes.object),\n style: PropTypes.arrayOf(PropTypes.object),\n title: PropTypes.string,\n titleAttributes: PropTypes.object,\n titleTemplate: PropTypes.string\n }, _class.defaultProps = {\n defer: true,\n encodeSpecialCharacters: true\n }, _class.peek = Component.peek, _class.rewind = function () {\n var mappedState = Component.rewind();\n if (!mappedState) {\n // provide fallback if mappedState is undefined\n mappedState = mapStateOnServer({\n baseTag: [],\n bodyAttributes: {},\n encodeSpecialCharacters: true,\n htmlAttributes: {},\n linkTags: [],\n metaTags: [],\n noscriptTags: [],\n scriptTags: [],\n styleTags: [],\n title: \"\",\n titleAttributes: {}\n });\n }\n\n return mappedState;\n }, _temp;\n};\n\nvar NullComponent = function NullComponent() {\n return null;\n};\n\nvar HelmetSideEffects = withSideEffect(reducePropsToState, handleClientStateChange, mapStateOnServer)(NullComponent);\n\nvar HelmetExport = Helmet(HelmetSideEffects);\nHelmetExport.renderStatic = HelmetExport.rewind;\n\nexport default HelmetExport;\nexport { HelmetExport as Helmet };\n","'use strict';\n\nfunction _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }\n\nvar React = require('react');\nvar React__default = _interopDefault(React);\n\nfunction _defineProperty(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n\n return obj;\n}\n\nfunction _inheritsLoose(subClass, superClass) {\n subClass.prototype = Object.create(superClass.prototype);\n subClass.prototype.constructor = subClass;\n subClass.__proto__ = superClass;\n}\n\nvar canUseDOM = !!(typeof window !== 'undefined' && window.document && window.document.createElement);\nfunction withSideEffect(reducePropsToState, handleStateChangeOnClient, mapStateOnServer) {\n if (typeof reducePropsToState !== 'function') {\n throw new Error('Expected reducePropsToState to be a function.');\n }\n\n if (typeof handleStateChangeOnClient !== 'function') {\n throw new Error('Expected handleStateChangeOnClient to be a function.');\n }\n\n if (typeof mapStateOnServer !== 'undefined' && typeof mapStateOnServer !== 'function') {\n throw new Error('Expected mapStateOnServer to either be undefined or a function.');\n }\n\n function getDisplayName(WrappedComponent) {\n return WrappedComponent.displayName || WrappedComponent.name || 'Component';\n }\n\n return function wrap(WrappedComponent) {\n if (typeof WrappedComponent !== 'function') {\n throw new Error('Expected WrappedComponent to be a React component.');\n }\n\n var mountedInstances = [];\n var state;\n\n function emitChange() {\n state = reducePropsToState(mountedInstances.map(function (instance) {\n return instance.props;\n }));\n\n if (SideEffect.canUseDOM) {\n handleStateChangeOnClient(state);\n } else if (mapStateOnServer) {\n state = mapStateOnServer(state);\n }\n }\n\n var SideEffect =\n /*#__PURE__*/\n function (_PureComponent) {\n _inheritsLoose(SideEffect, _PureComponent);\n\n function SideEffect() {\n return _PureComponent.apply(this, arguments) || this;\n }\n\n // Try to use displayName of wrapped component\n // Expose canUseDOM so tests can monkeypatch it\n SideEffect.peek = function peek() {\n return state;\n };\n\n SideEffect.rewind = function rewind() {\n if (SideEffect.canUseDOM) {\n throw new Error('You may only call rewind() on the server. Call peek() to read the current state.');\n }\n\n var recordedState = state;\n state = undefined;\n mountedInstances = [];\n return recordedState;\n };\n\n var _proto = SideEffect.prototype;\n\n _proto.UNSAFE_componentWillMount = function UNSAFE_componentWillMount() {\n mountedInstances.push(this);\n emitChange();\n };\n\n _proto.componentDidUpdate = function componentDidUpdate() {\n emitChange();\n };\n\n _proto.componentWillUnmount = function componentWillUnmount() {\n var index = mountedInstances.indexOf(this);\n mountedInstances.splice(index, 1);\n emitChange();\n };\n\n _proto.render = function render() {\n return React__default.createElement(WrappedComponent, this.props);\n };\n\n return SideEffect;\n }(React.PureComponent);\n\n _defineProperty(SideEffect, \"displayName\", \"SideEffect(\" + getDisplayName(WrappedComponent) + \")\");\n\n _defineProperty(SideEffect, \"canUseDOM\", canUseDOM);\n\n return SideEffect;\n };\n}\n\nmodule.exports = withSideEffect;\n","/**\n * @license React\n * react-jsx-runtime.development.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nif (process.env.NODE_ENV !== \"production\") {\n (function() {\n'use strict';\n\nvar React = require('react');\n\n// ATTENTION\n// When adding new symbols to this file,\n// Please consider also adding to 'react-devtools-shared/src/backend/ReactSymbols'\n// The Symbol used to tag the ReactElement-like types.\nvar REACT_ELEMENT_TYPE = Symbol.for('react.element');\nvar REACT_PORTAL_TYPE = Symbol.for('react.portal');\nvar REACT_FRAGMENT_TYPE = Symbol.for('react.fragment');\nvar REACT_STRICT_MODE_TYPE = Symbol.for('react.strict_mode');\nvar REACT_PROFILER_TYPE = Symbol.for('react.profiler');\nvar REACT_PROVIDER_TYPE = Symbol.for('react.provider');\nvar REACT_CONTEXT_TYPE = Symbol.for('react.context');\nvar REACT_FORWARD_REF_TYPE = Symbol.for('react.forward_ref');\nvar REACT_SUSPENSE_TYPE = Symbol.for('react.suspense');\nvar REACT_SUSPENSE_LIST_TYPE = Symbol.for('react.suspense_list');\nvar REACT_MEMO_TYPE = Symbol.for('react.memo');\nvar REACT_LAZY_TYPE = Symbol.for('react.lazy');\nvar REACT_OFFSCREEN_TYPE = Symbol.for('react.offscreen');\nvar MAYBE_ITERATOR_SYMBOL = Symbol.iterator;\nvar FAUX_ITERATOR_SYMBOL = '@@iterator';\nfunction getIteratorFn(maybeIterable) {\n if (maybeIterable === null || typeof maybeIterable !== 'object') {\n return null;\n }\n\n var maybeIterator = MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL];\n\n if (typeof maybeIterator === 'function') {\n return maybeIterator;\n }\n\n return null;\n}\n\nvar ReactSharedInternals = React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;\n\nfunction error(format) {\n {\n {\n for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {\n args[_key2 - 1] = arguments[_key2];\n }\n\n printWarning('error', format, args);\n }\n }\n}\n\nfunction printWarning(level, format, args) {\n // When changing this logic, you might want to also\n // update consoleWithStackDev.www.js as well.\n {\n var ReactDebugCurrentFrame = ReactSharedInternals.ReactDebugCurrentFrame;\n var stack = ReactDebugCurrentFrame.getStackAddendum();\n\n if (stack !== '') {\n format += '%s';\n args = args.concat([stack]);\n } // eslint-disable-next-line react-internal/safe-string-coercion\n\n\n var argsWithFormat = args.map(function (item) {\n return String(item);\n }); // Careful: RN currently depends on this prefix\n\n argsWithFormat.unshift('Warning: ' + format); // We intentionally don't use spread (or .apply) directly because it\n // breaks IE9: https://github.com/facebook/react/issues/13610\n // eslint-disable-next-line react-internal/no-production-logging\n\n Function.prototype.apply.call(console[level], console, argsWithFormat);\n }\n}\n\n// -----------------------------------------------------------------------------\n\nvar enableScopeAPI = false; // Experimental Create Event Handle API.\nvar enableCacheElement = false;\nvar enableTransitionTracing = false; // No known bugs, but needs performance testing\n\nvar enableLegacyHidden = false; // Enables unstable_avoidThisFallback feature in Fiber\n// stuff. Intended to enable React core members to more easily debug scheduling\n// issues in DEV builds.\n\nvar enableDebugTracing = false; // Track which Fiber(s) schedule render work.\n\nvar REACT_MODULE_REFERENCE;\n\n{\n REACT_MODULE_REFERENCE = Symbol.for('react.module.reference');\n}\n\nfunction isValidElementType(type) {\n if (typeof type === 'string' || typeof type === 'function') {\n return true;\n } // Note: typeof might be other than 'symbol' or 'number' (e.g. if it's a polyfill).\n\n\n if (type === REACT_FRAGMENT_TYPE || type === REACT_PROFILER_TYPE || enableDebugTracing || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || enableLegacyHidden || type === REACT_OFFSCREEN_TYPE || enableScopeAPI || enableCacheElement || enableTransitionTracing ) {\n return true;\n }\n\n if (typeof type === 'object' && type !== null) {\n if (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || // This needs to include all possible module reference object\n // types supported by any Flight configuration anywhere since\n // we don't know which Flight build this will end up being used\n // with.\n type.$$typeof === REACT_MODULE_REFERENCE || type.getModuleId !== undefined) {\n return true;\n }\n }\n\n return false;\n}\n\nfunction getWrappedName(outerType, innerType, wrapperName) {\n var displayName = outerType.displayName;\n\n if (displayName) {\n return displayName;\n }\n\n var functionName = innerType.displayName || innerType.name || '';\n return functionName !== '' ? wrapperName + \"(\" + functionName + \")\" : wrapperName;\n} // Keep in sync with react-reconciler/getComponentNameFromFiber\n\n\nfunction getContextName(type) {\n return type.displayName || 'Context';\n} // Note that the reconciler package should generally prefer to use getComponentNameFromFiber() instead.\n\n\nfunction getComponentNameFromType(type) {\n if (type == null) {\n // Host root, text node or just invalid type.\n return null;\n }\n\n {\n if (typeof type.tag === 'number') {\n error('Received an unexpected object in getComponentNameFromType(). ' + 'This is likely a bug in React. Please file an issue.');\n }\n }\n\n if (typeof type === 'function') {\n return type.displayName || type.name || null;\n }\n\n if (typeof type === 'string') {\n return type;\n }\n\n switch (type) {\n case REACT_FRAGMENT_TYPE:\n return 'Fragment';\n\n case REACT_PORTAL_TYPE:\n return 'Portal';\n\n case REACT_PROFILER_TYPE:\n return 'Profiler';\n\n case REACT_STRICT_MODE_TYPE:\n return 'StrictMode';\n\n case REACT_SUSPENSE_TYPE:\n return 'Suspense';\n\n case REACT_SUSPENSE_LIST_TYPE:\n return 'SuspenseList';\n\n }\n\n if (typeof type === 'object') {\n switch (type.$$typeof) {\n case REACT_CONTEXT_TYPE:\n var context = type;\n return getContextName(context) + '.Consumer';\n\n case REACT_PROVIDER_TYPE:\n var provider = type;\n return getContextName(provider._context) + '.Provider';\n\n case REACT_FORWARD_REF_TYPE:\n return getWrappedName(type, type.render, 'ForwardRef');\n\n case REACT_MEMO_TYPE:\n var outerName = type.displayName || null;\n\n if (outerName !== null) {\n return outerName;\n }\n\n return getComponentNameFromType(type.type) || 'Memo';\n\n case REACT_LAZY_TYPE:\n {\n var lazyComponent = type;\n var payload = lazyComponent._payload;\n var init = lazyComponent._init;\n\n try {\n return getComponentNameFromType(init(payload));\n } catch (x) {\n return null;\n }\n }\n\n // eslint-disable-next-line no-fallthrough\n }\n }\n\n return null;\n}\n\nvar assign = Object.assign;\n\n// Helpers to patch console.logs to avoid logging during side-effect free\n// replaying on render function. This currently only patches the object\n// lazily which won't cover if the log function was extracted eagerly.\n// We could also eagerly patch the method.\nvar disabledDepth = 0;\nvar prevLog;\nvar prevInfo;\nvar prevWarn;\nvar prevError;\nvar prevGroup;\nvar prevGroupCollapsed;\nvar prevGroupEnd;\n\nfunction disabledLog() {}\n\ndisabledLog.__reactDisabledLog = true;\nfunction disableLogs() {\n {\n if (disabledDepth === 0) {\n /* eslint-disable react-internal/no-production-logging */\n prevLog = console.log;\n prevInfo = console.info;\n prevWarn = console.warn;\n prevError = console.error;\n prevGroup = console.group;\n prevGroupCollapsed = console.groupCollapsed;\n prevGroupEnd = console.groupEnd; // https://github.com/facebook/react/issues/19099\n\n var props = {\n configurable: true,\n enumerable: true,\n value: disabledLog,\n writable: true\n }; // $FlowFixMe Flow thinks console is immutable.\n\n Object.defineProperties(console, {\n info: props,\n log: props,\n warn: props,\n error: props,\n group: props,\n groupCollapsed: props,\n groupEnd: props\n });\n /* eslint-enable react-internal/no-production-logging */\n }\n\n disabledDepth++;\n }\n}\nfunction reenableLogs() {\n {\n disabledDepth--;\n\n if (disabledDepth === 0) {\n /* eslint-disable react-internal/no-production-logging */\n var props = {\n configurable: true,\n enumerable: true,\n writable: true\n }; // $FlowFixMe Flow thinks console is immutable.\n\n Object.defineProperties(console, {\n log: assign({}, props, {\n value: prevLog\n }),\n info: assign({}, props, {\n value: prevInfo\n }),\n warn: assign({}, props, {\n value: prevWarn\n }),\n error: assign({}, props, {\n value: prevError\n }),\n group: assign({}, props, {\n value: prevGroup\n }),\n groupCollapsed: assign({}, props, {\n value: prevGroupCollapsed\n }),\n groupEnd: assign({}, props, {\n value: prevGroupEnd\n })\n });\n /* eslint-enable react-internal/no-production-logging */\n }\n\n if (disabledDepth < 0) {\n error('disabledDepth fell below zero. ' + 'This is a bug in React. Please file an issue.');\n }\n }\n}\n\nvar ReactCurrentDispatcher = ReactSharedInternals.ReactCurrentDispatcher;\nvar prefix;\nfunction describeBuiltInComponentFrame(name, source, ownerFn) {\n {\n if (prefix === undefined) {\n // Extract the VM specific prefix used by each line.\n try {\n throw Error();\n } catch (x) {\n var match = x.stack.trim().match(/\\n( *(at )?)/);\n prefix = match && match[1] || '';\n }\n } // We use the prefix to ensure our stacks line up with native stack frames.\n\n\n return '\\n' + prefix + name;\n }\n}\nvar reentry = false;\nvar componentFrameCache;\n\n{\n var PossiblyWeakMap = typeof WeakMap === 'function' ? WeakMap : Map;\n componentFrameCache = new PossiblyWeakMap();\n}\n\nfunction describeNativeComponentFrame(fn, construct) {\n // If something asked for a stack inside a fake render, it should get ignored.\n if ( !fn || reentry) {\n return '';\n }\n\n {\n var frame = componentFrameCache.get(fn);\n\n if (frame !== undefined) {\n return frame;\n }\n }\n\n var control;\n reentry = true;\n var previousPrepareStackTrace = Error.prepareStackTrace; // $FlowFixMe It does accept undefined.\n\n Error.prepareStackTrace = undefined;\n var previousDispatcher;\n\n {\n previousDispatcher = ReactCurrentDispatcher.current; // Set the dispatcher in DEV because this might be call in the render function\n // for warnings.\n\n ReactCurrentDispatcher.current = null;\n disableLogs();\n }\n\n try {\n // This should throw.\n if (construct) {\n // Something should be setting the props in the constructor.\n var Fake = function () {\n throw Error();\n }; // $FlowFixMe\n\n\n Object.defineProperty(Fake.prototype, 'props', {\n set: function () {\n // We use a throwing setter instead of frozen or non-writable props\n // because that won't throw in a non-strict mode function.\n throw Error();\n }\n });\n\n if (typeof Reflect === 'object' && Reflect.construct) {\n // We construct a different control for this case to include any extra\n // frames added by the construct call.\n try {\n Reflect.construct(Fake, []);\n } catch (x) {\n control = x;\n }\n\n Reflect.construct(fn, [], Fake);\n } else {\n try {\n Fake.call();\n } catch (x) {\n control = x;\n }\n\n fn.call(Fake.prototype);\n }\n } else {\n try {\n throw Error();\n } catch (x) {\n control = x;\n }\n\n fn();\n }\n } catch (sample) {\n // This is inlined manually because closure doesn't do it for us.\n if (sample && control && typeof sample.stack === 'string') {\n // This extracts the first frame from the sample that isn't also in the control.\n // Skipping one frame that we assume is the frame that calls the two.\n var sampleLines = sample.stack.split('\\n');\n var controlLines = control.stack.split('\\n');\n var s = sampleLines.length - 1;\n var c = controlLines.length - 1;\n\n while (s >= 1 && c >= 0 && sampleLines[s] !== controlLines[c]) {\n // We expect at least one stack frame to be shared.\n // Typically this will be the root most one. However, stack frames may be\n // cut off due to maximum stack limits. In this case, one maybe cut off\n // earlier than the other. We assume that the sample is longer or the same\n // and there for cut off earlier. So we should find the root most frame in\n // the sample somewhere in the control.\n c--;\n }\n\n for (; s >= 1 && c >= 0; s--, c--) {\n // Next we find the first one that isn't the same which should be the\n // frame that called our sample function and the control.\n if (sampleLines[s] !== controlLines[c]) {\n // In V8, the first line is describing the message but other VMs don't.\n // If we're about to return the first line, and the control is also on the same\n // line, that's a pretty good indicator that our sample threw at same line as\n // the control. I.e. before we entered the sample frame. So we ignore this result.\n // This can happen if you passed a class to function component, or non-function.\n if (s !== 1 || c !== 1) {\n do {\n s--;\n c--; // We may still have similar intermediate frames from the construct call.\n // The next one that isn't the same should be our match though.\n\n if (c < 0 || sampleLines[s] !== controlLines[c]) {\n // V8 adds a \"new\" prefix for native classes. Let's remove it to make it prettier.\n var _frame = '\\n' + sampleLines[s].replace(' at new ', ' at '); // If our component frame is labeled \"<anonymous>\"\n // but we have a user-provided \"displayName\"\n // splice it in to make the stack more readable.\n\n\n if (fn.displayName && _frame.includes('<anonymous>')) {\n _frame = _frame.replace('<anonymous>', fn.displayName);\n }\n\n {\n if (typeof fn === 'function') {\n componentFrameCache.set(fn, _frame);\n }\n } // Return the line we found.\n\n\n return _frame;\n }\n } while (s >= 1 && c >= 0);\n }\n\n break;\n }\n }\n }\n } finally {\n reentry = false;\n\n {\n ReactCurrentDispatcher.current = previousDispatcher;\n reenableLogs();\n }\n\n Error.prepareStackTrace = previousPrepareStackTrace;\n } // Fallback to just using the name if we couldn't make it throw.\n\n\n var name = fn ? fn.displayName || fn.name : '';\n var syntheticFrame = name ? describeBuiltInComponentFrame(name) : '';\n\n {\n if (typeof fn === 'function') {\n componentFrameCache.set(fn, syntheticFrame);\n }\n }\n\n return syntheticFrame;\n}\nfunction describeFunctionComponentFrame(fn, source, ownerFn) {\n {\n return describeNativeComponentFrame(fn, false);\n }\n}\n\nfunction shouldConstruct(Component) {\n var prototype = Component.prototype;\n return !!(prototype && prototype.isReactComponent);\n}\n\nfunction describeUnknownElementTypeFrameInDEV(type, source, ownerFn) {\n\n if (type == null) {\n return '';\n }\n\n if (typeof type === 'function') {\n {\n return describeNativeComponentFrame(type, shouldConstruct(type));\n }\n }\n\n if (typeof type === 'string') {\n return describeBuiltInComponentFrame(type);\n }\n\n switch (type) {\n case REACT_SUSPENSE_TYPE:\n return describeBuiltInComponentFrame('Suspense');\n\n case REACT_SUSPENSE_LIST_TYPE:\n return describeBuiltInComponentFrame('SuspenseList');\n }\n\n if (typeof type === 'object') {\n switch (type.$$typeof) {\n case REACT_FORWARD_REF_TYPE:\n return describeFunctionComponentFrame(type.render);\n\n case REACT_MEMO_TYPE:\n // Memo may contain any component type so we recursively resolve it.\n return describeUnknownElementTypeFrameInDEV(type.type, source, ownerFn);\n\n case REACT_LAZY_TYPE:\n {\n var lazyComponent = type;\n var payload = lazyComponent._payload;\n var init = lazyComponent._init;\n\n try {\n // Lazy may contain any component type so we recursively resolve it.\n return describeUnknownElementTypeFrameInDEV(init(payload), source, ownerFn);\n } catch (x) {}\n }\n }\n }\n\n return '';\n}\n\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\n\nvar loggedTypeFailures = {};\nvar ReactDebugCurrentFrame = ReactSharedInternals.ReactDebugCurrentFrame;\n\nfunction setCurrentlyValidatingElement(element) {\n {\n if (element) {\n var owner = element._owner;\n var stack = describeUnknownElementTypeFrameInDEV(element.type, element._source, owner ? owner.type : null);\n ReactDebugCurrentFrame.setExtraStackFrame(stack);\n } else {\n ReactDebugCurrentFrame.setExtraStackFrame(null);\n }\n }\n}\n\nfunction checkPropTypes(typeSpecs, values, location, componentName, element) {\n {\n // $FlowFixMe This is okay but Flow doesn't know it.\n var has = Function.call.bind(hasOwnProperty);\n\n for (var typeSpecName in typeSpecs) {\n if (has(typeSpecs, typeSpecName)) {\n var error$1 = void 0; // Prop type validation may throw. In case they do, we don't want to\n // fail the render phase where it didn't fail before. So we log it.\n // After these have been cleaned up, we'll let them throw.\n\n try {\n // This is intentionally an invariant that gets caught. It's the same\n // behavior as without this statement except with a better message.\n if (typeof typeSpecs[typeSpecName] !== 'function') {\n // eslint-disable-next-line react-internal/prod-error-codes\n var err = Error((componentName || 'React class') + ': ' + location + ' type `' + typeSpecName + '` is invalid; ' + 'it must be a function, usually from the `prop-types` package, but received `' + typeof typeSpecs[typeSpecName] + '`.' + 'This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.');\n err.name = 'Invariant Violation';\n throw err;\n }\n\n error$1 = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED');\n } catch (ex) {\n error$1 = ex;\n }\n\n if (error$1 && !(error$1 instanceof Error)) {\n setCurrentlyValidatingElement(element);\n\n error('%s: type specification of %s' + ' `%s` is invalid; the type checker ' + 'function must return `null` or an `Error` but returned a %s. ' + 'You may have forgotten to pass an argument to the type checker ' + 'creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and ' + 'shape all require an argument).', componentName || 'React class', location, typeSpecName, typeof error$1);\n\n setCurrentlyValidatingElement(null);\n }\n\n if (error$1 instanceof Error && !(error$1.message in loggedTypeFailures)) {\n // Only monitor this failure once because there tends to be a lot of the\n // same error.\n loggedTypeFailures[error$1.message] = true;\n setCurrentlyValidatingElement(element);\n\n error('Failed %s type: %s', location, error$1.message);\n\n setCurrentlyValidatingElement(null);\n }\n }\n }\n }\n}\n\nvar isArrayImpl = Array.isArray; // eslint-disable-next-line no-redeclare\n\nfunction isArray(a) {\n return isArrayImpl(a);\n}\n\n/*\n * The `'' + value` pattern (used in in perf-sensitive code) throws for Symbol\n * and Temporal.* types. See https://github.com/facebook/react/pull/22064.\n *\n * The functions in this module will throw an easier-to-understand,\n * easier-to-debug exception with a clear errors message message explaining the\n * problem. (Instead of a confusing exception thrown inside the implementation\n * of the `value` object).\n */\n// $FlowFixMe only called in DEV, so void return is not possible.\nfunction typeName(value) {\n {\n // toStringTag is needed for namespaced types like Temporal.Instant\n var hasToStringTag = typeof Symbol === 'function' && Symbol.toStringTag;\n var type = hasToStringTag && value[Symbol.toStringTag] || value.constructor.name || 'Object';\n return type;\n }\n} // $FlowFixMe only called in DEV, so void return is not possible.\n\n\nfunction willCoercionThrow(value) {\n {\n try {\n testStringCoercion(value);\n return false;\n } catch (e) {\n return true;\n }\n }\n}\n\nfunction testStringCoercion(value) {\n // If you ended up here by following an exception call stack, here's what's\n // happened: you supplied an object or symbol value to React (as a prop, key,\n // DOM attribute, CSS property, string ref, etc.) and when React tried to\n // coerce it to a string using `'' + value`, an exception was thrown.\n //\n // The most common types that will cause this exception are `Symbol` instances\n // and Temporal objects like `Temporal.Instant`. But any object that has a\n // `valueOf` or `[Symbol.toPrimitive]` method that throws will also cause this\n // exception. (Library authors do this to prevent users from using built-in\n // numeric operators like `+` or comparison operators like `>=` because custom\n // methods are needed to perform accurate arithmetic or comparison.)\n //\n // To fix the problem, coerce this object or symbol value to a string before\n // passing it to React. The most reliable way is usually `String(value)`.\n //\n // To find which value is throwing, check the browser or debugger console.\n // Before this exception was thrown, there should be `console.error` output\n // that shows the type (Symbol, Temporal.PlainDate, etc.) that caused the\n // problem and how that type was used: key, atrribute, input value prop, etc.\n // In most cases, this console output also shows the component and its\n // ancestor components where the exception happened.\n //\n // eslint-disable-next-line react-internal/safe-string-coercion\n return '' + value;\n}\nfunction checkKeyStringCoercion(value) {\n {\n if (willCoercionThrow(value)) {\n error('The provided key is an unsupported type %s.' + ' This value must be coerced to a string before before using it here.', typeName(value));\n\n return testStringCoercion(value); // throw (to help callers find troubleshooting comments)\n }\n }\n}\n\nvar ReactCurrentOwner = ReactSharedInternals.ReactCurrentOwner;\nvar RESERVED_PROPS = {\n key: true,\n ref: true,\n __self: true,\n __source: true\n};\nvar specialPropKeyWarningShown;\nvar specialPropRefWarningShown;\nvar didWarnAboutStringRefs;\n\n{\n didWarnAboutStringRefs = {};\n}\n\nfunction hasValidRef(config) {\n {\n if (hasOwnProperty.call(config, 'ref')) {\n var getter = Object.getOwnPropertyDescriptor(config, 'ref').get;\n\n if (getter && getter.isReactWarning) {\n return false;\n }\n }\n }\n\n return config.ref !== undefined;\n}\n\nfunction hasValidKey(config) {\n {\n if (hasOwnProperty.call(config, 'key')) {\n var getter = Object.getOwnPropertyDescriptor(config, 'key').get;\n\n if (getter && getter.isReactWarning) {\n return false;\n }\n }\n }\n\n return config.key !== undefined;\n}\n\nfunction warnIfStringRefCannotBeAutoConverted(config, self) {\n {\n if (typeof config.ref === 'string' && ReactCurrentOwner.current && self && ReactCurrentOwner.current.stateNode !== self) {\n var componentName = getComponentNameFromType(ReactCurrentOwner.current.type);\n\n if (!didWarnAboutStringRefs[componentName]) {\n error('Component \"%s\" contains the string ref \"%s\". ' + 'Support for string refs will be removed in a future major release. ' + 'This case cannot be automatically converted to an arrow function. ' + 'We ask you to manually fix this case by using useRef() or createRef() instead. ' + 'Learn more about using refs safely here: ' + 'https://reactjs.org/link/strict-mode-string-ref', getComponentNameFromType(ReactCurrentOwner.current.type), config.ref);\n\n didWarnAboutStringRefs[componentName] = true;\n }\n }\n }\n}\n\nfunction defineKeyPropWarningGetter(props, displayName) {\n {\n var warnAboutAccessingKey = function () {\n if (!specialPropKeyWarningShown) {\n specialPropKeyWarningShown = true;\n\n error('%s: `key` is not a prop. Trying to access it will result ' + 'in `undefined` being returned. If you need to access the same ' + 'value within the child component, you should pass it as a different ' + 'prop. (https://reactjs.org/link/special-props)', displayName);\n }\n };\n\n warnAboutAccessingKey.isReactWarning = true;\n Object.defineProperty(props, 'key', {\n get: warnAboutAccessingKey,\n configurable: true\n });\n }\n}\n\nfunction defineRefPropWarningGetter(props, displayName) {\n {\n var warnAboutAccessingRef = function () {\n if (!specialPropRefWarningShown) {\n specialPropRefWarningShown = true;\n\n error('%s: `ref` is not a prop. Trying to access it will result ' + 'in `undefined` being returned. If you need to access the same ' + 'value within the child component, you should pass it as a different ' + 'prop. (https://reactjs.org/link/special-props)', displayName);\n }\n };\n\n warnAboutAccessingRef.isReactWarning = true;\n Object.defineProperty(props, 'ref', {\n get: warnAboutAccessingRef,\n configurable: true\n });\n }\n}\n/**\n * Factory method to create a new React element. This no longer adheres to\n * the class pattern, so do not use new to call it. Also, instanceof check\n * will not work. Instead test $$typeof field against Symbol.for('react.element') to check\n * if something is a React Element.\n *\n * @param {*} type\n * @param {*} props\n * @param {*} key\n * @param {string|object} ref\n * @param {*} owner\n * @param {*} self A *temporary* helper to detect places where `this` is\n * different from the `owner` when React.createElement is called, so that we\n * can warn. We want to get rid of owner and replace string `ref`s with arrow\n * functions, and as long as `this` and owner are the same, there will be no\n * change in behavior.\n * @param {*} source An annotation object (added by a transpiler or otherwise)\n * indicating filename, line number, and/or other information.\n * @internal\n */\n\n\nvar ReactElement = function (type, key, ref, self, source, owner, props) {\n var element = {\n // This tag allows us to uniquely identify this as a React Element\n $$typeof: REACT_ELEMENT_TYPE,\n // Built-in properties that belong on the element\n type: type,\n key: key,\n ref: ref,\n props: props,\n // Record the component responsible for creating this element.\n _owner: owner\n };\n\n {\n // The validation flag is currently mutative. We put it on\n // an external backing store so that we can freeze the whole object.\n // This can be replaced with a WeakMap once they are implemented in\n // commonly used development environments.\n element._store = {}; // To make comparing ReactElements easier for testing purposes, we make\n // the validation flag non-enumerable (where possible, which should\n // include every environment we run tests in), so the test framework\n // ignores it.\n\n Object.defineProperty(element._store, 'validated', {\n configurable: false,\n enumerable: false,\n writable: true,\n value: false\n }); // self and source are DEV only properties.\n\n Object.defineProperty(element, '_self', {\n configurable: false,\n enumerable: false,\n writable: false,\n value: self\n }); // Two elements created in two different places should be considered\n // equal for testing purposes and therefore we hide it from enumeration.\n\n Object.defineProperty(element, '_source', {\n configurable: false,\n enumerable: false,\n writable: false,\n value: source\n });\n\n if (Object.freeze) {\n Object.freeze(element.props);\n Object.freeze(element);\n }\n }\n\n return element;\n};\n/**\n * https://github.com/reactjs/rfcs/pull/107\n * @param {*} type\n * @param {object} props\n * @param {string} key\n */\n\nfunction jsxDEV(type, config, maybeKey, source, self) {\n {\n var propName; // Reserved names are extracted\n\n var props = {};\n var key = null;\n var ref = null; // Currently, key can be spread in as a prop. This causes a potential\n // issue if key is also explicitly declared (ie. <div {...props} key=\"Hi\" />\n // or <div key=\"Hi\" {...props} /> ). We want to deprecate key spread,\n // but as an intermediary step, we will use jsxDEV for everything except\n // <div {...props} key=\"Hi\" />, because we aren't currently able to tell if\n // key is explicitly declared to be undefined or not.\n\n if (maybeKey !== undefined) {\n {\n checkKeyStringCoercion(maybeKey);\n }\n\n key = '' + maybeKey;\n }\n\n if (hasValidKey(config)) {\n {\n checkKeyStringCoercion(config.key);\n }\n\n key = '' + config.key;\n }\n\n if (hasValidRef(config)) {\n ref = config.ref;\n warnIfStringRefCannotBeAutoConverted(config, self);\n } // Remaining properties are added to a new props object\n\n\n for (propName in config) {\n if (hasOwnProperty.call(config, propName) && !RESERVED_PROPS.hasOwnProperty(propName)) {\n props[propName] = config[propName];\n }\n } // Resolve default props\n\n\n if (type && type.defaultProps) {\n var defaultProps = type.defaultProps;\n\n for (propName in defaultProps) {\n if (props[propName] === undefined) {\n props[propName] = defaultProps[propName];\n }\n }\n }\n\n if (key || ref) {\n var displayName = typeof type === 'function' ? type.displayName || type.name || 'Unknown' : type;\n\n if (key) {\n defineKeyPropWarningGetter(props, displayName);\n }\n\n if (ref) {\n defineRefPropWarningGetter(props, displayName);\n }\n }\n\n return ReactElement(type, key, ref, self, source, ReactCurrentOwner.current, props);\n }\n}\n\nvar ReactCurrentOwner$1 = ReactSharedInternals.ReactCurrentOwner;\nvar ReactDebugCurrentFrame$1 = ReactSharedInternals.ReactDebugCurrentFrame;\n\nfunction setCurrentlyValidatingElement$1(element) {\n {\n if (element) {\n var owner = element._owner;\n var stack = describeUnknownElementTypeFrameInDEV(element.type, element._source, owner ? owner.type : null);\n ReactDebugCurrentFrame$1.setExtraStackFrame(stack);\n } else {\n ReactDebugCurrentFrame$1.setExtraStackFrame(null);\n }\n }\n}\n\nvar propTypesMisspellWarningShown;\n\n{\n propTypesMisspellWarningShown = false;\n}\n/**\n * Verifies the object is a ReactElement.\n * See https://reactjs.org/docs/react-api.html#isvalidelement\n * @param {?object} object\n * @return {boolean} True if `object` is a ReactElement.\n * @final\n */\n\n\nfunction isValidElement(object) {\n {\n return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;\n }\n}\n\nfunction getDeclarationErrorAddendum() {\n {\n if (ReactCurrentOwner$1.current) {\n var name = getComponentNameFromType(ReactCurrentOwner$1.current.type);\n\n if (name) {\n return '\\n\\nCheck the render method of `' + name + '`.';\n }\n }\n\n return '';\n }\n}\n\nfunction getSourceInfoErrorAddendum(source) {\n {\n if (source !== undefined) {\n var fileName = source.fileName.replace(/^.*[\\\\\\/]/, '');\n var lineNumber = source.lineNumber;\n return '\\n\\nCheck your code at ' + fileName + ':' + lineNumber + '.';\n }\n\n return '';\n }\n}\n/**\n * Warn if there's no key explicitly set on dynamic arrays of children or\n * object keys are not valid. This allows us to keep track of children between\n * updates.\n */\n\n\nvar ownerHasKeyUseWarning = {};\n\nfunction getCurrentComponentErrorInfo(parentType) {\n {\n var info = getDeclarationErrorAddendum();\n\n if (!info) {\n var parentName = typeof parentType === 'string' ? parentType : parentType.displayName || parentType.name;\n\n if (parentName) {\n info = \"\\n\\nCheck the top-level render call using <\" + parentName + \">.\";\n }\n }\n\n return info;\n }\n}\n/**\n * Warn if the element doesn't have an explicit key assigned to it.\n * This element is in an array. The array could grow and shrink or be\n * reordered. All children that haven't already been validated are required to\n * have a \"key\" property assigned to it. Error statuses are cached so a warning\n * will only be shown once.\n *\n * @internal\n * @param {ReactElement} element Element that requires a key.\n * @param {*} parentType element's parent's type.\n */\n\n\nfunction validateExplicitKey(element, parentType) {\n {\n if (!element._store || element._store.validated || element.key != null) {\n return;\n }\n\n element._store.validated = true;\n var currentComponentErrorInfo = getCurrentComponentErrorInfo(parentType);\n\n if (ownerHasKeyUseWarning[currentComponentErrorInfo]) {\n return;\n }\n\n ownerHasKeyUseWarning[currentComponentErrorInfo] = true; // Usually the current owner is the offender, but if it accepts children as a\n // property, it may be the creator of the child that's responsible for\n // assigning it a key.\n\n var childOwner = '';\n\n if (element && element._owner && element._owner !== ReactCurrentOwner$1.current) {\n // Give the component that originally created this child.\n childOwner = \" It was passed a child from \" + getComponentNameFromType(element._owner.type) + \".\";\n }\n\n setCurrentlyValidatingElement$1(element);\n\n error('Each child in a list should have a unique \"key\" prop.' + '%s%s See https://reactjs.org/link/warning-keys for more information.', currentComponentErrorInfo, childOwner);\n\n setCurrentlyValidatingElement$1(null);\n }\n}\n/**\n * Ensure that every element either is passed in a static location, in an\n * array with an explicit keys property defined, or in an object literal\n * with valid key property.\n *\n * @internal\n * @param {ReactNode} node Statically passed child of any type.\n * @param {*} parentType node's parent's type.\n */\n\n\nfunction validateChildKeys(node, parentType) {\n {\n if (typeof node !== 'object') {\n return;\n }\n\n if (isArray(node)) {\n for (var i = 0; i < node.length; i++) {\n var child = node[i];\n\n if (isValidElement(child)) {\n validateExplicitKey(child, parentType);\n }\n }\n } else if (isValidElement(node)) {\n // This element was passed in a valid location.\n if (node._store) {\n node._store.validated = true;\n }\n } else if (node) {\n var iteratorFn = getIteratorFn(node);\n\n if (typeof iteratorFn === 'function') {\n // Entry iterators used to provide implicit keys,\n // but now we print a separate warning for them later.\n if (iteratorFn !== node.entries) {\n var iterator = iteratorFn.call(node);\n var step;\n\n while (!(step = iterator.next()).done) {\n if (isValidElement(step.value)) {\n validateExplicitKey(step.value, parentType);\n }\n }\n }\n }\n }\n }\n}\n/**\n * Given an element, validate that its props follow the propTypes definition,\n * provided by the type.\n *\n * @param {ReactElement} element\n */\n\n\nfunction validatePropTypes(element) {\n {\n var type = element.type;\n\n if (type === null || type === undefined || typeof type === 'string') {\n return;\n }\n\n var propTypes;\n\n if (typeof type === 'function') {\n propTypes = type.propTypes;\n } else if (typeof type === 'object' && (type.$$typeof === REACT_FORWARD_REF_TYPE || // Note: Memo only checks outer props here.\n // Inner props are checked in the reconciler.\n type.$$typeof === REACT_MEMO_TYPE)) {\n propTypes = type.propTypes;\n } else {\n return;\n }\n\n if (propTypes) {\n // Intentionally inside to avoid triggering lazy initializers:\n var name = getComponentNameFromType(type);\n checkPropTypes(propTypes, element.props, 'prop', name, element);\n } else if (type.PropTypes !== undefined && !propTypesMisspellWarningShown) {\n propTypesMisspellWarningShown = true; // Intentionally inside to avoid triggering lazy initializers:\n\n var _name = getComponentNameFromType(type);\n\n error('Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?', _name || 'Unknown');\n }\n\n if (typeof type.getDefaultProps === 'function' && !type.getDefaultProps.isReactClassApproved) {\n error('getDefaultProps is only used on classic React.createClass ' + 'definitions. Use a static property named `defaultProps` instead.');\n }\n }\n}\n/**\n * Given a fragment, validate that it can only be provided with fragment props\n * @param {ReactElement} fragment\n */\n\n\nfunction validateFragmentProps(fragment) {\n {\n var keys = Object.keys(fragment.props);\n\n for (var i = 0; i < keys.length; i++) {\n var key = keys[i];\n\n if (key !== 'children' && key !== 'key') {\n setCurrentlyValidatingElement$1(fragment);\n\n error('Invalid prop `%s` supplied to `React.Fragment`. ' + 'React.Fragment can only have `key` and `children` props.', key);\n\n setCurrentlyValidatingElement$1(null);\n break;\n }\n }\n\n if (fragment.ref !== null) {\n setCurrentlyValidatingElement$1(fragment);\n\n error('Invalid attribute `ref` supplied to `React.Fragment`.');\n\n setCurrentlyValidatingElement$1(null);\n }\n }\n}\n\nvar didWarnAboutKeySpread = {};\nfunction jsxWithValidation(type, props, key, isStaticChildren, source, self) {\n {\n var validType = isValidElementType(type); // We warn in this case but don't throw. We expect the element creation to\n // succeed and there will likely be errors in render.\n\n if (!validType) {\n var info = '';\n\n if (type === undefined || typeof type === 'object' && type !== null && Object.keys(type).length === 0) {\n info += ' You likely forgot to export your component from the file ' + \"it's defined in, or you might have mixed up default and named imports.\";\n }\n\n var sourceInfo = getSourceInfoErrorAddendum(source);\n\n if (sourceInfo) {\n info += sourceInfo;\n } else {\n info += getDeclarationErrorAddendum();\n }\n\n var typeString;\n\n if (type === null) {\n typeString = 'null';\n } else if (isArray(type)) {\n typeString = 'array';\n } else if (type !== undefined && type.$$typeof === REACT_ELEMENT_TYPE) {\n typeString = \"<\" + (getComponentNameFromType(type.type) || 'Unknown') + \" />\";\n info = ' Did you accidentally export a JSX literal instead of a component?';\n } else {\n typeString = typeof type;\n }\n\n error('React.jsx: type is invalid -- expected a string (for ' + 'built-in components) or a class/function (for composite ' + 'components) but got: %s.%s', typeString, info);\n }\n\n var element = jsxDEV(type, props, key, source, self); // The result can be nullish if a mock or a custom function is used.\n // TODO: Drop this when these are no longer allowed as the type argument.\n\n if (element == null) {\n return element;\n } // Skip key warning if the type isn't valid since our key validation logic\n // doesn't expect a non-string/function type and can throw confusing errors.\n // We don't want exception behavior to differ between dev and prod.\n // (Rendering will throw with a helpful message and as soon as the type is\n // fixed, the key warnings will appear.)\n\n\n if (validType) {\n var children = props.children;\n\n if (children !== undefined) {\n if (isStaticChildren) {\n if (isArray(children)) {\n for (var i = 0; i < children.length; i++) {\n validateChildKeys(children[i], type);\n }\n\n if (Object.freeze) {\n Object.freeze(children);\n }\n } else {\n error('React.jsx: Static children should always be an array. ' + 'You are likely explicitly calling React.jsxs or React.jsxDEV. ' + 'Use the Babel transform instead.');\n }\n } else {\n validateChildKeys(children, type);\n }\n }\n }\n\n {\n if (hasOwnProperty.call(props, 'key')) {\n var componentName = getComponentNameFromType(type);\n var keys = Object.keys(props).filter(function (k) {\n return k !== 'key';\n });\n var beforeExample = keys.length > 0 ? '{key: someKey, ' + keys.join(': ..., ') + ': ...}' : '{key: someKey}';\n\n if (!didWarnAboutKeySpread[componentName + beforeExample]) {\n var afterExample = keys.length > 0 ? '{' + keys.join(': ..., ') + ': ...}' : '{}';\n\n error('A props object containing a \"key\" prop is being spread into JSX:\\n' + ' let props = %s;\\n' + ' <%s {...props} />\\n' + 'React keys must be passed directly to JSX without using spread:\\n' + ' let props = %s;\\n' + ' <%s key={someKey} {...props} />', beforeExample, componentName, afterExample, componentName);\n\n didWarnAboutKeySpread[componentName + beforeExample] = true;\n }\n }\n }\n\n if (type === REACT_FRAGMENT_TYPE) {\n validateFragmentProps(element);\n } else {\n validatePropTypes(element);\n }\n\n return element;\n }\n} // These two functions exist to still get child warnings in dev\n// even with the prod transform. This means that jsxDEV is purely\n// opt-in behavior for better messages but that we won't stop\n// giving you warnings if you use production apis.\n\nfunction jsxWithValidationStatic(type, props, key) {\n {\n return jsxWithValidation(type, props, key, true);\n }\n}\nfunction jsxWithValidationDynamic(type, props, key) {\n {\n return jsxWithValidation(type, props, key, false);\n }\n}\n\nvar jsx = jsxWithValidationDynamic ; // we may want to special case jsxs internally to take advantage of static children.\n// for now we can ship identical prod functions\n\nvar jsxs = jsxWithValidationStatic ;\n\nexports.Fragment = REACT_FRAGMENT_TYPE;\nexports.jsx = jsx;\nexports.jsxs = jsxs;\n })();\n}\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react-jsx-runtime.production.min.js');\n} else {\n module.exports = require('./cjs/react-jsx-runtime.development.js');\n}\n","const t=Symbol.for(\"@ts-pattern/matcher\"),e=Symbol.for(\"@ts-pattern/isVariadic\"),n=\"@ts-pattern/anonymous-select-key\",r=t=>Boolean(t&&\"object\"==typeof t),i=e=>e&&!!e[t],o=(n,s,c)=>{if(i(n)){const e=n[t](),{matched:r,selections:i}=e.match(s);return r&&i&&Object.keys(i).forEach(t=>c(t,i[t])),r}if(r(n)){if(!r(s))return!1;if(Array.isArray(n)){if(!Array.isArray(s))return!1;let t=[],r=[],u=[];for(const o of n.keys()){const s=n[o];i(s)&&s[e]?u.push(s):u.length?r.push(s):t.push(s)}if(u.length){if(u.length>1)throw new Error(\"Pattern error: Using `...P.array(...)` several times in a single pattern is not allowed.\");if(s.length<t.length+r.length)return!1;const e=s.slice(0,t.length),n=0===r.length?[]:s.slice(-r.length),i=s.slice(t.length,0===r.length?Infinity:-r.length);return t.every((t,n)=>o(t,e[n],c))&&r.every((t,e)=>o(t,n[e],c))&&(0===u.length||o(u[0],i,c))}return n.length===s.length&&n.every((t,e)=>o(t,s[e],c))}return Reflect.ownKeys(n).every(e=>{const r=n[e];return(e in s||i(u=r)&&\"optional\"===u[t]().matcherType)&&o(r,s[e],c);var u})}return Object.is(s,n)},s=e=>{var n,o,u;return r(e)?i(e)?null!=(n=null==(o=(u=e[t]()).getSelectionKeys)?void 0:o.call(u))?n:[]:Array.isArray(e)?c(e,s):c(Object.values(e),s):[]},c=(t,e)=>t.reduce((t,n)=>t.concat(e(n)),[]);function u(...t){if(1===t.length){const[e]=t;return t=>o(e,t,()=>{})}if(2===t.length){const[e,n]=t;return o(e,n,()=>{})}throw new Error(`isMatching wasn't given the right number of arguments: expected 1 or 2, received ${t.length}.`)}function a(t){return Object.assign(t,{optional:()=>h(t),and:e=>d(t,e),or:e=>y(t,e),select:e=>void 0===e?v(t):v(e,t)})}function l(t){return Object.assign((t=>Object.assign(t,{[Symbol.iterator](){let n=0;const r=[{value:Object.assign(t,{[e]:!0}),done:!1},{done:!0,value:void 0}];return{next:()=>{var t;return null!=(t=r[n++])?t:r.at(-1)}}}}))(t),{optional:()=>l(h(t)),select:e=>l(void 0===e?v(t):v(e,t))})}function h(e){return a({[t]:()=>({match:t=>{let n={};const r=(t,e)=>{n[t]=e};return void 0===t?(s(e).forEach(t=>r(t,void 0)),{matched:!0,selections:n}):{matched:o(e,t,r),selections:n}},getSelectionKeys:()=>s(e),matcherType:\"optional\"})})}const f=(t,e)=>{for(const n of t)if(!e(n))return!1;return!0},g=(t,e)=>{for(const[n,r]of t.entries())if(!e(r,n))return!1;return!0},m=(t,e)=>{const n=Reflect.ownKeys(t);for(const r of n)if(!e(r,t[r]))return!1;return!0};function d(...e){return a({[t]:()=>({match:t=>{let n={};const r=(t,e)=>{n[t]=e};return{matched:e.every(e=>o(e,t,r)),selections:n}},getSelectionKeys:()=>c(e,s),matcherType:\"and\"})})}function y(...e){return a({[t]:()=>({match:t=>{let n={};const r=(t,e)=>{n[t]=e};return c(e,s).forEach(t=>r(t,void 0)),{matched:e.some(e=>o(e,t,r)),selections:n}},getSelectionKeys:()=>c(e,s),matcherType:\"or\"})})}function p(e){return{[t]:()=>({match:t=>({matched:Boolean(e(t))})})}}function v(...e){const r=\"string\"==typeof e[0]?e[0]:void 0,i=2===e.length?e[1]:\"string\"==typeof e[0]?void 0:e[0];return a({[t]:()=>({match:t=>{let e={[null!=r?r:n]:t};return{matched:void 0===i||o(i,t,(t,n)=>{e[t]=n}),selections:e}},getSelectionKeys:()=>[null!=r?r:n].concat(void 0===i?[]:s(i))})})}function b(t){return!0}function w(t){return\"number\"==typeof t}function S(t){return\"string\"==typeof t}function j(t){return\"bigint\"==typeof t}const K=a(p(b)),O=a(p(b)),E=K,x=t=>Object.assign(a(t),{startsWith:e=>{return x(d(t,(n=e,p(t=>S(t)&&t.startsWith(n)))));var n},endsWith:e=>{return x(d(t,(n=e,p(t=>S(t)&&t.endsWith(n)))));var n},minLength:e=>x(d(t,(t=>p(e=>S(e)&&e.length>=t))(e))),length:e=>x(d(t,(t=>p(e=>S(e)&&e.length===t))(e))),maxLength:e=>x(d(t,(t=>p(e=>S(e)&&e.length<=t))(e))),includes:e=>{return x(d(t,(n=e,p(t=>S(t)&&t.includes(n)))));var n},regex:e=>{return x(d(t,(n=e,p(t=>S(t)&&Boolean(t.match(n))))));var n}}),A=x(p(S)),N=t=>Object.assign(a(t),{between:(e,n)=>N(d(t,((t,e)=>p(n=>w(n)&&t<=n&&e>=n))(e,n))),lt:e=>N(d(t,(t=>p(e=>w(e)&&e<t))(e))),gt:e=>N(d(t,(t=>p(e=>w(e)&&e>t))(e))),lte:e=>N(d(t,(t=>p(e=>w(e)&&e<=t))(e))),gte:e=>N(d(t,(t=>p(e=>w(e)&&e>=t))(e))),int:()=>N(d(t,p(t=>w(t)&&Number.isInteger(t)))),finite:()=>N(d(t,p(t=>w(t)&&Number.isFinite(t)))),positive:()=>N(d(t,p(t=>w(t)&&t>0))),negative:()=>N(d(t,p(t=>w(t)&&t<0)))}),P=N(p(w)),k=t=>Object.assign(a(t),{between:(e,n)=>k(d(t,((t,e)=>p(n=>j(n)&&t<=n&&e>=n))(e,n))),lt:e=>k(d(t,(t=>p(e=>j(e)&&e<t))(e))),gt:e=>k(d(t,(t=>p(e=>j(e)&&e>t))(e))),lte:e=>k(d(t,(t=>p(e=>j(e)&&e<=t))(e))),gte:e=>k(d(t,(t=>p(e=>j(e)&&e>=t))(e))),positive:()=>k(d(t,p(t=>j(t)&&t>0))),negative:()=>k(d(t,p(t=>j(t)&&t<0)))}),T=k(p(j)),B=a(p(function(t){return\"boolean\"==typeof t})),_=a(p(function(t){return\"symbol\"==typeof t})),W=a(p(function(t){return null==t})),$=a(p(function(t){return null!=t}));var z={__proto__:null,matcher:t,optional:h,array:function(...e){return l({[t]:()=>({match:t=>{if(!Array.isArray(t))return{matched:!1};if(0===e.length)return{matched:!0};const n=e[0];let r={};if(0===t.length)return s(n).forEach(t=>{r[t]=[]}),{matched:!0,selections:r};const i=(t,e)=>{r[t]=(r[t]||[]).concat([e])};return{matched:t.every(t=>o(n,t,i)),selections:r}},getSelectionKeys:()=>0===e.length?[]:s(e[0])})})},set:function(...e){return a({[t]:()=>({match:t=>{if(!(t instanceof Set))return{matched:!1};let n={};if(0===t.size)return{matched:!0,selections:n};if(0===e.length)return{matched:!0};const r=(t,e)=>{n[t]=(n[t]||[]).concat([e])},i=e[0];return{matched:f(t,t=>o(i,t,r)),selections:n}},getSelectionKeys:()=>0===e.length?[]:s(e[0])})})},map:function(...e){return a({[t]:()=>({match:t=>{if(!(t instanceof Map))return{matched:!1};let n={};if(0===t.size)return{matched:!0,selections:n};const r=(t,e)=>{n[t]=(n[t]||[]).concat([e])};if(0===e.length)return{matched:!0};var i;if(1===e.length)throw new Error(`\\`P.map\\` wasn't given enough arguments. Expected (key, value), received ${null==(i=e[0])?void 0:i.toString()}`);const[s,c]=e;return{matched:g(t,(t,e)=>{const n=o(s,e,r),i=o(c,t,r);return n&&i}),selections:n}},getSelectionKeys:()=>0===e.length?[]:[...s(e[0]),...s(e[1])]})})},record:function(...e){return a({[t]:()=>({match:t=>{if(null===t||\"object\"!=typeof t||Array.isArray(t))return{matched:!1};var n;if(0===e.length)throw new Error(`\\`P.record\\` wasn't given enough arguments. Expected (value) or (key, value), received ${null==(n=e[0])?void 0:n.toString()}`);let r={};const i=(t,e)=>{r[t]=(r[t]||[]).concat([e])},[s,c]=1===e.length?[A,e[0]]:e;return{matched:m(t,(t,e)=>{const n=\"string\"!=typeof t||Number.isNaN(Number(t))?null:Number(t),r=null!==n&&o(s,n,i),u=o(s,t,i),a=o(c,e,i);return(u||r)&&a}),selections:r}},getSelectionKeys:()=>0===e.length?[]:[...s(e[0]),...s(e[1])]})})},intersection:d,union:y,not:function(e){return a({[t]:()=>({match:t=>({matched:!o(e,t,()=>{})}),getSelectionKeys:()=>[],matcherType:\"not\"})})},when:p,select:v,any:K,unknown:O,_:E,string:A,number:P,bigint:T,boolean:B,symbol:_,nullish:W,nonNullable:$,instanceOf:function(t){return a(p(function(t){return e=>e instanceof t}(t)))},shape:function(t){return a(p(u(t)))}};class I extends Error{constructor(t){let e;try{e=JSON.stringify(t)}catch(n){e=t}super(`Pattern matching error: no pattern matches value ${e}`),this.input=void 0,this.input=t}}const L={matched:!1,value:void 0};function M(t){return new R(t,L)}class R{constructor(t,e){this.input=void 0,this.state=void 0,this.input=t,this.state=e}with(...t){if(this.state.matched)return this;const e=t[t.length-1],r=[t[0]];let i;3===t.length&&\"function\"==typeof t[1]?i=t[1]:t.length>2&&r.push(...t.slice(1,t.length-1));let s=!1,c={};const u=(t,e)=>{s=!0,c[t]=e},a=!r.some(t=>o(t,this.input,u))||i&&!Boolean(i(this.input))?L:{matched:!0,value:e(s?n in c?c[n]:c:this.input,this.input)};return new R(this.input,a)}when(t,e){if(this.state.matched)return this;const n=Boolean(t(this.input));return new R(this.input,n?{matched:!0,value:e(this.input,this.input)}:L)}otherwise(t){return this.state.matched?this.state.value:t(this.input)}exhaustive(t=F){return this.state.matched?this.state.value:t(this.input)}run(){return this.exhaustive()}returnType(){return this}narrow(){return this}}function F(t){throw new I(t)}export{I as NonExhaustiveError,z as P,z as Pattern,u as isMatching,M as match};\n//# sourceMappingURL=index.js.map\n","import { Flex, Space } from \"antd\";\nimport type React from \"react\";\nimport Typography from \"../../ui/Typography/Typography\";\nimport { useContext } from \"react\";\nimport { VerticalLayoutContext } from \"./VerticalLayout\";\nimport type {\n\tAcaciaBreadcrumbProps,\n\tAcaciaTabsProps,\n} from \"../../ui/interfaces\";\nimport Breadcrumb from \"../../ui/Breadcrumb/Breadcrumb\";\nimport { useAcaciaToken } from \"../../../tokens/useAcaciaToken\";\nimport Tabs from \"../../ui/Tabs/Tabs\";\n\nexport interface VerticalHeaderProps {\n\tpageTitle: string | React.ReactNode;\n\tpageSubtitle: string | React.ReactNode;\n\tpageIcon?: React.ReactNode;\n\trightSideItems?: React.ReactNode;\n\tleftSideItems?: React.ReactNode;\n\tbreadcrumbs?: AcaciaBreadcrumbProps;\n\ttabs?: Omit<AcaciaTabsProps, \"type\">;\n}\n\nconst VerticalHeader = ({ ...props }: VerticalHeaderProps) => {\n\tconst context = useContext(VerticalLayoutContext); // context to check if its nested - its possible that the user can use the header without the VerticalLayout\n\tconst isNestedInLayout = Boolean(context); // check if nested or not to handle colors\n\n\tconst token = useAcaciaToken();\n\t// render tabs\n\tconst renderTabs = () => {\n\t\treturn (\n\t\t\t<Tabs\n\t\t\t\t{...props.tabs}\n\t\t\t\tstyle={{ marginTop: \"0.5rem\" }}\n\t\t\t\ttype={isNestedInLayout ? \"header\" : \"page\"}\n\t\t\t/>\n\t\t);\n\t};\n\n\treturn (\n\t\t<div style={{ padding: isNestedInLayout ? 0 : 20 }}>\n\t\t\t<Flex\n\t\t\t\talign=\"center\"\n\t\t\t\tjustify=\"space-between\"\n\t\t\t\tstyle={{ paddingTop: isNestedInLayout ? \"1rem\" : 0 }}\n\t\t\t>\n\t\t\t\t<Space orientation=\"vertical\" size={0} style={{ display: \"flex\" }}>\n\t\t\t\t\t{props.breadcrumbs && <Breadcrumb {...props.breadcrumbs} />}\n\t\t\t\t\t<Typography.Title\n\t\t\t\t\t\tlevel={2}\n\t\t\t\t\t\tstyle={{\n\t\t\t\t\t\t\tmargin: 0,\n\t\t\t\t\t\t\tcolor: isNestedInLayout\n\t\t\t\t\t\t\t\t? context?.mainTextColor\n\t\t\t\t\t\t\t\t: token.token.colorText,\n\t\t\t\t\t\t}}\n\t\t\t\t\t>\n\t\t\t\t\t\t{props.pageTitle}\n\t\t\t\t\t</Typography.Title>\n\t\t\t\t\t<Typography.Text\n\t\t\t\t\t\tstyle={{\n\t\t\t\t\t\t\tcolor: isNestedInLayout\n\t\t\t\t\t\t\t\t? context?.accentColor\n\t\t\t\t\t\t\t\t: token.token.colorText,\n\t\t\t\t\t\t}}\n\t\t\t\t\t>\n\t\t\t\t\t\t{props.pageSubtitle}\n\t\t\t\t\t</Typography.Text>\n\t\t\t\t\t{/* // if its nested, then its under the left hand side items */}\n\t\t\t\t\t{props.tabs && isNestedInLayout && renderTabs()}\n\t\t\t\t</Space>\n\t\t\t\t{props.rightSideItems}\n\t\t\t</Flex>\n\t\t\t{/* // if its not nested, then remove it under the left hand side items and place it on its own */}\n\t\t\t{props.tabs && !isNestedInLayout && renderTabs()}\n\t\t</div>\n\t);\n};\n\nexport default VerticalHeader;\n","import HexagonHeader from \"../../../assets/header1.jpg\";\nimport StripedHeader from \"../../../assets/header2.jpg\";\nimport MysticalHeader from \"../../../assets/header3.jpg\";\nimport type { AcaciaMenuProps, AcaciaThemes } from \"../../ui/interfaces\";\nimport { match } from \"ts-pattern\";\nimport { createContext, useCallback, type PropsWithChildren } from \"react\";\nimport { Layout } from \"antd\";\nimport {\n\tadjustBrightness,\n\tgenerateSteppedGradient,\n\tgetLuminance,\n\tisLight,\n} from \"@mirawision/colorize\";\nimport { Helmet } from \"react-helmet\";\nimport { renderBlackOrWhiteText } from \"../../../utils/colors.util\";\nimport { parseBackgroundColors } from \"../../../utils/parseBackgroundColors\";\nimport Menu from \"../../ui/Menu/Menu\";\nimport DefaultLogo from \"../../../theme/defaultLogo\";\nimport VerticalHeader from \"./VerticalHeader\";\n\ninterface LayoutProps {\n\theaderBackgroundProps: HeaderBackgroundProps;\n\tmenuProps?: Omit<AcaciaMenuProps, \"mode\">;\n\tdocumentHeadLabel?: string;\n\tmainTextColor?: string; // main color of the layout\n}\n\n// theme background image props for the header\ntype BackgroundImage =\n\t| {\n\t\t\ttype: \"theme\";\n\t\t\ttheme: AcaciaThemes;\n\t }\n\t| { type: \"custom-image\"; src: string };\n\n// background fill\ntype BackgroundFill =\n\t| {\n\t\t\ttype: \"theme\";\n\t\t\ttheme: AcaciaThemes;\n\t }\n\t| { type: \"gradient\"; colors: string[] }\n\t| { type: \"gradient-css\"; css: string };\n\n// interface to handle header background - props allowed for users to change picture, change theme or custom gradient entirely\ninterface HeaderBackgroundProps {\n\theaderBackgroundImage?: BackgroundImage;\n\theaderBackgroundFill?: BackgroundFill;\n}\n\nconst getThemedBackgroundPicture = (theme: AcaciaThemes) => {\n\treturn match(theme)\n\t\t.with(\"classic\", () => HexagonHeader)\n\t\t.with(\"submarine\", () => StripedHeader)\n\t\t.with(\"mystical\", () => MysticalHeader)\n\t\t.exhaustive();\n};\n\nexport const VerticalLayoutContext = createContext<{\n\tmainTextColor: string;\n\taccentColor: string;\n\tgradients: string[] | null;\n} | null>(null);\n\nconst VerticalLayout = ({\n\theaderBackgroundProps: {\n\t\theaderBackgroundImage = { type: \"theme\", theme: \"classic\" },\n\t\theaderBackgroundFill = { type: \"theme\", theme: \"classic\" },\n\t},\n\t...props\n}: PropsWithChildren<LayoutProps>) => {\n\t// get the first bg color\n\tconst getFirstBackgroundHexColor = () => {\n\t\treturn match(headerBackgroundFill)\n\t\t\t.with({ type: \"theme\" }, ({ theme }) => {\n\t\t\t\treturn \"#1d4042\";\n\t\t\t})\n\t\t\t.with({ type: \"gradient\" }, ({ colors }) => {\n\t\t\t\treturn colors[0];\n\t\t\t})\n\t\t\t.with({ type: \"gradient-css\" }, ({ css }) => {\n\t\t\t\t// get the background color\n\n\t\t\t\tconst colors = parseBackgroundColors(css);\n\t\t\t\tconst firstColor = colors.colors[0];\n\t\t\t\tif (firstColor.format === \"hex\" || firstColor.format === \"rgb\") {\n\t\t\t\t\treturn firstColor.value;\n\t\t\t\t}\n\t\t\t\tconsole.error(\"Named colors not allowed, return HEX or RGB\");\n\t\t\t\treturn \"#1d4042\";\n\t\t\t})\n\t\t\t.exhaustive();\n\t};\n\tconst firstBackgroundColor = getFirstBackgroundHexColor();\n\n\tconst accentColor =\n\t\tgetLuminance(firstBackgroundColor) > 0.4\n\t\t\t? adjustBrightness(firstBackgroundColor, -45)\n\t\t\t: adjustBrightness(\n\t\t\t\t\tfirstBackgroundColor,\n\t\t\t\t\tisLight(firstBackgroundColor) ? -45 : 45,\n\t\t\t\t); // for the accent color - subtitles and tabs. based on the color of the theme background\n\n\tconst getLinearGradient = useCallback((strings: string[]) => {\n\t\tif (strings.length === 3) {\n\t\t\treturn `linear-gradient(45deg, ${strings[0]}f2 14%, ${strings[1]}f5 51%, ${strings[2]}f2 81%)`;\n\t\t}\n\t\tconsole.error(\"Need to have 3 strings\");\n\t\treturn null;\n\t}, []);\n\n\t// get the correct css\n\tconst getBackgroundCSS = () => {\n\t\treturn match(headerBackgroundFill)\n\t\t\t.with({ type: \"theme\" }, () => {\n\t\t\t\treturn {\n\t\t\t\t\tcss: getLinearGradient([\"#1d4042\", \"#37717c\", \"#418384\"]),\n\t\t\t\t\tstops: [\"#1d4042\", \"#37717c\", \"#418384\"],\n\t\t\t\t};\n\t\t\t})\n\t\t\t.with({ type: \"gradient\" }, ({ colors }) => {\n\t\t\t\t// given a string [], generate the gradient. if given two. then generate the inbetween. Do not accept length with 1\n\n\t\t\t\tif (colors.length === 2) {\n\t\t\t\t\tconst gradient = generateSteppedGradient(colors[0], colors[1], 3);\n\n\t\t\t\t\treturn {\n\t\t\t\t\t\tcss: getLinearGradient(gradient),\n\t\t\t\t\t\tstops: gradient,\n\t\t\t\t\t};\n\t\t\t\t}\n\n\t\t\t\tif (colors.length === 3) {\n\t\t\t\t\treturn {\n\t\t\t\t\t\tcss: getLinearGradient(colors),\n\t\t\t\t\t\tstops: colors,\n\t\t\t\t\t};\n\t\t\t\t}\n\t\t\t\tconsole.error(\n\t\t\t\t\t\"Either give a string[] with 2 HEX colors or 3 HEX colors\",\n\t\t\t\t);\n\t\t\t\treturn {\n\t\t\t\t\tcss: getLinearGradient([\"1d4042\", \"37717c\", \"418384\"]),\n\t\t\t\t\tstops: [\"#1d4042\", \"#37717c\", \"#418384\"],\n\t\t\t\t};\n\t\t\t})\n\t\t\t.with({ type: \"gradient-css\" }, ({ css }) => {\n\t\t\t\t// users write the css straight\n\t\t\t\tconst colors = parseBackgroundColors(css);\n\n\t\t\t\treturn {\n\t\t\t\t\tcss: css,\n\t\t\t\t\tstops: colors.colors.map((item) => item.value),\n\t\t\t\t};\n\t\t\t})\n\t\t\t.exhaustive();\n\t};\n\n\tconst { css, stops } = getBackgroundCSS();\n\n\t// for each type of header - the way to get background image changes\n\tconst getBackgroundImage = () => {\n\t\treturn match(headerBackgroundImage)\n\t\t\t.with({ type: \"theme\" }, ({ theme }) => {\n\t\t\t\treturn getThemedBackgroundPicture(theme);\n\t\t\t})\n\t\t\t.with({ type: \"custom-image\" }, ({ src }) => {\n\t\t\t\treturn src;\n\t\t\t})\n\t\t\t.exhaustive();\n\t};\n\n\treturn (\n\t\t<VerticalLayoutContext.Provider\n\t\t\tvalue={{\n\t\t\t\tmainTextColor:\n\t\t\t\t\tprops.mainTextColor ?? renderBlackOrWhiteText(firstBackgroundColor), // by default it will try to render white/black text for content\n\t\t\t\taccentColor: accentColor,\n\t\t\t\tgradients: stops,\n\t\t\t}}\n\t\t>\n\t\t\t<Helmet>\n\t\t\t\t<title>{props.documentHeadLabel}</title>\n\t\t\t</Helmet>\n\n\t\t\t<Layout>\n\t\t\t\t<div style={{ flexGrow: 1 }}>\n\t\t\t\t\t<div\n\t\t\t\t\t\tstyle={{\n\t\t\t\t\t\t\tbackgroundImage: `${css}, url(${getBackgroundImage()})`,\n\t\t\t\t\t\t\tbackgroundRepeat: \"no-repeat\",\n\t\t\t\t\t\t\tbackgroundSize: \"cover\",\n\t\t\t\t\t\t\tbackgroundPosition: \"center\",\n\t\t\t\t\t\t}}\n\t\t\t\t\t>\n\t\t\t\t\t\t<div style={{ padding: \"1rem 2rem 2rem 2rem\" }}>\n\t\t\t\t\t\t\t<Layout.Header style={{ display: \"flex\", alignItems: \"center\" }}>\n\t\t\t\t\t\t\t\t<DefaultLogo />\n\t\t\t\t\t\t\t\t{props.menuProps && (\n\t\t\t\t\t\t\t\t\t<Menu\n\t\t\t\t\t\t\t\t\t\tmode=\"horizontal\"\n\t\t\t\t\t\t\t\t\t\t{...props.menuProps}\n\t\t\t\t\t\t\t\t\t\tstyle={{\n\t\t\t\t\t\t\t\t\t\t\tflex: 1,\n\t\t\t\t\t\t\t\t\t\t\tminWidth: 0,\n\t\t\t\t\t\t\t\t\t\t\tfontSize: 16,\n\t\t\t\t\t\t\t\t\t\t\tfontWeight: 700,\n\t\t\t\t\t\t\t\t\t\t\t...props.menuProps.style,\n\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t</Layout.Header>\n\n\t\t\t\t\t\t\t{props.children}\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</Layout>\n\t\t</VerticalLayoutContext.Provider>\n\t);\n};\n\nVerticalLayout.VerticalHeader = VerticalHeader;\nexport default VerticalLayout;\n","/**\n * @description A Badge normally appears in proximity to notifications or user avatars with eye-catching appeal, typically displaying unread messages count\n */\n\nimport type { AcaciaAvatarProps } from \"../interfaces\";\nimport { Avatar as AntdAvatar } from \"antd\";\nimport Typography from \"../Typography/Typography\";\nimport Space from \"../Space/Space\";\n\nconst Avatar = ({ ...props }: AcaciaAvatarProps) => {\n\treturn (\n\t\t<Space size={0}>\n\t\t\t<div\n\t\t\t\tstyle={{\n\t\t\t\t\t...(props.userId && { background: \"#ebe8e8\", borderRadius: 20 }),\n\t\t\t\t}}\n\t\t\t>\n\t\t\t\t<AntdAvatar\n\t\t\t\t\tstyle={{ marginRight: props.userId && -3, ...props.style }}\n\t\t\t\t\t{...props}\n\t\t\t\t>\n\t\t\t\t\t{props.children}\n\t\t\t\t</AntdAvatar>\n\n\t\t\t\t{props.userId && (\n\t\t\t\t\t<Typography.Text strong style={{ paddingInline: 8 }}>\n\t\t\t\t\t\t{props.userId.toUpperCase()}\n\t\t\t\t\t</Typography.Text>\n\t\t\t\t)}\n\t\t\t</div>\n\t\t</Space>\n\t);\n};\n\nexport default Avatar;\n","/**\n * @description A Badge normally appears in proximity to notifications or user avatars with eye-catching appeal, typically displaying unread messages count\n */\n\nimport type { AcaciaBadgeProps } from \"../interfaces\";\nimport { Badge as AntdBadge } from \"antd\";\nimport Ribbon from \"./Ribbon\";\n\nconst Badge = ({ ...props }: AcaciaBadgeProps) => {\n\treturn <AntdBadge {...props}>{props.children}</AntdBadge>;\n};\n\nBadge.Ribbon = Ribbon;\nexport default Badge;\n","import { Badge as AntdBadge } from \"antd\";\nimport type { AcaciaRibbonProps } from \"../interfaces\";\n\n/**\n * @description An extension of the Badge\n */\n\nconst Ribbon = ({ ...props }: AcaciaRibbonProps) => {\n\treturn <AntdBadge.Ribbon {...props} />;\n};\n\nexport default Ribbon;\n","import { Breadcrumb as AntdBreadcrumb, ConfigProvider, theme } from \"antd\";\nimport type { AcaciaBreadcrumbProps } from \"../interfaces\";\nimport { VerticalLayoutContext } from \"../../layout/VerticalLayout/VerticalLayout\";\nimport { useContext } from \"react\";\nimport { useGetDefaultTheme } from \"../ConfigProvider/defaultTheme\";\n\n/**\n * A breadcrumb displays the current location within a hierarchy. It allows going back to states higher up in the hierarchy.\n */\n\nconst Breadcrumb = ({ ...props }: AcaciaBreadcrumbProps) => {\n\tconst context = useContext(VerticalLayoutContext); // context to check if its nested - its possible that the user can use the header without the VerticalLayout\n\tconst isNestedInLayout = Boolean(context); // check if nested or not to handle colors\n\n\tconst { useToken } = theme;\n\tconst globalToken = useToken(); // get the default, antd tokens\n\n\tconst defaultTheme = useGetDefaultTheme(); // get the default, overwritten tokens\n\n\treturn (\n\t\t<ConfigProvider\n\t\t\ttheme={{\n\t\t\t\ttoken: { ...defaultTheme.token, ...globalToken.token },\n\t\t\t\tcomponents: {\n\t\t\t\t\tBreadcrumb: {\n\t\t\t\t\t\t...defaultTheme.components.Breadcrumb,\n\t\t\t\t\t\t...(isNestedInLayout\n\t\t\t\t\t\t\t? {\n\t\t\t\t\t\t\t\t\tlinkColor: context.mainTextColor,\n\t\t\t\t\t\t\t\t\titemColor: context.mainTextColor,\n\t\t\t\t\t\t\t\t\tlastItemColor: context.mainTextColor,\n\t\t\t\t\t\t\t\t\tseparatorColor: context.mainTextColor,\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t: {}), // only override if its nested in the layout\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t}}\n\t\t>\n\t\t\t<AntdBreadcrumb items={props.items} style={{ letterSpacing: 1.5 }} />\n\t\t</ConfigProvider>\n\t);\n};\n\nexport default Breadcrumb;\n","/**\n * @description A button means an operation (or a series of operations). Clicking a button will trigger corresponding business logic.\n */\nimport { Button as AntdButton } from \"antd\";\nimport type { AcaciaButtonProps } from \"../interfaces\";\n\nconst Button = ({ children, ...props }: AcaciaButtonProps) => {\n\treturn <AntdButton {...props}>{children}</AntdButton>;\n};\nexport default Button;\n","import { useMemo } from \"react\";\nimport type { AcaciaCardProps } from \"../interfaces\";\nimport { Card as AntdCard, Typography } from \"antd\";\nimport { useCardStyles } from \"./useCardStyles\";\nimport HexagonBackground from \"../../../assets/cardheader.png\";\nimport StripedBackground from \"../../../assets/cardheader2.png\";\nimport MysticalBackground from \"../../../assets/cardheader3.png\";\nimport { match } from \"ts-pattern\";\nimport { useTheme } from \"antd-style\";\nimport { generate } from \"@ant-design/colors\";\nimport { tint } from \"@mirawision/colorize\";\nconst Card = ({\n\theaderBackgroundTheme = \"classic\",\n\t...props\n}: AcaciaCardProps) => {\n\tconst cardStyles = useCardStyles().styles;\n\tconst token = useTheme();\n\n\tconst levelOneColors = generate(token.colorPrimary);\n\n\tconst lightShadeColor = tint(token.colorPrimary, 0.7); // for the left side gradient\n\n\tconst titleStyles = useMemo(() => {\n\t\tconst styles: {\n\t\t\tmarginBlock: number;\n\t\t\tfontSize?: string | number;\n\t\t} = {\n\t\t\tmarginBlock: 0,\n\t\t};\n\n\t\tif (props.size === \"small\") {\n\t\t\tstyles.fontSize = 18;\n\t\t}\n\n\t\treturn styles;\n\t}, [props.size]);\n\n\tconst subtitleStyles = useMemo(() => {\n\t\tconst styles: {\n\t\t\tcolor: string;\n\t\t\tfontWeight: number;\n\t\t\tfontSize?: string | number;\n\t\t} = {\n\t\t\tcolor: token.colorTextTertiary,\n\t\t\tfontWeight: 500,\n\t\t};\n\n\t\tif (props.size === \"small\") {\n\t\t\tstyles.fontSize = 13;\n\t\t}\n\n\t\treturn styles;\n\t}, [props.size]);\n\n\tconst getThemedBackground = () => {\n\t\treturn match(headerBackgroundTheme)\n\t\t\t.with(\"classic\", () => HexagonBackground)\n\t\t\t.with(\"submarine\", () => StripedBackground)\n\t\t\t.with(\"mystical\", () => MysticalBackground)\n\t\t\t.exhaustive();\n\t};\n\n\treturn (\n\t\t<AntdCard\n\t\t\tstyles={{\n\t\t\t\theader: {\n\t\t\t\t\tpadding: \"20px\",\n\t\t\t\t\tbackground: `linear-gradient(70deg, ${lightShadeColor}CC 80%, ${levelOneColors[4]}69 80%), url(${props.headerBackgroundPicture ?? getThemedBackground()})`,\n\t\t\t\t},\n\t\t\t\ttitle: {\n\t\t\t\t\twhiteSpace: \"normal\",\n\t\t\t\t},\n\t\t\t}}\n\t\t\tclassName={`${cardStyles.card}`}\n\t\t\t{...props}\n\t\t\ttitle={\n\t\t\t\tprops.title && (\n\t\t\t\t\t<>\n\t\t\t\t\t\t<Typography.Title level={4} style={titleStyles}>\n\t\t\t\t\t\t\t{props.title}\n\t\t\t\t\t\t</Typography.Title>\n\t\t\t\t\t\t{props.subtitle && (\n\t\t\t\t\t\t\t<Typography.Text style={subtitleStyles}>\n\t\t\t\t\t\t\t\t{props.subtitle}\n\t\t\t\t\t\t\t</Typography.Text>\n\t\t\t\t\t\t)}\n\t\t\t\t\t</>\n\t\t\t\t)\n\t\t\t}\n\t\t/>\n\t);\n};\n\nexport default Card;\n","import { createStyles } from \"antd-style\";\nimport { useAcaciaConfig } from \"../../../hooks/useAcaciaConfig\";\n\nexport const useCardStyles = () => {\n\tconst { shadow } = useAcaciaConfig();\n\n\treturn createStyles(({ css }) => ({\n\t\tcard: css`\n && {\n box-shadow: ${shadow.card};\n }\n }\n `,\n\t}))();\n};\n","/**\n * @description Collect user's choices.\n *\n * When To Use\n * Used for selecting multiple values from several options.\n * If you use only one checkbox, it is the same as using Switch to toggle between two states. The difference is that Switch will trigger the state change directly, but Checkbox just marks the state as changed and this needs to be submitted.\n */\n\nimport { Checkbox as AntdCheckbox } from \"antd\";\nimport type { AcaciaCheckboxProps } from \"../interfaces\";\nimport CheckboxGroup from \"./CheckboxGroup\";\n\nconst Checkbox = ({ ...props }: AcaciaCheckboxProps) => {\n\treturn <AntdCheckbox {...props} />;\n};\n\nCheckbox.Group = CheckboxGroup;\n\nexport default Checkbox;\n","/**\n * @description Collect user's choices.\n * We can use Checkbox and Grid in Checkbox.Group, to implement complex layout.\n */\n\nimport { Checkbox as AntdCheckbox } from \"antd\";\nimport type { CheckboxGroupProps } from \"antd/es/checkbox\";\n\nconst CheckboxGroup = ({ ...props }: CheckboxGroupProps) => {\n\treturn <AntdCheckbox.Group {...props} />;\n};\n\nexport default CheckboxGroup;\n","import { ConfigProvider as AntdConfigProvider } from \"antd\";\nimport { ConfigContext } from \"antd/es/config-provider/context\";\nimport { useAcaciaColors } from \"../../../hooks/useAcaciaColors\";\nimport { useAcaciaConfig } from \"../../../hooks/useAcaciaConfig\";\n\nimport { ThemeProvider } from \"antd-style\";\nimport { CustomTheme, type NewToken } from \"../../../theme/customTheme\";\nimport type { AcaciaConfigProviderProps } from \"../interfaces\";\nimport { useGetDefaultTheme } from \"./defaultTheme\";\n\nconst ConfigProvider = ({ ...props }: AcaciaConfigProviderProps) => {\n\tconst { colors, generate } = useAcaciaColors();\n\tconst { borderRadius, padding } = useAcaciaConfig();\n\n\tconst defaultTheme = useGetDefaultTheme();\n\n\tconst mergedToken = {\n\t\t...CustomTheme,\n\t\t...props.customToken,\n\t};\n\n\treturn (\n\t\t<ThemeProvider<NewToken> customToken={mergedToken}>\n\t\t\t<AntdConfigProvider\n\t\t\t\t{...props}\n\t\t\t\ttheme={{\n\t\t\t\t\ttoken: { ...defaultTheme.token, ...props.theme?.token },\n\t\t\t\t\tcomponents: {\n\t\t\t\t\t\t...defaultTheme.components,\n\t\t\t\t\t\t...props.theme?.components,\n\t\t\t\t\t},\n\t\t\t\t}}\n\t\t\t>\n\t\t\t\t{props.children}\n\t\t\t</AntdConfigProvider>\n\t\t</ThemeProvider>\n\t);\n};\n\nConfigProvider.ConfigContext = ConfigContext;\nexport default ConfigProvider;\n","import type { ThemeConfig } from \"antd\";\nimport { useAcaciaColors } from \"../../../hooks/useAcaciaColors\";\nimport { useAcaciaConfig } from \"../../../hooks/useAcaciaConfig\";\nimport { useMemo } from \"react\";\nimport { grey } from \"@ant-design/colors\";\nimport { typographyUtil } from \"../../../theme/typographyUtil\";\nimport \"@fontsource-variable/inter\";\nimport \"@fontsource-variable/outfit\";\nimport \"@fontsource-variable/roboto-flex\";\n\nexport function useGetDefaultTheme(): ThemeConfig {\n\tconst { colors } = useAcaciaColors();\n\tconst { borderRadius, padding } = useAcaciaConfig();\n\n\treturn useMemo<ThemeConfig>(() => {\n\t\treturn {\n\t\t\ttoken: {\n\t\t\t\tcolorPrimary: \"#427e7b\", // your custom default\n\t\t\t\tcolorText: \"#080808\",\n\t\t\t\tcolorTextTertiary: \"#757C7C\",\n\t\t\t\tfontFamily:\n\t\t\t\t\t'\"InterVariable\", \"Inter\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", sans-serif',\n\t\t\t\tborderRadius: borderRadius.primary,\n\t\t\t\tborderRadiusLG: borderRadius.primary,\n\t\t\t\tborderRadiusSM: borderRadius.primary,\n\t\t\t\tborderRadiusXS: borderRadius.primary,\n\t\t\t},\n\t\t\tcomponents: {\n\t\t\t\tButton: {\n\t\t\t\t\tdefaultBg: `${colors.offWhite}`,\n\t\t\t\t\tdefaultBorderColor: `${colors.border.button}`,\n\t\t\t\t\tborderRadius: borderRadius.primary,\n\t\t\t\t\tcolorWarning: colors.warning.primary,\n\t\t\t\t\tcolorError: colors.error.primary,\n\t\t\t\t\tcolorErrorBg: colors.error.fill,\n\t\t\t\t\tborderRadiusLG: borderRadius.primary,\n\t\t\t\t\tborderRadiusSM: borderRadius.primary,\n\t\t\t\t\tborderRadiusXS: borderRadius.primary,\n\t\t\t\t},\n\t\t\t\tLayout: {\n\t\t\t\t\theaderBg: \"transparent\",\n\t\t\t\t\theaderHeight: undefined,\n\t\t\t\t\theaderPadding: \"10px 0px 0px 0px\",\n\t\t\t\t},\n\t\t\t\tCheckbox: {\n\t\t\t\t\tlineWidth: 2,\n\t\t\t\t},\n\t\t\t\tSelect: {\n\t\t\t\t\tborderRadius: borderRadius.primary,\n\t\t\t\t\tborderRadiusLG: borderRadius.primary,\n\t\t\t\t\tborderRadiusSM: borderRadius.primary,\n\t\t\t\t\tborderRadiusXS: borderRadius.primary,\n\t\t\t\t},\n\t\t\t\tInput: {\n\t\t\t\t\tborderRadius: borderRadius.primary,\n\t\t\t\t\tborderRadiusLG: borderRadius.primary,\n\t\t\t\t\tborderRadiusSM: borderRadius.primary,\n\t\t\t\t\tborderRadiusXS: borderRadius.primary,\n\t\t\t\t\tcolorWarning: colors.warning.primary,\n\t\t\t\t\tcolorError: colors.error.primary,\n\t\t\t\t\tcolorBgTextHover: colors.link.hover,\n\t\t\t\t},\n\t\t\t\tPagination: {\n\t\t\t\t\tborderRadius: borderRadius.primary,\n\t\t\t\t\tborderRadiusLG: borderRadius.primary,\n\t\t\t\t\tborderRadiusSM: borderRadius.primary,\n\t\t\t\t\tborderRadiusXS: borderRadius.primary,\n\t\t\t\t},\n\t\t\t\tTypography: {\n\t\t\t\t\tfontSizeHeading1: typographyUtil.fontSize.h1,\n\t\t\t\t\tfontSizeHeading2: typographyUtil.fontSize.h2,\n\t\t\t\t\tfontSizeHeading3: typographyUtil.fontSize.h3,\n\t\t\t\t\tfontSizeHeading4: typographyUtil.fontSize.h4,\n\t\t\t\t\tfontSizeHeading5: typographyUtil.fontSize.h5,\n\t\t\t\t\tfontWeightStrong: 600,\n\t\t\t\t},\n\t\t\t\tCard: {\n\t\t\t\t\tborderRadius: borderRadius.card,\n\t\t\t\t\tborderRadiusLG: borderRadius.card,\n\t\t\t\t\tborderRadiusSM: borderRadius.card,\n\t\t\t\t\tborderRadiusXS: borderRadius.card,\n\t\t\t\t},\n\t\t\t\tTag: {\n\t\t\t\t\tborderRadius: borderRadius.tag,\n\t\t\t\t\tborderRadiusLG: borderRadius.tag,\n\t\t\t\t\tborderRadiusSM: borderRadius.tag,\n\t\t\t\t\tborderRadiusXS: borderRadius.tag,\n\t\t\t\t},\n\t\t\t\tTabs: {\n\t\t\t\t\thorizontalItemPadding: padding.tabs,\n\t\t\t\t\thorizontalItemPaddingLG: padding.tabs,\n\t\t\t\t\thorizontalItemPaddingSM: padding.tabs,\n\t\t\t\t\tcolorBorderSecondary: grey[1],\n\t\t\t\t},\n\t\t\t\tDropdown: {\n\t\t\t\t\tborderRadius: borderRadius.primary,\n\t\t\t\t\tborderRadiusLG: borderRadius.primary,\n\t\t\t\t\tborderRadiusSM: borderRadius.primary,\n\t\t\t\t\tborderRadiusXS: borderRadius.primary,\n\t\t\t\t},\n\t\t\t\tMenu: {\n\t\t\t\t\tpopupBg: \"grey\",\n\t\t\t\t},\n\t\t\t},\n\t\t};\n\t}, [colors, borderRadius, padding]);\n}\n","import { DatePicker as AntdDatePicker } from \"antd\";\nimport type { AcaciaDatePickerProps } from \"../interfaces\";\nimport RangePicker from \"./RangePicker\";\n\n/**\n * @description To select or input a date.\n */\n\nconst DatePicker = ({ ...props }: AcaciaDatePickerProps) => {\n\treturn <AntdDatePicker {...props} />;\n};\n\nDatePicker.RangePicker = RangePicker;\n\nexport default DatePicker;\n","import { DatePicker as AntdDatePicker, type GetProps } from \"antd\";\n\ntype AntdDateRangePicker = GetProps<typeof AntdDatePicker.RangePicker>;\n\nconst RangePicker = ({ ...props }: AntdDateRangePicker) => {\n\treturn <AntdDatePicker.RangePicker {...props} />;\n};\nexport default RangePicker;\n","/**\n * @description A dropdown list\n */\n\nimport { Dropdown as AntdDropdown } from \"antd\";\nimport DropdownButton from \"./DropdownButton\";\nimport type { AcaciaDropdownProps } from \"../interfaces\";\n\nconst Dropdown = ({ ...props }: AcaciaDropdownProps) => {\n\treturn <AntdDropdown {...props} />;\n};\n\nDropdown.Button = DropdownButton;\nexport default Dropdown;\n","import { Dropdown as AntdDropdown } from \"antd\";\nimport type { AcaciaDropdownButtonProps } from \"../interfaces\";\n\nconst DropdownButton = ({ children, ...props }: AcaciaDropdownButtonProps) => {\n\treturn <AntdDropdown.Button {...props}>{children}</AntdDropdown.Button>;\n};\n\nexport default DropdownButton;\n","import { Input as AntdInput } from \"antd\";\nimport type { AcaciaInputProps } from \"../interfaces\";\n\n/**\n * Styles\n */\n\n/**\n * Components\n */\nimport TextArea from \"./TextArea\";\nimport Search from \"./Search\";\nimport Password from \"./Password\";\nimport { useInputStyles } from \"./useInputStyles\";\nimport OTP from \"./OTP\";\n\n/**\n * @description A button means an operation (or a series of operations). Clicking a button will trigger corresponding business logic.\n */\n\nconst Input = ({ children, ...props }: AcaciaInputProps) => {\n\tconst inputStyles = useInputStyles().styles;\n\treturn (\n\t\t<AntdInput className={`${inputStyles.input}`} {...props}>\n\t\t\t{children}\n\t\t</AntdInput>\n\t);\n};\n\nInput.TextArea = TextArea;\nInput.Search = Search;\nInput.Password = Password;\nInput.OTP = OTP;\n\nexport default Input;\n","import { Input as AntdInput, type GetProps } from \"antd\";\n\ntype OTPProps = GetProps<typeof AntdInput.OTP>;\n\nconst OTP = ({ ...props }: OTPProps) => {\n\treturn <AntdInput.OTP {...props} />;\n};\n\nexport default OTP;\n","import { Input as AntdInput } from \"antd\";\nimport type { AcaciaInputProps } from \"../interfaces\";\n\nconst Password = ({ ...props }: AcaciaInputProps) => {\n\treturn <AntdInput.Password {...props} />;\n};\nexport default Password;\n","import { Input as AntdInput } from \"antd\";\nimport type { AcaciaInputProps } from \"../interfaces\";\n\nconst Search = ({ ...props }: AcaciaInputProps) => {\n\treturn <AntdInput.Search {...props} />;\n};\n\nexport default Search;\n","import { Input as AntdInput } from \"antd\";\nimport type { AcaciaInputTextAreaProps } from \"../interfaces\";\nimport { useTextAreaStyles } from \"./useInputStyles\";\n\nconst TextArea = ({ ...props }: AcaciaInputTextAreaProps) => {\n\tconst textareaStyles = useTextAreaStyles().styles;\n\treturn (\n\t\t<AntdInput.TextArea className={`${textareaStyles.textarea}`} {...props} />\n\t);\n};\n\nexport default TextArea;\n","import { createStyles } from \"antd-style\";\nimport { typographyUtil } from \"../../../theme/typographyUtil\";\n\nexport const useInputStyles = () => {\n\treturn createStyles(({ css, prefixCls }) => ({\n\t\tinput: css`\n & .${prefixCls}-input-show-count-suffix {\n font-size: ${typographyUtil.fontSize.caption}px;\n font-weight: 700;\n }\n `,\n\t}))();\n};\n\nexport const useTextAreaStyles = () => {\n\treturn createStyles(({ css, prefixCls }) => ({\n\t\ttextarea: css`\n & .${prefixCls}-input-data-count {\n font-size: ${typographyUtil.fontSize.caption}px;\n font-weight: 700;\n }\n `,\n\t}))();\n};\n","/**\n * @description A versatile menu for navigation.\n */\n\nimport { Menu as AntdMenu, ConfigProvider, theme } from \"antd\";\nimport type { AcaciaMenuProps } from \"../interfaces\";\nimport { useContext, useMemo } from \"react\";\nimport { VerticalLayoutContext } from \"../../layout/VerticalLayout/VerticalLayout\";\nimport { useGetDefaultTheme } from \"../ConfigProvider/defaultTheme\";\nimport {\n\tadjustBrightness,\n\tblendMultipleColors,\n\tchangeOpacity,\n\tisValidHEXColor,\n\tshade,\n} from \"@mirawision/colorize\";\nimport { match } from \"ts-pattern\";\nimport { hexToRGBA } from \"../../../utils/colors.util\";\nimport { createStyles } from \"antd-style\";\n\nconst useStyle = createStyles(({ css, prefixCls }) => ({\n\titem: css`\n\t\t&.${prefixCls}-menu-submenu {\n\t\t\tpadding: 10px,\n\t\t\tborderBottom:none,\t\n\t\t\tmarginInline: 3px,\n\t\t}\n `,\n}));\n\nconst Menu = ({ showRightBorder = true, ...props }: AcaciaMenuProps) => {\n\tconst context = useContext(VerticalLayoutContext); // context to check if its nested - its possible that the user can use the header without the VerticalLayout\n\tconst isNestedInLayout = Boolean(context); // check if nested or not to handle colors\n\n\tconst { useToken } = theme;\n\tconst globalToken = useToken(); // get the default, antd tokens\n\tconst { styles: menuStyles } = useStyle();\n\n\tconst editOpacity = (type: \"hex\" | \"rgba\", color: string) => {\n\t\treturn match(type)\n\t\t\t.with(\"hex\", () => {\n\t\t\t\treturn hexToRGBA(color, 30);\n\t\t\t})\n\t\t\t.with(\"rgba\", () => {\n\t\t\t\treturn changeOpacity(color, 0.3);\n\t\t\t})\n\t\t\t.exhaustive();\n\t};\n\n\tconst selectedItemColor = useMemo(() => {\n\t\tif (isNestedInLayout) {\n\t\t\tconst blended = blendMultipleColors(\n\t\t\t\tcontext.gradients.map((item) => {\n\t\t\t\t\treturn {\n\t\t\t\t\t\tcolor: item,\n\t\t\t\t\t\tweight: 1,\n\t\t\t\t\t};\n\t\t\t\t}),\n\t\t\t);\n\t\t\tconst color = shade(blended, 0.5);\n\n\t\t\treturn {\n\t\t\t\tmenuColor: context?.accentColor,\n\t\t\t\tmenuBgColor: isValidHEXColor(color)\n\t\t\t\t\t? editOpacity(\"hex\", color)\n\t\t\t\t\t: editOpacity(\"rgba\", color),\n\t\t\t};\n\t\t}\n\t}, [context?.accentColor, isNestedInLayout]);\n\n\tconst defaultTheme = useGetDefaultTheme(); // get the default, overwritten tokens\n\n\treturn (\n\t\t<ConfigProvider\n\t\t\ttheme={{\n\t\t\t\ttoken: { ...defaultTheme.token, ...globalToken.token },\n\t\t\t\tcomponents: {\n\t\t\t\t\tMenu: {\n\t\t\t\t\t\t...defaultTheme.components.Menu,\n\t\t\t\t\t\t...(isNestedInLayout\n\t\t\t\t\t\t\t? {\n\t\t\t\t\t\t\t\t\tactiveBarHeight: 0,\n\t\t\t\t\t\t\t\t\titemBg: \"transparent\",\n\t\t\t\t\t\t\t\t\thorizontalItemSelectedColor: selectedItemColor.menuColor,\n\t\t\t\t\t\t\t\t\thorizontalItemSelectedBg: selectedItemColor.menuBgColor,\n\t\t\t\t\t\t\t\t\tactiveBarBorderWidth: 0,\n\t\t\t\t\t\t\t\t\titemColor: context.mainTextColor,\n\t\t\t\t\t\t\t\t\thorizontalItemBorderRadius: 3,\n\t\t\t\t\t\t\t\t\titemHoverColor: adjustBrightness(\n\t\t\t\t\t\t\t\t\t\tselectedItemColor.menuColor,\n\t\t\t\t\t\t\t\t\t\t10,\n\t\t\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t\t\tsubMenuItemBg: selectedItemColor.menuBgColor,\n\t\t\t\t\t\t\t\t\tsubMenuItemSelectedColor: selectedItemColor.menuColor,\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t: {}), // only override if its nested in the layout\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t}}\n\t\t>\n\t\t\t<AntdMenu\n\t\t\t\tclassNames={{\n\t\t\t\t\titem: menuStyles.item,\n\t\t\t\t}}\n\t\t\t\tstyles={{\n\t\t\t\t\troot: {\n\t\t\t\t\t\t...(isNestedInLayout && {\n\t\t\t\t\t\t\tflex: 1,\n\t\t\t\t\t\t\tdisplay: \"flex\",\n\t\t\t\t\t\t\twidth: \"100%\",\n\t\t\t\t\t\t\talignItems: \"center\",\n\t\t\t\t\t\t\tborderBottom: \"none\",\n\t\t\t\t\t\t}),\n\t\t\t\t\t\tborderRight: showRightBorder ? \"\" : \"none\",\n\t\t\t\t\t},\n\t\t\t\t\titem: {\n\t\t\t\t\t\t...(isNestedInLayout && {\n\t\t\t\t\t\t\tpadding: \"8px 10px\",\n\t\t\t\t\t\t\tborderBottom: \"none\",\n\t\t\t\t\t\t\tmarginInline: \"3px\",\n\t\t\t\t\t\t}),\n\t\t\t\t\t},\n\t\t\t\t}}\n\t\t\t\t{...props}\n\t\t\t/>\n\t\t</ConfigProvider>\n\t);\n};\nexport default Menu;\n","/**\n * @description A long list can be divided into several pages using Pagination, and only one page will be loaded at a time.\n */\n\nimport { Pagination as AntdPagination, ConfigProvider, theme } from \"antd\";\nimport type { AcaciaPaginationProps } from \"../interfaces\";\nimport { useGetDefaultTheme } from \"../ConfigProvider/defaultTheme\";\nimport { renderBlackOrWhiteText } from \"../../../utils/colors.util\";\nimport { tint } from \"@mirawision/colorize\";\n\nconst Pagination = ({\n\tselectedStyle = \"solid\",\n\t...props\n}: AcaciaPaginationProps) => {\n\tconst { useToken } = theme;\n\tconst globalToken = useToken(); // get the default, antd tokens\n\n\tconst defaultTheme = useGetDefaultTheme(); // get the default, overwritten tokens\n\n\treturn (\n\t\t<ConfigProvider\n\t\t\ttheme={{\n\t\t\t\ttoken: { ...defaultTheme.token, ...globalToken.token },\n\t\t\t\tcomponents: {\n\t\t\t\t\tPagination: {\n\t\t\t\t\t\t...defaultTheme.components.Pagination,\n\t\t\t\t\t\t...(selectedStyle === \"solid\"\n\t\t\t\t\t\t\t? {\n\t\t\t\t\t\t\t\t\titemActiveBg: globalToken.token.colorPrimary,\n\t\t\t\t\t\t\t\t\titemActiveColor: renderBlackOrWhiteText(\n\t\t\t\t\t\t\t\t\t\tglobalToken.token.colorPrimary,\n\t\t\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t\t\titemActiveColorHover: tint(\n\t\t\t\t\t\t\t\t\t\trenderBlackOrWhiteText(globalToken.token.colorPrimary),\n\t\t\t\t\t\t\t\t\t\t0.3,\n\t\t\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t: {}), // only override if its nested in the layout\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t}}\n\t\t>\n\t\t\t<AntdPagination {...props} />\n\t\t</ConfigProvider>\n\t);\n};\nexport default Pagination;\n","import { Radio as AntdRadio } from \"antd\";\nimport type { RadioButtonProps } from \"antd/es/radio/radioButton\";\n\nconst RadioButton = ({ ...props }: RadioButtonProps) => {\n\treturn <AntdRadio.Button {...props} />;\n};\n\nexport default RadioButton;\n","import { Radio as AntdRadio, type RadioProps } from \"antd\";\nimport RadioGroup from \"./RadioGroup\";\nimport RadioButton from \"./Button\";\n\n/**\n * @description A radio is used to select a single state from multiple options.\n */\n\nconst Radio = ({ ...props }: RadioProps) => {\n\treturn <AntdRadio {...props} />;\n};\n\nRadio.Group = RadioGroup;\nRadio.Button = RadioButton;\nexport default Radio;\n","import type { RadioGroupProps } from \"antd\";\nimport { Radio as AntdRadio } from \"antd\";\n\nconst RadioGroup = ({ ...props }: RadioGroupProps) => {\n\treturn <AntdRadio.Group {...props} />;\n};\n\nexport default RadioGroup;\n","import { Segmented as AntdSegmented } from \"antd\";\nimport type { AcaciaSegmentedProps } from \"../interfaces\";\n\n/**\n * @description\n * Segmented is used when displaying multiple options and user can select a single option or\n * when switching the selected option, the content of the associated area changes.\n */\n\nconst Segmented = ({ ...props }: AcaciaSegmentedProps) => {\n\treturn <AntdSegmented {...props} />;\n};\n\nexport default Segmented;\n","import { Select as AntdSelect } from \"antd\";\nimport type { AcaciaSelectProps } from \"../interfaces\";\n\n/**\n * @description Select component to select value from options.\n */\n\nconst Select = ({ ...props }: AcaciaSelectProps) => {\n\treturn <AntdSelect {...props} />;\n};\nexport default Select;\n","import { Space as AntdSpace } from \"antd\";\nimport type { AcaciaSpaceProps } from \"../interfaces\";\n\n/**\n * @description Space component set the component spacing\n */\n\nconst Space = ({ ...props }: AcaciaSpaceProps) => {\n\treturn <AntdSpace {...props} />;\n};\nexport default Space;\n","import { Switch as AntdSwitch } from \"antd\";\nimport type { AcaciaSwitchProps } from \"../interfaces\";\n\n/**\n * @description A switch is used if you need to represent the switching between two states or on-off state.\n */\n\nconst Switch = ({ ...props }: AcaciaSwitchProps) => {\n\treturn <AntdSwitch {...props} />;\n};\n\nexport default Switch;\n","import type { AcaciaTabsProps } from \"../interfaces\";\nimport { Tabs as AntdTabs, ConfigProvider, theme } from \"antd\";\nimport { adjustBrightness, isLight } from \"@mirawision/colorize\";\nimport { useContext } from \"react\";\nimport { VerticalLayoutContext } from \"../../layout/VerticalLayout/VerticalLayout\";\nimport { useGetDefaultTheme } from \"../ConfigProvider/defaultTheme\";\nexport default function Tabs({ type = \"line\", ...props }: AcaciaTabsProps) {\n\tconst context = useContext(VerticalLayoutContext);\n\tconst isNestedInLayout = Boolean(context); // for when tabs are nested in Layout\n\n\tconst { useToken } = theme;\n\tconst globalToken = useToken(); // get the default, antd tokens\n\n\tconst defaultTheme = useGetDefaultTheme(); // get the default, overwritten tokens\n\n\treturn (\n\t\t<ConfigProvider\n\t\t\ttheme={{\n\t\t\t\ttoken: {\n\t\t\t\t\t...defaultTheme.token,\n\t\t\t\t\t...globalToken.token,\n\t\t\t\t\t...(isNestedInLayout\n\t\t\t\t\t\t? {\n\t\t\t\t\t\t\t\tcolorBorderSecondary: `${adjustBrightness(\n\t\t\t\t\t\t\t\t\tcontext.mainTextColor,\n\t\t\t\t\t\t\t\t\tisLight(context.mainTextColor) ? -15 : 15,\n\t\t\t\t\t\t\t\t)} !important`,\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t: {}),\n\t\t\t\t},\n\t\t\t\tcomponents: {\n\t\t\t\t\tTabs: {\n\t\t\t\t\t\t...defaultTheme.components.Tabs,\n\t\t\t\t\t\t...(isNestedInLayout\n\t\t\t\t\t\t\t? {\n\t\t\t\t\t\t\t\t\titemHoverColor: context.accentColor,\n\t\t\t\t\t\t\t\t\titemColor: context.accentColor,\n\t\t\t\t\t\t\t\t\tinkBarColor: context.accentColor,\n\t\t\t\t\t\t\t\t\titemActiveColor: context.accentColor,\n\t\t\t\t\t\t\t\t\titemSelectedColor: context.accentColor,\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t: {}), // only override if its nested in the layout\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t}}\n\t\t>\n\t\t\t<AntdTabs {...props} tabBarGutter={0} />\n\t\t</ConfigProvider>\n\t);\n}\n","import { Tag as AntdTag } from \"antd\";\nimport {\n\tAcaciaCustomColors,\n\tisValidCustomColor,\n\ttype AcaciaColors,\n\ttype AcaciaTagProps,\n} from \"../interfaces\";\n\n/**\n * A Tag is used for categorizing or markup.\n */\n\nconst Tag = ({ ...props }: AcaciaTagProps) => {\n\t// return custom colors if found the correct type\n\tfunction renderColor(color: AcaciaColors) {\n\t\tif (isValidCustomColor(color)) {\n\t\t\treturn AcaciaCustomColors[color].background;\n\t\t}\n\t\treturn color;\n\t}\n\treturn <AntdTag {...props} color={renderColor(props.color)} />;\n};\n\nexport default Tag;\n","import { DatePicker as AntdDatePicker } from \"antd\";\nimport type { AcaciaTimePickerProps } from \"../interfaces\";\nimport TimeRangePicker from \"./TimeRangePicker\";\n\nconst TimePicker = ({ ...props }: AcaciaTimePickerProps) => {\n\treturn <AntdDatePicker {...props} />;\n};\n\nTimePicker.RangePicker = TimeRangePicker;\nexport default TimePicker;\n","import { TimePicker as AntdTimePicker } from \"antd\";\nimport type { AcaciaTimeRangePickerProps } from \"../interfaces\";\n\nconst TimeRangePicker = ({ ...props }: AcaciaTimeRangePickerProps) => {\n\treturn <AntdTimePicker.RangePicker {...props} />;\n};\n\nexport default TimeRangePicker;\n","import { Typography as AntdTypography } from \"antd\";\n\nimport { useTypographyStyles } from \"./useTypographyStyles\";\nimport { typographyUtil } from \"../../../theme/typographyUtil\";\nimport type {\n\tAcaciaBasicTypographyProps,\n\tAcaciaParagraphProps,\n\tAcaciaTextProps,\n\tAcaciaTitleProps,\n} from \"../interfaces\";\n\nconst TypographyToken = {\n\tfontSizeHeading1: typographyUtil.fontSize.h1,\n\tfontSizeHeading2: typographyUtil.fontSize.h2,\n\tfontSizeHeading3: typographyUtil.fontSize.h3,\n\tfontSizeHeading4: typographyUtil.fontSize.h4,\n\tfontSizeHeading5: typographyUtil.fontSize.h5,\n\tfontWeightStrong: 600,\n};\n\nconst Title = ({\n\tchildren,\n\tlevel = 1,\n\tcolor,\n\t...antdProps\n}: AcaciaTitleProps) => {\n\tconst typoStyles = useTypographyStyles(color).styles;\n\n\treturn (\n\t\t<AntdTypography.Title\n\t\t\tclassName={`\n\t\t\t\t\t${typoStyles.common}\n\t\t\t\t\t${typoStyles.title}\n\t\t\t\t\t${typoStyles[`titleH${level}`]}\n\t\t\t\t`}\n\t\t\tlevel={level}\n\t\t\t{...antdProps}\n\t\t>\n\t\t\t{children}\n\t\t</AntdTypography.Title>\n\t);\n};\n\nconst Text = ({\n\tchildren,\n\tlevel = 2,\n\tcolor,\n\t...antdProps\n}: AcaciaTextProps) => {\n\tconst typoStyles = useTypographyStyles(color).styles;\n\n\treturn (\n\t\t<AntdTypography.Text\n\t\t\tclassName={`\n\t\t\t\t${typoStyles.common}\n\t\t\t\t${typoStyles.text} \n\t\t\t\t${typoStyles[`textBody${level}`]}\n\t\t\t`}\n\t\t\t{...antdProps}\n\t\t>\n\t\t\t{children}\n\t\t</AntdTypography.Text>\n\t);\n};\n\nconst Emphasis = ({ children, color, ...props }: AcaciaTextProps) => {\n\tconst typoStyles = useTypographyStyles(color).styles;\n\n\treturn (\n\t\t<Text\n\t\t\tclassName={`\n\t\t\t\t${typoStyles.common}\n\t\t\t\t${typoStyles.emphasis} \n\t\t\t`}\n\t\t\tcolor={color}\n\t\t\t{...props}\n\t\t>\n\t\t\t{children}\n\t\t</Text>\n\t);\n};\n\nconst Caption = ({\n\tchildren,\n\tcolor,\n\t...antdProps\n}: AcaciaBasicTypographyProps) => {\n\tconst typoStyles = useTypographyStyles(color).styles;\n\n\treturn (\n\t\t<AntdTypography.Text\n\t\t\tclassName={`\n\t\t\t\t${typoStyles.common}\n\t\t\t\t${typoStyles.caption} \n\t\t\t`}\n\t\t\t{...antdProps}\n\t\t>\n\t\t\t{children}\n\t\t</AntdTypography.Text>\n\t);\n};\n\nconst Overline = ({\n\tchildren,\n\tcolor,\n\t...antdProps\n}: AcaciaBasicTypographyProps) => {\n\tconst typoStyles = useTypographyStyles(color).styles;\n\n\treturn (\n\t\t<AntdTypography.Text\n\t\t\tclassName={`\n\t\t\t\t${typoStyles.common}\n\t\t\t\t${typoStyles.overline} \n\t\t\t`}\n\t\t\t{...antdProps}\n\t\t>\n\t\t\t{children}\n\t\t</AntdTypography.Text>\n\t);\n};\n\nconst Paragraph = ({ children, color, ...antdProps }: AcaciaParagraphProps) => {\n\tconst typoStyles = useTypographyStyles(color).styles;\n\n\treturn (\n\t\t<AntdTypography.Text\n\t\t\tclassName={`\n\t\t\t\t${typoStyles.common}\n\t\t\t\t${typoStyles.textBody2} \n\t\t\t\t${typoStyles.paragraph}\n\t\t\t`}\n\t\t\t{...antdProps}\n\t\t>\n\t\t\t{children}\n\t\t</AntdTypography.Text>\n\t);\n};\n\n/**\n * Basic text writing, including headings, body text, lists, and more.\n *\n * When To Use:\n * - When need to display a title or paragraph contents in Articles/Blogs/Notes.\n * - When you need copyable/editable/ellipsis texts.\n */\n\nconst Typography = () => {\n\treturn <AntdTypography />;\n};\n\nTypography.Text = Text;\nTypography.Title = Title;\nTypography.Caption = Caption;\nTypography.Overline = Overline;\nTypography.Paragraph = Paragraph;\nTypography.Emphasis = Emphasis;\n\nexport default Typography;\n","import { useTheme, createStyles } from \"antd-style\";\nimport { typographyUtil } from \"../../../theme/typographyUtil\";\n\nexport const useTypographyStyles = (color?: string) => {\n\tconst token = useTheme();\n\treturn createStyles(({ css, prefixCls }) => ({\n\t\tcommon: css`\n &.${prefixCls}-typography {\n margin-block: 0;\n line-height: 1.5em;\n \n ${\n\t\t\t\t\t\tcolor\n\t\t\t\t\t\t\t? `\n color: ${color};\n `\n\t\t\t\t\t\t\t: \"\"\n\t\t\t\t\t}\n }\n `,\n\t\ttitle: css`\n font-family: ${token.headingFontFamily};\n `,\n\t\ttitleH1: css`\n letter-spacing: ${typographyUtil.letterSpacing.h1};\n `,\n\t\ttitleH2: css`\n letter-spacing: ${typographyUtil.letterSpacing.h2};\n `,\n\t\ttitleH3: css`\n letter-spacing: ${typographyUtil.letterSpacing.h3};\n `,\n\t\ttitleH4: css`\n letter-spacing: ${typographyUtil.letterSpacing.h4};\n `,\n\t\ttitleH5: css`\n letter-spacing: ${typographyUtil.letterSpacing.h5};\n \n &.${prefixCls}-typography {\n font-weight: 600;\n display: flex;\n align-items: center;\n }\n \n &::before {\n display: inline-block;\n content: \"\";\n height: 5px;\n width: 5px;\n background-color: ${token.colorPrimary};\n vertical-align: super;\n margin-right: 10px;\n opacity: 0.6;\n }\n `,\n\t\ttext: css`\n letter-spacing: ${typographyUtil.letterSpacing.default};\n `,\n\t\temphasis: css`\n display: contents;\n font-size: inherit;\n font-weight: 600;\n `,\n\t\ttextBody1: css`\n font-size: ${typographyUtil.fontSize.body1}px;\n font-weight: 500;\n opacity: 0.88;\n letter-spacing: ${typographyUtil.letterSpacing.body1};\n `,\n\t\ttextBody2: css`\n letter-spacing: ${typographyUtil.letterSpacing.default};\n `,\n\t\tparagraph: css`\n display: block;\n margin-bottom: 20px;\n `,\n\t\tcaption: css`\n letter-spacing: ${typographyUtil.letterSpacing.caption};\n font-size: ${typographyUtil.fontSize.caption}px;\n font-weight: 500;\n `,\n\t\toverline: css`\n letter-spacing: ${typographyUtil.letterSpacing.overline};\n font-size: ${typographyUtil.fontSize.overline}px;\n font-weight: 600;\n opacity: 0.88;\n text-transform: uppercase;\n \n &&.${prefixCls}-typography {\n margin-bottom: 0;\n }\n `,\n\t}))();\n};\n","import type {\n\tAvatarProps,\n\tBreadcrumbProps,\n\tButtonProps,\n\tCardProps,\n\tTypographyProps,\n\tTabsProps,\n\tRadioProps,\n\tSwitchProps,\n\tBadgeProps,\n\tCheckboxProps,\n\tSegmentedProps,\n\tStepsProps,\n\tSelectProps,\n\tFormProps,\n\tFormItemProps,\n\tDatePickerProps,\n\tMenuProps,\n\tTimePickerProps,\n\tThemeConfig,\n\tTimeRangePickerProps,\n\tTagProps,\n\tConfigProviderProps,\n\tSpaceProps,\n} from \"antd\";\n\nimport type { TextProps } from \"antd/es/typography/Text\";\nimport type { TitleProps } from \"antd/es/typography/Title\";\nimport type { ParagraphProps } from \"antd/es/typography/Paragraph\";\nimport type { InputProps } from \"antd/es/input/Input\";\nimport type { PaginationProps } from \"antd/es/pagination/Pagination\";\nimport type { TextAreaProps } from \"antd/es/input\";\nimport type { RibbonProps } from \"antd/es/badge/Ribbon\";\nimport type { NewToken } from \"../../theme/customTheme\";\nimport type {\n\tPresetColorType,\n\tPresetStatusColorType,\n} from \"antd/es/_util/colors\";\nimport type { LiteralUnion } from \"antd/es/_util/type\";\nimport type { TabsType } from \"antd/es/tabs\";\nimport type {\n\tBreadcrumbItemType,\n\tBreadcrumbSeparatorType,\n} from \"antd/es/breadcrumb/Breadcrumb\";\nimport type { DropdownButtonProps, DropdownProps } from \"antd/es/dropdown\";\n\n/**\n * props for the acacia themes\n */\nexport type AcaciaThemes = \"classic\" | \"submarine\" | \"mystical\";\n\n/**\n * Props for Acacia Breadcrumb component\n * @see https://ant.design/components/breadcrumb\n */\n\nexport type AcaciaBreadcrumbItemType = BreadcrumbItemType & {\n\ticon?: React.ReactNode;\n\t/**\n\t * @default end\n\t */\n\ticonPosition?: \"start\" | \"end\";\n};\n\nexport type AcaciaItemType = Partial<\n\tAcaciaBreadcrumbItemType & BreadcrumbSeparatorType\n>;\n\nexport interface AcaciaBreadcrumbProps extends BreadcrumbProps {\n\titems?: AcaciaItemType[];\n\t/**\n\t * @default /\n\t */\n\tseparator?: \"/\";\n}\n\n/**\n * Props for Palette Avatar component\n * @see https://ant.design/components/avatar\n *\n * Custom props:\n * @property {string} [userId] - id of the user. if you want to show the user id in the avatar, set this property\n * @property {\"solid\" | \"transparent\"} [type=solid] - determines the avatar type. 'solid' is for solid background while 'transparent' is for transparent background\n * @property {() => void} [onClick] - click handler, to handle showing of\n */\nexport interface AcaciaAvatarProps extends AvatarProps {\n\tuserId?: string;\n\ttype?: \"solid\" | \"transparent\";\n\tonClick?: () => void;\n}\n\n/**\n * Props for Acacia Button component\n * @see https://ant.design/components/button\n */\nexport interface AcaciaButtonProps extends ButtonProps {\n\t/** Set button color */\n\tcolor?:\n\t\t| \"default\"\n\t\t| \"primary\"\n\t\t| \"danger\"\n\t\t| \"blue\"\n\t\t| \"purple\"\n\t\t| \"cyan\"\n\t\t| \"green\"\n\t\t| \"magenta\"\n\t\t| \"pink\"\n\t\t| \"red\"\n\t\t| \"orange\"\n\t\t| \"yellow\"\n\t\t| \"volcano\"\n\t\t| \"geekblue\"\n\t\t| \"lime\"\n\t\t| \"gold\";\n\n\tvariant?: \"outlined\" | \"dashed\" | \"solid\" | \"filled\" | \"text\" | \"link\";\n\t/**\n\t * Button style type.\n\t * @default default\n\t */\n\ttype?: \"primary\" | \"dashed\" | \"link\" | \"text\" | \"default\";\n}\n\n/**\n * Props for Acacia Card component\n * @see https://ant.design/components/card\n *\n * custom props:\n * @property {boolean} [plainBody=false] - determines if the card should have plain body or textured body\n * @property {React.ReactNode | string} [title] - card header title\n * @property {React.ReactNode | string} [subtitle] - card header subtitle\n *\n */\nexport interface AcaciaCardProps extends CardProps {\n\t/**\n\t * content in the card\n\t */\n\tsubtitle?: React.ReactNode | string;\n\ttitle?: React.ReactNode | string;\n\tplainBody?: boolean;\n\t/**\n\t * custom background banner picture if decides not to use themes.\n\t * we are assuming that the picture is found under the public folder in nextjs\n\t * example usage:\n\t * headerBackgroundPicture: \"./test.png\"\n\t */\n\theaderBackgroundPicture?: string;\n\t/**\n\t * \tprovides 3 themes of card header background, and put hexagon as the default\n\t */\n\theaderBackgroundTheme?: AcaciaThemes;\n\ticon: React.ReactNode | string;\n}\n\n/**\n * Props for Typography component\n * @see https://ant.design/components/typography\n */\nexport interface AcaciaTypographyProps extends TypographyProps {}\n\n/**\n * Props for Acacia Title component\n * @see https://ant.design/components/typography\n *\n * custom props:\n * @property {string} [color] - color of the title\n */\nexport interface AcaciaTitleProps extends TitleProps {\n\tchildren: React.ReactNode;\n\tcolor?: string;\n}\n\n/**\n * Props for Palette Text component\n * @see https://ant.design/components/typography\n *\n * custom props:\n * @property {string} [color] - color of the title\n * @property {1 | 2} [level=1] - level of the text\n */\nexport interface AcaciaTextProps extends TextProps {\n\tchildren: React.ReactNode;\n\tlevel?: 1 | 2;\n\tcolor?: string;\n}\n\n/**\n * Props for Acacia Text component\n * @see https://ant.design/components/typography\n *\n */\nexport interface AcaciaEmphasisProps extends AcaciaTextProps {}\n\n/**\n * Props for Acacia Typography component\n * @see https://ant.design/components/typography\n *\n * custom Palette props:\n * @property {string} [color] - color of the title\n */\nexport interface AcaciaBasicTypographyProps extends TextProps {\n\tchildren: React.ReactNode;\n\tcolor?: string;\n}\n\n/**\n * Props for Acacia Paragraph component\n * @see https://ant.design/components/typography\n *\n * custom props:\n * @property {string} [color] - color of the title\n */\nexport interface AcaciaParagraphProps extends ParagraphProps {\n\tchildren: React.ReactNode;\n\tcolor?: string;\n}\n\n/**\n * Props for Acacia Space component\n * @see https://ant.design/components/space\n *\n */\nexport interface AcaciaSpaceProps extends SpaceProps {}\n\n/**\n * Props for Acacia Pagination component\n * @see https://ant.design/components/pagination\n *\n */\nexport interface AcaciaPaginationProps extends PaginationProps {\n\t/**\n\t * @default \"solid\"\n\t */\n\tselectedStyle?: \"solid\" | \"outline\";\n}\n\n/**\n * Props for Acacia Input component\n * @see https://ant.design/components/input\n *\n */\nexport interface AcaciaInputProps extends InputProps {}\n\n/**\n * Props for Acacia Input Text Area component\n * @see https://ant.design/components/input#inputtextarea\n *\n */\nexport interface AcaciaInputTextAreaProps extends TextAreaProps {}\n\n/**\n * Props for Acacia Tabs component\n * @see https://ant.design/components/tabs\n *\n * custom props:\n * @property {\"page\" | \"header\"} [colorType=page] - determines the breadcrumb type. 'header' is for breadcrumb within the header while 'page' is for breadcrumb on the page itself\n */\n\ntype AcaciaTabsType = TabsType | \"page\" | \"header\";\n\nexport interface AcaciaTabsProps extends Omit<TabsProps, \"type\"> {\n\ttype: TabsType | \"page\" | \"header\";\n}\n\n/**\n * Props for Palette Radio component\n */\nexport interface AcaciaRadioProps extends RadioProps {}\n\n/**\n * Props for Acacia Switch component\n * @see https://ant.design/components/switch\n */\nexport interface AcaciaSwitchProps extends SwitchProps {}\n\n/**\n * Props for Acacia Badge component\n * @see https://ant.design/components/badge\n */\nexport interface AcaciaBadgeProps extends BadgeProps {}\n\n/**\n * Props for Acacia Badge.Ribbon component\n * @see https://ant.design/components/badge#badgeribbon\n */\nexport interface AcaciaRibbonProps extends RibbonProps {}\n\n/**\n * Props for Acacia Checkbox component\n * @see https://ant.design/components/checkbox\n */\nexport interface AcaciaCheckboxProps extends CheckboxProps {}\n\n/**\n * Props for Acacia Segmented component\n * @see https://ant.design/components/segmented\n */\nexport interface AcaciaSegmentedProps extends SegmentedProps {}\n\n/**\n * Props for Acacia Steps component\n * @see https://ant.design/components/steps\n */\nexport interface PaletteStepsProps extends StepsProps {}\n\n/**\n * Props for Acacia Select component\n * @see https://ant.design/components/select\n */\nexport interface AcaciaSelectProps extends SelectProps {}\n\n/**\n * Props for Acacia Panel component\n *\n * custom props:\n * @property {React.ReactNode} children - content in the panel\n */\nexport interface AcaciaPanelProps {\n\tchildren: React.ReactNode;\n}\n\n/**\n * Props for Acacia Form component\n * @see https://ant.design/components/form\n *\n */\nexport interface AcaciaFormProps extends FormProps {\n\tchildren: React.ReactNode;\n}\n\n/**\n * Props for Acacia Form.Item component\n * @see https://ant.design/components/form#formitem\n *\n * custom props:\n * @property {string | React.ReactNode} [infoCopy] - helper text under the form item\n */\nexport interface AcaciaFormItemProps extends FormItemProps {\n\tchildren: React.ReactNode;\n\tinfoCopy?: string | React.ReactNode;\n}\n\n/**\n * dropdown\n */\nexport interface AcaciaDropdownProps extends DropdownProps {}\nexport interface AcaciaDropdownButtonProps extends DropdownButtonProps {}\n\n/**\n * DATEPICKER\n */\nexport interface AcaciaDatePickerProps extends DatePickerProps {}\nexport interface AcaciaDateRangePickerProps extends TimeRangePickerProps {}\n\nexport interface AcaciaTimePickerProps extends TimePickerProps {}\n\nexport interface AcaciaTimeRangePickerProps extends TimeRangePickerProps {}\n\n/**\n * MENU\n */\nexport interface AcaciaMenuProps extends MenuProps {\n\t/**\n\t * @default true\n\t */\n\tshowRightBorder?: boolean;\n}\n\n/**\n * BASIC PANEL\n */\nexport interface AcaciaBasicPanelProps {\n\tchildren: React.ReactNode;\n\tbgColor?: string;\n}\n\nexport interface AcaciaConfigProviderProps extends ConfigProviderProps {\n\tchildren: React.ReactNode;\n\tcustomToken?: Partial<NewToken>;\n\ttheme?: ThemeConfig;\n}\n\n/**\n * TAG\n */\nexport const AcaciaCustomColors = {\n\t\"cobalt-blue\": { background: \"#2C62D5\", color: \"white\" },\n\t\"pastel-red\": { background: \"#DB3056\", color: \"white\" },\n};\n\nexport const AcaciaColorArray = [\"cobalt-blue\", \"pastel-red\"] as const;\nexport type AcaciaColorType = (typeof AcaciaColorArray)[number];\nexport type AcaciaColors = LiteralUnion<\n\tPresetColorType | PresetStatusColorType | AcaciaColorType\n>;\n\nexport const isValidCustomColor = (\n\tvalue: string,\n): value is (typeof AcaciaColorArray)[number] => {\n\treturn AcaciaColorArray.includes(value as any);\n};\n\n// extends the current Tag props and add more colors to the list\nexport interface AcaciaTagProps extends TagProps {\n\tcolor?: AcaciaColors;\n}\n\n// custom token for Acacia\nexport interface AcaciaCustomToken {\n\t/**\n\t * @nameEN Main font for the entire app\n\t * @descEN Font used for most elements in the app\n\t */\n\tfontFamily: string;\n\t/**\n\t * @nameEN Heading font for the entire app\n\t * @descEN Font used for headings in the app\n\t */\n\theadingFontFamily: string;\n\tcolors: {\n\t\t/**\n\t\t * @nameEN Main primary color of the app\n\t\t * @descEN Controls the primary color of all elements\n\t\t */\n\t\tprimary: string;\n\t\t/**\n\t\t * @nameEN Main color for the text\n\t\t * @descEN Controls the main color for the text elements\n\t\t */\n\t\tprimaryText: string;\n\t\t/**\n\t\t * @nameEN Main color for the caption text\n\t\t * @descEN Controls the color for the caption text elements\n\t\t */\n\t\tcaption: string;\n\t};\n\ttheme: {\n\t\tlightOnDark: boolean;\n\t\tbrand: string;\n\t\tgradient1: string;\n\t\tgradient2: string;\n\t\tgradient3: string;\n\t\tgradient4: string;\n\t\tcove: string;\n\t\taccent: string;\n\t\tbody: string;\n\t};\n\theader: {\n\t\timgUrl: string;\n\t};\n\tsidepanel: {\n\t\timgUrl: string;\n\t};\n\tpanel: {\n\t\tbgColor: string;\n\t};\n\tcard: {\n\t\tbgcolor: string;\n\t\tcontentbg: string;\n\t\theaderbg: string;\n\t};\n}\n","import { generate } from \"../utils/colors.util\";\nexport const useAcaciaColors = () => {\n\tconst colors = {\n\t\tprimaryGreen: \"#334F4E\",\n\t\tmystiqueBlack: \"#000\",\n\t\twhite: \"#FFF\",\n\t\toffWhite: \"#F9F9F9\",\n\t\tbrightGreen: \"#A4ED06\",\n\t\tneutralGrey: \"#BBBDBE\",\n\t\tlesserInk: \"#3D4040\",\n\t\tborder: {\n\t\t\tbutton: \"#B3B3B3\",\n\t\t\tcell: \"#CCC\",\n\t\t\tpage: \"#B3B3B3\",\n\t\t},\n\t\tlink: {\n\t\t\thover: \"#E5FAF6\",\n\t\t},\n\t\tsuccess: {\n\t\t\tprimary: \"#268C79\",\n\t\t\tfill: \"#E5FAF6\",\n\t\t\tstroke: \"#ADD8D0\",\n\t\t\temphasis: \"#00B996\",\n\t\t},\n\t\twarning: {\n\t\t\tprimary: \"#E46015\",\n\t\t\tfill: \"#FFF1E9\",\n\t\t\tstroke: \"#E9BA9F\",\n\t\t\temphasis: \"#FF6D1B\",\n\t\t},\n\t\terror: {\n\t\t\tprimary: \"#DB3056\",\n\t\t\tfill: \"#FFF0F3\",\n\t\t\tstroke: \"#FFBBCA\",\n\t\t\temphasis: \"#FF5C81\",\n\t\t},\n\t\tinfo: {\n\t\t\tprimary: \"#2C62D5\",\n\t\t\tfill: \"#EBF3FF\",\n\t\t\tstroke: \"#AFC9FF\",\n\t\t\temphasis: \"#296EFF\",\n\t\t},\n\t};\n\n\treturn { colors, generate };\n};\n","export const useAcaciaConfig = () => {\n\tconst borderRadius = {\n\t\tprimary: 3,\n\t\ttag: 20,\n\t\tavatar: 20,\n\t\tpanel: 5,\n\t\tcard: 5,\n\t};\n\n\tconst transition = {\n\t\tantdItem:\n\t\t\t\"border-color 0.3s, background 0.3s, padding 0.2s cubic-bezier(0.215, 0.61, 0.355, 1)\",\n\t};\n\n\tconst shadow = {\n\t\tcard: `rgba(0, 0, 0, 0.05) 0px 6px 24px 0px, \n rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;`,\n\t};\n\n\tconst layout = {\n\t\txxlUtil: {\n\t\t\tpaddingInline: 60,\n\t\t\tpaddingBlock: 20,\n\t\t\tlogoMaxWidth: 120,\n\t\t},\n\t\txlUtil: {\n\t\t\tpaddingInline: 20,\n\t\t\tpaddingBlock: 20,\n\t\t\tlogoMaxWidth: 100,\n\t\t},\n\t};\n\n\tconst padding = {\n\t\ttabs: \"10px 20px\",\n\t};\n\n\treturn { borderRadius, layout, transition, shadow, padding };\n};\n","import { useEffect } from \"react\";\n\nexport const useFoucHandler = (id: string, delay?: number) => {\n const removeNoFouc = () => {\n if (typeof window !== undefined) {\n const noFouc = document.getElementById(id);\n\n if (noFouc) {\n noFouc.removeAttribute(\"id\");\n }\n }\n };\n\n useEffect(() => {\n setTimeout(() => {\n removeNoFouc();\n }, delay);\n }, []);\n};\n","import { useState, useEffect } from \"react\";\n\nexport const useScreenSize = (debounceTime = 200) => {\n let timeout: ReturnType<typeof setTimeout> | null;\n\n const [screenSize, setScreenSize] = useState({});\n\n useEffect(() => {\n const handleResize = () => {\n if (timeout) {\n clearTimeout(timeout);\n }\n\n timeout = setTimeout(() => {\n if (typeof window !== \"undefined\") {\n setScreenSize({\n width: window.innerWidth,\n height: window.innerHeight,\n });\n }\n }, debounceTime);\n };\n\n if (typeof window !== \"undefined\") {\n window.addEventListener(\"resize\", handleResize);\n }\n\n // Clean up the event listener when the component unmounts\n return () => {\n if (typeof window !== \"undefined\") {\n window.removeEventListener(\"resize\", handleResize);\n }\n };\n }, []);\n\n return screenSize;\n};\n\nexport default useScreenSize;\n","import \"@fontsource-variable/roboto-flex\";\nimport type { AcaciaThemes } from \"../components/ui/interfaces\";\n\nexport interface NewToken {\n\theadingFontFamily: string;\n\tappTheme: AcaciaThemes;\n\tlogo: React.ReactNode | string;\n}\n\n// By extending the type definition of the `CustomToken` interface for `antd-style`, you can add corresponding token type definitions to the `useTheme` hooks\ndeclare module \"antd-style\" {\n\t// eslint-disable-next-line @typescript-eslint/no-empty-interface\n\texport interface CustomToken extends NewToken {}\n}\n\nexport const CustomTheme: NewToken = {\n\theadingFontFamily:\n\t\t'\"Roboto Flex Variable\", \"Roboto Flex\", \"Segoe UI\", sans-serif',\n\tappTheme: \"classic\",\n\tlogo: \"TEST LOGO\",\n};\n","import { useTheme } from \"antd-style\";\nimport \"@fontsource-variable/roboto-flex\";\nimport Typography from \"../components/ui/Typography/Typography\";\nimport { useContext } from \"react\";\nimport { VerticalLayoutContext } from \"../components/layout/VerticalLayout/VerticalLayout\";\nimport { renderBlackOrWhiteText } from \"../utils/colors.util\";\nimport ConfigProvider from \"../components/ui/ConfigProvider/ConfigProvider\";\nimport { theme } from \"antd\";\nimport { useGetDefaultTheme } from \"../components/ui/ConfigProvider/defaultTheme\";\n\nexport default function DefaultLogo() {\n\tconst context = useContext(VerticalLayoutContext);\n\tconst isNestedInLayout = Boolean(context); // check if nested or not to handle colors\n\n\tconst token = useTheme();\n\tconst { useToken } = theme;\n\tconst globalToken = useToken(); // get the default, antd tokens\n\n\tconst defaultTheme = useGetDefaultTheme(); // get the default, overwritten tokens\n\n\tconst getLogo = () => {\n\t\tif (typeof token.logo === \"string\") {\n\t\t\treturn (\n\t\t\t\t<Typography.Title\n\t\t\t\t\tstyle={{\n\t\t\t\t\t\tmargin: 0,\n\t\t\t\t\t\tcolor:\n\t\t\t\t\t\t\tcontext?.mainTextColor ??\n\t\t\t\t\t\t\trenderBlackOrWhiteText(context?.gradients[0]),\n\t\t\t\t\t}}\n\t\t\t\t\tlevel={4}\n\t\t\t\t>\n\t\t\t\t\t{token.logo}\n\t\t\t\t</Typography.Title>\n\t\t\t);\n\t\t}\n\t\treturn (\n\t\t\t<div\n\t\t\t\tstyle={{\n\t\t\t\t\tcolor:\n\t\t\t\t\t\tcontext?.mainTextColor ??\n\t\t\t\t\t\trenderBlackOrWhiteText(context?.gradients[0]),\n\t\t\t\t}}\n\t\t\t>\n\t\t\t\t<ConfigProvider\n\t\t\t\t\ttheme={{\n\t\t\t\t\t\ttoken: { ...defaultTheme.token, ...globalToken.token },\n\t\t\t\t\t\tcomponents: {\n\t\t\t\t\t\t\tTypography: {\n\t\t\t\t\t\t\t\t...(isNestedInLayout\n\t\t\t\t\t\t\t\t\t? {\n\t\t\t\t\t\t\t\t\t\t\tcolorText:\n\t\t\t\t\t\t\t\t\t\t\t\tcontext?.mainTextColor ??\n\t\t\t\t\t\t\t\t\t\t\t\trenderBlackOrWhiteText(context?.gradients[0]),\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t: {}), // only override if its nested in the layout\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t},\n\t\t\t\t\t}}\n\t\t\t\t>\n\t\t\t\t\t{token.logo}\n\t\t\t\t</ConfigProvider>\n\t\t\t</div>\n\t\t);\n\t};\n\n\treturn (\n\t\t<a\n\t\t\thref=\"/\"\n\t\t\tstyle={{\n\t\t\t\tcursor: \"pointer\",\n\t\t\t\ttextDecoration: \"none\",\n\t\t\t\tdisplay: \"inline-flex\",\n\t\t\t\talignItems: \"center\",\n\t\t\t}}\n\t\t>\n\t\t\t{getLogo()}\n\t\t</a>\n\t);\n}\n","export const typographyUtil = {\n\tfontSize: {\n\t\th1: 34,\n\t\th2: 28,\n\t\th3: 22,\n\t\th4: 20,\n\t\th5: 16,\n\t\tbody1: 16,\n\t\tbody2: 14,\n\t\tcaption: 12,\n\t\toverline: 11,\n\t},\n\tletterSpacing: {\n\t\th1: \".1em\",\n\t\th2: \".05em\",\n\t\th3: \".025em\",\n\t\th4: \".025em\",\n\t\th5: \".03em\",\n\t\tbody1: \".05em\",\n\t\tdefault: \".025em\",\n\t\tcaption: \".05em\",\n\t\toverline: \".1em\",\n\t},\n};\n","import { theme } from \"antd\";\n\nconst { useToken } = theme;\n\nexport const useAcaciaToken = () => {\n\tconst { token: antdToken } = useToken();\n\tconst token = antdToken;\n\n\treturn { token };\n};\n","import { generate as antdGenerate, grey } from \"@ant-design/colors\";\nimport { isLight } from \"@mirawision/colorize\";\n\nexport const generate = (color?: string, darken?: boolean) => {\n\tconst colors = color\n\t\t? antdGenerate(color, {\n\t\t\t\ttheme: darken ? \"dark\" : \"default\",\n\t\t\t})\n\t\t: [];\n\n\tconst neutral = antdGenerate(grey[0], {\n\t\ttheme: darken ? \"dark\" : \"default\",\n\t});\n\n\treturn { colors, neutral };\n};\n\n/**\n *@description - used to handle color algorithm to return black / white depending on the color given\n * @param color - HEX color code or a string color (ex: black)\n * @returns return black or white color as string\n */\nexport const renderBlackOrWhiteText = (color: string): string => {\n\t// check if the background banner colors is considered light or dark colors\n\tconst colorIsLight = isLight(color);\n\tif (colorIsLight) {\n\t\treturn \"black\";\n\t}\n\treturn \"white\";\n};\n\nexport function hexToRGBA(hex: string, opacityPercent: number) {\n\tconst alpha = (opacityPercent / 100).toFixed(2);\n\tconst r = Number.parseInt(hex.slice(1, 3), 16);\n\tconst g = Number.parseInt(hex.slice(3, 5), 16);\n\tconst b = Number.parseInt(hex.slice(5, 7), 16);\n\treturn `rgba(${r}, ${g}, ${b}, ${alpha})`;\n}\n","export type ParsedColor =\n\t| { format: \"hex\"; value: string }\n\t| { format: \"rgb\"; value: string }\n\t| { format: \"named\"; value: string };\n\nexport interface ParsedBackgroundColors {\n\tcolors: ParsedColor[];\n}\n\nfunction classifyColor(value: string): ParsedColor[\"format\"] {\n\tif (value.startsWith(\"#\")) return \"hex\";\n\tif (value.startsWith(\"rgb\")) return \"rgb\";\n\treturn \"named\";\n}\n\nconst HEX_REGEX = /#(?:[0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})\\b/g;\n\nconst RGB_REGEX = /rgba?\\(\\s*[\\d\\s.,%]+\\)/gi;\n\n// You should limit named colors to real CSS names\nconst NAMED_COLOR_REGEX =\n\t/\\b(aliceblue|antiquewhite|aqua|black|blue|gray|grey|green|orange|red|white|yellow)\\b/gi;\n\nexport function parseBackgroundColors(css: string): ParsedBackgroundColors {\n\tconst results: ParsedColor[] = [];\n\n\tconst push = (matches: RegExpMatchArray | null) => {\n\t\tmatches?.forEach((value) => {\n\t\t\tresults.push({\n\t\t\t\tformat: classifyColor(value),\n\t\t\t\tvalue,\n\t\t\t});\n\t\t});\n\t};\n\n\tpush(css.match(HEX_REGEX));\n\tpush(css.match(RGB_REGEX));\n\tpush(css.match(NAMED_COLOR_REGEX));\n\n\treturn {\n\t\tcolors: results,\n\t};\n}\n","module.exports = __WEBPACK_EXTERNAL_MODULE_antd__;","module.exports = __WEBPACK_EXTERNAL_MODULE_antd_style__;","module.exports = __WEBPACK_EXTERNAL_MODULE_prop_types__;","module.exports = __WEBPACK_EXTERNAL_MODULE_react__;","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","// components\n\nexport { default as Button } from \"./components/ui/Button/Button\";\nexport { default as Badge } from \"./components/ui/Badge/Badge\";\nexport { default as ConfigProvider } from \"./components/ui/ConfigProvider/ConfigProvider\";\nexport { default as Breadcrumb } from \"./components/ui/Breadcrumb/Breadcrumb\";\nexport { default as Checkbox } from \"./components/ui/Checkbox/Checkbox\";\nexport { default as Radio } from \"./components/ui/Radio/Radio\";\nexport { default as Segmented } from \"./components/ui/Segmented/Segmented\";\nexport { default as Select } from \"./components/ui/Select/Select\";\nexport { default as Switch } from \"./components/ui/Switch/Switch\";\nexport { default as Input } from \"./components/ui/Input/Input\";\nexport { default as Dropdown } from \"./components/ui/Dropdown/Dropdown\";\nexport { default as Pagination } from \"./components/ui/Pagination/Pagination\";\nexport { default as Typography } from \"./components/ui/Typography/Typography\";\nexport { default as TimePicker } from \"./components/ui/TimePicker/TimePicker\";\nexport { default as DatePicker } from \"./components/ui/DatePicker/DatePicker\";\nexport { default as Card } from \"./components/ui/Card/Card\";\nexport { default as Tag } from \"./components/ui/Tag/Tag\";\nexport { default as Tabs } from \"./components/ui/Tabs/Tabs\";\nexport { default as Avatar } from \"./components/ui/Avatar/Avatar\";\nexport { default as Menu } from \"./components/ui/Menu/Menu\";\n\nexport { default as VerticalLayout } from \"./components/layout/VerticalLayout/VerticalLayout\";\nexport { default as VerticalHeader } from \"./components/layout/VerticalLayout/VerticalHeader\";\n\nexport type { NewToken } from \"./theme/customTheme\";\n// hooks\nexport { useAcaciaColors } from \"./hooks/useAcaciaColors\";\nexport { useFoucHandler } from \"./hooks/useFoucHandler\";\nexport { useAcaciaConfig } from \"./hooks/useAcaciaConfig\";\nexport { useScreenSize } from \"./hooks/useScreenSize\";\n// export { usePaletteToken } from \"./tokens/usePaletteToken\";\n\n// interfaces\nexport type {\n\tAcaciaButtonProps,\n\tAcaciaBreadcrumbProps,\n\tAcaciaBadgeProps,\n\tAcaciaRibbonProps,\n\tAcaciaCheckboxProps,\n\tAcaciaSegmentedProps,\n\tAcaciaTypographyProps,\n\tAcaciaConfigProviderProps,\n\tAcaciaDatePickerProps,\n\tAcaciaDateRangePickerProps,\n\tAcaciaTabsProps,\n\tAcaciaTimePickerProps,\n\tAcaciaTimeRangePickerProps,\n\tAcaciaInputProps,\n\tAcaciaSwitchProps,\n\tAcaciaInputTextAreaProps,\n\tAcaciaPaginationProps,\n\tAcaciaSelectProps,\n\tAcaciaRadioProps,\n\tAcaciaBasicPanelProps,\n} from \"./components/ui/interfaces\";\n"],"names":[],"ignoreList":[],"sourceRoot":""}
1
+ {"version":3,"file":"main.js","mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD,O;;;;;;;;;;;;;;;ACVmD;AACnD,iBAAiB;AACjB,2BAA2B;AAC3B,4BAA4B;AAC5B,4BAA4B;AAC5B,4BAA4B;AAC5B,yBAAyB;AACzB,wBAAwB;;AAExB;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA,CAAC;AACD;AACA;AACA,CAAC;AACD;AACA;AACA,CAAC;AACD;AACA;AACA,CAAC;AACD;AACA;AACA,CAAC;AACD;AACA;AACA,CAAC;AACD;AACA;AACA,CAAC;AACD;AACA;AACA,CAAC;AACD;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA;AACA;AACe;AACf;AACA;AACA,mBAAmB,6DAAS;AAC5B;AACA,gCAAgC,OAAO;AACvC,gBAAgB,6DAAS;AACzB;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,mBAAmB,sBAAsB;AACzC,iBAAiB,6DAAS;AAC1B;AACA;AACA;AACA,KAAK;AACL;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,iBAAiB,6DAAS;AAC1B,KAAK;AACL;AACA;AACA;AACA,GAAG;AACH,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC/HiD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACAjD;;AAEO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO;AACP;AACO;AACP;AACO;AACP;AACO;AACP;AACO;AACP;AACO;AACP;AACO;AACP;AACO;AACP;AACO;AACP;AACO;AACP;AACO;AACP;AACO;AACP;AACO;AACP;AACO;AACA;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO;AACP;AACO;AACP;AACO;AACP;AACO;AACP;AACO;AACP;AACO;AACP;AACO;AACP;AACO;AACP;AACO;AACP;AACO;AACP;AACO;AACP;AACO;AACP;AACO;AACP;AACO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,E;;;;;;;;;;;;;;;;ACnGwE;AACxE;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,kBAAkB,OAAO;AACzB;AACA;;AAEA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO;AACP;AACA;AACA;AACA;AACA,IAAI,qFAAe;AACnB;AACA;AACA;AACA,IAAI,qFAAe;AACnB;AACA;AACA;AACA,IAAI,qFAAe;AACnB;AACA;AACA;AACA,IAAI,qFAAe;AACnB;AACA;AACA;AACA,IAAI,qFAAe;AACnB;AACA,IAAI,qFAAe;AACnB,IAAI,qFAAe;AACnB,IAAI,qFAAe;AACnB,IAAI,qFAAe;AACnB;AACA,IAAI,qFAAe;AACnB,IAAI,qFAAe;AACnB,IAAI,qFAAe;AACnB;AACA;AACA;AACA,uBAAuB,kBAAkB;AACzC;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA,sBAAsB,IAAI;AAC1B;AACA,QAAQ;AACR;AACA,QAAQ;AACR;AACA,QAAQ;AACR;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA,MAAM;AACN;AACA,MAAM;AACN;AACA,MAAM;AACN;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,kCAAkC,EAAE,GAAG,EAAE,IAAI,EAAE,IAAI,OAAO,YAAY,EAAE,GAAG,EAAE,IAAI,EAAE;AACnF;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,kCAAkC,OAAO,GAAG,OAAO,GAAG,OAAO,GAAG,OAAO,YAAY,OAAO,GAAG,OAAO,GAAG,OAAO;AAC9G;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA,MAAM;AACN;AACA;AACA,MAAM;AACN;AACA;AACA,MAAM;AACN;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,C;;;;;;;;;;;;;;;;;ACphB4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AEAmB;AAC/C;AACA,cAAc,6DAAa;AAC3B;AACA;AACA;AACA;AACA,GAAG;AACH;;;;;;;;;;;;;;;;;ACRkC;AAClC;AACA,kBAAkB,sDAAO;AACzB;AACA;AACA;AACA,oBAAoB,sDAAO;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AAS;AACjC,eAAe,mBAAO,CAAC,2DAAQ;AAC/B,gBAAgB,mBAAO,CAAC,6DAAS;AACjC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,eAAe,QAAQ;AACvB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,eAAe,QAAQ;AACvB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iBAAiB,QAAQ;AACzB;AACA;AACA;AACA;AACA;AACA;AACA,iBAAiB,QAAQ;AACzB;AACA;AACA;AACA;AACA;AACA;AACA,eAAe,aAAa;AAC5B,iBAAiB,QAAQ;AACzB;AACA;AACA;AACA;AACA;AACA;AACA,iBAAiB,QAAQ;AACzB;AACA;AACA;AACA;AACA;AACA;AACA,iBAAiB,QAAQ;AACzB;AACA;AACA;AACA;AACA;AACA;AACA,iBAAiB,QAAQ;AACzB;AACA;AACA;AACA;AACA;AACA;AACA,iBAAiB,QAAQ;AACzB;AACA;AACA;AACA;AACA;AACA;AACA,iBAAiB,QAAQ;AACzB;AACA;AACA;AACA;AACA;AACA;AACA,iBAAiB,QAAQ;AACzB;AACA;AACA;AACA;AACA;AACA;AACA,iBAAiB,QAAQ;AACzB;AACA;AACA;AACA;AACA;AACA;AACA,iBAAiB,QAAQ;AACzB;AACA;AACA;AACA;AACA;AACA;AACA,mBAAmB,iBAAiB,iBAAiB;AACrD;AACA;AACA;AACA;AACA;AACA;AACA,eAAe,yEAAyE;AACxF,iBAAiB,yBAAyB;AAC1C;AACA;AACA;AACA;AACA;AACA;AACA,iBAAiB,QAAQ;AACzB;AACA;AACA;AACA;AACA;AACA;AACA,iBAAiB,SAAS;AAC1B;AACA;AACA;AACA;AACA;AACA;AACA,iBAAiB,SAAS;AAC1B;AACA;AACA;AACA;AACA;AACA;AACA,eAAe,QAAQ;AACvB,iBAAiB,QAAQ;AACzB;AACA;AACA;AACA;AACA;AACA;AACA;AACA,eAAe,QAAQ;AACvB,iBAAiB,QAAQ;AACzB;AACA;AACA;AACA;AACA;AACA;AACA,eAAe,QAAQ;AACvB,iBAAiB,QAAQ;AACzB;AACA;AACA;AACA;AACA;AACA;AACA;AACA,eAAe,QAAQ;AACvB,iBAAiB,QAAQ;AACzB;AACA;AACA;AACA;AACA;AACA;AACA,iBAAiB,QAAQ;AACzB;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iBAAiB,QAAQ;AACzB;AACA;AACA;AACA;AACA;AACA;AACA,iBAAiB,QAAQ;AACzB;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iBAAiB,QAAQ;AACzB;AACA;AACA;AACA;AACA;AACA;AACA,eAAe,QAAQ;AACvB,iBAAiB,QAAQ;AACzB;AACA;AACA;AACA;AACA;AACA;AACA;AACA,eAAe,QAAQ;AACvB,iBAAiB,QAAQ;AACzB;AACA;AACA;AACA;AACA;AACA;AACA,iBAAiB,QAAQ;AACzB;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iBAAiB,QAAQ;AACzB;AACA;AACA;AACA;AACA;AACA;AACA,eAAe,QAAQ;AACvB,iBAAiB,QAAQ;AACzB;AACA;AACA;AACA;AACA;AACA;AACA;AACA,eAAe,QAAQ;AACvB,iBAAiB,QAAQ;AACzB;AACA;AACA;AACA;AACA;AACA;AACA,eAAe,QAAQ;AACvB,iBAAiB,QAAQ;AACzB;AACA;AACA;AACA;AACA;AACA;AACA;AACA,eAAe,QAAQ;AACvB,iBAAiB,QAAQ;AACzB;AACA;AACA;AACA;AACA;AACA,aAAa;;;;;;;;;;;;ACxSA;AACb,8CAA6C,EAAE,aAAa,EAAC;AAC7D,oBAAoB;AACpB,2BAA2B,mBAAO,CAAC,mFAAoB;AACvD,wBAAwB,mBAAO,CAAC,yFAAuB;AACvD,gBAAgB,mBAAO,CAAC,6DAAS;AACjC;AACA;AACA;AACA;AACA,WAAW,QAAQ;AACnB;AACA;AACA,WAAW,aAAa;AACxB;AACA;AACA,aAAa,QAAQ;AACrB;AACA;AACA;AACA,6CAA6C;AAC7C,kDAAkD;AAClD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,oBAAoB;;;;;;;;;;;;ACrDP;AACb,8CAA6C,EAAE,aAAa,EAAC;AAC7D,sBAAsB;AACtB,2BAA2B,mBAAO,CAAC,mFAAoB;AACvD,gBAAgB,mBAAO,CAAC,6DAAS;AACjC;AACA;AACA;AACA;AACA;AACA,WAAW,QAAQ;AACnB;AACA;AACA,eAAe,kCAAkC;AACjD;AACA;AACA;AACA,gCAAgC,aAAa,gCAAgC;AAC7E,mCAAmC,aAAa,8BAA8B;AAC9E;AACA;AACA;AACA;AACA;AACA;AACA,iBAAiB;AACjB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,2BAA2B,2CAA2C;AACtE;AACA;AACA;AACA,2BAA2B,2CAA2C;AACtE;AACA;AACA,aAAa;AACb;AACA,sBAAsB;;;;;;;;;;;;AC3CT;AACb,8CAA6C,EAAE,aAAa,EAAC;AAC7D,oCAAoC;AACpC,gBAAgB,mBAAO,CAAC,6DAAS;AACjC,oCAAoC,mBAAO,CAAC,qGAA6B;AACzE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,oBAAoB,qBAAqB;AACzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,oCAAoC;;;;;;;;;;;;AC7CvB;AACb,8CAA6C,EAAE,aAAa,EAAC;AAC7D,+BAA+B;AAC/B,gBAAgB,mBAAO,CAAC,6DAAS;AACjC,wBAAwB,mBAAO,CAAC,6EAAiB;AACjD,gBAAgB,mBAAO,CAAC,6DAAS;AACjC;AACA;AACA;AACA;AACA;AACA,WAAW,gBAAgB;AAC3B;AACA;AACA,WAAW,gBAAgB;AAC3B;AACA;AACA,WAAW,QAAQ;AACnB;AACA;AACA,aAAa,UAAU;AACvB;AACA;AACA;AACA;AACA,qDAAqD;AACrD,0DAA0D;AAC1D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,oBAAoB,YAAY;AAChC;AACA;AACA;AACA;AACA;AACA,SAAS;AACT,0EAA0E,6BAA6B;AACvG;AACA;AACA;AACA,+BAA+B;;;;;;;;;;;;ACpDlB;AACb,8CAA6C,EAAE,aAAa,EAAC;AAC7D,sBAAsB;AACtB,yBAAyB,mBAAO,CAAC,+EAAkB;AACnD,gBAAgB,mBAAO,CAAC,6DAAS;AACjC;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,QAAQ;AACnB;AACA,aAAa,oBAAoB;AACjC;AACA;AACA;AACA,8BAA8B;AAC9B,uCAAuC;AACvC,mCAAmC;AACnC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,sBAAsB;;;;;;;;;;;;ACvCT;AACb,8CAA6C,EAAE,aAAa,EAAC;AAC7D,oBAAoB;AACpB,wBAAwB,mBAAO,CAAC,6EAAiB;AACjD,gBAAgB,mBAAO,CAAC,6DAAS;AACjC;AACA;AACA;AACA,WAAW,QAAQ;AACnB;AACA,aAAa,QAAQ;AACrB;AACA;AACA,4BAA4B;AAC5B;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA,oBAAoB;;;;;;;;;;;;ACvBP;AACb,8CAA6C,EAAE,aAAa,EAAC;AAC7D,sBAAsB;AACtB,wBAAwB,mBAAO,CAAC,6EAAiB;AACjD,2BAA2B,mBAAO,CAAC,mFAAoB;AACvD,gBAAgB,mBAAO,CAAC,6DAAS;AACjC;AACA;AACA;AACA;AACA,WAAW,QAAQ;AACnB;AACA;AACA,aAAa,QAAQ;AACrB;A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;AAC7B,gCAAgC;AAChC,gCAAgC;AAChC,6BAA6B;AAC7B,+BAA+B;AAC/B,+BAA+B;AAC/B;AACA;AACA,oCAAoC,EAAE,EAAE,IAAI;AAC5C;AACA;AACA,uBAAuB;AACvB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,QAAQ;AACnB;AACA,aAAa,SAAS;AACtB;AACA;AACA,8BAA8B;AAC9B,gCAAgC;AAChC,kCAAkC;AAClC,gCAAgC;AAChC,+BAA+B;AAC/B;AACA;AACA,oCAAoC,EAAE,EAAE,IAAI;AAC5C;AACA;AACA,wBAAwB;AACxB;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,QAAQ;AACnB;AACA,aAAa,SAAS;AACtB,wDAAwD;AACxD;AACA;AACA,wCAAwC;AACxC,yCAAyC;AACzC,uCAAuC;AACvC,wCAAwC;AACxC;AACA;AACA;AACA,6BAA6B,IAAI,SAAS,IAAI,SAAS,IAAI;AAC3D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,uBAAuB;AACvB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,QAAQ;AACnB;AACA,aAAa,SAAS;AACtB,sFAAsF;AACtF;AACA;AACA,+CAA+C;AAC/C,+CAA+C;AAC/C,gDAAgD;AAChD;AACA;AACA;AACA,8BAA8B,IAAI,SAAS,IAAI,SAAS,IAAI;AAC5D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,wBAAwB;AACxB;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,QAAQ;AACnB;AACA,aAAa,SAAS;AACtB,yFAAyF;AACzF;AACA;AACA,0CAA0C;AAC1C,0CAA0C;AAC1C,2CAA2C;AAC3C;AACA;AACA;AACA,6BAA6B,IAAI,SAAS,IAAI,UAAU,IAAI;AAC5D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,uBAAuB;AACvB;AACA;AACA;AACA;AACA;AACA,WAAW,QAAQ;AACnB;AACA,aAAa,SAAS;AACtB;AACA,2DAA2D;AAC3D;AACA;AACA,kDAAkD;AAClD,kDAAkD;AAClD,+CAA+C;AAC/C;AACA;AACA;AACA,8BAA8B,IAAI,SAAS,IAAI,UAAU,IAAI;AAC7D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,wBAAwB;AACxB;AACA;AACA;AACA;AACA;AACA,WAAW,QAAQ;AACnB;AACA,aAAa,SAAS;AACtB,sFAAsF;AACtF;AACA;AACA,+CAA+C;AAC/C,+CAA+C;AAC/C,iDAAiD;AACjD;AACA;AACA;AACA,8BAA8B,IAAI,UAAU,IAAI,UAAU,IAAI,UAAU,IAAI;AAC5E;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,wBAAwB;AACxB;AACA;AACA;AACA;AACA;AACA,WAAW,QAAQ;AACnB;AACA,aAAa,SAAS;AACtB,qFAAqF;AACrF;AACA;AACA,4CAA4C;AAC5C,0CAA0C;AAC1C,2CAA2C;AAC3C;AACA;AACA;AACA,6BAA6B,IAAI,SAAS,IAAI,UAAU,IAAI;AAC5D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,uBAAuB;AACvB;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,QAAQ;AACnB;AACA,aAAa,SAAS;AACtB,uCAAuC;AACvC;AACA;AACA,4BAA4B;AAC5B,qCAAqC;AACrC,6CAA6C;AAC7C,iCAAiC;AACjC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,oBAAoB;;;;;;;;;;;;ACpQP;AACb,8CAA6C,EAAE,aAAa,EAAC;AAC7D,qBAAqB;AACrB,qBAAqB,mBAAO,CAAC,uEAAc;AAC3C;AACA;AACA;AACA,WAAW,QAAQ;AACnB;AACA;AACA,aAAa,QAAQ;AACrB;AACA,YAAY,OAAO;AACnB;AACA;AACA,6BAA6B;AAC7B,oCAAoC;AACpC;AACA;AAC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;AACA,aAAa,QAAQ;AACrB;AACA;AACA,0CAA0C;AAC1C;AACA;AACA;AACA;AACA,YAAY;;;;;;;;;;;;AClBC;AACb,8CAA6C,EAAE,aAAa,EAAC;AAC7D,uBAAuB,GAAG,mBAAmB;AAC7C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC,kBAAkB,mBAAmB,mBAAmB;AACzD;AACA,uBAAuB;;;;;;;;;;;;ACfV;AACb,8CAA6C,EAAE,aAAa,EAAC;AAC7D,iBAAiB,GAAG,kBAAkB,GAAG,iBAAiB,GAAG,iBAAiB,GAAG,kBAAkB,GAAG,iBAAiB,GAAG,kBAAkB,GAAG,iBAAiB,GAAG,iBAAiB,GAAG,kBAAkB,GAAG,iBAAiB,GAAG,kBAAkB,GAAG,iBAAiB,GAAG,kBAAkB;AAC3R;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mBAAmB,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE;AACvC;AACA,iBAAiB;AACjB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mBAAmB,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE;AACvC;AACA,kBAAkB;AAClB;AACA;AACA;AACA,iBAAiB;AACjB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mBAAmB,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE;AACvC;AACA,iBAAiB;AACjB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mBAAmB,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE;AACvC;AACA,kBAAkB;AAClB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mBAAmB,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE;AACvC;AACA,kBAAkB;AAClB;AACA;AACA;AACA;AACA;AACA;AACA;AACA,uBAAuB,oBAAoB,IAAI,oBAAoB,IAAI,oBAAoB;AAC3F;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mBAAmB,oBAAoB,IAAI,oBAAoB,IAAI,oBAAoB;AACvF;AACA,iBAAiB;AACjB;AACA;AACA;AACA;AACA;AACA,eAAe,KAAK,EAAE,KAAK,EAAE,KAAK;AAClC;AACA,iBAAiB;AACjB;AACA;AACA;AACA;AACA;AACA;AACA,eAAe,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,SAAS;AAC7C;AACA,kBAAkB;AAClB;AACA;AACA,kBAAkB,EAAE,IAAI,EAAE,IAAI,EAAE;AAChC;AACA,iBAAiB;AACjB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,kBAAkB,0BAA0B,IAAI,oBAAoB,KAAK,oBAAoB;AAC7F;AACA,iBAAiB;AACjB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mBAAmB,oBAAoB,IAAI,oBAAoB,KAAK,oBAAoB,KAAK,EAAE;AAC/F;AACA,kBAAkB;AAClB;AACA;AACA;AACA;AACA;AACA;AACA,mBAAmB,oBAAoB,KAAK,oBAAoB,KAAK,oBAAoB,KAAK,oBAAoB;AAClH;AACA,kBAAkB;AAClB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,kBAAkB,cAAc,IAAI,oBAAoB,KAAK,oBAAoB;AACjF;AACA,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;ACvTc;AACxB;AACA;AACA;AACP;AACA;AACA;AACA;AACA,wBAAwB,iBAAiB,GAAG,UAAU;AACtD;AACA;AACO,mCAAmC,gDAAmB;AAC7D;AACA;AACA;AACA,CAAC;AACM;AACP;AACA,EAAE;AACF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO;AACP,kBAAkB,6CAAgB;AAClC;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,C;;;;;;;;;;;AC9CA;AACA;AACA;AACA;AACA;;AAEa;AACb;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA,kCAAkC;AAClC;AACA;AACA;AACA;;AAEA;AACA;AACA,kBAAkB,QAAQ;AAC1B;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,GAAG;AACH,kCAAkC;AAClC;AACA;AACA;;AAEA;AACA,GAAG;AACH;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA,iBAAiB,sBAAsB;AACvC;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,mBAAmB,oBAAoB;AACvC;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;;;;;;;;;;ACzFA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA,uBAAuB,UAAU;AACjC;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,uBAAuB,UAAU;AACjC;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA,qBAAqB,UAAU;AAC/B;AACA;;AAEA;AACA;AACA;;AAEA;AACA,qBAAqB,UAAU;AAC/B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;;;;;;;;;;;;;AC1ImC;AACY;AACN;AACf;AACe;;AAEzC;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,CAAC,IAAI;;AAEL;;AAEA;;AAEA;AACA;AACA,EAAE;AACF;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,oBAAoB,kBAAkB;AACtC;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA,kBAAkB,sBAAsB;AACxC;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA,2CAA2C,sBAAsB,sBAAsB,wBAAwB,wBAAwB;AACvI;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,SAAS;AACT;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,KAAK;AACL;AACA,KAAK;AACL,0BAA0B;AAC1B,KAAK,IAAI;AACT;;AAEA;AACA;AACA;AACA,KAAK;AACL;AACA,KAAK;AACL;AACA;;AAEA,4BAA4B,iBAAiB;AAC7C;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA,KAAK;AACL;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA,4BAA4B,iBAAiB;AAC7C;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,SAAS;AACT;AACA,SAAS;;AAET;AACA;AACA,wBAAwB,iBAAiB;AACzC;AACA,2BAA2B,oDAAY,GAAG;;AAE1C;AACA;;AAEA;AACA,KAAK;AACL;;AAEA;AACA,uCAAuC,QAAQ;AAC/C;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,UAAU;AACV;AACA;AACA,aAAa;AACb;AACA;AACA,CAAC;;AAED;AACA;AACA;;AAEA,gOAAgO,UAAM;;AAEtO,+KAA+K,UAAM;;AAErL;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,aAAa;AACb,SAAS;AACT,MAAM;AACN;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA,oBAAoB,0BAA0B;AAC9C;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA,iDAAiD,SAAS;AAC1D;AACA;;AAEA;AACA;AACA,MAAM;AACN;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,sBAAsB;AACtB;AACA;AACA,0BAA0B;AAC1B;AACA;AACA,sBAAsB;AACtB;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA,cAAc;AACd;AACA;AACA,SAAS;AACT;;AAEA;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,SAAS;;AAET;;AAEA;;AAEA;AACA,KAAK;AACL;;AAEA;AACA;;AAEA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;;AAEA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;;AAEA;AACA;AACA;AACA,KAAK;AACL;;AAEA,YAAY,0DAAmB;AAC/B;;AAEA;AACA;AACA;;AAEA;AACA;AACA,SAAS;;AAET;AACA;;AAEA;AACA;AACA,sDAAsD;AACtD,cAAc;AACd;AACA;AACA,SAAS;;AAET,eAAe,0DAAmB;AAClC,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,iBAAiB;AACjB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iBAAiB;AACjB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iBAAiB;AACjB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mDAAmD,gDAAgD;AACnG;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,oBAAoB,yDAAO;AAC3B;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA,8BAA8B,gDAAgD,iGAAiG;AAC/K;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,sCAAsC,wCAAwC,2GAA2G;;AAEzL;AACA,sCAAsC;AACtC,mDAAmD;AACnD,qBAAqB;;AAErB;AACA,sCAAsC;AACtC,mDAAmD;AACnD,qBAAqB;AACrB;;AAEA,8BAA8B,wCAAwC,kDAAkD;AACxH;;AAEA;AACA,+CAA+C;;AAE/C;AACA;;AAEA,+CAA+C,iDAAiD;AAChG,aAAa;;AAEb;AACA;;AAEA;AACA,gBAAgB,IAAqC;AACrD;AACA;AACA,iBAAiB;AACjB;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA,iBAAiB;AACjB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BAA6B,wDAAc;AAC3C,gBAAgB,yDAAiB,CAAC,0DAAgB;AAClD,eAAe,yDAAiB,CAAC,0DAAgB;AACjD,eAAe,0DAAgB;AAC/B,yBAAyB,0DAAgB;AACzC,uBAAuB,0DAAgB;AACvC,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA,kCAAkC;AAClC;AACA,kCAAkC;AAClC;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;;AAEA;AACA,KAAK;AACL;;AAEA;AACA;AACA;;AAEA,wBAAwB,wDAAc;;AAEtC;AACA;;AAEA,iEAAe,YAAY,EAAC;AACM;;;;;;;;;;;;ACl5BrB;;AAEb,gCAAgC;;AAEhC,YAAY,mBAAO,CAAC,oBAAO;AAC3B;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL,IAAI;AACJ;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,OAAO;;AAEP;AACA;AACA,QAAQ;AACR;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,KAAK;;AAEL;;AAEA;;AAEA;AACA;AACA;;AAEA;;;;;;;;;;;;AC5HA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEa;AACb,KAAqC;AACrC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,cAAc;AACd;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW;AACX,+CAA+C,6BAA6B;AAC5E;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAY;AACZ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,gBAAgB,gDAAgD;AAChE,gBAAgB,aAAa;AAC7B;AACA;AACA,gCAAgC,kCAAkC,OAAO;AACzE;AACA,gGAAgG,SAAS,UAAU,sFAAsF,aAAa,UAAU,UAAU;AAC1O;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;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;;AC1CD,kD;;;;;;;;;;;ACAA,wD;;;;;;;;;;;ACAA,wD;;;;;;;;;;;ACAA,mD;;;;;;UCAA;UACA;;UAEA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;;UAEA;UACA;;UAEA;UACA;UACA;;;;;WC5BA;WACA;WACA;WACA;WACA;WACA,iCAAiC,WAAW;WAC5C;WACA,E;;;;;WCPA;WACA;WACA;WACA;WACA,yCAAyC,wCAAwC;WACjF;WACA;WACA,E;;;;;WCPA,wF;;;;;WCAA;WACA;WACA;WACA,uDAAuD,iBAAiB;WACxE;WACA,gDAAgD,aAAa;WAC7D,E;;;;;UENA;UACA;UACA;UACA","sources":["webpack://acacia-ui/webpack/universalModuleDefinition","webpack://acacia-ui/./node_modules/@ant-design/colors/es/generate.js","webpack://acacia-ui/./node_modules/@ant-design/colors/es/index.js","webpack://acacia-ui/./node_modules/@ant-design/colors/es/presets.js","webpack://acacia-ui/./node_modules/@ant-design/fast-color/es/FastColor.js","webpack://acacia-ui/./node_modules/@ant-design/fast-color/es/index.js","webpack://acacia-ui/./node_modules/@ant-design/fast-color/es/types.js","webpack://acacia-ui/./node_modules/@babel/runtime/helpers/esm/defineProperty.js","webpack://acacia-ui/./node_modules/@babel/runtime/helpers/esm/toPrimitive.js","webpack://acacia-ui/./node_modules/@babel/runtime/helpers/esm/toPropertyKey.js","webpack://acacia-ui/./node_modules/@babel/runtime/helpers/esm/typeof.js","webpack://acacia-ui/./node_modules/@fontsource-variable/inter/index.css?e692","webpack://acacia-ui/./node_modules/@fontsource-variable/outfit/index.css?2db3","webpack://acacia-ui/./node_modules/@fontsource-variable/roboto-flex/index.css?a2d1","webpack://acacia-ui/./node_modules/@mirawision/colorize/adjust-brightness.js","webpack://acacia-ui/./node_modules/@mirawision/colorize/adjust-hue.js","webpack://acacia-ui/./node_modules/@mirawision/colorize/adjust-saturation.js","webpack://acacia-ui/./node_modules/@mirawision/colorize/apply-greyscale.js","webpack://acacia-ui/./node_modules/@mirawision/colorize/apply-sepia.js","webpack://acacia-ui/./node_modules/@mirawision/colorize/blend-colors.js","webpack://acacia-ui/./node_modules/@mirawision/colorize/blend-multiple-colors.js","webpack://acacia-ui/./node_modules/@mirawision/colorize/calculate-contrast.js","webpack://acacia-ui/./node_modules/@mirawision/colorize/calculate-similarity.js","webpack://acacia-ui/./node_modules/@mirawision/colorize/change-opacity.js","webpack://acacia-ui/./node_modules/@mirawision/colorize/color.js","webpack://acacia-ui/./node_modules/@mirawision/colorize/convert-color.js","webpack://acacia-ui/./node_modules/@mirawision/colorize/extract-opacity.js","webpack://acacia-ui/./node_modules/@mirawision/colorize/generate-multi-stepped-gradient.js","webpack://acacia-ui/./node_modules/@mirawision/colorize/generate-stepped-gradient.js","webpack://acacia-ui/./node_modules/@mirawision/colorize/get-color-format.js","webpack://acacia-ui/./node_modules/@mirawision/colorize/get-luminance.js","webpack://acacia-ui/./node_modules/@mirawision/colorize/get-temperature.js","webpack://acacia-ui/./node_modules/@mirawision/colorize/index.js","webpack://acacia-ui/./node_modules/@mirawision/colorize/invert-color.js","webpack://acacia-ui/./node_modules/@mirawision/colorize/is-dark.js","webpack://acacia-ui/./node_modules/@mirawision/colorize/is-light.js","webpack://acacia-ui/./node_modules/@mirawision/colorize/is-valid-color.js","webpack://acacia-ui/./node_modules/@mirawision/colorize/opposite-color.js","webpack://acacia-ui/./node_modules/@mirawision/colorize/parse-color-numbers.js","webpack://acacia-ui/./node_modules/@mirawision/colorize/random-color.js","webpack://acacia-ui/./node_modules/@mirawision/colorize/shade.js","webpack://acacia-ui/./node_modules/@mirawision/colorize/tint.js","webpack://acacia-ui/./node_modules/@mirawision/colorize/types.js","webpack://acacia-ui/./node_modules/@mirawision/colorize/utils/convert-utils.js","webpack://acacia-ui/./node_modules/antd/es/config-provider/context.js","webpack://acacia-ui/./node_modules/object-assign/index.js","webpack://acacia-ui/./node_modules/react-fast-compare/index.js","webpack://acacia-ui/./node_modules/react-helmet/es/Helmet.js","webpack://acacia-ui/./node_modules/react-helmet/node_modules/react-side-effect/lib/index.js","webpack://acacia-ui/./node_modules/react/cjs/react-jsx-runtime.development.js","webpack://acacia-ui/./node_modules/react/jsx-runtime.js","webpack://acacia-ui/./node_modules/ts-pattern/dist/index.cjs","webpack://acacia-ui/./src/components/layout/VerticalLayout/VerticalHeader.tsx","webpack://acacia-ui/./src/components/layout/VerticalLayout/VerticalLayout.tsx","webpack://acacia-ui/./src/components/ui/Avatar/Avatar.tsx","webpack://acacia-ui/./src/components/ui/Badge/Badge.tsx","webpack://acacia-ui/./src/components/ui/Badge/Ribbon.tsx","webpack://acacia-ui/./src/components/ui/Breadcrumb/Breadcrumb.tsx","webpack://acacia-ui/./src/components/ui/Button/Button.tsx","webpack://acacia-ui/./src/components/ui/Card/Card.tsx","webpack://acacia-ui/./src/components/ui/Card/useCardStyles.ts","webpack://acacia-ui/./src/components/ui/Checkbox/Checkbox.tsx","webpack://acacia-ui/./src/components/ui/Checkbox/CheckboxGroup.tsx","webpack://acacia-ui/./src/components/ui/ConfigProvider/ConfigProvider.tsx","webpack://acacia-ui/./src/components/ui/ConfigProvider/defaultTheme.ts","webpack://acacia-ui/./src/components/ui/DatePicker/DatePicker.tsx","webpack://acacia-ui/./src/components/ui/DatePicker/RangePicker.tsx","webpack://acacia-ui/./src/components/ui/Dropdown/Dropdown.tsx","webpack://acacia-ui/./src/components/ui/Dropdown/DropdownButton.tsx","webpack://acacia-ui/./src/components/ui/Input/Input.tsx","webpack://acacia-ui/./src/components/ui/Input/OTP.tsx","webpack://acacia-ui/./src/components/ui/Input/Password.tsx","webpack://acacia-ui/./src/components/ui/Input/Search.tsx","webpack://acacia-ui/./src/components/ui/Input/TextArea.tsx","webpack://acacia-ui/./src/components/ui/Input/useInputStyles.ts","webpack://acacia-ui/./src/components/ui/Menu/Menu.tsx","webpack://acacia-ui/./src/components/ui/Pagination/Pagination.tsx","webpack://acacia-ui/./src/components/ui/Radio/Button.tsx","webpack://acacia-ui/./src/components/ui/Radio/Radio.tsx","webpack://acacia-ui/./src/components/ui/Radio/RadioGroup.tsx","webpack://acacia-ui/./src/components/ui/Segmented/Segmented.tsx","webpack://acacia-ui/./src/components/ui/Select/Select.tsx","webpack://acacia-ui/./src/components/ui/Space/Space.tsx","webpack://acacia-ui/./src/components/ui/Switch/Switch.tsx","webpack://acacia-ui/./src/components/ui/Tabs/Tabs.tsx","webpack://acacia-ui/./src/components/ui/Tag/Tag.tsx","webpack://acacia-ui/./src/components/ui/TimePicker/TimePicker.tsx","webpack://acacia-ui/./src/components/ui/TimePicker/TimeRangePicker.tsx","webpack://acacia-ui/./src/components/ui/Typography/Typography.tsx","webpack://acacia-ui/./src/components/ui/Typography/useTypographyStyles.ts","webpack://acacia-ui/./src/components/ui/interfaces.tsx","webpack://acacia-ui/./src/hooks/useAcaciaColors.tsx","webpack://acacia-ui/./src/hooks/useAcaciaConfig.tsx","webpack://acacia-ui/./src/hooks/useFoucHandler.tsx","webpack://acacia-ui/./src/hooks/useScreenSize.tsx","webpack://acacia-ui/./src/index.tsx","webpack://acacia-ui/./src/theme/customTheme.ts","webpack://acacia-ui/./src/theme/defaultLogo.tsx","webpack://acacia-ui/./src/theme/typographyUtil.ts","webpack://acacia-ui/./src/tokens/useAcaciaToken.tsx","webpack://acacia-ui/./src/utils/colors.util.ts","webpack://acacia-ui/./src/utils/parseBackgroundColors.ts","webpack://acacia-ui/external umd \"antd\"","webpack://acacia-ui/external umd \"antd-style\"","webpack://acacia-ui/external umd \"prop-types\"","webpack://acacia-ui/external umd \"react\"","webpack://acacia-ui/webpack/bootstrap","webpack://acacia-ui/webpack/runtime/compat get default export","webpack://acacia-ui/webpack/runtime/define property getters","webpack://acacia-ui/webpack/runtime/hasOwnProperty shorthand","webpack://acacia-ui/webpack/runtime/make namespace object","webpack://acacia-ui/webpack/before-startup","webpack://acacia-ui/webpack/startup","webpack://acacia-ui/webpack/after-startup"],"sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory(require(\"antd\"), require(\"antd-style\"), require(\"prop-types\"), require(\"react\"));\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([\"antd\", \"antd-style\", \"prop-types\", \"react\"], factory);\n\telse {\n\t\tvar a = typeof exports === 'object' ? factory(require(\"antd\"), require(\"antd-style\"), require(\"prop-types\"), require(\"react\")) : factory(root[\"antd\"], root[\"antd-style\"], root[\"prop-types\"], root[\"react\"]);\n\t\tfor(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];\n\t}\n})(this, (__WEBPACK_EXTERNAL_MODULE_antd__, __WEBPACK_EXTERNAL_MODULE_antd_style__, __WEBPACK_EXTERNAL_MODULE_prop_types__, __WEBPACK_EXTERNAL_MODULE_react__) => {\nreturn ","import { FastColor } from '@ant-design/fast-color';\nvar hueStep = 2; // 色相阶梯\nvar saturationStep = 0.16; // 饱和度阶梯,浅色部分\nvar saturationStep2 = 0.05; // 饱和度阶梯,深色部分\nvar brightnessStep1 = 0.05; // 亮度阶梯,浅色部分\nvar brightnessStep2 = 0.15; // 亮度阶梯,深色部分\nvar lightColorCount = 5; // 浅色数量,主色上\nvar darkColorCount = 4; // 深色数量,主色下\n\n// 暗色主题颜色映射关系表\nvar darkColorMap = [{\n index: 7,\n amount: 15\n}, {\n index: 6,\n amount: 25\n}, {\n index: 5,\n amount: 30\n}, {\n index: 5,\n amount: 45\n}, {\n index: 5,\n amount: 65\n}, {\n index: 5,\n amount: 85\n}, {\n index: 4,\n amount: 90\n}, {\n index: 3,\n amount: 95\n}, {\n index: 2,\n amount: 97\n}, {\n index: 1,\n amount: 98\n}];\nfunction getHue(hsv, i, light) {\n var hue;\n // 根据色相不同,色相转向不同\n if (Math.round(hsv.h) >= 60 && Math.round(hsv.h) <= 240) {\n hue = light ? Math.round(hsv.h) - hueStep * i : Math.round(hsv.h) + hueStep * i;\n } else {\n hue = light ? Math.round(hsv.h) + hueStep * i : Math.round(hsv.h) - hueStep * i;\n }\n if (hue < 0) {\n hue += 360;\n } else if (hue >= 360) {\n hue -= 360;\n }\n return hue;\n}\nfunction getSaturation(hsv, i, light) {\n // grey color don't change saturation\n if (hsv.h === 0 && hsv.s === 0) {\n return hsv.s;\n }\n var saturation;\n if (light) {\n saturation = hsv.s - saturationStep * i;\n } else if (i === darkColorCount) {\n saturation = hsv.s + saturationStep;\n } else {\n saturation = hsv.s + saturationStep2 * i;\n }\n // 边界值修正\n if (saturation > 1) {\n saturation = 1;\n }\n // 第一格的 s 限制在 0.06-0.1 之间\n if (light && i === lightColorCount && saturation > 0.1) {\n saturation = 0.1;\n }\n if (saturation < 0.06) {\n saturation = 0.06;\n }\n return Math.round(saturation * 100) / 100;\n}\nfunction getValue(hsv, i, light) {\n var value;\n if (light) {\n value = hsv.v + brightnessStep1 * i;\n } else {\n value = hsv.v - brightnessStep2 * i;\n }\n // Clamp value between 0 and 1\n value = Math.max(0, Math.min(1, value));\n return Math.round(value * 100) / 100;\n}\nexport default function generate(color) {\n var opts = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n var patterns = [];\n var pColor = new FastColor(color);\n var hsv = pColor.toHsv();\n for (var i = lightColorCount; i > 0; i -= 1) {\n var c = new FastColor({\n h: getHue(hsv, i, true),\n s: getSaturation(hsv, i, true),\n v: getValue(hsv, i, true)\n });\n patterns.push(c);\n }\n patterns.push(pColor);\n for (var _i = 1; _i <= darkColorCount; _i += 1) {\n var _c = new FastColor({\n h: getHue(hsv, _i),\n s: getSaturation(hsv, _i),\n v: getValue(hsv, _i)\n });\n patterns.push(_c);\n }\n\n // dark theme patterns\n if (opts.theme === 'dark') {\n return darkColorMap.map(function (_ref) {\n var index = _ref.index,\n amount = _ref.amount;\n return new FastColor(opts.backgroundColor || '#141414').mix(patterns[index], amount).toHexString();\n });\n }\n return patterns.map(function (c) {\n return c.toHexString();\n });\n}","export { default as generate } from \"./generate\";\nexport * from \"./presets\";","// Generated by script. Do NOT modify!\n\nexport var presetPrimaryColors = {\n \"red\": \"#F5222D\",\n \"volcano\": \"#FA541C\",\n \"orange\": \"#FA8C16\",\n \"gold\": \"#FAAD14\",\n \"yellow\": \"#FADB14\",\n \"lime\": \"#A0D911\",\n \"green\": \"#52C41A\",\n \"cyan\": \"#13C2C2\",\n \"blue\": \"#1677FF\",\n \"geekblue\": \"#2F54EB\",\n \"purple\": \"#722ED1\",\n \"magenta\": \"#EB2F96\",\n \"grey\": \"#666666\"\n};\nexport var red = [\"#fff1f0\", \"#ffccc7\", \"#ffa39e\", \"#ff7875\", \"#ff4d4f\", \"#f5222d\", \"#cf1322\", \"#a8071a\", \"#820014\", \"#5c0011\"];\nred.primary = red[5];\nexport var volcano = [\"#fff2e8\", \"#ffd8bf\", \"#ffbb96\", \"#ff9c6e\", \"#ff7a45\", \"#fa541c\", \"#d4380d\", \"#ad2102\", \"#871400\", \"#610b00\"];\nvolcano.primary = volcano[5];\nexport var orange = [\"#fff7e6\", \"#ffe7ba\", \"#ffd591\", \"#ffc069\", \"#ffa940\", \"#fa8c16\", \"#d46b08\", \"#ad4e00\", \"#873800\", \"#612500\"];\norange.primary = orange[5];\nexport var gold = [\"#fffbe6\", \"#fff1b8\", \"#ffe58f\", \"#ffd666\", \"#ffc53d\", \"#faad14\", \"#d48806\", \"#ad6800\", \"#874d00\", \"#613400\"];\ngold.primary = gold[5];\nexport var yellow = [\"#feffe6\", \"#ffffb8\", \"#fffb8f\", \"#fff566\", \"#ffec3d\", \"#fadb14\", \"#d4b106\", \"#ad8b00\", \"#876800\", \"#614700\"];\nyellow.primary = yellow[5];\nexport var lime = [\"#fcffe6\", \"#f4ffb8\", \"#eaff8f\", \"#d3f261\", \"#bae637\", \"#a0d911\", \"#7cb305\", \"#5b8c00\", \"#3f6600\", \"#254000\"];\nlime.primary = lime[5];\nexport var green = [\"#f6ffed\", \"#d9f7be\", \"#b7eb8f\", \"#95de64\", \"#73d13d\", \"#52c41a\", \"#389e0d\", \"#237804\", \"#135200\", \"#092b00\"];\ngreen.primary = green[5];\nexport var cyan = [\"#e6fffb\", \"#b5f5ec\", \"#87e8de\", \"#5cdbd3\", \"#36cfc9\", \"#13c2c2\", \"#08979c\", \"#006d75\", \"#00474f\", \"#002329\"];\ncyan.primary = cyan[5];\nexport var blue = [\"#e6f4ff\", \"#bae0ff\", \"#91caff\", \"#69b1ff\", \"#4096ff\", \"#1677ff\", \"#0958d9\", \"#003eb3\", \"#002c8c\", \"#001d66\"];\nblue.primary = blue[5];\nexport var geekblue = [\"#f0f5ff\", \"#d6e4ff\", \"#adc6ff\", \"#85a5ff\", \"#597ef7\", \"#2f54eb\", \"#1d39c4\", \"#10239e\", \"#061178\", \"#030852\"];\ngeekblue.primary = geekblue[5];\nexport var purple = [\"#f9f0ff\", \"#efdbff\", \"#d3adf7\", \"#b37feb\", \"#9254de\", \"#722ed1\", \"#531dab\", \"#391085\", \"#22075e\", \"#120338\"];\npurple.primary = purple[5];\nexport var magenta = [\"#fff0f6\", \"#ffd6e7\", \"#ffadd2\", \"#ff85c0\", \"#f759ab\", \"#eb2f96\", \"#c41d7f\", \"#9e1068\", \"#780650\", \"#520339\"];\nmagenta.primary = magenta[5];\nexport var grey = [\"#a6a6a6\", \"#999999\", \"#8c8c8c\", \"#808080\", \"#737373\", \"#666666\", \"#404040\", \"#1a1a1a\", \"#000000\", \"#000000\"];\ngrey.primary = grey[5];\nexport var gray = grey;\nexport var presetPalettes = {\n red: red,\n volcano: volcano,\n orange: orange,\n gold: gold,\n yellow: yellow,\n lime: lime,\n green: green,\n cyan: cyan,\n blue: blue,\n geekblue: geekblue,\n purple: purple,\n magenta: magenta,\n grey: grey\n};\nexport var redDark = [\"#2a1215\", \"#431418\", \"#58181c\", \"#791a1f\", \"#a61d24\", \"#d32029\", \"#e84749\", \"#f37370\", \"#f89f9a\", \"#fac8c3\"];\nredDark.primary = redDark[5];\nexport var volcanoDark = [\"#2b1611\", \"#441d12\", \"#592716\", \"#7c3118\", \"#aa3e19\", \"#d84a1b\", \"#e87040\", \"#f3956a\", \"#f8b692\", \"#fad4bc\"];\nvolcanoDark.primary = volcanoDark[5];\nexport var orangeDark = [\"#2b1d11\", \"#442a11\", \"#593815\", \"#7c4a15\", \"#aa6215\", \"#d87a16\", \"#e89a3c\", \"#f3b765\", \"#f8cf8d\", \"#fae3b7\"];\norangeDark.primary = orangeDark[5];\nexport var goldDark = [\"#2b2111\", \"#443111\", \"#594214\", \"#7c5914\", \"#aa7714\", \"#d89614\", \"#e8b339\", \"#f3cc62\", \"#f8df8b\", \"#faedb5\"];\ngoldDark.primary = goldDark[5];\nexport var yellowDark = [\"#2b2611\", \"#443b11\", \"#595014\", \"#7c6e14\", \"#aa9514\", \"#d8bd14\", \"#e8d639\", \"#f3ea62\", \"#f8f48b\", \"#fafab5\"];\nyellowDark.primary = yellowDark[5];\nexport var limeDark = [\"#1f2611\", \"#2e3c10\", \"#3e4f13\", \"#536d13\", \"#6f9412\", \"#8bbb11\", \"#a9d134\", \"#c9e75d\", \"#e4f88b\", \"#f0fab5\"];\nlimeDark.primary = limeDark[5];\nexport var greenDark = [\"#162312\", \"#1d3712\", \"#274916\", \"#306317\", \"#3c8618\", \"#49aa19\", \"#6abe39\", \"#8fd460\", \"#b2e58b\", \"#d5f2bb\"];\ngreenDark.primary = greenDark[5];\nexport var cyanDark = [\"#112123\", \"#113536\", \"#144848\", \"#146262\", \"#138585\", \"#13a8a8\", \"#33bcb7\", \"#58d1c9\", \"#84e2d8\", \"#b2f1e8\"];\ncyanDark.primary = cyanDark[5];\nexport var blueDark = [\"#111a2c\", \"#112545\", \"#15325b\", \"#15417e\", \"#1554ad\", \"#1668dc\", \"#3c89e8\", \"#65a9f3\", \"#8dc5f8\", \"#b7dcfa\"];\nblueDark.primary = blueDark[5];\nexport var geekblueDark = [\"#131629\", \"#161d40\", \"#1c2755\", \"#203175\", \"#263ea0\", \"#2b4acb\", \"#5273e0\", \"#7f9ef3\", \"#a8c1f8\", \"#d2e0fa\"];\ngeekblueDark.primary = geekblueDark[5];\nexport var purpleDark = [\"#1a1325\", \"#24163a\", \"#301c4d\", \"#3e2069\", \"#51258f\", \"#642ab5\", \"#854eca\", \"#ab7ae0\", \"#cda8f0\", \"#ebd7fa\"];\npurpleDark.primary = purpleDark[5];\nexport var magentaDark = [\"#291321\", \"#40162f\", \"#551c3b\", \"#75204f\", \"#a02669\", \"#cb2b83\", \"#e0529c\", \"#f37fb7\", \"#f8a8cc\", \"#fad2e3\"];\nmagentaDark.primary = magentaDark[5];\nexport var greyDark = [\"#151515\", \"#1f1f1f\", \"#2d2d2d\", \"#393939\", \"#494949\", \"#5a5a5a\", \"#6a6a6a\", \"#7b7b7b\", \"#888888\", \"#969696\"];\ngreyDark.primary = greyDark[5];\nexport var presetDarkPalettes = {\n red: redDark,\n volcano: volcanoDark,\n orange: orangeDark,\n gold: goldDark,\n yellow: yellowDark,\n lime: limeDark,\n green: greenDark,\n cyan: cyanDark,\n blue: blueDark,\n geekblue: geekblueDark,\n purple: purpleDark,\n magenta: magentaDark,\n grey: greyDark\n};","import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nconst round = Math.round;\n\n/**\n * Support format, alpha unit will check the % mark:\n * - rgba(102, 204, 255, .5) -> [102, 204, 255, 0.5]\n * - rgb(102 204 255 / .5) -> [102, 204, 255, 0.5]\n * - rgb(100%, 50%, 0% / 50%) -> [255, 128, 0, 0.5]\n * - hsl(270, 60, 40, .5) -> [270, 60, 40, 0.5]\n * - hsl(270deg 60% 40% / 50%) -> [270, 60, 40, 0.5]\n *\n * When `base` is provided, the percentage value will be divided by `base`.\n */\nfunction splitColorStr(str, parseNum) {\n const match = str\n // Remove str before `(`\n .replace(/^[^(]*\\((.*)/, '$1')\n // Remove str after `)`\n .replace(/\\).*/, '').match(/\\d*\\.?\\d+%?/g) || [];\n const numList = match.map(item => parseFloat(item));\n for (let i = 0; i < 3; i += 1) {\n numList[i] = parseNum(numList[i] || 0, match[i] || '', i);\n }\n\n // For alpha. 50% should be 0.5\n if (match[3]) {\n numList[3] = match[3].includes('%') ? numList[3] / 100 : numList[3];\n } else {\n // By default, alpha is 1\n numList[3] = 1;\n }\n return numList;\n}\nconst parseHSVorHSL = (num, _, index) => index === 0 ? num : num / 100;\n\n/** round and limit number to integer between 0-255 */\nfunction limitRange(value, max) {\n const mergedMax = max || 255;\n if (value > mergedMax) {\n return mergedMax;\n }\n if (value < 0) {\n return 0;\n }\n return value;\n}\nexport class FastColor {\n constructor(input) {\n /**\n * All FastColor objects are valid. So isValid is always true. This property is kept to be compatible with TinyColor.\n */\n _defineProperty(this, \"isValid\", true);\n /**\n * Red, R in RGB\n */\n _defineProperty(this, \"r\", 0);\n /**\n * Green, G in RGB\n */\n _defineProperty(this, \"g\", 0);\n /**\n * Blue, B in RGB\n */\n _defineProperty(this, \"b\", 0);\n /**\n * Alpha/Opacity, A in RGBA/HSLA\n */\n _defineProperty(this, \"a\", 1);\n // HSV privates\n _defineProperty(this, \"_h\", void 0);\n _defineProperty(this, \"_s\", void 0);\n _defineProperty(this, \"_l\", void 0);\n _defineProperty(this, \"_v\", void 0);\n // intermediate variables to calculate HSL/HSV\n _defineProperty(this, \"_max\", void 0);\n _defineProperty(this, \"_min\", void 0);\n _defineProperty(this, \"_brightness\", void 0);\n /**\n * Always check 3 char in the object to determine the format.\n * We not use function in check to save bundle size.\n * e.g. 'rgb' -> { r: 0, g: 0, b: 0 }.\n */\n function matchFormat(str) {\n return str[0] in input && str[1] in input && str[2] in input;\n }\n if (!input) {\n // Do nothing since already initialized\n } else if (typeof input === 'string') {\n const trimStr = input.trim();\n function matchPrefix(prefix) {\n return trimStr.startsWith(prefix);\n }\n if (/^#?[A-F\\d]{3,8}$/i.test(trimStr)) {\n this.fromHexString(trimStr);\n } else if (matchPrefix('rgb')) {\n this.fromRgbString(trimStr);\n } else if (matchPrefix('hsl')) {\n this.fromHslString(trimStr);\n } else if (matchPrefix('hsv') || matchPrefix('hsb')) {\n this.fromHsvString(trimStr);\n }\n } else if (input instanceof FastColor) {\n this.r = input.r;\n this.g = input.g;\n this.b = input.b;\n this.a = input.a;\n this._h = input._h;\n this._s = input._s;\n this._l = input._l;\n this._v = input._v;\n } else if (matchFormat('rgb')) {\n this.r = limitRange(input.r);\n this.g = limitRange(input.g);\n this.b = limitRange(input.b);\n this.a = typeof input.a === 'number' ? limitRange(input.a, 1) : 1;\n } else if (matchFormat('hsl')) {\n this.fromHsl(input);\n } else if (matchFormat('hsv')) {\n this.fromHsv(input);\n } else {\n throw new Error('@ant-design/fast-color: unsupported input ' + JSON.stringify(input));\n }\n }\n\n // ======================= Setter =======================\n\n setR(value) {\n return this._sc('r', value);\n }\n setG(value) {\n return this._sc('g', value);\n }\n setB(value) {\n return this._sc('b', value);\n }\n setA(value) {\n return this._sc('a', value, 1);\n }\n setHue(value) {\n const hsv = this.toHsv();\n hsv.h = value;\n return this._c(hsv);\n }\n\n // ======================= Getter =======================\n /**\n * Returns the perceived luminance of a color, from 0-1.\n * @see http://www.w3.org/TR/2008/REC-WCAG20-20081211/#relativeluminancedef\n */\n getLuminance() {\n function adjustGamma(raw) {\n const val = raw / 255;\n return val <= 0.03928 ? val / 12.92 : Math.pow((val + 0.055) / 1.055, 2.4);\n }\n const R = adjustGamma(this.r);\n const G = adjustGamma(this.g);\n const B = adjustGamma(this.b);\n return 0.2126 * R + 0.7152 * G + 0.0722 * B;\n }\n getHue() {\n if (typeof this._h === 'undefined') {\n const delta = this.getMax() - this.getMin();\n if (delta === 0) {\n this._h = 0;\n } else {\n this._h = round(60 * (this.r === this.getMax() ? (this.g - this.b) / delta + (this.g < this.b ? 6 : 0) : this.g === this.getMax() ? (this.b - this.r) / delta + 2 : (this.r - this.g) / delta + 4));\n }\n }\n return this._h;\n }\n getSaturation() {\n if (typeof this._s === 'undefined') {\n const delta = this.getMax() - this.getMin();\n if (delta === 0) {\n this._s = 0;\n } else {\n this._s = delta / this.getMax();\n }\n }\n return this._s;\n }\n getLightness() {\n if (typeof this._l === 'undefined') {\n this._l = (this.getMax() + this.getMin()) / 510;\n }\n return this._l;\n }\n getValue() {\n if (typeof this._v === 'undefined') {\n this._v = this.getMax() / 255;\n }\n return this._v;\n }\n\n /**\n * Returns the perceived brightness of the color, from 0-255.\n * Note: this is not the b of HSB\n * @see http://www.w3.org/TR/AERT#color-contrast\n */\n getBrightness() {\n if (typeof this._brightness === 'undefined') {\n this._brightness = (this.r * 299 + this.g * 587 + this.b * 114) / 1000;\n }\n return this._brightness;\n }\n\n // ======================== Func ========================\n\n darken(amount = 10) {\n const h = this.getHue();\n const s = this.getSaturation();\n let l = this.getLightness() - amount / 100;\n if (l < 0) {\n l = 0;\n }\n return this._c({\n h,\n s,\n l,\n a: this.a\n });\n }\n lighten(amount = 10) {\n const h = this.getHue();\n const s = this.getSaturation();\n let l = this.getLightness() + amount / 100;\n if (l > 1) {\n l = 1;\n }\n return this._c({\n h,\n s,\n l,\n a: this.a\n });\n }\n\n /**\n * Mix the current color a given amount with another color, from 0 to 100.\n * 0 means no mixing (return current color).\n */\n mix(input, amount = 50) {\n const color = this._c(input);\n const p = amount / 100;\n const calc = key => (color[key] - this[key]) * p + this[key];\n const rgba = {\n r: round(calc('r')),\n g: round(calc('g')),\n b: round(calc('b')),\n a: round(calc('a') * 100) / 100\n };\n return this._c(rgba);\n }\n\n /**\n * Mix the color with pure white, from 0 to 100.\n * Providing 0 will do nothing, providing 100 will always return white.\n */\n tint(amount = 10) {\n return this.mix({\n r: 255,\n g: 255,\n b: 255,\n a: 1\n }, amount);\n }\n\n /**\n * Mix the color with pure black, from 0 to 100.\n * Providing 0 will do nothing, providing 100 will always return black.\n */\n shade(amount = 10) {\n return this.mix({\n r: 0,\n g: 0,\n b: 0,\n a: 1\n }, amount);\n }\n onBackground(background) {\n const bg = this._c(background);\n const alpha = this.a + bg.a * (1 - this.a);\n const calc = key => {\n return round((this[key] * this.a + bg[key] * bg.a * (1 - this.a)) / alpha);\n };\n return this._c({\n r: calc('r'),\n g: calc('g'),\n b: calc('b'),\n a: alpha\n });\n }\n\n // ======================= Status =======================\n isDark() {\n return this.getBrightness() < 128;\n }\n isLight() {\n return this.getBrightness() >= 128;\n }\n\n // ======================== MISC ========================\n equals(other) {\n return this.r === other.r && this.g === other.g && this.b === other.b && this.a === other.a;\n }\n clone() {\n return this._c(this);\n }\n\n // ======================= Format =======================\n toHexString() {\n let hex = '#';\n const rHex = (this.r || 0).toString(16);\n hex += rHex.length === 2 ? rHex : '0' + rHex;\n const gHex = (this.g || 0).toString(16);\n hex += gHex.length === 2 ? gHex : '0' + gHex;\n const bHex = (this.b || 0).toString(16);\n hex += bHex.length === 2 ? bHex : '0' + bHex;\n if (typeof this.a === 'number' && this.a >= 0 && this.a < 1) {\n const aHex = round(this.a * 255).toString(16);\n hex += aHex.length === 2 ? aHex : '0' + aHex;\n }\n return hex;\n }\n\n /** CSS support color pattern */\n toHsl() {\n return {\n h: this.getHue(),\n s: this.getSaturation(),\n l: this.getLightness(),\n a: this.a\n };\n }\n\n /** CSS support color pattern */\n toHslString() {\n const h = this.getHue();\n const s = round(this.getSaturation() * 100);\n const l = round(this.getLightness() * 100);\n return this.a !== 1 ? `hsla(${h},${s}%,${l}%,${this.a})` : `hsl(${h},${s}%,${l}%)`;\n }\n\n /** Same as toHsb */\n toHsv() {\n return {\n h: this.getHue(),\n s: this.getSaturation(),\n v: this.getValue(),\n a: this.a\n };\n }\n toRgb() {\n return {\n r: this.r,\n g: this.g,\n b: this.b,\n a: this.a\n };\n }\n toRgbString() {\n return this.a !== 1 ? `rgba(${this.r},${this.g},${this.b},${this.a})` : `rgb(${this.r},${this.g},${this.b})`;\n }\n toString() {\n return this.toRgbString();\n }\n\n // ====================== Privates ======================\n /** Return a new FastColor object with one channel changed */\n _sc(rgb, value, max) {\n const clone = this.clone();\n clone[rgb] = limitRange(value, max);\n return clone;\n }\n _c(input) {\n return new this.constructor(input);\n }\n getMax() {\n if (typeof this._max === 'undefined') {\n this._max = Math.max(this.r, this.g, this.b);\n }\n return this._max;\n }\n getMin() {\n if (typeof this._min === 'undefined') {\n this._min = Math.min(this.r, this.g, this.b);\n }\n return this._min;\n }\n fromHexString(trimStr) {\n const withoutPrefix = trimStr.replace('#', '');\n function connectNum(index1, index2) {\n return parseInt(withoutPrefix[index1] + withoutPrefix[index2 || index1], 16);\n }\n if (withoutPrefix.length < 6) {\n // #rgb or #rgba\n this.r = connectNum(0);\n this.g = connectNum(1);\n this.b = connectNum(2);\n this.a = withoutPrefix[3] ? connectNum(3) / 255 : 1;\n } else {\n // #rrggbb or #rrggbbaa\n this.r = connectNum(0, 1);\n this.g = connectNum(2, 3);\n this.b = connectNum(4, 5);\n this.a = withoutPrefix[6] ? connectNum(6, 7) / 255 : 1;\n }\n }\n fromHsl({\n h,\n s,\n l,\n a\n }) {\n this._h = h % 360;\n this._s = s;\n this._l = l;\n this.a = typeof a === 'number' ? a : 1;\n if (s <= 0) {\n const rgb = round(l * 255);\n this.r = rgb;\n this.g = rgb;\n this.b = rgb;\n }\n let r = 0,\n g = 0,\n b = 0;\n const huePrime = h / 60;\n const chroma = (1 - Math.abs(2 * l - 1)) * s;\n const secondComponent = chroma * (1 - Math.abs(huePrime % 2 - 1));\n if (huePrime >= 0 && huePrime < 1) {\n r = chroma;\n g = secondComponent;\n } else if (huePrime >= 1 && huePrime < 2) {\n r = secondComponent;\n g = chroma;\n } else if (huePrime >= 2 && huePrime < 3) {\n g = chroma;\n b = secondComponent;\n } else if (huePrime >= 3 && huePrime < 4) {\n g = secondComponent;\n b = chroma;\n } else if (huePrime >= 4 && huePrime < 5) {\n r = secondComponent;\n b = chroma;\n } else if (huePrime >= 5 && huePrime < 6) {\n r = chroma;\n b = secondComponent;\n }\n const lightnessModification = l - chroma / 2;\n this.r = round((r + lightnessModification) * 255);\n this.g = round((g + lightnessModification) * 255);\n this.b = round((b + lightnessModification) * 255);\n }\n fromHsv({\n h,\n s,\n v,\n a\n }) {\n this._h = h % 360;\n this._s = s;\n this._v = v;\n this.a = typeof a === 'number' ? a : 1;\n const vv = round(v * 255);\n this.r = vv;\n this.g = vv;\n this.b = vv;\n if (s <= 0) {\n return;\n }\n const hh = h / 60;\n const i = Math.floor(hh);\n const ff = hh - i;\n const p = round(v * (1.0 - s) * 255);\n const q = round(v * (1.0 - s * ff) * 255);\n const t = round(v * (1.0 - s * (1.0 - ff)) * 255);\n switch (i) {\n case 0:\n this.g = t;\n this.b = p;\n break;\n case 1:\n this.r = q;\n this.b = p;\n break;\n case 2:\n this.r = p;\n this.b = t;\n break;\n case 3:\n this.r = p;\n this.g = q;\n break;\n case 4:\n this.r = t;\n this.g = p;\n break;\n case 5:\n default:\n this.g = p;\n this.b = q;\n break;\n }\n }\n fromHsvString(trimStr) {\n const cells = splitColorStr(trimStr, parseHSVorHSL);\n this.fromHsv({\n h: cells[0],\n s: cells[1],\n v: cells[2],\n a: cells[3]\n });\n }\n fromHslString(trimStr) {\n const cells = splitColorStr(trimStr, parseHSVorHSL);\n this.fromHsl({\n h: cells[0],\n s: cells[1],\n l: cells[2],\n a: cells[3]\n });\n }\n fromRgbString(trimStr) {\n const cells = splitColorStr(trimStr, (num, txt) =>\n // Convert percentage to number. e.g. 50% -> 128\n txt.includes('%') ? round(num / 100 * 255) : num);\n this.r = cells[0];\n this.g = cells[1];\n this.b = cells[2];\n this.a = cells[3];\n }\n}","export * from \"./FastColor\";\nexport * from \"./types\";","export {};","import toPropertyKey from \"./toPropertyKey.js\";\nfunction _defineProperty(e, r, t) {\n return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {\n value: t,\n enumerable: !0,\n configurable: !0,\n writable: !0\n }) : e[r] = t, e;\n}\nexport { _defineProperty as default };","import _typeof from \"./typeof.js\";\nfunction toPrimitive(t, r) {\n if (\"object\" != _typeof(t) || !t) return t;\n var e = t[Symbol.toPrimitive];\n if (void 0 !== e) {\n var i = e.call(t, r || \"default\");\n if (\"object\" != _typeof(i)) return i;\n throw new TypeError(\"@@toPrimitive must return a primitive value.\");\n }\n return (\"string\" === r ? String : Number)(t);\n}\nexport { toPrimitive as default };","import _typeof from \"./typeof.js\";\nimport toPrimitive from \"./toPrimitive.js\";\nfunction toPropertyKey(t) {\n var i = toPrimitive(t, \"string\");\n return \"symbol\" == _typeof(i) ? i : i + \"\";\n}\nexport { toPropertyKey as default };","function _typeof(o) {\n \"@babel/helpers - typeof\";\n\n return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) {\n return typeof o;\n } : function (o) {\n return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o;\n }, _typeof(o);\n}\nexport { _typeof as default };","// extracted by mini-css-extract-plugin\nexport {};","// extracted by mini-css-extract-plugin\nexport {};","// extracted by mini-css-extract-plugin\nexport {};","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.adjustBrightness = void 0;\nconst convert_color_1 = require(\"./convert-color\");\nconst get_color_format_1 = require(\"./get-color-format\");\nconst types_1 = require(\"./types\");\n/**\n * Adjusts the brightness of a given color by a specified amount.\n *\n * @param {string} color - The color to adjust, in a recognized color format.\n * If an invalid color format is provided, white (#FFFFFF) will be used as a fallback.\n * @param {number} amount - The amount to adjust the brightness by. This value can be positive (to increase brightness)\n * or negative (to decrease brightness). The adjusted lightness is kept within the 0-100 range.\n *\n * @returns {string} - The adjusted color, converted back to its original format.\n * If the input color format was invalid, returns the adjusted white color in the same format.\n *\n * Example usage:\n * adjustBrightness('#00FF00', -20); // makes a bright green color darker\n * adjustBrightness('rgb(255, 0, 0)', 10); // makes a red color brighter\n * adjustBrightness('invalidColor', 10); // uses white as fallback and adjusts its brightness\n */\nconst adjustBrightness = (color, amount) => {\n const colorFormat = (0, get_color_format_1.getColorFormat)(color);\n // Use white as fallback if color format is invalid\n const validColor = colorFormat ? color : '#FFFFFF';\n const targetFormat = colorFormat || types_1.ColorFormat.HEX;\n const hslColor = (0, convert_color_1.convertColor)(validColor, types_1.ColorFormat.HSL);\n let [h, s, l] = hslColor.match(/\\d+/g).map(Number);\n l = Math.max(0, Math.min(100, l + amount));\n return (0, convert_color_1.convertColor)(`hsl(${h}, ${s}%, ${l}%)`, targetFormat);\n};\nexports.adjustBrightness = adjustBrightness;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.adjustHue = void 0;\nconst convert_color_1 = require(\"./convert-color\");\nconst get_color_format_1 = require(\"./get-color-format\");\nconst types_1 = require(\"./types\");\n/**\n * Adjusts the hue of a given color by a specified amount.\n *\n * @param {string} color - The color to be adjusted, provided in a format recognized by `getColorFormat`.\n * This could be in formats like HEX, RGB, or named colors, among others.\n * If an invalid color format is provided, white (#FFFFFF) will be used as a fallback.\n * @param {number} amount - The amount to adjust the hue by. This value can be positive (to increase hue)\n * or negative (to decrease hue). The hue value is constrained between 0 and 360 degrees.\n *\n * @returns {string} - The color with adjusted hue, in the same format as the input color.\n * If the input color format was invalid, returns the adjusted white color in the same format.\n *\n * Example usage:\n * adjustHue('#00FF00', 30); // changes the hue of a bright green color.\n * adjustHue('rgb(255, 0, 0)', -45); // changes the hue of a red color.\n * adjustHue('invalidColor', 60); // uses white as fallback and adjusts its hue.\n */\nconst adjustHue = (color, amount) => {\n const colorFormat = (0, get_color_format_1.getColorFormat)(color);\n // Use white as fallback if color format is invalid\n const validColor = colorFormat ? color : '#FFFFFF';\n const targetFormat = colorFormat || types_1.ColorFormat.HEX;\n const hslColor = (0, convert_color_1.convertColor)(validColor, types_1.ColorFormat.HSL);\n let [h, s, l] = hslColor.match(/\\d+/g).map(Number);\n h = (h + amount) % 360;\n if (h < 0)\n h += 360;\n return (0, convert_color_1.convertColor)(`hsl(${h}, ${s}%, ${l}%)`, targetFormat);\n};\nexports.adjustHue = adjustHue;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.adjustSaturation = void 0;\nconst convert_color_1 = require(\"./convert-color\");\nconst get_color_format_1 = require(\"./get-color-format\");\nconst types_1 = require(\"./types\");\n/**\n * Adjusts the saturation of a given color by a specified amount.\n *\n * @param {string} color - The color to be adjusted, provided in a format recognized by `getColorFormat`.\n * This could be in formats like HEX, RGB, or named colors, among others.\n * If an invalid color format is provided, white (#FFFFFF) will be used as a fallback.\n * @param {number} amount - The amount to adjust the saturation by. This value can be positive (to increase saturation)\n * or negative (to decrease saturation). The final saturation value is constrained\n * between 0% (completely desaturated) and 100% (fully saturated).\n *\n * @returns {string} - The color with adjusted saturation, in the same format as the input color.\n * If the input color format was invalid, returns the adjusted white color in the same format.\n *\n * Example usage:\n * adjustSaturation('#00FF00', -20); // decreases the saturation of a bright green color, making it more muted.\n * adjustSaturation('rgb(255, 0, 0)', 20); // increases the saturation of a red color, making it more vivid.\n * adjustSaturation('invalidColor', 10); // uses white as fallback and adjusts its saturation.\n */\nconst adjustSaturation = (color, amount) => {\n const colorFormat = (0, get_color_format_1.getColorFormat)(color);\n // Use white as fallback if color format is invalid\n const validColor = colorFormat ? color : '#FFFFFF';\n const targetFormat = colorFormat || types_1.ColorFormat.HEX;\n const hslColor = (0, convert_color_1.convertColor)(validColor, types_1.ColorFormat.HSL);\n let [h, s, l] = hslColor.match(/\\d+/g).map(Number);\n s = Math.max(0, Math.min(100, s + amount));\n return (0, convert_color_1.convertColor)(`hsl(${h}, ${s}%, ${l}%)`, targetFormat);\n};\nexports.adjustSaturation = adjustSaturation;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.applyGreyscale = void 0;\nconst convert_color_1 = require(\"./convert-color\");\nconst get_color_format_1 = require(\"./get-color-format\");\nconst types_1 = require(\"./types\");\n/**\n * Converts a color to its grayscale equivalent using the luminosity method.\n *\n * @param {string} color - The color in any supported format.\n * If an invalid color format is provided, white (#FFFFFF) will be used as a fallback.\n *\n * @returns {string} The grayscale equivalent of the color represented in the same format as the input.\n * If the input color format was invalid, returns the grayscale version of white in the same format.\n *\n * Example usage:\n * applyGreyscale('#ff6347'); // Returns a grayscale version of the tomato color.\n * applyGreyscale('invalidColor'); // Uses white as fallback and returns its grayscale version.\n */\nconst applyGreyscale = (color) => {\n const colorFormat = (0, get_color_format_1.getColorFormat)(color);\n // Use white as fallback if color format is invalid\n const validColor = colorFormat ? color : '#FFFFFF';\n const targetFormat = colorFormat || types_1.ColorFormat.HEX;\n const rgbColor = (0, convert_color_1.convertColor)(validColor, types_1.ColorFormat.RGB);\n const [r, g, b] = rgbColor.match(/\\d+/g).map(Number);\n const grey = Math.round(0.2126 * r + 0.7152 * g + 0.0722 * b);\n return (0, convert_color_1.convertColor)(`rgb(${grey}, ${grey}, ${grey})`, targetFormat);\n};\nexports.applyGreyscale = applyGreyscale;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.applySepia = void 0;\nconst convert_color_1 = require(\"./convert-color\");\nconst get_color_format_1 = require(\"./get-color-format\");\nconst types_1 = require(\"./types\");\n/**\n * Applies a sepia tone effect to the specified color.\n * The sepia effect is achieved by adjusting the Red, Green, and Blue components\n * of the color according to a set formula that simulates the look of sepia-toned photographs.\n *\n * @param {string} color - The color to which the sepia effect will be applied, specified as a string\n * in a recognized format (e.g., HEX, RGB, named colors).\n * If an invalid color format is provided, white (#FFFFFF) will be used as a fallback.\n *\n * @returns {string} - The sepia-toned color, represented in the same format as the input.\n * If the input color format was invalid, returns the sepia-toned white color in the same format.\n *\n * Example usage:\n * applySepia('#826C34'); // returns a sepia-toned version of the original color.\n * applySepia('invalidColor'); // uses white as fallback and returns its sepia-toned version.\n */\nconst applySepia = (color) => {\n const colorFormat = (0, get_color_format_1.getColorFormat)(color);\n // Use white as fallback if color format is invalid\n const validColor = colorFormat ? color : '#FFFFFF';\n const targetFormat = colorFormat || types_1.ColorFormat.HEX;\n let [r, g, b] = (0, convert_color_1.convertColor)(validColor, types_1.ColorFormat.RGB).match(/\\d+/g).map(Number);\n r = Math.round(Math.min(255, (r * 0.393) + (g * 0.769) + (b * 0.189)));\n g = Math.round(Math.min(255, (r * 0.349) + (g * 0.686) + (b * 0.168)));\n b = Math.round(Math.min(255, (r * 0.272) + (g * 0.534) + (b * 0.131)));\n return (0, convert_color_1.convertColor)(`rgb(${[r, g, b].join(', ')})`, targetFormat);\n};\nexports.applySepia = applySepia;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.blendColors = void 0;\nconst color_1 = require(\"./color\");\nconst convert_color_1 = require(\"./convert-color\");\nconst types_1 = require(\"./types\");\n/**\n * Blends two colors together based on a specified weight, producing a new color.\n * The weight determines the contribution of each color to the resulting blend.\n *\n * @param {Color | string} fromColor - The object of Color class or the starting color string in a recognized color format.\n * If an invalid color format is provided, white (#FFFFFF) will be used as a fallback.\n * @param {Color | string} toColor - The object of Color class or the ending color string in a recognized color format.\n * If an invalid color format is provided, white (#FFFFFF) will be used as a fallback.\n * @param {number} weight - A decimal number between 0 and 1 representing the weight of the `toColor` in the blend.\n * A weight of 0 will result in the `fromColor`, a weight of 1 will result in the `toColor`,\n * and a weight of 0.5 will produce an evenly blended color.\n *\n * @returns {string} - The blended color in the same format as the `fromColor`.\n * If either input color format was invalid, white will be used as fallback for that color.\n *\n * Example usage:\n * blendColors('#FF0000', '#0000FF', 0.5); // returns a color string representing the color halfway between red and blue.\n * blendColors('invalidColor', '#0000FF', 0.5); // uses white as fallback for the first color.\n */\nconst blendColors = (fromColor, toColor, weight) => {\n if (typeof fromColor === 'string') {\n fromColor = new color_1.Color(fromColor);\n }\n if (typeof toColor === 'string') {\n toColor = new color_1.Color(toColor);\n }\n if (weight < 0 || weight > 1) {\n throw new Error('Invalid weight value');\n }\n // Use white as fallback if color format is invalid\n const fromColorFormat = fromColor.format() || types_1.ColorFormat.HEX;\n const fromRGB = fromColor.rgb().match(/\\d+/g).map(Number);\n const toRGB = toColor.rgb().match(/\\d+/g).map(Number);\n const [r, g, b] = [0, 1, 2].map((i) => Math.round(fromRGB[i] * (1 - weight) + toRGB[i] * weight));\n return (0, convert_color_1.convertColor)(`rgb(${[r, g, b].join(', ')})`, fromColorFormat);\n};\nexports.blendColors = blendColors;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.blendMultipleColors = void 0;\nconst color_1 = require(\"./color\");\nconst convert_color_1 = require(\"./convert-color\");\nconst types_1 = require(\"./types\");\n/**\n * Blends multiple colors together based on their specified weights, producing a new color.\n * Each color's weight determines its contribution to the resulting blend.\n *\n * @param {ColorWeight[]} colorWeights - An array of objects, each containing a `color` which is the object of Color class or string in a recognized color format and a `weight` number.\n * The weights determine the contribution of each color to the final blend.\n *\n * @returns {string} - The blended color in the same format as the first color in the array.\n *\n * @throws {Error} - Throws an error if any color is in an invalid format or if weights are invalid.\n *\n * Example usage:\n * blendMultipleColors([{ color: '#FF0000', weight: 1 }, { color: '#0000FF', weight: 2 }]); // returns a color string blended from red and blue with blue having twice the weight.\n */\nconst blendMultipleColors = (colorWeights) => {\n if (colorWeights.length === 0) {\n throw new Error('The array of color weights must not be empty.');\n }\n let colors = colorWeights\n .map(({ color, weight }) => ({ color: typeof color === 'string' ? new color_1.Color(color) : color, weight }));\n // Use white as fallback if the first color format is invalid\n const firstColorFormat = colors[0].color.format() || types_1.ColorFormat.HEX;\n const totalWeight = colors.reduce((sum, cw) => sum + cw.weight, 0);\n if (totalWeight <= 0) {\n throw new Error('Total weight must be greater than zero.');\n }\n const blendedRGB = [0, 0, 0];\n colors.forEach(({ color, weight }) => {\n const rgb = color.rgb().match(/\\d+/g).map(Number);\n const normalizedWeight = weight / totalWeight;\n [0, 1, 2].forEach((i) => {\n blendedRGB[i] += rgb[i] * normalizedWeight;\n });\n });\n const [r, g, b] = blendedRGB.map(Math.round);\n return (0, convert_color_1.convertColor)(`rgb(${[r, g, b].join(', ')})`, firstColorFormat);\n};\nexports.blendMultipleColors = blendMultipleColors;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.calculateContrast = void 0;\nconst color_1 = require(\"./color\");\n/**\n * Calculates the contrast ratio between two colors.\n *\n * @param {Color | string} color1 - The object of Color class or the first color string in a recognized color format.\n * @param {Color | string} color2 - The object of Color class or the second color string in a recognized color format.\n *\n * @returns {number} The contrast ratio between the two colors.\n *\n * Example usage:\n * calculateContrast('#ffffff', '#000000'); // Returns 21 (maximum contrast)\n */\nconst calculateContrast = (color1, color2) => {\n if (typeof color1 === 'string') {\n color1 = new color_1.Color(color1);\n }\n if (typeof color2 === 'string') {\n color2 = new color_1.Color(color2);\n }\n const luminance1 = color1.luminance();\n const luminance2 = color2.luminance();\n const l1 = Math.max(luminance1, luminance2);\n const l2 = Math.min(luminance1, luminance2);\n return (l1 + 0.05) / (l2 + 0.05);\n};\nexports.calculateContrast = calculateContrast;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.calculateSimilarity = void 0;\nconst color_1 = require(\"./color\");\nconst types_1 = require(\"./types\");\n/**\n * Calculates the similarity between two colors using the Euclidean distance in RGB color space.\n *\n * @param {Color | string} color1 - The first color for comparison. Can be a color string or a Color instance.\n * @param {Color | string} color2 - The second color for comparison. Can be a color string or a Color instance.\n *\n * @returns {number} - A similarity percentage where 100% means identical colors and 0% means completely different colors.\n *\n * Example usage:\n * calculateSimilarity('#ff0000', '#00ff00'); // Returns similarity between red and green\n * calculateSimilarity(new Color('#ff0000'), new Color('#00ff00')); // Same as above using Color instances\n */\nconst calculateSimilarity = (color1, color2) => {\n color1 = typeof color1 === 'string' ? new color_1.Color(color1) : color1;\n color2 = typeof color2 === 'string' ? new color_1.Color(color2) : color2;\n const { r: r1, g: g1, b: b1 } = color1.parseNumbers(types_1.ColorFormat.RGB);\n const { r: r2, g: g2, b: b2 } = color2.parseNumbers(types_1.ColorFormat.RGB);\n const difference = Math.sqrt((r1 - r2) ** 2 + (g1 - g2) ** 2 + (b1 - b2) ** 2);\n const maxDifference = Math.sqrt(3 * 255 ** 2);\n return 100 - (difference / maxDifference) * 100;\n};\nexports.calculateSimilarity = calculateSimilarity;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.changeOpacity = void 0;\nconst convert_color_1 = require(\"./convert-color\");\nconst get_color_format_1 = require(\"./get-color-format\");\nconst types_1 = require(\"./types\");\n/**\n * Changes the opacity of a specified color to a new value.\n *\n * @param {string} color - The color whose opacity will be changed, specified as a string\n * in a recognized format (e.g., HEX, RGB, HSL, named colors).\n * If an invalid color format is provided, white (#FFFFFF) will be used as a fallback.\n * @param {number} opacity - The new opacity level for the color, a number between 0 and 1.\n * 0 represents full transparency, and 1 represents full opacity.\n *\n * @returns {string} - The color with adjusted opacity, in the same format as the input.\n * If the input color format was invalid, returns the white color with adjusted opacity in the same format.\n *\n * Example usage:\n * changeOpacity('#ff0000', 0.5); // Returns a half-transparent red color in HEX format.\n * changeOpacity('rgba(255, 0, 0, 0.8)', 0.3); // Adjusts an RGBA red color to 30% opacity.\n * changeOpacity('invalidColor', 0.7); // Uses white as fallback and returns it with 70% opacity.\n */\nconst changeOpacity = (color, opacity) => {\n const colorFormat = (0, get_color_format_1.getColorFormat)(color);\n // Use white as fallback if color format is invalid\n const validColor = colorFormat ? color : '#FFFFFF';\n const targetFormat = colorFormat || types_1.ColorFormat.HEX;\n let [r, g, b, a] = (0, convert_color_1.convertColor)(validColor, types_1.ColorFormat.RGBA).match(/\\d+(\\.\\d+)?/g).map(Number);\n a = Math.max(0, Math.min(1, opacity));\n return (0, convert_color_1.convertColor)(`rgba(${[r, g, b, a].join(', ')})`, targetFormat);\n};\nexports.changeOpacity = changeOpacity;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.Color = void 0;\nconst adjust_brightness_1 = require(\"./adjust-brightness\");\nconst adjust_saturation_1 = require(\"./adjust-saturation\");\nconst apply_greyscale_1 = require(\"./apply-greyscale\");\nconst apply_sepia_1 = require(\"./apply-sepia\");\nconst change_opacity_1 = require(\"./change-opacity\");\nconst convert_color_1 = require(\"./convert-color\");\nconst extract_opacity_1 = require(\"./extract-opacity\");\nconst get_color_format_1 = require(\"./get-color-format\");\nconst get_luminance_1 = require(\"./get-luminance\");\nconst invert_color_1 = require(\"./invert-color\");\nconst is_dark_1 = require(\"./is-dark\");\nconst is_light_1 = require(\"./is-light\");\nconst parse_color_numbers_1 = require(\"./parse-color-numbers\");\nconst shade_1 = require(\"./shade\");\nconst tint_1 = require(\"./tint\");\nconst types_1 = require(\"./types\");\n/**\n * The Color class provides a robust set of methods for color manipulation and conversion.\n * It supports various color formats and offers functionalities to adjust color properties like\n * brightness, saturation, opacity, and to apply effects like sepia and grayscale.\n */\nclass Color {\n /**\n * Creates an instance of the Color class.\n * @param {string} initialColor - The initial color value in any supported format.\n */\n constructor(initialColor) {\n // Holds the current color value as a string\n this.currentColor = '';\n // Holds the current color format as a string\n this.currentFormat = '';\n this.set(initialColor);\n }\n /**\n * Sets the current color and format if the color is valid.\n * @param {string} color - The color value to be set.\n */\n set(color) {\n const format = (0, get_color_format_1.getColorFormat)(color);\n if (format) {\n this.currentColor = color;\n this.currentFormat = format;\n }\n else {\n this.currentColor = '';\n this.currentFormat = '';\n }\n }\n /**\n * Returns the current color value.\n * @returns {string} The current color value.\n */\n get() {\n return this.currentColor;\n }\n /**\n * Returns the current color format.\n * @returns {string} The current color format.\n */\n format() {\n return this.currentFormat;\n }\n /**\n * Converts the current color to HEX format.\n * @param {ColorFormat} format - The format to convert.\n * @returns {string} The color in converted format.\n */\n convert(format) {\n return (0, convert_color_1.convertColor)(this.currentColor, format);\n }\n /**\n * Converts the current color to HEX format.\n * @returns {string} The color in HEX format.\n */\n hex() {\n return (0, convert_color_1.convertColor)(this.currentColor, types_1.ColorFormat.HEX);\n }\n /**\n * Converts the current color to HEXA format (HEX with alpha).\n * @returns {string} The color in HEXA format.\n */\n hexa() {\n return (0, convert_color_1.convertColor)(this.currentColor, types_1.ColorFormat.HEXA);\n }\n /**\n * Converts the current color to RGB format.\n * @returns {string} The color in RGB format.\n */\n rgb() {\n return (0, convert_color_1.convertColor)(this.currentColor, types_1.ColorFormat.RGB);\n }\n /**\n * Converts the current color to RGBA format (RGB with alpha).\n * @returns {string} The color in RGBA format.\n */\n rgba() {\n return (0, convert_color_1.convertColor)(this.currentColor, types_1.ColorFormat.RGBA);\n }\n /**\n * Converts the current color to HSL format.\n * @returns {string} The color in HSL format.\n */\n hsl() {\n return (0, convert_color_1.convertColor)(this.currentColor, types_1.ColorFormat.HSL);\n }\n /**\n * Converts the current color to HSLA format (HSL with alpha).\n * @returns {string} The color in HSLA format.\n */\n hsla() {\n return (0, convert_color_1.convertColor)(this.currentColor, types_1.ColorFormat.HSLA);\n }\n /**\n * Converts the current color to HSV format.\n * @returns {string} The color in HSV format.\n */\n hsv() {\n return (0, convert_color_1.convertColor)(this.currentColor, types_1.ColorFormat.HSV);\n }\n /**\n * Converts the current color to CMYK format.\n * @returns {string} The color in CMYK format.\n */\n cmyk() {\n return (0, convert_color_1.convertColor)(this.currentColor, types_1.ColorFormat.CMYK);\n }\n /**\n * Extracts the opacity value from the current color.\n * @returns {{ opacity: number; color: string }} The opacity value and the base color.\n */\n extractOpacity() {\n return (0, extract_opacity_1.extractOpacity)(this.currentColor);\n }\n /**\n * Parses the color components into numeric values.\n * @param {ColorFormat.RGB | ColorFormat.RGBA | ColorFormat.HSL | ColorFormat.HSLA} format - The format to parse.\n * @returns {RGB | RGBA | HSL | HSLA} The parsed numeric components of the color.\n */\n parseNumbers(format) {\n return (0, parse_color_numbers_1.parseColorNumbers)(this.currentColor, format);\n }\n /**\n * Calculates the luminance of the current color.\n * @returns {number} The luminance value.\n */\n luminance() {\n return (0, get_luminance_1.getLuminance)(this.currentColor);\n }\n /**\n * Determines if the current color is light.\n * @returns {boolean} True if the color is considered light, false otherwise.\n */\n isLight() {\n return (0, is_light_1.isLight)(this.currentColor);\n }\n /**\n * Determines if the current color is dark.\n * @returns {boolean} True if the color is considered dark, false otherwise.\n */\n isDark() {\n return (0, is_dark_1.isDark)(this.currentColor);\n }\n /**\n * Adjusts the brightness of the current color by the specified amount.\n * @param {number} amount - The amount to adjust the brightness by.\n * @returns {string} The updated color.\n */\n applyBrightness(amount) {\n this.currentColor = (0, adjust_brightness_1.adjustBrightness)(this.currentColor, amount);\n return this.currentColor;\n }\n /**\n * Returns a new color with the brightness adjusted by the specified amount without changing the current color.\n * @param {number} amount - The amount to adjust the brightness by.\n * @returns {string} The color with adjusted brightness.\n */\n withBrightness(amount) {\n return (0, adjust_brightness_1.adjustBrightness)(this.currentColor, amount);\n }\n /**\n * Adjusts the saturation of the current color by the specified amount.\n * @param {number} amount - The amount to adjust the saturation by.\n * @returns {string} The updated color.\n */\n applySaturation(amount) {\n this.currentColor = (0, adjust_saturation_1.adjustSaturation)(this.currentColor, amount);\n return this.currentColor;\n }\n /**\n * Returns a new color with the saturation adjusted by the specified amount without changing the current color.\n * @param {number} amount - The amount to adjust the saturation by.\n * @returns {string} The color with adjusted saturation.\n */\n withSaturation(amount) {\n return (0, adjust_saturation_1.adjustSaturation)(this.currentColor, amount);\n }\n /**\n * Applies a grayscale effect to the current color and updates it.\n * @returns {string} The updated color.\n */\n applyGrayscale() {\n this.currentColor = (0, apply_greyscale_1.applyGreyscale)(this.currentColor);\n return this.currentColor;\n }\n /**\n * Returns a new color with a grayscale effect without changing the current color.\n * @returns {string} The color with a grayscale effect.\n */\n withGrayscale() {\n return (0, apply_greyscale_1.applyGreyscale)(this.currentColor);\n }\n /**\n * Applies a sepia effect to the current color and updates it.\n * @returns {string} The updated color.\n */\n applySepia() {\n this.currentColor = (0, apply_sepia_1.applySepia)(this.currentColor);\n return this.currentColor;\n }\n /**\n * Returns a new color with a sepia effect without changing the current color.\n * @returns {string} The color with a sepia effect.\n */\n withSepia() {\n return (0, apply_sepia_1.applySepia)(this.currentColor);\n }\n /**\n * Adjusts the opacity of the current color by the specified amount.\n * @param {number} opacity - The new opacity level.\n * @returns {string} The updated color.\n */\n applyOpacity(opacity) {\n this.currentColor = (0, change_opacity_1.changeOpacity)(this.currentColor, opacity);\n return this.currentColor;\n }\n /**\n * Returns a new color with the specified opacity without changing the current color.\n * @param {number} opacity - The new opacity level.\n * @returns {string} The color with adjusted opacity.\n */\n withOpacity(opacity) {\n return (0, change_opacity_1.changeOpacity)(this.currentColor, opacity);\n }\n /**\n * Inverts the current color and updates it.\n * @returns {string} The updated color.\n */\n applyInvert() {\n this.currentColor = (0, invert_color_1.invertColor)(this.currentColor);\n return this.currentColor;\n }\n /**\n * Returns a new color that is the inverse of the current color without changing the current color.\n * @returns {string} The inverted color.\n */\n withInvert() {\n return (0, invert_color_1.invertColor)(this.currentColor);\n }\n /**\n * Applies a shading effect to the current color by the specified percentage and updates it.\n * @param {number} percentage - The percentage to shade the color by.\n * @returns {string} The updated color.\n */\n applyShade(percentage) {\n this.currentColor = (0, shade_1.shade)(this.currentColor, percentage);\n return this.currentColor;\n }\n /**\n * Returns a new color that is shaded by the specified percentage without changing the current color.\n * @param {number} percentage - The percentage to shade the color by.\n * @returns {string} The shaded color.\n */\n withShade(percentage) {\n return (0, shade_1.shade)(this.currentColor, percentage);\n }\n /**\n * Applies a tinting effect to the current color by the specified percentage and updates it.\n * @param {number} percentage - The percentage to tint the color by.\n * @returns {string} The updated color.\n */\n applyTint(percentage) {\n this.currentColor = (0, tint_1.tint)(this.currentColor, percentage);\n return this.currentColor;\n }\n /**\n * Returns a new color that is tinted by the specified percentage without changing the current color.\n * @param {number} percentage - The percentage to tint the color by.\n * @returns {string} The tinted color.\n */\n withTint(percentage) {\n return (0, tint_1.tint)(this.currentColor, percentage);\n }\n}\nexports.Color = Color;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.convertColor = void 0;\nconst get_color_format_1 = require(\"./get-color-format\");\nconst convert_utils_1 = require(\"./utils/convert-utils\");\nconst types_1 = require(\"./types\");\n/**\n * Converts a color from its current format to a specified target format.\n * The conversion process involves determining the color's current format.\n *\n * @param {string} color - The color to be converted, represented as a string.\n * This color should be in a recognized color format (HEX(A), RGB(A), HSL(A), HSV, CMYK).\n * If an invalid color format is provided, white (#FFFFFF) will be used as a fallback.\n * @param {ColorFormat} toFormat - The target format to which the color should be converted.\n * This should be one of the predefined formats in the ColorFormat enumeration.\n *\n * @returns {string} - The converted color in the target format.\n * If the input color format was invalid, returns white in the target format.\n *\n * Example usage:\n * convertColor(\"#FF5733\", ColorFormat.RGB); // returns 'rgb(255, 87, 51)'\n * convertColor(\"invalidColor\", ColorFormat.HEX); // returns '#FFFFFF'\n */\nconst convertColor = (color, toFormat) => {\n const fromFormat = (0, get_color_format_1.getColorFormat)(color);\n // Use white as fallback if color format is invalid\n const validColor = fromFormat ? color : '#FFFFFF';\n const validFromFormat = fromFormat || types_1.ColorFormat.HEX;\n if (validFromFormat === toFormat) {\n return validColor;\n }\n const convertToBase = {\n [types_1.ColorFormat.HEX]: convert_utils_1.hexToRGBA,\n [types_1.ColorFormat.HEXA]: convert_utils_1.hexaToRGBA,\n [types_1.ColorFormat.RGB]: convert_utils_1.rgbToRGBA,\n [types_1.ColorFormat.HSL]: convert_utils_1.hslToRGBA,\n [types_1.ColorFormat.HSLA]: convert_utils_1.hslaToRGBA,\n [types_1.ColorFormat.CMYK]: convert_utils_1.cmykToRGBA,\n [types_1.ColorFormat.HSV]: convert_utils_1.hsvToRGBA,\n };\n const convertFromBase = {\n [types_1.ColorFormat.HEX]: convert_utils_1.rgbaToHex,\n [types_1.ColorFormat.HEXA]: convert_utils_1.rgbaToHexa,\n [types_1.ColorFormat.RGB]: convert_utils_1.rgbaToRGB,\n [types_1.ColorFormat.HSL]: convert_utils_1.rgbaToHSL,\n [types_1.ColorFormat.HSLA]: convert_utils_1.rgbaToHSLA,\n [types_1.ColorFormat.CMYK]: convert_utils_1.rgbaToCMYK,\n [types_1.ColorFormat.HSV]: convert_utils_1.rgbaToHSV,\n };\n const baseColor = validFromFormat === types_1.BaseColorFormat ? validColor : convertToBase[validFromFormat](validColor);\n const outputColor = toFormat === types_1.BaseColorFormat ? baseColor : convertFromBase[toFormat](baseColor);\n return outputColor;\n};\nexports.convertColor = convertColor;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.extractOpacity = void 0;\nconst get_color_format_1 = require(\"./get-color-format\");\nconst types_1 = require(\"./types\");\n/**\n * Extracts the color and opacity from a given color string.\n * If the color format does not include an alpha channel, the opacity is returned as 1.\n * Supports HEXA, RGBA, and HSLA color formats.\n *\n * @param {string} color - The color string to extract opacity from.\n * If an invalid color format is provided, white (#FFFFFF) will be used as a fallback.\n *\n * @returns {{ color: string, opacity: number }} An object containing the color without opacity and the opacity value.\n * If the input color format was invalid, returns white with opacity 1.\n *\n * Example usage:\n * extractOpacity('#ff000080'); // Returns { color: \"#ff0000\", opacity: 0.5 }.\n * extractOpacity('invalidColor'); // Returns { color: \"#FFFFFF\", opacity: 1 }.\n */\nconst extractOpacity = (color) => {\n const colorFormat = (0, get_color_format_1.getColorFormat)(color);\n let opacity = 1;\n // Use white as fallback if color format is invalid\n if (!colorFormat) {\n return { color: '#FFFFFF', opacity: 1 };\n }\n switch (colorFormat) {\n case types_1.ColorFormat.HEXA:\n opacity = parseInt(color.slice(-2), 16) / 255;\n color = color.slice(0, -2);\n break;\n case types_1.ColorFormat.RGBA:\n [, , , opacity] = color.match(/\\d+(\\.\\d+)?/g).map(Number);\n color = `rgb(${color.match(/\\d+/g).slice(0, 3).join(', ')})`;\n break;\n case types_1.ColorFormat.HSLA:\n [, , , opacity] = color.match(/\\d+(\\.\\d+)?/g).map(Number);\n color = `hsl(${color.match(/\\d+/g).slice(0, 3).join(', ')})`;\n break;\n }\n return { color, opacity };\n};\nexports.extractOpacity = extractOpacity;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.generateMultiSteppedGradient = void 0;\nconst color_1 = require(\"./color\");\nconst generate_stepped_gradient_1 = require(\"./generate-stepped-gradient\");\n/**\n * Generates a complex stepped color gradient between multiple colors.\n * This function creates a series of intermediate colors forming a gradient\n * between each pair of colors in the argument list, with specified steps between each pair.\n *\n * @param args - A list of colors and steps where each color (except the last one) is followed by a number\n * indicating the steps to the next color. For example, the call might look like:\n * generateMultiSteppedGradient(\"#ff0000\", 3, \"#ffff00\", 4, \"#0000ff\").\n *\n * @returns An array of color strings representing the complex gradient including all intermediate colors.\n * The format of each color in the array is the same as the format of the first color in the input list.\n *\n * @throws Will throw an error if the arguments don't follow the pattern [color, steps, color, ..., color].\n *\n * Example usage:\n * generateMultiSteppedGradient(\"#ff0000\", 3, \"#ffff00\", 4, \"#0000ff\");\n * // Returns an array including \"#ff0000\", three intermediate colors to \"#ffff00\",\n * // \"#ffff00\" itself, four intermediate colors to \"#0000ff\", and \"#0000ff\".\n */\nconst generateMultiSteppedGradient = (...args) => {\n if (args.length < 3 || args.length % 2 === 0) {\n throw new Error('Function must be called with at least one color and one step count, in an interleaved manner.');\n }\n let gradientColors = [];\n for (let i = 0; i < args.length - 2; i += 2) {\n const fromColor = typeof args[i] === 'string' ? new color_1.Color(args[i]) : args[i];\n const steps = args[i + 1];\n const toColor = typeof args[i + 2] === 'string' ? new color_1.Color(args[i + 2]) : args[i + 2];\n if (typeof steps !== 'number') {\n throw new Error('Arguments must follow the pattern [color, steps, color, ..., color].');\n }\n const gradientSegment = (0, generate_stepped_gradient_1.generateSteppedGradient)(fromColor, toColor, steps);\n if (i === 0) {\n gradientColors.push(fromColor.get());\n }\n gradientColors.push(...gradientSegment);\n gradientColors.push(toColor.get());\n }\n return gradientColors;\n};\nexports.generateMultiSteppedGradient = generateMultiSteppedGradient;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.generateSteppedGradient = void 0;\nconst color_1 = require(\"./color\");\nconst convert_color_1 = require(\"./convert-color\");\nconst types_1 = require(\"./types\");\n/**\n * Generates a stepped color gradient between two colors.\n * This function creates a series of intermediate colors that form a gradient\n * from a starting color to an ending color, with the number of steps.\n *\n * @param {Color | string} fromColor - The color string representing the start color of the gradient.\n * This color should be the object of Color class or a string in format recognized by the `getColorFormat` and `convertColor` functions.\n * If an invalid color format is provided, white (#FFFFFF) will be used as a fallback.\n * @param {Color | string} toColor - The color string representing the end color of the gradient.\n * his color should be the object of Color class or a string in format recognized by the `getColorFormat` and `convertColor` functions.\n * If an invalid color format is provided, white (#FFFFFF) will be used as a fallback.\n * @param {number} count - The number of intermediate colors to generate in the gradient.\n * The total number of colors in the returned array will be equal to this count.\n *\n * @returns {string[]} An array of color strings representing the stepped gradient from the starting color to the ending color.\n * Each color in the array is converted back to the format of the `fromColor`.\n * If either input color format was invalid, white will be used as fallback for that color.\n *\n * Example usage:\n * generateSteppedGradient('#FF0000', '#00FF00', 5); // returns an array of 5 intermediate colors in hexadecimal format between red and green.\n * generateSteppedGradient('invalidColor', '#00FF00', 3); // uses white as fallback for the first color.\n */\nconst generateSteppedGradient = (fromColor, toColor, count) => {\n if (typeof fromColor === 'string') {\n fromColor = new color_1.Color(fromColor);\n }\n if (typeof toColor === 'string') {\n toColor = new color_1.Color(toColor);\n }\n // Use white as fallback if color format is invalid\n const fromColorFormat = fromColor.format() || types_1.ColorFormat.HEX;\n const fromRGBA = fromColor.rgba().match(/\\d+(\\.\\d+)?/g).map(Number);\n const toRGBA = toColor.rgba().match(/\\d+(\\.\\d+)?/g).map(Number);\n const step = 1 / (count + 1);\n let intermediateColors = [];\n for (let i = 1; i <= count; i++) {\n const interpolatedColor = fromRGBA.map((start, index) => {\n const end = toRGBA[index];\n return index !== 3\n ? Math.round(start + (end - start) * step * i)\n : (start + (end - start) * step * i).toFixed(2);\n });\n intermediateColors.push((0, convert_color_1.convertColor)(`rgba(${interpolatedColor.join(', ')})`, fromColorFormat));\n }\n return intermediateColors;\n};\nexports.generateSteppedGradient = generateSteppedGradient;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getColorFormat = void 0;\nconst is_valid_color_1 = require(\"./is-valid-color\");\nconst types_1 = require(\"./types\");\n/**\n * Identifies the format of a given color string from among several supported color models.\n * Utilizes a series of specific validators for different color formats, including HEX, HEXA,\n * RGB, RGBA, HSL, HSLA, HSV, and CMYK. This approach allows for accurately determining the\n * color model of the input string, facilitating format-specific processing or conversions.\n *\n * @param {string} color - The color string to be identified.\n *\n * @returns {ColorFormat | null} - The identified color format as a `ColorFormat` enum value,\n * or `null` if the format does not match any of the supported types.\n *\n * Example usage:\n * getColorFormat('#FF5733'); // returns 'HEX'\n * getColorFormat('rgb(255, 99, 71)'); // returns 'RGB'\n * getColorFormat('invalidColor'); // returns null, as the format is not recognized\n */\nconst getColorFormat = (color) => {\n const validators = {\n [types_1.ColorFormat.HEX]: is_valid_color_1.isValidHEXColor,\n [types_1.ColorFormat.HEXA]: is_valid_color_1.isValidHEXAColor,\n [types_1.ColorFormat.RGB]: is_valid_color_1.isValidRGBColor,\n [types_1.ColorFormat.RGBA]: is_valid_color_1.isValidRGBAColor,\n [types_1.ColorFormat.HSL]: is_valid_color_1.isValidHSLColor,\n [types_1.ColorFormat.HSLA]: is_valid_color_1.isValidHSLAColor,\n [types_1.ColorFormat.HSV]: is_valid_color_1.isValidHSVColor,\n [types_1.ColorFormat.CMYK]: is_valid_color_1.isValidCMYKColor,\n };\n for (const [type, validator] of Object.entries(validators)) {\n if (validator(color)) {\n return type;\n }\n }\n return null;\n};\nexports.getColorFormat = getColorFormat;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getLuminance = void 0;\nconst convert_color_1 = require(\"./convert-color\");\nconst types_1 = require(\"./types\");\n/**\n * Calculates the luminance of a given color.\n *\n * @param {string} color - The color in any supported format.\n *\n * @returns {number} The luminance of the color, a value between 0 and 1.\n *\n * Example usage:\n * getLuminance('#ff0000'); // Returns the luminance of red.\n */\nconst getLuminance = (color) => {\n const rgbColor = (0, convert_color_1.convertColor)(color, types_1.ColorFormat.RGB);\n const [r, g, b] = rgbColor.match(/\\d+/g).map(Number).map((v) => {\n v /= 255;\n return v <= 0.03928 ? v / 12.92 : Math.pow((v + 0.055) / 1.055, 2.4);\n });\n return 0.2126 * r + 0.7152 * g + 0.0722 * b;\n};\nexports.getLuminance = getLuminance;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getTemperature = void 0;\nconst convert_color_1 = require(\"./convert-color\");\nconst get_color_format_1 = require(\"./get-color-format\");\nconst types_1 = require(\"./types\");\n/**\n * Converts a color string into an estimated correlated color temperature (CCT) value expressed in Kelvin.\n * The result is clamped to the range 1000K–10000K, which covers most practical lighting conditions from candlelight to blue daylight.\n *\n * @param {string} color - The color in any supported format (HEX, RGB, RGBA, HSL, HSLA, HSV, CMYK).\n * Examples: \"#FF4500\", \"rgb(255, 69, 0)\", \"hsl(16, 100%, 50%)\"\n *\n * @returns {number} Estimated color temperature in Kelvin (integer or float).\n * Always in the range 1000 ≤ CCT ≤ 10000.\n *\n * @example\n * getTemperature(\"#FF4500\"); // ~2000 (warm orange, firelight)\n * getTemperature(\"rgb(255, 215, 0)\"); // ~3000 (warm white, incandescent)\n * getTemperature(\"hsl(0, 0%, 100%)\"); // ~5500 (neutral daylight)\n * getTemperature(\"#ADD8E6\"); // ~9000 (blue sky light)\n */\nconst getTemperature = (color) => {\n const colorFormat = (0, get_color_format_1.getColorFormat)(color);\n // Use white as fallback if color format is invalid\n const validColor = colorFormat ? color : '#FFFFFF';\n // Convert to RGB format to extract RGB values\n const rgbColor = (0, convert_color_1.convertColor)(validColor, types_1.ColorFormat.RGB);\n // Parse RGB values and normalize to 0–1 range\n const [r, g, b] = rgbColor.match(/\\d+/g).map(Number).map(v => v / 255);\n // Apply gamma correction to convert sRGB → linear RGB\n const linearR = r <= 0.04045 ? r / 12.92 : Math.pow((r + 0.055) / 1.055, 2.4);\n const linearG = g <= 0.04045 ? g / 12.92 : Math.pow((g + 0.055) / 1.055, 2.4);\n const linearB = b <= 0.04045 ? b / 12.92 : Math.pow((b + 0.055) / 1.055, 2.4);\n // Convert linear RGB to XYZ color space using sRGB D65 white point\n // sRGB to XYZ transformation matrix (D65 white point)\n const x = linearR * 0.4124 + linearG * 0.3576 + linearB * 0.1805;\n const y = linearR * 0.2126 + linearG * 0.7152 + linearB * 0.0722;\n const z = linearR * 0.0193 + linearG * 0.1192 + linearB * 0.9505;\n // Compute chromaticity coordinates (x, y)\n const sum = x + y + z;\n if (sum === 0) {\n // Handle pure black or very dark colors\n return 6500; // Default to neutral daylight\n }\n const chromaticityX = x / sum;\n const chromaticityY = y / sum;\n // Apply McCamy's formula to approximate CCT\n // McCamy's formula: CCT = 449 * n^3 + 3525 * n^2 + 6823.3 * n + 5520.33\n // where n = (x - 0.3320) / (0.1858 - y)\n const n = (chromaticityX - 0.3320) / (0.1858 - chromaticityY);\n if (isNaN(n) || !isFinite(n)) {\n // Handle edge cases where the formula breaks down\n return 6500; // Default to neutral daylight\n }\n const cct = 449 * Math.pow(n, 3) + 3525 * Math.pow(n, 2) + 6823.3 * n + 5520.33;\n // Clamp the result to the valid range: 1000K–10000K\n return Math.max(1000, Math.min(10000, cct));\n};\nexports.getTemperature = getTemperature;\n","\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __exportStar = (this && this.__exportStar) || function(m, exports) {\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__exportStar(require(\"./adjust-brightness\"), exports);\n__exportStar(require(\"./adjust-hue\"), exports);\n__exportStar(require(\"./adjust-saturation\"), exports);\n__exportStar(require(\"./apply-greyscale\"), exports);\n__exportStar(require(\"./apply-sepia\"), exports);\n__exportStar(require(\"./blend-colors\"), exports);\n__exportStar(require(\"./blend-multiple-colors\"), exports);\n__exportStar(require(\"./calculate-contrast\"), exports);\n__exportStar(require(\"./calculate-similarity\"), exports);\n__exportStar(require(\"./change-opacity\"), exports);\n__exportStar(require(\"./color\"), exports);\n__exportStar(require(\"./convert-color\"), exports);\n__exportStar(require(\"./extract-opacity\"), exports);\n__exportStar(require(\"./generate-multi-stepped-gradient\"), exports);\n__exportStar(require(\"./generate-stepped-gradient\"), exports);\n__exportStar(require(\"./get-color-format\"), exports);\n__exportStar(require(\"./get-luminance\"), exports);\n__exportStar(require(\"./get-temperature\"), exports);\n__exportStar(require(\"./invert-color\"), exports);\n__exportStar(require(\"./is-dark\"), exports);\n__exportStar(require(\"./is-light\"), exports);\n__exportStar(require(\"./is-valid-color\"), exports);\n__exportStar(require(\"./opposite-color\"), exports);\n__exportStar(require(\"./parse-color-numbers\"), exports);\n__exportStar(require(\"./random-color\"), exports);\n__exportStar(require(\"./shade\"), exports);\n__exportStar(require(\"./tint\"), exports);\n__exportStar(require(\"./types\"), exports);\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.invertColor = void 0;\nconst convert_color_1 = require(\"./convert-color\");\nconst get_color_format_1 = require(\"./get-color-format\");\nconst types_1 = require(\"./types\");\n/**\n * Inverts the given color, producing its opposite in the color spectrum.\n *\n * @param {string} color - The color to be inverted, specified as a string in a recognized format.\n * This could be a hexadecimal code, RGB(A) notation, or any other format supported by `getColorFormat`.\n * If an invalid color format is provided, white (#FFFFFF) will be used as a fallback.\n *\n * @returns {string} - The inverted color, represented in the same format as the input.\n * If the input color format was invalid, returns the inverted white color in the same format.\n *\n * Example usage:\n * invertColor('#FFFFFF'); // returns '#000000', inverting white to black.\n * invertColor('rgb(255, 0, 0)'); // returns 'rgb(0, 255, 255)', inverting red to cyan.\n * invertColor('invalidColor'); // uses white as fallback and returns '#000000'.\n */\nconst invertColor = (color) => {\n const colorFormat = (0, get_color_format_1.getColorFormat)(color);\n // Use white as fallback if color format is invalid\n const validColor = colorFormat ? color : '#FFFFFF';\n const targetFormat = colorFormat || types_1.ColorFormat.HEX;\n let [r, g, b] = (0, convert_color_1.convertColor)(validColor, types_1.ColorFormat.RGB).match(/\\d+/g).map(Number);\n r = 255 - r;\n g = 255 - g;\n b = 255 - b;\n return (0, convert_color_1.convertColor)(`rgb(${[r, g, b].join(', ')})`, targetFormat);\n};\nexports.invertColor = invertColor;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.isDark = void 0;\nconst get_luminance_1 = require(\"./get-luminance\");\n/**\n * Determines if a given color is considered dark.\n *\n * @param {string} color - The color in any supported format.\n *\n * @returns {boolean} True if the color is dark, false otherwise.\n *\n * Example usage:\n * isDark('#ff0000'); // Returns true as red is considered a dark color.\n */\nconst isDark = (color) => {\n return (0, get_luminance_1.getLuminance)(color) <= 0.5;\n};\nexports.isDark = isDark;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.isLight = void 0;\nconst get_luminance_1 = require(\"./get-luminance\");\n/**\n * Determines if a given color is considered light.\n *\n * @param {string} color - The color in any supported format.\n *\n * @returns {boolean} True if the color is light, false otherwise.\n *\n * Example usage:\n * isLight('#ff0000'); // Returns false as red is not considered a light color.\n */\nconst isLight = (color) => {\n return (0, get_luminance_1.getLuminance)(color) > 0.5;\n};\nexports.isLight = isLight;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.isValidCMYKColor = exports.isValidHSVColor = exports.isValidHSLAColor = exports.isValidHSLColor = exports.isValidRGBAColor = exports.isValidRGBColor = exports.isValidHEXAColor = exports.isValidHEXColor = exports.isValidColor = void 0;\n/**\n * Determines whether a given string is a valid HEX color.\n * A valid HEX color must start with a '#' followed by exactly\n * three or six hexadecimal characters (0-9, a-f, or A-F).\n *\n * @param {string} color - The color string to be validated.\n *\n * @returns {boolean} - True if the string is a valid HEX color, false otherwise.\n *\n * Example usage:\n * isValidHEXAColor('#FFF'); // returns true\n * isValidHEXAColor('#FFFFFF'); // returns true\n * isValidHEXAColor('#123ABC'); // returns true\n * isValidHEXAColor('#GGG'); // returns false, contains incorrect characters\n * isValidHEXAColor('123456'); // returns false, missing starting #\n * isValidHEXAColor('#12345'); // returns false, invalid length\n */\nconst isValidHEXColor = (color) => {\n const regex = /^#(?:[0-9a-fA-F]{3}){1,2}$/;\n return regex.test(color);\n};\nexports.isValidHEXColor = isValidHEXColor;\n/**\n * Determines whether a given string is a valid HEXA color code.\n * HEXA color codes are similar to HEX codes but include an additional alpha\n * value to specify transparency. They consist of a pound symbol (#) followed\n * by either 4 or 8 hexadecimal characters (0-9, a-f, A-F). The first three\n * (or six) characters represent the RGB color, and the last character (or two)\n * represents the alpha (transparency) value.\n *\n * @param {string} color - The color string to be validated.\n *\n * @returns {boolean} - True if the string is a valid HEXA color code, false otherwise.\n *\n * Example usage:\n * isValidHEXAColor('#FA3E'); // returns true\n * isValidHEXAColor('#FA3EF8'); // returns true\n * isValidHEXAColor('#FA3EF812'); // returns true\n * isValidHEXAColor('#FA3E12'); // returns false, as it lacks the alpha value for a 6-character code\n * isValidHEXAColor('FA3EF8'); // returns false, missing starting #\n */\nconst isValidHEXAColor = (color) => {\n const regex = /^#(?:[0-9a-fA-F]{4}){1,2}$/;\n return regex.test(color);\n};\nexports.isValidHEXAColor = isValidHEXAColor;\n/**\n * Checks if a given string is a valid representation of an RGB color.\n * An RGB color is specified as 'rgb(x, y, z)' where x, y, and z are integers\n * representing the red, green, and blue color components, respectively.\n * Each component must be within the range of 0 to 255.\n *\n * @param {string} color - The color string to be validated.\n *\n * @returns {boolean} - True if the string is a valid RGB color format and all color components\n * are within the specified range; otherwise, false.\n *\n * Example usage:\n * isValidRGBColor('rgb(255, 99, 71)'); // returns true\n * isValidRGBColor('rgb(256, -1, 300)'); // returns false, components are out of bounds\n * isValidRGBColor('rgb(25, 99, 71)'); // returns true\n * isValidRGBColor('rgb(255,255,255)'); // returns true\n */\nconst isValidRGBColor = (color) => {\n var _a;\n const regex = /^rgb\\((\\d{1,3}),\\s*(\\d{1,3}),\\s*(\\d{1,3})\\)$/;\n if (!regex.test(color)) {\n return false;\n }\n const match = (_a = color.match(regex)) === null || _a === void 0 ? void 0 : _a.map(Number);\n if (!match) {\n return false;\n }\n const [, r, g, b] = match;\n return [r, g, b].every((value) => value >= 0 && value <= 255);\n};\nexports.isValidRGBColor = isValidRGBColor;\n/**\n * Validates if a given string is a correct representation of an RGBA color.\n * An RGBA color is specified as 'rgba(x, y, z, a)' where x, y, and z are integers\n * representing the red, green, and blue components of the color, respectively,\n * each ranging from 0 to 255. The 'a' component is a floating-point number\n * representing the opacity, ranging from 0.0 (completely transparent) to 1.0 (fully opaque),\n * inclusive.\n *\n * @param {string} color - The color string to be validated.\n *\n * @returns {boolean} - True if the color string is a valid RGBA format and all components\n * (red, green, blue, alpha) are within their respective ranges; false otherwise.\n *\n * Example usage:\n * isValidRGBAColor('rgba(255, 99, 71, 0.5)'); // returns true\n * isValidRGBAColor('rgba(255, 99, 71, 1.1)'); // returns false, alpha value is out of bounds\n * isValidRGBAColor('rgba(255, 99, 71, -0.1)'); // returns false, negative alpha value\n */\nconst isValidRGBAColor = (color) => {\n var _a;\n const regex = /^rgba\\((\\d{1,3}),\\s*(\\d{1,3}),\\s*(\\d{1,3}),\\s*(0|1|0?\\.\\d+|1?\\.\\d+)\\)$/;\n if (!regex.test(color)) {\n return false;\n }\n const match = (_a = color.match(regex)) === null || _a === void 0 ? void 0 : _a.map(Number);\n if (!match) {\n return false;\n }\n const [, r, g, b, a] = match;\n return [r, g, b].every((value) => value >= 0 && value <= 255) && a >= 0 && a <= 1;\n};\nexports.isValidRGBAColor = isValidRGBAColor;\n/**\n * Validates if a given string accurately represents a color in the HSL format.\n * HSL stands for Hue, Saturation, and Lightness, and colors in this format are\n * specified as 'hsl(h, s%, l%)', where h is the hue (0 to 360 degrees), s is the saturation\n * (0% to 100%), and l is the lightness (0% to 100%).\n *\n * @param {string} color - The color string to be validated.\n *\n * @returns {boolean} - True if the color string is a valid HSL format and all components\n * (hue, saturation, lightness) are within their respective ranges; false otherwise.\n *\n * Example usage:\n * isValidHSLColor('hsl(120, 50%, 50%)'); // returns true\n * isValidHSLColor('hsl(370, 50%, 50%)'); // returns false, hue is out of bounds\n * isValidHSLColor('hsl(120, 101%, 50%)'); // returns false, saturation is out of bounds\n */\nconst isValidHSLColor = (color) => {\n var _a;\n const regex = /^hsl\\((\\d{1,3}),\\s*(\\d{1,3})%,\\s*(\\d{1,3})%\\)$/;\n if (!regex.test(color)) {\n return false;\n }\n const match = (_a = color.match(regex)) === null || _a === void 0 ? void 0 : _a.map(Number);\n if (!match) {\n return false;\n }\n const [, h, s, l] = match;\n return h >= 0 && h <= 360 && s >= 0 && s <= 100 && l >= 0 && l <= 100;\n};\nexports.isValidHSLColor = isValidHSLColor;\n/**\n * Validates if a given string is a correct representation of an HSLA color.\n * HSLA color notation includes hue (0 to 360 degrees), saturation (0% to 100%),\n * lightness (0% to 100%), and alpha (0.0 to 1.0 for transparency level).\n *\n * @param {string} color - The color string to be validated.\n *\n * @returns {boolean} - True if the color string matches the HSLA format and all\n * components (hue, saturation, lightness, alpha) fall within\n * their respective allowable ranges; false otherwise.\n *\n * Example usage:\n * isValidHSLAColor('hsla(210, 100%, 50%, 0.5)'); // returns true\n * isValidHSLAColor('hsla(210, 100%, 50%, 1.1)'); // returns false, alpha value out of bounds\n * isValidHSLAColor('hsla(360, 50%, 50%, 0)'); // returns true\n */\nconst isValidHSLAColor = (color) => {\n var _a;\n const regex = /^hsla\\((\\d{1,3}),\\s*(\\d{1,3})%,\\s*(\\d{1,3})%,\\s*(0|1|0?\\.\\d+)\\)$/;\n if (!regex.test(color)) {\n return false;\n }\n const match = (_a = color.match(regex)) === null || _a === void 0 ? void 0 : _a.map(Number);\n if (!match) {\n return false;\n }\n const [, h, s, l, a] = match;\n return h >= 0 && h <= 360 && s >= 0 && s <= 100 && l >= 0 && l <= 100 && a >= 0 && a <= 1;\n};\nexports.isValidHSLAColor = isValidHSLAColor;\n/**\n * Validates if a given string is a correct representation of a CMYK color.\n * CMYK colors are defined with four components: Cyan, Magenta, Yellow, and Key (Black),\n * each represented as a percentage from 0% to 100%.\n *\n * @param {string} color - The color string to be validated.\n *\n * @returns {boolean} - True if the color string matches the CMYK format and all components\n * (Cyan, Magenta, Yellow, Key) are within the 0% to 100% range; false otherwise.\n *\n * Example usage:\n * isValidCMYKColor('cmyk(0%, 100%, 0%, 0%)'); // returns true for pure magenta\n * isValidCMYKColor('cmyk(101%, 0%, 0%, 0%)'); // returns false, cyan value out of bounds\n * isValidCMYKColor('cmyk(50%, 50%, 50%, 50%)'); // returns true for a mid-tone color\n */\nconst isValidCMYKColor = (color) => {\n var _a;\n const regex = /^cmyk\\((\\d{1,3})%,\\s*(\\d{1,3})%,\\s*(\\d{1,3})%,\\s*(\\d{1,3})%\\)$/;\n if (!regex.test(color)) {\n return false;\n }\n const match = (_a = color.match(regex)) === null || _a === void 0 ? void 0 : _a.map(Number);\n if (!match) {\n return false;\n }\n const [, c, m, y, k] = match;\n return [c, m, y, k].every(val => val >= 0 && val <= 100);\n};\nexports.isValidCMYKColor = isValidCMYKColor;\n/**\n * Validates whether a given string is a correct representation of an HSV color.\n * HSV stands for Hue, Saturation, and Value, where Hue is measured in degrees (0 to 360),\n * and both Saturation and Value are presented as percentages (0% to 100%).\n *\n * @param {string} color - The color string to be validated.\n *\n * @returns {boolean} - True if the color string adheres to the HSV format and all components\n * (hue, saturation, value) are within their designated ranges; otherwise, false.\n *\n * Example usage:\n * isValidHSVColor('hsv(120, 100%, 100%)'); // returns true for pure green\n * isValidHSVColor('hsv(361, 50%, 50%)'); // returns false, hue is out of bounds\n * isValidHSVColor('hsv(240, 100%, 50%)'); // returns true for a medium blue\n */\nconst isValidHSVColor = (color) => {\n var _a;\n const regex = /^hsv\\((\\d{1,3}),\\s*(\\d{1,3})%,\\s*(\\d{1,3})%\\)$/i;\n if (!regex.test(color)) {\n return false;\n }\n const match = (_a = color.match(regex)) === null || _a === void 0 ? void 0 : _a.map(Number);\n if (!match) {\n return false;\n }\n const [, h, s, v] = match;\n return h >= 0 && h <= 360 && s >= 0 && s <= 100 && v >= 0 && v <= 100;\n};\nexports.isValidHSVColor = isValidHSVColor;\n/**\n * Validates a given color string against multiple color formats.\n * This function consolidates various specific color format validators,\n * including HEX, HEXA, RGB, RGBA, HSL, HSLA, HSV, and CMYK, to determine\n * if the color string conforms to any of these recognized formats.\n *\n * @param {string} color - The color string to be validated.\n *\n * @returns {boolean} - True if the color string is valid in at least one of the supported\n * color formats; false otherwise.\n *\n * Example usage:\n * isValidColor('#FF5733'); // returns true for a valid HEX color.\n * isValidColor('rgb(255, 99, 71)'); // returns true for a valid RGB color.\n * isValidColor('cmyk(0%, 100%, 100%, 0%)'); // returns true for a valid CMYK color.\n * isValidColor('invalidColor'); // returns false, does not match any supported format.\n */\nconst isValidColor = (color) => {\n const validators = [\n isValidHEXColor,\n isValidHEXAColor,\n isValidRGBColor,\n isValidRGBAColor,\n isValidHSLColor,\n isValidHSLAColor,\n isValidHSVColor,\n isValidCMYKColor,\n ];\n return validators.some((validator) => validator(color));\n};\nexports.isValidColor = isValidColor;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.oppositeColor = void 0;\nconst adjust_hue_1 = require(\"./adjust-hue\");\n/**\n * Computes the opposite color (complementary color) by adjusting the hue by 180 degrees.\n *\n * @param {string} color - The color to find the opposite for, provided in a format recognized by `getColorFormat`.\n * This could be in formats like HEX, RGB, or named colors, among others.\n *\n * @returns {string} - The opposite color, in the same format as the input color.\n *\n * @throws {Error} - If the input color's format is invalid or unrecognized, an error is thrown.\n *\n * Example usage:\n * oppositeColor('#00FF00'); // returns the opposite color of a bright green.\n * oppositeColor('rgb(255, 0, 0)'); // returns the opposite color of red.\n */\nconst oppositeColor = (color) => {\n return (0, adjust_hue_1.adjustHue)(color, 180);\n};\nexports.oppositeColor = oppositeColor;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.parseColorNumbers = void 0;\nconst convert_color_1 = require(\"./convert-color\");\nconst get_color_format_1 = require(\"./get-color-format\");\nconst types_1 = require(\"./types\");\n/**\n * Converts a given color to an object containing the numerical values of its components.\n * The function supports conversion to RGB, RGBA, HSL, or HSLA format.\n *\n * @param {string} color - The color string to parse.\n * If an invalid color format is provided, white (#FFFFFF) will be used as a fallback.\n * @param {ColorFormat.RGB | ColorFormat.RGBA | ColorFormat.HSL | ColorFormat.HSLA} format - The desired format for the output.\n *\n * @returns {RGB | RGBA | HSL | HSLA} An object containing the numerical values of the color components.\n * If the input color format was invalid, returns white color values in the specified format.\n */\nconst parseColorNumbers = (color, format) => {\n if (![types_1.ColorFormat.RGB, types_1.ColorFormat.RGBA, types_1.ColorFormat.HSL, types_1.ColorFormat.HSLA].some((colorFormat) => colorFormat === format)) {\n throw new Error('Invalid format specified');\n }\n const colorFormat = (0, get_color_format_1.getColorFormat)(color);\n // Use white as fallback if color format is invalid\n const validColor = colorFormat ? color : '#FFFFFF';\n let convertedColor = (0, convert_color_1.convertColor)(validColor, format);\n let matches = convertedColor.match(/\\d+(\\.\\d+)?/g);\n if (!matches) {\n throw new Error('Color conversion failed');\n }\n let values = matches.map(Number);\n switch (format) {\n case 'rgb':\n case 'rgba':\n return Object.assign({ r: values[0], g: values[1], b: values[2] }, (values.length > 3 && { a: values[3] }));\n case 'hsl':\n case 'hsla':\n return Object.assign({ h: values[0], s: values[1], l: values[2] }, (values.length > 3 && { a: values[3] }));\n default:\n throw new Error('Invalid format specified');\n }\n};\nexports.parseColorNumbers = parseColorNumbers;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.randomColor = void 0;\nconst convert_color_1 = require(\"./convert-color\");\nconst types_1 = require(\"./types\");\n/**\n * Generates a random color in the specified format.\n *\n * @param {ColorFormat} format - The desired color format (hex, hexa, rgb, rgba, hsl, hsla, hsv, cmyk).\n * Default is 'hex'.\n *\n * @returns {string} - The random color in the specified format.\n *\n * Example usage:\n * randomColor(); // Returns a random color in HEX format.\n * randomColor(ColorFormat.RGB); // Returns a random color in RGB format.\n */\nconst randomColor = (format = types_1.ColorFormat.HEX) => {\n const getRandomInt = (max) => Math.floor(Math.random() * (max + 1));\n const r = getRandomInt(255);\n const g = getRandomInt(255);\n const b = getRandomInt(255);\n const a = Math.random().toFixed(2);\n const baseColor = `rgba(${r}, ${g}, ${b}, ${a})`;\n return (0, convert_color_1.convertColor)(baseColor, format);\n};\nexports.randomColor = randomColor;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.shade = void 0;\nconst blend_colors_1 = require(\"./blend-colors\");\n/**\n * Creates a shade of the given color by mixing it with black.\n *\n * @param {string} color - The color to be shaded, in hexadecimal format.\n * @param {number} weight - The percentage of black to mix into the color, between 0 and 1.\n * @returns {string} The shaded color in hexadecimal format.\n *\n * Example usage:\n * const darkRed = shade(\"#ff0000\", 0.5); // Mixes red with 50% black\n */\nconst shade = (color, weight) => {\n return (0, blend_colors_1.blendColors)(color, '#000000', weight);\n};\nexports.shade = shade;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.tint = void 0;\nconst blend_colors_1 = require(\"./blend-colors\");\n/**\n * Creates a tint of the given color by mixing it with white.\n *\n * @param {string} color - The color to be tinted, in hexadecimal format.\n * @param {number} weight - The percentage of white to mix into the color, between 0 and 1.\n *\n * @returns {string} The tinted color in hexadecimal format.\n *\n * Example usage:\n * const lightRed = tint(\"#ff0000\", 0.5); // Mixes red with 50% white\n */\nconst tint = (color, weight) => {\n return (0, blend_colors_1.blendColors)(color, '#FFFFFF', weight);\n};\nexports.tint = tint;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.BaseColorFormat = exports.ColorFormat = void 0;\nvar ColorFormat;\n(function (ColorFormat) {\n ColorFormat[\"HEX\"] = \"hex\";\n ColorFormat[\"HEXA\"] = \"hexa\";\n ColorFormat[\"RGB\"] = \"rgb\";\n ColorFormat[\"RGBA\"] = \"rgba\";\n ColorFormat[\"HSL\"] = \"hsl\";\n ColorFormat[\"HSLA\"] = \"hsla\";\n ColorFormat[\"CMYK\"] = \"cmyk\";\n ColorFormat[\"HSV\"] = \"hsv\";\n})(ColorFormat || (exports.ColorFormat = ColorFormat = {}));\nconst BaseColorFormat = ColorFormat.RGBA;\nexports.BaseColorFormat = BaseColorFormat;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.rgbaToRGB = exports.rgbaToHexa = exports.rgbaToHex = exports.rgbaToHSV = exports.rgbaToHSLA = exports.rgbaToHSL = exports.rgbaToCMYK = exports.rgbToRGBA = exports.hsvToRGBA = exports.hslaToRGBA = exports.hslToRGBA = exports.hexaToRGBA = exports.hexToRGBA = exports.cmykToRGBA = void 0;\nconst hexToRGBA = (color) => {\n let r = 0, g = 0, b = 0, a = 1;\n if (color.length === 4) {\n r = parseInt(color[1] + color[1], 16);\n g = parseInt(color[2] + color[2], 16);\n b = parseInt(color[3] + color[3], 16);\n }\n else if (color.length === 7) {\n r = parseInt(color[1] + color[2], 16);\n g = parseInt(color[3] + color[4], 16);\n b = parseInt(color[5] + color[6], 16);\n }\n return `rgba(${r}, ${g}, ${b}, ${a})`;\n};\nexports.hexToRGBA = hexToRGBA;\nconst hexaToRGBA = (color) => {\n let r = 0, g = 0, b = 0, a = 1;\n if (color.length === 9) {\n r = parseInt(color[1] + color[2], 16);\n g = parseInt(color[3] + color[4], 16);\n b = parseInt(color[5] + color[6], 16);\n a = Math.round(parseInt(color[7] + color[8], 16) / 255 * 100) / 100;\n }\n return `rgba(${r}, ${g}, ${b}, ${a})`;\n};\nexports.hexaToRGBA = hexaToRGBA;\nconst rgbToRGBA = (color) => {\n return color.replace(')', ', 1)').replace('rgb', 'rgba');\n};\nexports.rgbToRGBA = rgbToRGBA;\nconst hslToRGBA = (color) => {\n const [h, s, l] = color.match(/\\d+/g).map(Number);\n const saturation = s / 100;\n const lightness = l / 100;\n let c = (1 - Math.abs(2 * lightness - 1)) * saturation;\n let x = c * (1 - Math.abs((h / 60) % 2 - 1));\n let m = lightness - c / 2;\n let r = 0;\n let g = 0;\n let b = 0;\n if (0 <= h && h < 60) {\n r = c;\n g = x;\n b = 0;\n }\n else if (60 <= h && h < 120) {\n r = x;\n g = c;\n b = 0;\n }\n else if (120 <= h && h < 180) {\n r = 0;\n g = c;\n b = x;\n }\n else if (180 <= h && h < 240) {\n r = 0;\n g = x;\n b = c;\n }\n else if (240 <= h && h < 300) {\n r = x;\n g = 0;\n b = c;\n }\n else if (300 <= h && h < 360) {\n r = c;\n g = 0;\n b = x;\n }\n else if (h === 360) {\n r = c;\n g = 0;\n b = x;\n }\n r = Math.round((r + m) * 255);\n g = Math.round((g + m) * 255);\n b = Math.round((b + m) * 255);\n const a = 1;\n return `rgba(${r}, ${g}, ${b}, ${a})`;\n};\nexports.hslToRGBA = hslToRGBA;\nconst hslaToRGBA = (color) => {\n const [h, s, l, a] = color.match(/\\d+(\\.\\d+)?/g).map(Number);\n const saturation = s / 100;\n const lightness = l / 100;\n let c = (1 - Math.abs(2 * lightness - 1)) * saturation;\n let x = c * (1 - Math.abs((h / 60) % 2 - 1));\n let m = lightness - c / 2;\n let r = 0;\n let g = 0;\n let b = 0;\n if (0 <= h && h < 60) {\n r = c;\n g = x;\n b = 0;\n }\n else if (60 <= h && h < 120) {\n r = x;\n g = c;\n b = 0;\n }\n else if (120 <= h && h < 180) {\n r = 0;\n g = c;\n b = x;\n }\n else if (180 <= h && h < 240) {\n r = 0;\n g = x;\n b = c;\n }\n else if (240 <= h && h < 300) {\n r = x;\n g = 0;\n b = c;\n }\n else if (300 <= h && h < 360) {\n r = c;\n g = 0;\n b = x;\n }\n else if (h === 360) {\n r = c;\n g = 0;\n b = x;\n }\n r = Math.round((r + m) * 255);\n g = Math.round((g + m) * 255);\n b = Math.round((b + m) * 255);\n return `rgba(${r}, ${g}, ${b}, ${a})`;\n};\nexports.hslaToRGBA = hslaToRGBA;\nconst cmykToRGBA = (color) => {\n let [c, m, y, k] = color.match(/(\\d+(\\.\\d+)?%)/g).map((value) => parseFloat(value) / 100);\n let r = 255 * (1 - c) * (1 - k);\n let g = 255 * (1 - m) * (1 - k);\n let b = 255 * (1 - y) * (1 - k);\n r = Math.round(r);\n g = Math.round(g);\n b = Math.round(b);\n const a = 1;\n return `rgba(${r}, ${g}, ${b}, ${a})`;\n};\nexports.cmykToRGBA = cmykToRGBA;\nconst hsvToRGBA = (color) => {\n let [h, s, v] = color.match(/\\d+(\\.\\d+)?/g).map(Number);\n let r, g, b, i, f, p, q, t;\n const saturation = s / 100;\n const value = v / 100;\n if (saturation === 0) {\n r = g = b = value;\n return `rgba(${Math.round(r * 255)}, ${Math.round(g * 255)}, ${Math.round(b * 255)}, 1)`;\n }\n h /= 60;\n i = Math.floor(h);\n f = h - i;\n p = value * (1 - saturation);\n q = value * (1 - saturation * f);\n t = value * (1 - saturation * (1 - f));\n switch (i) {\n case 0:\n r = value;\n g = t;\n b = p;\n break;\n case 1:\n r = q;\n g = value;\n b = p;\n break;\n case 2:\n r = p;\n g = value;\n b = t;\n break;\n case 3:\n r = p;\n g = q;\n b = value;\n break;\n case 4:\n r = t;\n g = p;\n b = value;\n break;\n default: // case 5:\n r = value;\n g = p;\n b = q;\n }\n return `rgba(${Math.round(r * 255)}, ${Math.round(g * 255)}, ${Math.round(b * 255)}, 1)`;\n};\nexports.hsvToRGBA = hsvToRGBA;\nconst rgbaToHex = (rgba) => {\n const [r, g, b] = rgba.match(/\\d+/g).map(Number);\n const rHex = r.toString(16).padStart(2, '0');\n const gHex = g.toString(16).padStart(2, '0');\n const bHex = b.toString(16).padStart(2, '0');\n return `#${rHex}${gHex}${bHex}`.toLowerCase();\n};\nexports.rgbaToHex = rgbaToHex;\nconst rgbaToHexa = (rgba) => {\n const [r, g, b, a] = rgba.match(/\\d+(\\.\\d+)?/g).map(Number);\n const alphaHex = Math.round(a * 255).toString(16).padStart(2, '0');\n const rHex = r.toString(16).padStart(2, '0');\n const gHex = g.toString(16).padStart(2, '0');\n const bHex = b.toString(16).padStart(2, '0');\n return `#${rHex}${gHex}${bHex}${alphaHex}`.toLowerCase();\n};\nexports.rgbaToHexa = rgbaToHexa;\nconst rgbaToRGB = (rgba) => {\n const [r, g, b] = rgba.match(/\\d+/g).map(Number).slice(0, 3);\n return `rgb(${r}, ${g}, ${b})`;\n};\nexports.rgbaToRGB = rgbaToRGB;\nconst rgbaToHSL = (rgba) => {\n let [r, g, b] = rgba.match(/\\d+/g).map(Number).map((value) => value / 255);\n const max = Math.max(r, g, b), min = Math.min(r, g, b);\n let h, s, l = (max + min) / 2;\n if (max === min) {\n h = s = 0;\n }\n else {\n const d = max - min;\n s = l > 0.5 ? d / (2 - max - min) : d / (max + min);\n switch (max) {\n case r:\n h = (g - b) / d + (g < b ? 6 : 0);\n break;\n case g:\n h = (b - r) / d + 2;\n break;\n case b:\n h = (r - g) / d + 4;\n break;\n default:\n h = 0;\n break;\n }\n h /= 6;\n }\n return `hsl(${Math.round(h * 360) % 360}, ${Math.round(s * 100)}%, ${Math.round(l * 100)}%)`;\n};\nexports.rgbaToHSL = rgbaToHSL;\nconst rgbaToHSLA = (rgba) => {\n let [r, g, b, a] = rgba.match(/\\d+(\\.\\d+)?/g).map(Number);\n r /= 255;\n g /= 255;\n b /= 255;\n const max = Math.max(r, g, b), min = Math.min(r, g, b);\n let h, s, l = (max + min) / 2;\n if (max === min) {\n h = s = 0;\n }\n else {\n const d = max - min;\n s = l > 0.5 ? d / (2 - max - min) : d / (max + min);\n switch (max) {\n case r:\n h = (g - b) / d + (g < b ? 6 : 0);\n break;\n case g:\n h = (b - r) / d + 2;\n break;\n case b:\n h = (r - g) / d + 4;\n break;\n default:\n h = 0;\n break;\n }\n h /= 6;\n }\n return `hsla(${Math.round(h * 360)}, ${Math.round(s * 100)}%, ${Math.round(l * 100)}%, ${a})`;\n};\nexports.rgbaToHSLA = rgbaToHSLA;\nconst rgbaToCMYK = (rgba) => {\n let [r, g, b] = rgba.match(/\\d+/g).map(Number).map((value) => value / 255);\n const k = 1 - Math.max(r, g, b);\n const c = (1 - r - k) / (1 - k) || 0;\n const m = (1 - g - k) / (1 - k) || 0;\n const y = (1 - b - k) / (1 - k) || 0;\n return `cmyk(${Math.round(c * 100)}%, ${Math.round(m * 100)}%, ${Math.round(y * 100)}%, ${Math.round(k * 100)}%)`;\n};\nexports.rgbaToCMYK = rgbaToCMYK;\nconst rgbaToHSV = (rgba) => {\n let [r, g, b] = rgba.match(/\\d+/g).map(Number).map((value) => value / 255);\n const max = Math.max(r, g, b);\n const min = Math.min(r, g, b);\n const delta = max - min;\n let h, s, v = max;\n if (delta === 0) {\n h = 0;\n }\n else if (max === r) {\n h = 60 * (((g - b) / delta) % 6);\n }\n else if (max === g) {\n h = 60 * (((b - r) / delta) + 2);\n }\n else {\n h = 60 * (((r - g) / delta) + 4);\n }\n h = h < 0 ? h + 360 : h;\n s = max === 0 ? 0 : (delta / max);\n return `hsv(${Math.round(h)}, ${Math.round(s * 100)}%, ${Math.round(v * 100)}%)`;\n};\nexports.rgbaToHSV = rgbaToHSV;\n","import * as React from 'react';\nexport const defaultPrefixCls = 'ant';\nexport const defaultIconPrefixCls = 'anticon';\nexport const Variants = ['outlined', 'borderless', 'filled', 'underlined'];\nconst defaultGetPrefixCls = (suffixCls, customizePrefixCls) => {\n if (customizePrefixCls) {\n return customizePrefixCls;\n }\n return suffixCls ? `${defaultPrefixCls}-${suffixCls}` : defaultPrefixCls;\n};\n// zombieJ: 🚨 Do not pass `defaultRenderEmpty` here since it will cause circular dependency.\nexport const ConfigContext = /*#__PURE__*/React.createContext({\n // We provide a default function for Context without provider\n getPrefixCls: defaultGetPrefixCls,\n iconPrefixCls: defaultIconPrefixCls\n});\nexport const {\n Consumer: ConfigConsumer\n} = ConfigContext;\nconst EMPTY_OBJECT = {};\n/**\n * Get ConfigProvider configured component props.\n * This help to reduce bundle size for saving `?.` operator.\n * Do not use as `useMemo` deps since we do not cache the object here.\n *\n * NOTE: not refactor this with `useMemo` since memo will cost another memory space,\n * which will waste both compare calculation & memory.\n */\nexport function useComponentConfig(propName) {\n const context = React.useContext(ConfigContext);\n const {\n getPrefixCls,\n direction,\n getPopupContainer,\n renderEmpty\n } = context;\n const propValue = context[propName];\n return {\n classNames: EMPTY_OBJECT,\n styles: EMPTY_OBJECT,\n ...propValue,\n getPrefixCls,\n direction,\n getPopupContainer,\n renderEmpty\n };\n}","/*\nobject-assign\n(c) Sindre Sorhus\n@license MIT\n*/\n\n'use strict';\n/* eslint-disable no-unused-vars */\nvar getOwnPropertySymbols = Object.getOwnPropertySymbols;\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\nvar propIsEnumerable = Object.prototype.propertyIsEnumerable;\n\nfunction toObject(val) {\n\tif (val === null || val === undefined) {\n\t\tthrow new TypeError('Object.assign cannot be called with null or undefined');\n\t}\n\n\treturn Object(val);\n}\n\nfunction shouldUseNative() {\n\ttry {\n\t\tif (!Object.assign) {\n\t\t\treturn false;\n\t\t}\n\n\t\t// Detect buggy property enumeration order in older V8 versions.\n\n\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=4118\n\t\tvar test1 = new String('abc'); // eslint-disable-line no-new-wrappers\n\t\ttest1[5] = 'de';\n\t\tif (Object.getOwnPropertyNames(test1)[0] === '5') {\n\t\t\treturn false;\n\t\t}\n\n\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=3056\n\t\tvar test2 = {};\n\t\tfor (var i = 0; i < 10; i++) {\n\t\t\ttest2['_' + String.fromCharCode(i)] = i;\n\t\t}\n\t\tvar order2 = Object.getOwnPropertyNames(test2).map(function (n) {\n\t\t\treturn test2[n];\n\t\t});\n\t\tif (order2.join('') !== '0123456789') {\n\t\t\treturn false;\n\t\t}\n\n\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=3056\n\t\tvar test3 = {};\n\t\t'abcdefghijklmnopqrst'.split('').forEach(function (letter) {\n\t\t\ttest3[letter] = letter;\n\t\t});\n\t\tif (Object.keys(Object.assign({}, test3)).join('') !==\n\t\t\t\t'abcdefghijklmnopqrst') {\n\t\t\treturn false;\n\t\t}\n\n\t\treturn true;\n\t} catch (err) {\n\t\t// We don't expect any of the above to throw, but better to be safe.\n\t\treturn false;\n\t}\n}\n\nmodule.exports = shouldUseNative() ? Object.assign : function (target, source) {\n\tvar from;\n\tvar to = toObject(target);\n\tvar symbols;\n\n\tfor (var s = 1; s < arguments.length; s++) {\n\t\tfrom = Object(arguments[s]);\n\n\t\tfor (var key in from) {\n\t\t\tif (hasOwnProperty.call(from, key)) {\n\t\t\t\tto[key] = from[key];\n\t\t\t}\n\t\t}\n\n\t\tif (getOwnPropertySymbols) {\n\t\t\tsymbols = getOwnPropertySymbols(from);\n\t\t\tfor (var i = 0; i < symbols.length; i++) {\n\t\t\t\tif (propIsEnumerable.call(from, symbols[i])) {\n\t\t\t\t\tto[symbols[i]] = from[symbols[i]];\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\treturn to;\n};\n","/* global Map:readonly, Set:readonly, ArrayBuffer:readonly */\n\nvar hasElementType = typeof Element !== 'undefined';\nvar hasMap = typeof Map === 'function';\nvar hasSet = typeof Set === 'function';\nvar hasArrayBuffer = typeof ArrayBuffer === 'function' && !!ArrayBuffer.isView;\n\n// Note: We **don't** need `envHasBigInt64Array` in fde es6/index.js\n\nfunction equal(a, b) {\n // START: fast-deep-equal es6/index.js 3.1.3\n if (a === b) return true;\n\n if (a && b && typeof a == 'object' && typeof b == 'object') {\n if (a.constructor !== b.constructor) return false;\n\n var length, i, keys;\n if (Array.isArray(a)) {\n length = a.length;\n if (length != b.length) return false;\n for (i = length; i-- !== 0;)\n if (!equal(a[i], b[i])) return false;\n return true;\n }\n\n // START: Modifications:\n // 1. Extra `has<Type> &&` helpers in initial condition allow es6 code\n // to co-exist with es5.\n // 2. Replace `for of` with es5 compliant iteration using `for`.\n // Basically, take:\n //\n // ```js\n // for (i of a.entries())\n // if (!b.has(i[0])) return false;\n // ```\n //\n // ... and convert to:\n //\n // ```js\n // it = a.entries();\n // while (!(i = it.next()).done)\n // if (!b.has(i.value[0])) return false;\n // ```\n //\n // **Note**: `i` access switches to `i.value`.\n var it;\n if (hasMap && (a instanceof Map) && (b instanceof Map)) {\n if (a.size !== b.size) return false;\n it = a.entries();\n while (!(i = it.next()).done)\n if (!b.has(i.value[0])) return false;\n it = a.entries();\n while (!(i = it.next()).done)\n if (!equal(i.value[1], b.get(i.value[0]))) return false;\n return true;\n }\n\n if (hasSet && (a instanceof Set) && (b instanceof Set)) {\n if (a.size !== b.size) return false;\n it = a.entries();\n while (!(i = it.next()).done)\n if (!b.has(i.value[0])) return false;\n return true;\n }\n // END: Modifications\n\n if (hasArrayBuffer && ArrayBuffer.isView(a) && ArrayBuffer.isView(b)) {\n length = a.length;\n if (length != b.length) return false;\n for (i = length; i-- !== 0;)\n if (a[i] !== b[i]) return false;\n return true;\n }\n\n if (a.constructor === RegExp) return a.source === b.source && a.flags === b.flags;\n // START: Modifications:\n // Apply guards for `Object.create(null)` handling. See:\n // - https://github.com/FormidableLabs/react-fast-compare/issues/64\n // - https://github.com/epoberezkin/fast-deep-equal/issues/49\n if (a.valueOf !== Object.prototype.valueOf && typeof a.valueOf === 'function' && typeof b.valueOf === 'function') return a.valueOf() === b.valueOf();\n if (a.toString !== Object.prototype.toString && typeof a.toString === 'function' && typeof b.toString === 'function') return a.toString() === b.toString();\n // END: Modifications\n\n keys = Object.keys(a);\n length = keys.length;\n if (length !== Object.keys(b).length) return false;\n\n for (i = length; i-- !== 0;)\n if (!Object.prototype.hasOwnProperty.call(b, keys[i])) return false;\n // END: fast-deep-equal\n\n // START: react-fast-compare\n // custom handling for DOM elements\n if (hasElementType && a instanceof Element) return false;\n\n // custom handling for React/Preact\n for (i = length; i-- !== 0;) {\n if ((keys[i] === '_owner' || keys[i] === '__v' || keys[i] === '__o') && a.$$typeof) {\n // React-specific: avoid traversing React elements' _owner\n // Preact-specific: avoid traversing Preact elements' __v and __o\n // __v = $_original / $_vnode\n // __o = $_owner\n // These properties contain circular references and are not needed when\n // comparing the actual elements (and not their owners)\n // .$$typeof and ._store on just reasonable markers of elements\n\n continue;\n }\n\n // all other properties should be traversed as usual\n if (!equal(a[keys[i]], b[keys[i]])) return false;\n }\n // END: react-fast-compare\n\n // START: fast-deep-equal\n return true;\n }\n\n return a !== a && b !== b;\n}\n// end fast-deep-equal\n\nmodule.exports = function isEqual(a, b) {\n try {\n return equal(a, b);\n } catch (error) {\n if (((error.message || '').match(/stack|recursion/i))) {\n // warn on circular references, don't crash\n // browsers give this different errors name and messages:\n // chrome/safari: \"RangeError\", \"Maximum call stack size exceeded\"\n // firefox: \"InternalError\", too much recursion\"\n // edge: \"Error\", \"Out of stack space\"\n console.warn('react-fast-compare cannot handle circular refs');\n return false;\n }\n // some other error. we should definitely know about these\n throw error;\n }\n};\n","import PropTypes from 'prop-types';\nimport withSideEffect from 'react-side-effect';\nimport isEqual from 'react-fast-compare';\nimport React from 'react';\nimport objectAssign from 'object-assign';\n\nvar ATTRIBUTE_NAMES = {\n BODY: \"bodyAttributes\",\n HTML: \"htmlAttributes\",\n TITLE: \"titleAttributes\"\n};\n\nvar TAG_NAMES = {\n BASE: \"base\",\n BODY: \"body\",\n HEAD: \"head\",\n HTML: \"html\",\n LINK: \"link\",\n META: \"meta\",\n NOSCRIPT: \"noscript\",\n SCRIPT: \"script\",\n STYLE: \"style\",\n TITLE: \"title\"\n};\n\nvar VALID_TAG_NAMES = Object.keys(TAG_NAMES).map(function (name) {\n return TAG_NAMES[name];\n});\n\nvar TAG_PROPERTIES = {\n CHARSET: \"charset\",\n CSS_TEXT: \"cssText\",\n HREF: \"href\",\n HTTPEQUIV: \"http-equiv\",\n INNER_HTML: \"innerHTML\",\n ITEM_PROP: \"itemprop\",\n NAME: \"name\",\n PROPERTY: \"property\",\n REL: \"rel\",\n SRC: \"src\",\n TARGET: \"target\"\n};\n\nvar REACT_TAG_MAP = {\n accesskey: \"accessKey\",\n charset: \"charSet\",\n class: \"className\",\n contenteditable: \"contentEditable\",\n contextmenu: \"contextMenu\",\n \"http-equiv\": \"httpEquiv\",\n itemprop: \"itemProp\",\n tabindex: \"tabIndex\"\n};\n\nvar HELMET_PROPS = {\n DEFAULT_TITLE: \"defaultTitle\",\n DEFER: \"defer\",\n ENCODE_SPECIAL_CHARACTERS: \"encodeSpecialCharacters\",\n ON_CHANGE_CLIENT_STATE: \"onChangeClientState\",\n TITLE_TEMPLATE: \"titleTemplate\"\n};\n\nvar HTML_TAG_MAP = Object.keys(REACT_TAG_MAP).reduce(function (obj, key) {\n obj[REACT_TAG_MAP[key]] = key;\n return obj;\n}, {});\n\nvar SELF_CLOSING_TAGS = [TAG_NAMES.NOSCRIPT, TAG_NAMES.SCRIPT, TAG_NAMES.STYLE];\n\nvar HELMET_ATTRIBUTE = \"data-react-helmet\";\n\nvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) {\n return typeof obj;\n} : function (obj) {\n return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n};\n\nvar classCallCheck = function (instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n};\n\nvar createClass = function () {\n function defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if (\"value\" in descriptor) descriptor.writable = true;\n Object.defineProperty(target, descriptor.key, descriptor);\n }\n }\n\n return function (Constructor, protoProps, staticProps) {\n if (protoProps) defineProperties(Constructor.prototype, protoProps);\n if (staticProps) defineProperties(Constructor, staticProps);\n return Constructor;\n };\n}();\n\nvar _extends = Object.assign || function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n\n return target;\n};\n\nvar inherits = function (subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass);\n }\n\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n enumerable: false,\n writable: true,\n configurable: true\n }\n });\n if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass;\n};\n\nvar objectWithoutProperties = function (obj, keys) {\n var target = {};\n\n for (var i in obj) {\n if (keys.indexOf(i) >= 0) continue;\n if (!Object.prototype.hasOwnProperty.call(obj, i)) continue;\n target[i] = obj[i];\n }\n\n return target;\n};\n\nvar possibleConstructorReturn = function (self, call) {\n if (!self) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n\n return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self;\n};\n\nvar encodeSpecialCharacters = function encodeSpecialCharacters(str) {\n var encode = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;\n\n if (encode === false) {\n return String(str);\n }\n\n return String(str).replace(/&/g, \"&amp;\").replace(/</g, \"&lt;\").replace(/>/g, \"&gt;\").replace(/\"/g, \"&quot;\").replace(/'/g, \"&#x27;\");\n};\n\nvar getTitleFromPropsList = function getTitleFromPropsList(propsList) {\n var innermostTitle = getInnermostProperty(propsList, TAG_NAMES.TITLE);\n var innermostTemplate = getInnermostProperty(propsList, HELMET_PROPS.TITLE_TEMPLATE);\n\n if (innermostTemplate && innermostTitle) {\n // use function arg to avoid need to escape $ characters\n return innermostTemplate.replace(/%s/g, function () {\n return Array.isArray(innermostTitle) ? innermostTitle.join(\"\") : innermostTitle;\n });\n }\n\n var innermostDefaultTitle = getInnermostProperty(propsList, HELMET_PROPS.DEFAULT_TITLE);\n\n return innermostTitle || innermostDefaultTitle || undefined;\n};\n\nvar getOnChangeClientState = function getOnChangeClientState(propsList) {\n return getInnermostProperty(propsList, HELMET_PROPS.ON_CHANGE_CLIENT_STATE) || function () {};\n};\n\nvar getAttributesFromPropsList = function getAttributesFromPropsList(tagType, propsList) {\n return propsList.filter(function (props) {\n return typeof props[tagType] !== \"undefined\";\n }).map(function (props) {\n return props[tagType];\n }).reduce(function (tagAttrs, current) {\n return _extends({}, tagAttrs, current);\n }, {});\n};\n\nvar getBaseTagFromPropsList = function getBaseTagFromPropsList(primaryAttributes, propsList) {\n return propsList.filter(function (props) {\n return typeof props[TAG_NAMES.BASE] !== \"undefined\";\n }).map(function (props) {\n return props[TAG_NAMES.BASE];\n }).reverse().reduce(function (innermostBaseTag, tag) {\n if (!innermostBaseTag.length) {\n var keys = Object.keys(tag);\n\n for (var i = 0; i < keys.length; i++) {\n var attributeKey = keys[i];\n var lowerCaseAttributeKey = attributeKey.toLowerCase();\n\n if (primaryAttributes.indexOf(lowerCaseAttributeKey) !== -1 && tag[lowerCaseAttributeKey]) {\n return innermostBaseTag.concat(tag);\n }\n }\n }\n\n return innermostBaseTag;\n }, []);\n};\n\nvar getTagsFromPropsList = function getTagsFromPropsList(tagName, primaryAttributes, propsList) {\n // Calculate list of tags, giving priority innermost component (end of the propslist)\n var approvedSeenTags = {};\n\n return propsList.filter(function (props) {\n if (Array.isArray(props[tagName])) {\n return true;\n }\n if (typeof props[tagName] !== \"undefined\") {\n warn(\"Helmet: \" + tagName + \" should be of type \\\"Array\\\". Instead found type \\\"\" + _typeof(props[tagName]) + \"\\\"\");\n }\n return false;\n }).map(function (props) {\n return props[tagName];\n }).reverse().reduce(function (approvedTags, instanceTags) {\n var instanceSeenTags = {};\n\n instanceTags.filter(function (tag) {\n var primaryAttributeKey = void 0;\n var keys = Object.keys(tag);\n for (var i = 0; i < keys.length; i++) {\n var attributeKey = keys[i];\n var lowerCaseAttributeKey = attributeKey.toLowerCase();\n\n // Special rule with link tags, since rel and href are both primary tags, rel takes priority\n if (primaryAttributes.indexOf(lowerCaseAttributeKey) !== -1 && !(primaryAttributeKey === TAG_PROPERTIES.REL && tag[primaryAttributeKey].toLowerCase() === \"canonical\") && !(lowerCaseAttributeKey === TAG_PROPERTIES.REL && tag[lowerCaseAttributeKey].toLowerCase() === \"stylesheet\")) {\n primaryAttributeKey = lowerCaseAttributeKey;\n }\n // Special case for innerHTML which doesn't work lowercased\n if (primaryAttributes.indexOf(attributeKey) !== -1 && (attributeKey === TAG_PROPERTIES.INNER_HTML || attributeKey === TAG_PROPERTIES.CSS_TEXT || attributeKey === TAG_PROPERTIES.ITEM_PROP)) {\n primaryAttributeKey = attributeKey;\n }\n }\n\n if (!primaryAttributeKey || !tag[primaryAttributeKey]) {\n return false;\n }\n\n var value = tag[primaryAttributeKey].toLowerCase();\n\n if (!approvedSeenTags[primaryAttributeKey]) {\n approvedSeenTags[primaryAttributeKey] = {};\n }\n\n if (!instanceSeenTags[primaryAttributeKey]) {\n instanceSeenTags[primaryAttributeKey] = {};\n }\n\n if (!approvedSeenTags[primaryAttributeKey][value]) {\n instanceSeenTags[primaryAttributeKey][value] = true;\n return true;\n }\n\n return false;\n }).reverse().forEach(function (tag) {\n return approvedTags.push(tag);\n });\n\n // Update seen tags with tags from this instance\n var keys = Object.keys(instanceSeenTags);\n for (var i = 0; i < keys.length; i++) {\n var attributeKey = keys[i];\n var tagUnion = objectAssign({}, approvedSeenTags[attributeKey], instanceSeenTags[attributeKey]);\n\n approvedSeenTags[attributeKey] = tagUnion;\n }\n\n return approvedTags;\n }, []).reverse();\n};\n\nvar getInnermostProperty = function getInnermostProperty(propsList, property) {\n for (var i = propsList.length - 1; i >= 0; i--) {\n var props = propsList[i];\n\n if (props.hasOwnProperty(property)) {\n return props[property];\n }\n }\n\n return null;\n};\n\nvar reducePropsToState = function reducePropsToState(propsList) {\n return {\n baseTag: getBaseTagFromPropsList([TAG_PROPERTIES.HREF, TAG_PROPERTIES.TARGET], propsList),\n bodyAttributes: getAttributesFromPropsList(ATTRIBUTE_NAMES.BODY, propsList),\n defer: getInnermostProperty(propsList, HELMET_PROPS.DEFER),\n encode: getInnermostProperty(propsList, HELMET_PROPS.ENCODE_SPECIAL_CHARACTERS),\n htmlAttributes: getAttributesFromPropsList(ATTRIBUTE_NAMES.HTML, propsList),\n linkTags: getTagsFromPropsList(TAG_NAMES.LINK, [TAG_PROPERTIES.REL, TAG_PROPERTIES.HREF], propsList),\n metaTags: getTagsFromPropsList(TAG_NAMES.META, [TAG_PROPERTIES.NAME, TAG_PROPERTIES.CHARSET, TAG_PROPERTIES.HTTPEQUIV, TAG_PROPERTIES.PROPERTY, TAG_PROPERTIES.ITEM_PROP], propsList),\n noscriptTags: getTagsFromPropsList(TAG_NAMES.NOSCRIPT, [TAG_PROPERTIES.INNER_HTML], propsList),\n onChangeClientState: getOnChangeClientState(propsList),\n scriptTags: getTagsFromPropsList(TAG_NAMES.SCRIPT, [TAG_PROPERTIES.SRC, TAG_PROPERTIES.INNER_HTML], propsList),\n styleTags: getTagsFromPropsList(TAG_NAMES.STYLE, [TAG_PROPERTIES.CSS_TEXT], propsList),\n title: getTitleFromPropsList(propsList),\n titleAttributes: getAttributesFromPropsList(ATTRIBUTE_NAMES.TITLE, propsList)\n };\n};\n\nvar rafPolyfill = function () {\n var clock = Date.now();\n\n return function (callback) {\n var currentTime = Date.now();\n\n if (currentTime - clock > 16) {\n clock = currentTime;\n callback(currentTime);\n } else {\n setTimeout(function () {\n rafPolyfill(callback);\n }, 0);\n }\n };\n}();\n\nvar cafPolyfill = function cafPolyfill(id) {\n return clearTimeout(id);\n};\n\nvar requestAnimationFrame = typeof window !== \"undefined\" ? window.requestAnimationFrame && window.requestAnimationFrame.bind(window) || window.webkitRequestAnimationFrame || window.mozRequestAnimationFrame || rafPolyfill : global.requestAnimationFrame || rafPolyfill;\n\nvar cancelAnimationFrame = typeof window !== \"undefined\" ? window.cancelAnimationFrame || window.webkitCancelAnimationFrame || window.mozCancelAnimationFrame || cafPolyfill : global.cancelAnimationFrame || cafPolyfill;\n\nvar warn = function warn(msg) {\n return console && typeof console.warn === \"function\" && console.warn(msg);\n};\n\nvar _helmetCallback = null;\n\nvar handleClientStateChange = function handleClientStateChange(newState) {\n if (_helmetCallback) {\n cancelAnimationFrame(_helmetCallback);\n }\n\n if (newState.defer) {\n _helmetCallback = requestAnimationFrame(function () {\n commitTagChanges(newState, function () {\n _helmetCallback = null;\n });\n });\n } else {\n commitTagChanges(newState);\n _helmetCallback = null;\n }\n};\n\nvar commitTagChanges = function commitTagChanges(newState, cb) {\n var baseTag = newState.baseTag,\n bodyAttributes = newState.bodyAttributes,\n htmlAttributes = newState.htmlAttributes,\n linkTags = newState.linkTags,\n metaTags = newState.metaTags,\n noscriptTags = newState.noscriptTags,\n onChangeClientState = newState.onChangeClientState,\n scriptTags = newState.scriptTags,\n styleTags = newState.styleTags,\n title = newState.title,\n titleAttributes = newState.titleAttributes;\n\n updateAttributes(TAG_NAMES.BODY, bodyAttributes);\n updateAttributes(TAG_NAMES.HTML, htmlAttributes);\n\n updateTitle(title, titleAttributes);\n\n var tagUpdates = {\n baseTag: updateTags(TAG_NAMES.BASE, baseTag),\n linkTags: updateTags(TAG_NAMES.LINK, linkTags),\n metaTags: updateTags(TAG_NAMES.META, metaTags),\n noscriptTags: updateTags(TAG_NAMES.NOSCRIPT, noscriptTags),\n scriptTags: updateTags(TAG_NAMES.SCRIPT, scriptTags),\n styleTags: updateTags(TAG_NAMES.STYLE, styleTags)\n };\n\n var addedTags = {};\n var removedTags = {};\n\n Object.keys(tagUpdates).forEach(function (tagType) {\n var _tagUpdates$tagType = tagUpdates[tagType],\n newTags = _tagUpdates$tagType.newTags,\n oldTags = _tagUpdates$tagType.oldTags;\n\n\n if (newTags.length) {\n addedTags[tagType] = newTags;\n }\n if (oldTags.length) {\n removedTags[tagType] = tagUpdates[tagType].oldTags;\n }\n });\n\n cb && cb();\n\n onChangeClientState(newState, addedTags, removedTags);\n};\n\nvar flattenArray = function flattenArray(possibleArray) {\n return Array.isArray(possibleArray) ? possibleArray.join(\"\") : possibleArray;\n};\n\nvar updateTitle = function updateTitle(title, attributes) {\n if (typeof title !== \"undefined\" && document.title !== title) {\n document.title = flattenArray(title);\n }\n\n updateAttributes(TAG_NAMES.TITLE, attributes);\n};\n\nvar updateAttributes = function updateAttributes(tagName, attributes) {\n var elementTag = document.getElementsByTagName(tagName)[0];\n\n if (!elementTag) {\n return;\n }\n\n var helmetAttributeString = elementTag.getAttribute(HELMET_ATTRIBUTE);\n var helmetAttributes = helmetAttributeString ? helmetAttributeString.split(\",\") : [];\n var attributesToRemove = [].concat(helmetAttributes);\n var attributeKeys = Object.keys(attributes);\n\n for (var i = 0; i < attributeKeys.length; i++) {\n var attribute = attributeKeys[i];\n var value = attributes[attribute] || \"\";\n\n if (elementTag.getAttribute(attribute) !== value) {\n elementTag.setAttribute(attribute, value);\n }\n\n if (helmetAttributes.indexOf(attribute) === -1) {\n helmetAttributes.push(attribute);\n }\n\n var indexToSave = attributesToRemove.indexOf(attribute);\n if (indexToSave !== -1) {\n attributesToRemove.splice(indexToSave, 1);\n }\n }\n\n for (var _i = attributesToRemove.length - 1; _i >= 0; _i--) {\n elementTag.removeAttribute(attributesToRemove[_i]);\n }\n\n if (helmetAttributes.length === attributesToRemove.length) {\n elementTag.removeAttribute(HELMET_ATTRIBUTE);\n } else if (elementTag.getAttribute(HELMET_ATTRIBUTE) !== attributeKeys.join(\",\")) {\n elementTag.setAttribute(HELMET_ATTRIBUTE, attributeKeys.join(\",\"));\n }\n};\n\nvar updateTags = function updateTags(type, tags) {\n var headElement = document.head || document.querySelector(TAG_NAMES.HEAD);\n var tagNodes = headElement.querySelectorAll(type + \"[\" + HELMET_ATTRIBUTE + \"]\");\n var oldTags = Array.prototype.slice.call(tagNodes);\n var newTags = [];\n var indexToDelete = void 0;\n\n if (tags && tags.length) {\n tags.forEach(function (tag) {\n var newElement = document.createElement(type);\n\n for (var attribute in tag) {\n if (tag.hasOwnProperty(attribute)) {\n if (attribute === TAG_PROPERTIES.INNER_HTML) {\n newElement.innerHTML = tag.innerHTML;\n } else if (attribute === TAG_PROPERTIES.CSS_TEXT) {\n if (newElement.styleSheet) {\n newElement.styleSheet.cssText = tag.cssText;\n } else {\n newElement.appendChild(document.createTextNode(tag.cssText));\n }\n } else {\n var value = typeof tag[attribute] === \"undefined\" ? \"\" : tag[attribute];\n newElement.setAttribute(attribute, value);\n }\n }\n }\n\n newElement.setAttribute(HELMET_ATTRIBUTE, \"true\");\n\n // Remove a duplicate tag from domTagstoRemove, so it isn't cleared.\n if (oldTags.some(function (existingTag, index) {\n indexToDelete = index;\n return newElement.isEqualNode(existingTag);\n })) {\n oldTags.splice(indexToDelete, 1);\n } else {\n newTags.push(newElement);\n }\n });\n }\n\n oldTags.forEach(function (tag) {\n return tag.parentNode.removeChild(tag);\n });\n newTags.forEach(function (tag) {\n return headElement.appendChild(tag);\n });\n\n return {\n oldTags: oldTags,\n newTags: newTags\n };\n};\n\nvar generateElementAttributesAsString = function generateElementAttributesAsString(attributes) {\n return Object.keys(attributes).reduce(function (str, key) {\n var attr = typeof attributes[key] !== \"undefined\" ? key + \"=\\\"\" + attributes[key] + \"\\\"\" : \"\" + key;\n return str ? str + \" \" + attr : attr;\n }, \"\");\n};\n\nvar generateTitleAsString = function generateTitleAsString(type, title, attributes, encode) {\n var attributeString = generateElementAttributesAsString(attributes);\n var flattenedTitle = flattenArray(title);\n return attributeString ? \"<\" + type + \" \" + HELMET_ATTRIBUTE + \"=\\\"true\\\" \" + attributeString + \">\" + encodeSpecialCharacters(flattenedTitle, encode) + \"</\" + type + \">\" : \"<\" + type + \" \" + HELMET_ATTRIBUTE + \"=\\\"true\\\">\" + encodeSpecialCharacters(flattenedTitle, encode) + \"</\" + type + \">\";\n};\n\nvar generateTagsAsString = function generateTagsAsString(type, tags, encode) {\n return tags.reduce(function (str, tag) {\n var attributeHtml = Object.keys(tag).filter(function (attribute) {\n return !(attribute === TAG_PROPERTIES.INNER_HTML || attribute === TAG_PROPERTIES.CSS_TEXT);\n }).reduce(function (string, attribute) {\n var attr = typeof tag[attribute] === \"undefined\" ? attribute : attribute + \"=\\\"\" + encodeSpecialCharacters(tag[attribute], encode) + \"\\\"\";\n return string ? string + \" \" + attr : attr;\n }, \"\");\n\n var tagContent = tag.innerHTML || tag.cssText || \"\";\n\n var isSelfClosing = SELF_CLOSING_TAGS.indexOf(type) === -1;\n\n return str + \"<\" + type + \" \" + HELMET_ATTRIBUTE + \"=\\\"true\\\" \" + attributeHtml + (isSelfClosing ? \"/>\" : \">\" + tagContent + \"</\" + type + \">\");\n }, \"\");\n};\n\nvar convertElementAttributestoReactProps = function convertElementAttributestoReactProps(attributes) {\n var initProps = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n\n return Object.keys(attributes).reduce(function (obj, key) {\n obj[REACT_TAG_MAP[key] || key] = attributes[key];\n return obj;\n }, initProps);\n};\n\nvar convertReactPropstoHtmlAttributes = function convertReactPropstoHtmlAttributes(props) {\n var initAttributes = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n\n return Object.keys(props).reduce(function (obj, key) {\n obj[HTML_TAG_MAP[key] || key] = props[key];\n return obj;\n }, initAttributes);\n};\n\nvar generateTitleAsReactComponent = function generateTitleAsReactComponent(type, title, attributes) {\n var _initProps;\n\n // assigning into an array to define toString function on it\n var initProps = (_initProps = {\n key: title\n }, _initProps[HELMET_ATTRIBUTE] = true, _initProps);\n var props = convertElementAttributestoReactProps(attributes, initProps);\n\n return [React.createElement(TAG_NAMES.TITLE, props, title)];\n};\n\nvar generateTagsAsReactComponent = function generateTagsAsReactComponent(type, tags) {\n return tags.map(function (tag, i) {\n var _mappedTag;\n\n var mappedTag = (_mappedTag = {\n key: i\n }, _mappedTag[HELMET_ATTRIBUTE] = true, _mappedTag);\n\n Object.keys(tag).forEach(function (attribute) {\n var mappedAttribute = REACT_TAG_MAP[attribute] || attribute;\n\n if (mappedAttribute === TAG_PROPERTIES.INNER_HTML || mappedAttribute === TAG_PROPERTIES.CSS_TEXT) {\n var content = tag.innerHTML || tag.cssText;\n mappedTag.dangerouslySetInnerHTML = { __html: content };\n } else {\n mappedTag[mappedAttribute] = tag[attribute];\n }\n });\n\n return React.createElement(type, mappedTag);\n });\n};\n\nvar getMethodsForTag = function getMethodsForTag(type, tags, encode) {\n switch (type) {\n case TAG_NAMES.TITLE:\n return {\n toComponent: function toComponent() {\n return generateTitleAsReactComponent(type, tags.title, tags.titleAttributes, encode);\n },\n toString: function toString() {\n return generateTitleAsString(type, tags.title, tags.titleAttributes, encode);\n }\n };\n case ATTRIBUTE_NAMES.BODY:\n case ATTRIBUTE_NAMES.HTML:\n return {\n toComponent: function toComponent() {\n return convertElementAttributestoReactProps(tags);\n },\n toString: function toString() {\n return generateElementAttributesAsString(tags);\n }\n };\n default:\n return {\n toComponent: function toComponent() {\n return generateTagsAsReactComponent(type, tags);\n },\n toString: function toString() {\n return generateTagsAsString(type, tags, encode);\n }\n };\n }\n};\n\nvar mapStateOnServer = function mapStateOnServer(_ref) {\n var baseTag = _ref.baseTag,\n bodyAttributes = _ref.bodyAttributes,\n encode = _ref.encode,\n htmlAttributes = _ref.htmlAttributes,\n linkTags = _ref.linkTags,\n metaTags = _ref.metaTags,\n noscriptTags = _ref.noscriptTags,\n scriptTags = _ref.scriptTags,\n styleTags = _ref.styleTags,\n _ref$title = _ref.title,\n title = _ref$title === undefined ? \"\" : _ref$title,\n titleAttributes = _ref.titleAttributes;\n return {\n base: getMethodsForTag(TAG_NAMES.BASE, baseTag, encode),\n bodyAttributes: getMethodsForTag(ATTRIBUTE_NAMES.BODY, bodyAttributes, encode),\n htmlAttributes: getMethodsForTag(ATTRIBUTE_NAMES.HTML, htmlAttributes, encode),\n link: getMethodsForTag(TAG_NAMES.LINK, linkTags, encode),\n meta: getMethodsForTag(TAG_NAMES.META, metaTags, encode),\n noscript: getMethodsForTag(TAG_NAMES.NOSCRIPT, noscriptTags, encode),\n script: getMethodsForTag(TAG_NAMES.SCRIPT, scriptTags, encode),\n style: getMethodsForTag(TAG_NAMES.STYLE, styleTags, encode),\n title: getMethodsForTag(TAG_NAMES.TITLE, { title: title, titleAttributes: titleAttributes }, encode)\n };\n};\n\nvar Helmet = function Helmet(Component) {\n var _class, _temp;\n\n return _temp = _class = function (_React$Component) {\n inherits(HelmetWrapper, _React$Component);\n\n function HelmetWrapper() {\n classCallCheck(this, HelmetWrapper);\n return possibleConstructorReturn(this, _React$Component.apply(this, arguments));\n }\n\n HelmetWrapper.prototype.shouldComponentUpdate = function shouldComponentUpdate(nextProps) {\n return !isEqual(this.props, nextProps);\n };\n\n HelmetWrapper.prototype.mapNestedChildrenToProps = function mapNestedChildrenToProps(child, nestedChildren) {\n if (!nestedChildren) {\n return null;\n }\n\n switch (child.type) {\n case TAG_NAMES.SCRIPT:\n case TAG_NAMES.NOSCRIPT:\n return {\n innerHTML: nestedChildren\n };\n\n case TAG_NAMES.STYLE:\n return {\n cssText: nestedChildren\n };\n }\n\n throw new Error(\"<\" + child.type + \" /> elements are self-closing and can not contain children. Refer to our API for more information.\");\n };\n\n HelmetWrapper.prototype.flattenArrayTypeChildren = function flattenArrayTypeChildren(_ref) {\n var _babelHelpers$extends;\n\n var child = _ref.child,\n arrayTypeChildren = _ref.arrayTypeChildren,\n newChildProps = _ref.newChildProps,\n nestedChildren = _ref.nestedChildren;\n\n return _extends({}, arrayTypeChildren, (_babelHelpers$extends = {}, _babelHelpers$extends[child.type] = [].concat(arrayTypeChildren[child.type] || [], [_extends({}, newChildProps, this.mapNestedChildrenToProps(child, nestedChildren))]), _babelHelpers$extends));\n };\n\n HelmetWrapper.prototype.mapObjectTypeChildren = function mapObjectTypeChildren(_ref2) {\n var _babelHelpers$extends2, _babelHelpers$extends3;\n\n var child = _ref2.child,\n newProps = _ref2.newProps,\n newChildProps = _ref2.newChildProps,\n nestedChildren = _ref2.nestedChildren;\n\n switch (child.type) {\n case TAG_NAMES.TITLE:\n return _extends({}, newProps, (_babelHelpers$extends2 = {}, _babelHelpers$extends2[child.type] = nestedChildren, _babelHelpers$extends2.titleAttributes = _extends({}, newChildProps), _babelHelpers$extends2));\n\n case TAG_NAMES.BODY:\n return _extends({}, newProps, {\n bodyAttributes: _extends({}, newChildProps)\n });\n\n case TAG_NAMES.HTML:\n return _extends({}, newProps, {\n htmlAttributes: _extends({}, newChildProps)\n });\n }\n\n return _extends({}, newProps, (_babelHelpers$extends3 = {}, _babelHelpers$extends3[child.type] = _extends({}, newChildProps), _babelHelpers$extends3));\n };\n\n HelmetWrapper.prototype.mapArrayTypeChildrenToProps = function mapArrayTypeChildrenToProps(arrayTypeChildren, newProps) {\n var newFlattenedProps = _extends({}, newProps);\n\n Object.keys(arrayTypeChildren).forEach(function (arrayChildName) {\n var _babelHelpers$extends4;\n\n newFlattenedProps = _extends({}, newFlattenedProps, (_babelHelpers$extends4 = {}, _babelHelpers$extends4[arrayChildName] = arrayTypeChildren[arrayChildName], _babelHelpers$extends4));\n });\n\n return newFlattenedProps;\n };\n\n HelmetWrapper.prototype.warnOnInvalidChildren = function warnOnInvalidChildren(child, nestedChildren) {\n if (process.env.NODE_ENV !== \"production\") {\n if (!VALID_TAG_NAMES.some(function (name) {\n return child.type === name;\n })) {\n if (typeof child.type === \"function\") {\n return warn(\"You may be attempting to nest <Helmet> components within each other, which is not allowed. Refer to our API for more information.\");\n }\n\n return warn(\"Only elements types \" + VALID_TAG_NAMES.join(\", \") + \" are allowed. Helmet does not support rendering <\" + child.type + \"> elements. Refer to our API for more information.\");\n }\n\n if (nestedChildren && typeof nestedChildren !== \"string\" && (!Array.isArray(nestedChildren) || nestedChildren.some(function (nestedChild) {\n return typeof nestedChild !== \"string\";\n }))) {\n throw new Error(\"Helmet expects a string as a child of <\" + child.type + \">. Did you forget to wrap your children in braces? ( <\" + child.type + \">{``}</\" + child.type + \"> ) Refer to our API for more information.\");\n }\n }\n\n return true;\n };\n\n HelmetWrapper.prototype.mapChildrenToProps = function mapChildrenToProps(children, newProps) {\n var _this2 = this;\n\n var arrayTypeChildren = {};\n\n React.Children.forEach(children, function (child) {\n if (!child || !child.props) {\n return;\n }\n\n var _child$props = child.props,\n nestedChildren = _child$props.children,\n childProps = objectWithoutProperties(_child$props, [\"children\"]);\n\n var newChildProps = convertReactPropstoHtmlAttributes(childProps);\n\n _this2.warnOnInvalidChildren(child, nestedChildren);\n\n switch (child.type) {\n case TAG_NAMES.LINK:\n case TAG_NAMES.META:\n case TAG_NAMES.NOSCRIPT:\n case TAG_NAMES.SCRIPT:\n case TAG_NAMES.STYLE:\n arrayTypeChildren = _this2.flattenArrayTypeChildren({\n child: child,\n arrayTypeChildren: arrayTypeChildren,\n newChildProps: newChildProps,\n nestedChildren: nestedChildren\n });\n break;\n\n default:\n newProps = _this2.mapObjectTypeChildren({\n child: child,\n newProps: newProps,\n newChildProps: newChildProps,\n nestedChildren: nestedChildren\n });\n break;\n }\n });\n\n newProps = this.mapArrayTypeChildrenToProps(arrayTypeChildren, newProps);\n return newProps;\n };\n\n HelmetWrapper.prototype.render = function render() {\n var _props = this.props,\n children = _props.children,\n props = objectWithoutProperties(_props, [\"children\"]);\n\n var newProps = _extends({}, props);\n\n if (children) {\n newProps = this.mapChildrenToProps(children, newProps);\n }\n\n return React.createElement(Component, newProps);\n };\n\n createClass(HelmetWrapper, null, [{\n key: \"canUseDOM\",\n\n\n // Component.peek comes from react-side-effect:\n // For testing, you may use a static peek() method available on the returned component.\n // It lets you get the current state without resetting the mounted instance stack.\n // Don’t use it for anything other than testing.\n\n /**\n * @param {Object} base: {\"target\": \"_blank\", \"href\": \"http://mysite.com/\"}\n * @param {Object} bodyAttributes: {\"className\": \"root\"}\n * @param {String} defaultTitle: \"Default Title\"\n * @param {Boolean} defer: true\n * @param {Boolean} encodeSpecialCharacters: true\n * @param {Object} htmlAttributes: {\"lang\": \"en\", \"amp\": undefined}\n * @param {Array} link: [{\"rel\": \"canonical\", \"href\": \"http://mysite.com/example\"}]\n * @param {Array} meta: [{\"name\": \"description\", \"content\": \"Test description\"}]\n * @param {Array} noscript: [{\"innerHTML\": \"<img src='http://mysite.com/js/test.js'\"}]\n * @param {Function} onChangeClientState: \"(newState) => console.log(newState)\"\n * @param {Array} script: [{\"type\": \"text/javascript\", \"src\": \"http://mysite.com/js/test.js\"}]\n * @param {Array} style: [{\"type\": \"text/css\", \"cssText\": \"div { display: block; color: blue; }\"}]\n * @param {String} title: \"Title\"\n * @param {Object} titleAttributes: {\"itemprop\": \"name\"}\n * @param {String} titleTemplate: \"MySite.com - %s\"\n */\n set: function set$$1(canUseDOM) {\n Component.canUseDOM = canUseDOM;\n }\n }]);\n return HelmetWrapper;\n }(React.Component), _class.propTypes = {\n base: PropTypes.object,\n bodyAttributes: PropTypes.object,\n children: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.node), PropTypes.node]),\n defaultTitle: PropTypes.string,\n defer: PropTypes.bool,\n encodeSpecialCharacters: PropTypes.bool,\n htmlAttributes: PropTypes.object,\n link: PropTypes.arrayOf(PropTypes.object),\n meta: PropTypes.arrayOf(PropTypes.object),\n noscript: PropTypes.arrayOf(PropTypes.object),\n onChangeClientState: PropTypes.func,\n script: PropTypes.arrayOf(PropTypes.object),\n style: PropTypes.arrayOf(PropTypes.object),\n title: PropTypes.string,\n titleAttributes: PropTypes.object,\n titleTemplate: PropTypes.string\n }, _class.defaultProps = {\n defer: true,\n encodeSpecialCharacters: true\n }, _class.peek = Component.peek, _class.rewind = function () {\n var mappedState = Component.rewind();\n if (!mappedState) {\n // provide fallback if mappedState is undefined\n mappedState = mapStateOnServer({\n baseTag: [],\n bodyAttributes: {},\n encodeSpecialCharacters: true,\n htmlAttributes: {},\n linkTags: [],\n metaTags: [],\n noscriptTags: [],\n scriptTags: [],\n styleTags: [],\n title: \"\",\n titleAttributes: {}\n });\n }\n\n return mappedState;\n }, _temp;\n};\n\nvar NullComponent = function NullComponent() {\n return null;\n};\n\nvar HelmetSideEffects = withSideEffect(reducePropsToState, handleClientStateChange, mapStateOnServer)(NullComponent);\n\nvar HelmetExport = Helmet(HelmetSideEffects);\nHelmetExport.renderStatic = HelmetExport.rewind;\n\nexport default HelmetExport;\nexport { HelmetExport as Helmet };\n","'use strict';\n\nfunction _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }\n\nvar React = require('react');\nvar React__default = _interopDefault(React);\n\nfunction _defineProperty(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n\n return obj;\n}\n\nfunction _inheritsLoose(subClass, superClass) {\n subClass.prototype = Object.create(superClass.prototype);\n subClass.prototype.constructor = subClass;\n subClass.__proto__ = superClass;\n}\n\nvar canUseDOM = !!(typeof window !== 'undefined' && window.document && window.document.createElement);\nfunction withSideEffect(reducePropsToState, handleStateChangeOnClient, mapStateOnServer) {\n if (typeof reducePropsToState !== 'function') {\n throw new Error('Expected reducePropsToState to be a function.');\n }\n\n if (typeof handleStateChangeOnClient !== 'function') {\n throw new Error('Expected handleStateChangeOnClient to be a function.');\n }\n\n if (typeof mapStateOnServer !== 'undefined' && typeof mapStateOnServer !== 'function') {\n throw new Error('Expected mapStateOnServer to either be undefined or a function.');\n }\n\n function getDisplayName(WrappedComponent) {\n return WrappedComponent.displayName || WrappedComponent.name || 'Component';\n }\n\n return function wrap(WrappedComponent) {\n if (typeof WrappedComponent !== 'function') {\n throw new Error('Expected WrappedComponent to be a React component.');\n }\n\n var mountedInstances = [];\n var state;\n\n function emitChange() {\n state = reducePropsToState(mountedInstances.map(function (instance) {\n return instance.props;\n }));\n\n if (SideEffect.canUseDOM) {\n handleStateChangeOnClient(state);\n } else if (mapStateOnServer) {\n state = mapStateOnServer(state);\n }\n }\n\n var SideEffect =\n /*#__PURE__*/\n function (_PureComponent) {\n _inheritsLoose(SideEffect, _PureComponent);\n\n function SideEffect() {\n return _PureComponent.apply(this, arguments) || this;\n }\n\n // Try to use displayName of wrapped component\n // Expose canUseDOM so tests can monkeypatch it\n SideEffect.peek = function peek() {\n return state;\n };\n\n SideEffect.rewind = function rewind() {\n if (SideEffect.canUseDOM) {\n throw new Error('You may only call rewind() on the server. Call peek() to read the current state.');\n }\n\n var recordedState = state;\n state = undefined;\n mountedInstances = [];\n return recordedState;\n };\n\n var _proto = SideEffect.prototype;\n\n _proto.UNSAFE_componentWillMount = function UNSAFE_componentWillMount() {\n mountedInstances.push(this);\n emitChange();\n };\n\n _proto.componentDidUpdate = function componentDidUpdate() {\n emitChange();\n };\n\n _proto.componentWillUnmount = function componentWillUnmount() {\n var index = mountedInstances.indexOf(this);\n mountedInstances.splice(index, 1);\n emitChange();\n };\n\n _proto.render = function render() {\n return React__default.createElement(WrappedComponent, this.props);\n };\n\n return SideEffect;\n }(React.PureComponent);\n\n _defineProperty(SideEffect, \"displayName\", \"SideEffect(\" + getDisplayName(WrappedComponent) + \")\");\n\n _defineProperty(SideEffect, \"canUseDOM\", canUseDOM);\n\n return SideEffect;\n };\n}\n\nmodule.exports = withSideEffect;\n","/**\n * @license React\n * react-jsx-runtime.development.js\n *\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n\"use strict\";\n\"production\" !== process.env.NODE_ENV &&\n (function () {\n function getComponentNameFromType(type) {\n if (null == type) return null;\n if (\"function\" === typeof type)\n return type.$$typeof === REACT_CLIENT_REFERENCE\n ? null\n : type.displayName || type.name || null;\n if (\"string\" === typeof type) return type;\n switch (type) {\n case REACT_FRAGMENT_TYPE:\n return \"Fragment\";\n case REACT_PROFILER_TYPE:\n return \"Profiler\";\n case REACT_STRICT_MODE_TYPE:\n return \"StrictMode\";\n case REACT_SUSPENSE_TYPE:\n return \"Suspense\";\n case REACT_SUSPENSE_LIST_TYPE:\n return \"SuspenseList\";\n case REACT_ACTIVITY_TYPE:\n return \"Activity\";\n }\n if (\"object\" === typeof type)\n switch (\n (\"number\" === typeof type.tag &&\n console.error(\n \"Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue.\"\n ),\n type.$$typeof)\n ) {\n case REACT_PORTAL_TYPE:\n return \"Portal\";\n case REACT_CONTEXT_TYPE:\n return type.displayName || \"Context\";\n case REACT_CONSUMER_TYPE:\n return (type._context.displayName || \"Context\") + \".Consumer\";\n case REACT_FORWARD_REF_TYPE:\n var innerType = type.render;\n type = type.displayName;\n type ||\n ((type = innerType.displayName || innerType.name || \"\"),\n (type = \"\" !== type ? \"ForwardRef(\" + type + \")\" : \"ForwardRef\"));\n return type;\n case REACT_MEMO_TYPE:\n return (\n (innerType = type.displayName || null),\n null !== innerType\n ? innerType\n : getComponentNameFromType(type.type) || \"Memo\"\n );\n case REACT_LAZY_TYPE:\n innerType = type._payload;\n type = type._init;\n try {\n return getComponentNameFromType(type(innerType));\n } catch (x) {}\n }\n return null;\n }\n function testStringCoercion(value) {\n return \"\" + value;\n }\n function checkKeyStringCoercion(value) {\n try {\n testStringCoercion(value);\n var JSCompiler_inline_result = !1;\n } catch (e) {\n JSCompiler_inline_result = !0;\n }\n if (JSCompiler_inline_result) {\n JSCompiler_inline_result = console;\n var JSCompiler_temp_const = JSCompiler_inline_result.error;\n var JSCompiler_inline_result$jscomp$0 =\n (\"function\" === typeof Symbol &&\n Symbol.toStringTag &&\n value[Symbol.toStringTag]) ||\n value.constructor.name ||\n \"Object\";\n JSCompiler_temp_const.call(\n JSCompiler_inline_result,\n \"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.\",\n JSCompiler_inline_result$jscomp$0\n );\n return testStringCoercion(value);\n }\n }\n function getTaskName(type) {\n if (type === REACT_FRAGMENT_TYPE) return \"<>\";\n if (\n \"object\" === typeof type &&\n null !== type &&\n type.$$typeof === REACT_LAZY_TYPE\n )\n return \"<...>\";\n try {\n var name = getComponentNameFromType(type);\n return name ? \"<\" + name + \">\" : \"<...>\";\n } catch (x) {\n return \"<...>\";\n }\n }\n function getOwner() {\n var dispatcher = ReactSharedInternals.A;\n return null === dispatcher ? null : dispatcher.getOwner();\n }\n function UnknownOwner() {\n return Error(\"react-stack-top-frame\");\n }\n function hasValidKey(config) {\n if (hasOwnProperty.call(config, \"key\")) {\n var getter = Object.getOwnPropertyDescriptor(config, \"key\").get;\n if (getter && getter.isReactWarning) return !1;\n }\n return void 0 !== config.key;\n }\n function defineKeyPropWarningGetter(props, displayName) {\n function warnAboutAccessingKey() {\n specialPropKeyWarningShown ||\n ((specialPropKeyWarningShown = !0),\n console.error(\n \"%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)\",\n displayName\n ));\n }\n warnAboutAccessingKey.isReactWarning = !0;\n Object.defineProperty(props, \"key\", {\n get: warnAboutAccessingKey,\n configurable: !0\n });\n }\n function elementRefGetterWithDeprecationWarning() {\n var componentName = getComponentNameFromType(this.type);\n didWarnAboutElementRef[componentName] ||\n ((didWarnAboutElementRef[componentName] = !0),\n console.error(\n \"Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.\"\n ));\n componentName = this.props.ref;\n return void 0 !== componentName ? componentName : null;\n }\n function ReactElement(type, key, props, owner, debugStack, debugTask) {\n var refProp = props.ref;\n type = {\n $$typeof: REACT_ELEMENT_TYPE,\n type: type,\n key: key,\n props: props,\n _owner: owner\n };\n null !== (void 0 !== refProp ? refProp : null)\n ? Object.defineProperty(type, \"ref\", {\n enumerable: !1,\n get: elementRefGetterWithDeprecationWarning\n })\n : Object.defineProperty(type, \"ref\", { enumerable: !1, value: null });\n type._store = {};\n Object.defineProperty(type._store, \"validated\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: 0\n });\n Object.defineProperty(type, \"_debugInfo\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: null\n });\n Object.defineProperty(type, \"_debugStack\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: debugStack\n });\n Object.defineProperty(type, \"_debugTask\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: debugTask\n });\n Object.freeze && (Object.freeze(type.props), Object.freeze(type));\n return type;\n }\n function jsxDEVImpl(\n type,\n config,\n maybeKey,\n isStaticChildren,\n debugStack,\n debugTask\n ) {\n var children = config.children;\n if (void 0 !== children)\n if (isStaticChildren)\n if (isArrayImpl(children)) {\n for (\n isStaticChildren = 0;\n isStaticChildren < children.length;\n isStaticChildren++\n )\n validateChildKeys(children[isStaticChildren]);\n Object.freeze && Object.freeze(children);\n } else\n console.error(\n \"React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.\"\n );\n else validateChildKeys(children);\n if (hasOwnProperty.call(config, \"key\")) {\n children = getComponentNameFromType(type);\n var keys = Object.keys(config).filter(function (k) {\n return \"key\" !== k;\n });\n isStaticChildren =\n 0 < keys.length\n ? \"{key: someKey, \" + keys.join(\": ..., \") + \": ...}\"\n : \"{key: someKey}\";\n didWarnAboutKeySpread[children + isStaticChildren] ||\n ((keys =\n 0 < keys.length ? \"{\" + keys.join(\": ..., \") + \": ...}\" : \"{}\"),\n console.error(\n 'A props object containing a \"key\" prop is being spread into JSX:\\n let props = %s;\\n <%s {...props} />\\nReact keys must be passed directly to JSX without using spread:\\n let props = %s;\\n <%s key={someKey} {...props} />',\n isStaticChildren,\n children,\n keys,\n children\n ),\n (didWarnAboutKeySpread[children + isStaticChildren] = !0));\n }\n children = null;\n void 0 !== maybeKey &&\n (checkKeyStringCoercion(maybeKey), (children = \"\" + maybeKey));\n hasValidKey(config) &&\n (checkKeyStringCoercion(config.key), (children = \"\" + config.key));\n if (\"key\" in config) {\n maybeKey = {};\n for (var propName in config)\n \"key\" !== propName && (maybeKey[propName] = config[propName]);\n } else maybeKey = config;\n children &&\n defineKeyPropWarningGetter(\n maybeKey,\n \"function\" === typeof type\n ? type.displayName || type.name || \"Unknown\"\n : type\n );\n return ReactElement(\n type,\n children,\n maybeKey,\n getOwner(),\n debugStack,\n debugTask\n );\n }\n function validateChildKeys(node) {\n isValidElement(node)\n ? node._store && (node._store.validated = 1)\n : \"object\" === typeof node &&\n null !== node &&\n node.$$typeof === REACT_LAZY_TYPE &&\n (\"fulfilled\" === node._payload.status\n ? isValidElement(node._payload.value) &&\n node._payload.value._store &&\n (node._payload.value._store.validated = 1)\n : node._store && (node._store.validated = 1));\n }\n function isValidElement(object) {\n return (\n \"object\" === typeof object &&\n null !== object &&\n object.$$typeof === REACT_ELEMENT_TYPE\n );\n }\n var React = require(\"react\"),\n REACT_ELEMENT_TYPE = Symbol.for(\"react.transitional.element\"),\n REACT_PORTAL_TYPE = Symbol.for(\"react.portal\"),\n REACT_FRAGMENT_TYPE = Symbol.for(\"react.fragment\"),\n REACT_STRICT_MODE_TYPE = Symbol.for(\"react.strict_mode\"),\n REACT_PROFILER_TYPE = Symbol.for(\"react.profiler\"),\n REACT_CONSUMER_TYPE = Symbol.for(\"react.consumer\"),\n REACT_CONTEXT_TYPE = Symbol.for(\"react.context\"),\n REACT_FORWARD_REF_TYPE = Symbol.for(\"react.forward_ref\"),\n REACT_SUSPENSE_TYPE = Symbol.for(\"react.suspense\"),\n REACT_SUSPENSE_LIST_TYPE = Symbol.for(\"react.suspense_list\"),\n REACT_MEMO_TYPE = Symbol.for(\"react.memo\"),\n REACT_LAZY_TYPE = Symbol.for(\"react.lazy\"),\n REACT_ACTIVITY_TYPE = Symbol.for(\"react.activity\"),\n REACT_CLIENT_REFERENCE = Symbol.for(\"react.client.reference\"),\n ReactSharedInternals =\n React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,\n hasOwnProperty = Object.prototype.hasOwnProperty,\n isArrayImpl = Array.isArray,\n createTask = console.createTask\n ? console.createTask\n : function () {\n return null;\n };\n React = {\n react_stack_bottom_frame: function (callStackForError) {\n return callStackForError();\n }\n };\n var specialPropKeyWarningShown;\n var didWarnAboutElementRef = {};\n var unknownOwnerDebugStack = React.react_stack_bottom_frame.bind(\n React,\n UnknownOwner\n )();\n var unknownOwnerDebugTask = createTask(getTaskName(UnknownOwner));\n var didWarnAboutKeySpread = {};\n exports.Fragment = REACT_FRAGMENT_TYPE;\n exports.jsx = function (type, config, maybeKey) {\n var trackActualOwner =\n 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;\n return jsxDEVImpl(\n type,\n config,\n maybeKey,\n !1,\n trackActualOwner\n ? Error(\"react-stack-top-frame\")\n : unknownOwnerDebugStack,\n trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask\n );\n };\n exports.jsxs = function (type, config, maybeKey) {\n var trackActualOwner =\n 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;\n return jsxDEVImpl(\n type,\n config,\n maybeKey,\n !0,\n trackActualOwner\n ? Error(\"react-stack-top-frame\")\n : unknownOwnerDebugStack,\n trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask\n );\n };\n })();\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react-jsx-runtime.production.js');\n} else {\n module.exports = require('./cjs/react-jsx-runtime.development.js');\n}\n","function n(n,t){(null==t||t>n.length)&&(t=n.length);for(var r=0,e=Array(t);r<t;r++)e[r]=n[r];return e}function t(t,r){var e=\"undefined\"!=typeof Symbol&&t[Symbol.iterator]||t[\"@@iterator\"];if(e)return(e=e.call(t)).next.bind(e);if(Array.isArray(t)||(e=function(t,r){if(t){if(\"string\"==typeof t)return n(t,r);var e={}.toString.call(t).slice(8,-1);return\"Object\"===e&&t.constructor&&(e=t.constructor.name),\"Map\"===e||\"Set\"===e?Array.from(t):\"Arguments\"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?n(t,r):void 0}}(t))||r&&t&&\"number\"==typeof t.length){e&&(t=e);var u=0;return function(){return u>=t.length?{done:!0}:{done:!1,value:t[u++]}}}throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\")}function r(n){return r=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},r(n)}function e(){try{var n=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(n){}return(e=function(){return!!n})()}function u(n,t){return u=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,t){return n.__proto__=t,n},u(n,t)}function i(n){var t=\"function\"==typeof Map?new Map:void 0;return i=function(n){if(null===n||!function(n){try{return-1!==Function.toString.call(n).indexOf(\"[native code]\")}catch(t){return\"function\"==typeof n}}(n))return n;if(\"function\"!=typeof n)throw new TypeError(\"Super expression must either be null or a function\");if(void 0!==t){if(t.has(n))return t.get(n);t.set(n,i)}function i(){return function(n,t,r){if(e())return Reflect.construct.apply(null,arguments);var i=[null];i.push.apply(i,t);var o=new(n.bind.apply(n,i));return r&&u(o,r.prototype),o}(n,arguments,r(this).constructor)}return i.prototype=Object.create(n.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),u(i,n)},i(n)}var o=Symbol.for(\"@ts-pattern/matcher\"),c=Symbol.for(\"@ts-pattern/isVariadic\"),a=\"@ts-pattern/anonymous-select-key\",f=function(n){return Boolean(n&&\"object\"==typeof n)},l=function(n){return n&&!!n[o]},s=function n(r,e,u){if(l(r)){var i=r[o]().match(e),a=i.matched,s=i.selections;return a&&s&&Object.keys(s).forEach(function(n){return u(n,s[n])}),a}if(f(r)){if(!f(e))return!1;if(Array.isArray(r)){if(!Array.isArray(e))return!1;for(var h,v=[],p=[],g=[],y=t(r.keys());!(h=y()).done;){var d=r[h.value];l(d)&&d[c]?g.push(d):g.length?p.push(d):v.push(d)}if(g.length){if(g.length>1)throw new Error(\"Pattern error: Using `...P.array(...)` several times in a single pattern is not allowed.\");if(e.length<v.length+p.length)return!1;var m=e.slice(0,v.length),b=0===p.length?[]:e.slice(-p.length),w=e.slice(v.length,0===p.length?Infinity:-p.length);return v.every(function(t,r){return n(t,m[r],u)})&&p.every(function(t,r){return n(t,b[r],u)})&&(0===g.length||n(g[0],w,u))}return r.length===e.length&&r.every(function(t,r){return n(t,e[r],u)})}return Reflect.ownKeys(r).every(function(t){var i,c=r[t];return(t in e||l(i=c)&&\"optional\"===i[o]().matcherType)&&n(c,e[t],u)})}return Object.is(e,r)},h=function n(t){var r,e,u;return f(t)?l(t)?null!=(r=null==(e=(u=t[o]()).getSelectionKeys)?void 0:e.call(u))?r:[]:Array.isArray(t)?v(t,n):v(Object.values(t),n):[]},v=function(n,t){return n.reduce(function(n,r){return n.concat(t(r))},[])};function p(){var n=[].slice.call(arguments);if(1===n.length){var t=n[0];return function(n){return s(t,n,function(){})}}if(2===n.length)return s(n[0],n[1],function(){});throw new Error(\"isMatching wasn't given the right number of arguments: expected 1 or 2, received \"+n.length+\".\")}function g(n){return Object.assign(n,{optional:function(){return d(n)},and:function(t){return O(n,t)},or:function(t){return S(n,t)},select:function(t){return void 0===t?x(n):x(t,n)}})}function y(n){return Object.assign(function(n){var t;return Object.assign(n,((t={})[Symbol.iterator]=function(){var t,r=0,e=[{value:Object.assign(n,((t={})[c]=!0,t)),done:!1},{done:!0,value:void 0}];return{next:function(){var n;return null!=(n=e[r++])?n:e.at(-1)}}},t))}(n),{optional:function(){return y(d(n))},select:function(t){return y(void 0===t?x(n):x(t,n))}})}function d(n){var t;return g(((t={})[o]=function(){return{match:function(t){var r={},e=function(n,t){r[n]=t};return void 0===t?(h(n).forEach(function(n){return e(n,void 0)}),{matched:!0,selections:r}):{matched:s(n,t,e),selections:r}},getSelectionKeys:function(){return h(n)},matcherType:\"optional\"}},t))}var m=function(n,r){for(var e,u=t(n);!(e=u()).done;)if(!r(e.value))return!1;return!0},b=function(n,r){for(var e,u=t(n.entries());!(e=u()).done;){var i=e.value;if(!r(i[1],i[0]))return!1}return!0},w=function(n,r){for(var e,u=t(Reflect.ownKeys(n));!(e=u()).done;){var i=e.value;if(!r(i,n[i]))return!1}return!0};function O(){var n,t=[].slice.call(arguments);return g(((n={})[o]=function(){return{match:function(n){var r={},e=function(n,t){r[n]=t};return{matched:t.every(function(t){return s(t,n,e)}),selections:r}},getSelectionKeys:function(){return v(t,h)},matcherType:\"and\"}},n))}function S(){var n,t=[].slice.call(arguments);return g(((n={})[o]=function(){return{match:function(n){var r={},e=function(n,t){r[n]=t};return v(t,h).forEach(function(n){return e(n,void 0)}),{matched:t.some(function(t){return s(t,n,e)}),selections:r}},getSelectionKeys:function(){return v(t,h)},matcherType:\"or\"}},n))}function j(n){var t;return(t={})[o]=function(){return{match:function(t){return{matched:Boolean(n(t))}}}},t}function x(){var n,t=[].slice.call(arguments),r=\"string\"==typeof t[0]?t[0]:void 0,e=2===t.length?t[1]:\"string\"==typeof t[0]?void 0:t[0];return g(((n={})[o]=function(){return{match:function(n){var t,u=((t={})[null!=r?r:a]=n,t);return{matched:void 0===e||s(e,n,function(n,t){u[n]=t}),selections:u}},getSelectionKeys:function(){return[null!=r?r:a].concat(void 0===e?[]:h(e))}}},n))}function A(n){return!0}function E(n){return\"number\"==typeof n}function _(n){return\"string\"==typeof n}function K(n){return\"bigint\"==typeof n}var P=g(j(A)),N=g(j(A)),T=P,B=function n(t){return Object.assign(g(t),{startsWith:function(r){return n(O(t,(e=r,j(function(n){return _(n)&&n.startsWith(e)}))));var e},endsWith:function(r){return n(O(t,(e=r,j(function(n){return _(n)&&n.endsWith(e)}))));var e},minLength:function(r){return n(O(t,function(n){return j(function(t){return _(t)&&t.length>=n})}(r)))},length:function(r){return n(O(t,function(n){return j(function(t){return _(t)&&t.length===n})}(r)))},maxLength:function(r){return n(O(t,function(n){return j(function(t){return _(t)&&t.length<=n})}(r)))},includes:function(r){return n(O(t,(e=r,j(function(n){return _(n)&&n.includes(e)}))));var e},regex:function(r){return n(O(t,(e=r,j(function(n){return _(n)&&Boolean(n.match(e))}))));var e}})}(j(_)),k=function n(t){return Object.assign(g(t),{between:function(r,e){return n(O(t,function(n,t){return j(function(r){return E(r)&&n<=r&&t>=r})}(r,e)))},lt:function(r){return n(O(t,function(n){return j(function(t){return E(t)&&t<n})}(r)))},gt:function(r){return n(O(t,function(n){return j(function(t){return E(t)&&t>n})}(r)))},lte:function(r){return n(O(t,function(n){return j(function(t){return E(t)&&t<=n})}(r)))},gte:function(r){return n(O(t,function(n){return j(function(t){return E(t)&&t>=n})}(r)))},int:function(){return n(O(t,j(function(n){return E(n)&&Number.isInteger(n)})))},finite:function(){return n(O(t,j(function(n){return E(n)&&Number.isFinite(n)})))},positive:function(){return n(O(t,j(function(n){return E(n)&&n>0})))},negative:function(){return n(O(t,j(function(n){return E(n)&&n<0})))}})}(j(E)),M=function n(t){return Object.assign(g(t),{between:function(r,e){return n(O(t,function(n,t){return j(function(r){return K(r)&&n<=r&&t>=r})}(r,e)))},lt:function(r){return n(O(t,function(n){return j(function(t){return K(t)&&t<n})}(r)))},gt:function(r){return n(O(t,function(n){return j(function(t){return K(t)&&t>n})}(r)))},lte:function(r){return n(O(t,function(n){return j(function(t){return K(t)&&t<=n})}(r)))},gte:function(r){return n(O(t,function(n){return j(function(t){return K(t)&&t>=n})}(r)))},positive:function(){return n(O(t,j(function(n){return K(n)&&n>0})))},negative:function(){return n(O(t,j(function(n){return K(n)&&n<0})))}})}(j(K)),I=g(j(function(n){return\"boolean\"==typeof n})),R=g(j(function(n){return\"symbol\"==typeof n})),W=g(j(function(n){return null==n})),z=g(j(function(n){return null!=n})),F={__proto__:null,matcher:o,optional:d,array:function(){var n,t=[].slice.call(arguments);return y(((n={})[o]=function(){return{match:function(n){if(!Array.isArray(n))return{matched:!1};if(0===t.length)return{matched:!0};var r=t[0],e={};if(0===n.length)return h(r).forEach(function(n){e[n]=[]}),{matched:!0,selections:e};var u=function(n,t){e[n]=(e[n]||[]).concat([t])};return{matched:n.every(function(n){return s(r,n,u)}),selections:e}},getSelectionKeys:function(){return 0===t.length?[]:h(t[0])}}},n))},set:function(){var n,t=[].slice.call(arguments);return g(((n={})[o]=function(){return{match:function(n){if(!(n instanceof Set))return{matched:!1};var r={};if(0===n.size)return{matched:!0,selections:r};if(0===t.length)return{matched:!0};var e=function(n,t){r[n]=(r[n]||[]).concat([t])},u=t[0];return{matched:m(n,function(n){return s(u,n,e)}),selections:r}},getSelectionKeys:function(){return 0===t.length?[]:h(t[0])}}},n))},map:function(){var n,t=[].slice.call(arguments);return g(((n={})[o]=function(){return{match:function(n){if(!(n instanceof Map))return{matched:!1};var r={};if(0===n.size)return{matched:!0,selections:r};var e,u=function(n,t){r[n]=(r[n]||[]).concat([t])};if(0===t.length)return{matched:!0};if(1===t.length)throw new Error(\"`P.map` wasn't given enough arguments. Expected (key, value), received \"+(null==(e=t[0])?void 0:e.toString()));var i=t[0],o=t[1];return{matched:b(n,function(n,t){var r=s(i,t,u),e=s(o,n,u);return r&&e}),selections:r}},getSelectionKeys:function(){return 0===t.length?[]:[].concat(h(t[0]),h(t[1]))}}},n))},record:function(){var n,t=[].slice.call(arguments);return g(((n={})[o]=function(){return{match:function(n){if(null===n||\"object\"!=typeof n||Array.isArray(n))return{matched:!1};var r;if(0===t.length)throw new Error(\"`P.record` wasn't given enough arguments. Expected (value) or (key, value), received \"+(null==(r=t[0])?void 0:r.toString()));var e={},u=function(n,t){e[n]=(e[n]||[]).concat([t])},i=1===t.length?[B,t[0]]:t,o=i[0],c=i[1];return{matched:w(n,function(n,t){var r=\"string\"!=typeof n||Number.isNaN(Number(n))?null:Number(n),e=null!==r&&s(o,r,u),i=s(o,n,u),a=s(c,t,u);return(i||e)&&a}),selections:e}},getSelectionKeys:function(){return 0===t.length?[]:[].concat(h(t[0]),h(t[1]))}}},n))},intersection:O,union:S,not:function(n){var t;return g(((t={})[o]=function(){return{match:function(t){return{matched:!s(n,t,function(){})}},getSelectionKeys:function(){return[]},matcherType:\"not\"}},t))},when:j,select:x,any:P,unknown:N,_:T,string:B,number:k,bigint:M,boolean:I,symbol:R,nullish:W,nonNullable:z,instanceOf:function(n){return g(j(function(n){return function(t){return t instanceof n}}(n)))},shape:function(n){return g(j(p(n)))}},L=/*#__PURE__*/function(n){var t,r;function e(t){var r,e;try{e=JSON.stringify(t)}catch(n){e=t}return(r=n.call(this,\"Pattern matching error: no pattern matches value \"+e)||this).input=void 0,r.input=t,r}return r=n,(t=e).prototype=Object.create(r.prototype),t.prototype.constructor=t,u(t,r),e}(/*#__PURE__*/i(Error)),U={matched:!1,value:void 0},C=/*#__PURE__*/function(){function n(n,t){this.input=void 0,this.state=void 0,this.input=n,this.state=t}var t=n.prototype;return t.with=function(){var t=this,r=[].slice.call(arguments);if(this.state.matched)return this;var e=r[r.length-1],u=[r[0]],i=void 0;3===r.length&&\"function\"==typeof r[1]?i=r[1]:r.length>2&&u.push.apply(u,r.slice(1,r.length-1));var o=!1,c={},f=function(n,t){o=!0,c[n]=t},l=!u.some(function(n){return s(n,t.input,f)})||i&&!Boolean(i(this.input))?U:{matched:!0,value:e(o?a in c?c[a]:c:this.input,this.input)};return new n(this.input,l)},t.when=function(t,r){if(this.state.matched)return this;var e=Boolean(t(this.input));return new n(this.input,e?{matched:!0,value:r(this.input,this.input)}:U)},t.otherwise=function(n){return this.state.matched?this.state.value:n(this.input)},t.exhaustive=function(n){return void 0===n&&(n=J),this.state.matched?this.state.value:n(this.input)},t.run=function(){return this.exhaustive()},t.returnType=function(){return this},t.narrow=function(){return this},n}();function J(n){throw new L(n)}exports.NonExhaustiveError=L,exports.P=F,exports.Pattern=F,exports.isMatching=p,exports.match=function(n){return new C(n,U)};\n//# sourceMappingURL=index.cjs.map\n","import { Flex, Space } from \"antd\";\nimport type React from \"react\";\nimport Typography from \"../../ui/Typography/Typography\";\nimport { useContext } from \"react\";\nimport { VerticalLayoutContext } from \"./VerticalLayout\";\nimport type {\n\tAcaciaBreadcrumbProps,\n\tAcaciaTabsProps,\n} from \"../../ui/interfaces\";\nimport Breadcrumb from \"../../ui/Breadcrumb/Breadcrumb\";\nimport { useAcaciaToken } from \"../../../tokens/useAcaciaToken\";\nimport Tabs from \"../../ui/Tabs/Tabs\";\n\nexport interface VerticalHeaderProps {\n\tpageTitle: string | React.ReactNode;\n\tpageSubtitle: string | React.ReactNode;\n\tpageIcon?: React.ReactNode;\n\trightSideItems?: React.ReactNode;\n\tleftSideItems?: React.ReactNode;\n\tbreadcrumbs?: AcaciaBreadcrumbProps;\n\ttabs?: Omit<AcaciaTabsProps, \"type\">;\n}\n\nconst VerticalHeader = ({ ...props }: VerticalHeaderProps) => {\n\tconst context = useContext(VerticalLayoutContext); // context to check if its nested - its possible that the user can use the header without the VerticalLayout\n\tconst isNestedInLayout = Boolean(context); // check if nested or not to handle colors\n\n\tconst token = useAcaciaToken();\n\t// render tabs\n\tconst renderTabs = () => {\n\t\treturn (\n\t\t\t<Tabs\n\t\t\t\t{...props.tabs}\n\t\t\t\tstyle={{ marginTop: \"0.5rem\" }}\n\t\t\t\ttype={isNestedInLayout ? \"header\" : \"page\"}\n\t\t\t/>\n\t\t);\n\t};\n\n\treturn (\n\t\t<div style={{ padding: isNestedInLayout ? 0 : 20 }}>\n\t\t\t<Flex\n\t\t\t\talign=\"center\"\n\t\t\t\tjustify=\"space-between\"\n\t\t\t\tstyle={{ paddingTop: isNestedInLayout ? \"1rem\" : 0 }}\n\t\t\t>\n\t\t\t\t<Space orientation=\"vertical\" size={0} style={{ display: \"flex\" }}>\n\t\t\t\t\t{props.breadcrumbs && <Breadcrumb {...props.breadcrumbs} />}\n\t\t\t\t\t<Typography.Title\n\t\t\t\t\t\tlevel={2}\n\t\t\t\t\t\tstyle={{\n\t\t\t\t\t\t\tmargin: 0,\n\t\t\t\t\t\t\tcolor: isNestedInLayout\n\t\t\t\t\t\t\t\t? context?.mainTextColor\n\t\t\t\t\t\t\t\t: token.token.colorText,\n\t\t\t\t\t\t}}\n\t\t\t\t\t>\n\t\t\t\t\t\t{props.pageTitle}\n\t\t\t\t\t</Typography.Title>\n\t\t\t\t\t<Typography.Text\n\t\t\t\t\t\tstyle={{\n\t\t\t\t\t\t\tcolor: isNestedInLayout\n\t\t\t\t\t\t\t\t? context?.accentColor\n\t\t\t\t\t\t\t\t: token.token.colorText,\n\t\t\t\t\t\t}}\n\t\t\t\t\t>\n\t\t\t\t\t\t{props.pageSubtitle}\n\t\t\t\t\t</Typography.Text>\n\t\t\t\t\t{/* // if its nested, then its under the left hand side items */}\n\t\t\t\t\t{props.tabs && isNestedInLayout && renderTabs()}\n\t\t\t\t</Space>\n\t\t\t\t{props.rightSideItems}\n\t\t\t</Flex>\n\t\t\t{/* // if its not nested, then remove it under the left hand side items and place it on its own */}\n\t\t\t{props.tabs && !isNestedInLayout && renderTabs()}\n\t\t</div>\n\t);\n};\n\nexport default VerticalHeader;\n","import HexagonHeader from \"../../../assets/header1.jpg\";\nimport StripedHeader from \"../../../assets/header2.jpg\";\nimport MysticalHeader from \"../../../assets/header3.jpg\";\nimport type { AcaciaMenuProps, AcaciaThemes } from \"../../ui/interfaces\";\nimport { match } from \"ts-pattern\";\nimport { createContext, useCallback, type PropsWithChildren } from \"react\";\nimport { Layout } from \"antd\";\nimport {\n\tadjustBrightness,\n\tgenerateSteppedGradient,\n\tgetLuminance,\n\tisLight,\n} from \"@mirawision/colorize\";\nimport { Helmet } from \"react-helmet\";\nimport { renderBlackOrWhiteText } from \"../../../utils/colors.util\";\nimport { parseBackgroundColors } from \"../../../utils/parseBackgroundColors\";\nimport Menu from \"../../ui/Menu/Menu\";\nimport DefaultLogo from \"../../../theme/defaultLogo\";\nimport VerticalHeader from \"./VerticalHeader\";\n\ninterface LayoutProps {\n\theaderBackgroundProps: HeaderBackgroundProps;\n\tmenuProps?: Omit<AcaciaMenuProps, \"mode\">;\n\tdocumentHeadLabel?: string;\n\tmainTextColor?: string; // main color of the layout\n}\n\n// theme background image props for the header\ntype BackgroundImage =\n\t| {\n\t\t\ttype: \"theme\";\n\t\t\ttheme: AcaciaThemes;\n\t }\n\t| { type: \"custom-image\"; src: string };\n\n// background fill\ntype BackgroundFill =\n\t| {\n\t\t\ttype: \"theme\";\n\t\t\ttheme: AcaciaThemes;\n\t }\n\t| { type: \"gradient\"; colors: string[] }\n\t| { type: \"gradient-css\"; css: string };\n\n// interface to handle header background - props allowed for users to change picture, change theme or custom gradient entirely\ninterface HeaderBackgroundProps {\n\theaderBackgroundImage?: BackgroundImage;\n\theaderBackgroundFill?: BackgroundFill;\n}\n\nconst getThemedBackgroundPicture = (theme: AcaciaThemes) => {\n\treturn match(theme)\n\t\t.with(\"classic\", () => HexagonHeader)\n\t\t.with(\"submarine\", () => StripedHeader)\n\t\t.with(\"mystical\", () => MysticalHeader)\n\t\t.exhaustive();\n};\n\nexport const VerticalLayoutContext = createContext<{\n\tmainTextColor: string;\n\taccentColor: string;\n\tgradients: string[] | null;\n} | null>(null);\n\nconst VerticalLayout = ({\n\theaderBackgroundProps: {\n\t\theaderBackgroundImage = { type: \"theme\", theme: \"classic\" },\n\t\theaderBackgroundFill = { type: \"theme\", theme: \"classic\" },\n\t},\n\t...props\n}: PropsWithChildren<LayoutProps>) => {\n\t// get the first bg color\n\tconst getFirstBackgroundHexColor = () => {\n\t\treturn match(headerBackgroundFill)\n\t\t\t.with({ type: \"theme\" }, ({ theme }) => {\n\t\t\t\treturn \"#1d4042\";\n\t\t\t})\n\t\t\t.with({ type: \"gradient\" }, ({ colors }) => {\n\t\t\t\treturn colors[0];\n\t\t\t})\n\t\t\t.with({ type: \"gradient-css\" }, ({ css }) => {\n\t\t\t\t// get the background color\n\n\t\t\t\tconst colors = parseBackgroundColors(css);\n\t\t\t\tconst firstColor = colors.colors[0];\n\t\t\t\tif (firstColor.format === \"hex\" || firstColor.format === \"rgb\") {\n\t\t\t\t\treturn firstColor.value;\n\t\t\t\t}\n\t\t\t\tconsole.error(\"Named colors not allowed, return HEX or RGB\");\n\t\t\t\treturn \"#1d4042\";\n\t\t\t})\n\t\t\t.exhaustive();\n\t};\n\tconst firstBackgroundColor = getFirstBackgroundHexColor();\n\n\tconst accentColor =\n\t\tgetLuminance(firstBackgroundColor) > 0.4\n\t\t\t? adjustBrightness(firstBackgroundColor, -45)\n\t\t\t: adjustBrightness(\n\t\t\t\t\tfirstBackgroundColor,\n\t\t\t\t\tisLight(firstBackgroundColor) ? -45 : 45,\n\t\t\t\t); // for the accent color - subtitles and tabs. based on the color of the theme background\n\n\tconst getLinearGradient = useCallback((strings: string[]) => {\n\t\tif (strings.length === 3) {\n\t\t\treturn `linear-gradient(45deg, ${strings[0]}f2 14%, ${strings[1]}f5 51%, ${strings[2]}f2 81%)`;\n\t\t}\n\t\tconsole.error(\"Need to have 3 strings\");\n\t\treturn null;\n\t}, []);\n\n\t// get the correct css\n\tconst getBackgroundCSS = () => {\n\t\treturn match(headerBackgroundFill)\n\t\t\t.with({ type: \"theme\" }, () => {\n\t\t\t\treturn {\n\t\t\t\t\tcss: getLinearGradient([\"#1d4042\", \"#37717c\", \"#418384\"]),\n\t\t\t\t\tstops: [\"#1d4042\", \"#37717c\", \"#418384\"],\n\t\t\t\t};\n\t\t\t})\n\t\t\t.with({ type: \"gradient\" }, ({ colors }) => {\n\t\t\t\t// given a string [], generate the gradient. if given two. then generate the inbetween. Do not accept length with 1\n\n\t\t\t\tif (colors.length === 2) {\n\t\t\t\t\tconst gradient = generateSteppedGradient(colors[0], colors[1], 3);\n\n\t\t\t\t\treturn {\n\t\t\t\t\t\tcss: getLinearGradient(gradient),\n\t\t\t\t\t\tstops: gradient,\n\t\t\t\t\t};\n\t\t\t\t}\n\n\t\t\t\tif (colors.length === 3) {\n\t\t\t\t\treturn {\n\t\t\t\t\t\tcss: getLinearGradient(colors),\n\t\t\t\t\t\tstops: colors,\n\t\t\t\t\t};\n\t\t\t\t}\n\t\t\t\tconsole.error(\n\t\t\t\t\t\"Either give a string[] with 2 HEX colors or 3 HEX colors\",\n\t\t\t\t);\n\t\t\t\treturn {\n\t\t\t\t\tcss: getLinearGradient([\"1d4042\", \"37717c\", \"418384\"]),\n\t\t\t\t\tstops: [\"#1d4042\", \"#37717c\", \"#418384\"],\n\t\t\t\t};\n\t\t\t})\n\t\t\t.with({ type: \"gradient-css\" }, ({ css }) => {\n\t\t\t\t// users write the css straight\n\t\t\t\tconst colors = parseBackgroundColors(css);\n\n\t\t\t\treturn {\n\t\t\t\t\tcss: css,\n\t\t\t\t\tstops: colors.colors.map((item) => item.value),\n\t\t\t\t};\n\t\t\t})\n\t\t\t.exhaustive();\n\t};\n\n\tconst { css, stops } = getBackgroundCSS();\n\n\t// for each type of header - the way to get background image changes\n\tconst getBackgroundImage = () => {\n\t\treturn match(headerBackgroundImage)\n\t\t\t.with({ type: \"theme\" }, ({ theme }) => {\n\t\t\t\treturn getThemedBackgroundPicture(theme);\n\t\t\t})\n\t\t\t.with({ type: \"custom-image\" }, ({ src }) => {\n\t\t\t\treturn src;\n\t\t\t})\n\t\t\t.exhaustive();\n\t};\n\n\treturn (\n\t\t<VerticalLayoutContext.Provider\n\t\t\tvalue={{\n\t\t\t\tmainTextColor:\n\t\t\t\t\tprops.mainTextColor ?? renderBlackOrWhiteText(firstBackgroundColor), // by default it will try to render white/black text for content\n\t\t\t\taccentColor: accentColor,\n\t\t\t\tgradients: stops,\n\t\t\t}}\n\t\t>\n\t\t\t<Helmet>\n\t\t\t\t<title>{props.documentHeadLabel}</title>\n\t\t\t</Helmet>\n\n\t\t\t<Layout>\n\t\t\t\t<div style={{ flexGrow: 1 }}>\n\t\t\t\t\t<div\n\t\t\t\t\t\tstyle={{\n\t\t\t\t\t\t\tbackgroundImage: `${css}, url(${getBackgroundImage()})`,\n\t\t\t\t\t\t\tbackgroundRepeat: \"no-repeat\",\n\t\t\t\t\t\t\tbackgroundSize: \"cover\",\n\t\t\t\t\t\t\tbackgroundPosition: \"center\",\n\t\t\t\t\t\t}}\n\t\t\t\t\t>\n\t\t\t\t\t\t<div style={{ padding: \"1rem 2rem 2rem 2rem\" }}>\n\t\t\t\t\t\t\t<Layout.Header style={{ display: \"flex\", alignItems: \"center\" }}>\n\t\t\t\t\t\t\t\t<DefaultLogo />\n\t\t\t\t\t\t\t\t{props.menuProps && (\n\t\t\t\t\t\t\t\t\t<Menu\n\t\t\t\t\t\t\t\t\t\tmode=\"horizontal\"\n\t\t\t\t\t\t\t\t\t\t{...props.menuProps}\n\t\t\t\t\t\t\t\t\t\tstyle={{\n\t\t\t\t\t\t\t\t\t\t\tflex: 1,\n\t\t\t\t\t\t\t\t\t\t\tminWidth: 0,\n\t\t\t\t\t\t\t\t\t\t\tfontSize: 16,\n\t\t\t\t\t\t\t\t\t\t\tfontWeight: 700,\n\t\t\t\t\t\t\t\t\t\t\t...props.menuProps.style,\n\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t</Layout.Header>\n\n\t\t\t\t\t\t\t{props.children}\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</Layout>\n\t\t</VerticalLayoutContext.Provider>\n\t);\n};\n\nVerticalLayout.VerticalHeader = VerticalHeader;\nexport default VerticalLayout;\n","/**\n * @description A Badge normally appears in proximity to notifications or user avatars with eye-catching appeal, typically displaying unread messages count\n */\n\nimport type { AcaciaAvatarProps } from \"../interfaces\";\nimport { Avatar as AntdAvatar } from \"antd\";\nimport Typography from \"../Typography/Typography\";\nimport Space from \"../Space/Space\";\n\nconst Avatar = ({ ...props }: AcaciaAvatarProps) => {\n\treturn (\n\t\t<Space size={0}>\n\t\t\t<div\n\t\t\t\tstyle={{\n\t\t\t\t\t...(props.userId && { background: \"#ebe8e8\", borderRadius: 20 }),\n\t\t\t\t}}\n\t\t\t>\n\t\t\t\t<AntdAvatar\n\t\t\t\t\tstyle={{ marginRight: props.userId && -3, ...props.style }}\n\t\t\t\t\t{...props}\n\t\t\t\t>\n\t\t\t\t\t{props.children}\n\t\t\t\t</AntdAvatar>\n\n\t\t\t\t{props.userId && (\n\t\t\t\t\t<Typography.Text strong style={{ paddingInline: 8 }}>\n\t\t\t\t\t\t{props.userId.toUpperCase()}\n\t\t\t\t\t</Typography.Text>\n\t\t\t\t)}\n\t\t\t</div>\n\t\t</Space>\n\t);\n};\n\nexport default Avatar;\n","/**\n * @description A Badge normally appears in proximity to notifications or user avatars with eye-catching appeal, typically displaying unread messages count\n */\n\nimport type { AcaciaBadgeProps } from \"../interfaces\";\nimport { Badge as AntdBadge } from \"antd\";\nimport Ribbon from \"./Ribbon\";\n\nconst Badge = ({ ...props }: AcaciaBadgeProps) => {\n\treturn <AntdBadge {...props}>{props.children}</AntdBadge>;\n};\n\nBadge.Ribbon = Ribbon;\nexport default Badge;\n","import { Badge as AntdBadge } from \"antd\";\nimport type { AcaciaRibbonProps } from \"../interfaces\";\n\n/**\n * @description An extension of the Badge\n */\n\nconst Ribbon = ({ ...props }: AcaciaRibbonProps) => {\n\treturn <AntdBadge.Ribbon {...props} />;\n};\n\nexport default Ribbon;\n","import { Breadcrumb as AntdBreadcrumb, ConfigProvider, theme } from \"antd\";\nimport type { AcaciaBreadcrumbProps } from \"../interfaces\";\nimport { VerticalLayoutContext } from \"../../layout/VerticalLayout/VerticalLayout\";\nimport { useContext } from \"react\";\nimport { useGetDefaultTheme } from \"../ConfigProvider/defaultTheme\";\n\n/**\n * A breadcrumb displays the current location within a hierarchy. It allows going back to states higher up in the hierarchy.\n */\n\nconst Breadcrumb = ({ ...props }: AcaciaBreadcrumbProps) => {\n\tconst context = useContext(VerticalLayoutContext); // context to check if its nested - its possible that the user can use the header without the VerticalLayout\n\tconst isNestedInLayout = Boolean(context); // check if nested or not to handle colors\n\n\tconst { useToken } = theme;\n\tconst globalToken = useToken(); // get the default, antd tokens\n\n\tconst defaultTheme = useGetDefaultTheme(); // get the default, overwritten tokens\n\n\treturn (\n\t\t<ConfigProvider\n\t\t\ttheme={{\n\t\t\t\ttoken: { ...defaultTheme.token, ...globalToken.token },\n\t\t\t\tcomponents: {\n\t\t\t\t\tBreadcrumb: {\n\t\t\t\t\t\t...defaultTheme.components.Breadcrumb,\n\t\t\t\t\t\t...(isNestedInLayout\n\t\t\t\t\t\t\t? {\n\t\t\t\t\t\t\t\t\tlinkColor: context.mainTextColor,\n\t\t\t\t\t\t\t\t\titemColor: context.mainTextColor,\n\t\t\t\t\t\t\t\t\tlastItemColor: context.mainTextColor,\n\t\t\t\t\t\t\t\t\tseparatorColor: context.mainTextColor,\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t: {}), // only override if its nested in the layout\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t}}\n\t\t>\n\t\t\t<AntdBreadcrumb items={props.items} style={{ letterSpacing: 1.5 }} />\n\t\t</ConfigProvider>\n\t);\n};\n\nexport default Breadcrumb;\n","/**\n * @description A button means an operation (or a series of operations). Clicking a button will trigger corresponding business logic.\n */\nimport { Button as AntdButton } from \"antd\";\nimport type { AcaciaButtonProps } from \"../interfaces\";\n\nconst Button = ({ children, ...props }: AcaciaButtonProps) => {\n\treturn <AntdButton {...props}>{children}</AntdButton>;\n};\nexport default Button;\n","import { useMemo } from \"react\";\nimport type { AcaciaCardProps } from \"../interfaces\";\nimport { Card as AntdCard, Typography } from \"antd\";\nimport { useCardStyles } from \"./useCardStyles\";\nimport HexagonBackground from \"../../../assets/cardheader.png\";\nimport StripedBackground from \"../../../assets/cardheader2.png\";\nimport MysticalBackground from \"../../../assets/cardheader3.png\";\nimport { match } from \"ts-pattern\";\nimport { useTheme } from \"antd-style\";\nimport { generate } from \"@ant-design/colors\";\nimport { tint } from \"@mirawision/colorize\";\nconst Card = ({\n\theaderBackgroundTheme = \"classic\",\n\t...props\n}: AcaciaCardProps) => {\n\tconst cardStyles = useCardStyles().styles;\n\tconst token = useTheme();\n\n\tconst levelOneColors = generate(token.colorPrimary);\n\n\tconst lightShadeColor = tint(token.colorPrimary, 0.7); // for the left side gradient\n\n\tconst titleStyles = useMemo(() => {\n\t\tconst styles: {\n\t\t\tmarginBlock: number;\n\t\t\tfontSize?: string | number;\n\t\t} = {\n\t\t\tmarginBlock: 0,\n\t\t};\n\n\t\tif (props.size === \"small\") {\n\t\t\tstyles.fontSize = 18;\n\t\t}\n\n\t\treturn styles;\n\t}, [props.size]);\n\n\tconst subtitleStyles = useMemo(() => {\n\t\tconst styles: {\n\t\t\tcolor: string;\n\t\t\tfontWeight: number;\n\t\t\tfontSize?: string | number;\n\t\t} = {\n\t\t\tcolor: token.colorTextTertiary,\n\t\t\tfontWeight: 500,\n\t\t};\n\n\t\tif (props.size === \"small\") {\n\t\t\tstyles.fontSize = 13;\n\t\t}\n\n\t\treturn styles;\n\t}, [props.size]);\n\n\tconst getThemedBackground = () => {\n\t\treturn match(headerBackgroundTheme)\n\t\t\t.with(\"classic\", () => HexagonBackground)\n\t\t\t.with(\"submarine\", () => StripedBackground)\n\t\t\t.with(\"mystical\", () => MysticalBackground)\n\t\t\t.exhaustive();\n\t};\n\n\treturn (\n\t\t<AntdCard\n\t\t\tstyles={{\n\t\t\t\theader: {\n\t\t\t\t\tpadding: \"20px\",\n\t\t\t\t\tbackground: `linear-gradient(70deg, ${lightShadeColor}CC 80%, ${levelOneColors[4]}69 80%), url(${props.headerBackgroundPicture ?? getThemedBackground()})`,\n\t\t\t\t},\n\t\t\t\ttitle: {\n\t\t\t\t\twhiteSpace: \"normal\",\n\t\t\t\t},\n\t\t\t}}\n\t\t\tclassName={`${cardStyles.card}`}\n\t\t\t{...props}\n\t\t\ttitle={\n\t\t\t\tprops.title && (\n\t\t\t\t\t<>\n\t\t\t\t\t\t<Typography.Title level={4} style={titleStyles}>\n\t\t\t\t\t\t\t{props.title}\n\t\t\t\t\t\t</Typography.Title>\n\t\t\t\t\t\t{props.subtitle && (\n\t\t\t\t\t\t\t<Typography.Text style={subtitleStyles}>\n\t\t\t\t\t\t\t\t{props.subtitle}\n\t\t\t\t\t\t\t</Typography.Text>\n\t\t\t\t\t\t)}\n\t\t\t\t\t</>\n\t\t\t\t)\n\t\t\t}\n\t\t/>\n\t);\n};\n\nexport default Card;\n","import { createStyles } from \"antd-style\";\nimport { useAcaciaConfig } from \"../../../hooks/useAcaciaConfig\";\n\nexport const useCardStyles = () => {\n\tconst { shadow } = useAcaciaConfig();\n\n\treturn createStyles(({ css }) => ({\n\t\tcard: css`\n && {\n box-shadow: ${shadow.card};\n }\n }\n `,\n\t}))();\n};\n","/**\n * @description Collect user's choices.\n *\n * When To Use\n * Used for selecting multiple values from several options.\n * If you use only one checkbox, it is the same as using Switch to toggle between two states. The difference is that Switch will trigger the state change directly, but Checkbox just marks the state as changed and this needs to be submitted.\n */\n\nimport { Checkbox as AntdCheckbox } from \"antd\";\nimport type { AcaciaCheckboxProps } from \"../interfaces\";\nimport CheckboxGroup from \"./CheckboxGroup\";\n\nconst Checkbox = ({ ...props }: AcaciaCheckboxProps) => {\n\treturn <AntdCheckbox {...props} />;\n};\n\nCheckbox.Group = CheckboxGroup;\n\nexport default Checkbox;\n","/**\n * @description Collect user's choices.\n * We can use Checkbox and Grid in Checkbox.Group, to implement complex layout.\n */\n\nimport { Checkbox as AntdCheckbox } from \"antd\";\nimport type { CheckboxGroupProps } from \"antd/es/checkbox\";\n\nconst CheckboxGroup = ({ ...props }: CheckboxGroupProps) => {\n\treturn <AntdCheckbox.Group {...props} />;\n};\n\nexport default CheckboxGroup;\n","import { ConfigProvider as AntdConfigProvider } from \"antd\";\nimport { ConfigContext } from \"antd/es/config-provider/context\";\nimport { useAcaciaColors } from \"../../../hooks/useAcaciaColors\";\nimport { useAcaciaConfig } from \"../../../hooks/useAcaciaConfig\";\n\nimport { ThemeProvider } from \"antd-style\";\nimport { CustomTheme, type NewToken } from \"../../../theme/customTheme\";\nimport type { AcaciaConfigProviderProps } from \"../interfaces\";\nimport { useGetDefaultTheme } from \"./defaultTheme\";\n\nconst ConfigProvider = ({ ...props }: AcaciaConfigProviderProps) => {\n\tconst { colors, generate } = useAcaciaColors();\n\tconst { borderRadius, padding } = useAcaciaConfig();\n\n\tconst defaultTheme = useGetDefaultTheme();\n\n\tconst mergedToken = {\n\t\t...CustomTheme,\n\t\t...props.customToken,\n\t};\n\n\treturn (\n\t\t<ThemeProvider<NewToken> customToken={mergedToken}>\n\t\t\t<AntdConfigProvider\n\t\t\t\t{...props}\n\t\t\t\ttheme={{\n\t\t\t\t\ttoken: { ...defaultTheme.token, ...props.theme?.token },\n\t\t\t\t\tcomponents: {\n\t\t\t\t\t\t...defaultTheme.components,\n\t\t\t\t\t\t...props.theme?.components,\n\t\t\t\t\t},\n\t\t\t\t}}\n\t\t\t>\n\t\t\t\t{props.children}\n\t\t\t</AntdConfigProvider>\n\t\t</ThemeProvider>\n\t);\n};\n\nConfigProvider.ConfigContext = ConfigContext;\nexport default ConfigProvider;\n","import type { ThemeConfig } from \"antd\";\nimport { useAcaciaColors } from \"../../../hooks/useAcaciaColors\";\nimport { useAcaciaConfig } from \"../../../hooks/useAcaciaConfig\";\nimport { useMemo } from \"react\";\nimport { grey } from \"@ant-design/colors\";\nimport { typographyUtil } from \"../../../theme/typographyUtil\";\nimport \"@fontsource-variable/inter\";\nimport \"@fontsource-variable/outfit\";\nimport \"@fontsource-variable/roboto-flex\";\n\nexport function useGetDefaultTheme(): ThemeConfig {\n\tconst { colors } = useAcaciaColors();\n\tconst { borderRadius, padding } = useAcaciaConfig();\n\n\treturn useMemo<ThemeConfig>(() => {\n\t\treturn {\n\t\t\ttoken: {\n\t\t\t\tcolorPrimary: \"#427e7b\", // your custom default\n\t\t\t\tcolorText: \"#080808\",\n\t\t\t\tcolorTextTertiary: \"#757C7C\",\n\t\t\t\tfontFamily:\n\t\t\t\t\t'\"InterVariable\", \"Inter\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", sans-serif',\n\t\t\t\tborderRadius: borderRadius.primary,\n\t\t\t\tborderRadiusLG: borderRadius.primary,\n\t\t\t\tborderRadiusSM: borderRadius.primary,\n\t\t\t\tborderRadiusXS: borderRadius.primary,\n\t\t\t},\n\t\t\tcomponents: {\n\t\t\t\tButton: {\n\t\t\t\t\tdefaultBg: `${colors.offWhite}`,\n\t\t\t\t\tdefaultBorderColor: `${colors.border.button}`,\n\t\t\t\t\tborderRadius: borderRadius.primary,\n\t\t\t\t\tcolorWarning: colors.warning.primary,\n\t\t\t\t\tcolorError: colors.error.primary,\n\t\t\t\t\tcolorErrorBg: colors.error.fill,\n\t\t\t\t\tborderRadiusLG: borderRadius.primary,\n\t\t\t\t\tborderRadiusSM: borderRadius.primary,\n\t\t\t\t\tborderRadiusXS: borderRadius.primary,\n\t\t\t\t},\n\t\t\t\tLayout: {\n\t\t\t\t\theaderBg: \"transparent\",\n\t\t\t\t\theaderHeight: undefined,\n\t\t\t\t\theaderPadding: \"10px 0px 0px 0px\",\n\t\t\t\t},\n\t\t\t\tCheckbox: {\n\t\t\t\t\tlineWidth: 2,\n\t\t\t\t},\n\t\t\t\tSelect: {\n\t\t\t\t\tborderRadius: borderRadius.primary,\n\t\t\t\t\tborderRadiusLG: borderRadius.primary,\n\t\t\t\t\tborderRadiusSM: borderRadius.primary,\n\t\t\t\t\tborderRadiusXS: borderRadius.primary,\n\t\t\t\t},\n\t\t\t\tInput: {\n\t\t\t\t\tborderRadius: borderRadius.primary,\n\t\t\t\t\tborderRadiusLG: borderRadius.primary,\n\t\t\t\t\tborderRadiusSM: borderRadius.primary,\n\t\t\t\t\tborderRadiusXS: borderRadius.primary,\n\t\t\t\t\tcolorWarning: colors.warning.primary,\n\t\t\t\t\tcolorError: colors.error.primary,\n\t\t\t\t\tcolorBgTextHover: colors.link.hover,\n\t\t\t\t},\n\t\t\t\tPagination: {\n\t\t\t\t\tborderRadius: borderRadius.primary,\n\t\t\t\t\tborderRadiusLG: borderRadius.primary,\n\t\t\t\t\tborderRadiusSM: borderRadius.primary,\n\t\t\t\t\tborderRadiusXS: borderRadius.primary,\n\t\t\t\t},\n\t\t\t\tTypography: {\n\t\t\t\t\tfontSizeHeading1: typographyUtil.fontSize.h1,\n\t\t\t\t\tfontSizeHeading2: typographyUtil.fontSize.h2,\n\t\t\t\t\tfontSizeHeading3: typographyUtil.fontSize.h3,\n\t\t\t\t\tfontSizeHeading4: typographyUtil.fontSize.h4,\n\t\t\t\t\tfontSizeHeading5: typographyUtil.fontSize.h5,\n\t\t\t\t\tfontWeightStrong: 600,\n\t\t\t\t},\n\t\t\t\tCard: {\n\t\t\t\t\tborderRadius: borderRadius.card,\n\t\t\t\t\tborderRadiusLG: borderRadius.card,\n\t\t\t\t\tborderRadiusSM: borderRadius.card,\n\t\t\t\t\tborderRadiusXS: borderRadius.card,\n\t\t\t\t},\n\t\t\t\tTag: {\n\t\t\t\t\tborderRadius: borderRadius.tag,\n\t\t\t\t\tborderRadiusLG: borderRadius.tag,\n\t\t\t\t\tborderRadiusSM: borderRadius.tag,\n\t\t\t\t\tborderRadiusXS: borderRadius.tag,\n\t\t\t\t},\n\t\t\t\tTabs: {\n\t\t\t\t\thorizontalItemPadding: padding.tabs,\n\t\t\t\t\thorizontalItemPaddingLG: padding.tabs,\n\t\t\t\t\thorizontalItemPaddingSM: padding.tabs,\n\t\t\t\t\tcolorBorderSecondary: grey[1],\n\t\t\t\t},\n\t\t\t\tDropdown: {\n\t\t\t\t\tborderRadius: borderRadius.primary,\n\t\t\t\t\tborderRadiusLG: borderRadius.primary,\n\t\t\t\t\tborderRadiusSM: borderRadius.primary,\n\t\t\t\t\tborderRadiusXS: borderRadius.primary,\n\t\t\t\t},\n\t\t\t\tMenu: {\n\t\t\t\t\tpopupBg: \"grey\",\n\t\t\t\t},\n\t\t\t},\n\t\t};\n\t}, [colors, borderRadius, padding]);\n}\n","import { DatePicker as AntdDatePicker } from \"antd\";\nimport type { AcaciaDatePickerProps } from \"../interfaces\";\nimport RangePicker from \"./RangePicker\";\n\n/**\n * @description To select or input a date.\n */\n\nconst DatePicker = ({ ...props }: AcaciaDatePickerProps) => {\n\treturn <AntdDatePicker {...props} />;\n};\n\nDatePicker.RangePicker = RangePicker;\n\nexport default DatePicker;\n","import { DatePicker as AntdDatePicker, type GetProps } from \"antd\";\n\ntype AntdDateRangePicker = GetProps<typeof AntdDatePicker.RangePicker>;\n\nconst RangePicker = ({ ...props }: AntdDateRangePicker) => {\n\treturn <AntdDatePicker.RangePicker {...props} />;\n};\nexport default RangePicker;\n","/**\n * @description A dropdown list\n */\n\nimport { Dropdown as AntdDropdown } from \"antd\";\nimport DropdownButton from \"./DropdownButton\";\nimport type { AcaciaDropdownProps } from \"../interfaces\";\n\nconst Dropdown = ({ ...props }: AcaciaDropdownProps) => {\n\treturn <AntdDropdown {...props} />;\n};\n\nDropdown.Button = DropdownButton;\nexport default Dropdown;\n","import { Dropdown as AntdDropdown } from \"antd\";\nimport type { AcaciaDropdownButtonProps } from \"../interfaces\";\n\nconst DropdownButton = ({ children, ...props }: AcaciaDropdownButtonProps) => {\n\treturn <AntdDropdown.Button {...props}>{children}</AntdDropdown.Button>;\n};\n\nexport default DropdownButton;\n","import { Input as AntdInput } from \"antd\";\nimport type { AcaciaInputProps } from \"../interfaces\";\n\n/**\n * Styles\n */\n\n/**\n * Components\n */\nimport TextArea from \"./TextArea\";\nimport Search from \"./Search\";\nimport Password from \"./Password\";\nimport { useInputStyles } from \"./useInputStyles\";\nimport OTP from \"./OTP\";\n\n/**\n * @description A button means an operation (or a series of operations). Clicking a button will trigger corresponding business logic.\n */\n\nconst Input = ({ children, ...props }: AcaciaInputProps) => {\n\tconst inputStyles = useInputStyles().styles;\n\treturn (\n\t\t<AntdInput className={`${inputStyles.input}`} {...props}>\n\t\t\t{children}\n\t\t</AntdInput>\n\t);\n};\n\nInput.TextArea = TextArea;\nInput.Search = Search;\nInput.Password = Password;\nInput.OTP = OTP;\n\nexport default Input;\n","import { Input as AntdInput, type GetProps } from \"antd\";\n\ntype OTPProps = GetProps<typeof AntdInput.OTP>;\n\nconst OTP = ({ ...props }: OTPProps) => {\n\treturn <AntdInput.OTP {...props} />;\n};\n\nexport default OTP;\n","import { Input as AntdInput } from \"antd\";\nimport type { AcaciaInputProps } from \"../interfaces\";\n\nconst Password = ({ ...props }: AcaciaInputProps) => {\n\treturn <AntdInput.Password {...props} />;\n};\nexport default Password;\n","import { Input as AntdInput } from \"antd\";\nimport type { AcaciaInputProps } from \"../interfaces\";\n\nconst Search = ({ ...props }: AcaciaInputProps) => {\n\treturn <AntdInput.Search {...props} />;\n};\n\nexport default Search;\n","import { Input as AntdInput } from \"antd\";\nimport type { AcaciaInputTextAreaProps } from \"../interfaces\";\nimport { useTextAreaStyles } from \"./useInputStyles\";\n\nconst TextArea = ({ ...props }: AcaciaInputTextAreaProps) => {\n\tconst textareaStyles = useTextAreaStyles().styles;\n\treturn (\n\t\t<AntdInput.TextArea className={`${textareaStyles.textarea}`} {...props} />\n\t);\n};\n\nexport default TextArea;\n","import { createStyles } from \"antd-style\";\nimport { typographyUtil } from \"../../../theme/typographyUtil\";\n\nexport const useInputStyles = () => {\n\treturn createStyles(({ css, prefixCls }) => ({\n\t\tinput: css`\n & .${prefixCls}-input-show-count-suffix {\n font-size: ${typographyUtil.fontSize.caption}px;\n font-weight: 700;\n }\n `,\n\t}))();\n};\n\nexport const useTextAreaStyles = () => {\n\treturn createStyles(({ css, prefixCls }) => ({\n\t\ttextarea: css`\n & .${prefixCls}-input-data-count {\n font-size: ${typographyUtil.fontSize.caption}px;\n font-weight: 700;\n }\n `,\n\t}))();\n};\n","/**\n * @description A versatile menu for navigation.\n */\n\nimport { Menu as AntdMenu, ConfigProvider, theme } from \"antd\";\nimport type { AcaciaMenuProps } from \"../interfaces\";\nimport { useContext, useMemo } from \"react\";\nimport { VerticalLayoutContext } from \"../../layout/VerticalLayout/VerticalLayout\";\nimport { useGetDefaultTheme } from \"../ConfigProvider/defaultTheme\";\nimport {\n\tadjustBrightness,\n\tblendMultipleColors,\n\tchangeOpacity,\n\tisValidHEXColor,\n\tshade,\n} from \"@mirawision/colorize\";\nimport { match } from \"ts-pattern\";\nimport { hexToRGBA } from \"../../../utils/colors.util\";\nimport { createStyles } from \"antd-style\";\n\nconst useStyle = createStyles(({ css, prefixCls }) => ({\n\titem: css`\n\t\t&.${prefixCls}-menu-submenu {\n\t\t\tpadding: 10px,\n\t\t\tborderBottom:none,\t\n\t\t\tmarginInline: 3px,\n\t\t}\n `,\n}));\n\nconst Menu = ({ showRightBorder = true, ...props }: AcaciaMenuProps) => {\n\tconst context = useContext(VerticalLayoutContext); // context to check if its nested - its possible that the user can use the header without the VerticalLayout\n\tconst isNestedInLayout = Boolean(context); // check if nested or not to handle colors\n\n\tconst { useToken } = theme;\n\tconst globalToken = useToken(); // get the default, antd tokens\n\tconst { styles: menuStyles } = useStyle();\n\n\tconst editOpacity = (type: \"hex\" | \"rgba\", color: string) => {\n\t\treturn match(type)\n\t\t\t.with(\"hex\", () => {\n\t\t\t\treturn hexToRGBA(color, 30);\n\t\t\t})\n\t\t\t.with(\"rgba\", () => {\n\t\t\t\treturn changeOpacity(color, 0.3);\n\t\t\t})\n\t\t\t.exhaustive();\n\t};\n\n\tconst selectedItemColor = useMemo(() => {\n\t\tif (isNestedInLayout) {\n\t\t\tconst blended = blendMultipleColors(\n\t\t\t\tcontext.gradients.map((item) => {\n\t\t\t\t\treturn {\n\t\t\t\t\t\tcolor: item,\n\t\t\t\t\t\tweight: 1,\n\t\t\t\t\t};\n\t\t\t\t}),\n\t\t\t);\n\t\t\tconst color = shade(blended, 0.5);\n\n\t\t\treturn {\n\t\t\t\tmenuColor: context?.accentColor,\n\t\t\t\tmenuBgColor: isValidHEXColor(color)\n\t\t\t\t\t? editOpacity(\"hex\", color)\n\t\t\t\t\t: editOpacity(\"rgba\", color),\n\t\t\t};\n\t\t}\n\t}, [context?.accentColor, isNestedInLayout]);\n\n\tconst defaultTheme = useGetDefaultTheme(); // get the default, overwritten tokens\n\n\treturn (\n\t\t<ConfigProvider\n\t\t\ttheme={{\n\t\t\t\ttoken: { ...defaultTheme.token, ...globalToken.token },\n\t\t\t\tcomponents: {\n\t\t\t\t\tMenu: {\n\t\t\t\t\t\t...defaultTheme.components.Menu,\n\t\t\t\t\t\t...(isNestedInLayout\n\t\t\t\t\t\t\t? {\n\t\t\t\t\t\t\t\t\tactiveBarHeight: 0,\n\t\t\t\t\t\t\t\t\titemBg: \"transparent\",\n\t\t\t\t\t\t\t\t\thorizontalItemSelectedColor: selectedItemColor.menuColor,\n\t\t\t\t\t\t\t\t\thorizontalItemSelectedBg: selectedItemColor.menuBgColor,\n\t\t\t\t\t\t\t\t\tactiveBarBorderWidth: 0,\n\t\t\t\t\t\t\t\t\titemColor: context.mainTextColor,\n\t\t\t\t\t\t\t\t\thorizontalItemBorderRadius: 3,\n\t\t\t\t\t\t\t\t\titemHoverColor: adjustBrightness(\n\t\t\t\t\t\t\t\t\t\tselectedItemColor.menuColor,\n\t\t\t\t\t\t\t\t\t\t10,\n\t\t\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t\t\tsubMenuItemBg: selectedItemColor.menuBgColor,\n\t\t\t\t\t\t\t\t\tsubMenuItemSelectedColor: selectedItemColor.menuColor,\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t: {}), // only override if its nested in the layout\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t}}\n\t\t>\n\t\t\t<AntdMenu\n\t\t\t\tclassNames={{\n\t\t\t\t\titem: menuStyles.item,\n\t\t\t\t}}\n\t\t\t\tstyles={{\n\t\t\t\t\troot: {\n\t\t\t\t\t\t...(isNestedInLayout && {\n\t\t\t\t\t\t\tflex: 1,\n\t\t\t\t\t\t\tdisplay: \"flex\",\n\t\t\t\t\t\t\twidth: \"100%\",\n\t\t\t\t\t\t\talignItems: \"center\",\n\t\t\t\t\t\t\tborderBottom: \"none\",\n\t\t\t\t\t\t}),\n\t\t\t\t\t\tborderRight: showRightBorder ? \"\" : \"none\",\n\t\t\t\t\t},\n\t\t\t\t\titem: {\n\t\t\t\t\t\t...(isNestedInLayout && {\n\t\t\t\t\t\t\tpadding: \"8px 10px\",\n\t\t\t\t\t\t\tborderBottom: \"none\",\n\t\t\t\t\t\t\tmarginInline: \"3px\",\n\t\t\t\t\t\t}),\n\t\t\t\t\t},\n\t\t\t\t}}\n\t\t\t\t{...props}\n\t\t\t/>\n\t\t</ConfigProvider>\n\t);\n};\nexport default Menu;\n","/**\n * @description A long list can be divided into several pages using Pagination, and only one page will be loaded at a time.\n */\n\nimport { Pagination as AntdPagination, ConfigProvider, theme } from \"antd\";\nimport type { AcaciaPaginationProps } from \"../interfaces\";\nimport { useGetDefaultTheme } from \"../ConfigProvider/defaultTheme\";\nimport { renderBlackOrWhiteText } from \"../../../utils/colors.util\";\nimport { tint } from \"@mirawision/colorize\";\n\nconst Pagination = ({\n\tselectedStyle = \"solid\",\n\t...props\n}: AcaciaPaginationProps) => {\n\tconst { useToken } = theme;\n\tconst globalToken = useToken(); // get the default, antd tokens\n\n\tconst defaultTheme = useGetDefaultTheme(); // get the default, overwritten tokens\n\n\treturn (\n\t\t<ConfigProvider\n\t\t\ttheme={{\n\t\t\t\ttoken: { ...defaultTheme.token, ...globalToken.token },\n\t\t\t\tcomponents: {\n\t\t\t\t\tPagination: {\n\t\t\t\t\t\t...defaultTheme.components.Pagination,\n\t\t\t\t\t\t...(selectedStyle === \"solid\"\n\t\t\t\t\t\t\t? {\n\t\t\t\t\t\t\t\t\titemActiveBg: globalToken.token.colorPrimary,\n\t\t\t\t\t\t\t\t\titemActiveColor: renderBlackOrWhiteText(\n\t\t\t\t\t\t\t\t\t\tglobalToken.token.colorPrimary,\n\t\t\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t\t\titemActiveColorHover: tint(\n\t\t\t\t\t\t\t\t\t\trenderBlackOrWhiteText(globalToken.token.colorPrimary),\n\t\t\t\t\t\t\t\t\t\t0.3,\n\t\t\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t: {}), // only override if its nested in the layout\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t}}\n\t\t>\n\t\t\t<AntdPagination {...props} />\n\t\t</ConfigProvider>\n\t);\n};\nexport default Pagination;\n","import { Radio as AntdRadio } from \"antd\";\nimport type { RadioButtonProps } from \"antd/es/radio/radioButton\";\n\nconst RadioButton = ({ ...props }: RadioButtonProps) => {\n\treturn <AntdRadio.Button {...props} />;\n};\n\nexport default RadioButton;\n","import { Radio as AntdRadio, type RadioProps } from \"antd\";\nimport RadioGroup from \"./RadioGroup\";\nimport RadioButton from \"./Button\";\n\n/**\n * @description A radio is used to select a single state from multiple options.\n */\n\nconst Radio = ({ ...props }: RadioProps) => {\n\treturn <AntdRadio {...props} />;\n};\n\nRadio.Group = RadioGroup;\nRadio.Button = RadioButton;\nexport default Radio;\n","import type { RadioGroupProps } from \"antd\";\nimport { Radio as AntdRadio } from \"antd\";\n\nconst RadioGroup = ({ ...props }: RadioGroupProps) => {\n\treturn <AntdRadio.Group {...props} />;\n};\n\nexport default RadioGroup;\n","import { Segmented as AntdSegmented } from \"antd\";\nimport type { AcaciaSegmentedProps } from \"../interfaces\";\n\n/**\n * @description\n * Segmented is used when displaying multiple options and user can select a single option or\n * when switching the selected option, the content of the associated area changes.\n */\n\nconst Segmented = ({ ...props }: AcaciaSegmentedProps) => {\n\treturn <AntdSegmented {...props} />;\n};\n\nexport default Segmented;\n","import { Select as AntdSelect } from \"antd\";\nimport type { AcaciaSelectProps } from \"../interfaces\";\n\n/**\n * @description Select component to select value from options.\n */\n\nconst Select = ({ ...props }: AcaciaSelectProps) => {\n\treturn <AntdSelect {...props} />;\n};\nexport default Select;\n","import { Space as AntdSpace } from \"antd\";\nimport type { AcaciaSpaceProps } from \"../interfaces\";\n\n/**\n * @description Space component set the component spacing\n */\n\nconst Space = ({ ...props }: AcaciaSpaceProps) => {\n\treturn <AntdSpace {...props} />;\n};\nexport default Space;\n","import { Switch as AntdSwitch } from \"antd\";\nimport type { AcaciaSwitchProps } from \"../interfaces\";\n\n/**\n * @description A switch is used if you need to represent the switching between two states or on-off state.\n */\n\nconst Switch = ({ ...props }: AcaciaSwitchProps) => {\n\treturn <AntdSwitch {...props} />;\n};\n\nexport default Switch;\n","import type { AcaciaTabsProps } from \"../interfaces\";\nimport { Tabs as AntdTabs, ConfigProvider, theme } from \"antd\";\nimport { adjustBrightness, isLight } from \"@mirawision/colorize\";\nimport { useContext } from \"react\";\nimport { VerticalLayoutContext } from \"../../layout/VerticalLayout/VerticalLayout\";\nimport { useGetDefaultTheme } from \"../ConfigProvider/defaultTheme\";\nexport default function Tabs({ type = \"line\", ...props }: AcaciaTabsProps) {\n\tconst context = useContext(VerticalLayoutContext);\n\tconst isNestedInLayout = Boolean(context); // for when tabs are nested in Layout\n\n\tconst { useToken } = theme;\n\tconst globalToken = useToken(); // get the default, antd tokens\n\n\tconst defaultTheme = useGetDefaultTheme(); // get the default, overwritten tokens\n\n\treturn (\n\t\t<ConfigProvider\n\t\t\ttheme={{\n\t\t\t\ttoken: {\n\t\t\t\t\t...defaultTheme.token,\n\t\t\t\t\t...globalToken.token,\n\t\t\t\t\t...(isNestedInLayout\n\t\t\t\t\t\t? {\n\t\t\t\t\t\t\t\tcolorBorderSecondary: `${adjustBrightness(\n\t\t\t\t\t\t\t\t\tcontext.mainTextColor,\n\t\t\t\t\t\t\t\t\tisLight(context.mainTextColor) ? -15 : 15,\n\t\t\t\t\t\t\t\t)} !important`,\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t: {}),\n\t\t\t\t},\n\t\t\t\tcomponents: {\n\t\t\t\t\tTabs: {\n\t\t\t\t\t\t...defaultTheme.components.Tabs,\n\t\t\t\t\t\t...(isNestedInLayout\n\t\t\t\t\t\t\t? {\n\t\t\t\t\t\t\t\t\titemHoverColor: context.accentColor,\n\t\t\t\t\t\t\t\t\titemColor: context.accentColor,\n\t\t\t\t\t\t\t\t\tinkBarColor: context.accentColor,\n\t\t\t\t\t\t\t\t\titemActiveColor: context.accentColor,\n\t\t\t\t\t\t\t\t\titemSelectedColor: context.accentColor,\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t: {}), // only override if its nested in the layout\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t}}\n\t\t>\n\t\t\t<AntdTabs {...props} tabBarGutter={0} />\n\t\t</ConfigProvider>\n\t);\n}\n","import { Tag as AntdTag } from \"antd\";\nimport {\n\tAcaciaCustomColors,\n\tisValidCustomColor,\n\ttype AcaciaColors,\n\ttype AcaciaTagProps,\n} from \"../interfaces\";\n\n/**\n * A Tag is used for categorizing or markup.\n */\n\nconst Tag = ({ ...props }: AcaciaTagProps) => {\n\t// return custom colors if found the correct type\n\tfunction renderColor(color: AcaciaColors) {\n\t\tif (isValidCustomColor(color)) {\n\t\t\treturn AcaciaCustomColors[color].background;\n\t\t}\n\t\treturn color;\n\t}\n\treturn <AntdTag {...props} color={renderColor(props.color)} />;\n};\n\nexport default Tag;\n","import { DatePicker as AntdDatePicker } from \"antd\";\nimport type { AcaciaTimePickerProps } from \"../interfaces\";\nimport TimeRangePicker from \"./TimeRangePicker\";\n\nconst TimePicker = ({ ...props }: AcaciaTimePickerProps) => {\n\treturn <AntdDatePicker {...props} />;\n};\n\nTimePicker.RangePicker = TimeRangePicker;\nexport default TimePicker;\n","import { TimePicker as AntdTimePicker } from \"antd\";\nimport type { AcaciaTimeRangePickerProps } from \"../interfaces\";\n\nconst TimeRangePicker = ({ ...props }: AcaciaTimeRangePickerProps) => {\n\treturn <AntdTimePicker.RangePicker {...props} />;\n};\n\nexport default TimeRangePicker;\n","import { Typography as AntdTypography } from \"antd\";\n\nimport { useTypographyStyles } from \"./useTypographyStyles\";\nimport { typographyUtil } from \"../../../theme/typographyUtil\";\nimport type {\n\tAcaciaBasicTypographyProps,\n\tAcaciaParagraphProps,\n\tAcaciaTextProps,\n\tAcaciaTitleProps,\n} from \"../interfaces\";\n\nconst TypographyToken = {\n\tfontSizeHeading1: typographyUtil.fontSize.h1,\n\tfontSizeHeading2: typographyUtil.fontSize.h2,\n\tfontSizeHeading3: typographyUtil.fontSize.h3,\n\tfontSizeHeading4: typographyUtil.fontSize.h4,\n\tfontSizeHeading5: typographyUtil.fontSize.h5,\n\tfontWeightStrong: 600,\n};\n\nconst Title = ({\n\tchildren,\n\tlevel = 1,\n\tcolor,\n\t...antdProps\n}: AcaciaTitleProps) => {\n\tconst typoStyles = useTypographyStyles(color).styles;\n\n\treturn (\n\t\t<AntdTypography.Title\n\t\t\tclassName={`\n\t\t\t\t\t${typoStyles.common}\n\t\t\t\t\t${typoStyles.title}\n\t\t\t\t\t${typoStyles[`titleH${level}`]}\n\t\t\t\t`}\n\t\t\tlevel={level}\n\t\t\t{...antdProps}\n\t\t>\n\t\t\t{children}\n\t\t</AntdTypography.Title>\n\t);\n};\n\nconst Text = ({\n\tchildren,\n\tlevel = 2,\n\tcolor,\n\t...antdProps\n}: AcaciaTextProps) => {\n\tconst typoStyles = useTypographyStyles(color).styles;\n\n\treturn (\n\t\t<AntdTypography.Text\n\t\t\tclassName={`\n\t\t\t\t${typoStyles.common}\n\t\t\t\t${typoStyles.text} \n\t\t\t\t${typoStyles[`textBody${level}`]}\n\t\t\t`}\n\t\t\t{...antdProps}\n\t\t>\n\t\t\t{children}\n\t\t</AntdTypography.Text>\n\t);\n};\n\nconst Emphasis = ({ children, color, ...props }: AcaciaTextProps) => {\n\tconst typoStyles = useTypographyStyles(color).styles;\n\n\treturn (\n\t\t<Text\n\t\t\tclassName={`\n\t\t\t\t${typoStyles.common}\n\t\t\t\t${typoStyles.emphasis} \n\t\t\t`}\n\t\t\tcolor={color}\n\t\t\t{...props}\n\t\t>\n\t\t\t{children}\n\t\t</Text>\n\t);\n};\n\nconst Caption = ({\n\tchildren,\n\tcolor,\n\t...antdProps\n}: AcaciaBasicTypographyProps) => {\n\tconst typoStyles = useTypographyStyles(color).styles;\n\n\treturn (\n\t\t<AntdTypography.Text\n\t\t\tclassName={`\n\t\t\t\t${typoStyles.common}\n\t\t\t\t${typoStyles.caption} \n\t\t\t`}\n\t\t\t{...antdProps}\n\t\t>\n\t\t\t{children}\n\t\t</AntdTypography.Text>\n\t);\n};\n\nconst Overline = ({\n\tchildren,\n\tcolor,\n\t...antdProps\n}: AcaciaBasicTypographyProps) => {\n\tconst typoStyles = useTypographyStyles(color).styles;\n\n\treturn (\n\t\t<AntdTypography.Text\n\t\t\tclassName={`\n\t\t\t\t${typoStyles.common}\n\t\t\t\t${typoStyles.overline} \n\t\t\t`}\n\t\t\t{...antdProps}\n\t\t>\n\t\t\t{children}\n\t\t</AntdTypography.Text>\n\t);\n};\n\nconst Paragraph = ({ children, color, ...antdProps }: AcaciaParagraphProps) => {\n\tconst typoStyles = useTypographyStyles(color).styles;\n\n\treturn (\n\t\t<AntdTypography.Text\n\t\t\tclassName={`\n\t\t\t\t${typoStyles.common}\n\t\t\t\t${typoStyles.textBody2} \n\t\t\t\t${typoStyles.paragraph}\n\t\t\t`}\n\t\t\t{...antdProps}\n\t\t>\n\t\t\t{children}\n\t\t</AntdTypography.Text>\n\t);\n};\n\n/**\n * Basic text writing, including headings, body text, lists, and more.\n *\n * When To Use:\n * - When need to display a title or paragraph contents in Articles/Blogs/Notes.\n * - When you need copyable/editable/ellipsis texts.\n */\n\nconst Typography = () => {\n\treturn <AntdTypography />;\n};\n\nTypography.Text = Text;\nTypography.Title = Title;\nTypography.Caption = Caption;\nTypography.Overline = Overline;\nTypography.Paragraph = Paragraph;\nTypography.Emphasis = Emphasis;\n\nexport default Typography;\n","import { useTheme, createStyles } from \"antd-style\";\nimport { typographyUtil } from \"../../../theme/typographyUtil\";\n\nexport const useTypographyStyles = (color?: string) => {\n\tconst token = useTheme();\n\treturn createStyles(({ css, prefixCls }) => ({\n\t\tcommon: css`\n &.${prefixCls}-typography {\n margin-block: 0;\n line-height: 1.5em;\n \n ${\n\t\t\t\t\t\tcolor\n\t\t\t\t\t\t\t? `\n color: ${color};\n `\n\t\t\t\t\t\t\t: \"\"\n\t\t\t\t\t}\n }\n `,\n\t\ttitle: css`\n font-family: ${token.headingFontFamily};\n `,\n\t\ttitleH1: css`\n letter-spacing: ${typographyUtil.letterSpacing.h1};\n `,\n\t\ttitleH2: css`\n letter-spacing: ${typographyUtil.letterSpacing.h2};\n `,\n\t\ttitleH3: css`\n letter-spacing: ${typographyUtil.letterSpacing.h3};\n `,\n\t\ttitleH4: css`\n letter-spacing: ${typographyUtil.letterSpacing.h4};\n `,\n\t\ttitleH5: css`\n letter-spacing: ${typographyUtil.letterSpacing.h5};\n \n &.${prefixCls}-typography {\n font-weight: 600;\n display: flex;\n align-items: center;\n }\n \n &::before {\n display: inline-block;\n content: \"\";\n height: 5px;\n width: 5px;\n background-color: ${token.colorPrimary};\n vertical-align: super;\n margin-right: 10px;\n opacity: 0.6;\n }\n `,\n\t\ttext: css`\n letter-spacing: ${typographyUtil.letterSpacing.default};\n `,\n\t\temphasis: css`\n display: contents;\n font-size: inherit;\n font-weight: 600;\n `,\n\t\ttextBody1: css`\n font-size: ${typographyUtil.fontSize.body1}px;\n font-weight: 500;\n opacity: 0.88;\n letter-spacing: ${typographyUtil.letterSpacing.body1};\n `,\n\t\ttextBody2: css`\n letter-spacing: ${typographyUtil.letterSpacing.default};\n `,\n\t\tparagraph: css`\n display: block;\n margin-bottom: 20px;\n `,\n\t\tcaption: css`\n letter-spacing: ${typographyUtil.letterSpacing.caption};\n font-size: ${typographyUtil.fontSize.caption}px;\n font-weight: 500;\n `,\n\t\toverline: css`\n letter-spacing: ${typographyUtil.letterSpacing.overline};\n font-size: ${typographyUtil.fontSize.overline}px;\n font-weight: 600;\n opacity: 0.88;\n text-transform: uppercase;\n \n &&.${prefixCls}-typography {\n margin-bottom: 0;\n }\n `,\n\t}))();\n};\n","import type {\n\tAvatarProps,\n\tBreadcrumbProps,\n\tButtonProps,\n\tCardProps,\n\tTypographyProps,\n\tTabsProps,\n\tRadioProps,\n\tSwitchProps,\n\tBadgeProps,\n\tCheckboxProps,\n\tSegmentedProps,\n\tStepsProps,\n\tSelectProps,\n\tFormProps,\n\tFormItemProps,\n\tDatePickerProps,\n\tMenuProps,\n\tTimePickerProps,\n\tThemeConfig,\n\tTimeRangePickerProps,\n\tTagProps,\n\tConfigProviderProps,\n\tSpaceProps,\n} from \"antd\";\n\nimport type { TextProps } from \"antd/es/typography/Text\";\nimport type { TitleProps } from \"antd/es/typography/Title\";\nimport type { ParagraphProps } from \"antd/es/typography/Paragraph\";\nimport type { InputProps } from \"antd/es/input/Input\";\nimport type { PaginationProps } from \"antd/es/pagination/Pagination\";\nimport type { TextAreaProps } from \"antd/es/input\";\nimport type { RibbonProps } from \"antd/es/badge/Ribbon\";\nimport type { NewToken } from \"../../theme/customTheme\";\nimport type {\n\tPresetColorType,\n\tPresetStatusColorType,\n} from \"antd/es/_util/colors\";\nimport type { LiteralUnion } from \"antd/es/_util/type\";\nimport type { TabsType } from \"antd/es/tabs\";\nimport type {\n\tBreadcrumbItemType,\n\tBreadcrumbSeparatorType,\n} from \"antd/es/breadcrumb/Breadcrumb\";\nimport type { DropdownButtonProps, DropdownProps } from \"antd/es/dropdown\";\n\n/**\n * props for the acacia themes\n */\nexport type AcaciaThemes = \"classic\" | \"submarine\" | \"mystical\";\n\n/**\n * Props for Acacia Breadcrumb component\n * @see https://ant.design/components/breadcrumb\n */\n\nexport type AcaciaBreadcrumbItemType = BreadcrumbItemType & {\n\ticon?: React.ReactNode;\n\t/**\n\t * @default end\n\t */\n\ticonPosition?: \"start\" | \"end\";\n};\n\nexport type AcaciaItemType = Partial<\n\tAcaciaBreadcrumbItemType & BreadcrumbSeparatorType\n>;\n\nexport interface AcaciaBreadcrumbProps extends BreadcrumbProps {\n\titems?: AcaciaItemType[];\n\t/**\n\t * @default /\n\t */\n\tseparator?: \"/\";\n}\n\n/**\n * Props for Palette Avatar component\n * @see https://ant.design/components/avatar\n *\n * Custom props:\n * @property {string} [userId] - id of the user. if you want to show the user id in the avatar, set this property\n * @property {\"solid\" | \"transparent\"} [type=solid] - determines the avatar type. 'solid' is for solid background while 'transparent' is for transparent background\n * @property {() => void} [onClick] - click handler, to handle showing of\n */\nexport interface AcaciaAvatarProps extends AvatarProps {\n\tuserId?: string;\n\ttype?: \"solid\" | \"transparent\";\n\tonClick?: () => void;\n}\n\n/**\n * Props for Acacia Button component\n * @see https://ant.design/components/button\n */\nexport interface AcaciaButtonProps extends ButtonProps {\n\t/** Set button color */\n\tcolor?:\n\t\t| \"default\"\n\t\t| \"primary\"\n\t\t| \"danger\"\n\t\t| \"blue\"\n\t\t| \"purple\"\n\t\t| \"cyan\"\n\t\t| \"green\"\n\t\t| \"magenta\"\n\t\t| \"pink\"\n\t\t| \"red\"\n\t\t| \"orange\"\n\t\t| \"yellow\"\n\t\t| \"volcano\"\n\t\t| \"geekblue\"\n\t\t| \"lime\"\n\t\t| \"gold\";\n\n\tvariant?: \"outlined\" | \"dashed\" | \"solid\" | \"filled\" | \"text\" | \"link\";\n\t/**\n\t * Button style type.\n\t * @default default\n\t */\n\ttype?: \"primary\" | \"dashed\" | \"link\" | \"text\" | \"default\";\n}\n\n/**\n * Props for Acacia Card component\n * @see https://ant.design/components/card\n *\n * custom props:\n * @property {boolean} [plainBody=false] - determines if the card should have plain body or textured body\n * @property {React.ReactNode | string} [title] - card header title\n * @property {React.ReactNode | string} [subtitle] - card header subtitle\n *\n */\nexport interface AcaciaCardProps extends CardProps {\n\t/**\n\t * content in the card\n\t */\n\tsubtitle?: React.ReactNode | string;\n\ttitle?: React.ReactNode | string;\n\tplainBody?: boolean;\n\t/**\n\t * custom background banner picture if decides not to use themes.\n\t * we are assuming that the picture is found under the public folder in nextjs\n\t * example usage:\n\t * headerBackgroundPicture: \"./test.png\"\n\t */\n\theaderBackgroundPicture?: string;\n\t/**\n\t * \tprovides 3 themes of card header background, and put hexagon as the default\n\t */\n\theaderBackgroundTheme?: AcaciaThemes;\n\ticon: React.ReactNode | string;\n}\n\n/**\n * Props for Typography component\n * @see https://ant.design/components/typography\n */\nexport interface AcaciaTypographyProps extends TypographyProps {}\n\n/**\n * Props for Acacia Title component\n * @see https://ant.design/components/typography\n *\n * custom props:\n * @property {string} [color] - color of the title\n */\nexport interface AcaciaTitleProps extends TitleProps {\n\tchildren: React.ReactNode;\n\tcolor?: string;\n}\n\n/**\n * Props for Palette Text component\n * @see https://ant.design/components/typography\n *\n * custom props:\n * @property {string} [color] - color of the title\n * @property {1 | 2} [level=1] - level of the text\n */\nexport interface AcaciaTextProps extends TextProps {\n\tchildren: React.ReactNode;\n\tlevel?: 1 | 2;\n\tcolor?: string;\n}\n\n/**\n * Props for Acacia Text component\n * @see https://ant.design/components/typography\n *\n */\nexport interface AcaciaEmphasisProps extends AcaciaTextProps {}\n\n/**\n * Props for Acacia Typography component\n * @see https://ant.design/components/typography\n *\n * custom Palette props:\n * @property {string} [color] - color of the title\n */\nexport interface AcaciaBasicTypographyProps extends TextProps {\n\tchildren: React.ReactNode;\n\tcolor?: string;\n}\n\n/**\n * Props for Acacia Paragraph component\n * @see https://ant.design/components/typography\n *\n * custom props:\n * @property {string} [color] - color of the title\n */\nexport interface AcaciaParagraphProps extends ParagraphProps {\n\tchildren: React.ReactNode;\n\tcolor?: string;\n}\n\n/**\n * Props for Acacia Space component\n * @see https://ant.design/components/space\n *\n */\nexport interface AcaciaSpaceProps extends SpaceProps {}\n\n/**\n * Props for Acacia Pagination component\n * @see https://ant.design/components/pagination\n *\n */\nexport interface AcaciaPaginationProps extends PaginationProps {\n\t/**\n\t * @default \"solid\"\n\t */\n\tselectedStyle?: \"solid\" | \"outline\";\n}\n\n/**\n * Props for Acacia Input component\n * @see https://ant.design/components/input\n *\n */\nexport interface AcaciaInputProps extends InputProps {}\n\n/**\n * Props for Acacia Input Text Area component\n * @see https://ant.design/components/input#inputtextarea\n *\n */\nexport interface AcaciaInputTextAreaProps extends TextAreaProps {}\n\n/**\n * Props for Acacia Tabs component\n * @see https://ant.design/components/tabs\n *\n * custom props:\n * @property {\"page\" | \"header\"} [colorType=page] - determines the breadcrumb type. 'header' is for breadcrumb within the header while 'page' is for breadcrumb on the page itself\n */\n\ntype AcaciaTabsType = TabsType | \"page\" | \"header\";\n\nexport interface AcaciaTabsProps extends Omit<TabsProps, \"type\"> {\n\ttype: TabsType | \"page\" | \"header\";\n}\n\n/**\n * Props for Palette Radio component\n */\nexport interface AcaciaRadioProps extends RadioProps {}\n\n/**\n * Props for Acacia Switch component\n * @see https://ant.design/components/switch\n */\nexport interface AcaciaSwitchProps extends SwitchProps {}\n\n/**\n * Props for Acacia Badge component\n * @see https://ant.design/components/badge\n */\nexport interface AcaciaBadgeProps extends BadgeProps {}\n\n/**\n * Props for Acacia Badge.Ribbon component\n * @see https://ant.design/components/badge#badgeribbon\n */\nexport interface AcaciaRibbonProps extends RibbonProps {}\n\n/**\n * Props for Acacia Checkbox component\n * @see https://ant.design/components/checkbox\n */\nexport interface AcaciaCheckboxProps extends CheckboxProps {}\n\n/**\n * Props for Acacia Segmented component\n * @see https://ant.design/components/segmented\n */\nexport interface AcaciaSegmentedProps extends SegmentedProps {}\n\n/**\n * Props for Acacia Steps component\n * @see https://ant.design/components/steps\n */\nexport interface PaletteStepsProps extends StepsProps {}\n\n/**\n * Props for Acacia Select component\n * @see https://ant.design/components/select\n */\nexport interface AcaciaSelectProps extends SelectProps {}\n\n/**\n * Props for Acacia Panel component\n *\n * custom props:\n * @property {React.ReactNode} children - content in the panel\n */\nexport interface AcaciaPanelProps {\n\tchildren: React.ReactNode;\n}\n\n/**\n * Props for Acacia Form component\n * @see https://ant.design/components/form\n *\n */\nexport interface AcaciaFormProps extends FormProps {\n\tchildren: React.ReactNode;\n}\n\n/**\n * Props for Acacia Form.Item component\n * @see https://ant.design/components/form#formitem\n *\n * custom props:\n * @property {string | React.ReactNode} [infoCopy] - helper text under the form item\n */\nexport interface AcaciaFormItemProps extends FormItemProps {\n\tchildren: React.ReactNode;\n\tinfoCopy?: string | React.ReactNode;\n}\n\n/**\n * dropdown\n */\nexport interface AcaciaDropdownProps extends DropdownProps {}\nexport interface AcaciaDropdownButtonProps extends DropdownButtonProps {}\n\n/**\n * DATEPICKER\n */\nexport interface AcaciaDatePickerProps extends DatePickerProps {}\nexport interface AcaciaDateRangePickerProps extends TimeRangePickerProps {}\n\nexport interface AcaciaTimePickerProps extends TimePickerProps {}\n\nexport interface AcaciaTimeRangePickerProps extends TimeRangePickerProps {}\n\n/**\n * MENU\n */\nexport interface AcaciaMenuProps extends MenuProps {\n\t/**\n\t * @default true\n\t */\n\tshowRightBorder?: boolean;\n}\n\n/**\n * BASIC PANEL\n */\nexport interface AcaciaBasicPanelProps {\n\tchildren: React.ReactNode;\n\tbgColor?: string;\n}\n\nexport interface AcaciaConfigProviderProps extends ConfigProviderProps {\n\tchildren: React.ReactNode;\n\tcustomToken?: Partial<NewToken>;\n\ttheme?: ThemeConfig;\n}\n\n/**\n * TAG\n */\nexport const AcaciaCustomColors = {\n\t\"cobalt-blue\": { background: \"#2C62D5\", color: \"white\" },\n\t\"pastel-red\": { background: \"#DB3056\", color: \"white\" },\n};\n\nexport const AcaciaColorArray = [\"cobalt-blue\", \"pastel-red\"] as const;\nexport type AcaciaColorType = (typeof AcaciaColorArray)[number];\nexport type AcaciaColors = LiteralUnion<\n\tPresetColorType | PresetStatusColorType | AcaciaColorType\n>;\n\nexport const isValidCustomColor = (\n\tvalue: string,\n): value is (typeof AcaciaColorArray)[number] => {\n\treturn AcaciaColorArray.includes(value as any);\n};\n\n// extends the current Tag props and add more colors to the list\nexport interface AcaciaTagProps extends TagProps {\n\tcolor?: AcaciaColors;\n}\n\n// custom token for Acacia\nexport interface AcaciaCustomToken {\n\t/**\n\t * @nameEN Main font for the entire app\n\t * @descEN Font used for most elements in the app\n\t */\n\tfontFamily: string;\n\t/**\n\t * @nameEN Heading font for the entire app\n\t * @descEN Font used for headings in the app\n\t */\n\theadingFontFamily: string;\n\tcolors: {\n\t\t/**\n\t\t * @nameEN Main primary color of the app\n\t\t * @descEN Controls the primary color of all elements\n\t\t */\n\t\tprimary: string;\n\t\t/**\n\t\t * @nameEN Main color for the text\n\t\t * @descEN Controls the main color for the text elements\n\t\t */\n\t\tprimaryText: string;\n\t\t/**\n\t\t * @nameEN Main color for the caption text\n\t\t * @descEN Controls the color for the caption text elements\n\t\t */\n\t\tcaption: string;\n\t};\n\ttheme: {\n\t\tlightOnDark: boolean;\n\t\tbrand: string;\n\t\tgradient1: string;\n\t\tgradient2: string;\n\t\tgradient3: string;\n\t\tgradient4: string;\n\t\tcove: string;\n\t\taccent: string;\n\t\tbody: string;\n\t};\n\theader: {\n\t\timgUrl: string;\n\t};\n\tsidepanel: {\n\t\timgUrl: string;\n\t};\n\tpanel: {\n\t\tbgColor: string;\n\t};\n\tcard: {\n\t\tbgcolor: string;\n\t\tcontentbg: string;\n\t\theaderbg: string;\n\t};\n}\n","import { generate } from \"../utils/colors.util\";\nexport const useAcaciaColors = () => {\n\tconst colors = {\n\t\tprimaryGreen: \"#334F4E\",\n\t\tmystiqueBlack: \"#000\",\n\t\twhite: \"#FFF\",\n\t\toffWhite: \"#F9F9F9\",\n\t\tbrightGreen: \"#A4ED06\",\n\t\tneutralGrey: \"#BBBDBE\",\n\t\tlesserInk: \"#3D4040\",\n\t\tborder: {\n\t\t\tbutton: \"#B3B3B3\",\n\t\t\tcell: \"#CCC\",\n\t\t\tpage: \"#B3B3B3\",\n\t\t},\n\t\tlink: {\n\t\t\thover: \"#E5FAF6\",\n\t\t},\n\t\tsuccess: {\n\t\t\tprimary: \"#268C79\",\n\t\t\tfill: \"#E5FAF6\",\n\t\t\tstroke: \"#ADD8D0\",\n\t\t\temphasis: \"#00B996\",\n\t\t},\n\t\twarning: {\n\t\t\tprimary: \"#E46015\",\n\t\t\tfill: \"#FFF1E9\",\n\t\t\tstroke: \"#E9BA9F\",\n\t\t\temphasis: \"#FF6D1B\",\n\t\t},\n\t\terror: {\n\t\t\tprimary: \"#DB3056\",\n\t\t\tfill: \"#FFF0F3\",\n\t\t\tstroke: \"#FFBBCA\",\n\t\t\temphasis: \"#FF5C81\",\n\t\t},\n\t\tinfo: {\n\t\t\tprimary: \"#2C62D5\",\n\t\t\tfill: \"#EBF3FF\",\n\t\t\tstroke: \"#AFC9FF\",\n\t\t\temphasis: \"#296EFF\",\n\t\t},\n\t};\n\n\treturn { colors, generate };\n};\n","export const useAcaciaConfig = () => {\n\tconst borderRadius = {\n\t\tprimary: 3,\n\t\ttag: 20,\n\t\tavatar: 20,\n\t\tpanel: 5,\n\t\tcard: 5,\n\t};\n\n\tconst transition = {\n\t\tantdItem:\n\t\t\t\"border-color 0.3s, background 0.3s, padding 0.2s cubic-bezier(0.215, 0.61, 0.355, 1)\",\n\t};\n\n\tconst shadow = {\n\t\tcard: `rgba(0, 0, 0, 0.05) 0px 6px 24px 0px, \n rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;`,\n\t};\n\n\tconst layout = {\n\t\txxlUtil: {\n\t\t\tpaddingInline: 60,\n\t\t\tpaddingBlock: 20,\n\t\t\tlogoMaxWidth: 120,\n\t\t},\n\t\txlUtil: {\n\t\t\tpaddingInline: 20,\n\t\t\tpaddingBlock: 20,\n\t\t\tlogoMaxWidth: 100,\n\t\t},\n\t};\n\n\tconst padding = {\n\t\ttabs: \"10px 20px\",\n\t};\n\n\treturn { borderRadius, layout, transition, shadow, padding };\n};\n","import { useEffect } from \"react\";\n\nexport const useFoucHandler = (id: string, delay?: number) => {\n const removeNoFouc = () => {\n if (typeof window !== undefined) {\n const noFouc = document.getElementById(id);\n\n if (noFouc) {\n noFouc.removeAttribute(\"id\");\n }\n }\n };\n\n useEffect(() => {\n setTimeout(() => {\n removeNoFouc();\n }, delay);\n }, []);\n};\n","import { useState, useEffect } from \"react\";\n\nexport const useScreenSize = (debounceTime = 200) => {\n let timeout: ReturnType<typeof setTimeout> | null;\n\n const [screenSize, setScreenSize] = useState({});\n\n useEffect(() => {\n const handleResize = () => {\n if (timeout) {\n clearTimeout(timeout);\n }\n\n timeout = setTimeout(() => {\n if (typeof window !== \"undefined\") {\n setScreenSize({\n width: window.innerWidth,\n height: window.innerHeight,\n });\n }\n }, debounceTime);\n };\n\n if (typeof window !== \"undefined\") {\n window.addEventListener(\"resize\", handleResize);\n }\n\n // Clean up the event listener when the component unmounts\n return () => {\n if (typeof window !== \"undefined\") {\n window.removeEventListener(\"resize\", handleResize);\n }\n };\n }, []);\n\n return screenSize;\n};\n\nexport default useScreenSize;\n","// components\n\nexport { default as Button } from \"./components/ui/Button/Button\";\nexport { default as Badge } from \"./components/ui/Badge/Badge\";\nexport { default as ConfigProvider } from \"./components/ui/ConfigProvider/ConfigProvider\";\nexport { default as Breadcrumb } from \"./components/ui/Breadcrumb/Breadcrumb\";\nexport { default as Checkbox } from \"./components/ui/Checkbox/Checkbox\";\nexport { default as Radio } from \"./components/ui/Radio/Radio\";\nexport { default as Segmented } from \"./components/ui/Segmented/Segmented\";\nexport { default as Select } from \"./components/ui/Select/Select\";\nexport { default as Switch } from \"./components/ui/Switch/Switch\";\nexport { default as Input } from \"./components/ui/Input/Input\";\nexport { default as Dropdown } from \"./components/ui/Dropdown/Dropdown\";\nexport { default as Pagination } from \"./components/ui/Pagination/Pagination\";\nexport { default as Typography } from \"./components/ui/Typography/Typography\";\nexport { default as TimePicker } from \"./components/ui/TimePicker/TimePicker\";\nexport { default as DatePicker } from \"./components/ui/DatePicker/DatePicker\";\nexport { default as Card } from \"./components/ui/Card/Card\";\nexport { default as Tag } from \"./components/ui/Tag/Tag\";\nexport { default as Tabs } from \"./components/ui/Tabs/Tabs\";\nexport { default as Avatar } from \"./components/ui/Avatar/Avatar\";\nexport { default as Menu } from \"./components/ui/Menu/Menu\";\n\nexport { default as VerticalLayout } from \"./components/layout/VerticalLayout/VerticalLayout\";\nexport { default as VerticalHeader } from \"./components/layout/VerticalLayout/VerticalHeader\";\n\nexport type { NewToken } from \"./theme/customTheme\";\n// hooks\nexport { useAcaciaColors } from \"./hooks/useAcaciaColors\";\nexport { useFoucHandler } from \"./hooks/useFoucHandler\";\nexport { useAcaciaConfig } from \"./hooks/useAcaciaConfig\";\nexport { useScreenSize } from \"./hooks/useScreenSize\";\n// export { usePaletteToken } from \"./tokens/usePaletteToken\";\n\n// interfaces\nexport type {\n\tAcaciaButtonProps,\n\tAcaciaBreadcrumbProps,\n\tAcaciaBadgeProps,\n\tAcaciaRibbonProps,\n\tAcaciaCheckboxProps,\n\tAcaciaSegmentedProps,\n\tAcaciaTypographyProps,\n\tAcaciaConfigProviderProps,\n\tAcaciaDatePickerProps,\n\tAcaciaDateRangePickerProps,\n\tAcaciaTabsProps,\n\tAcaciaTimePickerProps,\n\tAcaciaTimeRangePickerProps,\n\tAcaciaInputProps,\n\tAcaciaSwitchProps,\n\tAcaciaInputTextAreaProps,\n\tAcaciaPaginationProps,\n\tAcaciaSelectProps,\n\tAcaciaRadioProps,\n\tAcaciaBasicPanelProps,\n} from \"./components/ui/interfaces\";\n","import \"@fontsource-variable/roboto-flex\";\nimport type { AcaciaThemes } from \"../components/ui/interfaces\";\n\nexport interface NewToken {\n\theadingFontFamily: string;\n\tappTheme: AcaciaThemes;\n\tlogo: React.ReactNode | string;\n}\n\n// By extending the type definition of the `CustomToken` interface for `antd-style`, you can add corresponding token type definitions to the `useTheme` hooks\ndeclare module \"antd-style\" {\n\t// eslint-disable-next-line @typescript-eslint/no-empty-interface\n\texport interface CustomToken extends NewToken {}\n}\n\nexport const CustomTheme: NewToken = {\n\theadingFontFamily:\n\t\t'\"Roboto Flex Variable\", \"Roboto Flex\", \"Segoe UI\", sans-serif',\n\tappTheme: \"classic\",\n\tlogo: \"TEST LOGO\",\n};\n","import { useTheme } from \"antd-style\";\nimport \"@fontsource-variable/roboto-flex\";\nimport Typography from \"../components/ui/Typography/Typography\";\nimport { useContext } from \"react\";\nimport { VerticalLayoutContext } from \"../components/layout/VerticalLayout/VerticalLayout\";\nimport { renderBlackOrWhiteText } from \"../utils/colors.util\";\nimport ConfigProvider from \"../components/ui/ConfigProvider/ConfigProvider\";\nimport { theme } from \"antd\";\nimport { useGetDefaultTheme } from \"../components/ui/ConfigProvider/defaultTheme\";\n\nexport default function DefaultLogo() {\n\tconst context = useContext(VerticalLayoutContext);\n\tconst isNestedInLayout = Boolean(context); // check if nested or not to handle colors\n\n\tconst token = useTheme();\n\tconst { useToken } = theme;\n\tconst globalToken = useToken(); // get the default, antd tokens\n\n\tconst defaultTheme = useGetDefaultTheme(); // get the default, overwritten tokens\n\n\tconst getLogo = () => {\n\t\tif (typeof token.logo === \"string\") {\n\t\t\treturn (\n\t\t\t\t<Typography.Title\n\t\t\t\t\tstyle={{\n\t\t\t\t\t\tmargin: 0,\n\t\t\t\t\t\tcolor:\n\t\t\t\t\t\t\tcontext?.mainTextColor ??\n\t\t\t\t\t\t\trenderBlackOrWhiteText(context?.gradients[0]),\n\t\t\t\t\t}}\n\t\t\t\t\tlevel={4}\n\t\t\t\t>\n\t\t\t\t\t{token.logo}\n\t\t\t\t</Typography.Title>\n\t\t\t);\n\t\t}\n\t\treturn (\n\t\t\t<div\n\t\t\t\tstyle={{\n\t\t\t\t\tcolor:\n\t\t\t\t\t\tcontext?.mainTextColor ??\n\t\t\t\t\t\trenderBlackOrWhiteText(context?.gradients[0]),\n\t\t\t\t}}\n\t\t\t>\n\t\t\t\t<ConfigProvider\n\t\t\t\t\ttheme={{\n\t\t\t\t\t\ttoken: { ...defaultTheme.token, ...globalToken.token },\n\t\t\t\t\t\tcomponents: {\n\t\t\t\t\t\t\tTypography: {\n\t\t\t\t\t\t\t\t...(isNestedInLayout\n\t\t\t\t\t\t\t\t\t? {\n\t\t\t\t\t\t\t\t\t\t\tcolorText:\n\t\t\t\t\t\t\t\t\t\t\t\tcontext?.mainTextColor ??\n\t\t\t\t\t\t\t\t\t\t\t\trenderBlackOrWhiteText(context?.gradients[0]),\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t: {}), // only override if its nested in the layout\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t},\n\t\t\t\t\t}}\n\t\t\t\t>\n\t\t\t\t\t{token.logo}\n\t\t\t\t</ConfigProvider>\n\t\t\t</div>\n\t\t);\n\t};\n\n\treturn (\n\t\t<a\n\t\t\thref=\"/\"\n\t\t\tstyle={{\n\t\t\t\tcursor: \"pointer\",\n\t\t\t\ttextDecoration: \"none\",\n\t\t\t\tdisplay: \"inline-flex\",\n\t\t\t\talignItems: \"center\",\n\t\t\t}}\n\t\t>\n\t\t\t{getLogo()}\n\t\t</a>\n\t);\n}\n","export const typographyUtil = {\n\tfontSize: {\n\t\th1: 34,\n\t\th2: 28,\n\t\th3: 22,\n\t\th4: 20,\n\t\th5: 16,\n\t\tbody1: 16,\n\t\tbody2: 14,\n\t\tcaption: 12,\n\t\toverline: 11,\n\t},\n\tletterSpacing: {\n\t\th1: \".1em\",\n\t\th2: \".05em\",\n\t\th3: \".025em\",\n\t\th4: \".025em\",\n\t\th5: \".03em\",\n\t\tbody1: \".05em\",\n\t\tdefault: \".025em\",\n\t\tcaption: \".05em\",\n\t\toverline: \".1em\",\n\t},\n};\n","import { theme } from \"antd\";\n\nconst { useToken } = theme;\n\nexport const useAcaciaToken = () => {\n\tconst { token: antdToken } = useToken();\n\tconst token = antdToken;\n\n\treturn { token };\n};\n","import { generate as antdGenerate, grey } from \"@ant-design/colors\";\nimport { isLight } from \"@mirawision/colorize\";\n\nexport const generate = (color?: string, darken?: boolean) => {\n\tconst colors = color\n\t\t? antdGenerate(color, {\n\t\t\t\ttheme: darken ? \"dark\" : \"default\",\n\t\t\t})\n\t\t: [];\n\n\tconst neutral = antdGenerate(grey[0], {\n\t\ttheme: darken ? \"dark\" : \"default\",\n\t});\n\n\treturn { colors, neutral };\n};\n\n/**\n *@description - used to handle color algorithm to return black / white depending on the color given\n * @param color - HEX color code or a string color (ex: black)\n * @returns return black or white color as string\n */\nexport const renderBlackOrWhiteText = (color: string): string => {\n\t// check if the background banner colors is considered light or dark colors\n\tconst colorIsLight = isLight(color);\n\tif (colorIsLight) {\n\t\treturn \"black\";\n\t}\n\treturn \"white\";\n};\n\nexport function hexToRGBA(hex: string, opacityPercent: number) {\n\tconst alpha = (opacityPercent / 100).toFixed(2);\n\tconst r = Number.parseInt(hex.slice(1, 3), 16);\n\tconst g = Number.parseInt(hex.slice(3, 5), 16);\n\tconst b = Number.parseInt(hex.slice(5, 7), 16);\n\treturn `rgba(${r}, ${g}, ${b}, ${alpha})`;\n}\n","export type ParsedColor =\n\t| { format: \"hex\"; value: string }\n\t| { format: \"rgb\"; value: string }\n\t| { format: \"named\"; value: string };\n\nexport interface ParsedBackgroundColors {\n\tcolors: ParsedColor[];\n}\n\nfunction classifyColor(value: string): ParsedColor[\"format\"] {\n\tif (value.startsWith(\"#\")) return \"hex\";\n\tif (value.startsWith(\"rgb\")) return \"rgb\";\n\treturn \"named\";\n}\n\nconst HEX_REGEX = /#(?:[0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})\\b/g;\n\nconst RGB_REGEX = /rgba?\\(\\s*[\\d\\s.,%]+\\)/gi;\n\n// You should limit named colors to real CSS names\nconst NAMED_COLOR_REGEX =\n\t/\\b(aliceblue|antiquewhite|aqua|black|blue|gray|grey|green|orange|red|white|yellow)\\b/gi;\n\nexport function parseBackgroundColors(css: string): ParsedBackgroundColors {\n\tconst results: ParsedColor[] = [];\n\n\tconst push = (matches: RegExpMatchArray | null) => {\n\t\tmatches?.forEach((value) => {\n\t\t\tresults.push({\n\t\t\t\tformat: classifyColor(value),\n\t\t\t\tvalue,\n\t\t\t});\n\t\t});\n\t};\n\n\tpush(css.match(HEX_REGEX));\n\tpush(css.match(RGB_REGEX));\n\tpush(css.match(NAMED_COLOR_REGEX));\n\n\treturn {\n\t\tcolors: results,\n\t};\n}\n","module.exports = __WEBPACK_EXTERNAL_MODULE_antd__;","module.exports = __WEBPACK_EXTERNAL_MODULE_antd_style__;","module.exports = __WEBPACK_EXTERNAL_MODULE_prop_types__;","module.exports = __WEBPACK_EXTERNAL_MODULE_react__;","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Check if module exists (development only)\n\tif (__webpack_modules__[moduleId] === undefined) {\n\t\tvar e = new Error(\"Cannot find module '\" + moduleId + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","","// startup\n// Load entry module and return exports\n// This entry module is referenced by other modules so it can't be inlined\nvar __webpack_exports__ = __webpack_require__(\"./src/index.tsx\");\n",""],"names":[],"ignoreList":[],"sourceRoot":""}