text: !function(t,r){"object"==typeof exports&&"object"==typeof module?module.exports=r(require("jquery")):"function"==typeof define&&define.amd?define(["jquery"],r):"object"==typeof exports?exports.SirTrevorAdapter=r(require("jquery")):t.SirTrevorAdapter=r(t.jQuery)}(this,function(t){return function(t){function r(n){if(e[n])return e[n].exports;var o=e[n]={exports:{},id:n,loaded:!1};return t[n].call(o.exports,o,o.exports,r),o.loaded=!0,o.exports}var e={};return r.m=t,r.c=e,r.p="",r(0)}([function(t,r,e){"use strict";var n=e(1);n.ButtonAdapter=e(8),n.ImageAdapter=e(10),n.ListAdapter=e(11),n.MapAdapter=e(12),n.SpacerAdapter=e(16),n.TextAdapter=e(17),n.VideoAdapter=e(18),n.ColumnsAdapter=e(9),t.exports=n},function(t,r,e){"use strict";var n=e(2),o=e(3),i=e(5),c=e(6),a=e(7),u={elementEnclosingTag:"div",elementClass:"st-render",addElementTypeClass:!0,containerClass:"st-render-container",attrName:"st",attrType:"st-type"},f=function(t,r){var f={config:Object.assign({},u,t||{}),adapters:r||[e(8),e(9),e(10),e(11),e(12),e(16),e(17),e(18)],initialize:function(){var t=this;return this.adapters.forEach(function(r){r.initialize instanceof Function&&r.initialize(t)}),t},isSirTrevorData:function(t){return!!(t&&t.type&&t.data&&i(t.data)&&a(t.type))},getAdapterFor:function(t){if(!t)return null;var r=t.type||t;return this.adapters.reduce(function(t,e){return t?t:e.handles.indexOf(r)>=0?e:null},null)},toHTML:function(t){var r=!0;c(t)||(t=[t],r=!1);var e=this,i=function(t){if(!e.isSirTrevorData(t))throw Error("No valid SirTrevorData "+t);var r=e.getAdapterFor(t);if(!r)throw Error("No handler for "+t.type);if(o(t.data))return"";var i=n("<div>"),c=n("<"+e.config.elementEnclosingTag+">");return c.addClass(e.config.elementClass),e.config.addElementTypeClass&&c.addClass(e.config.elementClass+"-"+t.type),c.html(r.toHTML(t.data,t.type)),c.attr("data-"+e.config.attrType,t.type),i.append(c),i.html()},a=t.map(i);return r?'<div class="'+e.config.containerClass+'">'+a.join(" ")+"</div>":a.pop()},toJSON:function(t){var r=this,e=n(t);return e.find("."+this.config.elementClass).map(function(e,o){var i=n(o),c=i.data(r.config.attrName);if(c)return c;var a=i.data(r.config.attrType);if(!a)throw Error("No data-"+r.config.attrType+" tag found on: "+t);var u=r.getAdapterFor(a);if(!u)throw Error("No handler for "+a);return{type:a,data:u.toJSON(i.html(),a)}}).get()}};return f.initialize()};t.exports=f},function(r,e){r.exports=t},function(t,r,e){(function(t,e){function n(t,r){return null==t?void 0:t[r]}function o(t){var r=!1;if(null!=t&&"function"!=typeof t.toString)try{r=!!(t+"")}catch(t){}return r}function i(t,r){return function(e){return t(r(e))}}function c(t){return D.call(t)}function a(t){if(!m(t)||f(t))return!1;var r=h(t)||o(t)?V:$;return r.test(s(t))}function u(t,r){var e=n(t,r);return a(e)?e:void 0}function f(t){return!!H&&H in t}function l(t){var r=t&&t.constructor,e="function"==typeof r&&r.prototype||R;return t===e}function s(t){if(null!=t){try{return J.call(t)}catch(t){}try{return t+""}catch(t){}}return""}function p(t){return v(t)&&B.call(t,"callee")&&(!G.call(t,"callee")||D.call(t)==x)}function d(t){return null!=t&&b(t.length)&&!h(t)}function v(t){return g(t)&&d(t)}function y(t){if(d(t)&&(ft(t)||"string"==typeof t||"function"==typeof t.splice||lt(t)||p(t)))return!t.length;var r=ut(t);if(r==A||r==E)return!t.size;if(et||l(t))return!K(t).length;for(var e in t)if(B.call(t,e))return!1;return!0}function h(t){var r=m(t)?D.call(t):"";return r==w||r==O}function b(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=_}function m(t){var r=typeof t;return!!t&&("object"==r||"function"==r)}function g(t){return!!t&&"object"==typeof t}function j(){return!1}var _=9007199254740991,x="[object Arguments]",w="[object Function]",O="[object GeneratorFunction]",A="[object Map]",S="[object Object]",T="[object Promise]",E="[object Set]",k="[object WeakMap]",M="[object DataView]",N=/[\\^$.*+?()[\]{}|]/g,$=/^\[object .+?Constructor\]$/,C="object"==typeof t&&t&&t.Object===Object&&t,F="object"==typeof self&&self&&self.Object===Object&&self,L=C||F||Function("return this")(),P="object"==typeof r&&r&&!r.nodeType&&r,q=P&&"object"==typeof e&&e&&!e.nodeType&&e,z=q&&q.exports===P,I=Function.prototype,R=Object.prototype,U=L["__core-js_shared__"],H=function(){var t=/[^.]+$/.exec(U&&U.keys&&U.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),J=I.toString,B=R.hasOwnProperty,D=R.toString,V=RegExp("^"+J.call(B).replace(N,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),W=z?L.Buffer:void 0,G=R.propertyIsEnumerable,Q=W?W.isBuffer:void 0,K=i(Object.keys,Object),X=u(L,"DataView"),Y=u(L,"Map"),Z=u(L,"Promise"),tt=u(L,"Set"),rt=u(L,"WeakMap"),et=!G.call({valueOf:1},"valueOf"),nt=s(X),ot=s(Y),it=s(Z),ct=s(tt),at=s(rt),ut=c;(X&&ut(new X(new ArrayBuffer(1)))!=M||Y&&ut(new Y)!=A||Z&&ut(Z.resolve())!=T||tt&&ut(new tt)!=E||rt&&ut(new rt)!=k)&&(ut=function(t){var r=D.call(t),e=r==S?t.constructor:void 0,n=e?s(e):void 0;if(n)switch(n){case nt:return M;case ot:return A;case it:return T;case ct:return E;case at:return k}return r});var ft=Array.isArray,lt=Q||j;e.exports=y}).call(r,function(){return this}(),e(4)(t))},function(t,r){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children=[],t.webpackPolyfill=1),t}},function(t,r){function e(t){var r=typeof t;return!!t&&("object"==r||"function"==r)}t.exports=e},function(t,r){var e=Array.isArray;t.exports=e},function(t,r){function e(t){return!!t&&"object"==typeof t}function n(t){return"string"==typeof t||!a(t)&&e(t)&&c.call(t)==o}var o="[object String]",i=Object.prototype,c=i.toString,a=Array.isArray;t.exports=n},function(t,r,e){var n=e(2),o={name:"ButtonAdapter",handles:["button"],toHTML:function(t){var r=n("<div>"),e=n("<a>").appendTo(r);if(n("<div>",{style:"clear: both"}).appendTo(r),e.html(t.text),t.href&&t.href.length>0&&e.attr("href",t.href),e.attr("data-st-user-href",t["user-href"]),e.attr("style","overflow: hidden; display: block; line-height: normal; box-sizing: border-box; border-style: solid; text-align: center; margin: 0 auto;"),e.find("> *").css("margin","0"),Object.keys(t).forEach(function(r){if(/^css\-/.test(r)){var n=r.replace(/^css-/,""),o=t[r];e.attr("style",e.attr("style")+n+":"+o+";")}}),t._fontUrl){var o=n("<link>",{type:"text/css",rel:"stylesheet",href:t._fontUrl});r.prepend(o)}return r.html()},toJSON:function(t){var r=n(t),e=r.filter("a"),o=r.filter("link"),i={};return i.format="html",i.text=e.html(),i.href=e.attr("href"),i["user-href"]=e.attr("data-st-user-href"),e.attr("style").split(";").filter(function(t){return t.indexOf(":")!=-1}).forEach(function(t){var r=t.split(":"),e=r[0].replace(/\s/g,""),n=r[1].trim();i["css-"+e]=n}),o.length>0&&(i._fontUrl=o.attr("href")),i}};t.exports=o},function(t,r,e){var n=e(2),o=e(1),i={name:"ColumnsAdapter",handles:["columns"],_getAdapter:function(){return this._adapter||(this._adapter=o({elementClass:"st-row",containerClass:"st-column"})),this._adapter},toHTML:function(t){var r=this._getAdapter(),e=n("<div>");return t.columns.map(function(t){var o=r.toHTML(t.blocks),i=n(o);e.append(i)}),e.html()},toJSON:function(t){var r=this._getAdapter(),e=n("<div>"+t+"</div>"),o={columns:[]};return e.find("."+r.config.containerClass).each(function(t,e){var i=n("<div>"),c=n(e);i.append(c);var a={blocks:r.toJSON(i.html())};o.columns.push(a)}),o}};t.exports=i},function(t,r){var e={name:"ImageAdapter",handles:["image","image_edit"],toHTML:function(t){if(!t||!t.file)return"";var r=t.file.url||"",e=t.href,n='<img src="'+r+'"/>';return e&&e.length>0?'<a href="'+e+'">'+n+"</a>":n},toJSON:function(t){var r="",e=/<img src="(.*?)"\/?>/,n=e.exec(t);n&&(r=n[1]);var o=null,i=/<a href="(.*?)">/,c=i.exec(t);return c&&(o=c[1]),{href:o,file:{url:r}}}};t.exports=e},function(t,r){var e={name:"ListAdapter",handles:["list"],toHTML:function(t){return t.listItems.reduce(function(t,r){t+="<li>"+r.content+"</li>"},"<ul>")+"</ul>"},toJSON:function(t){for(var r,e=/<li>(.*)<\/li>/,n=[];null!==(r=e.exec(t));)n.push({content:r[1]});return{listItems:n}}};t.exports=e},function(t,r,e){var n=e(2),o=e(13),i={name:"MapAdapter",handles:["map"],toHTML:function(t){var r=o("https://maps.googleapis.com/maps/api/staticmap?size=<%= width %>x<%= height %>&center=<%= address %>&markers=|<%= address %>&zoom=<%= zoom %>&scale=2&key=<%= key %>")(t),e=o("http://maps.google.com/maps?q=<%= address %>")(t),n='<a href="<%= map_ref %>"><img src="<%= img_src %>" /></a>';return o(n)({img_src:r,map_ref:e})},toJSON:function(t){var r=n(t).find("img").attr("src"),e=/center=(.*?)&.*zoom=([0-9]+)&.*scale=([0-9]+)/,o=e.exec(r);return o?{address:o[1],zoom:o[2],scale:o[3]}:null}};t.exports=i},function(t,r,e){(function(t,n){function o(t,r,e){switch(e.length){case 0:return t.call(r);case 1:return t.call(r,e[0]);case 2:return t.call(r,e[0],e[1]);case 3:return t.call(r,e[0],e[1],e[2])}return t.apply(r,e)}function i(t,r){for(var e=-1,n=null==t?0:t.length,o=Array(n);++e<n;)o[e]=r(t[e],e,t);return o}function c(t,r){for(var e=-1,n=Array(t);++e<t;)n[e]=r(e);return n}function a(t){return function(r){return t(r)}}function u(t,r){return i(r,function(r){return t[r]})}function f(t){return"\\"+Vt[t]}function l(t,r){return null==t?void 0:t[r]}function s(t,r){return function(e){return t(r(e))}}function p(t,r){var e=Sr(t),n=!e&&Ar(t),o=!e&&!n&&Tr(t),i=!e&&!n&&!o&&Er(t),a=e||n||o||i,u=a?c(t.length,String):[],f=u.length;for(var l in t)!r&&!cr.call(t,l)||a&&("length"==l||o&&("offset"==l||"parent"==l)||i&&("buffer"==l||"byteLength"==l||"byteOffset"==l)||E(l,f))||u.push(l);return u}function d(t,r,e){var n=t[r];cr.call(t,r)&&q(n,e)&&(void 0!==e||r in t)||v(t,r,e)}function v(t,r,e){"__proto__"==r&&hr?hr(t,r,{configurable:!0,enumerable:!0,value:e,writable:!0}):t[r]=e}function y(t){return null==t?void 0===t?wt:ht:yr&&yr in Object(t)?T(t):C(t)}function h(t){return J(t)&&y(t)==it}function b(t){if(!H(t)||M(t))return!1;var r=R(t)?lr:Ut;return r.test(P(t))}function m(t){return J(t)&&U(t.length)&&!!Dt[y(t)]}function g(t){if(!N(t))return mr(t);var r=[];for(var e in Object(t))cr.call(t,e)&&"constructor"!=e&&r.push(e);return r}function j(t){if(!H(t))return $(t);var r=N(t),e=[];for(var n in t)("constructor"!=n||!r&&cr.call(t,n))&&e.push(n);return e}function _(t,r){return Or(F(t,r,X),t+"")}function x(t){if("string"==typeof t)return t;if(Sr(t))return i(t,x)+"";if(D(t))return xr?xr.call(t):"";var r=t+"";return"0"==r&&1/t==-nt?"-0":r}function w(t,r,e,n){var o=!e;e||(e={});for(var i=-1,c=r.length;++i<c;){var a=r[i],u=n?n(e[a],t[a],a,e,t):void 0;void 0===u&&(u=t[a]),o?v(e,a,u):d(e,a,u)}return e}function O(t){return _(function(r,e){var n=-1,o=e.length,i=o>1?e[o-1]:void 0,c=o>2?e[2]:void 0;for(i=t.length>3&&"function"==typeof i?(o--,i):void 0,c&&k(e[0],e[1],c)&&(i=o<3?void 0:i,o=1),r=Object(r);++n<o;){var a=e[n];a&&t(r,a,n,i)}return r})}function A(t,r,e,n){return void 0===t||q(t,nr[e])&&!cr.call(n,e)?r:t}function S(t,r){var e=l(t,r);return b(e)?e:void 0}function T(t){var r=cr.call(t,yr),e=t[yr];try{t[yr]=void 0;var n=!0}catch(t){}var o=ur.call(t);return n&&(r?t[yr]=e:delete t[yr]),o}function E(t,r){var e=typeof t;return r=null==r?ot:r,!!r&&("number"==e||"symbol"!=e&&Ht.test(t))&&t>-1&&t%1==0&&t<r}function k(t,r,e){if(!H(e))return!1;var n=typeof r;return!!("number"==n?z(e)&&E(r,e.length):"string"==n&&r in e)&&q(e[r],t)}function M(t){return!!ar&&ar in t}function N(t){var r=t&&t.constructor,e="function"==typeof r&&r.prototype||nr;return t===e}function $(t){var r=[];if(null!=t)for(var e in Object(t))r.push(e);return r}function C(t){return ur.call(t)}function F(t,r,e){return r=gr(void 0===r?t.length-1:r,0),function(){for(var n=arguments,i=-1,c=gr(n.length-r,0),a=Array(c);++i<c;)a[i]=n[r+i];i=-1;for(var u=Array(r+1);++i<r;)u[i]=n[i];return u[r]=e(a),o(t,this,u)}}function L(t){var r=0,e=0;return function(){var n=jr(),o=et-(n-e);if(e=n,o>0){if(++r>=rt)return arguments[0]}else r=0;return t.apply(void 0,arguments)}}function P(t){if(null!=t){try{return ir.call(t)}catch(t){}try{return t+""}catch(t){}}return""}function q(t,r){return t===r||t!==t&&r!==r}function z(t){return null!=t&&U(t.length)&&!R(t)}function I(t){if(!J(t))return!1;var r=y(t);return r==st||r==lt||"string"==typeof t.message&&"string"==typeof t.name&&!B(t)}function R(t){if(!H(t))return!1;var r=y(t);return r==pt||r==dt||r==at||r==mt}function U(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=ot}function H(t){var r=typeof t;return null!=t&&("object"==r||"function"==r)}function J(t){return null!=t&&"object"==typeof t}function B(t){if(!J(t)||y(t)!=bt)return!1;var r=dr(t);if(null===r)return!0;var e=cr.call(r,"constructor")&&r.constructor;return"function"==typeof e&&e instanceof e&&ir.call(e)==fr}function D(t){return"symbol"==typeof t||J(t)&&y(t)==xt}function V(t){return null==t?"":x(t)}function W(t){return z(t)?p(t):g(t)}function G(t){return z(t)?p(t,!0):j(t)}function Q(t,r,e){var n=tt.imports._.templateSettings||tt;e&&k(t,r,e)&&(r=void 0),t=V(t),r=kr({},r,n,A);var o,i,c=kr({},r.imports,n.imports,A),a=W(c),l=u(c,a),s=0,p=r.interpolate||Jt,d="__p += '",v=RegExp((r.escape||Jt).source+"|"+p.source+"|"+(p===Z?Rt:Jt).source+"|"+(r.evaluate||Jt).source+"|$","g"),y=cr.call(r,"sourceURL")?"//# sourceURL="+(r.sourceURL+"").replace(/[\r\n]/g," ")+"\n":"";t.replace(v,function(r,e,n,c,a,u){return n||(n=c),d+=t.slice(s,u).replace(Bt,f),e&&(o=!0,d+="' +\n__e("+e+") +\n'"),a&&(i=!0,d+="';\n"+a+";\n__p += '"),n&&(d+="' +\n((__t = ("+n+")) == null ? '' : __t) +\n'"),s=u+r.length,r}),d+="';\n";var h=cr.call(r,"variable")&&r.variable;h||(d="with (obj) {\n"+d+"\n}\n"),d=(i?d.replace(Pt,""):d).replace(qt,"$1").replace(zt,"$1;"),d="function("+(h||"obj")+") {\n"+(h?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(o?", __e = _.escape":"")+(i?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+d+"return __p\n}";var b=Mr(function(){return Function(a,y+"return "+d).apply(void 0,l)});if(b.source=d,I(b))throw b;return b}function K(t){return function(){return t}}function X(t){return t}function Y(){return!1}var Z=e(14),tt=e(15),rt=800,et=16,nt=1/0,ot=9007199254740991,it="[object Arguments]",ct="[object Array]",at="[object AsyncFunction]",ut="[object Boolean]",ft="[object Date]",lt="[object DOMException]",st="[object Error]",pt="[object Function]",dt="[object GeneratorFunction]",vt="[object Map]",yt="[object Number]",ht="[object Null]",bt="[object Object]",mt="[object Proxy]",gt="[object RegExp]",jt="[object Set]",_t="[object String]",xt="[object Symbol]",wt="[object Undefined]",Ot="[object WeakMap]",At="[object ArrayBuffer]",St="[object DataView]",Tt="[object Float32Array]",Et="[object Float64Array]",kt="[object Int8Array]",Mt="[object Int16Array]",Nt="[object Int32Array]",$t="[object Uint8Array]",Ct="[object Uint8ClampedArray]",Ft="[object Uint16Array]",Lt="[object Uint32Array]",Pt=/\b__p \+= '';/g,qt=/\b(__p \+=) '' \+/g,zt=/(__e\(.*?\)|\b__t\)) \+\n'';/g,It=/[\\^$.*+?()[\]{}|]/g,Rt=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Ut=/^\[object .+?Constructor\]$/,Ht=/^(?:0|[1-9]\d*)$/,Jt=/($^)/,Bt=/['\n\r\u2028\u2029\\]/g,Dt={};Dt[Tt]=Dt[Et]=Dt[kt]=Dt[Mt]=Dt[Nt]=Dt[$t]=Dt[Ct]=Dt[Ft]=Dt[Lt]=!0,Dt[it]=Dt[ct]=Dt[At]=Dt[ut]=Dt[St]=Dt[ft]=Dt[st]=Dt[pt]=Dt[vt]=Dt[yt]=Dt[bt]=Dt[gt]=Dt[jt]=Dt[_t]=Dt[Ot]=!1;var Vt={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Wt="object"==typeof t&&t&&t.Object===Object&&t,Gt="object"==typeof self&&self&&self.Object===Object&&self,Qt=Wt||Gt||Function("return this")(),Kt="object"==typeof r&&r&&!r.nodeType&&r,Xt=Kt&&"object"==typeof n&&n&&!n.nodeType&&n,Yt=Xt&&Xt.exports===Kt,Zt=Yt&&Wt.process,tr=function(){try{var t=Xt&&Xt.require&&Xt.require("util").types;return t?t:Zt&&Zt.binding&&Zt.binding("util")}catch(t){}}(),rr=tr&&tr.isTypedArray,er=Function.prototype,nr=Object.prototype,or=Qt["__core-js_shared__"],ir=er.toString,cr=nr.hasOwnProperty,ar=function(){var t=/[^.]+$/.exec(or&&or.keys&&or.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),ur=nr.toString,fr=ir.call(Object),lr=RegExp("^"+ir.call(cr).replace(It,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),sr=Yt?Qt.Buffer:void 0,pr=Qt.Symbol,dr=s(Object.getPrototypeOf,Object),vr=nr.propertyIsEnumerable,yr=pr?pr.toStringTag:void 0,hr=function(){try{var t=S(Object,"defineProperty");return t({},"",{}),t}catch(t){}}(),br=sr?sr.isBuffer:void 0,mr=s(Object.keys,Object),gr=Math.max,jr=Date.now,_r=pr?pr.prototype:void 0,xr=_r?_r.toString:void 0,wr=hr?function(t,r){return hr(t,"toString",{configurable:!0,enumerable:!1,value:K(r),writable:!0})}:X,Or=L(wr),Ar=h(function(){return arguments}())?h:function(t){return J(t)&&cr.call(t,"callee")&&!vr.call(t,"callee")},Sr=Array.isArray,Tr=br||Y,Er=rr?a(rr):m,kr=O(function(t,r,e,n){w(r,G(r),t,n)}),Mr=_(function(t,r){try{return o(t,void 0,r)}catch(t){return I(t)?t:new Error(t)}});n.exports=Q}).call(r,function(){return this}(),e(4)(t))},function(t,r){var e=/<%=([\s\S]+?)%>/g;t.exports=e},function(t,r,e){(function(r){function n(t,r){for(var e=-1,n=null==t?0:t.length,o=Array(n);++e<n;)o[e]=r(t[e],e,t);return o}function o(t){return function(r){return null==t?void 0:t[r]}}function i(t){return null==t?void 0===t?b:y:N&&N in Object(t)?a(t):u(t)}function c(t){if("string"==typeof t)return t;if(L(t))return n(t,c)+"";if(l(t))return C?C.call(t):"";var r=t+"";return"0"==r&&1/t==-v?"-0":r}function a(t){var r=E.call(t,N),e=t[N];try{t[N]=void 0;var n=!0}catch(t){}var o=k.call(t);return n&&(r?t[N]=e:delete t[N]),o}function u(t){return k.call(t)}function f(t){return null!=t&&"object"==typeof t}function l(t){return"symbol"==typeof t||f(t)&&i(t)==h}function s(t){return null==t?"":c(t)}function p(t){return t=s(t),t&&g.test(t)?t.replace(m,S):t}var d=e(14),v=1/0,y="[object Null]",h="[object Symbol]",b="[object Undefined]",m=/[&<>"']/g,g=RegExp(m.source),j=/<%-([\s\S]+?)%>/g,_=/<%([\s\S]+?)%>/g,x={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},w="object"==typeof r&&r&&r.Object===Object&&r,O="object"==typeof self&&self&&self.Object===Object&&self,A=w||O||Function("return this")(),S=o(x),T=Object.prototype,E=T.hasOwnProperty,k=T.toString,M=A.Symbol,N=M?M.toStringTag:void 0,$=M?M.prototype:void 0,C=$?$.toString:void 0,F={escape:j,evaluate:_,interpolate:d,variable:"",imports:{_:{escape:p}}},L=Array.isArray;t.exports=F}).call(r,function(){return this}())},function(t,r,e){var n=e(13),o={name:"SpacerAdapter",handles:["spacer"],toHTML:function(t){return n('<div style="margin:<%= height %><%= units %> 0;"></div')(t)},toJSON:function(t){var r=/margin:\s*([0-9\.]+)([a-z%]+)\s*0/,e=r.exec(t);return e?{height:Number(e[1].trim()),units:e[2].trim()}:{}}};t.exports=o},function(t,r){var e={name:"TextAdapter",handles:["text","heading","ck_editor","quote","widget"],tags:{heading:"h2",quote:"quote"},toHTML:function(t,r){if("html"==t.format){var e=t.text,n=this.tags[r];return n&&(e="<"+n+">"+e+"</"+n+">"),e}return console.error("Invalid type "+t.format+" for block type "+r),""},toJSON:function(t,r){var e=this.tags[r];return e&&(t=t.replace(new RegExp("^<"+e+">"),"").replace(new RegExp("</"+e+">$"),"")),{text:t,format:"html"}}};t.exports=e},function(t,r,e){var n=e(3),o=e(13),i={name:"VideoAdapter",handles:["video"],providers:{vimeo:{regex:/(?:http[s]?:\/\/)?(?:www.)?vimeo\.co(?:.+(?:\/)([^\/].*)+$)/,html:'<iframe src="<%= protocol %>//player.vimeo.com/video/<%= remote_id %>?title=0&byline=0" width="580" height="320" frameborder="0"></iframe>'},youtube:{regex:/^.*(?:(?:youtu\.be\/)|(?:youtube\.com)\/|v\/|u\/\w\/|embed\/|watch\?v=|\&v=)([^#\&\?]*)/,html:'<iframe src="<%= protocol %>//www.youtube.com/embed/<%= remote_id %>" width="580" height="320" frameborder="0" allowfullscreen></iframe>'},vine:{regex:/(?:http[s]?:\/\/)?(?:www.)?vine.co\/v\/([^\W]*)/,html:'<iframe class="vine-embed" src="<%= protocol %>//vine.co/v/<%= remote_id %>/embed/simple" width="<%= width %>" height="<%= width %>" frameborder="0"></iframe><script async src="http://platform.vine.co/static/scripts/embed.js" charset="utf-8"></script>',square:!0},dailymotion:{regex:/(?:http[s]?:\/\/)?(?:www.)?dai(?:.ly|lymotion.com\/video)\/([^\W_]*)/,html:'<iframe src="<%= protocol %>//www.dailymotion.com/embed/video/<%= remote_id %>" width="580" height="320" frameborder="0"></iframe>'}},toHTML:function(t){if(!this.providers.hasOwnProperty(t.source))return"";var r=this.providers[t.source],e="file:"===window.location.protocol||"ionic:"===window.location.protocol?"http:":window.location.protocol;return o(r.html)({protocol:e,remote_id:t.remote_id})},toJSON:function(t){var r=/<iframe src="(.*?)"/.exec(t);if(!r||!r[1])return{};var e=r[1],o=this;return Object.keys(this.providers).reduce(function(t,r){if(!n(t))return t;var i=o.providers[r],c=i.regex.exec(e);return c&&c[1]?{source:r,remote_id:c[1]}:t},{})}};t.exports=i}])});