mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-12-23 05:23:17 +00:00
1557 lines
53 KiB
JavaScript
1557 lines
53 KiB
JavaScript
|
/******/ (function(modules) { // webpackBootstrap
|
||
|
/******/ // The module cache
|
||
|
/******/ var installedModules = {};
|
||
|
/******/
|
||
|
/******/ // The require function
|
||
|
/******/ function __webpack_require__(moduleId) {
|
||
|
/******/
|
||
|
/******/ // Check if module is in cache
|
||
|
/******/ if(installedModules[moduleId]) {
|
||
|
/******/ return installedModules[moduleId].exports;
|
||
|
/******/ }
|
||
|
/******/ // Create a new module (and put it into the cache)
|
||
|
/******/ var module = installedModules[moduleId] = {
|
||
|
/******/ i: moduleId,
|
||
|
/******/ l: false,
|
||
|
/******/ exports: {}
|
||
|
/******/ };
|
||
|
/******/
|
||
|
/******/ // Execute the module function
|
||
|
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
|
||
|
/******/
|
||
|
/******/ // Flag the module as loaded
|
||
|
/******/ module.l = true;
|
||
|
/******/
|
||
|
/******/ // Return the exports of the module
|
||
|
/******/ return module.exports;
|
||
|
/******/ }
|
||
|
/******/
|
||
|
/******/
|
||
|
/******/ // expose the modules object (__webpack_modules__)
|
||
|
/******/ __webpack_require__.m = modules;
|
||
|
/******/
|
||
|
/******/ // expose the module cache
|
||
|
/******/ __webpack_require__.c = installedModules;
|
||
|
/******/
|
||
|
/******/ // define getter function for harmony exports
|
||
|
/******/ __webpack_require__.d = function(exports, name, getter) {
|
||
|
/******/ if(!__webpack_require__.o(exports, name)) {
|
||
|
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
|
||
|
/******/ }
|
||
|
/******/ };
|
||
|
/******/
|
||
|
/******/ // define __esModule on exports
|
||
|
/******/ __webpack_require__.r = function(exports) {
|
||
|
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
||
|
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
||
|
/******/ }
|
||
|
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
||
|
/******/ };
|
||
|
/******/
|
||
|
/******/ // create a fake namespace object
|
||
|
/******/ // mode & 1: value is a module id, require it
|
||
|
/******/ // mode & 2: merge all properties of value into the ns
|
||
|
/******/ // mode & 4: return value when already ns object
|
||
|
/******/ // mode & 8|1: behave like require
|
||
|
/******/ __webpack_require__.t = function(value, mode) {
|
||
|
/******/ if(mode & 1) value = __webpack_require__(value);
|
||
|
/******/ if(mode & 8) return value;
|
||
|
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
|
||
|
/******/ var ns = Object.create(null);
|
||
|
/******/ __webpack_require__.r(ns);
|
||
|
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
|
||
|
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
|
||
|
/******/ return ns;
|
||
|
/******/ };
|
||
|
/******/
|
||
|
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
||
|
/******/ __webpack_require__.n = function(module) {
|
||
|
/******/ var getter = module && module.__esModule ?
|
||
|
/******/ function getDefault() { return module['default']; } :
|
||
|
/******/ function getModuleExports() { return module; };
|
||
|
/******/ __webpack_require__.d(getter, 'a', getter);
|
||
|
/******/ return getter;
|
||
|
/******/ };
|
||
|
/******/
|
||
|
/******/ // Object.prototype.hasOwnProperty.call
|
||
|
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
|
||
|
/******/
|
||
|
/******/ // __webpack_public_path__
|
||
|
/******/ __webpack_require__.p = "/";
|
||
|
/******/
|
||
|
/******/
|
||
|
/******/ // Load entry module and return exports
|
||
|
/******/ return __webpack_require__(__webpack_require__.s = 10);
|
||
|
/******/ })
|
||
|
/************************************************************************/
|
||
|
/******/ ({
|
||
|
|
||
|
/***/ "./node_modules/babel-loader/lib/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/assets/js/components/Direct.vue?vue&type=script&lang=js&":
|
||
|
/*!************************************************************************************************************************************************************************!*\
|
||
|
!*** ./node_modules/babel-loader/lib??ref--4-0!./node_modules/vue-loader/lib??vue-loader-options!./resources/assets/js/components/Direct.vue?vue&type=script&lang=js& ***!
|
||
|
\************************************************************************************************************************************************************************/
|
||
|
/*! exports provided: default */
|
||
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||
|
|
||
|
"use strict";
|
||
|
__webpack_require__.r(__webpack_exports__);
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
/* harmony default export */ __webpack_exports__["default"] = ({
|
||
|
data: function data() {
|
||
|
return {
|
||
|
threads: [],
|
||
|
thread: false
|
||
|
};
|
||
|
},
|
||
|
mounted: function mounted() {},
|
||
|
methods: {}
|
||
|
});
|
||
|
|
||
|
/***/ }),
|
||
|
|
||
|
/***/ "./node_modules/css-loader/index.js?!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/assets/js/components/Direct.vue?vue&type=style&index=0&id=96e9d740&scoped=true&lang=css&":
|
||
|
/*!*******************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
||
|
!*** ./node_modules/css-loader??ref--8-1!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src??ref--8-2!./node_modules/vue-loader/lib??vue-loader-options!./resources/assets/js/components/Direct.vue?vue&type=style&index=0&id=96e9d740&scoped=true&lang=css& ***!
|
||
|
\*******************************************************************************************************************************************************************************************************************************************************************************************************/
|
||
|
/*! no static exports found */
|
||
|
/***/ (function(module, exports, __webpack_require__) {
|
||
|
|
||
|
exports = module.exports = __webpack_require__(/*! ../../../../node_modules/css-loader/lib/css-base.js */ "./node_modules/css-loader/lib/css-base.js")(false);
|
||
|
// imports
|
||
|
|
||
|
|
||
|
// module
|
||
|
exports.push([module.i, "\n.chat.card[data-v-96e9d740] {\n\theight: 500px;\n\tbackground-color: rgba(0,0,0,0.4) !important;\n}\n.im-card[data-v-96e9d740] {\n\toverflow-y: auto;\n}\n.chat.card.card-header[data-v-96e9d740] {\n\tborder-bottom: 0 !important;\n}\n.chat.card.card-footer[data-v-96e9d740] {\n\tborder-top: 0 !important;\n}\n.im-input[data-v-96e9d740] {\n\tbackground-color: rgba(0,0,0,0.3) !important;\n\tborder: 0 !important;\n\tcolor: #fff !important;\n\theight: 60px !important;\n\toverflow-y: auto;\n}\n.im-input[data-v-96e9d740]:focus {\n\tbox-shadow: none !important;\n\toutline: 0px !important;\n}\n.im-picker[data-v-96e9d740] {\n\tborder-radius: 15px 0 0 15px !important;\n\tbackground-color: rgba(0,0,0,0.3) !important;\n\tborder: 0 !important;\n\tcolor: white !important;\n\tcursor: pointer;\n}\n.im-send[data-v-96e9d740] {\n\tborder-radius: 0 15px 15px 0 !important;\n\tbackground-color: rgba(0,0,0,0.3) !important;\n\tborder: 0 !important;\n\tcolor: white !important;\n\tcursor: pointer;\n}\n.im-msg-avatar[data-v-96e9d740],\n.im-avatar[data-v-96e9d740] {\n\theight: 40px;\n\twidth: 40px;\n}\n.im-bubble-to[data-v-96e9d740] {\n\tmargin-top: auto;\n\tmargin-bottom: auto;\n\tmargin-left: 10px;\n\tborder-radius: 5px;\n\tbackground-color: #E5E4E9;\n\tcolor: #363636;\n\tpadding: 10px;\n\tposition: relative;\n}\n.im-bubble-from[data-v-96e9d740] {\n\tmargin-top: auto;\n\tmargin-bottom: auto;\n\tmargin-right: 10px;\n\tborder-radius: 5px;\n\tbackground-color: #2095FE;\n\tcolor: #fff;\n\tpadding: 10px;\n\tposition: relative;\n}\n.im-ts[data-v-96e9d740] {\n\tposition: absolute;\n\tleft: 0;\n\tbottom: -15px;\n\tcolor: #cdcdcd;\n\tfont-size: 10px;\n}\n.im-ts-to[data-v-96e9d740] {\n\tposition: absolute;\n\tright: 0;\n\tbottom: -15px;\n\tcolor: #cdcdcd;\n\tfont-size: 10px;\n}\n", ""]);
|
||
|
|
||
|
// exports
|
||
|
|
||
|
|
||
|
/***/ }),
|
||
|
|
||
|
/***/ "./node_modules/css-loader/lib/css-base.js":
|
||
|
/*!*************************************************!*\
|
||
|
!*** ./node_modules/css-loader/lib/css-base.js ***!
|
||
|
\*************************************************/
|
||
|
/*! no static exports found */
|
||
|
/***/ (function(module, exports) {
|
||
|
|
||
|
/*
|
||
|
MIT License http://www.opensource.org/licenses/mit-license.php
|
||
|
Author Tobias Koppers @sokra
|
||
|
*/
|
||
|
// css base code, injected by the css-loader
|
||
|
module.exports = function(useSourceMap) {
|
||
|
var list = [];
|
||
|
|
||
|
// return the list of modules as css string
|
||
|
list.toString = function toString() {
|
||
|
return this.map(function (item) {
|
||
|
var content = cssWithMappingToString(item, useSourceMap);
|
||
|
if(item[2]) {
|
||
|
return "@media " + item[2] + "{" + content + "}";
|
||
|
} else {
|
||
|
return content;
|
||
|
}
|
||
|
}).join("");
|
||
|
};
|
||
|
|
||
|
// import a list of modules into the list
|
||
|
list.i = function(modules, mediaQuery) {
|
||
|
if(typeof modules === "string")
|
||
|
modules = [[null, modules, ""]];
|
||
|
var alreadyImportedModules = {};
|
||
|
for(var i = 0; i < this.length; i++) {
|
||
|
var id = this[i][0];
|
||
|
if(typeof id === "number")
|
||
|
alreadyImportedModules[id] = true;
|
||
|
}
|
||
|
for(i = 0; i < modules.length; i++) {
|
||
|
var item = modules[i];
|
||
|
// skip already imported module
|
||
|
// this implementation is not 100% perfect for weird media query combinations
|
||
|
// when a module is imported multiple times with different media queries.
|
||
|
// I hope this will never occur (Hey this way we have smaller bundles)
|
||
|
if(typeof item[0] !== "number" || !alreadyImportedModules[item[0]]) {
|
||
|
if(mediaQuery && !item[2]) {
|
||
|
item[2] = mediaQuery;
|
||
|
} else if(mediaQuery) {
|
||
|
item[2] = "(" + item[2] + ") and (" + mediaQuery + ")";
|
||
|
}
|
||
|
list.push(item);
|
||
|
}
|
||
|
}
|
||
|
};
|
||
|
return list;
|
||
|
};
|
||
|
|
||
|
function cssWithMappingToString(item, useSourceMap) {
|
||
|
var content = item[1] || '';
|
||
|
var cssMapping = item[3];
|
||
|
if (!cssMapping) {
|
||
|
return content;
|
||
|
}
|
||
|
|
||
|
if (useSourceMap && typeof btoa === 'function') {
|
||
|
var sourceMapping = toComment(cssMapping);
|
||
|
var sourceURLs = cssMapping.sources.map(function (source) {
|
||
|
return '/*# sourceURL=' + cssMapping.sourceRoot + source + ' */'
|
||
|
});
|
||
|
|
||
|
return [content].concat(sourceURLs).concat([sourceMapping]).join('\n');
|
||
|
}
|
||
|
|
||
|
return [content].join('\n');
|
||
|
}
|
||
|
|
||
|
// Adapted from convert-source-map (MIT)
|
||
|
function toComment(sourceMap) {
|
||
|
// eslint-disable-next-line no-undef
|
||
|
var base64 = btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap))));
|
||
|
var data = 'sourceMappingURL=data:application/json;charset=utf-8;base64,' + base64;
|
||
|
|
||
|
return '/*# ' + data + ' */';
|
||
|
}
|
||
|
|
||
|
|
||
|
/***/ }),
|
||
|
|
||
|
/***/ "./node_modules/style-loader/index.js!./node_modules/css-loader/index.js?!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/assets/js/components/Direct.vue?vue&type=style&index=0&id=96e9d740&scoped=true&lang=css&":
|
||
|
/*!***********************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
||
|
!*** ./node_modules/style-loader!./node_modules/css-loader??ref--8-1!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src??ref--8-2!./node_modules/vue-loader/lib??vue-loader-options!./resources/assets/js/components/Direct.vue?vue&type=style&index=0&id=96e9d740&scoped=true&lang=css& ***!
|
||
|
\***********************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
||
|
/*! no static exports found */
|
||
|
/***/ (function(module, exports, __webpack_require__) {
|
||
|
|
||
|
|
||
|
var content = __webpack_require__(/*! !../../../../node_modules/css-loader??ref--8-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src??ref--8-2!../../../../node_modules/vue-loader/lib??vue-loader-options!./Direct.vue?vue&type=style&index=0&id=96e9d740&scoped=true&lang=css& */ "./node_modules/css-loader/index.js?!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/assets/js/components/Direct.vue?vue&type=style&index=0&id=96e9d740&scoped=true&lang=css&");
|
||
|
|
||
|
if(typeof content === 'string') content = [[module.i, content, '']];
|
||
|
|
||
|
var transform;
|
||
|
var insertInto;
|
||
|
|
||
|
|
||
|
|
||
|
var options = {"hmr":true}
|
||
|
|
||
|
options.transform = transform
|
||
|
options.insertInto = undefined;
|
||
|
|
||
|
var update = __webpack_require__(/*! ../../../../node_modules/style-loader/lib/addStyles.js */ "./node_modules/style-loader/lib/addStyles.js")(content, options);
|
||
|
|
||
|
if(content.locals) module.exports = content.locals;
|
||
|
|
||
|
if(false) {}
|
||
|
|
||
|
/***/ }),
|
||
|
|
||
|
/***/ "./node_modules/style-loader/lib/addStyles.js":
|
||
|
/*!****************************************************!*\
|
||
|
!*** ./node_modules/style-loader/lib/addStyles.js ***!
|
||
|
\****************************************************/
|
||
|
/*! no static exports found */
|
||
|
/***/ (function(module, exports, __webpack_require__) {
|
||
|
|
||
|
/*
|
||
|
MIT License http://www.opensource.org/licenses/mit-license.php
|
||
|
Author Tobias Koppers @sokra
|
||
|
*/
|
||
|
|
||
|
var stylesInDom = {};
|
||
|
|
||
|
var memoize = function (fn) {
|
||
|
var memo;
|
||
|
|
||
|
return function () {
|
||
|
if (typeof memo === "undefined") memo = fn.apply(this, arguments);
|
||
|
return memo;
|
||
|
};
|
||
|
};
|
||
|
|
||
|
var isOldIE = memoize(function () {
|
||
|
// Test for IE <= 9 as proposed by Browserhacks
|
||
|
// @see http://browserhacks.com/#hack-e71d8692f65334173fee715c222cb805
|
||
|
// Tests for existence of standard globals is to allow style-loader
|
||
|
// to operate correctly into non-standard environments
|
||
|
// @see https://github.com/webpack-contrib/style-loader/issues/177
|
||
|
return window && document && document.all && !window.atob;
|
||
|
});
|
||
|
|
||
|
var getTarget = function (target, parent) {
|
||
|
if (parent){
|
||
|
return parent.querySelector(target);
|
||
|
}
|
||
|
return document.querySelector(target);
|
||
|
};
|
||
|
|
||
|
var getElement = (function (fn) {
|
||
|
var memo = {};
|
||
|
|
||
|
return function(target, parent) {
|
||
|
// If passing function in options, then use it for resolve "head" element.
|
||
|
// Useful for Shadow Root style i.e
|
||
|
// {
|
||
|
// insertInto: function () { return document.querySelector("#foo").shadowRoot }
|
||
|
// }
|
||
|
if (typeof target === 'function') {
|
||
|
return target();
|
||
|
}
|
||
|
if (typeof memo[target] === "undefined") {
|
||
|
var styleTarget = getTarget.call(this, target, parent);
|
||
|
// Special case to return head of iframe instead of iframe itself
|
||
|
if (window.HTMLIFrameElement && styleTarget instanceof window.HTMLIFrameElement) {
|
||
|
try {
|
||
|
// This will throw an exception if access to iframe is blocked
|
||
|
// due to cross-origin restrictions
|
||
|
styleTarget = styleTarget.contentDocument.head;
|
||
|
} catch(e) {
|
||
|
styleTarget = null;
|
||
|
}
|
||
|
}
|
||
|
memo[target] = styleTarget;
|
||
|
}
|
||
|
return memo[target]
|
||
|
};
|
||
|
})();
|
||
|
|
||
|
var singleton = null;
|
||
|
var singletonCounter = 0;
|
||
|
var stylesInsertedAtTop = [];
|
||
|
|
||
|
var fixUrls = __webpack_require__(/*! ./urls */ "./node_modules/style-loader/lib/urls.js");
|
||
|
|
||
|
module.exports = function(list, options) {
|
||
|
if (typeof DEBUG !== "undefined" && DEBUG) {
|
||
|
if (typeof document !== "object") throw new Error("The style-loader cannot be used in a non-browser environment");
|
||
|
}
|
||
|
|
||
|
options = options || {};
|
||
|
|
||
|
options.attrs = typeof options.attrs === "object" ? options.attrs : {};
|
||
|
|
||
|
// Force single-tag solution on IE6-9, which has a hard limit on the # of <style>
|
||
|
// tags it will allow on a page
|
||
|
if (!options.singleton && typeof options.singleton !== "boolean") options.singleton = isOldIE();
|
||
|
|
||
|
// By default, add <style> tags to the <head> element
|
||
|
if (!options.insertInto) options.insertInto = "head";
|
||
|
|
||
|
// By default, add <style> tags to the bottom of the target
|
||
|
if (!options.insertAt) options.insertAt = "bottom";
|
||
|
|
||
|
var styles = listToStyles(list, options);
|
||
|
|
||
|
addStylesToDom(styles, options);
|
||
|
|
||
|
return function update (newList) {
|
||
|
var mayRemove = [];
|
||
|
|
||
|
for (var i = 0; i < styles.length; i++) {
|
||
|
var item = styles[i];
|
||
|
var domStyle = stylesInDom[item.id];
|
||
|
|
||
|
domStyle.refs--;
|
||
|
mayRemove.push(domStyle);
|
||
|
}
|
||
|
|
||
|
if(newList) {
|
||
|
var newStyles = listToStyles(newList, options);
|
||
|
addStylesToDom(newStyles, options);
|
||
|
}
|
||
|
|
||
|
for (var i = 0; i < mayRemove.length; i++) {
|
||
|
var domStyle = mayRemove[i];
|
||
|
|
||
|
if(domStyle.refs === 0) {
|
||
|
for (var j = 0; j < domStyle.parts.length; j++) domStyle.parts[j]();
|
||
|
|
||
|
delete stylesInDom[domStyle.id];
|
||
|
}
|
||
|
}
|
||
|
};
|
||
|
};
|
||
|
|
||
|
function addStylesToDom (styles, options) {
|
||
|
for (var i = 0; i < styles.length; i++) {
|
||
|
var item = styles[i];
|
||
|
var domStyle = stylesInDom[item.id];
|
||
|
|
||
|
if(domStyle) {
|
||
|
domStyle.refs++;
|
||
|
|
||
|
for(var j = 0; j < domStyle.parts.length; j++) {
|
||
|
domStyle.parts[j](item.parts[j]);
|
||
|
}
|
||
|
|
||
|
for(; j < item.parts.length; j++) {
|
||
|
domStyle.parts.push(addStyle(item.parts[j], options));
|
||
|
}
|
||
|
} else {
|
||
|
var parts = [];
|
||
|
|
||
|
for(var j = 0; j < item.parts.length; j++) {
|
||
|
parts.push(addStyle(item.parts[j], options));
|
||
|
}
|
||
|
|
||
|
stylesInDom[item.id] = {id: item.id, refs: 1, parts: parts};
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
function listToStyles (list, options) {
|
||
|
var styles = [];
|
||
|
var newStyles = {};
|
||
|
|
||
|
for (var i = 0; i < list.length; i++) {
|
||
|
var item = list[i];
|
||
|
var id = options.base ? item[0] + options.base : item[0];
|
||
|
var css = item[1];
|
||
|
var media = item[2];
|
||
|
var sourceMap = item[3];
|
||
|
var part = {css: css, media: media, sourceMap: sourceMap};
|
||
|
|
||
|
if(!newStyles[id]) styles.push(newStyles[id] = {id: id, parts: [part]});
|
||
|
else newStyles[id].parts.push(part);
|
||
|
}
|
||
|
|
||
|
return styles;
|
||
|
}
|
||
|
|
||
|
function insertStyleElement (options, style) {
|
||
|
var target = getElement(options.insertInto)
|
||
|
|
||
|
if (!target) {
|
||
|
throw new Error("Couldn't find a style target. This probably means that the value for the 'insertInto' parameter is invalid.");
|
||
|
}
|
||
|
|
||
|
var lastStyleElementInsertedAtTop = stylesInsertedAtTop[stylesInsertedAtTop.length - 1];
|
||
|
|
||
|
if (options.insertAt === "top") {
|
||
|
if (!lastStyleElementInsertedAtTop) {
|
||
|
target.insertBefore(style, target.firstChild);
|
||
|
} else if (lastStyleElementInsertedAtTop.nextSibling) {
|
||
|
target.insertBefore(style, lastStyleElementInsertedAtTop.nextSibling);
|
||
|
} else {
|
||
|
target.appendChild(style);
|
||
|
}
|
||
|
stylesInsertedAtTop.push(style);
|
||
|
} else if (options.insertAt === "bottom") {
|
||
|
target.appendChild(style);
|
||
|
} else if (typeof options.insertAt === "object" && options.insertAt.before) {
|
||
|
var nextSibling = getElement(options.insertAt.before, target);
|
||
|
target.insertBefore(style, nextSibling);
|
||
|
} else {
|
||
|
throw new Error("[Style Loader]\n\n Invalid value for parameter 'insertAt' ('options.insertAt') found.\n Must be 'top', 'bottom', or Object.\n (https://github.com/webpack-contrib/style-loader#insertat)\n");
|
||
|
}
|
||
|
}
|
||
|
|
||
|
function removeStyleElement (style) {
|
||
|
if (style.parentNode === null) return false;
|
||
|
style.parentNode.removeChild(style);
|
||
|
|
||
|
var idx = stylesInsertedAtTop.indexOf(style);
|
||
|
if(idx >= 0) {
|
||
|
stylesInsertedAtTop.splice(idx, 1);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
function createStyleElement (options) {
|
||
|
var style = document.createElement("style");
|
||
|
|
||
|
if(options.attrs.type === undefined) {
|
||
|
options.attrs.type = "text/css";
|
||
|
}
|
||
|
|
||
|
if(options.attrs.nonce === undefined) {
|
||
|
var nonce = getNonce();
|
||
|
if (nonce) {
|
||
|
options.attrs.nonce = nonce;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
addAttrs(style, options.attrs);
|
||
|
insertStyleElement(options, style);
|
||
|
|
||
|
return style;
|
||
|
}
|
||
|
|
||
|
function createLinkElement (options) {
|
||
|
var link = document.createElement("link");
|
||
|
|
||
|
if(options.attrs.type === undefined) {
|
||
|
options.attrs.type = "text/css";
|
||
|
}
|
||
|
options.attrs.rel = "stylesheet";
|
||
|
|
||
|
addAttrs(link, options.attrs);
|
||
|
insertStyleElement(options, link);
|
||
|
|
||
|
return link;
|
||
|
}
|
||
|
|
||
|
function addAttrs (el, attrs) {
|
||
|
Object.keys(attrs).forEach(function (key) {
|
||
|
el.setAttribute(key, attrs[key]);
|
||
|
});
|
||
|
}
|
||
|
|
||
|
function getNonce() {
|
||
|
if (false) {}
|
||
|
|
||
|
return __webpack_require__.nc;
|
||
|
}
|
||
|
|
||
|
function addStyle (obj, options) {
|
||
|
var style, update, remove, result;
|
||
|
|
||
|
// If a transform function was defined, run it on the css
|
||
|
if (options.transform && obj.css) {
|
||
|
result = typeof options.transform === 'function'
|
||
|
? options.transform(obj.css)
|
||
|
: options.transform.default(obj.css);
|
||
|
|
||
|
if (result) {
|
||
|
// If transform returns a value, use that instead of the original css.
|
||
|
// This allows running runtime transformations on the css.
|
||
|
obj.css = result;
|
||
|
} else {
|
||
|
// If the transform function returns a falsy value, don't add this css.
|
||
|
// This allows conditional loading of css
|
||
|
return function() {
|
||
|
// noop
|
||
|
};
|
||
|
}
|
||
|
}
|
||
|
|
||
|
if (options.singleton) {
|
||
|
var styleIndex = singletonCounter++;
|
||
|
|
||
|
style = singleton || (singleton = createStyleElement(options));
|
||
|
|
||
|
update = applyToSingletonTag.bind(null, style, styleIndex, false);
|
||
|
remove = applyToSingletonTag.bind(null, style, styleIndex, true);
|
||
|
|
||
|
} else if (
|
||
|
obj.sourceMap &&
|
||
|
typeof URL === "function" &&
|
||
|
typeof URL.createObjectURL === "function" &&
|
||
|
typeof URL.revokeObjectURL === "function" &&
|
||
|
typeof Blob === "function" &&
|
||
|
typeof btoa === "function"
|
||
|
) {
|
||
|
style = createLinkElement(options);
|
||
|
update = updateLink.bind(null, style, options);
|
||
|
remove = function () {
|
||
|
removeStyleElement(style);
|
||
|
|
||
|
if(style.href) URL.revokeObjectURL(style.href);
|
||
|
};
|
||
|
} else {
|
||
|
style = createStyleElement(options);
|
||
|
update = applyToTag.bind(null, style);
|
||
|
remove = function () {
|
||
|
removeStyleElement(style);
|
||
|
};
|
||
|
}
|
||
|
|
||
|
update(obj);
|
||
|
|
||
|
return function updateStyle (newObj) {
|
||
|
if (newObj) {
|
||
|
if (
|
||
|
newObj.css === obj.css &&
|
||
|
newObj.media === obj.media &&
|
||
|
newObj.sourceMap === obj.sourceMap
|
||
|
) {
|
||
|
return;
|
||
|
}
|
||
|
|
||
|
update(obj = newObj);
|
||
|
} else {
|
||
|
remove();
|
||
|
}
|
||
|
};
|
||
|
}
|
||
|
|
||
|
var replaceText = (function () {
|
||
|
var textStore = [];
|
||
|
|
||
|
return function (index, replacement) {
|
||
|
textStore[index] = replacement;
|
||
|
|
||
|
return textStore.filter(Boolean).join('\n');
|
||
|
};
|
||
|
})();
|
||
|
|
||
|
function applyToSingletonTag (style, index, remove, obj) {
|
||
|
var css = remove ? "" : obj.css;
|
||
|
|
||
|
if (style.styleSheet) {
|
||
|
style.styleSheet.cssText = replaceText(index, css);
|
||
|
} else {
|
||
|
var cssNode = document.createTextNode(css);
|
||
|
var childNodes = style.childNodes;
|
||
|
|
||
|
if (childNodes[index]) style.removeChild(childNodes[index]);
|
||
|
|
||
|
if (childNodes.length) {
|
||
|
style.insertBefore(cssNode, childNodes[index]);
|
||
|
} else {
|
||
|
style.appendChild(cssNode);
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
function applyToTag (style, obj) {
|
||
|
var css = obj.css;
|
||
|
var media = obj.media;
|
||
|
|
||
|
if(media) {
|
||
|
style.setAttribute("media", media)
|
||
|
}
|
||
|
|
||
|
if(style.styleSheet) {
|
||
|
style.styleSheet.cssText = css;
|
||
|
} else {
|
||
|
while(style.firstChild) {
|
||
|
style.removeChild(style.firstChild);
|
||
|
}
|
||
|
|
||
|
style.appendChild(document.createTextNode(css));
|
||
|
}
|
||
|
}
|
||
|
|
||
|
function updateLink (link, options, obj) {
|
||
|
var css = obj.css;
|
||
|
var sourceMap = obj.sourceMap;
|
||
|
|
||
|
/*
|
||
|
If convertToAbsoluteUrls isn't defined, but sourcemaps are enabled
|
||
|
and there is no publicPath defined then lets turn convertToAbsoluteUrls
|
||
|
on by default. Otherwise default to the convertToAbsoluteUrls option
|
||
|
directly
|
||
|
*/
|
||
|
var autoFixUrls = options.convertToAbsoluteUrls === undefined && sourceMap;
|
||
|
|
||
|
if (options.convertToAbsoluteUrls || autoFixUrls) {
|
||
|
css = fixUrls(css);
|
||
|
}
|
||
|
|
||
|
if (sourceMap) {
|
||
|
// http://stackoverflow.com/a/26603875
|
||
|
css += "\n/*# sourceMappingURL=data:application/json;base64," + btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap)))) + " */";
|
||
|
}
|
||
|
|
||
|
var blob = new Blob([css], { type: "text/css" });
|
||
|
|
||
|
var oldSrc = link.href;
|
||
|
|
||
|
link.href = URL.createObjectURL(blob);
|
||
|
|
||
|
if(oldSrc) URL.revokeObjectURL(oldSrc);
|
||
|
}
|
||
|
|
||
|
|
||
|
/***/ }),
|
||
|
|
||
|
/***/ "./node_modules/style-loader/lib/urls.js":
|
||
|
/*!***********************************************!*\
|
||
|
!*** ./node_modules/style-loader/lib/urls.js ***!
|
||
|
\***********************************************/
|
||
|
/*! no static exports found */
|
||
|
/***/ (function(module, exports) {
|
||
|
|
||
|
|
||
|
/**
|
||
|
* When source maps are enabled, `style-loader` uses a link element with a data-uri to
|
||
|
* embed the css on the page. This breaks all relative urls because now they are relative to a
|
||
|
* bundle instead of the current page.
|
||
|
*
|
||
|
* One solution is to only use full urls, but that may be impossible.
|
||
|
*
|
||
|
* Instead, this function "fixes" the relative urls to be absolute according to the current page location.
|
||
|
*
|
||
|
* A rudimentary test suite is located at `test/fixUrls.js` and can be run via the `npm test` command.
|
||
|
*
|
||
|
*/
|
||
|
|
||
|
module.exports = function (css) {
|
||
|
// get current location
|
||
|
var location = typeof window !== "undefined" && window.location;
|
||
|
|
||
|
if (!location) {
|
||
|
throw new Error("fixUrls requires window.location");
|
||
|
}
|
||
|
|
||
|
// blank or null?
|
||
|
if (!css || typeof css !== "string") {
|
||
|
return css;
|
||
|
}
|
||
|
|
||
|
var baseUrl = location.protocol + "//" + location.host;
|
||
|
var currentDir = baseUrl + location.pathname.replace(/\/[^\/]*$/, "/");
|
||
|
|
||
|
// convert each url(...)
|
||
|
/*
|
||
|
This regular expression is just a way to recursively match brackets within
|
||
|
a string.
|
||
|
|
||
|
/url\s*\( = Match on the word "url" with any whitespace after it and then a parens
|
||
|
( = Start a capturing group
|
||
|
(?: = Start a non-capturing group
|
||
|
[^)(] = Match anything that isn't a parentheses
|
||
|
| = OR
|
||
|
\( = Match a start parentheses
|
||
|
(?: = Start another non-capturing groups
|
||
|
[^)(]+ = Match anything that isn't a parentheses
|
||
|
| = OR
|
||
|
\( = Match a start parentheses
|
||
|
[^)(]* = Match anything that isn't a parentheses
|
||
|
\) = Match a end parentheses
|
||
|
) = End Group
|
||
|
*\) = Match anything and then a close parens
|
||
|
) = Close non-capturing group
|
||
|
* = Match anything
|
||
|
) = Close capturing group
|
||
|
\) = Match a close parens
|
||
|
|
||
|
/gi = Get all matches, not the first. Be case insensitive.
|
||
|
*/
|
||
|
var fixedCss = css.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi, function(fullMatch, origUrl) {
|
||
|
// strip quotes (if they exist)
|
||
|
var unquotedOrigUrl = origUrl
|
||
|
.trim()
|
||
|
.replace(/^"(.*)"$/, function(o, $1){ return $1; })
|
||
|
.replace(/^'(.*)'$/, function(o, $1){ return $1; });
|
||
|
|
||
|
// already a full url? no change
|
||
|
if (/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/|\s*$)/i.test(unquotedOrigUrl)) {
|
||
|
return fullMatch;
|
||
|
}
|
||
|
|
||
|
// convert the url to a full url
|
||
|
var newUrl;
|
||
|
|
||
|
if (unquotedOrigUrl.indexOf("//") === 0) {
|
||
|
//TODO: should we add protocol?
|
||
|
newUrl = unquotedOrigUrl;
|
||
|
} else if (unquotedOrigUrl.indexOf("/") === 0) {
|
||
|
// path should be relative to the base url
|
||
|
newUrl = baseUrl + unquotedOrigUrl; // already starts with '/'
|
||
|
} else {
|
||
|
// path should be relative to current directory
|
||
|
newUrl = currentDir + unquotedOrigUrl.replace(/^\.\//, ""); // Strip leading './'
|
||
|
}
|
||
|
|
||
|
// send back the fixed url(...)
|
||
|
return "url(" + JSON.stringify(newUrl) + ")";
|
||
|
});
|
||
|
|
||
|
// send back the fixed css
|
||
|
return fixedCss;
|
||
|
};
|
||
|
|
||
|
|
||
|
/***/ }),
|
||
|
|
||
|
/***/ "./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./resources/assets/js/components/Direct.vue?vue&type=template&id=96e9d740&scoped=true&":
|
||
|
/*!****************************************************************************************************************************************************************************************************************************!*\
|
||
|
!*** ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./resources/assets/js/components/Direct.vue?vue&type=template&id=96e9d740&scoped=true& ***!
|
||
|
\****************************************************************************************************************************************************************************************************************************/
|
||
|
/*! exports provided: render, staticRenderFns */
|
||
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||
|
|
||
|
"use strict";
|
||
|
__webpack_require__.r(__webpack_exports__);
|
||
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "render", function() { return render; });
|
||
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return staticRenderFns; });
|
||
|
var render = function() {
|
||
|
var _vm = this
|
||
|
var _h = _vm.$createElement
|
||
|
var _c = _vm._self._c || _h
|
||
|
return _c("div", [
|
||
|
_vm._m(0),
|
||
|
_vm._v(" "),
|
||
|
_c("div", { staticClass: "container" }, [
|
||
|
_c(
|
||
|
"div",
|
||
|
{
|
||
|
staticClass: "card rounded-0 border",
|
||
|
staticStyle: {
|
||
|
"min-height": "70vh",
|
||
|
"overflow-y": "hidden",
|
||
|
"box-shadow": "none"
|
||
|
}
|
||
|
},
|
||
|
[
|
||
|
_c(
|
||
|
"div",
|
||
|
{
|
||
|
staticClass:
|
||
|
"card-header d-flex justify-content-between align-items-center"
|
||
|
},
|
||
|
[
|
||
|
_vm._m(1),
|
||
|
_vm._v(" "),
|
||
|
_c(
|
||
|
"p",
|
||
|
{ staticClass: "mb-0 lead text-center font-weight-bold" },
|
||
|
[_vm._v("\n\t\t\t\t2 unread messages\n\t\t\t")]
|
||
|
),
|
||
|
_vm._v(" "),
|
||
|
_c(
|
||
|
"p",
|
||
|
{
|
||
|
staticClass: "mb-0 text-muted ml-5 pl-3",
|
||
|
on: {
|
||
|
click: function($event) {
|
||
|
_vm.thread = !_vm.thread
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
[_c("i", { staticClass: "fas fa-cog" })]
|
||
|
)
|
||
|
]
|
||
|
),
|
||
|
_vm._v(" "),
|
||
|
_c("div", { staticClass: "card-body p-0 m-0" }, [
|
||
|
_c(
|
||
|
"div",
|
||
|
{
|
||
|
staticClass: "row mx-0",
|
||
|
staticStyle: { width: "100%", "min-height": "67vh" }
|
||
|
},
|
||
|
[
|
||
|
_vm._m(2),
|
||
|
_vm._v(" "),
|
||
|
_c("div", { staticClass: "col-12 col-md-8 bg-light px-0" }, [
|
||
|
_c(
|
||
|
"div",
|
||
|
{ staticStyle: { height: "100%", "max-height": "67.5vh" } },
|
||
|
[
|
||
|
!_vm.thread
|
||
|
? _c(
|
||
|
"div",
|
||
|
{
|
||
|
staticClass:
|
||
|
"w-100 h-100 d-flex justify-content-center"
|
||
|
},
|
||
|
[_vm._m(3)]
|
||
|
)
|
||
|
: _c("div", { staticClass: "card w-100 h-100" }, [
|
||
|
_vm._m(4),
|
||
|
_vm._v(" "),
|
||
|
_vm._m(5)
|
||
|
])
|
||
|
]
|
||
|
)
|
||
|
])
|
||
|
]
|
||
|
)
|
||
|
])
|
||
|
]
|
||
|
)
|
||
|
])
|
||
|
])
|
||
|
}
|
||
|
var staticRenderFns = [
|
||
|
function() {
|
||
|
var _vm = this
|
||
|
var _h = _vm.$createElement
|
||
|
var _c = _vm._self._c || _h
|
||
|
return _c("div", { staticClass: "bg-white py-4" }, [
|
||
|
_c("div", { staticClass: "container" }, [
|
||
|
_c(
|
||
|
"div",
|
||
|
{ staticClass: "d-flex justify-content-between align-items-center" },
|
||
|
[
|
||
|
_c("div"),
|
||
|
_vm._v(" "),
|
||
|
_c(
|
||
|
"a",
|
||
|
{
|
||
|
staticClass: "cursor-pointer font-weight-bold text-dark",
|
||
|
attrs: { href: "/account/activity" }
|
||
|
},
|
||
|
[_vm._v("Notifications")]
|
||
|
),
|
||
|
_vm._v(" "),
|
||
|
_c(
|
||
|
"a",
|
||
|
{
|
||
|
staticClass: "cursor-pointer font-weight-bold text-primary",
|
||
|
attrs: { href: "/account/direct" }
|
||
|
},
|
||
|
[_vm._v("Direct Messages")]
|
||
|
),
|
||
|
_vm._v(" "),
|
||
|
_c(
|
||
|
"a",
|
||
|
{
|
||
|
staticClass: "cursor-pointer font-weight-bold text-dark",
|
||
|
attrs: { href: "/account/following" }
|
||
|
},
|
||
|
[_vm._v("Following")]
|
||
|
),
|
||
|
_vm._v(" "),
|
||
|
_c("div")
|
||
|
]
|
||
|
)
|
||
|
])
|
||
|
])
|
||
|
},
|
||
|
function() {
|
||
|
var _vm = this
|
||
|
var _h = _vm.$createElement
|
||
|
var _c = _vm._self._c || _h
|
||
|
return _c("p", { staticClass: "mb-0 small text-center" }, [
|
||
|
_c(
|
||
|
"a",
|
||
|
{
|
||
|
staticClass: "btn btn-outline-primary btn-sm py-0 font-weight-bold",
|
||
|
attrs: { href: "#" }
|
||
|
},
|
||
|
[_vm._v("New Message")]
|
||
|
)
|
||
|
])
|
||
|
},
|
||
|
function() {
|
||
|
var _vm = this
|
||
|
var _h = _vm.$createElement
|
||
|
var _c = _vm._self._c || _h
|
||
|
return _c("div", { staticClass: "col-12 col-md-4 px-0" }, [
|
||
|
_c(
|
||
|
"ul",
|
||
|
{
|
||
|
staticClass: "list-group",
|
||
|
staticStyle: { "max-height": "70vh", "overflow-y": "auto" }
|
||
|
},
|
||
|
[
|
||
|
_c(
|
||
|
"li",
|
||
|
{
|
||
|
staticClass:
|
||
|
"list-group-item rounded-0 border-top-0 border-left-primary text-muted"
|
||
|
},
|
||
|
[
|
||
|
_c("div", { staticClass: "mb-0 font-weight-bold" }, [
|
||
|
_c("div", { staticClass: "d-flex align-items-center py-2" }, [
|
||
|
_c("img", {
|
||
|
staticClass: "rounded-circle shadow-sm mr-3",
|
||
|
attrs: {
|
||
|
src:
|
||
|
"https://files.mastodon.social/accounts/avatars/000/016/041/original/75bd4b6b46fdf82b.jpg",
|
||
|
alt: "avatar",
|
||
|
width: "32px",
|
||
|
height: "32px"
|
||
|
}
|
||
|
}),
|
||
|
_vm._v(" "),
|
||
|
_c("p", { staticClass: "my-0" }, [
|
||
|
_vm._v("dansup@mastodon.social")
|
||
|
])
|
||
|
])
|
||
|
])
|
||
|
]
|
||
|
),
|
||
|
_vm._v(" "),
|
||
|
_c(
|
||
|
"li",
|
||
|
{ staticClass: "list-group-item rounded-0 border-left-primary" },
|
||
|
[
|
||
|
_c("div", { staticClass: "mb-0 font-weight-bold" }, [
|
||
|
_c("div", { staticClass: "d-flex align-items-center py-2" }, [
|
||
|
_c("img", {
|
||
|
staticClass: "rounded-circle shadow-sm mr-3",
|
||
|
attrs: {
|
||
|
src: "/storage/avatars/default.png",
|
||
|
alt: "avatar",
|
||
|
width: "32px",
|
||
|
height: "32px"
|
||
|
}
|
||
|
}),
|
||
|
_vm._v(" "),
|
||
|
_c("p", { staticClass: "my-0" }, [_vm._v("braxtonhomenick")])
|
||
|
])
|
||
|
])
|
||
|
]
|
||
|
),
|
||
|
_vm._v(" "),
|
||
|
_c("li", { staticClass: "list-group-item rounded-0 text-muted" }, [
|
||
|
_c("div", { staticClass: "mb-0 font-weight-bold" }, [
|
||
|
_c("div", { staticClass: "d-flex align-items-center py-2" }, [
|
||
|
_c("img", {
|
||
|
staticClass: "rounded-circle shadow-sm mr-3",
|
||
|
attrs: {
|
||
|
src: "/storage/avatars/default.png",
|
||
|
alt: "avatar",
|
||
|
width: "32px",
|
||
|
height: "32px"
|
||
|
}
|
||
|
}),
|
||
|
_vm._v(" "),
|
||
|
_c("p", { staticClass: "my-0" }, [_vm._v("heathermarks")])
|
||
|
])
|
||
|
])
|
||
|
]),
|
||
|
_vm._v(" "),
|
||
|
_c("li", { staticClass: "list-group-item rounded-0 text-muted" }, [
|
||
|
_c("div", { staticClass: "mb-0 font-weight-bold" }, [
|
||
|
_c("div", { staticClass: "d-flex align-items-center py-2" }, [
|
||
|
_c("img", {
|
||
|
staticClass: "rounded-circle shadow-sm mr-3",
|
||
|
attrs: {
|
||
|
src: "/storage/avatars/default.png",
|
||
|
alt: "avatar",
|
||
|
width: "32px",
|
||
|
height: "32px"
|
||
|
}
|
||
|
}),
|
||
|
_vm._v(" "),
|
||
|
_c("p", { staticClass: "my-0" }, [_vm._v("abode")])
|
||
|
])
|
||
|
])
|
||
|
])
|
||
|
]
|
||
|
)
|
||
|
])
|
||
|
},
|
||
|
function() {
|
||
|
var _vm = this
|
||
|
var _h = _vm.$createElement
|
||
|
var _c = _vm._self._c || _h
|
||
|
return _c("p", { staticClass: "mb-0 font-weight-bold align-self-center" }, [
|
||
|
_vm._v("Select a message or "),
|
||
|
_c("a", { attrs: { href: "#" } }, [_vm._v("compose")]),
|
||
|
_vm._v(" a new one")
|
||
|
])
|
||
|
},
|
||
|
function() {
|
||
|
var _vm = this
|
||
|
var _h = _vm.$createElement
|
||
|
var _c = _vm._self._c || _h
|
||
|
return _c(
|
||
|
"div",
|
||
|
{
|
||
|
staticClass: "card-body im-card mr-0 bg-white",
|
||
|
staticStyle: { "overflow-y": "auto", height: "100%" }
|
||
|
},
|
||
|
[
|
||
|
_c("p", { staticClass: "text-center small text-muted" }, [
|
||
|
_vm._v("\n\t\t\t\t\t\t\t\t\tConversation with "),
|
||
|
_c("span", { staticClass: "font-weight-bold" }, [
|
||
|
_vm._v("braxtonhomenick")
|
||
|
])
|
||
|
]),
|
||
|
_vm._v(" "),
|
||
|
_c("hr"),
|
||
|
_vm._v(" "),
|
||
|
_c("div", { staticClass: "d-flex justify-content-end mb-4" }, [
|
||
|
_c("div", { staticClass: "im-bubble-from ml-5" }, [
|
||
|
_c("p", [
|
||
|
_vm._v(
|
||
|
"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Egestas maecenas pharetra convallis posuere morbi leo urna molestie. Nullam ac tortor vitae purus faucibus ornare suspendisse sed nisi. Netus et malesuada fames ac turpis egestas integer eget."
|
||
|
)
|
||
|
]),
|
||
|
_c("p", [
|
||
|
_vm._v(
|
||
|
" Nisl condimentum id venenatis a. Aenean pharetra magna ac placerat vestibulum lectus mauris ultrices eros. "
|
||
|
)
|
||
|
]),
|
||
|
_c("p", [
|
||
|
_vm._v(
|
||
|
"Rhoncus mattis rhoncus urna neque viverra justo. Velit euismod in pellentesque massa placerat duis ultricies lacus sed. Molestie at elementum eu facilisis sed odio morbi quis."
|
||
|
)
|
||
|
]),
|
||
|
_vm._v(" "),
|
||
|
_c("span", { staticClass: "im-ts-to" }, [_vm._v("9:42 AM, Today")])
|
||
|
]),
|
||
|
_vm._v(" "),
|
||
|
_c("div", { staticClass: "im-avatar" }, [
|
||
|
_c("img", {
|
||
|
staticClass: "rounded-circle im-msg-avatar",
|
||
|
attrs: {
|
||
|
src:
|
||
|
"https://files.mastodon.social/accounts/avatars/000/016/041/original/75bd4b6b46fdf82b.jpg"
|
||
|
}
|
||
|
})
|
||
|
])
|
||
|
]),
|
||
|
_vm._v(" "),
|
||
|
_c("div", { staticClass: "d-flex justify-content-start mb-4" }, [
|
||
|
_c("div", { staticClass: "im-avatar" }, [
|
||
|
_c("img", {
|
||
|
staticClass: "rounded-circle im-msg-avatar",
|
||
|
attrs: { src: "/storage/avatars/default.png" }
|
||
|
})
|
||
|
]),
|
||
|
_vm._v(" "),
|
||
|
_c("div", { staticClass: "im-bubble-to" }, [
|
||
|
_c("span", {}, [_vm._v("k")]),
|
||
|
_vm._v(" "),
|
||
|
_c("span", { staticClass: "d-block im-ts" }, [_vm._v("2m")])
|
||
|
])
|
||
|
])
|
||
|
]
|
||
|
)
|
||
|
},
|
||
|
function() {
|
||
|
var _vm = this
|
||
|
var _h = _vm.$createElement
|
||
|
var _c = _vm._self._c || _h
|
||
|
return _c("div", { staticClass: "card-footer bg-pixelfed" }, [
|
||
|
_c("div", { staticClass: "input-group" }, [
|
||
|
_c("div", { staticClass: "input-group-append" }, [
|
||
|
_c("span", { staticClass: "input-group-text im-picker" }, [
|
||
|
_c("i", { staticClass: "fas fa-smile" })
|
||
|
])
|
||
|
]),
|
||
|
_vm._v(" "),
|
||
|
_c("textarea", {
|
||
|
staticClass: "form-control im-input text-light",
|
||
|
attrs: { name: "", placeholder: "Type your message..." }
|
||
|
}),
|
||
|
_vm._v(" "),
|
||
|
_c("div", { staticClass: "input-group-append" }, [
|
||
|
_c("span", { staticClass: "input-group-text im-send" }, [
|
||
|
_c("i", { staticClass: "fas fa-location-arrow" })
|
||
|
])
|
||
|
])
|
||
|
])
|
||
|
])
|
||
|
}
|
||
|
]
|
||
|
render._withStripped = true
|
||
|
|
||
|
|
||
|
|
||
|
/***/ }),
|
||
|
|
||
|
/***/ "./node_modules/vue-loader/lib/runtime/componentNormalizer.js":
|
||
|
/*!********************************************************************!*\
|
||
|
!*** ./node_modules/vue-loader/lib/runtime/componentNormalizer.js ***!
|
||
|
\********************************************************************/
|
||
|
/*! exports provided: default */
|
||
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||
|
|
||
|
"use strict";
|
||
|
__webpack_require__.r(__webpack_exports__);
|
||
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return normalizeComponent; });
|
||
|
/* globals __VUE_SSR_CONTEXT__ */
|
||
|
|
||
|
// IMPORTANT: Do NOT use ES2015 features in this file (except for modules).
|
||
|
// This module is a runtime utility for cleaner component module output and will
|
||
|
// be included in the final webpack user bundle.
|
||
|
|
||
|
function normalizeComponent (
|
||
|
scriptExports,
|
||
|
render,
|
||
|
staticRenderFns,
|
||
|
functionalTemplate,
|
||
|
injectStyles,
|
||
|
scopeId,
|
||
|
moduleIdentifier, /* server only */
|
||
|
shadowMode /* vue-cli only */
|
||
|
) {
|
||
|
// Vue.extend constructor export interop
|
||
|
var options = typeof scriptExports === 'function'
|
||
|
? scriptExports.options
|
||
|
: scriptExports
|
||
|
|
||
|
// render functions
|
||
|
if (render) {
|
||
|
options.render = render
|
||
|
options.staticRenderFns = staticRenderFns
|
||
|
options._compiled = true
|
||
|
}
|
||
|
|
||
|
// functional template
|
||
|
if (functionalTemplate) {
|
||
|
options.functional = true
|
||
|
}
|
||
|
|
||
|
// scopedId
|
||
|
if (scopeId) {
|
||
|
options._scopeId = 'data-v-' + scopeId
|
||
|
}
|
||
|
|
||
|
var hook
|
||
|
if (moduleIdentifier) { // server build
|
||
|
hook = function (context) {
|
||
|
// 2.3 injection
|
||
|
context =
|
||
|
context || // cached call
|
||
|
(this.$vnode && this.$vnode.ssrContext) || // stateful
|
||
|
(this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional
|
||
|
// 2.2 with runInNewContext: true
|
||
|
if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {
|
||
|
context = __VUE_SSR_CONTEXT__
|
||
|
}
|
||
|
// inject component styles
|
||
|
if (injectStyles) {
|
||
|
injectStyles.call(this, context)
|
||
|
}
|
||
|
// register component module identifier for async chunk inferrence
|
||
|
if (context && context._registeredComponents) {
|
||
|
context._registeredComponents.add(moduleIdentifier)
|
||
|
}
|
||
|
}
|
||
|
// used by ssr in case component is cached and beforeCreate
|
||
|
// never gets called
|
||
|
options._ssrRegister = hook
|
||
|
} else if (injectStyles) {
|
||
|
hook = shadowMode
|
||
|
? function () { injectStyles.call(this, this.$root.$options.shadowRoot) }
|
||
|
: injectStyles
|
||
|
}
|
||
|
|
||
|
if (hook) {
|
||
|
if (options.functional) {
|
||
|
// for template-only hot-reload because in that case the render fn doesn't
|
||
|
// go through the normalizer
|
||
|
options._injectStyles = hook
|
||
|
// register for functioal component in vue file
|
||
|
var originalRender = options.render
|
||
|
options.render = function renderWithStyleInjection (h, context) {
|
||
|
hook.call(context)
|
||
|
return originalRender(h, context)
|
||
|
}
|
||
|
} else {
|
||
|
// inject component registration as beforeCreate hook
|
||
|
var existing = options.beforeCreate
|
||
|
options.beforeCreate = existing
|
||
|
? [].concat(existing, hook)
|
||
|
: [hook]
|
||
|
}
|
||
|
}
|
||
|
|
||
|
return {
|
||
|
exports: scriptExports,
|
||
|
options: options
|
||
|
}
|
||
|
}
|
||
|
|
||
|
|
||
|
/***/ }),
|
||
|
|
||
|
/***/ "./resources/assets/js/components/Direct.vue":
|
||
|
/*!***************************************************!*\
|
||
|
!*** ./resources/assets/js/components/Direct.vue ***!
|
||
|
\***************************************************/
|
||
|
/*! exports provided: default */
|
||
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||
|
|
||
|
"use strict";
|
||
|
__webpack_require__.r(__webpack_exports__);
|
||
|
/* harmony import */ var _Direct_vue_vue_type_template_id_96e9d740_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Direct.vue?vue&type=template&id=96e9d740&scoped=true& */ "./resources/assets/js/components/Direct.vue?vue&type=template&id=96e9d740&scoped=true&");
|
||
|
/* harmony import */ var _Direct_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Direct.vue?vue&type=script&lang=js& */ "./resources/assets/js/components/Direct.vue?vue&type=script&lang=js&");
|
||
|
/* empty/unused harmony star reexport *//* harmony import */ var _Direct_vue_vue_type_style_index_0_id_96e9d740_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./Direct.vue?vue&type=style&index=0&id=96e9d740&scoped=true&lang=css& */ "./resources/assets/js/components/Direct.vue?vue&type=style&index=0&id=96e9d740&scoped=true&lang=css&");
|
||
|
/* harmony import */ var _node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js */ "./node_modules/vue-loader/lib/runtime/componentNormalizer.js");
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
/* normalize component */
|
||
|
|
||
|
var component = Object(_node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__["default"])(
|
||
|
_Direct_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"],
|
||
|
_Direct_vue_vue_type_template_id_96e9d740_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"],
|
||
|
_Direct_vue_vue_type_template_id_96e9d740_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"],
|
||
|
false,
|
||
|
null,
|
||
|
"96e9d740",
|
||
|
null
|
||
|
|
||
|
)
|
||
|
|
||
|
/* hot reload */
|
||
|
if (false) { var api; }
|
||
|
component.options.__file = "resources/assets/js/components/Direct.vue"
|
||
|
/* harmony default export */ __webpack_exports__["default"] = (component.exports);
|
||
|
|
||
|
/***/ }),
|
||
|
|
||
|
/***/ "./resources/assets/js/components/Direct.vue?vue&type=script&lang=js&":
|
||
|
/*!****************************************************************************!*\
|
||
|
!*** ./resources/assets/js/components/Direct.vue?vue&type=script&lang=js& ***!
|
||
|
\****************************************************************************/
|
||
|
/*! exports provided: default */
|
||
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||
|
|
||
|
"use strict";
|
||
|
__webpack_require__.r(__webpack_exports__);
|
||
|
/* harmony import */ var _node_modules_babel_loader_lib_index_js_ref_4_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Direct_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../node_modules/babel-loader/lib??ref--4-0!../../../../node_modules/vue-loader/lib??vue-loader-options!./Direct.vue?vue&type=script&lang=js& */ "./node_modules/babel-loader/lib/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/assets/js/components/Direct.vue?vue&type=script&lang=js&");
|
||
|
/* empty/unused harmony star reexport */ /* harmony default export */ __webpack_exports__["default"] = (_node_modules_babel_loader_lib_index_js_ref_4_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Direct_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__["default"]);
|
||
|
|
||
|
/***/ }),
|
||
|
|
||
|
/***/ "./resources/assets/js/components/Direct.vue?vue&type=style&index=0&id=96e9d740&scoped=true&lang=css&":
|
||
|
/*!************************************************************************************************************!*\
|
||
|
!*** ./resources/assets/js/components/Direct.vue?vue&type=style&index=0&id=96e9d740&scoped=true&lang=css& ***!
|
||
|
\************************************************************************************************************/
|
||
|
/*! no static exports found */
|
||
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||
|
|
||
|
"use strict";
|
||
|
__webpack_require__.r(__webpack_exports__);
|
||
|
/* harmony import */ var _node_modules_style_loader_index_js_node_modules_css_loader_index_js_ref_8_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_2_node_modules_vue_loader_lib_index_js_vue_loader_options_Direct_vue_vue_type_style_index_0_id_96e9d740_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../node_modules/style-loader!../../../../node_modules/css-loader??ref--8-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src??ref--8-2!../../../../node_modules/vue-loader/lib??vue-loader-options!./Direct.vue?vue&type=style&index=0&id=96e9d740&scoped=true&lang=css& */ "./node_modules/style-loader/index.js!./node_modules/css-loader/index.js?!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/assets/js/components/Direct.vue?vue&type=style&index=0&id=96e9d740&scoped=true&lang=css&");
|
||
|
/* harmony import */ var _node_modules_style_loader_index_js_node_modules_css_loader_index_js_ref_8_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_2_node_modules_vue_loader_lib_index_js_vue_loader_options_Direct_vue_vue_type_style_index_0_id_96e9d740_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_style_loader_index_js_node_modules_css_loader_index_js_ref_8_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_2_node_modules_vue_loader_lib_index_js_vue_loader_options_Direct_vue_vue_type_style_index_0_id_96e9d740_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__);
|
||
|
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _node_modules_style_loader_index_js_node_modules_css_loader_index_js_ref_8_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_2_node_modules_vue_loader_lib_index_js_vue_loader_options_Direct_vue_vue_type_style_index_0_id_96e9d740_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _node_modules_style_loader_index_js_node_modules_css_loader_index_js_ref_8_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_2_node_modules_vue_loader_lib_index_js_vue_loader_options_Direct_vue_vue_type_style_index_0_id_96e9d740_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));
|
||
|
/* harmony default export */ __webpack_exports__["default"] = (_node_modules_style_loader_index_js_node_modules_css_loader_index_js_ref_8_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_2_node_modules_vue_loader_lib_index_js_vue_loader_options_Direct_vue_vue_type_style_index_0_id_96e9d740_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default.a);
|
||
|
|
||
|
/***/ }),
|
||
|
|
||
|
/***/ "./resources/assets/js/components/Direct.vue?vue&type=template&id=96e9d740&scoped=true&":
|
||
|
/*!**********************************************************************************************!*\
|
||
|
!*** ./resources/assets/js/components/Direct.vue?vue&type=template&id=96e9d740&scoped=true& ***!
|
||
|
\**********************************************************************************************/
|
||
|
/*! exports provided: render, staticRenderFns */
|
||
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||
|
|
||
|
"use strict";
|
||
|
__webpack_require__.r(__webpack_exports__);
|
||
|
/* harmony import */ var _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_Direct_vue_vue_type_template_id_96e9d740_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../node_modules/vue-loader/lib??vue-loader-options!./Direct.vue?vue&type=template&id=96e9d740&scoped=true& */ "./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./resources/assets/js/components/Direct.vue?vue&type=template&id=96e9d740&scoped=true&");
|
||
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_Direct_vue_vue_type_template_id_96e9d740_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"]; });
|
||
|
|
||
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_Direct_vue_vue_type_template_id_96e9d740_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; });
|
||
|
|
||
|
|
||
|
|
||
|
/***/ }),
|
||
|
|
||
|
/***/ "./resources/assets/js/direct.js":
|
||
|
/*!***************************************!*\
|
||
|
!*** ./resources/assets/js/direct.js ***!
|
||
|
\***************************************/
|
||
|
/*! no static exports found */
|
||
|
/***/ (function(module, exports, __webpack_require__) {
|
||
|
|
||
|
Vue.component('direct-component', __webpack_require__(/*! ./components/Direct.vue */ "./resources/assets/js/components/Direct.vue")["default"]);
|
||
|
|
||
|
/***/ }),
|
||
|
|
||
|
/***/ 10:
|
||
|
/*!*********************************************!*\
|
||
|
!*** multi ./resources/assets/js/direct.js ***!
|
||
|
\*********************************************/
|
||
|
/*! no static exports found */
|
||
|
/***/ (function(module, exports, __webpack_require__) {
|
||
|
|
||
|
module.exports = __webpack_require__(/*! /Users/dansup/Github/pixelfed/resources/assets/js/direct.js */"./resources/assets/js/direct.js");
|
||
|
|
||
|
|
||
|
/***/ })
|
||
|
|
||
|
/******/ });
|