"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var r=require("@babel/runtime/helpers/typeof"),e=require("dayjs"),t=require("dayjs/plugin/utc.js"),n=require("dayjs/plugin/customParseFormat.js"),i=require("@haixing_hu/common-util");function o(e){if("boolean"==typeof e||e instanceof Boolean)return Boolean(e);if("string"==typeof e||e instanceof String){var t=e.trim().toLowerCase();if("true"===t)return!0;if("false"===t)return!1;throw new RangeError("Invalid boolean format: ".concat(e))}throw new TypeError("Invalid boolean type: actual type is ".concat(r(e)))}function a(e){if(null==e)return null;var t=r(e);if("bigint"===t)return e;if("string"===t||e instanceof String){var n=e.trim();if(""===n)return null;if(/^[+-]?\d+$/.test(n))return Number.parseInt(n,10);throw new RangeError('Invalid integer format: "'.concat(e,'"'))}if("number"===t||e instanceof Number){var i=Number(e);if(Number.isInteger(i))return Math.floor(i);throw new RangeError('Invalid integer value: "'.concat(e,'"'))}throw new TypeError("Invalid integer type: actual type is ".concat(r(e)))}function Y(r,e){var t="undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(!t){if(Array.isArray(r)||(t=function(r,e){if(r){if("string"==typeof r)return m(r,e);var t={}.toString.call(r).slice(8,-1);return"Object"===t&&r.constructor&&(t=r.constructor.name),"Map"===t||"Set"===t?Array.from(r):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?m(r,e):void 0}}(r))||e){t&&(r=t);var n=0,i=function(){};return{s:i,n:function(){return n>=r.length?{done:!0}:{done:!1,value:r[n++]}},e:function(r){throw r},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,Y=!1;return{s:function(){t=t.call(r)},n:function(){var r=t.next();return a=r.done,r},e:function(r){Y=!0,o=r},f:function(){try{a||null==t.return||t.return()}finally{if(Y)throw o}}}}function m(r,e){(null==e||e>r.length)&&(e=r.length);for(var t=0,n=Array(e);t