-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathclient.min.js
More file actions
1 lines (1 loc) · 2.26 KB
/
client.min.js
File metadata and controls
1 lines (1 loc) · 2.26 KB
1
var css=function(){"use strict";var n=t;function t(n){return function(t){return t==n}}t.fn=function(n){return"function"==typeof n},t.str=function(n){return"string"==typeof n},t.num=function(n){return"number"==typeof n},t.obj=function(n){return"object"==typeof n},t.lit=function(n){return n.constructor==Object},t.bol=function(n){return"boolean"==typeof n},t.truthy=function(n){return 1==!!n},t.falsy=function(n){return 0==!!n},t.arr=function(n){return n instanceof Array},t.null=function(n){return null===n},t.def=function(n){return void 0!==n},t.in=function(n){return function(t){return!!n&&(n.indexOf?~n.indexOf(t):t in n)}},t.promise=function(n){return n instanceof Promise},t.stream=function(n){return!(!n||!n.next)};var e={arr:function(n){return Array.prototype.slice.call(n,0)},obj:function(t){var e="id";return 1==arguments.length?(e=t,r):r.apply(this,arguments);function r(t,r,o){return 0===o&&(t={}),t[n.fn(e)?e(r,o):r[e]]=r,t}}};var r="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};var o,u,i="undefined"!=typeof window?window:r,c=(function(n){n.exports=function(n){for(var t=5381,e=n.length;e;)t=33*t^n.charCodeAt(--e);return t>>>0}}(o={exports:{}},o.exports),o.exports),f=(u="[ri/types/css]",function(t){if(!i.console||!console.log.apply)return t;n.arr(arguments[2])&&(arguments[2]=arguments[2].length);var r=e.arr(arguments),o="[log]["+(new Date).toISOString()+"]"+u;return r.unshift(o.grey?o.grey:o),console.log.apply(console,r),t});return function(t){return f("creating"),t.types["text/css"]={header:"text/css",ext:"*.css",selector:function(n){return'[css~="'+n.name+'"]'},extract:function(t){return(function t(e,r){var o=arguments.length;return n.str(e)||2!=o?n.str(e)||3!=o?function(t){var u=this||{};return t=(t=(t=u.nodeName||n.fn(u.node)?u:t).node?t.node():t).host||t,o>1&&!1===r?t.removeAttribute(e):o>1?(t.setAttribute(e,r),r):t.attributes.getNamedItem(e)&&t.attributes.getNamedItem(e).value}:t(arguments[1],arguments[2]).call(this,arguments[0]):t(arguments[1]).call(this,arguments[0])}("css")(t)||"").split(" ")},check:function(n){return(t=".css",function(n){return n&&n.indexOf&&~n.indexOf(t)})(n.name);var t},shortname:function(n){return(void 0)(n)},load:!1,parse:function(n){return n.headers.hash=n.headers.hash||c(n.body),n}},t}}();