@star-insure/sdk 6.5.2 → 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 (151) hide show
  1. package/dist/index.d.ts +11 -1
  2. package/dist/sdk.es.js +81 -78
  3. package/dist/sdk.es101.js +1 -1
  4. package/dist/sdk.es102.js +1 -1
  5. package/dist/sdk.es103.js +1 -1
  6. package/dist/sdk.es104.js +2 -2
  7. package/dist/sdk.es105.js +3 -3
  8. package/dist/sdk.es106.js +3 -3
  9. package/dist/sdk.es107.js +2 -2
  10. package/dist/sdk.es108.js +2 -2
  11. package/dist/sdk.es109.js +2 -2
  12. package/dist/sdk.es110.js +3 -3
  13. package/dist/sdk.es111.js +3 -3
  14. package/dist/sdk.es112.js +5 -5
  15. package/dist/sdk.es113.js +5 -5
  16. package/dist/sdk.es114.js +3 -3
  17. package/dist/sdk.es115.js +3 -3
  18. package/dist/sdk.es116.js +2 -2
  19. package/dist/sdk.es117.js +3 -3
  20. package/dist/sdk.es118.js +3 -3
  21. package/dist/sdk.es119.js +3 -3
  22. package/dist/sdk.es120.js +2 -2
  23. package/dist/sdk.es121.js +2 -2
  24. package/dist/sdk.es122.js +2 -2
  25. package/dist/sdk.es123.js +3 -3
  26. package/dist/sdk.es124.js +3 -3
  27. package/dist/sdk.es125.js +3 -3
  28. package/dist/sdk.es126.js +3 -3
  29. package/dist/sdk.es127.js +3 -3
  30. package/dist/sdk.es128.js +3 -3
  31. package/dist/sdk.es129.js +2 -2
  32. package/dist/sdk.es130.js +3 -3
  33. package/dist/sdk.es131.js +3 -3
  34. package/dist/sdk.es132.js +2 -2
  35. package/dist/sdk.es133.js +2 -2
  36. package/dist/sdk.es139.js +5 -7
  37. package/dist/sdk.es139.js.map +1 -1
  38. package/dist/sdk.es140.js +7 -10
  39. package/dist/sdk.es140.js.map +1 -1
  40. package/dist/sdk.es141.js +10 -13
  41. package/dist/sdk.es141.js.map +1 -1
  42. package/dist/sdk.es142.js +13 -13
  43. package/dist/sdk.es142.js.map +1 -1
  44. package/dist/sdk.es143.js +13 -5
  45. package/dist/sdk.es143.js.map +1 -1
  46. package/dist/sdk.es144.js +25 -6
  47. package/dist/sdk.es144.js.map +1 -1
  48. package/dist/sdk.es145.js +99 -5
  49. package/dist/sdk.es145.js.map +1 -1
  50. package/dist/sdk.es146.js +47 -11
  51. package/dist/sdk.es146.js.map +1 -1
  52. package/dist/sdk.es147.js +9 -7
  53. package/dist/sdk.es147.js.map +1 -1
  54. package/dist/sdk.es148.js +9 -6
  55. package/dist/sdk.es148.js.map +1 -1
  56. package/dist/sdk.es149.js +14 -25
  57. package/dist/sdk.es149.js.map +1 -1
  58. package/dist/sdk.es150.js +10 -99
  59. package/dist/sdk.es150.js.map +1 -1
  60. package/dist/sdk.es151.js +6 -47
  61. package/dist/sdk.es151.js.map +1 -1
  62. package/dist/sdk.es152.js +5 -9
  63. package/dist/sdk.es152.js.map +1 -1
  64. package/dist/sdk.es153.js +10 -9
  65. package/dist/sdk.es153.js.map +1 -1
  66. package/dist/sdk.es154.js +7 -13
  67. package/dist/sdk.es154.js.map +1 -1
  68. package/dist/sdk.es155.js +6 -10
  69. package/dist/sdk.es155.js.map +1 -1
  70. package/dist/sdk.es160.js +1 -1
  71. package/dist/sdk.es37.js +11 -11
  72. package/dist/sdk.es38.js +14 -14
  73. package/dist/sdk.es4.js +56 -2
  74. package/dist/sdk.es4.js.map +1 -1
  75. package/dist/sdk.es46.js +2 -2
  76. package/dist/sdk.es50.js +2 -2
  77. package/dist/sdk.es51.js +2 -2
  78. package/dist/sdk.es52.js +1 -1
  79. package/dist/sdk.es58.js +39 -8
  80. package/dist/sdk.es58.js.map +1 -1
  81. package/dist/sdk.es59.js +2 -7
  82. package/dist/sdk.es59.js.map +1 -1
  83. package/dist/sdk.es60.js +8 -7
  84. package/dist/sdk.es60.js.map +1 -1
  85. package/dist/sdk.es61.js +5 -3
  86. package/dist/sdk.es61.js.map +1 -1
  87. package/dist/sdk.es62.js +7 -15
  88. package/dist/sdk.es62.js.map +1 -1
  89. package/dist/sdk.es63.js +4 -8
  90. package/dist/sdk.es63.js.map +1 -1
  91. package/dist/sdk.es64.js +15 -9
  92. package/dist/sdk.es64.js.map +1 -1
  93. package/dist/sdk.es65.js +8 -8
  94. package/dist/sdk.es65.js.map +1 -1
  95. package/dist/sdk.es66.js +9 -638
  96. package/dist/sdk.es66.js.map +1 -1
  97. package/dist/sdk.es67.js +9 -74
  98. package/dist/sdk.es67.js.map +1 -1
  99. package/dist/sdk.es68.js +638 -4
  100. package/dist/sdk.es68.js.map +1 -1
  101. package/dist/sdk.es69.js +74 -20
  102. package/dist/sdk.es69.js.map +1 -1
  103. package/dist/sdk.es70.js +4 -4
  104. package/dist/sdk.es70.js.map +1 -1
  105. package/dist/sdk.es71.js +20 -18
  106. package/dist/sdk.es71.js.map +1 -1
  107. package/dist/sdk.es72.js +4 -5
  108. package/dist/sdk.es72.js.map +1 -1
  109. package/dist/sdk.es73.js +18 -9
  110. package/dist/sdk.es73.js.map +1 -1
  111. package/dist/sdk.es74.js +5 -48
  112. package/dist/sdk.es74.js.map +1 -1
  113. package/dist/sdk.es75.js +8 -7
  114. package/dist/sdk.es75.js.map +1 -1
  115. package/dist/sdk.es76.js +46 -54
  116. package/dist/sdk.es76.js.map +1 -1
  117. package/dist/sdk.es77.js +8 -65
  118. package/dist/sdk.es77.js.map +1 -1
  119. package/dist/sdk.es78.js +57 -9
  120. package/dist/sdk.es78.js.map +1 -1
  121. package/dist/sdk.es79.js +65 -4
  122. package/dist/sdk.es79.js.map +1 -1
  123. package/dist/sdk.es80.js +8 -39
  124. package/dist/sdk.es80.js.map +1 -1
  125. package/dist/sdk.es81.js +4 -2
  126. package/dist/sdk.es81.js.map +1 -1
  127. package/dist/sdk.es82.js +3673 -52
  128. package/dist/sdk.es82.js.map +1 -1
  129. package/dist/sdk.es83.js +6 -10
  130. package/dist/sdk.es83.js.map +1 -1
  131. package/dist/sdk.es84.js +2 -21
  132. package/dist/sdk.es84.js.map +1 -1
  133. package/dist/sdk.es85.js +52 -3673
  134. package/dist/sdk.es85.js.map +1 -1
  135. package/dist/sdk.es86.js +10 -6
  136. package/dist/sdk.es86.js.map +1 -1
  137. package/dist/sdk.es87.js +21 -2
  138. package/dist/sdk.es87.js.map +1 -1
  139. package/dist/sdk.es88.js +1 -1
  140. package/dist/sdk.es89.js +2 -2
  141. package/dist/sdk.es90.js +4 -4
  142. package/dist/sdk.es91.js +3 -3
  143. package/dist/sdk.es92.js +4 -4
  144. package/dist/sdk.es93.js +5 -5
  145. package/dist/sdk.es96.js +1 -1
  146. package/dist/sdk.es98.js +1 -1
  147. package/dist/sdk.es99.js +3 -3
  148. package/package.json +1 -1
  149. package/src/lib/vehicles.ts +66 -1
  150. package/src/types/api/enums.ts +3 -1
  151. package/src/types/models/quotes/QuoteRequestVehicle.ts +3 -1
package/dist/sdk.es51.js CHANGED
@@ -1,5 +1,5 @@
1
- import { GenIcon as l } from "./sdk.es82.js";
2
- import "./sdk.es83.js";
1
+ import { GenIcon as l } from "./sdk.es85.js";
2
+ import "./sdk.es86.js";
3
3
  function r(e) {
4
4
  return l({ tag: "svg", attr: { viewBox: "0 0 24 24", fill: "currentColor", "aria-hidden": "true" }, child: [{ tag: "path", attr: { fillRule: "evenodd", d: "M11.03 3.97a.75.75 0 010 1.06l-6.22 6.22H21a.75.75 0 010 1.5H4.81l6.22 6.22a.75.75 0 11-1.06 1.06l-7.5-7.5a.75.75 0 010-1.06l7.5-7.5a.75.75 0 011.06 0z", clipRule: "evenodd" } }] })(e);
5
5
  }
package/dist/sdk.es52.js CHANGED
@@ -1,4 +1,4 @@
1
- import { __require as r } from "./sdk.es85.js";
1
+ import { __require as r } from "./sdk.es82.js";
2
2
  var a = r();
3
3
  export {
4
4
  a as l
package/dist/sdk.es58.js CHANGED
@@ -1,12 +1,43 @@
1
- import m from "./sdk.es59.js";
2
- import a from "./sdk.es60.js";
3
- import i from "./sdk.es61.js";
4
- function d(t, r) {
5
- i(2, arguments);
6
- var e = a(t).getTime(), o = m(r);
7
- return new Date(e + o);
1
+ import { __module as s } from "./sdk.es59.js";
2
+ /*!
3
+ Copyright (c) 2018 Jed Watson.
4
+ Licensed under the MIT License (MIT), see
5
+ http://jedwatson.github.io/classnames
6
+ */
7
+ var u;
8
+ function c() {
9
+ return u ? s.exports : (u = 1, function(i) {
10
+ (function() {
11
+ var f = {}.hasOwnProperty;
12
+ function n() {
13
+ for (var r = "", t = 0; t < arguments.length; t++) {
14
+ var e = arguments[t];
15
+ e && (r = o(r, a(e)));
16
+ }
17
+ return r;
18
+ }
19
+ function a(r) {
20
+ if (typeof r == "string" || typeof r == "number")
21
+ return r;
22
+ if (typeof r != "object")
23
+ return "";
24
+ if (Array.isArray(r))
25
+ return n.apply(null, r);
26
+ if (r.toString !== Object.prototype.toString && !r.toString.toString().includes("[native code]"))
27
+ return r.toString();
28
+ var t = "";
29
+ for (var e in r)
30
+ f.call(r, e) && r[e] && (t = o(t, e));
31
+ return t;
32
+ }
33
+ function o(r, t) {
34
+ return t ? r ? r + " " + t : r + t : r;
35
+ }
36
+ i.exports ? (n.default = n, i.exports = n) : window.classNames = n;
37
+ })();
38
+ }(s), s.exports);
8
39
  }
9
40
  export {
10
- d as default
41
+ c as __require
11
42
  };
12
43
  //# sourceMappingURL=sdk.es58.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"sdk.es58.js","sources":["../node_modules/date-fns/esm/addMilliseconds/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 addMilliseconds\n * @category Millisecond Helpers\n * @summary Add the specified number of milliseconds to the given date.\n *\n * @description\n * Add the specified number of milliseconds to the given date.\n *\n * @param {Date|Number} date - the date to be changed\n * @param {Number} amount - the amount of milliseconds 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 milliseconds added\n * @throws {TypeError} 2 arguments required\n *\n * @example\n * // Add 750 milliseconds to 10 July 2014 12:45:30.000:\n * const result = addMilliseconds(new Date(2014, 6, 10, 12, 45, 30, 0), 750)\n * //=> Thu Jul 10 2014 12:45:30.750\n */\nexport default function addMilliseconds(dirtyDate, dirtyAmount) {\n requiredArgs(2, arguments);\n var timestamp = toDate(dirtyDate).getTime();\n var amount = toInteger(dirtyAmount);\n return new Date(timestamp + amount);\n}"],"names":["addMilliseconds","dirtyDate","dirtyAmount","requiredArgs","timestamp","toDate","amount","toInteger"],"mappings":";;;AAqBe,SAASA,EAAgBC,GAAWC,GAAa;AAC9D,EAAAC,EAAa,GAAG,SAAS;AACzB,MAAIC,IAAYC,EAAOJ,CAAS,EAAE,QAAS,GACvCK,IAASC,EAAUL,CAAW;AAClC,SAAO,IAAI,KAAKE,IAAYE,CAAM;AACpC;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"sdk.es58.js","sources":["../node_modules/classnames/index.js"],"sourcesContent":["/*!\n\tCopyright (c) 2018 Jed Watson.\n\tLicensed under the MIT License (MIT), see\n\thttp://jedwatson.github.io/classnames\n*/\n/* global define */\n\n(function () {\n\t'use strict';\n\n\tvar hasOwn = {}.hasOwnProperty;\n\n\tfunction classNames () {\n\t\tvar classes = '';\n\n\t\tfor (var i = 0; i < arguments.length; i++) {\n\t\t\tvar arg = arguments[i];\n\t\t\tif (arg) {\n\t\t\t\tclasses = appendClass(classes, parseValue(arg));\n\t\t\t}\n\t\t}\n\n\t\treturn classes;\n\t}\n\n\tfunction parseValue (arg) {\n\t\tif (typeof arg === 'string' || typeof arg === 'number') {\n\t\t\treturn arg;\n\t\t}\n\n\t\tif (typeof arg !== 'object') {\n\t\t\treturn '';\n\t\t}\n\n\t\tif (Array.isArray(arg)) {\n\t\t\treturn classNames.apply(null, arg);\n\t\t}\n\n\t\tif (arg.toString !== Object.prototype.toString && !arg.toString.toString().includes('[native code]')) {\n\t\t\treturn arg.toString();\n\t\t}\n\n\t\tvar classes = '';\n\n\t\tfor (var key in arg) {\n\t\t\tif (hasOwn.call(arg, key) && arg[key]) {\n\t\t\t\tclasses = appendClass(classes, key);\n\t\t\t}\n\t\t}\n\n\t\treturn classes;\n\t}\n\n\tfunction appendClass (value, newClass) {\n\t\tif (!newClass) {\n\t\t\treturn value;\n\t\t}\n\t\n\t\tif (value) {\n\t\t\treturn value + ' ' + newClass;\n\t\t}\n\t\n\t\treturn value + newClass;\n\t}\n\n\tif (typeof module !== 'undefined' && module.exports) {\n\t\tclassNames.default = classNames;\n\t\tmodule.exports = classNames;\n\t} else if (typeof define === 'function' && typeof define.amd === 'object' && define.amd) {\n\t\t// register as 'classnames', consistent with npm package name\n\t\tdefine('classnames', [], function () {\n\t\t\treturn classNames;\n\t\t});\n\t} else {\n\t\twindow.classNames = classNames;\n\t}\n}());\n"],"names":["hasOwn","classNames","classes","i","arg","appendClass","parseValue","key","value","newClass","module"],"mappings":";;;;;;;;;AAOA,KAAC,WAAY;AAGZ,UAAIA,IAAS,CAAA,EAAG;AAEhB,eAASC,IAAc;AAGtB,iBAFIC,IAAU,IAELC,IAAI,GAAGA,IAAI,UAAU,QAAQA,KAAK;AAC1C,cAAIC,IAAM,UAAUD,CAAC;AACrB,UAAIC,MACHF,IAAUG,EAAYH,GAASI,EAAWF,CAAG,CAAC;AAAA,QAElD;AAEE,eAAOF;AAAA,MACT;AAEC,eAASI,EAAYF,GAAK;AACzB,YAAI,OAAOA,KAAQ,YAAY,OAAOA,KAAQ;AAC7C,iBAAOA;AAGR,YAAI,OAAOA,KAAQ;AAClB,iBAAO;AAGR,YAAI,MAAM,QAAQA,CAAG;AACpB,iBAAOH,EAAW,MAAM,MAAMG,CAAG;AAGlC,YAAIA,EAAI,aAAa,OAAO,UAAU,YAAY,CAACA,EAAI,SAAS,SAAQ,EAAG,SAAS,eAAe;AAClG,iBAAOA,EAAI,SAAU;AAGtB,YAAIF,IAAU;AAEd,iBAASK,KAAOH;AACf,UAAIJ,EAAO,KAAKI,GAAKG,CAAG,KAAKH,EAAIG,CAAG,MACnCL,IAAUG,EAAYH,GAASK,CAAG;AAIpC,eAAOL;AAAA,MACT;AAEC,eAASG,EAAaG,GAAOC,GAAU;AACtC,eAAKA,IAIDD,IACIA,IAAQ,MAAMC,IAGfD,IAAQC,IAPPD;AAAA,MAQV;AAEC,MAAqCE,EAAO,WAC3CT,EAAW,UAAUA,GACrBS,YAAiBT,KAOjB,OAAO,aAAaA;AAAA,IAEtB;;;","x_google_ignoreList":[0]}
package/dist/sdk.es59.js CHANGED
@@ -1,10 +1,5 @@
1
- function n(a) {
2
- if (a === null || a === !0 || a === !1)
3
- return NaN;
4
- var e = Number(a);
5
- return isNaN(e) ? e : e < 0 ? Math.ceil(e) : Math.floor(e);
6
- }
1
+ var s = { exports: {} };
7
2
  export {
8
- n as default
3
+ s as __module
9
4
  };
10
5
  //# sourceMappingURL=sdk.es59.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"sdk.es59.js","sources":["../node_modules/date-fns/esm/_lib/toInteger/index.js"],"sourcesContent":["export default function toInteger(dirtyNumber) {\n if (dirtyNumber === null || dirtyNumber === true || dirtyNumber === false) {\n return NaN;\n }\n var number = Number(dirtyNumber);\n if (isNaN(number)) {\n return number;\n }\n return number < 0 ? Math.ceil(number) : Math.floor(number);\n}"],"names":["toInteger","dirtyNumber","number"],"mappings":"AAAe,SAASA,EAAUC,GAAa;AAC7C,MAAIA,MAAgB,QAAQA,MAAgB,MAAQA,MAAgB;AAClE,WAAO;AAET,MAAIC,IAAS,OAAOD,CAAW;AAC/B,SAAI,MAAMC,CAAM,IACPA,IAEFA,IAAS,IAAI,KAAK,KAAKA,CAAM,IAAI,KAAK,MAAMA,CAAM;AAC3D;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"sdk.es59.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
package/dist/sdk.es60.js CHANGED
@@ -1,11 +1,12 @@
1
- import r from "./sdk.es73.js";
2
- import o from "./sdk.es61.js";
3
- function a(e) {
4
- o(1, arguments);
5
- var t = Object.prototype.toString.call(e);
6
- return e instanceof Date || r(e) === "object" && t === "[object Date]" ? new Date(e.getTime()) : typeof e == "number" || t === "[object Number]" ? new Date(e) : ((typeof e == "string" || t === "[object String]") && typeof console < "u" && (console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"), console.warn(new Error().stack)), /* @__PURE__ */ new Date(NaN));
1
+ import m from "./sdk.es61.js";
2
+ import a from "./sdk.es62.js";
3
+ import i from "./sdk.es63.js";
4
+ function d(t, r) {
5
+ i(2, arguments);
6
+ var e = a(t).getTime(), o = m(r);
7
+ return new Date(e + o);
7
8
  }
8
9
  export {
9
- a as default
10
+ d as default
10
11
  };
11
12
  //# sourceMappingURL=sdk.es60.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"sdk.es60.js","sources":["../node_modules/date-fns/esm/toDate/index.js"],"sourcesContent":["import _typeof from \"@babel/runtime/helpers/esm/typeof\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\n/**\n * @name toDate\n * @category Common Helpers\n * @summary Convert the given argument to an instance of Date.\n *\n * @description\n * Convert the given argument to an instance of Date.\n *\n * If the argument is an instance of Date, the function returns its clone.\n *\n * If the argument is a number, it is treated as a timestamp.\n *\n * If the argument is none of the above, the function returns Invalid Date.\n *\n * **Note**: *all* Date arguments passed to any *date-fns* function is processed by `toDate`.\n *\n * @param {Date|Number} argument - the value to convert\n * @returns {Date} the parsed date in the local time zone\n * @throws {TypeError} 1 argument required\n *\n * @example\n * // Clone the date:\n * const result = toDate(new Date(2014, 1, 11, 11, 30, 30))\n * //=> Tue Feb 11 2014 11:30:30\n *\n * @example\n * // Convert the timestamp to date:\n * const result = toDate(1392098430000)\n * //=> Tue Feb 11 2014 11:30:30\n */\nexport default function toDate(argument) {\n requiredArgs(1, arguments);\n var argStr = Object.prototype.toString.call(argument);\n\n // Clone the date\n if (argument instanceof Date || _typeof(argument) === 'object' && argStr === '[object Date]') {\n // Prevent the date to lose the milliseconds when passed to new Date() in IE10\n return new Date(argument.getTime());\n } else if (typeof argument === 'number' || argStr === '[object Number]') {\n return new Date(argument);\n } else {\n if ((typeof argument === 'string' || argStr === '[object String]') && typeof console !== 'undefined') {\n // eslint-disable-next-line no-console\n console.warn(\"Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments\");\n // eslint-disable-next-line no-console\n console.warn(new Error().stack);\n }\n return new Date(NaN);\n }\n}"],"names":["toDate","argument","requiredArgs","argStr","_typeof"],"mappings":";;AAgCe,SAASA,EAAOC,GAAU;AACvC,EAAAC,EAAa,GAAG,SAAS;AACzB,MAAIC,IAAS,OAAO,UAAU,SAAS,KAAKF,CAAQ;AAGpD,SAAIA,aAAoB,QAAQG,EAAQH,CAAQ,MAAM,YAAYE,MAAW,kBAEpE,IAAI,KAAKF,EAAS,SAAS,IACzB,OAAOA,KAAa,YAAYE,MAAW,oBAC7C,IAAI,KAAKF,CAAQ,MAEnB,OAAOA,KAAa,YAAYE,MAAW,sBAAsB,OAAO,UAAY,QAEvF,QAAQ,KAAK,oNAAoN,GAEjO,QAAQ,KAAK,IAAI,MAAK,EAAG,KAAK,IAEzB,oBAAI,KAAK,GAAG;AAEvB;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"sdk.es60.js","sources":["../node_modules/date-fns/esm/addMilliseconds/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 addMilliseconds\n * @category Millisecond Helpers\n * @summary Add the specified number of milliseconds to the given date.\n *\n * @description\n * Add the specified number of milliseconds to the given date.\n *\n * @param {Date|Number} date - the date to be changed\n * @param {Number} amount - the amount of milliseconds 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 milliseconds added\n * @throws {TypeError} 2 arguments required\n *\n * @example\n * // Add 750 milliseconds to 10 July 2014 12:45:30.000:\n * const result = addMilliseconds(new Date(2014, 6, 10, 12, 45, 30, 0), 750)\n * //=> Thu Jul 10 2014 12:45:30.750\n */\nexport default function addMilliseconds(dirtyDate, dirtyAmount) {\n requiredArgs(2, arguments);\n var timestamp = toDate(dirtyDate).getTime();\n var amount = toInteger(dirtyAmount);\n return new Date(timestamp + amount);\n}"],"names":["addMilliseconds","dirtyDate","dirtyAmount","requiredArgs","timestamp","toDate","amount","toInteger"],"mappings":";;;AAqBe,SAASA,EAAgBC,GAAWC,GAAa;AAC9D,EAAAC,EAAa,GAAG,SAAS;AACzB,MAAIC,IAAYC,EAAOJ,CAAS,EAAE,QAAS,GACvCK,IAASC,EAAUL,CAAW;AAClC,SAAO,IAAI,KAAKE,IAAYE,CAAM;AACpC;","x_google_ignoreList":[0]}
package/dist/sdk.es61.js CHANGED
@@ -1,6 +1,8 @@
1
- function n(e, t) {
2
- if (t.length < e)
3
- throw new TypeError(e + " argument" + (e > 1 ? "s" : "") + " required, but only " + t.length + " present");
1
+ function n(a) {
2
+ if (a === null || a === !0 || a === !1)
3
+ return NaN;
4
+ var e = Number(a);
5
+ return isNaN(e) ? e : e < 0 ? Math.ceil(e) : Math.floor(e);
4
6
  }
5
7
  export {
6
8
  n as default
@@ -1 +1 @@
1
- {"version":3,"file":"sdk.es61.js","sources":["../node_modules/date-fns/esm/_lib/requiredArgs/index.js"],"sourcesContent":["export default function requiredArgs(required, args) {\n if (args.length < required) {\n throw new TypeError(required + ' argument' + (required > 1 ? 's' : '') + ' required, but only ' + args.length + ' present');\n }\n}"],"names":["requiredArgs","required","args"],"mappings":"AAAe,SAASA,EAAaC,GAAUC,GAAM;AACnD,MAAIA,EAAK,SAASD;AAChB,UAAM,IAAI,UAAUA,IAAW,eAAeA,IAAW,IAAI,MAAM,MAAM,yBAAyBC,EAAK,SAAS,UAAU;AAE9H;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"sdk.es61.js","sources":["../node_modules/date-fns/esm/_lib/toInteger/index.js"],"sourcesContent":["export default function toInteger(dirtyNumber) {\n if (dirtyNumber === null || dirtyNumber === true || dirtyNumber === false) {\n return NaN;\n }\n var number = Number(dirtyNumber);\n if (isNaN(number)) {\n return number;\n }\n return number < 0 ? Math.ceil(number) : Math.floor(number);\n}"],"names":["toInteger","dirtyNumber","number"],"mappings":"AAAe,SAASA,EAAUC,GAAa;AAC7C,MAAIA,MAAgB,QAAQA,MAAgB,MAAQA,MAAgB;AAClE,WAAO;AAET,MAAIC,IAAS,OAAOD,CAAW;AAC/B,SAAI,MAAMC,CAAM,IACPA,IAEFA,IAAS,IAAI,KAAK,KAAKA,CAAM,IAAI,KAAK,MAAMA,CAAM;AAC3D;","x_google_ignoreList":[0]}
package/dist/sdk.es62.js CHANGED
@@ -1,19 +1,11 @@
1
- import u from "./sdk.es59.js";
2
- import f from "./sdk.es60.js";
3
- import s from "./sdk.es61.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);
1
+ import r from "./sdk.es75.js";
2
+ import o from "./sdk.es63.js";
3
+ function a(e) {
4
+ o(1, arguments);
5
+ var t = Object.prototype.toString.call(e);
6
+ return e instanceof Date || r(e) === "object" && t === "[object Date]" ? new Date(e.getTime()) : typeof e == "number" || t === "[object Number]" ? new Date(e) : ((typeof e == "string" || t === "[object String]") && typeof console < "u" && (console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"), console.warn(new Error().stack)), /* @__PURE__ */ new Date(NaN));
15
7
  }
16
8
  export {
17
- h as default
9
+ a as default
18
10
  };
19
11
  //# sourceMappingURL=sdk.es62.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"sdk.es62.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]}
1
+ {"version":3,"file":"sdk.es62.js","sources":["../node_modules/date-fns/esm/toDate/index.js"],"sourcesContent":["import _typeof from \"@babel/runtime/helpers/esm/typeof\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\n/**\n * @name toDate\n * @category Common Helpers\n * @summary Convert the given argument to an instance of Date.\n *\n * @description\n * Convert the given argument to an instance of Date.\n *\n * If the argument is an instance of Date, the function returns its clone.\n *\n * If the argument is a number, it is treated as a timestamp.\n *\n * If the argument is none of the above, the function returns Invalid Date.\n *\n * **Note**: *all* Date arguments passed to any *date-fns* function is processed by `toDate`.\n *\n * @param {Date|Number} argument - the value to convert\n * @returns {Date} the parsed date in the local time zone\n * @throws {TypeError} 1 argument required\n *\n * @example\n * // Clone the date:\n * const result = toDate(new Date(2014, 1, 11, 11, 30, 30))\n * //=> Tue Feb 11 2014 11:30:30\n *\n * @example\n * // Convert the timestamp to date:\n * const result = toDate(1392098430000)\n * //=> Tue Feb 11 2014 11:30:30\n */\nexport default function toDate(argument) {\n requiredArgs(1, arguments);\n var argStr = Object.prototype.toString.call(argument);\n\n // Clone the date\n if (argument instanceof Date || _typeof(argument) === 'object' && argStr === '[object Date]') {\n // Prevent the date to lose the milliseconds when passed to new Date() in IE10\n return new Date(argument.getTime());\n } else if (typeof argument === 'number' || argStr === '[object Number]') {\n return new Date(argument);\n } else {\n if ((typeof argument === 'string' || argStr === '[object String]') && typeof console !== 'undefined') {\n // eslint-disable-next-line no-console\n console.warn(\"Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments\");\n // eslint-disable-next-line no-console\n console.warn(new Error().stack);\n }\n return new Date(NaN);\n }\n}"],"names":["toDate","argument","requiredArgs","argStr","_typeof"],"mappings":";;AAgCe,SAASA,EAAOC,GAAU;AACvC,EAAAC,EAAa,GAAG,SAAS;AACzB,MAAIC,IAAS,OAAO,UAAU,SAAS,KAAKF,CAAQ;AAGpD,SAAIA,aAAoB,QAAQG,EAAQH,CAAQ,MAAM,YAAYE,MAAW,kBAEpE,IAAI,KAAKF,EAAS,SAAS,IACzB,OAAOA,KAAa,YAAYE,MAAW,oBAC7C,IAAI,KAAKF,CAAQ,MAEnB,OAAOA,KAAa,YAAYE,MAAW,sBAAsB,OAAO,UAAY,QAEvF,QAAQ,KAAK,oNAAoN,GAEjO,QAAQ,KAAK,IAAI,MAAK,EAAG,KAAK,IAEzB,oBAAI,KAAK,GAAG;AAEvB;","x_google_ignoreList":[0]}
package/dist/sdk.es63.js CHANGED
@@ -1,12 +1,8 @@
1
- import e from "./sdk.es59.js";
2
- import a from "./sdk.es62.js";
3
- import m from "./sdk.es61.js";
4
- function f(r, t) {
5
- m(2, arguments);
6
- var o = e(t);
7
- return a(r, o * 12);
1
+ function n(e, t) {
2
+ if (t.length < e)
3
+ throw new TypeError(e + " argument" + (e > 1 ? "s" : "") + " required, but only " + t.length + " present");
8
4
  }
9
5
  export {
10
- f as default
6
+ n as default
11
7
  };
12
8
  //# sourceMappingURL=sdk.es63.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"sdk.es63.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]}
1
+ {"version":3,"file":"sdk.es63.js","sources":["../node_modules/date-fns/esm/_lib/requiredArgs/index.js"],"sourcesContent":["export default function requiredArgs(required, args) {\n if (args.length < required) {\n throw new TypeError(required + ' argument' + (required > 1 ? 's' : '') + ' required, but only ' + args.length + ' present');\n }\n}"],"names":["requiredArgs","required","args"],"mappings":"AAAe,SAASA,EAAaC,GAAUC,GAAM;AACnD,MAAIA,EAAK,SAASD;AAChB,UAAM,IAAI,UAAUA,IAAW,eAAeA,IAAW,IAAI,MAAM,MAAM,yBAAyBC,EAAK,SAAS,UAAU;AAE9H;","x_google_ignoreList":[0]}
package/dist/sdk.es64.js CHANGED
@@ -1,13 +1,19 @@
1
- import o from "./sdk.es72.js";
2
- import t from "./sdk.es60.js";
3
- import m from "./sdk.es61.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));
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);
9
15
  }
10
16
  export {
11
- u as default
17
+ h as default
12
18
  };
13
19
  //# sourceMappingURL=sdk.es64.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"sdk.es64.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]}
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,12 +1,12 @@
1
- import e from "./sdk.es58.js";
2
- import i from "./sdk.es61.js";
3
- import m from "./sdk.es59.js";
4
- function a(r, o) {
5
- i(2, arguments);
6
- var t = m(o);
7
- return e(r, -t);
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
8
  }
9
9
  export {
10
- a as default
10
+ f as default
11
11
  };
12
12
  //# sourceMappingURL=sdk.es65.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"sdk.es65.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]}
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]}