1"use strict";(self.webpackChunkfrontend_build_tools=self.webpackChunkfrontend_build_tools||[]).push([[395,969],{2969:function(t,e,n){function r(t){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}function o(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,u(r.key),r)}}function u(t){var e=function(t){if("object"!=r(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=r(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==r(e)?e:e+""}function c(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(c=function(){return!!t})()}function i(t){return i=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},i(t)}function a(t,e){return a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},a(t,e)}n(2675),n(9463),n(2259),n(5700),n(3792),n(9572),n(2892),n(875),n(6099),n(825),n(7764),n(2953);var f=function(t){function e(t){var n;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),(n=function(t,e,n){return e=i(e),function(t,e){if(e&&("object"==r(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,c()?Reflect.construct(e,n||[],i(t).constructor):e.apply(t,n))}(this,e,[t])).el=t,n.log("Example Feauture Init"),t.addEventListener("click",function(e){e.target&&e.target.matches("button.say")&&(n.log("Button element clicked!"),n.print(t.querySelector(".what").value))},!1),n}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&a(t,e)}(e,t),n=e,(u=[{key:"getTimestamp",value:function(t){return t.getHours()+":"+t.getMinutes()+":"+t.getSeconds()}},{key:"print",value:function(t){this.log("JavaScript says:",t);var e=this.getTimestamp(new Date),n=document.createTextNode("[".concat(e,"] ")+t+"\n");return this.el.querySelector(".log").appendChild(n),t}}])&&o(n.prototype,u),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,u}(n(854).A);e.default=f},7395:function(t,e,n){var r=n(2969);document.body.innerHTML='<div data-behavior="example-feature">\n\t<h2>JavaScript Example Component</h2>\n\t<input class="what" type="text" value="">\n\t<button class="say">Speak with JavaScript</button>\n\t<pre class="log"></pre>\n</div>',describe("Hello function",function(){var t=document.querySelector("[data-behavior]"),e=new r.default(t);it("should return hello world",function(){var t=e.print("Hello World!");expect(t).toMatchSnapshot(),expect(t).toBe("Hello World!")}),it("should make a timestamp in the [H:M:S] format",function(){var t=e.getTimestamp(new Date("10/24/2016, 11:08:42 AM"));expect(t).toMatchSnapshot(),expect(t).toBe("11:8:42")})})},566:function(t,e,n){var r=n(9504),o=n(9306),u=n(34),c=n(9297),i=n(7680),a=n(616),f=Function,l=r([].concat),p=r([].join),s={};t.exports=a?f.bind:function(t){var e=o(this),n=e.prototype,r=i(arguments,1),a=function(){var n=l(r,i(arguments));return this instanceof a?function(t,e,n){if(!c(s,e)){for(var r=[],o=0;o<e;o++)r[o]="a["+o+"]";s[e]=f("C,a","return new C("+p(r,",")+")")}return s[e](t,n)}(e,n.length,n):e.apply(t,n)};return u(n)&&(a.prototype=n),a}},875:function(t,e,n){var r=n(6518),o=n(9039),u=n(8981),c=n(2787),i=n(2211);r({target:"Object",stat:!0,forced:o(function(){c(1)}),sham:!i},{getPrototypeOf:function(t){return c(u(t))}})},825:function(t,e,n){var r=n(6518),o=n(7751),u=n(8745),c=n(566),i=n(5548),a=n(8551),f=n(34),l=n(2360),p=n(9039),s=o("Reflect","construct"),y=Object.prototype,b=[].push,v=p(function(){function t(){}return!(s(function(){},[],t)instanceof t)}),h=!p(function(){s(function(){})}),d=v||h;r({target:"Reflect",stat:!0,forced:d,sham:d},{construct:function(t,e){i(t),a(e);var n=arguments.length<3?t:i(arguments[2]);if(h&&!v)return s(t,e,n);if(t===n){switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3])}
1var r=[null];return u(b,r,e),new(u(c,t,r))}var o=n.prototype,p=l(f(o)?o:y),d=u(t,p,e);return f(d)?d:p}})}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.