goog.require("twig");goog.provide("twig.templates");goog.require("twig.filter");twig.templates["widget_buynow.twig"]=function(env){twig.Template.call(this,env)};twig.inherits(twig.templates["widget_buynow.twig"],twig.Template);twig.templates["widget_buynow.twig"].prototype.getParent_=function(context){return false};twig.templates["widget_buynow.twig"].prototype.render_=function(sb,context,blocks){blocks=typeof blocks=="undefined"?{}:blocks;sb.append('<div class="bk-buynow  buynow widget__buynow">\n');if(twig.attr("app"in context?context["app"]:null,"maintenance")){sb.append('    <div class="maintenance-mode js-maintenance">\n        <h1 class="buynow-form__maintenance-title">');sb.append(twig.filter.escape(this.env_,App.t("widgets.buynow.maintenance_title","We’re temporarily offline for maintenance"),"html",null,true));sb.append('</h1>\n        <p class="buynow-form__maintenance-copy">');sb.append(twig.filter.escape(this.env_,App.t("widgets.buynow.maintenance_copy1","Every now and then we have to disable access to the editor whilst we make improvements to speed things up for yourself and visitors to your site."),"html",null,true));sb.append('</p>\n        <p class="buynow-form__maintenance-copy">');sb.append(twig.filter.escape(this.env_,App.t("widgets.buynow.maintenance_copy2","These upgrades are usually pretty quick, so we’ll be back up soon!"),"html",null,true));sb.append("</p>\n    </div>\n")}else{sb.append("    ");context["freePackage"]=false;sb.append("    ");if(twig.attr("data"in context?context["data"]:null,"packageData")&&twig.attr(twig.attr("data"in context?context["data"]:null,"packageData"),"price")=="0.00"){sb.append("        ");context["freePackage"]=true;sb.append("    ")}sb.append('    <form class="widget-buynow-container">\n        <ul class="widget-buynow-container-list">\n            <li>\n                <span class="widget-buynow-title">');sb.append(twig.filter.escape(this.env_,App.t("widgets.buynow.your_detials","Your details"),"html",null,true));sb.append("</span>\n\n                ");if(twig.attr("data"in context?context["data"]:null,"showNames")==true){sb.append('                    <div>\n                        <label title="');sb.append(twig.filter.escape(this.env_,App.t("widgets.buynow.first_name","First name"),"html",null,true));sb.append('">');sb.append(twig.filter.escape(this.env_,App.t("widgets.buynow.first_name","First name"),"html",null,true));sb.append('</label>\n                        <input type="text" name="firstname" class="widget-buynow-first-name js-input-buynow-first-name" title=');sb.append(twig.filter.escape(this.env_,App.t("widgets.buynow.first_name","First name"),"html",null,true));sb.append(' placeholder="');sb.append(twig.filter.escape(this.env_,App.t("widgets.buynow.first_name","First name"),"html",null,true));sb.append("\">\n                        <span class='filed-error-firstName errors'></span>\n                    </div>\n                    <div>\n                        <label title=\"");sb.append(twig.filter.escape(this.env_,App.t("widgets.buynow.last_name","Last name"),"html",null,true));sb.append('">');sb.append(twig.filter.escape(this.env_,App.t("widgets.buynow.last_name","Last name"),"html",null,true));sb.append('</label>\n                        <input type="text" name="lastname" class="widget-buynow-last-name js-input-buynow-last-name" title="');sb.append(twig.filter.escape(this.env_,App.t("widgets.buynow.last_name","Last name"),"html",null,true));sb.append('" placeholder="');sb.append(twig.filter.escape(this.env_,App.t("widgets.buynow.last_name","Last name"),"html",null,true));sb.append("\">\n                        <span class='filed-error-lastName errors'></span>\n                    </div>\n                ")}sb.append('\n                <div>\n                    <label title="');sb.append(twig.filter.escape(this.env_,App.t("widgets.buynow.account","Account"),"html",null,true));sb.append('">');sb.append(twig.filter.escape(this.env_,App.t("widgets.buynow.account","Account"),"html",null,true));sb.append('</label>\n                    <input type="email" name="Account" class="widget-buynow-email bk-standard-input js-input-buynow-email" title="');sb.append(twig.filter.escape(this.env_,App.t("widgets.buynow.account","Account"),"html",null,true));sb.append('" placeholder="me@example.com">\n                    <span class=\'filed-error-email errors\'></span>\n                </div>\n                <div>\n                    <label title="');sb.append(twig.filter.escape(this.env_,App.t("widgets.buynow.password","Password"),"html",null,true));sb.append('">');sb.append(twig.filter.escape(this.env_,App.t("widgets.buynow.password","Password"),"html",null,true));sb.append('</label>\n                    <input type="password" class="password js-input-password" title="');sb.append(twig.filter.escape(this.env_,App.t("widgets.buynow.password","Password"),"html",null,true));sb.append('" placeholder="');sb.append(twig.filter.escape(this.env_,App.t("widgets.buynow.password","Password"),"html",null,true));sb.append('">\n                    <span class=\'filed-error-password errors\'></span>\n                    <button class="password-mask-toggle js-password-mask-toggle-btn" type="button" aria-controls="password">');sb.append(twig.filter.escape(this.env_,App.t("widgets.buynow.show","Show"),"html",null,true));sb.append("</button>\n                </div>\n            </li>\n\n            ");if(("freePackage"in context?context["freePackage"]:null)==false){sb.append("            <li>\n                ");if(twig.attr("data"in context?context["data"]:null,"paymentMethods")&&twig.filter.length(this.env_,twig.attr("data"in context?context["data"]:null,"paymentMethods"))>0){sb.append('                    <span class="widget-buynow-title">');sb.append(twig.filter.escape(this.env_,App.t("widgets.buynow.payment_methods","Methods of payment"),"html",null,true));sb.append('</span>\n                    <ul class="widget-buynow-paymentMethods js-widget-buynow-paymentmethods">\n\n                    ');context["_parent"]=context;var seq=twig.attr("data"in context?context["data"]:null,"paymentMethods");var loop={index0:0,index:1,first:true};if(twig.countable(seq)){var length=twig.count(seq);loop["revindex0"]=length-1;loop["revindex"]=length;loop["length"]=length;loop["last"]=1===length}twig.forEach(seq,(function(v,k){context["ref"]=k;context["name"]=v;sb.append('                        <li class="payment-method">\n                            <label title="');sb.append(twig.filter.escape(this.env_,"name"in context?context["name"]:null,"html",null,true));sb.append('" name="paymentMethods">');sb.append(twig.filter.escape(this.env_,"name"in context?context["name"]:null,"html",null,true));sb.append('\n                                <input type="radio" class="');sb.append(twig.filter.escape(this.env_,"name"in context?context["name"]:null,"html",null,true));sb.append(" js-input-");sb.append(twig.filter.escape(this.env_,"name"in context?context["name"]:null,"html",null,true));sb.append('" name="paymentMethods" value="');sb.append(twig.filter.escape(this.env_,"ref"in context?context["ref"]:null,"html",null,true));sb.append('" title="');sb.append(twig.filter.escape(this.env_,"name"in context?context["name"]:null,"html",null,true));sb.append('" ');if(twig.attr(loop,"first")){sb.append("checked")}sb.append(">\n                            </label>\n                        </li>\n                    ");++loop["index0"];++loop["index"];loop["first"]=false;if(loop["length"]){--loop["revindex0"];--loop["revindex"];loop["last"]=0===loop["revindex0"]}}),this);sb.append("\n                    </ul>\n                ")}else{sb.append("                    ");context["noPaymentMethods"]=true;sb.append("                    <span>");sb.append(twig.filter.escape(this.env_,App.t("widgets.buynow.no_payment_methods","No payment methods found"),"html",null,true));sb.append(".</span>\n                ")}sb.append("            </li>\n            ")}sb.append("\n            <li>\n                ");if(twig.attr("data"in context?context["data"]:null,"packageData")&&twig.filter.length(this.env_,twig.attr("data"in context?context["data"]:null,"packageData"))>0){sb.append("                    ");if(("freePackage"in context?context["freePackage"]:null)==true){sb.append('                        <span class="widget-buynow-title">');sb.append(twig.filter.escape(this.env_,App.t("widgets.buynow.register_free","You are about to register"),"html",null,true));sb.append(':</span>\n                        <div class=\'widget-buynow-package js-buynow-package\'>\n                            <span class="widget-buynow-package-name" data-ref="');sb.append(twig.filter.escape(this.env_,twig.attr(twig.attr("data"in context?context["data"]:null,"packageData"),"ref"),"html",null,true));sb.append('">');sb.append(twig.filter.escape(this.env_,twig.attr(twig.attr("data"in context?context["data"]:null,"packageData"),"name"),"html",null,true));sb.append("</span>\n                        </div>\n                    ")}else{sb.append('                        <span class="widget-buynow-title">');sb.append(twig.filter.escape(this.env_,App.t("widgets.buynow.package_title","You are about to purchase"),"html",null,true));sb.append(':</span>\n                        <div class=\'widget-buynow-package\'>\n                            <span class="widget-buynow-package-name js-widget-buynow-package-name" data-ref="');sb.append(twig.filter.escape(this.env_,twig.attr(twig.attr("data"in context?context["data"]:null,"packageData"),"ref"),"html",null,true));sb.append('">');sb.append(twig.filter.escape(this.env_,twig.attr(twig.attr("data"in context?context["data"]:null,"packageData"),"name"),"html",null,true));sb.append('</span>\n                            <span class="widget-buynow-package-price js-buynow-package-price" data-annually="" data-monthly="">');sb.append(twig.filter.escape(this.env_,twig.attr(twig.attr("data"in context?context["data"]:null,"packageData"),"formattedPrice"),"html",null,true));sb.append('</span>\n                        </div>\n\n                        <ul>\n                            <li class="pay-period">\n                                <label title="Pay: Annually" name="paymentPeriod">');sb.append(twig.filter.escape(this.env_,App.t("widgets.buynow.package_pay_annually","Pay: Annually"),"html",null,true));sb.append('\n                                    <input type="radio" class="payment-period-annually js-input-payment-period-annually" name="paymentPeriod" value="12" checked="checked" title="Pay: Annually">\n                                </label>\n                            </li>\n                            <li class="">\n                                <label title="Pay: Monthly" name="paymentPeriod">');sb.append(twig.filter.escape(this.env_,App.t("widgets.buynow.package_pay_monthly","Pay: Monthly"),"html",null,true));sb.append('\n                                <input type="radio" class="payment-period-monthly js-input-payment-period-monthly" name="paymentPeriod" value="1" title="Pay: Monthly">\n                                </label>\n                            </li>\n                        </ul>\n                    ')}sb.append("                ")}else{sb.append("                    ");context["noPackageInfo"]=true;sb.append("                    <span>");sb.append(twig.filter.escape(this.env_,App.t("widgets.buynow.no_package","No package information found"),"html",null,true));sb.append(".</span>\n                ")}sb.append('            </li>\n        </ul>\n\n        <div>\n            <label class="widget-buynow-newsletter-text">');sb.append(twig.filter.escape(this.env_,App.t("widgets.buynow.newsletter_des","Please don't send me BaseKit news by email or contact me by telephone"),"html",null,true));sb.append('\n                <input type="checkbox" class="widget-buynow-newsletter js-input-buynow-newsletter" name="newsletter" title=');sb.append(twig.filter.escape(this.env_,App.t("widgets.buynow.newsletter","newsletter"),"html",null,true));sb.append(">\n            </label>\n        </div>\n\n        ");if(twig.filter.length(this.env_,twig.attr("data"in context?context["data"]:null,"buttonText"))>0){sb.append('            <button class="widget-buynow-make-payment js-buynow-make-payment-btn" title="');sb.append(twig.filter.escape(this.env_,twig.attr("data"in context?context["data"]:null,"buttonText"),"html",null,true));sb.append('" type="submit" ');if(("noPaymentMethods"in context?context["noPaymentMethods"]:null)||("noPackageInfo"in context?context["noPackageInfo"]:null)){sb.append(" disabled ")}sb.append(">");sb.append(twig.filter.escape(this.env_,twig.attr("data"in context?context["data"]:null,"buttonText"),"html",null,true));sb.append("</button>\n        ")}else if(("freePackage"in context?context["freePackage"]:null)==false){sb.append('            <button class="widget-buynow-make-payment js-buynow-make-payment-btn" title="');sb.append(twig.filter.escape(this.env_,App.t("widgets.buynow.submit","Make a payment using your selected package options"),"html",null,true));sb.append('" type="submit" ');if(("noPaymentMethods"in context?context["noPaymentMethods"]:null)||("noPackageInfo"in context?context["noPackageInfo"]:null)){sb.append(" disabled ")}sb.append(">");sb.append(twig.filter.escape(this.env_,App.t("widgets.buynow.buy_now","Buy now"),"html",null,true));sb.append("</button>\n        ")}else{sb.append('            <button class="widget-buynow-make-payment js-buynow-make-payment-btn" title="');sb.append(twig.filter.escape(this.env_,App.t("widgets.buynow.free.submit","Register"),"html",null,true));sb.append('" type="submit">');sb.append(twig.filter.escape(this.env_,App.t("widgets.buynow.buy_now_free","Register"),"html",null,true));sb.append("</button>\n        ")}sb.append("    </form>\n")}sb.append("</div>\n")};twig.templates["widget_buynow.twig"].prototype.getTemplateName=function(){return"widget_buynow"};twig.templates["widget_buynow.twig"].prototype.isTraitable=function(){return false};goog.require("twig");goog.provide("twig.templates");goog.require("twig.filter");twig.templates["widget_ecombasket.twig"]=function(env){twig.Template.call(this,env)};twig.inherits(twig.templates["widget_ecombasket.twig"],twig.Template);twig.templates["widget_ecombasket.twig"].prototype.getParent_=function(context){return false};twig.templates["widget_ecombasket.twig"].prototype.render_=function(sb,context,blocks){blocks=typeof blocks=="undefined"?{}:blocks;if(twig.attr(twig.attr(twig.attr("plugins"in context?context["plugins"]:null,"ecommerce"),"store"),"live")||twig.attr("app"in context?context["app"]:null,"mode")!="published"){sb.append('\n<div class="bk-ecombasket  ecombasket  widget__ecombasket  ');if(twig.attr("data"in context?context["data"]:null,"align")){sb.append(twig.filter.escape(this.env_,twig.attr("data"in context?context["data"]:null,"align"),"html",null,true))}sb.append('">\n\n    <button class="basket-toggle  button  icon  icon--basket  ecombasket__basket-toggle ');if(twig.attr("app"in context?context["app"]:null,"mode")=="published"||twig.attr("app"in context?context["app"]:null,"mode")=="site-preview"){sb.append("js-pull")}sb.append('">');sb.append(twig.filter.escape(this.env_,App.t("widgets.ecombasket.basket","Basket"),"html",null,true));sb.append(': <span class="item-count  ecombasket__item-count">');sb.append(twig.filter.escape(this.env_,twig.attr("data"in context?context["data"]:null,"itemCount",undefined,undefined,true)?twig.attr("data"in context?context["data"]:null,"itemCount"):twig.attr(twig.attr(twig.attr("plugins"in context?context["plugins"]:null,"ecommerce"),"cart"),"itemCount"),"html",null,true));sb.append('</span></button>\n    <div class="basket-body  ecombasket__basket-body">\n        <ul class="basket-list  ecombasket__basket-list">\n            ');context["items"]=twig.attr("data"in context?context["data"]:null,"items",undefined,undefined,true)?twig.attr("data"in context?context["data"]:null,"items"):twig.attr(twig.attr(twig.attr("plugins"in context?context["plugins"]:null,"ecommerce"),"cart"),"items");sb.append("            ");context["_parent"]=context;var seq="items"in context?context["items"]:null;var iterated=false;var loop={index0:0,index:1,first:true};twig.forEach(seq,(function(v,k){context["_key"]=k;context["item"]=v;if(twig.attr("item"in context?context["item"]:null,"quantity")>0){sb.append('                <li class="basket-item  ecombasket__basket-item" data-ref="');sb.append(twig.filter.escape(this.env_,twig.attr("item"in context?context["item"]:null,"ref"),"html",null,true));sb.append('">\n                    <div class="basket-item-image  ecombasket__item-image">\n                        ');if(twig.filter.length(this.env_,twig.attr("item"in context?context["item"]:null,"featureImageAssetRef"))&&twig.attr("item"in context?context["item"]:null,"featureImageAssetRef")!=0){sb.append("                            ");context["assetUrl"]=App.stripUrlScheme(App.getAssetUrl(twig.attr(twig.attr(twig.attr("plugins"in context?context["plugins"]:null,"assets"),"images"),twig.attr("item"in context?context["item"]:null,"featureImageAssetRef"),undefined,"array")));sb.append('                            <a class="image-link  ecombasket__image-link" href="');sb.append(twig.filter.escape(this.env_,"requestBase"in context?context["requestBase"]:null,"html",null,true));sb.append("/store/product/");sb.append(twig.filter.escape(this.env_,twig.attr("item"in context?context["item"]:null,"slug"),"html",null,true));sb.append('" style="background-image:url(');sb.append(twig.filter.escape(this.env_,"assetUrl"in context?context["assetUrl"]:null,"html",null,true));sb.append(');">\n                                <img class="image  image--thumb  ecombasket__image" src="');sb.append(twig.filter.escape(this.env_,"assetUrl"in context?context["assetUrl"]:null,"html",null,true));sb.append('" alt="');sb.append(twig.filter.escape(this.env_,twig.attr("item"in context?context["item"]:null,"title"),"html",null,true));sb.append('">\n                            </a>\n                        ')}else{sb.append('                            <a class="image-link  ecombasket__image-link  no-image" href="');sb.append(twig.filter.escape(this.env_,"requestBase"in context?context["requestBase"]:null,"html",null,true));sb.append("/store/product/");sb.append(twig.filter.escape(this.env_,twig.attr("item"in context?context["item"]:null,"slug"),"html",null,true));sb.append('">\n                                <img class="image  image--thumb  ecombasket__image" src="');new twig.templates["image_placeholder.twig"](this.env_).render_(sb,context);sb.append('" alt="');sb.append(twig.filter.escape(this.env_,twig.attr("item"in context?context["item"]:null,"title"),"html",null,true));sb.append('">\n                                    </a>\n                        ')}sb.append('                    </div>\n\n                    <div class="basket-item-details  ecombasket__item-details">\n                        <a class="basket-item-name  ecombasket__basket-item-name" href="');sb.append(twig.filter.escape(this.env_,"requestBase"in context?context["requestBase"]:null,"html",null,true));sb.append("/store/product/");sb.append(twig.filter.escape(this.env_,twig.attr("item"in context?context["item"]:null,"slug"),"html",null,true));sb.append('">');sb.append(twig.filter.escape(this.env_,twig.attr("item"in context?context["item"]:null,"title"),"html",null,true));sb.append('</a>\n                        <p class="item-quantity  ecombasket__item-quantity">');sb.append(App.stringFormat(twig.filter.escape(this.env_,App.t("widgets.ecombasket.quantity_no_markup","Quantity: %s%1%s",twig.attr("item"in context?context["item"]:null,"quantity"))),'<span class="quantity-number  ecombasket__quantity-number">',"</span>"));sb.append("</p>\n                        ");if(twig.attr(twig.attr(twig.attr("plugins"in context?context["plugins"]:null,"ecommerce"),"store"),"taxProducts")&&twig.attr(twig.attr(twig.attr("plugins"in context?context["plugins"]:null,"ecommerce"),"store"),"preCalculateTax")&&!(null===twig.attr("item"in context?context["item"]:null,"formattedPriceTotalInclTax"))){sb.append('                            <p class="basket-item-price  ecombasket__item-price">');sb.append(twig.filter.escape(this.env_,twig.attr("item"in context?context["item"]:null,"formattedPriceTotalInclTax"),"html",null,true));sb.append("</p>\n                        ")}else{sb.append('                            <p class="basket-item-price  ecombasket__item-price">');sb.append(twig.filter.escape(this.env_,twig.attr("item"in context?context["item"]:null,"formattedPriceTotal"),"html",null,true));sb.append("</p>\n                        ")}sb.append('                    </div>\n\n                    <button class="item-remove  button  icon  icon--remove  ecombasket__item-remove  js-remove" data-ref="');sb.append(twig.filter.escape(this.env_,twig.attr("item"in context?context["item"]:null,"ref"),"html",null,true));sb.append('">\n                        <span class="remove-text  ecombasket__remove-text" data-ref="');sb.append(twig.filter.escape(this.env_,twig.attr("item"in context?context["item"]:null,"ref"),"html",null,true));sb.append('">');sb.append(twig.filter.escape(this.env_,App.t("widgets.ecombasket.remove","Remove"),"html",null,true));sb.append("</span>\n                    </button>\n                </li>\n            ");iterated=true;++loop["index0"];++loop["index"];loop["first"]=false}}),this);if(!iterated){sb.append('                <li>\n                    <p class="basket-empty ecombasket__empty">');sb.append(twig.filter.escape(this.env_,App.t("widgets.ecombasket.empty","Your basket is currently empty"),"html",null,true));sb.append("</p>\n                </li>\n            ")}sb.append("        </ul>\n\n        ");if(twig.attr(twig.attr(twig.attr("plugins"in context?context["plugins"]:null,"ecommerce"),"store"),"taxProducts")&&twig.attr(twig.attr(twig.attr("plugins"in context?context["plugins"]:null,"ecommerce"),"store"),"preCalculateTax")&&(!(null===twig.attr("data"in context?context["data"]:null,"subTotalInclTax"))||!(null===twig.attr(twig.attr(twig.attr("plugins"in context?context["plugins"]:null,"ecommerce"),"cart"),"subTotalInclTax")))){sb.append("            ");context["subTotal"]=twig.attr("data"in context?context["data"]:null,"subTotalInclTax")?twig.attr("data"in context?context["data"]:null,"subTotalInclTax"):twig.attr(twig.attr(twig.attr("plugins"in context?context["plugins"]:null,"ecommerce"),"cart"),"subTotalInclTax");sb.append("        ")}else{sb.append("            ");context["subTotal"]=twig.attr("data"in context?context["data"]:null,"subTotal")?twig.attr("data"in context?context["data"]:null,"subTotal"):twig.attr(twig.attr(twig.attr("plugins"in context?context["plugins"]:null,"ecommerce"),"cart"),"subTotal");sb.append("        ")}sb.append('\n        <footer class="basket-footer  ecombasket__basket-footer">\n            <h4 class="basket-total  ecombasket__basekit-total">');sb.append(twig.filter.escape(this.env_,App.t("widgets.ecombasket.total","Total"),"html",null,true));sb.append(': <span class="total-number  ecombasket__total-number">');sb.append(twig.filter.escape(this.env_,"subTotal"in context?context["subTotal"]:null,"html",null,true));sb.append('</span></h4>\n            <a class="view-basket  button  ecombasket__button" href="');sb.append(twig.filter.escape(this.env_,"requestBase"in context?context["requestBase"]:null,"html",null,true));sb.append('/store/cart">');sb.append(twig.filter.escape(this.env_,App.t("widgets.ecombasket.summary_link","View Basket"),"html",null,true));sb.append("</a>\n        </footer>\n\n    </div>\n</div>\n")}};twig.templates["widget_ecombasket.twig"].prototype.getTemplateName=function(){return"widget_ecombasket"};twig.templates["widget_ecombasket.twig"].prototype.isTraitable=function(){return false};goog.require("twig");goog.provide("twig.templates");goog.require("twig.filter");twig.templates["widget_ecombasketsummary.twig"]=function(env){twig.Template.call(this,env)};twig.inherits(twig.templates["widget_ecombasketsummary.twig"],twig.Template);twig.templates["widget_ecombasketsummary.twig"].prototype.getParent_=function(context){return false};twig.templates["widget_ecombasketsummary.twig"].prototype.render_=function(sb,context,blocks){blocks=typeof blocks=="undefined"?{}:blocks;if(twig.attr(twig.attr(twig.attr("plugins"in context?context["plugins"]:null,"ecommerce"),"store"),"hasPaymentsConfigured")){sb.append('\n<div class="bk-ecombasketsummary  ecombasketsummary  widget__ecombasketsummary">\n\n    <section class="summary-section  ecombasketsummary__summary-section">\n        <h2 class="summary-title  ecombasketsummary__summary-title">');sb.append(twig.filter.escape(this.env_,App.t("widgets.ecombasketsummary.title","Basket Summary"),"html",null,true));sb.append("</h2>\n\n        ");context["items"]=twig.attr("data"in context?context["data"]:null,"items")?twig.attr("data"in context?context["data"]:null,"items"):twig.attr(twig.attr(twig.attr("plugins"in context?context["plugins"]:null,"ecommerce"),"cart"),"items");sb.append("        ");if(twig.filter.length(this.env_,"items"in context?context["items"]:null)){sb.append('            <table class="summary-table  table  ecombasketsummary__summary-table">\n                <tbody class="summary-body  ecombasketsummary__summary-body">\n                    <tr class="table-row  table-row--heading  ecombasketsummary__table-row">\n                        <th class="cell  cell--header  ecombasketsummary__cell" scope="col" colspan="2">');sb.append(twig.filter.escape(this.env_,App.t("widgets.ecombasketsummary.item_items","Item"),"html",null,true));sb.append('</th>\n                        <th class="cell  cell--header  ecombasketsummary__cell" scope="col" colspan="1">');sb.append(twig.filter.escape(this.env_,App.t("widgets.ecombasketsummary.quantity","Quantity"),"html",null,true));sb.append("</th>\n                        ");if(twig.attr(twig.attr(twig.attr("plugins"in context?context["plugins"]:null,"ecommerce"),"store"),"taxProducts")&&twig.attr(twig.attr(twig.attr("plugins"in context?context["plugins"]:null,"ecommerce"),"store"),"preCalculateTax")){sb.append('                            <th class="cell  cell--header  ecombasketsummary__cell" scope="col" colspan="1">');sb.append(twig.filter.escape(this.env_,App.t("widgets.ecombasketsummary.item_singleprice","Price"),"html",null,true));sb.append(' <span class="tax-note  ecombasketsummary__tax-note">');sb.append(twig.filter.escape(this.env_,App.t("widgets.ecombasketsummary.item_tax_inclusive","(incl. tax)"),"html",null,true));sb.append("</span></th>\n                        ")}else{sb.append('                            <th class="cell  cell--header  ecombasketsummary__cell" scope="col" colspan="1">');sb.append(twig.filter.escape(this.env_,App.t("widgets.ecombasketsummary.item_singleprice","Price"),"html",null,true));sb.append("</th>\n                        ")}sb.append('                        <th class="cell  cell--header  ecombasketsummary__cell" scope="col" colspan="1">');sb.append(twig.filter.escape(this.env_,App.t("widgets.ecombasketsummary.item_pricetotal","Subtotal"),"html",null,true));sb.append("</th>\n                    </tr>\n\n                    ");context["_parent"]=context;var seq="items"in context?context["items"]:null;var loop={index0:0,index:1,first:true};if(twig.countable(seq)){var length=twig.count(seq);loop["revindex0"]=length-1;loop["revindex"]=length;loop["length"]=length;loop["last"]=1===length}twig.forEach(seq,(function(v,k){context["_key"]=k;context["item"]=v;sb.append("                        ");context["restrictStock"]=twig.attr("item"in context?context["item"]:null,"trackStock")==1&&twig.attr("item"in context?context["item"]:null,"stockUnlimited")==0;sb.append('\n                        <tr class="table-row  ecombasketsummary__table-row">\n                            <td class="cell  cell--image  ecombasketsummary__cell">\n                                ');if(twig.filter.length(this.env_,twig.attr("item"in context?context["item"]:null,"productListAssetRef"))&&twig.attr("item"in context?context["item"]:null,"productListAssetRef")!=0){sb.append("                                ");context["assetUrl"]=App.stripUrlScheme(App.getAssetUrl(twig.attr(twig.attr(twig.attr("plugins"in context?context["plugins"]:null,"assets"),"images"),twig.attr("item"in context?context["item"]:null,"productListAssetRef"),undefined,"array")));sb.append('                                    <a class="summary-item-link  ecombasketsummary__summary-item-link" href="');sb.append(twig.filter.escape(this.env_,"requestBase"in context?context["requestBase"]:null,"html",null,true));sb.append("/store/product/");sb.append(twig.filter.escape(this.env_,twig.attr("item"in context?context["item"]:null,"slug"),"html",null,true));sb.append('" style="background-repeat: no-repeat;background-image:url(\'');sb.append(twig.filter.escape(this.env_,"assetUrl"in context?context["assetUrl"]:null,"html",null,true));sb.append('\')">\n                                        <img class="image  image--thumb  ecombasketsummary__image" src="');sb.append(twig.filter.escape(this.env_,"assetUrl"in context?context["assetUrl"]:null,"html",null,true));sb.append('" alt="');sb.append(twig.filter.escape(this.env_,twig.attr("item"in context?context["item"]:null,"title"),"html",null,true));sb.append('">\n                                    </a>\n                                ')}else{sb.append('                                    <a class="summary-item-link  ecombasketsummary__summary-item-link  no-image" href="');sb.append(twig.filter.escape(this.env_,"requestBase"in context?context["requestBase"]:null,"html",null,true));sb.append("/store/product/");sb.append(twig.filter.escape(this.env_,twig.attr("item"in context?context["item"]:null,"slug"),"html",null,true));sb.append('">\n                                        <img class="image  image--thumb  ecombasketsummary__image" src="');new twig.templates["image_placeholder.twig"](this.env_).render_(sb,context);sb.append('" alt="');sb.append(twig.filter.escape(this.env_,twig.attr("item"in context?context["item"]:null,"title"),"html",null,true));sb.append('">\n                                    </a>\n                                ')}sb.append('                            </td>\n\n                            <td class="cell  cell--title  ecombasketsummary__cell" data-title="');sb.append(twig.filter.escape(this.env_,App.t("widgets.ecombasketsummary.item_items","Item"),"html",null,true));sb.append('">\n                                <p class="summary-item-title  ecombasketsummary__summary-item-title">\n                                    <a class="summary-item-link  ecombasketsummary__summary-item-link" href="');sb.append(twig.filter.escape(this.env_,"requestBase"in context?context["requestBase"]:null,"html",null,true));sb.append("/store/product/");sb.append(twig.filter.escape(this.env_,twig.attr("item"in context?context["item"]:null,"slug"),"html",null,true));sb.append('">');sb.append(twig.filter.escape(this.env_,twig.attr("item"in context?context["item"]:null,"title"),"html",null,true));sb.append('</a>\n                                </p>\n                            </td>\n\n                            <td class="cell  cell--quantity  ecombasketsummary__cell" data-title="');sb.append(twig.filter.escape(this.env_,App.t("widgets.ecombasketsummary.quantity","Quantity"),"html",null,true));sb.append('">\n                                <div class="quantity-wrap  ecombasketsummary__quantity-wrap">\n                                    <button class="quantity-minus  button  button--quantity  ecombasketsummary__quantity-minus  js-remove" type="button" data-ref="');sb.append(twig.filter.escape(this.env_,twig.attr("item"in context?context["item"]:null,"ref"),"html",null,true));sb.append('">-</button>\n                                    <span class="quantity-field  ecombasketsummary__quantity-field">');sb.append(twig.filter.escape(this.env_,twig.attr("item"in context?context["item"]:null,"quantity"),"html",null,true));sb.append('</span>\n                                    <button class="quantity-plus  button  button--quantity  ecombasketsummary__quantity-plus  js-add" type="button" data-ref="');sb.append(twig.filter.escape(this.env_,twig.attr("item"in context?context["item"]:null,"ref"),"html",null,true));sb.append('"');if(("restrictStock"in context?context["restrictStock"]:null)&&twig.attr("item"in context?context["item"]:null,"quantity")>=twig.attr("item"in context?context["item"]:null,"stock")){sb.append(" disabled")}sb.append(">+</button>\n                                </div>\n                            </td>\n\n\n                            ");if(twig.attr(twig.attr(twig.attr("plugins"in context?context["plugins"]:null,"ecommerce"),"store"),"taxProducts")&&twig.attr(twig.attr(twig.attr("plugins"in context?context["plugins"]:null,"ecommerce"),"store"),"preCalculateTax")&&!(null===twig.attr("item"in context?context["item"]:null,"formattedPriceUnitInclTax"))){sb.append('                                <td class="cell  cell--price  ecombasketsummary__cell" data-title="');sb.append(twig.filter.escape(this.env_,App.t("widgets.ecombasketsummary.item_singleprice","Price"),"html",null,true));sb.append(" ");sb.append(twig.filter.escape(this.env_,App.t("widgets.ecombasketsummary.item_tax_inclusive","(incl. tax)"),"html",null,true));sb.append('">\n                                    <p class="summary-item-price  ecombasketsummary__summary-item-price">');sb.append(twig.filter.escape(this.env_,twig.attr("item"in context?context["item"]:null,"formattedPriceUnitInclTax"),"html",null,true));sb.append("</p>\n                                </td>\n                            ")}else{sb.append('                                <td class="cell  cell--price  ecombasketsummary__cell" data-title="');sb.append(twig.filter.escape(this.env_,App.t("widgets.ecombasketsummary.item_singleprice","Price"),"html",null,true));sb.append('">\n                                    <p class="summary-item-price  ecombasketsummary__summary-item-price">');sb.append(twig.filter.escape(this.env_,twig.attr("item"in context?context["item"]:null,"formattedPriceUnit"),"html",null,true));sb.append("</p>\n                                </td>\n                            ")}sb.append('\n\n                            <td class="cell  cell--total  ecombasketsummary__cell" data-title="');sb.append(twig.filter.escape(this.env_,App.t("widgets.ecombasketsummary.item_pricetotal","Subtotal"),"html",null,true));sb.append('">\n                                ');if(twig.attr(twig.attr(twig.attr("plugins"in context?context["plugins"]:null,"ecommerce"),"store"),"taxProducts")&&twig.attr(twig.attr(twig.attr("plugins"in context?context["plugins"]:null,"ecommerce"),"store"),"preCalculateTax")&&!(null===twig.attr("item"in context?context["item"]:null,"formattedPriceTotalInclTax"))){sb.append('                                    <p class="summary-item-total  ecombasketsummary__summary-item-total">');sb.append(twig.filter.escape(this.env_,twig.attr("item"in context?context["item"]:null,"formattedPriceTotalInclTax"),"html",null,true));sb.append("</p>\n                                ")}else{sb.append('                                    <p class="summary-item-total  ecombasketsummary__summary-item-total">');sb.append(twig.filter.escape(this.env_,twig.attr("item"in context?context["item"]:null,"formattedPriceTotal"),"html",null,true));sb.append("</p>\n                                ")}sb.append("                            </td>\n                        </tr>\n\n                        ");if(!(null===twig.attr("item"in context?context["item"]:null,"originalQuantity"))&&twig.attr("item"in context?context["item"]:null,"quantity")==0){sb.append('                            <tr class="table-row  ecombasketsummary__table-row--adjustment-notice">\n                                <td class="cell  ecombasketsummary__cell" colspan="5">\n                                    <p class="adjustment-notice  ecombasketsummary__adjustment-notice">\n                                        ');sb.append(twig.filter.escape(this.env_,App.t("widgets.ecombasketsummary.stock_shortage","You had %1 of this item in your cart but unfortunately it’s now out of stock. We’ve removed it from your cart accordingly.",twig.attr("item"in context?context["item"]:null,"originalQuantity")),"html",null,true));sb.append("\n                                    </p>\n                                </td>\n                            </tr>\n                        ")}else if(!(null===twig.attr("item"in context?context["item"]:null,"originalQuantity"))&&twig.attr("item"in context?context["item"]:null,"quantity")==1&&twig.attr("item"in context?context["item"]:null,"originalQuantity")>twig.attr("item"in context?context["item"]:null,"quantity")){sb.append('                            <tr class="table-row  ecombasketsummary__table-row--adjustment-notice">\n                                <td class="cell  ecombasketsummary__cell" colspan="5">\n                                    <p class="adjustment-notice  ecombasketsummary__adjustment-notice">\n                                        ');sb.append(twig.filter.escape(this.env_,App.t("widgets.ecombasketsummary.quantity_adjustment_single","You had %1 of this item in your cart but unfortunately only 1 is now left in stock. We’ve adjusted your cart accordingly.",twig.attr("item"in context?context["item"]:null,"originalQuantity")),"html",null,true));sb.append("\n                                    </p>\n                                </td>\n                            </tr>\n                        ")}else if(!(null===twig.attr("item"in context?context["item"]:null,"originalQuantity"))&&twig.attr("item"in context?context["item"]:null,"originalQuantity")>twig.attr("item"in context?context["item"]:null,"quantity")){sb.append('                            <tr class="table-row ecombasketsummary__table-row--adjustment-notice">\n                                <td class="cell ecombasketsummary__cell" colspan="5">\n                                    <p class="ecombasketsummary__adjustment-notice">\n                                        ');sb.append(twig.filter.escape(this.env_,App.t("widgets.ecombasketsummary.quantity_adjustment","You had %1 of this item in your cart but unfortunately only %2 are now left in stock. We’ve adjusted your cart accordingly.",twig.attr("item"in context?context["item"]:null,"originalQuantity"),twig.attr("item"in context?context["item"]:null,"quantity")),"html",null,true));sb.append("\n                                    </p>\n                                </td>\n                            </tr>\n                        ")}sb.append("\n                    ");++loop["index0"];++loop["index"];loop["first"]=false;if(loop["length"]){--loop["revindex0"];--loop["revindex"];loop["last"]=0===loop["revindex0"]}}),this);sb.append("                    ");if(twig.attr(twig.attr(twig.attr("plugins"in context?context["plugins"]:null,"ecommerce"),"store"),"taxProducts")&&twig.attr(twig.attr(twig.attr("plugins"in context?context["plugins"]:null,"ecommerce"),"store"),"preCalculateTax")&&(!(null===twig.attr("data"in context?context["data"]:null,"subTotalInclTax"))||!(null===twig.attr(twig.attr(twig.attr("plugins"in context?context["plugins"]:null,"ecommerce"),"cart"),"subTotalInclTax")))){sb.append("                        ");context["subTotal"]=twig.attr("data"in context?context["data"]:null,"subTotalInclTax")?twig.attr("data"in context?context["data"]:null,"subTotalInclTax"):twig.attr(twig.attr(twig.attr("plugins"in context?context["plugins"]:null,"ecommerce"),"cart"),"subTotalInclTax");sb.append("                    ")}else{sb.append("                        ");context["subTotal"]=twig.attr("data"in context?context["data"]:null,"subTotal")?twig.attr("data"in context?context["data"]:null,"subTotal"):twig.attr(twig.attr(twig.attr("plugins"in context?context["plugins"]:null,"ecommerce"),"cart"),"subTotal");sb.append("                    ")}sb.append('\n                    <tr class="table-row  table-row--order-total  ecombasketsummary__table-row">\n                        <td colspan="5" class="cell  cell--order-total  ecombasketsummary__cell">\n                            <h4 class="order-total  ecombasketsummary__order-total">');sb.append(twig.filter.escape(this.env_,App.t("widgets.ecombasketsummary.subtotalprice","Subtotal"),"html",null,true));sb.append(' <span class="total-value  ecombasketsummary__total-value">');sb.append(twig.filter.escape(this.env_,"subTotal"in context?context["subTotal"]:null,"html",null,true));sb.append('</span></h4>\n                        </td>\n                    </tr>\n                </tbody>\n            </table>\n\n            <form class="summary-form  form  ecombasketsummary__summary-form" action="');sb.append(twig.filter.escape(this.env_,twig.attr(twig.attr(twig.attr("plugins"in context?context["plugins"]:null,"ecommerce"),"cart"),"checkoutUrl"),"html",null,true));sb.append('" method="post">\n                ');context["sitePrimaryDomain"]=twig.attr("data"in context?context["data"]:null,"sitePrimaryDomain")?twig.attr("data"in context?context["data"]:null,"sitePrimaryDomain"):"sitePrimaryDomain"in context?context["sitePrimaryDomain"]:null;sb.append('\n                <input type="hidden" name="cartId" value="');sb.append(twig.filter.escape(this.env_,twig.attr(twig.attr(twig.attr("plugins"in context?context["plugins"]:null,"ecommerce"),"cart"),"id"),"html",null,true));sb.append('">\n                <input type="hidden" name="storeRef" value="');sb.append(twig.filter.escape(this.env_,twig.attr(twig.attr(twig.attr("plugins"in context?context["plugins"]:null,"ecommerce"),"store"),"ref"),"html",null,true));sb.append('">\n                <input type="hidden" name="storeUrl" value="');sb.append(twig.filter.escape(this.env_,twig.attr("app"in context?context["app"]:null,"protocol"),"html",null,true));sb.append("://");sb.append(twig.filter.escape(this.env_,"sitePrimaryDomain"in context?context["sitePrimaryDomain"]:null,"html",null,true));sb.append('/store">\n                <input type="hidden" name="storeEnablePolicyPages" value="');sb.append(("enablePolicyPages"in context?context["enablePolicyPages"]:null)?1:0);sb.append('">\n                <input type="hidden" name="storePolicyPageUrl" value="');sb.append(twig.filter.escape(this.env_,twig.attr("app"in context?context["app"]:null,"protocol"),"html",null,true));sb.append("://");sb.append(twig.filter.escape(this.env_,"sitePrimaryDomain"in context?context["sitePrimaryDomain"]:null,"html",null,true));sb.append("/");sb.append(twig.filter.escape(this.env_,"policyPageRequest"in context?context["policyPageRequest"]:null,"html",null,true));sb.append('">\n\n                ');context["purchaseDisabled"]=twig.attr("app"in context?context["app"]:null,"mode")!="published";sb.append("                ");context["itemCount"]=twig.attr("data"in context?context["data"]:null,"itemCount",undefined,undefined,true)?twig.attr("data"in context?context["data"]:null,"itemCount"):twig.attr(twig.attr(twig.attr("plugins"in context?context["plugins"]:null,"ecommerce"),"cart"),"itemCount");sb.append("                ");if(("itemCount"in context?context["itemCount"]:null)<1){sb.append("                    ");context["purchaseDisabled"]=true;sb.append("                ")}sb.append('                <div class="js-paypal-commerce-button-container ecombasketsummary__paypal-commerce-button-container"></div>\n                <a class="continue-shopping  button  ecombasketsummary__continue-shopping" href="');sb.append(twig.filter.escape(this.env_,"requestBase"in context?context["requestBase"]:null,"html",null,true));sb.append('/store">');sb.append(twig.filter.escape(this.env_,App.t("widgets.ecombasketsummary.empty_cta","Continue shopping"),"html",null,true));sb.append('</a>\n                <button class="input  button  button--submit  ecombasketsummary__button" type="submit"');if("purchaseDisabled"in context?context["purchaseDisabled"]:null){sb.append(" disabled")}sb.append(">");sb.append(twig.filter.escape(this.env_,App.t("widgets.ecombasketsummary.submit","Proceed to checkout"),"html",null,true));sb.append("</button>\n            </form>\n        ")}else{sb.append('            <div class="message  message--information  ecombasketsummary__message">\n                <p>');sb.append(twig.filter.escape(this.env_,App.t("widgets.ecombasketsummary.empty","Your basket is empty!"),"html",null,true));sb.append('</p>\n            </div>\n\n            <a class="continue-shopping  button  ecombasketsummary__continue-shopping" href="');sb.append(twig.filter.escape(this.env_,"requestBase"in context?context["requestBase"]:null,"html",null,true));sb.append('/store">');sb.append(twig.filter.escape(this.env_,App.t("widgets.ecombasketsummary.empty_cta","Continue shopping"),"html",null,true));sb.append("</a>\n        ")}sb.append("    </section>\n</div>\n")}else{sb.append("\n");if(twig.filter.length(this.env_,twig.attr(twig.attr(twig.attr("plugins"in context?context["plugins"]:null,"ecommerce"),"store"),"email"))>0){sb.append('<div class="message  message--information  ecombasketsummary__message">\n    <p>');sb.append(twig.filter.escape(this.env_,App.t("widgets.ecombasketsummary.nopayment_available","This store doesn't currently support taking payments. Please contact the store owner at %1.",twig.attr(twig.attr(twig.attr("plugins"in context?context["plugins"]:null,"ecommerce"),"store"),"email")),"html",null,true));sb.append("</p>\n</div>\n")}else{sb.append('<div class="message  message--information  ecombasketsummary__message">\n    <p>');sb.append(twig.filter.escape(this.env_,App.t("widgets.ecombasketsummary.nopayment_available_general","This store doesn't currently support taking payments."),"html",null,true));sb.append("</p>\n</div>\n")}sb.append("\n")}};twig.templates["widget_ecombasketsummary.twig"].prototype.getTemplateName=function(){return"widget_ecombasketsummary"};twig.templates["widget_ecombasketsummary.twig"].prototype.isTraitable=function(){return false};goog.require("twig");goog.provide("twig.templates");goog.require("twig.filter");twig.templates["widget_ecomproduct.twig"]=function(env){twig.Template.call(this,env)};twig.inherits(twig.templates["widget_ecomproduct.twig"],twig.Template);twig.templates["widget_ecomproduct.twig"].prototype.getParent_=function(context){return false};twig.templates["widget_ecomproduct.twig"].prototype.render_=function(sb,context,blocks){blocks=typeof blocks=="undefined"?{}:blocks;if(!(null===twig.attr(twig.attr("plugins"in context?context["plugins"]:null,"ecommerce"),"product"))){sb.append("    ");context["store"]=twig.attr(twig.attr("plugins"in context?context["plugins"]:null,"ecommerce"),"store");sb.append("    ");context["product"]=!twig.attr("data"in context?context["data"]:null,"product",undefined,undefined,true)?twig.attr(twig.attr("plugins"in context?context["plugins"]:null,"ecommerce"),"product"):twig.attr("data"in context?context["data"]:null,"product");sb.append("    ");context["variant"]=!twig.attr("data"in context?context["data"]:null,"selectedVariant",undefined,undefined,true)?twig.attr(twig.attr(twig.attr("plugins"in context?context["plugins"]:null,"ecommerce"),"product"),"defaultVariant"):twig.attr("data"in context?context["data"]:null,"selectedVariant");sb.append("    ");context["size"]=twig.attr("data"in context?context["data"]:null,"size",undefined,undefined,true)?twig.attr("data"in context?context["data"]:null,"size"):"original";sb.append("    ");if(!(null===("variant"in context?context["variant"]:null))){sb.append("        ");context["variantStock"]=twig.attr("variant"in context?context["variant"]:null,"stock")-twig.attr("variant"in context?context["variant"]:null,"cartQuantity");sb.append("    ")}sb.append("\n    ");context["outOfStock"]=twig.attr(twig.attr("plugins"in context?context["plugins"]:null,"ecommerce"),"outOfStock");sb.append('\n<div class="bk-ecomproduct  ecomproduct  widget__ecomproduct">\n    <textarea name="product" style="display: none !important;" hidden>');sb.append(twig.filter.json_encode("product"in context?context["product"]:null));sb.append('</textarea>\n    <article class="product-article  ecomproduct__product-article" itemscope itemtype="https://schema.org/Product">\n        ');if(twig.filter.length(this.env_,twig.attr("product"in context?context["product"]:null,"assets"))>0){sb.append('            <div class="product-images  ecomproduct__product-images  ');if(twig.attr("data"in context?context["data"]:null,"aspect")){sb.append("aspect--");sb.append(twig.filter.escape(this.env_,twig.attr("data"in context?context["data"]:null,"aspect"),"html",null,true))}sb.append("  ");if(twig.attr("data"in context?context["data"]:null,"align")){sb.append(twig.filter.escape(this.env_,twig.attr("data"in context?context["data"]:null,"align"),"html",null,true))}sb.append('">\n                <div class="product-image  ecomproduct__product-image" itemprop="image" itemprop="associatedMedia" itemscope itemtype="https://schema.org/ImageObject">\n                    ');if(twig.attr("product"in context?context["product"]:null,"featureImageAssetRef")){sb.append("                        ");context["imageSrcPreview"]=App.stripUrlScheme(App.getAssetUrl(twig.attr(twig.attr(twig.attr("plugins"in context?context["plugins"]:null,"assets"),"images"),twig.attr("product"in context?context["product"]:null,"featureImageAssetRef"),undefined,"array")));sb.append("                    ")}else{sb.append("                        ");context["imageSrcPreview"]=App.stripUrlScheme(App.getAssetUrl(twig.attr(twig.attr(twig.attr("plugins"in context?context["plugins"]:null,"assets"),"images"),twig.attr(_.first(twig.attr("product"in context?context["product"]:null,"assets")),"assetRef"),undefined,"array")));sb.append("                    ")}sb.append('                    <a class="image-link  ecomproduct__image-link  width--');sb.append(twig.filter.escape(this.env_,"size"in context?context["size"]:null,"html",null,true));sb.append('  js-pswp-image-trigger  js-ecom-product-preview-image-wrap" href="#" title="');sb.append(twig.filter.escape(this.env_,twig.attr("product"in context?context["product"]:null,"title"),"html",null,true));sb.append('" style="background-image:url(\'');sb.append(twig.filter.escape(this.env_,"imageSrcPreview"in context?context["imageSrcPreview"]:null,"html",null,true));sb.append('\')">\n                        <img itemprop="image" class="image image--current  ecomproduct__image  js-ecom-product-preview-image js-pswp-image" src="');sb.append(twig.filter.escape(this.env_,"imageSrcPreview"in context?context["imageSrcPreview"]:null,"html",null,true));sb.append('" alt="');sb.append(twig.filter.escape(this.env_,twig.attr("product"in context?context["product"]:null,"title"),"html",null,true));sb.append('" itemprop="url contentURL">\n                    </a>\n                </div>\n\n                ');if(twig.filter.length(this.env_,twig.attr("product"in context?context["product"]:null,"assets"))>1){sb.append('                    <ul class="product-gallery  ecomproduct__product-gallery">\n                        ');context["_parent"]=context;var seq=twig.attr("product"in context?context["product"]:null,"assets");var loop={index0:0,index:1,first:true};if(twig.countable(seq)){var length=twig.count(seq);loop["revindex0"]=length-1;loop["revindex"]=length;loop["length"]=length;loop["last"]=1===length}twig.forEach(seq,(function(v,k){context["_key"]=k;context["asset"]=v;sb.append("                            ");if(twig.attr(twig.attr(twig.attr(twig.attr("plugins"in context?context["plugins"]:null,"assets"),"images"),twig.attr("asset"in context?context["asset"]:null,"assetRef"),undefined,"array"),"fileType")=="image"){sb.append("                                ");context["imageSrc"]=App.stripUrlScheme(App.getAssetUrl(twig.attr(twig.attr(twig.attr("plugins"in context?context["plugins"]:null,"assets"),"images"),twig.attr("asset"in context?context["asset"]:null,"assetRef"),undefined,"array")));sb.append('                                <li class="gallery-item  ecomproduct__gallery-item">\n                                    <a class="image-button  ecomproduct__image-button  js-ecom-product-image-wrap" >\n                                        <img class="image  image--thumb  ecomproduct__image" src="');sb.append(twig.filter.escape(this.env_,"imageSrc"in context?context["imageSrc"]:null,"html",null,true));sb.append('" alt="');sb.append(twig.filter.escape(this.env_,twig.attr("product"in context?context["product"]:null,"title"),"html",null,true));sb.append('">\n                                    </a>\n                                </li>\n                            ')}sb.append("                        ")}),this);sb.append("                    </ul>\n                ")}sb.append("            </div>\n        ")}else{sb.append('            <div class="product-images  ecomproduct__product-images">\n                <div class="product-image  ecomproduct__product-image  no-image  width--');sb.append(twig.filter.escape(this.env_,"size"in context?context["size"]:null,"html",null,true));sb.append('">\n                    <img class="image  image--current  ecomproduct__image" src="');new twig.templates["image_placeholder.twig"](this.env_).render_(sb,context);sb.append('" alt="');sb.append(twig.filter.escape(this.env_,twig.attr("product"in context?context["product"]:null,"title"),"html",null,true));sb.append('">\n                </div>\n            </div>\n        ')}sb.append('\n        <div class="product-content  ecomproduct__product-content">\n          <meta itemprop="name" content="');sb.append(twig.filter.escape(this.env_,twig.attr("product"in context?context["product"]:null,"title"),"html",null,true));sb.append('" />\n\n          <header class="product-header  ecomproduct__product-header" itemscope itemtype="https://schema.org/AggregateOffer">\n                <h1 class="product-title  ecomproduct__product-title">');sb.append(twig.filter.escape(this.env_,twig.attr("product"in context?context["product"]:null,"title"),"html",null,true));sb.append("</h1>\n\n                ");if(!(null===("variant"in context?context["variant"]:null))){sb.append("\n                    ");if(twig.filter.length(this.env_,twig.attr("product"in context?context["product"]:null,"options"))>0){sb.append("                        ");if(twig.attr("store"in context?context["store"]:null,"taxProducts")&&twig.attr("store"in context?context["store"]:null,"preCalculateTax")&&!(null===twig.attr("variant"in context?context["variant"]:null,"formattedPriceInclTax"))){sb.append('                            <h3 class="product-price  ecomproduct__product-price" itemprop="lowPrice">');sb.append(twig.filter.escape(this.env_,twig.attr("variant"in context?context["variant"]:null,"formattedPriceInclTax"),"html",null,true));sb.append(' <span class="tax-note  ecomproduct__tax-note">');sb.append(twig.filter.escape(this.env_,App.t("widgets.ecomproduct.tax_price","incl. tax*"),"html",null,true));sb.append("</span></h3>\n                        ")}else{sb.append('                            <h3 class="product-price  ecomproduct__product-price" itemprop="lowPrice">');sb.append(twig.filter.escape(this.env_,twig.attr("variant"in context?context["variant"]:null,"formattedPrice"),"html",null,true));sb.append("</h3>\n                        ")}sb.append("                    ")}else{sb.append("                        ");if(twig.attr("store"in context?context["store"]:null,"taxProducts")&&twig.attr("store"in context?context["store"]:null,"preCalculateTax")&&!(null===twig.attr("variant"in context?context["variant"]:null,"formattedPriceInclTax"))){sb.append('                            <h3 class="product-price  product-price--variation  ecomproduct__product-price" itemprop="price">');sb.append(twig.filter.escape(this.env_,twig.attr("variant"in context?context["variant"]:null,"formattedPriceInclTax"),"html",null,true));sb.append(" ");sb.append(twig.filter.escape(this.env_,App.t("widgets.ecomproduct.tax_price","incl. tax*"),"html",null,true));sb.append("</h3>\n                        ")}else{sb.append('                            <h3 class="product-price  product-price--variation  ecomproduct__product-price" itemprop="price">');sb.append(twig.filter.escape(this.env_,twig.attr("variant"in context?context["variant"]:null,"formattedPrice"),"html",null,true));sb.append("</h3>\n                        ")}sb.append("                    ")}sb.append("\n                    ");if(twig.attr("product"in context?context["product"]:null,"stockTrack")==1&&twig.attr("product"in context?context["product"]:null,"stockUnlimited")==0&&("variantStock"in context?context["variantStock"]:null)<1){sb.append('                        <div class="message  message--information  product-availability  product-availability--sold-out ecomproduct__message">\n                            <p>');sb.append(twig.filter.escape(this.env_,App.t("widgets.ecomproduct.sold-out","Sold out"),"html",null,true));sb.append('</p>\n                            <meta itemprop="availability" href="https://schema.org/OutOfStock" />\n                        </div>\n                    ')}else if(twig.attr("product"in context?context["product"]:null,"stockTrack")==1&&twig.attr("product"in context?context["product"]:null,"stockUnlimited")==0&&("variantStock"in context?context["variantStock"]:null)<=5&&twig.attr("store"in context?context["store"]:null,"displayLowStockWarnings")==1){sb.append('                        <div class="message  message--information  product-availability  product-availability--low-stock ecomproduct__message">\n                            <p>');sb.append(twig.filter.escape(this.env_,App.t("widgets.ecomproduct.low_stock","Only %1 remaining","variantStock"in context?context["variantStock"]:null),"html",null,true));sb.append('</p>\n                        </div>\n                        <meta itemprop="availability" href="https://schema.org/InStock" />\n                    ')}else{sb.append('                        <meta itemprop="availability" href="https://schema.org/InStock" />\n                    ')}sb.append("\n                ")}else{sb.append('                    <div class="message  message--information  product-availability  product-availability--unavailable  ecomproduct__message">\n                        <p>');sb.append(twig.filter.escape(this.env_,App.t("widgets.ecomproduct.not-available","Currently unavailable"),"html",null,true));sb.append('</p>\n                        <meta itemprop="availability" href="https://schema.org/OutOfStock" />\n                    </div>\n                ')}sb.append('            </header>\n\n            <div class="product-body  ecomproduct__product-body" itemprop="description">\n                ');if(twig.filter.length(this.env_,twig.attr("product"in context?context["product"]:null,"content"))>0){sb.append("                    ");sb.append(twig.attr("product"in context?context["product"]:null,"content"));sb.append("\n                ")}sb.append("                ");if(twig.attr("product"in context?context["product"]:null,"showWeight")){sb.append("                    ");context["key"]="commerce.currency_formats.weight_unit_shorthand_"+twig.attr("store"in context?context["store"]:null,"weightUnit");sb.append("                    ");context["unitName"]=App.t("key"in context?context["key"]:null,"%1",twig.attr("store"in context?context["store"]:null,"weightUnit"));sb.append("                    ");context["weightString"]=App.t("widgets.currency_formats.weight_string","Item weight: %1%2",twig.attr("variant"in context?context["variant"]:null,"formattedWeight"),"unitName"in context?context["unitName"]:null);sb.append('\n                    <div class="ecomproduct__product-body-weight">');sb.append(twig.filter.escape(this.env_,"weightString"in context?context["weightString"]:null,"html",null,true));sb.append("</div>\n                ")}sb.append('            </div>\n\n            <div class="product-actions  ecomproduct__product-actions">\n                <form class="form  ecomproduct__form">\n                    ');if(twig.filter.length(this.env_,twig.attr("product"in context?context["product"]:null,"options"))>0){sb.append('                        <fieldset class="fieldset  ecomproduct__fieldset">\n                            <legend class="legend  ecomproduct__legend">');sb.append(twig.filter.escape(this.env_,App.t("widgets.ecomproduct.legend","Product Options"),"html",null,true));sb.append('</legend>\n                            <div class="form-body  ecomproduct__form-body">\n                            ');context["_parent"]=context;var seq=twig.attr("product"in context?context["product"]:null,"options");var loop={index0:0,index:1,first:true};if(twig.countable(seq)){var length=twig.count(seq);loop["revindex0"]=length-1;loop["revindex"]=length;loop["length"]=length;loop["last"]=1===length}twig.forEach(seq,(function(v,k){context["_key"]=k;context["option"]=v;sb.append('                                <div class="form-group  ecomproduct__form-group">\n                                    <label class="label  label--variation  ecomproduct__label" for="');sb.append(twig.filter.escape(this.env_,"uniqueHTMLId"in context?context["uniqueHTMLId"]:null,"html",null,true));sb.append("__ecomproduct__variation-");sb.append(twig.filter.escape(this.env_,twig.attr("option"in context?context["option"]:null,"name"),"html",null,true));sb.append('">');sb.append(twig.filter.escape(this.env_,twig.attr("option"in context?context["option"]:null,"name"),"html",null,true));sb.append('</label>\n                                    <div class="select-wrap  ecomproduct__select-wrap">\n                                        <select class="js-option select  select--variation  ecomproduct__select" id="');sb.append(twig.filter.escape(this.env_,"uniqueHTMLId"in context?context["uniqueHTMLId"]:null,"html",null,true));sb.append("__ecomproduct__variation-");sb.append(twig.filter.escape(this.env_,twig.attr("option"in context?context["option"]:null,"name"),"html",null,true));sb.append('" name="');sb.append(twig.filter.escape(this.env_,twig.attr("option"in context?context["option"]:null,"ref"),"html",null,true));sb.append('">\n                                            ');var seq1=twig.attr("option"in context?context["option"]:null,"values");var loop1={index0:0,index:1,first:true,parent:"loop"};if(twig.countable(seq1)){var length=twig.count(seq1);loop1["revindex0"]=length-1;loop1["revindex"]=length;loop1["length"]=length;loop1["last"]=1===length}twig.forEach(seq1,(function(v1,k1){context["_key"]=k1;context["value"]=v1;sb.append("                                                <option ");if(twig.attr("option"in context?context["option"]:null,"selectedValue")==twig.attr("value"in context?context["value"]:null,"ref")){sb.append(" selected ")}sb.append(' value="');sb.append(twig.filter.escape(this.env_,twig.attr("value"in context?context["value"]:null,"ref"),"html",null,true));sb.append('">\n                                                    ');sb.append(twig.filter.escape(this.env_,twig.attr("value"in context?context["value"]:null,"value"),"html",null,true));sb.append("\n                                                </option>\n                                            ")}),this);sb.append("                                        </select>\n                                    </div>\n                                </div>\n                            ")}),this);sb.append("                            </div>\n                        </fieldset>\n                    ")}sb.append("\n                    ");context["addCartDisabled"]=("outOfStock"in context?context["outOfStock"]:null)||twig.attr("product"in context?context["product"]:null,"stockTrack")==1&&twig.attr("product"in context?context["product"]:null,"stockUnlimited")==0&&("variantStock"in context?context["variantStock"]:null)<1||twig.attr("data"in context?context["data"]:null,"addingToCart");sb.append("                    ");context["addCartButtonText"]=twig.attr("data"in context?context["data"]:null,"addedToCart")?App.t("widgets.ecomproduct.added","Added"):App.t("widgets.ecomproduct.add-to-cart","Add to basket");sb.append("                    ");context["addCartButtonAddedClass"]=twig.attr("data"in context?context["data"]:null,"addedToCart")?"added":"";sb.append('                    <div class="form-group  ecomproduct__form-group">\n                        <button class="button  icon  icon--add  button--submit  ecomproduct__button  js-ecom-product-add-to-cart-btn ');sb.append(twig.filter.escape(this.env_,"addCartButtonAddedClass"in context?context["addCartButtonAddedClass"]:null,"html",null,true));sb.append('" type="submit" data-ref="');sb.append(twig.filter.escape(this.env_,twig.attr("data"in context?context["data"]:null,"variantRef"),"html",null,true));sb.append('"');if("addCartDisabled"in context?context["addCartDisabled"]:null){sb.append(" disabled")}sb.append(">");sb.append(twig.filter.escape(this.env_,"addCartButtonText"in context?context["addCartButtonText"]:null,"html",null,true));sb.append('</button>\n                    </div>\n                </form>\n                <div class="view-basket-wrap  ecomproduct__view-basket-wrap js-ecom-product-go-to-checkout-btn-wrapper">\n                    <a class="button  icon  icon--basket  ecomproduct__button ecom-product-go-to-checkout-btn" href="');sb.append(twig.filter.escape(this.env_,"requestBase"in context?context["requestBase"]:null,"html",null,true));sb.append('/store/cart">');sb.append(twig.filter.escape(this.env_,App.t("widgets.ecomproduct.cart_link","View basket"),"html",null,true));sb.append("</a>\n                </div>\n                ");if(!("outOfStock"in context?context["outOfStock"]:null)){sb.append('                    <div class="js-paypal-commerce-button-container ecomproduct__paypal-commerce-button-container"></div>\n                ')}sb.append("            </div>\n\n            ");if(!(null===twig.attr("product"in context?context["product"]:null,"category"))&&twig.filter.length(this.env_,twig.attr("product"in context?context["product"]:null,"category"))>0||!(null===twig.attr("product"in context?context["product"]:null,"tags"))&&twig.filter.length(this.env_,twig.attr("product"in context?context["product"]:null,"tags"))>0||twig.attr("store"in context?context["store"]:null,"taxProducts")&&twig.attr("store"in context?context["store"]:null,"preCalculateTax")&&!(null===twig.attr("variant"in context?context["variant"]:null,"formattedPriceInclTax"))){sb.append('                <div class="product-attributes  ecomproduct__product-attributes">\n                    ');if(!(null===twig.attr("product"in context?context["product"]:null,"category"))&&twig.filter.length(this.env_,twig.attr("product"in context?context["product"]:null,"category"))>0){sb.append('                        <p class="product-category  ecomproduct__product-category">\n                        <span class="product-attribute-title  ecomproduct__product-attribute-title">');sb.append(twig.filter.escape(this.env_,App.t("widgets.ecomproduct.categories","Category"),"html",null,true));sb.append('</span> <a class="category-link  ecomproduct__category-link" href="');sb.append(twig.filter.escape(this.env_,"requestBase"in context?context["requestBase"]:null,"html",null,true));sb.append("/store?productlist-categories=");sb.append(twig.filter.escape(this.env_,twig.attr(twig.attr("product"in context?context["product"]:null,"category"),"slug"),"html",null,true));sb.append('">');sb.append(twig.filter.escape(this.env_,twig.attr(twig.attr("product"in context?context["product"]:null,"category"),"name"),"html",null,true));sb.append("</a></p>\n                    ")}sb.append("\n                    ");if(!(null===twig.attr("product"in context?context["product"]:null,"tags"))&&twig.filter.length(this.env_,twig.attr("product"in context?context["product"]:null,"tags"))>0){sb.append('                    <div class="product-tags  ecomproduct__product-tags">\n                        <p class="tags-title  ecomproduct__tags-title"><span class="product-attribute-title  ecomproduct__product-attribute-title">');sb.append(twig.filter.escape(this.env_,App.t("widgets.ecomproduct.tags","Tags: "),"html",null,true));sb.append('</span></p>\n                        <ul class="tag-list  ecomproduct__tag-list">\n                            ');context["_parent"]=context;var seq=twig.attr("product"in context?context["product"]:null,"tags");var loop={index0:0,index:1,first:true};if(twig.countable(seq)){var length=twig.count(seq);loop["revindex0"]=length-1;loop["revindex"]=length;loop["length"]=length;loop["last"]=1===length}twig.forEach(seq,(function(v,k){context["_key"]=k;context["tag"]=v;sb.append('                                <li class="tag-item  ecomproduct__tag-item">\n                                    <a class="tag-link  ecomproduct__tag-link" href="');sb.append(twig.filter.escape(this.env_,"requestBase"in context?context["requestBase"]:null,"html",null,true));sb.append("/store?productlist-tags=");sb.append(twig.filter.escape(this.env_,twig.attr("tag"in context?context["tag"]:null,"slug"),"html",null,true));sb.append('">');sb.append(twig.filter.escape(this.env_,twig.attr("tag"in context?context["tag"]:null,"title"),"html",null,true));sb.append("</a>\n                                </li>\n                            ")}),this);sb.append("                        </ul>\n                    </div>\n                    ")}sb.append("                    ");if(twig.attr("store"in context?context["store"]:null,"taxProducts")&&twig.attr("store"in context?context["store"]:null,"preCalculateTax")&&!(null===twig.attr("variant"in context?context["variant"]:null,"formattedPriceInclTax"))){sb.append('                        <p class="tax-explainer  ecomproduct__tax-explainer">\n                        ');sb.append(twig.filter.escape(this.env_,App.t("widgets.ecomproduct.tax_explainer","* Based on residence in %1. Tax rates for other countries will be calculated at the checkout. Price exclusive of tax: %2.",twig.attr("store"in context?context["store"]:null,"defaultTaxCountry"),twig.attr("variant"in context?context["variant"]:null,"formattedPrice")),"html",null,true));sb.append("\n                        </p>\n                    ")}sb.append("                </div>\n            ")}sb.append("        </div>\n\n    </article>\n</div>\n\n")}else if(twig.attr("app"in context?context["app"]:null,"mode")!="published"&&twig.attr("app"in context?context["app"]:null,"mode")!="site-preview"){sb.append('    <div class="bk-message  bk-message--empty  ecomproduct__bk-message">\n        <p>');sb.append(twig.filter.escape(this.env_,App.t("widgets.ecomproduct.no-content","There aren't any products to display."),"html",null,true));sb.append("</p>\n    </div>\n")}};twig.templates["widget_ecomproduct.twig"].prototype.getTemplateName=function(){return"widget_ecomproduct"};twig.templates["widget_ecomproduct.twig"].prototype.isTraitable=function(){return false};goog.require("twig");goog.provide("twig.templates");goog.require("twig.filter");twig.templates["widget_profile.twig"]=function(env){twig.Template.call(this,env)};twig.inherits(twig.templates["widget_profile.twig"],twig.Template);twig.templates["widget_profile.twig"].prototype.getParent_=function(context){return false};twig.templates["widget_profile.twig"].prototype.render_=function(sb,context,blocks){blocks=typeof blocks=="undefined"?{}:blocks;sb.append('<div class="bk-profile  profile  widget__profile">\n\n    ');if(twig.attr("data"in context?context["data"]:null,"profileType")=="address"){sb.append('\n    <div class="companyaddress  profile__companyaddress" itemscope itemtype="https://schema.org/LocalBusiness">\n\n        <div class="vcard  companyaddress__vcard">\n\n            ');if(twig.attr("profile"in context?context["profile"]:null,"business")&&twig.attr("profile"in context?context["profile"]:null,"business")!=""){sb.append('                <meta itemprop="name" content="');sb.append(twig.filter.escape(this.env_,twig.attr("profile"in context?context["profile"]:null,"business"),"html",null,true));sb.append('" />\n            ')}sb.append("\n            ");context["image"]=_.first(twig.attr(twig.attr("plugins"in context?context["plugins"]:null,"assets"),"images"));sb.append("            ");if("image"in context?context["image"]:null){sb.append('                <meta itemprop="image" content="');sb.append(twig.filter.escape(this.env_,App.stripUrlScheme(App.getAssetUrl("image"in context?context["image"]:null)),"html",null,true));sb.append('" />\n            ')}sb.append('\n            <address class="address  companyaddress__address" itemprop="address" itemscope itemtype="https://schema.org/PostalAddress">\n\n                ');if(twig.attr("data"in context?context["data"]:null,"address")!="profile"&&twig.filter.length(this.env_,twig.attr("data"in context?context["data"]:null,"address"))>0||twig.filter.length(this.env_,twig.attr("profile"in context?context["profile"]:null,"address"))>0){sb.append('                    <p class="address-line  address-line--one  companyaddress__address-line  fn  org" itemprop="name">');if(twig.filter.length(this.env_,twig.attr("data"in context?context["data"]:null,"address"))>0&&twig.attr("data"in context?context["data"]:null,"address")!="profile"){sb.append(twig.filter.escape(this.env_,twig.attr("data"in context?context["data"]:null,"address"),"html",null,true))}else{sb.append(twig.filter.escape(this.env_,twig.attr("profile"in context?context["profile"]:null,"address"),"html",null,true));sb.append(" ")}sb.append("</p>\n                ")}else{sb.append("                    ");context["noAddress"]=true;sb.append("                ")}sb.append("\n                ");if(twig.attr("data"in context?context["data"]:null,"address1")!="profile"&&twig.filter.length(this.env_,twig.attr("data"in context?context["data"]:null,"address1"))>0||twig.filter.length(this.env_,twig.attr("profile"in context?context["profile"]:null,"address1"))>0){sb.append('                    <p class="address-line  address-line--two  companyaddress__address-line" itemprop="streetAddress">');if(twig.filter.length(this.env_,twig.attr("data"in context?context["data"]:null,"address1"))>0&&twig.attr("data"in context?context["data"]:null,"address1")!="profile"){sb.append(twig.filter.escape(this.env_,twig.attr("data"in context?context["data"]:null,"address1"),"html",null,true))}else{sb.append(twig.filter.escape(this.env_,twig.attr("profile"in context?context["profile"]:null,"address1"),"html",null,true));sb.append(" ")}sb.append("</p>\n                ")}else{sb.append("                    ");context["noAddress1"]=true;sb.append("                ")}sb.append("\n                ");if(twig.attr("data"in context?context["data"]:null,"address2")!="profile"&&twig.filter.length(this.env_,twig.attr("data"in context?context["data"]:null,"address2"))>0||twig.filter.length(this.env_,twig.attr("profile"in context?context["profile"]:null,"address2"))>0){sb.append('                    <p class="address-line  address-line--three  companyaddress__address-line" itemprop="addressRegion">');if(twig.filter.length(this.env_,twig.attr("data"in context?context["data"]:null,"address2"))>0&&twig.attr("data"in context?context["data"]:null,"address2")!="profile"){sb.append(twig.filter.escape(this.env_,twig.attr("data"in context?context["data"]:null,"address2"),"html",null,true))}else{sb.append(twig.filter.escape(this.env_,twig.attr("profile"in context?context["profile"]:null,"address2"),"html",null,true));sb.append(" ")}sb.append("</p>\n                ")}else{sb.append("                    ");context["noAddress2"]=true;sb.append("                ")}sb.append("\n                ");if(twig.attr("data"in context?context["data"]:null,"addressPostalCode")!="profile"&&twig.filter.length(this.env_,twig.attr("data"in context?context["data"]:null,"addressPostalCode"))>0||twig.filter.length(this.env_,twig.attr("profile"in context?context["profile"]:null,"postalcode"))>0){sb.append('                    <p class="address-line  address-line--code  companyaddress__address-line" itemprop="postalCode">');if(twig.filter.length(this.env_,twig.attr("data"in context?context["data"]:null,"addressPostalCode"))>0&&twig.attr("data"in context?context["data"]:null,"addressPostalCode")!="profile"){sb.append(twig.filter.escape(this.env_,twig.attr("data"in context?context["data"]:null,"addressPostalCode"),"html",null,true))}else{sb.append(twig.filter.escape(this.env_,twig.attr("profile"in context?context["profile"]:null,"postalcode"),"html",null,true));sb.append(" ")}sb.append("</p>\n                ")}else{sb.append("                    ");context["noPostalcode"]=true;sb.append("                ")}sb.append("\n                ");if(twig.attr("data"in context?context["data"]:null,"country")!="profile"&&twig.filter.length(this.env_,twig.attr("data"in context?context["data"]:null,"country"))>0||twig.filter.length(this.env_,twig.attr("profile"in context?context["profile"]:null,"country"))>0){sb.append('                    <p class="address-line  address-line--country  companyaddress__address-line" itemprop="addressCountry">');if(twig.filter.length(this.env_,twig.attr("data"in context?context["data"]:null,"country"))>0&&twig.attr("data"in context?context["data"]:null,"country")!="profile"){sb.append(twig.filter.escape(this.env_,twig.attr("data"in context?context["data"]:null,"country"),"html",null,true))}else{sb.append(twig.filter.escape(this.env_,twig.attr("profile"in context?context["profile"]:null,"country"),"html",null,true));sb.append(" ")}sb.append("</p>\n                ")}else{sb.append("                    ");context["noCountry"]=true;sb.append("                ")}sb.append("\n                ");if(("noAddress"in context?context["noAddress"]:null)&&("noAddress1"in context?context["noAddress1"]:null)&&("noAddress2"in context?context["noAddress2"]:null)&&("noCountry"in context?context["noCountry"]:null)&&("noPostalcode"in context?context["noPostalcode"]:null)&&twig.attr("app"in context?context["app"]:null,"mode")!="published"&&twig.attr("app"in context?context["app"]:null,"mode")!="site-preview"){sb.append('                    <div class="bk-message  bk-message--empty  profile__bk-message">\n                        <p>');sb.append(twig.filter.escape(this.env_,App.t("widgets.profile.noaddress","No address"),"html",null,true));sb.append("</p>\n                    </div>\n                ")}sb.append("\n            </address>\n\n        </div>\n\n    </div>\n    ")}sb.append("\n\n\n    ");if(twig.attr("data"in context?context["data"]:null,"profileType")=="email"){sb.append("\n        ");if(twig.attr("data"in context?context["data"]:null,"email")!="profile"&&twig.filter.length(this.env_,twig.attr("data"in context?context["data"]:null,"email"))>0||twig.filter.length(this.env_,twig.attr("profile"in context?context["profile"]:null,"email"))>0){sb.append('            <div class="emailaddress  profile__emailaddress" itemscope itemtype="https://schema.org/Organization">\n                <meta itemprop="email" content="');if(twig.filter.length(this.env_,twig.attr("data"in context?context["data"]:null,"email"))>0&&twig.attr("data"in context?context["data"]:null,"email")!="profile"){sb.append(twig.filter.escape(this.env_,twig.attr("data"in context?context["data"]:null,"email"),"html",null,true))}else{sb.append(twig.filter.escape(this.env_,twig.attr("profile"in context?context["profile"]:null,"email"),"html",null,true));sb.append(" ")}sb.append('" />\n                <a class="email  emailaddress__email" href="mailto:');if(twig.filter.length(this.env_,twig.attr("data"in context?context["data"]:null,"email"))>0&&twig.attr("data"in context?context["data"]:null,"email")!="profile"){sb.append(twig.filter.escape(this.env_,twig.attr("data"in context?context["data"]:null,"email"),"html",null,true))}else{sb.append(twig.filter.escape(this.env_,twig.attr("profile"in context?context["profile"]:null,"email"),"html",null,true))}sb.append('">');if(twig.filter.length(this.env_,twig.attr("data"in context?context["data"]:null,"email"))>0&&twig.attr("data"in context?context["data"]:null,"email")!="profile"){sb.append(twig.filter.escape(this.env_,twig.attr("data"in context?context["data"]:null,"email"),"html",null,true))}else{sb.append(twig.filter.escape(this.env_,twig.attr("profile"in context?context["profile"]:null,"email"),"html",null,true));sb.append(" ")}sb.append("</a>\n            </div>\n        ")}else if(twig.attr("app"in context?context["app"]:null,"mode")!="published"&&twig.attr("app"in context?context["app"]:null,"mode")!="site-preview"){sb.append('            <div class="bk-message  bk-message--empty  profile__bk-message">\n                <p>');sb.append(twig.filter.escape(this.env_,App.t("widgets.profile.noemail","No email"),"html",null,true));sb.append("</p>\n            </div>\n        ")}sb.append("\n    ")}sb.append("\n\n\n    ");if(twig.attr("data"in context?context["data"]:null,"profileType")=="headline"){sb.append("\n        ");if(twig.attr("data"in context?context["data"]:null,"headline")!="profile"&&twig.filter.length(this.env_,twig.attr("data"in context?context["data"]:null,"headline"))>0||twig.filter.length(this.env_,twig.attr("profile"in context?context["profile"]:null,"headline"))>0){sb.append('            <div class="companyheadline  profile__companyheadline">\n                <h2 class="headline  companyheadline__headline">');if(twig.filter.length(this.env_,twig.attr("data"in context?context["data"]:null,"headline"))>0&&twig.attr("data"in context?context["data"]:null,"headline")!="profile"){sb.append(twig.filter.escape(this.env_,twig.attr("data"in context?context["data"]:null,"headline"),"html",null,true))}else{sb.append(twig.filter.escape(this.env_,twig.attr("profile"in context?context["profile"]:null,"headline"),"html",null,true));sb.append(" ")}sb.append("</h2>\n            </div>\n        ")}else if(twig.attr("app"in context?context["app"]:null,"mode")!="published"&&twig.attr("app"in context?context["app"]:null,"mode")!="site-preview"){sb.append('            <div class="bk-message  bk-message--empty  profile__bk-message">\n                <p>');sb.append(twig.filter.escape(this.env_,App.t("widgets.profile.noheadline","No headline"),"html",null,true));sb.append("</p>\n            </div>\n        ")}sb.append("\n    ")}sb.append("\n\n\n    ");if(twig.attr("data"in context?context["data"]:null,"profileType")=="strapline"){sb.append("\n        ");if(twig.attr("data"in context?context["data"]:null,"strapline")!="profile"&&twig.filter.length(this.env_,twig.attr("data"in context?context["data"]:null,"strapline"))>0||twig.filter.length(this.env_,twig.attr("profile"in context?context["profile"]:null,"strapline"))>0){sb.append('            <div class="companystrapline  profile__companystrapline">\n                <h2 class="strapline  companystrapline__strapline">');if(twig.filter.length(this.env_,twig.attr("data"in context?context["data"]:null,"strapline"))>0&&twig.attr("data"in context?context["data"]:null,"strapline")!="profile"){sb.append(twig.filter.escape(this.env_,twig.attr("data"in context?context["data"]:null,"strapline"),"html",null,true))}else{sb.append(twig.filter.escape(this.env_,twig.attr("profile"in context?context["profile"]:null,"strapline"),"html",null,true));sb.append(" ")}sb.append("</h2>\n            </div>\n        ")}else if(twig.attr("app"in context?context["app"]:null,"mode")!="published"&&twig.attr("app"in context?context["app"]:null,"mode")!="site-preview"){sb.append('            <div class="bk-message  bk-message--empty  profile__bk-message">\n                <p>');sb.append(twig.filter.escape(this.env_,App.t("widgets.profile.nostrapline","No strapline"),"html",null,true));sb.append("</p>\n            </div>\n        ")}sb.append("\n    ")}sb.append("\n\n    ");if(twig.attr("data"in context?context["data"]:null,"profileType")=="companydescription"){sb.append("\n        ");if(twig.attr("data"in context?context["data"]:null,"companydescription")!="profile"&&twig.filter.length(this.env_,twig.attr("data"in context?context["data"]:null,"companydescription"))>0||twig.filter.length(this.env_,twig.attr("profile"in context?context["profile"]:null,"companydescription"))>0){sb.append('            <div class="companydescription  profile__companydescription" itemscope itemtype="https://schema.org/Organization">\n                <h3 class="description  companydescription__description" itemprop="description">');if(twig.filter.length(this.env_,twig.attr("data"in context?context["data"]:null,"companydescription"))>0&&twig.attr("data"in context?context["data"]:null,"companydescription")!="profile"){sb.append(twig.filter.escape(this.env_,twig.attr("data"in context?context["data"]:null,"companydescription"),"html",null,true))}else{sb.append(twig.filter.escape(this.env_,twig.attr("profile"in context?context["profile"]:null,"companydescription"),"html",null,true));sb.append(" ")}sb.append("</h3>\n            </div>\n        ")}else if(twig.attr("app"in context?context["app"]:null,"mode")!="published"&&twig.attr("app"in context?context["app"]:null,"mode")!="site-preview"){sb.append('            <div class="bk-message  bk-message--empty  profile__bk-message">\n                <p>');sb.append(twig.filter.escape(this.env_,App.t("widgets.profile.nocompanydescription","No company description"),"html",null,true));sb.append("</p>\n            </div>\n        ")}sb.append("\n    ")}sb.append("\n\n    ");if(twig.attr("data"in context?context["data"]:null,"profileType")=="phone"){sb.append("\n        ");if(twig.attr("data"in context?context["data"]:null,"phone")!="profile"&&twig.filter.length(this.env_,twig.attr("data"in context?context["data"]:null,"phone"))>0||twig.filter.length(this.env_,twig.attr("profile"in context?context["profile"]:null,"phone"))>0){sb.append('            <div class="companyphone  profile__companyphone" itemscope itemtype="https://schema.org/Organization">\n                <a class="phone-number-link  icon  icon--phone  companyphone__phone-number-link" href="tel:');if(twig.filter.length(this.env_,twig.attr("data"in context?context["data"]:null,"phone"))>0&&twig.attr("data"in context?context["data"]:null,"phone")!="profile"){sb.append(twig.filter.escape(this.env_,twig.attr("data"in context?context["data"]:null,"phone"),"html",null,true))}else{sb.append(twig.filter.escape(this.env_,twig.attr("profile"in context?context["profile"]:null,"phone"),"html",null,true));sb.append(" ")}sb.append('">\n                    <span class="phone-number  companyphone__phone-number" itemprop="telephone">');if(twig.filter.length(this.env_,twig.attr("data"in context?context["data"]:null,"phone"))>0&&twig.attr("data"in context?context["data"]:null,"phone")!="profile"){sb.append(twig.filter.escape(this.env_,twig.attr("data"in context?context["data"]:null,"phone"),"html",null,true))}else{sb.append(twig.filter.escape(this.env_,twig.attr("profile"in context?context["profile"]:null,"phone"),"html",null,true));sb.append(" ")}sb.append("</span>\n                </a>\n            </div>\n        ")}else if(twig.attr("app"in context?context["app"]:null,"mode")!="published"&&twig.attr("app"in context?context["app"]:null,"mode")!="site-preview"){sb.append('\n        <div class="bk-message  bk-message--empty  profile__bk-message">\n            <p>');sb.append(twig.filter.escape(this.env_,App.t("widgets.profile.nophone","No phone number"),"html",null,true));sb.append("</p>\n        </div>\n\n        ")}sb.append("\n    ")}sb.append("\n\n\n    ");if(twig.attr("data"in context?context["data"]:null,"profileType")=="business"){sb.append("\n        ");if(twig.attr("data"in context?context["data"]:null,"business")!="profile"&&twig.filter.length(this.env_,twig.attr("data"in context?context["data"]:null,"business"))>0||twig.filter.length(this.env_,twig.attr("profile"in context?context["profile"]:null,"business"))>0){sb.append('        <div class="companybusiness  profile__companybusiness">\n            <p class="business  companybusiness__business">');if(twig.filter.length(this.env_,twig.attr("data"in context?context["data"]:null,"business"))>0&&twig.attr("data"in context?context["data"]:null,"business")!="profile"){sb.append(twig.filter.escape(this.env_,twig.attr("data"in context?context["data"]:null,"business"),"html",null,true))}else{sb.append(twig.filter.escape(this.env_,twig.attr("profile"in context?context["profile"]:null,"business"),"html",null,true));sb.append(" ")}sb.append("</p>\n        </div>\n        ")}else if(twig.attr("app"in context?context["app"]:null,"mode")!="published"&&twig.attr("app"in context?context["app"]:null,"mode")!="site-preview"){sb.append('\n        <div class="bk-message  bk-message--empty  profile__bk-message">\n            <p>');sb.append(twig.filter.escape(this.env_,App.t("widgets.profile.nobusiness","No business"),"html",null,true));sb.append("</p>\n        </div>\n\n        ")}sb.append("\n    ")}sb.append("\n\n    ");if(twig.attr("data"in context?context["data"]:null,"profileType")=="copyright"){sb.append("\n        ");if(twig.attr("data"in context?context["data"]:null,"copyright")!="profile"&&twig.filter.length(this.env_,twig.attr("data"in context?context["data"]:null,"copyright"))>0||twig.filter.length(this.env_,twig.attr("profile"in context?context["profile"]:null,"copyright"))>0){sb.append('        <div class="companycopyright  profile__companycopyright">\n            <p class="copyright  companycopyright__copyright">');if(twig.filter.length(this.env_,twig.attr("data"in context?context["data"]:null,"copyright"))>0&&twig.attr("data"in context?context["data"]:null,"copyright")!="profile"){sb.append(twig.filter.escape(this.env_,twig.attr("data"in context?context["data"]:null,"copyright"),"html",null,true))}else{sb.append(twig.filter.escape(this.env_,twig.attr("profile"in context?context["profile"]:null,"copyright"),"html",null,true));sb.append(" ")}sb.append("</p>\n        </div>\n        ")}else if(twig.attr("app"in context?context["app"]:null,"mode")!="published"&&twig.attr("app"in context?context["app"]:null,"mode")!="site-preview"){sb.append('        <div class="bk-message  bk-message--empty  profile__bk-message">\n            <p>');sb.append(twig.filter.escape(this.env_,App.t("widgets.profile.nocopyright","No copyright"),"html",null,true));sb.append("</p>\n        </div>\n        ")}sb.append("\n    ")}sb.append("\n\n\n    ");if(twig.attr("data"in context?context["data"]:null,"profileType")=="twitter"){sb.append("\n    ");sb.append("    ");if(twig.filter.length(this.env_,twig.attr("data"in context?context["data"]:null,"tweets"))>0){sb.append("\n    ");context["tweet"]=twig.attr(twig.attr("data"in context?context["data"]:null,"tweets"),0,undefined,"array");sb.append('    <div class="twitter  profile__twitter  js-twitter">\n\n        ');sb.append('        <div class="tweet-item  twitter__tweet-item">\n\n            ');sb.append('            <div class="avatar  twitter__avatar">\n                <a class="avatar-link  twitter__avatar-link" href="https://twitter.com/');sb.append(twig.filter.escape(this.env_,twig.attr("tweet"in context?context["tweet"]:null,"screenName"),"html",null,true));sb.append('" target="_blank">\n                    <img class="avatar-image  twitter__avatar-image" alt="');sb.append(twig.filter.escape(this.env_,twig.attr("tweet"in context?context["tweet"]:null,"fullName"),"html",null,true));sb.append('" title="');sb.append(twig.filter.escape(this.env_,twig.attr("tweet"in context?context["tweet"]:null,"fullName"),"html",null,true));sb.append('" data-screename="');sb.append(twig.filter.escape(this.env_,twig.attr("tweet"in context?context["tweet"]:null,"screenName"),"html",null,true));sb.append('" src="');sb.append(twig.filter.escape(this.env_,twig.attr("tweet"in context?context["tweet"]:null,"imageUrl"),"html",null,true));sb.append('">\n                </a>\n            </div>\n\n            ');sb.append('            <div class="tweet-wrap  twitter__tweet-wrap">\n                <a class="account-link  twitter__account-link" href="https://twitter.com/');sb.append(twig.filter.escape(this.env_,twig.attr("tweet"in context?context["tweet"]:null,"screenName"),"html",null,true));sb.append('" target="_blank">\n                    <span class="account-name  twitter__account-name">');sb.append(twig.filter.escape(this.env_,twig.attr("tweet"in context?context["tweet"]:null,"fullName"),"html",null,true));sb.append('</span>\n                </a>\n                <p class="tweet-content  twitter__tweet-content">');sb.append(twig.attr("tweet"in context?context["tweet"]:null,"text"));sb.append('</p>\n                <span class="tweet-metadata  twitter__tweet-meta">\n                    <time class="timestamp  twitter__timestamp" datetime="');sb.append(twig.filter.escape(this.env_,App.getPHPDate("c",twig.attr("tweet"in context?context["tweet"]:null,"createdAt")),"html",null,true));sb.append('">');sb.append(twig.filter.escape(this.env_,twig.attr("tweet"in context?context["tweet"]:null,"createdAt"),"html",null,true));sb.append('</time>\n                    <span class="via  twitter-feed__via">');sb.append(twig.filter.escape(this.env_,App.t("widgets.twitter.via","via"),"html",null,true));sb.append("</span>\n                    ");sb.append(twig.attr("tweet"in context?context["tweet"]:null,"source"));sb.append("\n                </span>\n            </div>\n\n        </div>\n\n    </div>\n\n    ")}else{sb.append('        <div class="message  message--information  profile__message">\n            <p>');sb.append(twig.filter.escape(this.env_,App.t("widgets.twitter.message","Retrieving tweets"),"html",null,true));sb.append(".</p>\n        </div>\n\n    ")}sb.append("\n    ")}sb.append("\n\n    ");if(twig.attr("data"in context?context["data"]:null,"profileType")=="map"){sb.append("    ");sb.append('    <div class="map  profile__map">\n\n        ');sb.append('        <div class="embed-wrap  map__embed-wrap  js-map"></div>\n\n    </div>\n    ')}sb.append("\n\n\n    ");if(twig.attr("data"in context?context["data"]:null,"profileType")=="socialicons"){sb.append('\n    <div class="socialicons  profile__socialicons" itemscope itemtype="https://schema.org/Organization">\n        <meta itemprop="url" href="');sb.append(twig.filter.escape(this.env_,"relativeUrlPrefix"in context?context["relativeUrlPrefix"]:null,"html",null,true));sb.append("/");sb.append(twig.filter.escape(this.env_,"url"in context?context["url"]:null,"html",null,true));sb.append('" />\n\n        <ul class="social-list  socialicons__social-list">\n\n            ');if(twig.attr("data"in context?context["data"]:null,"socialIconsTwitter")!="profile"&&twig.filter.length(this.env_,twig.attr("data"in context?context["data"]:null,"socialIconsTwitter"))>0||twig.filter.length(this.env_,twig.attr("profile"in context?context["profile"]:null,"twitter"))>0){sb.append('            <li class="social-item  socialicons__social-item">\n                <a class="social-link  icon  icon--twitter  social-social-link" href="https://twitter.com/');if(twig.filter.length(this.env_,twig.attr("data"in context?context["data"]:null,"socialIconsTwitter"))>0&&twig.attr("data"in context?context["data"]:null,"socialIconsTwitter")!="profile"){sb.append(twig.filter.escape(this.env_,twig.attr("data"in context?context["data"]:null,"socialIconsTwitter"),"html",null,true))}else{sb.append(twig.filter.escape(this.env_,twig.attr("profile"in context?context["profile"]:null,"twitter"),"html",null,true))}sb.append('" target="_blank" itemprop="sameAs" aria-label="');sb.append(twig.filter.escape(this.env_,App.t("widgets.socialicons.linkto","Link to %1","X"),"html",null,true));sb.append('">\n                    <span class="social-name  socialicons__social-name">Twitter</span>\n                </a>\n            </li>\n            ')}else{sb.append("                ");context["noTwitter"]=true;sb.append("            ")}sb.append("\n            ");if(twig.attr("data"in context?context["data"]:null,"socialIconsFacebook")!="profile"&&twig.filter.length(this.env_,twig.attr("data"in context?context["data"]:null,"socialIconsFacebook"))>0||twig.filter.length(this.env_,twig.attr("profile"in context?context["profile"]:null,"facebook"))>0){sb.append('            <li class="social-item  socialicons__social-item">\n                <a class="social-link  icon  icon--facebook  social-social-link" href="');if(twig.filter.length(this.env_,twig.attr("data"in context?context["data"]:null,"socialIconsFacebook"))>0&&twig.attr("data"in context?context["data"]:null,"socialIconsFacebook")!="profile"){sb.append(twig.filter.escape(this.env_,twig.attr("data"in context?context["data"]:null,"socialIconsFacebook"),"html",null,true))}else{sb.append(twig.filter.escape(this.env_,twig.attr("profile"in context?context["profile"]:null,"facebook"),"html",null,true))}sb.append('" target="_blank" itemprop="sameAs" aria-label="');sb.append(twig.filter.escape(this.env_,App.t("widgets.socialicons.linkto","Link to %1","Facebook"),"html",null,true));sb.append('">\n                    <span class="social-name  socialicons__social-name">Facebook</span>\n                </a>\n            </li>\n            ')}else{sb.append("                ");context["noFacebook"]=true;sb.append("            ")}sb.append("\n            ");if(twig.attr("data"in context?context["data"]:null,"socialIconsInstagram")!="profile"&&twig.filter.length(this.env_,twig.attr("data"in context?context["data"]:null,"socialIconsInstagram"))>0||twig.filter.length(this.env_,twig.attr("profile"in context?context["profile"]:null,"instagram"))>0){sb.append('            <li class="social-item  socialicons__social-item">\n                <a class="social-link  icon  icon--instagram  social-social-link" href="https://instagram.com/');if(twig.filter.length(this.env_,twig.attr("data"in context?context["data"]:null,"socialIconsInstagram"))>0&&twig.attr("data"in context?context["data"]:null,"socialIconsInstagram")!="profile"){sb.append(twig.filter.escape(this.env_,twig.attr("data"in context?context["data"]:null,"socialIconsInstagram"),"html",null,true))}else{sb.append(twig.filter.escape(this.env_,twig.attr("profile"in context?context["profile"]:null,"instagram"),"html",null,true))}sb.append('" target="_blank" itemprop="sameAs" aria-label="');sb.append(twig.filter.escape(this.env_,App.t("widgets.socialicons.linkto","Link to %1","Instagram"),"html",null,true));sb.append('">\n                    <span class="social-name  socialicons__social-name">Instagram</span>\n                </a>\n            </li>\n            ')}else{sb.append("                ");context["noInstagram"]=true;sb.append("            ")}sb.append("\n            ");if(twig.attr("data"in context?context["data"]:null,"socialIconsPinterest")!="profile"&&twig.filter.length(this.env_,twig.attr("data"in context?context["data"]:null,"socialIconsPinterest"))>0||twig.filter.length(this.env_,twig.attr("profile"in context?context["profile"]:null,"pinterest"))>0){sb.append('            <li class="social-item  socialicons__social-item">\n                <a class="social-link  icon  icon--pinterest  social-social-link" href="https://pinterest.com/');if(twig.filter.length(this.env_,twig.attr("data"in context?context["data"]:null,"socialIconsPinterest"))>0&&twig.attr("data"in context?context["data"]:null,"socialIconsPinterest")!="profile"){sb.append(twig.filter.escape(this.env_,twig.attr("data"in context?context["data"]:null,"socialIconsPinterest"),"html",null,true))}else{sb.append(twig.filter.escape(this.env_,twig.attr("profile"in context?context["profile"]:null,"pinterest"),"html",null,true))}sb.append('" target="_blank" itemprop="sameAs" aria-label="');sb.append(twig.filter.escape(this.env_,App.t("widgets.socialicons.linkto","Link to %1","Pinterest"),"html",null,true));sb.append('">\n                    <span class="social-name  socialicons__social-name">Pinterest</span>\n                </a>\n            </li>\n            ')}else{sb.append("                ");context["noPinterest"]=true;sb.append("            ")}sb.append("\n\n            ");if(twig.attr("data"in context?context["data"]:null,"socialIconsRss")!="profile"&&twig.filter.length(this.env_,twig.attr("data"in context?context["data"]:null,"socialIconsRss"))>0||twig.filter.length(this.env_,twig.attr("profile"in context?context["profile"]:null,"rss"))>0){sb.append('            <li class="social-item  socialicons__social-item">\n                <a class="social-link  icon  icon--rss  social-social-link" href="');if(twig.filter.length(this.env_,twig.attr("data"in context?context["data"]:null,"socialIconsRss"))>0&&twig.attr("data"in context?context["data"]:null,"socialIconsRss")!="profile"){sb.append(twig.filter.escape(this.env_,twig.attr("data"in context?context["data"]:null,"socialIconsRss"),"html",null,true))}else{sb.append(twig.filter.escape(this.env_,twig.attr("profile"in context?context["profile"]:null,"rss"),"html",null,true))}sb.append('" target="_blank" itemprop="sameAs" aria-label="');sb.append(twig.filter.escape(this.env_,App.t("widgets.socialicons.linkto","Link to %1","RSS"),"html",null,true));sb.append('">\n                    <span class="social-name  socialicons__social-name">RSS</span>\n                </a>\n            </li>\n            ')}else{sb.append("                ");context["noRss"]=true;sb.append("            ")}sb.append("\n\n            ");if(twig.attr("data"in context?context["data"]:null,"socialIconsLinkedin")!="profile"&&twig.filter.length(this.env_,twig.attr("data"in context?context["data"]:null,"socialIconsLinkedin"))>0||twig.filter.length(this.env_,twig.attr("profile"in context?context["profile"]:null,"linkedin"))>0){sb.append('            <li class="social-item  socialicons__social-item">\n                <a class="social-link  icon  icon--linkedin  social-social-link" href="');if(twig.filter.length(this.env_,twig.attr("data"in context?context["data"]:null,"socialIconsLinkedin"))>0&&twig.attr("data"in context?context["data"]:null,"socialIconsLinkedin")!="profile"){sb.append(twig.filter.escape(this.env_,twig.attr("data"in context?context["data"]:null,"socialIconsLinkedin"),"html",null,true))}else{sb.append(twig.filter.escape(this.env_,twig.attr("profile"in context?context["profile"]:null,"linkedin"),"html",null,true))}sb.append('" target="_blank" itemprop="sameAs" aria-label="');sb.append(twig.filter.escape(this.env_,App.t("widgets.socialicons.linkto","Link to %1","Linkedin"),"html",null,true));sb.append('">\n                    <span class="social-name  socialicons__social-name">Linkedin</span>\n                </a>\n            </li>\n            ')}else{sb.append("                ");context["noLinkedIn"]=true;sb.append("            ")}sb.append("\n            ");if(twig.attr("data"in context?context["data"]:null,"socialIconsVkontakte")!="profile"&&twig.filter.length(this.env_,twig.attr("data"in context?context["data"]:null,"socialIconsVkontakte"))>0||twig.filter.length(this.env_,twig.attr("profile"in context?context["profile"]:null,"vkontakte"))>0){sb.append('            <li class="social-item  socialicons__social-item">\n                <a class="social-link  icon  icon--vkontakte  social-social-link" href="');if(twig.filter.length(this.env_,twig.attr("data"in context?context["data"]:null,"socialIconsVkontakte"))>0&&twig.attr("data"in context?context["data"]:null,"socialIconsVkontakte")!="profile"){sb.append(twig.filter.escape(this.env_,twig.attr("data"in context?context["data"]:null,"socialIconsVkontakte"),"html",null,true))}else{sb.append(twig.filter.escape(this.env_,twig.attr("profile"in context?context["profile"]:null,"vkontakte"),"html",null,true))}sb.append('" target="_blank" itemprop="sameAs" aria-label="');sb.append(twig.filter.escape(this.env_,App.t("widgets.socialicons.linkto","Link to %1","VKontakte"),"html",null,true));sb.append('">\n                    <span class="social-name  socialicons__social-name">VKontakte</span>\n                </a>\n            </li>\n            ')}else{sb.append("                ");context["noVkontakte"]=true;sb.append("            ")}sb.append("\n            ");if(twig.attr("data"in context?context["data"]:null,"socialIconsXing")!="profile"&&twig.filter.length(this.env_,twig.attr("data"in context?context["data"]:null,"socialIconsXing"))>0||twig.filter.length(this.env_,twig.attr("profile"in context?context["profile"]:null,"xing"))>0){sb.append('            <li class="social-item  socialicons__social-item">\n                <a class="social-link  icon  icon--xing  social-social-link" href="');if(twig.filter.length(this.env_,twig.attr("data"in context?context["data"]:null,"socialIconsXing"))>0&&twig.attr("data"in context?context["data"]:null,"socialIconsXing")!="profile"){sb.append(twig.filter.escape(this.env_,twig.attr("data"in context?context["data"]:null,"socialIconsXing"),"html",null,true))}else{sb.append(twig.filter.escape(this.env_,twig.attr("profile"in context?context["profile"]:null,"xing"),"html",null,true))}sb.append('" target="_blank" itemprop="sameAs" aria-label="');sb.append(twig.filter.escape(this.env_,App.t("widgets.socialicons.linkto","Link to %1","Xing"),"html",null,true));sb.append('">\n                    <span class="social-name  socialicons__social-name">Xing</span>\n                </a>\n            </li>\n            ')}else{sb.append("                ");context["noXing"]=true;sb.append("            ")}sb.append("\n            ");if(twig.attr("data"in context?context["data"]:null,"socialIconsTiktok")!="profile"&&twig.filter.length(this.env_,twig.attr("data"in context?context["data"]:null,"socialIconsTiktok"))>0||twig.filter.length(this.env_,twig.attr("profile"in context?context["profile"]:null,"tiktok"))>0){sb.append('            <li class="social-item  socialicons__social-item">\n                <a class="social-link  icon  icon--tiktok  social-social-link" href="');if(twig.filter.length(this.env_,twig.attr("data"in context?context["data"]:null,"socialIconsTiktok"))>0&&twig.attr("data"in context?context["data"]:null,"socialIconsTiktok")!="profile"){sb.append(twig.filter.escape(this.env_,twig.attr("data"in context?context["data"]:null,"socialIconsTiktok"),"html",null,true))}else{sb.append(twig.filter.escape(this.env_,twig.attr("profile"in context?context["profile"]:null,"tiktok"),"html",null,true))}sb.append('" target="_blank" itemprop="sameAs" aria-label="');sb.append(twig.filter.escape(this.env_,App.t("widgets.socialicons.linkto","Link to %1","TikTok"),"html",null,true));sb.append('">\n                    <span class="social-name  socialicons__social-name">TikTok</span>\n                </a>\n            </li>\n            ')}else{sb.append("                ");context["noTiktok"]=true;sb.append("            ")}sb.append("\n            ");if(twig.attr("brandCapabilities"in context?context["brandCapabilities"]:null,"disableGoogleServices")!=1){sb.append(" ");sb.append("\n                ");if(twig.attr("data"in context?context["data"]:null,"socialIconsYoutube")!="profile"&&twig.filter.length(this.env_,twig.attr("data"in context?context["data"]:null,"socialIconsYoutube"))>0||twig.filter.length(this.env_,twig.attr("profile"in context?context["profile"]:null,"youtube"))>0){sb.append('                <li class="social-item  socialicons__social-item">\n                    <a class="social-link  icon  icon--youtube  social-social-link" href="');if(twig.filter.length(this.env_,twig.attr("data"in context?context["data"]:null,"socialIconsYoutube"))>0&&twig.attr("data"in context?context["data"]:null,"socialIconsYoutube")!="profile"){sb.append(twig.filter.escape(this.env_,twig.attr("data"in context?context["data"]:null,"socialIconsYoutube"),"html",null,true))}else{sb.append(twig.filter.escape(this.env_,twig.attr("profile"in context?context["profile"]:null,"youtube"),"html",null,true))}sb.append('" target="_blank" itemprop="sameAs" aria-label="');sb.append(twig.filter.escape(this.env_,App.t("widgets.socialicons.linkto","Link to %1","YouTube"),"html",null,true));sb.append('">\n                        <span class="social-name  socialicons__social-name">YouTube</span>\n                    </a>\n                </li>\n                ')}else{sb.append("                    ");context["noYoutube"]=true;sb.append("                ")}sb.append("\n            ");if(("noLinkedIn"in context?context["noLinkedIn"]:null)&&("noTwitter"in context?context["noTwitter"]:null)&&("noInstagram"in context?context["noInstagram"]:null)&&("noPinterest"in context?context["noPinterest"]:null)&&("noFacebook"in context?context["noFacebook"]:null)&&("noRss"in context?context["noRss"]:null)&&("noVkontakte"in context?context["noVkontakte"]:null)&&("noXing"in context?context["noXing"]:null)&&("noYoutube"in context?context["noYoutube"]:null)&&("noTiktok"in context?context["noTiktok"]:null)&&twig.attr("app"in context?context["app"]:null,"mode")!="published"&&twig.attr("app"in context?context["app"]:null,"mode")!="site-preview"){sb.append('                <div class="bk-message  bk-message--empty  profile__bk-message">\n                    <p>');sb.append(twig.filter.escape(this.env_,App.t("widgets.socialicons.noicons","No social icons"),"html",null,true));sb.append("</p>\n                </div>\n            ")}sb.append("\n            ")}else{sb.append("                ");if(("noLinkedIn"in context?context["noLinkedIn"]:null)&&("noTwitter"in context?context["noTwitter"]:null)&&("noInstagram"in context?context["noInstagram"]:null)&&("noPinterest"in context?context["noPinterest"]:null)&&("noFacebook"in context?context["noFacebook"]:null)&&("noRss"in context?context["noRss"]:null)&&("noVkontakte"in context?context["noVkontakte"]:null)&&("noXing"in context?context["noXing"]:null)&&("noTiktok"in context?context["noTiktok"]:null)&&twig.attr("app"in context?context["app"]:null,"mode")!="published"&&twig.attr("app"in context?context["app"]:null,"mode")!="site-preview"){sb.append('                    <div class="bk-message  bk-message--empty  profile__bk-message">\n                        <p>');sb.append(twig.filter.escape(this.env_,App.t("widgets.socialicons.noicons","No social icons"),"html",null,true));sb.append("</p>\n                    </div>\n                ")}sb.append("\n            ")}sb.append(" ");sb.append("\n        </ul>\n\n    </div>\n\n    ")}sb.append("\n\n\n    ");if(twig.attr("data"in context?context["data"]:null,"profileType")=="form"){sb.append("\n    ");if(twig.attr("data"in context?context["data"]:null,"emailPlaceholder")){sb.append("        ");context["placeholder"]=twig.attr("data"in context?context["data"]:null,"emailPlaceholder");sb.append("    ")}else{sb.append("        ");context["placeholder"]=App.t("widgets.profile.formholder","Type your email");sb.append("    ")}sb.append("\n    ");if(twig.attr("data"in context?context["data"]:null,"formLabel")){sb.append("        ");context["formLabel"]=twig.attr("data"in context?context["data"]:null,"formLabel");sb.append("    ")}else{sb.append("        ");context["formLabel"]=App.t("widgets.profile.formtitle","Your email");sb.append("    ")}sb.append("\n    ");context["privacyLabel"]=twig.attr("data"in context?context["data"]:null,"privacyLabel",undefined,undefined,true)?twig.attr("data"in context?context["data"]:null,"privacyLabel"):"";sb.append('\n    <div class="signupform  profile__signupform">\n        <form class="form  signupform__form  js-form">\n\n            <fieldset class="fieldset  signupform__fieldset">\n\n                <legend class="legend  signupform__legend">');sb.append(twig.filter.escape(this.env_,"formLabel"in context?context["formLabel"]:null,"html",null,true));sb.append('</legend>\n                <div class="form-body  signupform__form-body">\n                    <div class="form-group  signupform__form-group">\n                        <label class="label  signupform__label  label--email" for="');sb.append(twig.filter.escape(this.env_,"uniqueHTMLId"in context?context["uniqueHTMLId"]:null,"html",null,true));sb.append('__input--email">');sb.append(twig.filter.escape(this.env_,"formLabel"in context?context["formLabel"]:null,"html",null,true));sb.append('</label>\n                        <input class="input  signupform__input  input--email js-email" id="');sb.append(twig.filter.escape(this.env_,"uniqueHTMLId"in context?context["uniqueHTMLId"]:null,"html",null,true));sb.append('__input--email" name="');sb.append(twig.filter.escape(this.env_,"uniqueHTMLId"in context?context["uniqueHTMLId"]:null,"html",null,true));sb.append('__input--email" placeholder="');sb.append(twig.filter.escape(this.env_,"placeholder"in context?context["placeholder"]:null,"html",null,true));sb.append('" type="email" />\n                    </div>\n                    <div class="form-group  signupform__form-group">\n                        <button class="button  signupform__button  button--submit ');if(twig.attr("data"in context?context["data"]:null,"formItalic")){sb.append("italic")}sb.append(" ");if(twig.attr("data"in context?context["data"]:null,"formBold")){sb.append("bold")}sb.append('" type="submit" ');if(twig.filter.length(this.env_,twig.attr("data"in context?context["data"]:null,"formFontSize"))>0){sb.append('style="font-size: ');sb.append(twig.filter.escape(this.env_,twig.attr("data"in context?context["data"]:null,"formFontSize"),"html",null,true));sb.append('px"')}sb.append(">");if(twig.attr("data"in context?context["data"]:null,"formText")){sb.append(twig.filter.escape(this.env_,twig.attr("data"in context?context["data"]:null,"formText"),"html",null,true))}else{sb.append(twig.filter.escape(this.env_,App.t("widgets.profile.default_button_text","Send"),"html",null,true))}sb.append('</button>\n                    </div>\n                    <div class="form-group js-recaptcha"></div>\n                </div>\n\n            </fieldset>\n\n          ');new twig.templates["policy_page_control.twig"](this.env_).render_(sb,twig.extend({},context,{widgetName:"profile",enablePolicyPages:"enablePolicyPages"in context?context["enablePolicyPages"]:null,privacyLabel:"privacyLabel"in context?context["privacyLabel"]:null}));sb.append("\n        </form>\n    </div>\n\n    ")}sb.append("    ");sb.append("\n    ");if((twig.filter.length(this.env_,twig.attr("data"in context?context["data"]:null,"profileType"))==0||twig.attr("data"in context?context["data"]:null,"profileType")!="address"&&twig.attr("data"in context?context["data"]:null,"profileType")!="email"&&twig.attr("data"in context?context["data"]:null,"profileType")!="headline"&&twig.attr("data"in context?context["data"]:null,"profileType")!="strapline"&&twig.attr("data"in context?context["data"]:null,"profileType")!="companydescription"&&twig.attr("data"in context?context["data"]:null,"profileType")!="phone"&&twig.attr("data"in context?context["data"]:null,"profileType")!="business"&&twig.attr("data"in context?context["data"]:null,"profileType")!="copyright"&&twig.attr("data"in context?context["data"]:null,"profileType")!="twitter"&&twig.attr("data"in context?context["data"]:null,"profileType")!="map"&&twig.attr("data"in context?context["data"]:null,"profileType")!="form"&&twig.attr("data"in context?context["data"]:null,"profileType")!="socialicons")&&twig.attr("app"in context?context["app"]:null,"mode")!="published"&&twig.attr("app"in context?context["app"]:null,"mode")!="site-preview"){sb.append('        <div class="bk-message  bk-message--error  profile__bk-message">\n            <p>');sb.append(twig.filter.escape(this.env_,App.t("widgets.profile.error","Sorry, something is wrong with this widget"),"html",null,true));sb.append("</p>\n        </div>\n\n    ")}sb.append("\n</div>\n")};twig.templates["widget_profile.twig"].prototype.getTemplateName=function(){return"widget_profile"};twig.templates["widget_profile.twig"].prototype.isTraitable=function(){return false};goog.require("twig");goog.provide("twig.templates");goog.require("twig.filter");twig.templates["widget_twitter.twig"]=function(env){twig.Template.call(this,env)};twig.inherits(twig.templates["widget_twitter.twig"],twig.Template);twig.templates["widget_twitter.twig"].prototype.getParent_=function(context){return false};twig.templates["widget_twitter.twig"].prototype.render_=function(sb,context,blocks){blocks=typeof blocks=="undefined"?{}:blocks;if(twig.attr("app"in context?context["app"]:null,"mode")=="row-preview"){sb.append('    <div class="row-preview-unavailable">\n        <div class="row-preview-unavailable__icon-container">\n            ');new twig.templates["row_preview_icon_twitter.twig"](this.env_).render_(sb,context);sb.append('        </div>\n        <h1 class="row-preview-unavailable__title">\n            ');sb.append(twig.filter.escape(this.env_,App.t("widgets.twitter.row_preview_display_name","Twitter feed"),"html",null,true));sb.append('\n        </h1>\n        <p class="row-preview-unavailable__body">\n            ');sb.append(twig.filter.escape(this.env_,App.t("widgets.row_preview_unavailable.body","We’re unable to show you a preview of this widget"),"html",null,true));sb.append("\n        </p>\n    </div>\n")}else if(twig.attr("data"in context?context["data"]:null,"searchKey")!="profile"&&twig.attr("data"in context?context["data"]:null,"searchKey")!=""){sb.append('    <a\n        class="twitter-timeline"\n        href="https://twitter.com/');sb.append(twig.filter.escape(this.env_,twig.attr("data"in context?context["data"]:null,"searchKey"),"html",null,true));sb.append('"\n        data-height="1024"\n        data-dnt="true"\n        data-lang="');sb.append(twig.filter.escape(this.env_,twig.attr("data"in context?context["data"]:null,"lang"),"html",null,true));sb.append('"\n        data-tweet-limit="');sb.append(twig.filter.escape(this.env_,twig.attr("data"in context?context["data"]:null,"count"),"html",null,true));sb.append('"\n        ');if(twig.attr("data"in context?context["data"]:null,"theme")=="transparent"){sb.append('            data-chrome="transparent"\n        ')}else{sb.append('            data-theme="');sb.append(twig.filter.escape(this.env_,twig.attr("data"in context?context["data"]:null,"theme"),"html",null,true));sb.append('"\n        ')}sb.append("    >\n        ");sb.append(twig.filter.escape(this.env_,App.t("widgets.twitter.tweets_placeholder","Tweets by %1",twig.attr("data"in context?context["data"]:null,"searchKey")),"html",null,true));sb.append("\n    </a>\n\n    ");if(twig.attr("data"in context?context["data"]:null,"twitterWidgetEnabled")){sb.append('        <script defer src="https://platform.twitter.com/widgets.js" charset="utf-8"><\/script>\n    ')}}else if(twig.attr("app"in context?context["app"]:null,"mode")!="published"){sb.append("    <p>");sb.append(twig.filter.escape(this.env_,App.t("widgets.twitter.no_search_key","Please enter a search key in the widget settings."),"html",null,true));sb.append("</p>\n")}};twig.templates["widget_twitter.twig"].prototype.getTemplateName=function(){return"widget_twitter"};twig.templates["widget_twitter.twig"].prototype.isTraitable=function(){return false};goog.require("twig");goog.provide("twig.templates");goog.require("twig.filter");twig.templates["widget_yelpreview.twig"]=function(env){twig.Template.call(this,env)};twig.inherits(twig.templates["widget_yelpreview.twig"],twig.Template);twig.templates["widget_yelpreview.twig"].prototype.getParent_=function(context){return false};twig.templates["widget_yelpreview.twig"].prototype.render_=function(sb,context,blocks){blocks=typeof blocks=="undefined"?{}:blocks;if(twig.attr(twig.attr("data"in context?context["data"]:null,"reviews"),"reviews",undefined,undefined,true)&&twig.filter.length(this.env_,twig.attr(twig.attr("data"in context?context["data"]:null,"reviews"),"reviews"))>0){sb.append('<div class="bk-yelpreview  yelpreview  widget__yelpreview  js-yelpreview">\n\n    ');if(twig.filter.length(this.env_,twig.attr("data"in context?context["data"]:null,"title"))>0){sb.append("\n    ");sb.append('    <h2 class="yelp-title  yelpreview__yelp-title">');sb.append(twig.filter.escape(this.env_,twig.attr("data"in context?context["data"]:null,"title"),"html",null,true));sb.append("</h2>\n\n    ")}sb.append("    ");sb.append('    <ul class="review-list  yelpreview__review-list">\n    ');context["_parent"]=context;var seq=twig.attr(twig.attr("data"in context?context["data"]:null,"reviews"),"reviews");var loop={index0:0,index:1,first:true};if(twig.countable(seq)){var length=twig.count(seq);loop["revindex0"]=length-1;loop["revindex"]=length;loop["length"]=length;loop["last"]=1===length}twig.forEach(seq,(function(v,k){context["_key"]=k;context["review"]=v;sb.append("\n        ");sb.append('        <li class="review-item  yelpreview__review-item" itemprop="review" itemscope itemtype="https://schema.org/Review">\n            <span itemprop="itemReviewed" itemscope itemtype="https://schema.org/Product">\n                <meta itemprop="name" content="');sb.append(twig.filter.escape(this.env_,twig.attr("profile"in context?context["profile"]:null,"business"),"html",null,true));sb.append('" />\n            </span>\n\n            ');sb.append('            <article class="review-article  yelpreview__review-article">\n\n                ');sb.append('                <header class="review-header  yelpreview__review-header">\n\n                    ');sb.append('                    <h3 class="review-title  yelpreview__review-title" itemprop="name">\n                        <span class="author-label  yelpreview__author-label">');sb.append(twig.filter.escape(this.env_,App.t("widgets.yelpreview.postby","Posted by"),"html",null,true));sb.append(' </span><span class="review-author  yelpreview__review-author" itemprop="author">');sb.append(twig.filter.escape(this.env_,twig.attr("review"in context?context["review"]:null,"reviewer_name"),"html",null,true));sb.append("</span>\n                    </h3>\n\n                    ");sb.append('                    <div class="review-rating  yelpreview__review-rating  icon  icon--stars');sb.append(twig.filter.escape(this.env_,twig.attr("review"in context?context["review"]:null,"rating"),"html",null,true));sb.append('" itemscope itemtype="https://schema.org/Rating">\n                        <meta itemprop="worstRating" content="1">\n                        <meta itemprop="bestRating" content="5">\n                        <meta itemprop="ratingValue" content="');sb.append(twig.filter.escape(this.env_,twig.attr("review"in context?context["review"]:null,"rating"),"html",null,true));sb.append('">\n\n                        <img src="');sb.append(twig.filter.escape(this.env_,twig.attr("data"in context?context["data"]:null,"assetBaseUrl"),"html",null,true));sb.append("/apps/images/yelp/");sb.append(twig.filter.escape(this.env_,twig.attr(twig.attr("review"in context?context["review"]:null,"rating_images"),"src"),"html",null,true));sb.append('" srcset="');sb.append(twig.filter.escape(this.env_,twig.attr("data"in context?context["data"]:null,"assetBaseUrl"),"html",null,true));sb.append("/apps/images/yelp/");sb.append(twig.filter.escape(this.env_,twig.attr(twig.attr("review"in context?context["review"]:null,"rating_images"),"2x",undefined,"array"),"html",null,true));sb.append(" 2x, ");sb.append(twig.filter.escape(this.env_,twig.attr("data"in context?context["data"]:null,"assetBaseUrl"),"html",null,true));sb.append("/apps/images/yelp/");sb.append(twig.filter.escape(this.env_,twig.attr(twig.attr("review"in context?context["review"]:null,"rating_images"),"3x",undefined,"array"),"html",null,true));sb.append(' 3x" alt="');sb.append(twig.filter.escape(this.env_,App.t("widgets.yelpreview.rating","%1 stars",twig.attr("review"in context?context["review"]:null,"rating")),"html",null,true));sb.append('" title="');sb.append(twig.filter.escape(this.env_,App.t("widgets.yelpreview.rating","%1 stars",twig.attr("review"in context?context["review"]:null,"rating")),"html",null,true));sb.append('">\n\n                    </div>\n\n                </header>\n\n                ');sb.append('                <div class="review-excerpt  yelpreview__review-excerpt">\n\n                    <p class="review-text  yelpreview__review-text" itemprop="description">');sb.append(twig.filter.escape(this.env_,twig.attr("review"in context?context["review"]:null,"review"),"html",null,true));sb.append("</p>\n\n                    ");sb.append('                    <a class="review-link  yelpreview__review-link" href="');sb.append(twig.filter.escape(this.env_,twig.attr("review"in context?context["review"]:null,"url"),"html",null,true));sb.append('" target="_blank">');sb.append(twig.filter.escape(this.env_,App.t("widgets.yelpreview.more_info","Read more..."),"html",null,true));sb.append("</a>\n\n                </div>\n\n                ");sb.append('                <footer class="review-footer  yelpreview__review-footer">\n\n                    ');sb.append('                    <time class="timestamp  yelpreview__timestamp" datetime="');sb.append(twig.filter.escape(this.env_,App.getPHPDate("c",twig.attr("review"in context?context["review"]:null,"time_created")),"html",null,true));sb.append('" itemprop="datePublished">');sb.append(twig.filter.escape(this.env_,twig.attr("review"in context?context["review"]:null,"time_created"),"html",null,true));sb.append("</time>\n\n                </footer>\n\n            </article>\n\n        </li>\n\n    ")}),this);sb.append("\n    </ul>\n\n</div>\n")}sb.append("\n");if(twig.attr("app"in context?context["app"]:null,"mode")=="row-preview"){sb.append('    <div class="row-preview-unavailable">\n        <div class="row-preview-unavailable__icon-container">\n            ');new twig.templates["row_preview_icon_yelpreview.twig"](this.env_).render_(sb,context);sb.append('        </div>\n        <h1 class="row-preview-unavailable__title">');sb.append(twig.filter.escape(this.env_,App.t("widgets.yelpreview.row_preview_display_name","Yelp review"),"html",null,true));sb.append('</h1>\n        <p class="row-preview-unavailable__body">');sb.append(twig.filter.escape(this.env_,App.t("widgets.row_preview_unavailable.body","We’re unable to show you a preview of this widget"),"html",null,true));sb.append("</p>\n    </div>\n")}else if(twig.filter.length(this.env_,twig.attr(twig.attr("data"in context?context["data"]:null,"reviews"),"reviews"))==0&&twig.attr("app"in context?context["app"]:null,"mode")!="published"&&twig.attr("app"in context?context["app"]:null,"mode")!="site-preview"){sb.append('    <div class="bk-message  bk-message--empty  yelpreview__bk-message">\n        <p>');sb.append(twig.filter.escape(this.env_,App.t("widgets.yelpreview.no_business_id","Enter your Yelp business ID to show your top rated review."),"html",null,true));sb.append("</p>\n    </div>\n")}};twig.templates["widget_yelpreview.twig"].prototype.getTemplateName=function(){return"widget_yelpreview"};twig.templates["widget_yelpreview.twig"].prototype.isTraitable=function(){return false};goog.require("twig");goog.provide("twig.templates");goog.require("twig.filter");twig.templates["image_placeholder.twig"]=function(env){twig.Template.call(this,env)};twig.inherits(twig.templates["image_placeholder.twig"],twig.Template);twig.templates["image_placeholder.twig"].prototype.getParent_=function(context){return false};twig.templates["image_placeholder.twig"].prototype.render_=function(sb,context,blocks){blocks=typeof blocks=="undefined"?{}:blocks;sb.append("data:image/png;base64,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")};twig.templates["image_placeholder.twig"].prototype.getTemplateName=function(){return"image_placeholder"};twig.templates["image_placeholder.twig"].prototype.isTraitable=function(){return true};goog.require("twig");goog.provide("twig.templates");goog.require("twig.filter");twig.templates["photo_swipe.twig"]=function(env){twig.Template.call(this,env)};twig.inherits(twig.templates["photo_swipe.twig"],twig.Template);twig.templates["photo_swipe.twig"].prototype.getParent_=function(context){return false};twig.templates["photo_swipe.twig"].prototype.render_=function(sb,context,blocks){blocks=typeof blocks=="undefined"?{}:blocks;sb.append('<div class="js-pswp pswp" tabindex="-1" role="dialog" aria-hidden="true">\n\n    \x3c!-- Background of PhotoSwipe.\n         It\'s a separate element as animating opacity is faster than rgba(). --\x3e\n    <div class="pswp__bg"></div>\n\n    \x3c!-- Slides wrapper with overflow:hidden. --\x3e\n    <div class="pswp__scroll-wrap">\n\n        \x3c!-- Container that holds slides.\n            PhotoSwipe keeps only 3 of them in the DOM to save memory.\n            Don\'t modify these 3 pswp__item elements, data is added later on. --\x3e\n        <div class="pswp__container">\n            <div class="pswp__item"></div>\n            <div class="pswp__item"></div>\n            <div class="pswp__item"></div>\n        </div>\n\n        \x3c!-- Default (PhotoSwipeUI_Default) interface on top of sliding area. Can be changed. --\x3e\n        <div class="pswp__ui pswp__ui--hidden">\n\n            <div class="pswp__top-bar">\n\n                \x3c!--  Controls are self-explanatory. Order can be changed. --\x3e\n\n                <div class="pswp__counter"></div>\n\n                <button class="pswp__button pswp__button--close" title="');sb.append(twig.filter.escape(this.env_,App.t("widgets.photoswipe.close","Close (Esc)"),"html",null,true));sb.append('"></button>\n\n                <button class="pswp__button pswp__button--fs" title="');sb.append(twig.filter.escape(this.env_,App.t("widgets.photoswipe.fullscreen","Toggle fullscreen"),"html",null,true));sb.append('"></button>\n\n                <button class="pswp__button pswp__button--zoom" title="');sb.append(twig.filter.escape(this.env_,App.t("widgets.photoswipe.zoom","Zoom in/out"),"html",null,true));sb.append('"></button>\n\n                \x3c!-- Preloader demo http://codepen.io/dimsemenov/pen/yyBWoR --\x3e\n                \x3c!-- element will get class pswp__preloader--active when preloader is running --\x3e\n                <div class="pswp__preloader">\n                    <div class="pswp__preloader__icn">\n                      <div class="pswp__preloader__cut">\n                        <div class="pswp__preloader__donut"></div>\n                      </div>\n                    </div>\n                </div>\n            </div>\n\n            <div class="pswp__share-modal pswp__share-modal--hidden pswp__single-tap">\n                <div class="pswp__share-tooltip"></div>\n            </div>\n\n            <button class="pswp__button pswp__button--arrow--left" title="');sb.append(twig.filter.escape(this.env_,App.t("widgets.photoswipe.previous","Previous (arrow left)"),"html",null,true));sb.append('">\n            </button>\n\n            <button class="pswp__button pswp__button--arrow--right" title="');sb.append(twig.filter.escape(this.env_,App.t("widgets.photoswipe.next","Next (arrow right)"),"html",null,true));sb.append('">\n            </button>\n\n            <div class="pswp__caption">\n                <div class="pswp__caption__center"></div>\n            </div>\n\n        </div>\n    </div>\n</div>\n')};twig.templates["photo_swipe.twig"].prototype.getTemplateName=function(){return"photo_swipe"};twig.templates["photo_swipe.twig"].prototype.isTraitable=function(){return false};goog.require("twig");goog.provide("twig.templates");goog.require("twig.filter");twig.templates["policy_page_control.twig"]=function(env){twig.Template.call(this,env)};twig.inherits(twig.templates["policy_page_control.twig"],twig.Template);twig.templates["policy_page_control.twig"].prototype.getParent_=function(context){return false};twig.templates["policy_page_control.twig"].prototype.render_=function(sb,context,blocks){blocks=typeof blocks=="undefined"?{}:blocks;if("enablePolicyPages"in context?context["enablePolicyPages"]:null){sb.append("\n");context["privacyRequest"]="";context["privacyLinkText"]="";context["privacyPageEnabled"]=false;sb.append("\n");context["_parent"]=context;var seq="policyPageData"in context?context["policyPageData"]:null;var loop={index0:0,index:1,first:true};if(twig.countable(seq)){var length=twig.count(seq);loop["revindex0"]=length-1;loop["revindex"]=length;loop["length"]=length;loop["last"]=1===length}twig.forEach(seq,(function(v,k){context["_key"]=k;context["policyPage"]=v;sb.append("    ");if(twig.attr("policyPage"in context?context["policyPage"]:null,"policyType")=="privacy"){sb.append("        ");context["privacyRequest"]=twig.attr("policyPage"in context?context["policyPage"]:null,"request");sb.append("        ");context["privacyLinkText"]=twig.attr("policyPage"in context?context["policyPage"]:null,"linkText");sb.append("        ");context["privacyPageEnabled"]=true;sb.append("    ")}}),this);sb.append("\n");if(!("privacyLabel"in context)||("privacyLabel"in context?context["privacyLabel"]:null)==""){sb.append("    ");context["privacyLabel"]=App.t("widgets.form.terms_checkbox","I agree to the use of my data for the stated purpose")}sb.append('\n<div class="form-group ');sb.append(twig.filter.escape(this.env_,"widgetName"in context?context["widgetName"]:null,"html",null,true));sb.append("__form-group ");sb.append(twig.filter.escape(this.env_,"widgetName"in context?context["widgetName"]:null,"html",null,true));sb.append('__form-group--terms">\n    <input\n        type="checkbox"\n        id="');sb.append(twig.filter.escape(this.env_,"uniqueHTMLId"in context?context["uniqueHTMLId"]:null,"html",null,true));sb.append('__input--terms"\n        name="');sb.append(twig.filter.escape(this.env_,"uniqueHTMLId"in context?context["uniqueHTMLId"]:null,"html",null,true));sb.append('__input--terms"\n        class="input input--checkbox js-input-checkbox js-terms-input"\n        aria-required="true" />\n    <label for="');sb.append(twig.filter.escape(this.env_,"uniqueHTMLId"in context?context["uniqueHTMLId"]:null,"html",null,true));sb.append('__input--terms">\n        ');if(("privacyPageEnabled"in context?context["privacyPageEnabled"]:null)||("privacyPageEnabled"in context?context["privacyPageEnabled"]:null)==1){sb.append('            <span><a href="/');sb.append(twig.filter.escape(this.env_,"privacyRequest"in context?context["privacyRequest"]:null,"html",null,true));sb.append('" class="form__link">');sb.append(twig.filter.escape(this.env_,"privacyLabel"in context?context["privacyLabel"]:null,"html",null,true));sb.append("</a></span>\n        ")}else{sb.append('            <span class="form__privacy-label">');sb.append(twig.filter.escape(this.env_,"privacyLabel"in context?context["privacyLabel"]:null,"html",null,true));sb.append("</span>\n        ")}sb.append("    </label>\n</div>\n\n")}};twig.templates["policy_page_control.twig"].prototype.getTemplateName=function(){return"policy_page_control"};twig.templates["policy_page_control.twig"].prototype.isTraitable=function(){return false};goog.require("twig");goog.provide("twig.templates");goog.require("twig.filter");twig.templates["widget_extendednavigationbasket.twig"]=function(env){twig.Template.call(this,env)};twig.inherits(twig.templates["widget_extendednavigationbasket.twig"],twig.Template);twig.templates["widget_extendednavigationbasket.twig"].prototype.getParent_=function(context){return false};twig.templates["widget_extendednavigationbasket.twig"].prototype.render_=function(sb,context,blocks){blocks=typeof blocks=="undefined"?{}:blocks;sb.append('<div class="bk-ecombasket  ecombasket  widget__ecombasket">\n\n    <button class="basket-toggle  navigation-basket-toggle  button  icon  icon--basket  ecombasket__basket-toggle  js-pull-basket">');sb.append(twig.filter.escape(this.env_,App.t("widgets.ecombasket.basket","Basket"),"html",null,true));sb.append(': <span class="item-count  ecombasket__item-count">');sb.append(twig.filter.escape(this.env_,twig.attr("data"in context?context["data"]:null,"itemCount",undefined,undefined,true)?twig.attr("data"in context?context["data"]:null,"itemCount"):twig.attr(twig.attr(twig.attr("plugins"in context?context["plugins"]:null,"ecommerce"),"cart"),"itemCount"),"html",null,true));sb.append('</span></button>\n\n    <div class="basket-body  ecombasket__basket-body">\n        <ul class="basket-list  ecombasket__basket-list">\n            ');context["items"]=twig.attr("data"in context?context["data"]:null,"items",undefined,undefined,true)?twig.attr("data"in context?context["data"]:null,"items"):twig.attr(twig.attr(twig.attr("plugins"in context?context["plugins"]:null,"ecommerce"),"cart"),"items");sb.append("            ");context["_parent"]=context;var seq="items"in context?context["items"]:null;var iterated=false;var loop={index0:0,index:1,first:true};twig.forEach(seq,(function(v,k){context["_key"]=k;context["item"]=v;if(twig.attr("item"in context?context["item"]:null,"quantity")>0){sb.append('                <li class="basket-item  ecombasket__basket-item" data-ref="');sb.append(twig.filter.escape(this.env_,twig.attr("item"in context?context["item"]:null,"ref"),"html",null,true));sb.append('">\n                    <div class="basket-item-image  ecombasket__item-image">\n                        ');if(twig.filter.length(this.env_,twig.attr("item"in context?context["item"]:null,"featureImageAssetRef"))&&twig.attr("item"in context?context["item"]:null,"featureImageAssetRef")!=0){sb.append("                            ");context["assetUrl"]=App.stripUrlScheme(App.getAssetUrl(twig.attr(twig.attr(twig.attr("plugins"in context?context["plugins"]:null,"assets"),"images"),twig.attr("item"in context?context["item"]:null,"featureImageAssetRef"),undefined,"array")));sb.append('                            <a class="image-link  ecombasket__image-link" href="');sb.append(twig.filter.escape(this.env_,"requestBase"in context?context["requestBase"]:null,"html",null,true));sb.append("/store/product/");sb.append(twig.filter.escape(this.env_,twig.attr("item"in context?context["item"]:null,"slug"),"html",null,true));sb.append('" style="background-image:url(');sb.append(twig.filter.escape(this.env_,"assetUrl"in context?context["assetUrl"]:null,"html",null,true));sb.append(');">\n                                <img class="image  image--thumb  ecombasket__image" src="');sb.append(twig.filter.escape(this.env_,"assetUrl"in context?context["assetUrl"]:null,"html",null,true));sb.append('" alt="');sb.append(twig.filter.escape(this.env_,twig.attr("item"in context?context["item"]:null,"title"),"html",null,true));sb.append('">\n                            </a>\n                        ')}else{sb.append('                            <a class="image-link  ecombasket__image-link  no-image" href="');sb.append(twig.filter.escape(this.env_,"requestBase"in context?context["requestBase"]:null,"html",null,true));sb.append("/store/product/");sb.append(twig.filter.escape(this.env_,twig.attr("item"in context?context["item"]:null,"slug"),"html",null,true));sb.append('">\n                                <img class="image  image--thumb  ecombasket__image" src="');new twig.templates["image_placeholder.twig"](this.env_).render_(sb,context);sb.append('" alt="');sb.append(twig.filter.escape(this.env_,twig.attr("item"in context?context["item"]:null,"title"),"html",null,true));sb.append('">\n                                    </a>\n                        ')}sb.append('                    </div>\n\n                    <div class="basket-item-details  ecombasket__item-details">\n                        <a class="basket-item-name  ecombasket__basket-item-name" href="');sb.append(twig.filter.escape(this.env_,"requestBase"in context?context["requestBase"]:null,"html",null,true));sb.append("/store/product/");sb.append(twig.filter.escape(this.env_,twig.attr("item"in context?context["item"]:null,"slug"),"html",null,true));sb.append('">');sb.append(twig.filter.escape(this.env_,twig.attr("item"in context?context["item"]:null,"title"),"html",null,true));sb.append('</a>\n                        <p class="item-quantity  ecombasket__item-quantity">');sb.append(App.stringFormat(twig.filter.escape(this.env_,App.t("widgets.ecombasket.quantity_no_markup","Quantity: %s%1%s",twig.attr("item"in context?context["item"]:null,"quantity"))),'<span class="quantity-number  ecombasket__quantity-number">',"</span>"));sb.append("</p>\n                        ");if(twig.attr(twig.attr(twig.attr("plugins"in context?context["plugins"]:null,"ecommerce"),"store"),"taxProducts")&&twig.attr(twig.attr(twig.attr("plugins"in context?context["plugins"]:null,"ecommerce"),"store"),"preCalculateTax")&&!(null===twig.attr("item"in context?context["item"]:null,"formattedPriceTotalInclTax"))){sb.append('                            <p class="basket-item-price  ecombasket__item-price">');sb.append(twig.filter.escape(this.env_,twig.attr("item"in context?context["item"]:null,"formattedPriceTotalInclTax"),"html",null,true));sb.append("</p>\n                        ")}else{sb.append('                            <p class="basket-item-price  ecombasket__item-price">');sb.append(twig.filter.escape(this.env_,twig.attr("item"in context?context["item"]:null,"formattedPriceTotal"),"html",null,true));sb.append("</p>\n                        ")}sb.append('                    </div>\n\n                    <button class="item-remove  button  icon  icon--remove  ecombasket__item-remove  js-remove-basket" data-ref="');sb.append(twig.filter.escape(this.env_,twig.attr("item"in context?context["item"]:null,"ref"),"html",null,true));sb.append('">\n                        <span class="remove-text  ecombasket__remove-text" data-ref="');sb.append(twig.filter.escape(this.env_,twig.attr("item"in context?context["item"]:null,"ref"),"html",null,true));sb.append('">');sb.append(twig.filter.escape(this.env_,App.t("widgets.ecombasket.remove","Remove"),"html",null,true));sb.append("</span>\n                    </button>\n                </li>\n            ");iterated=true;++loop["index0"];++loop["index"];loop["first"]=false}}),this);if(!iterated){sb.append('                <li>\n                    <p class="basket-empty  ecombasket__empty">');sb.append(twig.filter.escape(this.env_,App.t("widgets.ecombasket.empty","Your basket is currently empty"),"html",null,true));sb.append("</p>\n                </li>\n            ")}sb.append("        </ul>\n\n        ");if(twig.attr(twig.attr(twig.attr("plugins"in context?context["plugins"]:null,"ecommerce"),"store"),"taxProducts")&&twig.attr(twig.attr(twig.attr("plugins"in context?context["plugins"]:null,"ecommerce"),"store"),"preCalculateTax")&&(!(null===twig.attr("data"in context?context["data"]:null,"subTotalInclTax"))||!(null===twig.attr(twig.attr(twig.attr("plugins"in context?context["plugins"]:null,"ecommerce"),"cart"),"subTotalInclTax")))){sb.append("            ");context["subTotal"]=twig.attr("data"in context?context["data"]:null,"subTotalInclTax")?twig.attr("data"in context?context["data"]:null,"subTotalInclTax"):twig.attr(twig.attr(twig.attr("plugins"in context?context["plugins"]:null,"ecommerce"),"cart"),"subTotalInclTax");sb.append("        ")}else{sb.append("            ");context["subTotal"]=twig.attr("data"in context?context["data"]:null,"subTotal")?twig.attr("data"in context?context["data"]:null,"subTotal"):twig.attr(twig.attr(twig.attr("plugins"in context?context["plugins"]:null,"ecommerce"),"cart"),"subTotal");sb.append("        ")}sb.append('\n        <footer class="basket-footer  ecombasket__basket-footer">\n            <h4 class="basket-total  ecombasket__basekit-total">');sb.append(twig.filter.escape(this.env_,App.t("widgets.ecombasket.total","Total"),"html",null,true));sb.append(': <span class="total-number  ecombasket__total-number">');sb.append(twig.filter.escape(this.env_,"subTotal"in context?context["subTotal"]:null,"html",null,true));sb.append('</span></h4>\n            <a class="view-basket  button  ecombasket__button" href="');sb.append(twig.filter.escape(this.env_,"requestBase"in context?context["requestBase"]:null,"html",null,true));sb.append('/store/cart">');sb.append(twig.filter.escape(this.env_,App.t("widgets.ecombasket.summary_link","View Basket"),"html",null,true));sb.append("</a>\n        </footer>\n\n    </div>\n</div>\n")};twig.templates["widget_extendednavigationbasket.twig"].prototype.getTemplateName=function(){return"widget_extendednavigationbasket"};twig.templates["widget_extendednavigationbasket.twig"].prototype.isTraitable=function(){return false};goog.require("twig");goog.provide("twig.templates");goog.require("twig.filter");twig.templates["marketing_consent_page_control.twig"]=function(env){twig.Template.call(this,env)};twig.inherits(twig.templates["marketing_consent_page_control.twig"],twig.Template);twig.templates["marketing_consent_page_control.twig"].prototype.getParent_=function(context){return false};twig.templates["marketing_consent_page_control.twig"].prototype.render_=function(sb,context,blocks){blocks=typeof blocks=="undefined"?{}:blocks;context["marketingConsentText"]="";if(twig.attr("data"in context?context["data"]:null,"marketingConsentText")==""){sb.append("    ");context["marketingConsentText"]=App.t("widgets.contactform.marketing_consent_text_default","I consent to receive marketing communications.")}else{sb.append("    ");context["marketingConsentText"]=twig.attr("data"in context?context["data"]:null,"marketingConsentText")}sb.append("\n");if(twig.attr("data"in context?context["data"]:null,"marketingConsentEnabled")=="1"){sb.append('\n<div class="form-group ');sb.append(twig.filter.escape(this.env_,"widgetName"in context?context["widgetName"]:null,"html",null,true));sb.append("__form-group ");sb.append(twig.filter.escape(this.env_,"widgetName"in context?context["widgetName"]:null,"html",null,true));sb.append('__form-group--terms">\n    <input\n        type="checkbox"\n        id="');sb.append(twig.filter.escape(this.env_,"uniqueHTMLId"in context?context["uniqueHTMLId"]:null,"html",null,true));sb.append('__input--terms"\n        name="');sb.append(twig.filter.escape(this.env_,"uniqueHTMLId"in context?context["uniqueHTMLId"]:null,"html",null,true));sb.append('__input--terms"\n        class="input input--checkbox js-input-checkbox js-marketing-consent-input"\n        aria-required="true" />\n    <label for="');sb.append(twig.filter.escape(this.env_,"uniqueHTMLId"in context?context["uniqueHTMLId"]:null,"html",null,true));sb.append('__input--terms">\n        <span class="form__privacy-label">');sb.append(twig.filter.escape(this.env_,"marketingConsentText"in context?context["marketingConsentText"]:null,"html",null,true));sb.append("</span>\n    </label>\n</div>\n\n")}};twig.templates["marketing_consent_page_control.twig"].prototype.getTemplateName=function(){return"marketing_consent_page_control"};twig.templates["marketing_consent_page_control.twig"].prototype.isTraitable=function(){return false};