pleroma/priv/static/packs/core/auth.js

9 lines
215 KiB
JavaScript
Raw Normal View History

2020-01-22 10:00:23 -05:00
(window.webpackJsonp=window.webpackJsonp||[]).push([[5,11],{20:function(e,a,n){"use strict";n.d(a,"o",function(){return f}),n.d(a,"a",function(){return l}),n.d(a,"f",function(){return s}),n.d(a,"g",function(){return c}),n.d(a,"u",function(){return d}),n.d(a,"b",function(){return g}),n.d(a,"d",function(){return u}),n.d(a,"m",function(){return m}),n.d(a,"q",function(){return h}),n.d(a,"l",function(){return p}),n.d(a,"i",function(){return b}),n.d(a,"p",function(){return _}),n.d(a,"s",function(){return w}),n.d(a,"x",function(){return k}),n.d(a,"k",function(){return y}),n.d(a,"n",function(){return v}),n.d(a,"j",function(){return F}),n.d(a,"h",function(){return E}),n.d(a,"v",function(){return x}),n.d(a,"w",function(){return j}),n.d(a,"r",function(){return q}),n.d(a,"t",function(){return D}),n.d(a,"e",function(){return z});var o,i=document.getElementById("initial-state"),t=i&&JSON.parse(i.textContent),r=function(e){return t&&t.meta&&t.meta[e]},f=r("reduce_motion"),l=r("auto_play_gif"),s=r("display_media"),c=r("expand_spoilers"),d=r("unfollow_modal"),g=r("boost_modal"),u=r("delete_modal"),m=r("me"),h=r("search_enabled"),p=r("max_toot_chars")||500,b=r("invites_enabled"),_=r("repository"),w=r("source_url"),k=r("version"),y=r("mascot"),v=r("profile_directory"),F=r("is_staff"),E=!r("advanced_layout"),x=r("use_blurhash"),j=r("use_pending_items"),q=r("trends"),D=r("title"),z=(o="delete_others_notice",t&&t.rights&&t.rights[o]);a.c=t},210:function(e,a){e.exports=[{100:[[["💯"]],["💯",[],"100,hundred,points,symbol,score,perfect,numbers,century,exam,quiz,test,pass"]],1234:[[["🔢"]],["🔢",[],"1234,input,symbol,for,numbers,blue-square"]],grinning:[[["😀"]],["😀",[],"grinning,face,smile,happy,joy,:d,grin"]],grin:[[["😁"]],["😁",[],"grin,grinning,face,with,smiling,eyes,happy,smile,joy,kawaii"]],joy:[[["😂"]],["😂",[],"joy,face,with,tears,of,cry,weep,happy,happytears,haha"]],rolling_on_the_floor_laughing:[[["🤣"]],["🤣",[],"rolling,on,the,floor,laughing"]],smiley:[[["😃"]],["😃",[],"smiley,smiling,face,with,open,mouth,happy,joy,haha,:d,:),smile,funny,=),=-)"]],smile:[[["😄"]],["😄",[],"smile,smiling,face,with,open,mouth,and,eyes,happy,joy,funny,haha,laugh,like,:d,:),c:,:-d"]],sweat_smile:[[["😅"]],["😅",[],"sweat,smile,smiling,face,with,open,mouth,and,cold,hot,happy,laugh,relief"]],laughing:[[["😆"]],["😆",["satisfied"],"laughing,satisfied,smiling,face,with,open,mouth,and,tightly,closed,eyes,happy,joy,lol,haha,glad,xd,laugh,:>,:->"]],wink:[[["😉"]],["😉",[],"wink,winking,face,happy,mischievous,secret,;),smile,eye,;-)"]],blush:[[["😊"]],["😊",[],"blush,smiling,face,with,eyes,smile,happy,flushed,crush,embarrassed,shy,joy"]],yum:[[["😋"]],["😋",[],"yum,face,savouring,delicious,food,happy,joy,tongue,smile,silly,yummy,nom"]],sunglasses:[[["😎"]],["😎",[],"sunglasses,smiling,face,with,cool,smile,summer,beach,sunglass,8)"]],heart_eyes:[[["😍"]],["😍",[],"heart,eyes,smiling,face,with,shaped,love,like,affection,valentines,infatuation,crush"]],kissing_heart:[[["😘"]],["😘",[],"kissing,heart,face,throwing,a,kiss,love,like,affection,valentines,infatuation,:*,:-*"]],kissing:[[["😗"]],["😗",[],"kissing,face,love,like,3,valentines,infatuation,kiss"]],kissing_smiling_eyes:[[["😙"]],["😙",[],"kissing,smiling,eyes,face,with,affection,valentines,infatuation,kiss"]],kissing_closed_eyes:[[["😚"]],["😚",[],"kissing,closed,eyes,face,with,love,like,affection,valentines,infatuation,kiss"]],relaxed:[[["☺"],["☺️","263a"]],["☺️",[],"relaxed,white,smiling,face,blush,massage,happiness","263A-FE0F"]],slightly_smiling_face:[[["🙂"]],["🙂",[],"slightly,smiling,face,smile,:),(:,:-)"]],hugging_face:[[["🤗"]],["🤗",[],"hugging,face"]],"star-struck":[[["🤩"]],["🤩",["grinning_face_with_star_eyes"],"star,struck,grinning,face,with,eyes"]],thinking_face:[[["🤔"]],["🤔",[],"thinking,face"]],face_with_raised_eyebrow:[[["🤨"]],["🤨",["face_with_one_eyebrow_raised"],"face,with,raised,eyebrow,one"]],neutral_face:[[["😐"]],["😐",[],"neutral,face,indifference,meh,:|,:-|"]],express
/*!
* escape-html
* Copyright(c) 2012-2013 TJ Holowaychuk
* Copyright(c) 2015 Andreas Lubbe
* Copyright(c) 2015 Tiancheng "Timothy" Gu
* MIT Licensed
*/var o=/["'&<>]/;e.exports=function(e){var a,n=""+e,i=o.exec(n);if(!i)return n;var t="",r=0,f=0;for(r=i.index;r<n.length;r++){switch(n.charCodeAt(r)){case 34:a="&quot;";break;case 38:a="&amp;";break;case 39:a="&#39;";break;case 60:a="&lt;";break;case 62:a="&gt;";break;default:continue}f!==r&&(t+=n.substring(f,r)),f=r+1,t+=a}return f!==r?t+n.substring(f,r):t}},52:function(e,a,n){"use strict";n.r(a),function(e){n.d(a,"buildCustomEmojis",function(){return s}),n.d(a,"categoriesFromEmojis",function(){return c});var o=n(20),i=n(79),t=n.n(i),r=n(73),f=new(n.n(r).a)(Object.keys(t.a)),l=e.env.CDN_HOST||"";a.default=function(e,a){void 0===a&&(a={});for(var n=Object.keys(a).length?"<&:":"<&",i="",r=n,s=0,c=function(){for(var c=void 0,d=0,g=void 0;d<e.length&&-1===(g=r.indexOf(e[d]))&&(s||!(c=f.search(e.slice(d))));)d+=e.codePointAt(d)<65536?1:2;var u=void 0,m="";if(d===e.length)return"break";if(":"===e[d])(function(){if(!(u=e.indexOf(":",d+1)+1))return!1;var n=e.indexOf("<",d+1);if(!(-1===n||n>=u))return!1;var i=e.slice(d,u);if(i in a){var t=o.a?a[i].url:a[i].static_url;return m='<img draggable="false" class="emojione custom-emoji" alt="'+i+'" title="'+i+'" src="'+t+'" data-original="'+a[i].url+'" data-static="'+a[i].static_url+'" />',!0}return!1})()||(u=++d);else if(g>=0){if(!(u=e.indexOf(">;"[g],d+1)+1))return"break";0===g&&(s?"/"===e[d+1]?--s||(r=n):"/"!==e[u-2]&&s++:e.startsWith('<span class="invisible">',d)&&(s=1,r="<&")),d=u}else{var h=t.a[c],p=h.filename,b=h.shortCode;m='<img draggable="false" class="emojione" alt="'+c+'" title="'+(b?":"+b+":":"")+'" src="'+l+"/emoji/"+p+'.svg" />',u=d+c.length,65038===e.codePointAt(u)&&(u+=1)}i+=e.slice(0,d)+m,e=e.slice(u)};;){if("break"===c())break}return i+e};var s=function(e){var a=[];return e.forEach(function(e){var n=e.get("shortcode"),i=o.a?e.get("url"):e.get("static_url"),t=n.replace(":","");a.push({id:t,name:t,short_names:[t],text:"",emoticons:[],keywords:[t],imageUrl:i,custom:!0,customCategory:e.get("category")})}),a},c=function(e){return e.reduce(function(e,a){return e.add(a.get("category")?"custom-"+a.get("category"):"custom")},new Set(["custom"]))}}.call(this,n(46))},59:function(e,a,n){var o,i;(function(){(function(){(function(){this.Rails={linkClickSelector:"a[data-confirm], a[data-method], a[data-remote]:not([disabled]), a[data-disable-with], a[data-disable]",buttonClickSelector:{selector:"button[data-remote]:not([form]), button[data-confirm]:not([form])",exclude:"form button"},inputChangeSelector:"select[data-remote], input[data-remote], textarea[data-remote]",formSubmitSelector:"form",formInputClickSelector:"form input[type=submit], form input[type=image], form button[type=submit], form button:not([type]), input[type=submit][form], input[type=image][form], button[type=submit][form], button[form]:not([type])",formDisableSelector:"input[data-disable-with]:enabled, button[data-disable-with]:enabled, textarea[data-disable-with]:enabled, input[data-disable]:enabled, button[data-disable]:enabled, textarea[data-disable]:enabled",formEnableSelector:"input[data-disable-with]:disabled, button[data-disable-with]:disabled, textarea[data-disable-with]:disabled, input[data-disable]:disabled, button[data-disable]:disabled, textarea[data-disable]:disabled",fileInputSelector:"input[name][type=file]:not([disabled])",linkDisableSelector:"a[data-disable-with], a[data-disable]",buttonDisableSelector:"button[data-remote][data-disable-with], button[data-remote][data-disable]"}}).call(this)}).call(this);var t=this.Rails;(function(){(function(){var e;e=null,t.loadCSPNonce=function(){var a;return e=null!=(a=document.querySelector("meta[name=csp-nonce]"))?a.content:void 0},t.cspNonce=function(){return null!=e?e:t.loadCSPNonce()}}).call(this),function(){var e;e=Element.prototype.matches||Element.prototype.matchesSelector||Element.prototype.mozMatchesSelector||Element.prototype.msMatchesSelector||Element.prototype.oMatchesSelector||Element.prototype.webkitMatchesSelector,t.matches=function(a,n){return null!=n.exclude?e.call(a,n.selector)&&!e.call(a,n.exclude):e.call(a,n)},t.getData=function(e,a){var
//# sourceMappingURL=auth.js.map