ab-translate
Advanced tools
Comparing version 1.1.556 to 1.1.557
@@ -7,2 +7,6 @@ 'use strict'; | ||
var _extends2 = require('babel-runtime/helpers/extends'); | ||
var _extends3 = _interopRequireDefault(_extends2); | ||
var _keys = require('babel-runtime/core-js/object/keys'); | ||
@@ -72,2 +76,3 @@ | ||
var updatedTranslations = (0, _extends3.default)({}, translations); | ||
//replace existing translation keys with abTest results | ||
@@ -80,6 +85,6 @@ for (var translationKey in abExperiments) { | ||
if (translationHasExperiment && doesAbTranslationKeyExist) { | ||
translations[translationKey] = translations[abExperiments[translationKey]]; | ||
updatedTranslations[translationKey] = translations[abExperiments[translationKey]]; | ||
} | ||
} | ||
return translations; | ||
return updatedTranslations; | ||
} |
@@ -1,2 +0,2 @@ | ||
!function(t,n){"object"==typeof exports&&"object"==typeof module?module.exports=n():"function"==typeof define&&define.amd?define([],n):"object"==typeof exports?exports.umd=n():t.umd=n()}("undefined"!=typeof self?self:this,function(){return function(t){var n={};function r(e){if(n[e])return n[e].exports;var o=n[e]={i:e,l:!1,exports:{}};return t[e].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=t,r.c=n,r.d=function(t,n,e){r.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:e})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,n){if(1&n&&(t=r(t)),8&n)return t;if(4&n&&"object"==typeof t&&t&&t.__esModule)return t;var e=Object.create(null);if(r.r(e),Object.defineProperty(e,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var o in t)r.d(e,o,function(n){return t[n]}.bind(null,o));return e},r.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(n,"a",n),n},r.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},r.p="https://static.parastorage.com/services/ab-translate/1.506.0/",r.p="undefined"!=typeof window&&window.__STATICS_BASE_URL__||r.p,r(r.s=105)}([function(t,n,r){var e=r(37)("wks"),o=r(27),i=r(2).Symbol,u="function"==typeof i;(t.exports=function(t){return e[t]||(e[t]=u&&i[t]||(u?i:o)("Symbol."+t))}).store=e},function(t,n){var r=t.exports={version:"2.6.11"};"number"==typeof __e&&(__e=r)},function(t,n){var r=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=r)},function(t,n,r){var e=r(4),o=r(26);t.exports=r(5)?function(t,n,r){return e.f(t,n,o(1,r))}:function(t,n,r){return t[n]=r,t}},function(t,n,r){var e=r(10),o=r(51),i=r(52),u=Object.defineProperty;n.f=r(5)?Object.defineProperty:function(t,n,r){if(e(t),n=i(n,!0),e(r),o)try{return u(t,n,r)}catch(t){}if("get"in r||"set"in r)throw TypeError("Accessors not supported!");return"value"in r&&(t[n]=r.value),t}},function(t,n,r){t.exports=!r(11)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},,function(t,n){t.exports={}},function(t,n,r){var e=r(2),o=r(1),i=r(13),u=r(3),f=r(12),c=function(t,n,r){var s,a,p,l=t&c.F,v=t&c.G,d=t&c.S,y=t&c.P,h=t&c.B,_=t&c.W,x=v?o:o[n]||(o[n]={}),g=x.prototype,b=v?e:d?e[n]:(e[n]||{}).prototype;for(s in v&&(r=n),r)(a=!l&&b&&void 0!==b[s])&&f(x,s)||(p=a?b[s]:r[s],x[s]=v&&"function"!=typeof b[s]?r[s]:h&&a?i(p,e):_&&b[s]==p?function(t){var n=function(n,r,e){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(n);case 2:return new t(n,r)}return new t(n,r,e)}return t.apply(this,arguments)};return n.prototype=t.prototype,n}(p):y&&"function"==typeof p?i(Function.call,p):p,y&&((x.virtual||(x.virtual={}))[s]=p,t&c.R&&g&&!g[s]&&u(g,s,p)))};c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,t.exports=c},function(t,n){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,n,r){var e=r(9);t.exports=function(t){if(!e(t))throw TypeError(t+" is not an object!");return t}},function(t,n){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,n){var r={}.hasOwnProperty;t.exports=function(t,n){return r.call(t,n)}},function(t,n,r){var e=r(40);t.exports=function(t,n,r){if(e(t),void 0===n)return t;switch(r){case 1:return function(r){return t.call(n,r)};case 2:return function(r,e){return t.call(n,r,e)};case 3:return function(r,e,o){return t.call(n,r,e,o)}}return function(){return t.apply(n,arguments)}}},,function(t,n,r){var e=r(19);t.exports=function(t){return Object(e(t))}},function(t,n,r){"use strict";var e=r(61)(!0);r(25)(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,n=this._t,r=this._i;return r>=n.length?{value:void 0,done:!0}:(t=e(n,r),this._i+=t.length,{value:t,done:!1})})},,function(t,n,r){var e=r(34),o=r(19);t.exports=function(t){return e(o(t))}},function(t,n){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},function(t,n,r){var e=r(21),o=Math.min;t.exports=function(t){return t>0?o(e(t),9007199254740991):0}},function(t,n){var r=Math.ceil,e=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?e:r)(t)}},function(t,n,r){var e=r(37)("keys"),o=r(27);t.exports=function(t){return e[t]||(e[t]=o(t))}},function(t,n,r){r(49);for(var e=r(2),o=r(3),i=r(7),u=r(0)("toStringTag"),f="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),c=0;c<f.length;c++){var s=f[c],a=e[s],p=a&&a.prototype;p&&!p[u]&&o(p,u,s),i[s]=i.Array}},function(t,n){var r={}.toString;t.exports=function(t){return r.call(t).slice(8,-1)}},function(t,n,r){"use strict";var e=r(35),o=r(8),i=r(53),u=r(3),f=r(7),c=r(54),s=r(28),a=r(60),p=r(0)("iterator"),l=!([].keys&&"next"in[].keys()),v=function(){return this};t.exports=function(t,n,r,d,y,h,_){c(r,n,d);var x,g,b,S=function(t){if(!l&&t in j)return j[t];switch(t){case"keys":case"values":return function(){return new r(this,t)}}return function(){return new r(this,t)}},w=n+" Iterator",O="values"==y,m=!1,j=t.prototype,E=j[p]||j["@@iterator"]||y&&j[y],T=E||S(y),A=y?O?S("entries"):T:void 0,M="Array"==n&&j.entries||E;if(M&&(b=a(M.call(new t)))!==Object.prototype&&b.next&&(s(b,w,!0),e||"function"==typeof b[p]||u(b,p,v)),O&&E&&"values"!==E.name&&(m=!0,T=function(){return E.call(this)}),e&&!_||!l&&!m&&j[p]||u(j,p,T),f[n]=T,f[w]=v,y)if(x={values:O?T:S("values"),keys:h?T:S("keys"),entries:A},_)for(g in x)g in j||i(j,g,x[g]);else o(o.P+o.F*(l||m),n,x);return x}},function(t,n){t.exports=function(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}}},function(t,n){var r=0,e=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++r+e).toString(36))}},function(t,n,r){var e=r(4).f,o=r(12),i=r(0)("toStringTag");t.exports=function(t,n,r){t&&!o(t=r?t:t.prototype,i)&&e(t,i,{configurable:!0,value:n})}},function(t,n,r){var e=r(24),o=r(0)("toStringTag"),i="Arguments"==e(function(){return arguments}());t.exports=function(t){var n,r,u;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,n){try{return t[n]}catch(t){}}(n=Object(t),o))?r:i?e(n):"Object"==(u=e(n))&&"function"==typeof n.callee?"Arguments":u}},function(t,n,r){var e=r(56),o=r(38);t.exports=Object.keys||function(t){return e(t,o)}},function(t,n,r){var e=r(29),o=r(0)("iterator"),i=r(7);t.exports=r(1).getIteratorMethod=function(t){if(void 0!=t)return t[o]||t["@@iterator"]||i[e(t)]}},,function(t,n,r){var e=r(13),o=r(75),i=r(76),u=r(10),f=r(20),c=r(31),s={},a={};(n=t.exports=function(t,n,r,p,l){var v,d,y,h,_=l?function(){return t}:c(t),x=e(r,p,n?2:1),g=0;if("function"!=typeof _)throw TypeError(t+" is not iterable!");if(i(_)){for(v=f(t.length);v>g;g++)if((h=n?x(u(d=t[g])[0],d[1]):x(t[g]))===s||h===a)return h}else for(y=_.call(t);!(d=y.next()).done;)if((h=o(y,x,d.value,n))===s||h===a)return h}).BREAK=s,n.RETURN=a},function(t,n,r){var e=r(24);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==e(t)?t.split(""):Object(t)}},function(t,n){t.exports=!0},function(t,n,r){var e=r(9),o=r(2).document,i=e(o)&&e(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},function(t,n,r){var e=r(1),o=r(2),i=o["__core-js_shared__"]||(o["__core-js_shared__"]={});(t.exports=function(t,n){return i[t]||(i[t]=void 0!==n?n:{})})("versions",[]).push({version:e.version,mode:r(35)?"pure":"global",copyright:"\xa9 2019 Denis Pushkarev (zloirock.ru)"})},function(t,n){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,n){t.exports=function(t,n){return{value:n,done:!!t}}},function(t,n){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,n,r){var e=r(10),o=r(55),i=r(38),u=r(22)("IE_PROTO"),f=function(){},c=function(){var t,n=r(36)("iframe"),e=i.length;for(n.style.display="none",r(59).appendChild(n),n.src="javascript:",(t=n.contentWindow.document).open(),t.write("<script>document.F=Object<\/script>"),t.close(),c=t.F;e--;)delete c.prototype[i[e]];return c()};t.exports=Object.create||function(t,n){var r;return null!==t?(f.prototype=e(t),r=new f,f.prototype=null,r[u]=t):r=c(),void 0===n?r:o(r,n)}},,,,,function(t,n,r){"use strict";n.__esModule=!0;var e=i(r(47)),o=i(r(63));function i(t){return t&&t.__esModule?t:{default:t}}n.default=function(){return function(t,n){if(Array.isArray(t))return t;if((0,e.default)(Object(t)))return function(t,n){var r=[],e=!0,i=!1,u=void 0;try{for(var f,c=(0,o.default)(t);!(e=(f=c.next()).done)&&(r.push(f.value),!n||r.length!==n);e=!0);}catch(t){i=!0,u=t}finally{try{!e&&c.return&&c.return()}finally{if(i)throw u}}return r}(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}()},function(t,n,r){t.exports={default:r(48),__esModule:!0}},function(t,n,r){r(23),r(16),t.exports=r(62)},function(t,n,r){"use strict";var e=r(50),o=r(39),i=r(7),u=r(18);t.exports=r(25)(Array,"Array",function(t,n){this._t=u(t),this._i=0,this._k=n},function(){var t=this._t,n=this._k,r=this._i++;return!t||r>=t.length?(this._t=void 0,o(1)):o(0,"keys"==n?r:"values"==n?t[r]:[r,t[r]])},"values"),i.Arguments=i.Array,e("keys"),e("values"),e("entries")},function(t,n){t.exports=function(){}},function(t,n,r){t.exports=!r(5)&&!r(11)(function(){return 7!=Object.defineProperty(r(36)("div"),"a",{get:function(){return 7}}).a})},function(t,n,r){var e=r(9);t.exports=function(t,n){if(!e(t))return t;var r,o;if(n&&"function"==typeof(r=t.toString)&&!e(o=r.call(t)))return o;if("function"==typeof(r=t.valueOf)&&!e(o=r.call(t)))return o;if(!n&&"function"==typeof(r=t.toString)&&!e(o=r.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},function(t,n,r){t.exports=r(3)},function(t,n,r){"use strict";var e=r(41),o=r(26),i=r(28),u={};r(3)(u,r(0)("iterator"),function(){return this}),t.exports=function(t,n,r){t.prototype=e(u,{next:o(1,r)}),i(t,n+" Iterator")}},function(t,n,r){var e=r(4),o=r(10),i=r(30);t.exports=r(5)?Object.defineProperties:function(t,n){o(t);for(var r,u=i(n),f=u.length,c=0;f>c;)e.f(t,r=u[c++],n[r]);return t}},function(t,n,r){var e=r(12),o=r(18),i=r(57)(!1),u=r(22)("IE_PROTO");t.exports=function(t,n){var r,f=o(t),c=0,s=[];for(r in f)r!=u&&e(f,r)&&s.push(r);for(;n.length>c;)e(f,r=n[c++])&&(~i(s,r)||s.push(r));return s}},function(t,n,r){var e=r(18),o=r(20),i=r(58);t.exports=function(t){return function(n,r,u){var f,c=e(n),s=o(c.length),a=i(u,s);if(t&&r!=r){for(;s>a;)if((f=c[a++])!=f)return!0}else for(;s>a;a++)if((t||a in c)&&c[a]===r)return t||a||0;return!t&&-1}}},function(t,n,r){var e=r(21),o=Math.max,i=Math.min;t.exports=function(t,n){return(t=e(t))<0?o(t+n,0):i(t,n)}},function(t,n,r){var e=r(2).document;t.exports=e&&e.documentElement},function(t,n,r){var e=r(12),o=r(15),i=r(22)("IE_PROTO"),u=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=o(t),e(t,i)?t[i]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?u:null}},function(t,n,r){var e=r(21),o=r(19);t.exports=function(t){return function(n,r){var i,u,f=String(o(n)),c=e(r),s=f.length;return c<0||c>=s?t?"":void 0:(i=f.charCodeAt(c))<55296||i>56319||c+1===s||(u=f.charCodeAt(c+1))<56320||u>57343?t?f.charAt(c):i:t?f.slice(c,c+2):u-56320+(i-55296<<10)+65536}}},function(t,n,r){var e=r(29),o=r(0)("iterator"),i=r(7);t.exports=r(1).isIterable=function(t){var n=Object(t);return void 0!==n[o]||"@@iterator"in n||i.hasOwnProperty(e(n))}},function(t,n,r){t.exports={default:r(64),__esModule:!0}},function(t,n,r){r(23),r(16),t.exports=r(65)},function(t,n,r){var e=r(10),o=r(31);t.exports=r(1).getIterator=function(t){var n=o(t);if("function"!=typeof n)throw TypeError(t+" is not iterable!");return e(n.call(t))}},function(t,n,r){t.exports={default:r(67),__esModule:!0}},function(t,n,r){r(68),t.exports=r(1).Object.keys},function(t,n,r){var e=r(15),o=r(30);r(69)("keys",function(){return function(t){return o(e(t))}})},function(t,n,r){var e=r(8),o=r(1),i=r(11);t.exports=function(t,n){var r=(o.Object||{})[t]||Object[t],u={};u[t]=n(r),e(e.S+e.F*i(function(){r(1)}),"Object",u)}},,,,function(t,n,r){var e=r(3);t.exports=function(t,n,r){for(var o in n)r&&t[o]?t[o]=n[o]:e(t,o,n[o]);return t}},function(t,n){t.exports=function(t,n,r,e){if(!(t instanceof n)||void 0!==e&&e in t)throw TypeError(r+": incorrect invocation!");return t}},function(t,n,r){var e=r(10);t.exports=function(t,n,r,o){try{return o?n(e(r)[0],r[1]):n(r)}catch(n){var i=t.return;throw void 0!==i&&e(i.call(t)),n}}},function(t,n,r){var e=r(7),o=r(0)("iterator"),i=Array.prototype;t.exports=function(t){return void 0!==t&&(e.Array===t||i[o]===t)}},function(t,n,r){var e=r(27)("meta"),o=r(9),i=r(12),u=r(4).f,f=0,c=Object.isExtensible||function(){return!0},s=!r(11)(function(){return c(Object.preventExtensions({}))}),a=function(t){u(t,e,{value:{i:"O"+ ++f,w:{}}})},p=t.exports={KEY:e,NEED:!1,fastKey:function(t,n){if(!o(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!i(t,e)){if(!c(t))return"F";if(!n)return"E";a(t)}return t[e].i},getWeak:function(t,n){if(!i(t,e)){if(!c(t))return!0;if(!n)return!1;a(t)}return t[e].w},onFreeze:function(t){return s&&p.NEED&&c(t)&&!i(t,e)&&a(t),t}}},function(t,n,r){var e=r(9);t.exports=function(t,n){if(!e(t)||t._t!==n)throw TypeError("Incompatible receiver, "+n+" required!");return t}},,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,n,r){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var e=f(r(66)),o=f(r(106)),i=f(r(124)),u=f(r(46));function f(t){return t&&t.__esModule?t:{default:t}}n.default=function(t,n){if(!t||"[object Object]"!==t.toString())return n;if(!n)return{};var r={};for(var f in t)Object.prototype.hasOwnProperty.call(t,f)&&function(){var c=t[f],s=/specs\.abTranslate\.(.*?)\.(.*)$/.exec(f);if(s){var a=s[2],p=a.split("abSpec-"),l=(0,u.default)(p,2),v=l[0],d=l[1];(d?[].concat((0,i.default)(new o.default((0,e.default)(n).filter(function(t){return t.includes(d)}).map(function(t){return t.split("|abTranslate")[0]})))):[v]).forEach(function(t){if(r[t]=t,"0"!==c){var n=d?"|"+d:"";r[t]=t+"|abTranslate_"+c+n}})}}();for(var c in r){var s=Object.prototype.hasOwnProperty.call(r,c),a=n[r[c]];s&&a&&(n[c]=n[r[c]])}return n}},function(t,n,r){t.exports={default:r(107),__esModule:!0}},function(t,n,r){r(108),r(16),r(23),r(109),r(117),r(120),r(122),t.exports=r(1).Set},function(t,n){},function(t,n,r){"use strict";var e=r(110),o=r(78);t.exports=r(112)("Set",function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},{add:function(t){return e.def(o(this,"Set"),t=0===t?0:t,t)}},e)},function(t,n,r){"use strict";var e=r(4).f,o=r(41),i=r(73),u=r(13),f=r(74),c=r(33),s=r(25),a=r(39),p=r(111),l=r(5),v=r(77).fastKey,d=r(78),y=l?"_s":"size",h=function(t,n){var r,e=v(n);if("F"!==e)return t._i[e];for(r=t._f;r;r=r.n)if(r.k==n)return r};t.exports={getConstructor:function(t,n,r,s){var a=t(function(t,e){f(t,a,n,"_i"),t._t=n,t._i=o(null),t._f=void 0,t._l=void 0,t[y]=0,void 0!=e&&c(e,r,t[s],t)});return i(a.prototype,{clear:function(){for(var t=d(this,n),r=t._i,e=t._f;e;e=e.n)e.r=!0,e.p&&(e.p=e.p.n=void 0),delete r[e.i];t._f=t._l=void 0,t[y]=0},delete:function(t){var r=d(this,n),e=h(r,t);if(e){var o=e.n,i=e.p;delete r._i[e.i],e.r=!0,i&&(i.n=o),o&&(o.p=i),r._f==e&&(r._f=o),r._l==e&&(r._l=i),r[y]--}return!!e},forEach:function(t){d(this,n);for(var r,e=u(t,arguments.length>1?arguments[1]:void 0,3);r=r?r.n:this._f;)for(e(r.v,r.k,this);r&&r.r;)r=r.p},has:function(t){return!!h(d(this,n),t)}}),l&&e(a.prototype,"size",{get:function(){return d(this,n)[y]}}),a},def:function(t,n,r){var e,o,i=h(t,n);return i?i.v=r:(t._l=i={i:o=v(n,!0),k:n,v:r,p:e=t._l,n:void 0,r:!1},t._f||(t._f=i),e&&(e.n=i),t[y]++,"F"!==o&&(t._i[o]=i)),t},getEntry:h,setStrong:function(t,n,r){s(t,n,function(t,r){this._t=d(t,n),this._k=r,this._l=void 0},function(){for(var t=this._k,n=this._l;n&&n.r;)n=n.p;return this._t&&(this._l=n=n?n.n:this._t._f)?a(0,"keys"==t?n.k:"values"==t?n.v:[n.k,n.v]):(this._t=void 0,a(1))},r?"entries":"values",!r,!0),p(n)}}},function(t,n,r){"use strict";var e=r(2),o=r(1),i=r(4),u=r(5),f=r(0)("species");t.exports=function(t){var n="function"==typeof o[t]?o[t]:e[t];u&&n&&!n[f]&&i.f(n,f,{configurable:!0,get:function(){return this}})}},function(t,n,r){"use strict";var e=r(2),o=r(8),i=r(77),u=r(11),f=r(3),c=r(73),s=r(33),a=r(74),p=r(9),l=r(28),v=r(4).f,d=r(113)(0),y=r(5);t.exports=function(t,n,r,h,_,x){var g=e[t],b=g,S=_?"set":"add",w=b&&b.prototype,O={};return y&&"function"==typeof b&&(x||w.forEach&&!u(function(){(new b).entries().next()}))?(b=n(function(n,r){a(n,b,t,"_c"),n._c=new g,void 0!=r&&s(r,_,n[S],n)}),d("add,clear,delete,forEach,get,has,set,keys,values,entries,toJSON".split(","),function(t){var n="add"==t||"set"==t;t in w&&(!x||"clear"!=t)&&f(b.prototype,t,function(r,e){if(a(this,b,t),!n&&x&&!p(r))return"get"==t&&void 0;var o=this._c[t](0===r?0:r,e);return n?this:o})}),x||v(b.prototype,"size",{get:function(){return this._c.size}})):(b=h.getConstructor(n,t,_,S),c(b.prototype,r),i.NEED=!0),l(b,t),O[t]=b,o(o.G+o.W+o.F,O),x||h.setStrong(b,t,_),b}},function(t,n,r){var e=r(13),o=r(34),i=r(15),u=r(20),f=r(114);t.exports=function(t,n){var r=1==t,c=2==t,s=3==t,a=4==t,p=6==t,l=5==t||p,v=n||f;return function(n,f,d){for(var y,h,_=i(n),x=o(_),g=e(f,d,3),b=u(x.length),S=0,w=r?v(n,b):c?v(n,0):void 0;b>S;S++)if((l||S in x)&&(h=g(y=x[S],S,_),t))if(r)w[S]=h;else if(h)switch(t){case 3:return!0;case 5:return y;case 6:return S;case 2:w.push(y)}else if(a)return!1;return p?-1:s||a?a:w}}},function(t,n,r){var e=r(115);t.exports=function(t,n){return new(e(t))(n)}},function(t,n,r){var e=r(9),o=r(116),i=r(0)("species");t.exports=function(t){var n;return o(t)&&("function"!=typeof(n=t.constructor)||n!==Array&&!o(n.prototype)||(n=void 0),e(n)&&null===(n=n[i])&&(n=void 0)),void 0===n?Array:n}},function(t,n,r){var e=r(24);t.exports=Array.isArray||function(t){return"Array"==e(t)}},function(t,n,r){var e=r(8);e(e.P+e.R,"Set",{toJSON:r(118)("Set")})},function(t,n,r){var e=r(29),o=r(119);t.exports=function(t){return function(){if(e(this)!=t)throw TypeError(t+"#toJSON isn't generic");return o(this)}}},function(t,n,r){var e=r(33);t.exports=function(t,n){var r=[];return e(t,!1,r.push,r,n),r}},function(t,n,r){r(121)("Set")},function(t,n,r){"use strict";var e=r(8);t.exports=function(t){e(e.S,t,{of:function(){for(var t=arguments.length,n=new Array(t);t--;)n[t]=arguments[t];return new this(n)}})}},function(t,n,r){r(123)("Set")},function(t,n,r){"use strict";var e=r(8),o=r(40),i=r(13),u=r(33);t.exports=function(t){e(e.S,t,{from:function(t){var n,r,e,f,c=arguments[1];return o(this),(n=void 0!==c)&&o(c),void 0==t?new this:(r=[],n?(e=0,f=i(c,arguments[2],2),u(t,!1,function(t){r.push(f(t,e++))})):u(t,!1,r.push,r),new this(r))}})}},function(t,n,r){"use strict";n.__esModule=!0;var e=function(t){return t&&t.__esModule?t:{default:t}}(r(125));n.default=function(t){if(Array.isArray(t)){for(var n=0,r=Array(t.length);n<t.length;n++)r[n]=t[n];return r}return(0,e.default)(t)}},function(t,n,r){t.exports={default:r(126),__esModule:!0}},function(t,n,r){r(16),r(127),t.exports=r(1).Array.from},function(t,n,r){"use strict";var e=r(13),o=r(8),i=r(15),u=r(75),f=r(76),c=r(20),s=r(128),a=r(31);o(o.S+o.F*!r(129)(function(t){Array.from(t)}),"Array",{from:function(t){var n,r,o,p,l=i(t),v="function"==typeof this?this:Array,d=arguments.length,y=d>1?arguments[1]:void 0,h=void 0!==y,_=0,x=a(l);if(h&&(y=e(y,d>2?arguments[2]:void 0,2)),void 0==x||v==Array&&f(x))for(r=new v(n=c(l.length));n>_;_++)s(r,_,h?y(l[_],_):l[_]);else for(p=x.call(l),r=new v;!(o=p.next()).done;_++)s(r,_,h?u(p,y,[o.value,_],!0):o.value);return r.length=_,r}})},function(t,n,r){"use strict";var e=r(4),o=r(26);t.exports=function(t,n,r){n in t?e.f(t,n,o(0,r)):t[n]=r}},function(t,n,r){var e=r(0)("iterator"),o=!1;try{var i=[7][e]();i.return=function(){o=!0},Array.from(i,function(){throw 2})}catch(t){}t.exports=function(t,n){if(!n&&!o)return!1;var r=!1;try{var i=[7],u=i[e]();u.next=function(){return{done:r=!0}},i[e]=function(){return u},t(i)}catch(t){}return r}}])}); | ||
!function(t,n){"object"==typeof exports&&"object"==typeof module?module.exports=n():"function"==typeof define&&define.amd?define([],n):"object"==typeof exports?exports.umd=n():t.umd=n()}("undefined"!=typeof self?self:this,function(){return function(t){var n={};function r(e){if(n[e])return n[e].exports;var o=n[e]={i:e,l:!1,exports:{}};return t[e].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=t,r.c=n,r.d=function(t,n,e){r.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:e})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,n){if(1&n&&(t=r(t)),8&n)return t;if(4&n&&"object"==typeof t&&t&&t.__esModule)return t;var e=Object.create(null);if(r.r(e),Object.defineProperty(e,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var o in t)r.d(e,o,function(n){return t[n]}.bind(null,o));return e},r.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(n,"a",n),n},r.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},r.p="https://static.parastorage.com/services/ab-translate/1.545.0/",r.p="undefined"!=typeof window&&window.__STATICS_BASE_URL__||r.p,r(r.s=112)}([function(t,n){var r=t.exports={version:"2.6.11"};"number"==typeof __e&&(__e=r)},function(t,n,r){var e=r(37)("wks"),o=r(29),i=r(2).Symbol,u="function"==typeof i;(t.exports=function(t){return e[t]||(e[t]=u&&i[t]||(u?i:o)("Symbol."+t))}).store=e},function(t,n){var r=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=r)},function(t,n,r){t.exports=!r(11)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,n,r){var e=r(2),o=r(0),i=r(13),u=r(5),f=r(12),c=function(t,n,r){var a,s,l,p=t&c.F,v=t&c.G,d=t&c.S,y=t&c.P,h=t&c.B,_=t&c.W,x=v?o:o[n]||(o[n]={}),g=x.prototype,b=v?e:d?e[n]:(e[n]||{}).prototype;for(a in v&&(r=n),r)(s=!p&&b&&void 0!==b[a])&&f(x,a)||(l=s?b[a]:r[a],x[a]=v&&"function"!=typeof b[a]?r[a]:h&&s?i(l,e):_&&b[a]==l?function(t){var n=function(n,r,e){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(n);case 2:return new t(n,r)}return new t(n,r,e)}return t.apply(this,arguments)};return n.prototype=t.prototype,n}(l):y&&"function"==typeof l?i(Function.call,l):l,y&&((x.virtual||(x.virtual={}))[a]=l,t&c.R&&g&&!g[a]&&u(g,a,l)))};c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,t.exports=c},function(t,n,r){var e=r(6),o=r(28);t.exports=r(3)?function(t,n,r){return e.f(t,n,o(1,r))}:function(t,n,r){return t[n]=r,t}},function(t,n,r){var e=r(10),o=r(52),i=r(53),u=Object.defineProperty;n.f=r(3)?Object.defineProperty:function(t,n,r){if(e(t),n=i(n,!0),e(r),o)try{return u(t,n,r)}catch(t){}if("get"in r||"set"in r)throw TypeError("Accessors not supported!");return"value"in r&&(t[n]=r.value),t}},,function(t,n){t.exports={}},function(t,n){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,n,r){var e=r(9);t.exports=function(t){if(!e(t))throw TypeError(t+" is not an object!");return t}},function(t,n){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,n){var r={}.hasOwnProperty;t.exports=function(t,n){return r.call(t,n)}},function(t,n,r){var e=r(40);t.exports=function(t,n,r){if(e(t),void 0===n)return t;switch(r){case 1:return function(r){return t.call(n,r)};case 2:return function(r,e){return t.call(n,r,e)};case 3:return function(r,e,o){return t.call(n,r,e,o)}}return function(){return t.apply(n,arguments)}}},function(t,n,r){var e=r(19);t.exports=function(t){return Object(e(t))}},,function(t,n,r){"use strict";var e=r(62)(!0);r(27)(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,n=this._t,r=this._i;return r>=n.length?{value:void 0,done:!0}:(t=e(n,r),this._i+=t.length,{value:t,done:!1})})},,function(t,n,r){var e=r(25),o=r(19);t.exports=function(t){return e(o(t))}},function(t,n){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},function(t,n,r){var e=r(57),o=r(38);t.exports=Object.keys||function(t){return e(t,o)}},function(t,n,r){var e=r(22),o=Math.min;t.exports=function(t){return t>0?o(e(t),9007199254740991):0}},function(t,n){var r=Math.ceil,e=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?e:r)(t)}},function(t,n,r){var e=r(37)("keys"),o=r(29);t.exports=function(t){return e[t]||(e[t]=o(t))}},function(t,n,r){r(50);for(var e=r(2),o=r(5),i=r(8),u=r(1)("toStringTag"),f="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),c=0;c<f.length;c++){var a=f[c],s=e[a],l=s&&s.prototype;l&&!l[u]&&o(l,u,a),i[a]=i.Array}},function(t,n,r){var e=r(26);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==e(t)?t.split(""):Object(t)}},function(t,n){var r={}.toString;t.exports=function(t){return r.call(t).slice(8,-1)}},function(t,n,r){"use strict";var e=r(35),o=r(4),i=r(54),u=r(5),f=r(8),c=r(55),a=r(30),s=r(61),l=r(1)("iterator"),p=!([].keys&&"next"in[].keys()),v=function(){return this};t.exports=function(t,n,r,d,y,h,_){c(r,n,d);var x,g,b,S=function(t){if(!p&&t in j)return j[t];switch(t){case"keys":case"values":return function(){return new r(this,t)}}return function(){return new r(this,t)}},O=n+" Iterator",m="values"==y,w=!1,j=t.prototype,E=j[l]||j["@@iterator"]||y&&j[y],M=E||S(y),T=y?m?S("entries"):M:void 0,A="Array"==n&&j.entries||E;if(A&&(b=s(A.call(new t)))!==Object.prototype&&b.next&&(a(b,O,!0),e||"function"==typeof b[l]||u(b,l,v)),m&&E&&"values"!==E.name&&(w=!0,M=function(){return E.call(this)}),e&&!_||!p&&!w&&j[l]||u(j,l,M),f[n]=M,f[O]=v,y)if(x={values:m?M:S("values"),keys:h?M:S("keys"),entries:T},_)for(g in x)g in j||i(j,g,x[g]);else o(o.P+o.F*(p||w),n,x);return x}},function(t,n){t.exports=function(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}}},function(t,n){var r=0,e=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++r+e).toString(36))}},function(t,n,r){var e=r(6).f,o=r(12),i=r(1)("toStringTag");t.exports=function(t,n,r){t&&!o(t=r?t:t.prototype,i)&&e(t,i,{configurable:!0,value:n})}},function(t,n,r){var e=r(26),o=r(1)("toStringTag"),i="Arguments"==e(function(){return arguments}());t.exports=function(t){var n,r,u;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,n){try{return t[n]}catch(t){}}(n=Object(t),o))?r:i?e(n):"Object"==(u=e(n))&&"function"==typeof n.callee?"Arguments":u}},function(t,n,r){var e=r(31),o=r(1)("iterator"),i=r(8);t.exports=r(0).getIteratorMethod=function(t){if(void 0!=t)return t[o]||t["@@iterator"]||i[e(t)]}},,function(t,n,r){var e=r(13),o=r(82),i=r(83),u=r(10),f=r(21),c=r(32),a={},s={};(n=t.exports=function(t,n,r,l,p){var v,d,y,h,_=p?function(){return t}:c(t),x=e(r,l,n?2:1),g=0;if("function"!=typeof _)throw TypeError(t+" is not iterable!");if(i(_)){for(v=f(t.length);v>g;g++)if((h=n?x(u(d=t[g])[0],d[1]):x(t[g]))===a||h===s)return h}else for(y=_.call(t);!(d=y.next()).done;)if((h=o(y,x,d.value,n))===a||h===s)return h}).BREAK=a,n.RETURN=s},function(t,n){t.exports=!0},function(t,n,r){var e=r(9),o=r(2).document,i=e(o)&&e(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},function(t,n,r){var e=r(0),o=r(2),i=o["__core-js_shared__"]||(o["__core-js_shared__"]={});(t.exports=function(t,n){return i[t]||(i[t]=void 0!==n?n:{})})("versions",[]).push({version:e.version,mode:r(35)?"pure":"global",copyright:"\xa9 2019 Denis Pushkarev (zloirock.ru)"})},function(t,n){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,n){t.exports=function(t,n){return{value:n,done:!!t}}},function(t,n){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,n,r){var e=r(10),o=r(56),i=r(38),u=r(23)("IE_PROTO"),f=function(){},c=function(){var t,n=r(36)("iframe"),e=i.length;for(n.style.display="none",r(60).appendChild(n),n.src="javascript:",(t=n.contentWindow.document).open(),t.write("<script>document.F=Object<\/script>"),t.close(),c=t.F;e--;)delete c.prototype[i[e]];return c()};t.exports=Object.create||function(t,n){var r;return null!==t?(f.prototype=e(t),r=new f,f.prototype=null,r[u]=t):r=c(),void 0===n?r:o(r,n)}},,,,function(t,n,r){t.exports={default:r(72),__esModule:!0}},,function(t,n,r){"use strict";n.__esModule=!0;var e=i(r(48)),o=i(r(64));function i(t){return t&&t.__esModule?t:{default:t}}n.default=function(){return function(t,n){if(Array.isArray(t))return t;if((0,e.default)(Object(t)))return function(t,n){var r=[],e=!0,i=!1,u=void 0;try{for(var f,c=(0,o.default)(t);!(e=(f=c.next()).done)&&(r.push(f.value),!n||r.length!==n);e=!0);}catch(t){i=!0,u=t}finally{try{!e&&c.return&&c.return()}finally{if(i)throw u}}return r}(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}()},function(t,n,r){t.exports={default:r(49),__esModule:!0}},function(t,n,r){r(24),r(16),t.exports=r(63)},function(t,n,r){"use strict";var e=r(51),o=r(39),i=r(8),u=r(18);t.exports=r(27)(Array,"Array",function(t,n){this._t=u(t),this._i=0,this._k=n},function(){var t=this._t,n=this._k,r=this._i++;return!t||r>=t.length?(this._t=void 0,o(1)):o(0,"keys"==n?r:"values"==n?t[r]:[r,t[r]])},"values"),i.Arguments=i.Array,e("keys"),e("values"),e("entries")},function(t,n){t.exports=function(){}},function(t,n,r){t.exports=!r(3)&&!r(11)(function(){return 7!=Object.defineProperty(r(36)("div"),"a",{get:function(){return 7}}).a})},function(t,n,r){var e=r(9);t.exports=function(t,n){if(!e(t))return t;var r,o;if(n&&"function"==typeof(r=t.toString)&&!e(o=r.call(t)))return o;if("function"==typeof(r=t.valueOf)&&!e(o=r.call(t)))return o;if(!n&&"function"==typeof(r=t.toString)&&!e(o=r.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},function(t,n,r){t.exports=r(5)},function(t,n,r){"use strict";var e=r(41),o=r(28),i=r(30),u={};r(5)(u,r(1)("iterator"),function(){return this}),t.exports=function(t,n,r){t.prototype=e(u,{next:o(1,r)}),i(t,n+" Iterator")}},function(t,n,r){var e=r(6),o=r(10),i=r(20);t.exports=r(3)?Object.defineProperties:function(t,n){o(t);for(var r,u=i(n),f=u.length,c=0;f>c;)e.f(t,r=u[c++],n[r]);return t}},function(t,n,r){var e=r(12),o=r(18),i=r(58)(!1),u=r(23)("IE_PROTO");t.exports=function(t,n){var r,f=o(t),c=0,a=[];for(r in f)r!=u&&e(f,r)&&a.push(r);for(;n.length>c;)e(f,r=n[c++])&&(~i(a,r)||a.push(r));return a}},function(t,n,r){var e=r(18),o=r(21),i=r(59);t.exports=function(t){return function(n,r,u){var f,c=e(n),a=o(c.length),s=i(u,a);if(t&&r!=r){for(;a>s;)if((f=c[s++])!=f)return!0}else for(;a>s;s++)if((t||s in c)&&c[s]===r)return t||s||0;return!t&&-1}}},function(t,n,r){var e=r(22),o=Math.max,i=Math.min;t.exports=function(t,n){return(t=e(t))<0?o(t+n,0):i(t,n)}},function(t,n,r){var e=r(2).document;t.exports=e&&e.documentElement},function(t,n,r){var e=r(12),o=r(14),i=r(23)("IE_PROTO"),u=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=o(t),e(t,i)?t[i]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?u:null}},function(t,n,r){var e=r(22),o=r(19);t.exports=function(t){return function(n,r){var i,u,f=String(o(n)),c=e(r),a=f.length;return c<0||c>=a?t?"":void 0:(i=f.charCodeAt(c))<55296||i>56319||c+1===a||(u=f.charCodeAt(c+1))<56320||u>57343?t?f.charAt(c):i:t?f.slice(c,c+2):u-56320+(i-55296<<10)+65536}}},function(t,n,r){var e=r(31),o=r(1)("iterator"),i=r(8);t.exports=r(0).isIterable=function(t){var n=Object(t);return void 0!==n[o]||"@@iterator"in n||i.hasOwnProperty(e(n))}},function(t,n,r){t.exports={default:r(65),__esModule:!0}},function(t,n,r){r(24),r(16),t.exports=r(66)},function(t,n,r){var e=r(10),o=r(32);t.exports=r(0).getIterator=function(t){var n=o(t);if("function"!=typeof n)throw TypeError(t+" is not iterable!");return e(n.call(t))}},function(t,n,r){t.exports={default:r(68),__esModule:!0}},function(t,n,r){r(69),t.exports=r(0).Object.keys},function(t,n,r){var e=r(14),o=r(20);r(70)("keys",function(){return function(t){return o(e(t))}})},function(t,n,r){var e=r(4),o=r(0),i=r(11);t.exports=function(t,n){var r=(o.Object||{})[t]||Object[t],u={};u[t]=n(r),e(e.S+e.F*i(function(){r(1)}),"Object",u)}},function(t,n,r){"use strict";n.__esModule=!0;var e=function(t){return t&&t.__esModule?t:{default:t}}(r(45));n.default=e.default||function(t){for(var n=1;n<arguments.length;n++){var r=arguments[n];for(var e in r)Object.prototype.hasOwnProperty.call(r,e)&&(t[e]=r[e])}return t}},function(t,n,r){r(73),t.exports=r(0).Object.assign},function(t,n,r){var e=r(4);e(e.S+e.F,"Object",{assign:r(74)})},function(t,n,r){"use strict";var e=r(3),o=r(20),i=r(75),u=r(76),f=r(14),c=r(25),a=Object.assign;t.exports=!a||r(11)(function(){var t={},n={},r=Symbol(),e="abcdefghijklmnopqrst";return t[r]=7,e.split("").forEach(function(t){n[t]=t}),7!=a({},t)[r]||Object.keys(a({},n)).join("")!=e})?function(t,n){for(var r=f(t),a=arguments.length,s=1,l=i.f,p=u.f;a>s;)for(var v,d=c(arguments[s++]),y=l?o(d).concat(l(d)):o(d),h=y.length,_=0;h>_;)v=y[_++],e&&!p.call(d,v)||(r[v]=d[v]);return r}:a},function(t,n){n.f=Object.getOwnPropertySymbols},function(t,n){n.f={}.propertyIsEnumerable},,,,function(t,n,r){var e=r(5);t.exports=function(t,n,r){for(var o in n)r&&t[o]?t[o]=n[o]:e(t,o,n[o]);return t}},function(t,n){t.exports=function(t,n,r,e){if(!(t instanceof n)||void 0!==e&&e in t)throw TypeError(r+": incorrect invocation!");return t}},function(t,n,r){var e=r(10);t.exports=function(t,n,r,o){try{return o?n(e(r)[0],r[1]):n(r)}catch(n){var i=t.return;throw void 0!==i&&e(i.call(t)),n}}},function(t,n,r){var e=r(8),o=r(1)("iterator"),i=Array.prototype;t.exports=function(t){return void 0!==t&&(e.Array===t||i[o]===t)}},function(t,n,r){var e=r(29)("meta"),o=r(9),i=r(12),u=r(6).f,f=0,c=Object.isExtensible||function(){return!0},a=!r(11)(function(){return c(Object.preventExtensions({}))}),s=function(t){u(t,e,{value:{i:"O"+ ++f,w:{}}})},l=t.exports={KEY:e,NEED:!1,fastKey:function(t,n){if(!o(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!i(t,e)){if(!c(t))return"F";if(!n)return"E";s(t)}return t[e].i},getWeak:function(t,n){if(!i(t,e)){if(!c(t))return!0;if(!n)return!1;s(t)}return t[e].w},onFreeze:function(t){return a&&l.NEED&&c(t)&&!i(t,e)&&s(t),t}}},function(t,n,r){var e=r(9);t.exports=function(t,n){if(!e(t)||t._t!==n)throw TypeError("Incompatible receiver, "+n+" required!");return t}},,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,n,r){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var e=c(r(71)),o=c(r(67)),i=c(r(113)),u=c(r(131)),f=c(r(47));function c(t){return t&&t.__esModule?t:{default:t}}n.default=function(t,n){if(!t||"[object Object]"!==t.toString())return n;if(!n)return{};var r={};for(var c in t)Object.prototype.hasOwnProperty.call(t,c)&&function(){var e=t[c],a=/specs\.abTranslate\.(.*?)\.(.*)$/.exec(c);if(a){var s=a[2],l=s.split("abSpec-"),p=(0,f.default)(l,2),v=p[0],d=p[1];(d?[].concat((0,u.default)(new i.default((0,o.default)(n).filter(function(t){return t.includes(d)}).map(function(t){return t.split("|abTranslate")[0]})))):[v]).forEach(function(t){if(r[t]=t,"0"!==e){var n=d?"|"+d:"";r[t]=t+"|abTranslate_"+e+n}})}}();var a=(0,e.default)({},n);for(var s in r){var l=Object.prototype.hasOwnProperty.call(r,s),p=n[r[s]];l&&p&&(a[s]=n[r[s]])}return a}},function(t,n,r){t.exports={default:r(114),__esModule:!0}},function(t,n,r){r(115),r(16),r(24),r(116),r(124),r(127),r(129),t.exports=r(0).Set},function(t,n){},function(t,n,r){"use strict";var e=r(117),o=r(85);t.exports=r(119)("Set",function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},{add:function(t){return e.def(o(this,"Set"),t=0===t?0:t,t)}},e)},function(t,n,r){"use strict";var e=r(6).f,o=r(41),i=r(80),u=r(13),f=r(81),c=r(34),a=r(27),s=r(39),l=r(118),p=r(3),v=r(84).fastKey,d=r(85),y=p?"_s":"size",h=function(t,n){var r,e=v(n);if("F"!==e)return t._i[e];for(r=t._f;r;r=r.n)if(r.k==n)return r};t.exports={getConstructor:function(t,n,r,a){var s=t(function(t,e){f(t,s,n,"_i"),t._t=n,t._i=o(null),t._f=void 0,t._l=void 0,t[y]=0,void 0!=e&&c(e,r,t[a],t)});return i(s.prototype,{clear:function(){for(var t=d(this,n),r=t._i,e=t._f;e;e=e.n)e.r=!0,e.p&&(e.p=e.p.n=void 0),delete r[e.i];t._f=t._l=void 0,t[y]=0},delete:function(t){var r=d(this,n),e=h(r,t);if(e){var o=e.n,i=e.p;delete r._i[e.i],e.r=!0,i&&(i.n=o),o&&(o.p=i),r._f==e&&(r._f=o),r._l==e&&(r._l=i),r[y]--}return!!e},forEach:function(t){d(this,n);for(var r,e=u(t,arguments.length>1?arguments[1]:void 0,3);r=r?r.n:this._f;)for(e(r.v,r.k,this);r&&r.r;)r=r.p},has:function(t){return!!h(d(this,n),t)}}),p&&e(s.prototype,"size",{get:function(){return d(this,n)[y]}}),s},def:function(t,n,r){var e,o,i=h(t,n);return i?i.v=r:(t._l=i={i:o=v(n,!0),k:n,v:r,p:e=t._l,n:void 0,r:!1},t._f||(t._f=i),e&&(e.n=i),t[y]++,"F"!==o&&(t._i[o]=i)),t},getEntry:h,setStrong:function(t,n,r){a(t,n,function(t,r){this._t=d(t,n),this._k=r,this._l=void 0},function(){for(var t=this._k,n=this._l;n&&n.r;)n=n.p;return this._t&&(this._l=n=n?n.n:this._t._f)?s(0,"keys"==t?n.k:"values"==t?n.v:[n.k,n.v]):(this._t=void 0,s(1))},r?"entries":"values",!r,!0),l(n)}}},function(t,n,r){"use strict";var e=r(2),o=r(0),i=r(6),u=r(3),f=r(1)("species");t.exports=function(t){var n="function"==typeof o[t]?o[t]:e[t];u&&n&&!n[f]&&i.f(n,f,{configurable:!0,get:function(){return this}})}},function(t,n,r){"use strict";var e=r(2),o=r(4),i=r(84),u=r(11),f=r(5),c=r(80),a=r(34),s=r(81),l=r(9),p=r(30),v=r(6).f,d=r(120)(0),y=r(3);t.exports=function(t,n,r,h,_,x){var g=e[t],b=g,S=_?"set":"add",O=b&&b.prototype,m={};return y&&"function"==typeof b&&(x||O.forEach&&!u(function(){(new b).entries().next()}))?(b=n(function(n,r){s(n,b,t,"_c"),n._c=new g,void 0!=r&&a(r,_,n[S],n)}),d("add,clear,delete,forEach,get,has,set,keys,values,entries,toJSON".split(","),function(t){var n="add"==t||"set"==t;t in O&&(!x||"clear"!=t)&&f(b.prototype,t,function(r,e){if(s(this,b,t),!n&&x&&!l(r))return"get"==t&&void 0;var o=this._c[t](0===r?0:r,e);return n?this:o})}),x||v(b.prototype,"size",{get:function(){return this._c.size}})):(b=h.getConstructor(n,t,_,S),c(b.prototype,r),i.NEED=!0),p(b,t),m[t]=b,o(o.G+o.W+o.F,m),x||h.setStrong(b,t,_),b}},function(t,n,r){var e=r(13),o=r(25),i=r(14),u=r(21),f=r(121);t.exports=function(t,n){var r=1==t,c=2==t,a=3==t,s=4==t,l=6==t,p=5==t||l,v=n||f;return function(n,f,d){for(var y,h,_=i(n),x=o(_),g=e(f,d,3),b=u(x.length),S=0,O=r?v(n,b):c?v(n,0):void 0;b>S;S++)if((p||S in x)&&(h=g(y=x[S],S,_),t))if(r)O[S]=h;else if(h)switch(t){case 3:return!0;case 5:return y;case 6:return S;case 2:O.push(y)}else if(s)return!1;return l?-1:a||s?s:O}}},function(t,n,r){var e=r(122);t.exports=function(t,n){return new(e(t))(n)}},function(t,n,r){var e=r(9),o=r(123),i=r(1)("species");t.exports=function(t){var n;return o(t)&&("function"!=typeof(n=t.constructor)||n!==Array&&!o(n.prototype)||(n=void 0),e(n)&&null===(n=n[i])&&(n=void 0)),void 0===n?Array:n}},function(t,n,r){var e=r(26);t.exports=Array.isArray||function(t){return"Array"==e(t)}},function(t,n,r){var e=r(4);e(e.P+e.R,"Set",{toJSON:r(125)("Set")})},function(t,n,r){var e=r(31),o=r(126);t.exports=function(t){return function(){if(e(this)!=t)throw TypeError(t+"#toJSON isn't generic");return o(this)}}},function(t,n,r){var e=r(34);t.exports=function(t,n){var r=[];return e(t,!1,r.push,r,n),r}},function(t,n,r){r(128)("Set")},function(t,n,r){"use strict";var e=r(4);t.exports=function(t){e(e.S,t,{of:function(){for(var t=arguments.length,n=new Array(t);t--;)n[t]=arguments[t];return new this(n)}})}},function(t,n,r){r(130)("Set")},function(t,n,r){"use strict";var e=r(4),o=r(40),i=r(13),u=r(34);t.exports=function(t){e(e.S,t,{from:function(t){var n,r,e,f,c=arguments[1];return o(this),(n=void 0!==c)&&o(c),void 0==t?new this:(r=[],n?(e=0,f=i(c,arguments[2],2),u(t,!1,function(t){r.push(f(t,e++))})):u(t,!1,r.push,r),new this(r))}})}},function(t,n,r){"use strict";n.__esModule=!0;var e=function(t){return t&&t.__esModule?t:{default:t}}(r(132));n.default=function(t){if(Array.isArray(t)){for(var n=0,r=Array(t.length);n<t.length;n++)r[n]=t[n];return r}return(0,e.default)(t)}},function(t,n,r){t.exports={default:r(133),__esModule:!0}},function(t,n,r){r(16),r(134),t.exports=r(0).Array.from},function(t,n,r){"use strict";var e=r(13),o=r(4),i=r(14),u=r(82),f=r(83),c=r(21),a=r(135),s=r(32);o(o.S+o.F*!r(136)(function(t){Array.from(t)}),"Array",{from:function(t){var n,r,o,l,p=i(t),v="function"==typeof this?this:Array,d=arguments.length,y=d>1?arguments[1]:void 0,h=void 0!==y,_=0,x=s(p);if(h&&(y=e(y,d>2?arguments[2]:void 0,2)),void 0==x||v==Array&&f(x))for(r=new v(n=c(p.length));n>_;_++)a(r,_,h?y(p[_],_):p[_]);else for(l=x.call(p),r=new v;!(o=l.next()).done;_++)a(r,_,h?u(l,y,[o.value,_],!0):o.value);return r.length=_,r}})},function(t,n,r){"use strict";var e=r(6),o=r(28);t.exports=function(t,n,r){n in t?e.f(t,n,o(0,r)):t[n]=r}},function(t,n,r){var e=r(1)("iterator"),o=!1;try{var i=[7][e]();i.return=function(){o=!0},Array.from(i,function(){throw 2})}catch(t){}t.exports=function(t,n){if(!n&&!o)return!1;var r=!1;try{var i=[7],u=i[e]();u.next=function(){return{done:r=!0}},i[e]=function(){return u},t(i)}catch(t){}return r}}])}); | ||
//# sourceMappingURL=abTranslate-runtime.bundle.min.js.map |
@@ -1,2 +0,2 @@ | ||
!function(t,n){"object"==typeof exports&&"object"==typeof module?module.exports=n():"function"==typeof define&&define.amd?define([],n):"object"==typeof exports?exports.umd=n():t.umd=n()}("undefined"!=typeof self?self:this,function(){return function(t){var n={};function r(e){if(n[e])return n[e].exports;var o=n[e]={i:e,l:!1,exports:{}};return t[e].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=t,r.c=n,r.d=function(t,n,e){r.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:e})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,n){if(1&n&&(t=r(t)),8&n)return t;if(4&n&&"object"==typeof t&&t&&t.__esModule)return t;var e=Object.create(null);if(r.r(e),Object.defineProperty(e,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var o in t)r.d(e,o,function(n){return t[n]}.bind(null,o));return e},r.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(n,"a",n),n},r.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},r.p="https://static.parastorage.com/services/ab-translate/1.506.0/",r.p="undefined"!=typeof window&&window.__STATICS_BASE_URL__||r.p,r(r.s=194)}([function(t,n,r){var e=r(37)("wks"),o=r(27),i=r(2).Symbol,u="function"==typeof i;(t.exports=function(t){return e[t]||(e[t]=u&&i[t]||(u?i:o)("Symbol."+t))}).store=e},function(t,n){var r=t.exports={version:"2.6.11"};"number"==typeof __e&&(__e=r)},function(t,n){var r=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=r)},function(t,n,r){var e=r(4),o=r(26);t.exports=r(5)?function(t,n,r){return e.f(t,n,o(1,r))}:function(t,n,r){return t[n]=r,t}},function(t,n,r){var e=r(10),o=r(51),i=r(52),u=Object.defineProperty;n.f=r(5)?Object.defineProperty:function(t,n,r){if(e(t),n=i(n,!0),e(r),o)try{return u(t,n,r)}catch(t){}if("get"in r||"set"in r)throw TypeError("Accessors not supported!");return"value"in r&&(t[n]=r.value),t}},function(t,n,r){t.exports=!r(11)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},,function(t,n){t.exports={}},function(t,n,r){var e=r(2),o=r(1),i=r(13),u=r(3),f=r(12),c=function(t,n,r){var a,s,l,p=t&c.F,v=t&c.G,d=t&c.S,y=t&c.P,h=t&c.B,_=t&c.W,x=v?o:o[n]||(o[n]={}),g=x.prototype,b=v?e:d?e[n]:(e[n]||{}).prototype;for(a in v&&(r=n),r)(s=!p&&b&&void 0!==b[a])&&f(x,a)||(l=s?b[a]:r[a],x[a]=v&&"function"!=typeof b[a]?r[a]:h&&s?i(l,e):_&&b[a]==l?function(t){var n=function(n,r,e){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(n);case 2:return new t(n,r)}return new t(n,r,e)}return t.apply(this,arguments)};return n.prototype=t.prototype,n}(l):y&&"function"==typeof l?i(Function.call,l):l,y&&((x.virtual||(x.virtual={}))[a]=l,t&c.R&&g&&!g[a]&&u(g,a,l)))};c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,t.exports=c},function(t,n){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,n,r){var e=r(9);t.exports=function(t){if(!e(t))throw TypeError(t+" is not an object!");return t}},function(t,n){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,n){var r={}.hasOwnProperty;t.exports=function(t,n){return r.call(t,n)}},function(t,n,r){var e=r(40);t.exports=function(t,n,r){if(e(t),void 0===n)return t;switch(r){case 1:return function(r){return t.call(n,r)};case 2:return function(r,e){return t.call(n,r,e)};case 3:return function(r,e,o){return t.call(n,r,e,o)}}return function(){return t.apply(n,arguments)}}},,function(t,n,r){var e=r(19);t.exports=function(t){return Object(e(t))}},function(t,n,r){"use strict";var e=r(61)(!0);r(25)(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,n=this._t,r=this._i;return r>=n.length?{value:void 0,done:!0}:(t=e(n,r),this._i+=t.length,{value:t,done:!1})})},,function(t,n,r){var e=r(34),o=r(19);t.exports=function(t){return e(o(t))}},function(t,n){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},function(t,n,r){var e=r(21),o=Math.min;t.exports=function(t){return t>0?o(e(t),9007199254740991):0}},function(t,n){var r=Math.ceil,e=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?e:r)(t)}},function(t,n,r){var e=r(37)("keys"),o=r(27);t.exports=function(t){return e[t]||(e[t]=o(t))}},function(t,n,r){r(49);for(var e=r(2),o=r(3),i=r(7),u=r(0)("toStringTag"),f="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),c=0;c<f.length;c++){var a=f[c],s=e[a],l=s&&s.prototype;l&&!l[u]&&o(l,u,a),i[a]=i.Array}},function(t,n){var r={}.toString;t.exports=function(t){return r.call(t).slice(8,-1)}},function(t,n,r){"use strict";var e=r(35),o=r(8),i=r(53),u=r(3),f=r(7),c=r(54),a=r(28),s=r(60),l=r(0)("iterator"),p=!([].keys&&"next"in[].keys()),v=function(){return this};t.exports=function(t,n,r,d,y,h,_){c(r,n,d);var x,g,b,S=function(t){if(!p&&t in j)return j[t];switch(t){case"keys":case"values":return function(){return new r(this,t)}}return function(){return new r(this,t)}},w=n+" Iterator",m="values"==y,O=!1,j=t.prototype,T=j[l]||j["@@iterator"]||y&&j[y],E=T||S(y),A=y?m?S("entries"):E:void 0,M="Array"==n&&j.entries||T;if(M&&(b=s(M.call(new t)))!==Object.prototype&&b.next&&(a(b,w,!0),e||"function"==typeof b[l]||u(b,l,v)),m&&T&&"values"!==T.name&&(O=!0,E=function(){return T.call(this)}),e&&!_||!p&&!O&&j[l]||u(j,l,E),f[n]=E,f[w]=v,y)if(x={values:m?E:S("values"),keys:h?E:S("keys"),entries:A},_)for(g in x)g in j||i(j,g,x[g]);else o(o.P+o.F*(p||O),n,x);return x}},function(t,n){t.exports=function(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}}},function(t,n){var r=0,e=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++r+e).toString(36))}},function(t,n,r){var e=r(4).f,o=r(12),i=r(0)("toStringTag");t.exports=function(t,n,r){t&&!o(t=r?t:t.prototype,i)&&e(t,i,{configurable:!0,value:n})}},function(t,n,r){var e=r(24),o=r(0)("toStringTag"),i="Arguments"==e(function(){return arguments}());t.exports=function(t){var n,r,u;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,n){try{return t[n]}catch(t){}}(n=Object(t),o))?r:i?e(n):"Object"==(u=e(n))&&"function"==typeof n.callee?"Arguments":u}},function(t,n,r){var e=r(56),o=r(38);t.exports=Object.keys||function(t){return e(t,o)}},function(t,n,r){var e=r(29),o=r(0)("iterator"),i=r(7);t.exports=r(1).getIteratorMethod=function(t){if(void 0!=t)return t[o]||t["@@iterator"]||i[e(t)]}},,function(t,n,r){var e=r(13),o=r(75),i=r(76),u=r(10),f=r(20),c=r(31),a={},s={};(n=t.exports=function(t,n,r,l,p){var v,d,y,h,_=p?function(){return t}:c(t),x=e(r,l,n?2:1),g=0;if("function"!=typeof _)throw TypeError(t+" is not iterable!");if(i(_)){for(v=f(t.length);v>g;g++)if((h=n?x(u(d=t[g])[0],d[1]):x(t[g]))===a||h===s)return h}else for(y=_.call(t);!(d=y.next()).done;)if((h=o(y,x,d.value,n))===a||h===s)return h}).BREAK=a,n.RETURN=s},function(t,n,r){var e=r(24);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==e(t)?t.split(""):Object(t)}},function(t,n){t.exports=!0},function(t,n,r){var e=r(9),o=r(2).document,i=e(o)&&e(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},function(t,n,r){var e=r(1),o=r(2),i=o["__core-js_shared__"]||(o["__core-js_shared__"]={});(t.exports=function(t,n){return i[t]||(i[t]=void 0!==n?n:{})})("versions",[]).push({version:e.version,mode:r(35)?"pure":"global",copyright:"\xa9 2019 Denis Pushkarev (zloirock.ru)"})},function(t,n){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,n){t.exports=function(t,n){return{value:n,done:!!t}}},function(t,n){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,n,r){var e=r(10),o=r(55),i=r(38),u=r(22)("IE_PROTO"),f=function(){},c=function(){var t,n=r(36)("iframe"),e=i.length;for(n.style.display="none",r(59).appendChild(n),n.src="javascript:",(t=n.contentWindow.document).open(),t.write("<script>document.F=Object<\/script>"),t.close(),c=t.F;e--;)delete c.prototype[i[e]];return c()};t.exports=Object.create||function(t,n){var r;return null!==t?(f.prototype=e(t),r=new f,f.prototype=null,r[u]=t):r=c(),void 0===n?r:o(r,n)}},,,,,function(t,n,r){"use strict";n.__esModule=!0;var e=i(r(47)),o=i(r(63));function i(t){return t&&t.__esModule?t:{default:t}}n.default=function(){return function(t,n){if(Array.isArray(t))return t;if((0,e.default)(Object(t)))return function(t,n){var r=[],e=!0,i=!1,u=void 0;try{for(var f,c=(0,o.default)(t);!(e=(f=c.next()).done)&&(r.push(f.value),!n||r.length!==n);e=!0);}catch(t){i=!0,u=t}finally{try{!e&&c.return&&c.return()}finally{if(i)throw u}}return r}(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}()},function(t,n,r){t.exports={default:r(48),__esModule:!0}},function(t,n,r){r(23),r(16),t.exports=r(62)},function(t,n,r){"use strict";var e=r(50),o=r(39),i=r(7),u=r(18);t.exports=r(25)(Array,"Array",function(t,n){this._t=u(t),this._i=0,this._k=n},function(){var t=this._t,n=this._k,r=this._i++;return!t||r>=t.length?(this._t=void 0,o(1)):o(0,"keys"==n?r:"values"==n?t[r]:[r,t[r]])},"values"),i.Arguments=i.Array,e("keys"),e("values"),e("entries")},function(t,n){t.exports=function(){}},function(t,n,r){t.exports=!r(5)&&!r(11)(function(){return 7!=Object.defineProperty(r(36)("div"),"a",{get:function(){return 7}}).a})},function(t,n,r){var e=r(9);t.exports=function(t,n){if(!e(t))return t;var r,o;if(n&&"function"==typeof(r=t.toString)&&!e(o=r.call(t)))return o;if("function"==typeof(r=t.valueOf)&&!e(o=r.call(t)))return o;if(!n&&"function"==typeof(r=t.toString)&&!e(o=r.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},function(t,n,r){t.exports=r(3)},function(t,n,r){"use strict";var e=r(41),o=r(26),i=r(28),u={};r(3)(u,r(0)("iterator"),function(){return this}),t.exports=function(t,n,r){t.prototype=e(u,{next:o(1,r)}),i(t,n+" Iterator")}},function(t,n,r){var e=r(4),o=r(10),i=r(30);t.exports=r(5)?Object.defineProperties:function(t,n){o(t);for(var r,u=i(n),f=u.length,c=0;f>c;)e.f(t,r=u[c++],n[r]);return t}},function(t,n,r){var e=r(12),o=r(18),i=r(57)(!1),u=r(22)("IE_PROTO");t.exports=function(t,n){var r,f=o(t),c=0,a=[];for(r in f)r!=u&&e(f,r)&&a.push(r);for(;n.length>c;)e(f,r=n[c++])&&(~i(a,r)||a.push(r));return a}},function(t,n,r){var e=r(18),o=r(20),i=r(58);t.exports=function(t){return function(n,r,u){var f,c=e(n),a=o(c.length),s=i(u,a);if(t&&r!=r){for(;a>s;)if((f=c[s++])!=f)return!0}else for(;a>s;s++)if((t||s in c)&&c[s]===r)return t||s||0;return!t&&-1}}},function(t,n,r){var e=r(21),o=Math.max,i=Math.min;t.exports=function(t,n){return(t=e(t))<0?o(t+n,0):i(t,n)}},function(t,n,r){var e=r(2).document;t.exports=e&&e.documentElement},function(t,n,r){var e=r(12),o=r(15),i=r(22)("IE_PROTO"),u=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=o(t),e(t,i)?t[i]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?u:null}},function(t,n,r){var e=r(21),o=r(19);t.exports=function(t){return function(n,r){var i,u,f=String(o(n)),c=e(r),a=f.length;return c<0||c>=a?t?"":void 0:(i=f.charCodeAt(c))<55296||i>56319||c+1===a||(u=f.charCodeAt(c+1))<56320||u>57343?t?f.charAt(c):i:t?f.slice(c,c+2):u-56320+(i-55296<<10)+65536}}},function(t,n,r){var e=r(29),o=r(0)("iterator"),i=r(7);t.exports=r(1).isIterable=function(t){var n=Object(t);return void 0!==n[o]||"@@iterator"in n||i.hasOwnProperty(e(n))}},function(t,n,r){t.exports={default:r(64),__esModule:!0}},function(t,n,r){r(23),r(16),t.exports=r(65)},function(t,n,r){var e=r(10),o=r(31);t.exports=r(1).getIterator=function(t){var n=o(t);if("function"!=typeof n)throw TypeError(t+" is not iterable!");return e(n.call(t))}},function(t,n,r){t.exports={default:r(67),__esModule:!0}},function(t,n,r){r(68),t.exports=r(1).Object.keys},function(t,n,r){var e=r(15),o=r(30);r(69)("keys",function(){return function(t){return o(e(t))}})},function(t,n,r){var e=r(8),o=r(1),i=r(11);t.exports=function(t,n){var r=(o.Object||{})[t]||Object[t],u={};u[t]=n(r),e(e.S+e.F*i(function(){r(1)}),"Object",u)}},,,,function(t,n,r){var e=r(3);t.exports=function(t,n,r){for(var o in n)r&&t[o]?t[o]=n[o]:e(t,o,n[o]);return t}},function(t,n){t.exports=function(t,n,r,e){if(!(t instanceof n)||void 0!==e&&e in t)throw TypeError(r+": incorrect invocation!");return t}},function(t,n,r){var e=r(10);t.exports=function(t,n,r,o){try{return o?n(e(r)[0],r[1]):n(r)}catch(n){var i=t.return;throw void 0!==i&&e(i.call(t)),n}}},function(t,n,r){var e=r(7),o=r(0)("iterator"),i=Array.prototype;t.exports=function(t){return void 0!==t&&(e.Array===t||i[o]===t)}},function(t,n,r){var e=r(27)("meta"),o=r(9),i=r(12),u=r(4).f,f=0,c=Object.isExtensible||function(){return!0},a=!r(11)(function(){return c(Object.preventExtensions({}))}),s=function(t){u(t,e,{value:{i:"O"+ ++f,w:{}}})},l=t.exports={KEY:e,NEED:!1,fastKey:function(t,n){if(!o(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!i(t,e)){if(!c(t))return"F";if(!n)return"E";s(t)}return t[e].i},getWeak:function(t,n){if(!i(t,e)){if(!c(t))return!0;if(!n)return!1;s(t)}return t[e].w},onFreeze:function(t){return a&&l.NEED&&c(t)&&!i(t,e)&&s(t),t}}},function(t,n,r){var e=r(9);t.exports=function(t,n){if(!e(t)||t._t!==n)throw TypeError("Incompatible receiver, "+n+" required!");return t}},,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,n,r){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var e=f(r(66)),o=f(r(106)),i=f(r(124)),u=f(r(46));function f(t){return t&&t.__esModule?t:{default:t}}n.default=function(t,n){if(!t||"[object Object]"!==t.toString())return n;if(!n)return{};var r={};for(var f in t)Object.prototype.hasOwnProperty.call(t,f)&&function(){var c=t[f],a=/specs\.abTranslate\.(.*?)\.(.*)$/.exec(f);if(a){var s=a[2],l=s.split("abSpec-"),p=(0,u.default)(l,2),v=p[0],d=p[1];(d?[].concat((0,i.default)(new o.default((0,e.default)(n).filter(function(t){return t.includes(d)}).map(function(t){return t.split("|abTranslate")[0]})))):[v]).forEach(function(t){if(r[t]=t,"0"!==c){var n=d?"|"+d:"";r[t]=t+"|abTranslate_"+c+n}})}}();for(var c in r){var a=Object.prototype.hasOwnProperty.call(r,c),s=n[r[c]];a&&s&&(n[c]=n[r[c]])}return n}},function(t,n,r){t.exports={default:r(107),__esModule:!0}},function(t,n,r){r(108),r(16),r(23),r(109),r(117),r(120),r(122),t.exports=r(1).Set},function(t,n){},function(t,n,r){"use strict";var e=r(110),o=r(78);t.exports=r(112)("Set",function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},{add:function(t){return e.def(o(this,"Set"),t=0===t?0:t,t)}},e)},function(t,n,r){"use strict";var e=r(4).f,o=r(41),i=r(73),u=r(13),f=r(74),c=r(33),a=r(25),s=r(39),l=r(111),p=r(5),v=r(77).fastKey,d=r(78),y=p?"_s":"size",h=function(t,n){var r,e=v(n);if("F"!==e)return t._i[e];for(r=t._f;r;r=r.n)if(r.k==n)return r};t.exports={getConstructor:function(t,n,r,a){var s=t(function(t,e){f(t,s,n,"_i"),t._t=n,t._i=o(null),t._f=void 0,t._l=void 0,t[y]=0,void 0!=e&&c(e,r,t[a],t)});return i(s.prototype,{clear:function(){for(var t=d(this,n),r=t._i,e=t._f;e;e=e.n)e.r=!0,e.p&&(e.p=e.p.n=void 0),delete r[e.i];t._f=t._l=void 0,t[y]=0},delete:function(t){var r=d(this,n),e=h(r,t);if(e){var o=e.n,i=e.p;delete r._i[e.i],e.r=!0,i&&(i.n=o),o&&(o.p=i),r._f==e&&(r._f=o),r._l==e&&(r._l=i),r[y]--}return!!e},forEach:function(t){d(this,n);for(var r,e=u(t,arguments.length>1?arguments[1]:void 0,3);r=r?r.n:this._f;)for(e(r.v,r.k,this);r&&r.r;)r=r.p},has:function(t){return!!h(d(this,n),t)}}),p&&e(s.prototype,"size",{get:function(){return d(this,n)[y]}}),s},def:function(t,n,r){var e,o,i=h(t,n);return i?i.v=r:(t._l=i={i:o=v(n,!0),k:n,v:r,p:e=t._l,n:void 0,r:!1},t._f||(t._f=i),e&&(e.n=i),t[y]++,"F"!==o&&(t._i[o]=i)),t},getEntry:h,setStrong:function(t,n,r){a(t,n,function(t,r){this._t=d(t,n),this._k=r,this._l=void 0},function(){for(var t=this._k,n=this._l;n&&n.r;)n=n.p;return this._t&&(this._l=n=n?n.n:this._t._f)?s(0,"keys"==t?n.k:"values"==t?n.v:[n.k,n.v]):(this._t=void 0,s(1))},r?"entries":"values",!r,!0),l(n)}}},function(t,n,r){"use strict";var e=r(2),o=r(1),i=r(4),u=r(5),f=r(0)("species");t.exports=function(t){var n="function"==typeof o[t]?o[t]:e[t];u&&n&&!n[f]&&i.f(n,f,{configurable:!0,get:function(){return this}})}},function(t,n,r){"use strict";var e=r(2),o=r(8),i=r(77),u=r(11),f=r(3),c=r(73),a=r(33),s=r(74),l=r(9),p=r(28),v=r(4).f,d=r(113)(0),y=r(5);t.exports=function(t,n,r,h,_,x){var g=e[t],b=g,S=_?"set":"add",w=b&&b.prototype,m={};return y&&"function"==typeof b&&(x||w.forEach&&!u(function(){(new b).entries().next()}))?(b=n(function(n,r){s(n,b,t,"_c"),n._c=new g,void 0!=r&&a(r,_,n[S],n)}),d("add,clear,delete,forEach,get,has,set,keys,values,entries,toJSON".split(","),function(t){var n="add"==t||"set"==t;t in w&&(!x||"clear"!=t)&&f(b.prototype,t,function(r,e){if(s(this,b,t),!n&&x&&!l(r))return"get"==t&&void 0;var o=this._c[t](0===r?0:r,e);return n?this:o})}),x||v(b.prototype,"size",{get:function(){return this._c.size}})):(b=h.getConstructor(n,t,_,S),c(b.prototype,r),i.NEED=!0),p(b,t),m[t]=b,o(o.G+o.W+o.F,m),x||h.setStrong(b,t,_),b}},function(t,n,r){var e=r(13),o=r(34),i=r(15),u=r(20),f=r(114);t.exports=function(t,n){var r=1==t,c=2==t,a=3==t,s=4==t,l=6==t,p=5==t||l,v=n||f;return function(n,f,d){for(var y,h,_=i(n),x=o(_),g=e(f,d,3),b=u(x.length),S=0,w=r?v(n,b):c?v(n,0):void 0;b>S;S++)if((p||S in x)&&(h=g(y=x[S],S,_),t))if(r)w[S]=h;else if(h)switch(t){case 3:return!0;case 5:return y;case 6:return S;case 2:w.push(y)}else if(s)return!1;return l?-1:a||s?s:w}}},function(t,n,r){var e=r(115);t.exports=function(t,n){return new(e(t))(n)}},function(t,n,r){var e=r(9),o=r(116),i=r(0)("species");t.exports=function(t){var n;return o(t)&&("function"!=typeof(n=t.constructor)||n!==Array&&!o(n.prototype)||(n=void 0),e(n)&&null===(n=n[i])&&(n=void 0)),void 0===n?Array:n}},function(t,n,r){var e=r(24);t.exports=Array.isArray||function(t){return"Array"==e(t)}},function(t,n,r){var e=r(8);e(e.P+e.R,"Set",{toJSON:r(118)("Set")})},function(t,n,r){var e=r(29),o=r(119);t.exports=function(t){return function(){if(e(this)!=t)throw TypeError(t+"#toJSON isn't generic");return o(this)}}},function(t,n,r){var e=r(33);t.exports=function(t,n){var r=[];return e(t,!1,r.push,r,n),r}},function(t,n,r){r(121)("Set")},function(t,n,r){"use strict";var e=r(8);t.exports=function(t){e(e.S,t,{of:function(){for(var t=arguments.length,n=new Array(t);t--;)n[t]=arguments[t];return new this(n)}})}},function(t,n,r){r(123)("Set")},function(t,n,r){"use strict";var e=r(8),o=r(40),i=r(13),u=r(33);t.exports=function(t){e(e.S,t,{from:function(t){var n,r,e,f,c=arguments[1];return o(this),(n=void 0!==c)&&o(c),void 0==t?new this:(r=[],n?(e=0,f=i(c,arguments[2],2),u(t,!1,function(t){r.push(f(t,e++))})):u(t,!1,r.push,r),new this(r))}})}},function(t,n,r){"use strict";n.__esModule=!0;var e=function(t){return t&&t.__esModule?t:{default:t}}(r(125));n.default=function(t){if(Array.isArray(t)){for(var n=0,r=Array(t.length);n<t.length;n++)r[n]=t[n];return r}return(0,e.default)(t)}},function(t,n,r){t.exports={default:r(126),__esModule:!0}},function(t,n,r){r(16),r(127),t.exports=r(1).Array.from},function(t,n,r){"use strict";var e=r(13),o=r(8),i=r(15),u=r(75),f=r(76),c=r(20),a=r(128),s=r(31);o(o.S+o.F*!r(129)(function(t){Array.from(t)}),"Array",{from:function(t){var n,r,o,l,p=i(t),v="function"==typeof this?this:Array,d=arguments.length,y=d>1?arguments[1]:void 0,h=void 0!==y,_=0,x=s(p);if(h&&(y=e(y,d>2?arguments[2]:void 0,2)),void 0==x||v==Array&&f(x))for(r=new v(n=c(p.length));n>_;_++)a(r,_,h?y(p[_],_):p[_]);else for(l=x.call(p),r=new v;!(o=l.next()).done;_++)a(r,_,h?u(l,y,[o.value,_],!0):o.value);return r.length=_,r}})},function(t,n,r){"use strict";var e=r(4),o=r(26);t.exports=function(t,n,r){n in t?e.f(t,n,o(0,r)):t[n]=r}},function(t,n,r){var e=r(0)("iterator"),o=!1;try{var i=[7][e]();i.return=function(){o=!0},Array.from(i,function(){throw 2})}catch(t){}t.exports=function(t,n){if(!n&&!o)return!1;var r=!1;try{var i=[7],u=i[e]();u.next=function(){return{done:r=!0}},i[e]=function(){return u},t(i)}catch(t){}return r}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,n,r){"use strict";var e=r(105);angular.module("wix.ab-translate",[]).provider("abTranslate",function(){return{abTranslate:e,$get:e}})}])}); | ||
!function(t,n){"object"==typeof exports&&"object"==typeof module?module.exports=n():"function"==typeof define&&define.amd?define([],n):"object"==typeof exports?exports.umd=n():t.umd=n()}("undefined"!=typeof self?self:this,function(){return function(t){var n={};function r(e){if(n[e])return n[e].exports;var o=n[e]={i:e,l:!1,exports:{}};return t[e].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=t,r.c=n,r.d=function(t,n,e){r.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:e})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,n){if(1&n&&(t=r(t)),8&n)return t;if(4&n&&"object"==typeof t&&t&&t.__esModule)return t;var e=Object.create(null);if(r.r(e),Object.defineProperty(e,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var o in t)r.d(e,o,function(n){return t[n]}.bind(null,o));return e},r.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(n,"a",n),n},r.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},r.p="https://static.parastorage.com/services/ab-translate/1.545.0/",r.p="undefined"!=typeof window&&window.__STATICS_BASE_URL__||r.p,r(r.s=194)}([function(t,n){var r=t.exports={version:"2.6.11"};"number"==typeof __e&&(__e=r)},function(t,n,r){var e=r(37)("wks"),o=r(29),i=r(2).Symbol,u="function"==typeof i;(t.exports=function(t){return e[t]||(e[t]=u&&i[t]||(u?i:o)("Symbol."+t))}).store=e},function(t,n){var r=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=r)},function(t,n,r){t.exports=!r(11)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,n,r){var e=r(2),o=r(0),i=r(13),u=r(5),f=r(12),c=function(t,n,r){var a,s,l,p=t&c.F,v=t&c.G,d=t&c.S,y=t&c.P,h=t&c.B,_=t&c.W,x=v?o:o[n]||(o[n]={}),g=x.prototype,b=v?e:d?e[n]:(e[n]||{}).prototype;for(a in v&&(r=n),r)(s=!p&&b&&void 0!==b[a])&&f(x,a)||(l=s?b[a]:r[a],x[a]=v&&"function"!=typeof b[a]?r[a]:h&&s?i(l,e):_&&b[a]==l?function(t){var n=function(n,r,e){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(n);case 2:return new t(n,r)}return new t(n,r,e)}return t.apply(this,arguments)};return n.prototype=t.prototype,n}(l):y&&"function"==typeof l?i(Function.call,l):l,y&&((x.virtual||(x.virtual={}))[a]=l,t&c.R&&g&&!g[a]&&u(g,a,l)))};c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,t.exports=c},function(t,n,r){var e=r(6),o=r(28);t.exports=r(3)?function(t,n,r){return e.f(t,n,o(1,r))}:function(t,n,r){return t[n]=r,t}},function(t,n,r){var e=r(10),o=r(52),i=r(53),u=Object.defineProperty;n.f=r(3)?Object.defineProperty:function(t,n,r){if(e(t),n=i(n,!0),e(r),o)try{return u(t,n,r)}catch(t){}if("get"in r||"set"in r)throw TypeError("Accessors not supported!");return"value"in r&&(t[n]=r.value),t}},,function(t,n){t.exports={}},function(t,n){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,n,r){var e=r(9);t.exports=function(t){if(!e(t))throw TypeError(t+" is not an object!");return t}},function(t,n){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,n){var r={}.hasOwnProperty;t.exports=function(t,n){return r.call(t,n)}},function(t,n,r){var e=r(40);t.exports=function(t,n,r){if(e(t),void 0===n)return t;switch(r){case 1:return function(r){return t.call(n,r)};case 2:return function(r,e){return t.call(n,r,e)};case 3:return function(r,e,o){return t.call(n,r,e,o)}}return function(){return t.apply(n,arguments)}}},function(t,n,r){var e=r(19);t.exports=function(t){return Object(e(t))}},,function(t,n,r){"use strict";var e=r(62)(!0);r(27)(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,n=this._t,r=this._i;return r>=n.length?{value:void 0,done:!0}:(t=e(n,r),this._i+=t.length,{value:t,done:!1})})},,function(t,n,r){var e=r(25),o=r(19);t.exports=function(t){return e(o(t))}},function(t,n){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},function(t,n,r){var e=r(57),o=r(38);t.exports=Object.keys||function(t){return e(t,o)}},function(t,n,r){var e=r(22),o=Math.min;t.exports=function(t){return t>0?o(e(t),9007199254740991):0}},function(t,n){var r=Math.ceil,e=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?e:r)(t)}},function(t,n,r){var e=r(37)("keys"),o=r(29);t.exports=function(t){return e[t]||(e[t]=o(t))}},function(t,n,r){r(50);for(var e=r(2),o=r(5),i=r(8),u=r(1)("toStringTag"),f="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),c=0;c<f.length;c++){var a=f[c],s=e[a],l=s&&s.prototype;l&&!l[u]&&o(l,u,a),i[a]=i.Array}},function(t,n,r){var e=r(26);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==e(t)?t.split(""):Object(t)}},function(t,n){var r={}.toString;t.exports=function(t){return r.call(t).slice(8,-1)}},function(t,n,r){"use strict";var e=r(35),o=r(4),i=r(54),u=r(5),f=r(8),c=r(55),a=r(30),s=r(61),l=r(1)("iterator"),p=!([].keys&&"next"in[].keys()),v=function(){return this};t.exports=function(t,n,r,d,y,h,_){c(r,n,d);var x,g,b,S=function(t){if(!p&&t in j)return j[t];switch(t){case"keys":case"values":return function(){return new r(this,t)}}return function(){return new r(this,t)}},O=n+" Iterator",m="values"==y,w=!1,j=t.prototype,E=j[l]||j["@@iterator"]||y&&j[y],T=E||S(y),M=y?m?S("entries"):T:void 0,A="Array"==n&&j.entries||E;if(A&&(b=s(A.call(new t)))!==Object.prototype&&b.next&&(a(b,O,!0),e||"function"==typeof b[l]||u(b,l,v)),m&&E&&"values"!==E.name&&(w=!0,T=function(){return E.call(this)}),e&&!_||!p&&!w&&j[l]||u(j,l,T),f[n]=T,f[O]=v,y)if(x={values:m?T:S("values"),keys:h?T:S("keys"),entries:M},_)for(g in x)g in j||i(j,g,x[g]);else o(o.P+o.F*(p||w),n,x);return x}},function(t,n){t.exports=function(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}}},function(t,n){var r=0,e=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++r+e).toString(36))}},function(t,n,r){var e=r(6).f,o=r(12),i=r(1)("toStringTag");t.exports=function(t,n,r){t&&!o(t=r?t:t.prototype,i)&&e(t,i,{configurable:!0,value:n})}},function(t,n,r){var e=r(26),o=r(1)("toStringTag"),i="Arguments"==e(function(){return arguments}());t.exports=function(t){var n,r,u;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,n){try{return t[n]}catch(t){}}(n=Object(t),o))?r:i?e(n):"Object"==(u=e(n))&&"function"==typeof n.callee?"Arguments":u}},function(t,n,r){var e=r(31),o=r(1)("iterator"),i=r(8);t.exports=r(0).getIteratorMethod=function(t){if(void 0!=t)return t[o]||t["@@iterator"]||i[e(t)]}},,function(t,n,r){var e=r(13),o=r(82),i=r(83),u=r(10),f=r(21),c=r(32),a={},s={};(n=t.exports=function(t,n,r,l,p){var v,d,y,h,_=p?function(){return t}:c(t),x=e(r,l,n?2:1),g=0;if("function"!=typeof _)throw TypeError(t+" is not iterable!");if(i(_)){for(v=f(t.length);v>g;g++)if((h=n?x(u(d=t[g])[0],d[1]):x(t[g]))===a||h===s)return h}else for(y=_.call(t);!(d=y.next()).done;)if((h=o(y,x,d.value,n))===a||h===s)return h}).BREAK=a,n.RETURN=s},function(t,n){t.exports=!0},function(t,n,r){var e=r(9),o=r(2).document,i=e(o)&&e(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},function(t,n,r){var e=r(0),o=r(2),i=o["__core-js_shared__"]||(o["__core-js_shared__"]={});(t.exports=function(t,n){return i[t]||(i[t]=void 0!==n?n:{})})("versions",[]).push({version:e.version,mode:r(35)?"pure":"global",copyright:"\xa9 2019 Denis Pushkarev (zloirock.ru)"})},function(t,n){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,n){t.exports=function(t,n){return{value:n,done:!!t}}},function(t,n){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,n,r){var e=r(10),o=r(56),i=r(38),u=r(23)("IE_PROTO"),f=function(){},c=function(){var t,n=r(36)("iframe"),e=i.length;for(n.style.display="none",r(60).appendChild(n),n.src="javascript:",(t=n.contentWindow.document).open(),t.write("<script>document.F=Object<\/script>"),t.close(),c=t.F;e--;)delete c.prototype[i[e]];return c()};t.exports=Object.create||function(t,n){var r;return null!==t?(f.prototype=e(t),r=new f,f.prototype=null,r[u]=t):r=c(),void 0===n?r:o(r,n)}},,,,function(t,n,r){t.exports={default:r(72),__esModule:!0}},,function(t,n,r){"use strict";n.__esModule=!0;var e=i(r(48)),o=i(r(64));function i(t){return t&&t.__esModule?t:{default:t}}n.default=function(){return function(t,n){if(Array.isArray(t))return t;if((0,e.default)(Object(t)))return function(t,n){var r=[],e=!0,i=!1,u=void 0;try{for(var f,c=(0,o.default)(t);!(e=(f=c.next()).done)&&(r.push(f.value),!n||r.length!==n);e=!0);}catch(t){i=!0,u=t}finally{try{!e&&c.return&&c.return()}finally{if(i)throw u}}return r}(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}()},function(t,n,r){t.exports={default:r(49),__esModule:!0}},function(t,n,r){r(24),r(16),t.exports=r(63)},function(t,n,r){"use strict";var e=r(51),o=r(39),i=r(8),u=r(18);t.exports=r(27)(Array,"Array",function(t,n){this._t=u(t),this._i=0,this._k=n},function(){var t=this._t,n=this._k,r=this._i++;return!t||r>=t.length?(this._t=void 0,o(1)):o(0,"keys"==n?r:"values"==n?t[r]:[r,t[r]])},"values"),i.Arguments=i.Array,e("keys"),e("values"),e("entries")},function(t,n){t.exports=function(){}},function(t,n,r){t.exports=!r(3)&&!r(11)(function(){return 7!=Object.defineProperty(r(36)("div"),"a",{get:function(){return 7}}).a})},function(t,n,r){var e=r(9);t.exports=function(t,n){if(!e(t))return t;var r,o;if(n&&"function"==typeof(r=t.toString)&&!e(o=r.call(t)))return o;if("function"==typeof(r=t.valueOf)&&!e(o=r.call(t)))return o;if(!n&&"function"==typeof(r=t.toString)&&!e(o=r.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},function(t,n,r){t.exports=r(5)},function(t,n,r){"use strict";var e=r(41),o=r(28),i=r(30),u={};r(5)(u,r(1)("iterator"),function(){return this}),t.exports=function(t,n,r){t.prototype=e(u,{next:o(1,r)}),i(t,n+" Iterator")}},function(t,n,r){var e=r(6),o=r(10),i=r(20);t.exports=r(3)?Object.defineProperties:function(t,n){o(t);for(var r,u=i(n),f=u.length,c=0;f>c;)e.f(t,r=u[c++],n[r]);return t}},function(t,n,r){var e=r(12),o=r(18),i=r(58)(!1),u=r(23)("IE_PROTO");t.exports=function(t,n){var r,f=o(t),c=0,a=[];for(r in f)r!=u&&e(f,r)&&a.push(r);for(;n.length>c;)e(f,r=n[c++])&&(~i(a,r)||a.push(r));return a}},function(t,n,r){var e=r(18),o=r(21),i=r(59);t.exports=function(t){return function(n,r,u){var f,c=e(n),a=o(c.length),s=i(u,a);if(t&&r!=r){for(;a>s;)if((f=c[s++])!=f)return!0}else for(;a>s;s++)if((t||s in c)&&c[s]===r)return t||s||0;return!t&&-1}}},function(t,n,r){var e=r(22),o=Math.max,i=Math.min;t.exports=function(t,n){return(t=e(t))<0?o(t+n,0):i(t,n)}},function(t,n,r){var e=r(2).document;t.exports=e&&e.documentElement},function(t,n,r){var e=r(12),o=r(14),i=r(23)("IE_PROTO"),u=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=o(t),e(t,i)?t[i]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?u:null}},function(t,n,r){var e=r(22),o=r(19);t.exports=function(t){return function(n,r){var i,u,f=String(o(n)),c=e(r),a=f.length;return c<0||c>=a?t?"":void 0:(i=f.charCodeAt(c))<55296||i>56319||c+1===a||(u=f.charCodeAt(c+1))<56320||u>57343?t?f.charAt(c):i:t?f.slice(c,c+2):u-56320+(i-55296<<10)+65536}}},function(t,n,r){var e=r(31),o=r(1)("iterator"),i=r(8);t.exports=r(0).isIterable=function(t){var n=Object(t);return void 0!==n[o]||"@@iterator"in n||i.hasOwnProperty(e(n))}},function(t,n,r){t.exports={default:r(65),__esModule:!0}},function(t,n,r){r(24),r(16),t.exports=r(66)},function(t,n,r){var e=r(10),o=r(32);t.exports=r(0).getIterator=function(t){var n=o(t);if("function"!=typeof n)throw TypeError(t+" is not iterable!");return e(n.call(t))}},function(t,n,r){t.exports={default:r(68),__esModule:!0}},function(t,n,r){r(69),t.exports=r(0).Object.keys},function(t,n,r){var e=r(14),o=r(20);r(70)("keys",function(){return function(t){return o(e(t))}})},function(t,n,r){var e=r(4),o=r(0),i=r(11);t.exports=function(t,n){var r=(o.Object||{})[t]||Object[t],u={};u[t]=n(r),e(e.S+e.F*i(function(){r(1)}),"Object",u)}},function(t,n,r){"use strict";n.__esModule=!0;var e=function(t){return t&&t.__esModule?t:{default:t}}(r(45));n.default=e.default||function(t){for(var n=1;n<arguments.length;n++){var r=arguments[n];for(var e in r)Object.prototype.hasOwnProperty.call(r,e)&&(t[e]=r[e])}return t}},function(t,n,r){r(73),t.exports=r(0).Object.assign},function(t,n,r){var e=r(4);e(e.S+e.F,"Object",{assign:r(74)})},function(t,n,r){"use strict";var e=r(3),o=r(20),i=r(75),u=r(76),f=r(14),c=r(25),a=Object.assign;t.exports=!a||r(11)(function(){var t={},n={},r=Symbol(),e="abcdefghijklmnopqrst";return t[r]=7,e.split("").forEach(function(t){n[t]=t}),7!=a({},t)[r]||Object.keys(a({},n)).join("")!=e})?function(t,n){for(var r=f(t),a=arguments.length,s=1,l=i.f,p=u.f;a>s;)for(var v,d=c(arguments[s++]),y=l?o(d).concat(l(d)):o(d),h=y.length,_=0;h>_;)v=y[_++],e&&!p.call(d,v)||(r[v]=d[v]);return r}:a},function(t,n){n.f=Object.getOwnPropertySymbols},function(t,n){n.f={}.propertyIsEnumerable},,,,function(t,n,r){var e=r(5);t.exports=function(t,n,r){for(var o in n)r&&t[o]?t[o]=n[o]:e(t,o,n[o]);return t}},function(t,n){t.exports=function(t,n,r,e){if(!(t instanceof n)||void 0!==e&&e in t)throw TypeError(r+": incorrect invocation!");return t}},function(t,n,r){var e=r(10);t.exports=function(t,n,r,o){try{return o?n(e(r)[0],r[1]):n(r)}catch(n){var i=t.return;throw void 0!==i&&e(i.call(t)),n}}},function(t,n,r){var e=r(8),o=r(1)("iterator"),i=Array.prototype;t.exports=function(t){return void 0!==t&&(e.Array===t||i[o]===t)}},function(t,n,r){var e=r(29)("meta"),o=r(9),i=r(12),u=r(6).f,f=0,c=Object.isExtensible||function(){return!0},a=!r(11)(function(){return c(Object.preventExtensions({}))}),s=function(t){u(t,e,{value:{i:"O"+ ++f,w:{}}})},l=t.exports={KEY:e,NEED:!1,fastKey:function(t,n){if(!o(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!i(t,e)){if(!c(t))return"F";if(!n)return"E";s(t)}return t[e].i},getWeak:function(t,n){if(!i(t,e)){if(!c(t))return!0;if(!n)return!1;s(t)}return t[e].w},onFreeze:function(t){return a&&l.NEED&&c(t)&&!i(t,e)&&s(t),t}}},function(t,n,r){var e=r(9);t.exports=function(t,n){if(!e(t)||t._t!==n)throw TypeError("Incompatible receiver, "+n+" required!");return t}},,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,n,r){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var e=c(r(71)),o=c(r(67)),i=c(r(113)),u=c(r(131)),f=c(r(47));function c(t){return t&&t.__esModule?t:{default:t}}n.default=function(t,n){if(!t||"[object Object]"!==t.toString())return n;if(!n)return{};var r={};for(var c in t)Object.prototype.hasOwnProperty.call(t,c)&&function(){var e=t[c],a=/specs\.abTranslate\.(.*?)\.(.*)$/.exec(c);if(a){var s=a[2],l=s.split("abSpec-"),p=(0,f.default)(l,2),v=p[0],d=p[1];(d?[].concat((0,u.default)(new i.default((0,o.default)(n).filter(function(t){return t.includes(d)}).map(function(t){return t.split("|abTranslate")[0]})))):[v]).forEach(function(t){if(r[t]=t,"0"!==e){var n=d?"|"+d:"";r[t]=t+"|abTranslate_"+e+n}})}}();var a=(0,e.default)({},n);for(var s in r){var l=Object.prototype.hasOwnProperty.call(r,s),p=n[r[s]];l&&p&&(a[s]=n[r[s]])}return a}},function(t,n,r){t.exports={default:r(114),__esModule:!0}},function(t,n,r){r(115),r(16),r(24),r(116),r(124),r(127),r(129),t.exports=r(0).Set},function(t,n){},function(t,n,r){"use strict";var e=r(117),o=r(85);t.exports=r(119)("Set",function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},{add:function(t){return e.def(o(this,"Set"),t=0===t?0:t,t)}},e)},function(t,n,r){"use strict";var e=r(6).f,o=r(41),i=r(80),u=r(13),f=r(81),c=r(34),a=r(27),s=r(39),l=r(118),p=r(3),v=r(84).fastKey,d=r(85),y=p?"_s":"size",h=function(t,n){var r,e=v(n);if("F"!==e)return t._i[e];for(r=t._f;r;r=r.n)if(r.k==n)return r};t.exports={getConstructor:function(t,n,r,a){var s=t(function(t,e){f(t,s,n,"_i"),t._t=n,t._i=o(null),t._f=void 0,t._l=void 0,t[y]=0,void 0!=e&&c(e,r,t[a],t)});return i(s.prototype,{clear:function(){for(var t=d(this,n),r=t._i,e=t._f;e;e=e.n)e.r=!0,e.p&&(e.p=e.p.n=void 0),delete r[e.i];t._f=t._l=void 0,t[y]=0},delete:function(t){var r=d(this,n),e=h(r,t);if(e){var o=e.n,i=e.p;delete r._i[e.i],e.r=!0,i&&(i.n=o),o&&(o.p=i),r._f==e&&(r._f=o),r._l==e&&(r._l=i),r[y]--}return!!e},forEach:function(t){d(this,n);for(var r,e=u(t,arguments.length>1?arguments[1]:void 0,3);r=r?r.n:this._f;)for(e(r.v,r.k,this);r&&r.r;)r=r.p},has:function(t){return!!h(d(this,n),t)}}),p&&e(s.prototype,"size",{get:function(){return d(this,n)[y]}}),s},def:function(t,n,r){var e,o,i=h(t,n);return i?i.v=r:(t._l=i={i:o=v(n,!0),k:n,v:r,p:e=t._l,n:void 0,r:!1},t._f||(t._f=i),e&&(e.n=i),t[y]++,"F"!==o&&(t._i[o]=i)),t},getEntry:h,setStrong:function(t,n,r){a(t,n,function(t,r){this._t=d(t,n),this._k=r,this._l=void 0},function(){for(var t=this._k,n=this._l;n&&n.r;)n=n.p;return this._t&&(this._l=n=n?n.n:this._t._f)?s(0,"keys"==t?n.k:"values"==t?n.v:[n.k,n.v]):(this._t=void 0,s(1))},r?"entries":"values",!r,!0),l(n)}}},function(t,n,r){"use strict";var e=r(2),o=r(0),i=r(6),u=r(3),f=r(1)("species");t.exports=function(t){var n="function"==typeof o[t]?o[t]:e[t];u&&n&&!n[f]&&i.f(n,f,{configurable:!0,get:function(){return this}})}},function(t,n,r){"use strict";var e=r(2),o=r(4),i=r(84),u=r(11),f=r(5),c=r(80),a=r(34),s=r(81),l=r(9),p=r(30),v=r(6).f,d=r(120)(0),y=r(3);t.exports=function(t,n,r,h,_,x){var g=e[t],b=g,S=_?"set":"add",O=b&&b.prototype,m={};return y&&"function"==typeof b&&(x||O.forEach&&!u(function(){(new b).entries().next()}))?(b=n(function(n,r){s(n,b,t,"_c"),n._c=new g,void 0!=r&&a(r,_,n[S],n)}),d("add,clear,delete,forEach,get,has,set,keys,values,entries,toJSON".split(","),function(t){var n="add"==t||"set"==t;t in O&&(!x||"clear"!=t)&&f(b.prototype,t,function(r,e){if(s(this,b,t),!n&&x&&!l(r))return"get"==t&&void 0;var o=this._c[t](0===r?0:r,e);return n?this:o})}),x||v(b.prototype,"size",{get:function(){return this._c.size}})):(b=h.getConstructor(n,t,_,S),c(b.prototype,r),i.NEED=!0),p(b,t),m[t]=b,o(o.G+o.W+o.F,m),x||h.setStrong(b,t,_),b}},function(t,n,r){var e=r(13),o=r(25),i=r(14),u=r(21),f=r(121);t.exports=function(t,n){var r=1==t,c=2==t,a=3==t,s=4==t,l=6==t,p=5==t||l,v=n||f;return function(n,f,d){for(var y,h,_=i(n),x=o(_),g=e(f,d,3),b=u(x.length),S=0,O=r?v(n,b):c?v(n,0):void 0;b>S;S++)if((p||S in x)&&(h=g(y=x[S],S,_),t))if(r)O[S]=h;else if(h)switch(t){case 3:return!0;case 5:return y;case 6:return S;case 2:O.push(y)}else if(s)return!1;return l?-1:a||s?s:O}}},function(t,n,r){var e=r(122);t.exports=function(t,n){return new(e(t))(n)}},function(t,n,r){var e=r(9),o=r(123),i=r(1)("species");t.exports=function(t){var n;return o(t)&&("function"!=typeof(n=t.constructor)||n!==Array&&!o(n.prototype)||(n=void 0),e(n)&&null===(n=n[i])&&(n=void 0)),void 0===n?Array:n}},function(t,n,r){var e=r(26);t.exports=Array.isArray||function(t){return"Array"==e(t)}},function(t,n,r){var e=r(4);e(e.P+e.R,"Set",{toJSON:r(125)("Set")})},function(t,n,r){var e=r(31),o=r(126);t.exports=function(t){return function(){if(e(this)!=t)throw TypeError(t+"#toJSON isn't generic");return o(this)}}},function(t,n,r){var e=r(34);t.exports=function(t,n){var r=[];return e(t,!1,r.push,r,n),r}},function(t,n,r){r(128)("Set")},function(t,n,r){"use strict";var e=r(4);t.exports=function(t){e(e.S,t,{of:function(){for(var t=arguments.length,n=new Array(t);t--;)n[t]=arguments[t];return new this(n)}})}},function(t,n,r){r(130)("Set")},function(t,n,r){"use strict";var e=r(4),o=r(40),i=r(13),u=r(34);t.exports=function(t){e(e.S,t,{from:function(t){var n,r,e,f,c=arguments[1];return o(this),(n=void 0!==c)&&o(c),void 0==t?new this:(r=[],n?(e=0,f=i(c,arguments[2],2),u(t,!1,function(t){r.push(f(t,e++))})):u(t,!1,r.push,r),new this(r))}})}},function(t,n,r){"use strict";n.__esModule=!0;var e=function(t){return t&&t.__esModule?t:{default:t}}(r(132));n.default=function(t){if(Array.isArray(t)){for(var n=0,r=Array(t.length);n<t.length;n++)r[n]=t[n];return r}return(0,e.default)(t)}},function(t,n,r){t.exports={default:r(133),__esModule:!0}},function(t,n,r){r(16),r(134),t.exports=r(0).Array.from},function(t,n,r){"use strict";var e=r(13),o=r(4),i=r(14),u=r(82),f=r(83),c=r(21),a=r(135),s=r(32);o(o.S+o.F*!r(136)(function(t){Array.from(t)}),"Array",{from:function(t){var n,r,o,l,p=i(t),v="function"==typeof this?this:Array,d=arguments.length,y=d>1?arguments[1]:void 0,h=void 0!==y,_=0,x=s(p);if(h&&(y=e(y,d>2?arguments[2]:void 0,2)),void 0==x||v==Array&&f(x))for(r=new v(n=c(p.length));n>_;_++)a(r,_,h?y(p[_],_):p[_]);else for(l=x.call(p),r=new v;!(o=l.next()).done;_++)a(r,_,h?u(l,y,[o.value,_],!0):o.value);return r.length=_,r}})},function(t,n,r){"use strict";var e=r(6),o=r(28);t.exports=function(t,n,r){n in t?e.f(t,n,o(0,r)):t[n]=r}},function(t,n,r){var e=r(1)("iterator"),o=!1;try{var i=[7][e]();i.return=function(){o=!0},Array.from(i,function(){throw 2})}catch(t){}t.exports=function(t,n){if(!n&&!o)return!1;var r=!1;try{var i=[7],u=i[e]();u.next=function(){return{done:r=!0}},i[e]=function(){return u},t(i)}catch(t){}return r}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,n,r){"use strict";var e=r(112);angular.module("wix.ab-translate",[]).provider("abTranslate",function(){return{abTranslate:e,$get:e}})}])}); | ||
//# sourceMappingURL=abTranslate.angular-runtime.bundle.min.js.map |
@@ -1,1 +0,1 @@ | ||
{"private":false,"name":"ab-translate","version":"1.1.556","author":{"name":"Yair Haimovitch","email":"yairh@wix.com","url":""},"main":"dist/src/abTranslate.js","browser":"dist/src/abTranslate-runtime.js","files":["dist"],"scripts":{"start":"yoshi start","build":"yoshi build","precommit":"yoshi lint","pretest":"yoshi build","test":"yoshi test --jest","posttest":"yoshi lint","release":"yoshi release && bower-auto-release --dist dist/statics --git-repo git@github.com:wix-private/ab-translate-bower-component.git"},"dependencies":{"babel-preset-es2015":"^6.24.1","babel-runtime":"^6.22.0","fs":"0.0.1-security","glob":"^7.1.2","xml2js":"^0.4.19"},"devDependencies":{"babel-plugin-transform-runtime":"^6.22.0","babel-preset-env":"^1.5.2","babel-preset-stage-3":"^6.5.0","bower-art-resolver":"^2.0.9","bower-auto-release":"^1.1.12","chai":"^3.5.0","eslint-config-wix":"^1.1.21","husky":"^0.13.4","yoshi":"^3.19.4"},"babel":{"presets":["stage-3","es2015"],"plugins":["transform-runtime"],"env":{"development":{"presets":["env"]}}},"yoshi":{"exports":"umd","umdNamedDefine":false,"entry":{"abTranslate":"./abTranslate.js","abTranslate-runtime":"./abTranslate-runtime.js","abTranslate.angular-runtime":"./abTranslate-runtime.angular.js"}},"jest":{"testPathIgnorePatterns":["<rootDir>/dist/","<rootDir>/node_modules/"]},"eslintConfig":{"extends":"wix/esnext"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"homepage":"https://github.com/wix-private/fed-infra/tree/master/ab-translate","repository":{"type":"git","url":"https://github.com/wix-private/fed-infra/tree/master/ab-translate"},"gitHead":"217219739f35021618c19d11d1c41a5d426ccf9c"} | ||
{"private":false,"name":"ab-translate","version":"1.1.557","author":{"name":"Yair Haimovitch","email":"yairh@wix.com","url":""},"main":"dist/src/abTranslate.js","browser":"dist/src/abTranslate-runtime.js","files":["dist"],"scripts":{"start":"yoshi start","build":"yoshi build","precommit":"yoshi lint","pretest":"yoshi build","test":"yoshi test --jest","posttest":"yoshi lint","release":"yoshi release && bower-auto-release --dist dist/statics --git-repo git@github.com:wix-private/ab-translate-bower-component.git"},"dependencies":{"babel-preset-es2015":"^6.24.1","babel-runtime":"^6.22.0","fs":"0.0.1-security","glob":"^7.1.2","xml2js":"^0.4.19"},"devDependencies":{"babel-plugin-transform-runtime":"^6.22.0","babel-preset-env":"^1.5.2","babel-preset-stage-3":"^6.5.0","bower-art-resolver":"^2.0.9","bower-auto-release":"^1.1.12","chai":"^3.5.0","eslint-config-wix":"^1.1.21","husky":"^0.13.4","yoshi":"^3.19.4"},"babel":{"presets":["stage-3","es2015"],"plugins":["transform-runtime"],"env":{"development":{"presets":["env"]}}},"yoshi":{"exports":"umd","umdNamedDefine":false,"entry":{"abTranslate":"./abTranslate.js","abTranslate-runtime":"./abTranslate-runtime.js","abTranslate.angular-runtime":"./abTranslate-runtime.angular.js"}},"jest":{"testPathIgnorePatterns":["<rootDir>/dist/","<rootDir>/node_modules/"]},"eslintConfig":{"extends":"wix/esnext"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"homepage":"https://github.com/wix-private/fed-infra/tree/master/ab-translate","repository":{"type":"git","url":"https://github.com/wix-private/fed-infra/tree/master/ab-translate"},"gitHead":"56ae2499829d60d3e43e5650e84fae2c05dc2d93"} |
164
README.md
# ab-translate | ||
Quickly create AB Tests for texts without coding via [Wix Babel](https://bo.wix.com/wix-babel-webapp/babel) & [Guineapig](https://guineapig.wix.com/home). | ||
Quickly create AB Tests for texts without coding via [Wix Babel](https://bo.wix.com/wow/babel) & [Guineapig (Petri)](https://bo.wix.com/petri). | ||
The process requries two simple steps: | ||
1. [**Setup**](#setup) - one time config for a project to support the AB Translate flow | ||
2. [**AB Test**](#ab-test) - create as many text tests as you or your Writer needs without writing a single line of code!!!!1 😱 | ||
2. [**Create AB Test**](#create-ab-test) - create as many text tests as you or your Writer needs without writing a single line of code!!!!1 😱 | ||
## How it works | ||
1. [Babel](https://bo.wix.com/wow/babel) creates a new translation key to your `messages_en.json` file in the git repo | ||
2. [`petri-specs`](https://github.com/wix-private/fed-infra/tree/master/petri-specs) or Grunt `petriExperiments` task create a new spec once find the key in your `messages_en.json` file | ||
## Setup | ||
@@ -13,27 +17,30 @@ Do this once, for each project that you want to run translations tests in | ||
1. Install the package `npm i ab-translate --save` or `yarn add ab-translate` | ||
2. Configure the specs defaults in your `package.json` file ([example](https://github.com/wix-private/account-recovery/blob/master/package.json#L15)): | ||
```javascript | ||
"yoshi": { | ||
"petriSpecs": { | ||
onlyForLoggedInUsers: false, // default: true | ||
scopes: ['my-projects-translation-scope'] // default: [<artifactId>] | ||
} | ||
} | ||
``` | ||
2. Configure the specs defaults for [`petri-specs`](https://github.com/wix-private/fed-infra/tree/master/petri-specs) in your `package.json` file ([example](https://github.com/wix-private/account-recovery/blob/master/package.json#L15)) | ||
```json5 | ||
"yoshi": { | ||
"petriSpecs": { | ||
"onlyForLoggedInUsers": false, // default: true | ||
"scopes": ["my-projects-translation-scope"] // default: [<artifactId>] | ||
} | ||
} | ||
``` | ||
3. Save the petri experiments object to the window (e.g. `window.__EXPERIMENTS__ = '<%= experiments %>';`). *Notice:* make sure that you conduct the experiments for the scope in step #2 | ||
4. In the `src/i18n.js` file add the following code to the backend task ([example](https://github.com/wix-private/account-recovery/blob/master/src/i18n/client-i18n.js#L22)) | ||
```javascript | ||
import abTranslate from 'ab-translate/dist/src/abTranslate-runtime'; | ||
backend: { | ||
crossDomain: true, | ||
parse: translations => { | ||
try { | ||
return abTranslate(window.__EXPERIMENTS__, JSON.parse(translations)); | ||
} catch (e) { | ||
return JSON.parse(translations); | ||
```javascript | ||
import abTranslate from 'ab-translate/dist/src/abTranslate-runtime'; | ||
backend: { | ||
crossDomain: true, | ||
parse: translations => { | ||
try { | ||
return abTranslate(window.__EXPERIMENTS__, JSON.parse(translations)); | ||
} catch (e) { | ||
return JSON.parse(translations); | ||
} | ||
} | ||
} | ||
} | ||
} | ||
``` | ||
``` | ||
@@ -45,55 +52,82 @@ 5. In case Universal project is used with SSR, the change needs to be on the `middleware-i18n.js` **instead**, see example [here](https://github.com/wix-private/photography/blob/master/logo-builder/logo-builder-universal/src/i18n/middleware-i18n.js) | ||
1. Install the package `bower install ab-translate --save` | ||
2. Configure the specs defaults in your local `Gruntfile.js` file: | ||
```javascript | ||
grunt.modifyTask('petriExperiments', { | ||
options: { | ||
onlyForLoggedInUsers: false, // default: true | ||
scopes: ['my-projects-translation-scope'] // default: [<artifactId>] | ||
} | ||
}); | ||
``` | ||
```javascript | ||
grunt.modifyTask('petriExperiments', { | ||
options: { | ||
onlyForLoggedInUsers: false, // default: true | ||
scopes: ['my-projects-translation-scope'] // default: [<artifactId>] | ||
} | ||
}); | ||
``` | ||
3. Add the Angular `abTranslateProvider` to your `index.vm` file ([example](https://github.com/wix-private/site-generator-statics-consumer/blob/00f9120d1964725aa3a89217f48978264210caa2/app/index.vm#L189)) | ||
```html | ||
<script src="bower_components/ab-translate/abTranslate.angular-runtime.bundle.min.js"></script> | ||
``` | ||
```html | ||
<script src="bower_components/ab-translate/abTranslate.angular-runtime.bundle.min.js"></script> | ||
``` | ||
4. Transform the translations using the `abTranslateProvider` and the project's `experimentManagerProvider` ([example](https://github.com/wix-private/site-generator-statics-consumer/blob/15d0f98603a575b5eda742ede781cf63f791f04b/app/scripts/app.ts#L80)). *Notice:* make sure that you conduct the experiments for the scope in step #2 | ||
```javascript | ||
angular.module('myApp', ['wix.ab-translate']) | ||
.config(function($translateProvider, abTranslateProvider, experimentManagerProvider) { | ||
const preferredLanguage = $translateProvider.preferredLanguage(); | ||
const translations = $translateProvider.translations()[preferredLanguage]; | ||
const translationsWithExperiments = abTranslateProvider.abTranslate.default( | ||
experimentManagerProvider.experiments, | ||
translations | ||
); | ||
$translateProvider.translations(preferredLanguage, translationsWithExperiments); | ||
}); | ||
``` | ||
```javascript | ||
angular.module('myApp', ['wix.ab-translate']) | ||
.config(function($translateProvider, abTranslateProvider, experimentManagerProvider) { | ||
const preferredLanguage = $translateProvider.preferredLanguage(); | ||
const translations = $translateProvider.translations()[preferredLanguage]; | ||
const translationsWithExperiments = abTranslateProvider.abTranslate.default( | ||
experimentManagerProvider.experiments, | ||
translations | ||
); | ||
$translateProvider.translations(preferredLanguage, translationsWithExperiments); | ||
}); | ||
``` | ||
## AB Test | ||
## Create AB Test | ||
1. Go to the [Babel translation system](https://bo.wix.com/wix-babel-webapp/babel) | ||
1. Go to the [Babel translation system](https://bo.wix.com/wow/babel) | ||
2. Select your project in the `Current Project` dropdown and select the `Update` tab | ||
![Babel Home](docs/1.babel.home.png) | ||
3. Look for the translation key you want to create a test for and click on the `Edit` button | ||
![Update key](docs/2.update.keys.png) | ||
4. Click on the `Create AB Test` button at the bottom of the modal | ||
![Create AB Test](docs/3.babel.edit.png) | ||
5. Add as many alternatives as you want | ||
![Add Alternatives](docs/4.babel.add.variations.png) | ||
6. Choose a Spec name. (e.g,**mySpec** will become **specs.abTranslate.<my-projects-translation-scope>.abSpec-mySpec**) - | ||
`my-projects-translation-scope` is the one defined in `package.json` -> `yoshi` -> `petriScopes` (or artifact id by default). | ||
7. Click the `Set` button. A 🔀 sign should appear next to your key. | ||
8. Verify your changes and click the `Commit` button. | ||
![Commit Changes](docs/5.babel.commit.changes.png) | ||
![Babel Home](docs/1.babel.home.png) | ||
3. Look for the translation key you want to create a test for and click on the `Edit` icon button | ||
![Update key](docs/2.update.keys.png) | ||
4. Click on the `+ Add AB test to Key` button at the bottom of the modal | ||
![Create AB Test](docs/3.babel.edit.png) | ||
5. Pick spec name or create a new one. | ||
* `shorterSubTitle` will become `specs.abTranslate.<my-projects-translation-scope>.abSpec-shorterSubTitle`) | ||
* `<my-projects-translation-scope>` is the one defined in `package.json` -> `yoshi` -> `petriScopes` (or artifact id by default). | ||
![Create spec](docs/4.babel.add.spec.png) | ||
6. Add as many alternatives as you want | ||
![Add Alternatives](docs/4.babel.add.variations.png) | ||
7. Click the `Save changes` button. | ||
Babel will add new keys in format: | ||
```json5 | ||
{ | ||
"<translatioKey>": "<Your Default A translation variant>", | ||
// New added keys | ||
"<translatioKey>|abTranslate_1|<yourSpec>": "<Your B translation variant>", | ||
"<translatioKey>|abTranslate_2|<yourSpec>": "<Your C translation variant>", | ||
} | ||
``` | ||
8. A `"AB"` sign should appear next to your key. You can pick your AB Specs from the list | ||
![Commit Changes](docs/5.babel.abSpecs.list.png) | ||
9. The changes will be pushed to github and a new build will be triggered. The new AB test will be detected and will be created. | ||
10. In the **Next GA** of the project you'll be able to see the spec in [Guineapig](https://guineapig.wix.com/home). The spec name will be in the format `specs.abTranslate.<scope>.<key>`. | ||
10. After the **Build** of the project you'll be able to see the spec in [Guineapig](https://bo.wix.com/petri). The spec name will be in the format `specs.abTranslate.<scope>.abSpec-<key>`. | ||
11. Create an experiment and use [Petri Sidekick](https://chrome.google.com/webstore/detail/wix-petri-sidekick/hpdjckcenihbjfmaccadiaighajcjope) to verify the variations! | ||
**Note1:** When creating the experiment verify that you open it only for the languages where the keys were updated | ||
**Note2:** If the experiment is paused/killed/theres a bug in the system the first alternative (String #0) will be chosen so there shouldn't be any risks with this mechanism. | ||
### Merging an Experiment | ||
Unfurtunately, at the moment there's no `Quick Merge` button that allows you to select the winning text. We'll work on one once the demand will rise. In the mean time you can simply set all the alternatives to the same text, close the experiments, and finally ask your dev to remove the unnecessary keys. | ||
### Experiments in languages other than EN | ||
@@ -100,0 +134,0 @@ Creating an experiment in other languages is possible, however there's a few things you should keep in mind: |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
2985956
23561
141