Liferay.Loader.define("commerce-frontend-taglib@19.1.14/add_organizations_modal/OrganizationInputItem.soy",["module","exports","require","frontend-js-metal-web$metal-component","frontend-js-metal-web$metal-soy"],(function(e,t,n){window;{Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.templates=t.OrganizationInputItem=void 0;var a,o=_interopRequireDefault(n("frontend-js-metal-web$metal-component")),r=_interopRequireDefault(n("frontend-js-metal-web$metal-soy"));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}t.templates=a,goog.loadModule((function(e){var t=goog.require("soy");goog.require("soydata"),goog.module("OrganizationInputItem.incrementaldom"),goog.require("goog.soy.data.SanitizedContent");var n=goog.require("incrementaldom");goog.require("soy.asserts");var o=goog.require("soy.idom"),i=r.default.getTemplate("ClayIcon.incrementaldom","render");function $render(e,a,r){a=r||a;var s=t.asserts.assertType(null==e.name||goog.isString(e.name)||e.name instanceof goog.soy.data.SanitizedContent,"name",e.name,"!goog.soy.data.SanitizedContent|null|string|undefined"),m=t.asserts.assertType(goog.isString(e.spritemap)||e.spritemap instanceof goog.soy.data.SanitizedContent,"spritemap",e.spritemap,"!goog.soy.data.SanitizedContent|string"),d=e._handleRemoveItem;n.elementOpenStart("span"),n.attr("class","added-input-item"),n.elementOpenEnd(),n.elementOpenStart("span"),n.attr("class","added-input-item__text"),n.elementOpenEnd(),o.print(s),n.elementClose("span"),n.elementOpenStart("button"),n.attr("class","added-input-item__delete"),n.attr("data-onclick",d),n.elementOpenEnd(),i({spritemap:m,symbol:"times"},null,a),n.elementClose("button"),n.elementClose("span")}return e.render=$render,$render.Params,goog.DEBUG&&($render.soyTemplateName="OrganizationInputItem.render"),e.render.params=["name","spritemap","_handleRemoveItem"],e.render.types={name:"string ",spritemap:"string ",_handleRemoveItem:"?"},e.templates=a=e,e}));class OrganizationInputItem extends o.default{}t.OrganizationInputItem=OrganizationInputItem,r.default.register(OrganizationInputItem,a);var i=a;t.default=i}}));
//# sourceMappingURL=OrganizationInputItem.soy.js.map