Full Code of themexpert/onepager for AI

develop f82fc1512b91 cached
426 files
2.9 MB
768.6k tokens
964 symbols
1 requests
Download .txt
Showing preview only (3,071K chars total). Download the full file or copy to clipboard to get everything.
Repository: themexpert/onepager
Branch: develop
Commit: f82fc1512b91
Files: 426
Total size: 2.9 MB

Directory structure:
gitextract_kqenrl0y/

├── .distignore
├── .editorconfig
├── .github/
│   └── workflows/
│       └── wp.yml
├── .gitignore
├── .jshintrc
├── .travis.yml
├── CHANGELOG.md
├── LICENSE.txt
├── app/
│   ├── Admin/
│   │   ├── menu.php
│   │   ├── notice.php
│   │   ├── override.php
│   │   └── views/
│   │       ├── blocks.php
│   │       ├── dashboard.php
│   │       ├── delete-handler.php
│   │       ├── getting-started.php
│   │       ├── handler.php
│   │       ├── settings.php
│   │       ├── template-lists.php
│   │       ├── templates/
│   │       │   ├── template-edit.php
│   │       │   ├── template-list.php
│   │       │   ├── template-new.php
│   │       │   └── template-view.php
│   │       └── templates.php
│   ├── Api/
│   │   ├── Controllers/
│   │   │   ├── ApiController.php
│   │   │   ├── BlocksApiController.php
│   │   │   ├── MenuApiController.php
│   │   │   ├── OptionsApiController.php
│   │   │   ├── PageApiController.php
│   │   │   └── SectionsApiController.php
│   │   └── routes.php
│   ├── Application.php
│   ├── Assets/
│   │   ├── BlocksScripts.php
│   │   ├── BuildModeScripts.php
│   │   ├── OnepageScripts.php
│   │   ├── OptionsPanelScripts.php
│   │   ├── PreviewScripts.php
│   │   ├── Traits/
│   │   │   └── FormEngineScripts.php
│   │   └── WpConflictResolver.php
│   ├── Content/
│   │   ├── OnepageContent.php
│   │   ├── OnepageInternalScripts.php
│   │   └── OnepageToolbar.php
│   ├── Loaders/
│   │   ├── BlocksLoader.php
│   │   ├── PresetsLoader.php
│   │   └── TemplateLoader.php
│   ├── Metabox/
│   │   ├── metabox.php
│   │   └── page-meta.php
│   ├── Onepager.php
│   ├── OptionsPanel/
│   │   └── settings.php
│   ├── bootstrap.php
│   ├── data/
│   │   └── font-families.php
│   ├── inc/
│   │   ├── onepager-settings.php
│   │   └── support.php
│   └── templates/
│       ├── builder.php
│       ├── my-test.php
│       ├── onepage.php
│       └── onepager-default.php
├── blocks/
│   ├── blogs/
│   │   ├── blog-1/
│   │   │   ├── config.php
│   │   │   ├── style.css
│   │   │   ├── style.php
│   │   │   └── view.php
│   │   ├── blog-2/
│   │   │   ├── config.php
│   │   │   ├── style.css
│   │   │   ├── style.php
│   │   │   └── view.php
│   │   ├── blog-3/
│   │   │   ├── config.php
│   │   │   ├── style.css
│   │   │   ├── style.php
│   │   │   └── view.php
│   │   ├── blog-4/
│   │   │   ├── config.php
│   │   │   ├── style.css
│   │   │   ├── style.php
│   │   │   └── view.php
│   │   ├── blog-5/
│   │   │   └── blog-5/
│   │   │       ├── config.php
│   │   │       ├── style.php
│   │   │       └── view.php
│   │   └── blog-6/
│   │       ├── config.php
│   │       ├── style.php
│   │       └── view.php
│   ├── coming-soon/
│   │   ├── coming-soon-1/
│   │   │   ├── config.php
│   │   │   ├── style.php
│   │   │   └── view.php
│   │   └── coming-soon-2/
│   │       ├── config.php
│   │       ├── style.php
│   │       └── view.php
│   ├── contacts/
│   │   ├── contact-1/
│   │   │   ├── config.php
│   │   │   ├── style.css
│   │   │   ├── style.php
│   │   │   └── view.php
│   │   ├── contact-2/
│   │   │   ├── config.php
│   │   │   ├── style.php
│   │   │   └── view.php
│   │   ├── contact-3/
│   │   │   ├── config.php
│   │   │   ├── style.php
│   │   │   └── view.php
│   │   └── contact-4/
│   │       ├── config.php
│   │       ├── style.php
│   │       └── view.php
│   ├── cta/
│   │   ├── cta-1/
│   │   │   ├── config.php
│   │   │   ├── style.php
│   │   │   └── view.php
│   │   ├── cta-2/
│   │   │   ├── config.php
│   │   │   ├── style.php
│   │   │   └── view.php
│   │   ├── cta-3/
│   │   │   ├── config.php
│   │   │   ├── style.php
│   │   │   └── view.php
│   │   └── cta-4/
│   │       ├── config.php
│   │       ├── style.php
│   │       └── view.php
│   ├── features/
│   │   ├── feature-1/
│   │   │   ├── config.php
│   │   │   ├── style.php
│   │   │   └── view.php
│   │   ├── feature-10/
│   │   │   ├── config.php
│   │   │   ├── style.php
│   │   │   └── view.php
│   │   ├── feature-11/
│   │   │   ├── config.php
│   │   │   ├── style.php
│   │   │   └── view.php
│   │   ├── feature-12/
│   │   │   ├── config.php
│   │   │   ├── style.php
│   │   │   └── view.php
│   │   ├── feature-13/
│   │   │   ├── config.php
│   │   │   ├── style.php
│   │   │   └── view.php
│   │   ├── feature-14/
│   │   │   ├── config.php
│   │   │   ├── style.php
│   │   │   └── view.php
│   │   ├── feature-15/
│   │   │   ├── config.php
│   │   │   ├── style.php
│   │   │   └── view.php
│   │   ├── feature-16/
│   │   │   ├── config.php
│   │   │   ├── style.php
│   │   │   └── view.php
│   │   ├── feature-17/
│   │   │   ├── config.php
│   │   │   ├── style.php
│   │   │   └── view.php
│   │   ├── feature-18/
│   │   │   ├── config.php
│   │   │   ├── style.php
│   │   │   └── view.php
│   │   ├── feature-19/
│   │   │   ├── config.php
│   │   │   ├── style.php
│   │   │   └── view.php
│   │   ├── feature-2/
│   │   │   ├── config.php
│   │   │   ├── style.php
│   │   │   └── view.php
│   │   ├── feature-20/
│   │   │   ├── config.php
│   │   │   ├── style.php
│   │   │   └── view.php
│   │   ├── feature-21/
│   │   │   ├── config.php
│   │   │   ├── style.php
│   │   │   └── view.php
│   │   ├── feature-22/
│   │   │   ├── config.php
│   │   │   ├── style.php
│   │   │   └── view.php
│   │   ├── feature-23/
│   │   │   ├── config.php
│   │   │   ├── style.php
│   │   │   └── view.php
│   │   ├── feature-24/
│   │   │   ├── config.php
│   │   │   ├── style.php
│   │   │   └── view.php
│   │   ├── feature-25/
│   │   │   ├── config.php
│   │   │   ├── style.php
│   │   │   └── view.php
│   │   ├── feature-3/
│   │   │   ├── config.php
│   │   │   ├── style.php
│   │   │   └── view.php
│   │   ├── feature-4/
│   │   │   ├── config.php
│   │   │   ├── style.php
│   │   │   └── view.php
│   │   ├── feature-5/
│   │   │   ├── config.php
│   │   │   ├── style.php
│   │   │   └── view.php
│   │   ├── feature-6/
│   │   │   ├── config.php
│   │   │   ├── style.php
│   │   │   └── view.php
│   │   ├── feature-7/
│   │   │   ├── config.php
│   │   │   ├── style.php
│   │   │   └── view.php
│   │   ├── feature-8/
│   │   │   ├── config.php
│   │   │   ├── style.php
│   │   │   └── view.php
│   │   └── feature-9/
│   │       ├── config.php
│   │       ├── style.php
│   │       └── view.php
│   ├── footers/
│   │   ├── footer-1/
│   │   │   ├── config.php
│   │   │   ├── style.css
│   │   │   ├── style.php
│   │   │   └── view.php
│   │   ├── footer-2/
│   │   │   └── footer-2/
│   │   │       └── footer-2/
│   │   │           ├── config.php
│   │   │           ├── style.php
│   │   │           └── view.php
│   │   ├── footer-3/
│   │   │   ├── config.php
│   │   │   ├── style.php
│   │   │   └── view.php
│   │   └── footer-4/
│   │       ├── config.php
│   │       ├── style.php
│   │       └── view.php
│   ├── maps/
│   │   └── map-1/
│   │       ├── config.php
│   │       ├── style.php
│   │       └── view.php
│   ├── navbars/
│   │   ├── navbar-1/
│   │   │   ├── config.php
│   │   │   ├── style.php
│   │   │   └── view.php
│   │   ├── navbar-2/
│   │   │   └── navbar-2/
│   │   │       ├── config.php
│   │   │       ├── style.php
│   │   │       └── view.php
│   │   └── navbar-3/
│   │       ├── config.php
│   │       ├── style.php
│   │       └── view.php
│   ├── portfolios/
│   │   └── portfolio-1/
│   │       ├── config.php
│   │       ├── style.css
│   │       ├── style.php
│   │       └── view.php
│   ├── pricing/
│   │   └── pricing-1/
│   │       ├── config.php
│   │       ├── style.css
│   │       ├── style.php
│   │       └── view.php
│   ├── sliders/
│   │   ├── slider-1/
│   │   │   ├── config.php
│   │   │   ├── style.css
│   │   │   ├── style.php
│   │   │   └── view.php
│   │   ├── slider-2/
│   │   │   ├── config.php
│   │   │   ├── style.css
│   │   │   ├── style.php
│   │   │   └── view.php
│   │   ├── slider-3/
│   │   │   ├── config.php
│   │   │   ├── style.php
│   │   │   └── view.php
│   │   ├── slider-4/
│   │   │   ├── config.php
│   │   │   ├── style.php
│   │   │   └── view.php
│   │   └── slider-5/
│   │       ├── config.php
│   │       ├── style.php
│   │       └── view.php
│   ├── teams/
│   │   └── team-1/
│   │       ├── config.php
│   │       ├── style.css
│   │       ├── style.php
│   │       └── view.php
│   ├── testimonials/
│   │   └── testimonial-1/
│   │       ├── config.php
│   │       ├── style.css
│   │       ├── style.php
│   │       └── view.php
│   └── woocommerce/
│       └── woo-1/
│           ├── config.php
│           ├── style.php
│           └── view.php
├── bower.json
├── bowerrc.json
├── composer.json
├── constants.php
├── engine/
│   ├── App/
│   │   ├── App.jsx
│   │   ├── AppStore.js
│   │   ├── AppSyncService.js
│   │   ├── Preview.jsx
│   │   ├── components/
│   │   │   ├── blocks/
│   │   │   │   ├── Block.jsx
│   │   │   │   └── BlockCollection.jsx
│   │   │   ├── presets/
│   │   │   │   ├── Preset.jsx
│   │   │   │   └── PresetCollections.jsx
│   │   │   ├── section-list/
│   │   │   │   ├── Footer.jsx
│   │   │   │   ├── Section.jsx
│   │   │   │   ├── SectionList.jsx
│   │   │   │   ├── SectionTitle.jsx
│   │   │   │   └── style.less
│   │   │   ├── section-view/
│   │   │   │   ├── SectionView.jsx
│   │   │   │   └── SectionViewCollection.jsx
│   │   │   ├── sidebar/
│   │   │   │   ├── Menu.jsx
│   │   │   │   ├── SectionControls.jsx
│   │   │   │   ├── Settings.jsx
│   │   │   │   ├── Sidebar.jsx
│   │   │   │   ├── Tab.jsx
│   │   │   │   ├── assets/
│   │   │   │   │   └── overlay.less
│   │   │   │   └── menu/
│   │   │   │       ├── AddToMenu.jsx
│   │   │   │       └── style.less
│   │   │   └── templates/
│   │   │       ├── ImportTemplate.jsx
│   │   │       ├── SaveTemplate.jsx
│   │   │       ├── SavedTemplates.jsx
│   │   │       └── Template.jsx
│   │   └── flux/
│   │       ├── AppActions.js
│   │       ├── AppConstants.js
│   │       ├── AppDispatcher.js
│   │       └── BaseStore.js
│   ├── Generator/
│   │   ├── Generator.jsx
│   │   ├── GeneratorActions.js
│   │   └── GeneratorStore.js
│   ├── Optionspanel/
│   │   ├── Content.jsx
│   │   ├── OptionActions.js
│   │   ├── OptionStore.js
│   │   ├── OptionsPanel.jsx
│   │   ├── OptionsPanelSync.js
│   │   └── Tabs.jsx
│   ├── generator.jsx
│   ├── lithium/
│   │   ├── builder/
│   │   │   ├── admin.less
│   │   │   ├── bootstrap-override.less
│   │   │   ├── bowerfix.less
│   │   │   ├── modal.less
│   │   │   ├── ui.less
│   │   │   └── variables.less
│   │   ├── lithium-builder.less
│   │   ├── lithium.js
│   │   ├── lithium.less
│   │   └── site/
│   │       ├── blocks.less
│   │       ├── flex.less
│   │       └── overlay.less
│   ├── meta.js
│   ├── onepager-builder.jsx
│   ├── onepager-preview.jsx
│   ├── optionspanel.jsx
│   └── shared/
│       ├── components/
│       │   ├── PopupModal.jsx
│       │   ├── Tab.jsx
│       │   ├── TabPane.jsx
│       │   ├── form/
│       │   │   ├── Divider.jsx
│       │   │   ├── Input.jsx
│       │   │   ├── Link.jsx
│       │   │   ├── Note.jsx
│       │   │   ├── RepeatInput.jsx
│       │   │   ├── Select.jsx
│       │   │   ├── Switch.jsx
│       │   │   ├── WpSelect.jsx
│       │   │   ├── color/
│       │   │   │   ├── ColorPalette.bk.jsx
│       │   │   │   ├── ColorPalette.jsx
│       │   │   │   ├── ColorPicker.jsx
│       │   │   │   ├── oppositeColor.js
│       │   │   │   └── palette/
│       │   │   │       ├── Color.jsx
│       │   │   │       ├── Picker.jsx
│       │   │   │       ├── Preset.jsx
│       │   │   │       ├── Presets.jsx
│       │   │   │       └── palette.less
│       │   │   ├── date/
│       │   │   │   └── index.jsx
│       │   │   ├── editor/
│       │   │   │   ├── TinyMCE.jsx
│       │   │   │   └── style.less
│       │   │   ├── font/
│       │   │   │   ├── font-family.js
│       │   │   │   └── index.jsx
│       │   │   ├── input.less
│       │   │   ├── media/
│       │   │   │   ├── IconSelector.jsx
│       │   │   │   ├── Media.jsx
│       │   │   │   └── WpMediaFrame.jsx
│       │   │   └── time/
│       │   │       └── index.jsx
│       │   └── repeater/
│       │       ├── RepeatGroup.jsx
│       │       ├── RepeatGroupHeading.jsx
│       │       ├── Repeater.jsx
│       │       └── style.less
│       ├── lib/
│       │   ├── Activity.js
│       │   ├── ShouldSync.js
│       │   ├── localState.js
│       │   ├── storage.js
│       │   ├── toolbelt.js
│       │   └── transformer/
│       │       ├── controls/
│       │       │   ├── addRefToControls.js
│       │       │   ├── prepareRepeaterControl.js
│       │       │   ├── prepareSimpleControl.js
│       │       │   ├── serialize-controls.js
│       │       │   └── unserialize-controls.js
│       │       └── html/
│       │           └── stripClassesFromHTML.js
│       ├── mixins/
│       │   ├── ContainedSelectorMixin.js
│       │   └── PureMixin.js
│       ├── onepager/
│       │   ├── ODataStore.js
│       │   ├── lib/
│       │   │   ├── _mixins.js
│       │   │   └── replaceSectionStyleInDOM.js
│       │   ├── localState.js
│       │   ├── sectionTransformer.js
│       │   └── transformer/
│       │       ├── block2section.js
│       │       ├── controls.js
│       │       ├── sectionRefer.js
│       │       ├── sectionSerializer.js
│       │       └── sectionUnserializer.js
│       └── plugins/
│           ├── alert.js
│           ├── notify.js
│           └── scrollview.js
├── gulpfile.js
├── languages/
│   └── tx-onepager.pot
├── package.json
├── phpcs.xml
├── presets/
│   ├── book.json
│   ├── corporate-1.json
│   ├── education.json
│   ├── law.json
│   ├── mobile-app.json
│   ├── personal-photography-1.json
│   └── software-company.json
├── readme.txt
├── src/
│   ├── Asset/
│   │   ├── AssetsCompiler.php
│   │   └── CssRewriteFilter.php
│   ├── FileSystem/
│   │   └── FileSystem.php
│   ├── Onepager/
│   │   ├── Adapters/
│   │   │   ├── AdapterInterface.php
│   │   │   ├── BaseAdapter.php
│   │   │   └── WordPress.php
│   │   ├── Block/
│   │   │   ├── BlockManager.php
│   │   │   ├── Collection.php
│   │   │   ├── PresetManager.php
│   │   │   └── Transformers/
│   │   │       ├── ConfigTransformer.php
│   │   │       ├── FieldsTransformer.php
│   │   │       ├── SerializedControlsConfigTransformer.php
│   │   │       └── SerializedControlsOptionsTransformer.php
│   │   ├── Onepager.php
│   │   ├── OnepagerInterface.php
│   │   ├── Render/
│   │   │   └── Render.php
│   │   └── Templates/
│   │       └── SavedTemplates.php
│   ├── Providers/
│   │   ├── Contracts/
│   │   │   ├── ApiInterface.php
│   │   │   ├── AssetInterface.php
│   │   │   ├── ContentInterface.php
│   │   │   ├── NavigationMenuInterface.php
│   │   │   ├── Opi18nInterface.php
│   │   │   ├── OptionsPanelInterface.php
│   │   │   ├── SectionInterface.php
│   │   │   ├── SecurityfInterface.php
│   │   │   ├── TemplatesInterface.php
│   │   │   └── ToolbarInterface.php
│   │   └── WordPress/
│   │       ├── Api.php
│   │       ├── Asset.php
│   │       ├── Content.php
│   │       ├── NavigationMenu.php
│   │       ├── Opi18n.php
│   │       ├── OptionsPanel.php
│   │       ├── Section.php
│   │       ├── Security.php
│   │       ├── TemplateManager.php
│   │       └── Toolbar.php
│   ├── View/
│   │   ├── Engines/
│   │   │   ├── EngineInterface.php
│   │   │   └── PhpEngine.php
│   │   └── View.php
│   ├── WordPress/
│   │   ├── PageTemplater.php
│   │   └── wp_bootstrap_navwalker.php
│   ├── functions.php
│   └── theme_helpers.php
├── theme.php
├── tx-onepager.php
├── uninstall.php
└── webpack.config.js

================================================
FILE CONTENTS
================================================

================================================
FILE: .distignore
================================================
/.wordpress-org
/.git
/.github
/node_modules
/bower_components
/temp

.distignore
.gitignore
.editorconfig
.travis.yml
.jshintrc
bower.json
bowerrc.json
composer.json
composer.lock
gulpfile.js
package.json
phpcs.xml
webpack.config.js
yarn.lock

================================================
FILE: .editorconfig
================================================
# http://editorconfig.org
root = true

[*]
indent_style = space
indent_size = 4
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

[*.md]
trim_trailing_whitespace = false


================================================
FILE: .github/workflows/wp.yml
================================================
name: Deploy to WordPress.org
on:
  push:
    tags:
    - "*"
jobs:
  tag:
    name: New tag
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@master
    - name: Build
      run: |
        yarn install
        composer install
        yarn add bower --dev
        npm run bower
        npm run release
    - name: WordPress Plugin Deploy
      uses: 10up/action-wordpress-plugin-deploy@master
      env:
        SVN_PASSWORD: ${{ secrets.SVN_PASSWORD }}
        SVN_USERNAME: ${{ secrets.SVN_USERNAME }}
        SLUG: tx-onepager


================================================
FILE: .gitignore
================================================
# OS Generated
.DS_Store*
ehthumbs.db
Thumbs.db

# IDE
.idea
.phpintel
*.sublime*

#arbitary
.scratch

# blocks
blocks/blocks.cache
blocks/test

# package
*.zip
*.bowerrc

# Node + Composer
/assets
/dist
/vendor
/node_modules
/bower_components
/temp
npm-debug.log
.bowerrc

# NPM/YARN lock file
*.lock
*-lock.json


================================================
FILE: .jshintrc
================================================
{
  "node": true,
  "scripturl": true,
  "esnext": true,
  "bitwise": true,
  "camelcase": true,
  "curly": true,
  "eqeqeq": true,
  "immed": true,
  "indent": 2,
  "latedef": true,
  "newcap": true,
  "noarg": true,
  "regexp": true,
  "undef": true,
  "unused": true,
  "strict": false,
  "trailing": true,
  "smarttabs": true,
  "white": true,
  "predef": [
    "window",
    "document",
    "jQuery",
    "alert",
    "onepager"
  ]
}


================================================
FILE: .travis.yml
================================================
# Travis CI (MIT License) configuration file
# @link https://travis-ci.org/

# Use new container based environment
sudo: false

# Declare project language.
# @link http://about.travis-ci.org/docs/user/languages/php/
language: php

# Declare versions of PHP to use. Use one decimal max.
# @link http://docs.travis-ci.com/user/build-configuration/
matrix:
    fast_finish: true

    include:
        # aliased to a recent 5.6.x version
        - php: '5.6'
        # aliased to a recent 7.0 version
        - php: '7.0'
        # aliased to a recent 7.1 version
        - php: '7.1'
        # aliased to a recent 7.2 version
        - php: '7.2'
        # php nightly
        - php: 'nightly'

    allow_failures:
        - php: nightly

before_install:
  # Install PHP CodeSniffer.
  - if [[ "$SNIFF" == "1" ]]; then composer self-update; fi
  - if [[ "$SNIFF" == "1" ]]; then composer require squizlabs/php_codesniffer:dev-master; fi
  - if [[ "$SNIFF" == "1" ]]; then composer install; fi
  - phpenv rehash

script:
  # Search for PHP syntax errors.
  - find -L . -path ./vendor -prune -o -name '*.php' -print0 | xargs -0 -n 1 -P 4 php -l
  # Run PHPCS.
  # If the custom ruleset is named `.phpcs.xml`, `phpcs.xml`, `.phpcs.xml.dist` or `phpcs.xml.dist`
  # and, like the travis script, is in the root of the project, you can leave
  # out the `--standard=` part of the command.
  - if [[ "$SNIFF" == "1" ]]; then vendor/bin/phpcs; fi


================================================
FILE: CHANGELOG.md
================================================
# Change Log

## [v1.2.4](https://github.com/themexpert/onepager/tree/v1.2.4) (2015-10-26)
[Full Changelog](https://github.com/themexpert/onepager/compare/v1.2.3...v1.2.4)


**Implemented enhancements:**

- Bedrock wordpress environment support
- [Storefront theme support](https://github.com/nadimtuhin/onepager-storefront-support)
- URL link in content-2, content-3, team-1, portfolio-1

**Fixed bugs:**

- Can't access to a Onepager page [\#85](https://github.com/themexpert/onepager/issues/85)

**Closed issues:**

- Add Clickable Links [\#98](https://github.com/themexpert/onepager/issues/98)
- Adding redirect link options to certain blocks? [\#70](https://github.com/themexpert/onepager/issues/70)

## [v1.2.3](https://github.com/themexpert/onepager/tree/v1.2.3) (2015-10-20)
[Full Changelog](https://github.com/themexpert/onepager/compare/v1.2.2...v1.2.3)

**Implemented enhancements:**

- Testimonial slider goes very fast [\#81](https://github.com/themexpert/onepager/issues/81)

**Fixed bugs:**

- Asks to save sections sometimes when settings is saved [\#100](https://github.com/themexpert/onepager/issues/100)
- Editor doesn't open [\#95](https://github.com/themexpert/onepager/issues/95)

**Closed issues:**

- CONTACT FORM SHORTCODE [\#102](https://github.com/themexpert/onepager/issues/102)
- Request for include a option to use with theme via functions php [\#101](https://github.com/themexpert/onepager/issues/101)
- On global settings color preset change it does not effect on the preview [\#99](https://github.com/themexpert/onepager/issues/99)
- unable to log in [\#97](https://github.com/themexpert/onepager/issues/97)
- OnePager support for Roots.io [\#96](https://github.com/themexpert/onepager/issues/96)

## [v1.2.2](https://github.com/themexpert/onepager/tree/v1.2.2) (2015-10-13)
[Full Changelog](https://github.com/themexpert/onepager/compare/v1.2.0...v1.2.2)

## [v1.2.0](https://github.com/themexpert/onepager/tree/v1.2.0) (2015-10-13)
[Full Changelog](https://github.com/themexpert/onepager/compare/v1.1.4...v1.2.0)

**Implemented enhancements:**

- add instagram icon for social profiles [\#82](https://github.com/themexpert/onepager/issues/82)
- Do not open sidebar if its hidden if clicked on section view [\#79](https://github.com/themexpert/onepager/issues/79)
- Block List name 'Theme' is confusing [\#74](https://github.com/themexpert/onepager/issues/74)
- Give a notification when added a new block. [\#72](https://github.com/themexpert/onepager/issues/72)
- Uploaded logo should be responsive  [\#68](https://github.com/themexpert/onepager/issues/68)
- Colorpicker causing problem when the last item is colorpicker [\#43](https://github.com/themexpert/onepager/issues/43)
- Builder style override by theme [\#20](https://github.com/themexpert/onepager/issues/20)

**Fixed bugs:**

- setState bug on settings if switch is pressed [\#89](https://github.com/themexpert/onepager/issues/89)
- Assets cache problem [\#88](https://github.com/themexpert/onepager/issues/88)
- Onepager breaking search results page [\#86](https://github.com/themexpert/onepager/issues/86)
- Drop-down lists within the builder [\#83](https://github.com/themexpert/onepager/issues/83)
- Preset is not loading if the name is less than 4 chars [\#80](https://github.com/themexpert/onepager/issues/80)
- Register new preset not working when disable preset code is on [\#73](https://github.com/themexpert/onepager/issues/73)
- Color presets : color change not saving [\#71](https://github.com/themexpert/onepager/issues/71)

**Closed issues:**

- style.css over write feature. [\#87](https://github.com/themexpert/onepager/issues/87)
- Radio changes not saved [\#84](https://github.com/themexpert/onepager/issues/84)
- how can I post youtube video [\#77](https://github.com/themexpert/onepager/issues/77)
- Testing Jira Integration [\#76](https://github.com/themexpert/onepager/issues/76)

## [v1.1.4](https://github.com/themexpert/onepager/tree/v1.1.4) (2015-09-15)
[Full Changelog](https://github.com/themexpert/onepager/compare/v1.1.3...v1.1.4)

**Fixed bugs:**

- after editor edit save icon takes forever [\#67](https://github.com/themexpert/onepager/issues/67)

**Closed issues:**

- Last section is not seen if there are lots of sections [\#66](https://github.com/themexpert/onepager/issues/66)

## [v1.1.3](https://github.com/themexpert/onepager/tree/v1.1.3) (2015-09-13)
[Full Changelog](https://github.com/themexpert/onepager/compare/v1.1.2...v1.1.3)

**Implemented enhancements:**

- Do not open section editor after section creation [\#63](https://github.com/themexpert/onepager/issues/63)

**Fixed bugs:**

- default value bug [\#62](https://github.com/themexpert/onepager/issues/62)
- undefined layoutMangaer error [\#61](https://github.com/themexpert/onepager/issues/61)

## [v1.1.2](https://github.com/themexpert/onepager/tree/v1.1.2) (2015-09-11)
[Full Changelog](https://github.com/themexpert/onepager/compare/v1.1.1...v1.1.2)

## [v1.1.1](https://github.com/themexpert/onepager/tree/v1.1.1) (2015-09-11)
[Full Changelog](https://github.com/themexpert/onepager/compare/v1.1...v1.1.1)

## [v1.1](https://github.com/themexpert/onepager/tree/v1.1) (2015-09-09)
[Full Changelog](https://github.com/themexpert/onepager/compare/1.1...v1.1)

## [1.1](https://github.com/themexpert/onepager/tree/1.1) (2015-09-08)
[Full Changelog](https://github.com/themexpert/onepager/compare/1.0.0...1.1)

**Implemented enhancements:**

- Navbar fixed top not working properly when collapse the builder [\#21](https://github.com/themexpert/onepager/issues/21)
- State management after reloading [\#59](https://github.com/themexpert/onepager/issues/59)
- Implement new icon size attribute to all blocks that implements icon or media [\#10](https://github.com/themexpert/onepager/issues/10)

**Fixed bugs:**

- Corporate preset bug [\#60](https://github.com/themexpert/onepager/issues/60)
- The update animation goes forever if typed and saved simultaneously [\#58](https://github.com/themexpert/onepager/issues/58)
- Settings not overriding block config value [\#45](https://github.com/themexpert/onepager/issues/45)
- Settings default value not coming  [\#44](https://github.com/themexpert/onepager/issues/44)

**Closed issues:**

- Need pricing Table / HTML & css input Block [\#46](https://github.com/themexpert/onepager/issues/46)

## [1.0.0](https://github.com/themexpert/onepager/tree/1.0.0) (2015-08-24)
[Full Changelog](https://github.com/themexpert/onepager/compare/1.0.0-beta...1.0.0)

**Implemented enhancements:**

- Need a way to disable loading bootstrap. [\#56](https://github.com/themexpert/onepager/issues/56)
- WP editor style not match with OnePager style [\#55](https://github.com/themexpert/onepager/issues/55)
- Color-palette style could be better [\#54](https://github.com/themexpert/onepager/issues/54)
- Need asset build config like onepager\_debug [\#52](https://github.com/themexpert/onepager/issues/52)
- Unified Asset handling [\#42](https://github.com/themexpert/onepager/issues/42)
- Media, Icon, Image, Colorpicker confusing name [\#39](https://github.com/themexpert/onepager/issues/39)
- Improve Field Link api and add documentation [\#23](https://github.com/themexpert/onepager/issues/23)
- Load editor button has no style in backed [\#22](https://github.com/themexpert/onepager/issues/22)
- There are some problems is some blocks need to fix them [\#19](https://github.com/themexpert/onepager/issues/19)
- Collapsible Icon needed for each menu item [\#18](https://github.com/themexpert/onepager/issues/18)
- No way to add icon size in iconpicker [\#12](https://github.com/themexpert/onepager/issues/12)
- Replace text editor with a stripped down wp editor [\#6](https://github.com/themexpert/onepager/issues/6)
- Selectbox in menu, page is dark and unreadable [\#3](https://github.com/themexpert/onepager/issues/3)

**Fixed bugs:**

- Editor field type repeater bug [\#40](https://github.com/themexpert/onepager/issues/40)
- Input Select conflict with twentyfifteen theme [\#17](https://github.com/themexpert/onepager/issues/17)
- Link color change after activating Onepager  [\#16](https://github.com/themexpert/onepager/issues/16)
- Nav menu scrolling is not smooth [\#9](https://github.com/themexpert/onepager/issues/9)
- Missing normal icon size in icon picker [\#8](https://github.com/themexpert/onepager/issues/8)
- footer menu dropdown not working properly [\#7](https://github.com/themexpert/onepager/issues/7)
- Utilize cache in onepage asset build [\#5](https://github.com/themexpert/onepager/issues/5)
- Sidebar footer and sections list conflict when there are lots of sections [\#4](https://github.com/themexpert/onepager/issues/4)
- Wordpress default menu system not working properly with onepager [\#2](https://github.com/themexpert/onepager/issues/2)

**Closed issues:**

- Switch field bug [\#57](https://github.com/themexpert/onepager/issues/57)
- Need asset build button [\#51](https://github.com/themexpert/onepager/issues/51)
- Add documentation on field depends feature [\#24](https://github.com/themexpert/onepager/issues/24)
- Need a new field type note [\#11](https://github.com/themexpert/onepager/issues/11)

**Merged pull requests:**

- improvements on menu, link and minor bugfixes [\#1](https://github.com/themexpert/onepager/pull/1) ([nadimtuhin](https://github.com/nadimtuhin))

## [1.0.0-beta](https://github.com/themexpert/onepager/tree/1.0.0-beta) (2015-07-15)


\* *This Change Log was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)*

================================================
FILE: LICENSE.txt
================================================
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA


===================================


GNU GENERAL PUBLIC LICENSE
   Version 2, June 1991

Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.

    Preamble

The licenses for most software are designed to take away your
freedom to share and change it.  By contrast, the GNU General Public
License is intended to guarantee your freedom to share and change free
software--to make sure the software is free for all its users.  This
General Public License applies to most of the Free Software
Foundation's software and to any other program whose authors commit to
using it.  (Some other Free Software Foundation software is covered by
the GNU Lesser General Public License instead.)  You can apply it to
your programs, too.

When we speak of free software, we are referring to freedom, not
price.  Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
this service if you wish), that you receive source code or can get it
if you want it, that you can change the software or use pieces of it
in new free programs; and that you know you can do these things.

To protect your rights, we need to make restrictions that forbid
anyone to deny you these rights or to ask you to surrender the rights.
These restrictions translate to certain responsibilities for you if you
distribute copies of the software, or if you modify it.

For example, if you distribute copies of such a program, whether
gratis or for a fee, you must give the recipients all the rights that
you have.  You must make sure that they, too, receive or can get the
source code.  And you must show them these terms so they know their
rights.

We protect your rights with two steps: (1) copyright the software, and
(2) offer you this license which gives you legal permission to copy,
distribute and/or modify the software.

Also, for each author's protection and ours, we want to make certain
that everyone understands that there is no warranty for this free
software.  If the software is modified by someone else and passed on, we
want its recipients to know that what they have is not the original, so
that any problems introduced by others will not reflect on the original
authors' reputations.

Finally, any free program is threatened constantly by software
patents.  We wish to avoid the danger that redistributors of a free
program will individually obtain patent licenses, in effect making the
program proprietary.  To prevent this, we have made it clear that any
patent must be licensed for everyone's free use or not licensed at all.

The precise terms and conditions for copying, distribution and
modification follow.

GNU GENERAL PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION

0. This License applies to any program or other work which contains
a notice placed by the copyright holder saying it may be distributed
under the terms of this General Public License.  The "Program", below,
refers to any such program or work, and a "work based on the Program"
means either the Program or any derivative work under copyright law:
that is to say, a work containing the Program or a portion of it,
either verbatim or with modifications and/or translated into another
language.  (Hereinafter, translation is included without limitation in
the term "modification".)  Each licensee is addressed as "you".

Activities other than copying, distribution and modification are not
covered by this License; they are outside its scope.  The act of
running the Program is not restricted, and the output from the Program
is covered only if its contents constitute a work based on the
Program (independent of having been made by running the Program).
Whether that is true depends on what the Program does.

1. You may copy and distribute verbatim copies of the Program's
source code as you receive it, in any medium, provided that you
conspicuously and appropriately publish on each copy an appropriate
copyright notice and disclaimer of warranty; keep intact all the
notices that refer to this License and to the absence of any warranty;
and give any other recipients of the Program a copy of this License
along with the Program.

You may charge a fee for the physical act of transferring a copy, and
you may at your option offer warranty protection in exchange for a fee.

2. You may modify your copy or copies of the Program or any portion
of it, thus forming a work based on the Program, and copy and
distribute such modifications or work under the terms of Section 1
above, provided that you also meet all of these conditions:

a) You must cause the modified files to carry prominent notices
stating that you changed the files and the date of any change.

b) You must cause any work that you distribute or publish, that in
whole or in part contains or is derived from the Program or any
part thereof, to be licensed as a whole at no charge to all third
parties under the terms of this License.

c) If the modified program normally reads commands interactively
when run, you must cause it, when started running for such
interactive use in the most ordinary way, to print or display an
announcement including an appropriate copyright notice and a
notice that there is no warranty (or else, saying that you provide
a warranty) and that users may redistribute the program under
these conditions, and telling the user how to view a copy of this
License.  (Exception: if the Program itself is interactive but
does not normally print such an announcement, your work based on
the Program is not required to print an announcement.)

These requirements apply to the modified work as a whole.  If
identifiable sections of that work are not derived from the Program,
and can be reasonably considered independent and separate works in
themselves, then this License, and its terms, do not apply to those
sections when you distribute them as separate works.  But when you
distribute the same sections as part of a whole which is a work based
on the Program, the distribution of the whole must be on the terms of
this License, whose permissions for other licensees extend to the
entire whole, and thus to each and every part regardless of who wrote it.

Thus, it is not the intent of this section to claim rights or contest
your rights to work written entirely by you; rather, the intent is to
exercise the right to control the distribution of derivative or
collective works based on the Program.

In addition, mere aggregation of another work not based on the Program
with the Program (or with a work based on the Program) on a volume of
a storage or distribution medium does not bring the other work under
the scope of this License.

3. You may copy and distribute the Program (or a work based on it,
under Section 2) in object code or executable form under the terms of
Sections 1 and 2 above provided that you also do one of the following:

a) Accompany it with the complete corresponding machine-readable
source code, which must be distributed under the terms of Sections
1 and 2 above on a medium customarily used for software interchange; or,

b) Accompany it with a written offer, valid for at least three
years, to give any third party, for a charge no more than your
cost of physically performing source distribution, a complete
machine-readable copy of the corresponding source code, to be
distributed under the terms of Sections 1 and 2 above on a medium
customarily used for software interchange; or,

c) Accompany it with the information you received as to the offer
to distribute corresponding source code.  (This alternative is
allowed only for noncommercial distribution and only if you
received the program in object code or executable form with such
an offer, in accord with Subsection b above.)

The source code for a work means the preferred form of the work for
making modifications to it.  For an executable work, complete source
code means all the source code for all modules it contains, plus any
associated interface definition files, plus the scripts used to
control compilation and installation of the executable.  However, as a
special exception, the source code distributed need not include
anything that is normally distributed (in either source or binary
form) with the major components (compiler, kernel, and so on) of the
operating system on which the executable runs, unless that component
itself accompanies the executable.

If distribution of executable or object code is made by offering
access to copy from a designated place, then offering equivalent
access to copy the source code from the same place counts as
distribution of the source code, even though third parties are not
compelled to copy the source along with the object code.

4. You may not copy, modify, sublicense, or distribute the Program
except as expressly provided under this License.  Any attempt
otherwise to copy, modify, sublicense or distribute the Program is
void, and will automatically terminate your rights under this License.
However, parties who have received copies, or rights, from you under
this License will not have their licenses terminated so long as such
parties remain in full compliance.

5. You are not required to accept this License, since you have not
signed it.  However, nothing else grants you permission to modify or
distribute the Program or its derivative works.  These actions are
prohibited by law if you do not accept this License.  Therefore, by
modifying or distributing the Program (or any work based on the
Program), you indicate your acceptance of this License to do so, and
all its terms and conditions for copying, distributing or modifying
the Program or works based on it.

6. Each time you redistribute the Program (or any work based on the
Program), the recipient automatically receives a license from the
original licensor to copy, distribute or modify the Program subject to
these terms and conditions.  You may not impose any further
restrictions on the recipients' exercise of the rights granted herein.
You are not responsible for enforcing compliance by third parties to
this License.

7. If, as a consequence of a court judgment or allegation of patent
infringement or for any other reason (not limited to patent issues),
conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License.  If you cannot
distribute so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you
may not distribute the Program at all.  For example, if a patent
license would not permit royalty-free redistribution of the Program by
all those who receive copies directly or indirectly through you, then
the only way you could satisfy both it and this License would be to
refrain entirely from distribution of the Program.

If any portion of this section is held invalid or unenforceable under
any particular circumstance, the balance of the section is intended to
apply and the section as a whole is intended to apply in other
circumstances.

It is not the purpose of this section to induce you to infringe any
patents or other property right claims or to contest validity of any
such claims; this section has the sole purpose of protecting the
integrity of the free software distribution system, which is
implemented by public license practices.  Many people have made
generous contributions to the wide range of software distributed
through that system in reliance on consistent application of that
system; it is up to the author/donor to decide if he or she is willing
to distribute software through any other system and a licensee cannot
impose that choice.

This section is intended to make thoroughly clear what is believed to
be a consequence of the rest of this License.

8. If the distribution and/or use of the Program is restricted in
certain countries either by patents or by copyrighted interfaces, the
original copyright holder who places the Program under this License
may add an explicit geographical distribution limitation excluding
those countries, so that distribution is permitted only in or among
countries not thus excluded.  In such case, this License incorporates
the limitation as if written in the body of this License.

9. The Free Software Foundation may publish revised and/or new versions
of the General Public License from time to time.  Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.

Each version is given a distinguishing version number.  If the Program
specifies a version number of this License which applies to it and "any
later version", you have the option of following the terms and conditions
either of that version or of any later version published by the Free
Software Foundation.  If the Program does not specify a version number of
this License, you may choose any version ever published by the Free Software
Foundation.

10. If you wish to incorporate parts of the Program into other free
programs whose distribution conditions are different, write to the author
to ask for permission.  For software which is copyrighted by the Free
Software Foundation, write to the Free Software Foundation; we sometimes
make exceptions for this.  Our decision will be guided by the two goals
of preserving the free status of all derivatives of our free software and
of promoting the sharing and reuse of software generally.

    NO WARRANTY

11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW.  EXCEPT WHEN
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK AS
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
REPAIR OR CORRECTION.

12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGES.

 END OF TERMS AND CONDITIONS

How to Apply These Terms to Your New Programs

If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.

To do so, attach the following notices to the program.  It is safest
to attach them to the start of each source file to most effectively
convey the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.

<one line to give the program's name and a brief idea of what it does.>
Copyright (C) <year>  <name of author>

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.

Also add information on how to contact you by electronic and paper mail.

If the program is interactive, make it output a short notice like this
when it starts in an interactive mode:

Gnomovision version 69, Copyright (C) year name of author
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.

The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License.  Of course, the commands you use may
be called something other than `show w' and `show c'; they could even be
mouse-clicks or menu items--whatever suits your program.

You should also get your employer (if you work as a programmer) or your
school, if any, to sign a "copyright disclaimer" for the program, if
necessary.  Here is a sample; alter the names:

Yoyodyne, Inc., hereby disclaims all copyright interest in the program
`Gnomovision' (which makes passes at compilers) written by James Hacker.

<signature of Ty Coon>, 1 April 1989
Ty Coon, President of Vice

This General Public License does not permit incorporating your program into
proprietary programs.  If your program is a subroutine library, you may
consider it more useful to permit linking proprietary applications with the
library.  If this is what you want to do, use the GNU Lesser General
Public License instead of this License.

================================================
FILE: app/Admin/menu.php
================================================
<?php
// Exit if accessed directly
if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

class TXOP_Admin_Menu{
	
	public function __construct(){
		add_action( 'admin_menu', [$this, 'register_admin_menu'], 20 );
		add_action( 'admin_menu', [$this, 'register_submenu'], 501 );
		add_action( 'admin_init', [$this, 'on_admin_init'] );
		add_action( 'admin_init', [$this, 'txop_template_import_handle'] );
		add_action( 'admin_post_txop-delete-template', [$this, 'txop_template_delete_handle'] );
		add_action( 'admin_enqueue_scripts', [$this, 'onepager_load_admin_scripts'] );
	}

	/**
	 * register onepage menu
	 */
	public function register_admin_menu() {
		$icon = onepager()->url( 'assets/images/logo-white.png' );
		add_menu_page(
			__( 'OnePager', 'onepager' ),
			__( 'OnePager', 'onepager' ),
			'manage_options',
			'onepager',
			[$this, 'op_dashboard_view'],
			$icon,
			'31'
		);
		add_submenu_page(
			'onepager',
			__( 'Dashboard', 'onepager' ),
			__( 'Dashboard', 'onepager' ),
			'manage_options',
			'onepager',
			[$this, 'op_dashboard_view']
		);
	}
	/**
	 * Register sub menu
	 */
	public function register_submenu() {

		add_submenu_page(
			'onepager',
			__( 'Welcome to OnePager', 'onepager' ),
			__( 'Getting Started', 'onepager' ),
			'manage_options',
			'onepager-getting-started',
			[$this, 'op_getting_started']
		);

		add_submenu_page(
			'onepager',
			__( 'Blocks', 'onepager' ),
			__( 'Blocks', 'onepager' ),
			'manage_options',
			'onepager-blocks',
			[$this, 'op_block_view']
		);

		add_submenu_page(
			'onepager',
			__('Settings', 'onepager'),
			__('Settings', 'onepager'),
			'manage_options',
			'onepager-settings',
			[$this, 'op_settings_view']
		);
		
		add_submenu_page(
			'onepager',
			__('Templates', 'onepager'),
			__('Templates', 'onepager'),
			'manage_options',
			'onepager-templates',
			[$this, 'txop_onepager_templates']
		);
		
		add_submenu_page(
			'onepager',
			'',
			'<span class="dashicons dashicons-star-filled" style="font-size: 17px"></span> ' . __( 'Go Pro', 'onepager' ),
			'manage_options',
			'onepager-gopro',
			[$this, 'handle_external_redirects']
		);

	}
	/**
	 * onepager dashboard view
	 */
	public function op_dashboard_view(){
		include __DIR__ . '/views/dashboard.php';
	}
	/**
	 * getting started view
	 */
	public function op_getting_started(){
		include __DIR__ . '/views/getting-started.php';
	}
	/**
	 * Block view
	 */
	public function op_block_view(){
		include __DIR__ . '/views/blocks.php';
	}
	/**
	 * Settings View
	 */	
	public function op_settings_view(){
		include __DIR__ . '/views/settings.php';
	}
	/**
	 * Template View
	 */
	public function txop_onepager_templates(){
		include __DIR__ . '/views/templates.php';
		$template = new TXOP_Templates();
		$template->handle_template_pages();
	}
	/**
	 * Hanlde template import 
	 */
	public function txop_template_import_handle(){
		include __DIR__ . '/views/handler.php';
		new TXOP_Handler();
	}
	/**
	 * Hanlde template delete
	 */
	public function txop_template_delete_handle(){
		include __DIR__ . '/views/delete-handler.php';
		new TXOP_Delete_Handler();
	}
	/**
	 * Redirect
	 */
	public function on_admin_init() {
		$this->handle_external_redirects();
	}
	/**
	 * Go Pro view
	 */
	public function handle_external_redirects() {
		if ( empty( $_GET['page'] ) ) {
			return;
		}
		if ( 'onepager-gopro' === $_GET['page'] ) {
			wp_redirect( 'https://themesgrove.com/wp-onepager/?utm_source=wp-menu&utm_campaign=wponepager_gopro&utm_medium=wp-dash' );
			exit;
		}
		if ( 'go_knowledge_base_site' === $_GET['page'] ) {
			wp_redirect( '' );
			die;
		}
	}

	/**
	 * Load Resources only for onepager pages
	 */
	public function onepager_load_admin_scripts() {
		global $wp;  
		$current_url = add_query_arg(array($_GET), $wp->request);
		$current_url_slug = $current_url ? explode("=", $current_url) : '';
		if($current_url_slug){
			if(count($current_url_slug) > 1){
				// add builder.css so icons and other stuff styles
				if( $current_url_slug[1] === 'onepager' OR 
				$current_url_slug[1] === 'onepager-license' OR 
				$current_url_slug[1] === 'onepager-blocks' OR 
				$current_url_slug[1] === 'onepager-license&onepager_pro_activation' OR 
				$current_url_slug[1] === 'onepager-getting-started' OR
				$current_url_slug[1] === 'onepager-templates'
				)
				{
					wp_enqueue_script( 'uikit', op_asset( 'assets/js/uikit.js' ) );
					wp_enqueue_script( 'uikit-icons', op_asset( 'assets/js/uikit-icons.js' ) );
					wp_enqueue_style( 'uikit', op_asset( 'assets/css/uikit.css' ) );
				}
			}
		}
		wp_enqueue_style( 'lithium-builder', op_asset( 'assets/css/lithium-builder.css' ) );
		
	}

}

new TXOP_Admin_Menu();

================================================
FILE: app/Admin/notice.php
================================================
<?php
// Exit if accessed directly
if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

// The Notice class
if ( ! class_exists( 'OnePager_Admin_Notice' ) ) {

	class OnePager_Admin_Notice {

		/**
		 * Admin constructor
		 */
		public function __construct() {

			add_action( 'admin_notices', array( $this, 'rating_notice' ) );
			add_action( 'admin_init', array( $this, 'dismiss_rating_notice' ) );

		}


		/**
		 * Display rating notice
		 *
		 * @since   2.0.2
		 */
		public static function rating_notice() {
			// Show notice after 240 hours from installed time.
			if ( self::get_installed_time() > strtotime( '-72 hours' )
				or '1' === get_option( 'onepager_dismiss_rating_notice' )
				or ! current_user_can( 'manage_options' ) ) {
				return;
			}

			$no_thanks  = wp_nonce_url( add_query_arg( 'onepager_rating_notice', 'no_thanks_rating_btn' ), 'no_thanks_rating_btn' );
			$dismiss    = wp_nonce_url( add_query_arg( 'onepager_rating_notice', 'dismiss_rating_btn' ), 'dismiss_rating_btn' ); ?>
			
			<div class="uk-margin-medium-top uk-margin-right rating-notice">
			  <div class="uk-card uk-card-primary uk-card-hover uk-card-body uk-padding-small">
				  <p><span class="dashicons dashicons-star-filled"></span><span class="dashicons dashicons-star-filled"></span><span class="dashicons dashicons-star-filled"></span><span class="dashicons dashicons-star-filled"></span><span class="dashicons dashicons-star-filled"></span> 
				  <?php
					echo sprintf(
						esc_html__( 'Hello! We&rsquo;re really grateful that you&rsquo;re now a part of the Themesgrove family. We hope you&rsquo;re happy with everything OnePager has to offer.%1$sIf you can spare a minute, please help us by leaving a 5-star rating on WordPress.org. By spreading the love, we can continue to develop new amazing features in the future, for free!', 'onepager' ),
						'<br/>'
					);
					?>
					  </p>
					<a href="https://wordpress.org/support/plugin/tx-onepager/reviews/#new-post" class="uk-button uk-button-primary uk-margin-small-right" target="_blank"><span class="dashicons dashicons-external" style="line-height:36px; margin-right:5px;"></span><span><?php _e( 'Ok, you deserve it', 'onepager' ); ?></span></a>
					<a href="<?php echo $no_thanks; ?>" class="uk-button uk-button-default uk-margin-small-right" target="_blank"><span class="dashicons dashicons-calendar" style="line-height:36px; margin-right:5px;"></span><span><?php _e( 'Nope, maybe later', 'onepager' ); ?></span></a>
					<a href="<?php echo $no_thanks; ?>" class="uk-button uk-button-default"><span class="dashicons dashicons-smiley" style="line-height:36px; margin-right:5px;"></span><span><?php _e( 'I already did', 'onepager' ); ?></span></a>

					<a href="<?php echo $dismiss; ?>" class="dismiss uk-position-small uk-position-top-right"><span class="dashicons dashicons-dismiss"></span></a>
			  </div>
			</div>
			<?php
		}

		/**
		 * Dismiss rating notice
		 *
		 * @since   2.0.2
		 */
		public static function dismiss_rating_notice() {
			if ( ! isset( $_GET['onepager_rating_notice'] ) ) {
				return;
			}

			if ( 'dismiss_rating_btn' === $_GET['onepager_rating_notice'] ) {
				check_admin_referer( 'dismiss_rating_btn' );
				update_option( 'onepager_dismiss_rating_notice', '1' );
			}

			if ( 'no_thanks_rating_btn' === $_GET['onepager_rating_notice'] ) {
				check_admin_referer( 'no_thanks_rating_btn' );
				update_option( 'onepager_dismiss_rating_notice', '1' );
			}

			wp_redirect( remove_query_arg( 'onepager_rating_notice' ) );
			exit;
		}

		/**
		 * Installed time
		 *
		 * @since   2.0.2
		 */
		private static function get_installed_time() {
			$installed_time = get_option( 'onepager_installed_time' );
			if ( ! $installed_time ) {
				$installed_time = time();
				update_option( 'onepager_installed_time', $installed_time );
			}
			return $installed_time;
		}

	}

	new OnePager_Admin_Notice();
}


================================================
FILE: app/Admin/override.php
================================================
<?php
// Edit With onepager link
add_filter( 'page_row_actions', 'op_edit_with_onepager_link_in_page_row', 10, 2 );
function op_edit_with_onepager_link_in_page_row( $actions, $post ) {
	if ( $post->post_type != 'page' ) {
		return $actions;
	}
	// URL
	$page_permalink = onepager_get_edit_mode_url( get_permalink( $post->ID ) );
	// Page template
	$template = get_post_meta( $post->ID, '_wp_page_template', true );

	if ( ( strpos( $template, 'onepage' ) !== false ) &&
		( current_user_can( 'editor' ) || current_user_can( 'administrator' ) ) ) {
		$actions['edit_with_onepager'] = sprintf(
			'<a href="%1$s">%2$s</a>',
			$page_permalink,
			__( 'Edit with Onepager', 'onepager' )
		);
	}
	return $actions;
}

add_filter( 'display_post_states', 'op_append_onepager_in_page_title', 10, 2 );

function op_append_onepager_in_page_title( $post_states, $post ) {
	$template = get_post_meta( $post->ID, '_wp_page_template', true );

	if ( ( strpos( $template, 'onepage' ) !== false ) &&
	  ( current_user_can( 'editor' ) || current_user_can( 'administrator' ) ) ) {
		$post_states['onepager'] = __( 'Onepager', 'txop' );
	}
	return $post_states;

}


================================================
FILE: app/Admin/views/blocks.php
================================================
<?php
$blocks = onepager()->blockManager()->showAllBlocks();
$blockCollection = array_values((array) onepager()->blockManager()->showAllBlocksCollection());

$groups = array_unique(
	array_reduce(
		$blockCollection,
		function ( $carry, $block ) {
			return array_merge( $carry, $block['groups'] );
		},
		[]
	)
);

function op_get_html_group_class( $groups ) {
	return implode(
		' ',
		array_map(
			function ( $group ) {
				return sanitize_title( $group );
			},
			$groups
		)
	);
}

function update_block_name($string){
	$name = ucfirst(join(" ", explode("-", $string)));
	return $name;
}

function singleBlock($BlockCollec∂çtionsArr){
	$count = 1;
	foreach($BlockCollec∂çtionsArr as $singleBlock):
		$type = array_get($singleBlock, 'type') ? $singleBlock['type'] : '';
		$tag = array_get($singleBlock, 'tag') ? $singleBlock['tag'] : '';
		?>
		<div data-group="<?php echo op_get_html_group_class( $singleBlock['groups'] ); ?>">
			<div class="uk-card uk-card-default uk-transition-toggle single-block-<?php echo $singleBlock['slug'];?>" tabindex="0" >
				<div class="uk-card-media-top uk-inline uk-height-medium" uk-overflow-auto>
					
					<?php if($type):?>
						<span class="txop-pro-badge"><?php echo $type; ?></span>
					<?php endif;?>
					<?php if($tag):?>
						<span class="txop-<?php echo $tag; ?>-badge"><?php echo $tag; ?></span>
					<?php endif;?>

					<img src="<?php echo $singleBlock['image']?>">
				</div>
				<div class="uk-card-footer uk-padding-small uk-margin-remove uk-text-center">
					<p class="uk-margin-small-bottom">
					<strong>
						<?php echo update_block_name($singleBlock['name']); ?>
					</strong>
					</p>
					<a class="uk-button uk-button-primary uk-width-1-1" href="#">Demo</a>
					<!-- <button 
						id="layout-import"
						class="uk-button uk-button-primary uk-width-1-1"
						uk-toggle="target: #layout-selection-modal"
						data-name="<?php //echo $singleBlock['name']; ?>"
						data-image="<?php //echo $singleBlock['image']; ?>"
						data-id="<?php //echo $singleBlock['id']; ?>"
						>Demo</button> -->
				</div>
			</div>
		</div>
		<?php
	endforeach;
}

?>
<div class="wrap" uk-filter="target: .layout-filter">
  	<h1 class="uk-title"><?php _e( 'Blocks', 'onepager' ); ?></h1>

	<?php if ( ! did_action( 'onepager_pro_loaded' ) ) : ?>
	<div class="uk-card uk-card-small uk-card-secondary uk-card-body uk-margin uk-margin-medium-top uk-margin-medium-bottom">
	  <div class="uk-grid uk-grid-small uk-flex-middle">
		<div class="uk-width-2-3">
		  <div class="uk-grid uk-grid-small">
			<div class="uk-width-1-6 uk-first-column">
			  <svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
				width="60px" height="40px" viewBox="251 356 110 80" enable-background="new 251 356 110 80" xml:space="preserve" fill="#fff">
				<g>
				  <path d="M291.9,433.6l-25.1-67.7c0.3-2.5,2.4-3,4.6-3.1c2.2-0.2,49-1.3,49-1.3c5,0,6.2,1.3,7.5,3.3c1.3,2,17.8,30.6,17.8,30.6
					c1.5,3.1-1.4,3.6-3.5,3.8c-3.1,0.4-48.8,4.6-48.8,4.6l4.6,12.1l54.9-5.6c8.8-2.6,8-9,6.2-12.3c-1.8-3.2-25-37.8-25-37.8
					c-2.7-3.6-7.7-4.3-11.7-4.3c-4-0.1-57.5-0.3-57.5-0.3c-12.8,0.1-14.5,4.6-14.6,8.3c-0.1,3.6,21.1,71.7,21.1,71.7L291.9,433.6z"/>
				  <path d="M316.5,368.7L316.5,368.7c-0.2,0-25.3,1.3-26.2,1.3c-1,0.1-1.1,0.3-1.1,0.3s-0.1,0.2,0.1,0.7l6.6,15.9
					c0,0.1,0.7,1.6,2.5,1.5c7.2-0.3,27.5-1.9,28.6-2.1c0.8-0.1,0.9-0.3,0.9-0.3s0-0.2-0.3-0.7l0,0c-2.3-4.1-8.2-14.9-8.7-15.5
					C318.6,369.1,318.3,368.7,316.5,368.7z"/>
				  <path d="M325.8,389.3c0,0-0.2-0.4-0.5-1c-5.1,0.5-21,1.7-27.2,2c-0.1,0-0.1,0-0.2,0c-2.7,0-3.7-2.3-3.7-2.4l-6-14.2
					c-0.2,0-0.4,0-0.4,0c-2,0.1-2.1,1-1.7,2l6.3,15.2c0,0.1,1.1,2.6,4,2.6c0.1,0,0.1,0,0.2,0l28-2.1C325.4,391.4,326.9,391,325.8,389.3
					z"/>
				</g>
			  </svg>
			</div>
			<div class="uk-width-5-6">
			  <h5 class="uk-margin-remove-bottom"><?php _e( 'Unlock More Layouts', 'onepager' ); ?></h5>
			  <p class="uk-margin-remove-top">Upgrade to PRO version and unlock more layouts, blocks and features you could imagine.</p>
			</div>
		  </div>

		</div>
		<div class="uk-width-1-3">
		  <a href="https://themesgrove.com/wp-onepager/?utm_source=wp-admin&utm_medium=dashboard&utm_campaign=wponepager-gopro" target="_blank" class="uk-button uk-button-danger">Explore Onepager Pro</a>
		</div>
	  </div>
	</div>
	<?php endif; ?>

	<!-- show block count -->
  	<div class="op-block-wrapper">
		<?php //echo $blocks;?>
	</div>

	<ul class="uk-subnav uk-subnav-pill" uk-margin>
		<li class="uk-active" uk-filter-control><a href="#">All</a></li>
		<?php foreach ( $groups as $group ) : ?>
		<li uk-filter-control="[data-group*='<?php echo sanitize_title( $group ); ?>']"><a href="#"><?php echo $group; ?></a></li>
		<?php endforeach; ?>
	</ul>

	<div class="layout-filter  uk-child-width-1-2@s uk-child-width-1-4@m" uk-grid>
		<?php 
			singleBlock($blockCollection);
		?>
	</div>
	
</div>

<script>
	function addPage(data) {
		jQuery('#op_create_page_from_layout_button').attr('disabled', 'disabled')
		jQuery(".uk-spinner").css("display", "inline-block");
		$.post(ajaxurl, data, function (res) {
		if (res && res.success) {
			window.location = res.url;
			// jQuery(".uk-spinner").css("display", "none");
		} else {
			alert("failed to insert layout ");
			jQuery(".uk-spinner").css("display", "none");
		}
		});
	}
  
</script>
<script>
	UIkit.util.on('#layout-import', 'click', function (e) {
		e.preventDefault();

		$ = $ = jQuery;
		
		var name = $(this).data('name'),
			imagePath = $(this).data('image'),
			layoutId = $(this).data('id');
		// Set image
		$('#layout-image').attr('src', imagePath);
		// $('#layout-image').attr('alt', name);
		// Set name
		$('.uk-modal-title strong').text(name);
		// Set layout id 
		$('#layout-selection-modal .uk-button').val(layoutId);
	});

	UIkit.util.on('#op_create_page_from_layout_button', 'click', function (e) {
		e.preventDefault();

		$ = $ = jQuery;
		let pageTitle = $(".page-title").val();

		if(!pageTitle) {
			alert("Please give a title for your page")
			return;
		}

		addPage({
			action: 'onepager_add_page',
			pageTitle: pageTitle,
			layoutId: $('#layout-selection-modal .uk-button').val()
		})

	});

</script>


================================================
FILE: app/Admin/views/dashboard.php
================================================
<?php
$layouts = onepager()->presetManager()->all();
$blocks = onepager()->blockManager()->showAllBlocks();

$groups = array_unique(
	array_reduce(
		$layouts,
		function ( $carry, $layout ) {
			return array_merge( $carry, $layout['group'] );
		},
		[]
	)
);

function op_get_html_group_class( $groups ) {
	return implode(
		' ',
		array_map(
			function ( $group ) {
				return sanitize_title( $group );
			},
			$groups
		)
	);
}
?>
<div class="wrap txop-admin txop-dashboard" uk-filter="target: .layout-filter">
  <h1 class="uk-title"><?php _e( 'Dashboard', 'onepager' ); ?></h1>

	<?php if ( ! did_action( 'onepager_pro_loaded' ) ) : ?>
	<div class="uk-card uk-card-small uk-card-secondary uk-card-body uk-margin uk-margin-medium-top uk-margin-medium-bottom">
	  <div class="uk-grid uk-grid-small uk-flex-middle">
		<div class="uk-width-2-3">
		  <div class="uk-grid uk-grid-small">
			<div class="uk-width-1-6 uk-first-column">
			  <svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
				width="60px" height="40px" viewBox="251 356 110 80" enable-background="new 251 356 110 80" xml:space="preserve" fill="#fff">
				<g>
				  <path d="M291.9,433.6l-25.1-67.7c0.3-2.5,2.4-3,4.6-3.1c2.2-0.2,49-1.3,49-1.3c5,0,6.2,1.3,7.5,3.3c1.3,2,17.8,30.6,17.8,30.6
					c1.5,3.1-1.4,3.6-3.5,3.8c-3.1,0.4-48.8,4.6-48.8,4.6l4.6,12.1l54.9-5.6c8.8-2.6,8-9,6.2-12.3c-1.8-3.2-25-37.8-25-37.8
					c-2.7-3.6-7.7-4.3-11.7-4.3c-4-0.1-57.5-0.3-57.5-0.3c-12.8,0.1-14.5,4.6-14.6,8.3c-0.1,3.6,21.1,71.7,21.1,71.7L291.9,433.6z"/>
				  <path d="M316.5,368.7L316.5,368.7c-0.2,0-25.3,1.3-26.2,1.3c-1,0.1-1.1,0.3-1.1,0.3s-0.1,0.2,0.1,0.7l6.6,15.9
					c0,0.1,0.7,1.6,2.5,1.5c7.2-0.3,27.5-1.9,28.6-2.1c0.8-0.1,0.9-0.3,0.9-0.3s0-0.2-0.3-0.7l0,0c-2.3-4.1-8.2-14.9-8.7-15.5
					C318.6,369.1,318.3,368.7,316.5,368.7z"/>
				  <path d="M325.8,389.3c0,0-0.2-0.4-0.5-1c-5.1,0.5-21,1.7-27.2,2c-0.1,0-0.1,0-0.2,0c-2.7,0-3.7-2.3-3.7-2.4l-6-14.2
					c-0.2,0-0.4,0-0.4,0c-2,0.1-2.1,1-1.7,2l6.3,15.2c0,0.1,1.1,2.6,4,2.6c0.1,0,0.1,0,0.2,0l28-2.1C325.4,391.4,326.9,391,325.8,389.3
					z"/>
				</g>
			  </svg>
			</div>
			<div class="uk-width-5-6">
			  <h5 class="uk-margin-remove-bottom"><?php _e( 'Unlock More Layouts', 'onepager' ); ?></h5>
			  <p class="uk-margin-remove-top">Upgrade to PRO version and unlock more layouts, blocks and features you could imagine.</p>
			</div>
		  </div>

		</div>
		<div class="uk-width-1-3">
		  <a href="https://themesgrove.com/wp-onepager/?utm_source=wp-admin&utm_medium=dashboard&utm_campaign=wponepager-gopro" target="_blank" class="uk-button uk-button-danger">Explore Onepager Pro</a>
		</div>
	  </div>
	</div>
	<?php endif; ?>
	<!-- show block count -->
  	<div class="uk-card">
		<?php //echo $blocks;?>
  	</div>
	<!-- show all templates -->
	<ul class="uk-subnav uk-subnav-pill" uk-margin>
		<li class="uk-active" uk-filter-control><a href="#">All</a></li>
		<?php foreach ( $groups as $group ) : ?>
		<li uk-filter-control="[data-group*='<?php echo sanitize_title( $group ); ?>']"><a href="#"><?php echo $group; ?></a></li>
		<?php endforeach; ?>
	</ul>

	<div class="layout-filter uk-child-width-1-2@s uk-child-width-1-4@m" uk-grid>
		<?php foreach ( $layouts as $layout ) : ?>
		<?php $type = array_get($layout, 'type') ? $layout['type'] : '';?>
		<?php $tag = array_get($layout, 'tag') ? $layout['tag'] : '';?>
		<div data-group="<?php echo op_get_html_group_class( $layout['group'] ); ?>">
			<div class="uk-card uk-card-default uk-transition-toggle" tabindex="0" >
					<?php if($type):?>
						<span class="txop-pro-badge"><?php echo $type; ?></span>
					<?php endif;?>
					<?php if($tag):?>
						<span class="txop-<?php echo $tag; ?>-badge"><?php echo $tag; ?></span>
					<?php endif;?>
					<div class="uk-card-media-top uk-inline uk-height-medium" uk-overflow-auto>
						<img data-src="<?php echo $layout['screenshot']; ?>" alt="<?php echo $layout['name']; ?>" uk-img >
					</div>
					<div class="uk-card-footer uk-padding-small uk-margin-remove uk-text-center">
						<p class="uk-margin-small-bottom"><strong><?php echo $layout['name']; ?></strong></p>
						<button 
							id="layout-import"
							class="uk-button uk-button-primary uk-width-1-1"
							uk-toggle="target: #layout-selection-modal"
							data-name="<?php echo $layout['name']; ?>"
							data-image="<?php echo $layout['screenshot']; ?>"
							data-id="<?php echo $layout['id']; ?>"
							>Import</button>
					</div>
			</div>
		</div>
		<?php endforeach; ?>
	</div>

	<!-- This is the modal -->
	<div id="layout-selection-modal" class="uk-flex-top" uk-modal="bg-close:false">
		<div class="uk-modal-dialog uk-modal-body uk-margin-auto-vertical">
			<h4 class="uk-modal-title"><?php _e( 'Get started with ', 'onepager' ); ?> <strong class="uk-text-primary"></strong></h4>
			<div uk-grid>
				<div class="uk-width-1-3@m">
				<img id="layout-image" />
				</div>
				<div class="uk-width-2-3@m">
				<form class="uk-form-stacked" method="post" action="options.php">
				<div class="uk-margin">
					<label class="uk-form-label" for="form-stacked-text"><?php echo _e( 'Page Title', 'onepager' ); ?></label>
					<div class="uk-form-controls">
						<input require class="uk-input page-title" id="form-stacked-text" type="text" placeholder="<?php _e( 'Name of your page', 'onepager' ); ?>" required>
					</div>
				</div>
				<div class="uk-margin">
					<button 
					type="submit" 
					id="op_create_page_from_layout_button"
					class="uk-button uk-button-primary"
					name="op_create_page_from_layout_button">
					<span uk-spinner style="display:none"></span>
						<?php _e( 'Create', 'onepager' ); ?>
					</button>
				</div>
				</form>
				</div>
			</div>
			<button class="uk-modal-close-default" type="button" uk-close></button>
		</div>
	</div>
</div>

<script>
	function addPage(data) {
		jQuery('#op_create_page_from_layout_button').attr('disabled', 'disabled')
		jQuery(".uk-spinner").css("display", "inline-block");
		$.post(ajaxurl, data, function (res) {
		if (res && res.success) {
			window.location = res.url;
			// jQuery(".uk-spinner").css("display", "none");
		} else {
			alert("failed to insert layout ");
			jQuery(".uk-spinner").css("display", "none");
		}
		});
	}
  
</script>
<script>
	UIkit.util.on('#layout-import', 'click', function (e) {
		e.preventDefault();

		$ = $ = jQuery;
		
		var name = $(this).data('name'),
			imagePath = $(this).data('image'),
			layoutId = $(this).data('id');
		// Set image
		$('#layout-image').attr('src', imagePath);
		// $('#layout-image').attr('alt', name);
		// Set name
		$('.uk-modal-title strong').text(name);
		// Set layout id 
		$('#layout-selection-modal .uk-button').val(layoutId);
	});

	UIkit.util.on('#op_create_page_from_layout_button', 'click', function (e) {
		e.preventDefault();

		$ = $ = jQuery;
		let pageTitle = $(".page-title").val();

		if(!pageTitle) {
			alert("Please give a title for your page")
			return;
		}

		addPage({
			action: 'onepager_add_page',
			pageTitle: pageTitle,
			layoutId: $('#layout-selection-modal .uk-button').val()
		})

	});

</script>


================================================
FILE: app/Admin/views/delete-handler.php
================================================
<?php

Class TXOP_Delete_Handler{

    public function __construct(){
        $this->txop_delete_template();
    }
    
    public function txop_delete_template(){
        /**
         * Verify nonce
         */
        if( ! wp_verify_nonce($_REQUEST['_wpnonce'], 'txop-delete-template') ){
            wp_die("are you cheating ?");
        }
        /**
         * check user capability
         */
        if( ! current_user_can('manage_options') ){
            wp_die('Are you cheating buddy ?');
        }
        /**
         * get the template id from request
         */
        $id = isset($_REQUEST['id']) ? intval($_REQUEST['id']) : 0;
        /**
         * call the delete function 
         * and it return row for success
         * and error object for failure
         */
        $delete_template = txop_delete_template($id);
        /**
         * redirect to the list page 
         */
        if($delete_template){
            $redirect_list_page = admin_url('admin.php?page=onepager-templates&template-deleted=true'); 
        }else{
            $redirect_list_page = admin_url('admin.php?page=onepager-templates&template-deleted=false'); 
        }
        wp_redirect($redirect_list_page);
        exit;
    }
}

?>

================================================
FILE: app/Admin/views/getting-started.php
================================================
<div class="uk-container uk-container-small">
  <div class="uk-card uk-card-default uk-margin-medium-top">
	  <div class="uk-card-header">
		<h3 class="uk-card-title uk-margin-remove-bottom uk-text-small"><?php echo __( 'Getting Started', 'onepager' ); ?></h3>
	  </div>
	  <div class="uk-card-body uk-text-center">
		  <h2>Welcome to OnePager</h2>
		  <p class="uk-text-emphasis">We recommend you watch this getting started video, and then try to build page yourself.</p>
		  <div>
			<iframe id="onepager-iframe" src="https://www.youtube-nocookie.com/embed/gJKIwp21dXs?autoplay=0&amp;showinfo=0&amp;rel=0&amp;modestbranding=1&amp;playsinline=1" width="620" height="350" frameborder="0" allowfullscreen></iframe>
		  </div>
	  </div>
	  <div class="uk-card-footer uk-text-center">
		  <a href="<?php echo admin_url( 'post-new.php?post_type=page' ); ?>" class="uk-button uk-button-primary"><?php echo __( 'Create Your First Page', 'onepager' ); ?></a>
	  </div>
  </div>
</div>


================================================
FILE: app/Admin/views/handler.php
================================================
<?php

Class TXOP_Handler{

    public function __construct(){
        $this->txop_upload_handler();
    }

    
    public function txop_upload_handler(){
        /**
         * check the import post data
         */
        if(! isset($_POST['upload_template_button'])){
            return;
        }
        /**
         * Verify nonce
         */
        if( ! wp_verify_nonce($_POST['_wpnonce'], 'upload-template-nonce') ){
            wp_die("are you cheating ?");
        }
        /**
         * check user capability
         */
        if( ! current_user_can('manage_options') ){
            wp_die('Are you cheating buddy ?');
        }
        /**
         * check if no file uploaded
         */
        if(! $_FILES['import-template-json']['tmp_name']){
            wp_die('Please upload onepager template json file');
        }
        /**
         * read the json data and
         * decode that data
         */
        $read_json_file = file_get_contents($_FILES['import-template-json']['tmp_name']);
        $json_data = json_decode($read_json_file, true);
        /**
         * If no identifier found
         */
        if(! array_key_exists('identifier', $json_data) ){
            wp_die('Invalid file. Please Upload Onepager template');
        }
        /**
         * check if the identifier value is txonepager or not
         */
        if( 'txonepager' !== $json_data['identifier'] ){
            wp_die('Invalid file. Please Upload Onepager template');
        }
        /**
         * If no section found
         */
        if(! array_key_exists('sections', $json_data) ){
            wp_die('Invalid file data. Please Upload Onepager template');
        }
        /**
         * get the value from json file
         */
        $name = array_key_exists('name', $json_data) ? sanitize_text_field($json_data['name']) : 'template';
        $type = array_key_exists('type', $json_data) ? sanitize_text_field($json_data['type']) : 'page';
        $data = serialize($json_data['sections']);
        /**
         * return an id for successfull insert
         * or if fail
         * return a error object
         */
        $insert_id = txop_insert_user_templates([
            'name'      => $name,
            'type'      => $type,
            'data'      => $data
        ]);
        /**
         * hanlde the error object
         */
        if( is_wp_error($insert_id)){
            wp_die( $insert_id->get_error_message() );
        }
        /**
         * redirect to the list page 
         * with inserted true query parameter
         */
        $redirect_list_page = admin_url('admin.php?page=onepager-templates&inserted=true'); 
        wp_redirect($redirect_list_page);
        exit;
    }
}

?>

================================================
FILE: app/Admin/views/settings.php
================================================
<style>
.onepager-dashboard-settings form h2 {
    display: none;
}
div#setting-error-settings_updated {
    margin-top: 30px;
}
</style>

<h2>OnePager Settings</h2>

<?php onepager_settings_page() ?>

================================================
FILE: app/Admin/views/template-lists.php
================================================
<?php

    if(! class_exists('WP_List_Table')){
        require_once ABSPATH . 'wp-admin/includes/class-wp-list-table.php';
    }

    class TXOP_Template_Lists extends \WP_List_Table{
        public function __construct(){
            parent::__construct([
                'singular'  => 'Template',
                'plural'  => 'Templates',
                'ajax'  => false,
            ]);
        }
        /**
         * Message to show if no designation found
         *
         * @return void
         */
        public function no_items() {
            _e( 'No Templates found', 'tx-onepager' );
        }

        /**
         * Get the column names
         *
         * @return array
         */
        public function get_columns() {
            return [
                'cb'            => '<input type="checkbox" />',
                'name'          => __( 'Name', 'tx-onepager' ),
                'type'          => __( 'Type', 'tx-onepager' ),
                'id'            => __( 'ID', 'tx-onepager' ),
                'created_at'    => __( 'Date', 'tx-onepager' ),
            ];
        }

        /**
         * Get sortable columns
         *
         * @return array
         */
        public function get_sortable_columns() {
            $sortable_columns = [
                'name'       => [ 'name', true ],
                'created_at' => [ 'created_at', true ],
            ];

            return $sortable_columns;
        }

        /**
         * Set the bulk actions
         *
         * @return array
         */
        public function get_bulk_actions() {
            $actions = array(
                'trash'  => __( 'Move to Trash', 'tx-onepager' ),
            );

            return $actions;
        }

        /**
         * Default column values
         *
         * @param  object $item
         * @param  string $column_name
         *
         * @return string
         */
        protected function column_default( $item, $column_name ) {

            switch ( $column_name ) {

                case 'created_at':
                    return wp_date( get_option( 'date_format' ), strtotime( $item->created_at ) );

                default:
                    return isset( $item->$column_name ) ? $item->$column_name : '';
            }
        }

        /**
         * Render the "name" column
         *
         * @param  object $item
         *
         * @return string
         */
        public function column_name( $item ) {
            $actions = [];

            // $actions['edit']   = sprintf( '<a href="%s" title="%s">%s</a>', admin_url( 'admin.php?page=onepager-templates&action=edit&id=' . $item->id ), $item->id, __( 'Edit', 'tx-onepager' ), __( 'Edit', 'tx-onepager' ) );
            $actions['delete'] = sprintf( '<a href="%s" class="submitdelete" onclick="return confirm(\'Are you sure?\');" title="%s">%s</a>', wp_nonce_url( admin_url( 'admin-post.php?action=txop-delete-template&id=' . $item->id ), 'txop-delete-template' ), $item->id, __( 'Delete', 'tx-onepager' ), __( 'Delete', 'tx-onepager' ) );

            return sprintf(
                '<a href="%1$s"><strong>%2$s</strong></a> %3$s', admin_url( 'admin.php?page=onepager-templates&action=view&id' . $item->id ), $item->name, $this->row_actions( $actions )
            );
        }

        /**
         * Render the "cb" column
         *
         * @param  object $item
         *
         * @return string
         */
        protected function column_cb( $item ) {
            return sprintf(
                '<input type="checkbox" name="template_id" value="%d" />', $item->id
            );
        }

        /**
         * Prepare the address items
         *
         * @return void
         */
        public function prepare_items() {
            $column   = $this->get_columns();
            $hidden   = [];
            $sortable = $this->get_sortable_columns();

            $this->_column_headers = [ $column, $hidden, $sortable ];

            $per_page     = 20;
            $current_page = $this->get_pagenum();
            $offset       = ( $current_page - 1 ) * $per_page;

            $args = [
                'number' => $per_page,
                'offset' => $offset,
            ];

            if ( isset( $_REQUEST['orderby'] ) && isset( $_REQUEST['order'] ) ) {
                $args['orderby'] = $_REQUEST['orderby'];
                $args['order']   = $_REQUEST['order'] ;
            }

            $this->items = txop_fetch_user_templates( $args );

            $this->set_pagination_args( [
                'total_items' => txop_count_user_templates(),
                'per_page'    => $per_page
            ] );
        }
    }

?>

================================================
FILE: app/Admin/views/templates/template-edit.php
================================================
<?php ?>

<div class="wrap">
    <h1 class="wp-heading-inline"><?php _e('Edit', 'tx-onepager'); ?></h1>
    <a class="page-title-action" href="<?php echo admin_url('admin.php?page=onepager-templates&action=new'); ?>"><?php _('Add New', 'tx-onepager'); ?></a>
</div>

================================================
FILE: app/Admin/views/templates/template-list.php
================================================
<?php ?>

<div class="wrap">

    <h1 class="wp-heading-inline"><?php _e('All Templates', 'tx-onepager'); ?></h1>

    <a class="page-title-action" href="<?php echo admin_url('admin.php?page=onepager-templates&action=new'); ?>"><?php _e('Add New', 'tx-onepager'); ?></a>
    
    <!-- success message for import success -->
    <?php if(isset($_GET['inserted'])): ?>
        <div class="notice notice-success">
            <p><?php _e('Templated has been imported successfully', 'tx-onepager'); ?></p>
        </div>
    <?php endif; ?>

    <!-- success message for delete success -->
    <?php if(isset($_GET['template-deleted'] ) && $_GET['template-deleted'] == true): ?>
        <div class="notice notice-success">
            <p><?php _e('Templated has been deleted successfully', 'tx-onepager'); ?></p>
        </div>
    <?php endif; ?>

    <form action="" method="post">
        <?php
        require ONEPAGER_PATH . '/app/Admin/views/template-lists.php';
        $table = new TXOP_Template_Lists();
        $table->prepare_items();
        $table->search_box( 'search', 'search_id' );
        $table->display();
        ?>
    </form>

</div>

================================================
FILE: app/Admin/views/templates/template-new.php
================================================
<?php ?>

<div class="wrap">
    <h1 class="wp-heading-inline"><?php _e('Add New Template', 'tx-onepager'); ?></h1>

    <form action="" method="post" enctype="multipart/form-data">
        <table class="form-table">
            <tbody>
                <tr>
                    <th scope="row">
                        <label for="import-template-json"><?php _e( 'Upload .JSON File', 'tx-onepager' ); ?></label>
                    </th>
                    <td>
                        <!-- <input type="text" name="name" id="name" class="regular-text" value=""> -->
                        <input type="file" name="import-template-json" id="import-template-json" accept="application/json">
                    </td>
                </tr>
            </tbody>
        </table>

        <?php wp_nonce_field( 'upload-template-nonce' ); ?>
        <?php submit_button( __( 'Import Template', 'tx-onepager' ), 'primary', 'upload_template_button' ); ?>
    </form>
</div>

================================================
FILE: app/Admin/views/templates/template-view.php
================================================


================================================
FILE: app/Admin/views/templates.php
================================================
<?php

Class TXOP_Templates{

    public function handle_template_pages(){
        $action = isset( $_GET['action'] ) ? $_GET['action'] : 'list';

        switch($action){
            case 'new' : 
                $template = __DIR__ . '/templates/template-new.php';
                break;
                
            case 'edit' : 
                $template = __DIR__ . '/templates/template-edit.php';
                break;
            
            case 'view' : 
                $template = __DIR__ . '/templates/template-view.php';
                break;
            
            default : 
                $template = __DIR__ . '/templates/template-list.php';
                break;

        }
        if(file_exists($template)){
            include $template;
        }
    }
    
}

?>

================================================
FILE: app/Api/Controllers/ApiController.php
================================================
<?php namespace App\Api\Controllers;


class ApiController {
	protected $data;

	/**
	 * @param $input
	 *
	 * @return mixed
	 */
	protected function filterInput( &$input ) {
		array_walk_recursive(
			$input,
			function ( &$value ) {
				$value = stripslashes( $value );

				if ( $value === 'true' ) {
					$value = true;
				}
				if ( $value === 'false' ) {
					$value = false;
				}
			}
		);

		return $input;
	}

	/**
	 * @param $data
	 *
	 * @return $this
	 */
	private function response( $data ) {
		$this->data = $data;

		return $this;
	}

	private function send() {
		wp_send_json( $this->data );

		die();
	}

	protected function responseFailed( $data = [ ] ) {
		$response = array_merge( $data, array( 'success' => false ) );
		$this->response( $response )->send();
	}

	protected function responseSuccess( $data = [ ] ) {
		$response = array_merge( $data, array( 'success' => true ) );
		$this->response( $response )->send();
	}

}


================================================
FILE: app/Api/Controllers/BlocksApiController.php
================================================
<?php
/**
 * Created by IntelliJ IDEA.
 * User: na
 * Date: 8/18/15
 * Time: 1:20 AM
 */

namespace App\Api\Controllers;


class BlocksApiController extends ApiController {
	public function reloadBlocks() {
		$blocks = array_values( onepager()->blockManager()->all() );

		$this->responseSuccess( compact( 'blocks' ) );
	}
}


================================================
FILE: app/Api/Controllers/MenuApiController.php
================================================
<?php
/**
 * Created by IntelliJ IDEA.
 * User: na
 * Date: 8/18/15
 * Time: 12:37 AM
 */

namespace App\Api\Controllers;


class MenuApiController extends ApiController {
	public function addMenu() {
		$menuId    = array_get( $_POST, 'menuId', false );
		$itemId    = array_get( $_POST, 'itemId', false );
		$itemTitle = array_get( $_POST, 'itemTitle', false );

		onepager()
		->navigationMenu()
		->addItem( $menuId, $itemTitle, $itemId );

		$this->responseSuccess();
	}
}


================================================
FILE: app/Api/Controllers/OptionsApiController.php
================================================
<?php namespace App\Api\Controllers;

class OptionsApiController extends ApiController {
	public function saveOptions() {
		$page    = array_get( $_POST, 'page', false );
		$options = array_get( $_POST, 'options', [ ] ) ?: [ ]; // making sure its an array
		$options = $this->filterInput( $options );

		onepager()->optionsPanel( $page )->update( $options );
		onepager()->render()->mergeSectionsAndSettings();

		$sections = array_get( $_POST, 'sections', [ ] ) ?: [ ]; // making sure its an array

		if ( count( $sections ) ) {
			$sections = $this->filterInput( $sections );
			$sections = onepager()->render()->mergeSectionsBlocksSettings( $sections );
			$this->responseSuccess( compact( 'sections' ) );
		} else {
			$this->responseSuccess();
		}
	}
	public function savePageSettingsOption(){
		/**
		 * receive the requested data
		 * @page
		 * @pageID
		 * @pageOptions
		 * @sections
		 */
		$page    = array_get( $_POST, 'page', false );
		$pageID  = array_get($_POST, 'pageID', ''); 
		$pageOptions = array_get($_POST, 'options', [ ] ) ?: [ ]; 
		$pageOptions = $this->filterInput( $pageOptions );
		/**
		 * save data to db
		 */
		onepager()->optionsPanel( $page )->updatePageSettingsOption( $pageID, $pageOptions );
		/**
		 * update all pages with the sections
		 */
		onepager()->render()->mergeSectionsAndSettings();
		/**
		 * Need to check again this.
		 */
		onepager()->render()->mergeSectionsAndSettingsWithPage($pageID);

		$sections = array_get( $_POST, 'sections', [ ] ) ?: [ ]; // making sure its an array		

		if ( count( $sections ) ) {
			$sections = $this->filterInput( $sections );
			$sections = onepager()->render()->mergeSectionsBlocksSettings( $sections );
			$this->responseSuccess( compact( 'sections' ) );
		} else {
			$this->responseSuccess();
		}
	}

	public function pageSettingsOptionLive(){
		$pageId  = array_get($_POST, 'pageId', ''); 
		$pageOptions = array_get($_POST, 'options', [ ] ) ?: [ ]; 
		$pageOptions = $this->filterInput( $pageOptions );
		$sectionsId = $_POST['sectionsId']; // making sure its an array
		
		$styleArr = onepager()->render()->syncPageStyles($pageId, $pageOptions, $sectionsId);
		if($styleArr){
			$optionStyleArr = $styleArr;
			$fullScreen = $pageOptions['general']['full_screen'];
			$this->responseSuccess(compact('optionStyleArr', 'fullScreen'));
		}else{
			$this->responseSuccess('Something wend wrong. Need to check ajax request data');
		}
	}

	public function loadFullPageScript(){
		$asset = onepager()->asset();
		$asset->script( 'op-fullpage-ext-overflow', op_asset( 'assets/js/scrolloverflow.js' ) );
		$asset->script('op-fullpage', op_asset('assets/js/fullpage.js'));
		$asset->style( 'op-fullpage', op_asset( 'assets/css/fullpage.css' ) );
	}
}


================================================
FILE: app/Api/Controllers/PageApiController.php
================================================
<?php
/**
 * Created by IntelliJ IDEA.
 * User: na
 * Date: 8/18/15
 * Time: 1:22 AM
 */

namespace App\Api\Controllers;

use App\Assets\BlocksScripts;
use App\Assets\OnepageScripts;

class PageApiController extends ApiController {

	public function selectLayout() {
		$pageId = array_get( $_POST, 'pageId', false );
		$layoutId = array_get( $_POST, 'layoutId', false );

		$layouts = onepager()->presetManager()->all();
		$layout = array_find_by( $layouts, 'id', $layoutId );

		if ( $layout ) {
			onepager()->section()->save( $pageId, $layout['sections'] );
			$this->buildOnepageScripts( $layout['sections'], $pageId );
			$this->responseSuccess();
		} else {
			$this->responseFailed();
		}
	}

	/**
	 * @param $sections
	 * @param $pageId
	 */
	protected function buildOnepageScripts( $sections, $pageId ) {
		$blockScripts = new BlocksScripts();
		$onepageScripts = new OnepageScripts();

		$onepageScripts->enqueueCommonScripts();
		$onepageScripts->enqueuePageScripts();
		$blockScripts->enqueueSectionBlocks( $sections );

		if ( wp_is_writable( ONEPAGER_CACHE_DIR ) ) {
			onepager()->asset()->compilePageAssets( $pageId );
		}
	}

	public function addPage() {
		$title = array_get( $_POST, 'pageTitle', 'OnePage #' . rand( 999, 9999 ) );
		$layoutId = array_get( $_POST, 'layoutId', false );

		
		/**
		 * wp_insert_post syntax
		 * wp_insert_post($postarr, $wp_error)
		 */
		$new_page_id = wp_insert_post(
			[
				'post_title' => $title,
				'post_type' => 'page',
				'post_name' => $title,
				'comment_status' => 'closed',
				'ping_status' => 'closed',
				'post_content' => '',
				'post_status' => 'publish',
				'post_author' => get_user_by( 'id', 1 )->user_id,
				'menu_order' => 0,
				'page_template' => 'onepage.php',
				'template' => 'onepage.php',
			]
		);

		$pageId = $new_page_id;

		$layouts = onepager()->presetManager()->all();
		$layout = array_find_by( $layouts, 'id', $layoutId );

		if ( $layout ) {
			onepager()->section()->save( $pageId, $layout['sections'] );
			$this->buildOnepageScripts( $layout['sections'], $pageId );

			$response = ['success' => true, 'url' => get_site_url() . "?page_id={$pageId}&onepager=1"];
			$this->responseSuccess( $response );
		} else {
			$this->responseFailed();
		}

		// $this->responseSuccess($response);
	}
}


================================================
FILE: app/Api/Controllers/SectionsApiController.php
================================================
<?php

namespace App\Api\Controllers;

use App\Assets\BlocksScripts;
use App\Assets\OnepageScripts;

class SectionsApiController extends ApiController {

	public function saveSections() {
		$sections = array_get( $_POST, 'sections', [] ) ?: []; // making sure its an array
		$updated = array_get( $_POST, 'updated', false );
		$pageId = array_get( $_POST, 'pageId', false );

		$sections = $this->filterInput( $sections );

		if ( $pageId ) {
			onepager()->section()->save( $pageId, $sections );
			$this->buildOnepageScripts( $sections, $pageId );

			$this->responseSuccess( ['message' => 'compiled assets'] );
		} else {
			$section = array_get( $sections, $updated, false );
			$response = $this->prepareSectionWithContentAndStyle( $section );
			$this->responseSuccess( $response );
		}
	}
	/**
	 * Merge section 
	 * for saved templates
	 * while insert from popup modal
	 */
	public function mergeSections() {
		$sections = array_get( $_POST, 'sections', [] ) ?: []; // making sure its an array
		$pageId = array_get( $_POST, 'pageId', false );

		/**
		 * return only id, name slug
		 */
		// $sections = $this->filterInput( $sections );


		if ( $pageId ) {
			onepager()->section()->save( $pageId, $sections );
			$this->buildOnepageScripts( $sections, $pageId );

			$this->responseSuccess( ['message' => 'compiled assets'] );
		}
		else {
			$finalOutput = [];
			foreach ($sections as $section ) {
				$response = $this->prepareSectionWithContentAndStyle( $section );
				array_push($finalOutput, $response);
			}
			$this->responseSuccess( $finalOutput );
		}
	}

	public function getSections() {
		$pageId = array_get( $_POST, 'pageId', false );

		if ( ! $pageId ) {
			$this->responseFailed();
		}

		$sections = onepager()->section()->getAllValid( $pageId );
		$this->responseSuccess( compact( 'sections' ) );
	}
	/**
	 * save layout from builder
	 */
	public function saveLayout() {
		$name = array_get( $_POST, 'name', false );
		$type = array_get( $_POST, 'type', false );
		$pageID = array_get( $_POST, 'pageID', false );

		if ( ! $pageID ) {
			$this->responseFailed();
		}

		$sections = onepager()->section()->getAllValid( $pageID );
		if(empty($sections)){
			$this->responseFailed(['message' => 'Page contains no sections to save']);
		}
		$data = serialize($sections);
		
		$insert_id = txop_insert_user_templates([
            'name'      => $name,
            'type'      => $type,
            'data'      => $data
		]);
		$inserted_data = txop_fetch_single_templates([
			'id' => $insert_id
		]);
		$unserialize_data = unserialize($inserted_data[0]->data);
		$inserted_data[0]->data = $unserialize_data;

		$this->responseSuccess( compact('insert_id', 'inserted_data') );
	}
	/**
	 * delete layout from builder
	 */
	public function deleteLayout() {
		$id = array_get( $_POST, 'id', false );
		$name = array_get( $_POST, 'name', false );
		$type = array_get( $_POST, 'type', false );

		if ( ! $id ) {
			$this->responseFailed();
		}
		/**
		 * check if the id exist
		 */
		$check_the_data = txop_fetch_single_templates([
			'id' => $id
		]);
		if($name == $check_the_data[0]->name){
			$delete_status = txop_delete_template($id);
			$this->responseSuccess( compact('delete_status') );
		}else{
			$mismatc_message = 'ID not matched';
			$this->responseFailed( compact('mismatc_message') );
		}
	}
	/**
	 * import layout from builder
	 */
	public function importLayout() {
		$json_data = array_get( $_POST, 'data', false );

		$name = array_key_exists('name', $json_data) ? sanitize_text_field($json_data['name']) : 'template';
        $type = array_key_exists('type', $json_data) ? sanitize_text_field($json_data['type']) : 'page';
		$data = serialize($json_data['sections']);

		$insert_id = txop_insert_user_templates([
            'name'      => $name,
            'type'      => $type,
            'data'      => $data
		]);
		$inserted_data = txop_fetch_single_templates([
			'id' => $insert_id
		]);
		$unserialize_data = unserialize($inserted_data[0]->data);
		$inserted_data[0]->data = $unserialize_data;
		
		$this->responseSuccess( compact('insert_id', 'inserted_data') );
		
	}

	public function reloadSections() {
		$sections = array_get( $_POST, 'sections', [] ) ?: []; // making sure its an array

		$sections = $this->filterInput( $sections );

		$sections = $this->prepareSectionsWithContentAndStyle( $sections );
		$this->responseSuccess( compact( 'sections' ) );
	}

	/**
	 * @param $sections
	 *
	 * @return array
	 */
	protected function prepareSectionsWithContentAndStyle( $sections ) {
		$sections = array_map(
			function ( $section ) {
				return $this->prepareSectionWithContentAndStyle( $section );
			},
			$sections
		);

		return $sections;
	}

	/**
	 * @param $section
	 *
	 * @return mixed
	 */
	protected function prepareSectionWithContentAndStyle( $section ) {
		$render = onepager()->render();

		$section = $render->sectionBlockDataMerge( $section );
		$section['content'] = $render->section( $section );
		$section['style'] = $render->style( $section );

		return $section;
	}

	/**
	 * @param $sections
	 * @param $pageId
	 */
	protected function buildOnepageScripts( $sections, $pageId ) {
		$blockScripts = new BlocksScripts();
		$onepageScripts = new OnepageScripts();

		$onepageScripts->enqueueCommonScripts();
		$onepageScripts->enqueuePageScripts();
		$blockScripts->enqueueSectionBlocks( $sections );

		if ( wp_is_writable( ONEPAGER_CACHE_DIR ) ) {
			onepager()->asset()->compilePageAssets( $pageId );
		}
	}
}


================================================
FILE: app/Api/routes.php
================================================
<?php
use ThemeXpert\Providers\WordPress\Api;

if ( is_admin() && defined( 'DOING_AJAX' ) && DOING_AJAX ) {
	$apiRouter = new Api();
	$apiRouter->post( 'onepager_save_options', 'App\Api\Controllers\OptionsApiController@saveOptions' );
	$apiRouter->post( 'onepager_save_page_settings', 'App\Api\Controllers\OptionsApiController@savePageSettingsOption' );
	$apiRouter->post( 'onepager_save_page_settings_live', 'App\Api\Controllers\OptionsApiController@pageSettingsOptionLive' );
	$apiRouter->post( 'onepager_add_menu', 'App\Api\Controllers\MenuApiController@addMenu' );

	$apiRouter->post( 'onepager_save_sections', 'App\Api\Controllers\SectionsApiController@saveSections' );
	$apiRouter->post( 'onepager_merge_sections', 'App\Api\Controllers\SectionsApiController@mergeSections' );
	$apiRouter->post( 'onepager_get_sections', 'App\Api\Controllers\SectionsApiController@getSections' );
	$apiRouter->post( 'onepager_import_layout', 'App\Api\Controllers\SectionsApiController@importLayout' );
	$apiRouter->post( 'onepager_save_layout', 'App\Api\Controllers\SectionsApiController@saveLayout' );
	$apiRouter->post( 'onepager_delete_layout', 'App\Api\Controllers\SectionsApiController@deleteLayout' );
	$apiRouter->post( 'onepager_reload_sections', 'App\Api\Controllers\SectionsApiController@reloadSections' );

	$apiRouter->post( 'onepager_reload_blocks', 'App\Api\Controllers\BlocksApiController@reloadBlocks' );

	$apiRouter->post( 'onepager_select_layout', 'App\Api\Controllers\PageApiController@selectLayout' );
	$apiRouter->post( 'onepager_add_page', 'App\Api\Controllers\PageApiController@addPage' );
}


================================================
FILE: app/Application.php
================================================
<?php namespace App;

use App\Assets\BlocksScripts;
use App\Assets\BuildModeScripts;
use App\Assets\OnepageScripts;
use App\Assets\PreviewScripts;
use App\Assets\WpConflictResolver;
use App\Content\OnepageContent;
use App\Content\OnepageInternalScripts;
use App\Content\OnepageToolbar;
use App\Loaders\BlocksLoader;
use App\Loaders\PresetsLoader;
use App\Loaders\TemplateLoader;
use ThemeXpert\WordPress\PageTemplater;

class Application {
	protected $onepager;

	public function __construct( $onepager ) {
		$this->onepager = $onepager;

		$this->init_loaders();

		if ( is_admin() ) {
			return;
		}

		/**
		 * We do not want them to be loaded when in dashboard
		 */
		$this->enqueue_assets();
		$this->inject_page_contents();

		// if(!$this->isCacheDirWritable()){
		// add_action( 'admin_notices', [$this, 'cache_dir_notice'] );
		// }
	}

	public function cache_dir_notice() {
		?>
	<div class="error">
	  <p>'<?php echo ONEPAGER_CACHE_DIR; ?>' is used to store compiled assets.
		But its not writable by server.
		Making it writable will increase the performance of your website</p>
	</div>
		<?php
	}

	protected function enqueue_assets() {
		new WpConflictResolver();
		new OnepageScripts();
		new BlocksScripts();
		new BuildModeScripts();
		new PreviewScripts();

		add_action( 'wp_enqueue_scripts', [ $this, 'compile_assets' ], 1000 );
	}

	public function compile_assets() {
		if ( is_search() ) {
			return;
		}

		if ( $this->shouldCompileScripts() ) {
			$page_id = $this->getCurrentPageId();
			$this->onepager->asset()->compileScriptsAndEnqueue( $page_id );
		} else {
			$this->onepager->asset()->enqueue();
		}
	}

	protected function inject_page_contents() {
		new OnepageToolbar();
		new OnepageContent();
		new OnepageInternalScripts();
	}

	protected function init_loaders() {
		$presetManager       = $this->getPresetManager();
		new PresetsLoader( $presetManager );

		$pageTemplateManager = new PageTemplater();
		new TemplateLoader( $pageTemplateManager );

		/** No need to load them in dashboard */
		if ( is_admin() && ! ( defined( 'DOING_AJAX' ) && DOING_AJAX ) ) {
			return;
		}
		$blockManager        = $this->getBlockManager();
		new BlocksLoader( $blockManager );
	}

	/**
	 * @return mixed
	 */
	protected function getCurrentPageId() {
		return $this->onepager->content()->getCurrentPageId();
	}

	/**
	 * @return mixed
	 */
	protected function getBlockManager() {
		return $this->onepager->blockManager();
	}

	/**
	 * @return mixed
	 */
	protected function getPresetManager() {
		return $this->onepager->presetManager();
	}

	/**
	 * @return bool
	 */
	private function shouldCompileScripts() {
		return $this->onepager->content()->isBuildMode() || $this->onepager->content()->isPreview() ?
		false : ! $this->isDebugMode() && $this->isCacheDirWritable();
	}

	private function isCacheDirWritable() {
		return wp_is_writable( ONEPAGER_CACHE_DIR );
	}

	/**
	 * @return bool
	 */
	private function isDebugMode() {
		return ( defined( 'ONEPAGER_DEBUG' ) && ONEPAGER_DEBUG ) || \Onepager::getOption( 'onepager_debug', false );
	}
}


================================================
FILE: app/Assets/BlocksScripts.php
================================================
<?php namespace App\Assets;

use ThemeXpert\FileSystem\FileSystem;

class BlocksScripts {
  public function __construct() {
    add_action( 'wp_enqueue_scripts', [ $this, 'enqueue' ] );
  }

  public function enqueue() {
    if ( $this->isPreview() ) {
      $this->enqueueAllBlocksScripts();
    } else if ( $this->isBuildMode() ) {

    } else {
      $pageId   = $this->getCurrentPageId();
      $sections = $this->getAllValidSections( $pageId );

      $this->enqueueSectionBlocks( $sections );
    }
  }
  /**
   * convert sections from user save templates
   */
  public function convertSavedSections($sections){
    $blocks = $this->getBlocksFromUsedSections( $sections );
    return $blocks;
  }

  public function enqueueSectionBlocks( $sections ) {
    $blocks = $this->getBlocksFromUsedSections( $sections );

    $this->enqueueBlocksScripts( $blocks );
  }

  protected function enqueueAllBlocksScripts() {
    $blocks = (array) onepager()->blockManager()->all();

    $this->enqueueBlocksScripts( $blocks );
  }

  protected function getBlocksFromUsedSections( $sections ) {
    $blockSlugs = array_unique( array_map( function ( $section ) {
      return $section['slug'];
    }, $sections ) );

    return array_filter( array_map( function ( $blockSlug ) {
      $block = onepager()->blockManager()->get( $blockSlug );

      return $block ?: false;
    }, $blockSlugs ) );
  }

  protected function enqueueBlocksScripts( $blocks ) {
    array_walk( $blocks, [ $this, 'enqueueBlockScripts' ] );
  }

  protected function enqueueBlockScripts( $block ) {
    $enqueueCb = $block['enqueue'];

    if ( ! $enqueueCb ) {
      return;
    }

    $blockUrl = $block['url'];

    $enqueueCb( $blockUrl );
    $this->enqueueBlockCss( $block, $blockUrl );
  }

  /**
   * @return mixed
   */
  protected function isPreview() {
    return onepager()->content()->isPreview();
  }

  /**
   * @return mixed
   */
  protected function getCurrentPageId() {
    return onepager()->content()->getCurrentPageId();
  }

  /**
   * @param $pageId
   *
   * @return mixed
   */
  protected function getAllValidSections( $pageId ) {
    return onepager()->section()->getAllValid( $pageId );
  }

  private function isBuildMode() {
    return onepager()->content()->isBuildMode();
  }

  /**
   * @param $block
   * @param $blockUrl
   */
  protected function enqueueBlockCss( $block, $blockUrl ) {
    $blockCssFileOverride = locate_template( 'onepager/overrides/' . $block['slug'] . '/block.css' );
    $blockCssFileCore     = $block['dir'] . 'block.css';

    if ( FileSystem::exists( $blockCssFileOverride ) ) {
      $name = $block['slug'] . "-block";
      $url  = get_template_directory_uri() . "/onepager/overrides/" . $block['slug'] . "/block.css";

      onepager()->asset()->style( $name, $url );
    } else {
      if ( FileSystem::exists( $blockCssFileCore ) ) {
        $name = $block['slug'] . "-block";
        $url  = $blockUrl . "/block.css";

        onepager()->asset()->style( $name, $url );
      }
    }
  }

}


================================================
FILE: app/Assets/BuildModeScripts.php
================================================
<?php

namespace App\Assets;

use App\Assets\Traits\FormEngineScripts;

class BuildModeScripts
{
    use FormEngineScripts;

    public function __construct()
    {
        add_action('wp_enqueue_scripts', [$this, 'enqueueScripts'], 999999);
        add_action('wp_enqueue_scripts', function () {
            if (!$this->isBuildMode()) {
                return;
            }
            onepager()->asset()->enqueue();
        }, 1000000);
    }
    public function enqueueScripts()
    {
        if (!$this->isBuildMode()) {
            return;
        }
        $this->resetWpScriptQueue();
        $this->enqueueFormEngineScripts();
        $this->enqueueInitializerScript();
    }
    protected function enqueueInitializerScript()
    {
        $asset = onepager()->asset();
        $pageId = $this->getCurrentPageId();
        $data = $this->localizeScriptData($pageId);

        $asset->script('onepager', op_asset('assets/onepager-builder.bundle.js'), ['jquery'], ONEPAGER_VERSION, false);
        $asset->localizeScript('onepager', $data, 'onepager');
    }

    public function localizeScriptData($pageId)
    {
        $pageInfo = [];
        $pageInfo['title'] = get_the_title($pageId);
        $pageInfo['status'] = get_post_status($pageId);

        $onepager = onepager();

        $opi18n = onepager()->opi18n()->get_opi18n_strings();
        $pagePresets = onepager()->presetManager()->all();
        $footer = get_editor_section_list_footer();
        $ajaxUrl = $onepager->api()->getAjaxUrl();
        $getUpdatePlugins = $onepager->api()->getUpdatePlugins();
        $pluginUpdateUrl = get_admin_url(). 'plugins.php';
        $menus = $onepager->content()->getMenus();
        $categories = $onepager->content()->getCategories();
        $pages = $onepager->content()->getPages();
        $blocks = array_values((array) $onepager->blockManager()->all());
        $groupOrder = $onepager->blockManager()->getGroupOrder();
        // $savedTemplates = $onepager->templatesManager()->getAllSavedTemplates();
        $savedTemplates = $onepager->savedTemplates()->loadAllSavedTemplates();
        $woocategories = $onepager->content()->getWooCategories();

        $sections = array_map(function ($section) {
            $pageId = $this->getCurrentPageId();
            $pageOptionPanel = onepager()->optionsPanel('onepager')->getAllSavedPageOptions($pageId);

            $section = onepager()->render()->sectionBlockDataMerge($section);
            $section['content'] = onepager()->render()->section($section);
            $section['style'] = onepager()->render()->style($section);
            $section['page_style'] = onepager()->render()->pageStyle($section, $pageId, $pageOptionPanel);

            return $section;
        }, onepager()->section()->getAllValid($pageId));

        $disableBuildModeUrl = onepager_get_edit_mode_url(get_current_page_url(), false);
        $preview_link = get_preview_post_link($this->getCurrentPageId());

        $optionPanel = onepager()->optionsPanel('onepager')->getOptionsControls();
        $pageOptionPanel = onepager()->optionsPanel('onepager')->getPageOptionsControls($pageId);
        $options = onepager()->optionsPanel('onepager')->getAllSavedOptions();
        $pageSettingOptions = onepager()->optionsPanel('onepager')->getAllSavedPageOptions($pageId);
        $page = 'onepager';
        $dashboardUrl = get_dashboard_url().'edit.php?post_type=page';
        $onepagerProLoaded = did_action( 'onepager_pro_loaded' ) ? true : false;
        $proUpgradeLink = 'https://themesgrove.com/wp-onepager/?utm_source=wp-admin&utm_medium=dashboard&utm_campaign=wponepager-gopro';
        $presets = \Onepager::getPresets();
        $basePreset = \Onepager::getBasePreset();
        $assetUrl = ONEPAGER_URL . '/assets';
        return compact(
            'ajaxUrl',
            'pageInfo',
            'disableBuildModeUrl',
            'optionPanel',
            'pageOptionPanel',
            'options',
            'pageSettingOptions',
            'page',
            'blocks',
            'pageId',
            'sections',
            'menus',
            'pages',
            'categories',
            'groupOrder',
            'footer',
            'presets',
            'basePreset',
            'woocategories',
            'dashboardUrl',
            'onepagerProLoaded',
            'proUpgradeLink',
            'getUpdatePlugins',
            'pluginUpdateUrl',
            'preview_link',
            'savedTemplates',
            'pagePresets',
            'opi18n',
            'assetUrl'
        );
    }

    /**
     * @return mixed
     */
    protected function isBuildMode()
    {
        return onepager()->content()->isBuildMode();
    }

    /**
     * @return mixed
     */
    protected function getCurrentPageId()
    {
        return onepager()->content()->getCurrentPageId();
    }

    private function resetWpScriptQueue()
    {
        wp_scripts()->queue = [];
        wp_styles()->queue = [];
    }
}


================================================
FILE: app/Assets/OnepageScripts.php
================================================
<?php

namespace App\Assets;

class OnepageScripts
{
    public function __construct()
    {
        add_action('wp_enqueue_scripts', [$this, 'enqueueScripts']);
    }

    public function enqueueScripts()
    {
        if (!onepager()->content()->isOnepage() || onepager()->content()->isBuildMode()) {
            return;
        }

        $this->enqueueCommonScripts();
        $this->enqueuePageScripts();
    }

    public function enqueuePageScripts()
    {
        $asset = onepager()->asset();

        $asset->script('lithium', op_asset('assets/lithium.js'), ['jquery']);
        $asset->style('lithium', op_asset('assets/css/lithium.css'));

        if (is_super_admin() && !onepager()->content()->isBuildMode()) {
            $asset->style('lithium-ui', op_asset('assets/css/lithium-builder.css'));
        }
    }

    public function enqueueCommonScripts()
    {
        $asset = onepager()->asset();

        // $asset->script( 'tx-wow', op_asset( 'assets/js/wow.js' ), [ 'jquery' ] );

        // if ( $this->shouldLoadTwitterBootstrap() ) {
        //   $asset->script( 'tx-bootstrap', op_asset( 'assets/js/bootstrap.js' ), [ 'jquery' ] );
        //   $asset->style( 'tx-bootstrap', op_asset( 'assets/css/bootstrap.css' ) );
        // }

        // $asset->style( 'tx-animate', op_asset( 'assets/css/animate.css' ) );
        $asset->style('tx-fontawesome', op_asset('assets/css/font-awesome.css'));

        // Load UIKit
        $asset->script('op-uikit', op_asset('assets/js/uikit.js'));
        $asset->style('op-uikit', op_asset('assets/css/uikit.css'));
          // Load bootstrap datepicker
        $asset->script('op-bootstrap-datepicker', op_asset('assets/js/bootstrap-datepicker.js'));
        $asset->style('op-bootstrap-datepicker', op_asset('assets/css/bootstrap-datepicker.css'));

        // // Load bootstrap timepicker
        $asset->script('op-bootstrap-timepicker', op_asset('assets/js/bootstrap-timepicker.js'));
        $asset->style('op-bootstrap-timepicker', op_asset('assets/css/bootstrap-timepicker.css'));

        // $asset->script('op-google-fonts', 'https://ajax.googleapis.com/ajax/libs/webfont/1.6.26/webfont.js');
        wp_enqueue_script('op-gfonts','//ajax.googleapis.com/ajax/libs/webfont/1.6.26/webfont.js');
    }

    // protected function shouldLoadTwitterBootstrap() {
  //   return ! defined( 'ONEPAGER_BOOTSTRAP' ) ? true : ONEPAGER_BOOTSTRAP;
  // }
}


================================================
FILE: app/Assets/OptionsPanelScripts.php
================================================
<?php namespace App\Assets;

use App\Assets\Traits\FormEngineScripts;

class OptionsPanelScripts {
  use FormEngineScripts;

  public function enqueue() {
    $this->enqueueFormEngineScripts();

    $asset = onepager()->asset();
    $asset->style( 'lithium-ui', op_asset( 'assets/css/lithium-builder.css' ) );
    $asset->script( 'admin-bundle', op_asset( 'assets/optionspanel.bundle.js' ), [ 'jquery' ] );
    $asset->enqueue();
  }
}


================================================
FILE: app/Assets/PreviewScripts.php
================================================
<?php

namespace App\Assets;

class PreviewScripts
{
    public function __construct()
    {
        add_action('wp_enqueue_scripts', [$this, 'enqueue']);
    }

    public function enqueue()
    {
        $asset = onepager()->asset();

        if (!$this->isPreview()) {
            return;
        }

        $asset->script('onepager-preview', op_asset('assets/onepager-preview.bundle.js'), ['jquery']);
    }

    /**
     * @return mixed
     */
    protected function isPreview()
    {
        return onepager()->content()->isPreview();
    }
}


================================================
FILE: app/Assets/Traits/FormEngineScripts.php
================================================
<?php

namespace App\Assets\Traits;

use _WP_Editors;

trait FormEngineScripts
{
    public function enqueueFormEngineScripts()
    {
        $this->jsWpEditor();
        $this->formEngineScripts();

        wp_enqueue_media();
    }

    protected function formEngineScripts()
    {
        $asset = onepager()->asset();

        // tx namespaced assets to avoid multiple assets loading from other ThemeXpert product
        $asset->style('tx-bootstrap', op_asset('assets/css/bootstrap.css'));
        $asset->style('tx-fontawesome', op_asset('assets/css/font-awesome.css'));

        $asset->script('tx-bootstrap', op_asset('assets/js/bootstrap.js'), ['jquery'], ONEPAGER_VERSION, false);
        $asset->script('tx-bootstrap-switch', op_asset('assets/js/bootstrap-switch.js'), ['jquery'], ONEPAGER_VERSION, false);
        $asset->script('tx-bootstrap-select', op_asset('assets/js/bootstrap-select.js'), ['jquery'], ONEPAGER_VERSION, false);
        $asset->script('tx-iconselector', op_asset('assets/js/icon-selector-bootstrap.js'), ['jquery'], ONEPAGER_VERSION, false);
        $asset->script('tx-colorpicker', op_asset('assets/js/bootstrap-colorpicker.js'), ['jquery'], ONEPAGER_VERSION, false);
        //$asset->script('tx-nicescroll', op_asset('assets/js/jquery.nicescroll.min.js'), ['jquery'], ONEPAGER_VERSION, false);
        $asset->script('tx-toastr', op_asset('assets/js/toastr.js'), ['jquery'], ONEPAGER_VERSION, false);

        $asset->style('tx-colorpicker', op_asset('assets/css/bootstrap-colorpicker.css'));

        // UIKit
        $asset->style('op-uikit', op_asset('assets/css/uikit.css'));
        $asset->script('op-uikit', op_asset('assets/js/uikit.js'), '', ONEPAGER_VERSION, false);

        // bootstrap datepicker
        $asset->style('op-bootstrap-datepicker', op_asset('assets/css/bootstrap-datepicker.css'));
        $asset->script('op-bootstrap-datepicker', op_asset('assets/js/bootstrap-datepicker.js'), '', ONEPAGER_VERSION, false);

        // bootstrap timepicker
        $asset->style('op-bootstrap-timepicker', op_asset('assets/css/bootstrap-timepicker.css'));
        $asset->script('op-bootstrap-timepicker', op_asset('assets/js/bootstrap-timepicker.js'), '', ONEPAGER_VERSION, false);

        $asset->script('op-uikit-icons', op_asset('assets/js/uikit-icons.js'), '', ONEPAGER_VERSION, false);
        // $asset->script('op-google-fonts', 'https://ajax.googleapis.com/ajax/libs/webfont/1.6.26/webfont.js', '', ONEPAGER_VERSION, false);

        wp_enqueue_script('op-gfonts','//ajax.googleapis.com/ajax/libs/webfont/1.6.26/webfont.js');
        $asset->style('tx-lithium-ui', op_asset('assets/css/lithium-builder.css'));
    }

    protected function jsWpEditor($settings = [])
    {
        if (!class_exists('_WP_Editors')) {
            require ABSPATH . WPINC . '/class-wp-editor.php';
        }

        $set = _WP_Editors::parse_settings('apid', $settings);
        if (!current_user_can('upload_files')) {
            $set['media_buttons'] = false;
        }
        if ($set['media_buttons']) {
            wp_enqueue_script('thickbox');
            wp_enqueue_style('thickbox');
            wp_enqueue_script('media-upload');
            $post = get_post();
            if (!$post && !empty($GLOBALS['post_ID'])) {
                $post = $GLOBALS['post_ID'];
            }
            wp_enqueue_media([
                'post' => $post,
            ]);
        }
        _WP_Editors::editor_settings('apid', $set);
    }
}


================================================
FILE: app/Assets/WpConflictResolver.php
================================================
<?php namespace App\Assets;

class WpConflictResolver {
  public function __construct() {
    add_action('wp', [$this, 'remove_sumome']);
    add_action( 'wp_enqueue_scripts', [ $this, 'dequeue_default_template_stylesheet' ], 999 );
  }

  public function dequeue_default_template_stylesheet() {

    if ( get_theme_support( 'onepager' ) ) {
      return;
    }

    if ( ! onepager()->content()->isOnepage() ) {
      return;
    }

    global $wp_styles;
    
    
    if( method_exists($wp_styles, 'remove') )
    {
      $wp_styles->remove( get_default_template_stylesheet_handle() );
      if(onepager()->content()->isOnepagerDefaultPageTemplate()){
        $wp_styles->add('theme-default-stylesheet', get_stylesheet_uri() );
        $wp_styles->enqueue(array('theme-default-stylesheet'));
      }
    }
  }

  public function remove_sumome(){
    if ( onepager()->content()->isBuildMode() ||  onepager()->content()->isPreview()) {     
      global $wp_plugin_sumome;
      remove_action('wp_head', [$wp_plugin_sumome, 'append_script_code']);
    }
  }
}


================================================
FILE: app/Content/OnepageContent.php
================================================
<?php namespace App\Content;

class OnepageContent {
	public function __construct() {
		add_action(
			'wp_head',
			function () {
				wp_reset_query();
				add_filter( 'the_content', [ $this, 'injectPageContent' ] );
			},
			999
		);
	}

	public function injectPageContent( $content ) {
		if ( ! $this->isOnepage() ) {
			return $content;
		}

		if ( $this->onepageContentLoaded() ) {
			return $content;
		}

		$this->setOnepageContentLoaded();

		/**
		 * builder preview mode
		 */
		if ( $this->isPreview() ) {
			return $this->getBuildModeContent();
		}

		$pageId = $this->getCurrentPageId();
		//$this->renderPageSettings($pageId);
		/**
		 * return the frontend preview 
		 * without builder mode 
		 */
		return $this->getPageContent( $pageId );
	}

	protected function getBuildModeContent() {
		return '<div class="wrap"> <div id="onepager-preview"></div> </div>';
	}

	protected function getPageContent( $pageId ) {
		$sections = $this->getAllValidSections( $pageId );

		return $this->renderPageSections( $sections );
	}

	protected function onepageContentLoaded() {
		return defined( 'ONEPAGE_CONTENT_LOADED' );
	}

	protected function setOnepageContentLoaded() {
		define( 'ONEPAGE_CONTENT_LOADED', true );
	}

	/**
	 * @return boolean
	 */
	protected function isPreview() {
		return onepager()->content()->isPreview();
	}

	/**
	 * @return mixed
	 */
	protected function getCurrentPageId() {
		return onepager()->content()->getCurrentPageId();
	}

	/**
	 * @return mixed
	 */
	protected function isOnepage() {
		return onepager()->content()->isOnepage();
	}

	/**
	 * @param $pageId
	 *
	 * @return mixed
	 */
	protected function getAllValidSections( $pageId ) {
		return onepager()->section()->getAllValid( $pageId );
	}

	/**
	 * @param $sections
	 *
	 * @return mixed
	 */
	protected function renderPageSections( $sections ) {
		return onepager()->render()->sections( $sections );
	}
	/**
	 * @param $sections
	 *
	 * @return mixed
	 */
	protected function renderPageSettings( $pageId ) {
		$sections = $this->getAllValidSections( $pageId );
		return onepager()->render()->syncPageSettingsWithSection( $pageId, $sections );
	}
}


================================================
FILE: app/Content/OnepageInternalScripts.php
================================================
<?php namespace App\Content;

class OnepageInternalScripts {
	public function __construct() {
		add_action( 'wp_head', [ $this, 'injectInternalScripts' ] );
		add_filter( 'body_class', [ $this, 'injectBodyClass' ] );
		add_action( 'wp_enqueue_scripts', [ $this, 'enqueue_page_scripts' ] );
	}
	/**
	 * enqueue full page scripts 
	 * for preview mode. 
	 * Need to fix for build mode.
	 */
	public function enqueue_page_scripts(){
		if ( ! $this->isOnepage() || $this->isBuildMode() ) {
			return;
		}
		$pageId   = $this->getCurrentPageId();
		$sections = $this->getAllValidSectionsFromPageId( $pageId );
		$pageOptionPanel = $this->getPageOptionPanelFromPageId( $pageId );
		$page_settings_general = $pageOptionPanel['general'];
		$full_page_status = array_get($page_settings_general, 'full_screen');
		
		if($full_page_status){
			if(! onepager()->content()->isPreview()):
			wp_enqueue_script('op-full-page-ext-overflow', op_asset( 'assets/js/scrolloverflow.js' ), 'jquery', time());
			wp_enqueue_script('op-full-page', op_asset('assets/js/fullpage.js'), 'jquery', time());
			wp_enqueue_style('op-full-page', op_asset( 'assets/css/fullpage.css' ), '', time());
			endif;
		}
        
	}
	/**
	 * create an array 
	 * for section ID 
	 * from all sections
	 */
	public function full_page_section_id_arr($sections){
		$sections_arr = [];
		foreach($sections as $section){
			array_push($sections_arr, $section['id']);
		}
		return $sections_arr;
	}
	/**
	 * create an array
	 * for section title 
	 * from all sections
	 */
	public function full_page_section_name_arr($sections){
		$sections_name_arr = [];
		foreach($sections as $section){
			array_push($sections_name_arr, $section['title']);
		}
		return $sections_name_arr;
	}

	public function injectInternalScripts() {
		if ( ! $this->isOnepage() || $this->isBuildMode() ) {
			return;
		}

		$pageId   = $this->getCurrentPageId();
		$sections = $this->getAllValidSectionsFromPageId( $pageId );
		$pageOptionPanel = $this->getPageOptionPanelFromPageId( $pageId );

		$this->renderStylesFromSections( $sections );
		$this->renderStylesForPageSettings(  $sections, $pageId, $pageOptionPanel );
		$this->loadPageFonts( $pageOptionPanel );

		/**
		 * for full page script
		 * need to fix it for build mode. 
		 * preview mode is ok. 
		 */
		$page_settings_general = $pageOptionPanel['general'];
		$full_page_status = array_get($page_settings_general, 'full_screen');
		$fullpage_section_ids_arr = $this->full_page_section_id_arr($sections);
		$fullpage_section_name_arr = $this->full_page_section_name_arr($sections);
		
		if(onepager()->content()->isPreview()):
			if($full_page_status):
		?>
		
				<script>
					jQuery(document).ready(function ($) {
						$("#fullpage").fullpage({
							sectionSelector: ".op-section-view",
							anchors: <?php print(json_encode($fullpage_section_ids_arr)); ?>,
							css3: true,
							navigation: true,
							scrollOverflow: false,
							lazyLoading: false,
							navigationTooltips: <?php print(json_encode($fullpage_section_ids_arr)); ?>,
						});
					});
				</script>
		<?php
			endif;
		else:
			if($full_page_status):
			?>
				<script>
					jQuery(document).ready(function ($) {
						$(".op-sections").fullpage({
							sectionSelector: ".fp-section",
							anchors: <?php print(json_encode($fullpage_section_ids_arr)); ?>,
							css3: true,
							navigation: true,
							scrollOverflow: false,
							lazyLoading: false,
							navigationTooltips: <?php print(json_encode($fullpage_section_name_arr)); ?>,


							afterLoad: function(origin, destination, direction){
								UIkit.scrollspy('#' + destination.item.id + ' [uk-scrollspy]', {inview: true, outview: true});
							}
						});
					});
				</script>
			<?php 
			endif;
		endif;

	}
	/**
	 * Load fonts for page settings option panel
	 */
	public function loadPageFonts($pageOptionPanel){
		$option_panel_general = $pageOptionPanel['general'];
		$section_heading_font = $option_panel_general['section_heading_font']; 
		\Onepager::fonts($section_heading_font);
	}
	/**
	 * add onepager class to body 
	 * for frontend view. 
	 */
	public function injectBodyClass($classes){
		$pageId   = $this->getCurrentPageId();
		$classes[] = 'txop-page-'.$pageId;
		return $classes;
	}

	/**
	 * @return mixed
	 */
	protected function isBuildMode() {
		return onepager()->content()->isBuildMode();
	}

	/**
	 * @return mixed
	 */
	protected function isOnepage() {
		return onepager()->content()->isOnepage();
	}

	/**
	 * @return mixed
	 */
	protected function getCurrentPageId() {
		return onepager()->content()->getCurrentPageId();
	}

	/**
	 * @param $pageId
	 *
	 * @return mixed
	 */
	protected function getAllValidSectionsFromPageId( $pageId ) {
		return onepager()->section()->getAllValid( $pageId );
	}
	/**
	 * @return page option panel data
	 */
	protected function getPageOptionPanelFromPageId($pageId){
		$pageOptionPanelData = onepager()->optionsPanel('onepager')->getAllSavedPageOptions($pageId);
		return $pageOptionPanelData;
	}

	/**
	 * @param $sections
	 */
	protected function renderStylesFromSections( $sections ) {
		onepager()->render()->styles( $sections );
	}
	/**
	 * @param $pageId
	 * @param $sections
	 * @param $pageOptionPanel
	 */
	protected function renderStylesForPageSettings( $sections, $pageId, $pageOptionPanel ) {
		onepager()->render()->pageStyles( $sections, $pageId, $pageOptionPanel );
	}
}


================================================
FILE: app/Content/OnepageToolbar.php
================================================
<?php namespace App\Content;

class OnepageToolbar {
	public function __construct() {
		add_action( 'wp', [ $this, 'addToolbar' ] );
	}

	function addToolbar() {
		$isOnepage   = onepager()->content()->isOnepage();
		$isPreview   = onepager()->content()->isPreview();
		$isBuildMode = onepager()->content()->isBuildMode();

		if ( $isOnepage && ! $isPreview ) {
			$url = onepager_get_edit_mode_url( get_current_page_url(), true );

			onepager()->toolbar()->addMenu(
				'op-enable-livemode',
				$url,
				'<span class="fa fa-circle"></span> Edit with Onepager'
			);
		}

		// hide the navbar when livemode
		if ( $isPreview || $isBuildMode ) {
			show_admin_bar( false );
		}
	}
}


================================================
FILE: app/Loaders/BlocksLoader.php
================================================
<?php namespace App\Loaders;

use ThemeXpert\Onepager\Block\BlockManager;

class BlocksLoader {
	protected $blockManager;

	public function __construct( BlockManager $blockManager ) {
		$this->blockManager = $blockManager;
		add_action( 'init', [ $this, 'loadOnepagerBlocks' ], 999 );
		add_action( 'init', [ $this, 'loadThemeBlocks' ], 999 );
		add_action( 'init', [ $this, 'setGroupOrder' ], 999 );
	}

	public function loadOnepagerBlocks() {
		// default group added to the blocks (optional array)
		$groups = 'Core Blocks';

		$this->blockManager->loadAllFromPath(
			ONEPAGER_BLOCKS_PATH,
			ONEPAGER_BLOCKS_URL,
			$groups
		);
	}

	public function loadThemeBlocks() {
		// default group added to the blocks (optional array)
		$groups = [ $this->getCurrentThemeBlocksGroup() ];

		$dir = ONEPAGER_THEME_PATH . '/blocks';
		$url = ONEPAGER_THEME_URL . '/blocks';

		if ( ! file_exists( $dir ) ) {
			return;
		}

		$this->blockManager->loadAllFromPath( $dir, $url, $groups );
	}

	public function setGroupOrder() {
		$order = array(
			$this->getCurrentThemeBlocksGroup(),
		);

		// FIXME: need a way to filter it
		$this->blockManager->setGroupOrder( $order );
	}

	/**
	 * @return string
	 */
	private function getCurrentThemeBlocksGroup() {
		$currentTheme = wp_get_theme();

		return $currentTheme->get( 'Name' ) . ' (theme)';
	}
}


================================================
FILE: app/Loaders/PresetsLoader.php
================================================
<?php namespace App\Loaders;


class PresetsLoader {
	protected $presetManager;

	public function __construct( $presetManager ) {
		$this->presetManager = $presetManager;

		add_action( 'admin_init', [ $this, 'onepagerPresetsLoader' ] );
		add_action( 'admin_init', [ $this, 'themePresetsLoader' ] );
	}

	public function onepagerPresetsLoader() {
		$groups = 'Free';

		$this->presetManager->loadAllFromPath(
			ONEPAGER_PRESETS_PATH,
			ONEPAGER_PRESETS_URL,
			$groups
		);
	}

	public function themePresetsLoader() {
		$groups = [ $this->getCurrentThemePresetsGroup() ];

		$dir = ONEPAGER_THEME_PATH . '/presets';
		$url = ONEPAGER_THEME_URL . '/presets';

		if ( ! file_exists( $dir ) ) {
			return;
		}

		$this->presetManager->loadAllFromPath( $dir, $url, $groups );
	}

	/**
	 * @return string
	 */
	private function getCurrentThemePresetsGroup() {
		$currentTheme = wp_get_theme();

		return $currentTheme->get( 'Name' ) . ' (theme)';
	}
}


================================================
FILE: app/Loaders/TemplateLoader.php
================================================
<?php namespace App\Loaders;

use ThemeXpert\WordPress\PageTemplater;

class TemplateLoader {

	protected $pageTemplateManager;

	public function __construct( PageTemplater $pageTemplateManager ) {
		$this->pageTemplateManager = $pageTemplateManager;

		add_action( 'wp_loaded', [ $this, 'loadOnepagerPageTemplates' ] );
		add_action( 'wp_loaded', [ $this, 'loadOnepagerPageDefaultTemplates' ] );
		// add_action( 'wp_loaded', [ $this, 'loadmytesttemplate' ] );
		// 9999999999 is a very big number to make sure that builder.php loads whatever happens
		add_filter( 'template_include', [ $this, 'loadBuildModeTemplate' ], 9999999999 );
	}

	public function loadBuildModeTemplate( $template ) {
		if ( $this->isBuildMode() ) {
			return onepager()->path( 'app/templates/builder.php' );
		} else {
			return $template;
		}
	}

	/**
	 * if we have a onepage.php file in themes onepager directory
	 * then load that template
	 * Add page Templates
	 */
	public function loadOnepagerPageTemplates() {
		$onepager_canvas = locate_template( 'onepager/onepage.php' ) ?:
		onepager()->path( '/app/templates/onepage.php' );

		$this->pageTemplateManager->addTemplate( 'Onepager Canvas', $onepager_canvas );

		// Any filename start with onepager*- will work from JS
		$onepager_default = locate_template( 'onepager/onepager-default.php' ) ?:
		onepager()->path( '/app/templates/onepager-default.php' );

		$this->pageTemplateManager->addTemplate( 'Onepager Default', $onepager_default );

	}

	public function loadOnepagerPageDefaultTemplates() {

	}
	public function loadmytesttemplate() {
		$test_file = onepager()->path('/app/templates/my-test.php');
		$this->pageTemplateManager->addTemplate('my test', $test_file);
	}

	/**
	 * @return mixed
	 */
	protected function isBuildMode() {
		return onepager()->content()->isBuildMode();
	}

}


================================================
FILE: app/Metabox/metabox.php
================================================
<?php

use ThemeXpert\View\View;

add_action( 'add_meta_boxes', 'tx_add_onepager_metabox', 1 );
add_action( 'admin_enqueue_scripts', 'tx_onepager_metabox_scripts' );
// add_action( 'edit_form_after_title', 'tx_onepager_switch_mode_button');

/**
 * Print switch mode button.
 *
 * Adds a switch button in post edit screen (which has cpt support). To allow
 * the user to switch from the native WordPress editor to Elementor builder.
 *
 * Fired by `edit_form_after_title` action.
 *
 * @since 1.0.0
 * @access public
 *
 * @param \WP_Post $post The current post object.
 */
// function tx_onepager_switch_mode_button( $post ) {
// 	// Exit if Gutenberg are active.
// 	if (did_action('enqueue_block_editor_assets')) {
// 		return;
// 	}
// 	>
// 	<button type="button" id="enable-onepager" class="op-btn op-btn-with-logo">Enable OnePager</button>
// 	<button type="button" id="disable-onepager" class="op-btn op-btn-with-logo" style="display: none;">Disable OnePager</button>
// 	<php
// }
function tx_get_preset_groups_class( $groups ) {
	return implode(
		'',
		array_map(
			function ( $group ) {
				return tx_get_preset_group_class( $group );
			},
			$groups
		)
	);
}

function tx_get_preset_group_class( $group ) {
	return 'og-' . sanitize_title( $group );
}

function tx_add_onepager_metabox() {
	$template = function ( $post ) {
		$onepagerLayouts = onepager()->presetManager()->all();

		$groups          = array_unique(
			array_reduce(
				$onepagerLayouts,
				function ( $carry, $layout ) {
					return array_merge( $carry, $layout['group'] );
				},
				[ ]
			)
		);

		$sections  = onepager()->section()->getAllValid( $post->ID );
		$editorUrl = onepager_get_edit_mode_url( get_permalink( $post->ID ), true );

		echo View::getInstance()->make(
			__DIR__ . '/page-meta.php',
			compact( 'onepagerLayouts', 'post', 'groups', 'sections', 'editorUrl' )
		);
	};
	
	/**
	 * Add meta box syntax
	 * add_meta_box($id, $title, $callback, $screen, $context, $priority, $callback_args) 
	 */
	add_meta_box(
		'onepager_meta',
		__( 'OnePager', 'onepager' ),
		$template,
		'page',
		'normal',
		apply_filters( 'onepager_metabox_prio', 'high' )
	);
}

function tx_onepager_metabox_scripts( $hook ) {
	global $post;

	if ( ! ( $post && $post->post_type == 'page' ) ) {
		return;
	}

	if ( ! ( $hook == 'post-new.php' || $hook == 'post.php' ) ) {
		return;
	}

	$data = array(
		'pageId'       => $post->ID,
		'buildModeUrl' => onepager_get_edit_mode_url( get_permalink( $post->ID ), true ),
	);

	wp_enqueue_script( 'tx-onepager-page-meta', op_asset( 'assets/meta.js' ), ["jquery", "wp-i18n"], true );
	wp_enqueue_style( 'tx-lithium', op_asset( 'assets/css/lithium-builder.css' ) );
	wp_localize_script( 'tx-onepager-page-meta', 'onepager', $data );
	wp_set_script_translations( 'tx-onepager-page-meta', 'tx-onepager' );
}



================================================
FILE: app/Metabox/page-meta.php
================================================
<div class="onepager-meta-container">
  <?php if ( $post->post_status == 'publish' ) : ?>
	<div class="toolbar">
	  <div id="op-group-filter">
		<label>Filter :</label>
		<select>
		  <option value=".og-all">All</option>
		  <?php foreach ( $groups as $group ) : ?>
			<option value=".<?php echo tx_get_preset_group_class( $group ); ?>"><?php echo $group; ?></option>
			<?php endforeach; ?>
		</select>
	  </div>

	  <div class="op-btns-group">
		<div>
		  <button type="button" id="onepager-export-layout" class="op-btn op-btn-secondary--small onepager-button">Export</button>
		  <!--<button type="button" id="onepager-save-layout" class="onepager-button">Save Layout</button>
		  <button type="button" id="onepager-import-layout" class="onepager-button">Import Layout</button> -->

		  <!--needed for downloading with ajax-->
		  <a id="downloadAnchorElem"></a>
		</div>
	  </div>
	</div>
	<?php endif; ?>

  <div id="op-presets">
	<div class="op-editpage-link" style="<?php echo ! count( $sections ) ? 'display:none' : ''; ?>">
		<a href="<?php echo $editorUrl; ?>" class="op-btn op-btn-with-logo">Edit with OnePager</a>
		<p>This page is made with OnePager</p>
	</div>
	<!-- Blank Template -->
	<div class="media og-all">
	  <figure class="thumbnails">
		<img src="<?php echo op_asset( 'assets/images/blank-template.jpg' ); ?>"/>
		<figcaption>
		  <h3>Start Blank</h3>
		  <button id="blank-template" data-layout-id="blank-template" class="op-btn" type="button">Create</button>
		</figcaption>
	  </figure>
	</div>
	<?php foreach ( $onepagerLayouts as $layout ) : ?>
	  <div class="media og-all <?php echo tx_get_preset_groups_class( $layout['group'] ); ?>">
		<figure class="thumbnails">
			<?php 
			// $layout_type = array_get($layout, 'type') ? array_get($layout, 'type') : null;
			// if($layout_type):
			?>
			<?php $type = array_get($layout, 'type') ? $layout['type'] : '';?>
			<?php $tag = array_get($layout, 'tag') ? $layout['tag'] : '';?>
			<?php if($type):?>
				<span class="txop-pro-badge"><?php echo $type; ?></span>
			<?php endif;?>
			<?php if($tag):?>
				<span class="txop-<?php echo $tag; ?>-badge"><?php echo $tag; ?></span>
			<?php endif;?>
			<!-- <span class="txop-new-badge"><?php //echo $layout_type; ?></span> -->
			<?php //endif; ?>
		  <img src="<?php echo $layout['screenshot']; ?>"/>
		  <figcaption>
			<h3><?php echo $layout['name']; ?></h3>
			<button data-layout-id="<?php echo $layout['id']; ?>" class="op-btn op-select-preset" type="button">Select
			<!-- <button data-layout-id="<?php //echo $layout['id']; ?>" class="op-btn op-select-preset" type="button">Select -->
			</button>
		  </figcaption>
		</figure>
	  </div>

	<?php endforeach; ?>
  </div>
</div>


================================================
FILE: app/Onepager.php
================================================
<?php

/**
 * Class to proive simple API. No need to call chain method or complex query.
 */
abstract class Onepager {

	// Get the global option panel object
	protected static $presets = [];
	protected static $basePreset;
	protected static $scripts = [];

	public static function getOptionPanel() {
		return onepager()->optionsPanel( 'onepager' );
	}

	// Get individual option
	public static function getOption( $name, $default = '' ) {
		return onepager()->optionsPanel( 'onepager' )->getOption( $name, $default );
	}

	/**
	 * Deprecated from 1.1.4
	 * Will be removed in 1.2
	 *
	 * @param string $folder
	 */
	public static function registerBlocks( $folder = 'blocks' ) {
	}

	// Disable Any Blocks Group
	public static function disableBlocks( $groups ) {
		onepager()->blockManager()->setIgnoredGroups( $groups );
	}

	// Disable all core blocks group = onepager
	public static function disableCoreBlocks() {
		self::disableBlocks( 'Onepager (plugin)' );
	}

	/**
	 * Deprecated from 1.1.4
	 * Will be removed in 1.2
	 *
	 * @param string $folder
	 */
	public static function registerPresets( $folder = 'presets' ) {
	}

	// Disable Any Presets Group
	public static function disablePresets( $groups ) {
		onepager()->presetManager()->setIgnoredGroups( $groups );
	}

	// Disable core presets
	public static function disableCorePresets() {
		self::disablePresets( 'Free' );
	}

	public static function addPresets( $name, $presets ) {
		if ( ! array_key_exists( $name, static::$presets ) ) {
			static::$presets[ $name ] = [];
		}

		static::$presets[ $name ] = array_merge( $presets, static::$presets[ $name ] );
	}

	public static function getPresets() {
		return static::$presets;
	}

	// Add style
	public static function addStyle( $name, $src = false, $dependency = [], $version = ONEPAGER_VERSION, $media = 'all' ) {
		onepager()->asset()->style( $name, $src, $dependency, $version, $media );
	}

	// Add script
	public static function addScript( $name, $src = false, $dependency = [], $version = ONEPAGER_VERSION, $footer = true ) {
		onepager()->asset()->script( $name, $src, $dependency, $version, $footer );
	}

	public static function basePreset( $array ) {
		static::$basePreset = $array;
	}

	public static function getBasePreset() {
		return static::$basePreset;
	}

	public static function isBuilderMode() {
		return onepager()->content()->isBuildMode();
	}

	public static function isWooCommerceInstalled() {
		if ( in_array( 'woocommerce/woocommerce.php', apply_filters( 'active_plugins', get_option( 'active_plugins' ) ) ) ) {
			return true;
		}
		return false;
	}

	public static function fonts( $name ) {
		$fonts = require __DIR__ . '/data/font-families.php';

		$font = isset( $fonts[ $name ] ) ? $fonts[ $name ]['family'] : 'Roboto Condensed';
		$url = str_replace( ' ', '+', $font );

		$script = <<<EOT
        
        // dynamically google fonts loading.
			var fontNotLoaded = jQuery('link[href="http://fonts.googleapis.com/css?family=$url"]').length;

			if (!fontNotLoaded) {
				try {
					WebFont.load({
						google: {
							families: ["$font"]
						}
					});
				} catch (e) {
					console.log('WebFont not loaded!', e);
				}
			}

EOT;

		static::$scripts[ $font ] = $script;

		return $font;
	}

	public static function loadScripts() {
		echo '<script>';
		echo implode( ' ', static::$scripts );
		echo '</script>';
	}
}


================================================
FILE: app/OptionsPanel/settings.php
================================================
<?php
// this file should be in the theme
Onepager::getOptionPanel()
		->tab( 'general', 'Generals' )
		->add(
			array(
				'name'   => 'section_title_size',
				'label'  => 'Section Title Size',
				'append' => 'px',
				'value'  => '',
            ),
            array(
                'name' => 'section_heading_font',
                'type' => 'font', 
                'label' => 'Section Title Fonts'
            ),
            array(
				'name'   => 'section_subtitle_size',
				'label'  => 'Section Subtitle Size',
				'append' => 'px',
				'value'  => '',
			)
		)
		->tab( 'styles', 'Styles' )
		->add(
			array(
				'name'    => 'color',
				'type'    => 'colorpalette',
				'presets' => 'default',
				'value'   => array(
					'primary'   => '#1565c0',
					'secondary' => '#0a3d78',
					'accent'    => '#E64A19',
				),
			)
		)
		->tab( 'advanced' )
		->add(
			array( 'name' => 'onepager_debug', 'label' => 'Development Mode', 'type' => 'switch', 'value' => false ),
			array(
				'name'        => 'google_analytics',
				'type'        => 'textarea',
				'label'       => 'Google Analytics',
				'placeholder' => 'Paste your code here',
			)
		);

// Onepager::basePreset( array(
// 'primary'   => "#1565c0",
// 'secondary' => '#0a3d78',
// 'accent'    => '#E64A19',
// ) );
//
// Onepager::addPresets( "default", array(
// [ 'primary' => 'red', 'secondary' => 'yellow' ],
// [ 'primary' => 'green', 'secondary' => 'yellow' ],
// ) );
add_action(
	'wp_head',
	function () { ?>
  <link rel="icon" href="<?php echo Onepager::getOption( 'favicon' ); ?>">

  <!--  Google Analytics-->
		<?php echo Onepager::getOption( 'google_analytics' ); ?>
		<?php
	},
	100
);


/**
 * onepager option panel settings
 */
$tab = [
    [
        'id' => 'op_settings_general',
        'title' => __('General', 'onepager')
    ],
    [
        'id' => 'op_setting_styles',
        'title' => __('Styles', 'onepager')
    ],
    [
        'id' => 'op_setting_advanced',
        'title' => __('Advanced', 'onepager')
    ]
];

$fields = [
    'op_settings_general' => [
        [
            'name' => 'section_title_size',
            'label' => __('Section Title Size', 'onepager'),
            'desc' => __('in px', 'onepager'),
            'type' => 'text',
            'default' => '44'
        ],
    ],
    'op_setting_styles' => [
        [
            'name' => 'primary',
            'label' => __('Primary Color', 'onepager'),
            'desc' => __('Font color', 'onepager'),
            'type' => 'color',
            'default' => '#fff'
        ],
        [
            'name' => 'seconday',
            'label' => __('Secondary Color', 'onepager'),
            'desc' => __('Font color', 'onepager'),
            'type' => 'color',
            'default' => '#fff'
        ],
        [
            'name' => 'accent',
            'label' => __('Accent Color', 'onepager'),
            'desc' => __('Font color', 'onepager'),
            'type' => 'color',
            'default' => '#fff'
        ],
    ],
    'op_setting_advanced' => [
        [
            'name' => 'google_analytics',
            'label' => __('Google Analytics', 'onepager'),
            'desc' => __('Please insert your code here', 'onepager'),
            'type' => 'textarea',
            'default' => ''
        ],
        [
            'name'  => 'onepager_debug',
            'label' => __( 'Debug', 'onepager' ),
            'desc'  => __( 'Debug Mode', 'onepager' ),
            'type'  => 'checkbox'
        ],
    ]
];

onepagerSettings($tab, $fields);

================================================
FILE: app/bootstrap.php
================================================
<?php
use App\Application;
use Pimple\Container;
use ThemeXpert\Onepager\Adapters\WordPress;
use ThemeXpert\Onepager\Onepager;

function onepager() {
	static $onepager;

	if ( ! $onepager ) {
		$onepager = new Onepager(
			new WordPress( new Container, ONEPAGER_PATH, ONEPAGER_URL ),
			new Container
		);
	}

	return $onepager;
}

new Application( onepager() );
do_action( 'onepager_init' );


================================================
FILE: app/data/font-families.php
================================================
<?php

return [
    0 => [
        "family" => "ABeeZee",
        "variants"=>
        [
        0=>
            "regular",
        1=>
            "italic"
        ],
        "subsets"=>
        [
        0=>
            "latin",
        ],
        "version"=>
        "v13",
        "lastModified"=>
        "2019-07-17",
        "files"=>
        [
        "regular"=>
            "http://fonts.gstatic.com/s/abeezee/v13/esDR31xSG-6AGleN6tKukbcHCpE.ttf",
        "italic"=>
            "http://fonts.gstatic.com/s/abeezee/v13/esDT31xSG-6AGleN2tCklZUCGpG-GQ.ttf",
        ],
        "category"=>
        "sans-serif",
        "kind"=>
        "webfonts#webfont"
    ],
    1 =>
    [
        "family"=>
        "Abel",
        "variants"=>
        [
        0=>
            "regular",
        ],
        "subsets"=>
        [
        0=>
            "latin",
        ],
        "version"=>
        "v10",
        "lastModified"=>
        "2019-07-17",
        "files"=>
        [
        "regular"=>
            "http://fonts.gstatic.com/s/abel/v10/MwQ5bhbm2POE6VhLPJp6qGI.ttf",
        ],
        "category"=>
        "sans-serif",
        "kind"=>
        "webfonts#webfont"
    ],
    2 =>
    [
        "family"=>
        "Abhaya Libre",
        "variants"=>
        [
        0=>
            "regular",
        1=>
            "500",
        2=>
            "600",
        3=>
            "700",
        4=>
            "800",
        ],
        "subsets"=>
        [
        0=>
            "latin",
        1=>
            "latin-ext",
        2=>
            "sinhala",
        ],
        "version"=>
        "v5",
        "lastModified"=>
        "2019-07-16",
        "files"=>
        [
        "regular"=>
            "http://fonts.gstatic.com/s/abhayalibre/v5/e3tmeuGtX-Co5MNzeAOqinEge0PWovdU4w.ttf",
        "500"=>
            "http://fonts.gstatic.com/s/abhayalibre/v5/e3t5euGtX-Co5MNzeAOqinEYj2ryqtxI6oYtBA.ttf",
        "600"=>
            "http://fonts.gstatic.com/s/abhayalibre/v5/e3t5euGtX-Co5MNzeAOqinEYo23yqtxI6oYtBA.ttf",
        "700"=>
            "http://fonts.gstatic.com/s/abhayalibre/v5/e3t5euGtX-Co5MNzeAOqinEYx2zyqtxI6oYtBA.ttf",
        "800"=>
            "http://fonts.gstatic.com/s/abhayalibre/v5/e3t5euGtX-Co5MNzeAOqinEY22_yqtxI6oYtBA.ttf",
        ],
        "category"=>
        "serif",
        "kind"=>
        "webfonts#webfont"
    ],
    3 =>
    [
        "family"=>
        "Abril Fatface",
        "variants"=>
        [
        0=>
            "regular",
        ],
        "subsets"=>
        [
        0=>
            "latin",
        1=>
            "latin-ext",
        ],
        "version"=>
        "v11",
        "lastModified"=>
        "2019-07-17",
        "files"=>
        [
        "regular"=>
            "http://fonts.gstatic.com/s/abrilfatface/v11/zOL64pLDlL1D99S8g8PtiKchm-BsjOLhZBY.ttf",
        ],
        "category"=>
        "display",
        "kind"=>
        "webfonts#webfont"
    ],
    4 =>
    [
        "family"=>
        "Aclonica",
        "variants"=>
        [
        0=>
            "regular",
        ],
        "subsets"=>
        [
        0=>
            "latin",
        ],
        "version"=>
        "v10",
        "lastModified"=>
        "2019-07-16",
        "files"=>
        [
        "regular"=>
            "http://fonts.gstatic.com/s/aclonica/v10/K2FyfZJVlfNNSEBXGb7TCI6oBjLz.ttf",
        ],
        "category"=>
        "sans-serif",
        "kind"=>
        "webfonts#webfont"
    ],
    5 =>
    [
        "family"=>
        "Acme",
        "variants"=>
        [
        0=>
            "regular",
        ],
        "subsets"=>
        [
        0=>
            "latin",
        ],
        "version"=>
        "v9",
        "lastModified"=>
        "2019-07-17",
        "files"=>
        [
        "regular"=>
            "http://fonts.gstatic.com/s/acme/v9/RrQfboBx-C5_bx3Lb23lzLk.ttf",
        ],
        "category"=>
        "sans-serif",
        "kind"=>
        "webfonts#webfont"
    ],
    6 =>
    [
        "family"=>
        "Actor",
        "variants"=>
        [
        0=>
            "regular",
        ],
        "subsets"=>
        [
        0=>
            "latin",
        ],
        "version"=>
        "v9",
        "lastModified"=>
        "2019-07-16",
        "files"=>
        [
        "regular"=>
            "http://fonts.gstatic.com/s/actor/v9/wEOzEBbCkc5cO3ekXygtUMIO.ttf",
        ],
        "category"=>
        "sans-serif",
        "kind"=>
        "webfonts#webfont"
    ],
    7 =>
    [
        "family"=>
        "Adamina",
        "variants"=>
        [
        0=>
            "regular",
        ],
        "subsets"=>
        [
        0=>
            "latin",
        ],
        "version"=>
        "v13",
        "lastModified"=>
        "2019-07-16",
        "files"=>
        [
        "regular"=>
            "http://fonts.gstatic.com/s/adamina/v13/j8_r6-DH1bjoc-dwu-reETl4Bno.ttf",
        ],
        "category"=>
        "serif",
        "kind"=>
        "webfonts#webfont"
    ],
    8 =>
    [
        "family"=>
        "Advent Pro",
        "variants"=>
        [
        0=>
            "100",
        1=>
            "200",
        2=>
            "300",
        3=>
            "regular",
        4=>
            "500",
        5=>
            "600",
        6=>
            "700",
        ],
        "subsets"=>
        [
        0=>
            "greek",
        1=>
            "latin",
        2=>
            "latin-ext",
        ],
        "version"=>
        "v10",
        "lastModified"=>
        "2019-07-16",
        "files"=>
        [
        "100"=>
            "http://fonts.gstatic.com/s/adventpro/v10/V8mCoQfxVT4Dvddr_yOwjVmtLZxcBtItFw.ttf",
        "200"=>
            "http://fonts.gstatic.com/s/adventpro/v10/V8mDoQfxVT4Dvddr_yOwjfWMDbZyCts0DqQ.ttf",
        "300"=>
            "http://fonts.gstatic.com/s/adventpro/v10/V8mDoQfxVT4Dvddr_yOwjZGPDbZyCts0DqQ.ttf",
        "regular"=>
            "http://fonts.gstatic.com/s/adventpro/v10/V8mAoQfxVT4Dvddr_yOwtT2nKb5ZFtI.ttf",
        "500"=>
            "http://fonts.gstatic.com/s/adventpro/v10/V8mDoQfxVT4Dvddr_yOwjcmODbZyCts0DqQ.ttf",
        "600"=>
            "http://fonts.gstatic.com/s/adventpro/v10/V8mDoQfxVT4Dvddr_yOwjeWJDbZyCts0DqQ.ttf",
        "700"=>
            "http://fonts.gstatic.com/s/adventpro/v10/V8mDoQfxVT4Dvddr_yOwjYGIDbZyCts0DqQ.ttf",
        ],
        "category"=>
        "sans-serif",
        "kind"=>
        "webfonts#webfont"
    ],
    9 =>
    [
        "family"=>
        "Aguafina Script",
        "variants"=>
        [
        0=>
            "regular",
        ],
        "subsets"=>
        [
        0=>
            "latin",
        1=>
            "latin-ext",
        ],
        "version"=>
        "v8",
        "lastModified"=>
        "2019-07-16",
        "files"=>
        [
        "regular"=>
            "http://fonts.gstatic.com/s/aguafinascript/v8/If2QXTv_ZzSxGIO30LemWEOmt1bHqs4pgicOrg.ttf",
        ],
        "category"=>
        "handwriting",
        "kind"=>
        "webfonts#webfont"
    ],
    10 =>
    [
        "family"=>
        "Akronim",
        "variants"=>
        [
        0=>
            "regular",
        ],
        "subsets"=>
        [
        0=>
            "latin",
        1=>
            "latin-ext",
        ],
        "version"=>
        "v9",
        "lastModified"=>
        "2019-07-16",
        "files"=>
        [
        "regular"=>
            "http://fonts.gstatic.com/s/akronim/v9/fdN-9sqWtWZZlHRp-gBxkFYN-a8.ttf",
        ],
        "category"=>
        "display",
        "kind"=>
        "webfonts#webfont"
    ],
    11 =>
    [
        "family"=>
        "Aladin",
        "variants"=>
        [
        0=>
            "regular",
        ],
        "subsets"=>
        [
        0=>
            "latin",
        1=>
            "latin-ext",
        ],
        "version"=>
        "v8",
        "lastModified"=>
        "2019-07-16",
        "files"=>
        [
        "regular"=>
            "http://fonts.gstatic.com/s/aladin/v8/ZgNSjPJFPrvJV5f16Sf4pGT2Ng.ttf",
        ],
        "category"=>
        "handwriting",
        "kind"=>
        "webfonts#webfont"
    ],
    12 =>
    [
        "family"=>
        "Alata",
        "variants"=>
        [
        0=>
            "regular",
        ],
        "subsets"=>
        [
        0=>
            "latin",
        1=>
            "latin-ext",
        2=>
            "vietnamese",
        ],
        "version"=>
        "v1",
        "lastModified"=>
        "2020-03-03",
        "files"=>
        [
        "regular"=>
            "http://fonts.gstatic.com/s/alata/v1/PbytFmztEwbIofe6xKcRQEOX.ttf",
        ],
        "category"=>
        "sans-serif",
        "kind"=>
        "webfonts#webfont"
    ],
    13 =>
    [
        "family"=>
        "Alatsi",
        "variants"=>
        [
        0=>
            "regular",
        ],
        "subsets"=>
        [
        0=>
            "latin",
        1=>
            "latin-ext",
        2=>
            "vietnamese",
        ],
        "version"=>
        "v1",
        "lastModified"=>
        "2020-03-03",
        "files"=>
        [
        "regular"=>
            "http://fonts.gstatic.com/s/alatsi/v1/TK3iWkUJAxQ2nLNGHjUHte5fKg.ttf",
        ],
        "category"=>
        "sans-serif",
        "kind"=>
        "webfonts#webfont"
    ],
    14 =>
    [
        "family"=>
        "Aldrich",
        "variants"=>
        [
        0=>
            "regular",
        ],
        "subsets"=>
        [
        0=>
            "latin",
        ],
        "version"=>
        "v10",
        "lastModified"=>
        "2019-07-16",
        "files"=>
        [
        "regular"=>
            "http://fonts.gstatic.com/s/aldrich/v10/MCoTzAn-1s3IGyJMZaAS3pP5H_E.ttf",
        ],
        "category"=>
        "sans-serif",
        "kind"=>
        "webfonts#webfont"
    ],
    15 =>
    [
        "family"=>
        "Alef",
        "variants"=>
        [
        0=>
            "regular",
        1=>
            "700",
        ],
        "subsets"=>
        [
        0=>
            "hebrew",
        1=>
            "latin",
        ],
        "version"=>
        "v11",
        "lastModified"=>
        "2019-07-16",
        "files"=>
        [
        "regular"=>
            "http://fonts.gstatic.com/s/alef/v11/FeVfS0NQpLYgrjJbC5FxxbU.ttf",
        "700"=>
            "http://fonts.gstatic.com/s/alef/v11/FeVQS0NQpLYglo50L5la2bxii28.ttf",
        ],
        "category"=>
        "sans-serif",
        "kind"=>
        "webfonts#webfont"
    ],
    16 =>
    [
        "family"=>
        "Alegreya",
        "variants"=>
        [
        0=>
            "regular",
        1=>
            "italic",
        2=>
            "500",
        3=>
            "500italic",
        4=>
            "700",
        5=>
            "700italic",
        6=>
            "800",
        7=>
            "800italic",
        8=>
            "900",
        9=>
            "900italic",
        ],
        "subsets"=>
        [
        0=>
            "cyrillic",
        1=>
            "cyrillic-ext",
        2=>
            "greek",
        3=>
            "greek-ext",
        4=>
            "latin",
        5=>
            "latin-ext",
        6=>
            "vietnamese",
        ],
        "version"=>
        "v13",
        "lastModified"=>
        "2019-07-17",
        "files"=>
        [
        "regular"=>
            "http://fonts.gstatic.com/s/alegreya/v13/4UaBrEBBsBhlBjvfkRLmzanB44N1.ttf",
        "italic"=>
            "http://fonts.gstatic.com/s/alegreya/v13/4UaHrEBBsBhlBjvfkSLkx63j5pN1MwI.ttf",
        "500"=>
            "http://fonts.gstatic.com/s/alegreya/v13/4UaGrEBBsBhlBjvfkSoS5I3JyJ98KhtH.ttf",
        "500italic"=>
            "http://fonts.gstatic.com/s/alegreya/v13/4UaErEBBsBhlBjvfkSLk_1nKwpteLwtHJlc.ttf",
        "700"=>
            "http://fonts.gstatic.com/s/alegreya/v13/4UaGrEBBsBhlBjvfkSpa4o3JyJ98KhtH.ttf",
        "700italic"=>
            "http://fonts.gstatic.com/s/alegreya/v13/4UaErEBBsBhlBjvfkSLk_xHMwpteLwtHJlc.ttf",
        "800"=>
            "http://fonts.gstatic.com/s/alegreya/v13/4UaGrEBBsBhlBjvfkSpG4Y3JyJ98KhtH.ttf",
        "800italic"=>
            "http://fonts.gstatic.com/s/alegreya/v13/4UaErEBBsBhlBjvfkSLk_w3PwpteLwtHJlc.ttf",
        "900"=>
            "http://fonts.gstatic.com/s/alegreya/v13/4UaGrEBBsBhlBjvfkSpi4I3JyJ98KhtH.ttf",
        "900italic"=>
            "http://fonts.gstatic.com/s/alegreya/v13/4UaErEBBsBhlBjvfkSLk_ynOwpteLwtHJlc.ttf",
        ],
        "category"=>
        "serif",
        "kind"=>
        "webfonts#webfont"
    ],
    17 =>
    [
        "family"=>
        "Alegreya SC",
        "variants"=>
        [
        0=>
            "regular",
        1=>
            "italic",
        2=>
            "500",
        3=>
            "500italic",
        4=>
            "700",
        5=>
            "700italic",
        6=>
            "800",
        7=>
            "800italic",
        8=>
            "900",
        9=>
            "900italic",
        ],
        "subsets"=>
        [
        0=>
            "cyrillic",
        1=>
            "cyrillic-ext",
        2=>
            "greek",
        3=>
            "greek-ext",
        4=>
            "latin",
        5=>
            "latin-ext",
        6=>
            "vietnamese",
        ],
        "version"=>
        "v11",
        "lastModified"=>
        "2019-07-16",
        "files"=>
        [
        "regular"=>
            "http://fonts.gstatic.com/s/alegreyasc/v11/taiOGmRtCJ62-O0HhNEa-a6o05E5abe_.ttf",
        "italic"=>
            "http://fonts.gstatic.com/s/alegreyasc/v11/taiMGmRtCJ62-O0HhNEa-Z6q2ZUbbKe_DGs.ttf",
        "500"=>
            "http://fonts.gstatic.com/s/alegreyasc/v11/taiTGmRtCJ62-O0HhNEa-ZZc-rUxQqu2FXKD.ttf",
        "500italic"=>
            "http://fonts.gstatic.com/s/alegreyasc/v11/taiRGmRtCJ62-O0HhNEa-Z6q4WEySK-UEGKDBz4.ttf",
        "700"=>
            "http://fonts.gstatic.com/s/alegreyasc/v11/taiTGmRtCJ62-O0HhNEa-ZYU_LUxQqu2FXKD.ttf",
        "700italic"=>
            "http://fonts.gstatic.com/s/alegreyasc/v11/taiRGmRtCJ62-O0HhNEa-Z6q4Sk0SK-UEGKDBz4.ttf",
        "800"=>
            "http://fonts.gstatic.com/s/alegreyasc/v11/taiTGmRtCJ62-O0HhNEa-ZYI_7UxQqu2FXKD.ttf",
        "800italic"=>
            "http://fonts.gstatic.com/s/alegreyasc/v11/taiRGmRtCJ62-O0HhNEa-Z6q4TU3SK-UEGKDBz4.ttf",
        "900"=>
            "http://fonts.gstatic.com/s/alegreyasc/v11/taiTGmRtCJ62-O0HhNEa-ZYs_rUxQqu2FXKD.ttf",
        "900italic"=>
            "http://fonts.gstatic.com/s/alegreyasc/v11/taiRGmRtCJ62-O0HhNEa-Z6q4RE2SK-UEGKDBz4.ttf",
        ],
        "category"=>
        "serif",
        "kind"=>
        "webfonts#webfont"
    ],
    18 =>
    [
        "family"=>
        "Alegreya Sans",
        "variants"=>
        [
        0=>
            "100",
        1=>
            "100italic",
        2=>
            "300",
        3=>
            "300italic",
        4=>
            "regular",
        5=>
            "italic",
        6=>
            "500",
        7=>
            "500italic",
        8=>
            "700",
        9=>
            "700italic",
        10=>
            "800",
        11=>
            "800italic",
        12=>
            "900",
        13=>
            "900italic",
        ],
        "subsets"=>
        [
        0=>
            "cyrillic",
        1=>
            "cyrillic-ext",
        2=>
            "greek",
        3=>
            "greek-ext",
        4=>
            "latin",
        5=>
            "latin-ext",
        6=>
            "vietnamese",
        ],
        "version"=>
        "v10",
        "lastModified"=>
        "2019-07-17",
        "files"=>
        [
        "100"=>
            "http://fonts.gstatic.com/s/alegreyasans/v10/5aUt9_-1phKLFgshYDvh6Vwt5TltuGdShm5bsg.ttf",
        "100italic"=>
            "http://fonts.gstatic.com/s/alegreyasans/v10/5aUv9_-1phKLFgshYDvh6Vwt7V9V3G1WpGtLsgu7.ttf",
        "300"=>
            "http://fonts.gstatic.com/s/alegreyasans/v10/5aUu9_-1phKLFgshYDvh6Vwt5fFPmE18imdCqxI.ttf",
        "300italic"=>
            "http://fonts.gstatic.com/s/alegreyasans/v10/5aUo9_-1phKLFgshYDvh6Vwt7V9VFE92jkVHuxKiBA.ttf",
        "regular"=>
            "http://fonts.gstatic.com/s/alegreyasans/v10/5aUz9_-1phKLFgshYDvh6Vwt3V1nvEVXlm4.ttf",
        "italic"=>
            "http://fonts.gstatic.com/s/alegreyasans/v10/5aUt9_-1phKLFgshYDvh6Vwt7V9tuGdShm5bsg.ttf",
        "500"=>
            "http://fonts.gstatic.com/s/alegreyasans/v10/5aUu9_-1phKLFgshYDvh6Vwt5alOmE18imdCqxI.ttf",
        "500italic"=>
            "http://fonts.gstatic.com/s/alegreyasans/v10/5aUo9_-1phKLFgshYDvh6Vwt7V9VTE52jkVHuxKiBA.ttf",
        "700"=>
            "http://fonts.gstatic.com/s/alegreyasans/v10/5aUu9_-1phKLFgshYDvh6Vwt5eFImE18imdCqxI.ttf",
        "700italic"=>
            "http://fonts.gstatic.com/s/alegreyasans/v10/5aUo9_-1phKLFgshYDvh6Vwt7V9VBEh2jkVHuxKiBA.ttf",
        "800"=>
            "http://fonts.gstatic.com/s/alegreyasans/v10/5aUu9_-1phKLFgshYDvh6Vwt5f1LmE18imdCqxI.ttf",
        "800italic"=>
            "http://fonts.gstatic.com/s/alegreyasans/v10/5aUo9_-1phKLFgshYDvh6Vwt7V9VGEt2jkVHuxKiBA.ttf",
        "900"=>
            "http://fonts.gstatic.com/s/alegreyasans/v10/5aUu9_-1phKLFgshYDvh6Vwt5dlKmE18imdCqxI.ttf",
        "900italic"=>
            "http://fonts.gstatic.com/s/alegreyasans/v10/5aUo9_-1phKLFgshYDvh6Vwt7V9VPEp2jkVHuxKiBA.ttf",
        ],
        "category"=>
        "sans-serif",
        "kind"=>
        "webfonts#webfont"
    ],
    19 =>
    [
        "family"=>
        "Alegreya Sans SC",
        "variants"=>
        [
        0=>
            "100",
        1=>
            "100italic",
        2=>
            "300",
        3=>
            "300italic",
        4=>
            "regular",
        5=>
            "italic",
        6=>
            "500",
        7=>
            "500italic",
        8=>
            "700",
        9=>
            "700italic",
        10=>
            "800",
        11=>
            "800italic",
        12=>
            "900",
        13=>
            "900italic",
        ],
        "subsets"=>
        [
        0=>
            "cyrillic",
        1=>
            "cyrillic-ext",
        2=>
            "greek",
        3=>
            "greek-ext",
        4=>
            "latin",
        5=>
            "latin-ext",
        6=>
            "vietnamese",
        ],
        "version"=>
        "v9",
        "lastModified"=>
        "2019-07-16",
        "files"=>
        [
        "100"=>
            "http://fonts.gstatic.com/s/alegreyasanssc/v9/mtGn4-RGJqfMvt7P8FUr0Q1j-Hf1Dipl8g5FPYtmMg.ttf",
        "100italic"=>
            "http://fonts.gstatic.com/s/alegreyasanssc/v9/mtGl4-RGJqfMvt7P8FUr0Q1j-Hf1BkxdlgRBH452Mvds.ttf",
        "300"=>
            "http://fonts.gstatic.com/s/alegreyasanssc/v9/mtGm4-RGJqfMvt7P8FUr0Q1j-Hf1DuJH0iRrMYJ_K-4.ttf",
        "300italic"=>
            "http://fonts.gstatic.com/s/alegreyasanssc/v9/mtGk4-RGJqfMvt7P8FUr0Q1j-Hf1BkxdXiZhNaB6O-51OA.ttf",
        "regular"=>
            "http://fonts.gstatic.com/s/alegreyasanssc/v9/mtGh4-RGJqfMvt7P8FUr0Q1j-Hf1Nk5v9ixALYs.ttf",
        "italic"=>
            "http://fonts.gstatic.com/s/alegreyasanssc/v9/mtGn4-RGJqfMvt7P8FUr0Q1j-Hf1Bkxl8g5FPYtmMg.ttf",
        "500"=>
            "http://fonts.gstatic.com/s/alegreyasanssc/v9/mtGm4-RGJqfMvt7P8FUr0Q1j-Hf1DrpG0iRrMYJ_K-4.ttf",
        "500italic"=>
            "http://fonts.gstatic.com/s/alegreyasanssc/v9/mtGk4-RGJqfMvt7P8FUr0Q1j-Hf1BkxdBidhNaB6O-51OA.ttf",
        "700"=>
            "http://fonts.gstatic.com/s/alegreyasanssc/v9/mtGm4-RGJqfMvt7P8FUr0Q1j-Hf1DvJA0iRrMYJ_K-4.ttf",
        "700italic"=>
            "http://fonts.gstatic.com/s/alegreyasanssc/v9/mtGk4-RGJqfMvt7P8FUr0Q1j-Hf1BkxdTiFhNaB6O-51OA.ttf",
        "800"=>
            "http://fonts.gstatic.com/s/alegreyasanssc/v9/mtGm4-RGJqfMvt7P8FUr0Q1j-Hf1Du5D0iRrMYJ_K-4.ttf",
        "800italic"=>
            "http://fonts.gstatic.com/s/alegreyasanssc/v9/mtGk4-RGJqfMvt7P8FUr0Q1j-Hf1BkxdUiJhNaB6O-51OA.ttf",
        "900"=>
            "http://fonts.gstatic.com/s/alegreyasanssc/v9/mtGm4-RGJqfMvt7P8FUr0Q1j-Hf1DspC0iRrMYJ_K-4.ttf",
        "900italic"=>
            "http://fonts.gstatic.com/s/alegreyasanssc/v9/mtGk4-RGJqfMvt7P8FUr0Q1j-Hf1BkxddiNhNaB6O-51OA.ttf",
        ],
        "category"=>
        "sans-serif",
        "kind"=>
        "webfonts#webfont"
    ],
    20 =>
    [
        "family"=>
        "Aleo",
        "variants"=>
        [
        0=>
            "300",
        1=>
            "300italic",
        2=>
            "regular",
        3=>
            "italic",
        4=>
            "700",
        5=>
            "700italic",
        ],
        "subsets"=>
        [
        0=>
            "latin",
        1=>
            "latin-ext",
        ],
        "version"=>
        "v3",
        "lastModified"=>
        "2019-11-05",
        "files"=>
        [
        "300"=>
            "http://fonts.gstatic.com/s/aleo/v3/c4mg1nF8G8_syKbr9DVDno985KM.ttf",
        "300italic"=>
            "http://fonts.gstatic.com/s/aleo/v3/c4mi1nF8G8_swAjxeDdJmq159KOnWA.ttf",
        "regular"=>
            "http://fonts.gstatic.com/s/aleo/v3/c4mv1nF8G8_s8ArD0D1ogoY.ttf",
        "italic"=>
            "http://fonts.gstatic.com/s/aleo/v3/c4mh1nF8G8_swAjJ1B9tkoZl_Q.ttf",
        "700"=>
            "http://fonts.gstatic.com/s/aleo/v3/c4mg1nF8G8_syLbs9DVDno985KM.ttf",
        "700italic"=>
            "http://fonts.gstatic.com/s/aleo/v3/c4mi1nF8G8_swAjxaDBJmq159KOnWA.ttf",
        ],
        "category"=>
        "serif",
        "kind"=>
        "webfonts#webfont"
    ],
    21 =>
    [
        "family"=>
        "Alex Brush",
        "variants"=>
        [
        0=>
            "regular",
        ],
        "subsets"=>
        [
        0=>
            "latin",
        1=>
            "latin-ext",
        ],
        "version"=>
        "v11",
        "lastModified"=>
        "2019-07-16",
        "files"=>
        [
        "regular"=>
            "http://fonts.gstatic.com/s/alexbrush/v11/SZc83FzrJKuqFbwMKk6EtUL57DtOmCc.ttf",
        ],
        "category"=>
        "handwriting",
        "kind"=>
        "webfonts#webfont"
    ],
    22 =>
    [
        "family"=>
        "Alfa Slab One",
        "variants"=>
        [
        0=>
            "regular",
        ],
        "subsets"=>
        [
        0=>
            "latin",
        1=>
            "latin-ext",
        2=>
            "vietnamese",
        ],
        "version"=>
        "v9",
        "lastModified"=>
        "2019-07-17",
        "files"=>
        [
        "regular"=>
            "http://fonts.gstatic.com/s/alfaslabone/v9/6NUQ8FmMKwSEKjnm5-4v-4Jh6dVretWvYmE.ttf",
        ],
        "category"=>
        "display",
        "kind"=>
        "webfonts#webfont"
    ],
    23 =>
    [
        "family"=>
        "Alice",
        "variants"=>
        [
        0=>
            "regular",
        ],
        "subsets"=>
        [
        0=>
            "cyrillic",
        1=>
            "cyrillic-ext",
        2=>
            "latin",
        ],
        "version"=>
        "v11",
        "lastModified"=>
        "2019-07-16",
        "files"=>
        [
        "regular"=>
            "http://fonts.gstatic.com/s/alice/v11/OpNCnoEEmtHa6FcJpA_chzJ0.ttf",
        ],
        "category"=>
        "serif",
        "kind"=>
        "webfonts#webfont"
    ],
    24 =>
    [
        "family"=>
        "Alike",
        "variants"=>
        [
        0=>
            "regular",
        ],
        "subsets"=>
        [
        0=>
            "latin",
        ],
        "version"=>
        "v12",
        "lastModified"=>
        "2019-07-16",
        "files"=>
        [
        "regular"=>
            "http://fonts.gstatic.com/s/alike/v12/HI_EiYEYI6BIoEjBSZXAQ4-d.ttf",
        ],
        "category"=>
        "serif",
        "kind"=>
        "webfonts#webfont"
    ],
    25 =>
    [
        "family"=>
        "Alike Angular",
        "variants"=>
        [
        0=>
            "regular",
        ],
        "subsets"=>
        [
        0=>
            "latin",
        ],
        "version"=>
        "v10",
        "lastModified"=>
        "2019-07-16",
        "files"=>
        [
        "regular"=>
            "http://fonts.gstatic.com/s/alikeangular/v10/3qTrojWunjGQtEBlIcwMbSoI3kM6bB7FKjE.ttf",
        ],
        "category"=>
        "serif",
        "kind"=>
        "webfonts#webfont"
    ],
    26 =>
    [
        "family"=>
        "Allan",
        "variants"=>
        [
        0=>
            "regular",
        1=>
            "700",
        ],
        "subsets"=>
        [
        0=>
            "latin",
        1=>
            "latin-ext",
        ],
        "version"=>
        "v12",
        "lastModified"=>
        "2019-07-16",
        "files"=>
        [
        "regular"=>
            "http://fonts.gstatic.com/s/allan/v12/ea8XadU7WuTxEtb2P9SF8nZE.ttf",
        "700"=>
            "http://fonts.gstatic.com/s/allan/v12/ea8aadU7WuTxEu5KEPCN2WpNgEKU.ttf",
        ],
        "category"=>
        "display",
        "kind"=>
        "webfonts#webfont"
    ],
    27 =>
    [
        "family"=>
        "Allerta",
        "variants"=>
        [
        0=>
            "regular",
        ],
        "subsets"=>
        [
        0=>
            "latin",
        ],
        "version"=>
        "v10",
        "lastModified"=>
        "2019-07-16",
        "files"=>
        [
        "regular"=>
            "http://fonts.gstatic.com/s/allerta/v10/TwMO-IAHRlkbx940UnEdSQqO5uY.ttf",
        ],
        "category"=>
        "sans-serif",
        "kind"=>
        "webfonts#webfont"
    ],
    28 =>
    [
        "family"=>
        "Allerta Stencil",
        "variants"=>
        [
        0=>
            "regular",
        ],
        "subsets"=>
        [
        0=>
            "latin",
        ],
        "version"=>
        "v10",
        "lastModified"=>
        "2019-07-16",
        "files"=>
        [
        "regular"=>
            "http://fonts.gstatic.com/s/allertastencil/v10/HTx0L209KT-LmIE9N7OR6eiycOeF-zz313DuvQ.ttf",
        ],
        "category"=>
        "sans-serif",
        "kind"=>
        "webfonts#webfont"
    ],
    29 =>
    [
        "family"=>
        "Allura",
        "variants"=>
        [
        0=>
            "regular",
        ],
        "subsets"=>
        [
        0=>
            "latin",
        1=>
            "latin-ext",
        ],
        "version"=>
        "v8",
        "lastModified"=>
        "2019-07-16",
        "files"=>
        [
        "regular"=>
            "http://fonts.gstatic.com/s/allura/v8/9oRPNYsQpS4zjuAPjAIXPtrrGA.ttf",
        ],
        "category"=>
        "handwriting",
        "kind"=>
        "webfonts#webfont"
    ],
    30 =>
    [
        "family"=>
        "Almarai",
        "variants"=>
        [
        0=>
            "300",
        1=>
            "regular",
        2=>
            "700",
        3=>
            "800",
        ],
        "subsets"=>
        [
        0=>
            "arabic",
        ],
        "version"=>
        "v2",
        "lastModified"=>
        "2020-03-03",
        "files"=>
        [
        "300"=>
            "http://fonts.gstatic.com/s/almarai/v2/tssoApxBaigK_hnnS_anhnicoq72sXg.ttf",
        "regular"=>
            "http://fonts.gstatic.com/s/almarai/v2/tsstApxBaigK_hnnc1qPonC3vqc.ttf",
        "700"=>
            "http://fonts.gstatic.com/s/almarai/v2/tssoApxBaigK_hnnS-aghnicoq72sXg.ttf",
        "800"=>
            "http://fonts.gstatic.com/s/almarai/v2/tssoApxBaigK_hnnS_qjhnicoq72sXg.ttf",
        ],
        "category"=>
        "sans-serif",
        "kind"=>
        "webfonts#webfont"
    ],
    31 =>
    [
        "family"=>
        "Almendra",
        "variants"=>
        [
        0=>
            "regular",
        1=>
            "italic",
        2=>
            "700",
        3=>
            "700italic",
        ],
        "subsets"=>
        [
        0=>
            "latin",
        1=>
            "latin-ext",
        ],
        "version"=>
        "v12",
        "lastModified"=>
        "2019-07-16",
        "files"=>
        [
        "regular"=>
            "http://fonts.gstatic.com/s/almendra/v12/H4ckBXKAlMnTn0CskyY6wr-wg763.ttf",
        "italic"=>
            "http://fonts.gstatic.com/s/almendra/v12/H4ciBXKAlMnTn0CskxY4yLuShq63czE.ttf",
        "700"=>
            "http://fonts.gstatic.com/s/almendra/v12/H4cjBXKAlMnTn0Cskx6G7Zu4qKK-aihq.ttf",
        "700italic"=>
            "http://fonts.gstatic.com/s/almendra/v12/H4chBXKAlMnTn0CskxY48Ae9oqacbzhqDtg.ttf",
        ],
        "category"=>
        "serif",
        "kind"=>
        "webfonts#webfont"
    ],
    32 =>
    [
        "family"=>
        "Almendra Display",
        "variants"=>
        [
        0=>
            "regular",
        ],
        "subsets"=>
        [
        0=>
            "latin",
        1=>
            "latin-ext",
        ],
        "version"=>
        "v10",
        "lastModified"=>
        "2019-07-16",
        "files"=>
        [
        "regular"=>
            "http://fonts.gstatic.com/s/almendradisplay/v10/0FlPVOGWl1Sb4O3tETtADHRRlZhzXS_eTyer338.ttf",
        ],
        "category"=>
        "display",
        "kind"=>
        "webfonts#webfont"
    ],
    33 =>
    [
        "family"=>
        "Almendra SC",
        "variants"=>
        [
        0=>
            "regular",
        ],
        "subsets"=>
        [
        0=>
            "latin",
        ],
        "version"=>
        "v10",
        "lastModified"=>
        "2019-07-16",
        "files"=>
        [
        "regular"=>
            "http://fonts.gstatic.com/s/almendrasc/v10/Iure6Yx284eebowr7hbyTZZJprVA4XQ0.ttf",
        ],
        "category"=>
        "serif",
        "kind"=>
        "webfonts#webfont"
    ],
    34 =>
    [
        "family"=>
        "Amarante",
        "variants"=>
        [
        0=>
            "regular",
        ],
        "subsets"=>
        [
        0=>
            "latin",
        1=>
            "latin-ext",
        ],
        "version"=>
        "v7",
        "lastModified"=>
        "2019-07-16",
        "files"=>
        [
        "regular"=>
            "http://fonts.gstatic.com/s/amarante/v7/xMQXuF1KTa6EvGx9bq-3C3rAmD-b.ttf",
        ],
        "category"=>
        "display",
        "kind"=>
        "webfonts#webfont"
    ],
    35 =>
    [
        "family"=>
        "Amaranth",
        "variants"=>
        [
        0=>
            "regular",
        1=>
            "italic",
        2=>
            "700",
        3=>
            "700italic",
        ],
        "subsets"=>
        [
        0=>
            "latin",
        ],
        "version"=>
        "v10",
        "lastModified"=>
        "2019-07-16",
        "files"=>
        [
        "regular"=>
            "http://fonts.gstatic.com/s/amaranth/v10/KtkuALODe433f0j1zPnCF9GqwnzW.ttf",
        "italic"=>
            "http://fonts.gstatic.com/s/amaranth/v10/KtkoALODe433f0j1zMnAHdWIx2zWD4I.ttf",
        "700"=>
            "http://fonts.gstatic.com/s/amaranth/v10/KtkpALODe433f0j1zMF-OPWi6WDfFpuc.ttf",
        "700italic"=>
            "http://fonts.gstatic.com/s/amaranth/v10/KtkrALODe433f0j1zMnAJWmn42T9E4ucRY8.ttf",
        ],
        "category"=>
        "sans-serif",
        "kind"=>
        "webfonts#webfont"
    ],
    36 =>
    [
        "family"=>
        "Amatic SC",
        "variants"=>
        [
        0=>
            "regular",
        1=>
            "700",
        ],
        "subsets"=>
        [
        0=>
            "cyrillic",
        1=>
            "hebrew",
        2=>
            "latin",
        3=>
            "latin-ext",
        4=>
            "vietnamese",
        ],
        "version"=>
        "v13",
        "lastModified"=>
        "2019-07-17",
        "files"=>
        [
        "regular"=>
            "http://fonts.gstatic.com/s/amaticsc/v13/TUZyzwprpvBS1izr_vO0De6ecZQf1A.ttf",
        "700"=>
            "http://fonts.gstatic.com/s/amaticsc/v13/TUZ3zwprpvBS1izr_vOMscG6eb8D3WTy-A.ttf",
        ],
        "category"=>
        "handwriting",
        "kind"=>
        "webfonts#webfont"
    ],
    37 =>
    [
        "family"=>
        "Amethysta",
        "variants"=>
        [
        0=>
            "regular",
        ],
        "subsets"=>
        [
        0=>
            "latin",
        ],
        "version"=>
        "v8",
        "lastModified"=>
        "2019-07-16",
        "files"=>
        [
        "regular"=>
            "http://fonts.gstatic.com/s/amethysta/v8/rP2Fp2K15kgb_F3ibfWIGDWCBl0O8Q.ttf",
        ],
        "category"=>
        "serif",
        "kind"=>
        "webfonts#webfont"
    ],
    38 =>
    [
        "family"=>
        "Amiko",
        "variants"=>
        [
        0=>
            "regular",
        1=>
            "600",
        2=>
            "700",
        ],
        "subsets"=>
        [
        0=>
            "devanagari",
        1=>
            "latin",
        2=>
            "latin-ext",
        ],
        "version"=>
        "v4",
        "lastModified"=>
        "2019-07-16",
        "files"=>
        [
        "regular"=>
            "http://fonts.gstatic.com/s/amiko/v4/WwkQxPq1DFK04tqlc17MMZgJ.ttf",
        "600"=>
            "http://fonts.gstatic.com/s/amiko/v4/WwkdxPq1DFK04uJ9XXrEGoQAUco5.ttf",
        "700"=>
            "http://fonts.gstatic.com/s/amiko/v4/WwkdxPq1DFK04uIZXHrEGoQAUco5.ttf",
        ],
        "category"=>
        "sans-serif",
        "kind"=>
        "webfonts#webfont"
    ],
    39 =>
    [
        "family"=>
        "Amiri",
        "variants"=>
        [
        0=>
            "regular",
        1=>
            "italic",
        2=>
            "700",
        3=>
            "700italic",
        ],
        "subsets"=>
        [
        0=>
            "arabic",
        1=>
            "latin",
        2=>
            "latin-ext",
        ],
        "version"=>
        "v13",
        "lastModified"=>
        "2019-07-17",
        "files"=>
        [
        "regular"=>
            "http://fonts.gstatic.com/s/amiri/v13/J7aRnpd8CGxBHqUpvrIw74NL.ttf",
        "italic"=>
            "http://fonts.gstatic.com/s/amiri/v13/J7afnpd8CGxBHpUrtLYS6pNLAjk.ttf",
        "700"=>
            "http://fonts.gstatic.com/s/amiri/v13/J7acnpd8CGxBHp2VkZY4xJ9CGyAa.ttf",
        "700italic"=>
            "http://fonts.gstatic.com/s/amiri/v13/J7aanpd8CGxBHpUrjAo9zptgHjAavCA.ttf",
        ],
        "category"=>
        "serif",
        "kind"=>
        "webfonts#webfont"
    ],
    40 =>
    [
        "family"=>
        "Amita",
        "variants"=>
        [
        0=>
            "regular",
        1=>
            "700",
        ],
        "subsets"=>
        [
        0=>
            "devanagari",
        1=>
            "latin",
        2=>
            "latin-ext",
        ],
        "version"=>
        "v5",
        "lastModified"=>
        "2019-07-16",
        "files"=>
        [
        "regular"=>
            "http://fonts.gstatic.com/s/amita/v5/HhyaU5si9Om7PQlvAfSKEZZL.ttf",
        "700"=>
            "http://fonts.gstatic.com/s/amita/v5/HhyXU5si9Om7PTHTLtCCOopCTKkI.ttf",
        ],
        "category"=>
        "handwriting",
        "kind"=>
        "webfonts#webfont"
    ],
    41 =>
    [
        "family"=>
        "Anaheim",
        "variants"=>
        [
        0=>
            "regular",
        ],
        "subsets"=>
        [
        0=>
            "latin",
        1=>
            "latin-ext",
        ],
        "version"=>
        "v7",
        "lastModified"=>
        "2019-07-16",
        "files"=>
        [
        "regular"=>
            "http://fonts.gstatic.com/s/anaheim/v7/8vII7w042Wp87g4G0UTUEE5eK_w.ttf",
        ],
        "category"=>
        "sans-serif",
        "kind"=>
        "webfonts#webfont"
    ],
    42 =>
    [
        "family"=>
        "Andada",
        "variants"=>
        [
        0=>
            "regular",
        ],
        "subsets"=>
        [
        0=>
            "latin",
        1=>
            "latin-ext",
        ],
        "version"=>
        "v11",
        "lastModified"=>
        "2019-07-16",
        "files"=>
        [
        "regular"=>
            "http://fonts.gstatic.com/s/andada/v11/uK_y4riWaego3w9RCh0TMv6EXw.ttf",
        ],
        "category"=>
        "serif",
        "kind"=>
        "webfonts#webfont"
    ],
    43 =>
    [
        "family"=>
        "Andika",
        "variants"=>
        [
        0=>
            "regular",
        ],
        "subsets"=>
        [
        0=>
            "cyrillic",
        1=>
            "cyrillic-ext",
        2=>
            "latin",
        3=>
            "latin-ext",
        4=>
            "vietnamese",
        ],
        "version"=>
        "v11",
        "lastModified"=>
        "2019-07-16",
        "files"=>
        [
        "regular"=>
            "http://fonts.gstatic.com/s/andika/v11/mem_Ya6iyW-LwqgAbbwRWrwGVA.ttf",
        ],
        "category"=>
        "sans-serif",
        "kind"=>
        "webfonts#webfont"
    ],
    44 =>
    [
        "family"=>
        "Angkor",
        "variants"=>
        [
        0=>
            "regular",
        ],
        "subsets"=>
        [
        0=>
            "khmer",
        ],
        "version"=>
        "v12",
        "lastModified"=>
        "2019-07-16",
        "files"=>
        [
        "regular"=>
            "http://fonts.gstatic.com/s/angkor/v12/H4cmBXyAlsPdnlb-8iw-4Lqggw.ttf",
        ],
        "category"=>
        "display",
        "kind"=>
        "webfonts#webfont"
    ],
    45 =>
    [
        "family"=>
        "Annie Use Your Telescope",
        "variants"=>
        [
        0=>
            "regular",
        ],
        "subsets"=>
        [
        0=>
            "latin",
        ],
        "version"=>
        "v10",
        "lastModified"=>
        "2019-07-16",
        "files"=>
        [
        "regular"=>
            "http://fonts.gstatic.com/s/annieuseyourtelescope/v10/daaLSS4tI2qYYl3Jq9s_Hu74xwktnlKxH6osGVGjlDfB3UUVZA.ttf",
        ],
        "category"=>
        "handwriting",
        "kind"=>
        "webfonts#webfont"
    ],
    46 =>
    [
        "family"=>
        "Anonymous Pro",
        "variants"=>
        [
        0=>
            "regular",
        1=>
            "italic",
        2=>
            "700",
        3=>
            "700italic",
        ],
        "subsets"=>
        [
        0=>
            "cyrillic",
        1=>
            "greek",
        2=>
            "latin",
        3=>
            "latin-ext",
        ],
        "version"=>
        "v13",
        "lastModified"=>
        "2019-07-16",
        "files"=>
        [
        "regular"=>
            "http://fonts.gstatic.com/s/anonymouspro/v13/rP2Bp2a15UIB7Un-bOeISG3pLlw89CH98Ko.ttf",
        "italic"=>
            "http://fonts.gstatic.com/s/anonymouspro/v13/rP2fp2a15UIB7Un-bOeISG3pHl428AP44Kqr2Q.ttf",
        "700"=>
            "http://fonts.gstatic.com/s/anonymouspro/v13/rP2cp2a15UIB7Un-bOeISG3pFuAT0CnW7KOywKo.ttf",
        "700italic"=>
            "http://fonts.gstatic.com/s/anonymouspro/v13/rP2ap2a15UIB7Un-bOeISG3pHl4OTCzc6IG30KqB9Q.ttf",
        ],
        "category"=>
        "monospace",
        "kind"=>
        "webfonts#webfont"
    ],
    47 =>
    [
        "family"=>
        "Antic",
        "variants"=>
        [
        0=>
            "regular",
        ],
        "subsets"=>
        [
        0=>
            "latin",
        ],
        "version"=>
        "v11",
        "lastModified"=>
        "2019-07-16",
        "files"=>
        [
        "regular"=>
            "http://fonts.gstatic.com/s/antic/v11/TuGfUVB8XY5DRaZLodgzydtk.ttf",
        ],
        "category"=>
        "sans-serif",
        "kind"=>
        "webfonts#webfont"
    ],
    48 =>
    [
        "family"=>
        "Antic Didone",
        "variants"=>
        [
        0=>
            "regular",
        ],
        "subsets"=>
        [
        0=>
            "latin",
        ],
        "version"=>
        "v8",
        "lastModified"=>
        "2019-07-16",
        "files"=>
        [
        "regular"=>
            "http://fonts.gstatic.com/s/anticdidone/v8/RWmPoKKX6u8sp8fIWdnDKqDiqYsGBGBzCw.ttf",
        ],
        "category"=>
        "serif",
        "kind"=>
        "webfonts#webfont"
    ],
    49 =>
    [
        "family"=>
        "Antic Slab",
        "variants"=>
        [
        0=>
            "regular",
        ],
        "subsets"=>
        [
        0=>
            "latin",
        ],
        "version"=>
        "v8",
        "lastModified"=>
        "2019-07-16",
        "files"=>
        [
        "regular"=>
            "http://fonts.gstatic.com/s/anticslab/v8/bWt97fPFfRzkCa9Jlp6IWcJWXW5p5Qo.ttf",
        ],
        "category"=>
        "serif",
        "kind"=>
        "webfonts#webfont"
    ],
    50 =>
    [
        "family"=>
        "Anton",
        "variants"=>
        [
        0=>
            "regular",
        ],
        "subsets"=>
        [
        0=>
            "latin",
        1=>
            "latin-ext",
        2=>
            "vietnamese",
        ],
        "version"=>
        "v11",
        "lastModified"=>
        "2019-07-17",
        "files"=>
        [
        "regular"=>
            "http://fonts.gstatic.com/s/anton/v11/1Ptgg87LROyAm0K08i4gS7lu.ttf",
        ],
        "category"=>
        "sans-serif",
        "kind"=>
        "webfonts#webfont"
    ],
    51 =>
    [
        "family"=>
        "Arapey",
        "variants"=>
        [
        0=>
            "regular",
        1=>
            "italic",
        ],
        "subsets"=>
        [
        0=>
            "latin",
        ],
        "version"=>
        "v8",
        "lastModified"=>
        "2019-07-16",
        "files"=>
        [
        "regular"=>
            "http://fonts.gstatic.com/s/arapey/v8/-W__XJn-UDDA2RC6Z9AcZkIzeg.ttf",
        "italic"=>
            "http://fonts.gstatic.com/s/arapey/v8/-W_9XJn-UDDA2RCKZdoYREcjeo0k.ttf",
        ],
        "category"=>
        "serif",
        "kind"=>
        "webfonts#webfont"
    ],
    52 =>
    [
        "family"=>
        "Arbutus",
        "variants"=>
        [
        0=>
            "regular",
        ],
        "subsets"=>
        [
        0=>
            "latin",
        1=>
            "latin-ext",
        ],
        "version"=>
        "v9",
        "lastModified"=>
        "2019-07-16",
        "files"=>
        [
        "regular"=>
            "http://fonts.gstatic.com/s/arbutus/v9/NaPYcZ7dG_5J3poob9JtryO8fMU.ttf",
        ],
        "category"=>
        "display",
        "kind"=>
        "webfonts#webfont"
    ],
    53 =>
    [
        "family"=>
        "Arbutus Slab",
        "variants"=>
        [
        0=>
            "regular",
        ],
        "subsets"=>
        [
        0=>
            "latin",
        1=>
            "latin-ext",
        ],
        "version"=>
        "v8",
        "lastModified"=>
        "2019-07-16",
        "files"=>
        [
        "regular"=>
            "http://fonts.gstatic.com/s/arbutusslab/v8/oY1Z8e7OuLXkJGbXtr5ba7ZVa68dJlaFAQ.ttf",
        ],
        "category"=>
        "serif",
        "kind"=>
        "webfonts#webfont"
    ],
    54 =>
    [
        "family"=>
        "Architects Daughter",
        "variants"=>
        [
        0=>
            "regular",
        ],
        "subsets"=>
        [
        0=>
            "latin",
        ],
        "version"=>
        "v10",
        "lastModified"=>
        "2019-07-16",
        "files"=>
        [
        "regular"=>
            "http://fonts.gstatic.com/s/architectsdaughter/v10/KtkxAKiDZI_td1Lkx62xHZHDtgO_Y-bvfY5q4szgE-Q.ttf",
        ],
        "category"=>
        "handwriting",
        "kind"=>
        "webfonts#webfont"
    ],
    55 =>
    [
        "family"=>
        "Archivo",
        "variants"=>
        [
        0=>
            "regular",
        1=>
            "italic",
        2=>
            "500",
        3=>
            "500italic",
        4=>
            "600",
        5=>
            "600italic",
        6=>
            "700",
        7=>
            "700italic",
        ],
        "subsets"=>
        [
        0=>
            "latin",
        1=>
            "latin-ext",
        2=>
            "vietnamese",
        ],
        "version"=>
        "v6",
        "lastModified"=>
        "2019-07-26",
        "files"=>
        [
        "regular"=>
            "http://fonts.gstatic.com/s/archivo/v6/k3kQo8UDI-1M0wlSTd7iL0nAMaM.ttf",
        "italic"=>
            "http://fonts.gstatic.com/s/archivo/v6/k3kSo8UDI-1M0wlSfdzoK2vFIaOV8A.ttf",
        "500"=>
            "http://fonts.gstatic.com/s/archivo/v6/k3kVo8UDI-1M0wlSdSrLC0HrLaqM6Q4.ttf",
        "500italic"=>
            "http://fonts.gstatic.com/s/archivo/v6/k3kXo8UDI-1M0wlSfdzQ30LhKYiJ-Q7m8w.ttf",
        "600"=>
            "http://fonts.gstatic.com/s/archivo/v6/k3kVo8UDI-1M0wlSdQbMC0HrLaqM6Q4.ttf",
        "600italic"=>
            "http://fonts.gstatic.com/s/archivo/v6/k3kXo8UDI-1M0wlSfdzQ80XhKYiJ-Q7m8w.ttf",
        "700"=>
            "http://fonts.gstatic.com/s/archivo/v6/k3kVo8UDI-1M0wlSdWLNC0HrLaqM6Q4.ttf",
        "700italic"=>
            "http://fonts.gstatic.com/s/archivo/v6/k3kXo8UDI-1M0wlSfdzQl0ThKYiJ-Q7m8w.ttf",
        ],
        "category"=>
        "sans-serif",
        "kind"=>
        "webfonts#webfont"
    ],
    56 =>
    [
        "family"=>
        "Archivo Black",
        "variants"=>
        [
        0=>
            "regular",
        ],
        "subsets"=>
        [
        0=>
            "latin",
        1=>
            "latin-ext",
        ],
        "version"=>
        "v9",
        "lastModified"=>
        "2019-07-17",
        "files"=>
        [
        "regular"=>
            "http://fonts.gstatic.com/s/archivoblack/v9/HTxqL289NzCGg4MzN6KJ7eW6OYuP_x7yx3A.ttf",
        ],
        "category"=>
        "sans-serif",
        "kind"=>
        "webfonts#webfont"
    ],
    57 =>
    [
        "family"=>
        "Archivo Narrow",
        "variants"=>
        [
        0=>
            "regular",
        1=>
            "italic",
        2=>
            "500",
        3=>
            "500italic",
        4=>
            "600",
        5=>
            "600italic",
        6=>
            "700",
        7=>
            "700italic",
        ],
        "subsets"=>
        [
        0=>
            "latin",
        1=>
            "latin-ext",
        2=>
            "vietnamese",
        ],
        "version"=>
        "v11",
        "lastModified"=>
        "2019-07-26",
        "files"=>
        [
        "regular"=>
            "http://fonts.gstatic.com/s/archivonarrow/v11/tss0ApVBdCYD5Q7hcxTE1ArZ0Yb3g31S2s8p.ttf",
        "italic"=>
            "http://fonts.gstatic.com/s/archivonarrow/v11/tss2ApVBdCYD5Q7hcxTE1ArZ0bb1iXlw398pJxk.ttf",
        "500"=>
            "http://fonts.gstatic.com/s/archivonarrow/v11/tss3ApVBdCYD5Q7hcxTE1ArZ0b4Dqlla8dMgPgBu.ttf",
        "500italic"=>
            "http://fonts.gstatic.com/s/archivonarrow/v11/tssxApVBdCYD5Q7hcxTE1ArZ0bb1sY1Z-9cCOxBu_BM.ttf",
        "600"=>
            "http://fonts.gstatic.com/s/archivonarrow/v11/tss3ApVBdCYD5Q7hcxTE1ArZ0b4vrVla8dMgPgBu.ttf",
        "600italic"=>
            "http://fonts.gstatic.com/s/archivonarrow/v11/tssxApVBdCYD5Q7hcxTE1ArZ0bb1saFe-9cCOxBu_BM.ttf",
        "700"=>
            "http://fonts.gstatic.com/s/archivonarrow/v11/tss3ApVBdCYD5Q7hcxTE1ArZ0b5LrFla8dMgPgBu.ttf",
        "700italic"=>
            "http://fonts.gstatic.com/s/archivonarrow/v11/tssxApVBdCYD5Q7hcxTE1ArZ0bb1scVf-9cCOxBu_BM.ttf",
        ],
        "category"=>
        "sans-serif",
        "kind"=>
        "webfonts#webfont"
    ],
    58 =>
    [
        "family"=>
        "Aref Ruqaa",
        "variants"=>
        [
        0=>
            "regular",
        1=>
            "700",
        ],
        "subsets"=>
        [
        0=>
            "arabic",
        1=>
            "latin",
        ],
        "version"=>
        "v8",
        "lastModified"=>
        "2019-07-16",
        "files"=>
        [
        "regular"=>
            "http://fonts.gstatic.com/s/arefruqaa/v8/WwkbxPW1E165rajQKDulEIAiVNo5xNY.ttf",
        "700"=>
            "http://fonts.gstatic.com/s/arefruqaa/v8/WwkYxPW1E165rajQKDulKDwNcNIS2N_7Bdk.ttf",
        ],
        "category"=>
        "serif",
        "kind"=>
        "webfonts#webfont"
    ],
    59 =>
    [
        "family"=>
        "Arima Madurai",
        "variants"=>
        [
        0=>
            "100",
        1=>
            "200",
        2=>
            "300",
        3=>
            "regular",
        4=>
            "500",
        5=>
            "700",
        6=>
            "800",
        7=>
            "900",
        ],
        "subsets"=>
        [
        0=>
            "latin",
        1=>
            "latin-ext",
        2=>
            "tamil",
        3=>
            "vietnamese",
        ],
        "version"=>
        "v5",
        "lastModified"=>
        "2019-07-16",
        "files"=>
        [
        "100"=>
            "http://fonts.gstatic.com/s/arimamadurai/v5/t5t4IRoeKYORG0WNMgnC3seB1V3PqrGCch4Drg.ttf",
        "200"=>
            "http://fonts.gstatic.com/s/arimamadurai/v5/t5t7IRoeKYORG0WNMgnC3seB1fHuipusfhcat2c.ttf",
        "300"=>
            "http://fonts.gstatic.com/s/arimamadurai/v5/t5t7IRoeKYORG0WNMgnC3seB1ZXtipusfhcat2c.ttf",
        "regular"=>
            "http://fonts.gstatic.com/s/arimamadurai/v5/t5tmIRoeKYORG0WNMgnC3seB7TnFrpOHYh4.ttf",
        "500"=>
            "http://fonts.gstatic.com/s/arimamadurai/v5/t5t7IRoeKYORG0WNMgnC3seB1c3sipusfhcat2c.ttf",
        "700"=>
            "http://fonts.gstatic.com/s/arimamadurai/v5/t5t7IRoeKYORG0WNMgnC3seB1YXqipusfhcat2c.ttf",
        "800"=>
            "http://fonts.gstatic.com/s/arimamadurai/v5/t5t7IRoeKYORG0WNMgnC3seB1Znpipusfhcat2c.ttf",
        "900"=>
            "http://fonts.gstatic.com/s/arimamadurai/v5/t5t7IRoeKYORG0WNMgnC3seB1b3oipusfhcat2c.ttf",
        ],
        "category"=>
        "display",
        "kind"=>
        "webfonts#webfont"
    ],
    60 =>
    [
        "family"=>
        "Arimo",
        "variants"=>
        [
        0=>
            "regular",
        1=>
            "italic",
        2=>
            "700",
        3=>
            "700italic",
        ],
        "subsets"=>
        [
        0=>
            "cyrillic",
        1=>
            "cyrillic-ext",
        2=>
            "greek",
        3=>
            "greek-ext",
        4=>
            "hebrew",
        5=>
            "latin",
        6=>
            "latin-ext",
        7=>
            "vietnamese",
        ],
        "version"=>
        "v13",
        "lastModified"=>
        "2019-07-22",
        "files"=>
        [
        "regular"=>
            "http://fonts.gstatic.com/s/arimo/v13/P5sMzZCDf9_T_20eziBMjI-u.ttf",
        "italic"=>
            "http://fonts.gstatic.com/s/arimo/v13/P5sCzZCDf9_T_10cxCRuiZ-uydg.ttf",
        "700"=>
            "http://fonts.gstatic.com/s/arimo/v13/P5sBzZCDf9_T_1Wi4QREp5On0ME2.ttf",
        "700italic"=>
            "http://fonts.gstatic.com/s/arimo/v13/P5sHzZCDf9_T_10c_JhBrZeF1dE2PY4.ttf",
        ],
        "category"=>
        "sans-serif",
        "kind"=>
        "webfonts#webfont"
    ],
    61 =>
    [
        "family"=>
        "Arizonia",
        "variants"=>
        [
        0=>
            "regular",
        ],
        "subsets"=>
        [
        0=>
            "latin",
        1=>
            "latin-ext",
        ],
        "version"=>
        "v10",
        "lastModified"=>
        "2019-07-16",
        "files"=>
        [
        "regular"=>
            "http://fonts.gstatic.com/s/arizonia/v10/neIIzCemt4A5qa7mv6WGHK06UY30.ttf",
        ],
        "category"=>
        "handwriting",
        "kind"=>
        "webfonts#webfont"
    ],
    62 =>
    [
        "family"=>
        "Armata",
        "variants"=>
        [
        0=>
            "regular",
        ],
        "subsets"=>
        [
        0=>
            "latin",
        1=>
            "latin-ext",
        ],
        "version"=>
        "v11",
        "lastModified"=>
        "2019-07-16",
        "files"=>
        [
        "regular"=>
            "http://fonts.gstatic.com/s/armata/v11/gokvH63_HV5jQ-E9lD53Q2u_mQ.ttf",
        ],
        "category"=>
        "sans-serif",
        "kind"=>
        "webfonts#webfont"
    ],
    63 =>
    [
        "family"=>
        "Arsenal",
        "variants"=>
        [
        0=>
            "regular",
        1=>
            "italic",
        2=>
            "700",
        3=>
            "700italic",
        ],
        "subsets"=>
        [
        0=>
            "cyrillic",
        1=>
            "cyrillic-ext",
        2=>
            "latin",
        3=>
            "latin-ext",
        4=>
            "vietnamese",
        ],
        "version"=>
        "v4",
        "lastModified"=>
        "2019-07-16",
        "files"=>
        [
        "regular"=>
            "http://fonts.gstatic.com/s/arsenal/v4/wXKrE3kQtZQ4pF3D11_WAewrhXY.ttf",
        "italic"=>
            "http://fonts.gstatic.com/s/arsenal/v4/wXKpE3kQtZQ4pF3D513cBc4ulXYrtA.ttf",
        "700"=>
            "http://fonts.gstatic.com/s/arsenal/v4/wXKuE3kQtZQ4pF3D7-P5JeQAmX8yrdk.ttf",
        "700italic"=>
            "http://fonts.gstatic.com/s/arsenal/v4/wXKsE3kQtZQ4pF3D513kueEKnV03vdnKjw.ttf",
        ],
        "category"=>
        "sans-serif",
        "kind"=>
        "webfonts#webfont"
    ],
    64 =>
    [
        "family"=>
        "Artifika",
        "variants"=>
        [
        0=>
            "regular",
        ],
        "subsets"=>
        [
        0=>
            "latin",
        ],
        "version"=>
        "v10",
        "lastModified"=>
        "2019-07-16",
        "files"=>
        [
        "regular"=>
            "http://fonts.gstatic.com/s/artifika/v10/VEMyRoxzronptCuxu6Wt5jDtreOL.ttf",
        ],
        "category"=>
        "serif",
        "kind"=>
        "webfonts#webfont"
    ],
    65 =>
    [
        "family"=>
        "Arvo",
        "variants"=>
        [
        0=>
            "regular",
        1=>
            "italic",
        2=>
            "700",
        3=>
            "700italic",
        ],
        "subsets"=>
        [
        0=>
            "latin",
        ],
        "version"=>
        "v13",
        "lastModified"=>
        "2019-07-26",
        "files"=>
        [
        "regular"=>
            "http://fonts.gstatic.com/s/arvo/v13/tDbD2oWUg0MKmSAa7Lzr7vs.ttf",
        "italic"=>
            "http://fonts.gstatic.com/s/arvo/v13/tDbN2oWUg0MKqSIQ6J7u_vvijQ.ttf",
        "700"=>
            "http://fonts.gstatic.com/s/arvo/v13/tDbM2oWUg0MKoZw1yLTA8vL7lAE.ttf",
        "700italic"=>
            "http://fonts.gstatic.com/s/arvo/v13/tDbO2oWUg0MKqSIoVLHK9tD-hAHkGg.ttf",
        ],
        "category"=>
        "serif",
        "kind"=>
        "webfonts#webfont"
    ],
    66 =>
    [
        "family"=>
        "Arya",
        "variants"=>
        [
        0=>
            "regular",
        1=>
            "700",
        ],
        "subsets"=>
        [
        0=>
            "devanagari",
        1=>
            "latin",
        2=>
            "latin-ext",
        ],
        "version"=>
        "v5",
        "lastModified"=>
        "2019-07-16",
        "files"=>
        [
        "regular"=>
            "http://fonts.gstatic.com/s/arya/v5/ga6CawNG-HJd9Ub1-beqdFE.ttf",
        "700"=>
            "http://fonts.gstatic.com/s/arya/v5/ga6NawNG-HJdzfra3b-BaFg3dRE.ttf",
        ],
        "category"=>
        "sans-serif",
        "kind"=>
        "webfonts#webfont"
    ],
    67 =>
    [
        "family"=>
        "Asap",
        "variants"=>
        [
        0=>
            "regular",
        1=>
            "italic",
        2=>
            "500",
        3=>
            "500italic",
        4=>
            "600",
        5=>
            "600italic",
        6=>
            "700",
        7=>
            "700italic",
        ],
        "subsets"=>
        [
        0=>
            "latin",
        1=>
            "latin-ext",
        2=>
            "vietnamese",
        ],
        "version"=>
        "v11",
        "lastModified"=>
        "2019-07-26",
        "files"=>
        [
        "regular"=>
            "http://fonts.gstatic.com/s/asap/v11/KFOoCniXp96a-zwU4UROGzY.ttf",
        "italic"=>
            "http://fonts.gstatic.com/s/asap/v11/KFOmCniXp96ayz4e5WZLCzYlKw.ttf",
        "500"=>
            "http://fonts.gstatic.com/s/asap/v11/KFOnCniXp96aw8g9xUxlBz88MsA.ttf",
        "500italic"=>
            "http://fonts.gstatic.com/s/asap/v11/KFOlCniXp96ayz4mEU9vAx05IsDqlA.ttf",
        "600"=>
            "http://fonts.gstatic.com/s/asap/v11/KFOnCniXp96aw-Q6xUxlBz88MsA.ttf",
        "600italic"=>
            "http://fonts.gstatic.com/s/asap/v11/KFOlCniXp96ayz4mPUhvAx05IsDqlA.ttf",
        "700"=>
            "http://fonts.gstatic.com/s/asap/v11/KFOnCniXp96aw4A7xUxlBz88MsA.ttf",
        "700italic"=>
            "http://fonts.gstatic.com/s/asap/v11/KFOlCniXp96ayz4mWUlvAx05IsDqlA.ttf",
        ],
        "category"=>
        "sans-serif",
        "kind"=>
        "webfonts#webfont"
    ],
    68 =>
    [
        "family"=>
        "Asap Condensed",
        "variants"=>
        [
        0=>
            "regular",
        1=>
            "italic",
        2=>
            "500",
        3=>
            "500italic",
        4=>
            "600",
        5=>
            "600italic",
        6=>
            "700",
        7=>
            "700italic",
        ],
        "subsets"=>
        [
        0=>
            "latin",
        1=>
            "latin-ext",
        2=>
            "vietnamese",
        ],
        "version"=>
        "v5",
        "lastModified"=>
        "2019-07-26",
        "files"=>
        [
        "regular"=>
            "http://fonts.gstatic.com/s/asapcondensed/v5/pxidypY1o9NHyXh3WvSbGSggdNeLYk1Mq3ap.ttf",
        "italic"=>
            "http://fonts.gstatic.com/s/asapcondensed/v5/pxifypY1o9NHyXh3WvSbGSggdOeJaElurmapvvM.ttf",
        "500"=>
            "http://fonts.gstatic.com/s/asapcondensed/v5/pxieypY1o9NHyXh3WvSbGSggdO9_S2lEgGqgp-pO.ttf",
        "500italic"=>
            "http://fonts.gstatic.com/s/asapcondensed/v5/pxiYypY1o9NHyXh3WvSbGSggdOeJUL1Him6CovpOkXA.ttf",
        "600"=>
            "http://fonts.gstatic.com/s/asapcondensed/v5/pxieypY1o9NHyXh3WvSbGSggdO9TTGlEgGqgp-pO.ttf",
        "600italic"=>
            "http://fonts.gstatic.com/s/asapcondensed/v5/pxiYypY1o9NHyXh3WvSbGSggdOeJUJFAim6CovpOkXA.ttf",
        "700"=>
            "http://fonts.gstatic.com/s/asapcondensed/v5/pxieypY1o9NHyXh3WvSbGSggdO83TWlEgGqgp-pO.ttf",
        "700italic"=>
            "http://fonts.gstatic.com/s/asapcondensed/v5/pxiYypY1o9NHyXh3WvSbGSggdOeJUPVBim6CovpOkXA.ttf",
        ],
        "category"=>
        "sans-serif",
        "kind"=>
        "webfonts#webfont"
    ],
    69 =>
    [
        "family"=>
        "Asar",
        "variants"=>
        [
        0=>
            "regular",
        ],
        "subsets"=>
        [
        0=>
            "devanagari",
        1=>
            "latin",
        2=>
            "latin-ext",
        ],
        "version"=>
        "v7",
        "lastModified"=>
        "2019-07-16",
        "files"=>
        [
        "regular"=>
            "http://fonts.gstatic.com/s/asar/v7/sZlLdRyI6TBIXkYQDLlTW6E.ttf",
        ],
        "category"=>
        "serif",
        "kind"=>
        "webfonts#webfont"
    ],
    70 =>
    [
        "family"=>
        "Asset",
        "variants"=>
        [
        0=>
            "regular",
        ],
        "subsets"=>
        [
        0=>
            "latin",
        ],
        "version"=>
        "v10",
        "lastModified"=>
        "2019-07-16",
        "files"=>
        [
        "regular"=>
            "http://fonts.gstatic.com/s/asset/v10/SLXGc1na-mM4cWImRJqExst1.ttf",
        ],
        "category"=>
        "display",
        "kind"=>
        "webfonts#webfont"
    ],
    71 =>
    [
        "family"=>
        "Assistant",
        "variants"=>
        [
        0=>
            "200",
        1=>
            "300",
        2=>
            "regular",
        3=>
            "600",
        4=>
            "700",
        5=>
            "800",
        ],
        "subsets"=>
        [
        0=>
            "hebrew",
        1=>
            "latin",
        ],
        "version"=>
        "v4",
        "lastModified"=>
        "2019-07-17",
        "files"=>
        [
        "200"=>
            "http://fonts.gstatic.com/s/assistant/v4/2sDZZGJYnIjSi6H75xk7p0ScA5cZbCjItw.ttf",
        "300"=>
            "http://fonts.gstatic.com/s/assistant/v4/2sDZZGJYnIjSi6H75xk7w0ecA5cZbCjItw.ttf",
        "regular"=>
            "http://fonts.gstatic.com/s/assistant/v4/2sDcZGJYnIjSi6H75xkDb2-4C7wFZQ.ttf",
        "600"=>
            "http://fonts.gstatic.com/s/assistant/v4/2sDZZGJYnIjSi6H75xk7t0GcA5cZbCjItw.ttf",
        "700"=>
            "http://fonts.gstatic.com/s/assistant/v4/2sDZZGJYnIjSi6H75xk700CcA5cZbCjItw.ttf",
        "800"=>
            "http://fonts.gstatic.com/s/assistant/v4/2sDZZGJYnIjSi6H75xk7z0OcA5cZbCjItw.ttf",
        ],
        "category"=>
        "sans-serif",
        "kind"=>
        "webfonts#webfont"
    ],
    72 =>
    [
        "family"=>
        "Astloch",
        "variants"=>
        [
        0=>
            "regular",
        1=>
            "700",
        ],
        "subsets"=>
        [
        0=>
            "latin",
        ],
        "version"=>
        "v11",
        "lastModified"=>
        "2019-07-26",
        "files"=>
        [
        "regular"=>
            "http://fonts.gstatic.com/s/astloch/v11/TuGRUVJ8QI5GSeUjq9wRzMtkH1Q.ttf",
        "700"=>
            "http://fonts.gstatic.com/s/astloch/v11/TuGUUVJ8QI5GSeUjk2A-6MNPA10xLMQ.ttf",
        ],
        "category"=>
        "display",
        "kind"=>
        "webfonts#webfont"
    ],
    73 =>
    [
        "family"=>
        "Asul",
        "variants"=>
        [
        0=>
            "regular",
        1=>
            "700",
        ],
        "subsets"=>
        [
        0=>
            "latin",
        ],
        "version"=>
        "v9",
        "lastModified"=>
        "2019-07-16",
        "files"=>
        [
        "regular"=>
            "http://fonts.gstatic.com/s/asul/v9/VuJ-dNjKxYr46fMFXK78JIg.ttf",
        "700"=>
            "http://fonts.gstatic.com/s/asul/v9/VuJxdNjKxYr40U8qeKbXOIFneRo.ttf",
        ],
        "category"=>
        "sans-serif",
        "kind"=>
        "webfonts#webfont"
    ],
    74 =>
    [
        "family"=>
        "Athiti",
        "variants"=>
        [
        0=>
            "200",
        1=>
            "300",
        2=>
            "regular",
        3=>
            "500",
        4=>
            "600",
        5=>
            "700",
        ],
        "subsets"=>
        [
        0=>
            "latin",
        1=>
            "latin-ext",
        2=>
            "thai",
        3=>
            "vietnamese",
        ],
        "version"=>
        "v4",
        "lastModified"=>
        "2019-07-16",
        "files"=>
        [
        "200"=>
            "http://fonts.gstatic.com/s/athiti/v4/pe0sMISdLIZIv1wAxDNyAv2-C99ycg.ttf",
        "300"=>
            "http://fonts.gstatic.com/s/athiti/v4/pe0sMISdLIZIv1wAoDByAv2-C99ycg.ttf",
        "regular"=>
            "http://fonts.gstatic.com/s/athiti/v4/pe0vMISdLIZIv1w4DBhWCtaiAg.ttf",
        "500"=>
            "http://fonts.gstatic.com/s/athiti/v4/pe0sMISdLIZIv1wA-DFyAv2-C99ycg.ttf",
        "600"=>
            "http://fonts.gstatic.com/s/athiti/v4/pe0sMISdLIZIv1wA1DZyAv2-C99ycg.ttf",
        "700"=>
            "http://fonts.gstatic.com/s/athiti/v4/pe0sMISdLIZIv1wAsDdyAv2-C99ycg.ttf",
        ],
        "category"=>
        "sans-serif",
        "kind"=>
        "webfonts#webfont"
    ],
    75 =>
    [
        "family"=>
        "Atma",
        "variants"=>
        [
        0=>
            "300",
        1=>
            "regular",
        2=>
            "500",
        3=>
            "600",
        4=>
            "700",
        ],
        "subsets"=>
        [
        0=>
            "bengali",
        1=>
            "latin",
        2=>
            "latin-ext",
        ],
        "version"=>
        "v5",
        "lastModified"=>
        "2019-07-16",
        "files"=>
        [
        "300"=>
            "http://fonts.gstatic.com/s/atma/v5/uK_z4rqWc-Eoo8JzKjc9PvedRkM.ttf",
        "regular"=>
            "http://fonts.gstatic.com/s/atma/v5/uK_84rqWc-Eom25bDj8WIv4.ttf",
        "500"=>
            "http://fonts.gstatic.com/s/atma/v5/uK_z4rqWc-Eoo5pyKjc9PvedRkM.ttf",
        "600"=>
            "http://fonts.gstatic.com/s/atma/v5/uK_z4rqWc-Eoo7Z1Kjc9PvedRkM.ttf",
        "700"=>
            "http://fonts.gstatic.com/s/atma/v5/uK_z4rqWc-Eoo9J0Kjc9PvedRkM.ttf",
        ],
        "category"=>
        "display",
        "kind"=>
        "webfonts#webfont"
    ],
    76 =>
    [
        "family"=>
        "Atomic Age",
        "variants"=>
        [
        0=>
            "regular",
        ],
        "subsets"=>
        [
        0=>
            "latin",
        ],
        "version"=>
        "v12",
        "lastModified"=>
        "2019-07-16",
        "files"=>
        [
        "regular"=>
            "http://fonts.gstatic.com/s/atomicage/v12/f0Xz0eug6sdmRFkYZZGL58Ht9a8GYeA.ttf",
        ],
        "category"=>
        "display",
        "kind"=>
        "webfonts#webfont"
    ],
    77 =>
    [
        "family"=>
        "Aubrey",
        "variants"=>
        [
        0=>
            "regular",
        ],
        "subsets"=>
        [
        0=>
            "latin",
        ],
        "version"=>
        "v12",
        "lastModified"=>
        "2019-07-16",
        "files"=>
        [
        "regular"=>
            "http://fonts.gstatic.com/s/aubrey/v12/q5uGsou7NPBw-p7vugNsCxVEgA.ttf",
        ],
        "category"=>
        "display",
        "kind"=>
        "webfonts#webfont"
    ],
    78 =>
    [
        "family"=>
        "Audiowide",
        "variants"=>
        [
        0=>
            "regular",
        ],
        "subsets"=>
        [
        0=>
            "latin",
        1=>
            "latin-ext",
        ],
        "version"=>
        "v8",
        "lastModified"=>
        "2019-07-16",
        "files"=>
        [
        "regular"=>
            "http://fonts.gstatic.com/s/audiowide/v8/l7gdbjpo0cum0ckerWCtkQXPExpQBw.ttf",
        ],
        "category"=>
        "display",
        "kind"=>
        "webfonts#webfont"
    ],
    79 =>
    [
        "family"=>
        "Autour One",
        "variants"=>
        [
        0=>
            "regular",
        ],
        "subsets"=>
        [
        0=>
            "latin",
        1=>
            "latin-ext",
        ],
        "version"=>
        "v9",
        "lastModified"=>
        "2019-07-16",
        "files"=>
        [
        "regular"=>
            "http://fonts.gstatic.com/s/autourone/v9/UqyVK80cP25l3fJgbdfbk5lWVscxdKE.ttf",
        ],
        "category"=>
        "display",
        "kind"=>
        "webfonts#webfont"
    ],
    80 =>
    [
        "family"=>
        "Average",
        "variants"=>
        [
        0=>
            "regular",
        ],
        "subsets"=>
        [
        0=>
            "latin",
        1=>
            "latin-ext",
        ],
        "version"=>
        "v8",
        "lastModified"=>
        "2019-07-16",
        "files"=>
        [
        "regular"=>
            "http://fonts.gstatic.com/s/average/v8/fC1hPYBHe23MxA7rIeJwVWytTyk.ttf",
        ],
        "category"=>
        "
Download .txt
gitextract_kqenrl0y/

├── .distignore
├── .editorconfig
├── .github/
│   └── workflows/
│       └── wp.yml
├── .gitignore
├── .jshintrc
├── .travis.yml
├── CHANGELOG.md
├── LICENSE.txt
├── app/
│   ├── Admin/
│   │   ├── menu.php
│   │   ├── notice.php
│   │   ├── override.php
│   │   └── views/
│   │       ├── blocks.php
│   │       ├── dashboard.php
│   │       ├── delete-handler.php
│   │       ├── getting-started.php
│   │       ├── handler.php
│   │       ├── settings.php
│   │       ├── template-lists.php
│   │       ├── templates/
│   │       │   ├── template-edit.php
│   │       │   ├── template-list.php
│   │       │   ├── template-new.php
│   │       │   └── template-view.php
│   │       └── templates.php
│   ├── Api/
│   │   ├── Controllers/
│   │   │   ├── ApiController.php
│   │   │   ├── BlocksApiController.php
│   │   │   ├── MenuApiController.php
│   │   │   ├── OptionsApiController.php
│   │   │   ├── PageApiController.php
│   │   │   └── SectionsApiController.php
│   │   └── routes.php
│   ├── Application.php
│   ├── Assets/
│   │   ├── BlocksScripts.php
│   │   ├── BuildModeScripts.php
│   │   ├── OnepageScripts.php
│   │   ├── OptionsPanelScripts.php
│   │   ├── PreviewScripts.php
│   │   ├── Traits/
│   │   │   └── FormEngineScripts.php
│   │   └── WpConflictResolver.php
│   ├── Content/
│   │   ├── OnepageContent.php
│   │   ├── OnepageInternalScripts.php
│   │   └── OnepageToolbar.php
│   ├── Loaders/
│   │   ├── BlocksLoader.php
│   │   ├── PresetsLoader.php
│   │   └── TemplateLoader.php
│   ├── Metabox/
│   │   ├── metabox.php
│   │   └── page-meta.php
│   ├── Onepager.php
│   ├── OptionsPanel/
│   │   └── settings.php
│   ├── bootstrap.php
│   ├── data/
│   │   └── font-families.php
│   ├── inc/
│   │   ├── onepager-settings.php
│   │   └── support.php
│   └── templates/
│       ├── builder.php
│       ├── my-test.php
│       ├── onepage.php
│       └── onepager-default.php
├── blocks/
│   ├── blogs/
│   │   ├── blog-1/
│   │   │   ├── config.php
│   │   │   ├── style.css
│   │   │   ├── style.php
│   │   │   └── view.php
│   │   ├── blog-2/
│   │   │   ├── config.php
│   │   │   ├── style.css
│   │   │   ├── style.php
│   │   │   └── view.php
│   │   ├── blog-3/
│   │   │   ├── config.php
│   │   │   ├── style.css
│   │   │   ├── style.php
│   │   │   └── view.php
│   │   ├── blog-4/
│   │   │   ├── config.php
│   │   │   ├── style.css
│   │   │   ├── style.php
│   │   │   └── view.php
│   │   ├── blog-5/
│   │   │   └── blog-5/
│   │   │       ├── config.php
│   │   │       ├── style.php
│   │   │       └── view.php
│   │   └── blog-6/
│   │       ├── config.php
│   │       ├── style.php
│   │       └── view.php
│   ├── coming-soon/
│   │   ├── coming-soon-1/
│   │   │   ├── config.php
│   │   │   ├── style.php
│   │   │   └── view.php
│   │   └── coming-soon-2/
│   │       ├── config.php
│   │       ├── style.php
│   │       └── view.php
│   ├── contacts/
│   │   ├── contact-1/
│   │   │   ├── config.php
│   │   │   ├── style.css
│   │   │   ├── style.php
│   │   │   └── view.php
│   │   ├── contact-2/
│   │   │   ├── config.php
│   │   │   ├── style.php
│   │   │   └── view.php
│   │   ├── contact-3/
│   │   │   ├── config.php
│   │   │   ├── style.php
│   │   │   └── view.php
│   │   └── contact-4/
│   │       ├── config.php
│   │       ├── style.php
│   │       └── view.php
│   ├── cta/
│   │   ├── cta-1/
│   │   │   ├── config.php
│   │   │   ├── style.php
│   │   │   └── view.php
│   │   ├── cta-2/
│   │   │   ├── config.php
│   │   │   ├── style.php
│   │   │   └── view.php
│   │   ├── cta-3/
│   │   │   ├── config.php
│   │   │   ├── style.php
│   │   │   └── view.php
│   │   └── cta-4/
│   │       ├── config.php
│   │       ├── style.php
│   │       └── view.php
│   ├── features/
│   │   ├── feature-1/
│   │   │   ├── config.php
│   │   │   ├── style.php
│   │   │   └── view.php
│   │   ├── feature-10/
│   │   │   ├── config.php
│   │   │   ├── style.php
│   │   │   └── view.php
│   │   ├── feature-11/
│   │   │   ├── config.php
│   │   │   ├── style.php
│   │   │   └── view.php
│   │   ├── feature-12/
│   │   │   ├── config.php
│   │   │   ├── style.php
│   │   │   └── view.php
│   │   ├── feature-13/
│   │   │   ├── config.php
│   │   │   ├── style.php
│   │   │   └── view.php
│   │   ├── feature-14/
│   │   │   ├── config.php
│   │   │   ├── style.php
│   │   │   └── view.php
│   │   ├── feature-15/
│   │   │   ├── config.php
│   │   │   ├── style.php
│   │   │   └── view.php
│   │   ├── feature-16/
│   │   │   ├── config.php
│   │   │   ├── style.php
│   │   │   └── view.php
│   │   ├── feature-17/
│   │   │   ├── config.php
│   │   │   ├── style.php
│   │   │   └── view.php
│   │   ├── feature-18/
│   │   │   ├── config.php
│   │   │   ├── style.php
│   │   │   └── view.php
│   │   ├── feature-19/
│   │   │   ├── config.php
│   │   │   ├── style.php
│   │   │   └── view.php
│   │   ├── feature-2/
│   │   │   ├── config.php
│   │   │   ├── style.php
│   │   │   └── view.php
│   │   ├── feature-20/
│   │   │   ├── config.php
│   │   │   ├── style.php
│   │   │   └── view.php
│   │   ├── feature-21/
│   │   │   ├── config.php
│   │   │   ├── style.php
│   │   │   └── view.php
│   │   ├── feature-22/
│   │   │   ├── config.php
│   │   │   ├── style.php
│   │   │   └── view.php
│   │   ├── feature-23/
│   │   │   ├── config.php
│   │   │   ├── style.php
│   │   │   └── view.php
│   │   ├── feature-24/
│   │   │   ├── config.php
│   │   │   ├── style.php
│   │   │   └── view.php
│   │   ├── feature-25/
│   │   │   ├── config.php
│   │   │   ├── style.php
│   │   │   └── view.php
│   │   ├── feature-3/
│   │   │   ├── config.php
│   │   │   ├── style.php
│   │   │   └── view.php
│   │   ├── feature-4/
│   │   │   ├── config.php
│   │   │   ├── style.php
│   │   │   └── view.php
│   │   ├── feature-5/
│   │   │   ├── config.php
│   │   │   ├── style.php
│   │   │   └── view.php
│   │   ├── feature-6/
│   │   │   ├── config.php
│   │   │   ├── style.php
│   │   │   └── view.php
│   │   ├── feature-7/
│   │   │   ├── config.php
│   │   │   ├── style.php
│   │   │   └── view.php
│   │   ├── feature-8/
│   │   │   ├── config.php
│   │   │   ├── style.php
│   │   │   └── view.php
│   │   └── feature-9/
│   │       ├── config.php
│   │       ├── style.php
│   │       └── view.php
│   ├── footers/
│   │   ├── footer-1/
│   │   │   ├── config.php
│   │   │   ├── style.css
│   │   │   ├── style.php
│   │   │   └── view.php
│   │   ├── footer-2/
│   │   │   └── footer-2/
│   │   │       └── footer-2/
│   │   │           ├── config.php
│   │   │           ├── style.php
│   │   │           └── view.php
│   │   ├── footer-3/
│   │   │   ├── config.php
│   │   │   ├── style.php
│   │   │   └── view.php
│   │   └── footer-4/
│   │       ├── config.php
│   │       ├── style.php
│   │       └── view.php
│   ├── maps/
│   │   └── map-1/
│   │       ├── config.php
│   │       ├── style.php
│   │       └── view.php
│   ├── navbars/
│   │   ├── navbar-1/
│   │   │   ├── config.php
│   │   │   ├── style.php
│   │   │   └── view.php
│   │   ├── navbar-2/
│   │   │   └── navbar-2/
│   │   │       ├── config.php
│   │   │       ├── style.php
│   │   │       └── view.php
│   │   └── navbar-3/
│   │       ├── config.php
│   │       ├── style.php
│   │       └── view.php
│   ├── portfolios/
│   │   └── portfolio-1/
│   │       ├── config.php
│   │       ├── style.css
│   │       ├── style.php
│   │       └── view.php
│   ├── pricing/
│   │   └── pricing-1/
│   │       ├── config.php
│   │       ├── style.css
│   │       ├── style.php
│   │       └── view.php
│   ├── sliders/
│   │   ├── slider-1/
│   │   │   ├── config.php
│   │   │   ├── style.css
│   │   │   ├── style.php
│   │   │   └── view.php
│   │   ├── slider-2/
│   │   │   ├── config.php
│   │   │   ├── style.css
│   │   │   ├── style.php
│   │   │   └── view.php
│   │   ├── slider-3/
│   │   │   ├── config.php
│   │   │   ├── style.php
│   │   │   └── view.php
│   │   ├── slider-4/
│   │   │   ├── config.php
│   │   │   ├── style.php
│   │   │   └── view.php
│   │   └── slider-5/
│   │       ├── config.php
│   │       ├── style.php
│   │       └── view.php
│   ├── teams/
│   │   └── team-1/
│   │       ├── config.php
│   │       ├── style.css
│   │       ├── style.php
│   │       └── view.php
│   ├── testimonials/
│   │   └── testimonial-1/
│   │       ├── config.php
│   │       ├── style.css
│   │       ├── style.php
│   │       └── view.php
│   └── woocommerce/
│       └── woo-1/
│           ├── config.php
│           ├── style.php
│           └── view.php
├── bower.json
├── bowerrc.json
├── composer.json
├── constants.php
├── engine/
│   ├── App/
│   │   ├── App.jsx
│   │   ├── AppStore.js
│   │   ├── AppSyncService.js
│   │   ├── Preview.jsx
│   │   ├── components/
│   │   │   ├── blocks/
│   │   │   │   ├── Block.jsx
│   │   │   │   └── BlockCollection.jsx
│   │   │   ├── presets/
│   │   │   │   ├── Preset.jsx
│   │   │   │   └── PresetCollections.jsx
│   │   │   ├── section-list/
│   │   │   │   ├── Footer.jsx
│   │   │   │   ├── Section.jsx
│   │   │   │   ├── SectionList.jsx
│   │   │   │   ├── SectionTitle.jsx
│   │   │   │   └── style.less
│   │   │   ├── section-view/
│   │   │   │   ├── SectionView.jsx
│   │   │   │   └── SectionViewCollection.jsx
│   │   │   ├── sidebar/
│   │   │   │   ├── Menu.jsx
│   │   │   │   ├── SectionControls.jsx
│   │   │   │   ├── Settings.jsx
│   │   │   │   ├── Sidebar.jsx
│   │   │   │   ├── Tab.jsx
│   │   │   │   ├── assets/
│   │   │   │   │   └── overlay.less
│   │   │   │   └── menu/
│   │   │   │       ├── AddToMenu.jsx
│   │   │   │       └── style.less
│   │   │   └── templates/
│   │   │       ├── ImportTemplate.jsx
│   │   │       ├── SaveTemplate.jsx
│   │   │       ├── SavedTemplates.jsx
│   │   │       └── Template.jsx
│   │   └── flux/
│   │       ├── AppActions.js
│   │       ├── AppConstants.js
│   │       ├── AppDispatcher.js
│   │       └── BaseStore.js
│   ├── Generator/
│   │   ├── Generator.jsx
│   │   ├── GeneratorActions.js
│   │   └── GeneratorStore.js
│   ├── Optionspanel/
│   │   ├── Content.jsx
│   │   ├── OptionActions.js
│   │   ├── OptionStore.js
│   │   ├── OptionsPanel.jsx
│   │   ├── OptionsPanelSync.js
│   │   └── Tabs.jsx
│   ├── generator.jsx
│   ├── lithium/
│   │   ├── builder/
│   │   │   ├── admin.less
│   │   │   ├── bootstrap-override.less
│   │   │   ├── bowerfix.less
│   │   │   ├── modal.less
│   │   │   ├── ui.less
│   │   │   └── variables.less
│   │   ├── lithium-builder.less
│   │   ├── lithium.js
│   │   ├── lithium.less
│   │   └── site/
│   │       ├── blocks.less
│   │       ├── flex.less
│   │       └── overlay.less
│   ├── meta.js
│   ├── onepager-builder.jsx
│   ├── onepager-preview.jsx
│   ├── optionspanel.jsx
│   └── shared/
│       ├── components/
│       │   ├── PopupModal.jsx
│       │   ├── Tab.jsx
│       │   ├── TabPane.jsx
│       │   ├── form/
│       │   │   ├── Divider.jsx
│       │   │   ├── Input.jsx
│       │   │   ├── Link.jsx
│       │   │   ├── Note.jsx
│       │   │   ├── RepeatInput.jsx
│       │   │   ├── Select.jsx
│       │   │   ├── Switch.jsx
│       │   │   ├── WpSelect.jsx
│       │   │   ├── color/
│       │   │   │   ├── ColorPalette.bk.jsx
│       │   │   │   ├── ColorPalette.jsx
│       │   │   │   ├── ColorPicker.jsx
│       │   │   │   ├── oppositeColor.js
│       │   │   │   └── palette/
│       │   │   │       ├── Color.jsx
│       │   │   │       ├── Picker.jsx
│       │   │   │       ├── Preset.jsx
│       │   │   │       ├── Presets.jsx
│       │   │   │       └── palette.less
│       │   │   ├── date/
│       │   │   │   └── index.jsx
│       │   │   ├── editor/
│       │   │   │   ├── TinyMCE.jsx
│       │   │   │   └── style.less
│       │   │   ├── font/
│       │   │   │   ├── font-family.js
│       │   │   │   └── index.jsx
│       │   │   ├── input.less
│       │   │   ├── media/
│       │   │   │   ├── IconSelector.jsx
│       │   │   │   ├── Media.jsx
│       │   │   │   └── WpMediaFrame.jsx
│       │   │   └── time/
│       │   │       └── index.jsx
│       │   └── repeater/
│       │       ├── RepeatGroup.jsx
│       │       ├── RepeatGroupHeading.jsx
│       │       ├── Repeater.jsx
│       │       └── style.less
│       ├── lib/
│       │   ├── Activity.js
│       │   ├── ShouldSync.js
│       │   ├── localState.js
│       │   ├── storage.js
│       │   ├── toolbelt.js
│       │   └── transformer/
│       │       ├── controls/
│       │       │   ├── addRefToControls.js
│       │       │   ├── prepareRepeaterControl.js
│       │       │   ├── prepareSimpleControl.js
│       │       │   ├── serialize-controls.js
│       │       │   └── unserialize-controls.js
│       │       └── html/
│       │           └── stripClassesFromHTML.js
│       ├── mixins/
│       │   ├── ContainedSelectorMixin.js
│       │   └── PureMixin.js
│       ├── onepager/
│       │   ├── ODataStore.js
│       │   ├── lib/
│       │   │   ├── _mixins.js
│       │   │   └── replaceSectionStyleInDOM.js
│       │   ├── localState.js
│       │   ├── sectionTransformer.js
│       │   └── transformer/
│       │       ├── block2section.js
│       │       ├── controls.js
│       │       ├── sectionRefer.js
│       │       ├── sectionSerializer.js
│       │       └── sectionUnserializer.js
│       └── plugins/
│           ├── alert.js
│           ├── notify.js
│           └── scrollview.js
├── gulpfile.js
├── languages/
│   └── tx-onepager.pot
├── package.json
├── phpcs.xml
├── presets/
│   ├── book.json
│   ├── corporate-1.json
│   ├── education.json
│   ├── law.json
│   ├── mobile-app.json
│   ├── personal-photography-1.json
│   └── software-company.json
├── readme.txt
├── src/
│   ├── Asset/
│   │   ├── AssetsCompiler.php
│   │   └── CssRewriteFilter.php
│   ├── FileSystem/
│   │   └── FileSystem.php
│   ├── Onepager/
│   │   ├── Adapters/
│   │   │   ├── AdapterInterface.php
│   │   │   ├── BaseAdapter.php
│   │   │   └── WordPress.php
│   │   ├── Block/
│   │   │   ├── BlockManager.php
│   │   │   ├── Collection.php
│   │   │   ├── PresetManager.php
│   │   │   └── Transformers/
│   │   │       ├── ConfigTransformer.php
│   │   │       ├── FieldsTransformer.php
│   │   │       ├── SerializedControlsConfigTransformer.php
│   │   │       └── SerializedControlsOptionsTransformer.php
│   │   ├── Onepager.php
│   │   ├── OnepagerInterface.php
│   │   ├── Render/
│   │   │   └── Render.php
│   │   └── Templates/
│   │       └── SavedTemplates.php
│   ├── Providers/
│   │   ├── Contracts/
│   │   │   ├── ApiInterface.php
│   │   │   ├── AssetInterface.php
│   │   │   ├── ContentInterface.php
│   │   │   ├── NavigationMenuInterface.php
│   │   │   ├── Opi18nInterface.php
│   │   │   ├── OptionsPanelInterface.php
│   │   │   ├── SectionInterface.php
│   │   │   ├── SecurityfInterface.php
│   │   │   ├── TemplatesInterface.php
│   │   │   └── ToolbarInterface.php
│   │   └── WordPress/
│   │       ├── Api.php
│   │       ├── Asset.php
│   │       ├── Content.php
│   │       ├── NavigationMenu.php
│   │       ├── Opi18n.php
│   │       ├── OptionsPanel.php
│   │       ├── Section.php
│   │       ├── Security.php
│   │       ├── TemplateManager.php
│   │       └── Toolbar.php
│   ├── View/
│   │   ├── Engines/
│   │   │   ├── EngineInterface.php
│   │   │   └── PhpEngine.php
│   │   └── View.php
│   ├── WordPress/
│   │   ├── PageTemplater.php
│   │   └── wp_bootstrap_navwalker.php
│   ├── functions.php
│   └── theme_helpers.php
├── theme.php
├── tx-onepager.php
├── uninstall.php
└── webpack.config.js
Download .txt
SYMBOL INDEX (964 symbols across 163 files)

FILE: app/Admin/menu.php
  class TXOP_Admin_Menu (line 7) | class TXOP_Admin_Menu{
    method __construct (line 9) | public function __construct(){
    method register_admin_menu (line 21) | public function register_admin_menu() {
    method register_submenu (line 44) | public function register_submenu() {
    method op_dashboard_view (line 95) | public function op_dashboard_view(){
    method op_getting_started (line 101) | public function op_getting_started(){
    method op_block_view (line 107) | public function op_block_view(){
    method op_settings_view (line 113) | public function op_settings_view(){
    method txop_onepager_templates (line 119) | public function txop_onepager_templates(){
    method txop_template_import_handle (line 127) | public function txop_template_import_handle(){
    method txop_template_delete_handle (line 134) | public function txop_template_delete_handle(){
    method on_admin_init (line 141) | public function on_admin_init() {
    method handle_external_redirects (line 147) | public function handle_external_redirects() {
    method onepager_load_admin_scripts (line 164) | public function onepager_load_admin_scripts() {

FILE: app/Admin/notice.php
  class OnePager_Admin_Notice (line 10) | class OnePager_Admin_Notice {
    method __construct (line 15) | public function __construct() {
    method rating_notice (line 28) | public static function rating_notice() {
    method dismiss_rating_notice (line 64) | public static function dismiss_rating_notice() {
    method get_installed_time (line 88) | private static function get_installed_time() {

FILE: app/Admin/override.php
  function op_edit_with_onepager_link_in_page_row (line 4) | function op_edit_with_onepager_link_in_page_row( $actions, $post ) {
  function op_append_onepager_in_page_title (line 26) | function op_append_onepager_in_page_title( $post_states, $post ) {

FILE: app/Admin/views/blocks.php
  function op_get_html_group_class (line 15) | function op_get_html_group_class( $groups ) {
  function update_block_name (line 27) | function update_block_name($string){
  function singleBlock (line 32) | function singleBlock($BlockCollec∂çtionsArr){

FILE: app/Admin/views/dashboard.php
  function op_get_html_group_class (line 15) | function op_get_html_group_class( $groups ) {

FILE: app/Admin/views/delete-handler.php
  class TXOP_Delete_Handler (line 3) | Class TXOP_Delete_Handler{
    method __construct (line 5) | public function __construct(){
    method txop_delete_template (line 9) | public function txop_delete_template(){

FILE: app/Admin/views/handler.php
  class TXOP_Handler (line 3) | Class TXOP_Handler{
    method __construct (line 5) | public function __construct(){
    method txop_upload_handler (line 10) | public function txop_upload_handler(){

FILE: app/Admin/views/template-lists.php
  class TXOP_Template_Lists (line 7) | class TXOP_Template_Lists extends \WP_List_Table{
    method __construct (line 8) | public function __construct(){
    method no_items (line 20) | public function no_items() {
    method get_columns (line 29) | public function get_columns() {
    method get_sortable_columns (line 44) | public function get_sortable_columns() {
    method get_bulk_actions (line 58) | public function get_bulk_actions() {
    method column_default (line 74) | protected function column_default( $item, $column_name ) {
    method column_name (line 93) | public function column_name( $item ) {
    method column_cb (line 111) | protected function column_cb( $item ) {
    method prepare_items (line 122) | public function prepare_items() {

FILE: app/Admin/views/templates.php
  class TXOP_Templates (line 3) | Class TXOP_Templates{
    method handle_template_pages (line 5) | public function handle_template_pages(){

FILE: app/Api/Controllers/ApiController.php
  class ApiController (line 4) | class ApiController {
    method filterInput (line 12) | protected function filterInput( &$input ) {
    method response (line 35) | private function response( $data ) {
    method send (line 41) | private function send() {
    method responseFailed (line 47) | protected function responseFailed( $data = [ ] ) {
    method responseSuccess (line 52) | protected function responseSuccess( $data = [ ] ) {

FILE: app/Api/Controllers/BlocksApiController.php
  class BlocksApiController (line 12) | class BlocksApiController extends ApiController {
    method reloadBlocks (line 13) | public function reloadBlocks() {

FILE: app/Api/Controllers/MenuApiController.php
  class MenuApiController (line 12) | class MenuApiController extends ApiController {
    method addMenu (line 13) | public function addMenu() {

FILE: app/Api/Controllers/OptionsApiController.php
  class OptionsApiController (line 3) | class OptionsApiController extends ApiController {
    method saveOptions (line 4) | public function saveOptions() {
    method savePageSettingsOption (line 22) | public function savePageSettingsOption(){
    method pageSettingsOptionLive (line 58) | public function pageSettingsOptionLive(){
    method loadFullPageScript (line 74) | public function loadFullPageScript(){

FILE: app/Api/Controllers/PageApiController.php
  class PageApiController (line 14) | class PageApiController extends ApiController {
    method selectLayout (line 16) | public function selectLayout() {
    method buildOnepageScripts (line 36) | protected function buildOnepageScripts( $sections, $pageId ) {
    method addPage (line 49) | public function addPage() {

FILE: app/Api/Controllers/SectionsApiController.php
  class SectionsApiController (line 8) | class SectionsApiController extends ApiController {
    method saveSections (line 10) | public function saveSections() {
    method mergeSections (line 33) | public function mergeSections() {
    method getSections (line 59) | public function getSections() {
    method saveLayout (line 72) | public function saveLayout() {
    method deleteLayout (line 103) | public function deleteLayout() {
    method importLayout (line 128) | public function importLayout() {
    method reloadSections (line 150) | public function reloadSections() {
    method prepareSectionsWithContentAndStyle (line 164) | protected function prepareSectionsWithContentAndStyle( $sections ) {
    method prepareSectionWithContentAndStyle (line 180) | protected function prepareSectionWithContentAndStyle( $section ) {
    method buildOnepageScripts (line 194) | protected function buildOnepageScripts( $sections, $pageId ) {

FILE: app/Application.php
  class Application (line 16) | class Application {
    method __construct (line 19) | public function __construct( $onepager ) {
    method cache_dir_notice (line 39) | public function cache_dir_notice() {
    method enqueue_assets (line 49) | protected function enqueue_assets() {
    method compile_assets (line 59) | public function compile_assets() {
    method inject_page_contents (line 72) | protected function inject_page_contents() {
    method init_loaders (line 78) | protected function init_loaders() {
    method getCurrentPageId (line 96) | protected function getCurrentPageId() {
    method getBlockManager (line 103) | protected function getBlockManager() {
    method getPresetManager (line 110) | protected function getPresetManager() {
    method shouldCompileScripts (line 117) | private function shouldCompileScripts() {
    method isCacheDirWritable (line 122) | private function isCacheDirWritable() {
    method isDebugMode (line 129) | private function isDebugMode() {

FILE: app/Assets/BlocksScripts.php
  class BlocksScripts (line 5) | class BlocksScripts {
    method __construct (line 6) | public function __construct() {
    method enqueue (line 10) | public function enqueue() {
    method convertSavedSections (line 25) | public function convertSavedSections($sections){
    method enqueueSectionBlocks (line 30) | public function enqueueSectionBlocks( $sections ) {
    method enqueueAllBlocksScripts (line 36) | protected function enqueueAllBlocksScripts() {
    method getBlocksFromUsedSections (line 42) | protected function getBlocksFromUsedSections( $sections ) {
    method enqueueBlocksScripts (line 54) | protected function enqueueBlocksScripts( $blocks ) {
    method enqueueBlockScripts (line 58) | protected function enqueueBlockScripts( $block ) {
    method isPreview (line 74) | protected function isPreview() {
    method getCurrentPageId (line 81) | protected function getCurrentPageId() {
    method getAllValidSections (line 90) | protected function getAllValidSections( $pageId ) {
    method isBuildMode (line 94) | private function isBuildMode() {
    method enqueueBlockCss (line 102) | protected function enqueueBlockCss( $block, $blockUrl ) {

FILE: app/Assets/BuildModeScripts.php
  class BuildModeScripts (line 7) | class BuildModeScripts
    method __construct (line 11) | public function __construct()
    method enqueueScripts (line 21) | public function enqueueScripts()
    method enqueueInitializerScript (line 30) | protected function enqueueInitializerScript()
    method localizeScriptData (line 40) | public function localizeScriptData($pageId)
    method isBuildMode (line 125) | protected function isBuildMode()
    method getCurrentPageId (line 133) | protected function getCurrentPageId()
    method resetWpScriptQueue (line 138) | private function resetWpScriptQueue()

FILE: app/Assets/OnepageScripts.php
  class OnepageScripts (line 5) | class OnepageScripts
    method __construct (line 7) | public function __construct()
    method enqueueScripts (line 12) | public function enqueueScripts()
    method enqueuePageScripts (line 22) | public function enqueuePageScripts()
    method enqueueCommonScripts (line 34) | public function enqueueCommonScripts()

FILE: app/Assets/OptionsPanelScripts.php
  class OptionsPanelScripts (line 5) | class OptionsPanelScripts {
    method enqueue (line 8) | public function enqueue() {

FILE: app/Assets/PreviewScripts.php
  class PreviewScripts (line 5) | class PreviewScripts
    method __construct (line 7) | public function __construct()
    method enqueue (line 12) | public function enqueue()
    method isPreview (line 26) | protected function isPreview()

FILE: app/Assets/Traits/FormEngineScripts.php
  type FormEngineScripts (line 7) | trait FormEngineScripts
    method enqueueFormEngineScripts (line 9) | public function enqueueFormEngineScripts()
    method formEngineScripts (line 17) | protected function formEngineScripts()
    method jsWpEditor (line 54) | protected function jsWpEditor($settings = [])

FILE: app/Assets/WpConflictResolver.php
  class WpConflictResolver (line 3) | class WpConflictResolver {
    method __construct (line 4) | public function __construct() {
    method dequeue_default_template_stylesheet (line 9) | public function dequeue_default_template_stylesheet() {
    method remove_sumome (line 32) | public function remove_sumome(){

FILE: app/Content/OnepageContent.php
  class OnepageContent (line 3) | class OnepageContent {
    method __construct (line 4) | public function __construct() {
    method injectPageContent (line 15) | public function injectPageContent( $content ) {
    method getBuildModeContent (line 42) | protected function getBuildModeContent() {
    method getPageContent (line 46) | protected function getPageContent( $pageId ) {
    method onepageContentLoaded (line 52) | protected function onepageContentLoaded() {
    method setOnepageContentLoaded (line 56) | protected function setOnepageContentLoaded() {
    method isPreview (line 63) | protected function isPreview() {
    method getCurrentPageId (line 70) | protected function getCurrentPageId() {
    method isOnepage (line 77) | protected function isOnepage() {
    method getAllValidSections (line 86) | protected function getAllValidSections( $pageId ) {
    method renderPageSections (line 95) | protected function renderPageSections( $sections ) {
    method renderPageSettings (line 103) | protected function renderPageSettings( $pageId ) {

FILE: app/Content/OnepageInternalScripts.php
  class OnepageInternalScripts (line 3) | class OnepageInternalScripts {
    method __construct (line 4) | public function __construct() {
    method enqueue_page_scripts (line 14) | public function enqueue_page_scripts(){
    method full_page_section_id_arr (line 38) | public function full_page_section_id_arr($sections){
    method full_page_section_name_arr (line 50) | public function full_page_section_name_arr($sections){
    method injectInternalScripts (line 58) | public function injectInternalScripts() {
    method loadPageFonts (line 129) | public function loadPageFonts($pageOptionPanel){
    method injectBodyClass (line 138) | public function injectBodyClass($classes){
    method isBuildMode (line 147) | protected function isBuildMode() {
    method isOnepage (line 154) | protected function isOnepage() {
    method getCurrentPageId (line 161) | protected function getCurrentPageId() {
    method getAllValidSectionsFromPageId (line 170) | protected function getAllValidSectionsFromPageId( $pageId ) {
    method getPageOptionPanelFromPageId (line 176) | protected function getPageOptionPanelFromPageId($pageId){
    method renderStylesFromSections (line 184) | protected function renderStylesFromSections( $sections ) {
    method renderStylesForPageSettings (line 192) | protected function renderStylesForPageSettings( $sections, $pageId, $p...

FILE: app/Content/OnepageToolbar.php
  class OnepageToolbar (line 3) | class OnepageToolbar {
    method __construct (line 4) | public function __construct() {
    method addToolbar (line 8) | function addToolbar() {

FILE: app/Loaders/BlocksLoader.php
  class BlocksLoader (line 5) | class BlocksLoader {
    method __construct (line 8) | public function __construct( BlockManager $blockManager ) {
    method loadOnepagerBlocks (line 15) | public function loadOnepagerBlocks() {
    method loadThemeBlocks (line 26) | public function loadThemeBlocks() {
    method setGroupOrder (line 40) | public function setGroupOrder() {
    method getCurrentThemeBlocksGroup (line 52) | private function getCurrentThemeBlocksGroup() {

FILE: app/Loaders/PresetsLoader.php
  class PresetsLoader (line 4) | class PresetsLoader {
    method __construct (line 7) | public function __construct( $presetManager ) {
    method onepagerPresetsLoader (line 14) | public function onepagerPresetsLoader() {
    method themePresetsLoader (line 24) | public function themePresetsLoader() {
    method getCurrentThemePresetsGroup (line 40) | private function getCurrentThemePresetsGroup() {

FILE: app/Loaders/TemplateLoader.php
  class TemplateLoader (line 5) | class TemplateLoader {
    method __construct (line 9) | public function __construct( PageTemplater $pageTemplateManager ) {
    method loadBuildModeTemplate (line 19) | public function loadBuildModeTemplate( $template ) {
    method loadOnepagerPageTemplates (line 32) | public function loadOnepagerPageTemplates() {
    method loadOnepagerPageDefaultTemplates (line 46) | public function loadOnepagerPageDefaultTemplates() {
    method loadmytesttemplate (line 49) | public function loadmytesttemplate() {
    method isBuildMode (line 57) | protected function isBuildMode() {

FILE: app/Metabox/metabox.php
  function tx_get_preset_groups_class (line 32) | function tx_get_preset_groups_class( $groups ) {
  function tx_get_preset_group_class (line 44) | function tx_get_preset_group_class( $group ) {
  function tx_add_onepager_metabox (line 48) | function tx_add_onepager_metabox() {
  function tx_onepager_metabox_scripts (line 85) | function tx_onepager_metabox_scripts( $hook ) {

FILE: app/Onepager.php
  class Onepager (line 6) | abstract class Onepager {
    method getOptionPanel (line 13) | public static function getOptionPanel() {
    method getOption (line 18) | public static function getOption( $name, $default = '' ) {
    method registerBlocks (line 28) | public static function registerBlocks( $folder = 'blocks' ) {
    method disableBlocks (line 32) | public static function disableBlocks( $groups ) {
    method disableCoreBlocks (line 37) | public static function disableCoreBlocks() {
    method registerPresets (line 47) | public static function registerPresets( $folder = 'presets' ) {
    method disablePresets (line 51) | public static function disablePresets( $groups ) {
    method disableCorePresets (line 56) | public static function disableCorePresets() {
    method addPresets (line 60) | public static function addPresets( $name, $presets ) {
    method getPresets (line 68) | public static function getPresets() {
    method addStyle (line 73) | public static function addStyle( $name, $src = false, $dependency = []...
    method addScript (line 78) | public static function addScript( $name, $src = false, $dependency = [...
    method basePreset (line 82) | public static function basePreset( $array ) {
    method getBasePreset (line 86) | public static function getBasePreset() {
    method isBuilderMode (line 90) | public static function isBuilderMode() {
    method isWooCommerceInstalled (line 94) | public static function isWooCommerceInstalled() {
    method fonts (line 101) | public static function fonts( $name ) {
    method loadScripts (line 131) | public static function loadScripts() {

FILE: app/bootstrap.php
  function onepager (line 7) | function onepager() {

FILE: app/inc/onepager-settings.php
  function getWeDevsSettingAPI (line 8) | function getWeDevsSettingAPI()
  function onepagerSettings (line 26) | function onepagerSettings($tabs, $fields)
  function onepager_admin_menu (line 43) | function onepager_admin_menu()
  function onepager_settings_page (line 53) | function onepager_settings_page()
  function get_onepager_option (line 74) | function get_onepager_option($option, $section, $default = '')

FILE: app/inc/support.php
  function get_editor_section_list_footer (line 12) | function get_editor_section_list_footer() {

FILE: engine/App/App.jsx
  method getInitialState (line 13) | getInitialState() {
  method _onChange (line 17) | _onChange() {
  method _saveStateInLocalStorage (line 30) | _saveStateInLocalStorage(){
  method componentDidMount (line 35) | componentDidMount() {
  method componentWillUnmount (line 44) | componentWillUnmount() {
  method _bindPlugins (line 50) | _bindPlugins(){
  method _unbindPlugins (line 55) | _unbindPlugins(){
  method _unsavedAlert (line 60) | _unsavedAlert(){
  method _addBuildClassToBody (line 71) | _addBuildClassToBody(){
  method _setSidebarCollapseClass (line 75) | _setSidebarCollapseClass(collapse){
  method render (line 83) | render() {

FILE: engine/App/AppStore.js
  function sortBlocks (line 24) | function sortBlocks(blocks){
  function transformSections (line 30) | function transformSections(sections){
  constant AUTO_SAVE_DELAY (line 41) | let AUTO_SAVE_DELAY = 150;
  function collapseSidebar (line 62) | function collapseSidebar(collapse) {
  function getSerializedSectionsAsJSON (line 66) | function getSerializedSectionsAsJSON(section) {
  function getBlockBySlug (line 70) | function getBlockBySlug(slug) {
  function setActiveSection (line 75) | function setActiveSection(index) {
  function setPreviewFrameLoaded (line 79) | function setPreviewFrameLoaded(){
  function addSection (line 84) | function addSection(section) {
  function mergeSections (line 103) | function mergeSections(sections) {
  function updateSection (line 126) | function updateSection(sectionIndex, section) {
  function updatePageSettingsLive (line 131) | function updatePageSettingsLive(key, fields){
  function fullPageSectionSynced (line 178) | function fullPageSectionSynced(sectionsArr, fullScreen){
  function duplicateSection (line 196) | function duplicateSection(index) {
  function removeSection (line 209) | function removeSection(index) {
  function updateTitle (line 216) | function updateTitle(index, previousTitle, newTitle) {
  function getUniqueSectionId (line 227) | function getUniqueSectionId(sections, index, title) {
  function sectionSynced (line 237) | function sectionSynced(index, res) {
  function sectionAgainSynced (line 247) | function sectionAgainSynced(res, index) {
  function sectionShouldSynced (line 264) | function sectionShouldSynced(res){
  function emitChange (line 275) | function emitChange(){
  function editSection (line 279) | function editSection(index) {
  function updateSections (line 284) | function updateSections(sections) {
  function reloadSections (line 288) | function reloadSections(sections) {
  function reloadBlocks (line 292) | function reloadBlocks(){
  method getAll (line 399) | getAll() {
  method save (line 420) | save(){
  method exportPage (line 427) | exportPage(){
  method importTemplate (line 435) | importTemplate(jsonData){
  method saveTemplate (line 444) | saveTemplate(name, type){
  method mergeSavedTemplateWithPage (line 452) | mergeSavedTemplateWithPage(templateData){
  method blockInsertToPage (line 460) | blockInsertToPage(blockData){
  method deleteTemplate (line 467) | deleteTemplate(id, name, type ){
  method pageSave (line 473) | pageSave(){
  method isDirty (line 483) | isDirty(){
  method setSectionsAsSavedSections (line 487) | setSectionsAsSavedSections(){
  method syncSavedTemplateLibrary (line 496) | syncSavedTemplateLibrary(NewTemplate){
  method syncLibraryAfterDelete (line 508) | syncLibraryAfterDelete(deletedId){
  method updateModalTemplate (line 522) | updateModalTemplate(updatedRow){
  method get (line 530) | get(index){
  method getBlock (line 534) | getBlock(slug){
  method setTabState (line 538) | setTabState(state){
  method setSections (line 543) | setSections(sections){
  method setMenuState (line 548) | setMenuState(id, title, index){
  method reorder (line 553) | reorder(sections, index){
  method getAssetUrl (line 559) | getAssetUrl(){
  method settingsChanged (line 568) | settingsChanged(sections, isSectionsDirty){
  method loadPreset (line 579) | loadPreset(sections){
  method rawUpdate (line 584) | rawUpdate(){

FILE: engine/App/AppSyncService.js
  function AppSyncService (line 9) | function AppSyncService(pageId, inactive, shouldSectionsSync) {

FILE: engine/App/Preview.jsx
  method getInitialState (line 9) | getInitialState() {
  method _onChange (line 13) | _onChange() {
  method componentDidMount (line 17) | componentDidMount() {
  method componentWillUnmount (line 22) | componentWillUnmount() {
  method render (line 26) | render() {

FILE: engine/App/components/blocks/Block.jsx
  method getInitialState (line 12) | getInitialState(){
  method handleCreateSection (line 21) | handleCreateSection() {
  method render (line 50) | render() {

FILE: engine/App/components/blocks/BlockCollection.jsx
  function orderGroups (line 11) | function orderGroups(blocks, groupOrder) {
  function orderBlocks (line 24) | function orderBlocks(blocks, groups) {
  method getInitialState (line 62) | getInitialState(){
  method handleChange (line 69) | handleChange(){
  method handleBlockInsertLoading (line 74) | handleBlockInsertLoading(status){
  method render (line 84) | render() {

FILE: engine/App/components/presets/Preset.jsx
  method render (line 15) | render() {

FILE: engine/App/components/presets/PresetCollections.jsx
  method render (line 18) | render() {

FILE: engine/App/components/section-list/Footer.jsx
  method getDefaultProps (line 16) | getDefaultProps(){
  method render (line 23) | render() {

FILE: engine/App/components/section-list/Section.jsx
  function confirmDelete (line 11) | function confirmDelete(proceed) {
  method getInitialState (line 34) | getInitialState(){
  method handleRemoveSection (line 40) | handleRemoveSection(){
  method handleDuplicateSection (line 47) | handleDuplicateSection(){
  method handleEditSection (line 52) | handleEditSection(){
  method handleAddToMenu (line 56) | handleAddToMenu(){
  method handleScrollIntoView (line 61) | handleScrollIntoView(){
  method render (line 68) | render() {

FILE: engine/App/components/section-list/SectionList.jsx
  function getKey (line 15) | function getKey() {
  method handleEnd (line 38) | handleEnd(e) {
  method updateSection (line 52) | updateSection(index, section){
  method _renderSectionList (line 56) | _renderSectionList(section, index){
  method render (line 70) | render() {

FILE: engine/App/components/section-list/SectionTitle.jsx
  method getInitialState (line 14) | getInitialState(){
  method componentDidUpdate (line 20) | componentDidUpdate(prevProps, prevState) {
  method handleEditTitle (line 27) | handleEditTitle(){
  method updateTitle (line 31) | updateTitle() {
  method updateTitleOnEnter (line 37) | updateTitleOnEnter(e){
  method render (line 46) | render() {

FILE: engine/App/components/section-view/SectionView.jsx
  function removeSectionStyle (line 9) | function removeSectionStyle(id) {
  function replaceSectionStyle (line 13) | function replaceSectionStyle(id, style) {
  function addStyleToPage (line 17) | function addStyleToPage(page_style){
  function setSectionClass (line 22) | function setSectionClass(fullScreen) {
  method shouldComponentUpdate (line 44) | shouldComponentUpdate(nextProps){
  method componentDidMount (line 50) | componentDidMount(){
  method componentDidUpdate (line 56) | componentDidUpdate(){
  method componentWillUnmount (line 63) | componentWillUnmount(){
  method setSectionContent (line 68) | setSectionContent(){
  method setSectionStyle (line 73) | setSectionStyle(){
  method setfullPageClass (line 79) | setfullPageClass(){
  method scrollIntoView (line 84) | scrollIntoView(){
  method handleClick (line 97) | handleClick(){
  method render (line 103) | render() {

FILE: engine/App/components/section-view/SectionViewCollection.jsx
  function setBodyClass (line 7) | function setBodyClass(sections) {
  function setBodyClassForPageSettings (line 17) | function setBodyClassForPageSettings(sections, pageID){
  method componentDidMount (line 30) | componentDidMount(){
  method componentDidUpdate (line 35) | componentDidUpdate(){
  method render (line 40) | render() {

FILE: engine/App/components/sidebar/Menu.jsx
  method getInitialState (line 11) | getInitialState(){
  method handleMenu (line 17) | handleMenu(){
  method _renderMenuPanel (line 21) | _renderMenuPanel(section, index){
  method render (line 31) | render() {

FILE: engine/App/components/sidebar/SectionControls.jsx
  method getInitialState (line 20) | getInitialState(){
  method componentDidUpdate (line 26) | componentDidUpdate() {
  method update (line 30) | update(tabName){
  method updateControl (line 57) | updateControl(tabName, controlIndex, key, value){
  method render (line 66) | render() {

FILE: engine/App/components/sidebar/Settings.jsx
  method _bindPlugins (line 29) | _bindPlugins(){
  method _unbindPlugins (line 34) | _unbindPlugins(){
  method render (line 38) | render(){

FILE: engine/App/components/sidebar/Sidebar.jsx
  method collapseSidebar (line 28) | collapseSidebar(){
  method getInitialState (line 32) | getInitialState(){
  method componentDidMount (line 44) | componentDidMount(){
  method componentWillReceiveProps (line 52) | componentWillReceiveProps (nextProps){
  method handleSave (line 63) | handleSave(){
  method handleGlobalSettingsSave (line 79) | handleGlobalSettingsSave(){
  method handlePageSettingsSave (line 101) | handlePageSettingsSave(){
  method whenSettingsDirty (line 122) | whenSettingsDirty(){
  method handleResponsiveToggle (line 132) | handleResponsiveToggle(){
  method handleSaveOptionToggle (line 140) | handleSaveOptionToggle(){
  method handleExport (line 147) | handleExport(){
  method exportDownloadAsJson (line 188) | exportDownloadAsJson(data) {
  method handleSaveTemplate (line 199) | handleSaveTemplate(){
  method handleResponsiveFrame (line 216) | handleResponsiveFrame(device){
  method _unsavedAlert (line 226) | _unsavedAlert(){
  method _initNiceScroll (line 236) | _initNiceScroll(){
  method handleTabClick (line 244) | handleTabClick(id){
  method handlePopupModal (line 252) | handlePopupModal(tabName = 'tab-block'){
  method _renderTabs (line 261) | _renderTabs(){
  method render (line 280) | render() {

FILE: engine/App/components/sidebar/Tab.jsx
  method getDefaultProps (line 16) | getDefaultProps(){
  method handleClick (line 23) | handleClick(){
  method getIcon (line 27) | getIcon() {
  method isActive (line 32) | isActive(){
  method isVisible (line 36) | isVisible(){
  method showTitle (line 40) | showTitle(){
  method render (line 44) | render() {

FILE: engine/App/components/sidebar/menu/AddToMenu.jsx
  method getInitialState (line 23) | getInitialState(){
  method componentDidUpdate (line 29) | componentDidUpdate() {
  method isFormValid (line 33) | isFormValid(){
  method handleSubmit (line 45) | handleSubmit(){
  method render (line 72) | render(){

FILE: engine/App/components/templates/ImportTemplate.jsx
  method getInitialState (line 16) | getInitialState(){
  method handleTemplateImport (line 25) | handleTemplateImport(event){
  method render (line 59) | render() {

FILE: engine/App/components/templates/SaveTemplate.jsx
  method getInitialState (line 16) | getInitialState(){
  method handleNameInput (line 23) | handleNameInput(event){
  method handleSaveTemplateFormSubmit (line 30) | handleSaveTemplateFormSubmit(e){
  method render (line 52) | render() {

FILE: engine/App/components/templates/SavedTemplates.jsx
  method getInitialState (line 13) | getInitialState(){
  method componentDidMount (line 24) | componentDidMount(){
  method componentWillReceiveProps (line 29) | componentWillReceiveProps (nextProps){
  method handleLoadingState (line 34) | handleLoadingState(status){
  method render (line 38) | render() {

FILE: engine/App/components/templates/Template.jsx
  method getInitialState (line 13) | getInitialState(){
  method handleMergeSection (line 30) | handleMergeSection() {
  method handleDeleteLayout (line 67) | handleDeleteLayout(){
  method handleExportLayout (line 93) | handleExportLayout(){
  method exportTemplateAsJson (line 116) | exportTemplateAsJson(data) {
  method render (line 132) | render() {

FILE: engine/App/flux/AppActions.js
  method openMenuScreen (line 5) | openMenuScreen(){
  method addSection (line 10) | addSection( section ) {
  method mergeSections (line 15) | mergeSections( sections ) {
  method activateSection (line 20) | activateSection( index ){
  method editSection (line 25) | editSection( index ){
  method collapseSidebar (line 30) | collapseSidebar( collapse ){
  method updateSection (line 35) | updateSection( index, section ){
  method updateTitle (line 40) | updateTitle( index, previousTitle, newTitle ){
  method reloadSections (line 45) | reloadSections() {
  method refreshSections (line 50) | refreshSections( sections ){
  method updateSections (line 55) | updateSections( sections ){
  method removeSection (line 60) | removeSection( index ){
  method duplicateSection (line 65) | duplicateSection( index ){
  method sectionSynced (line 70) | sectionSynced( index, res ){
  method sectionsShouldSynced (line 75) | sectionsShouldSynced( res ){
  method previewFrameLoaded (line 80) | previewFrameLoaded(){
  method updatePageSettigs (line 85) | updatePageSettigs(index, fields){
  method fullPageSectionSynced (line 90) | fullPageSectionSynced(sections, fullScreen){

FILE: engine/App/flux/AppDispatcher.js
  method handleServerAction (line 9) | handleServerAction( action ) {
  method handleViewAction (line 17) | handleViewAction( action ) {

FILE: engine/App/flux/BaseStore.js
  constant CHANGE_EVENT (line 4) | const CHANGE_EVENT = 'change';
  constant UPDATE_EVENT (line 5) | const UPDATE_EVENT = 'update';
  method addChangeListener (line 13) | addChangeListener( callback ) {
  method removeChangeListener (line 17) | removeChangeListener( callback ) {
  method emitChange (line 22) | emitChange() {
  method emitUpdate (line 25) | emitUpdate(){

FILE: engine/Generator/Generator.jsx
  method render (line 4) | render() {

FILE: engine/Generator/GeneratorActions.js
  class GeneratorActions (line 3) | class GeneratorActions {
    method addControl (line 4) | addControl(control) {

FILE: engine/Generator/GeneratorStore.js
  class GeneratorStore (line 4) | class GeneratorStore {
    method constructor (line 5) | constructor() {
    method addControl (line 15) | addControl(control) {

FILE: engine/Optionspanel/Content.jsx
  method getDefaultProps (line 14) | getDefaultProps(){
  method update (line 25) | update(){
  method render (line 52) | render(){

FILE: engine/Optionspanel/OptionStore.js
  function transformer (line 21) | function transformer(fields, panelId) {
  method getInitialState (line 61) | getInitialState(){
  method onChangeTab (line 65) | onChangeTab( tabIndex ){
  method onUpdate (line 70) | onUpdate( keyPath, data ){
  method onIsDirty (line 76) | onIsDirty(){
  method setSyncedOptions (line 81) | setSyncedOptions() {
  method onSyncWithSections (line 87) | onSyncWithSections( sections, callback ){
  method onSyncPageWithSections (line 102) | onSyncPageWithSections( sections, callback ){
  method onSync (line 116) | onSync(){
  method _prepareOptionsForSync (line 130) | _prepareOptionsForSync(){

FILE: engine/Optionspanel/OptionsPanel.jsx
  method render (line 13) | render(){

FILE: engine/Optionspanel/OptionsPanelSync.js
  function send (line 12) | function send(data){
  function sync (line 26) | function sync(options, sections=null) {

FILE: engine/Optionspanel/Tabs.jsx
  method handleTabChange (line 8) | handleTabChange(event){
  method render (line 12) | render(){

FILE: engine/meta.js
  function InitStatusOnePager (line 46) | function InitStatusOnePager(){
  function enableOnepagerHandler (line 90) | function enableOnepagerHandler() {
  function enableOnePagerWhenSave (line 128) | function enableOnePagerWhenSave() {
  function focusOnepagerTitle (line 142) | function focusOnepagerTitle(){
  function disableOnepagerHandler (line 150) | function disableOnepagerHandler() {
  function disableOnePagerWhenSave (line 170) | function disableOnePagerWhenSave() {
  function layoutSelectHandler (line 183) | function layoutSelectHandler() {
  function exportHandler (line 223) | function exportHandler(e) {
  function templateChangeHandler (line 231) | function templateChangeHandler() {
  function templateChangeHandlerNew (line 257) | function templateChangeHandlerNew() {
  function isOnepageTemplate (line 288) | function isOnepageTemplate(template) {
  function exportOnepagerSections (line 300) | function exportOnepagerSections(pageId, name) {
  function downloadAsJson (line 336) | function downloadAsJson(data) {
  function insertOnepagerLayout (line 345) | function insertOnepagerLayout(pageId, layoutId) {
  function resetTemplate (line 355) | function resetTemplate() {
  function loadEditor (line 384) | function loadEditor(data) {

FILE: engine/shared/components/PopupModal.jsx
  method getInitialState (line 11) | getInitialState(){
  method componentDidMount (line 19) | componentDidMount(){
  method componentWillReceiveProps (line 26) | componentWillReceiveProps (nextProps){
  method handleClosePopup (line 32) | handleClosePopup(){
  method handleTab (line 36) | handleTab(e){
  method render (line 43) | render() {

FILE: engine/shared/components/Tab.jsx
  method getDefaultProps (line 14) | getDefaultProps(){
  method handleClick (line 21) | handleClick(){
  method render (line 27) | render() {

FILE: engine/shared/components/TabPane.jsx
  method getDefaultProps (line 14) | getDefaultProps(){
  method render (line 22) | render() {

FILE: engine/shared/components/form/Divider.jsx
  method render (line 7) | render(){

FILE: engine/shared/components/form/Input.jsx
  method getValue (line 32) | getValue(){
  method onChange (line 40) | onChange(){
  method render (line 47) | render() {

FILE: engine/shared/components/form/Link.jsx
  method getInitialState (line 15) | getInitialState(){
  method getValue (line 23) | getValue(){
  method onChange (line 27) | onChange(){
  method render (line 38) | render() {

FILE: engine/shared/components/form/Note.jsx
  method render (line 9) | render() {

FILE: engine/shared/components/form/RepeatInput.jsx
  function confirmDelete (line 8) | function confirmDelete(proceed) {
  function generateNewInput (line 20) | function generateNewInput(input) {
  method getValue (line 31) | getValue(){
  method add (line 37) | add(ii){
  method remove (line 49) | remove(ii){
  method render (line 70) | render() {

FILE: engine/shared/components/form/Select.jsx
  method getValue (line 11) | getValue(){
  method isEmpty (line 15) | isEmpty(str) {
  method render (line 31) | render() {

FILE: engine/shared/components/form/Switch.jsx
  method getValue (line 7) | getValue(){
  method componentDidMount (line 11) | componentDidMount(){
  method componentWillUnmount (line 17) | componentWillUnmount(){
  method render (line 21) | render() {

FILE: engine/shared/components/form/WpSelect.jsx
  method getValue (line 10) | getValue(){
  method render (line 14) | render() {

FILE: engine/shared/components/form/color/ColorPalette.bk.jsx
  function transformColorsObjArray (line 23) | function transformColorsObjArray(colors){
  function transformColorArrayObj (line 29) | function transformColorArrayObj(colors){
  method getInitialState (line 47) | getInitialState(){
  method getValue (line 58) | getValue(){
  method handleUpdate (line 78) | handleUpdate(value){
  method handleActivate (line 89) | handleActivate(ii){
  method getWidth (line 99) | getWidth(ii){
  method render (line 123) | render(){

FILE: engine/shared/components/form/color/ColorPalette.jsx
  function transformColorsObjArray (line 25) | function transformColorsObjArray(colors) {
  function transformColorArrayObj (line 31) | function transformColorArrayObj(colors) {
  method getInitialState (line 47) | getInitialState(){
  method getValue (line 57) | getValue(){
  method handleUpdate (line 82) | handleUpdate(value){
  method handleActivate (line 93) | handleActivate(ii){
  method getWidth (line 103) | getWidth(ii){
  method _renderPaletteColorPicker (line 110) | _renderPaletteColorPicker() {
  method _renderPalette (line 117) | _renderPalette() {
  method render (line 135) | render(){

FILE: engine/shared/components/form/color/ColorPicker.jsx
  method getInitialState (line 10) | getInitialState(){
  method getValue (line 19) | getValue(){
  method onChange (line 23) | onChange(){
  method componentDidMount (line 31) | componentDidMount() {
  method componentWillUnmount (line 43) | componentWillUnmount(){
  method render (line 47) | render() {

FILE: engine/shared/components/form/color/oppositeColor.js
  function getOppositeColor (line 3) | function getOppositeColor(color){

FILE: engine/shared/components/form/color/palette/Color.jsx
  method render (line 14) | render(){

FILE: engine/shared/components/form/color/palette/Picker.jsx
  method componentDidMount (line 10) | componentDidMount(){
  method componentWillUnmount (line 22) | componentWillUnmount(){
  method componentDidUpdate (line 26) | componentDidUpdate(){
  method open (line 30) | open(){
  method handleColorChange (line 34) | handleColorChange(e){
  method render (line 38) | render(){

FILE: engine/shared/components/form/color/palette/Preset.jsx
  method getDefaultProps (line 10) | getDefaultProps() {
  method render (line 16) | render() {

FILE: engine/shared/components/form/color/palette/Presets.jsx
  method getDefaultProps (line 10) | getDefaultProps(){
  method render (line 16) | render(){

FILE: engine/shared/components/form/date/index.jsx
  method getInitialState (line 16) | getInitialState() {
  method componentDidMount (line 28) | componentDidMount() {
  method getValue (line 45) | getValue() {
  method handleChnage (line 54) | handleChnage(value) {
  method render (line 62) | render() {

FILE: engine/shared/components/form/editor/TinyMCE.jsx
  function initializeTinyMCE (line 10) | function initializeTinyMCE(id, onChange) {
  method getInitialState (line 31) | getInitialState(){
  method componentDidMount (line 35) | componentDidMount() {
  method onChange (line 42) | onChange(ed) {
  method getValue (line 48) | getValue(){
  method render (line 52) | render() {

FILE: engine/shared/components/form/font/font-family.js
  function fonts (line 1) | function fonts(){

FILE: engine/shared/components/form/font/index.jsx
  constant DEFAULT_FONT_WEIGHTS (line 6) | const DEFAULT_FONT_WEIGHTS = ["100", "200", "300", "400", "500", "600", ...
  method getInitialState (line 13) | getInitialState() {
  method getValue (line 25) | getValue() {
  method render (line 48) | render() {

FILE: engine/shared/components/form/media/IconSelector.jsx
  method getValue (line 11) | getValue(){
  method componentDidMount (line 15) | componentDidMount() {
  method componentWillUnmount (line 23) | componentWillUnmount(){
  method render (line 28) | render() {

FILE: engine/shared/components/form/media/Media.jsx
  method getInitialState (line 8) | getInitialState() {
  method getValue (line 14) | getValue(){
  method wpMedia (line 18) | wpMedia(btn, cb){
  method componentDidMount (line 49) | componentDidMount() {
  method componentWillUnmount (line 63) | componentWillUnmount(){
  method render (line 70) | render() {

FILE: engine/shared/components/form/media/WpMediaFrame.jsx
  method getValue (line 10) | getValue(){
  method wpMedia (line 14) | wpMedia(btn, cb){
  method componentDidMount (line 44) | componentDidMount() {
  method componentWillUnmount (line 55) | componentWillUnmount(){
  method handleReset (line 59) | handleReset(){
  method render (line 65) | render() {

FILE: engine/shared/components/form/time/index.jsx
  method getInitialState (line 16) | getInitialState() {
  method componentDidMount (line 28) | componentDidMount() {
  method getValue (line 45) | getValue() {
  method handleChnage (line 54) | handleChnage(value) {
  method render (line 62) | render() {

FILE: engine/shared/components/repeater/RepeatGroup.jsx
  method getId (line 13) | getId(){
  method getFields (line 17) | getFields(){
  method getGroupTitle (line 29) | getGroupTitle(){
  method render (line 46) | render() {

FILE: engine/shared/components/repeater/RepeatGroupHeading.jsx
  method handleClick (line 17) | handleClick(){
  method render (line 21) | render(){

FILE: engine/shared/components/repeater/Repeater.jsx
  function confirmDelete (line 9) | function confirmDelete(proceed) {
  function resetRepeatInput (line 22) | function resetRepeatInput(rControl){
  method handleEnd (line 40) | handleEnd(e){
  method getGroupRef (line 53) | getGroupRef(ii){
  method getFields (line 57) | getFields(){
  method addRepeatGroup (line 68) | addRepeatGroup(duplicate = false, rgIndex = 0){
  method removeRepeatGroup (line 96) | removeRepeatGroup(rgIndex){
  method updateGroupControl (line 111) | updateGroupControl(rgIndex, rControlIndex, key, value){
  method render (line 120) | render() {

FILE: engine/shared/lib/Activity.js
  function Activity (line 1) | function Activity(AUTO_CALL_DELAY = 1000, msg='user is editing') {

FILE: engine/shared/lib/ShouldSync.js
  function ShouldSync (line 4) | function ShouldSync(initialData, name) {

FILE: engine/shared/lib/localState.js
  function get (line 7) | function get(key, def){
  function set (line 19) | function set(value){

FILE: engine/shared/lib/storage.js
  function storage (line 1) | function storage(){

FILE: engine/shared/lib/toolbelt.js
  function rand (line 5) | function rand(token){
  function copy (line 9) | function copy(obj) {
  function move (line 13) | function move(array, fromIndex, toIndex) {
  function dasherize (line 19) | function dasherize(str){
  function pushAt (line 23) | function pushAt(arr, index, item){
  function randomId (line 30) | function randomId(prefix = "") {
  function costlyIsEqual (line 34) | function costlyIsEqual(a, b){
  function isUniqueInArrayExcept (line 38) | function isUniqueInArrayExcept(items, item, index){
  function isUniquePropInArray (line 45) | function isUniquePropInArray(list, index, propName, id){
  function prettyPrint (line 56) | function prettyPrint(obj){

FILE: engine/shared/lib/transformer/controls/addRefToControls.js
  function getRef (line 4) | function getRef() {
  function prepareSingleRepeaterInputs (line 8) | function prepareSingleRepeaterInputs(schema, val) {
  function addRefsToSingleRepeatControls (line 13) | function addRefsToSingleRepeatControls(control) {
  function addRefsToGroupRepeaterControl (line 18) | function addRefsToGroupRepeaterControl(control) {
  function addRefToSimpleControl (line 39) | function addRefToSimpleControl(control) {
  function addRefToControl (line 51) | function addRefToControl(control) {
  function addRefToControls (line 62) | function addRefToControls(controls) {

FILE: engine/shared/lib/transformer/controls/prepareRepeaterControl.js
  function prepareMergedRepeatGroups (line 4) | function prepareMergedRepeatGroups(groups, serializedGroups) {
  function prepareMergedRepeatGroup (line 13) | function prepareMergedRepeatGroup(group, serializedGroup) {
  function prepareRepeaterControl (line 24) | function prepareRepeaterControl(repeatControl, serializedControls) {

FILE: engine/shared/lib/transformer/controls/prepareSimpleControl.js
  function prepareSimpleControl (line 12) | function prepareSimpleControl(control, value) {

FILE: engine/shared/lib/transformer/controls/serialize-controls.js
  function groupControls (line 3) | function groupControls(group){
  function simpleControl (line 10) | function simpleControl(control){
  function repeaterControl (line 14) | function repeaterControl(control){

FILE: engine/shared/lib/transformer/html/stripClassesFromHTML.js
  function stripClassesFromHTML (line 4) | function stripClassesFromHTML(list, content) {

FILE: engine/shared/mixins/ContainedSelectorMixin.js
  method getContainerReactId (line 4) | getContainerReactId(){
  method getSelector (line 13) | getSelector( selector ){

FILE: engine/shared/mixins/PureMixin.js
  method shouldComponentUpdate (line 2) | shouldComponentUpdate( nextProps, nextState ){

FILE: engine/shared/onepager/lib/replaceSectionStyleInDOM.js
  function replaceSectionStyleInDOM (line 3) | function replaceSectionStyleInDOM (sectionId, style) {

FILE: engine/shared/onepager/sectionTransformer.js
  function findBlockBySectionSlug (line 10) | function findBlockBySectionSlug(blocks, slug) {
  function unserializeSections (line 20) | function unserializeSections(sections, blocks) {
  function serializeSections (line 32) | function serializeSections(sections) {

FILE: engine/shared/onepager/transformer/block2section.js
  function getId (line 5) | function getId() {
  function getKey (line 9) | function getKey() {
  function getSectionTitle (line 13) | function getSectionTitle(section) {
  function getDuplicateTitle (line 17) | function getDuplicateTitle(title) {

FILE: engine/shared/onepager/transformer/controls.js
  function unserializeControls (line 5) | function unserializeControls(persistedControls, sourceControls){

FILE: engine/shared/onepager/transformer/sectionSerializer.js
  function serializeSection (line 3) | function serializeSection(section) {

FILE: engine/shared/onepager/transformer/sectionUnserializer.js
  function sectionUnserializer (line 6) | function sectionUnserializer(section, block) {

FILE: gulpfile.js
  constant ROOT_PATH (line 22) | const ROOT_PATH = path.resolve(__dirname);
  function assets (line 77) | function assets(){
  function bower (line 131) | function bower(){
  function watcher (line 168) | function watcher(){
  function listen (line 180) | function listen(){
  function webpackProd (line 184) | function webpackProd(){
  function webpackDev (line 187) | function webpackDev(){
  function webpackWatch (line 190) | function webpackWatch(){
  function clean (line 197) | function clean(){
  function webpackBuild (line 203) | function webpackBuild(cb){
  function copy (line 220) | function copy(cb){
  function package (line 241) | function package(){
  function generatePot (line 278) | function generatePot(){
  function getOnepagerVersion (line 321) | function getOnepagerVersion(){
  function replaceVersion (line 326) | function replaceVersion(file, version){

FILE: src/Asset/AssetsCompiler.php
  class AssetsCompiler (line 6) | class AssetsCompiler {
    method addCollection (line 7) | public function addCollection( $name, $assets ) {
    method write (line 26) | protected function write( $path, $contents ) {
    method guessPath (line 42) | public function guessPath( $file_url ) {
    method getUrlRegex (line 81) | protected function getUrlRegex( $url ) {

FILE: src/Asset/CssRewriteFilter.php
  class CssRewriteFilter (line 6) | class CssRewriteFilter extends BaseCssFilter {
    method filterLoad (line 7) | public function filterLoad( AssetInterface $asset ) {
    method filterDump (line 10) | public function filterDump( AssetInterface $asset ) {

FILE: src/FileSystem/FileSystem.php
  class FileSystem (line 5) | class FileSystem {
    method folders (line 6) | public static function folders( $path ) {
    method files (line 31) | public static function files( $path, $ext = null ) {
    method exists (line 55) | public static function exists( $file ) {

FILE: src/Onepager/Adapters/AdapterInterface.php
  type AdapterInterface (line 3) | interface AdapterInterface {
    method setNavigationMenuProvider (line 4) | public function setNavigationMenuProvider();
    method setSecurityProvider (line 6) | public function setSecurityProvider();
    method setToolbarProvider (line 8) | public function setToolbarProvider();
    method setContentProvider (line 10) | public function setContentProvider();
    method setHooksProvider (line 12) | public function setHooksProvider();
    method setAssetProvider (line 14) | public function setAssetProvider();
    method setApiProvider (line 16) | public function setApiProvider();
    method opi18nStrings (line 18) | public function opi18nStrings();
    method setSectionProvider (line 20) | public function setSectionProvider();
    method getPath (line 22) | public function getPath();
    method getUrl (line 24) | public function getUrl();

FILE: src/Onepager/Adapters/BaseAdapter.php
  class BaseAdapter (line 5) | abstract class BaseAdapter implements AdapterInterface {
    method __construct (line 9) | public final function __construct( Container $container, $path, $url ) {
    method setProviders (line 16) | final function setProviders() {
    method getContainer (line 28) | public function getContainer() {
    method getUrl (line 32) | public function getUrl() {
    method getPath (line 36) | public function getPath() {

FILE: src/Onepager/Adapters/WordPress.php
  class WordPress (line 18) | class WordPress extends BaseAdapter {
    method setContentProvider (line 22) | public function setContentProvider() {
    method setAssetProvider (line 28) | public function setAssetProvider() {
    method setApiProvider (line 34) | public function setApiProvider() {
    method setHooksProvider (line 40) | public function setHooksProvider() {
    method setToolbarProvider (line 44) | public function setToolbarProvider() {
    method setNavigationMenuProvider (line 50) | public function setNavigationMenuProvider() {
    method setSecurityProvider (line 56) | public function setSecurityProvider() {
    method setSectionProvider (line 62) | public function setSectionProvider() {
    method opi18nStrings (line 68) | public function opi18nStrings() {

FILE: src/Onepager/Block/BlockManager.php
  class BlockManager (line 6) | class BlockManager {
    method __construct (line 12) | public function __construct( ConfigTransformer $configTransformer, Col...
    method loadAllFromPath (line 25) | public function loadAllFromPath( $path, $url, $groups = array() ) {
    method loadBlocksFromPath (line 58) | public function loadBlocksFromPath($path, $url, $groups = array()){
    method add (line 72) | public function add( $file, $url, $groups = array() ) {
    method get (line 80) | public function get( $key ) {
    method all (line 84) | public function all() {
    method showAllBlocks (line 95) | public function showAllBlocks(){
    method showAllBlocksCollection (line 107) | public function showAllBlocksCollection(){
    method getGroupOrder (line 119) | public function getGroupOrder() {
    method setGroupOrder (line 126) | public function setGroupOrder( $groupOrder ) {
    method getIgnoredGroups (line 133) | public function getIgnoredGroups() {
    method setIgnoredGroups (line 140) | public function setIgnoredGroups( $ignoredGroups ) {

FILE: src/Onepager/Block/Collection.php
  class Collection (line 3) | class Collection extends \ArrayObject {
    method get (line 8) | public function get( $key ) {
    method set (line 13) | public function set( $key, $value ) {
    method toArray (line 31) | public function toArray() {

FILE: src/Onepager/Block/PresetManager.php
  class PresetManager (line 6) | class PresetManager {
    method loadAllFromPath (line 11) | public function loadAllFromPath( $path, $url, $groups = array() ) {
    method add (line 15) | public function add( $file, $url, $groups = array() ) {
    method loadAll (line 46) | public function loadAll() {
    method all (line 59) | public function all() {
    method getIgnoredGroups (line 74) | public function getIgnoredGroups() {
    method setIgnoredGroups (line 81) | public function setIgnoredGroups( $ignoredGroups ) {

FILE: src/Onepager/Block/Transformers/ConfigTransformer.php
  class ConfigTransformer (line 3) | class ConfigTransformer {
    method __construct (line 4) | public function __construct( $fieldsTransformer ) {
    method transform (line 8) | public function transform( $config, $file, $url ) {
    method get (line 87) | public function get( $arr, $key, $default ) {

FILE: src/Onepager/Block/Transformers/FieldsTransformer.php
  class FieldsTransformer (line 5) | class FieldsTransformer {
    method transform (line 7) | public function transform( $fields ) {
    method mergeOptionsData (line 107) | public function mergeOptionsData( $control ) {
    method getOptionData (line 124) | public function getOptionData( $value ) {

FILE: src/Onepager/Block/Transformers/SerializedControlsConfigTransformer.php
  class SerializedControlsConfigTransformer (line 4) | class SerializedControlsConfigTransformer {
    method partialDataStructureChangeMerge (line 11) | public function partialDataStructureChangeMerge( $rGroupDataStructure,...
    method getRepeatGroupDataStructure (line 25) | public function getRepeatGroupDataStructure( $rGroupDataStructure ) {
    method getDefaultRepeatGroups (line 42) | public function getDefaultRepeatGroups( $controlFields ) {
    method getRepeaterControlValue (line 65) | public function getRepeaterControlValue( $tab, $control ) {
    method getSimpleControlValue (line 96) | public function getSimpleControlValue( $tab, $control ) {
    method mergePersistedDataAndConfigData (line 112) | public function mergePersistedDataAndConfigData( $configData, $seriali...

FILE: src/Onepager/Block/Transformers/SerializedControlsOptionsTransformer.php
  class SerializedControlsOptionsTransformer (line 4) | class SerializedControlsOptionsTransformer extends SerializedControlsCon...
    method isGlobalControl (line 5) | public function isGlobalControl( $control ) {
    method getOptionData (line 16) | public function getOptionData( $value ) {
    method getSimpleControlValue (line 34) | public function getSimpleControlValue( $tab, $control ) {

FILE: src/Onepager/Onepager.php
  class Onepager (line 25) | class Onepager implements OnepagerInterface {
    method __construct (line 27) | public function __construct( BaseAdapter $adapter, Container $containe...
    method createUserTemplateTable (line 38) | public function createUserTemplateTable(){
    method setBlockManager (line 53) | public function setBlockManager() {
    method setPresetManager (line 62) | public function setPresetManager() {
    method setRenderer (line 68) | private function setRenderer() {
    method setViewProvider (line 74) | public function setViewProvider() {
    method navigationMenu (line 83) | public function navigationMenu() {
    method toolbar (line 92) | public function toolbar() {
    method content (line 109) | public function content() {
    method asset (line 118) | public function asset() {
    method api (line 127) | public function api() {
    method security (line 133) | public function security() {
    method view (line 139) | public function view() {
    method url (line 145) | public function url( $string ) {
    method path (line 149) | public function path( $path ) {
    method section (line 153) | public function section() {
    method blockManager (line 159) | public function blockManager() {
    method render (line 163) | public function render() {
    method setAllSavedTemplates (line 169) | public function setAllSavedTemplates() {
    method savedTemplates (line 177) | public function savedTemplates() {
    method optionsPanel (line 181) | public function optionsPanel( $menuSlug ) {
    method presetManager (line 185) | public function presetManager() {
    method getOption (line 189) | public function getOption() {
    method opi18n (line 196) | public function opi18n(){

FILE: src/Onepager/OnepagerInterface.php
  type OnepagerInterface (line 10) | interface OnepagerInterface {
    method navigationMenu (line 11) | public function navigationMenu();
    method toolbar (line 13) | public function toolbar();
    method content (line 15) | public function content();
    method asset (line 17) | public function asset();
    method api (line 19) | public function api();
    method security (line 21) | public function security();
    method view (line 23) | public function view();
    method section (line 25) | public function section();

FILE: src/Onepager/Render/Render.php
  class Render (line 11) | class Render {
    method __construct (line 17) | public function __construct(
    method sections (line 27) | public function sections( $sections ) {
    method isValidSection (line 40) | public function isValidSection( $section ) {
    method section (line 50) | public function section( $section ) {
    method syncPageSettingsWithSection (line 72) | public function syncPageSettingsWithSection($pageId, $sections){
    method sectionBlockDataMerge (line 93) | public function sectionBlockDataMerge( $section ) {
    method styles (line 111) | public function styles( $sections ) {
    method pageStyles (line 116) | public function pageStyles($sections, $pageId, $pageOptionPanel){
    method syncPageStyles (line 126) | public function syncPageStyles( $pageId, $pageOptionPanel, $sectionsId){
    method style (line 140) | public function style( $section ) {
    method pageStyle (line 162) | public function pageStyle( $section, $pageId, $pageOptionPanel ) {
    method pageSettingsStyle (line 183) | public function pageSettingsStyle( $sectionId, $pageId, $pageOptionPan...
    method getStyleHTML (line 194) | public function getStyleHTML( $section, $style_file ) {
    method getPageStyleHTML (line 207) | public function getPageStyleHTML( $section, $style_file, $pageId, $pag...
    method getPageStyleLive (line 214) | public function getPageStyleLive( $sectionId, $pageId, $pageOptionPane...
    method noViewFile (line 226) | public function noViewFile( $blockName ) {
    method noBlockDefined (line 235) | public function noBlockDefined( $sectionSlug ) {
    method locateViewFile (line 244) | public function locateViewFile( $block ) {
    method locateStyleFile (line 256) | public function locateStyleFile( $block ) {
    method mergeSectionsBlocksSettings (line 263) | public function mergeSectionsBlocksSettings( $sections ) {
    method mergeSectionsAndSettings (line 290) | public function mergeSectionsAndSettings() {
    method mergeSectionsAndSettingsWithPage (line 316) | public function mergeSectionsAndSettingsWithPage($pageId = ''){

FILE: src/Onepager/Templates/SavedTemplates.php
  class SavedTemplates (line 5) | class SavedTemplates {
    method loadAllSavedTemplates (line 10) | public function loadAllSavedTemplates(  ) {
    method serializeSavedTemplateData (line 22) | public function serializeSavedTemplateData($singleTemplate){
    method loadAllPagePresets (line 25) | public function loadAllPagePresets(  ) {

FILE: src/Providers/Contracts/ApiInterface.php
  type ApiInterface (line 3) | interface ApiInterface {
    method getAjaxUrl (line 4) | public function getAjaxUrl();
    method get (line 6) | public function get( $action, $callback );
    method post (line 8) | public function post( $action, $callback );
    method action (line 10) | public function action( $action, $callback );

FILE: src/Providers/Contracts/AssetInterface.php
  type AssetInterface (line 3) | interface AssetInterface {
    method localizeScript (line 10) | public function localizeScript( $name, $data, $handle = '' );
    method script (line 12) | public function script( $name, $src = false, $dependency = [ ], $versi...
    method style (line 15) | public function style( $name, $src = false, $dependency = [ ], $versio...

FILE: src/Providers/Contracts/ContentInterface.php
  type ContentInterface (line 4) | interface ContentInterface {
    method getCurrentPageId (line 5) | public function getCurrentPageId();
    method isOnepage (line 7) | public function isOnepage();
    method isBuildMode (line 9) | public function isBuildMode();
    method getPages (line 11) | public function getPages();
    method getPosts (line 13) | public function getPosts();
    method getMenus (line 15) | public function getMenus();
    method getCategories (line 17) | public function getCategories();
    method getMenuLocations (line 19) | public function getMenuLocations();

FILE: src/Providers/Contracts/NavigationMenuInterface.php
  type NavigationMenuInterface (line 3) | interface NavigationMenuInterface {
    method getLastItemOrder (line 4) | public function getLastItemOrder( $menuId );
    method addItem (line 6) | public function addItem( $menuId, $itemTitle, $itemId );

FILE: src/Providers/Contracts/Opi18nInterface.php
  type Opi18nInterface (line 3) | interface Opi18nInterface {
    method set_opi18n_strings (line 4) | public function set_opi18n_strings();
    method get_opi18n_strings (line 5) | public function get_opi18n_strings();

FILE: src/Providers/Contracts/OptionsPanelInterface.php
  type OptionsPanelInterface (line 3) | interface OptionsPanelInterface {
    method localizeScript (line 4) | public function localizeScript();
    method addMenuPage (line 6) | public function addMenuPage( $pageTitle, $menuTitle, $iconUrl );
    method printMountNode (line 8) | public function printMountNode();
    method tab (line 14) | public function tab( $id, $name = null );
    method add (line 16) | public function add();
    method getOptionsControls (line 18) | public function getOptionsControls();

FILE: src/Providers/Contracts/SectionInterface.php
  type SectionInterface (line 12) | interface SectionInterface {
    method get (line 13) | public function get( $id, $index );
    method set (line 15) | public function set( $id, $index, $section );
    method all (line 17) | public function all( $id );
    method save (line 19) | public function save( $id, $sections );

FILE: src/Providers/Contracts/SecurityfInterface.php
  type SecurityInterface (line 3) | interface SecurityInterface {

FILE: src/Providers/Contracts/TemplatesInterface.php
  type TemplatesInterface (line 4) | interface TemplatesInterface {
    method getAllSavedTemplates (line 5) | public function getAllSavedTemplates();
    method getAllSavedSection (line 6) | public function getAllSavedSection();
    method getAllSavedPages (line 7) | public function getAllSavedPages();

FILE: src/Providers/Contracts/ToolbarInterface.php
  type ToolbarInterface (line 3) | interface ToolbarInterface {
    method addMenu (line 4) | public function addMenu( $id, $href, $title );

FILE: src/Providers/WordPress/Api.php
  class Api (line 5) | class Api implements ApiInterface {
    method getAjaxUrl (line 6) | public function getAjaxUrl() {
    method get (line 10) | public function get( $action, $callback ) {
    method action (line 16) | public function action( $action, $callback ) {
    method post (line 24) | public function post( $action, $callback ) {
    method getUpdatePlugins (line 29) | public function getUpdatePlugins(){

FILE: src/Providers/WordPress/Asset.php
  class Asset (line 7) | class Asset implements AssetInterface {
    method script (line 12) | public function script( $name, $src = false, $dependency = [ ], $versi...
    method style (line 22) | public function style( $name, $src = false, $dependency = [ ], $versio...
    method enqueueScripts (line 32) | public function enqueueScripts() {
    method enqueueStyles (line 41) | public function enqueueStyles() {
    method enqueueLocalizations (line 50) | public function enqueueLocalizations() {
    method enqueue (line 59) | public function enqueue() {
    method compileScriptsAndEnqueue (line 65) | public function compileScriptsAndEnqueue( $pageId ) {
    method getDependencies (line 93) | public function getDependencies( $assets ) {
    method localizeScript (line 103) | public function localizeScript( $name, $data, $handle = '' ) {
    method compilePageAssets (line 111) | public function compilePageAssets( $pageId ) {

FILE: src/Providers/WordPress/Content.php
  class Content (line 10) | class Content implements ContentInterface {
    method getPages (line 14) | public function getPages() {
    method getPosts (line 21) | public function getPosts() {
    method getMenus (line 28) | public function getMenus() {
    method getCategories (line 35) | public function getCategories() {
    method getWooCategories (line 39) | public function getWooCategories() {
    method getMenuLocations (line 50) | public function getMenuLocations() {
    method isBuildMode (line 54) | public function isBuildMode() {
    method isPreview (line 60) | public function isPreview() {
    method isOnepagerByTemplate (line 66) | public function isOnepagerByTemplate( $pageId = null ) {
    method isOnepagerDefaultPageTemplate (line 83) | public function isOnepagerDefaultPageTemplate( $pageId = null ) {
    method isOnepagerByMeta (line 94) | public function isOnepagerByMeta() {
    method isOnepage (line 100) | public function isOnepage( $pageId = null ) {
    method getCurrentPageId (line 112) | public function getCurrentPageId() {
    method isPermitted (line 122) | protected function isPermitted() {

FILE: src/Providers/WordPress/NavigationMenu.php
  class NavigationMenu (line 10) | class NavigationMenu implements NavigationMenuInterface {
    method addItem (line 16) | public function addItem( $menuId, $itemTitle, $itemId ) {
    method getLastItemOrder (line 49) | public function getLastItemOrder( $menuId ) {

FILE: src/Providers/WordPress/Opi18n.php
  class Opi18n (line 5) | class Opi18n implements Opi18nInterface {
    method set_opi18n_strings (line 6) | public function set_opi18n_strings(){
    method get_opi18n_strings (line 11) | public function get_opi18n_strings(){

FILE: src/Providers/WordPress/OptionsPanel.php
  class OptionsPanel (line 10) | class OptionsPanel implements OptionsPanelInterface {
    method getInstance (line 19) | public static function getInstance( $menuSlug ) {
    method __construct (line 27) | public function __construct( $menuSlug ) {
    method addMenuPage (line 33) | public function addMenuPage( $pageTitle, $menuTitle, $iconUrl, $positi...
    method addSubMenuPage (line 50) | public function addSubMenuPage( $parentSlug, $pageTitle, $menuTitle ) {
    method printMountNode (line 66) | public function printMountNode() {
    method isOptionsPanel (line 70) | public function isOptionsPanel() {
    method localizeScript (line 74) | public function localizeScript() {
    method getOption (line 98) | public function getOption( $name, $default = '' ) {
    method update (line 107) | public function update( $options ) {
    method updatePageSettingsOption (line 117) | public function updatePageSettingsOption($pageID, $options){
    method flattenOptions (line 122) | protected function flattenOptions() {
    method mergeOptions (line 132) | protected function mergeOptions( $data, $tabs ) {
    method getAllSavedOptions (line 146) | public function getAllSavedOptions() {
    method getAllSavedPageOptions (line 156) | public function getAllSavedPageOptions($pageId) {
    method getOptionsControls (line 165) | public function getOptionsControls() {
    method getPageOptionsControls (line 177) | public function getPageOptionsControls($pageId){
    method transformOptions (line 199) | public function transformOptions( $options ) {
    method tab (line 205) | public function tab( $id, $name = null ) {
    method add (line 212) | public function add() {

FILE: src/Providers/WordPress/Section.php
  class Section (line 6) | class Section implements SectionInterface {
    method get (line 10) | public function get( $pageId, $index ) {
    method all (line 16) | public function all( $pageId ) {
    method getAllValid (line 24) | public function getAllValid( $pageId ) {
    method getAllValidFromSection (line 28) | public function getAllValidFromSection( $sections ) {
    method set (line 39) | public function set( $pageId, $index, $section ) {
    method save (line 48) | public function save( $pageId, $sections ) {

FILE: src/Providers/WordPress/TemplateManager.php
  class TemplateManager (line 6) | class TemplateManager implements TemplatesInterface {
    method getAllSavedTemplates (line 9) | public function getAllSavedTemplates(){
    method getAllSavedSection (line 12) | public function getAllSavedSection(){
    method getAllSavedPages (line 15) | public function getAllSavedPages(){

FILE: src/Providers/WordPress/Toolbar.php
  class Toolbar (line 6) | class Toolbar implements ToolbarInterface {
    method addMenu (line 8) | public function addMenu( $id, $href, $title ) {

FILE: src/View/Engines/EngineInterface.php
  type EngineInterface (line 3) | interface EngineInterface {
    method get (line 13) | public function get( $path, array $data = array() );
    method getPageStyle (line 14) | public function getPageStyle( $path, array $data = array(), $pageId, $...
    method getPageStyleLive (line 15) | public function getPageStyleLive( $sectionId, $pageId, $pageOptionPane...

FILE: src/View/Engines/PhpEngine.php
  class PhpEngine (line 5) | class PhpEngine implements EngineInterface {
    method getAllFonts (line 15) | public function getAllFonts($name){
    method get (line 20) | public function get( $path, array $data = array() ) {
    method getPageStyle (line 23) | public function getPageStyle( $path, array $data = array(), $pageId, $...
    method getPageStyleLive (line 26) | public function getPageStyleLive($sectionId, $pageId, $pageOptionPanel){
    method evaluatePath (line 38) | protected function evaluatePath( $__path, $__data ) {
    method evaluatePathForPage (line 64) | protected function evaluatePathForPage( $__path, $__data, $__pageId, $...
    method evaluateLiveDataForPage (line 93) | protected function evaluateLiveDataForPage( $sectionId, $__pageId, $__...
    method handleViewException (line 118) | protected function handleViewException( $e, $obLevel ) {

FILE: src/View/View.php
  class View (line 7) | class View {
    method getInstance (line 11) | public static function getInstance() {
    method __construct (line 19) | public function __construct( EngineInterface $compilerEngine ) {
    method make (line 23) | public function make( $file, $data ) {
    method makePageStyle (line 26) | public function makePageStyle( $file, $data, $pageId, $pageOptionPanel...
    method makePageStyleLive (line 29) | public function makePageStyleLive( $sectionId, $pageId, $pageOptionPan...

FILE: src/WordPress/PageTemplater.php
  class PageTemplater (line 3) | class PageTemplater {
    method addTemplate (line 7) | public function addTemplate( $name, $file ) {
    method __construct (line 12) | public function __construct() {
    method add_page_template (line 26) | public function add_page_template( $templates ) {
    method register_project_templates (line 46) | public function register_project_templates( $attrs ) {
    method view_project_template (line 88) | public function view_project_template( $template ) {
    method get_cache_key (line 120) | protected function get_cache_key() {

FILE: src/WordPress/wp_bootstrap_navwalker.php
  class WP_Bootstrap_Navwalker (line 30) | class WP_Bootstrap_Navwalker extends Walker_Nav_Menu {
    method start_lvl (line 43) | public function start_lvl( &$output, $depth = 0, $args = array() ) {
    method end_lvl (line 83) | public function end_lvl( &$output, $depth = 0, $args = array() ) {
    method start_el (line 109) | public function start_el( &$output, $item, $depth = 0, $args = array()...
    method display_element (line 330) | public function display_element( $element, &$children_elements, $max_d...
    method fallback (line 350) | public static function fallback( $args ) {
    method separate_linkmods_and_icons_from_classes (line 412) | private function separate_linkmods_and_icons_from_classes( $classes, &...
    method get_linkmod_type (line 450) | private function get_linkmod_type( $linkmod_classes = array() ) {
    method update_atts_for_linkmod_type (line 481) | private function update_atts_for_linkmod_type( $atts = array(), $linkm...
    method wrap_for_screen_reader (line 514) | private function wrap_for_screen_reader( $text = '' ) {
    method linkmod_element_open (line 531) | private function linkmod_element_open( $linkmod_type, $attributes = ''...
    method linkmod_element_close (line 555) | private function linkmod_element_close( $linkmod_type ) {

FILE: src/functions.php
  function array_find_by (line 9) | function array_find_by( $collection, $key, $value ) {
  function flatten_array (line 24) | function flatten_array( $array ) {
  function array_get (line 38) | function array_get( $array, $key, $default = null ) {
  function obj_to_array (line 55) | function obj_to_array( $obj, $oKey, $oValue ) {
  function array_pluck (line 70) | function array_pluck( $toPluck, $arr ) {
  function onepager_get_edit_mode_url (line 80) | function onepager_get_edit_mode_url( $url, $mode = 1 ) {
  function onepager_get_preview_url (line 85) | function onepager_get_preview_url( $url ) {
  function op_asset (line 99) | function op_asset( $path ) {
  function asset (line 106) | function asset( $path ) {
  function trailingslashit (line 112) | function trailingslashit( $string ) {
  function untrailingslashit (line 118) | function untrailingslashit( $string ) {
  function get_current_page_url (line 125) | function get_current_page_url() {
  function dd (line 133) | function dd( $var, $kill = true ) {
  function pd (line 142) | function pd( $var, $kill = true ) {
  function startsWith (line 150) | function startsWith( $haystack, $needle ) {
  function endsWith (line 157) | function endsWith( $haystack, $needle ) {
  function op_is_image (line 164) | function op_is_image( $media ) {
  function op_the_excerpt (line 177) | function op_the_excerpt( $excerpt_length = 55, $readmore = null ) {
  function get_default_template_stylesheet_handle (line 190) | function get_default_template_stylesheet_handle() {
  function txop_check_dependent_plugin (line 207) | function txop_check_dependent_plugin($plugin_slug, $plugin_file_name, $p...
  function txop_error_checking (line 253) | function txop_error_checking($check_type){
  function txop_insert_user_templates (line 264) | function txop_insert_user_templates($args = []){
  function txop_fetch_user_templates (line 300) | function txop_fetch_user_templates($args = []){
  function txop_fetch_single_templates (line 330) | function txop_fetch_single_templates($args = []){
  function txop_fetch_all_saved_templates (line 354) | function txop_fetch_all_saved_templates($args = []){
  function txop_count_user_templates (line 387) | function txop_count_user_templates(){
  function txop_delete_template (line 396) | function txop_delete_template($id){

FILE: src/theme_helpers.php
  function op_link (line 5) | function op_link( $link, $class = '' ) {
  function op_heading (line 20) | function op_heading($text, $type, $class='', $attr = ''){

FILE: tx-onepager.php
  function onepager_php_version_check (line 30) | function onepager_php_version_check()
  function print_onepager_meta (line 64) | function print_onepager_meta()
  function appsero_init_tracker_wponepager (line 77) | function appsero_init_tracker_wponepager()
  function wponepager_localization_setup (line 94) | function wponepager_localization_setup() {
  function onepager_activation_hook (line 101) | function onepager_activation_hook()
  function onepager_redirect (line 111) | function onepager_redirect()
Condensed preview — 426 files, each showing path, character count, and a content snippet. Download the .json file or copy for the full structured content (3,282K chars).
[
  {
    "path": ".distignore",
    "chars": 243,
    "preview": "/.wordpress-org\n/.git\n/.github\n/node_modules\n/bower_components\n/temp\n\n.distignore\n.gitignore\n.editorconfig\n.travis.yml\n."
  },
  {
    "path": ".editorconfig",
    "chars": 214,
    "preview": "# http://editorconfig.org\nroot = true\n\n[*]\nindent_style = space\nindent_size = 4\nend_of_line = lf\ncharset = utf-8\ntrim_tr"
  },
  {
    "path": ".github/workflows/wp.yml",
    "chars": 547,
    "preview": "name: Deploy to WordPress.org\non:\n  push:\n    tags:\n    - \"*\"\njobs:\n  tag:\n    name: New tag\n    runs-on: ubuntu-latest\n"
  },
  {
    "path": ".gitignore",
    "chars": 314,
    "preview": "# OS Generated\n.DS_Store*\nehthumbs.db\nThumbs.db\n\n# IDE\n.idea\n.phpintel\n*.sublime*\n\n#arbitary\n.scratch\n\n# blocks\nblocks/b"
  },
  {
    "path": ".jshintrc",
    "chars": 440,
    "preview": "{\n  \"node\": true,\n  \"scripturl\": true,\n  \"esnext\": true,\n  \"bitwise\": true,\n  \"camelcase\": true,\n  \"curly\": true,\n  \"eqe"
  },
  {
    "path": ".travis.yml",
    "chars": 1436,
    "preview": "# Travis CI (MIT License) configuration file\n# @link https://travis-ci.org/\n\n# Use new container based environment\nsudo:"
  },
  {
    "path": "CHANGELOG.md",
    "chars": 9573,
    "preview": "# Change Log\n\n## [v1.2.4](https://github.com/themexpert/onepager/tree/v1.2.4) (2015-10-26)\n[Full Changelog](https://gith"
  },
  {
    "path": "LICENSE.txt",
    "chars": 18419,
    "preview": "This program is free software; you can redistribute it and/or modify\nit under the terms of the GNU General Public Licens"
  },
  {
    "path": "app/Admin/menu.php",
    "chars": 4674,
    "preview": "<?php\n// Exit if accessed directly\nif ( ! defined( 'ABSPATH' ) ) {\n\texit;\n}\n\nclass TXOP_Admin_Menu{\n\t\n\tpublic function _"
  },
  {
    "path": "app/Admin/notice.php",
    "chars": 3894,
    "preview": "<?php\n// Exit if accessed directly\nif ( ! defined( 'ABSPATH' ) ) {\n\texit;\n}\n\n// The Notice class\nif ( ! class_exists( 'O"
  },
  {
    "path": "app/Admin/override.php",
    "chars": 1146,
    "preview": "<?php\n// Edit With onepager link\nadd_filter( 'page_row_actions', 'op_edit_with_onepager_link_in_page_row', 10, 2 );\nfunc"
  },
  {
    "path": "app/Admin/views/blocks.php",
    "chars": 6232,
    "preview": "<?php\n$blocks = onepager()->blockManager()->showAllBlocks();\n$blockCollection = array_values((array) onepager()->blockMa"
  },
  {
    "path": "app/Admin/views/dashboard.php",
    "chars": 7142,
    "preview": "<?php\n$layouts = onepager()->presetManager()->all();\n$blocks = onepager()->blockManager()->showAllBlocks();\n\n$groups = a"
  },
  {
    "path": "app/Admin/views/delete-handler.php",
    "chars": 1238,
    "preview": "<?php\n\nClass TXOP_Delete_Handler{\n\n    public function __construct(){\n        $this->txop_delete_template();\n    }\n    \n"
  },
  {
    "path": "app/Admin/views/getting-started.php",
    "chars": 978,
    "preview": "<div class=\"uk-container uk-container-small\">\n  <div class=\"uk-card uk-card-default uk-margin-medium-top\">\n\t  <div class"
  },
  {
    "path": "app/Admin/views/handler.php",
    "chars": 2738,
    "preview": "<?php\n\nClass TXOP_Handler{\n\n    public function __construct(){\n        $this->txop_upload_handler();\n    }\n\n    \n    pub"
  },
  {
    "path": "app/Admin/views/settings.php",
    "chars": 200,
    "preview": "<style>\n.onepager-dashboard-settings form h2 {\n    display: none;\n}\ndiv#setting-error-settings_updated {\n    margin-top:"
  },
  {
    "path": "app/Admin/views/template-lists.php",
    "chars": 4697,
    "preview": "<?php\n\n    if(! class_exists('WP_List_Table')){\n        require_once ABSPATH . 'wp-admin/includes/class-wp-list-table.ph"
  },
  {
    "path": "app/Admin/views/templates/template-edit.php",
    "chars": 265,
    "preview": "<?php ?>\n\n<div class=\"wrap\">\n    <h1 class=\"wp-heading-inline\"><?php _e('Edit', 'tx-onepager'); ?></h1>\n    <a class=\"pa"
  },
  {
    "path": "app/Admin/views/templates/template-list.php",
    "chars": 1152,
    "preview": "<?php ?>\n\n<div class=\"wrap\">\n\n    <h1 class=\"wp-heading-inline\"><?php _e('All Templates', 'tx-onepager'); ?></h1>\n\n    <"
  },
  {
    "path": "app/Admin/views/templates/template-new.php",
    "chars": 968,
    "preview": "<?php ?>\n\n<div class=\"wrap\">\n    <h1 class=\"wp-heading-inline\"><?php _e('Add New Template', 'tx-onepager'); ?></h1>\n\n   "
  },
  {
    "path": "app/Admin/views/templates/template-view.php",
    "chars": 0,
    "preview": ""
  },
  {
    "path": "app/Admin/views/templates.php",
    "chars": 793,
    "preview": "<?php\n\nClass TXOP_Templates{\n\n    public function handle_template_pages(){\n        $action = isset( $_GET['action'] ) ? "
  },
  {
    "path": "app/Api/Controllers/ApiController.php",
    "chars": 949,
    "preview": "<?php namespace App\\Api\\Controllers;\n\n\nclass ApiController {\n\tprotected $data;\n\n\t/**\n\t * @param $input\n\t *\n\t * @return m"
  },
  {
    "path": "app/Api/Controllers/BlocksApiController.php",
    "chars": 325,
    "preview": "<?php\n/**\n * Created by IntelliJ IDEA.\n * User: na\n * Date: 8/18/15\n * Time: 1:20 AM\n */\n\nnamespace App\\Api\\Controllers;"
  },
  {
    "path": "app/Api/Controllers/MenuApiController.php",
    "chars": 477,
    "preview": "<?php\n/**\n * Created by IntelliJ IDEA.\n * User: na\n * Date: 8/18/15\n * Time: 12:37 AM\n */\n\nnamespace App\\Api\\Controllers"
  },
  {
    "path": "app/Api/Controllers/OptionsApiController.php",
    "chars": 2737,
    "preview": "<?php namespace App\\Api\\Controllers;\n\nclass OptionsApiController extends ApiController {\n\tpublic function saveOptions() "
  },
  {
    "path": "app/Api/Controllers/PageApiController.php",
    "chars": 2294,
    "preview": "<?php\n/**\n * Created by IntelliJ IDEA.\n * User: na\n * Date: 8/18/15\n * Time: 1:22 AM\n */\n\nnamespace App\\Api\\Controllers;"
  },
  {
    "path": "app/Api/Controllers/SectionsApiController.php",
    "chars": 5493,
    "preview": "<?php\n\nnamespace App\\Api\\Controllers;\n\nuse App\\Assets\\BlocksScripts;\nuse App\\Assets\\OnepageScripts;\n\nclass SectionsApiCo"
  },
  {
    "path": "app/Api/routes.php",
    "chars": 1604,
    "preview": "<?php\nuse ThemeXpert\\Providers\\WordPress\\Api;\n\nif ( is_admin() && defined( 'DOING_AJAX' ) && DOING_AJAX ) {\n\t$apiRouter "
  },
  {
    "path": "app/Application.php",
    "chars": 3071,
    "preview": "<?php namespace App;\n\nuse App\\Assets\\BlocksScripts;\nuse App\\Assets\\BuildModeScripts;\nuse App\\Assets\\OnepageScripts;\nuse "
  },
  {
    "path": "app/Assets/BlocksScripts.php",
    "chars": 3026,
    "preview": "<?php namespace App\\Assets;\n\nuse ThemeXpert\\FileSystem\\FileSystem;\n\nclass BlocksScripts {\n  public function __construct("
  },
  {
    "path": "app/Assets/BuildModeScripts.php",
    "chars": 4997,
    "preview": "<?php\n\nnamespace App\\Assets;\n\nuse App\\Assets\\Traits\\FormEngineScripts;\n\nclass BuildModeScripts\n{\n    use FormEngineScrip"
  },
  {
    "path": "app/Assets/OnepageScripts.php",
    "chars": 2416,
    "preview": "<?php\n\nnamespace App\\Assets;\n\nclass OnepageScripts\n{\n    public function __construct()\n    {\n        add_action('wp_enqu"
  },
  {
    "path": "app/Assets/OptionsPanelScripts.php",
    "chars": 436,
    "preview": "<?php namespace App\\Assets;\n\nuse App\\Assets\\Traits\\FormEngineScripts;\n\nclass OptionsPanelScripts {\n  use FormEngineScrip"
  },
  {
    "path": "app/Assets/PreviewScripts.php",
    "chars": 550,
    "preview": "<?php\n\nnamespace App\\Assets;\n\nclass PreviewScripts\n{\n    public function __construct()\n    {\n        add_action('wp_enqu"
  },
  {
    "path": "app/Assets/Traits/FormEngineScripts.php",
    "chars": 3480,
    "preview": "<?php\n\nnamespace App\\Assets\\Traits;\n\nuse _WP_Editors;\n\ntrait FormEngineScripts\n{\n    public function enqueueFormEngineSc"
  },
  {
    "path": "app/Assets/WpConflictResolver.php",
    "chars": 1061,
    "preview": "<?php namespace App\\Assets;\n\nclass WpConflictResolver {\n  public function __construct() {\n    add_action('wp', [$this, '"
  },
  {
    "path": "app/Content/OnepageContent.php",
    "chars": 2149,
    "preview": "<?php namespace App\\Content;\n\nclass OnepageContent {\n\tpublic function __construct() {\n\t\tadd_action(\n\t\t\t'wp_head',\n\t\t\tfun"
  },
  {
    "path": "app/Content/OnepageInternalScripts.php",
    "chars": 5404,
    "preview": "<?php namespace App\\Content;\n\nclass OnepageInternalScripts {\n\tpublic function __construct() {\n\t\tadd_action( 'wp_head', ["
  },
  {
    "path": "app/Content/OnepageToolbar.php",
    "chars": 685,
    "preview": "<?php namespace App\\Content;\n\nclass OnepageToolbar {\n\tpublic function __construct() {\n\t\tadd_action( 'wp', [ $this, 'addT"
  },
  {
    "path": "app/Loaders/BlocksLoader.php",
    "chars": 1342,
    "preview": "<?php namespace App\\Loaders;\n\nuse ThemeXpert\\Onepager\\Block\\BlockManager;\n\nclass BlocksLoader {\n\tprotected $blockManager"
  },
  {
    "path": "app/Loaders/PresetsLoader.php",
    "chars": 950,
    "preview": "<?php namespace App\\Loaders;\n\n\nclass PresetsLoader {\n\tprotected $presetManager;\n\n\tpublic function __construct( $presetMa"
  },
  {
    "path": "app/Loaders/TemplateLoader.php",
    "chars": 1831,
    "preview": "<?php namespace App\\Loaders;\n\nuse ThemeXpert\\WordPress\\PageTemplater;\n\nclass TemplateLoader {\n\n\tprotected $pageTemplateM"
  },
  {
    "path": "app/Metabox/metabox.php",
    "chars": 2832,
    "preview": "<?php\n\nuse ThemeXpert\\View\\View;\n\nadd_action( 'add_meta_boxes', 'tx_add_onepager_metabox', 1 );\nadd_action( 'admin_enque"
  },
  {
    "path": "app/Metabox/page-meta.php",
    "chars": 2710,
    "preview": "<div class=\"onepager-meta-container\">\n  <?php if ( $post->post_status == 'publish' ) : ?>\n\t<div class=\"toolbar\">\n\t  <div"
  },
  {
    "path": "app/Onepager.php",
    "chars": 3367,
    "preview": "<?php\n\n/**\n * Class to proive simple API. No need to call chain method or complex query.\n */\nabstract class Onepager {\n\n"
  },
  {
    "path": "app/OptionsPanel/settings.php",
    "chars": 3544,
    "preview": "<?php\n// this file should be in the theme\nOnepager::getOptionPanel()\n\t\t->tab( 'general', 'Generals' )\n\t\t->add(\n\t\t\tarray("
  },
  {
    "path": "app/bootstrap.php",
    "chars": 393,
    "preview": "<?php\nuse App\\Application;\nuse Pimple\\Container;\nuse ThemeXpert\\Onepager\\Adapters\\WordPress;\nuse ThemeXpert\\Onepager\\One"
  },
  {
    "path": "app/data/font-families.php",
    "chars": 882316,
    "preview": "<?php\n\nreturn [\n    0 => [\n        \"family\" => \"ABeeZee\",\n        \"variants\"=>\n        [\n        0=>\n            \"regula"
  },
  {
    "path": "app/inc/onepager-settings.php",
    "chars": 1709,
    "preview": "<?php\n\n/**\n * Get wedevs settings API instance.\n *\n * @return void\n */\nfunction getWeDevsSettingAPI()\n{\n    global $weDe"
  },
  {
    "path": "app/inc/support.php",
    "chars": 704,
    "preview": "<?php\n\n/**\n * EDITOR SECTION LIST FOOTER\n * example use case:\n * add_filter('section_list_footer', function($footer){\n *"
  },
  {
    "path": "app/templates/builder.php",
    "chars": 1121,
    "preview": "<!DOCTYPE html>\n<html <?php language_attributes(); ?>>\n<head>\n  <meta charset=\"<?php bloginfo( 'charset' ); ?>\">\n  <meta"
  },
  {
    "path": "app/templates/my-test.php",
    "chars": 196,
    "preview": "<?php /** Template Name: My Test */ ?>\n<?php get_header(); ?>\n\n<?php\nwhile ( have_posts() ) :\n\tthe_post();\n\t?>\n\t<?php th"
  },
  {
    "path": "app/templates/onepage.php",
    "chars": 702,
    "preview": "<?php /* Template Name: OnePager */ ?>\n<!DOCTYPE html>\n<html <?php language_attributes(); ?>>\n  <head>\n\t<meta charset=\"<"
  },
  {
    "path": "app/templates/onepager-default.php",
    "chars": 205,
    "preview": "<?php /** Template Name: Onepager Default */ ?>\n<?php get_header(); ?>\n\n<?php\nwhile ( have_posts() ) :\n\tthe_post();\n\t?>\n"
  },
  {
    "path": "blocks/blogs/blog-1/config.php",
    "chars": 6286,
    "preview": "<?php\r\n\r\nreturn array(\r\n\r\n\t'slug'      => 'blog-1', // Must be unique and singular\r\n\t'groups'    => array('blogs'), // B"
  },
  {
    "path": "blocks/blogs/blog-1/style.css",
    "chars": 576,
    "preview": ".blog-1{ padding-top: 80px; padding-bottom: 80px;}\r\n\r\n.blog-1 .uk-card {\r\n\toverflow: hidden;\r\n}\r\n\r\n.blog-1 .uk-card .pos"
  },
  {
    "path": "blocks/blogs/blog-1/style.php",
    "chars": 1432,
    "preview": "#<?php echo $id; ?>{\r\n\tbackground-color : <?php echo $styles['bg_color']; ?>;\r\n}\r\n\r\n#<?php echo $id; ?> .section-heading"
  },
  {
    "path": "blocks/blogs/blog-1/view.php",
    "chars": 3110,
    "preview": "<?php\r\n\t// title animation\r\n\t$title_animation = ( $settings['title_animation'] ) ? 'uk-scrollspy=\"cls:uk-animation-' . $"
  },
  {
    "path": "blocks/blogs/blog-2/config.php",
    "chars": 6434,
    "preview": "<?php\r\n\r\nreturn array(\r\n\r\n\t'slug'      => 'blog-2', // Must be unique and singular\r\n\t'groups'    => array('blogs'), // B"
  },
  {
    "path": "blocks/blogs/blog-2/style.css",
    "chars": 576,
    "preview": ".blog-1{ padding-top: 80px; padding-bottom: 80px;}\r\n\r\n.blog-1 .uk-card {\r\n\toverflow: hidden;\r\n}\r\n\r\n.blog-1 .uk-card .pos"
  },
  {
    "path": "blocks/blogs/blog-2/style.php",
    "chars": 1432,
    "preview": "#<?php echo $id; ?>{\r\n\tbackground-color : <?php echo $styles['bg_color']; ?>;\r\n}\r\n\r\n#<?php echo $id; ?> .section-heading"
  },
  {
    "path": "blocks/blogs/blog-2/view.php",
    "chars": 3864,
    "preview": "<?php\r\n\t// title animation\r\n\t$title_animation = ( $settings['title_animation'] ) ? 'uk-scrollspy=\"cls:uk-animation-' . $"
  },
  {
    "path": "blocks/blogs/blog-3/config.php",
    "chars": 6364,
    "preview": "<?php\r\n\r\nreturn array(\r\n\r\n\t'slug'      => 'blog-3', // Must be unique and singular\r\n\t'groups'    => array('blogs'), // B"
  },
  {
    "path": "blocks/blogs/blog-3/style.css",
    "chars": 576,
    "preview": ".blog-1{ padding-top: 80px; padding-bottom: 80px;}\r\n\r\n.blog-1 .uk-card {\r\n\toverflow: hidden;\r\n}\r\n\r\n.blog-1 .uk-card .pos"
  },
  {
    "path": "blocks/blogs/blog-3/style.php",
    "chars": 1636,
    "preview": "#<?php echo $id; ?>{\r\n\tbackground-color : <?php echo $styles['bg_color']; ?>;\r\n}\r\n\r\n#<?php echo $id; ?> .section-heading"
  },
  {
    "path": "blocks/blogs/blog-3/view.php",
    "chars": 3873,
    "preview": "<?php\r\n\t// title animation\r\n\t$title_animation = ( $settings['title_animation'] ) ? 'uk-scrollspy=\"cls:uk-animation-' . $"
  },
  {
    "path": "blocks/blogs/blog-4/config.php",
    "chars": 6929,
    "preview": "<?php\r\n\r\nreturn array(\r\n\r\n\t'slug'      => 'blog-4', // Must be unique and singular\r\n\t'groups'    => array('blogs'), // B"
  },
  {
    "path": "blocks/blogs/blog-4/style.css",
    "chars": 576,
    "preview": ".blog-1{ padding-top: 80px; padding-bottom: 80px;}\r\n\r\n.blog-1 .uk-card {\r\n\toverflow: hidden;\r\n}\r\n\r\n.blog-1 .uk-card .pos"
  },
  {
    "path": "blocks/blogs/blog-4/style.php",
    "chars": 3525,
    "preview": "#<?php echo $id; ?>{\r\n\tbackground-color : <?php echo $styles['bg_color']; ?>;\r\n}\r\n\r\n#<?php echo $id; ?> .section-heading"
  },
  {
    "path": "blocks/blogs/blog-4/view.php",
    "chars": 4169,
    "preview": "<?php\r\n\r\n\t$section_padding  = ( $contents['total_posts'] == 2 ) ? 'uk-margin-xlarge-bottom' : '';\r\n\t// title animation\r\n"
  },
  {
    "path": "blocks/blogs/blog-5/blog-5/config.php",
    "chars": 8525,
    "preview": "<?php\r\n\r\nreturn array(\r\n    'slug' => 'blog-5',\r\n    'groups' => array('blogs'),\r\n    // Fields - $contents available on"
  },
  {
    "path": "blocks/blogs/blog-5/blog-5/style.php",
    "chars": 3350,
    "preview": "#<?php echo $id; ?> {\r\n    background-color: <?php echo $styles['bg_color']; ?>;\r\n}\r\n#<?php echo $id; ?> .main-heading h"
  },
  {
    "path": "blocks/blogs/blog-5/blog-5/view.php",
    "chars": 2822,
    "preview": "<?php\r\n// title animation\r\n$title_animation = ($settings['title_animation']) ? 'uk-scrollspy=\"cls:uk-animation-' . $sett"
  },
  {
    "path": "blocks/blogs/blog-6/config.php",
    "chars": 10387,
    "preview": "<?php\n\nreturn array(\n    'slug'  => 'blog-6',\n    'tag'    => 'new',\n    'groups'    => array('blogs'),\n    'contents'  "
  },
  {
    "path": "blocks/blogs/blog-6/style.php",
    "chars": 4442,
    "preview": "\r\n\r\n#<?php echo $id;?> .section-heading h1{\r\n    <?php echo $settings['section_title_size'] ? 'font-size: ' . $settings["
  },
  {
    "path": "blocks/blogs/blog-6/view.php",
    "chars": 3426,
    "preview": "<?php\r\n// title animation\r\n$title_animation = ($settings['title_animation']) ? 'uk-scrollspy=\"cls:uk-animation-' . $sett"
  },
  {
    "path": "blocks/coming-soon/coming-soon-1/config.php",
    "chars": 8855,
    "preview": "<?php\r\n\r\nreturn array(\r\n\r\n    'slug'     => 'coming-soon-01', // Must be unique and singular\r\n    'groups'   => array('C"
  },
  {
    "path": "blocks/coming-soon/coming-soon-1/style.php",
    "chars": 1668,
    "preview": "#<?php echo $id; ?>{\r\n\t<?php if ( $styles['bg_image'] ) : ?>\r\n\tbackground-image: url(<?php echo $styles['bg_image']; ?>)"
  },
  {
    "path": "blocks/coming-soon/coming-soon-1/view.php",
    "chars": 3766,
    "preview": "<?php\r\n\t// Title Animation\r\n\t$title_animation = ( $settings['title_animation'] ) ? 'uk-scrollspy=\"cls:uk-animation-' . $"
  },
  {
    "path": "blocks/coming-soon/coming-soon-2/config.php",
    "chars": 6928,
    "preview": "<?php\r\n\r\nreturn array(\r\n\r\n    'slug'     => 'coming-soon-02', // Must be unique and singular\r\n    'groups'   => array('C"
  },
  {
    "path": "blocks/coming-soon/coming-soon-2/style.php",
    "chars": 901,
    "preview": "#<?php echo $id; ?>{\r\n\t<?php if ( $styles['bg_image'] ) : ?>\r\n\tbackground-image: url(<?php echo $styles['bg_image']; ?>)"
  },
  {
    "path": "blocks/coming-soon/coming-soon-2/view.php",
    "chars": 1795,
    "preview": "<?php\r\n\t// Title Animation\r\n\t$title_animation = ( $settings['title_animation'] ) ? 'uk-scrollspy=\"cls:uk-animation-' . $"
  },
  {
    "path": "blocks/contacts/contact-1/config.php",
    "chars": 5415,
    "preview": "<?php\r\n\r\nreturn array(\r\n\r\n\t'slug'      => 'contact-1', // Must be unique and singular\r\n\t'groups'    => array('contact'),"
  },
  {
    "path": "blocks/contacts/contact-1/style.css",
    "chars": 626,
    "preview": ".contact-1{ padding-top: 80px; padding-bottom: 80px; }\r\n.contact-1 .uk-card .uk-card-header{\r\n\tpadding: 10px 0;\r\n}\r\n\r\n.c"
  },
  {
    "path": "blocks/contacts/contact-1/style.php",
    "chars": 1513,
    "preview": "#<?php echo $id; ?>{\r\n\t<?php if ( $styles['bg_image'] ) : ?>\r\n\t\tbackground-image: url(<?php echo $styles['bg_image']; ?>"
  },
  {
    "path": "blocks/contacts/contact-1/view.php",
    "chars": 4511,
    "preview": "<?php\r\n\r\n\t// info animation\r\n\t$info_animation = ( $settings['info_animation'] ) ? 'uk-scrollspy=\"cls:uk-animation-' . $s"
  },
  {
    "path": "blocks/contacts/contact-2/config.php",
    "chars": 9500,
    "preview": "<?php\r\n\r\nreturn array(\r\n\r\n    'slug'     => 'contact-2', // Must be unique and singular\r\n    'groups'   => array('contac"
  },
  {
    "path": "blocks/contacts/contact-2/style.php",
    "chars": 3099,
    "preview": "#<?php echo $id; ?> {\r\n\tbackground-color:<?php echo $styles['bg_color'];?>\r\n}\r\n#<?php echo $id;?> h1, #<?php echo $id;?>"
  },
  {
    "path": "blocks/contacts/contact-2/view.php",
    "chars": 2307,
    "preview": "<?php\r\n\r\n\t// Button Animation\r\n\t$form_animation = ($settings['form_animation']) ? 'uk-scrollspy=\"cls:uk-animation-'.$set"
  },
  {
    "path": "blocks/contacts/contact-3/config.php",
    "chars": 9366,
    "preview": "<?php\r\n\r\nreturn array(\r\n\r\n    'slug'     => 'contact-3', // Must be unique and singular\r\n    'groups'   => array('contac"
  },
  {
    "path": "blocks/contacts/contact-3/style.php",
    "chars": 3154,
    "preview": "#<?php echo $id; ?> {\r\n\tbackground-color:<?php echo $styles['bg_color'];?>\r\n}\r\n#<?php echo $id;?> h1, #<?php echo $id;?>"
  },
  {
    "path": "blocks/contacts/contact-3/view.php",
    "chars": 2472,
    "preview": "<?php\r\n\r\n\t// Button Animation\r\n\t$form_animation = ($settings['form_animation']) ? 'uk-scrollspy=\"cls:uk-animation-'.$set"
  },
  {
    "path": "blocks/contacts/contact-4/config.php",
    "chars": 9297,
    "preview": "<?php\r\n\r\nreturn array(\r\n    'slug' => 'contact-4',\r\n    'groups' => array('contact'),\r\n    'contents' => array(\r\n       "
  },
  {
    "path": "blocks/contacts/contact-4/style.php",
    "chars": 4227,
    "preview": "#<?php echo $id ?> {\r\n    background-color: <?php echo $styles['bg_color']; ?>;\r\n}\r\n#<?php echo $id ?> h1.contact4-headi"
  },
  {
    "path": "blocks/contacts/contact-4/view.php",
    "chars": 2813,
    "preview": "<?php\r\n\r\n// items Animation\r\n$animation_content = ($settings['animation_content']) ? 'uk-scrollspy=\"cls:uk-animation-' ."
  },
  {
    "path": "blocks/cta/cta-1/config.php",
    "chars": 5388,
    "preview": "<?php\r\n\r\nreturn array(\r\n\r\n\t'slug'      => 'cta-1', // Must be unique and singular\r\n\t'groups'    => array('Call To Action"
  },
  {
    "path": "blocks/cta/cta-1/style.php",
    "chars": 1102,
    "preview": "#<?php echo $id; ?>{\r\n\tbackground-color : <?php echo $styles['bg_color']; ?>;\r\n}\r\n#<?php echo $id; ?> .uk-heading-primar"
  },
  {
    "path": "blocks/cta/cta-1/view.php",
    "chars": 1542,
    "preview": "<?php\r\n\t// Content Animation\r\n\t$content_animation = ( $settings['content_animation'] ) ? 'uk-scrollspy=\"cls:uk-animation"
  },
  {
    "path": "blocks/cta/cta-2/config.php",
    "chars": 4969,
    "preview": "<?php\r\n\r\nreturn array(\r\n\r\n\t'slug'      => 'cta-2', // Must be unique and singular\r\n\t'groups'    => array('Call To Action"
  },
  {
    "path": "blocks/cta/cta-2/style.php",
    "chars": 1118,
    "preview": "#<?php echo $id; ?> .uk-heading-primary{\r\n\tfont-size : <?php echo $settings['title_size']; ?>px;\r\n\tcolor : <?php echo $s"
  },
  {
    "path": "blocks/cta/cta-2/view.php",
    "chars": 2206,
    "preview": "<?php\r\n\t// Content Animation\r\n\t$content_animation = ( $settings['content_animation'] ) ? 'uk-scrollspy=\"cls:uk-animation"
  },
  {
    "path": "blocks/cta/cta-3/config.php",
    "chars": 6309,
    "preview": "<?php\r\n\r\nreturn array(\r\n\r\n\t'slug'      => 'cta-3', // Must be unique and singular\r\n\t'groups'    => array('Call To Action"
  },
  {
    "path": "blocks/cta/cta-3/style.php",
    "chars": 1795,
    "preview": "#<?php echo $id; ?> .uk-heading-primary{\r\n\tfont-size : <?php echo $settings['title_size']; ?>px;\r\n\tcolor : <?php echo $s"
  },
  {
    "path": "blocks/cta/cta-3/view.php",
    "chars": 2812,
    "preview": "<?php\r\n\t// Content Animation\r\n\t$content_animation = ( $settings['content_animation'] ) ? 'uk-scrollspy=\"cls:uk-animation"
  },
  {
    "path": "blocks/cta/cta-4/config.php",
    "chars": 5485,
    "preview": "<?php\r\n\r\nreturn array(\r\n\r\n\t'slug'      => 'cta-4', // Must be unique and singular\r\n\t'groups'    => array('Call To Action"
  },
  {
    "path": "blocks/cta/cta-4/style.php",
    "chars": 1685,
    "preview": "#<?php echo $id; ?> .uk-heading-primary{\r\n\tfont-size : <?php echo $settings['title_size']; ?>px;\r\n\tcolor : <?php echo $s"
  },
  {
    "path": "blocks/cta/cta-4/view.php",
    "chars": 2283,
    "preview": "<?php\r\n\t// Content Animation\r\n\t$content_animation = ( $settings['content_animation'] ) ? 'uk-scrollspy=\"cls:uk-animation"
  },
  {
    "path": "blocks/features/feature-1/config.php",
    "chars": 5725,
    "preview": "<?php\r\n\r\nreturn array(\r\n\r\n\t'slug'      => 'feature-1', // Must be unique and singular\r\n\t'groups'    => array('features')"
  },
  {
    "path": "blocks/features/feature-1/style.php",
    "chars": 1151,
    "preview": "#<?php echo $id; ?>{\r\n\t<?php if ( $styles['bg_image'] ) : ?>\r\n\t\tbackground-image: url(<?php echo $styles['bg_image']; ?>"
  },
  {
    "path": "blocks/features/feature-1/view.php",
    "chars": 2325,
    "preview": "<?php\r\n\t$media_grid = 'uk-' . $settings['media_grid'] . '@m';\r\n\t// Animation\r\n\t$animation_media = ( $settings['animation"
  },
  {
    "path": "blocks/features/feature-10/config.php",
    "chars": 12891,
    "preview": "<?php\r\n\r\nreturn array(\r\n    'slug' => 'features-10',\r\n    'groups' => array('features'),\r\n    'contents' => array(\r\n    "
  },
  {
    "path": "blocks/features/feature-10/style.php",
    "chars": 4745,
    "preview": "#<?php echo $id; ?> {\r\n    background-color: <?php echo $styles['bg_color']; ?>\r\n}\r\n#<?php echo $id; ?> h1.uk-heading-pr"
  },
  {
    "path": "blocks/features/feature-10/view.php",
    "chars": 3160,
    "preview": "<?php\r\n// Content Animation\r\n$content_animation = ($settings['animation_content']) ? 'uk-scrollspy=\"cls:uk-animation-' ."
  },
  {
    "path": "blocks/features/feature-11/config.php",
    "chars": 11154,
    "preview": "<?php\r\n\r\nreturn array(\r\n    'slug' => 'features-11',\r\n    'groups' => array('features'),\r\n    'contents' => array(\r\n    "
  },
  {
    "path": "blocks/features/feature-11/style.php",
    "chars": 3985,
    "preview": "\r\n#<?php echo $id; ?>{\r\n    background-color:<?php echo $styles['bg_color']; ?>;\r\n}\r\n#<?php echo $id; ?> h1.tx-section-h"
  },
  {
    "path": "blocks/features/feature-11/view.php",
    "chars": 3224,
    "preview": "<?php\r\n// Content Animation\r\n$content_animation = ($settings['animation_content']) ? 'uk-scrollspy=\"cls:uk-animation-' ."
  },
  {
    "path": "blocks/features/feature-12/config.php",
    "chars": 5158,
    "preview": "<?php\r\n\r\nreturn array(\r\n    'slug' => 'features-12',\r\n    'groups' => array('features'),\r\n    'contents' => array(\r\n    "
  },
  {
    "path": "blocks/features/feature-12/style.php",
    "chars": 2619,
    "preview": "#<?php echo $id; ?> {\r\n    background-color: <?php echo $styles['bg_color']; ?>\r\n}\r\n#<?php echo $id; ?> h1.uk-heading-pr"
  },
  {
    "path": "blocks/features/feature-12/view.php",
    "chars": 1028,
    "preview": "<?php\r\n$animation_content = ($settings['animation_content']) ? 'uk-scrollspy=\"cls:uk-animation-' . $settings['animation_"
  },
  {
    "path": "blocks/features/feature-13/config.php",
    "chars": 10458,
    "preview": "<?php\r\n\r\nreturn array(\r\n    'slug' => 'feature-13',\r\n    'groups' => array('features'),\r\n    'contents' => array(\r\n     "
  },
  {
    "path": "blocks/features/feature-13/style.php",
    "chars": 3648,
    "preview": "#<?php echo $id; ?> {\r\n    background-color: <?php echo $styles['bg_color']; ?>;\r\n}\r\n#<?php echo $id; ?> .section-headin"
  },
  {
    "path": "blocks/features/feature-13/view.php",
    "chars": 1955,
    "preview": "<?php\r\n// Content Animation\r\n$content_animation = ($settings['content_animation']) ? 'uk-scrollspy=\"cls:uk-animation-' ."
  },
  {
    "path": "blocks/features/feature-14/config.php",
    "chars": 7157,
    "preview": "<?php\n\nreturn array(\n    'slug'      => 'feature-14',\n    'groups'    => array('features'),\n    'tag'    => 'new',\n    '"
  },
  {
    "path": "blocks/features/feature-14/style.php",
    "chars": 3298,
    "preview": "#<?php echo $id;?> {\r\n    background-color: <?php echo $styles['section_bg'];?>;\r\n}\r\n\r\n#<?php echo $id;?> .content-wrapp"
  },
  {
    "path": "blocks/features/feature-14/view.php",
    "chars": 1551,
    "preview": "<?php \r\n\r\n$content_animation = ($settings['content_animation']) ? 'uk-scrollspy=\"cls:uk-animation-' . $settings['content"
  },
  {
    "path": "blocks/features/feature-15/config.php",
    "chars": 8930,
    "preview": "<?php\nreturn array(\n    'slug'      => 'feature-15',\n    'groups'    => array('features'),\n    'tag'    => 'new',\n    'c"
  },
  {
    "path": "blocks/features/feature-15/style.php",
    "chars": 2490,
    "preview": "#<?php echo $id;?> {\r\n    background: <?php echo $styles['bg_color'];?>\r\n}\r\n#<?php echo $id;?> .section-heading h1.uk-he"
  },
  {
    "path": "blocks/features/feature-15/view.php",
    "chars": 2218,
    "preview": "<?php \r\n// title animation\r\n$title_animation = ($settings['title_animation']) ? 'uk-scrollspy=\"cls:uk-animation-' . $set"
  },
  {
    "path": "blocks/features/feature-16/config.php",
    "chars": 5806,
    "preview": "<?php\n\nreturn array(\n    'slug'      => 'feature-16',\n    'groups'    => array('features'),\n    'tag'    => 'new',\n    '"
  },
  {
    "path": "blocks/features/feature-16/style.php",
    "chars": 2374,
    "preview": "#<?php echo $id;?> {\r\n    background-color: <?php echo $styles['bg_color'];?>;\r\n}\r\n\r\n#<?php echo $id;?> .subheading{\r\n  "
  },
  {
    "path": "blocks/features/feature-16/view.php",
    "chars": 1833,
    "preview": "\r\n\r\n<section id=\"<?php echo $id;?>\" class=\"fp-section features feature-16\">\r\n    <div class=\"uk-container-cover uk-margi"
  },
  {
    "path": "blocks/features/feature-17/config.php",
    "chars": 7050,
    "preview": "<?php\n\nreturn array(\n    'slug'      => 'feature-17',\n    'groups'    => array('features'),\n    'tag'    => 'new',\n    '"
  },
  {
    "path": "blocks/features/feature-17/style.php",
    "chars": 3599,
    "preview": "#<?php echo $id;?> {\r\n    background-color: <?php echo $styles['bg_color']; ?>;\r\n}\r\n\r\n#<?php echo $id;?> .tg-form {\r\n   "
  },
  {
    "path": "blocks/features/feature-17/view.php",
    "chars": 2502,
    "preview": "<?php\r\n    $animation_content = ($settings['animation_content']) ? 'uk-scrollspy=\"cls:uk-animation-' . $settings['animat"
  },
  {
    "path": "blocks/features/feature-18/config.php",
    "chars": 13183,
    "preview": "<?php\n\nreturn array(\n    'slug'  => 'feature-18',\n    'groups'    => array('features'),\n    'tag'    => 'new',\n    'cont"
  },
  {
    "path": "blocks/features/feature-18/style.php",
    "chars": 4709,
    "preview": "#<?php echo $id;?> {\r\n    background: <?php echo $styles['bg_color'];?>\r\n}\r\n#<?php echo $id;?> .section-heading h1.uk-he"
  },
  {
    "path": "blocks/features/feature-18/view.php",
    "chars": 3575,
    "preview": "<?php\r\n// title animation\r\n$title_animation = ($settings['title_animation']) ? 'uk-scrollspy=\"cls:uk-animation-' . $sett"
  },
  {
    "path": "blocks/features/feature-19/config.php",
    "chars": 11461,
    "preview": "<?php \n\n    return array(\n        'slug'      => 'feature-19',\n        'tag'      => 'new',\n        'groups'    => array"
  },
  {
    "path": "blocks/features/feature-19/style.php",
    "chars": 1993,
    "preview": "#<?php echo $id;?> {\r\n    background-color: <?php echo $styles['bg_color'];?>\r\n}\r\n\r\n#<?php echo $id;?> .uk-heading-prima"
  },
  {
    "path": "blocks/features/feature-19/view.php",
    "chars": 2595,
    "preview": "<?php\r\n    $animation_content = ($settings['animation_content']) ? 'uk-scrollspy=\"cls:uk-animation-' . $settings['animat"
  },
  {
    "path": "blocks/features/feature-2/config.php",
    "chars": 7219,
    "preview": "<?php\r\n\r\nreturn array(\r\n\t'slug'    => 'feature-2',\r\n\t'groups'    => array('features'),\r\n\r\n\t'contents' => array(\r\n\t\tarray"
  },
  {
    "path": "blocks/features/feature-2/style.php",
    "chars": 1283,
    "preview": "#<?php echo $id; ?>{\r\n<?php if ( $styles['bg_image'] ) : ?>\r\n\tbackground-image:url(<?php echo $styles['bg_image']; ?>);\r"
  },
  {
    "path": "blocks/features/feature-2/view.php",
    "chars": 2930,
    "preview": "<?php\r\n\t// title alignment\r\n\t$title_alignment = ( $settings['title_alignment'] ) ? $settings['title_alignment'] : '';\r\n\t"
  },
  {
    "path": "blocks/features/feature-20/config.php",
    "chars": 7584,
    "preview": "<?php \n\n    return array(\n        'slug'      => 'feature-20',\n        'tag'      => 'new',\n        'groups'    => array"
  },
  {
    "path": "blocks/features/feature-20/style.php",
    "chars": 1109,
    "preview": "#<?php echo $id;?> {\r\n    background-color: <?php echo $settings['section_bg'];?>;\r\n}\r\n\r\n#<?php echo $id;?> .heading-tag"
  },
  {
    "path": "blocks/features/feature-20/view.php",
    "chars": 1747,
    "preview": "<?php\r\n    $animation_content = ($settings['animation_content']) ? 'uk-scrollspy=\"cls:uk-animation-' . $settings['animat"
  },
  {
    "path": "blocks/features/feature-21/config.php",
    "chars": 9517,
    "preview": "<?php \n\nreturn array(\n    'slug'      => 'feature-21',\n    'tag'      => 'new',\n    'groups'    => array('features'),\n  "
  },
  {
    "path": "blocks/features/feature-21/style.php",
    "chars": 2265,
    "preview": "#<?php echo $id;?> {\r\n    background: <?php echo $styles['section_bg'];?>;\r\n}\r\n\r\n#<?php echo $id;?> .content-wrapper h4{"
  },
  {
    "path": "blocks/features/feature-21/view.php",
    "chars": 3136,
    "preview": "<?php\r\n    // Content Animation\r\n    $animation_content = ($settings['animation_content']) ? 'uk-scrollspy=\"cls:uk-anima"
  },
  {
    "path": "blocks/features/feature-22/config.php",
    "chars": 9293,
    "preview": "<?php \n\n    return array(\n        'slug'      => 'feature-22',\n        'tag'      => 'new',\n        'groups'    => array"
  },
  {
    "path": "blocks/features/feature-22/style.php",
    "chars": 2458,
    "preview": "#<?php echo $id;?> {\r\n    background: <?php echo $styles['bg_color'];?>;\r\n}\r\n#<?php echo $id;?> .section-heading .uk-hea"
  },
  {
    "path": "blocks/features/feature-22/view.php",
    "chars": 2000,
    "preview": "<?php\r\n    // Animation Content\r\n    $animation_content = ($settings['animation_content']) ? 'uk-scrollspy=\"cls:uk-anima"
  },
  {
    "path": "blocks/features/feature-23/config.php",
    "chars": 9492,
    "preview": "<?php\n\nreturn array(\n    'slug'      => 'feature-23',\n    'tag'      => 'new',\n    'groups'    => array('features'),\n   "
  },
  {
    "path": "blocks/features/feature-23/style.php",
    "chars": 2828,
    "preview": "#<?php echo $id?> {\r\n    background: <?php echo $styles['section_bg'];?>;\r\n}\r\n\r\n\r\n#<?php echo $id?> .section-bg-text {\r\n"
  },
  {
    "path": "blocks/features/feature-23/view.php",
    "chars": 2367,
    "preview": "<?php\r\n    // Animation Content\r\n    $animation_content = ($settings['animation_content']) ? 'uk-scrollspy=\"cls:uk-anima"
  },
  {
    "path": "blocks/features/feature-24/config.php",
    "chars": 12032,
    "preview": "<?php\n\nreturn array(\n    'slug'      => 'feature-24',\n    'tag'      => 'new',\n    'groups'    => array('features'),\n   "
  },
  {
    "path": "blocks/features/feature-24/style.php",
    "chars": 3107,
    "preview": "#<?php echo $id;?> {\r\n    background: <?php echo $styles['section_bg']?>;\r\n    background: no-repeat;\r\n}\r\n\r\n\r\n#<?php ech"
  },
  {
    "path": "blocks/features/feature-24/view.php",
    "chars": 3558,
    "preview": "<?php\r\n    // Animation Content\r\n    $animation_content = ($settings['animation_content']) ? 'uk-scrollspy=\"cls:uk-anima"
  },
  {
    "path": "blocks/features/feature-25/config.php",
    "chars": 10081,
    "preview": "<?php\n\nreturn array(\n    'slug'      => 'feature-25',\n    'tag'      => 'new',\n    'groups'    => array('features'),\n   "
  },
  {
    "path": "blocks/features/feature-25/style.php",
    "chars": 2768,
    "preview": "#<?php echo $id;?> {\r\n    background: <?php echo $styles['section_bg'];?>;\r\n}\r\n\r\n#<?php echo $id;?> .author-name a{\r\n   "
  },
  {
    "path": "blocks/features/feature-25/view.php",
    "chars": 2942,
    "preview": "<?php\r\n    // Animation Content\r\n    $animation_content = ($settings['animation_content']) ? 'uk-scrollspy=\"cls:uk-anima"
  },
  {
    "path": "blocks/features/feature-3/config.php",
    "chars": 7932,
    "preview": "<?php\r\n\r\nreturn array(\r\n\t'slug'    => 'feature-3',\r\n\t'groups'    => array('features'),\r\n\r\n\t'contents' => array(\r\n\t\tarray"
  },
  {
    "path": "blocks/features/feature-3/style.php",
    "chars": 1395,
    "preview": "#<?php echo $id; ?>{\r\n<?php if ( $styles['bg_image'] ) : ?>\r\n\tbackground-image:url(<?php echo $styles['bg_image']; ?>);\r"
  },
  {
    "path": "blocks/features/feature-3/view.php",
    "chars": 3377,
    "preview": "<?php\r\n\t// media grid\r\n\t$media_grid = 'uk-' . $settings['media_grid'] . '@m';\r\n\t// Animation Media\r\n\t$animation_media = "
  },
  {
    "path": "blocks/features/feature-4/config.php",
    "chars": 7186,
    "preview": "<?php\r\n\r\nreturn array(\r\n\t'slug'    => 'feature-4',\r\n\t'groups'    => array('features'),\r\n\r\n\t'contents' => array(\r\n\t\tarray"
  },
  {
    "path": "blocks/features/feature-4/style.php",
    "chars": 1286,
    "preview": "#<?php echo $id; ?>{\r\n\tbackground-color : <?php echo $styles['bg_color']; ?>;\r\n}\r\n\r\n#<?php echo $id; ?> .section-heading"
  },
  {
    "path": "blocks/features/feature-4/view.php",
    "chars": 3281,
    "preview": "<?php\r\n\t// $items = $settings['columns'];\r\n\t// title alignment\r\n\t$title_alignment = ( $settings['title_alignment'] ) ? $"
  },
  {
    "path": "blocks/features/feature-5/config.php",
    "chars": 9321,
    "preview": "<?php\r\n\r\nreturn array(\r\n    'slug'     => 'features-5',\r\n    'groups'   => array('features'),\r\n\r\n    'contents' => array"
  },
  {
    "path": "blocks/features/feature-5/style.php",
    "chars": 2467,
    "preview": "#<?php echo $id;?>{\r\n\tbackground-color : <?php echo $styles['bg_color']?>;\r\n}\r\n\r\n#<?php echo $id;?> h1, #<?php echo $id;"
  },
  {
    "path": "blocks/features/feature-5/view.php",
    "chars": 3000,
    "preview": "<?php\r\n\t// title animation\r\n\t$title_animation = ( $settings['title_animation'] ) ? 'uk-scrollspy=\"cls:uk-animation-' . $"
  },
  {
    "path": "blocks/features/feature-6/config.php",
    "chars": 10335,
    "preview": "<?php\r\n\r\nreturn array(\r\n    'slug'     => 'features-6',\r\n    'groups'   => array('features'),\r\n\r\n    'contents' => array"
  },
  {
    "path": "blocks/features/feature-6/style.php",
    "chars": 2467,
    "preview": "#<?php echo $id;?>{\r\n\tbackground-color : <?php echo $styles['bg_color']?>;\r\n}\r\n\r\n#<?php echo $id;?> h1, #<?php echo $id;"
  },
  {
    "path": "blocks/features/feature-6/view.php",
    "chars": 2948,
    "preview": "<?php\r\n\t// title animation\r\n\t$title_animation = ( $settings['title_animation'] ) ? 'uk-scrollspy=\"cls:uk-animation-' . $"
  },
  {
    "path": "blocks/features/feature-7/config.php",
    "chars": 10004,
    "preview": "<?php\r\n\r\nreturn array(\r\n    'slug'     => 'features-7',\r\n    'groups'   => array('features'),\r\n\r\n    'contents' => array"
  },
  {
    "path": "blocks/features/feature-7/style.php",
    "chars": 2473,
    "preview": "#<?php echo $id;?>{\r\n\tbackground-color : <?php echo $styles['bg_color']?>;\r\n}\r\n\r\n#<?php echo $id;?> h1, #<?php echo $id;"
  },
  {
    "path": "blocks/features/feature-7/view.php",
    "chars": 2803,
    "preview": "<?php\r\n\t// title animation\r\n\t$title_animation = ( $settings['title_animation'] ) ? 'uk-scrollspy=\"cls:uk-animation-' . $"
  },
  {
    "path": "blocks/features/feature-8/config.php",
    "chars": 9650,
    "preview": "<?php\r\n\r\nreturn array(\r\n    'slug' => 'features-8',\r\n    'groups' => array('features'),\r\n\r\n    'contents' => array(\r\n   "
  },
  {
    "path": "blocks/features/feature-8/style.php",
    "chars": 4953,
    "preview": "#<?php echo $id; ?>{\r\n    background-color: <?php echo $styles['bg_color']; ?>;\r\n    <?php echo $styles['bg_size'] ? 'ba"
  },
  {
    "path": "blocks/features/feature-8/view.php",
    "chars": 4548,
    "preview": "<?php\r\n// Animation Repeat\r\n$animation_repeat = '';\r\n// items Animation\r\n$animation_content = ($settings['animation_cont"
  },
  {
    "path": "blocks/features/feature-9/config.php",
    "chars": 9483,
    "preview": "<?php\r\n\r\nreturn array(\r\n    'slug' => 'features-9',\r\n    'groups' => array('features'),\r\n    'contents' => array(\r\n     "
  },
  {
    "path": "blocks/features/feature-9/style.php",
    "chars": 3662,
    "preview": "#<?php echo $id; ?>{\r\n    background-color: <?php echo $styles['bg_color']; ?>;\r\n}\r\n#<?php echo $id; ?> h1.uk-heading-pr"
  },
  {
    "path": "blocks/features/feature-9/view.php",
    "chars": 2663,
    "preview": "<?php\r\n// Content Animation\r\n$content_animation = ($settings['animation_content']) ? 'uk-scrollspy=\"cls:uk-animation-' ."
  },
  {
    "path": "blocks/footers/footer-1/config.php",
    "chars": 2634,
    "preview": "<?php\r\n\r\nreturn array(\r\n\t'slug'      => 'footer-1', // Must be unique\r\n\t'groups'    => array('footers'), // Blocks group"
  },
  {
    "path": "blocks/footers/footer-1/style.css",
    "chars": 81,
    "preview": ".footer-1{ padding:50px 0; }\r\n.footer-1 .nav,\r\n.footer-1 p{ margin: -5px 0 0; }\r\n"
  },
  {
    "path": "blocks/footers/footer-1/style.php",
    "chars": 750,
    "preview": "#<?php echo $id; ?>{\r\n\tbackground : <?php echo $styles['bg_color']; ?>;\r\n\tcolor : <?php echo $styles['text_color']; ?>;\r"
  },
  {
    "path": "blocks/footers/footer-1/view.php",
    "chars": 1479,
    "preview": "<?php\r\n\r\n  // alignment\r\n  $alignment = ( $styles['item_alignment'] ) ? $styles['item_alignment'] : '';\r\n\r\n  // section "
  },
  {
    "path": "blocks/footers/footer-2/footer-2/footer-2/config.php",
    "chars": 6250,
    "preview": "<?php\r\n\r\nreturn array(\r\n    'slug' => 'footer-2',\r\n    'groups' => array('footers'),\r\n    'contents' => array(\r\n        "
  },
  {
    "path": "blocks/footers/footer-2/footer-2/footer-2/style.php",
    "chars": 3908,
    "preview": "#<?php echo $id; ?> {\r\n    background-color: <?php echo $styles['bg_color']; ?>\r\n}\r\n#<?php echo $id; ?> .content-wrapper"
  },
  {
    "path": "blocks/footers/footer-2/footer-2/footer-2/view.php",
    "chars": 1149,
    "preview": "<?php\r\n\r\n$title_animation = ($settings['animation_title']) ? 'uk-scrollspy=\"cls:uk-animation-' . $settings['animation_ti"
  },
  {
    "path": "blocks/footers/footer-3/config.php",
    "chars": 1680,
    "preview": "<?php\n\nreturn array(\n    'slug' => 'footer-3',\n    'tag'    => 'update',\n    'groups' => array('footers'),\n    'contents"
  },
  {
    "path": "blocks/footers/footer-3/style.php",
    "chars": 378,
    "preview": "#<?php echo $id;?> {\r\n    background: <?php echo $styles['bg_color'];?>;\r\n}\r\n\r\n#<?php echo $id;?> p.footer-content{\r\n   "
  },
  {
    "path": "blocks/footers/footer-3/view.php",
    "chars": 468,
    "preview": "\r\n\r\n<footer id=\"<?php echo $id;?>\" class=\"fp-section fp-auto-height footers footer-2\">\r\n    <div class=\"uk-section\">\r\n  "
  },
  {
    "path": "blocks/footers/footer-4/config.php",
    "chars": 3138,
    "preview": "<?php \n\nreturn array(\n    'slug' => 'footer-4',\n    'groups' => array('footers'),\n    'tag'  => 'update',\n    'contents'"
  },
  {
    "path": "blocks/footers/footer-4/style.php",
    "chars": 1477,
    "preview": "#<?php echo $id;?> {\r\n    background: <?php echo $styles['bg_color']?>\r\n}\r\n\r\n#<?php echo $id;?> .tg-list-inline {\r\n    m"
  },
  {
    "path": "blocks/footers/footer-4/view.php",
    "chars": 1802,
    "preview": "\r\n\r\n\r\n<footer id=\"<?php echo $id;?>\" class=\"fp-section fp-auto-height footers footer-4\">\r\n    <div class=\"uk-section\">\r\n"
  },
  {
    "path": "blocks/maps/map-1/config.php",
    "chars": 4639,
    "preview": "<?php \r\n\r\n    return array(\r\n        \r\n        'slug'          => 'map-1',\r\n        'groups'        => array('maps'),\r\n\r"
  },
  {
    "path": "blocks/maps/map-1/style.php",
    "chars": 713,
    "preview": "\r\n\r\n\r\n#<?php echo $id;?> .contact-heading h2{\r\n    font-size: <?php echo $settings['title_size'] . 'px'?>;\r\n    line-hei"
  },
  {
    "path": "blocks/maps/map-1/view.php",
    "chars": 1382,
    "preview": "<?php\r\n\t\r\n\t// Animation\r\n\t$animation_contact = ( $settings['animation_contact'] ) ? 'uk-scrollspy=\"cls:uk-animation-' . "
  }
]

// ... and 226 more files (download for full content)

About this extraction

This page contains the full source code of the themexpert/onepager GitHub repository, extracted and formatted as plain text for AI agents and large language models (LLMs). The extraction includes 426 files (2.9 MB), approximately 768.6k tokens, and a symbol index with 964 extracted functions, classes, methods, constants, and types. Use this with OpenClaw, Claude, ChatGPT, Cursor, Windsurf, or any other AI tool that accepts text input. You can copy the full output to your clipboard or download it as a .txt file.

Extracted by GitExtract — free GitHub repo to text converter for AI. Built by Nikandr Surkov.

Copied to clipboard!