@star-insure/sdk 6.6.0 → 6.7.0

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.
Files changed (245) hide show
  1. package/dist/index.d.ts +1 -0
  2. package/dist/sdk.es100.js +4 -74
  3. package/dist/sdk.es100.js.map +1 -1
  4. package/dist/sdk.es101.js +12 -73
  5. package/dist/sdk.es101.js.map +1 -1
  6. package/dist/sdk.es102.js +10 -80
  7. package/dist/sdk.es102.js.map +1 -1
  8. package/dist/sdk.es103.js +44 -69
  9. package/dist/sdk.es103.js.map +1 -1
  10. package/dist/sdk.es104.js +44 -35
  11. package/dist/sdk.es104.js.map +1 -1
  12. package/dist/sdk.es105.js +46 -35
  13. package/dist/sdk.es105.js.map +1 -1
  14. package/dist/sdk.es106.js +25 -39
  15. package/dist/sdk.es106.js.map +1 -1
  16. package/dist/sdk.es107.js +24 -41
  17. package/dist/sdk.es107.js.map +1 -1
  18. package/dist/sdk.es108.js +48 -56
  19. package/dist/sdk.es108.js.map +1 -1
  20. package/dist/sdk.es109.js +50 -70
  21. package/dist/sdk.es109.js.map +1 -1
  22. package/dist/sdk.es110.js +59 -73
  23. package/dist/sdk.es110.js.map +1 -1
  24. package/dist/sdk.es111.js +62 -75
  25. package/dist/sdk.es111.js.map +1 -1
  26. package/dist/sdk.es112.js +38 -49
  27. package/dist/sdk.es112.js.map +1 -1
  28. package/dist/sdk.es113.js +39 -50
  29. package/dist/sdk.es113.js.map +1 -1
  30. package/dist/sdk.es114.js +38 -50
  31. package/dist/sdk.es114.js.map +1 -1
  32. package/dist/sdk.es115.js +28 -27
  33. package/dist/sdk.es115.js.map +1 -1
  34. package/dist/sdk.es116.js +68 -32
  35. package/dist/sdk.es116.js.map +1 -1
  36. package/dist/sdk.es117.js +81 -34
  37. package/dist/sdk.es117.js.map +1 -1
  38. package/dist/sdk.es118.js +82 -35
  39. package/dist/sdk.es118.js.map +1 -1
  40. package/dist/sdk.es119.js +81 -34
  41. package/dist/sdk.es119.js.map +1 -1
  42. package/dist/sdk.es120.js +50 -37
  43. package/dist/sdk.es120.js.map +1 -1
  44. package/dist/sdk.es121.js +49 -24
  45. package/dist/sdk.es121.js.map +1 -1
  46. package/dist/sdk.es122.js +49 -34
  47. package/dist/sdk.es122.js.map +1 -1
  48. package/dist/sdk.es123.js +38 -35
  49. package/dist/sdk.es123.js.map +1 -1
  50. package/dist/sdk.es124.js +39 -26
  51. package/dist/sdk.es124.js.map +1 -1
  52. package/dist/sdk.es125.js +41 -27
  53. package/dist/sdk.es125.js.map +1 -1
  54. package/dist/sdk.es126.js +47 -6
  55. package/dist/sdk.es126.js.map +1 -1
  56. package/dist/sdk.es127.js +45 -66
  57. package/dist/sdk.es127.js.map +1 -1
  58. package/dist/sdk.es128.js +46 -31
  59. package/dist/sdk.es128.js.map +1 -1
  60. package/dist/sdk.es129.js +34 -11
  61. package/dist/sdk.es129.js.map +1 -1
  62. package/dist/sdk.es130.js +41 -118
  63. package/dist/sdk.es130.js.map +1 -1
  64. package/dist/sdk.es131.js +41 -83
  65. package/dist/sdk.es131.js.map +1 -1
  66. package/dist/sdk.es132.js +33 -8
  67. package/dist/sdk.es132.js.map +1 -1
  68. package/dist/sdk.es133.js +33 -11
  69. package/dist/sdk.es133.js.map +1 -1
  70. package/dist/sdk.es134.js +67 -14
  71. package/dist/sdk.es134.js.map +1 -1
  72. package/dist/sdk.es135.js +31 -14
  73. package/dist/sdk.es135.js.map +1 -1
  74. package/dist/sdk.es136.js +11 -6
  75. package/dist/sdk.es136.js.map +1 -1
  76. package/dist/sdk.es137.js +121 -6
  77. package/dist/sdk.es137.js.map +1 -1
  78. package/dist/sdk.es138.js +86 -6
  79. package/dist/sdk.es138.js.map +1 -1
  80. package/dist/sdk.es139.js +5 -10
  81. package/dist/sdk.es139.js.map +1 -1
  82. package/dist/sdk.es140.js +7 -7
  83. package/dist/sdk.es140.js.map +1 -1
  84. package/dist/sdk.es141.js +10 -6
  85. package/dist/sdk.es141.js.map +1 -1
  86. package/dist/sdk.es142.js +14 -25
  87. package/dist/sdk.es142.js.map +1 -1
  88. package/dist/sdk.es143.js +13 -99
  89. package/dist/sdk.es143.js.map +1 -1
  90. package/dist/sdk.es144.js +25 -47
  91. package/dist/sdk.es144.js.map +1 -1
  92. package/dist/sdk.es145.js +99 -9
  93. package/dist/sdk.es145.js.map +1 -1
  94. package/dist/sdk.es146.js +47 -10
  95. package/dist/sdk.es146.js.map +1 -1
  96. package/dist/sdk.es147.js +9 -13
  97. package/dist/sdk.es147.js.map +1 -1
  98. package/dist/sdk.es148.js +9 -10
  99. package/dist/sdk.es148.js.map +1 -1
  100. package/dist/sdk.es149.js +13 -39
  101. package/dist/sdk.es149.js.map +1 -1
  102. package/dist/sdk.es150.js +11 -2
  103. package/dist/sdk.es150.js.map +1 -1
  104. package/dist/sdk.es151.js +5 -53
  105. package/dist/sdk.es151.js.map +1 -1
  106. package/dist/sdk.es152.js +6 -10
  107. package/dist/sdk.es152.js.map +1 -1
  108. package/dist/sdk.es153.js +10 -20
  109. package/dist/sdk.es153.js.map +1 -1
  110. package/dist/sdk.es154.js +7 -6
  111. package/dist/sdk.es154.js.map +1 -1
  112. package/dist/sdk.es155.js +6 -14
  113. package/dist/sdk.es155.js.map +1 -1
  114. package/dist/sdk.es156.js +5 -27
  115. package/dist/sdk.es156.js.map +1 -1
  116. package/dist/sdk.es157.js +12 -13
  117. package/dist/sdk.es157.js.map +1 -1
  118. package/dist/sdk.es158.js +27 -3673
  119. package/dist/sdk.es158.js.map +1 -1
  120. package/dist/sdk.es159.js +16 -2
  121. package/dist/sdk.es159.js.map +1 -1
  122. package/dist/sdk.es160.js +1 -1
  123. package/dist/sdk.es26.js +1 -1
  124. package/dist/sdk.es27.js +1 -1
  125. package/dist/sdk.es28.js +1 -1
  126. package/dist/sdk.es29.js +1 -1
  127. package/dist/sdk.es30.js +1 -1
  128. package/dist/sdk.es31.js +1 -1
  129. package/dist/sdk.es33.js +1 -1
  130. package/dist/sdk.es36.js +6 -6
  131. package/dist/sdk.es37.js +11 -11
  132. package/dist/sdk.es38.js +14 -14
  133. package/dist/sdk.es40.js +3 -3
  134. package/dist/sdk.es44.js +1 -1
  135. package/dist/sdk.es45.js +1 -1
  136. package/dist/sdk.es46.js +5 -9
  137. package/dist/sdk.es46.js.map +1 -1
  138. package/dist/sdk.es47.js +21 -6
  139. package/dist/sdk.es47.js.map +1 -1
  140. package/dist/sdk.es48.js +79 -7
  141. package/dist/sdk.es48.js.map +1 -1
  142. package/dist/sdk.es49.js +76 -4
  143. package/dist/sdk.es49.js.map +1 -1
  144. package/dist/sdk.es50.js +231 -15
  145. package/dist/sdk.es50.js.map +1 -1
  146. package/dist/sdk.es51.js +25 -8
  147. package/dist/sdk.es51.js.map +1 -1
  148. package/dist/sdk.es52.js +3 -10
  149. package/dist/sdk.es52.js.map +1 -1
  150. package/dist/sdk.es53.js +2 -9
  151. package/dist/sdk.es53.js.map +1 -1
  152. package/dist/sdk.es54.js +2 -639
  153. package/dist/sdk.es54.js.map +1 -1
  154. package/dist/sdk.es55.js +3 -73
  155. package/dist/sdk.es55.js.map +1 -1
  156. package/dist/sdk.es56.js +7 -4
  157. package/dist/sdk.es56.js.map +1 -1
  158. package/dist/sdk.es57.js +6 -19
  159. package/dist/sdk.es57.js.map +1 -1
  160. package/dist/sdk.es58.js +39 -4
  161. package/dist/sdk.es58.js.map +1 -1
  162. package/dist/sdk.es59.js +2 -18
  163. package/dist/sdk.es59.js.map +1 -1
  164. package/dist/sdk.es60.js +8 -5
  165. package/dist/sdk.es60.js.map +1 -1
  166. package/dist/sdk.es61.js +6 -8
  167. package/dist/sdk.es61.js.map +1 -1
  168. package/dist/sdk.es62.js +7 -48
  169. package/dist/sdk.es62.js.map +1 -1
  170. package/dist/sdk.es63.js +4 -7
  171. package/dist/sdk.es63.js.map +1 -1
  172. package/dist/sdk.es64.js +16 -57
  173. package/dist/sdk.es64.js.map +1 -1
  174. package/dist/sdk.es65.js +9 -65
  175. package/dist/sdk.es65.js.map +1 -1
  176. package/dist/sdk.es66.js +9 -8
  177. package/dist/sdk.es66.js.map +1 -1
  178. package/dist/sdk.es67.js +9 -4
  179. package/dist/sdk.es67.js.map +1 -1
  180. package/dist/sdk.es68.js +639 -5
  181. package/dist/sdk.es68.js.map +1 -1
  182. package/dist/sdk.es69.js +74 -22
  183. package/dist/sdk.es69.js.map +1 -1
  184. package/dist/sdk.es70.js +4 -79
  185. package/dist/sdk.es70.js.map +1 -1
  186. package/dist/sdk.es71.js +19 -76
  187. package/dist/sdk.es71.js.map +1 -1
  188. package/dist/sdk.es72.js +4 -231
  189. package/dist/sdk.es72.js.map +1 -1
  190. package/dist/sdk.es73.js +18 -26
  191. package/dist/sdk.es73.js.map +1 -1
  192. package/dist/sdk.es74.js +6 -3
  193. package/dist/sdk.es74.js.map +1 -1
  194. package/dist/sdk.es75.js +9 -2
  195. package/dist/sdk.es75.js.map +1 -1
  196. package/dist/sdk.es76.js +49 -2
  197. package/dist/sdk.es76.js.map +1 -1
  198. package/dist/sdk.es77.js +8 -4
  199. package/dist/sdk.es77.js.map +1 -1
  200. package/dist/sdk.es78.js +57 -8
  201. package/dist/sdk.es78.js.map +1 -1
  202. package/dist/sdk.es79.js +65 -7
  203. package/dist/sdk.es79.js.map +1 -1
  204. package/dist/sdk.es80.js +8 -10
  205. package/dist/sdk.es80.js.map +1 -1
  206. package/dist/sdk.es81.js +4 -11
  207. package/dist/sdk.es81.js.map +1 -1
  208. package/dist/sdk.es82.js +3674 -12
  209. package/dist/sdk.es82.js.map +1 -1
  210. package/dist/sdk.es83.js +5 -10
  211. package/dist/sdk.es83.js.map +1 -1
  212. package/dist/sdk.es84.js +2 -19
  213. package/dist/sdk.es84.js.map +1 -1
  214. package/dist/sdk.es85.js +53 -5
  215. package/dist/sdk.es85.js.map +1 -1
  216. package/dist/sdk.es86.js +10 -55
  217. package/dist/sdk.es86.js.map +1 -1
  218. package/dist/sdk.es87.js +21 -2
  219. package/dist/sdk.es87.js.map +1 -1
  220. package/dist/sdk.es88.js +1 -8
  221. package/dist/sdk.es88.js.map +1 -1
  222. package/dist/sdk.es89.js +10 -4
  223. package/dist/sdk.es89.js.map +1 -1
  224. package/dist/sdk.es90.js +10 -13
  225. package/dist/sdk.es90.js.map +1 -1
  226. package/dist/sdk.es91.js +12 -14
  227. package/dist/sdk.es91.js.map +1 -1
  228. package/dist/sdk.es92.js +10 -3
  229. package/dist/sdk.es92.js.map +1 -1
  230. package/dist/sdk.es93.js +18 -12
  231. package/dist/sdk.es93.js.map +1 -1
  232. package/dist/sdk.es94.js +5 -9
  233. package/dist/sdk.es94.js.map +1 -1
  234. package/dist/sdk.es95.js +53 -53
  235. package/dist/sdk.es95.js.map +1 -1
  236. package/dist/sdk.es96.js +8 -56
  237. package/dist/sdk.es96.js.map +1 -1
  238. package/dist/sdk.es97.js +5 -59
  239. package/dist/sdk.es97.js.map +1 -1
  240. package/dist/sdk.es98.js +13 -32
  241. package/dist/sdk.es98.js.map +1 -1
  242. package/dist/sdk.es99.js +15 -31
  243. package/dist/sdk.es99.js.map +1 -1
  244. package/package.json +1 -1
  245. package/src/types/models/quotes/QuoteRequestVehicle.ts +1 -0
package/dist/sdk.es64.js CHANGED
@@ -1,60 +1,19 @@
1
- import f from "./sdk.es89.js";
2
- import m from "./sdk.es90.js";
3
- import h from "./sdk.es91.js";
4
- import l from "./sdk.es92.js";
5
- import v from "./sdk.es93.js";
6
- import o from "./sdk.es94.js";
7
- var T = 10, p = /* @__PURE__ */ function() {
8
- function n() {
9
- l(this, n), o(this, "priority", void 0), o(this, "subPriority", 0);
10
- }
11
- return v(n, [{
12
- key: "validate",
13
- value: function(e, i) {
14
- return !0;
15
- }
16
- }]), n;
17
- }(), d = /* @__PURE__ */ function(n) {
18
- m(e, n);
19
- var s = h(e);
20
- function e(i, t, a, r, c) {
21
- var u;
22
- return l(this, e), u = s.call(this), u.value = i, u.validateValue = t, u.setValue = a, u.priority = r, c && (u.subPriority = c), u;
23
- }
24
- return v(e, [{
25
- key: "validate",
26
- value: function(t, a) {
27
- return this.validateValue(t, this.value, a);
28
- }
29
- }, {
30
- key: "set",
31
- value: function(t, a, r) {
32
- return this.setValue(t, a, this.value, r);
33
- }
34
- }]), e;
35
- }(p), D = /* @__PURE__ */ function(n) {
36
- m(e, n);
37
- var s = h(e);
38
- function e() {
39
- var i;
40
- l(this, e);
41
- for (var t = arguments.length, a = new Array(t), r = 0; r < t; r++)
42
- a[r] = arguments[r];
43
- return i = s.call.apply(s, [this].concat(a)), o(f(i), "priority", T), o(f(i), "subPriority", -1), i;
44
- }
45
- return v(e, [{
46
- key: "set",
47
- value: function(t, a) {
48
- if (a.timestampIsSet)
49
- return t;
50
- var r = /* @__PURE__ */ new Date(0);
51
- return r.setFullYear(t.getUTCFullYear(), t.getUTCMonth(), t.getUTCDate()), r.setHours(t.getUTCHours(), t.getUTCMinutes(), t.getUTCSeconds(), t.getUTCMilliseconds()), r;
52
- }
53
- }]), e;
54
- }(p);
1
+ import u from "./sdk.es61.js";
2
+ import f from "./sdk.es62.js";
3
+ import s from "./sdk.es63.js";
4
+ function h(n, o) {
5
+ s(2, arguments);
6
+ var t = f(n), r = u(o);
7
+ if (isNaN(r))
8
+ return /* @__PURE__ */ new Date(NaN);
9
+ if (!r)
10
+ return t;
11
+ var a = t.getDate(), e = new Date(t.getTime());
12
+ e.setMonth(t.getMonth() + r + 1, 0);
13
+ var i = e.getDate();
14
+ return a >= i ? e : (t.setFullYear(e.getFullYear(), e.getMonth(), a), t);
15
+ }
55
16
  export {
56
- D as DateToSystemTimezoneSetter,
57
- p as Setter,
58
- d as ValueSetter
17
+ h as default
59
18
  };
60
19
  //# sourceMappingURL=sdk.es64.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"sdk.es64.js","sources":["../node_modules/date-fns/esm/parse/_lib/Setter.js"],"sourcesContent":["import _assertThisInitialized from \"@babel/runtime/helpers/esm/assertThisInitialized\";\nimport _inherits from \"@babel/runtime/helpers/esm/inherits\";\nimport _createSuper from \"@babel/runtime/helpers/esm/createSuper\";\nimport _classCallCheck from \"@babel/runtime/helpers/esm/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/esm/createClass\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nvar TIMEZONE_UNIT_PRIORITY = 10;\nexport var Setter = /*#__PURE__*/function () {\n function Setter() {\n _classCallCheck(this, Setter);\n _defineProperty(this, \"priority\", void 0);\n _defineProperty(this, \"subPriority\", 0);\n }\n _createClass(Setter, [{\n key: \"validate\",\n value: function validate(_utcDate, _options) {\n return true;\n }\n }]);\n return Setter;\n}();\nexport var ValueSetter = /*#__PURE__*/function (_Setter) {\n _inherits(ValueSetter, _Setter);\n var _super = _createSuper(ValueSetter);\n function ValueSetter(value, validateValue, setValue, priority, subPriority) {\n var _this;\n _classCallCheck(this, ValueSetter);\n _this = _super.call(this);\n _this.value = value;\n _this.validateValue = validateValue;\n _this.setValue = setValue;\n _this.priority = priority;\n if (subPriority) {\n _this.subPriority = subPriority;\n }\n return _this;\n }\n _createClass(ValueSetter, [{\n key: \"validate\",\n value: function validate(utcDate, options) {\n return this.validateValue(utcDate, this.value, options);\n }\n }, {\n key: \"set\",\n value: function set(utcDate, flags, options) {\n return this.setValue(utcDate, flags, this.value, options);\n }\n }]);\n return ValueSetter;\n}(Setter);\nexport var DateToSystemTimezoneSetter = /*#__PURE__*/function (_Setter2) {\n _inherits(DateToSystemTimezoneSetter, _Setter2);\n var _super2 = _createSuper(DateToSystemTimezoneSetter);\n function DateToSystemTimezoneSetter() {\n var _this2;\n _classCallCheck(this, DateToSystemTimezoneSetter);\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n _this2 = _super2.call.apply(_super2, [this].concat(args));\n _defineProperty(_assertThisInitialized(_this2), \"priority\", TIMEZONE_UNIT_PRIORITY);\n _defineProperty(_assertThisInitialized(_this2), \"subPriority\", -1);\n return _this2;\n }\n _createClass(DateToSystemTimezoneSetter, [{\n key: \"set\",\n value: function set(date, flags) {\n if (flags.timestampIsSet) {\n return date;\n }\n var convertedDate = new Date(0);\n convertedDate.setFullYear(date.getUTCFullYear(), date.getUTCMonth(), date.getUTCDate());\n convertedDate.setHours(date.getUTCHours(), date.getUTCMinutes(), date.getUTCSeconds(), date.getUTCMilliseconds());\n return convertedDate;\n }\n }]);\n return DateToSystemTimezoneSetter;\n}(Setter);"],"names":["TIMEZONE_UNIT_PRIORITY","Setter","_classCallCheck","_defineProperty","_createClass","_utcDate","_options","ValueSetter","_Setter","_inherits","_super","_createSuper","value","validateValue","setValue","priority","subPriority","_this","utcDate","options","flags","DateToSystemTimezoneSetter","_Setter2","_super2","_this2","_len","args","_key","_assertThisInitialized","date","convertedDate"],"mappings":";;;;;;AAMA,IAAIA,IAAyB,IAClBC,IAAsB,2BAAY;AAC3C,WAASA,IAAS;AAChB,IAAAC,EAAgB,MAAMD,CAAM,GAC5BE,EAAgB,MAAM,YAAY,MAAM,GACxCA,EAAgB,MAAM,eAAe,CAAC;AAAA,EAC1C;AACE,SAAAC,EAAaH,GAAQ,CAAC;AAAA,IACpB,KAAK;AAAA,IACL,OAAO,SAAkBI,GAAUC,GAAU;AAC3C,aAAO;AAAA,IACb;AAAA,EACA,CAAG,CAAC,GACKL;AACT,EAAC,GACUM,IAA2B,yBAAUC,GAAS;AACvD,EAAAC,EAAUF,GAAaC,CAAO;AAC9B,MAAIE,IAASC,EAAaJ,CAAW;AACrC,WAASA,EAAYK,GAAOC,GAAeC,GAAUC,GAAUC,GAAa;AAC1E,QAAIC;AACJ,WAAAf,EAAgB,MAAMK,CAAW,GACjCU,IAAQP,EAAO,KAAK,IAAI,GACxBO,EAAM,QAAQL,GACdK,EAAM,gBAAgBJ,GACtBI,EAAM,WAAWH,GACjBG,EAAM,WAAWF,GACbC,MACFC,EAAM,cAAcD,IAEfC;AAAA,EACX;AACE,SAAAb,EAAaG,GAAa,CAAC;AAAA,IACzB,KAAK;AAAA,IACL,OAAO,SAAkBW,GAASC,GAAS;AACzC,aAAO,KAAK,cAAcD,GAAS,KAAK,OAAOC,CAAO;AAAA,IAC5D;AAAA,EACA,GAAK;AAAA,IACD,KAAK;AAAA,IACL,OAAO,SAAaD,GAASE,GAAOD,GAAS;AAC3C,aAAO,KAAK,SAASD,GAASE,GAAO,KAAK,OAAOD,CAAO;AAAA,IAC9D;AAAA,EACA,CAAG,CAAC,GACKZ;AACT,EAAEN,CAAM,GACGoB,IAA0C,yBAAUC,GAAU;AACvE,EAAAb,EAAUY,GAA4BC,CAAQ;AAC9C,MAAIC,IAAUZ,EAAaU,CAA0B;AACrD,WAASA,IAA6B;AACpC,QAAIG;AACJ,IAAAtB,EAAgB,MAAMmB,CAA0B;AAChD,aAASI,IAAO,UAAU,QAAQC,IAAO,IAAI,MAAMD,CAAI,GAAGE,IAAO,GAAGA,IAAOF,GAAME;AAC/E,MAAAD,EAAKC,CAAI,IAAI,UAAUA,CAAI;AAE7B,WAAAH,IAASD,EAAQ,KAAK,MAAMA,GAAS,CAAC,IAAI,EAAE,OAAOG,CAAI,CAAC,GACxDvB,EAAgByB,EAAuBJ,CAAM,GAAG,YAAYxB,CAAsB,GAClFG,EAAgByB,EAAuBJ,CAAM,GAAG,eAAe,EAAE,GAC1DA;AAAA,EACX;AACE,SAAApB,EAAaiB,GAA4B,CAAC;AAAA,IACxC,KAAK;AAAA,IACL,OAAO,SAAaQ,GAAMT,GAAO;AAC/B,UAAIA,EAAM;AACR,eAAOS;AAET,UAAIC,IAAgB,oBAAI,KAAK,CAAC;AAC9B,aAAAA,EAAc,YAAYD,EAAK,eAAgB,GAAEA,EAAK,YAAa,GAAEA,EAAK,YAAY,GACtFC,EAAc,SAASD,EAAK,YAAa,GAAEA,EAAK,cAAe,GAAEA,EAAK,cAAa,GAAIA,EAAK,mBAAkB,CAAE,GACzGC;AAAA,IACb;AAAA,EACA,CAAG,CAAC,GACKT;AACT,EAAEpB,CAAM;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"sdk.es64.js","sources":["../node_modules/date-fns/esm/addMonths/index.js"],"sourcesContent":["import toInteger from \"../_lib/toInteger/index.js\";\nimport toDate from \"../toDate/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\n/**\n * @name addMonths\n * @category Month Helpers\n * @summary Add the specified number of months to the given date.\n *\n * @description\n * Add the specified number of months to the given date.\n *\n * @param {Date|Number} date - the date to be changed\n * @param {Number} amount - the amount of months to be added. Positive decimals will be rounded using `Math.floor`, decimals less than zero will be rounded using `Math.ceil`.\n * @returns {Date} the new date with the months added\n * @throws {TypeError} 2 arguments required\n *\n * @example\n * // Add 5 months to 1 September 2014:\n * const result = addMonths(new Date(2014, 8, 1), 5)\n * //=> Sun Feb 01 2015 00:00:00\n */\nexport default function addMonths(dirtyDate, dirtyAmount) {\n requiredArgs(2, arguments);\n var date = toDate(dirtyDate);\n var amount = toInteger(dirtyAmount);\n if (isNaN(amount)) {\n return new Date(NaN);\n }\n if (!amount) {\n // If 0 months, no-op to avoid changing times in the hour before end of DST\n return date;\n }\n var dayOfMonth = date.getDate();\n\n // The JS Date object supports date math by accepting out-of-bounds values for\n // month, day, etc. For example, new Date(2020, 0, 0) returns 31 Dec 2019 and\n // new Date(2020, 13, 1) returns 1 Feb 2021. This is *almost* the behavior we\n // want except that dates will wrap around the end of a month, meaning that\n // new Date(2020, 13, 31) will return 3 Mar 2021 not 28 Feb 2021 as desired. So\n // we'll default to the end of the desired month by adding 1 to the desired\n // month and using a date of 0 to back up one day to the end of the desired\n // month.\n var endOfDesiredMonth = new Date(date.getTime());\n endOfDesiredMonth.setMonth(date.getMonth() + amount + 1, 0);\n var daysInMonth = endOfDesiredMonth.getDate();\n if (dayOfMonth >= daysInMonth) {\n // If we're already at the end of the month, then this is the correct date\n // and we're done.\n return endOfDesiredMonth;\n } else {\n // Otherwise, we now know that setting the original day-of-month value won't\n // cause an overflow, so set the desired day-of-month. Note that we can't\n // just set the date of `endOfDesiredMonth` because that object may have had\n // its time changed in the unusual case where where a DST transition was on\n // the last day of the month and its local time was in the hour skipped or\n // repeated next to a DST transition. So we use `date` instead which is\n // guaranteed to still have the original time.\n date.setFullYear(endOfDesiredMonth.getFullYear(), endOfDesiredMonth.getMonth(), dayOfMonth);\n return date;\n }\n}"],"names":["addMonths","dirtyDate","dirtyAmount","requiredArgs","date","toDate","amount","toInteger","dayOfMonth","endOfDesiredMonth","daysInMonth"],"mappings":";;;AAqBe,SAASA,EAAUC,GAAWC,GAAa;AACxD,EAAAC,EAAa,GAAG,SAAS;AACzB,MAAIC,IAAOC,EAAOJ,CAAS,GACvBK,IAASC,EAAUL,CAAW;AAClC,MAAI,MAAMI,CAAM;AACd,WAAO,oBAAI,KAAK,GAAG;AAErB,MAAI,CAACA;AAEH,WAAOF;AAET,MAAII,IAAaJ,EAAK,QAAS,GAU3BK,IAAoB,IAAI,KAAKL,EAAK,QAAO,CAAE;AAC/C,EAAAK,EAAkB,SAASL,EAAK,SAAU,IAAGE,IAAS,GAAG,CAAC;AAC1D,MAAII,IAAcD,EAAkB,QAAS;AAC7C,SAAID,KAAcE,IAGTD,KASPL,EAAK,YAAYK,EAAkB,YAAa,GAAEA,EAAkB,SAAU,GAAED,CAAU,GACnFJ;AAEX;","x_google_ignoreList":[0]}
package/dist/sdk.es65.js CHANGED
@@ -1,68 +1,12 @@
1
- import { EraParser as r } from "./sdk.es95.js";
2
- import { YearParser as e } from "./sdk.es96.js";
3
- import { LocalWeekYearParser as o } from "./sdk.es97.js";
4
- import { ISOWeekYearParser as m } from "./sdk.es98.js";
5
- import { ExtendedYearParser as a } from "./sdk.es99.js";
6
- import { QuarterParser as t } from "./sdk.es100.js";
7
- import { StandAloneQuarterParser as n } from "./sdk.es101.js";
8
- import { MonthParser as i } from "./sdk.es102.js";
9
- import { StandAloneMonthParser as s } from "./sdk.es103.js";
10
- import { LocalWeekParser as p } from "./sdk.es104.js";
11
- import { ISOWeekParser as P } from "./sdk.es105.js";
12
- import { DateParser as f } from "./sdk.es106.js";
13
- import { DayOfYearParser as w } from "./sdk.es107.js";
14
- import { DayParser as d } from "./sdk.es108.js";
15
- import { LocalDayParser as S } from "./sdk.es109.js";
16
- import { StandAloneLocalDayParser as c } from "./sdk.es110.js";
17
- import { ISODayParser as M } from "./sdk.es111.js";
18
- import { AMPMParser as l } from "./sdk.es112.js";
19
- import { AMPMMidnightParser as u } from "./sdk.es113.js";
20
- import { DayPeriodParser as D } from "./sdk.es114.js";
21
- import { Hour1to12Parser as y } from "./sdk.es115.js";
22
- import { Hour0to23Parser as O } from "./sdk.es116.js";
23
- import { Hour0To11Parser as T } from "./sdk.es117.js";
24
- import { Hour1To24Parser as I } from "./sdk.es118.js";
25
- import { MinuteParser as Y } from "./sdk.es119.js";
26
- import { SecondParser as h } from "./sdk.es120.js";
27
- import { FractionOfSecondParser as k } from "./sdk.es121.js";
28
- import { ISOTimezoneWithZParser as A } from "./sdk.es122.js";
29
- import { ISOTimezoneParser as H } from "./sdk.es123.js";
30
- import { TimestampSecondsParser as L } from "./sdk.es124.js";
31
- import { TimestampMillisecondsParser as W } from "./sdk.es125.js";
32
- var sr = {
33
- G: new r(),
34
- y: new e(),
35
- Y: new o(),
36
- R: new m(),
37
- u: new a(),
38
- Q: new t(),
39
- q: new n(),
40
- M: new i(),
41
- L: new s(),
42
- w: new p(),
43
- I: new P(),
44
- d: new f(),
45
- D: new w(),
46
- E: new d(),
47
- e: new S(),
48
- c: new c(),
49
- i: new M(),
50
- a: new l(),
51
- b: new u(),
52
- B: new D(),
53
- h: new y(),
54
- H: new O(),
55
- K: new T(),
56
- k: new I(),
57
- m: new Y(),
58
- s: new h(),
59
- S: new k(),
60
- X: new A(),
61
- x: new H(),
62
- t: new L(),
63
- T: new W()
64
- };
1
+ import e from "./sdk.es61.js";
2
+ import a from "./sdk.es64.js";
3
+ import m from "./sdk.es63.js";
4
+ function f(r, t) {
5
+ m(2, arguments);
6
+ var o = e(t);
7
+ return a(r, o * 12);
8
+ }
65
9
  export {
66
- sr as parsers
10
+ f as default
67
11
  };
68
12
  //# sourceMappingURL=sdk.es65.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"sdk.es65.js","sources":["../node_modules/date-fns/esm/parse/_lib/parsers/index.js"],"sourcesContent":["import { EraParser } from \"./EraParser.js\";\nimport { YearParser } from \"./YearParser.js\";\nimport { LocalWeekYearParser } from \"./LocalWeekYearParser.js\";\nimport { ISOWeekYearParser } from \"./ISOWeekYearParser.js\";\nimport { ExtendedYearParser } from \"./ExtendedYearParser.js\";\nimport { QuarterParser } from \"./QuarterParser.js\";\nimport { StandAloneQuarterParser } from \"./StandAloneQuarterParser.js\";\nimport { MonthParser } from \"./MonthParser.js\";\nimport { StandAloneMonthParser } from \"./StandAloneMonthParser.js\";\nimport { LocalWeekParser } from \"./LocalWeekParser.js\";\nimport { ISOWeekParser } from \"./ISOWeekParser.js\";\nimport { DateParser } from \"./DateParser.js\";\nimport { DayOfYearParser } from \"./DayOfYearParser.js\";\nimport { DayParser } from \"./DayParser.js\";\nimport { LocalDayParser } from \"./LocalDayParser.js\";\nimport { StandAloneLocalDayParser } from \"./StandAloneLocalDayParser.js\";\nimport { ISODayParser } from \"./ISODayParser.js\";\nimport { AMPMParser } from \"./AMPMParser.js\";\nimport { AMPMMidnightParser } from \"./AMPMMidnightParser.js\";\nimport { DayPeriodParser } from \"./DayPeriodParser.js\";\nimport { Hour1to12Parser } from \"./Hour1to12Parser.js\";\nimport { Hour0to23Parser } from \"./Hour0to23Parser.js\";\nimport { Hour0To11Parser } from \"./Hour0To11Parser.js\";\nimport { Hour1To24Parser } from \"./Hour1To24Parser.js\";\nimport { MinuteParser } from \"./MinuteParser.js\";\nimport { SecondParser } from \"./SecondParser.js\";\nimport { FractionOfSecondParser } from \"./FractionOfSecondParser.js\";\nimport { ISOTimezoneWithZParser } from \"./ISOTimezoneWithZParser.js\";\nimport { ISOTimezoneParser } from \"./ISOTimezoneParser.js\";\nimport { TimestampSecondsParser } from \"./TimestampSecondsParser.js\";\nimport { TimestampMillisecondsParser } from \"./TimestampMillisecondsParser.js\";\n/*\n * | | Unit | | Unit |\n * |-----|--------------------------------|-----|--------------------------------|\n * | a | AM, PM | A* | Milliseconds in day |\n * | b | AM, PM, noon, midnight | B | Flexible day period |\n * | c | Stand-alone local day of week | C* | Localized hour w/ day period |\n * | d | Day of month | D | Day of year |\n * | e | Local day of week | E | Day of week |\n * | f | | F* | Day of week in month |\n * | g* | Modified Julian day | G | Era |\n * | h | Hour [1-12] | H | Hour [0-23] |\n * | i! | ISO day of week | I! | ISO week of year |\n * | j* | Localized hour w/ day period | J* | Localized hour w/o day period |\n * | k | Hour [1-24] | K | Hour [0-11] |\n * | l* | (deprecated) | L | Stand-alone month |\n * | m | Minute | M | Month |\n * | n | | N | |\n * | o! | Ordinal number modifier | O* | Timezone (GMT) |\n * | p | | P | |\n * | q | Stand-alone quarter | Q | Quarter |\n * | r* | Related Gregorian year | R! | ISO week-numbering year |\n * | s | Second | S | Fraction of second |\n * | t! | Seconds timestamp | T! | Milliseconds timestamp |\n * | u | Extended year | U* | Cyclic year |\n * | v* | Timezone (generic non-locat.) | V* | Timezone (location) |\n * | w | Local week of year | W* | Week of month |\n * | x | Timezone (ISO-8601 w/o Z) | X | Timezone (ISO-8601) |\n * | y | Year (abs) | Y | Local week-numbering year |\n * | z* | Timezone (specific non-locat.) | Z* | Timezone (aliases) |\n *\n * Letters marked by * are not implemented but reserved by Unicode standard.\n *\n * Letters marked by ! are non-standard, but implemented by date-fns:\n * - `o` modifies the previous token to turn it into an ordinal (see `parse` docs)\n * - `i` is ISO day of week. For `i` and `ii` is returns numeric ISO week days,\n * i.e. 7 for Sunday, 1 for Monday, etc.\n * - `I` is ISO week of year, as opposed to `w` which is local week of year.\n * - `R` is ISO week-numbering year, as opposed to `Y` which is local week-numbering year.\n * `R` is supposed to be used in conjunction with `I` and `i`\n * for universal ISO week-numbering date, whereas\n * `Y` is supposed to be used in conjunction with `w` and `e`\n * for week-numbering date specific to the locale.\n */\nexport var parsers = {\n G: new EraParser(),\n y: new YearParser(),\n Y: new LocalWeekYearParser(),\n R: new ISOWeekYearParser(),\n u: new ExtendedYearParser(),\n Q: new QuarterParser(),\n q: new StandAloneQuarterParser(),\n M: new MonthParser(),\n L: new StandAloneMonthParser(),\n w: new LocalWeekParser(),\n I: new ISOWeekParser(),\n d: new DateParser(),\n D: new DayOfYearParser(),\n E: new DayParser(),\n e: new LocalDayParser(),\n c: new StandAloneLocalDayParser(),\n i: new ISODayParser(),\n a: new AMPMParser(),\n b: new AMPMMidnightParser(),\n B: new DayPeriodParser(),\n h: new Hour1to12Parser(),\n H: new Hour0to23Parser(),\n K: new Hour0To11Parser(),\n k: new Hour1To24Parser(),\n m: new MinuteParser(),\n s: new SecondParser(),\n S: new FractionOfSecondParser(),\n X: new ISOTimezoneWithZParser(),\n x: new ISOTimezoneParser(),\n t: new TimestampSecondsParser(),\n T: new TimestampMillisecondsParser()\n};"],"names":["parsers","EraParser","YearParser","LocalWeekYearParser","ISOWeekYearParser","ExtendedYearParser","QuarterParser","StandAloneQuarterParser","MonthParser","StandAloneMonthParser","LocalWeekParser","ISOWeekParser","DateParser","DayOfYearParser","DayParser","LocalDayParser","StandAloneLocalDayParser","ISODayParser","AMPMParser","AMPMMidnightParser","DayPeriodParser","Hour1to12Parser","Hour0to23Parser","Hour0To11Parser","Hour1To24Parser","MinuteParser","SecondParser","FractionOfSecondParser","ISOTimezoneWithZParser","ISOTimezoneParser","TimestampSecondsParser","TimestampMillisecondsParser"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA0EU,IAACA,KAAU;AAAA,EACnB,GAAG,IAAIC,EAAW;AAAA,EAClB,GAAG,IAAIC,EAAY;AAAA,EACnB,GAAG,IAAIC,EAAqB;AAAA,EAC5B,GAAG,IAAIC,EAAmB;AAAA,EAC1B,GAAG,IAAIC,EAAoB;AAAA,EAC3B,GAAG,IAAIC,EAAe;AAAA,EACtB,GAAG,IAAIC,EAAyB;AAAA,EAChC,GAAG,IAAIC,EAAa;AAAA,EACpB,GAAG,IAAIC,EAAuB;AAAA,EAC9B,GAAG,IAAIC,EAAiB;AAAA,EACxB,GAAG,IAAIC,EAAe;AAAA,EACtB,GAAG,IAAIC,EAAY;AAAA,EACnB,GAAG,IAAIC,EAAiB;AAAA,EACxB,GAAG,IAAIC,EAAW;AAAA,EAClB,GAAG,IAAIC,EAAgB;AAAA,EACvB,GAAG,IAAIC,EAA0B;AAAA,EACjC,GAAG,IAAIC,EAAc;AAAA,EACrB,GAAG,IAAIC,EAAY;AAAA,EACnB,GAAG,IAAIC,EAAoB;AAAA,EAC3B,GAAG,IAAIC,EAAiB;AAAA,EACxB,GAAG,IAAIC,EAAiB;AAAA,EACxB,GAAG,IAAIC,EAAiB;AAAA,EACxB,GAAG,IAAIC,EAAiB;AAAA,EACxB,GAAG,IAAIC,EAAiB;AAAA,EACxB,GAAG,IAAIC,EAAc;AAAA,EACrB,GAAG,IAAIC,EAAc;AAAA,EACrB,GAAG,IAAIC,EAAwB;AAAA,EAC/B,GAAG,IAAIC,EAAwB;AAAA,EAC/B,GAAG,IAAIC,EAAmB;AAAA,EAC1B,GAAG,IAAIC,EAAwB;AAAA,EAC/B,GAAG,IAAIC,EAA2B;AACpC;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"sdk.es65.js","sources":["../node_modules/date-fns/esm/addYears/index.js"],"sourcesContent":["import toInteger from \"../_lib/toInteger/index.js\";\nimport addMonths from \"../addMonths/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\n/**\n * @name addYears\n * @category Year Helpers\n * @summary Add the specified number of years to the given date.\n *\n * @description\n * Add the specified number of years to the given date.\n *\n * @param {Date|Number} date - the date to be changed\n * @param {Number} amount - the amount of years to be added. Positive decimals will be rounded using `Math.floor`, decimals less than zero will be rounded using `Math.ceil`.\n * @returns {Date} the new date with the years added\n * @throws {TypeError} 2 arguments required\n *\n * @example\n * // Add 5 years to 1 September 2014:\n * const result = addYears(new Date(2014, 8, 1), 5)\n * //=> Sun Sep 01 2019 00:00:00\n */\nexport default function addYears(dirtyDate, dirtyAmount) {\n requiredArgs(2, arguments);\n var amount = toInteger(dirtyAmount);\n return addMonths(dirtyDate, amount * 12);\n}"],"names":["addYears","dirtyDate","dirtyAmount","requiredArgs","amount","toInteger","addMonths"],"mappings":";;;AAqBe,SAASA,EAASC,GAAWC,GAAa;AACvD,EAAAC,EAAa,GAAG,SAAS;AACzB,MAAIC,IAASC,EAAUH,CAAW;AAClC,SAAOI,EAAUL,GAAWG,IAAS,EAAE;AACzC;","x_google_ignoreList":[0]}
package/dist/sdk.es66.js CHANGED
@@ -1,12 +1,13 @@
1
- import o from "./sdk.es47.js";
2
- import a from "./sdk.es51.js";
3
- import m from "./sdk.es49.js";
4
- function f(r, t) {
5
- m(2, arguments);
6
- var e = o(t);
7
- return a(r, -e);
1
+ import o from "./sdk.es74.js";
2
+ import t from "./sdk.es62.js";
3
+ import m from "./sdk.es63.js";
4
+ function u(r) {
5
+ if (m(1, arguments), !o(r) && typeof r != "number")
6
+ return !1;
7
+ var e = t(r);
8
+ return !isNaN(Number(e));
8
9
  }
9
10
  export {
10
- f as default
11
+ u as default
11
12
  };
12
13
  //# sourceMappingURL=sdk.es66.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"sdk.es66.js","sources":["../node_modules/date-fns/esm/subYears/index.js"],"sourcesContent":["import toInteger from \"../_lib/toInteger/index.js\";\nimport addYears from \"../addYears/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\n/**\n * @name subYears\n * @category Year Helpers\n * @summary Subtract the specified number of years from the given date.\n *\n * @description\n * Subtract the specified number of years from the given date.\n *\n * @param {Date|Number} date - the date to be changed\n * @param {Number} amount - the amount of years to be subtracted. Positive decimals will be rounded using `Math.floor`, decimals less than zero will be rounded using `Math.ceil`.\n * @returns {Date} the new date with the years subtracted\n * @throws {TypeError} 2 arguments required\n *\n * @example\n * // Subtract 5 years from 1 September 2014:\n * const result = subYears(new Date(2014, 8, 1), 5)\n * //=> Tue Sep 01 2009 00:00:00\n */\nexport default function subYears(dirtyDate, dirtyAmount) {\n requiredArgs(2, arguments);\n var amount = toInteger(dirtyAmount);\n return addYears(dirtyDate, -amount);\n}"],"names":["subYears","dirtyDate","dirtyAmount","requiredArgs","amount","toInteger","addYears"],"mappings":";;;AAqBe,SAASA,EAASC,GAAWC,GAAa;AACvD,EAAAC,EAAa,GAAG,SAAS;AACzB,MAAIC,IAASC,EAAUH,CAAW;AAClC,SAAOI,EAASL,GAAW,CAACG,CAAM;AACpC;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"sdk.es66.js","sources":["../node_modules/date-fns/esm/isValid/index.js"],"sourcesContent":["import isDate from \"../isDate/index.js\";\nimport toDate from \"../toDate/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\n/**\n * @name isValid\n * @category Common Helpers\n * @summary Is the given date valid?\n *\n * @description\n * Returns false if argument is Invalid Date and true otherwise.\n * Argument is converted to Date using `toDate`. See [toDate]{@link https://date-fns.org/docs/toDate}\n * Invalid Date is a Date, whose time value is NaN.\n *\n * Time value of Date: http://es5.github.io/#x15.9.1.1\n *\n * @param {*} date - the date to check\n * @returns {Boolean} the date is valid\n * @throws {TypeError} 1 argument required\n *\n * @example\n * // For the valid date:\n * const result = isValid(new Date(2014, 1, 31))\n * //=> true\n *\n * @example\n * // For the value, convertable into a date:\n * const result = isValid(1393804800000)\n * //=> true\n *\n * @example\n * // For the invalid date:\n * const result = isValid(new Date(''))\n * //=> false\n */\nexport default function isValid(dirtyDate) {\n requiredArgs(1, arguments);\n if (!isDate(dirtyDate) && typeof dirtyDate !== 'number') {\n return false;\n }\n var date = toDate(dirtyDate);\n return !isNaN(Number(date));\n}"],"names":["isValid","dirtyDate","requiredArgs","isDate","date","toDate"],"mappings":";;;AAkCe,SAASA,EAAQC,GAAW;AAEzC,MADAC,EAAa,GAAG,SAAS,GACrB,CAACC,EAAOF,CAAS,KAAK,OAAOA,KAAc;AAC7C,WAAO;AAET,MAAIG,IAAOC,EAAOJ,CAAS;AAC3B,SAAO,CAAC,MAAM,OAAOG,CAAI,CAAC;AAC5B;","x_google_ignoreList":[0]}
package/dist/sdk.es67.js CHANGED
@@ -1,7 +1,12 @@
1
- var n = 6e4, i = 36e5, e = 1e3;
1
+ import e from "./sdk.es60.js";
2
+ import i from "./sdk.es63.js";
3
+ import m from "./sdk.es61.js";
4
+ function a(r, o) {
5
+ i(2, arguments);
6
+ var t = m(o);
7
+ return e(r, -t);
8
+ }
2
9
  export {
3
- i as millisecondsInHour,
4
- n as millisecondsInMinute,
5
- e as millisecondsInSecond
10
+ a as default
6
11
  };
7
12
  //# sourceMappingURL=sdk.es67.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"sdk.es67.js","sources":["../node_modules/date-fns/esm/constants/index.js"],"sourcesContent":["/**\n * Days in 1 week.\n *\n * @name daysInWeek\n * @constant\n * @type {number}\n * @default\n */\nexport var daysInWeek = 7;\n\n/**\n * Days in 1 year\n * One years equals 365.2425 days according to the formula:\n *\n * > Leap year occures every 4 years, except for years that are divisable by 100 and not divisable by 400.\n * > 1 mean year = (365+1/4-1/100+1/400) days = 365.2425 days\n *\n * @name daysInYear\n * @constant\n * @type {number}\n * @default\n */\nexport var daysInYear = 365.2425;\n\n/**\n * Maximum allowed time.\n *\n * @name maxTime\n * @constant\n * @type {number}\n * @default\n */\nexport var maxTime = Math.pow(10, 8) * 24 * 60 * 60 * 1000;\n\n/**\n * Milliseconds in 1 minute\n *\n * @name millisecondsInMinute\n * @constant\n * @type {number}\n * @default\n */\nexport var millisecondsInMinute = 60000;\n\n/**\n * Milliseconds in 1 hour\n *\n * @name millisecondsInHour\n * @constant\n * @type {number}\n * @default\n */\nexport var millisecondsInHour = 3600000;\n\n/**\n * Milliseconds in 1 second\n *\n * @name millisecondsInSecond\n * @constant\n * @type {number}\n * @default\n */\nexport var millisecondsInSecond = 1000;\n\n/**\n * Minimum allowed time.\n *\n * @name minTime\n * @constant\n * @type {number}\n * @default\n */\nexport var minTime = -maxTime;\n\n/**\n * Minutes in 1 hour\n *\n * @name minutesInHour\n * @constant\n * @type {number}\n * @default\n */\nexport var minutesInHour = 60;\n\n/**\n * Months in 1 quarter\n *\n * @name monthsInQuarter\n * @constant\n * @type {number}\n * @default\n */\nexport var monthsInQuarter = 3;\n\n/**\n * Months in 1 year\n *\n * @name monthsInYear\n * @constant\n * @type {number}\n * @default\n */\nexport var monthsInYear = 12;\n\n/**\n * Quarters in 1 year\n *\n * @name quartersInYear\n * @constant\n * @type {number}\n * @default\n */\nexport var quartersInYear = 4;\n\n/**\n * Seconds in 1 hour\n *\n * @name secondsInHour\n * @constant\n * @type {number}\n * @default\n */\nexport var secondsInHour = 3600;\n\n/**\n * Seconds in 1 minute\n *\n * @name secondsInMinute\n * @constant\n * @type {number}\n * @default\n */\nexport var secondsInMinute = 60;\n\n/**\n * Seconds in 1 day\n *\n * @name secondsInDay\n * @constant\n * @type {number}\n * @default\n */\nexport var secondsInDay = secondsInHour * 24;\n\n/**\n * Seconds in 1 week\n *\n * @name secondsInWeek\n * @constant\n * @type {number}\n * @default\n */\nexport var secondsInWeek = secondsInDay * 7;\n\n/**\n * Seconds in 1 year\n *\n * @name secondsInYear\n * @constant\n * @type {number}\n * @default\n */\nexport var secondsInYear = secondsInDay * daysInYear;\n\n/**\n * Seconds in 1 month\n *\n * @name secondsInMonth\n * @constant\n * @type {number}\n * @default\n */\nexport var secondsInMonth = secondsInYear / 12;\n\n/**\n * Seconds in 1 quarter\n *\n * @name secondsInQuarter\n * @constant\n * @type {number}\n * @default\n */\nexport var secondsInQuarter = secondsInMonth * 3;"],"names":["millisecondsInMinute","millisecondsInHour","millisecondsInSecond"],"mappings":"AA0CU,IAACA,IAAuB,KAUvBC,IAAqB,MAUrBC,IAAuB;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"sdk.es67.js","sources":["../node_modules/date-fns/esm/subMilliseconds/index.js"],"sourcesContent":["import addMilliseconds from \"../addMilliseconds/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\nimport toInteger from \"../_lib/toInteger/index.js\";\n/**\n * @name subMilliseconds\n * @category Millisecond Helpers\n * @summary Subtract the specified number of milliseconds from the given date.\n *\n * @description\n * Subtract the specified number of milliseconds from the given date.\n *\n * @param {Date|Number} date - the date to be changed\n * @param {Number} amount - the amount of milliseconds to be subtracted. Positive decimals will be rounded using `Math.floor`, decimals less than zero will be rounded using `Math.ceil`.\n * @returns {Date} the new date with the milliseconds subtracted\n * @throws {TypeError} 2 arguments required\n *\n * @example\n * // Subtract 750 milliseconds from 10 July 2014 12:45:30.000:\n * const result = subMilliseconds(new Date(2014, 6, 10, 12, 45, 30, 0), 750)\n * //=> Thu Jul 10 2014 12:45:29.250\n */\nexport default function subMilliseconds(dirtyDate, dirtyAmount) {\n requiredArgs(2, arguments);\n var amount = toInteger(dirtyAmount);\n return addMilliseconds(dirtyDate, -amount);\n}"],"names":["subMilliseconds","dirtyDate","dirtyAmount","requiredArgs","amount","toInteger","addMilliseconds"],"mappings":";;;AAqBe,SAASA,EAAgBC,GAAWC,GAAa;AAC9D,EAAAC,EAAa,GAAG,SAAS;AACzB,MAAIC,IAASC,EAAUH,CAAW;AAClC,SAAOI,EAAgBL,GAAW,CAACG,CAAM;AAC3C;","x_google_ignoreList":[0]}