window.tinymce.PluginManager.add("cfw_acr",(function(e){e.addButton("cfw_acr",{type:"menubutton",text:"Insert Replacement",icon:!1,menu:[{text:window.cfw_acr_replacement_codes.site_name,value:"{{site_name}}",onclick(){e.insertContent(this.value())}},{text:window.cfw_acr_replacement_codes.cart_products_table,value:"{{cart_products_table}}",onclick(){e.insertContent(this.value())}},{text:window.cfw_acr_replacement_codes.checkout_url,value:"{{checkout_url}}",onclick(){e.insertContent(this.value())}},{text:window.cfw_acr_replacement_codes.checkout_button,value:"{{checkout_button}}",onclick(){e.insertContent(this.value())}},{text:window.cfw_acr_replacement_codes.customer_email,value:"{{customer_email}}",onclick(){e.insertContent(this.value())}},{text:window.cfw_acr_replacement_codes.customer_firstname,value:"{{customer_firstname}}",onclick(){e.insertContent(this.value())}},{text:window.cfw_acr_replacement_codes.customer_lastname,value:"{{customer_lastname}}",onclick(){e.insertContent(this.value())}},{text:window.cfw_acr_replacement_codes.customer_full_name,value:"{{customer_full_name}}",onclick(){e.insertContent(this.value())}},{text:window.cfw_acr_replacement_codes.cart_abandoned_date,value:"{{cart_abandoned_date}}",onclick(){e.insertContent(this.value())}},{text:window.cfw_acr_replacement_codes.site_url,value:"{{site_url}}",onclick(){e.insertContent(this.value())}},{text:window.cfw_acr_replacement_codes.unsubscribe_url,value:"{{unsubscribe_url}}",onclick(){e.insertContent(this.value())}}].sort(((e,t)=>e.text.localeCompare(t.text)))})}));