@aquera/nile-elements 0.0.69 → 0.0.70

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 (72) hide show
  1. package/.nycrc +17 -0
  2. package/README.md +7 -0
  3. package/demo/variables.css +1 -1
  4. package/demo/variables_v2.css +1 -1
  5. package/dist/index.cjs.js +1 -1
  6. package/dist/index.esm.js +1 -1
  7. package/dist/index.iife.js +45 -15
  8. package/dist/nile-card/nile-card.cjs.js +1 -1
  9. package/dist/nile-card/nile-card.cjs.js.map +1 -1
  10. package/dist/nile-card/nile-card.css.cjs.js +1 -1
  11. package/dist/nile-card/nile-card.css.cjs.js.map +1 -1
  12. package/dist/nile-card/nile-card.css.esm.js +23 -4
  13. package/dist/nile-card/nile-card.esm.js +13 -5
  14. package/dist/nile-checkbox/nile-checkbox.cjs.js +1 -1
  15. package/dist/nile-checkbox/nile-checkbox.cjs.js.map +1 -1
  16. package/dist/nile-checkbox/nile-checkbox.esm.js +1 -1
  17. package/dist/nile-checkbox/nile-checkbox.test.cjs.js +4 -4
  18. package/dist/nile-checkbox/nile-checkbox.test.cjs.js.map +1 -1
  19. package/dist/nile-checkbox/nile-checkbox.test.esm.js +9 -4
  20. package/dist/nile-format-date/index.cjs.js +2 -0
  21. package/dist/nile-format-date/index.cjs.js.map +1 -0
  22. package/dist/nile-format-date/index.esm.js +1 -0
  23. package/dist/nile-format-date/nile-format-date.cjs.js +2 -0
  24. package/dist/nile-format-date/nile-format-date.cjs.js.map +1 -0
  25. package/dist/nile-format-date/nile-format-date.css.cjs.js +2 -0
  26. package/dist/nile-format-date/nile-format-date.css.cjs.js.map +1 -0
  27. package/dist/nile-format-date/nile-format-date.css.esm.js +5 -0
  28. package/dist/nile-format-date/nile-format-date.esm.js +5 -0
  29. package/dist/nile-input/nile-input.css.cjs.js +1 -1
  30. package/dist/nile-input/nile-input.css.cjs.js.map +1 -1
  31. package/dist/nile-input/nile-input.css.esm.js +0 -5
  32. package/dist/nile-tab-group/nile-tab-group.cjs.js +1 -1
  33. package/dist/nile-tab-group/nile-tab-group.cjs.js.map +1 -1
  34. package/dist/nile-tab-group/nile-tab-group.esm.js +1 -1
  35. package/dist/src/index.d.ts +1 -0
  36. package/dist/src/index.js +1 -0
  37. package/dist/src/index.js.map +1 -1
  38. package/dist/src/nile-card/nile-card.css.js +23 -4
  39. package/dist/src/nile-card/nile-card.css.js.map +1 -1
  40. package/dist/src/nile-card/nile-card.js +12 -4
  41. package/dist/src/nile-card/nile-card.js.map +1 -1
  42. package/dist/src/nile-checkbox/nile-checkbox.d.ts +0 -2
  43. package/dist/src/nile-checkbox/nile-checkbox.js +0 -4
  44. package/dist/src/nile-checkbox/nile-checkbox.js.map +1 -1
  45. package/dist/src/nile-checkbox/nile-checkbox.test.js +34 -0
  46. package/dist/src/nile-checkbox/nile-checkbox.test.js.map +1 -1
  47. package/dist/src/nile-format-date/index.d.ts +1 -0
  48. package/dist/src/nile-format-date/index.js +2 -0
  49. package/dist/src/nile-format-date/index.js.map +1 -0
  50. package/dist/src/nile-format-date/nile-format-date.css.d.ts +12 -0
  51. package/dist/src/nile-format-date/nile-format-date.css.js +17 -0
  52. package/dist/src/nile-format-date/nile-format-date.css.js.map +1 -0
  53. package/dist/src/nile-format-date/nile-format-date.d.ts +59 -0
  54. package/dist/src/nile-format-date/nile-format-date.js +129 -0
  55. package/dist/src/nile-format-date/nile-format-date.js.map +1 -0
  56. package/dist/src/nile-input/nile-input.css.js +0 -5
  57. package/dist/src/nile-input/nile-input.css.js.map +1 -1
  58. package/dist/src/nile-tab-group/nile-tab-group.js +2 -2
  59. package/dist/src/nile-tab-group/nile-tab-group.js.map +1 -1
  60. package/dist/tsconfig.tsbuildinfo +1 -1
  61. package/package.json +1 -1
  62. package/src/index.ts +2 -1
  63. package/src/nile-card/nile-card.css.ts +23 -4
  64. package/src/nile-card/nile-card.ts +19 -8
  65. package/src/nile-checkbox/nile-checkbox.test.ts +43 -1
  66. package/src/nile-checkbox/nile-checkbox.ts +0 -5
  67. package/src/nile-format-date/index.ts +1 -0
  68. package/src/nile-format-date/nile-format-date.css.ts +19 -0
  69. package/src/nile-format-date/nile-format-date.ts +133 -0
  70. package/src/nile-input/nile-input.css.ts +0 -5
  71. package/src/nile-tab-group/nile-tab-group.ts +2 -2
  72. package/web-test-runner.config.mjs +13 -0
@@ -108,7 +108,7 @@ Object.defineProperty(r.prototype,"_obj",{get:function(){return o(this,"object")
108
108
  * Copyright(c) 2011-2014 Jake Luer <jake@alogicalparadox.com>
109
109
  * MIT Licensed
110
110
  */
111
- e.exports=function(t,e){var n=t.Assertion,i=t.AssertionError,o=e.flag;function r(t,n){n&&o(this,"message",n),t=t.toLowerCase();var i=o(this,"object"),r=~["a","e","i","o","u"].indexOf(t.charAt(0))?"an ":"a ";this.assert(t===e.type(i).toLowerCase(),"expected #{this} to be "+r+t,"expected #{this} not to be "+r+t)}function a(t,n){return e.isNaN(t)&&e.isNaN(n)||t===n}function s(){o(this,"contains",!0)}function c(t,r){r&&o(this,"message",r);var s=o(this,"object"),c=e.type(s).toLowerCase(),u=o(this,"message"),f=o(this,"negate"),h=o(this,"ssfi"),l=o(this,"deep"),d=l?"deep ":"";u=u?u+": ":"";var p=!1;switch(c){case"string":p=-1!==s.indexOf(t);break;case"weakset":if(l)throw new i(u+"unable to use .deep.include with WeakSet",void 0,h);p=s.has(t);break;case"map":var w=l?e.eql:a;s.forEach((function(e){p=p||w(e,t)}));break;case"set":l?s.forEach((function(n){p=p||e.eql(n,t)})):p=s.has(t);break;case"array":p=l?s.some((function(n){return e.eql(n,t)})):-1!==s.indexOf(t);break;default:if(t!==Object(t))throw new i(u+"the given combination of arguments ("+c+" and "+e.type(t).toLowerCase()+") is invalid for this assertion. You can use an array, a map, an object, a set, a string, or a weakset instead of a "+e.type(t).toLowerCase(),void 0,h);var b=Object.keys(t),m=null,v=0;if(b.forEach((function(r){var a=new n(s);if(e.transferFlags(this,a,!0),o(a,"lockSsfi",!0),f&&1!==b.length)try{a.property(r,t[r])}catch(t){if(!e.checkError.compatibleConstructor(t,i))throw t;null===m&&(m=t),v++}else a.property(r,t[r])}),this),f&&b.length>1&&v===b.length)throw m;return}this.assert(p,"expected #{this} to "+d+"include "+e.inspect(t),"expected #{this} to not "+d+"include "+e.inspect(t))}function u(){var t=o(this,"object");this.assert(null!=t,"expected #{this} to exist","expected #{this} to not exist")}function f(){var t=o(this,"object"),n=e.type(t);this.assert("Arguments"===n,"expected #{this} to be arguments but got "+n,"expected #{this} to not be arguments")}function h(t,e){e&&o(this,"message",e);var n=o(this,"object");if(o(this,"deep")){var i=o(this,"lockSsfi");o(this,"lockSsfi",!0),this.eql(t),o(this,"lockSsfi",i)}else this.assert(t===n,"expected #{this} to equal #{exp}","expected #{this} to not equal #{exp}",t,this._obj,!0)}function l(t,n){n&&o(this,"message",n),this.assert(e.eql(t,o(this,"object")),"expected #{this} to deeply equal #{exp}","expected #{this} to not deeply equal #{exp}",t,this._obj,!0)}function d(t,r){r&&o(this,"message",r);var a,s=o(this,"object"),c=o(this,"doLength"),u=o(this,"message"),f=u?u+": ":"",h=o(this,"ssfi"),l=e.type(s).toLowerCase(),d=e.type(t).toLowerCase(),p=!0;if(c&&"map"!==l&&"set"!==l&&new n(s,u,h,!0).to.have.property("length"),c||"date"!==l||"date"===d?"number"===d||!c&&"number"!==l?c||"date"===l||"number"===l?p=!1:a=f+"expected "+("string"===l?"'"+s+"'":s)+" to be a number or a date":a=f+"the argument to above must be a number":a=f+"the argument to above must be a date",p)throw new i(a,void 0,h);if(c){var w,b="length";"map"===l||"set"===l?(b="size",w=s.size):w=s.length,this.assert(w>t,"expected #{this} to have a "+b+" above #{exp} but got #{act}","expected #{this} to not have a "+b+" above #{exp}",t,w)}else this.assert(s>t,"expected #{this} to be above #{exp}","expected #{this} to be at most #{exp}",t)}function p(t,r){r&&o(this,"message",r);var a,s=o(this,"object"),c=o(this,"doLength"),u=o(this,"message"),f=u?u+": ":"",h=o(this,"ssfi"),l=e.type(s).toLowerCase(),d=e.type(t).toLowerCase(),p=!0;if(c&&"map"!==l&&"set"!==l&&new n(s,u,h,!0).to.have.property("length"),c||"date"!==l||"date"===d?"number"===d||!c&&"number"!==l?c||"date"===l||"number"===l?p=!1:a=f+"expected "+("string"===l?"'"+s+"'":s)+" to be a number or a date":a=f+"the argument to least must be a number":a=f+"the argument to least must be a date",p)throw new i(a,void 0,h);if(c){var w,b="length";"map"===l||"set"===l?(b="size",w=s.size):w=s.length,this.assert(w>=t,"expected #{this} to have a "+b+" at least #{exp} but got #{act}","expected #{this} to have a "+b+" below #{exp}",t,w)}else this.assert(s>=t,"expected #{this} to be at least #{exp}","expected #{this} to be below #{exp}",t)}function w(t,r){r&&o(this,"message",r);var a,s=o(this,"object"),c=o(this,"doLength"),u=o(this,"message"),f=u?u+": ":"",h=o(this,"ssfi"),l=e.type(s).toLowerCase(),d=e.type(t).toLowerCase(),p=!0;if(c&&"map"!==l&&"set"!==l&&new n(s,u,h,!0).to.have.property("length"),c||"date"!==l||"date"===d?"number"===d||!c&&"number"!==l?c||"date"===l||"number"===l?p=!1:a=f+"expected "+("string"===l?"'"+s+"'":s)+" to be a number or a date":a=f+"the argument to below must be a number":a=f+"the argument to below must be a date",p)throw new i(a,void 0,h);if(c){var w,b="length";"map"===l||"set"===l?(b="size",w=s.size):w=s.length,this.assert(w<t,"expected #{this} to have a "+b+" below #{exp} but got #{act}","expected #{this} to not have a "+b+" below #{exp}",t,w)}else this.assert(s<t,"expected #{this} to be below #{exp}","expected #{this} to be at least #{exp}",t)}function b(t,r){r&&o(this,"message",r);var a,s=o(this,"object"),c=o(this,"doLength"),u=o(this,"message"),f=u?u+": ":"",h=o(this,"ssfi"),l=e.type(s).toLowerCase(),d=e.type(t).toLowerCase(),p=!0;if(c&&"map"!==l&&"set"!==l&&new n(s,u,h,!0).to.have.property("length"),c||"date"!==l||"date"===d?"number"===d||!c&&"number"!==l?c||"date"===l||"number"===l?p=!1:a=f+"expected "+("string"===l?"'"+s+"'":s)+" to be a number or a date":a=f+"the argument to most must be a number":a=f+"the argument to most must be a date",p)throw new i(a,void 0,h);if(c){var w,b="length";"map"===l||"set"===l?(b="size",w=s.size):w=s.length,this.assert(w<=t,"expected #{this} to have a "+b+" at most #{exp} but got #{act}","expected #{this} to have a "+b+" above #{exp}",t,w)}else this.assert(s<=t,"expected #{this} to be at most #{exp}","expected #{this} to be above #{exp}",t)}function m(t,n){n&&o(this,"message",n);var r=o(this,"object"),a=o(this,"ssfi"),s=o(this,"message");try{var c=r instanceof t}catch(n){if(n instanceof TypeError)throw new i((s=s?s+": ":"")+"The instanceof assertion needs a constructor but "+e.type(t)+" was given.",void 0,a);throw n}var u=e.getName(t);null===u&&(u="an unnamed constructor"),this.assert(c,"expected #{this} to be an instance of "+u,"expected #{this} to not be an instance of "+u)}function v(t,n,r){r&&o(this,"message",r);var a=o(this,"nested"),s=o(this,"own"),c=o(this,"message"),u=o(this,"object"),f=o(this,"ssfi"),h=typeof t;if(c=c?c+": ":"",a){if("string"!==h)throw new i(c+"the argument to property must be a string when using nested syntax",void 0,f)}else if("string"!==h&&"number"!==h&&"symbol"!==h)throw new i(c+"the argument to property must be a string, number, or symbol",void 0,f);if(a&&s)throw new i(c+'The "nested" and "own" flags cannot be combined.',void 0,f);if(null==u)throw new i(c+"Target cannot be null or undefined.",void 0,f);var l,d=o(this,"deep"),p=o(this,"negate"),w=a?e.getPathInfo(u,t):null,b=a?w.value:u[t],m="";d&&(m+="deep "),s&&(m+="own "),a&&(m+="nested "),m+="property ",l=s?Object.prototype.hasOwnProperty.call(u,t):a?w.exists:e.hasProperty(u,t),p&&1!==arguments.length||this.assert(l,"expected #{this} to have "+m+e.inspect(t),"expected #{this} to not have "+m+e.inspect(t)),arguments.length>1&&this.assert(l&&(d?e.eql(n,b):n===b),"expected #{this} to have "+m+e.inspect(t)+" of #{exp}, but got #{act}","expected #{this} to not have "+m+e.inspect(t)+" of #{act}",n,b),o(this,"object",b)}function g(t,e,n){o(this,"own",!0),v.apply(this,arguments)}function y(t,n,i){"string"==typeof n&&(i=n,n=null),i&&o(this,"message",i);var r=o(this,"object"),a=Object.getOwnPropertyDescriptor(Object(r),t);a&&n?this.assert(e.eql(n,a),"expected the own property descriptor for "+e.inspect(t)+" on #{this} to match "+e.inspect(n)+", got "+e.inspect(a),"expected the own property descriptor for "+e.inspect(t)+" on #{this} to not match "+e.inspect(n),n,a,!0):this.assert(a,"expected #{this} to have an own property descriptor for "+e.inspect(t),"expected #{this} to not have an own property descriptor for "+e.inspect(t)),o(this,"object",a)}function x(){o(this,"doLength",!0)}function j(t,i){i&&o(this,"message",i);var r,a=o(this,"object"),s=e.type(a).toLowerCase(),c=o(this,"message"),u=o(this,"ssfi"),f="length";switch(s){case"map":case"set":f="size",r=a.size;break;default:new n(a,c,u,!0).to.have.property("length"),r=a.length}this.assert(r==t,"expected #{this} to have a "+f+" of #{exp} but got #{act}","expected #{this} to not have a "+f+" of #{act}",t,r)}function E(t,e){e&&o(this,"message",e);var n=o(this,"object");this.assert(t.exec(n),"expected #{this} to match "+t,"expected #{this} not to match "+t)}function k(t){var n,r,a=o(this,"object"),s=e.type(a),c=e.type(t),u=o(this,"ssfi"),f=o(this,"deep"),h="",l=!0,d=o(this,"message"),p=(d=d?d+": ":"")+"when testing keys against an object or an array you must give a single Array|Object|String argument or multiple String arguments";if("Map"===s||"Set"===s)h=f?"deeply ":"",r=[],a.forEach((function(t,e){r.push(e)})),"Array"!==c&&(t=Array.prototype.slice.call(arguments));else{switch(r=e.getOwnEnumerableProperties(a),c){case"Array":if(arguments.length>1)throw new i(p,void 0,u);break;case"Object":if(arguments.length>1)throw new i(p,void 0,u);t=Object.keys(t);break;default:t=Array.prototype.slice.call(arguments)}t=t.map((function(t){return"symbol"==typeof t?t:String(t)}))}if(!t.length)throw new i(d+"keys required",void 0,u);var w=t.length,b=o(this,"any"),m=o(this,"all"),v=t;if(b||m||(m=!0),b&&(l=v.some((function(t){return r.some((function(n){return f?e.eql(t,n):t===n}))}))),m&&(l=v.every((function(t){return r.some((function(n){return f?e.eql(t,n):t===n}))})),o(this,"contains")||(l=l&&t.length==r.length)),w>1){var g=(t=t.map((function(t){return e.inspect(t)}))).pop();m&&(n=t.join(", ")+", and "+g),b&&(n=t.join(", ")+", or "+g)}else n=e.inspect(t[0]);n=(w>1?"keys ":"key ")+n,n=(o(this,"contains")?"contain ":"have ")+n,this.assert(l,"expected #{this} to "+h+n,"expected #{this} to not "+h+n,v.slice(0).sort(e.compareByInspect),r.sort(e.compareByInspect),!0)}function O(t,i,r){r&&o(this,"message",r);var a,s=o(this,"object"),c=o(this,"ssfi"),u=o(this,"message"),f=o(this,"negate")||!1;new n(s,u,c,!0).is.a("function"),(t instanceof RegExp||"string"==typeof t)&&(i=t,t=null);try{s()}catch(t){a=t}var h=void 0===t&&void 0===i,l=Boolean(t&&i),d=!1,p=!1;if(h||!h&&!f){var w="an error";t instanceof Error?w="#{exp}":t&&(w=e.checkError.getConstructorName(t)),this.assert(a,"expected #{this} to throw "+w,"expected #{this} to not throw an error but #{act} was thrown",t&&t.toString(),a instanceof Error?a.toString():"string"==typeof a?a:a&&e.checkError.getConstructorName(a))}if(t&&a&&(t instanceof Error&&e.checkError.compatibleInstance(a,t)===f&&(l&&f?d=!0:this.assert(f,"expected #{this} to throw #{exp} but #{act} was thrown","expected #{this} to not throw #{exp}"+(a&&!f?" but #{act} was thrown":""),t.toString(),a.toString())),e.checkError.compatibleConstructor(a,t)===f&&(l&&f?d=!0:this.assert(f,"expected #{this} to throw #{exp} but #{act} was thrown","expected #{this} to not throw #{exp}"+(a?" but #{act} was thrown":""),t instanceof Error?t.toString():t&&e.checkError.getConstructorName(t),a instanceof Error?a.toString():a&&e.checkError.getConstructorName(a)))),a&&null!=i){var b="including";i instanceof RegExp&&(b="matching"),e.checkError.compatibleMessage(a,i)===f&&(l&&f?p=!0:this.assert(f,"expected #{this} to throw error "+b+" #{exp} but got #{act}","expected #{this} to throw error not "+b+" #{exp}",i,e.checkError.getMessage(a)))}d&&p&&this.assert(f,"expected #{this} to throw #{exp} but #{act} was thrown","expected #{this} to not throw #{exp}"+(a?" but #{act} was thrown":""),t instanceof Error?t.toString():t&&e.checkError.getConstructorName(t),a instanceof Error?a.toString():a&&e.checkError.getConstructorName(a)),o(this,"object",a)}function S(t,n){n&&o(this,"message",n);var i=o(this,"object"),r=o(this,"itself"),a="function"!=typeof i||r?i[t]:i.prototype[t];this.assert("function"==typeof a,"expected #{this} to respond to "+e.inspect(t),"expected #{this} to not respond to "+e.inspect(t))}function A(t,n){n&&o(this,"message",n);var i=t(o(this,"object"));this.assert(i,"expected #{this} to satisfy "+e.objDisplay(t),"expected #{this} to not satisfy"+e.objDisplay(t),!o(this,"negate"),i)}function D(t,e,r){r&&o(this,"message",r);var a=o(this,"object"),s=o(this,"message"),c=o(this,"ssfi");if(new n(a,s,c,!0).is.a("number"),"number"!=typeof t||"number"!=typeof e)throw new i((s=s?s+": ":"")+"the arguments to closeTo or approximately must be numbers"+(void 0===e?", and a delta is required":""),void 0,c);this.assert(Math.abs(a-t)<=e,"expected #{this} to be close to "+t+" +/- "+e,"expected #{this} not to be close to "+t+" +/- "+e)}function T(t,e,i){i&&o(this,"message",i);var r,a=o(this,"object"),s=o(this,"message"),c=o(this,"ssfi");new n(a,s,c,!0).is.a("function"),e?(new n(t,s,c,!0).to.have.property(e),r=t[e]):(new n(t,s,c,!0).is.a("function"),r=t()),a();var u=null==e?t():t[e],f=null==e?r:"."+e;o(this,"deltaMsgObj",f),o(this,"initialDeltaValue",r),o(this,"finalDeltaValue",u),o(this,"deltaBehavior","change"),o(this,"realDelta",u!==r),this.assert(r!==u,"expected "+f+" to change","expected "+f+" to not change")}function q(t,e,i){i&&o(this,"message",i);var r,a=o(this,"object"),s=o(this,"message"),c=o(this,"ssfi");new n(a,s,c,!0).is.a("function"),e?(new n(t,s,c,!0).to.have.property(e),r=t[e]):(new n(t,s,c,!0).is.a("function"),r=t()),new n(r,s,c,!0).is.a("number"),a();var u=null==e?t():t[e],f=null==e?r:"."+e;o(this,"deltaMsgObj",f),o(this,"initialDeltaValue",r),o(this,"finalDeltaValue",u),o(this,"deltaBehavior","increase"),o(this,"realDelta",u-r),this.assert(u-r>0,"expected "+f+" to increase","expected "+f+" to not increase")}function M(t,e,i){i&&o(this,"message",i);var r,a=o(this,"object"),s=o(this,"message"),c=o(this,"ssfi");new n(a,s,c,!0).is.a("function"),e?(new n(t,s,c,!0).to.have.property(e),r=t[e]):(new n(t,s,c,!0).is.a("function"),r=t()),new n(r,s,c,!0).is.a("number"),a();var u=null==e?t():t[e],f=null==e?r:"."+e;o(this,"deltaMsgObj",f),o(this,"initialDeltaValue",r),o(this,"finalDeltaValue",u),o(this,"deltaBehavior","decrease"),o(this,"realDelta",r-u),this.assert(u-r<0,"expected "+f+" to decrease","expected "+f+" to not decrease")}["to","be","been","is","and","has","have","with","that","which","at","of","same","but","does","still","also"].forEach((function(t){n.addProperty(t)})),n.addProperty("not",(function(){o(this,"negate",!0)})),n.addProperty("deep",(function(){o(this,"deep",!0)})),n.addProperty("nested",(function(){o(this,"nested",!0)})),n.addProperty("own",(function(){o(this,"own",!0)})),n.addProperty("ordered",(function(){o(this,"ordered",!0)})),n.addProperty("any",(function(){o(this,"any",!0),o(this,"all",!1)})),n.addProperty("all",(function(){o(this,"all",!0),o(this,"any",!1)})),n.addChainableMethod("an",r),n.addChainableMethod("a",r),n.addChainableMethod("include",c,s),n.addChainableMethod("contain",c,s),n.addChainableMethod("contains",c,s),n.addChainableMethod("includes",c,s),n.addProperty("ok",(function(){this.assert(o(this,"object"),"expected #{this} to be truthy","expected #{this} to be falsy")})),n.addProperty("true",(function(){this.assert(!0===o(this,"object"),"expected #{this} to be true","expected #{this} to be false",!o(this,"negate"))})),n.addProperty("false",(function(){this.assert(!1===o(this,"object"),"expected #{this} to be false","expected #{this} to be true",!!o(this,"negate"))})),n.addProperty("null",(function(){this.assert(null===o(this,"object"),"expected #{this} to be null","expected #{this} not to be null")})),n.addProperty("undefined",(function(){this.assert(void 0===o(this,"object"),"expected #{this} to be undefined","expected #{this} not to be undefined")})),n.addProperty("NaN",(function(){this.assert(e.isNaN(o(this,"object")),"expected #{this} to be NaN","expected #{this} not to be NaN")})),n.addProperty("exist",u),n.addProperty("exists",u),n.addProperty("empty",(function(){var t,n=o(this,"object"),r=o(this,"ssfi"),a=o(this,"message");switch(a=a?a+": ":"",e.type(n).toLowerCase()){case"array":case"string":t=n.length;break;case"map":case"set":t=n.size;break;case"weakmap":case"weakset":throw new i(a+".empty was passed a weak collection",void 0,r);case"function":var s=a+".empty was passed a function "+e.getName(n);throw new i(s.trim(),void 0,r);default:if(n!==Object(n))throw new i(a+".empty was passed non-string primitive "+e.inspect(n),void 0,r);t=Object.keys(n).length}this.assert(0===t,"expected #{this} to be empty","expected #{this} not to be empty")})),n.addProperty("arguments",f),n.addProperty("Arguments",f),n.addMethod("equal",h),n.addMethod("equals",h),n.addMethod("eq",h),n.addMethod("eql",l),n.addMethod("eqls",l),n.addMethod("above",d),n.addMethod("gt",d),n.addMethod("greaterThan",d),n.addMethod("least",p),n.addMethod("gte",p),n.addMethod("greaterThanOrEqual",p),n.addMethod("below",w),n.addMethod("lt",w),n.addMethod("lessThan",w),n.addMethod("most",b),n.addMethod("lte",b),n.addMethod("lessThanOrEqual",b),n.addMethod("within",(function(t,r,a){a&&o(this,"message",a);var s,c=o(this,"object"),u=o(this,"doLength"),f=o(this,"message"),h=f?f+": ":"",l=o(this,"ssfi"),d=e.type(c).toLowerCase(),p=e.type(t).toLowerCase(),w=e.type(r).toLowerCase(),b=!0,m="date"===p&&"date"===w?t.toUTCString()+".."+r.toUTCString():t+".."+r;if(u&&"map"!==d&&"set"!==d&&new n(c,f,l,!0).to.have.property("length"),u||"date"!==d||"date"===p&&"date"===w?"number"===p&&"number"===w||!u&&"number"!==d?u||"date"===d||"number"===d?b=!1:s=h+"expected "+("string"===d?"'"+c+"'":c)+" to be a number or a date":s=h+"the arguments to within must be numbers":s=h+"the arguments to within must be dates",b)throw new i(s,void 0,l);if(u){var v,g="length";"map"===d||"set"===d?(g="size",v=c.size):v=c.length,this.assert(v>=t&&v<=r,"expected #{this} to have a "+g+" within "+m,"expected #{this} to not have a "+g+" within "+m)}else this.assert(c>=t&&c<=r,"expected #{this} to be within "+m,"expected #{this} to not be within "+m)})),n.addMethod("instanceof",m),n.addMethod("instanceOf",m),n.addMethod("property",v),n.addMethod("ownProperty",g),n.addMethod("haveOwnProperty",g),n.addMethod("ownPropertyDescriptor",y),n.addMethod("haveOwnPropertyDescriptor",y),n.addChainableMethod("length",j,x),n.addChainableMethod("lengthOf",j,x),n.addMethod("match",E),n.addMethod("matches",E),n.addMethod("string",(function(t,i){i&&o(this,"message",i);var r=o(this,"object"),a=o(this,"message"),s=o(this,"ssfi");new n(r,a,s,!0).is.a("string"),this.assert(~r.indexOf(t),"expected #{this} to contain "+e.inspect(t),"expected #{this} to not contain "+e.inspect(t))})),n.addMethod("keys",k),n.addMethod("key",k),n.addMethod("throw",O),n.addMethod("throws",O),n.addMethod("Throw",O),n.addMethod("respondTo",S),n.addMethod("respondsTo",S),n.addProperty("itself",(function(){o(this,"itself",!0)})),n.addMethod("satisfy",A),n.addMethod("satisfies",A),n.addMethod("closeTo",D),n.addMethod("approximately",D),n.addMethod("members",(function(t,i){i&&o(this,"message",i);var r=o(this,"object"),a=o(this,"message"),s=o(this,"ssfi");new n(r,a,s,!0).to.be.an("array"),new n(t,a,s,!0).to.be.an("array");var c,u,f,h=o(this,"contains"),l=o(this,"ordered");h?(u="expected #{this} to be "+(c=l?"an ordered superset":"a superset")+" of #{exp}",f="expected #{this} to not be "+c+" of #{exp}"):(u="expected #{this} to have the same "+(c=l?"ordered members":"members")+" as #{exp}",f="expected #{this} to not have the same "+c+" as #{exp}");var d=o(this,"deep")?e.eql:void 0;this.assert(function(t,e,n,i,o){if(!i){if(t.length!==e.length)return!1;e=e.slice()}return t.every((function(t,r){if(o)return n?n(t,e[r]):t===e[r];if(!n){var a=e.indexOf(t);return-1!==a&&(i||e.splice(a,1),!0)}return e.some((function(o,r){return!!n(t,o)&&(i||e.splice(r,1),!0)}))}))}(t,r,d,h,l),u,f,t,r,!0)})),n.addMethod("oneOf",(function(t,i){i&&o(this,"message",i);var r=o(this,"object"),a=o(this,"message"),s=o(this,"ssfi"),c=o(this,"contains"),u=o(this,"deep");new n(t,a,s,!0).to.be.an("array"),c?this.assert(t.some((function(t){return r.indexOf(t)>-1})),"expected #{this} to contain one of #{exp}","expected #{this} to not contain one of #{exp}",t,r):u?this.assert(t.some((function(t){return e.eql(r,t)})),"expected #{this} to deeply equal one of #{exp}","expected #{this} to deeply equal one of #{exp}",t,r):this.assert(t.indexOf(r)>-1,"expected #{this} to be one of #{exp}","expected #{this} to not be one of #{exp}",t,r)})),n.addMethod("change",T),n.addMethod("changes",T),n.addMethod("increase",q),n.addMethod("increases",q),n.addMethod("decrease",M),n.addMethod("decreases",M),n.addMethod("by",(function(t,e){e&&o(this,"message",e);var n,i=o(this,"deltaMsgObj"),r=o(this,"initialDeltaValue"),a=o(this,"finalDeltaValue"),s=o(this,"deltaBehavior"),c=o(this,"realDelta");n="change"===s?Math.abs(a-r)===Math.abs(t):c===Math.abs(t),this.assert(n,"expected "+i+" to "+s+" by "+t,"expected "+i+" to not "+s+" by "+t)})),n.addProperty("extensible",(function(){var t=o(this,"object"),e=t===Object(t)&&Object.isExtensible(t);this.assert(e,"expected #{this} to be extensible","expected #{this} to not be extensible")})),n.addProperty("sealed",(function(){var t=o(this,"object"),e=t!==Object(t)||Object.isSealed(t);this.assert(e,"expected #{this} to be sealed","expected #{this} to not be sealed")})),n.addProperty("frozen",(function(){var t=o(this,"object"),e=t!==Object(t)||Object.isFrozen(t);this.assert(e,"expected #{this} to be frozen","expected #{this} to not be frozen")})),n.addProperty("finite",(function(t){var e=o(this,"object");this.assert("number"==typeof e&&isFinite(e),"expected #{this} to be a finite number","expected #{this} to not be a finite number")}))}},{}],6:[function(t,e,n){
111
+ e.exports=function(t,e){var n=t.Assertion,i=t.AssertionError,o=e.flag;function r(t,n){n&&o(this,"message",n),t=t.toLowerCase();var i=o(this,"object"),r=~["a","e","i","o","u"].indexOf(t.charAt(0))?"an ":"a ";this.assert(t===e.type(i).toLowerCase(),"expected #{this} to be "+r+t,"expected #{this} not to be "+r+t)}function a(t,n){return e.isNaN(t)&&e.isNaN(n)||t===n}function s(){o(this,"contains",!0)}function c(t,r){r&&o(this,"message",r);var s=o(this,"object"),c=e.type(s).toLowerCase(),u=o(this,"message"),f=o(this,"negate"),h=o(this,"ssfi"),l=o(this,"deep"),d=l?"deep ":"";u=u?u+": ":"";var p=!1;switch(c){case"string":p=-1!==s.indexOf(t);break;case"weakset":if(l)throw new i(u+"unable to use .deep.include with WeakSet",void 0,h);p=s.has(t);break;case"map":var w=l?e.eql:a;s.forEach((function(e){p=p||w(e,t)}));break;case"set":l?s.forEach((function(n){p=p||e.eql(n,t)})):p=s.has(t);break;case"array":p=l?s.some((function(n){return e.eql(n,t)})):-1!==s.indexOf(t);break;default:if(t!==Object(t))throw new i(u+"the given combination of arguments ("+c+" and "+e.type(t).toLowerCase()+") is invalid for this assertion. You can use an array, a map, an object, a set, a string, or a weakset instead of a "+e.type(t).toLowerCase(),void 0,h);var b=Object.keys(t),m=null,v=0;if(b.forEach((function(r){var a=new n(s);if(e.transferFlags(this,a,!0),o(a,"lockSsfi",!0),f&&1!==b.length)try{a.property(r,t[r])}catch(t){if(!e.checkError.compatibleConstructor(t,i))throw t;null===m&&(m=t),v++}else a.property(r,t[r])}),this),f&&b.length>1&&v===b.length)throw m;return}this.assert(p,"expected #{this} to "+d+"include "+e.inspect(t),"expected #{this} to not "+d+"include "+e.inspect(t))}function u(){var t=o(this,"object");this.assert(null!=t,"expected #{this} to exist","expected #{this} to not exist")}function f(){var t=o(this,"object"),n=e.type(t);this.assert("Arguments"===n,"expected #{this} to be arguments but got "+n,"expected #{this} to not be arguments")}function h(t,e){e&&o(this,"message",e);var n=o(this,"object");if(o(this,"deep")){var i=o(this,"lockSsfi");o(this,"lockSsfi",!0),this.eql(t),o(this,"lockSsfi",i)}else this.assert(t===n,"expected #{this} to equal #{exp}","expected #{this} to not equal #{exp}",t,this._obj,!0)}function l(t,n){n&&o(this,"message",n),this.assert(e.eql(t,o(this,"object")),"expected #{this} to deeply equal #{exp}","expected #{this} to not deeply equal #{exp}",t,this._obj,!0)}function d(t,r){r&&o(this,"message",r);var a,s=o(this,"object"),c=o(this,"doLength"),u=o(this,"message"),f=u?u+": ":"",h=o(this,"ssfi"),l=e.type(s).toLowerCase(),d=e.type(t).toLowerCase(),p=!0;if(c&&"map"!==l&&"set"!==l&&new n(s,u,h,!0).to.have.property("length"),c||"date"!==l||"date"===d?"number"===d||!c&&"number"!==l?c||"date"===l||"number"===l?p=!1:a=f+"expected "+("string"===l?"'"+s+"'":s)+" to be a number or a date":a=f+"the argument to above must be a number":a=f+"the argument to above must be a date",p)throw new i(a,void 0,h);if(c){var w,b="length";"map"===l||"set"===l?(b="size",w=s.size):w=s.length,this.assert(w>t,"expected #{this} to have a "+b+" above #{exp} but got #{act}","expected #{this} to not have a "+b+" above #{exp}",t,w)}else this.assert(s>t,"expected #{this} to be above #{exp}","expected #{this} to be at most #{exp}",t)}function p(t,r){r&&o(this,"message",r);var a,s=o(this,"object"),c=o(this,"doLength"),u=o(this,"message"),f=u?u+": ":"",h=o(this,"ssfi"),l=e.type(s).toLowerCase(),d=e.type(t).toLowerCase(),p=!0;if(c&&"map"!==l&&"set"!==l&&new n(s,u,h,!0).to.have.property("length"),c||"date"!==l||"date"===d?"number"===d||!c&&"number"!==l?c||"date"===l||"number"===l?p=!1:a=f+"expected "+("string"===l?"'"+s+"'":s)+" to be a number or a date":a=f+"the argument to least must be a number":a=f+"the argument to least must be a date",p)throw new i(a,void 0,h);if(c){var w,b="length";"map"===l||"set"===l?(b="size",w=s.size):w=s.length,this.assert(w>=t,"expected #{this} to have a "+b+" at least #{exp} but got #{act}","expected #{this} to have a "+b+" below #{exp}",t,w)}else this.assert(s>=t,"expected #{this} to be at least #{exp}","expected #{this} to be below #{exp}",t)}function w(t,r){r&&o(this,"message",r);var a,s=o(this,"object"),c=o(this,"doLength"),u=o(this,"message"),f=u?u+": ":"",h=o(this,"ssfi"),l=e.type(s).toLowerCase(),d=e.type(t).toLowerCase(),p=!0;if(c&&"map"!==l&&"set"!==l&&new n(s,u,h,!0).to.have.property("length"),c||"date"!==l||"date"===d?"number"===d||!c&&"number"!==l?c||"date"===l||"number"===l?p=!1:a=f+"expected "+("string"===l?"'"+s+"'":s)+" to be a number or a date":a=f+"the argument to below must be a number":a=f+"the argument to below must be a date",p)throw new i(a,void 0,h);if(c){var w,b="length";"map"===l||"set"===l?(b="size",w=s.size):w=s.length,this.assert(w<t,"expected #{this} to have a "+b+" below #{exp} but got #{act}","expected #{this} to not have a "+b+" below #{exp}",t,w)}else this.assert(s<t,"expected #{this} to be below #{exp}","expected #{this} to be at least #{exp}",t)}function b(t,r){r&&o(this,"message",r);var a,s=o(this,"object"),c=o(this,"doLength"),u=o(this,"message"),f=u?u+": ":"",h=o(this,"ssfi"),l=e.type(s).toLowerCase(),d=e.type(t).toLowerCase(),p=!0;if(c&&"map"!==l&&"set"!==l&&new n(s,u,h,!0).to.have.property("length"),c||"date"!==l||"date"===d?"number"===d||!c&&"number"!==l?c||"date"===l||"number"===l?p=!1:a=f+"expected "+("string"===l?"'"+s+"'":s)+" to be a number or a date":a=f+"the argument to most must be a number":a=f+"the argument to most must be a date",p)throw new i(a,void 0,h);if(c){var w,b="length";"map"===l||"set"===l?(b="size",w=s.size):w=s.length,this.assert(w<=t,"expected #{this} to have a "+b+" at most #{exp} but got #{act}","expected #{this} to have a "+b+" above #{exp}",t,w)}else this.assert(s<=t,"expected #{this} to be at most #{exp}","expected #{this} to be above #{exp}",t)}function m(t,n){n&&o(this,"message",n);var r=o(this,"object"),a=o(this,"ssfi"),s=o(this,"message");try{var c=r instanceof t}catch(n){if(n instanceof TypeError)throw new i((s=s?s+": ":"")+"The instanceof assertion needs a constructor but "+e.type(t)+" was given.",void 0,a);throw n}var u=e.getName(t);null===u&&(u="an unnamed constructor"),this.assert(c,"expected #{this} to be an instance of "+u,"expected #{this} to not be an instance of "+u)}function v(t,n,r){r&&o(this,"message",r);var a=o(this,"nested"),s=o(this,"own"),c=o(this,"message"),u=o(this,"object"),f=o(this,"ssfi"),h=typeof t;if(c=c?c+": ":"",a){if("string"!==h)throw new i(c+"the argument to property must be a string when using nested syntax",void 0,f)}else if("string"!==h&&"number"!==h&&"symbol"!==h)throw new i(c+"the argument to property must be a string, number, or symbol",void 0,f);if(a&&s)throw new i(c+'The "nested" and "own" flags cannot be combined.',void 0,f);if(null==u)throw new i(c+"Target cannot be null or undefined.",void 0,f);var l,d=o(this,"deep"),p=o(this,"negate"),w=a?e.getPathInfo(u,t):null,b=a?w.value:u[t],m="";d&&(m+="deep "),s&&(m+="own "),a&&(m+="nested "),m+="property ",l=s?Object.prototype.hasOwnProperty.call(u,t):a?w.exists:e.hasProperty(u,t),p&&1!==arguments.length||this.assert(l,"expected #{this} to have "+m+e.inspect(t),"expected #{this} to not have "+m+e.inspect(t)),arguments.length>1&&this.assert(l&&(d?e.eql(n,b):n===b),"expected #{this} to have "+m+e.inspect(t)+" of #{exp}, but got #{act}","expected #{this} to not have "+m+e.inspect(t)+" of #{act}",n,b),o(this,"object",b)}function g(t,e,n){o(this,"own",!0),v.apply(this,arguments)}function x(t,n,i){"string"==typeof n&&(i=n,n=null),i&&o(this,"message",i);var r=o(this,"object"),a=Object.getOwnPropertyDescriptor(Object(r),t);a&&n?this.assert(e.eql(n,a),"expected the own property descriptor for "+e.inspect(t)+" on #{this} to match "+e.inspect(n)+", got "+e.inspect(a),"expected the own property descriptor for "+e.inspect(t)+" on #{this} to not match "+e.inspect(n),n,a,!0):this.assert(a,"expected #{this} to have an own property descriptor for "+e.inspect(t),"expected #{this} to not have an own property descriptor for "+e.inspect(t)),o(this,"object",a)}function y(){o(this,"doLength",!0)}function j(t,i){i&&o(this,"message",i);var r,a=o(this,"object"),s=e.type(a).toLowerCase(),c=o(this,"message"),u=o(this,"ssfi"),f="length";switch(s){case"map":case"set":f="size",r=a.size;break;default:new n(a,c,u,!0).to.have.property("length"),r=a.length}this.assert(r==t,"expected #{this} to have a "+f+" of #{exp} but got #{act}","expected #{this} to not have a "+f+" of #{act}",t,r)}function k(t,e){e&&o(this,"message",e);var n=o(this,"object");this.assert(t.exec(n),"expected #{this} to match "+t,"expected #{this} not to match "+t)}function E(t){var n,r,a=o(this,"object"),s=e.type(a),c=e.type(t),u=o(this,"ssfi"),f=o(this,"deep"),h="",l=!0,d=o(this,"message"),p=(d=d?d+": ":"")+"when testing keys against an object or an array you must give a single Array|Object|String argument or multiple String arguments";if("Map"===s||"Set"===s)h=f?"deeply ":"",r=[],a.forEach((function(t,e){r.push(e)})),"Array"!==c&&(t=Array.prototype.slice.call(arguments));else{switch(r=e.getOwnEnumerableProperties(a),c){case"Array":if(arguments.length>1)throw new i(p,void 0,u);break;case"Object":if(arguments.length>1)throw new i(p,void 0,u);t=Object.keys(t);break;default:t=Array.prototype.slice.call(arguments)}t=t.map((function(t){return"symbol"==typeof t?t:String(t)}))}if(!t.length)throw new i(d+"keys required",void 0,u);var w=t.length,b=o(this,"any"),m=o(this,"all"),v=t;if(b||m||(m=!0),b&&(l=v.some((function(t){return r.some((function(n){return f?e.eql(t,n):t===n}))}))),m&&(l=v.every((function(t){return r.some((function(n){return f?e.eql(t,n):t===n}))})),o(this,"contains")||(l=l&&t.length==r.length)),w>1){var g=(t=t.map((function(t){return e.inspect(t)}))).pop();m&&(n=t.join(", ")+", and "+g),b&&(n=t.join(", ")+", or "+g)}else n=e.inspect(t[0]);n=(w>1?"keys ":"key ")+n,n=(o(this,"contains")?"contain ":"have ")+n,this.assert(l,"expected #{this} to "+h+n,"expected #{this} to not "+h+n,v.slice(0).sort(e.compareByInspect),r.sort(e.compareByInspect),!0)}function O(t,i,r){r&&o(this,"message",r);var a,s=o(this,"object"),c=o(this,"ssfi"),u=o(this,"message"),f=o(this,"negate")||!1;new n(s,u,c,!0).is.a("function"),(t instanceof RegExp||"string"==typeof t)&&(i=t,t=null);try{s()}catch(t){a=t}var h=void 0===t&&void 0===i,l=Boolean(t&&i),d=!1,p=!1;if(h||!h&&!f){var w="an error";t instanceof Error?w="#{exp}":t&&(w=e.checkError.getConstructorName(t)),this.assert(a,"expected #{this} to throw "+w,"expected #{this} to not throw an error but #{act} was thrown",t&&t.toString(),a instanceof Error?a.toString():"string"==typeof a?a:a&&e.checkError.getConstructorName(a))}if(t&&a&&(t instanceof Error&&e.checkError.compatibleInstance(a,t)===f&&(l&&f?d=!0:this.assert(f,"expected #{this} to throw #{exp} but #{act} was thrown","expected #{this} to not throw #{exp}"+(a&&!f?" but #{act} was thrown":""),t.toString(),a.toString())),e.checkError.compatibleConstructor(a,t)===f&&(l&&f?d=!0:this.assert(f,"expected #{this} to throw #{exp} but #{act} was thrown","expected #{this} to not throw #{exp}"+(a?" but #{act} was thrown":""),t instanceof Error?t.toString():t&&e.checkError.getConstructorName(t),a instanceof Error?a.toString():a&&e.checkError.getConstructorName(a)))),a&&null!=i){var b="including";i instanceof RegExp&&(b="matching"),e.checkError.compatibleMessage(a,i)===f&&(l&&f?p=!0:this.assert(f,"expected #{this} to throw error "+b+" #{exp} but got #{act}","expected #{this} to throw error not "+b+" #{exp}",i,e.checkError.getMessage(a)))}d&&p&&this.assert(f,"expected #{this} to throw #{exp} but #{act} was thrown","expected #{this} to not throw #{exp}"+(a?" but #{act} was thrown":""),t instanceof Error?t.toString():t&&e.checkError.getConstructorName(t),a instanceof Error?a.toString():a&&e.checkError.getConstructorName(a)),o(this,"object",a)}function S(t,n){n&&o(this,"message",n);var i=o(this,"object"),r=o(this,"itself"),a="function"!=typeof i||r?i[t]:i.prototype[t];this.assert("function"==typeof a,"expected #{this} to respond to "+e.inspect(t),"expected #{this} to not respond to "+e.inspect(t))}function A(t,n){n&&o(this,"message",n);var i=t(o(this,"object"));this.assert(i,"expected #{this} to satisfy "+e.objDisplay(t),"expected #{this} to not satisfy"+e.objDisplay(t),!o(this,"negate"),i)}function D(t,e,r){r&&o(this,"message",r);var a=o(this,"object"),s=o(this,"message"),c=o(this,"ssfi");if(new n(a,s,c,!0).is.a("number"),"number"!=typeof t||"number"!=typeof e)throw new i((s=s?s+": ":"")+"the arguments to closeTo or approximately must be numbers"+(void 0===e?", and a delta is required":""),void 0,c);this.assert(Math.abs(a-t)<=e,"expected #{this} to be close to "+t+" +/- "+e,"expected #{this} not to be close to "+t+" +/- "+e)}function T(t,e,i){i&&o(this,"message",i);var r,a=o(this,"object"),s=o(this,"message"),c=o(this,"ssfi");new n(a,s,c,!0).is.a("function"),e?(new n(t,s,c,!0).to.have.property(e),r=t[e]):(new n(t,s,c,!0).is.a("function"),r=t()),a();var u=null==e?t():t[e],f=null==e?r:"."+e;o(this,"deltaMsgObj",f),o(this,"initialDeltaValue",r),o(this,"finalDeltaValue",u),o(this,"deltaBehavior","change"),o(this,"realDelta",u!==r),this.assert(r!==u,"expected "+f+" to change","expected "+f+" to not change")}function q(t,e,i){i&&o(this,"message",i);var r,a=o(this,"object"),s=o(this,"message"),c=o(this,"ssfi");new n(a,s,c,!0).is.a("function"),e?(new n(t,s,c,!0).to.have.property(e),r=t[e]):(new n(t,s,c,!0).is.a("function"),r=t()),new n(r,s,c,!0).is.a("number"),a();var u=null==e?t():t[e],f=null==e?r:"."+e;o(this,"deltaMsgObj",f),o(this,"initialDeltaValue",r),o(this,"finalDeltaValue",u),o(this,"deltaBehavior","increase"),o(this,"realDelta",u-r),this.assert(u-r>0,"expected "+f+" to increase","expected "+f+" to not increase")}function M(t,e,i){i&&o(this,"message",i);var r,a=o(this,"object"),s=o(this,"message"),c=o(this,"ssfi");new n(a,s,c,!0).is.a("function"),e?(new n(t,s,c,!0).to.have.property(e),r=t[e]):(new n(t,s,c,!0).is.a("function"),r=t()),new n(r,s,c,!0).is.a("number"),a();var u=null==e?t():t[e],f=null==e?r:"."+e;o(this,"deltaMsgObj",f),o(this,"initialDeltaValue",r),o(this,"finalDeltaValue",u),o(this,"deltaBehavior","decrease"),o(this,"realDelta",r-u),this.assert(u-r<0,"expected "+f+" to decrease","expected "+f+" to not decrease")}["to","be","been","is","and","has","have","with","that","which","at","of","same","but","does","still","also"].forEach((function(t){n.addProperty(t)})),n.addProperty("not",(function(){o(this,"negate",!0)})),n.addProperty("deep",(function(){o(this,"deep",!0)})),n.addProperty("nested",(function(){o(this,"nested",!0)})),n.addProperty("own",(function(){o(this,"own",!0)})),n.addProperty("ordered",(function(){o(this,"ordered",!0)})),n.addProperty("any",(function(){o(this,"any",!0),o(this,"all",!1)})),n.addProperty("all",(function(){o(this,"all",!0),o(this,"any",!1)})),n.addChainableMethod("an",r),n.addChainableMethod("a",r),n.addChainableMethod("include",c,s),n.addChainableMethod("contain",c,s),n.addChainableMethod("contains",c,s),n.addChainableMethod("includes",c,s),n.addProperty("ok",(function(){this.assert(o(this,"object"),"expected #{this} to be truthy","expected #{this} to be falsy")})),n.addProperty("true",(function(){this.assert(!0===o(this,"object"),"expected #{this} to be true","expected #{this} to be false",!o(this,"negate"))})),n.addProperty("false",(function(){this.assert(!1===o(this,"object"),"expected #{this} to be false","expected #{this} to be true",!!o(this,"negate"))})),n.addProperty("null",(function(){this.assert(null===o(this,"object"),"expected #{this} to be null","expected #{this} not to be null")})),n.addProperty("undefined",(function(){this.assert(void 0===o(this,"object"),"expected #{this} to be undefined","expected #{this} not to be undefined")})),n.addProperty("NaN",(function(){this.assert(e.isNaN(o(this,"object")),"expected #{this} to be NaN","expected #{this} not to be NaN")})),n.addProperty("exist",u),n.addProperty("exists",u),n.addProperty("empty",(function(){var t,n=o(this,"object"),r=o(this,"ssfi"),a=o(this,"message");switch(a=a?a+": ":"",e.type(n).toLowerCase()){case"array":case"string":t=n.length;break;case"map":case"set":t=n.size;break;case"weakmap":case"weakset":throw new i(a+".empty was passed a weak collection",void 0,r);case"function":var s=a+".empty was passed a function "+e.getName(n);throw new i(s.trim(),void 0,r);default:if(n!==Object(n))throw new i(a+".empty was passed non-string primitive "+e.inspect(n),void 0,r);t=Object.keys(n).length}this.assert(0===t,"expected #{this} to be empty","expected #{this} not to be empty")})),n.addProperty("arguments",f),n.addProperty("Arguments",f),n.addMethod("equal",h),n.addMethod("equals",h),n.addMethod("eq",h),n.addMethod("eql",l),n.addMethod("eqls",l),n.addMethod("above",d),n.addMethod("gt",d),n.addMethod("greaterThan",d),n.addMethod("least",p),n.addMethod("gte",p),n.addMethod("greaterThanOrEqual",p),n.addMethod("below",w),n.addMethod("lt",w),n.addMethod("lessThan",w),n.addMethod("most",b),n.addMethod("lte",b),n.addMethod("lessThanOrEqual",b),n.addMethod("within",(function(t,r,a){a&&o(this,"message",a);var s,c=o(this,"object"),u=o(this,"doLength"),f=o(this,"message"),h=f?f+": ":"",l=o(this,"ssfi"),d=e.type(c).toLowerCase(),p=e.type(t).toLowerCase(),w=e.type(r).toLowerCase(),b=!0,m="date"===p&&"date"===w?t.toUTCString()+".."+r.toUTCString():t+".."+r;if(u&&"map"!==d&&"set"!==d&&new n(c,f,l,!0).to.have.property("length"),u||"date"!==d||"date"===p&&"date"===w?"number"===p&&"number"===w||!u&&"number"!==d?u||"date"===d||"number"===d?b=!1:s=h+"expected "+("string"===d?"'"+c+"'":c)+" to be a number or a date":s=h+"the arguments to within must be numbers":s=h+"the arguments to within must be dates",b)throw new i(s,void 0,l);if(u){var v,g="length";"map"===d||"set"===d?(g="size",v=c.size):v=c.length,this.assert(v>=t&&v<=r,"expected #{this} to have a "+g+" within "+m,"expected #{this} to not have a "+g+" within "+m)}else this.assert(c>=t&&c<=r,"expected #{this} to be within "+m,"expected #{this} to not be within "+m)})),n.addMethod("instanceof",m),n.addMethod("instanceOf",m),n.addMethod("property",v),n.addMethod("ownProperty",g),n.addMethod("haveOwnProperty",g),n.addMethod("ownPropertyDescriptor",x),n.addMethod("haveOwnPropertyDescriptor",x),n.addChainableMethod("length",j,y),n.addChainableMethod("lengthOf",j,y),n.addMethod("match",k),n.addMethod("matches",k),n.addMethod("string",(function(t,i){i&&o(this,"message",i);var r=o(this,"object"),a=o(this,"message"),s=o(this,"ssfi");new n(r,a,s,!0).is.a("string"),this.assert(~r.indexOf(t),"expected #{this} to contain "+e.inspect(t),"expected #{this} to not contain "+e.inspect(t))})),n.addMethod("keys",E),n.addMethod("key",E),n.addMethod("throw",O),n.addMethod("throws",O),n.addMethod("Throw",O),n.addMethod("respondTo",S),n.addMethod("respondsTo",S),n.addProperty("itself",(function(){o(this,"itself",!0)})),n.addMethod("satisfy",A),n.addMethod("satisfies",A),n.addMethod("closeTo",D),n.addMethod("approximately",D),n.addMethod("members",(function(t,i){i&&o(this,"message",i);var r=o(this,"object"),a=o(this,"message"),s=o(this,"ssfi");new n(r,a,s,!0).to.be.an("array"),new n(t,a,s,!0).to.be.an("array");var c,u,f,h=o(this,"contains"),l=o(this,"ordered");h?(u="expected #{this} to be "+(c=l?"an ordered superset":"a superset")+" of #{exp}",f="expected #{this} to not be "+c+" of #{exp}"):(u="expected #{this} to have the same "+(c=l?"ordered members":"members")+" as #{exp}",f="expected #{this} to not have the same "+c+" as #{exp}");var d=o(this,"deep")?e.eql:void 0;this.assert(function(t,e,n,i,o){if(!i){if(t.length!==e.length)return!1;e=e.slice()}return t.every((function(t,r){if(o)return n?n(t,e[r]):t===e[r];if(!n){var a=e.indexOf(t);return-1!==a&&(i||e.splice(a,1),!0)}return e.some((function(o,r){return!!n(t,o)&&(i||e.splice(r,1),!0)}))}))}(t,r,d,h,l),u,f,t,r,!0)})),n.addMethod("oneOf",(function(t,i){i&&o(this,"message",i);var r=o(this,"object"),a=o(this,"message"),s=o(this,"ssfi"),c=o(this,"contains"),u=o(this,"deep");new n(t,a,s,!0).to.be.an("array"),c?this.assert(t.some((function(t){return r.indexOf(t)>-1})),"expected #{this} to contain one of #{exp}","expected #{this} to not contain one of #{exp}",t,r):u?this.assert(t.some((function(t){return e.eql(r,t)})),"expected #{this} to deeply equal one of #{exp}","expected #{this} to deeply equal one of #{exp}",t,r):this.assert(t.indexOf(r)>-1,"expected #{this} to be one of #{exp}","expected #{this} to not be one of #{exp}",t,r)})),n.addMethod("change",T),n.addMethod("changes",T),n.addMethod("increase",q),n.addMethod("increases",q),n.addMethod("decrease",M),n.addMethod("decreases",M),n.addMethod("by",(function(t,e){e&&o(this,"message",e);var n,i=o(this,"deltaMsgObj"),r=o(this,"initialDeltaValue"),a=o(this,"finalDeltaValue"),s=o(this,"deltaBehavior"),c=o(this,"realDelta");n="change"===s?Math.abs(a-r)===Math.abs(t):c===Math.abs(t),this.assert(n,"expected "+i+" to "+s+" by "+t,"expected "+i+" to not "+s+" by "+t)})),n.addProperty("extensible",(function(){var t=o(this,"object"),e=t===Object(t)&&Object.isExtensible(t);this.assert(e,"expected #{this} to be extensible","expected #{this} to not be extensible")})),n.addProperty("sealed",(function(){var t=o(this,"object"),e=t!==Object(t)||Object.isSealed(t);this.assert(e,"expected #{this} to be sealed","expected #{this} to not be sealed")})),n.addProperty("frozen",(function(){var t=o(this,"object"),e=t!==Object(t)||Object.isFrozen(t);this.assert(e,"expected #{this} to be frozen","expected #{this} to not be frozen")})),n.addProperty("finite",(function(t){var e=o(this,"object");this.assert("number"==typeof e&&isFinite(e),"expected #{this} to be a finite number","expected #{this} to not be a finite number")}))}},{}],6:[function(t,e,n){
112
112
  /*!
113
113
  * chai
114
114
  * Copyright(c) 2011-2014 Jake Luer <jake@alogicalparadox.com>
@@ -362,7 +362,7 @@ n.isNaN=t("./isNaN"),
362
362
  /*!
363
363
  * getOperator method
364
364
  */
365
- n.getOperator=t("./getOperator")},{"./addChainableMethod":9,"./addLengthGuard":10,"./addMethod":11,"./addProperty":12,"./compareByInspect":13,"./expectTypes":14,"./flag":15,"./getActual":16,"./getMessage":18,"./getOperator":19,"./getOwnEnumerableProperties":20,"./getOwnEnumerablePropertySymbols":21,"./inspect":24,"./isNaN":25,"./isProxyEnabled":26,"./objDisplay":27,"./overwriteChainableMethod":28,"./overwriteMethod":29,"./overwriteProperty":30,"./proxify":31,"./test":32,"./transferFlags":33,"check-error":35,"deep-eql":36,"get-func-name":37,pathval:38,"type-detect":39}],24:[function(t,e,n){var i=t("get-func-name"),o=t("./getProperties"),r=t("./getEnumerableProperties"),a=t("../config");e.exports=function(t,e,n,i){return c({showHidden:e,seen:[],stylize:function(t){return t}},t,void 0===n?2:n)};var s=function(t){return"object"==typeof HTMLElement?t instanceof HTMLElement:t&&"object"==typeof t&&"nodeType"in t&&1===t.nodeType&&"string"==typeof t.nodeName};function c(t,e,a){if(e&&"function"==typeof e.inspect&&e.inspect!==n.inspect&&(!e.constructor||e.constructor.prototype!==e)){var m=e.inspect(a,t);return"string"!=typeof m&&(m=c(t,m,a)),m}var v=function(t,e){switch(typeof e){case"undefined":return t.stylize("undefined","undefined");case"string":var n="'"+JSON.stringify(e).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return t.stylize(n,"string");case"number":return 0===e&&1/e==-1/0?t.stylize("-0","number"):t.stylize(""+e,"number");case"boolean":return t.stylize(""+e,"boolean");case"symbol":return t.stylize(e.toString(),"symbol");case"bigint":return t.stylize(e.toString()+"n","bigint")}if(null===e)return t.stylize("null","null")}(t,e);if(v)return v;if(s(e)){if("outerHTML"in e)return e.outerHTML;try{if(document.xmlVersion)return(new XMLSerializer).serializeToString(e);var g=document.createElementNS("http://www.w3.org/1999/xhtml","_");g.appendChild(e.cloneNode(!1));var y=g.innerHTML.replace("><",">"+e.innerHTML+"<");return g.innerHTML="",y}catch(t){}}var x,j,E=r(e),k=t.showHidden?o(e):E;if(0===k.length||b(e)&&(1===k.length&&"stack"===k[0]||2===k.length&&"description"===k[0]&&"stack"===k[1])){if("function"==typeof e)return j=(x=i(e))?": "+x:"",t.stylize("[Function"+j+"]","special");if(p(e))return t.stylize(RegExp.prototype.toString.call(e),"regexp");if(w(e))return t.stylize(Date.prototype.toUTCString.call(e),"date");if(b(e))return u(e)}var O,S="",A=!1,D=!1,T=["{","}"];if(l(e)&&(D=!0,T=["[","]"]),d(e)&&(A=!0,T=["[","]"]),"function"==typeof e&&(S=" [Function"+(j=(x=i(e))?": "+x:"")+"]"),p(e)&&(S=" "+RegExp.prototype.toString.call(e)),w(e)&&(S=" "+Date.prototype.toUTCString.call(e)),b(e))return u(e);if(0===k.length&&(!A||0==e.length))return T[0]+S+T[1];if(a<0)return p(e)?t.stylize(RegExp.prototype.toString.call(e),"regexp"):t.stylize("[Object]","special");if(t.seen.push(e),A)O=function(t,e,n,i,o){for(var r=[],a=0,s=e.length;a<s;++a)Object.prototype.hasOwnProperty.call(e,String(a))?r.push(h(t,e,n,i,String(a),!0)):r.push("");return o.forEach((function(o){o.match(/^\d+$/)||r.push(h(t,e,n,i,o,!0))})),r}(t,e,a,E,k);else{if(D)return f(e);O=k.map((function(n){return h(t,e,a,E,n,A)}))}return t.seen.pop(),function(t,e,n){return t.reduce((function(t,e){return t+e.length+1}),0)>60?n[0]+(""===e?"":e+"\n ")+" "+t.join(",\n ")+" "+n[1]:n[0]+e+" "+t.join(", ")+" "+n[1]}(O,S,T)}function u(t){return"["+Error.prototype.toString.call(t)+"]"}function f(t){for(var e="[ ",n=0;n<t.length;++n){if(e.length>=a.truncateThreshold-7){e+="...";break}e+=t[n]+", "}return-1!==(e+=" ]").indexOf(", ]")&&(e=e.replace(", ]"," ]")),e}function h(t,e,n,i,o,r){var a,s,u=Object.getOwnPropertyDescriptor(e,o);if(u&&(u.get?s=u.set?t.stylize("[Getter/Setter]","special"):t.stylize("[Getter]","special"):u.set&&(s=t.stylize("[Setter]","special"))),i.indexOf(o)<0&&(a="["+o+"]"),s||(t.seen.indexOf(e[o])<0?(s=c(t,e[o],null===n?null:n-1)).indexOf("\n")>-1&&(s=r?s.split("\n").map((function(t){return" "+t})).join("\n").substr(2):"\n"+s.split("\n").map((function(t){return" "+t})).join("\n")):s=t.stylize("[Circular]","special")),void 0===a){if(r&&o.match(/^\d+$/))return s;(a=JSON.stringify(""+o)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(a=a.substr(1,a.length-2),a=t.stylize(a,"name")):(a=a.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),a=t.stylize(a,"string"))}return a+": "+s}function l(t){return"object"==typeof t&&/\w+Array]$/.test(m(t))}function d(t){return Array.isArray(t)||"object"==typeof t&&"[object Array]"===m(t)}function p(t){return"object"==typeof t&&"[object RegExp]"===m(t)}function w(t){return"object"==typeof t&&"[object Date]"===m(t)}function b(t){return"object"==typeof t&&"[object Error]"===m(t)}function m(t){return Object.prototype.toString.call(t)}},{"../config":4,"./getEnumerableProperties":17,"./getProperties":22,"get-func-name":37}],25:[function(t,e,n){e.exports=Number.isNaN||
365
+ n.getOperator=t("./getOperator")},{"./addChainableMethod":9,"./addLengthGuard":10,"./addMethod":11,"./addProperty":12,"./compareByInspect":13,"./expectTypes":14,"./flag":15,"./getActual":16,"./getMessage":18,"./getOperator":19,"./getOwnEnumerableProperties":20,"./getOwnEnumerablePropertySymbols":21,"./inspect":24,"./isNaN":25,"./isProxyEnabled":26,"./objDisplay":27,"./overwriteChainableMethod":28,"./overwriteMethod":29,"./overwriteProperty":30,"./proxify":31,"./test":32,"./transferFlags":33,"check-error":35,"deep-eql":36,"get-func-name":37,pathval:38,"type-detect":39}],24:[function(t,e,n){var i=t("get-func-name"),o=t("./getProperties"),r=t("./getEnumerableProperties"),a=t("../config");e.exports=function(t,e,n,i){return c({showHidden:e,seen:[],stylize:function(t){return t}},t,void 0===n?2:n)};var s=function(t){return"object"==typeof HTMLElement?t instanceof HTMLElement:t&&"object"==typeof t&&"nodeType"in t&&1===t.nodeType&&"string"==typeof t.nodeName};function c(t,e,a){if(e&&"function"==typeof e.inspect&&e.inspect!==n.inspect&&(!e.constructor||e.constructor.prototype!==e)){var m=e.inspect(a,t);return"string"!=typeof m&&(m=c(t,m,a)),m}var v=function(t,e){switch(typeof e){case"undefined":return t.stylize("undefined","undefined");case"string":var n="'"+JSON.stringify(e).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return t.stylize(n,"string");case"number":return 0===e&&1/e==-1/0?t.stylize("-0","number"):t.stylize(""+e,"number");case"boolean":return t.stylize(""+e,"boolean");case"symbol":return t.stylize(e.toString(),"symbol");case"bigint":return t.stylize(e.toString()+"n","bigint")}if(null===e)return t.stylize("null","null")}(t,e);if(v)return v;if(s(e)){if("outerHTML"in e)return e.outerHTML;try{if(document.xmlVersion)return(new XMLSerializer).serializeToString(e);var g=document.createElementNS("http://www.w3.org/1999/xhtml","_");g.appendChild(e.cloneNode(!1));var x=g.innerHTML.replace("><",">"+e.innerHTML+"<");return g.innerHTML="",x}catch(t){}}var y,j,k=r(e),E=t.showHidden?o(e):k;if(0===E.length||b(e)&&(1===E.length&&"stack"===E[0]||2===E.length&&"description"===E[0]&&"stack"===E[1])){if("function"==typeof e)return j=(y=i(e))?": "+y:"",t.stylize("[Function"+j+"]","special");if(p(e))return t.stylize(RegExp.prototype.toString.call(e),"regexp");if(w(e))return t.stylize(Date.prototype.toUTCString.call(e),"date");if(b(e))return u(e)}var O,S="",A=!1,D=!1,T=["{","}"];if(l(e)&&(D=!0,T=["[","]"]),d(e)&&(A=!0,T=["[","]"]),"function"==typeof e&&(S=" [Function"+(j=(y=i(e))?": "+y:"")+"]"),p(e)&&(S=" "+RegExp.prototype.toString.call(e)),w(e)&&(S=" "+Date.prototype.toUTCString.call(e)),b(e))return u(e);if(0===E.length&&(!A||0==e.length))return T[0]+S+T[1];if(a<0)return p(e)?t.stylize(RegExp.prototype.toString.call(e),"regexp"):t.stylize("[Object]","special");if(t.seen.push(e),A)O=function(t,e,n,i,o){for(var r=[],a=0,s=e.length;a<s;++a)Object.prototype.hasOwnProperty.call(e,String(a))?r.push(h(t,e,n,i,String(a),!0)):r.push("");return o.forEach((function(o){o.match(/^\d+$/)||r.push(h(t,e,n,i,o,!0))})),r}(t,e,a,k,E);else{if(D)return f(e);O=E.map((function(n){return h(t,e,a,k,n,A)}))}return t.seen.pop(),function(t,e,n){return t.reduce((function(t,e){return t+e.length+1}),0)>60?n[0]+(""===e?"":e+"\n ")+" "+t.join(",\n ")+" "+n[1]:n[0]+e+" "+t.join(", ")+" "+n[1]}(O,S,T)}function u(t){return"["+Error.prototype.toString.call(t)+"]"}function f(t){for(var e="[ ",n=0;n<t.length;++n){if(e.length>=a.truncateThreshold-7){e+="...";break}e+=t[n]+", "}return-1!==(e+=" ]").indexOf(", ]")&&(e=e.replace(", ]"," ]")),e}function h(t,e,n,i,o,r){var a,s,u=Object.getOwnPropertyDescriptor(e,o);if(u&&(u.get?s=u.set?t.stylize("[Getter/Setter]","special"):t.stylize("[Getter]","special"):u.set&&(s=t.stylize("[Setter]","special"))),i.indexOf(o)<0&&(a="["+o+"]"),s||(t.seen.indexOf(e[o])<0?(s=c(t,e[o],null===n?null:n-1)).indexOf("\n")>-1&&(s=r?s.split("\n").map((function(t){return" "+t})).join("\n").substr(2):"\n"+s.split("\n").map((function(t){return" "+t})).join("\n")):s=t.stylize("[Circular]","special")),void 0===a){if(r&&o.match(/^\d+$/))return s;(a=JSON.stringify(""+o)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(a=a.substr(1,a.length-2),a=t.stylize(a,"name")):(a=a.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),a=t.stylize(a,"string"))}return a+": "+s}function l(t){return"object"==typeof t&&/\w+Array]$/.test(m(t))}function d(t){return Array.isArray(t)||"object"==typeof t&&"[object Array]"===m(t)}function p(t){return"object"==typeof t&&"[object RegExp]"===m(t)}function w(t){return"object"==typeof t&&"[object Date]"===m(t)}function b(t){return"object"==typeof t&&"[object Error]"===m(t)}function m(t){return Object.prototype.toString.call(t)}},{"../config":4,"./getEnumerableProperties":17,"./getProperties":22,"get-func-name":37}],25:[function(t,e,n){e.exports=Number.isNaN||
366
366
  /*!
367
367
  * Chai - isNaN utility
368
368
  * Copyright(c) 2012-2015 Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
@@ -566,7 +566,7 @@ function d(t){if(function(t){return"undefined"!=typeof Symbol&&"object"==typeof
566
566
  *
567
567
  * @param {Object} target
568
568
  * @returns {Array} an array of own and inherited enumerable keys from the target.
569
- */function w(t){var e=[];for(var n in t)e.push(n);return e}function b(t){return null===t||"object"!=typeof t}e.exports=c,e.exports.MemoizeMap=r},{"type-detect":39}],37:[function(t,e,n){var i=Function.prototype.toString,o=/\s*function(?:\s|\s*\/\*[^(?:*\/)]+\*\/\s*)*([^\s\(\/]+)/;e.exports=function(t){if("function"!=typeof t)return null;var e="";if(void 0===Function.prototype.name&&void 0===t.name){var n=i.call(t).match(o);n&&(e=n[1])}else e=t.name;return e}},{}],38:[function(t,e,n){function i(t,e){return null!=t&&e in Object(t)}function o(t){return t.replace(/([^\\])\[/g,"$1.[").match(/(\\\.|[^.]+?)+/g).map((function(t){if("constructor"===t||"__proto__"===t||"prototype"===t)return{};var e=/^\[(\d+)\]$/.exec(t);return e?{i:parseFloat(e[1])}:{p:t.replace(/\\([.[\]])/g,"$1")}}))}function r(t,e,n){var i=t,o=null;n=void 0===n?e.length:n;for(var r=0;r<n;r++){var a=e[r];i&&(i=void 0===a.p?i[a.i]:i[a.p],r===n-1&&(o=i))}return o}function a(t,e){var n=o(e),a=n[n.length-1],s={parent:n.length>1?r(t,n,n.length-1):t,name:a.p||a.i,value:r(t,n)};return s.exists=i(s.parent,s.name),s}e.exports={hasProperty:i,getPathInfo:a,getPathValue:function(t,e){return a(t,e).value},setPathValue:function(t,e,n){return function(t,e,n){for(var i=t,o=n.length,r=null,a=0;a<o;a++){var s=null,c=null;if(r=n[a],a===o-1)i[s=void 0===r.p?r.i:r.p]=e;else if(void 0!==r.p&&i[r.p])i=i[r.p];else if(void 0!==r.i&&i[r.i])i=i[r.i];else{var u=n[a+1];s=void 0===r.p?r.i:r.p,c=void 0===u.p?[]:{},i[s]=c,i=i[s]}}}(t,n,o(e)),t}}},{}],39:[function(t,e,n){!function(t,i){"object"==typeof n&&void 0!==e?e.exports=i():t.typeDetect=i()}(this,(function(){var t="function"==typeof Promise,e="object"==typeof self?self:r,n="undefined"!=typeof Symbol,i="undefined"!=typeof Map,o="undefined"!=typeof Set,a="undefined"!=typeof WeakMap,s="undefined"!=typeof WeakSet,c="undefined"!=typeof DataView,u=n&&void 0!==Symbol.iterator,f=n&&void 0!==Symbol.toStringTag,h=o&&"function"==typeof Set.prototype.entries,l=i&&"function"==typeof Map.prototype.entries,d=h&&Object.getPrototypeOf((new Set).entries()),p=l&&Object.getPrototypeOf((new Map).entries()),w=u&&"function"==typeof Array.prototype[Symbol.iterator],b=w&&Object.getPrototypeOf([][Symbol.iterator]()),m=u&&"function"==typeof String.prototype[Symbol.iterator],v=m&&Object.getPrototypeOf(""[Symbol.iterator]());return function(n){var r=typeof n;if("object"!==r)return r;if(null===n)return"null";if(n===e)return"global";if(Array.isArray(n)&&(!1===f||!(Symbol.toStringTag in n)))return"Array";if("object"==typeof window&&null!==window){if("object"==typeof window.location&&n===window.location)return"Location";if("object"==typeof window.document&&n===window.document)return"Document";if("object"==typeof window.navigator){if("object"==typeof window.navigator.mimeTypes&&n===window.navigator.mimeTypes)return"MimeTypeArray";if("object"==typeof window.navigator.plugins&&n===window.navigator.plugins)return"PluginArray"}if(("function"==typeof window.HTMLElement||"object"==typeof window.HTMLElement)&&n instanceof window.HTMLElement){if("BLOCKQUOTE"===n.tagName)return"HTMLQuoteElement";if("TD"===n.tagName)return"HTMLTableDataCellElement";if("TH"===n.tagName)return"HTMLTableHeaderCellElement"}}var u=f&&n[Symbol.toStringTag];if("string"==typeof u)return u;var h=Object.getPrototypeOf(n);return h===RegExp.prototype?"RegExp":h===Date.prototype?"Date":t&&h===Promise.prototype?"Promise":o&&h===Set.prototype?"Set":i&&h===Map.prototype?"Map":s&&h===WeakSet.prototype?"WeakSet":a&&h===WeakMap.prototype?"WeakMap":c&&h===DataView.prototype?"DataView":i&&h===p?"Map Iterator":o&&h===d?"Set Iterator":w&&h===b?"Array Iterator":m&&h===v?"String Iterator":null===h?"Object":Object.prototype.toString.call(n).slice(8,-1)}}))},{}]},{},[1])(1);s.version,s.AssertionError,s.use,s.util,s.config,s.Assertion;var c=s.expect;s.should,s.Should,s.assert;const u=["script","style","svg"],f=["class","id"],h=["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"];function l(t,e={}){const n=e.ignoreAttributes?e.ignoreAttributes.filter((t=>"string"==typeof t)):[],i=e.ignoreAttributes?e.ignoreAttributes.filter((t=>"string"!=typeof t)):[],o=[...e.ignoreTags||[],...u],r=e.ignoreChildren||[],a=e.stripEmptyAttributes||f,s=/(&|")/g,c=t=>"&"===t?"&amp;":"&quot;";let l="",d=-1;const p=new Set,w=new Set;function b(){return" ".repeat(d)}function m(t){return t instanceof Element?t.getAttribute("data-tag-name")||t.localName:t.nodeName.toLowerCase()}function v(t){const e=m(t);return!o.includes(e)&&!r.includes(e)&&!p.has(t)}function g({name:t,value:e}){return a.includes(t)&&""===e.trim()}function y(t,{name:e,value:n}){return g({name:e,value:n})?"":"class"===e?` class="${function(t){return[...t.classList.values()].sort().join(" ")}(t)}"`:` ${e}="${n.replace(s,c)}"`}const x=(t,e)=>t.name.localeCompare(e.name);function j(t){let e="";const o=Array.from(t.attributes).filter((r=function(t){return function(e){return!(!n.includes(e.name)&&!g(e)&&!i.find((n=>{if(!n.tags||!n.attributes)throw new Error("An object entry to ignoreAttributes should contain a 'tags' and an 'attributes' property.");return n.tags.includes(m(t))&&n.attributes.includes(e.name)})))}}(t),(...t)=>!r(...t))).sort(x);var r;if(1===o.length)e=y(t,o[0]);else if(o.length>1){for(let n=0;n<o.length;n+=1)e+=`\n${b()} ${y(t,o[n])}`;e+=`\n${b()}`}return e}function E(t,e){var n;if("diff-container"!==m(t)&&!o.includes(m(t))&&!w.has(t))if(w.add(t),t instanceof Text)!function(t,e){let n="",i=t;for(;i&&i instanceof Text;)n+=i.nodeValue,i=e.nextSibling();i&&e.previousSibling(),n=n.trim(),""!==n&&(l+=`${b()}${n}\n`)}(t,e);else{if(!(t instanceof Element))throw new Error(`Unknown node type: ${t}`);n=t,l+=`${b()}<${m(n)}${j(n)}>\n`}}function k(t){var e;o.includes(m(t))||t instanceof Element&&("diff-container"===m(e=t)||h.includes(m(e))||(l+=`${b()}</${m(e)}>\n`))}let O;if("string"==typeof t)O=document.createElement("diff-container"),O.innerHTML=t,d=-1;else{if(!(t instanceof Node))throw new Error(`Cannot create diffable HTML from: ${t}`);O=t,d=0}const S=document.createTreeWalker(O,NodeFilter.SHOW_TEXT+NodeFilter.SHOW_ELEMENT,null,!1);for(;S.currentNode;){const t=S.currentNode;if(E(t,S),v(t)&&S.firstChild())d+=1;else{k(t);if(!S.nextSibling()){d-=1;const t=S.parentNode();if(!t)break;p.add(t)}}}return l}const d=new URL(window.location.href).searchParams.get("wtr-session-id");function p(t){return null!=t&&"object"==typeof t}async function w(t,e,n){if("string"!=typeof d)throw new Error("Unable to execute server commands in a browser not controlled by the test runner. Use the debug option from the watch menu to debug in a controlled browser.");let i;try{const t=await import("../../../../../../../../../__web-dev-server__web-socket.js");({sendMessageWaitForResponse:i}=t)}catch(t){throw new Error("Could not setup web socket connection. Are you executing this test through Web Test Runner?")}try{const o=await i({type:"wtr-command",sessionId:d,command:t,payload:e});if(!o.executed){let e;throw e=n?`Unknown command ${t}. Add the ${n} to your config.`:`Unknown command ${t}. Did you install a plugin to handle this command?`,new Error(e)}return o.result}catch(n){throw new Error(`Error while executing command ${t}${e?` with payload ${JSON.stringify(e)}`:""}: ${n.message}`)}}let b,m;const v=/snapshots\[[^\]]+] = (\n)?(?<content>`[^`]*`)/gm,g=t=>([...t.matchAll(v)].forEach((({groups:{content:e}})=>{t=t.replaceAll(e,encodeURIComponent(e))})),t);async function y({cache:t=!0}={}){if(t&&m)return m;const e=await w("get-snapshots",void 0,"snapshotPlugin from @web/test-runner-commands");if("string"!=typeof e?.content)throw new Error("Expected a result as string");const n=`${g(e.content)}/* ${Math.random()} */`,i=await import(`data:text/javascript;charset=utf-8,${n}`);if(!i||!p(i.snapshots))throw new Error("Expected snapshot result to be a module that exports an object.");return m=i.snapshots,m}function x(t){const e=[];let n;for(n="hook"===t.type?t.ctx.currentTest:t;n&&n.parent;)n.title&&e.push(n.title),n=n.parent;return e.reverse()}function j(...t){switch(t.length){case 2:{const[e,n]=t;return{message:e,options:n}}case 1:{const[n]=t;return(e=n)&&null!==e&&"object"==typeof e&&("ignoreAttributes"in e||"ignoreTags"in e||"ignoreChildren"in e||"stripEmptyAttributes"in e)?{options:n}:{message:n}}default:return{}}var e}let E;async function k(t,e){return E||await async function(){if(window.axe)E=window.axe;else if("function"!=typeof require){if(await import("../axe.min-c4141dd6.esm.js"),!window.axe)throw new Error("Error importing axe-core/axe.min.js, are you using a bundler or build tool that doesnt handle es modules?");E=window.axe}else E=require("axe-core/axe.min.js")}(),new Promise(((n,i)=>{E.run(t,e,((t,e)=>{t?i(new Error(t)):n(e)}))}))}var O,S={};O={get exports(){return S},set exports(t){S=t}},function(t){O.exports=t}((function(t,e){var n=e.flag,i=function(t){var e;return a(t)?0===t.length?"empty NodeList":(e=Array.prototype.slice.call(t,0,5).map(i).join(", "),t.length>5?e+"... (+"+(t.length-5)+" more)":e):r(t)?(e=t.tagName.toLowerCase(),t.id&&(e+="#"+t.id),t.className&&(e+="."+String(t.className).replace(/\s+/g,".")),Array.prototype.forEach.call(t.attributes,(function(t){"class"!==t.name&&"id"!==t.name&&(e+="["+t.name+(t.value?'="'+t.value+'"]':"]"))})),e):String(t)},o=function(t,o){var r=n(this,"object"),a=r.getAttribute(t);n(this,"negate")&&void 0!==o||this.assert(!!r.attributes[t],"expected "+i(r)+" to have an attribute #{exp}","expected "+i(r)+" not to have an attribute #{exp}",t),void 0!==o&&this.assert(o===a,"expected "+i(r)+" to have an attribute "+e.inspect(t)+" with the value #{exp}, but the value was #{act}","expected "+i(r)+" not to have an attribute "+e.inspect(t)+" with the value #{act}",o,a),n(this,"object",a)},r=function(t){return 1===t.nodeType},a=function(t){return"[object NodeList]"===Object.prototype.toString.call(t)};e.elToString=i,t.Assertion.addMethod("attr",o),t.Assertion.addMethod("attribute",o),t.Assertion.addMethod("class",(function(t){var e=n(this,"object");if(t instanceof RegExp)return this.assert(Array.from(e.classList).some((function(e){return t.test(e)})),"expected "+i(e)+" to have class matching #{exp}","expected "+i(e)+" not to have class matching #{exp}",t);this.assert(e.classList.contains(t),"expected "+i(e)+" to have class #{exp}","expected "+i(e)+" not to have class #{exp}",t)})),t.Assertion.addMethod("id",(function(t){var e=n(this,"object");this.assert(e.id==t,"expected "+i(e)+" to have id #{exp}","expected "+i(e)+" not to have id #{exp}",t)})),t.Assertion.addMethod("html",(function(t){var e=n(this,"object"),o=n(this,"object").innerHTML;n(this,"contains")?this.assert(o.indexOf(t)>=0,"expected #{act} to contain HTML #{exp}","expected #{act} not to contain HTML #{exp}",t,o):this.assert(o===t,"expected "+i(e)+" to have HTML #{exp}, but the HTML was #{act}","expected "+i(e)+" not to have HTML #{exp}",t,o)})),t.Assertion.addChainableMethod("trimmed",null,(function(){n(this,"trim-text",!0)})),t.Assertion.addProperty("rendered",(function(){n(this,"rendered-text",!0)})),t.Assertion.addMethod("text",(function(t){var o,r,s=n(this,"object"),c=n(this,"contains"),u=n(this,"trim-text"),f=n(this,"rendered-text")?"innerText":"textContent";a(s)?(o=Array.prototype.map.call(s,(function(t){return u?t[f].trim():t[f]})),Array.isArray(t)?(r=c?t[n(this,"negate")?"some":"every"]((function(t){return Array.prototype.some.call(s,(function(e){return(u?e[f].trim():e[f])===t}))})):e.eql(o,t),o=o.join(),t=t.join()):(o=o.join(""),r=c?o.indexOf(t)>=0:o===t)):(o=u?s[f].trim():s[f],r=c?o.indexOf(t)>=0:o===t);var h=i(s),l="";u&&(l+="trimmed "),n(this,"rendered-text")&&(l+="rendered "),l+="text",c?this.assert(r,"expected "+h+" to contain #{exp}, but the "+l+" was #{act}","expected "+h+" not to contain #{exp}, but the "+l+" was #{act}",t,o):this.assert(r,"expected "+h+" to have "+l+" #{exp}, but the "+l+" was #{act}","expected "+h+" not to have "+l+" #{exp}",t,o)})),t.Assertion.addMethod("value",(function(t){var e=n(this,"object"),o=n(this,"object").value;this.assert(n(this,"object").value===t,"expected "+i(e)+" to have value #{exp}, but the value was #{act}","expected "+i(e)+" not to have value #{exp}",t,o)})),t.Assertion.overwriteProperty("exist",(function(t){return function(){var e=n(this,"object");a(e)?this.assert(e.length>0,"expected an empty NodeList to have nodes","expected "+i(e)+" to not exist"):t.apply(this,arguments)}})),t.Assertion.overwriteProperty("empty",(function(t){return function(){var e=n(this,"object");r(e)?this.assert(0===e.children.length,"expected "+i(e)+" to be empty","expected "+i(e)+" to not be empty"):a(e)?this.assert(0===e.length,"expected "+i(e)+" to be empty","expected "+i(e)+" to not be empty"):t.apply(this,arguments)}})),t.Assertion.overwriteChainableMethod("length",(function(t){return function(e){var o=n(this,"object");if(a(o)||r(o)){var s=o.children?o.children.length:o.length;this.assert(s===e,"expected "+i(o)+" to have #{exp} children but it had #{act} children","expected "+i(o)+" to not have #{exp} children",e,s)}else t.apply(this,arguments)}}),(function(t){return function(){t.call(this)}})),t.Assertion.overwriteMethod("match",(function(t){return function(e){var o=n(this,"object");r(o)?this.assert(o.matches(e),"expected "+i(o)+" to match #{exp}","expected "+i(o)+" to not match #{exp}",e):a(o)?this.assert(!!o.length&&Array.prototype.every.call(o,(function(t){return t.matches(e)})),"expected "+i(o)+" to match #{exp}","expected "+i(o)+" to not match #{exp}",e):t.apply(this,arguments)}})),t.Assertion.overwriteChainableMethod("contain",(function(t){return function(e){var o=n(this,"object");r(o)?"string"==typeof e?this.assert(!!o.querySelector(e),"expected "+i(o)+" to contain #{exp}","expected "+i(o)+" to not contain #{exp}",e):this.assert(o.contains(e),"expected "+i(o)+" to contain "+i(e),"expected "+i(o)+" to not contain "+i(e)):t.apply(this,arguments)}}),(function(t){return function(){t.call(this)}})),t.Assertion.addMethod("descendant",(function(t){var e=n(this,"object"),o=t;"string"==typeof t?(o=e.querySelector(t),this.assert(!!o,"expected "+i(e)+" to have descendant #{exp}","expected "+i(e)+" to not have descendant #{exp}",t)):this.assert(e.contains(t),"expected "+i(e)+" to contain "+i(t),"expected "+i(e)+" to not contain "+i(t)),n(this,"object",o)})),t.Assertion.addMethod("descendants",(function(t){var e=n(this,"object"),o=e.querySelectorAll(t);this.assert(!!o.length,"expected "+i(e)+" to have descendants #{exp}","expected "+i(e)+" to not have descendants #{exp}",t),n(this,"object",o)})),t.Assertion.addProperty("displayed",(function(){var t=n(this,"object"),e=document.body.contains(t)?window.getComputedStyle(t).display:t.style.display;this.assert("none"!==e,"expected "+i(t)+" to be displayed, but it was not","expected "+i(t)+" to not be displayed, but it was as "+e,e)})),t.Assertion.addProperty("visible",(function(){var t=n(this,"object"),e=document.body.contains(t)?window.getComputedStyle(t).visibility:t.style.visibility;this.assert("hidden"!==e&&"collapse"!==e,"expected "+i(t)+" to be visible, but it was "+("hidden"===e?"hidden":"collapsed"),"expected "+i(t)+" to not be visible, but it was",e)})),t.Assertion.addMethod("tagName",(function(t){var e=n(this,"object"),o=e.tagName;this.assert(o.toUpperCase()===t.toUpperCase(),"expected "+i(e)+" to have tagName "+t+", but it was "+o,"expected "+i(e)+" to not have tagName "+t+", but it was "+o,o)})),t.Assertion.addMethod("style",(function(t,e){var o=n(this,"object"),r=window.getComputedStyle(o).getPropertyValue(t).trim();this.assert(r===e,"expected "+i(o)+" to have style property "+t+" equal to "+e+", but it was equal to "+r,"expected "+i(o)+" to not have style property "+t+" equal to "+e+", but it was equal to "+r,r)})),t.Assertion.overwriteProperty("focus",(function(){return function(){var t=n(this,"object"),e=t.ownerDocument.activeElement;this.assert(t===t.ownerDocument.activeElement,"expected #{this} to have focus","expected #{this} not to have focus",t,e)}})),t.Assertion.overwriteProperty("checked",(function(){return function(){var t=n(this,"object");if(!(t instanceof HTMLInputElement)||"checkbox"!==t.type&&"radio"!==t.type)throw new TypeError(i(t)+" is not a checkbox or radio input");this.assert(t.checked,"expected "+i(t)+" to be checked","expected "+i(t)+" to not be checked")}}))}));var A=S;var D={};!function(t,e){!function(e){t.exports=e}((function(t,e){var n,i,o,r=Array.prototype.slice;function a(t){return"function"==typeof t&&"function"==typeof t.getCall&&"function"==typeof t.calledWithExactly}function s(t){switch(t){case 1:return"once";case 2:return"twice";case 3:return"thrice";default:return(t||0)+" times"}}function c(t){if(!a(t._obj)&&(!(n=t._obj)||!a(n.proxy)))throw new TypeError(e.inspect(t._obj)+" is not a spy or a call to a spy!");var n}function u(t,e,n,i,o){var r=i?"always have ":"have ";function s(e){return t.printf.apply(t,e)}return n=n||"",a(t.proxy)&&(t=t.proxy),{affirmative:function(){return s(["expected %n to "+r+e+n].concat(o))},negative:function(){return s(["expected %n to not "+r+e].concat(o))}}}function f(n,i,o){e.addProperty(t.Assertion.prototype,n,(function(){c(this);var t=u(this._obj,i,o,!1);this.assert(this._obj[n],t.affirmative,t.negative)}))}function h(t,n,i){return function(){c(this);var o="always"+t[0].toUpperCase()+t.substring(1),a=e.flag(this,"always")&&"function"==typeof this._obj[o],s=a?o:t,f=u(this._obj,n,i,a,r.call(arguments));this.assert(this._obj[s].apply(this._obj,arguments),f.affirmative,f.negative)}}function l(n,i,o,r){var a=h(i,o,r);e.addMethod(t.Assertion.prototype,n,a)}function d(t,e,n){l(t,t,e,n)}e.addProperty(t.Assertion.prototype,"always",(function(){e.flag(this,"always",!0)})),f("called","been called"," at least once, but it was never called"),n="callCount",i="been called exactly %1",o=", but it was called %c%C",e.addMethod(t.Assertion.prototype,n,(function(t){c(this);var e=u(this._obj,i,o,!1,[s(t)]);this.assert(this._obj[n]===t,e.affirmative,e.negative)})),f("calledOnce","been called exactly once",", but it was called %c%C"),f("calledTwice","been called exactly twice",", but it was called %c%C"),f("calledThrice","been called exactly thrice",", but it was called %c%C"),function(n,i,o){var r=h(n,i,o);e.addProperty(t.Assertion.prototype,n,r)}("calledWithNew","been called with new"),d("calledBefore","been called before %1"),d("calledAfter","been called after %1"),d("calledImmediatelyBefore","been called immediately before %1"),d("calledImmediatelyAfter","been called immediately after %1"),d("calledOn","been called with %1 as this",", but it was called with %t instead"),d("calledWith","been called with arguments %*","%D"),d("calledOnceWith","been called exactly once with arguments %*","%D"),d("calledWithExactly","been called with exact arguments %*","%D"),d("calledOnceWithExactly","been called exactly once with exact arguments %*","%D"),d("calledWithMatch","been called with arguments matching %*","%D"),d("returned","returned %1"),l("thrown","threw","thrown %1")}))}({get exports(){return D},set exports(t){D=t}});var T=D;function q(t,e){return new Promise((n=>{t.addEventListener(e,(function i(o){n(o),t.removeEventListener(e,i)}))}))}s.use(((t,e)=>{t.Assertion.addProperty("lightDom",(function(){new t.Assertion(this._obj.nodeType).to.equal(1),e.flag(this,"lightDom",!0)})),t.Assertion.addProperty("shadowDom",(function(){new t.Assertion(this._obj.nodeType).to.equal(1),e.flag(this,"shadowDom",!0)})),t.Assertion.addProperty("dom",(function(){new t.Assertion(this._obj.nodeType).to.equal(1),e.flag(this,"dom",!0)}));const n=t=>(t=>{if(window.ShadyCSS&&!1===window.ShadyCSS.nativeShadow){const e=t.tagName.toLowerCase();let n=" ";return Array.prototype.slice.call(t.attributes).forEach((t=>{n+=`${t.name}="${t.value}" `})),n=n.slice(0,-1),`<${e}${n}>${t.innerHTML}</${e}>`}return t.outerHTML})(t),i=t=>t.innerHTML,o=t=>(t=>{if(window.ShadyCSS&&!1===window.ShadyCSS.nativeShadow){const e=t.tagName.toLowerCase(),n=new RegExp(e,"g");let i=t.shadowRoot.innerHTML;return i=i.replace(/style-scope/g,""),i=i.replace(n,""),i=i.replace(/(class=".*?)(\s)*"/g,'$1"'),i=i.replace(/ class="\w?"/g,""),i}return t.shadowRoot.innerHTML})(t),r=(e,n,i,...o)=>{const{message:r,options:a}=j(...o),s=new t.Assertion(l(e,a),r),c=l(n,a);i?s.not.equal(c,r):s.equal(c,r)},a=t=>function(a,...s){if(e.flag(this,"lightDom")||e.flag(this,"shadowDom")||e.flag(this,"dom")){let t;t=e.flag(this,"lightDom")?i(this._obj):e.flag(this,"shadowDom")?o(this._obj):n(this._obj),r(t,a,e.flag(this,"negate"),s[0])}else t.apply(this,[a,...s])};function s(e,n,...i){const o=window.__mocha_context__,r=window.__snapshot__,{message:a,options:s}=j(...i),{index:c}=o;o.index+=1;const u=x(o.runnable),f=l(e,s);if(r.update)r.set(u,c,f,"html");else{const e=r.get(u,c);if(e){const i=r.match(f,l(e.code,s));if(i&&n||!i&&!n)throw new t.AssertionError(a||`Received value does not match stored snapshot ${c}`,{actual:f,expected:e.code,showDiff:!0},t.util.flag(this,"ssfi"))}else r.set(u,c,f,"html")}}async function c(e,n,...i){const{message:o,options:r}=j(...i),a=x(window.__WTR_MOCHA_RUNNER__.test).join(" "),s=l(e,r),c=await async function(t){if(!p(t))throw new Error("You must provide a payload object");if("string"!=typeof t.name)throw new Error("You must provide a snapshot name");return(await y(t))[t.name]}({name:a}),u=await async function(){return b||(b=await w("get-snapshot-config",void 0,"snapshotPlugin from @web/test-runner-commands")),b}();if(c&&!u.updateSnapshots){if(n?c===s:c!==s)throw new t.AssertionError(o||`Snapshot ${a} does not match the saved snapshot on disk`,{actual:s,expected:c,showDiff:!0},t.util.flag(this,"ssfi"))}else c!==s&&await async function(t){if(!p(t))throw new Error("You must provide a payload object");if("string"!=typeof t.name)throw new Error("You must provide a snapshot name");if(void 0!==t.content&&"string"!=typeof t.content)throw new Error("You must provide a snapshot content");return(await y())[t.name]=t.content,w("save-snapshot",t,"snapshotPlugin from @web/test-runner-commands")}({name:a,content:s})}function u(t,e,...n){if(window.__mocha_context__&&window.__snapshot__)return s.call(this,t,e,...n);if(window.__WTR_MOCHA_RUNNER__)return c.call(this,t,e,...n);throw new Error("Could not detect test runner environment. Snapshots require either Web Test Runner with mocha, or Karma with mocha and karma mocha snapshot")}function f(n){const r=t.util.flag(this,"object");let a;return a=e.flag(this,"shadowDom")?o(r):e.flag(this,"lightDom")?i(r):r,u.call(this,a,e.flag(this,"negate"),n)}t.Assertion.overwriteMethod("equals",a),t.Assertion.overwriteMethod("equal",a),t.Assertion.overwriteMethod("eq",a),e.addMethod(t.Assertion.prototype,"equalSnapshot",f),e.addMethod(t.Assertion.prototype,"notEqualSnapshot",f),e.addMethod(t.assert,"equalSnapshot",u),e.addMethod(t.assert,"notEqualSnapshot",u),t.assert.dom={equal(t,e,...i){return r.call(this,n(t),e,!1,...i)},notEqual(t,e,...i){return r.call(this,n(t),e,!0,...i)},equalSnapshot(t,...e){return u.call(this,t,!1,...e)},notEqualSnapshot(t,...e){return u.call(this,t,!0,...e)}},t.assert.lightDom={equal(t,e,...n){return r.call(this,i(t),e,!1,...n)},notEqual(t,e,...n){return r.call(this,i(t),e,!0,...n)},equalSnapshot(t,...e){return u.call(this,i(t),!1,...e)},notEqualSnapshot(t,...e){return u.call(this,i(t),!0,...e)}},t.assert.shadowDom={equal(t,e,...n){return r.call(this,o(t),e,!1,...n)},notEqual(t,e,...n){return r.call(this,o(t),e,!0,...n)},equalSnapshot(t,...e){return u.call(this,o(t),!1,...e)},notEqualSnapshot(t,...e){return u.call(this,o(t),!0,...e)}}})),s.use(((t,e)=>{const{assert:n}=t;e.addMethod(t.Assertion.prototype,"accessible",(function(t){const n=this._obj,i=t||{},o=function(t){if(!t||!t.length)return;const e={};return t.forEach((t=>{e[t]={enabled:!1}})),e}(i.ignoredRules),r={resultTypes:["violations"]};o&&(r.rules=o);let a=i.done?i.done:void 0;if(a||(a=()=>{}),i.ignoredTags){n.parentNode.querySelectorAll(i.ignoredTags.toString()).forEach((t=>t.setAttribute("aria-hidden",!0)))}const s=k(n,r).then((t=>function(t,e,n){const{violations:i}=e;if(i.length&&t)return void n();if(!i.length&&!t)return void n();const o=[];i.length&&(o[o.length]="Accessibility Violations",o[o.length]="---",i.forEach((t=>{o[o.length]=`Rule: ${t.id}`,o[o.length]=`Impact: ${t.impact}`,o[o.length]=`${t.help} (${t.helpUrl})`,t.nodes.forEach((t=>{o[o.length]="",t.target&&(o[o.length]=`Issue target: ${t.target}`),o[o.length]=`Context: ${t.html}`,t.failureSummary&&(o[o.length]=`${t.failureSummary}`)})),o[o.length]="---"})));const r=new Error(o.join("\n"));throw n(r),r}(e.flag(this,"negate"),t,a)));return this.then=s.then.bind(s),this})),n.isAccessible=function(e,n){return new t.Assertion(e).to.be.accessible(n)},n.isNotAccessible=function(e,n){return new t.Assertion(e).not.to.be.accessible(n)}})),s.use(A),s.use(T);const M=t=>"object"==typeof t&&Promise.resolve(t)===t;async function $(t){let e=!1,n=t&&t.updateComplete;return M(n)&&(await n,e=!0),n=!(!t||!t.componentOnReady)&&t.componentOnReady(),M(n)&&(await n,e=!0),e||await new Promise((t=>{requestAnimationFrame((()=>t()))})),window.ShadyDOM&&"function"==typeof window.ShadyDOM.flush&&window.ShadyDOM.flush(),t}const P=[];function N(t=document.createElement("div")){return document.body.appendChild(t),P.push(t),t}function F(){P&&P.forEach((t=>{document.body.removeChild(t)})),P.length=0}const L=t=>null!=t&&"function"==typeof t[Symbol.iterator];function C(t){return o(t)||t instanceof Node||"number"==typeof t||"boolean"==typeof t||"string"==typeof t}const R=Object.freeze({ELEMENT_NODE:1,TEXT_NODE:3,COMMENT_NODE:8,DOCUMENT_FRAGMENT_NODE:11}),_=({nodeType:t,textContent:e})=>{switch(t){case R.COMMENT_NODE:return!1;case R.TEXT_NODE:return e.trim();default:return!0}};async function I(t,e={}){const n=function(t,e={},n){const r=N(e.parentNode);if((e.render??i)(e.scopedElements?n(t,e.scopedElements):t,r),o(t))return r.firstElementChild;const[a]=Array.from(r.childNodes).filter(_);return a}(t,e,e.scopedElements?await import("../scopedElementsWrapper-4c29be11.esm.js").then((t=>t.getScopedElementsTemplate)):void 0);if(await $(n),e.scopedElements){const[t]=Array.from(n.shadowRoot.childNodes).filter(_);return await $(t),t}return n}async function U(t,i={}){if(i.scopedElements)return I(e`${n(t)}`,i);const o=function(t,e={}){const n=N(e.parentNode);return n.innerHTML=t,n.children[0]}(t,i);return await $(o),o}async function W(t,e){if("string"==typeof t)return U(t,e);if(e?.render||(L(n=t)?[...n].every(C):C(n)))return I(t,e);var n;throw new Error("Invalid template provided - string or lit-html TemplateResult is supported")}try{"afterEach"in window&&afterEach((()=>{F()})),"teardown"in window&&teardown((()=>{F()}))}catch(t){}describe("NileCheckbox",(()=>{it("renders correctly with default properties",(async()=>{const e=await W(t`<nile-checkbox></nile-checkbox>`);c(e).shadowDom.to.equalSnapshot()})),it("toggles checked state on click",(async()=>{const e=await W(t`<nile-checkbox></nile-checkbox>`),n=e.shadowRoot.querySelector('input[type="checkbox"]');n.click(),c(e.checked).to.be.true,n.click(),c(e.checked).to.be.false})),it("emits nile-change event on click",(async()=>{const e=await W(t`<nile-checkbox></nile-checkbox>`),n=e.shadowRoot.querySelector('input[type="checkbox"]');setTimeout((()=>n.click()));const i=await q(e,"valueChange");c(i.detail.checked).to.be.true})),it("handles focus and blur events",(async()=>{const e=await W(t`<nile-checkbox></nile-checkbox>`),n=e.shadowRoot.querySelector('input[type="checkbox"]');setTimeout((()=>n.focus()));const i=await q(e,"focus");c(i).to.exist,setTimeout((()=>n.blur()));const o=await q(e,"blur");c(o).to.exist})),it("handles indeterminate state",(async()=>{const e=await W(t`<nile-checkbox indeterminate></nile-checkbox>`),n=e.shadowRoot.querySelector('input[type="checkbox"]');c(n.indeterminate).to.be.true,e.checked=!0,e.indeterminate=!1,await e.updateComplete,c(n.indeterminate).to.be.false,c(n.checked).to.be.true})),it("reflects properties to attributes",(async()=>{const e=await W(t`
569
+ */function w(t){var e=[];for(var n in t)e.push(n);return e}function b(t){return null===t||"object"!=typeof t}e.exports=c,e.exports.MemoizeMap=r},{"type-detect":39}],37:[function(t,e,n){var i=Function.prototype.toString,o=/\s*function(?:\s|\s*\/\*[^(?:*\/)]+\*\/\s*)*([^\s\(\/]+)/;e.exports=function(t){if("function"!=typeof t)return null;var e="";if(void 0===Function.prototype.name&&void 0===t.name){var n=i.call(t).match(o);n&&(e=n[1])}else e=t.name;return e}},{}],38:[function(t,e,n){function i(t,e){return null!=t&&e in Object(t)}function o(t){return t.replace(/([^\\])\[/g,"$1.[").match(/(\\\.|[^.]+?)+/g).map((function(t){if("constructor"===t||"__proto__"===t||"prototype"===t)return{};var e=/^\[(\d+)\]$/.exec(t);return e?{i:parseFloat(e[1])}:{p:t.replace(/\\([.[\]])/g,"$1")}}))}function r(t,e,n){var i=t,o=null;n=void 0===n?e.length:n;for(var r=0;r<n;r++){var a=e[r];i&&(i=void 0===a.p?i[a.i]:i[a.p],r===n-1&&(o=i))}return o}function a(t,e){var n=o(e),a=n[n.length-1],s={parent:n.length>1?r(t,n,n.length-1):t,name:a.p||a.i,value:r(t,n)};return s.exists=i(s.parent,s.name),s}e.exports={hasProperty:i,getPathInfo:a,getPathValue:function(t,e){return a(t,e).value},setPathValue:function(t,e,n){return function(t,e,n){for(var i=t,o=n.length,r=null,a=0;a<o;a++){var s=null,c=null;if(r=n[a],a===o-1)i[s=void 0===r.p?r.i:r.p]=e;else if(void 0!==r.p&&i[r.p])i=i[r.p];else if(void 0!==r.i&&i[r.i])i=i[r.i];else{var u=n[a+1];s=void 0===r.p?r.i:r.p,c=void 0===u.p?[]:{},i[s]=c,i=i[s]}}}(t,n,o(e)),t}}},{}],39:[function(t,e,n){!function(t,i){"object"==typeof n&&void 0!==e?e.exports=i():t.typeDetect=i()}(this,(function(){var t="function"==typeof Promise,e="object"==typeof self?self:r,n="undefined"!=typeof Symbol,i="undefined"!=typeof Map,o="undefined"!=typeof Set,a="undefined"!=typeof WeakMap,s="undefined"!=typeof WeakSet,c="undefined"!=typeof DataView,u=n&&void 0!==Symbol.iterator,f=n&&void 0!==Symbol.toStringTag,h=o&&"function"==typeof Set.prototype.entries,l=i&&"function"==typeof Map.prototype.entries,d=h&&Object.getPrototypeOf((new Set).entries()),p=l&&Object.getPrototypeOf((new Map).entries()),w=u&&"function"==typeof Array.prototype[Symbol.iterator],b=w&&Object.getPrototypeOf([][Symbol.iterator]()),m=u&&"function"==typeof String.prototype[Symbol.iterator],v=m&&Object.getPrototypeOf(""[Symbol.iterator]());return function(n){var r=typeof n;if("object"!==r)return r;if(null===n)return"null";if(n===e)return"global";if(Array.isArray(n)&&(!1===f||!(Symbol.toStringTag in n)))return"Array";if("object"==typeof window&&null!==window){if("object"==typeof window.location&&n===window.location)return"Location";if("object"==typeof window.document&&n===window.document)return"Document";if("object"==typeof window.navigator){if("object"==typeof window.navigator.mimeTypes&&n===window.navigator.mimeTypes)return"MimeTypeArray";if("object"==typeof window.navigator.plugins&&n===window.navigator.plugins)return"PluginArray"}if(("function"==typeof window.HTMLElement||"object"==typeof window.HTMLElement)&&n instanceof window.HTMLElement){if("BLOCKQUOTE"===n.tagName)return"HTMLQuoteElement";if("TD"===n.tagName)return"HTMLTableDataCellElement";if("TH"===n.tagName)return"HTMLTableHeaderCellElement"}}var u=f&&n[Symbol.toStringTag];if("string"==typeof u)return u;var h=Object.getPrototypeOf(n);return h===RegExp.prototype?"RegExp":h===Date.prototype?"Date":t&&h===Promise.prototype?"Promise":o&&h===Set.prototype?"Set":i&&h===Map.prototype?"Map":s&&h===WeakSet.prototype?"WeakSet":a&&h===WeakMap.prototype?"WeakMap":c&&h===DataView.prototype?"DataView":i&&h===p?"Map Iterator":o&&h===d?"Set Iterator":w&&h===b?"Array Iterator":m&&h===v?"String Iterator":null===h?"Object":Object.prototype.toString.call(n).slice(8,-1)}}))},{}]},{},[1])(1);s.version,s.AssertionError,s.use,s.util,s.config,s.Assertion;var c=s.expect;s.should,s.Should,s.assert;const u=["script","style","svg"],f=["class","id"],h=["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"];function l(t,e={}){const n=e.ignoreAttributes?e.ignoreAttributes.filter((t=>"string"==typeof t)):[],i=e.ignoreAttributes?e.ignoreAttributes.filter((t=>"string"!=typeof t)):[],o=[...e.ignoreTags||[],...u],r=e.ignoreChildren||[],a=e.stripEmptyAttributes||f,s=/(&|")/g,c=t=>"&"===t?"&amp;":"&quot;";let l="",d=-1;const p=new Set,w=new Set;function b(){return" ".repeat(d)}function m(t){return t instanceof Element?t.getAttribute("data-tag-name")||t.localName:t.nodeName.toLowerCase()}function v(t){const e=m(t);return!o.includes(e)&&!r.includes(e)&&!p.has(t)}function g({name:t,value:e}){return a.includes(t)&&""===e.trim()}function x(t,{name:e,value:n}){return g({name:e,value:n})?"":"class"===e?` class="${function(t){return[...t.classList.values()].sort().join(" ")}(t)}"`:` ${e}="${n.replace(s,c)}"`}const y=(t,e)=>t.name.localeCompare(e.name);function j(t){let e="";const o=Array.from(t.attributes).filter((r=function(t){return function(e){return!(!n.includes(e.name)&&!g(e)&&!i.find((n=>{if(!n.tags||!n.attributes)throw new Error("An object entry to ignoreAttributes should contain a 'tags' and an 'attributes' property.");return n.tags.includes(m(t))&&n.attributes.includes(e.name)})))}}(t),(...t)=>!r(...t))).sort(y);var r;if(1===o.length)e=x(t,o[0]);else if(o.length>1){for(let n=0;n<o.length;n+=1)e+=`\n${b()} ${x(t,o[n])}`;e+=`\n${b()}`}return e}function k(t,e){var n;if("diff-container"!==m(t)&&!o.includes(m(t))&&!w.has(t))if(w.add(t),t instanceof Text)!function(t,e){let n="",i=t;for(;i&&i instanceof Text;)n+=i.nodeValue,i=e.nextSibling();i&&e.previousSibling(),n=n.trim(),""!==n&&(l+=`${b()}${n}\n`)}(t,e);else{if(!(t instanceof Element))throw new Error(`Unknown node type: ${t}`);n=t,l+=`${b()}<${m(n)}${j(n)}>\n`}}function E(t){var e;o.includes(m(t))||t instanceof Element&&("diff-container"===m(e=t)||h.includes(m(e))||(l+=`${b()}</${m(e)}>\n`))}let O;if("string"==typeof t)O=document.createElement("diff-container"),O.innerHTML=t,d=-1;else{if(!(t instanceof Node))throw new Error(`Cannot create diffable HTML from: ${t}`);O=t,d=0}const S=document.createTreeWalker(O,NodeFilter.SHOW_TEXT+NodeFilter.SHOW_ELEMENT,null,!1);for(;S.currentNode;){const t=S.currentNode;if(k(t,S),v(t)&&S.firstChild())d+=1;else{E(t);if(!S.nextSibling()){d-=1;const t=S.parentNode();if(!t)break;p.add(t)}}}return l}const d=new URL(window.location.href).searchParams.get("wtr-session-id");function p(t){return null!=t&&"object"==typeof t}async function w(t,e,n){if("string"!=typeof d)throw new Error("Unable to execute server commands in a browser not controlled by the test runner. Use the debug option from the watch menu to debug in a controlled browser.");let i;try{const t=await import("../../../../../../../../../__web-dev-server__web-socket.js");({sendMessageWaitForResponse:i}=t)}catch(t){throw new Error("Could not setup web socket connection. Are you executing this test through Web Test Runner?")}try{const o=await i({type:"wtr-command",sessionId:d,command:t,payload:e});if(!o.executed){let e;throw e=n?`Unknown command ${t}. Add the ${n} to your config.`:`Unknown command ${t}. Did you install a plugin to handle this command?`,new Error(e)}return o.result}catch(n){throw new Error(`Error while executing command ${t}${e?` with payload ${JSON.stringify(e)}`:""}: ${n.message}`)}}let b,m;const v=/snapshots\[[^\]]+] = (\n)?(?<content>`[^`]*`)/gm,g=t=>([...t.matchAll(v)].forEach((({groups:{content:e}})=>{t=t.replaceAll(e,encodeURIComponent(e))})),t);async function x({cache:t=!0}={}){if(t&&m)return m;const e=await w("get-snapshots",void 0,"snapshotPlugin from @web/test-runner-commands");if("string"!=typeof e?.content)throw new Error("Expected a result as string");const n=`${g(e.content)}/* ${Math.random()} */`,i=await import(`data:text/javascript;charset=utf-8,${n}`);if(!i||!p(i.snapshots))throw new Error("Expected snapshot result to be a module that exports an object.");return m=i.snapshots,m}function y(t){const e=[];let n;for(n="hook"===t.type?t.ctx.currentTest:t;n&&n.parent;)n.title&&e.push(n.title),n=n.parent;return e.reverse()}function j(...t){switch(t.length){case 2:{const[e,n]=t;return{message:e,options:n}}case 1:{const[n]=t;return(e=n)&&null!==e&&"object"==typeof e&&("ignoreAttributes"in e||"ignoreTags"in e||"ignoreChildren"in e||"stripEmptyAttributes"in e)?{options:n}:{message:n}}default:return{}}var e}let k;async function E(t,e){return k||await async function(){if(window.axe)k=window.axe;else if("function"!=typeof require){if(await import("../axe.min-c4141dd6.esm.js"),!window.axe)throw new Error("Error importing axe-core/axe.min.js, are you using a bundler or build tool that doesnt handle es modules?");k=window.axe}else k=require("axe-core/axe.min.js")}(),new Promise(((n,i)=>{k.run(t,e,((t,e)=>{t?i(new Error(t)):n(e)}))}))}var O,S={};O={get exports(){return S},set exports(t){S=t}},function(t){O.exports=t}((function(t,e){var n=e.flag,i=function(t){var e;return a(t)?0===t.length?"empty NodeList":(e=Array.prototype.slice.call(t,0,5).map(i).join(", "),t.length>5?e+"... (+"+(t.length-5)+" more)":e):r(t)?(e=t.tagName.toLowerCase(),t.id&&(e+="#"+t.id),t.className&&(e+="."+String(t.className).replace(/\s+/g,".")),Array.prototype.forEach.call(t.attributes,(function(t){"class"!==t.name&&"id"!==t.name&&(e+="["+t.name+(t.value?'="'+t.value+'"]':"]"))})),e):String(t)},o=function(t,o){var r=n(this,"object"),a=r.getAttribute(t);n(this,"negate")&&void 0!==o||this.assert(!!r.attributes[t],"expected "+i(r)+" to have an attribute #{exp}","expected "+i(r)+" not to have an attribute #{exp}",t),void 0!==o&&this.assert(o===a,"expected "+i(r)+" to have an attribute "+e.inspect(t)+" with the value #{exp}, but the value was #{act}","expected "+i(r)+" not to have an attribute "+e.inspect(t)+" with the value #{act}",o,a),n(this,"object",a)},r=function(t){return 1===t.nodeType},a=function(t){return"[object NodeList]"===Object.prototype.toString.call(t)};e.elToString=i,t.Assertion.addMethod("attr",o),t.Assertion.addMethod("attribute",o),t.Assertion.addMethod("class",(function(t){var e=n(this,"object");if(t instanceof RegExp)return this.assert(Array.from(e.classList).some((function(e){return t.test(e)})),"expected "+i(e)+" to have class matching #{exp}","expected "+i(e)+" not to have class matching #{exp}",t);this.assert(e.classList.contains(t),"expected "+i(e)+" to have class #{exp}","expected "+i(e)+" not to have class #{exp}",t)})),t.Assertion.addMethod("id",(function(t){var e=n(this,"object");this.assert(e.id==t,"expected "+i(e)+" to have id #{exp}","expected "+i(e)+" not to have id #{exp}",t)})),t.Assertion.addMethod("html",(function(t){var e=n(this,"object"),o=n(this,"object").innerHTML;n(this,"contains")?this.assert(o.indexOf(t)>=0,"expected #{act} to contain HTML #{exp}","expected #{act} not to contain HTML #{exp}",t,o):this.assert(o===t,"expected "+i(e)+" to have HTML #{exp}, but the HTML was #{act}","expected "+i(e)+" not to have HTML #{exp}",t,o)})),t.Assertion.addChainableMethod("trimmed",null,(function(){n(this,"trim-text",!0)})),t.Assertion.addProperty("rendered",(function(){n(this,"rendered-text",!0)})),t.Assertion.addMethod("text",(function(t){var o,r,s=n(this,"object"),c=n(this,"contains"),u=n(this,"trim-text"),f=n(this,"rendered-text")?"innerText":"textContent";a(s)?(o=Array.prototype.map.call(s,(function(t){return u?t[f].trim():t[f]})),Array.isArray(t)?(r=c?t[n(this,"negate")?"some":"every"]((function(t){return Array.prototype.some.call(s,(function(e){return(u?e[f].trim():e[f])===t}))})):e.eql(o,t),o=o.join(),t=t.join()):(o=o.join(""),r=c?o.indexOf(t)>=0:o===t)):(o=u?s[f].trim():s[f],r=c?o.indexOf(t)>=0:o===t);var h=i(s),l="";u&&(l+="trimmed "),n(this,"rendered-text")&&(l+="rendered "),l+="text",c?this.assert(r,"expected "+h+" to contain #{exp}, but the "+l+" was #{act}","expected "+h+" not to contain #{exp}, but the "+l+" was #{act}",t,o):this.assert(r,"expected "+h+" to have "+l+" #{exp}, but the "+l+" was #{act}","expected "+h+" not to have "+l+" #{exp}",t,o)})),t.Assertion.addMethod("value",(function(t){var e=n(this,"object"),o=n(this,"object").value;this.assert(n(this,"object").value===t,"expected "+i(e)+" to have value #{exp}, but the value was #{act}","expected "+i(e)+" not to have value #{exp}",t,o)})),t.Assertion.overwriteProperty("exist",(function(t){return function(){var e=n(this,"object");a(e)?this.assert(e.length>0,"expected an empty NodeList to have nodes","expected "+i(e)+" to not exist"):t.apply(this,arguments)}})),t.Assertion.overwriteProperty("empty",(function(t){return function(){var e=n(this,"object");r(e)?this.assert(0===e.children.length,"expected "+i(e)+" to be empty","expected "+i(e)+" to not be empty"):a(e)?this.assert(0===e.length,"expected "+i(e)+" to be empty","expected "+i(e)+" to not be empty"):t.apply(this,arguments)}})),t.Assertion.overwriteChainableMethod("length",(function(t){return function(e){var o=n(this,"object");if(a(o)||r(o)){var s=o.children?o.children.length:o.length;this.assert(s===e,"expected "+i(o)+" to have #{exp} children but it had #{act} children","expected "+i(o)+" to not have #{exp} children",e,s)}else t.apply(this,arguments)}}),(function(t){return function(){t.call(this)}})),t.Assertion.overwriteMethod("match",(function(t){return function(e){var o=n(this,"object");r(o)?this.assert(o.matches(e),"expected "+i(o)+" to match #{exp}","expected "+i(o)+" to not match #{exp}",e):a(o)?this.assert(!!o.length&&Array.prototype.every.call(o,(function(t){return t.matches(e)})),"expected "+i(o)+" to match #{exp}","expected "+i(o)+" to not match #{exp}",e):t.apply(this,arguments)}})),t.Assertion.overwriteChainableMethod("contain",(function(t){return function(e){var o=n(this,"object");r(o)?"string"==typeof e?this.assert(!!o.querySelector(e),"expected "+i(o)+" to contain #{exp}","expected "+i(o)+" to not contain #{exp}",e):this.assert(o.contains(e),"expected "+i(o)+" to contain "+i(e),"expected "+i(o)+" to not contain "+i(e)):t.apply(this,arguments)}}),(function(t){return function(){t.call(this)}})),t.Assertion.addMethod("descendant",(function(t){var e=n(this,"object"),o=t;"string"==typeof t?(o=e.querySelector(t),this.assert(!!o,"expected "+i(e)+" to have descendant #{exp}","expected "+i(e)+" to not have descendant #{exp}",t)):this.assert(e.contains(t),"expected "+i(e)+" to contain "+i(t),"expected "+i(e)+" to not contain "+i(t)),n(this,"object",o)})),t.Assertion.addMethod("descendants",(function(t){var e=n(this,"object"),o=e.querySelectorAll(t);this.assert(!!o.length,"expected "+i(e)+" to have descendants #{exp}","expected "+i(e)+" to not have descendants #{exp}",t),n(this,"object",o)})),t.Assertion.addProperty("displayed",(function(){var t=n(this,"object"),e=document.body.contains(t)?window.getComputedStyle(t).display:t.style.display;this.assert("none"!==e,"expected "+i(t)+" to be displayed, but it was not","expected "+i(t)+" to not be displayed, but it was as "+e,e)})),t.Assertion.addProperty("visible",(function(){var t=n(this,"object"),e=document.body.contains(t)?window.getComputedStyle(t).visibility:t.style.visibility;this.assert("hidden"!==e&&"collapse"!==e,"expected "+i(t)+" to be visible, but it was "+("hidden"===e?"hidden":"collapsed"),"expected "+i(t)+" to not be visible, but it was",e)})),t.Assertion.addMethod("tagName",(function(t){var e=n(this,"object"),o=e.tagName;this.assert(o.toUpperCase()===t.toUpperCase(),"expected "+i(e)+" to have tagName "+t+", but it was "+o,"expected "+i(e)+" to not have tagName "+t+", but it was "+o,o)})),t.Assertion.addMethod("style",(function(t,e){var o=n(this,"object"),r=window.getComputedStyle(o).getPropertyValue(t).trim();this.assert(r===e,"expected "+i(o)+" to have style property "+t+" equal to "+e+", but it was equal to "+r,"expected "+i(o)+" to not have style property "+t+" equal to "+e+", but it was equal to "+r,r)})),t.Assertion.overwriteProperty("focus",(function(){return function(){var t=n(this,"object"),e=t.ownerDocument.activeElement;this.assert(t===t.ownerDocument.activeElement,"expected #{this} to have focus","expected #{this} not to have focus",t,e)}})),t.Assertion.overwriteProperty("checked",(function(){return function(){var t=n(this,"object");if(!(t instanceof HTMLInputElement)||"checkbox"!==t.type&&"radio"!==t.type)throw new TypeError(i(t)+" is not a checkbox or radio input");this.assert(t.checked,"expected "+i(t)+" to be checked","expected "+i(t)+" to not be checked")}}))}));var A=S;var D={};!function(t,e){!function(e){t.exports=e}((function(t,e){var n,i,o,r=Array.prototype.slice;function a(t){return"function"==typeof t&&"function"==typeof t.getCall&&"function"==typeof t.calledWithExactly}function s(t){switch(t){case 1:return"once";case 2:return"twice";case 3:return"thrice";default:return(t||0)+" times"}}function c(t){if(!a(t._obj)&&(!(n=t._obj)||!a(n.proxy)))throw new TypeError(e.inspect(t._obj)+" is not a spy or a call to a spy!");var n}function u(t,e,n,i,o){var r=i?"always have ":"have ";function s(e){return t.printf.apply(t,e)}return n=n||"",a(t.proxy)&&(t=t.proxy),{affirmative:function(){return s(["expected %n to "+r+e+n].concat(o))},negative:function(){return s(["expected %n to not "+r+e].concat(o))}}}function f(n,i,o){e.addProperty(t.Assertion.prototype,n,(function(){c(this);var t=u(this._obj,i,o,!1);this.assert(this._obj[n],t.affirmative,t.negative)}))}function h(t,n,i){return function(){c(this);var o="always"+t[0].toUpperCase()+t.substring(1),a=e.flag(this,"always")&&"function"==typeof this._obj[o],s=a?o:t,f=u(this._obj,n,i,a,r.call(arguments));this.assert(this._obj[s].apply(this._obj,arguments),f.affirmative,f.negative)}}function l(n,i,o,r){var a=h(i,o,r);e.addMethod(t.Assertion.prototype,n,a)}function d(t,e,n){l(t,t,e,n)}e.addProperty(t.Assertion.prototype,"always",(function(){e.flag(this,"always",!0)})),f("called","been called"," at least once, but it was never called"),n="callCount",i="been called exactly %1",o=", but it was called %c%C",e.addMethod(t.Assertion.prototype,n,(function(t){c(this);var e=u(this._obj,i,o,!1,[s(t)]);this.assert(this._obj[n]===t,e.affirmative,e.negative)})),f("calledOnce","been called exactly once",", but it was called %c%C"),f("calledTwice","been called exactly twice",", but it was called %c%C"),f("calledThrice","been called exactly thrice",", but it was called %c%C"),function(n,i,o){var r=h(n,i,o);e.addProperty(t.Assertion.prototype,n,r)}("calledWithNew","been called with new"),d("calledBefore","been called before %1"),d("calledAfter","been called after %1"),d("calledImmediatelyBefore","been called immediately before %1"),d("calledImmediatelyAfter","been called immediately after %1"),d("calledOn","been called with %1 as this",", but it was called with %t instead"),d("calledWith","been called with arguments %*","%D"),d("calledOnceWith","been called exactly once with arguments %*","%D"),d("calledWithExactly","been called with exact arguments %*","%D"),d("calledOnceWithExactly","been called exactly once with exact arguments %*","%D"),d("calledWithMatch","been called with arguments matching %*","%D"),d("returned","returned %1"),l("thrown","threw","thrown %1")}))}({get exports(){return D},set exports(t){D=t}});var T=D;function q(t,e){return new Promise((n=>{t.addEventListener(e,(function i(o){n(o),t.removeEventListener(e,i)}))}))}s.use(((t,e)=>{t.Assertion.addProperty("lightDom",(function(){new t.Assertion(this._obj.nodeType).to.equal(1),e.flag(this,"lightDom",!0)})),t.Assertion.addProperty("shadowDom",(function(){new t.Assertion(this._obj.nodeType).to.equal(1),e.flag(this,"shadowDom",!0)})),t.Assertion.addProperty("dom",(function(){new t.Assertion(this._obj.nodeType).to.equal(1),e.flag(this,"dom",!0)}));const n=t=>(t=>{if(window.ShadyCSS&&!1===window.ShadyCSS.nativeShadow){const e=t.tagName.toLowerCase();let n=" ";return Array.prototype.slice.call(t.attributes).forEach((t=>{n+=`${t.name}="${t.value}" `})),n=n.slice(0,-1),`<${e}${n}>${t.innerHTML}</${e}>`}return t.outerHTML})(t),i=t=>t.innerHTML,o=t=>(t=>{if(window.ShadyCSS&&!1===window.ShadyCSS.nativeShadow){const e=t.tagName.toLowerCase(),n=new RegExp(e,"g");let i=t.shadowRoot.innerHTML;return i=i.replace(/style-scope/g,""),i=i.replace(n,""),i=i.replace(/(class=".*?)(\s)*"/g,'$1"'),i=i.replace(/ class="\w?"/g,""),i}return t.shadowRoot.innerHTML})(t),r=(e,n,i,...o)=>{const{message:r,options:a}=j(...o),s=new t.Assertion(l(e,a),r),c=l(n,a);i?s.not.equal(c,r):s.equal(c,r)},a=t=>function(a,...s){if(e.flag(this,"lightDom")||e.flag(this,"shadowDom")||e.flag(this,"dom")){let t;t=e.flag(this,"lightDom")?i(this._obj):e.flag(this,"shadowDom")?o(this._obj):n(this._obj),r(t,a,e.flag(this,"negate"),s[0])}else t.apply(this,[a,...s])};function s(e,n,...i){const o=window.__mocha_context__,r=window.__snapshot__,{message:a,options:s}=j(...i),{index:c}=o;o.index+=1;const u=y(o.runnable),f=l(e,s);if(r.update)r.set(u,c,f,"html");else{const e=r.get(u,c);if(e){const i=r.match(f,l(e.code,s));if(i&&n||!i&&!n)throw new t.AssertionError(a||`Received value does not match stored snapshot ${c}`,{actual:f,expected:e.code,showDiff:!0},t.util.flag(this,"ssfi"))}else r.set(u,c,f,"html")}}async function c(e,n,...i){const{message:o,options:r}=j(...i),a=y(window.__WTR_MOCHA_RUNNER__.test).join(" "),s=l(e,r),c=await async function(t){if(!p(t))throw new Error("You must provide a payload object");if("string"!=typeof t.name)throw new Error("You must provide a snapshot name");return(await x(t))[t.name]}({name:a}),u=await async function(){return b||(b=await w("get-snapshot-config",void 0,"snapshotPlugin from @web/test-runner-commands")),b}();if(c&&!u.updateSnapshots){if(n?c===s:c!==s)throw new t.AssertionError(o||`Snapshot ${a} does not match the saved snapshot on disk`,{actual:s,expected:c,showDiff:!0},t.util.flag(this,"ssfi"))}else c!==s&&await async function(t){if(!p(t))throw new Error("You must provide a payload object");if("string"!=typeof t.name)throw new Error("You must provide a snapshot name");if(void 0!==t.content&&"string"!=typeof t.content)throw new Error("You must provide a snapshot content");return(await x())[t.name]=t.content,w("save-snapshot",t,"snapshotPlugin from @web/test-runner-commands")}({name:a,content:s})}function u(t,e,...n){if(window.__mocha_context__&&window.__snapshot__)return s.call(this,t,e,...n);if(window.__WTR_MOCHA_RUNNER__)return c.call(this,t,e,...n);throw new Error("Could not detect test runner environment. Snapshots require either Web Test Runner with mocha, or Karma with mocha and karma mocha snapshot")}function f(n){const r=t.util.flag(this,"object");let a;return a=e.flag(this,"shadowDom")?o(r):e.flag(this,"lightDom")?i(r):r,u.call(this,a,e.flag(this,"negate"),n)}t.Assertion.overwriteMethod("equals",a),t.Assertion.overwriteMethod("equal",a),t.Assertion.overwriteMethod("eq",a),e.addMethod(t.Assertion.prototype,"equalSnapshot",f),e.addMethod(t.Assertion.prototype,"notEqualSnapshot",f),e.addMethod(t.assert,"equalSnapshot",u),e.addMethod(t.assert,"notEqualSnapshot",u),t.assert.dom={equal(t,e,...i){return r.call(this,n(t),e,!1,...i)},notEqual(t,e,...i){return r.call(this,n(t),e,!0,...i)},equalSnapshot(t,...e){return u.call(this,t,!1,...e)},notEqualSnapshot(t,...e){return u.call(this,t,!0,...e)}},t.assert.lightDom={equal(t,e,...n){return r.call(this,i(t),e,!1,...n)},notEqual(t,e,...n){return r.call(this,i(t),e,!0,...n)},equalSnapshot(t,...e){return u.call(this,i(t),!1,...e)},notEqualSnapshot(t,...e){return u.call(this,i(t),!0,...e)}},t.assert.shadowDom={equal(t,e,...n){return r.call(this,o(t),e,!1,...n)},notEqual(t,e,...n){return r.call(this,o(t),e,!0,...n)},equalSnapshot(t,...e){return u.call(this,o(t),!1,...e)},notEqualSnapshot(t,...e){return u.call(this,o(t),!0,...e)}}})),s.use(((t,e)=>{const{assert:n}=t;e.addMethod(t.Assertion.prototype,"accessible",(function(t){const n=this._obj,i=t||{},o=function(t){if(!t||!t.length)return;const e={};return t.forEach((t=>{e[t]={enabled:!1}})),e}(i.ignoredRules),r={resultTypes:["violations"]};o&&(r.rules=o);let a=i.done?i.done:void 0;if(a||(a=()=>{}),i.ignoredTags){n.parentNode.querySelectorAll(i.ignoredTags.toString()).forEach((t=>t.setAttribute("aria-hidden",!0)))}const s=E(n,r).then((t=>function(t,e,n){const{violations:i}=e;if(i.length&&t)return void n();if(!i.length&&!t)return void n();const o=[];i.length&&(o[o.length]="Accessibility Violations",o[o.length]="---",i.forEach((t=>{o[o.length]=`Rule: ${t.id}`,o[o.length]=`Impact: ${t.impact}`,o[o.length]=`${t.help} (${t.helpUrl})`,t.nodes.forEach((t=>{o[o.length]="",t.target&&(o[o.length]=`Issue target: ${t.target}`),o[o.length]=`Context: ${t.html}`,t.failureSummary&&(o[o.length]=`${t.failureSummary}`)})),o[o.length]="---"})));const r=new Error(o.join("\n"));throw n(r),r}(e.flag(this,"negate"),t,a)));return this.then=s.then.bind(s),this})),n.isAccessible=function(e,n){return new t.Assertion(e).to.be.accessible(n)},n.isNotAccessible=function(e,n){return new t.Assertion(e).not.to.be.accessible(n)}})),s.use(A),s.use(T);const M=t=>"object"==typeof t&&Promise.resolve(t)===t;async function $(t){let e=!1,n=t&&t.updateComplete;return M(n)&&(await n,e=!0),n=!(!t||!t.componentOnReady)&&t.componentOnReady(),M(n)&&(await n,e=!0),e||await new Promise((t=>{requestAnimationFrame((()=>t()))})),window.ShadyDOM&&"function"==typeof window.ShadyDOM.flush&&window.ShadyDOM.flush(),t}const P=[];function N(t=document.createElement("div")){return document.body.appendChild(t),P.push(t),t}function F(){P&&P.forEach((t=>{document.body.removeChild(t)})),P.length=0}const L=t=>null!=t&&"function"==typeof t[Symbol.iterator];function C(t){return o(t)||t instanceof Node||"number"==typeof t||"boolean"==typeof t||"string"==typeof t}const _=Object.freeze({ELEMENT_NODE:1,TEXT_NODE:3,COMMENT_NODE:8,DOCUMENT_FRAGMENT_NODE:11}),R=({nodeType:t,textContent:e})=>{switch(t){case _.COMMENT_NODE:return!1;case _.TEXT_NODE:return e.trim();default:return!0}};async function I(t,e={}){const n=function(t,e={},n){const r=N(e.parentNode);if((e.render??i)(e.scopedElements?n(t,e.scopedElements):t,r),o(t))return r.firstElementChild;const[a]=Array.from(r.childNodes).filter(R);return a}(t,e,e.scopedElements?await import("../scopedElementsWrapper-4c29be11.esm.js").then((t=>t.getScopedElementsTemplate)):void 0);if(await $(n),e.scopedElements){const[t]=Array.from(n.shadowRoot.childNodes).filter(R);return await $(t),t}return n}async function U(t,i={}){if(i.scopedElements)return I(e`${n(t)}`,i);const o=function(t,e={}){const n=N(e.parentNode);return n.innerHTML=t,n.children[0]}(t,i);return await $(o),o}async function W(t,e){if("string"==typeof t)return U(t,e);if(e?.render||(L(n=t)?[...n].every(C):C(n)))return I(t,e);var n;throw new Error("Invalid template provided - string or lit-html TemplateResult is supported")}try{"afterEach"in window&&afterEach((()=>{F()})),"teardown"in window&&teardown((()=>{F()}))}catch(t){}describe("NileCheckbox",(()=>{it("renders correctly with default properties",(async()=>{const e=await W(t`<nile-checkbox></nile-checkbox>`);c(e).shadowDom.to.equalSnapshot()})),it("toggles checked state on click",(async()=>{const e=await W(t`<nile-checkbox></nile-checkbox>`),n=e.shadowRoot.querySelector('input[type="checkbox"]');n.click(),c(e.checked).to.be.true,n.click(),c(e.checked).to.be.false})),it("emits nile-change event on click",(async()=>{const e=await W(t`<nile-checkbox></nile-checkbox>`),n=e.shadowRoot.querySelector('input[type="checkbox"]');setTimeout((()=>n.click()));const i=await q(e,"valueChange");c(i.detail.checked).to.be.true})),it("handles focus and blur events",(async()=>{const e=await W(t`<nile-checkbox></nile-checkbox>`),n=e.shadowRoot.querySelector('input[type="checkbox"]');setTimeout((()=>n.focus()));const i=await q(e,"focus");c(i).to.exist,setTimeout((()=>n.blur()));const o=await q(e,"blur");c(o).to.exist})),it("handles indeterminate state",(async()=>{const e=await W(t`<nile-checkbox indeterminate></nile-checkbox>`),n=e.shadowRoot.querySelector('input[type="checkbox"]');c(n.indeterminate).to.be.true,e.checked=!0,e.indeterminate=!1,await e.updateComplete,c(n.indeterminate).to.be.false,c(n.checked).to.be.true})),it("reflects properties to attributes",(async()=>{const e=await W(t`
570
570
  <nile-checkbox
571
571
  name="test-name"
572
572
  title="test-title"
@@ -577,4 +577,9 @@ function d(t){if(function(t){return"undefined"!=typeof Symbol&&"object"==typeof
577
577
  help-text="test-help"
578
578
  error-message="test-error"
579
579
  ></nile-checkbox>
580
- `);c(e.getAttribute("name")).to.equal("test-name"),c(e.getAttribute("title")).to.equal("test-title"),c(e.getAttribute("disabled")).to.equal(""),c(e.getAttribute("required")).to.equal(""),c(e.getAttribute("label")).to.equal("test-label"),c(e.getAttribute("sub-label")).to.equal("test-sublabel"),c(e.getAttribute("help-text")).to.equal("test-help"),c(e.getAttribute("error-message")).to.equal("test-error")})),it("displays help text when showHelpText is true",(async()=>{const e=await W(t`<nile-checkbox help-text="test-help"></nile-checkbox>`);e.showHelpText=!0,await e.updateComplete;const n=e.shadowRoot.querySelector(".checkbox__helptext-icon");c(n).to.exist})),it("updates host class based on helpText",(async()=>{const e=await W(t`<nile-checkbox></nile-checkbox>`);e.helpText="test-help",await e.updateComplete,c(e.classList.contains("full-width")).to.be.true,e.helpText="",await e.updateComplete,c(e.classList.contains("full-width")).to.be.false})),it("emits custom events on connected and disconnected",(async()=>{const t=document.createElement("nile-checkbox"),e=q(t,"nile-init");document.body.appendChild(t);const n=await e;c(n).to.exist;const i=q(t,"nile-destroy");document.body.removeChild(t);const o=await i;c(o).to.exist})),it("handles required attribute",(async()=>{const e=(await W(t`<nile-checkbox required></nile-checkbox>`)).shadowRoot.querySelector('input[type="checkbox"]');c(e.required).to.be.true})),it("simulates click using click method",(async()=>{const e=await W(t`<nile-checkbox></nile-checkbox>`);e.click(),c(e.checked).to.be.true})),it("sets and removes focus using focus and blur methods",(async()=>{const e=await W(t`<nile-checkbox></nile-checkbox>`);setTimeout((()=>e.focus()));const n=await q(e,"focus");c(n).to.exist,setTimeout((()=>e.blur()));const i=await q(e,"blur");c(i).to.exist}))}));
580
+ `);c(e.getAttribute("name")).to.equal("test-name"),c(e.getAttribute("title")).to.equal("test-title"),c(e.getAttribute("disabled")).to.equal(""),c(e.getAttribute("required")).to.equal(""),c(e.getAttribute("label")).to.equal("test-label"),c(e.getAttribute("sub-label")).to.equal("test-sublabel"),c(e.getAttribute("help-text")).to.equal("test-help"),c(e.getAttribute("error-message")).to.equal("test-error")})),it("displays help text when showHelpText is true",(async()=>{const e=await W(t`<nile-checkbox help-text="test-help"></nile-checkbox>`);e.showHelpText=!0,await e.updateComplete;const n=e.shadowRoot.querySelector(".checkbox__helptext-icon");c(n).to.exist})),it("updates host class based on helpText",(async()=>{const e=await W(t`<nile-checkbox></nile-checkbox>`);e.helpText="test-help",await e.updateComplete,c(e.classList.contains("full-width")).to.be.true,e.helpText="",await e.updateComplete,c(e.classList.contains("full-width")).to.be.false})),it("emits custom events on connected and disconnected",(async()=>{const t=document.createElement("nile-checkbox"),e=q(t,"nile-init");document.body.appendChild(t);const n=await e;c(n).to.exist;const i=q(t,"nile-destroy");document.body.removeChild(t);const o=await i;c(o).to.exist})),it("handles required attribute",(async()=>{const e=(await W(t`<nile-checkbox required></nile-checkbox>`)).shadowRoot.querySelector('input[type="checkbox"]');c(e.required).to.be.true})),it("simulates click using click method",(async()=>{const e=await W(t`<nile-checkbox></nile-checkbox>`);e.click(),c(e.checked).to.be.true})),it("sets and removes focus using focus and blur methods",(async()=>{const e=await W(t`<nile-checkbox></nile-checkbox>`);setTimeout((()=>e.focus()));const n=await q(e,"focus");c(n).to.exist,setTimeout((()=>e.blur()));const i=await q(e,"blur");c(i).to.exist})),it("reflects checked attribute to property",(async()=>{const e=await W(t`<nile-checkbox checked></nile-checkbox>`);c(e.checked).to.be.true})),it("reflects indeterminate attribute to property",(async()=>{const e=await W(t`<nile-checkbox indeterminate></nile-checkbox>`);c(e.indeterminate).to.be.true})),it("associates form using form attribute",(async()=>{const e=(await W(t`
581
+ <div>
582
+ <form id="test-form"></form>
583
+ <nile-checkbox form="test-form"></nile-checkbox>
584
+ </div>
585
+ `)).querySelector("nile-checkbox");c(e).to.not.be.null,c(e.getAttribute("form")).to.equal("test-form")})),it("displays and hides help text correctly",(async()=>{const e=await W(t`<nile-checkbox help-text="test-help"></nile-checkbox>`);c(e.showHelpText).to.be.false,e.showHelpText=!0,await e.updateComplete;let n=e.shadowRoot.querySelector(".checkbox__helptext-icon");c(n).to.exist,e.showHelpText=!1,await e.updateComplete,n=e.shadowRoot.querySelector(".checkbox__helptext-icon"),c(n).to.be.exist}))}));
@@ -0,0 +1,2 @@
1
+ System.register(["./nile-format-date.cjs.js","tslib","../index-c7ad3b47.cjs.js","lit/decorators.js","./nile-format-date.css.cjs.js","../internal/nile-element.cjs.js","lit","../property-217fe924.cjs.js"],function(_export,_context){"use strict";return{setters:[function(_nileFormatDateCjsJs){_export("NileFormatDate",_nileFormatDateCjsJs.N);},function(_tslib){},function(_index001CjsJs){},function(_litDecoratorsJs){},function(_nileFormatDateCssCjsJs){},function(_internalNileElementCjsJs){},function(_lit){},function(_property002CjsJs){}],execute:function execute(){}};});
2
+ //# sourceMappingURL=index.cjs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.cjs.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ export{N as NileFormatDate}from"./nile-format-date.esm.js";import"tslib";import"../index-0a3007c5.esm.js";import"lit/decorators.js";import"./nile-format-date.css.esm.js";import"../internal/nile-element.esm.js";import"lit";import"../property-09139d3c.esm.js";
@@ -0,0 +1,2 @@
1
+ function _typeof(o){"@babel/helpers - typeof";return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o){return typeof o;}:function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o;},_typeof(o);}System.register(["tslib","../index-c7ad3b47.cjs.js","lit/decorators.js","./nile-format-date.css.cjs.js","../internal/nile-element.cjs.js","../property-217fe924.cjs.js","lit"],function(_export,_context){"use strict";var t,e,i,o,r,a,_templateObject,s;function _taggedTemplateLiteral(strings,raw){if(!raw){raw=strings.slice(0);}return Object.freeze(Object.defineProperties(strings,{raw:{value:Object.freeze(raw)}}));}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function");}}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;if("value"in descriptor)descriptor.writable=true;Object.defineProperty(target,_toPropertyKey(descriptor.key),descriptor);}}function _createClass(Constructor,protoProps,staticProps){if(protoProps)_defineProperties(Constructor.prototype,protoProps);if(staticProps)_defineProperties(Constructor,staticProps);Object.defineProperty(Constructor,"prototype",{writable:false});return Constructor;}function _toPropertyKey(t){var i=_toPrimitive(t,"string");return"symbol"==_typeof(i)?i:i+"";}function _toPrimitive(t,r){if("object"!=_typeof(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,r||"default");if("object"!=_typeof(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.");}return("string"===r?String:Number)(t);}function _callSuper(t,o,e){return o=_getPrototypeOf(o),_possibleConstructorReturn(t,_isNativeReflectConstruct()?Reflect.construct(o,e||[],_getPrototypeOf(t).constructor):o.apply(t,e));}function _possibleConstructorReturn(self,call){if(call&&(_typeof(call)==="object"||typeof call==="function")){return call;}else if(call!==void 0){throw new TypeError("Derived constructors may only return object or undefined");}return _assertThisInitialized(self);}function _assertThisInitialized(self){if(self===void 0){throw new ReferenceError("this hasn't been initialised - super() hasn't been called");}return self;}function _isNativeReflectConstruct(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}));}catch(t){}return(_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!t;})();}function _getPrototypeOf(o){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o);};return _getPrototypeOf(o);}function _inherits(subClass,superClass){if(typeof superClass!=="function"&&superClass!==null){throw new TypeError("Super expression must either be null or a function");}subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:true,configurable:true}});Object.defineProperty(subClass,"prototype",{writable:false});if(superClass)_setPrototypeOf(subClass,superClass);}function _setPrototypeOf(o,p){_setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function _setPrototypeOf(o,p){o.__proto__=p;return o;};return _setPrototypeOf(o,p);}return{setters:[function(_tslib){t=_tslib.__decorate;},function(_index001CjsJs){e=_index001CjsJs.x;},function(_litDecoratorsJs){i=_litDecoratorsJs.customElement;},function(_nileFormatDateCssCjsJs){o=_nileFormatDateCssCjsJs.s;},function(_internalNileElementCjsJs){r=_internalNileElementCjsJs.N;},function(_property002CjsJs){a=_property002CjsJs.n;},function(_lit){}],execute:function execute(){_export("N",s=/*#__PURE__*/function(_r){function s(){var _this;_classCallCheck(this,s);_this=_callSuper(this,s,arguments),_this.date=new Date(),_this.hourFormat="auto",_this.dateSeparator="-";return _this;}_inherits(s,_r);return _createClass(s,[{key:"formatDate",value:function formatDate(t,e){var _this2=this;t=new Date(t);return new Intl.DateTimeFormat("en-GB",e).formatToParts(t).map(function(_ref){var t=_ref.type,e=_ref.value;return"day"===t||"month"===t||"year"===t?e:"literal"===t&&"/"===e?_this2.dateSeparator:e;}).join("");}},{key:"render",value:function render(){var t=new Date(this.date),i="auto"===this.hourFormat?void 0:"12"===this.hourFormat;if(!isNaN(t.getMilliseconds()))return e(_templateObject||(_templateObject=_taggedTemplateLiteral(["\n <time datetime=",">\n ","\n </time>\n "])),t.toISOString(),this.formatDate(t,{weekday:this.weekday,era:this.era,year:this.year,month:this.month,day:this.day,hour:this.hour,minute:this.minute,second:this.second,timeZoneName:this.timeZoneName,timeZone:this.timeZone,hour12:i}));}}],[{key:"styles",get:function get(){return[o];}}]);}(r));t([a()],s.prototype,"date",void 0),t([a()],s.prototype,"weekday",void 0),t([a()],s.prototype,"era",void 0),t([a()],s.prototype,"year",void 0),t([a()],s.prototype,"month",void 0),t([a()],s.prototype,"day",void 0),t([a()],s.prototype,"hour",void 0),t([a()],s.prototype,"minute",void 0),t([a()],s.prototype,"second",void 0),t([a({attribute:"time-zone-name"})],s.prototype,"timeZoneName",void 0),t([a({attribute:"time-zone"})],s.prototype,"timeZone",void 0),t([a({attribute:"hour-format"})],s.prototype,"hourFormat",void 0),t([a({attribute:"date-separator"})],s.prototype,"dateSeparator",void 0),_export("N",s=t([i("nile-format-date")],s));}};});
2
+ //# sourceMappingURL=nile-format-date.cjs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"nile-format-date.cjs.js","sources":["../../../src/nile-format-date/nile-format-date.ts"],"sourcesContent":["/**\n * Copyright Aquera Inc 2023\n *\n * This source code is licensed under the BSD-3-Clause license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport {LitElement, html, property, CSSResultArray, TemplateResult} from 'lit-element';\nimport { customElement } from 'lit/decorators.js';\nimport {styles} from './nile-format-date.css';\nimport NileElement from '../internal/nile-element';\n\n\n/**\n * Nile format-date component.\n *\n * @tag nile-format-date\n *\n */\n@customElement('nile-format-date')\nexport class NileFormatDate extends NileElement {\n /**\n * The styles for nile-format-date\n * @remarks If you are extending this class you can extend the base styles with super. Eg `return [super(), myCustomStyles]`\n */\n public static get styles(): CSSResultArray {\n return [styles];\n }\n\n /**\n * The date/time to format. If not set, the current date and time will be used. When passing a string, it's strongly\n * recommended to use the ISO 8601 format to ensure timezones are handled correctly. To convert a date to this format\n * in JavaScript, use [`date.toISOString()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString).\n */\n @property() date: Date | string = new Date();\n\n /** The format for displaying the weekday. */\n @property() weekday: 'narrow' | 'short' | 'long';\n\n /** The format for displaying the era. */\n @property() era: 'narrow' | 'short' | 'long';\n\n /** The format for displaying the year. */\n @property() year: 'numeric' | '2-digit';\n\n /** The format for displaying the month. */\n @property() month: 'numeric' | '2-digit' | 'narrow' | 'short' | 'long';\n\n /** The format for displaying the day. */\n @property() day: 'numeric' | '2-digit';\n\n /** The format for displaying the hour. */\n @property() hour: 'numeric' | '2-digit';\n\n /** The format for displaying the minute. */\n @property() minute: 'numeric' | '2-digit';\n\n /** The format for displaying the second. */\n @property() second: 'numeric' | '2-digit';\n\n /** The format for displaying the time. */\n @property({ attribute: 'time-zone-name' }) timeZoneName: 'short' | 'long';\n\n /** The time zone to express the time in. */\n @property({ attribute: 'time-zone' }) timeZone: string;\n\n /** The format for displaying the hour. */\n @property({ attribute: 'hour-format' }) hourFormat: 'auto' | '12' | '24' =\n 'auto';\n\n /** The separator for the date format. */\n @property({ attribute: 'date-separator' }) dateSeparator: '-' | '/' = '-';\n\n formatDate(dateToFormat: Date | string, options?: Intl.DateTimeFormatOptions): string {\n dateToFormat = new Date(dateToFormat);\n const formatter = new Intl.DateTimeFormat('en-GB', options);\n const parts = formatter.formatToParts(dateToFormat);\n const formattedDate = parts.map(({ type, value }) => {\n if (type === 'day' || type === 'month' || type === 'year') {\n return value;\n }\n if (type === 'literal' && value === '/') {\n return this.dateSeparator;\n }\n return value;\n }).join('');\n return formattedDate;\n }\n\n // formatDate(dateToFormat: Date | string, options?: Intl.DateTimeFormatOptions): string {\n // dateToFormat = new Date(dateToFormat);\n // return new Intl.DateTimeFormat('en-GB', options).format(dateToFormat);\n // }\n\n\n render() {\n const date = new Date(this.date);\n const hour12 =\n this.hourFormat === 'auto' ? undefined : this.hourFormat === '12';\n\n // Check for an invalid date\n if (isNaN(date.getMilliseconds())) {\n return undefined;\n }\n\n return html`\n <time datetime=${date.toISOString()}>\n ${this.formatDate(date, {\n weekday: this.weekday,\n era: this.era,\n year: this.year,\n month: this.month,\n day: this.day,\n hour: this.hour,\n minute: this.minute,\n second: this.second,\n timeZoneName: this.timeZoneName,\n timeZone: this.timeZone,\n hour12: hour12,\n })}\n </time>\n `;\n }\n}\n\t/* #endregion */\n\nexport default NileFormatDate;\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'nile-format-date': NileFormatDate;\n }\n}\n"],"names":["NileFormatDate","s","this","date","Date","hourFormat","dateSeparator","_this","_inherits","_r","_createClass","key","value","formatDate","dateToFormat","options","Intl","DateTimeFormat","formatToParts","map","_ref","type","join","render","hour12","undefined","isNaN","getMilliseconds","html","_templateObject","_taggedTemplateLiteral","toISOString","weekday","era","year","month","day","hour","minute","second","timeZoneName","timeZone","__decorate","get","styles","NileElement","property","prototype","attribute","_export","customElement"],"mappings":"+sHAoBaA,4BAAN,SAAAC,EAAA,uEAcOC,KAAAA,CAAAC,IAAAA,CAAsB,GAAIC,CAAAA,IAiCEF,CAAAA,CAAAA,CAAAA,KAAAA,CAAUG,WAChD,MAGyCH,CAAAA,KAAAA,CAAaI,cAAc,GAoDvE,QAAAC,KAAA,EAlGQC,SAAA,CAAAP,CAAA,CAAAQ,EAAA,SAAAC,YAAA,CAAAT,CAAA,GAAAU,GAAA,cAAAC,KAAA,CAgDP,SAAAC,WAAWC,CAAAA,CAA6BC,mBACtCD,CAAe,CAAA,GAAIV,CAAAA,IAAKU,CAAAA,CAAAA,CAAAA,CAYxB,MAXkB,IAAIE,CAAAA,KAAKC,cAAe,CAAA,OAAA,CAASF,GAC3BG,aAAcJ,CAAAA,CAAAA,CAAAA,CACVK,IAAI,SAAAC,IAAA,KAAGC,CAAAA,CAAAA,CAAAA,IAAAA,CAAAA,IAAAA,QAAMT,YAC1B,KAATS,GAAAA,CAAAA,EAA2B,UAATA,CAA6B,EAAA,MAAA,GAATA,EACjCT,CAEI,CAAA,SAAA,GAATS,GAAgC,GAAVT,GAAAA,CAAAA,CACjBV,MAAKI,CAAAA,aAAAA,CAEPM,CACNU,EAAAA,CAAAA,CAAAA,IAAAA,CAAK,GAET,EAQD,GAAAX,GAAA,UAAAC,KAAA,UAAAW,OAAA,EACE,GAAMpB,CAAAA,CAAAA,CAAO,GAAIC,CAAAA,IAAKF,CAAAA,IAAAA,CAAKC,MACrBqB,CACgB,CAAA,MAAA,GAApBtB,KAAKG,UAAwBoB,CAAAA,IAAAA,EAAAA,CAAgC,OAApBvB,IAAKG,CAAAA,UAAAA,CAGhD,IAAIqB,KAAMvB,CAAAA,CAAAA,CAAKwB,eAIf,CAAA,CAAA,CAAA,CAAA,MAAOC,CAAAA,CAAI,CAAAC,eAAA,GAAAA,eAAA,CAAAC,sBAAA,qEACQ3B,CAAK4B,CAAAA,WAAAA,CAAAA,CAAAA,CAClB7B,IAAAA,CAAKW,UAAWV,CAAAA,CAAAA,CAAM,CACtB6B,OAAAA,CAAS9B,KAAK8B,OACdC,CAAAA,GAAAA,CAAK/B,IAAK+B,CAAAA,GAAAA,CACVC,IAAMhC,CAAAA,IAAAA,CAAKgC,IACXC,CAAAA,KAAAA,CAAOjC,KAAKiC,KACZC,CAAAA,GAAAA,CAAKlC,IAAKkC,CAAAA,GAAAA,CACVC,IAAMnC,CAAAA,IAAAA,CAAKmC,IACXC,CAAAA,MAAAA,CAAQpC,KAAKoC,MACbC,CAAAA,MAAAA,CAAQrC,IAAKqC,CAAAA,MAAAA,CACbC,aAActC,IAAKsC,CAAAA,YAAAA,CACnBC,QAAUvC,CAAAA,IAAAA,CAAKuC,SACfjB,MAAQA,CAAAA,CAAAA,CAAAA,CAAAA,EAIf,CAxFWkB,KAAAA,GAAAA,UAAAA,GAAAA,CATL,SAAAC,IAAA,CACL,CAAA,MAAO,CAACC,CACT,CAAA,EA8CD,MArDkCC,CAAAA,GActBH,CAAAA,CAAA,CAAXI,CAAAA,CAAAA,CAAAA,CAAAA,CAA4C9C,CAAA+C,CAAAA,SAAAA,CAAA,WAAA,EAGjCL,CAAAA,CAAAA,CAAAA,CAAA,CAAXI,CAAAA,CAAAA,CAAAA,CAAAA,CAAgD9C,CAAA+C,CAAAA,SAAAA,CAAA,cAAA,EAGrCL,CAAAA,CAAAA,CAAAA,CAAA,CAAXI,CAAAA,CAAAA,CAAAA,CAAAA,CAA4C9C,CAAA+C,CAAAA,SAAAA,CAAA,UAAA,EAGjCL,CAAAA,CAAAA,CAAAA,CAAA,CAAXI,CAAAA,CAAAA,CAAAA,CAAAA,CAAuC9C,CAAA+C,CAAAA,SAAAA,CAAA,WAAA,EAG5BL,CAAAA,CAAAA,CAAAA,CAAA,CAAXI,CAAAA,CAAAA,CAAAA,CAAAA,CAAsE9C,CAAA+C,CAAAA,SAAAA,CAAA,YAAA,EAG3DL,CAAAA,CAAAA,CAAAA,CAAA,CAAXI,CAAAA,CAAAA,CAAAA,CAAAA,CAAsC9C,CAAA+C,CAAAA,SAAAA,CAAA,UAAA,EAG3BL,CAAAA,CAAAA,CAAAA,CAAA,CAAXI,CAAAA,CAAAA,CAAAA,CAAAA,CAAuC9C,CAAA+C,CAAAA,SAAAA,CAAA,WAAA,EAG5BL,CAAAA,CAAAA,CAAAA,CAAA,CAAXI,CAAAA,CAAAA,CAAAA,CAAAA,CAAyC9C,CAAA+C,CAAAA,SAAAA,CAAA,aAAA,EAG9BL,CAAAA,CAAAA,CAAAA,CAAA,CAAXI,CAAAA,CAAAA,CAAAA,CAAAA,CAAyC9C,CAAA+C,CAAAA,SAAAA,CAAA,aAAA,EAGCL,CAAAA,CAAAA,CAAAA,CAAA,CAA1CI,CAAAA,CAAS,CAAEE,SAAAA,CAAW,oBAAmDhD,CAAA+C,CAAAA,SAAAA,CAAA,cAAA,CAAA,IAAA,EAAA,CAAA,CAGpCL,CAAA,CAAA,CAArCI,EAAS,CAAEE,SAAAA,CAAW,WAAgChD,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAA+C,SAAA,CAAA,UAAA,CAAA,IAAA,IAGfL,CAAA,CAAA,CAAvCI,CAAS,CAAA,CAAEE,SAAW,CAAA,aAAA,CAAA,CAAA,CAAA,CACdhD,EAAA+C,SAAA,CAAA,YAAA,CAAA,IAAA,EAGkCL,CAAAA,CAAAA,CAAAA,CAAA,CAA1CI,CAAAA,CAAS,CAAEE,SAAW,CAAA,gBAAA,CAAA,CAAA,CAAA,CAAmDhD,CAAA+C,CAAAA,SAAAA,CAAA,eAAA,CAAA,IAAA,EAAA,CAAA,CAAAE,OAAA,KAnD/DjD,EAAc0C,CAAA,CAAA,CAD1BQ,CAAc,CAAA,kBAAA,CAAA,CAAA,CACFlD"}
@@ -0,0 +1,2 @@
1
+ System.register(["../index-c7ad3b47.cjs.js"],function(_export,_context){"use strict";var s,_templateObject,o;function _taggedTemplateLiteral(strings,raw){if(!raw){raw=strings.slice(0);}return Object.freeze(Object.defineProperties(strings,{raw:{value:Object.freeze(raw)}}));}return{setters:[function(_index001CjsJs){s=_index001CjsJs.i;}],execute:function execute(){_export("s",o=s(_templateObject||(_templateObject=_taggedTemplateLiteral(["\n\t:host {\n\n\t}\n"]))));}};});
2
+ //# sourceMappingURL=nile-format-date.css.cjs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"nile-format-date.css.cjs.js","sources":["../../../src/nile-format-date/nile-format-date.css.ts"],"sourcesContent":["/**\n* Copyright Aquera Inc 2023\n*\n* This source code is licensed under the BSD-3-Clause license found in the\n* LICENSE file in the root directory of this source tree.\n*/\n\nimport {css} from 'lit-element';\n\n/**\n * FormatDate CSS\n */\nexport const styles = css`\n\t:host {\n\n\t}\n`;\n\nexport default [styles];"],"names":["styles","css","_templateObject","_taggedTemplateLiteral"],"mappings":"wXAYaA,CAAAA,CAASC,CAAG,CAAAC,eAAA,GAAAA,eAAA,CAAAC,sBAAA"}
@@ -0,0 +1,5 @@
1
+ import{i as s}from"../index-0a3007c5.esm.js";const o=s`
2
+ :host {
3
+
4
+ }
5
+ `;export{o as s};
@@ -0,0 +1,5 @@
1
+ import{__decorate as t}from"tslib";import{x as e}from"../index-0a3007c5.esm.js";import{customElement as i}from"lit/decorators.js";import{s as o}from"./nile-format-date.css.esm.js";import{N as r}from"../internal/nile-element.esm.js";import{n as a}from"../property-09139d3c.esm.js";import"lit";let s=class extends r{constructor(){super(...arguments),this.date=new Date,this.hourFormat="auto",this.dateSeparator="-"}static get styles(){return[o]}formatDate(t,e){t=new Date(t);return new Intl.DateTimeFormat("en-GB",e).formatToParts(t).map((({type:t,value:e})=>"day"===t||"month"===t||"year"===t?e:"literal"===t&&"/"===e?this.dateSeparator:e)).join("")}render(){const t=new Date(this.date),i="auto"===this.hourFormat?void 0:"12"===this.hourFormat;if(!isNaN(t.getMilliseconds()))return e`
2
+ <time datetime=${t.toISOString()}>
3
+ ${this.formatDate(t,{weekday:this.weekday,era:this.era,year:this.year,month:this.month,day:this.day,hour:this.hour,minute:this.minute,second:this.second,timeZoneName:this.timeZoneName,timeZone:this.timeZone,hour12:i})}
4
+ </time>
5
+ `}};t([a()],s.prototype,"date",void 0),t([a()],s.prototype,"weekday",void 0),t([a()],s.prototype,"era",void 0),t([a()],s.prototype,"year",void 0),t([a()],s.prototype,"month",void 0),t([a()],s.prototype,"day",void 0),t([a()],s.prototype,"hour",void 0),t([a()],s.prototype,"minute",void 0),t([a()],s.prototype,"second",void 0),t([a({attribute:"time-zone-name"})],s.prototype,"timeZoneName",void 0),t([a({attribute:"time-zone"})],s.prototype,"timeZone",void 0),t([a({attribute:"hour-format"})],s.prototype,"hourFormat",void 0),t([a({attribute:"date-separator"})],s.prototype,"dateSeparator",void 0),s=t([i("nile-format-date")],s);export{s as N};
@@ -1,2 +1,2 @@
1
- System.register(["../index-c7ad3b47.cjs.js"],function(_export,_context){"use strict";var o,_templateObject,t;function _taggedTemplateLiteral(strings,raw){if(!raw){raw=strings.slice(0);}return Object.freeze(Object.defineProperties(strings,{raw:{value:Object.freeze(raw)}}));}return{setters:[function(_index001CjsJs){o=_index001CjsJs.i;}],execute:function execute(){_export("s",t=o(_templateObject||(_templateObject=_taggedTemplateLiteral(["\n :host {\n display: block;\n }\n\n .form-control .form-control__label {\n display: none;\n }\n\n .form-control .form-control__help-text {\n display: none;\n }\n\n /* Label */\n .form-control--has-label .form-control__label {\n display: inline-block;\n color: inherit;\n margin-bottom: 6px;\n color: var(--nile-colors-dark-900);\n font-family: var(--nile-font-family-serif);\n font-size: 14px;\n font-style: normal;\n font-weight: 500;\n line-height: 20px;\n letter-spacing: 0.2px;\n }\n\n .form-control--has-label.form-control--medium .form-control__label {\n font-size: 14px;\n }\n\n :host([required]) .form-control--has-label .form-control__label::after {\n content: '*';\n margin-inline-start: -2px;\n color: #a4121c;\n }\n\n /* Help text */\n .form-control--has-help-text .form-control__help-text {\n display: block;\n color: #7f7f7f;\n margin-top: 6px;\n }\n\n /* Error message */\n .form-control__error-message {\n display: block;\n color: #a4121c;\n margin-top: 12px;\n font-size: 12px;\n font-style: normal;\n line-height: 12px;\n letter-spacing: 0.2px;\n }\n\n .form-control--has-help-text.form-control--medium .form-control__help-text {\n font-size: 10.24px;\n }\n\n .form-control--has-help-text.form-control--radio-group\n .form-control__help-text {\n margin-top: 0.25rem;\n }\n\n .input {\n flex: 1 1 auto;\n display: inline-flex;\n align-items: stretch;\n justify-content: start;\n position: relative;\n width: 100%;\n font-weight: 400;\n vertical-align: middle;\n overflow: hidden;\n cursor: text;\n transition: 150ms color, 150ms border, 150ms box-shadow,\n 150ms background-color;\n box-sizing: border-box;\n color: var(--nile-colors-dark-900);\n font-family: Colfax-regular;\n font-size: 14px;\n font-style: normal;\n line-height: 14px;\n letter-spacing: 0.2px;\n }\n\n /* Standard inputs */\n .input--standard {\n background-color: var(--nile-input-standard-background-color);\n border: solid 1px var(--nile-input-standard-border-color);\n box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05);\n }\n\n .input--standard:hover:not(.input--disabled) {\n background-color: hsl(0, 0%, 100%);\n border-color: #000;\n }\n\n .input--standard.input--focused:not(.input--disabled) {\n background-color: hsl(0, 0%, 100%);\n border-color: #85aad1;\n box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05),\n 0px 0px 0px 4px rgba(133, 170, 209, 0.24);\n }\n\n .input--standard.input--focused:not(.input--disabled) .input__control {\n color: hsl(240 5.3% 26.1%);\n }\n\n .input--standard.input--disabled {\n background-color: #fff;\n border-color: #c7ced4;\n opacity: 0.5;\n cursor: not-allowed;\n }\n\n .input--standard.input--disabled .input__control {\n color: hsl(240 5.9% 10%);\n }\n\n .input--standard.input--disabled .input__control::placeholder {\n color: var(--nile-input-standard-disabled-placeholder-font-color);\n }\n\n .input--standard.input--warning {\n border-color: var(--nile-colors-yellow-500);\n }\n\n .input--standard.input--error {\n border-color: #e5434d;\n }\n\n .input--standard.input--success {\n border-color: #43e5c0;\n }\n\n .input--standard.input--destructive {\n border-color: #fda29b;\n }\n\n .input--standard.input--focused.input--destructive:not(.input--disabled) {\n border: 1px solid #fda29b;\n box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05),\n 0px 0px 0px 4px rgba(240, 68, 56, 0.24);\n }\n\n .input--destructive:active {\n border: 1px solid #fda29b;\n box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05),\n 0px 0px 0px 4px rgba(240, 68, 56, 0.24);\n }\n\n /* Filled inputs */\n .input--filled {\n border: none;\n background-color: hsl(240 4.8% 95.9%);\n color: hsl(240 5.3% 26.1%);\n }\n\n .input--filled:hover:not(.input--disabled) {\n background-color: hsl(240 4.8% 95.9%);\n }\n\n .input--filled.input--focused:not(.input--disabled) {\n background-color: hsl(240 4.8% 95.9%);\n outline: solid 3px hsl(200.4 98% 39.4%);\n outline-offset: 1px;\n }\n\n .input--filled.input--disabled {\n background-color: hsl(240 4.8% 95.9%);\n opacity: 0.5;\n cursor: not-allowed;\n }\n\n .input__control {\n flex: 1 1 auto;\n min-width: 0;\n height: 100%;\n border: none;\n background: none;\n box-shadow: none;\n padding: 0;\n margin: 0;\n cursor: inherit;\n -webkit-appearance: none;\n color: var(--nile-colors-dark-900);\n font-family: var(--nile-font-family-sans-serif);\n font-size: 16px;\n font-style: normal;\n font-weight: 400;\n line-height: 24px;\n letter-spacing: 0.2px;\n }\n\n .input__control::-webkit-search-decoration,\n .input__control::-webkit-search-cancel-button,\n .input__control::-webkit-search-results-button,\n .input__control::-webkit-search-results-decoration {\n -webkit-appearance: none;\n }\n\n .input__control:-webkit-autofill {\n box-shadow: 0 0 0 3.125rem hsl(0, 0%, 100%) inset !important;\n -webkit-text-fill-color: hsl(198.6 88.7% 48.4%);\n caret-color: hsl(240 5.3% 26.1%);\n }\n\n .input__control:-webkit-autofill:hover {\n box-shadow: 0 0 0 3.125rem hsl(0, 0%, 100%) inset !important;\n -webkit-text-fill-color: hsl(198.6 88.7% 48.4%);\n caret-color: hsl(240 5.3% 26.1%);\n }\n\n .input__control:-webkit-autofill:focus {\n box-shadow: 0 0 0 3.125rem hsl(0, 0%, 100%) inset !important;\n -webkit-text-fill-color: hsl(198.6 88.7% 48.4%);\n caret-color: hsl(240 5.3% 26.1%);\n }\n\n .input__control:-webkit-autofill:active {\n box-shadow: 0 0 0 3.125rem hsl(0, 0%, 100%) inset !important;\n -webkit-text-fill-color: hsl(198.6 88.7% 48.4%);\n caret-color: hsl(240 5.3% 26.1%);\n }\n\n .input--filled .input__control:-webkit-autofill {\n box-shadow: 0 0 0 3.125rem hsl(240 4.8% 95.9%) inset !important;\n }\n\n .input--filled .input__control:-webkit-autofill:hover {\n box-shadow: 0 0 0 3.125rem hsl(240 4.8% 95.9%) inset !important;\n }\n\n .input--filled .input__control:-webkit-autofill:focus {\n box-shadow: 0 0 0 3.125rem hsl(240 4.8% 95.9%) inset !important;\n }\n\n .input--filled .input__control:-webkit-autofill:active {\n box-shadow: 0 0 0 3.125rem hsl(240 4.8% 95.9%) inset !important;\n }\n\n .input__control::placeholder {\n color: #667085;\n user-select: none;\n }\n\n .input:hover:not(.input--disabled) .input__control {\n color: #000;\n font-size: 14px;\n line-height: 14px;\n font-style: normal;\n font-weight: 400;\n letter-spacing: 0.2px;\n }\n\n .input__control:focus {\n outline: none;\n }\n\n .input__prefix,\n .input__suffix {\n display: inline-flex;\n flex: 0 0 auto;\n align-items: center;\n cursor: default;\n }\n\n .input__prefix::slotted(nile-icon) {\n color: hsl(240 3.8% 46.1%);\n }\n\n .input__suffix::slotted(nile-icon) {\n color: hsl(240 3.8% 46.1%);\n }\n\n .input--standard:focus {\n border-radius: 4px;\n border: 1px solid #85aad1;\n box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05);\n }\n\n /*\n * Size modifiers\n */\n\n .input--small {\n border-radius: 0.25rem;\n font-size: var(--nile-input-font-size-small);\n height: 1.875rem;\n }\n\n .input--small .input__control {\n height: calc(1.875rem);\n padding: 0 0.75rem;\n }\n\n .input--small .input__clear {\n width: calc(1em + 0.75rem * 2);\n }\n\n .input--small .input__password-toggle {\n width: calc(1em + 0.75rem * 2);\n }\n\n .input--small .input__prefix::slotted(*) {\n margin-inline-start: 0.75rem;\n }\n\n .input--small .input__suffix::slotted(*) {\n margin-inline-end: 0.75rem;\n }\n\n .input--medium {\n border-radius: 0.25rem;\n font-size: var(--nile-input-font-size-medium);\n height: 40px;\n }\n\n .input--medium .input__control {\n height: 14px;\n padding: 12px;\n }\n\n .input--medium .input__clear {\n width: calc(1em + 1rem * 2);\n }\n\n .input--medium .input__password-toggle {\n width: calc(1em + 1rem * 2);\n }\n\n .input--medium .input__prefix::slotted(*) {\n margin-inline-start: 12px;\n }\n\n .input--medium .input__suffix::slotted(*) {\n margin-inline-end: 12px;\n }\n\n .input--large {\n border-radius: 0.25rem;\n font-size: 1.25rem;\n height: 3.125rem;\n }\n\n .input--large .input__control {\n height: calc(3.125rem - 1px * 2);\n padding: 0 1.25rem;\n }\n\n .input--large .input__clear {\n width: calc(1em + 1.25rem * 2);\n }\n\n .input--large .input__password-toggle {\n width: calc(1em + 1.25rem * 2);\n }\n\n .input--large .input__prefix::slotted(*) {\n margin-inline-start: 1.25rem;\n }\n\n .input--large .input__suffix::slotted(*) {\n margin-inline-end: 1.25rem;\n }\n\n /*\n * Pill modifier\n */\n\n .input--pill.input--small {\n border-radius: 1.875rem;\n }\n\n .input--pill.input--medium {\n border-radius: 2.5rem;\n }\n\n .input--pill.input--large {\n border-radius: 3.125rem;\n }\n\n /*\n * Clearable + Password Toggle\n */\n\n .input__clear {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n font-size: inherit;\n color: hsl(240 3.8% 46.1%);\n border: none;\n background: none;\n padding: 0;\n transition: 150ms color;\n cursor: pointer;\n }\n\n .input__password-toggle {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n font-size: inherit;\n color: hsl(240 3.8% 46.1%);\n border: none;\n background: none;\n padding: 0;\n transition: 150ms color;\n cursor: pointer;\n }\n\n .input__clear:hover {\n color: hsl(240 5.2% 33.9%);\n }\n\n .input__password-toggle:hover {\n color: hsl(240 5.2% 33.9%);\n }\n\n .input__clear:focus,\n .input__password-toggle:focus {\n outline: none;\n }\n\n .input--empty .input__clear {\n visibility: hidden;\n }\n\n /* Don't show the browser's password toggle in Edge */\n ::-ms-reveal {\n display: none;\n }\n\n /* Hide the built-in number spinner */\n .input--no-spin-buttons input[type='number']::-webkit-outer-spin-button,\n .input--no-spin-buttons input[type='number']::-webkit-inner-spin-button {\n -webkit-appearance: none;\n display: none;\n }\n\n .input--no-spin-buttons input[type='number'] {\n -moz-appearance: textfield;\n }\n\n :host([no-border]) .input--standard {\n border: none;\n box-shadow: 0 0 0 0;\n }\n\n :host([no-border]) .input--standard:hover:not(.input--disabled) {\n border: none;\n box-shadow: 0 0 0 0;\n }\n\n :host([no-border]) .input--standard.input--focused:not(.input--disabled) {\n border: none;\n box-shadow: 0 0 0 0;\n }\n\n :host([no-border]) .input--standard.input--focused:not(.input--disabled) {\n border: none;\n box-shadow: 0 0 0 0;\n }\n\n .input__password {\n font-family: 'disc';\n }\n\n .input__non-printable {\n border-radius: 4px;\n max-width: 400px;\n background-color: var(--nile-colors-white-base);\n border: 1px solid var(--nile-colors-red-500);\n color: var(--nile-colors-red-500);\n padding: 10px;\n font-size: 12px;\n max-height: 300px;\n overflow-y: scroll;\n line-height: 16px;\n }\n\n .input__remove-non-printable {\n color: var(--nile-colors-red-500);\n margin-left: 10px;\n font-size: 14px;\n color: var(--nile-colors-dark-900);\n cursor: pointer;\n }\n\n .input__srtiked-text-container {\n margin-top: 4px;\n color: var(--nile-colors-dark-900);\n word-break: break-all;\n line-height: 16px;\n }\n\n .input__srtiked-text {\n text-decoration: line-through;\n text-decoration-color: var(--nile-colors-white-base);\n color: var(--nile-colors-white-base);\n background-color: var(--nile-colors-red-500);\n }\n"]))));}};});
1
+ System.register(["../index-c7ad3b47.cjs.js"],function(_export,_context){"use strict";var o,_templateObject,t;function _taggedTemplateLiteral(strings,raw){if(!raw){raw=strings.slice(0);}return Object.freeze(Object.defineProperties(strings,{raw:{value:Object.freeze(raw)}}));}return{setters:[function(_index001CjsJs){o=_index001CjsJs.i;}],execute:function execute(){_export("s",t=o(_templateObject||(_templateObject=_taggedTemplateLiteral(["\n :host {\n display: block;\n }\n\n .form-control .form-control__label {\n display: none;\n }\n\n .form-control .form-control__help-text {\n display: none;\n }\n\n /* Label */\n .form-control--has-label .form-control__label {\n display: inline-block;\n color: inherit;\n margin-bottom: 6px;\n color: var(--nile-colors-dark-900);\n font-family: var(--nile-font-family-serif);\n font-size: 14px;\n font-style: normal;\n font-weight: 500;\n line-height: 20px;\n letter-spacing: 0.2px;\n }\n\n .form-control--has-label.form-control--medium .form-control__label {\n font-size: 14px;\n }\n\n :host([required]) .form-control--has-label .form-control__label::after {\n content: '*';\n margin-inline-start: -2px;\n color: #a4121c;\n }\n\n /* Help text */\n .form-control--has-help-text .form-control__help-text {\n display: block;\n color: #7f7f7f;\n margin-top: 6px;\n }\n\n /* Error message */\n .form-control__error-message {\n display: block;\n color: #a4121c;\n margin-top: 12px;\n font-size: 12px;\n font-style: normal;\n line-height: 12px;\n letter-spacing: 0.2px;\n }\n\n .form-control--has-help-text.form-control--medium .form-control__help-text {\n font-size: 10.24px;\n }\n\n .form-control--has-help-text.form-control--radio-group\n .form-control__help-text {\n margin-top: 0.25rem;\n }\n\n .input {\n flex: 1 1 auto;\n display: inline-flex;\n align-items: stretch;\n justify-content: start;\n position: relative;\n width: 100%;\n font-weight: 400;\n vertical-align: middle;\n overflow: hidden;\n cursor: text;\n transition: 150ms color, 150ms border, 150ms box-shadow,\n 150ms background-color;\n box-sizing: border-box;\n color: var(--nile-colors-dark-900);\n font-family: Colfax-regular;\n font-size: 14px;\n font-style: normal;\n line-height: 14px;\n letter-spacing: 0.2px;\n }\n\n /* Standard inputs */\n .input--standard {\n background-color: var(--nile-input-standard-background-color);\n border: solid 1px var(--nile-input-standard-border-color);\n box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05);\n }\n\n .input--standard:hover:not(.input--disabled) {\n background-color: hsl(0, 0%, 100%);\n border-color: #000;\n }\n\n .input--standard.input--focused:not(.input--disabled) {\n background-color: hsl(0, 0%, 100%);\n border-color: #85aad1;\n box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05),\n 0px 0px 0px 4px rgba(133, 170, 209, 0.24);\n }\n\n .input--standard.input--focused:not(.input--disabled) .input__control {\n color: hsl(240 5.3% 26.1%);\n }\n\n .input--standard.input--disabled {\n background-color: #fff;\n border-color: #c7ced4;\n opacity: 0.5;\n cursor: not-allowed;\n }\n\n .input--standard.input--disabled .input__control {\n color: hsl(240 5.9% 10%);\n }\n\n .input--standard.input--disabled .input__control::placeholder {\n color: var(--nile-input-standard-disabled-placeholder-font-color);\n }\n\n .input--standard.input--warning {\n border-color: var(--nile-colors-yellow-500);\n }\n\n .input--standard.input--error {\n border-color: #e5434d;\n }\n\n .input--standard.input--success {\n border-color: #43e5c0;\n }\n\n .input--standard.input--destructive {\n border-color: #fda29b;\n }\n\n .input--standard.input--focused.input--destructive:not(.input--disabled) {\n border: 1px solid #fda29b;\n box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05),\n 0px 0px 0px 4px rgba(240, 68, 56, 0.24);\n }\n\n .input--destructive:active {\n border: 1px solid #fda29b;\n box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05),\n 0px 0px 0px 4px rgba(240, 68, 56, 0.24);\n }\n\n /* Filled inputs */\n .input--filled {\n border: none;\n background-color: hsl(240 4.8% 95.9%);\n color: hsl(240 5.3% 26.1%);\n }\n\n .input--filled:hover:not(.input--disabled) {\n background-color: hsl(240 4.8% 95.9%);\n }\n\n .input--filled.input--focused:not(.input--disabled) {\n background-color: hsl(240 4.8% 95.9%);\n outline: solid 3px hsl(200.4 98% 39.4%);\n outline-offset: 1px;\n }\n\n .input--filled.input--disabled {\n background-color: hsl(240 4.8% 95.9%);\n opacity: 0.5;\n cursor: not-allowed;\n }\n\n .input__control {\n flex: 1 1 auto;\n min-width: 0;\n height: 100%;\n border: none;\n background: none;\n box-shadow: none;\n padding: 0;\n margin: 0;\n cursor: inherit;\n -webkit-appearance: none;\n color: var(--nile-colors-dark-900);\n font-family: var(--nile-font-family-sans-serif);\n font-size: 16px;\n font-style: normal;\n font-weight: 400;\n line-height: 24px;\n letter-spacing: 0.2px;\n }\n\n .input__control::-webkit-search-decoration,\n .input__control::-webkit-search-cancel-button,\n .input__control::-webkit-search-results-button,\n .input__control::-webkit-search-results-decoration {\n -webkit-appearance: none;\n }\n\n .input__control:-webkit-autofill {\n box-shadow: 0 0 0 3.125rem hsl(0, 0%, 100%) inset !important;\n -webkit-text-fill-color: hsl(198.6 88.7% 48.4%);\n caret-color: hsl(240 5.3% 26.1%);\n }\n\n .input__control:-webkit-autofill:hover {\n box-shadow: 0 0 0 3.125rem hsl(0, 0%, 100%) inset !important;\n -webkit-text-fill-color: hsl(198.6 88.7% 48.4%);\n caret-color: hsl(240 5.3% 26.1%);\n }\n\n .input__control:-webkit-autofill:focus {\n box-shadow: 0 0 0 3.125rem hsl(0, 0%, 100%) inset !important;\n -webkit-text-fill-color: hsl(198.6 88.7% 48.4%);\n caret-color: hsl(240 5.3% 26.1%);\n }\n\n .input__control:-webkit-autofill:active {\n box-shadow: 0 0 0 3.125rem hsl(0, 0%, 100%) inset !important;\n -webkit-text-fill-color: hsl(198.6 88.7% 48.4%);\n caret-color: hsl(240 5.3% 26.1%);\n }\n\n .input--filled .input__control:-webkit-autofill {\n box-shadow: 0 0 0 3.125rem hsl(240 4.8% 95.9%) inset !important;\n }\n\n .input--filled .input__control:-webkit-autofill:hover {\n box-shadow: 0 0 0 3.125rem hsl(240 4.8% 95.9%) inset !important;\n }\n\n .input--filled .input__control:-webkit-autofill:focus {\n box-shadow: 0 0 0 3.125rem hsl(240 4.8% 95.9%) inset !important;\n }\n\n .input--filled .input__control:-webkit-autofill:active {\n box-shadow: 0 0 0 3.125rem hsl(240 4.8% 95.9%) inset !important;\n }\n\n .input__control::placeholder {\n color: #667085;\n user-select: none;\n }\n\n .input:hover:not(.input--disabled) .input__control {\n color: #000;\n }\n\n .input__control:focus {\n outline: none;\n }\n\n .input__prefix,\n .input__suffix {\n display: inline-flex;\n flex: 0 0 auto;\n align-items: center;\n cursor: default;\n }\n\n .input__prefix::slotted(nile-icon) {\n color: hsl(240 3.8% 46.1%);\n }\n\n .input__suffix::slotted(nile-icon) {\n color: hsl(240 3.8% 46.1%);\n }\n\n .input--standard:focus {\n border-radius: 4px;\n border: 1px solid #85aad1;\n box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05);\n }\n\n /*\n * Size modifiers\n */\n\n .input--small {\n border-radius: 0.25rem;\n font-size: var(--nile-input-font-size-small);\n height: 1.875rem;\n }\n\n .input--small .input__control {\n height: calc(1.875rem);\n padding: 0 0.75rem;\n }\n\n .input--small .input__clear {\n width: calc(1em + 0.75rem * 2);\n }\n\n .input--small .input__password-toggle {\n width: calc(1em + 0.75rem * 2);\n }\n\n .input--small .input__prefix::slotted(*) {\n margin-inline-start: 0.75rem;\n }\n\n .input--small .input__suffix::slotted(*) {\n margin-inline-end: 0.75rem;\n }\n\n .input--medium {\n border-radius: 0.25rem;\n font-size: var(--nile-input-font-size-medium);\n height: 40px;\n }\n\n .input--medium .input__control {\n height: 14px;\n padding: 12px;\n }\n\n .input--medium .input__clear {\n width: calc(1em + 1rem * 2);\n }\n\n .input--medium .input__password-toggle {\n width: calc(1em + 1rem * 2);\n }\n\n .input--medium .input__prefix::slotted(*) {\n margin-inline-start: 12px;\n }\n\n .input--medium .input__suffix::slotted(*) {\n margin-inline-end: 12px;\n }\n\n .input--large {\n border-radius: 0.25rem;\n font-size: 1.25rem;\n height: 3.125rem;\n }\n\n .input--large .input__control {\n height: calc(3.125rem - 1px * 2);\n padding: 0 1.25rem;\n }\n\n .input--large .input__clear {\n width: calc(1em + 1.25rem * 2);\n }\n\n .input--large .input__password-toggle {\n width: calc(1em + 1.25rem * 2);\n }\n\n .input--large .input__prefix::slotted(*) {\n margin-inline-start: 1.25rem;\n }\n\n .input--large .input__suffix::slotted(*) {\n margin-inline-end: 1.25rem;\n }\n\n /*\n * Pill modifier\n */\n\n .input--pill.input--small {\n border-radius: 1.875rem;\n }\n\n .input--pill.input--medium {\n border-radius: 2.5rem;\n }\n\n .input--pill.input--large {\n border-radius: 3.125rem;\n }\n\n /*\n * Clearable + Password Toggle\n */\n\n .input__clear {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n font-size: inherit;\n color: hsl(240 3.8% 46.1%);\n border: none;\n background: none;\n padding: 0;\n transition: 150ms color;\n cursor: pointer;\n }\n\n .input__password-toggle {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n font-size: inherit;\n color: hsl(240 3.8% 46.1%);\n border: none;\n background: none;\n padding: 0;\n transition: 150ms color;\n cursor: pointer;\n }\n\n .input__clear:hover {\n color: hsl(240 5.2% 33.9%);\n }\n\n .input__password-toggle:hover {\n color: hsl(240 5.2% 33.9%);\n }\n\n .input__clear:focus,\n .input__password-toggle:focus {\n outline: none;\n }\n\n .input--empty .input__clear {\n visibility: hidden;\n }\n\n /* Don't show the browser's password toggle in Edge */\n ::-ms-reveal {\n display: none;\n }\n\n /* Hide the built-in number spinner */\n .input--no-spin-buttons input[type='number']::-webkit-outer-spin-button,\n .input--no-spin-buttons input[type='number']::-webkit-inner-spin-button {\n -webkit-appearance: none;\n display: none;\n }\n\n .input--no-spin-buttons input[type='number'] {\n -moz-appearance: textfield;\n }\n\n :host([no-border]) .input--standard {\n border: none;\n box-shadow: 0 0 0 0;\n }\n\n :host([no-border]) .input--standard:hover:not(.input--disabled) {\n border: none;\n box-shadow: 0 0 0 0;\n }\n\n :host([no-border]) .input--standard.input--focused:not(.input--disabled) {\n border: none;\n box-shadow: 0 0 0 0;\n }\n\n :host([no-border]) .input--standard.input--focused:not(.input--disabled) {\n border: none;\n box-shadow: 0 0 0 0;\n }\n\n .input__password {\n font-family: 'disc';\n }\n\n .input__non-printable {\n border-radius: 4px;\n max-width: 400px;\n background-color: var(--nile-colors-white-base);\n border: 1px solid var(--nile-colors-red-500);\n color: var(--nile-colors-red-500);\n padding: 10px;\n font-size: 12px;\n max-height: 300px;\n overflow-y: scroll;\n line-height: 16px;\n }\n\n .input__remove-non-printable {\n color: var(--nile-colors-red-500);\n margin-left: 10px;\n font-size: 14px;\n color: var(--nile-colors-dark-900);\n cursor: pointer;\n }\n\n .input__srtiked-text-container {\n margin-top: 4px;\n color: var(--nile-colors-dark-900);\n word-break: break-all;\n line-height: 16px;\n }\n\n .input__srtiked-text {\n text-decoration: line-through;\n text-decoration-color: var(--nile-colors-white-base);\n color: var(--nile-colors-white-base);\n background-color: var(--nile-colors-red-500);\n }\n"]))));}};});
2
2
  //# sourceMappingURL=nile-input.css.cjs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"nile-input.css.cjs.js","sources":["../../../src/nile-input/nile-input.css.ts"],"sourcesContent":["/**\n * Copyright Aquera Inc 2023\n *\n * This source code is licensed under the BSD-3-Clause license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { css } from 'lit-element';\n\n/**\n * Input CSS\n */\nexport const styles = css`\n :host {\n display: block;\n }\n\n .form-control .form-control__label {\n display: none;\n }\n\n .form-control .form-control__help-text {\n display: none;\n }\n\n /* Label */\n .form-control--has-label .form-control__label {\n display: inline-block;\n color: inherit;\n margin-bottom: 6px;\n color: var(--nile-colors-dark-900);\n font-family: var(--nile-font-family-serif);\n font-size: 14px;\n font-style: normal;\n font-weight: 500;\n line-height: 20px;\n letter-spacing: 0.2px;\n }\n\n .form-control--has-label.form-control--medium .form-control__label {\n font-size: 14px;\n }\n\n :host([required]) .form-control--has-label .form-control__label::after {\n content: '*';\n margin-inline-start: -2px;\n color: #a4121c;\n }\n\n /* Help text */\n .form-control--has-help-text .form-control__help-text {\n display: block;\n color: #7f7f7f;\n margin-top: 6px;\n }\n\n /* Error message */\n .form-control__error-message {\n display: block;\n color: #a4121c;\n margin-top: 12px;\n font-size: 12px;\n font-style: normal;\n line-height: 12px;\n letter-spacing: 0.2px;\n }\n\n .form-control--has-help-text.form-control--medium .form-control__help-text {\n font-size: 10.24px;\n }\n\n .form-control--has-help-text.form-control--radio-group\n .form-control__help-text {\n margin-top: 0.25rem;\n }\n\n .input {\n flex: 1 1 auto;\n display: inline-flex;\n align-items: stretch;\n justify-content: start;\n position: relative;\n width: 100%;\n font-weight: 400;\n vertical-align: middle;\n overflow: hidden;\n cursor: text;\n transition: 150ms color, 150ms border, 150ms box-shadow,\n 150ms background-color;\n box-sizing: border-box;\n color: var(--nile-colors-dark-900);\n font-family: Colfax-regular;\n font-size: 14px;\n font-style: normal;\n line-height: 14px;\n letter-spacing: 0.2px;\n }\n\n /* Standard inputs */\n .input--standard {\n background-color: var(--nile-input-standard-background-color);\n border: solid 1px var(--nile-input-standard-border-color);\n box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05);\n }\n\n .input--standard:hover:not(.input--disabled) {\n background-color: hsl(0, 0%, 100%);\n border-color: #000;\n }\n\n .input--standard.input--focused:not(.input--disabled) {\n background-color: hsl(0, 0%, 100%);\n border-color: #85aad1;\n box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05),\n 0px 0px 0px 4px rgba(133, 170, 209, 0.24);\n }\n\n .input--standard.input--focused:not(.input--disabled) .input__control {\n color: hsl(240 5.3% 26.1%);\n }\n\n .input--standard.input--disabled {\n background-color: #fff;\n border-color: #c7ced4;\n opacity: 0.5;\n cursor: not-allowed;\n }\n\n .input--standard.input--disabled .input__control {\n color: hsl(240 5.9% 10%);\n }\n\n .input--standard.input--disabled .input__control::placeholder {\n color: var(--nile-input-standard-disabled-placeholder-font-color);\n }\n\n .input--standard.input--warning {\n border-color: var(--nile-colors-yellow-500);\n }\n\n .input--standard.input--error {\n border-color: #e5434d;\n }\n\n .input--standard.input--success {\n border-color: #43e5c0;\n }\n\n .input--standard.input--destructive {\n border-color: #fda29b;\n }\n\n .input--standard.input--focused.input--destructive:not(.input--disabled) {\n border: 1px solid #fda29b;\n box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05),\n 0px 0px 0px 4px rgba(240, 68, 56, 0.24);\n }\n\n .input--destructive:active {\n border: 1px solid #fda29b;\n box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05),\n 0px 0px 0px 4px rgba(240, 68, 56, 0.24);\n }\n\n /* Filled inputs */\n .input--filled {\n border: none;\n background-color: hsl(240 4.8% 95.9%);\n color: hsl(240 5.3% 26.1%);\n }\n\n .input--filled:hover:not(.input--disabled) {\n background-color: hsl(240 4.8% 95.9%);\n }\n\n .input--filled.input--focused:not(.input--disabled) {\n background-color: hsl(240 4.8% 95.9%);\n outline: solid 3px hsl(200.4 98% 39.4%);\n outline-offset: 1px;\n }\n\n .input--filled.input--disabled {\n background-color: hsl(240 4.8% 95.9%);\n opacity: 0.5;\n cursor: not-allowed;\n }\n\n .input__control {\n flex: 1 1 auto;\n min-width: 0;\n height: 100%;\n border: none;\n background: none;\n box-shadow: none;\n padding: 0;\n margin: 0;\n cursor: inherit;\n -webkit-appearance: none;\n color: var(--nile-colors-dark-900);\n font-family: var(--nile-font-family-sans-serif);\n font-size: 16px;\n font-style: normal;\n font-weight: 400;\n line-height: 24px;\n letter-spacing: 0.2px;\n }\n\n .input__control::-webkit-search-decoration,\n .input__control::-webkit-search-cancel-button,\n .input__control::-webkit-search-results-button,\n .input__control::-webkit-search-results-decoration {\n -webkit-appearance: none;\n }\n\n .input__control:-webkit-autofill {\n box-shadow: 0 0 0 3.125rem hsl(0, 0%, 100%) inset !important;\n -webkit-text-fill-color: hsl(198.6 88.7% 48.4%);\n caret-color: hsl(240 5.3% 26.1%);\n }\n\n .input__control:-webkit-autofill:hover {\n box-shadow: 0 0 0 3.125rem hsl(0, 0%, 100%) inset !important;\n -webkit-text-fill-color: hsl(198.6 88.7% 48.4%);\n caret-color: hsl(240 5.3% 26.1%);\n }\n\n .input__control:-webkit-autofill:focus {\n box-shadow: 0 0 0 3.125rem hsl(0, 0%, 100%) inset !important;\n -webkit-text-fill-color: hsl(198.6 88.7% 48.4%);\n caret-color: hsl(240 5.3% 26.1%);\n }\n\n .input__control:-webkit-autofill:active {\n box-shadow: 0 0 0 3.125rem hsl(0, 0%, 100%) inset !important;\n -webkit-text-fill-color: hsl(198.6 88.7% 48.4%);\n caret-color: hsl(240 5.3% 26.1%);\n }\n\n .input--filled .input__control:-webkit-autofill {\n box-shadow: 0 0 0 3.125rem hsl(240 4.8% 95.9%) inset !important;\n }\n\n .input--filled .input__control:-webkit-autofill:hover {\n box-shadow: 0 0 0 3.125rem hsl(240 4.8% 95.9%) inset !important;\n }\n\n .input--filled .input__control:-webkit-autofill:focus {\n box-shadow: 0 0 0 3.125rem hsl(240 4.8% 95.9%) inset !important;\n }\n\n .input--filled .input__control:-webkit-autofill:active {\n box-shadow: 0 0 0 3.125rem hsl(240 4.8% 95.9%) inset !important;\n }\n\n .input__control::placeholder {\n color: #667085;\n user-select: none;\n }\n\n .input:hover:not(.input--disabled) .input__control {\n color: #000;\n font-size: 14px;\n line-height: 14px;\n font-style: normal;\n font-weight: 400;\n letter-spacing: 0.2px;\n }\n\n .input__control:focus {\n outline: none;\n }\n\n .input__prefix,\n .input__suffix {\n display: inline-flex;\n flex: 0 0 auto;\n align-items: center;\n cursor: default;\n }\n\n .input__prefix::slotted(nile-icon) {\n color: hsl(240 3.8% 46.1%);\n }\n\n .input__suffix::slotted(nile-icon) {\n color: hsl(240 3.8% 46.1%);\n }\n\n .input--standard:focus {\n border-radius: 4px;\n border: 1px solid #85aad1;\n box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05);\n }\n\n /*\n * Size modifiers\n */\n\n .input--small {\n border-radius: 0.25rem;\n font-size: var(--nile-input-font-size-small);\n height: 1.875rem;\n }\n\n .input--small .input__control {\n height: calc(1.875rem);\n padding: 0 0.75rem;\n }\n\n .input--small .input__clear {\n width: calc(1em + 0.75rem * 2);\n }\n\n .input--small .input__password-toggle {\n width: calc(1em + 0.75rem * 2);\n }\n\n .input--small .input__prefix::slotted(*) {\n margin-inline-start: 0.75rem;\n }\n\n .input--small .input__suffix::slotted(*) {\n margin-inline-end: 0.75rem;\n }\n\n .input--medium {\n border-radius: 0.25rem;\n font-size: var(--nile-input-font-size-medium);\n height: 40px;\n }\n\n .input--medium .input__control {\n height: 14px;\n padding: 12px;\n }\n\n .input--medium .input__clear {\n width: calc(1em + 1rem * 2);\n }\n\n .input--medium .input__password-toggle {\n width: calc(1em + 1rem * 2);\n }\n\n .input--medium .input__prefix::slotted(*) {\n margin-inline-start: 12px;\n }\n\n .input--medium .input__suffix::slotted(*) {\n margin-inline-end: 12px;\n }\n\n .input--large {\n border-radius: 0.25rem;\n font-size: 1.25rem;\n height: 3.125rem;\n }\n\n .input--large .input__control {\n height: calc(3.125rem - 1px * 2);\n padding: 0 1.25rem;\n }\n\n .input--large .input__clear {\n width: calc(1em + 1.25rem * 2);\n }\n\n .input--large .input__password-toggle {\n width: calc(1em + 1.25rem * 2);\n }\n\n .input--large .input__prefix::slotted(*) {\n margin-inline-start: 1.25rem;\n }\n\n .input--large .input__suffix::slotted(*) {\n margin-inline-end: 1.25rem;\n }\n\n /*\n * Pill modifier\n */\n\n .input--pill.input--small {\n border-radius: 1.875rem;\n }\n\n .input--pill.input--medium {\n border-radius: 2.5rem;\n }\n\n .input--pill.input--large {\n border-radius: 3.125rem;\n }\n\n /*\n * Clearable + Password Toggle\n */\n\n .input__clear {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n font-size: inherit;\n color: hsl(240 3.8% 46.1%);\n border: none;\n background: none;\n padding: 0;\n transition: 150ms color;\n cursor: pointer;\n }\n\n .input__password-toggle {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n font-size: inherit;\n color: hsl(240 3.8% 46.1%);\n border: none;\n background: none;\n padding: 0;\n transition: 150ms color;\n cursor: pointer;\n }\n\n .input__clear:hover {\n color: hsl(240 5.2% 33.9%);\n }\n\n .input__password-toggle:hover {\n color: hsl(240 5.2% 33.9%);\n }\n\n .input__clear:focus,\n .input__password-toggle:focus {\n outline: none;\n }\n\n .input--empty .input__clear {\n visibility: hidden;\n }\n\n /* Don't show the browser's password toggle in Edge */\n ::-ms-reveal {\n display: none;\n }\n\n /* Hide the built-in number spinner */\n .input--no-spin-buttons input[type='number']::-webkit-outer-spin-button,\n .input--no-spin-buttons input[type='number']::-webkit-inner-spin-button {\n -webkit-appearance: none;\n display: none;\n }\n\n .input--no-spin-buttons input[type='number'] {\n -moz-appearance: textfield;\n }\n\n :host([no-border]) .input--standard {\n border: none;\n box-shadow: 0 0 0 0;\n }\n\n :host([no-border]) .input--standard:hover:not(.input--disabled) {\n border: none;\n box-shadow: 0 0 0 0;\n }\n\n :host([no-border]) .input--standard.input--focused:not(.input--disabled) {\n border: none;\n box-shadow: 0 0 0 0;\n }\n\n :host([no-border]) .input--standard.input--focused:not(.input--disabled) {\n border: none;\n box-shadow: 0 0 0 0;\n }\n\n .input__password {\n font-family: 'disc';\n }\n\n .input__non-printable {\n border-radius: 4px;\n max-width: 400px;\n background-color: var(--nile-colors-white-base);\n border: 1px solid var(--nile-colors-red-500);\n color: var(--nile-colors-red-500);\n padding: 10px;\n font-size: 12px;\n max-height: 300px;\n overflow-y: scroll;\n line-height: 16px;\n }\n\n .input__remove-non-printable {\n color: var(--nile-colors-red-500);\n margin-left: 10px;\n font-size: 14px;\n color: var(--nile-colors-dark-900);\n cursor: pointer;\n }\n\n .input__srtiked-text-container {\n margin-top: 4px;\n color: var(--nile-colors-dark-900);\n word-break: break-all;\n line-height: 16px;\n }\n\n .input__srtiked-text {\n text-decoration: line-through;\n text-decoration-color: var(--nile-colors-white-base);\n color: var(--nile-colors-white-base);\n background-color: var(--nile-colors-red-500);\n }\n`;\n\nexport default [styles];\n"],"names":["styles","css","_templateObject","_taggedTemplateLiteral"],"mappings":"wXAYaA,CAAAA,CAASC,CAAG,CAAAC,eAAA,GAAAA,eAAA,CAAAC,sBAAA"}
1
+ {"version":3,"file":"nile-input.css.cjs.js","sources":["../../../src/nile-input/nile-input.css.ts"],"sourcesContent":["/**\n * Copyright Aquera Inc 2023\n *\n * This source code is licensed under the BSD-3-Clause license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { css } from 'lit-element';\n\n/**\n * Input CSS\n */\nexport const styles = css`\n :host {\n display: block;\n }\n\n .form-control .form-control__label {\n display: none;\n }\n\n .form-control .form-control__help-text {\n display: none;\n }\n\n /* Label */\n .form-control--has-label .form-control__label {\n display: inline-block;\n color: inherit;\n margin-bottom: 6px;\n color: var(--nile-colors-dark-900);\n font-family: var(--nile-font-family-serif);\n font-size: 14px;\n font-style: normal;\n font-weight: 500;\n line-height: 20px;\n letter-spacing: 0.2px;\n }\n\n .form-control--has-label.form-control--medium .form-control__label {\n font-size: 14px;\n }\n\n :host([required]) .form-control--has-label .form-control__label::after {\n content: '*';\n margin-inline-start: -2px;\n color: #a4121c;\n }\n\n /* Help text */\n .form-control--has-help-text .form-control__help-text {\n display: block;\n color: #7f7f7f;\n margin-top: 6px;\n }\n\n /* Error message */\n .form-control__error-message {\n display: block;\n color: #a4121c;\n margin-top: 12px;\n font-size: 12px;\n font-style: normal;\n line-height: 12px;\n letter-spacing: 0.2px;\n }\n\n .form-control--has-help-text.form-control--medium .form-control__help-text {\n font-size: 10.24px;\n }\n\n .form-control--has-help-text.form-control--radio-group\n .form-control__help-text {\n margin-top: 0.25rem;\n }\n\n .input {\n flex: 1 1 auto;\n display: inline-flex;\n align-items: stretch;\n justify-content: start;\n position: relative;\n width: 100%;\n font-weight: 400;\n vertical-align: middle;\n overflow: hidden;\n cursor: text;\n transition: 150ms color, 150ms border, 150ms box-shadow,\n 150ms background-color;\n box-sizing: border-box;\n color: var(--nile-colors-dark-900);\n font-family: Colfax-regular;\n font-size: 14px;\n font-style: normal;\n line-height: 14px;\n letter-spacing: 0.2px;\n }\n\n /* Standard inputs */\n .input--standard {\n background-color: var(--nile-input-standard-background-color);\n border: solid 1px var(--nile-input-standard-border-color);\n box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05);\n }\n\n .input--standard:hover:not(.input--disabled) {\n background-color: hsl(0, 0%, 100%);\n border-color: #000;\n }\n\n .input--standard.input--focused:not(.input--disabled) {\n background-color: hsl(0, 0%, 100%);\n border-color: #85aad1;\n box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05),\n 0px 0px 0px 4px rgba(133, 170, 209, 0.24);\n }\n\n .input--standard.input--focused:not(.input--disabled) .input__control {\n color: hsl(240 5.3% 26.1%);\n }\n\n .input--standard.input--disabled {\n background-color: #fff;\n border-color: #c7ced4;\n opacity: 0.5;\n cursor: not-allowed;\n }\n\n .input--standard.input--disabled .input__control {\n color: hsl(240 5.9% 10%);\n }\n\n .input--standard.input--disabled .input__control::placeholder {\n color: var(--nile-input-standard-disabled-placeholder-font-color);\n }\n\n .input--standard.input--warning {\n border-color: var(--nile-colors-yellow-500);\n }\n\n .input--standard.input--error {\n border-color: #e5434d;\n }\n\n .input--standard.input--success {\n border-color: #43e5c0;\n }\n\n .input--standard.input--destructive {\n border-color: #fda29b;\n }\n\n .input--standard.input--focused.input--destructive:not(.input--disabled) {\n border: 1px solid #fda29b;\n box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05),\n 0px 0px 0px 4px rgba(240, 68, 56, 0.24);\n }\n\n .input--destructive:active {\n border: 1px solid #fda29b;\n box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05),\n 0px 0px 0px 4px rgba(240, 68, 56, 0.24);\n }\n\n /* Filled inputs */\n .input--filled {\n border: none;\n background-color: hsl(240 4.8% 95.9%);\n color: hsl(240 5.3% 26.1%);\n }\n\n .input--filled:hover:not(.input--disabled) {\n background-color: hsl(240 4.8% 95.9%);\n }\n\n .input--filled.input--focused:not(.input--disabled) {\n background-color: hsl(240 4.8% 95.9%);\n outline: solid 3px hsl(200.4 98% 39.4%);\n outline-offset: 1px;\n }\n\n .input--filled.input--disabled {\n background-color: hsl(240 4.8% 95.9%);\n opacity: 0.5;\n cursor: not-allowed;\n }\n\n .input__control {\n flex: 1 1 auto;\n min-width: 0;\n height: 100%;\n border: none;\n background: none;\n box-shadow: none;\n padding: 0;\n margin: 0;\n cursor: inherit;\n -webkit-appearance: none;\n color: var(--nile-colors-dark-900);\n font-family: var(--nile-font-family-sans-serif);\n font-size: 16px;\n font-style: normal;\n font-weight: 400;\n line-height: 24px;\n letter-spacing: 0.2px;\n }\n\n .input__control::-webkit-search-decoration,\n .input__control::-webkit-search-cancel-button,\n .input__control::-webkit-search-results-button,\n .input__control::-webkit-search-results-decoration {\n -webkit-appearance: none;\n }\n\n .input__control:-webkit-autofill {\n box-shadow: 0 0 0 3.125rem hsl(0, 0%, 100%) inset !important;\n -webkit-text-fill-color: hsl(198.6 88.7% 48.4%);\n caret-color: hsl(240 5.3% 26.1%);\n }\n\n .input__control:-webkit-autofill:hover {\n box-shadow: 0 0 0 3.125rem hsl(0, 0%, 100%) inset !important;\n -webkit-text-fill-color: hsl(198.6 88.7% 48.4%);\n caret-color: hsl(240 5.3% 26.1%);\n }\n\n .input__control:-webkit-autofill:focus {\n box-shadow: 0 0 0 3.125rem hsl(0, 0%, 100%) inset !important;\n -webkit-text-fill-color: hsl(198.6 88.7% 48.4%);\n caret-color: hsl(240 5.3% 26.1%);\n }\n\n .input__control:-webkit-autofill:active {\n box-shadow: 0 0 0 3.125rem hsl(0, 0%, 100%) inset !important;\n -webkit-text-fill-color: hsl(198.6 88.7% 48.4%);\n caret-color: hsl(240 5.3% 26.1%);\n }\n\n .input--filled .input__control:-webkit-autofill {\n box-shadow: 0 0 0 3.125rem hsl(240 4.8% 95.9%) inset !important;\n }\n\n .input--filled .input__control:-webkit-autofill:hover {\n box-shadow: 0 0 0 3.125rem hsl(240 4.8% 95.9%) inset !important;\n }\n\n .input--filled .input__control:-webkit-autofill:focus {\n box-shadow: 0 0 0 3.125rem hsl(240 4.8% 95.9%) inset !important;\n }\n\n .input--filled .input__control:-webkit-autofill:active {\n box-shadow: 0 0 0 3.125rem hsl(240 4.8% 95.9%) inset !important;\n }\n\n .input__control::placeholder {\n color: #667085;\n user-select: none;\n }\n\n .input:hover:not(.input--disabled) .input__control {\n color: #000;\n }\n\n .input__control:focus {\n outline: none;\n }\n\n .input__prefix,\n .input__suffix {\n display: inline-flex;\n flex: 0 0 auto;\n align-items: center;\n cursor: default;\n }\n\n .input__prefix::slotted(nile-icon) {\n color: hsl(240 3.8% 46.1%);\n }\n\n .input__suffix::slotted(nile-icon) {\n color: hsl(240 3.8% 46.1%);\n }\n\n .input--standard:focus {\n border-radius: 4px;\n border: 1px solid #85aad1;\n box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05);\n }\n\n /*\n * Size modifiers\n */\n\n .input--small {\n border-radius: 0.25rem;\n font-size: var(--nile-input-font-size-small);\n height: 1.875rem;\n }\n\n .input--small .input__control {\n height: calc(1.875rem);\n padding: 0 0.75rem;\n }\n\n .input--small .input__clear {\n width: calc(1em + 0.75rem * 2);\n }\n\n .input--small .input__password-toggle {\n width: calc(1em + 0.75rem * 2);\n }\n\n .input--small .input__prefix::slotted(*) {\n margin-inline-start: 0.75rem;\n }\n\n .input--small .input__suffix::slotted(*) {\n margin-inline-end: 0.75rem;\n }\n\n .input--medium {\n border-radius: 0.25rem;\n font-size: var(--nile-input-font-size-medium);\n height: 40px;\n }\n\n .input--medium .input__control {\n height: 14px;\n padding: 12px;\n }\n\n .input--medium .input__clear {\n width: calc(1em + 1rem * 2);\n }\n\n .input--medium .input__password-toggle {\n width: calc(1em + 1rem * 2);\n }\n\n .input--medium .input__prefix::slotted(*) {\n margin-inline-start: 12px;\n }\n\n .input--medium .input__suffix::slotted(*) {\n margin-inline-end: 12px;\n }\n\n .input--large {\n border-radius: 0.25rem;\n font-size: 1.25rem;\n height: 3.125rem;\n }\n\n .input--large .input__control {\n height: calc(3.125rem - 1px * 2);\n padding: 0 1.25rem;\n }\n\n .input--large .input__clear {\n width: calc(1em + 1.25rem * 2);\n }\n\n .input--large .input__password-toggle {\n width: calc(1em + 1.25rem * 2);\n }\n\n .input--large .input__prefix::slotted(*) {\n margin-inline-start: 1.25rem;\n }\n\n .input--large .input__suffix::slotted(*) {\n margin-inline-end: 1.25rem;\n }\n\n /*\n * Pill modifier\n */\n\n .input--pill.input--small {\n border-radius: 1.875rem;\n }\n\n .input--pill.input--medium {\n border-radius: 2.5rem;\n }\n\n .input--pill.input--large {\n border-radius: 3.125rem;\n }\n\n /*\n * Clearable + Password Toggle\n */\n\n .input__clear {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n font-size: inherit;\n color: hsl(240 3.8% 46.1%);\n border: none;\n background: none;\n padding: 0;\n transition: 150ms color;\n cursor: pointer;\n }\n\n .input__password-toggle {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n font-size: inherit;\n color: hsl(240 3.8% 46.1%);\n border: none;\n background: none;\n padding: 0;\n transition: 150ms color;\n cursor: pointer;\n }\n\n .input__clear:hover {\n color: hsl(240 5.2% 33.9%);\n }\n\n .input__password-toggle:hover {\n color: hsl(240 5.2% 33.9%);\n }\n\n .input__clear:focus,\n .input__password-toggle:focus {\n outline: none;\n }\n\n .input--empty .input__clear {\n visibility: hidden;\n }\n\n /* Don't show the browser's password toggle in Edge */\n ::-ms-reveal {\n display: none;\n }\n\n /* Hide the built-in number spinner */\n .input--no-spin-buttons input[type='number']::-webkit-outer-spin-button,\n .input--no-spin-buttons input[type='number']::-webkit-inner-spin-button {\n -webkit-appearance: none;\n display: none;\n }\n\n .input--no-spin-buttons input[type='number'] {\n -moz-appearance: textfield;\n }\n\n :host([no-border]) .input--standard {\n border: none;\n box-shadow: 0 0 0 0;\n }\n\n :host([no-border]) .input--standard:hover:not(.input--disabled) {\n border: none;\n box-shadow: 0 0 0 0;\n }\n\n :host([no-border]) .input--standard.input--focused:not(.input--disabled) {\n border: none;\n box-shadow: 0 0 0 0;\n }\n\n :host([no-border]) .input--standard.input--focused:not(.input--disabled) {\n border: none;\n box-shadow: 0 0 0 0;\n }\n\n .input__password {\n font-family: 'disc';\n }\n\n .input__non-printable {\n border-radius: 4px;\n max-width: 400px;\n background-color: var(--nile-colors-white-base);\n border: 1px solid var(--nile-colors-red-500);\n color: var(--nile-colors-red-500);\n padding: 10px;\n font-size: 12px;\n max-height: 300px;\n overflow-y: scroll;\n line-height: 16px;\n }\n\n .input__remove-non-printable {\n color: var(--nile-colors-red-500);\n margin-left: 10px;\n font-size: 14px;\n color: var(--nile-colors-dark-900);\n cursor: pointer;\n }\n\n .input__srtiked-text-container {\n margin-top: 4px;\n color: var(--nile-colors-dark-900);\n word-break: break-all;\n line-height: 16px;\n }\n\n .input__srtiked-text {\n text-decoration: line-through;\n text-decoration-color: var(--nile-colors-white-base);\n color: var(--nile-colors-white-base);\n background-color: var(--nile-colors-red-500);\n }\n`;\n\nexport default [styles];\n"],"names":["styles","css","_templateObject","_taggedTemplateLiteral"],"mappings":"wXAYaA,CAAAA,CAASC,CAAG,CAAAC,eAAA,GAAAA,eAAA,CAAAC,sBAAA"}
@@ -247,11 +247,6 @@ import{i as o}from"../index-0a3007c5.esm.js";const t=o`
247
247
 
248
248
  .input:hover:not(.input--disabled) .input__control {
249
249
  color: #000;
250
- font-size: 14px;
251
- line-height: 14px;
252
- font-style: normal;
253
- font-weight: 400;
254
- letter-spacing: 0.2px;
255
250
  }
256
251
 
257
252
  .input__control:focus {