Built motion from commit (unavailable).|2.5.26
[motion2.git] / snippet / 3.0.0 / scripts / chat-fb71bc84.js
1 (self.webpackChunkmotion_chat=self.webpackChunkmotion_chat||[]).push([["chat-fb71bc84"],{"./node_modules/@uirouter/core/lib-esm/common/common.js":(e,t,n)=>{"use strict";n.d(t,{Jz:()=>c,xZ:()=>f,Qs:()=>a,Ed:()=>l,l7:()=>m,fS:()=>d,yR:()=>p,ZT:()=>h,WR:()=>v,ED:()=>b,d3:()=>g,nA:()=>y,LH:()=>j,Wk:()=>_,ce:()=>w,LQ:()=>I,mX:()=>O,ei:()=>E,CE:()=>k,hX:()=>S,sE:()=>V,js:()=>N,UI:()=>x,VO:()=>L,XC:()=>T,o8:()=>R,M7:()=>C,FN:()=>H,Ez:()=>J,v_:()=>$,UW:()=>W,sp:()=>A,ym:()=>P,bb:()=>F,Gb:()=>z,JG:()=>D,HX:()=>U,jv:()=>G});var r=n("./node_modules/@uirouter/core/lib-esm/common/predicates.js"),o=n("./node_modules/@uirouter/core/lib-esm/common/hof.js"),i=n("./node_modules/@uirouter/core/lib-esm/common/coreservices.js"),u=function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),o=0;for(t=0;t<n;t++)for(var i=arguments[t],u=0,c=i.length;u<c;u++,o++)r[o]=i[u];return r},c="object"==typeof self&&self.self===self&&self||"object"==typeof n.g&&n.g.global===n.g&&n.g||void 0,s=c.angular||{},f=s.fromJson||JSON.parse.bind(JSON),a=s.toJson||JSON.stringify.bind(JSON),l=s.forEach||function(e,t,n){if((0,r.kJ)(e))return e.forEach(t,n);Object.keys(e).forEach((function(n){return t(e[n],n)}))},m=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];if(n)for(var r=Object.keys(n),o=0;o<r.length;o++)e[r[o]]=n[r[o]]}return e},d=s.equals||function e(t,n){if(t===n)return!0;if(null===t||null===n)return!1;if(t!=t&&n!=n)return!0;var i=typeof t;if(i!==typeof n||"object"!==i)return!1;var u,c,s=[t,n];if((0,o.$6)(r.kJ)(s))return c=n,(u=t).length===c.length&&P(u,c).reduce((function(t,n){return t&&e(n[0],n[1])}),!0);if((0,o.$6)(r.J_)(s))return t.getTime()===n.getTime();if((0,o.$6)(r.Kj)(s))return t.toString()===n.toString();if((0,o.$6)(r.mf)(s))return!0;if([r.mf,r.kJ,r.J_,r.Kj].map(o.Yj).reduce((function(e,t){return e||!!t(s)}),!1))return!1;var f={};for(var a in t){if(!e(t[a],n[a]))return!1;f[a]=!0}for(var a in n)if(!f[a])return!1;return!0};function p(e){return e}function h(){}function v(e,t,n,r,o){void 0===o&&(o=!1);var i=function(t){return e()[t].bind(n())};return(r=r||Object.keys(e())).reduce((function(e,n){var r;return e[n]=o?(r=n,function(){return t[r]=i(r),t[r].apply(null,arguments)}):i(n),e}),t)}var b=function(e,t){return m(Object.create(e),t)},g=(0,o.WA)((function(e,t){return-1!==e.indexOf(t)})),y=(0,o.WA)((function(e,t){var n=e.indexOf(t);return n>=0&&e.splice(n,1),e})),j=(0,o.WA)((function(e,t){return e.push(t),t})),_=function(e){return e.slice().forEach((function(t){"function"==typeof t&&t(),y(e,t)}))};function w(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var r=m.apply(void 0,u([{}],t.reverse()));return m(r,E(e||{},Object.keys(r)))}var I=function(e,t){return m(e,t)};function O(e,t){var n=[];for(var r in e.path){if(e.path[r]!==t.path[r])break;n.push(e.path[r])}return n}function E(e,t){var n={};for(var r in e)-1!==t.indexOf(r)&&(n[r]=e[r]);return n}function k(e,t){return Object.keys(e).filter((0,o.ff)(g(t))).reduce((function(t,n){return t[n]=e[n],t}),{})}function S(e,t){var n=(0,r.kJ)(e),o=n?[]:{},i=n?function(e){return o.push(e)}:function(e,t){return o[t]=e};return l(e,(function(e,n){t(e,n)&&i(e,n)})),o}function V(e,t){var n;return l(e,(function(e,r){n||t(e,r)&&(n=e)})),n}var N=x;function x(e,t,n){return n=n||((0,r.kJ)(e)?[]:{}),l(e,(function(e,r){return n[r]=t(e,r)})),n}var L=function(e){return Object.keys(e).map((function(t){return e[t]}))},T=function(e,t){return e&&t},R=function(e,t){return e||t},C=function(e,t){return e.concat(t)},H=function(e,t){return(0,r.kJ)(t)?e.concat(t.reduce(H,[])):J(e,t)};function J(e,t){return e.push(t),e}var $=function(e,t){return g(e,t)?e:J(e,t)},W=function(e){return e.reduce(C,[])},A=function(e,t){return void 0===t&&(t="assert failure"),function(n){var o=e(n);if(!o)throw new Error((0,r.mf)(t)?t(n):t);return o}};function P(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(0===e.length)return[];for(var n=e.reduce((function(e,t){return Math.min(t.length,e)}),9007199254740991),r=[],o=function(t){switch(e.length){case 1:r.push([e[0][t]]);break;case 2:r.push([e[0][t],e[1][t]]);break;case 3:r.push([e[0][t],e[1][t],e[2][t]]);break;case 4:r.push([e[0][t],e[1][t],e[2][t],e[3][t]]);break;default:r.push(e.map((function(e){return e[t]})))}},i=0;i<n;i++)o(i);return r}function F(e,t){var n,o;if((0,r.kJ)(t)&&(n=t[0],o=t[1]),!(0,r.HD)(n))throw new Error("invalid parameters to applyPairs");return e[n]=o,e}function z(e){return e.length&&e[e.length-1]||void 0}function D(e,t){return t&&Object.keys(t).forEach((function(e){return delete t[e]})),t||(t={}),m(t,e)}var U=function(e){return e.catch((function(e){return 0}))&&e},G=function(e){return U(i.u.$q.reject(e))}},"./node_modules/@uirouter/core/lib-esm/common/coreservices.js":(e,t,n)=>{"use strict";n.d(t,{H:()=>r,u:()=>o});var r=function(e,t){return t.reduce((function(t,n){return t[n]=(r=e+"."+n+"()",function(){throw new Error("No implementation for "+r+". The framework specific code did not implement this method.")}),t;var r}),{})},o={$q:void 0,$injector:void 0}},"./node_modules/@uirouter/core/lib-esm/common/glob.js":(e,t,n)=>{"use strict";n.d(t,{r:()=>r});var r=function(){function e(e){this.text=e,this.glob=e.split(".");var t=this.text.split(".").map((function(e){return"**"===e?"(?:|(?:\\.[^.]*)*)":"*"===e?"\\.[^.]*":"\\."+e})).join("");this.regexp=new RegExp("^"+t+"$")}return e.is=function(e){return!!/[!,*]+/.exec(e)},e.fromString=function(t){return e.is(t)?new e(t):null},e.prototype.matches=function(e){return this.regexp.test("."+e)},e}()},"./node_modules/@uirouter/core/lib-esm/common/hof.js":(e,t,n)=>{"use strict";n.d(t,{WA:()=>o,zG:()=>u,vg:()=>c,OH:()=>s,Qc:()=>f,ff:()=>a,xD:()=>l,or:()=>m,$6:()=>d,Yj:()=>p,is:()=>h,P0:()=>v,uj:()=>b});var r=function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),o=0;for(t=0;t<n;t++)for(var i=arguments[t],u=0,c=i.length;u<c;u++,o++)r[o]=i[u];return r};function o(e){return function t(){if(arguments.length>=e.length)return e.apply(this,arguments);var n=Array.prototype.slice.call(arguments);return t.bind.apply(t,r([this],n))}}function i(){var e=arguments,t=e.length-1;return function(){for(var n=t,r=e[t].apply(this,arguments);n--;)r=e[n].call(this,r);return r}}function u(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return i.apply(null,[].slice.call(arguments).reverse())}var c=function(e){return function(t){return t&&t[e]}},s=o((function(e,t,n){return n&&n[e]===t})),f=function(e){return u.apply(null,e.split(".").map(c))},a=function(e){return function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return!e.apply(null,t)}};function l(e,t){return function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return e.apply(null,n)&&t.apply(null,n)}}function m(e,t){return function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return e.apply(null,n)||t.apply(null,n)}}var d=function(e){return function(t){return t.reduce((function(t,n){return t&&!!e(n)}),!0)}},p=function(e){return function(t){return t.reduce((function(t,n){return t||!!e(n)}),!1)}},h=function(e){return function(t){return null!=t&&t.constructor===e||t instanceof e}},v=function(e){return function(){return e}};function b(e){return function(t){for(var n=0;n<e.length;n++)if(e[n][0](t))return e[n][1](t)}}},"./node_modules/@uirouter/core/lib-esm/common/predicates.js":(e,t,n)=>{"use strict";n.d(t,{o8:()=>u,$K:()=>c,Ft:()=>s,le:()=>f,mf:()=>a,hj:()=>l,HD:()=>m,Kn:()=>d,kJ:()=>p,J_:()=>h,Kj:()=>v,Qh:()=>b,tI:()=>g});var r=n("./node_modules/@uirouter/core/lib-esm/common/hof.js"),o=Object.prototype.toString,i=function(e){return function(t){return typeof t===e}},u=i("undefined"),c=(0,r.ff)(u),s=function(e){return null===e},f=(0,r.or)(s,u),a=i("function"),l=i("number"),m=i("string"),d=function(e){return null!==e&&"object"==typeof e},p=Array.isArray,h=function(e){return"[object Date]"===o.call(e)},v=function(e){return"[object RegExp]"===o.call(e)};function b(e){if(p(e)&&e.length){var t=e.slice(0,-1),n=e.slice(-1);return!(t.filter((0,r.ff)(m)).length||n.filter((0,r.ff)(a)).length)}return a(e)}var g=(0,r.xD)(d,(0,r.zG)((0,r.vg)("then"),a))},"./node_modules/@uirouter/core/lib-esm/common/queue.js":(e,t,n)=>{"use strict";n.d(t,{c:()=>o});var r=n("./node_modules/@uirouter/core/lib-esm/common/common.js"),o=function(){function e(e,t){void 0===e&&(e=[]),void 0===t&&(t=null),this._items=e,this._limit=t,this._evictListeners=[],this.onEvict=(0,r.LH)(this._evictListeners)}return e.prototype.enqueue=function(e){var t=this._items;return t.push(e),this._limit&&t.length>this._limit&&this.evict(),e},e.prototype.evict=function(){var e=this._items.shift();return this._evictListeners.forEach((function(t){return t(e)})),e},e.prototype.dequeue=function(){if(this.size())return this._items.splice(0,1)[0]},e.prototype.clear=function(){var e=this._items;return this._items=[],e},e.prototype.size=function(){return this._items.length},e.prototype.remove=function(e){var t=this._items.indexOf(e);return t>-1&&this._items.splice(t,1)[0]},e.prototype.peekTail=function(){return this._items[this._items.length-1]},e.prototype.peekHead=function(){if(this.size())return this._items[0]},e}()},"./node_modules/@uirouter/core/lib-esm/common/safeConsole.js":(e,t,n)=>{"use strict";n.d(t,{L:()=>i});var r=n("./node_modules/@uirouter/core/lib-esm/common/common.js"),o={log:r.ZT,error:r.ZT,table:r.ZT},i="undefined"!=typeof document&&document.documentMode&&9===document.documentMode?window&&window.console?function(e){var t=function(t){return Function.prototype.bind.call(t,e)};return{log:t(e.log),error:t(e.log),table:t(e.log)}}(window.console):o:console.table&&console.error?console:function(e){var t=e.log.bind(e);return{log:t,error:e.error?e.error.bind(e):t,table:e.table?e.table.bind(e):t}}(console)},"./node_modules/@uirouter/core/lib-esm/common/strings.js":(e,t,n)=>{"use strict";n.d(t,{BS:()=>c,NE:()=>s,L$:()=>f,XF:()=>a,iC:()=>l,Pz:()=>p,Lb:()=>v,cW:()=>b,C7:()=>g,Fb:()=>y,HV:()=>j,PX:()=>_,iV:()=>w});var r=n("./node_modules/@uirouter/core/lib-esm/common/predicates.js"),o=n("./node_modules/@uirouter/core/lib-esm/transition/rejectFactory.js"),i=n("./node_modules/@uirouter/core/lib-esm/common/common.js"),u=n("./node_modules/@uirouter/core/lib-esm/common/hof.js");function c(e,t){return t.length<=e?t:t.substr(0,e-3)+"..."}function s(e,t){for(;t.length<e;)t+=" ";return t}function f(e){return e.replace(/^([A-Z])/,(function(e){return e.toLowerCase()})).replace(/([A-Z])/g,(function(e){return"-"+e.toLowerCase()}))}function a(e){var t=l(e),n=t.match(/^(function [^ ]+\([^)]*\))/),r=n?n[1]:t,o=e.name||"";return o&&r.match(/function \(/)?"function "+o+r.substr(9):r}function l(e){var t=(0,r.kJ)(e)?e.slice(-1)[0]:e;return t&&t.toString()||"undefined"}var m=o.i.isRejectionPromise,d=(0,u.uj)([[r.o8,(0,u.P0)("undefined")],[r.Ft,(0,u.P0)("null")],[r.tI,(0,u.P0)("[Promise]")],[m,function(e){return e._transitionRejection.toString()}],[function(e){return(0,r.Kn)(e)&&!(0,r.kJ)(e)&&e.constructor!==Object&&(0,r.mf)(e.toString)},function(e){return e.toString()}],[r.Qh,a],[(0,u.P0)(!0),i.yR]]);function p(e){var t=[];function n(e){if((0,r.Kn)(e)){if(-1!==t.indexOf(e))return"[circular ref]";t.push(e)}return d(e)}return(0,r.o8)(e)?n(e):JSON.stringify(e,(function(e,t){return n(t)})).replace(/\\"/g,'"')}var h=function(e){return function(t){if(!t)return["",""];var n=t.indexOf(e);return-1===n?[t,""]:[t.substr(0,n),t.substr(n+1)]}},v=function(e){return e.replace(/\/[^/]*$/,"")},b=h("#"),g=h("?"),y=h("="),j=function(e){return e?e.replace(/^#/,""):""};function _(e){var t=new RegExp("("+e+")","g");return function(e){return e.split(t).filter(i.yR)}}function w(e,t){return(0,r.HD)((0,i.Gb)(e))&&(0,r.HD)(t)?e.slice(0,-1).concat((0,i.Gb)(e)+t):(0,i.Ez)(e,t)}},"./node_modules/@uirouter/core/lib-esm/common/trace.js":(e,t,n)=>{"use strict";n.d(t,{g4:()=>d});var r,o=n("./node_modules/@uirouter/core/lib-esm/common/hof.js"),i=n("./node_modules/@uirouter/core/lib-esm/common/predicates.js"),u=n("./node_modules/@uirouter/core/lib-esm/common/strings.js"),c=n("./node_modules/@uirouter/core/lib-esm/common/safeConsole.js");function s(e){if(!e)return"ui-view (defunct)";var t=e.creationContext?e.creationContext.name||"(root)":"(none)";return"[ui-view#"+e.id+" "+e.$type+":"+e.fqn+" ("+e.name+"@"+t+")]"}function f(e){return(0,i.hj)(e)?r[e]:r[r[e]]}!function(e){e[e.RESOLVE=0]="RESOLVE",e[e.TRANSITION=1]="TRANSITION",e[e.HOOK=2]="HOOK",e[e.UIVIEW=3]="UIVIEW",e[e.VIEWCONFIG=4]="VIEWCONFIG"}(r||(r={}));var a=(0,o.Qc)("$id"),l=(0,o.Qc)("router.$id"),m=function(e){return"Transition #"+a(e)+"-"+l(e)},d=new(function(){function e(){this._enabled={},this.approximateDigests=0}return e.prototype._set=function(e,t){var n=this;t.length||(t=Object.keys(r).map((function(e){return parseInt(e,10)})).filter((function(e){return!isNaN(e)})).map((function(e){return r[e]}))),t.map(f).forEach((function(t){return n._enabled[t]=e}))},e.prototype.enable=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this._set(!0,e)},e.prototype.disable=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this._set(!1,e)},e.prototype.enabled=function(e){return!!this._enabled[f(e)]},e.prototype.traceTransitionStart=function(e){this.enabled(r.TRANSITION)&&c.L.log(m(e)+": Started  -> "+(0,u.Pz)(e))},e.prototype.traceTransitionIgnored=function(e){this.enabled(r.TRANSITION)&&c.L.log(m(e)+": Ignored  <> "+(0,u.Pz)(e))},e.prototype.traceHookInvocation=function(e,t,n){if(this.enabled(r.HOOK)){var i=(0,o.Qc)("traceData.hookType")(n)||"internal",s=(0,o.Qc)("traceData.context.state.name")(n)||(0,o.Qc)("traceData.context")(n)||"unknown",f=(0,u.XF)(e.registeredHook.callback);c.L.log(m(t)+":   Hook -> "+i+" context: "+s+", "+(0,u.BS)(200,f))}},e.prototype.traceHookResult=function(e,t,n){this.enabled(r.HOOK)&&c.L.log(m(t)+":   <- Hook returned: "+(0,u.BS)(200,(0,u.Pz)(e)))},e.prototype.traceResolvePath=function(e,t,n){this.enabled(r.RESOLVE)&&c.L.log(m(n)+":         Resolving "+e+" ("+t+")")},e.prototype.traceResolvableResolved=function(e,t){this.enabled(r.RESOLVE)&&c.L.log(m(t)+":               <- Resolved  "+e+" to: "+(0,u.BS)(200,(0,u.Pz)(e.data)))},e.prototype.traceError=function(e,t){this.enabled(r.TRANSITION)&&c.L.log(m(t)+": <- Rejected "+(0,u.Pz)(t)+", reason: "+e)},e.prototype.traceSuccess=function(e,t){this.enabled(r.TRANSITION)&&c.L.log(m(t)+": <- Success  "+(0,u.Pz)(t)+", final state: "+e.name)},e.prototype.traceUIViewEvent=function(e,t,n){void 0===n&&(n=""),this.enabled(r.UIVIEW)&&c.L.log("ui-view: "+(0,u.NE)(30,e)+" "+s(t)+n)},e.prototype.traceUIViewConfigUpdated=function(e,t){this.enabled(r.UIVIEW)&&this.traceUIViewEvent("Updating",e," with ViewConfig from context='"+t+"'")},e.prototype.traceUIViewFill=function(e,t){this.enabled(r.UIVIEW)&&this.traceUIViewEvent("Fill",e," with: "+(0,u.BS)(200,t))},e.prototype.traceViewSync=function(e){if(this.enabled(r.VIEWCONFIG)){var t="uiview component fqn",n=e.map((function(e){var n,r=e.uiView,o=e.viewConfig,i=r&&r.fqn,u=o&&o.viewDecl.$context.name+": ("+o.viewDecl.$name+")";return(n={})[t]=i,n["view config state (view name)"]=u,n})).sort((function(e,n){return(e[t]||"").localeCompare(n[t]||"")}));c.L.table(n)}},e.prototype.traceViewServiceEvent=function(e,t){this.enabled(r.VIEWCONFIG)&&c.L.log("VIEWCONFIG: "+e+" "+function(e){var t=e.viewDecl,n=t.$context.name||"(root)";return"[View#"+e.$id+" from '"+n+"' state]: target ui-view: '"+t.$uiViewName+"@"+t.$uiViewContextAnchor+"'"}(t))},e.prototype.traceViewServiceUIViewEvent=function(e,t){this.enabled(r.VIEWCONFIG)&&c.L.log("VIEWCONFIG: "+e+" "+s(t))},e}())},"./node_modules/@uirouter/core/lib-esm/globals.js":(e,t,n)=>{"use strict";n.d(t,{k:()=>i});var r=n("./node_modules/@uirouter/core/lib-esm/params/stateParams.js"),o=n("./node_modules/@uirouter/core/lib-esm/common/queue.js"),i=function(){function e(){this.params=new r.i,this.lastStartedTransitionId=-1,this.transitionHistory=new o.c([],1),this.successfulTransitions=new o.c([],1)}return e.prototype.dispose=function(){this.transitionHistory.clear(),this.successfulTransitions.clear(),this.transition=null},e}()}}]);
2 //# sourceMappingURL=chat-fb71bc84.js.map