| ***************************************************************************** */var n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)};function r(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}function i(t,e,n,r){return new(n||(n=Promise))((function(i,s){function o(t){try{c(r.next(t))}catch(t){s(t)}}function u(t){try{c(r.throw(t))}catch(t){s(t)}}function c(t){t.done?i(t.value):function e(t){return t instanceof n?t:new n((function(e){e(t)}))}(t.value).then(o,u)}c((r=r.apply(t,e||[])).next())}))}function s(t,e){var n,r,i,s,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return s={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(s[Symbol.iterator]=function(){return this}),s;function u(s){return function(u){return function c(s){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,r&&(i=2&s[0]?r.return:s[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,s[1])).done)return i;switch(r=0,i&&(s=[2&s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return o.label++,{value:s[1],done:!1};case 5:o.label++,r=s[1],s=[0];continue;case 7:s=o.ops.pop(),o.trys.pop();continue;default:if(!((i=(i=o.trys).length>0&&i[i.length-1])||6!==s[0]&&2!==s[0])){o=0;continue}if(3===s[0]&&(!i||s[1]>i[0]&&s[1]<i[3])){o.label=s[1];break}if(6===s[0]&&o.label<i[1]){o.label=i[1],i=s;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(s);break}i[2]&&o.ops.pop(),o.trys.pop();continue}s=e.call(t,o)}catch(t){s=[6,t],r=0}finally{n=i=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,u])}}}var o=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return r(n,t),n.with=function(t){return void 0===t&&(t={}),new e.HarnessPredicate(n,t)},n.prototype.click=function(){return i(this,void 0,void 0,(function(){return s(this,(function(t){switch(t.label){case 0:return[4,this.host()];case 1:return[2,t.sent().click()]}}))}))},n}(e.ComponentHarness);o.hostSelector=".mat-chip-remove";var u=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return r(n,t),n.with=function(t){var r=this;return void 0===t&&(t={}),new e.HarnessPredicate(n,t).addOption("text",t.text,(function(t,n){return e.HarnessPredicate.stringMatches(t.getText(),n)})).addOption("selected",t.selected,(function(t,e){return i(r,void 0,void 0,(function(){return s(this,(function(n){switch(n.label){case 0:return[4,t.isSelected()];case 1:return[2,n.sent()===e]}}))}))}))},n.prototype.getText=function(){return i(this,void 0,void 0,(function(){return s(this,(function(t){switch(t.label){case 0:return[4,this.host()];case 1:return[2,t.sent().text({exclude:".mat-chip-avatar, .mat-chip-trailing-icon, .mat-icon"})]}}))}))},n.prototype.isSelected=function(){return i(this,void 0,void 0,(function(){return s(this,(function(t){switch(t.label){case 0:return[4,this.host()];case 1:return[2,t.sent().hasClass("mat-chip-selected")]}}))}))},n.prototype.isDisabled=function(){return i(this,void 0,void 0,(function(){return s(this,(function(t){switch(t.label){case 0:return[4,this.host()];case 1:return[2,t.sent().hasClass("mat-chip-disabled")]}}))}))},n.prototype.select=function(){return i(this,void 0,void 0,(function(){return s(this,(function(t){switch(t.label){case 0:return[4,this.isSelected()];case 1:return t.sent()?[3,3]:[4,this.toggle()];case 2:t.sent(),t.label=3;case 3:return[2]}}))}))},n.prototype.deselect=function(){return i(this,void 0,void 0,(function(){return s(this,(function(t){switch(t.label){case 0:return[4,this.isSelected()];case 1:return t.sent()?[4,this.toggle()]:[3,3];case 2:t.sent(),t.label=3;case 3:return[2]}}))}))},n.prototype.toggle=function(){return i(this,void 0,void 0,(function(){return s(this,(function(t){switch(t.label){case 0:return[4,this.host()];case 1:return[2,t.sent().sendKeys(" ")]}}))}))},n.prototype.remove=function(){return i(this,void 0,void 0,(function(){return s(this,(function(t){switch(t.label){case 0:return[4,this.host()];case 1:return[4,t.sent().sendKeys(e.TestKey.DELETE)];case 2:return t.sent(),[2]}}))}))},n.prototype.getRemoveButton=function(t){return void 0===t&&(t={}),i(this,void 0,void 0,(function(){return s(this,(function(e){return[2,this.locatorFor(o.with(t))()]}))}))},n}(e.ComponentHarness);u.hostSelector=".mat-chip";var c=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return r(n,t),n.with=function(t){var r=this;return void 0===t&&(t={}),new e.HarnessPredicate(n,t).addOption("value",t.value,(function(t,e){return i(r,void 0,void 0,(function(){return s(this,(function(n){switch(n.label){case 0:return[4,t.getValue()];case 1:return[2,n.sent()===e]}}))}))})).addOption("placeholder",t.placeholder,(function(t,e){return i(r,void 0,void 0,(function(){return s(this,(function(n){switch(n.label){case 0:return[4,t.getPlaceholder()];case 1:return[2,n.sent()===e]}}))}))}))},n.prototype.isDisabled=function(){return i(this,void 0,void 0,(function(){return s(this,(function(t){switch(t.label){case 0:return[4,this.host()];case 1:return[2,t.sent().getProperty("disabled")]}}))}))},n.prototype.isRequired=function(){return i(this,void 0,void 0,(function(){return s(this,(function(t){switch(t.label){case 0:return[4,this.host()];case 1:return[2,t.sent().getProperty("required")]}}))}))},n.prototype.getValue=function(){return i(this,void 0,void 0,(function(){return s(this,(function(t){switch(t.label){case 0:return[4,this.host()];case 1:return[4,t.sent().getProperty("value")];case 2:return[2,t.sent()]}}))}))},n.prototype.getPlaceholder=function(){return i(this,void 0,void 0,(function(){return s(this,(function(t){switch(t.label){case 0:return[4,this.host()];case 1:return[4,t.sent().getProperty("placeholder")];case 2:return[2,t.sent()]}}))}))},n.prototype.focus=function(){return i(this,void 0,void 0,(function(){return s(this,(function(t){switch(t.label){case 0:return[4,this.host()];case 1:return[2,t.sent().focus()]}}))}))},n.prototype.blur=function(){return i(this,void 0,void 0,(function(){return s(this,(function(t){switch(t.label){case 0:return[4,this.host()];case 1:return[2,t.sent().blur()]}}))}))},n.prototype.isFocused=function(){return i(this,void 0,void 0,(function(){return s(this,(function(t){switch(t.label){case 0:return[4,this.host()];case 1:return[2,t.sent().isFocused()]}}))}))},n.prototype.setValue=function(t){return i(this,void 0,void 0,(function(){var e;return s(this,(function(n){switch(n.label){case 0:return[4,this.host()];case 1:return[4,(e=n.sent()).clear()];case 2:return n.sent(),t?[4,e.sendKeys(t)]:[3,4];case 3:n.sent(),n.label=4;case 4:return[2]}}))}))},n.prototype.sendSeparatorKey=function(t){return i(this,void 0,void 0,(function(){return s(this,(function(e){switch(e.label){case 0:return[4,this.host()];case 1:return[2,e.sent().sendKeys(t)]}}))}))},n}(e.ComponentHarness);c.hostSelector=".mat-chip-input";var a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.isDisabled=function(){return i(this,void 0,void 0,(function(){return s(this,(function(t){switch(t.label){case 0:return[4,this.host()];case 1:return[4,t.sent().getAttribute("aria-disabled")];case 2:return[2,"true"===t.sent()]}}))}))},e.prototype.isRequired=function(){return i(this,void 0,void 0,(function(){return s(this,(function(t){switch(t.label){case 0:return[4,this.host()];case 1:return[4,t.sent().getAttribute("aria-required")];case 2:return[2,"true"===t.sent()]}}))}))},e.prototype.isInvalid=function(){return i(this,void 0,void 0,(function(){return s(this,(function(t){switch(t.label){case 0:return[4,this.host()];case 1:return[4,t.sent().getAttribute("aria-invalid")];case 2:return[2,"true"===t.sent()]}}))}))},e.prototype.isMultiple=function(){return i(this,void 0,void 0,(function(){return s(this,(function(t){switch(t.label){case 0:return[4,this.host()];case 1:return[4,t.sent().getAttribute("aria-multiselectable")];case 2:return[2,"true"===t.sent()]}}))}))},e.prototype.getOrientation=function(){return i(this,void 0,void 0,(function(){return s(this,(function(t){switch(t.label){case 0:return[4,this.host()];case 1:return[4,t.sent().getAttribute("aria-orientation")];case 2:return[2,"vertical"===t.sent()?"vertical":"horizontal"]}}))}))},e}(e.ComponentHarness),h=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return r(n,t),n.with=function(t){return void 0===t&&(t={}),new e.HarnessPredicate(n,t)},n.prototype.getChips=function(t){return void 0===t&&(t={}),i(this,void 0,void 0,(function(){return s(this,(function(e){return[2,this.locatorForAll(u.with(t))()]}))}))},n.prototype.selectChips=function(t){return void 0===t&&(t={}),i(this,void 0,void 0,(function(){var n;return s(this,(function(r){switch(r.label){case 0:return[4,this.getChips(t)];case 1:if(!(n=r.sent()).length)throw Error("Cannot find chip matching filter "+JSON.stringify(t));return[4,e.parallel((function(){return n.map((function(t){return t.select()}))}))];case 2:return r.sent(),[2]}}))}))},n.prototype.getInput=function(t){return void 0===t&&(t={}),i(this,void 0,void 0,(function(){var e;return s(this,(function(n){switch(n.label){case 0:return[4,this.host()];case 1:return[4,n.sent().getAttribute("data-mat-chip-input")];case 2:if(!(e=n.sent()))throw Error("Chip list is not associated with an input");return[2,this.documentRootLocatorFactory().locatorFor(c.with(Object.assign(Object.assign({},t),{selector:"#"+e})))()]}}))}))},n}(a);h.hostSelector=".mat-chip-list";var l=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return r(n,t),n.with=function(t){var r=this;return void 0===t&&(t={}),new e.HarnessPredicate(n,t).addOption("text",t.text,(function(t,n){return e.HarnessPredicate.stringMatches(t.getText(),n)})).addOption("selected",t.selected,(function(t,e){return i(r,void 0,void 0,(function(){return s(this,(function(n){switch(n.label){case 0:return[4,t.isSelected()];case 1:return[2,n.sent()===e]}}))}))}))},n.prototype.isSelected=function(){return i(this,void 0,void 0,(function(){return s(this,(function(t){switch(t.label){case 0:return[4,this.host()];case 1:return[2,t.sent().hasClass("mat-chip-selected")]}}))}))},n.prototype.select=function(){return i(this,void 0,void 0,(function(){return s(this,(function(t){switch(t.label){case 0:return[4,this.isSelected()];case 1:return t.sent()?[3,3]:[4,this.toggle()];case 2:t.sent(),t.label=3;case 3:return[2]}}))}))},n.prototype.deselect=function(){return i(this,void 0,void 0,(function(){return s(this,(function(t){switch(t.label){case 0:return[4,this.isSelected()];case 1:return t.sent()?[4,this.toggle()]:[3,3];case 2:t.sent(),t.label=3;case 3:return[2]}}))}))},n.prototype.toggle=function(){return i(this,void 0,void 0,(function(){return s(this,(function(t){switch(t.label){case 0:return[4,this.host()];case 1:return[2,t.sent().sendKeys(" ")]}}))}))},n}(u);l.hostSelector=".mat-chip";var f=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return r(n,t),n.with=function(t){return void 0===t&&(t={}),new e.HarnessPredicate(n,t)},n.prototype.getChips=function(t){return void 0===t&&(t={}),i(this,void 0,void 0,(function(){return s(this,(function(e){return[2,this.locatorForAll(l.with(t))()]}))}))},n.prototype.selectChips=function(t){return void 0===t&&(t={}),i(this,void 0,void 0,(function(){var n;return s(this,(function(r){switch(r.label){case 0:return[4,this.getChips(t)];case 1:if(!(n=r.sent()).length)throw Error("Cannot find chip matching filter "+JSON.stringify(t));return[4,e.parallel((function(){return n.map((function(t){return t.select()}))}))];case 2:return r.sent(),[2]}}))}))},n}(a);f.hostSelector=".mat-chip-list", |