├── specapp ├── log │ └── .keep ├── tmp │ └── .keep ├── lib │ ├── tasks │ │ └── .keep │ └── assets │ │ └── .keep ├── vendor │ └── .keep ├── public │ ├── favicon.ico │ ├── apple-touch-icon.png │ ├── apple-touch-icon-precomposed.png │ ├── robots.txt │ ├── 500.html │ ├── 422.html │ └── 404.html ├── app │ ├── assets │ │ ├── images │ │ │ └── .keep │ │ ├── javascripts │ │ │ ├── channels │ │ │ │ └── .keep │ │ │ └── application.js │ │ ├── config │ │ │ └── manifest.js │ │ └── stylesheets │ │ │ └── application.css │ ├── models │ │ ├── concerns │ │ │ └── .keep │ │ ├── sample.rb │ │ └── application_record.rb │ ├── controllers │ │ ├── concerns │ │ │ └── .keep │ │ ├── application_controller.rb │ │ └── sample_controller.rb │ ├── views │ │ ├── layouts │ │ │ ├── mailer.text.erb │ │ │ ├── mailer.html.erb │ │ │ └── application.html.erb │ │ └── sample │ │ │ └── sample.html.erb │ ├── helpers │ │ └── application_helper.rb │ ├── jobs │ │ └── application_job.rb │ └── mailers │ │ └── application_mailer.rb ├── .rspec ├── config │ ├── routes.rb │ ├── boot.rb │ ├── spring.rb │ ├── environment.rb │ ├── initializers │ │ ├── mime_types.rb │ │ ├── filter_parameter_logging.rb │ │ ├── application_controller_renderer.rb │ │ ├── cookies_serializer.rb │ │ ├── backtrace_silencers.rb │ │ ├── wrap_parameters.rb │ │ ├── assets.rb │ │ └── inflections.rb │ ├── cable.yml │ ├── database.yml │ ├── locales │ │ └── en.yml │ ├── application.rb │ ├── secrets.yml │ ├── environments │ │ ├── test.rb │ │ ├── development.rb │ │ └── production.rb │ └── puma.rb ├── package.json ├── bin │ ├── bundle │ ├── rake │ ├── rails │ ├── yarn │ ├── spring │ ├── update │ └── setup ├── config.ru ├── db │ ├── migrate │ │ ├── 20170925110636_add_food_to_sample.rb │ │ ├── 20170925110647_add_drink_to_sample.rb │ │ ├── 20170925111702_add_question_to_sample.rb │ │ └── 20170914143254_create_samples.rb │ ├── seeds.rb │ └── schema.rb ├── Rakefile ├── README.md ├── yarn.lock ├── .gitignore ├── Gemfile ├── spec │ ├── features │ │ └── sample_spec.rb │ ├── rails_helper.rb │ └── spec_helper.rb └── Gemfile.lock ├── panel.js ├── content.js ├── .babelrc ├── background.js ├── dist ├── dist.zip ├── icon128.png ├── icon16.png ├── icon48.png ├── devtools.html ├── style │ └── iconfont │ │ ├── MaterialIcons-Regular.eot │ │ ├── MaterialIcons-Regular.ttf │ │ ├── MaterialIcons-Regular.woff │ │ ├── MaterialIcons-Regular.woff2 │ │ ├── material-icons.css │ │ └── MaterialIcons-Regular.ijmap ├── panel.html ├── devtools.js ├── manifest.json ├── background.js ├── devtools.js.map └── background.js.map ├── lib ├── icon128.png ├── icon16.png ├── icon48.png ├── content │ ├── emitter.js │ ├── watcher │ │ ├── events │ │ │ ├── Change.js │ │ │ ├── Click.js │ │ │ ├── index.js │ │ │ ├── SelectText.js │ │ │ └── Base.js │ │ ├── Watcher.js │ │ └── utils │ │ │ ├── xpath.js │ │ │ └── analyze.js │ └── init.js ├── background │ ├── emitter.js │ └── init.js ├── devtools.html ├── panel │ ├── capybarize │ │ ├── index.js │ │ ├── capybarizeVisit.js │ │ ├── formatter.js │ │ ├── createCodeList.js │ │ ├── capybarizeSelectText.js │ │ ├── capybarize.js │ │ ├── selector.js │ │ ├── capybarizeClick.js │ │ └── capybarizeChange.js │ ├── store │ │ ├── index.js │ │ ├── mutation-types.js │ │ ├── plugins │ │ │ └── chromeExtention.js │ │ └── modules │ │ │ └── panel.js │ ├── init.js │ ├── utils │ │ └── copyText.js │ └── components │ │ ├── App.vue │ │ ├── EventGroupControl.vue │ │ ├── EventArea.vue │ │ ├── EventGroup.vue │ │ ├── EventCode.vue │ │ ├── EventItem.vue │ │ └── Control.vue ├── style │ └── iconfont │ │ ├── MaterialIcons-Regular.eot │ │ ├── MaterialIcons-Regular.ttf │ │ ├── MaterialIcons-Regular.woff │ │ ├── MaterialIcons-Regular.woff2 │ │ ├── material-icons.css │ │ └── MaterialIcons-Regular.ijmap ├── panel.html └── manifest.json ├── devtools.js ├── .vscode └── settings.json ├── .eslintrc ├── spec └── sample.html ├── README.md ├── package.json ├── .gitignore └── webpack.config.js /specapp/log/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /specapp/tmp/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /specapp/lib/tasks/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /specapp/vendor/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /specapp/lib/assets/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /specapp/public/favicon.ico: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /specapp/app/assets/images/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /specapp/app/models/concerns/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /specapp/app/controllers/concerns/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /specapp/public/apple-touch-icon.png: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /specapp/.rspec: -------------------------------------------------------------------------------- 1 | --require spec_helper 2 | -------------------------------------------------------------------------------- /specapp/app/assets/javascripts/channels/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /specapp/public/apple-touch-icon-precomposed.png: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /specapp/app/views/layouts/mailer.text.erb: -------------------------------------------------------------------------------- 1 | <%= yield %> 2 | -------------------------------------------------------------------------------- /panel.js: -------------------------------------------------------------------------------- 1 | import init from './lib/panel/init'; 2 | init(); 3 | -------------------------------------------------------------------------------- /content.js: -------------------------------------------------------------------------------- 1 | import init from './lib/content/init'; 2 | init(); 3 | -------------------------------------------------------------------------------- /.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": [ 3 | "env", "stage-2" 4 | ] 5 | } 6 | -------------------------------------------------------------------------------- /background.js: -------------------------------------------------------------------------------- 1 | import init from './lib/background/init'; 2 | init(); 3 | -------------------------------------------------------------------------------- /specapp/app/models/sample.rb: -------------------------------------------------------------------------------- 1 | class Sample < ApplicationRecord 2 | end 3 | -------------------------------------------------------------------------------- /dist/dist.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mugi-uno/nezumi/HEAD/dist/dist.zip -------------------------------------------------------------------------------- /specapp/app/helpers/application_helper.rb: -------------------------------------------------------------------------------- 1 | module ApplicationHelper 2 | end 3 | -------------------------------------------------------------------------------- /dist/icon128.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mugi-uno/nezumi/HEAD/dist/icon128.png -------------------------------------------------------------------------------- /dist/icon16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mugi-uno/nezumi/HEAD/dist/icon16.png -------------------------------------------------------------------------------- /dist/icon48.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mugi-uno/nezumi/HEAD/dist/icon48.png -------------------------------------------------------------------------------- /lib/icon128.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mugi-uno/nezumi/HEAD/lib/icon128.png -------------------------------------------------------------------------------- /lib/icon16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mugi-uno/nezumi/HEAD/lib/icon16.png -------------------------------------------------------------------------------- /lib/icon48.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mugi-uno/nezumi/HEAD/lib/icon48.png -------------------------------------------------------------------------------- /specapp/app/jobs/application_job.rb: -------------------------------------------------------------------------------- 1 | class ApplicationJob < ActiveJob::Base 2 | end 3 | -------------------------------------------------------------------------------- /devtools.js: -------------------------------------------------------------------------------- 1 | chrome.devtools.panels.create( 2 | 'nezumi', 3 | '', 4 | 'panel.html' 5 | ); 6 | -------------------------------------------------------------------------------- /specapp/config/routes.rb: -------------------------------------------------------------------------------- 1 | Rails.application.routes.draw do 2 | get 'sample' => 'sample#sample' 3 | end 4 | -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "search.exclude": { 3 | "**/dist": true, 4 | "**/build": true 5 | } 6 | } -------------------------------------------------------------------------------- /lib/content/emitter.js: -------------------------------------------------------------------------------- 1 | import { EventEmitter } from 'events'; 2 | export const emitter = new EventEmitter(); 3 | -------------------------------------------------------------------------------- /lib/background/emitter.js: -------------------------------------------------------------------------------- 1 | import { EventEmitter } from 'events'; 2 | export const emitter = new EventEmitter(); 3 | -------------------------------------------------------------------------------- /dist/devtools.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /lib/devtools.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /lib/panel/capybarize/index.js: -------------------------------------------------------------------------------- 1 | import { capybarize } from './capybarize'; 2 | 3 | export { 4 | capybarize, 5 | }; 6 | -------------------------------------------------------------------------------- /specapp/public/robots.txt: -------------------------------------------------------------------------------- 1 | # See http://www.robotstxt.org/robotstxt.html for documentation on how to use the robots.txt file 2 | -------------------------------------------------------------------------------- /specapp/app/models/application_record.rb: -------------------------------------------------------------------------------- 1 | class ApplicationRecord < ActiveRecord::Base 2 | self.abstract_class = true 3 | end 4 | -------------------------------------------------------------------------------- /dist/style/iconfont/MaterialIcons-Regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mugi-uno/nezumi/HEAD/dist/style/iconfont/MaterialIcons-Regular.eot -------------------------------------------------------------------------------- /dist/style/iconfont/MaterialIcons-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mugi-uno/nezumi/HEAD/dist/style/iconfont/MaterialIcons-Regular.ttf -------------------------------------------------------------------------------- /dist/style/iconfont/MaterialIcons-Regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mugi-uno/nezumi/HEAD/dist/style/iconfont/MaterialIcons-Regular.woff -------------------------------------------------------------------------------- /lib/style/iconfont/MaterialIcons-Regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mugi-uno/nezumi/HEAD/lib/style/iconfont/MaterialIcons-Regular.eot -------------------------------------------------------------------------------- /lib/style/iconfont/MaterialIcons-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mugi-uno/nezumi/HEAD/lib/style/iconfont/MaterialIcons-Regular.ttf -------------------------------------------------------------------------------- /lib/style/iconfont/MaterialIcons-Regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mugi-uno/nezumi/HEAD/lib/style/iconfont/MaterialIcons-Regular.woff -------------------------------------------------------------------------------- /lib/style/iconfont/MaterialIcons-Regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mugi-uno/nezumi/HEAD/lib/style/iconfont/MaterialIcons-Regular.woff2 -------------------------------------------------------------------------------- /dist/style/iconfont/MaterialIcons-Regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mugi-uno/nezumi/HEAD/dist/style/iconfont/MaterialIcons-Regular.woff2 -------------------------------------------------------------------------------- /specapp/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "specapp", 3 | "private": true, 4 | "dependencies": { 5 | "jquery-xpath": "^0.3.1" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /specapp/app/assets/config/manifest.js: -------------------------------------------------------------------------------- 1 | //= link_tree ../images 2 | //= link_directory ../javascripts .js 3 | //= link_directory ../stylesheets .css 4 | -------------------------------------------------------------------------------- /specapp/app/controllers/application_controller.rb: -------------------------------------------------------------------------------- 1 | class ApplicationController < ActionController::Base 2 | protect_from_forgery with: :exception 3 | end 4 | -------------------------------------------------------------------------------- /lib/panel/capybarize/capybarizeVisit.js: -------------------------------------------------------------------------------- 1 | export const capybarizeVisit = ({ path = '' } = {}) => [{ 2 | kind: 'navi', 3 | code: `visit '${path}'`, 4 | }]; 5 | -------------------------------------------------------------------------------- /specapp/app/controllers/sample_controller.rb: -------------------------------------------------------------------------------- 1 | class SampleController < ApplicationController 2 | def sample 3 | @sample = Sample.new 4 | end 5 | end 6 | -------------------------------------------------------------------------------- /specapp/app/mailers/application_mailer.rb: -------------------------------------------------------------------------------- 1 | class ApplicationMailer < ActionMailer::Base 2 | default from: 'from@example.com' 3 | layout 'mailer' 4 | end 5 | -------------------------------------------------------------------------------- /specapp/bin/bundle: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__) 3 | load Gem.bin_path('bundler', 'bundle') 4 | -------------------------------------------------------------------------------- /specapp/config/boot.rb: -------------------------------------------------------------------------------- 1 | ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../Gemfile', __dir__) 2 | 3 | require 'bundler/setup' # Set up gems listed in the Gemfile. 4 | -------------------------------------------------------------------------------- /specapp/config/spring.rb: -------------------------------------------------------------------------------- 1 | %w( 2 | .ruby-version 3 | .rbenv-vars 4 | tmp/restart.txt 5 | tmp/caching-dev.txt 6 | ).each { |path| Spring.watch(path) } 7 | -------------------------------------------------------------------------------- /specapp/config.ru: -------------------------------------------------------------------------------- 1 | # This file is used by Rack-based servers to start the application. 2 | 3 | require_relative 'config/environment' 4 | 5 | run Rails.application 6 | -------------------------------------------------------------------------------- /lib/content/watcher/events/Change.js: -------------------------------------------------------------------------------- 1 | import Base from './Base'; 2 | 3 | export default class Change extends Base { 4 | eventName() { 5 | return 'change'; 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /lib/content/watcher/events/Click.js: -------------------------------------------------------------------------------- 1 | import Base from './Base'; 2 | 3 | export default class Click extends Base { 4 | eventName() { 5 | return 'click'; 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /specapp/config/environment.rb: -------------------------------------------------------------------------------- 1 | # Load the Rails application. 2 | require_relative 'application' 3 | 4 | # Initialize the Rails application. 5 | Rails.application.initialize! 6 | -------------------------------------------------------------------------------- /specapp/db/migrate/20170925110636_add_food_to_sample.rb: -------------------------------------------------------------------------------- 1 | class AddFoodToSample < ActiveRecord::Migration[5.1] 2 | def change 3 | add_column :samples, :food, :string 4 | end 5 | end 6 | -------------------------------------------------------------------------------- /specapp/db/migrate/20170925110647_add_drink_to_sample.rb: -------------------------------------------------------------------------------- 1 | class AddDrinkToSample < ActiveRecord::Migration[5.1] 2 | def change 3 | add_column :samples, :drink, :string 4 | end 5 | end 6 | -------------------------------------------------------------------------------- /specapp/config/initializers/mime_types.rb: -------------------------------------------------------------------------------- 1 | # Be sure to restart your server when you modify this file. 2 | 3 | # Add new mime types for use in respond_to blocks: 4 | # Mime::Type.register "text/richtext", :rtf 5 | -------------------------------------------------------------------------------- /specapp/config/cable.yml: -------------------------------------------------------------------------------- 1 | development: 2 | adapter: async 3 | 4 | test: 5 | adapter: async 6 | 7 | production: 8 | adapter: redis 9 | url: redis://localhost:6379/1 10 | channel_prefix: specapp_production 11 | -------------------------------------------------------------------------------- /lib/content/watcher/events/index.js: -------------------------------------------------------------------------------- 1 | import Change from './Change'; 2 | import Click from './Click'; 3 | import SelectText from './SelectText'; 4 | 5 | export default { 6 | Change, 7 | Click, 8 | SelectText, 9 | }; 10 | -------------------------------------------------------------------------------- /dist/panel.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | -------------------------------------------------------------------------------- /lib/panel.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | -------------------------------------------------------------------------------- /specapp/Rakefile: -------------------------------------------------------------------------------- 1 | # Add your own tasks in files placed in lib/tasks ending in .rake, 2 | # for example lib/tasks/capistrano.rake, and they will automatically be available to Rake. 3 | 4 | require_relative 'config/application' 5 | 6 | Rails.application.load_tasks 7 | -------------------------------------------------------------------------------- /specapp/config/initializers/filter_parameter_logging.rb: -------------------------------------------------------------------------------- 1 | # Be sure to restart your server when you modify this file. 2 | 3 | # Configure sensitive parameters which will be filtered from the log file. 4 | Rails.application.config.filter_parameters += [:password] 5 | -------------------------------------------------------------------------------- /specapp/bin/rake: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | begin 3 | load File.expand_path('../spring', __FILE__) 4 | rescue LoadError => e 5 | raise unless e.message.include?('spring') 6 | end 7 | require_relative '../config/boot' 8 | require 'rake' 9 | Rake.application.run 10 | -------------------------------------------------------------------------------- /specapp/db/migrate/20170925111702_add_question_to_sample.rb: -------------------------------------------------------------------------------- 1 | class AddQuestionToSample < ActiveRecord::Migration[5.1] 2 | def change 3 | add_column :samples, :q1, :integer 4 | add_column :samples, :q2, :integer 5 | add_column :samples, :q3, :integer 6 | end 7 | end 8 | -------------------------------------------------------------------------------- /specapp/db/migrate/20170914143254_create_samples.rb: -------------------------------------------------------------------------------- 1 | class CreateSamples < ActiveRecord::Migration[5.1] 2 | def change 3 | create_table :samples do |t| 4 | t.string :name 5 | t.string :age 6 | t.string :textarea 7 | 8 | t.timestamps 9 | end 10 | end 11 | end 12 | -------------------------------------------------------------------------------- /specapp/config/initializers/application_controller_renderer.rb: -------------------------------------------------------------------------------- 1 | # Be sure to restart your server when you modify this file. 2 | 3 | # ActiveSupport::Reloader.to_prepare do 4 | # ApplicationController.renderer.defaults.merge!( 5 | # http_host: 'example.org', 6 | # https: false 7 | # ) 8 | # end 9 | -------------------------------------------------------------------------------- /specapp/config/initializers/cookies_serializer.rb: -------------------------------------------------------------------------------- 1 | # Be sure to restart your server when you modify this file. 2 | 3 | # Specify a serializer for the signed and encrypted cookie jars. 4 | # Valid options are :json, :marshal, and :hybrid. 5 | Rails.application.config.action_dispatch.cookies_serializer = :json 6 | -------------------------------------------------------------------------------- /specapp/bin/rails: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | begin 3 | load File.expand_path('../spring', __FILE__) 4 | rescue LoadError => e 5 | raise unless e.message.include?('spring') 6 | end 7 | APP_PATH = File.expand_path('../config/application', __dir__) 8 | require_relative '../config/boot' 9 | require 'rails/commands' 10 | -------------------------------------------------------------------------------- /specapp/app/views/layouts/mailer.html.erb: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 8 | 9 | 10 | 11 | <%= yield %> 12 | 13 | 14 | -------------------------------------------------------------------------------- /specapp/bin/yarn: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | VENDOR_PATH = File.expand_path('..', __dir__) 3 | Dir.chdir(VENDOR_PATH) do 4 | begin 5 | exec "yarnpkg #{ARGV.join(" ")}" 6 | rescue Errno::ENOENT 7 | $stderr.puts "Yarn executable was not detected in the system." 8 | $stderr.puts "Download Yarn at https://yarnpkg.com/en/docs/install" 9 | exit 1 10 | end 11 | end 12 | -------------------------------------------------------------------------------- /.eslintrc: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "semistandard", 3 | "env": { "es6": true }, 4 | "plugins": ["import"], 5 | "globals": { 6 | "chrome": false, 7 | "document": false, 8 | "XPathEvaluator": false, 9 | "XPathResult": false 10 | }, 11 | "rules": { 12 | "comma-dangle": ["error", "always-multiline"], 13 | "space-before-function-paren": ["error", "never"] 14 | } 15 | } -------------------------------------------------------------------------------- /lib/panel/store/index.js: -------------------------------------------------------------------------------- 1 | import Vue from 'vue'; 2 | import Vuex from 'vuex'; 3 | import { chromeMessagingPlugin } from './plugins/chromeExtention'; 4 | 5 | import panel from './modules/panel'; 6 | 7 | Vue.use(Vuex); 8 | 9 | export default new Vuex.Store({ 10 | modules: { 11 | panel, 12 | }, 13 | plugins: [chromeMessagingPlugin(chrome.runtime.connect({name: 'devtool'}))], 14 | }); 15 | -------------------------------------------------------------------------------- /specapp/db/seeds.rb: -------------------------------------------------------------------------------- 1 | # This file should contain all the record creation needed to seed the database with its default values. 2 | # The data can then be loaded with the rails db:seed command (or created alongside the database with db:setup). 3 | # 4 | # Examples: 5 | # 6 | # movies = Movie.create([{ name: 'Star Wars' }, { name: 'Lord of the Rings' }]) 7 | # Character.create(name: 'Luke', movie: movies.first) 8 | -------------------------------------------------------------------------------- /lib/panel/init.js: -------------------------------------------------------------------------------- 1 | import Vue from 'vue'; 2 | import Vuetify from 'vuetify'; 3 | import store from './store'; 4 | import App from './components/App'; 5 | import 'vuetify/dist/vuetify.min.css'; 6 | 7 | Vue.use(Vuetify); 8 | 9 | export default function() { 10 | document.addEventListener('DOMContentLoaded', () => { 11 | new Vue({ el: '#app', store, render: h => h(App) }); // eslint-disable-line 12 | }); 13 | } 14 | -------------------------------------------------------------------------------- /specapp/app/views/layouts/application.html.erb: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Specapp 5 | <%= csrf_meta_tags %> 6 | 7 | <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %> 8 | <%= javascript_include_tag 'application', 'data-turbolinks-track': 'reload' %> 9 | 10 | 11 | 12 | <%= yield %> 13 | 14 | 15 | -------------------------------------------------------------------------------- /lib/panel/utils/copyText.js: -------------------------------------------------------------------------------- 1 | export default function copyText(text) { 2 | if (!text) return false; 3 | 4 | const dummy = document.createElement('textarea'); 5 | dummy.style.cssText = 'position:absolute; top: -100%; left:-100%'; 6 | dummy.value = text; 7 | 8 | document.body.appendChild(dummy); 9 | 10 | dummy.select(); 11 | document.execCommand('copy'); 12 | 13 | document.body.removeChild(dummy); 14 | 15 | return true; 16 | } 17 | -------------------------------------------------------------------------------- /lib/panel/capybarize/formatter.js: -------------------------------------------------------------------------------- 1 | import _ from 'lodash'; 2 | 3 | export const formatTextValue = (value = '') => { 4 | const allLine = value.split(/\r\n|\r|\n/); 5 | 6 | if (allLine.length === 1) { 7 | return `'${allLine[0]}'`; 8 | } 9 | 10 | return `"${_.join(allLine, '\\n')}"`; 11 | }; 12 | 13 | export const escapeForRuby = (text = '') => { 14 | return text.replace(/\\/g, '\\\\').replace(/\n/g, '\\n').replace(/'/g, "\\'"); 15 | }; 16 | -------------------------------------------------------------------------------- /specapp/config/initializers/backtrace_silencers.rb: -------------------------------------------------------------------------------- 1 | # Be sure to restart your server when you modify this file. 2 | 3 | # You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces. 4 | # Rails.backtrace_cleaner.add_silencer { |line| line =~ /my_noisy_library/ } 5 | 6 | # You can also remove all the silencers if you're trying to debug a problem that might stem from framework code. 7 | # Rails.backtrace_cleaner.remove_silencers! 8 | -------------------------------------------------------------------------------- /lib/panel/store/mutation-types.js: -------------------------------------------------------------------------------- 1 | export const PANEL_TOGGLE_WATCHING = 'PANEL_TOGGLE_WATCHING'; 2 | export const PANEL_CLEAR = 'PANEL_CLEAR'; 3 | export const PANEL_TOGGLE_HIDDEN = 'PANEL_TOGGLE_HIDDEN'; 4 | export const PANEL_TOGGLE_EVENT = 'PANEL_TOGGLE_EVENT'; 5 | 6 | export const CONTENT_FIRE = 'CONTENT_FIRE'; 7 | export const CONTENT_PAGE = 'CONTENT_PAGE'; 8 | export const CONTENT_CONNECT = 'CONTENT_CONNECT'; 9 | export const CONTENT_CONNECT_RECEIVE = 'CONTENT_CONNECT_RECEIVE'; 10 | -------------------------------------------------------------------------------- /specapp/README.md: -------------------------------------------------------------------------------- 1 | # README 2 | 3 | This README would normally document whatever steps are necessary to get the 4 | application up and running. 5 | 6 | Things you may want to cover: 7 | 8 | * Ruby version 9 | 10 | * System dependencies 11 | 12 | * Configuration 13 | 14 | * Database creation 15 | 16 | * Database initialization 17 | 18 | * How to run the test suite 19 | 20 | * Services (job queues, cache servers, search engines, etc.) 21 | 22 | * Deployment instructions 23 | 24 | * ... 25 | -------------------------------------------------------------------------------- /specapp/yarn.lock: -------------------------------------------------------------------------------- 1 | # THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. 2 | # yarn lockfile v1 3 | 4 | 5 | jquery-xpath@^0.3.1: 6 | version "0.3.1" 7 | resolved "https://registry.yarnpkg.com/jquery-xpath/-/jquery-xpath-0.3.1.tgz#9c6e62e618d344364bade3bdb494f0c30df85351" 8 | dependencies: 9 | jquery ">=1.0.0" 10 | 11 | jquery@>=1.0.0: 12 | version "3.2.1" 13 | resolved "https://registry.yarnpkg.com/jquery/-/jquery-3.2.1.tgz#5c4d9de652af6cd0a770154a631bba12b015c787" 14 | -------------------------------------------------------------------------------- /spec/sample.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | Document 8 | 9 | 10 |
11 |

input forms

12 |
13 | 14 | 15 | 16 |
17 |
18 | 19 | -------------------------------------------------------------------------------- /dist/devtools.js: -------------------------------------------------------------------------------- 1 | !function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=29)}({29:function(e,t,n){"use strict";chrome.devtools.panels.create("nezumi","","panel.html")}}); -------------------------------------------------------------------------------- /specapp/config/initializers/wrap_parameters.rb: -------------------------------------------------------------------------------- 1 | # Be sure to restart your server when you modify this file. 2 | 3 | # This file contains settings for ActionController::ParamsWrapper which 4 | # is enabled by default. 5 | 6 | # Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array. 7 | ActiveSupport.on_load(:action_controller) do 8 | wrap_parameters format: [:json] 9 | end 10 | 11 | # To enable root element in JSON for ActiveRecord objects. 12 | # ActiveSupport.on_load(:active_record) do 13 | # self.include_root_in_json = true 14 | # end 15 | -------------------------------------------------------------------------------- /specapp/bin/spring: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | 3 | # This file loads spring without using Bundler, in order to be fast. 4 | # It gets overwritten when you run the `spring binstub` command. 5 | 6 | unless defined?(Spring) 7 | require 'rubygems' 8 | require 'bundler' 9 | 10 | lockfile = Bundler::LockfileParser.new(Bundler.default_lockfile.read) 11 | spring = lockfile.specs.detect { |spec| spec.name == "spring" } 12 | if spring 13 | Gem.use_paths Gem.dir, Bundler.bundle_path.to_s, *Gem.path 14 | gem 'spring', spring.version 15 | require 'spring/binstub' 16 | end 17 | end 18 | -------------------------------------------------------------------------------- /lib/content/watcher/events/SelectText.js: -------------------------------------------------------------------------------- 1 | import $ from 'jquery'; 2 | import Base from './Base'; 3 | 4 | export default class SelectText extends Base { 5 | preHandler = (e) => { 6 | const text = window.getSelection().toString(); 7 | return !!text; 8 | } 9 | 10 | analyzeEvent = () => ({ 11 | selectedText: window.getSelection().toString(), 12 | }); 13 | 14 | on() { 15 | $('body').on('mouseup', this.hundler); 16 | } 17 | 18 | off() { 19 | $('body').off('mouseup', this.hundler); 20 | } 21 | 22 | 23 | eventName() { 24 | return 'selectText'; 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # nezumi 2 | 3 | `nezumi` is a Chrome Extention that test code generator for RSpec/Capybara. 4 | 5 | # Install 6 | 7 | https://chrome.google.com/webstore/detail/nezumi/jphlnepdpbnjmjlnbbcfmcnngnaagpmc 8 | 9 | # Usage 10 | 11 | ![image](https://raw.githubusercontent.com/wiki/mugi-uno/nezumi/images/motion.gif) 12 | 13 | # Supported Actions 14 | 15 | - form edit 16 | - text 17 | - textarea 18 | - radio button 19 | - checkbox 20 | - select 21 | - click 22 | - link(anchor) 23 | - button 24 | - and any element 25 | - assertion 26 | - have_content (on text selection) 27 | 28 | # Licence 29 | 30 | MIT -------------------------------------------------------------------------------- /lib/panel/capybarize/createCodeList.js: -------------------------------------------------------------------------------- 1 | const createCodeList = ({ selector = {}, element = {} } = {}, list = []) => ( 2 | list.reduce((result, value) => { 3 | const s = value.kind === 'text' 4 | ? extractTextSelector(element) 5 | : selector[value.kind]; 6 | 7 | if (!s) return result; 8 | 9 | return result.concat([{ 10 | kind: value.kind, 11 | code: value.cb(s), 12 | }]); 13 | }, []) 14 | ); 15 | 16 | const extractTextSelector = (element) => { 17 | const textValue = element.text || {}; 18 | return textValue.unique ? textValue.text : ''; 19 | }; 20 | 21 | export default createCodeList; 22 | -------------------------------------------------------------------------------- /lib/panel/capybarize/capybarizeSelectText.js: -------------------------------------------------------------------------------- 1 | import { escapeForRuby } from './formatter'; 2 | 3 | export const capybarizeSelectText = (data) => { 4 | const originalText = data.selectedText || ''; 5 | const lines = originalText.split('\n'); 6 | 7 | const code = () => { 8 | if (lines.length > 1) { 9 | const text = originalText.replace(/[\n]+/g, ' '); 10 | return `expect(page.text).to include('${escapeForRuby(text)}')`; 11 | } else { 12 | return `expect(page).to have_content('${escapeForRuby(originalText)}')`; 13 | } 14 | }; 15 | 16 | return [{ 17 | kind: 'matcher', 18 | code: code(), 19 | }]; 20 | }; 21 | -------------------------------------------------------------------------------- /specapp/.gitignore: -------------------------------------------------------------------------------- 1 | # See https://help.github.com/articles/ignoring-files for more about ignoring files. 2 | # 3 | # If you find yourself ignoring temporary files generated by your text editor 4 | # or operating system, you probably want to add a global ignore instead: 5 | # git config --global core.excludesfile '~/.gitignore_global' 6 | 7 | # Ignore bundler config. 8 | /.bundle 9 | 10 | # Ignore the default SQLite database. 11 | /db/*.sqlite3 12 | /db/*.sqlite3-journal 13 | 14 | # Ignore all logfiles and tempfiles. 15 | /log/* 16 | /tmp/* 17 | !/log/.keep 18 | !/tmp/.keep 19 | 20 | /node_modules 21 | /yarn-error.log 22 | 23 | .byebug_history 24 | -------------------------------------------------------------------------------- /dist/manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "manifest_version": 2, 3 | "name": "nezumi", 4 | "description": "Test code generator for Capybara/RSpec.", 5 | "version": "1.4.1", 6 | "icons": { 7 | "16": "icon16.png", 8 | "48": "icon48.png", 9 | "128": "icon128.png" 10 | }, 11 | "devtools_page": "devtools.html", 12 | "background": { 13 | "scripts": ["background.js"], 14 | "persistent": false 15 | }, 16 | "content_scripts": [ 17 | { 18 | "matches": ["file://*/*", "http://*/*", "https://*/*"], 19 | "js": ["content.js"], 20 | "run_at": "document_start" 21 | } 22 | ], 23 | "permissions": [ 24 | "tabs" 25 | ] 26 | } 27 | 28 | -------------------------------------------------------------------------------- /lib/manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "manifest_version": 2, 3 | "name": "nezumi", 4 | "description": "Test code generator for Capybara/RSpec.", 5 | "version": "1.4.1", 6 | "icons": { 7 | "16": "icon16.png", 8 | "48": "icon48.png", 9 | "128": "icon128.png" 10 | }, 11 | "devtools_page": "devtools.html", 12 | "background": { 13 | "scripts": ["background.js"], 14 | "persistent": false 15 | }, 16 | "content_scripts": [ 17 | { 18 | "matches": ["file://*/*", "http://*/*", "https://*/*"], 19 | "js": ["content.js"], 20 | "run_at": "document_start" 21 | } 22 | ], 23 | "permissions": [ 24 | "tabs" 25 | ] 26 | } 27 | 28 | -------------------------------------------------------------------------------- /lib/panel/capybarize/capybarize.js: -------------------------------------------------------------------------------- 1 | import { capybarizeClick } from './capybarizeClick'; 2 | import { capybarizeChange } from './capybarizeChange'; 3 | import { capybarizeSelectText } from './capybarizeSelectText'; 4 | import { capybarizeVisit } from './capybarizeVisit'; 5 | 6 | export const capybarize = (data = {}) => { 7 | switch (data.event) { 8 | case 'click': 9 | return capybarizeClick(data); 10 | case 'change': 11 | return capybarizeChange(data); 12 | case 'selectText': 13 | return capybarizeSelectText(data); 14 | case 'visit': 15 | return capybarizeVisit(data); 16 | default: 17 | return null; 18 | } 19 | }; 20 | -------------------------------------------------------------------------------- /specapp/config/initializers/assets.rb: -------------------------------------------------------------------------------- 1 | # Be sure to restart your server when you modify this file. 2 | 3 | # Version of your assets, change this if you want to expire all your assets. 4 | Rails.application.config.assets.version = '1.0' 5 | 6 | # Add additional assets to the asset load path. 7 | # Rails.application.config.assets.paths << Emoji.images_path 8 | # Add Yarn node_modules folder to the asset load path. 9 | Rails.application.config.assets.paths << Rails.root.join('node_modules') 10 | 11 | # Precompile additional assets. 12 | # application.js, application.css, and all non-JS/CSS in the app/assets 13 | # folder are already added. 14 | # Rails.application.config.assets.precompile += %w( admin.js admin.css ) 15 | -------------------------------------------------------------------------------- /specapp/config/database.yml: -------------------------------------------------------------------------------- 1 | # SQLite version 3.x 2 | # gem install sqlite3 3 | # 4 | # Ensure the SQLite 3 gem is defined in your Gemfile 5 | # gem 'sqlite3' 6 | # 7 | default: &default 8 | adapter: sqlite3 9 | pool: <%= ENV.fetch("RAILS_MAX_THREADS") { 5 } %> 10 | timeout: 5000 11 | 12 | development: 13 | <<: *default 14 | database: db/development.sqlite3 15 | 16 | # Warning: The database defined as "test" will be erased and 17 | # re-generated from your development database when you run "rake". 18 | # Do not set this db to the same as development or production. 19 | test: 20 | <<: *default 21 | database: db/test.sqlite3 22 | 23 | production: 24 | <<: *default 25 | database: db/production.sqlite3 26 | -------------------------------------------------------------------------------- /specapp/config/initializers/inflections.rb: -------------------------------------------------------------------------------- 1 | # Be sure to restart your server when you modify this file. 2 | 3 | # Add new inflection rules using the following format. Inflections 4 | # are locale specific, and you may define rules for as many different 5 | # locales as you wish. All of these examples are active by default: 6 | # ActiveSupport::Inflector.inflections(:en) do |inflect| 7 | # inflect.plural /^(ox)$/i, '\1en' 8 | # inflect.singular /^(ox)en/i, '\1' 9 | # inflect.irregular 'person', 'people' 10 | # inflect.uncountable %w( fish sheep ) 11 | # end 12 | 13 | # These inflection rules are supported but not enabled by default: 14 | # ActiveSupport::Inflector.inflections(:en) do |inflect| 15 | # inflect.acronym 'RESTful' 16 | # end 17 | -------------------------------------------------------------------------------- /specapp/app/assets/javascripts/application.js: -------------------------------------------------------------------------------- 1 | // This is a manifest file that'll be compiled into application.js, which will include all the files 2 | // listed below. 3 | // 4 | // Any JavaScript/Coffee file within this directory, lib/assets/javascripts, or any plugin's 5 | // vendor/assets/javascripts directory can be referenced here using a relative path. 6 | // 7 | // It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the 8 | // compiled file. JavaScript code in this file should be added after the last require_* statement. 9 | // 10 | // Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details 11 | // about supported directives. 12 | // 13 | //= require rails-ujs 14 | //= require turbolinks 15 | //= require_tree . 16 | -------------------------------------------------------------------------------- /specapp/app/assets/stylesheets/application.css: -------------------------------------------------------------------------------- 1 | /* 2 | * This is a manifest file that'll be compiled into application.css, which will include all the files 3 | * listed below. 4 | * 5 | * Any CSS and SCSS file within this directory, lib/assets/stylesheets, or any plugin's 6 | * vendor/assets/stylesheets directory can be referenced here using a relative path. 7 | * 8 | * You're free to add application-wide styles to this file and they'll appear at the bottom of the 9 | * compiled file so the styles you add here take precedence over styles defined in any other CSS/SCSS 10 | * files in this directory. Styles in this file should be added after the last require_* statement. 11 | * It is generally better to create a new file per style scope. 12 | * 13 | *= require_tree . 14 | *= require_self 15 | */ 16 | -------------------------------------------------------------------------------- /lib/panel/capybarize/selector.js: -------------------------------------------------------------------------------- 1 | export const toDefault = ({ selector = {}, event = '' } = {}) => { 2 | const { id, klass, xpath } = selector; 3 | 4 | if (id) return { locator: id, kind: 'id' }; 5 | if (klass) return { locator: klass, kind: 'klass' }; 6 | return { locator: xpath, kind: 'xpath' }; 7 | }; 8 | 9 | export const toTextSelector = ({ element = {}, selector = {}, event = '' } = {}) => { 10 | const text = element.text || {}; 11 | 12 | if (text.unique) return { locator: text.text, kind: 'text' }; 13 | 14 | return toDefault({ selector, event }); 15 | }; 16 | 17 | export const toField = ({ selector = {}, event = '' } = {}) => { 18 | const { label } = selector; 19 | 20 | if (label) return { locator: label, kind: 'label' }; 21 | 22 | return toDefault({ selector, event }); 23 | }; 24 | -------------------------------------------------------------------------------- /lib/panel/store/plugins/chromeExtention.js: -------------------------------------------------------------------------------- 1 | import * as types from '../mutation-types'; 2 | 3 | export const chromeMessagingPlugin = (port) => (store) => { 4 | port.onMessage.addListener((msg) => { 5 | // example) 6 | // location: 'content' 7 | // type: 'update' 8 | // commit: 'CONTENT_UPDATE' 9 | store.commit(`${msg.location}_${msg.type}`.toUpperCase(), msg.value); 10 | }); 11 | 12 | store.subscribe((mutation, state) => { 13 | switch (mutation.type || '') { 14 | case types.CONTENT_CONNECT: 15 | port.postMessage(Object.assign({}, mutation, { payload: state.panel.watching })); 16 | break; 17 | case types.PANEL_TOGGLE_WATCHING: 18 | port.postMessage(mutation); 19 | break; 20 | default: 21 | // nothing to do; 22 | } 23 | }); 24 | }; 25 | -------------------------------------------------------------------------------- /lib/content/watcher/events/Base.js: -------------------------------------------------------------------------------- 1 | import $ from 'jquery'; 2 | 3 | import { emitter } from '../../emitter'; 4 | import { analyze } from '../utils/analyze'; 5 | 6 | export default class Base { 7 | preHandler = (e) => true; 8 | 9 | hundler = (e) => { 10 | if (!this.preHandler(e)) return; 11 | 12 | const analyzeResult = this.analyzeEvent(e); 13 | const eventName = this.eventName(); 14 | 15 | emitter.emit('background.send', { 16 | type: 'fire', 17 | value: Object.assign({ event: eventName }, analyzeResult), 18 | }); 19 | } 20 | 21 | analyzeEvent = (e) => analyze(e.originalEvent.target); 22 | 23 | on() { 24 | $(document).on(this.eventName(), this.hundler); 25 | } 26 | 27 | off() { 28 | $(document).off(this.eventName(), this.hundler); 29 | } 30 | 31 | eventName() { 32 | return ''; 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /specapp/Gemfile: -------------------------------------------------------------------------------- 1 | source 'https://rubygems.org' 2 | 3 | git_source(:github) do |repo_name| 4 | repo_name = "#{repo_name}/#{repo_name}" unless repo_name.include?('/') 5 | "https://github.com/#{repo_name}.git" 6 | end 7 | 8 | gem 'puma', '~> 3.7' 9 | gem 'rails', '~> 5.1.4' 10 | gem 'sass-rails', '~> 5.0' 11 | gem 'sqlite3' 12 | gem 'uglifier', '>= 1.3.0' 13 | 14 | gem 'coffee-rails', '~> 4.2' 15 | gem 'jbuilder', '~> 2.5' 16 | gem 'turbolinks', '~> 5' 17 | 18 | group :development, :test do 19 | gem 'byebug', platforms: %i[mri mingw x64_mingw] 20 | gem 'capybara' 21 | gem 'poltergeist' 22 | gem 'rspec-rails' 23 | end 24 | 25 | group :development do 26 | gem 'listen', '>= 3.0.5', '< 3.2' 27 | gem 'spring' 28 | gem 'spring-watcher-listen', '~> 2.0.0' 29 | gem 'web-console', '>= 3.3.0' 30 | end 31 | 32 | gem 'tzinfo-data', platforms: %i[mingw mswin x64_mingw jruby] 33 | -------------------------------------------------------------------------------- /specapp/bin/update: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | require 'pathname' 3 | require 'fileutils' 4 | include FileUtils 5 | 6 | # path to your application root. 7 | APP_ROOT = Pathname.new File.expand_path('../../', __FILE__) 8 | 9 | def system!(*args) 10 | system(*args) || abort("\n== Command #{args} failed ==") 11 | end 12 | 13 | chdir APP_ROOT do 14 | # This script is a way to update your development environment automatically. 15 | # Add necessary update steps to this file. 16 | 17 | puts '== Installing dependencies ==' 18 | system! 'gem install bundler --conservative' 19 | system('bundle check') || system!('bundle install') 20 | 21 | puts "\n== Updating database ==" 22 | system! 'bin/rails db:migrate' 23 | 24 | puts "\n== Removing old logs and tempfiles ==" 25 | system! 'bin/rails log:clear tmp:clear' 26 | 27 | puts "\n== Restarting application server ==" 28 | system! 'bin/rails restart' 29 | end 30 | -------------------------------------------------------------------------------- /lib/panel/components/App.vue: -------------------------------------------------------------------------------- 1 | 11 | 12 | 37 | -------------------------------------------------------------------------------- /specapp/config/locales/en.yml: -------------------------------------------------------------------------------- 1 | # Files in the config/locales directory are used for internationalization 2 | # and are automatically loaded by Rails. If you want to use locales other 3 | # than English, add the necessary files in this directory. 4 | # 5 | # To use the locales, use `I18n.t`: 6 | # 7 | # I18n.t 'hello' 8 | # 9 | # In views, this is aliased to just `t`: 10 | # 11 | # <%= t('hello') %> 12 | # 13 | # To use a different locale, set it with `I18n.locale`: 14 | # 15 | # I18n.locale = :es 16 | # 17 | # This would use the information in config/locales/es.yml. 18 | # 19 | # The following keys must be escaped otherwise they will not be retrieved by 20 | # the default I18n backend: 21 | # 22 | # true, false, on, off, yes, no 23 | # 24 | # Instead, surround them with single quotes. 25 | # 26 | # en: 27 | # 'true': 'foo' 28 | # 29 | # To learn more, please read the Rails Internationalization guide 30 | # available at http://guides.rubyonrails.org/i18n.html. 31 | 32 | en: 33 | hello: "Hello world" 34 | -------------------------------------------------------------------------------- /lib/panel/components/EventGroupControl.vue: -------------------------------------------------------------------------------- 1 | 9 | 10 | 32 | 33 | 47 | -------------------------------------------------------------------------------- /lib/panel/components/EventArea.vue: -------------------------------------------------------------------------------- 1 | 6 | 7 | 24 | 25 | 42 | -------------------------------------------------------------------------------- /lib/content/watcher/Watcher.js: -------------------------------------------------------------------------------- 1 | import _ from 'lodash'; 2 | import events from './events'; 3 | import { emitter } from '../emitter'; 4 | 5 | class Watcher { 6 | constructor() { 7 | this.watching = false; 8 | this.events = _.map(events, EventClass => new EventClass()); 9 | } 10 | 11 | on() { 12 | if (this.watching) return; 13 | this.watching = true; 14 | this.events.forEach(e => e.on()); 15 | 16 | console.log('[🐭nezumi] 👀watching start.'); 17 | 18 | emitter.emit('background.send', { 19 | type: 'fire', 20 | value: { event: 'visit', path: `${window.location.pathname}${window.location.search}` }, 21 | }); 22 | } 23 | 24 | off() { 25 | this.watching = false; 26 | this.events.forEach(e => e.off()); 27 | 28 | console.log('[🐭nezumi] 💤watching stop.'); 29 | } 30 | 31 | toggle(newWatchingValue = !this.watching) { 32 | if (newWatchingValue) { 33 | this.on(); 34 | } else { 35 | this.off(); 36 | } 37 | } 38 | } 39 | 40 | // export singleton watcher 41 | export const watcher = new Watcher(); 42 | -------------------------------------------------------------------------------- /specapp/config/application.rb: -------------------------------------------------------------------------------- 1 | require_relative 'boot' 2 | 3 | require "rails" 4 | # Pick the frameworks you want: 5 | require "active_model/railtie" 6 | require "active_job/railtie" 7 | require "active_record/railtie" 8 | require "action_controller/railtie" 9 | require "action_mailer/railtie" 10 | require "action_view/railtie" 11 | require "action_cable/engine" 12 | require "sprockets/railtie" 13 | # require "rails/test_unit/railtie" 14 | 15 | # Require the gems listed in Gemfile, including any gems 16 | # you've limited to :test, :development, or :production. 17 | Bundler.require(*Rails.groups) 18 | 19 | module Specapp 20 | class Application < Rails::Application 21 | # Initialize configuration defaults for originally generated Rails version. 22 | config.load_defaults 5.1 23 | 24 | # Settings in config/environments/* take precedence over those specified here. 25 | # Application configuration should go into files in config/initializers 26 | # -- all .rb files in that directory are automatically loaded. 27 | 28 | # Don't generate system test files. 29 | config.generators.system_tests = nil 30 | end 31 | end 32 | -------------------------------------------------------------------------------- /lib/style/iconfont/material-icons.css: -------------------------------------------------------------------------------- 1 | @font-face { 2 | font-family: 'Material Icons'; 3 | font-style: normal; 4 | font-weight: 400; 5 | src: url(MaterialIcons-Regular.eot); /* For IE6-8 */ 6 | src: local('Material Icons'), 7 | local('MaterialIcons-Regular'), 8 | url(MaterialIcons-Regular.woff2) format('woff2'), 9 | url(MaterialIcons-Regular.woff) format('woff'), 10 | url(MaterialIcons-Regular.ttf) format('truetype'); 11 | } 12 | 13 | .material-icons { 14 | font-family: 'Material Icons'; 15 | font-weight: normal; 16 | font-style: normal; 17 | font-size: 24px; /* Preferred icon size */ 18 | display: inline-block; 19 | line-height: 1; 20 | text-transform: none; 21 | letter-spacing: normal; 22 | word-wrap: normal; 23 | white-space: nowrap; 24 | direction: ltr; 25 | 26 | /* Support for all WebKit browsers. */ 27 | -webkit-font-smoothing: antialiased; 28 | /* Support for Safari and Chrome. */ 29 | text-rendering: optimizeLegibility; 30 | 31 | /* Support for Firefox. */ 32 | -moz-osx-font-smoothing: grayscale; 33 | 34 | /* Support for IE. */ 35 | font-feature-settings: 'liga'; 36 | } 37 | -------------------------------------------------------------------------------- /dist/style/iconfont/material-icons.css: -------------------------------------------------------------------------------- 1 | @font-face { 2 | font-family: 'Material Icons'; 3 | font-style: normal; 4 | font-weight: 400; 5 | src: url(MaterialIcons-Regular.eot); /* For IE6-8 */ 6 | src: local('Material Icons'), 7 | local('MaterialIcons-Regular'), 8 | url(MaterialIcons-Regular.woff2) format('woff2'), 9 | url(MaterialIcons-Regular.woff) format('woff'), 10 | url(MaterialIcons-Regular.ttf) format('truetype'); 11 | } 12 | 13 | .material-icons { 14 | font-family: 'Material Icons'; 15 | font-weight: normal; 16 | font-style: normal; 17 | font-size: 24px; /* Preferred icon size */ 18 | display: inline-block; 19 | line-height: 1; 20 | text-transform: none; 21 | letter-spacing: normal; 22 | word-wrap: normal; 23 | white-space: nowrap; 24 | direction: ltr; 25 | 26 | /* Support for all WebKit browsers. */ 27 | -webkit-font-smoothing: antialiased; 28 | /* Support for Safari and Chrome. */ 29 | text-rendering: optimizeLegibility; 30 | 31 | /* Support for Firefox. */ 32 | -moz-osx-font-smoothing: grayscale; 33 | 34 | /* Support for IE. */ 35 | font-feature-settings: 'liga'; 36 | } 37 | -------------------------------------------------------------------------------- /specapp/bin/setup: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | require 'pathname' 3 | require 'fileutils' 4 | include FileUtils 5 | 6 | # path to your application root. 7 | APP_ROOT = Pathname.new File.expand_path('../../', __FILE__) 8 | 9 | def system!(*args) 10 | system(*args) || abort("\n== Command #{args} failed ==") 11 | end 12 | 13 | chdir APP_ROOT do 14 | # This script is a starting point to setup your application. 15 | # Add necessary setup steps to this file. 16 | 17 | puts '== Installing dependencies ==' 18 | system! 'gem install bundler --conservative' 19 | system('bundle check') || system!('bundle install') 20 | 21 | # Install JavaScript dependencies if using Yarn 22 | # system('bin/yarn') 23 | 24 | 25 | # puts "\n== Copying sample files ==" 26 | # unless File.exist?('config/database.yml') 27 | # cp 'config/database.yml.sample', 'config/database.yml' 28 | # end 29 | 30 | puts "\n== Preparing database ==" 31 | system! 'bin/rails db:setup' 32 | 33 | puts "\n== Removing old logs and tempfiles ==" 34 | system! 'bin/rails log:clear tmp:clear' 35 | 36 | puts "\n== Restarting application server ==" 37 | system! 'bin/rails restart' 38 | end 39 | -------------------------------------------------------------------------------- /specapp/db/schema.rb: -------------------------------------------------------------------------------- 1 | # This file is auto-generated from the current state of the database. Instead 2 | # of editing this file, please use the migrations feature of Active Record to 3 | # incrementally modify your database, and then regenerate this schema definition. 4 | # 5 | # Note that this schema.rb definition is the authoritative source for your 6 | # database schema. If you need to create the application database on another 7 | # system, you should be using db:schema:load, not running all the migrations 8 | # from scratch. The latter is a flawed and unsustainable approach (the more migrations 9 | # you'll amass, the slower it'll run and the greater likelihood for issues). 10 | # 11 | # It's strongly recommended that you check this file into your version control system. 12 | 13 | ActiveRecord::Schema.define(version: 20170925111702) do 14 | 15 | create_table "samples", force: :cascade do |t| 16 | t.string "name" 17 | t.string "age" 18 | t.string "textarea" 19 | t.datetime "created_at", null: false 20 | t.datetime "updated_at", null: false 21 | t.string "food" 22 | t.string "drink" 23 | t.integer "q1" 24 | t.integer "q2" 25 | t.integer "q3" 26 | end 27 | 28 | end 29 | -------------------------------------------------------------------------------- /lib/panel/capybarize/capybarizeClick.js: -------------------------------------------------------------------------------- 1 | import _ from 'lodash'; 2 | import createCodeList from './createCodeList'; 3 | 4 | export const capybarizeClick = (data) => { 5 | const element = data.element || {}; 6 | const tag = element.tagName || ''; 7 | 8 | switch (tag) { 9 | case 'a': 10 | case 'button': 11 | return codeForClickLinkOrButton(data, tag); 12 | default: 13 | return codeForClick(data, tag); 14 | } 15 | }; 16 | 17 | export const codeForClickLinkOrButton = (data = {}, tag) => { 18 | const method = { 19 | 'a': 'click_link', 20 | 'button': 'click_button', 21 | }[tag]; 22 | 23 | if (!method) return null; 24 | 25 | return createCodeList(data, [ 26 | { kind: 'text', cb: (s) => `${method} '${s}'` }, 27 | { kind: 'id', cb: (s) => `${method} '${s}'` }, 28 | { kind: 'klass', cb: (s) => `find('${s}').click` }, 29 | { kind: 'xpath', cb: (s) => `find(:xpath, '${s}').click` }, 30 | ]); 31 | }; 32 | 33 | export const codeForClick = (data, tag) => { 34 | return createCodeList(data, [ 35 | { kind: 'text', cb: (s) => `find('${tag}', text: /\\A${_.escapeRegExp(s)}\\z/).click` }, 36 | { kind: 'id', cb: (s) => `find_by_id('${s}').click` }, 37 | { kind: 'klass', cb: (s) => `find('${s}').click` }, 38 | { kind: 'xpath', cb: (s) => `find(:xpath, '${s}').click` }, 39 | ]); 40 | }; 41 | -------------------------------------------------------------------------------- /specapp/config/secrets.yml: -------------------------------------------------------------------------------- 1 | # Be sure to restart your server when you modify this file. 2 | 3 | # Your secret key is used for verifying the integrity of signed cookies. 4 | # If you change this key, all old signed cookies will become invalid! 5 | 6 | # Make sure the secret is at least 30 characters and all random, 7 | # no regular words or you'll be exposed to dictionary attacks. 8 | # You can use `rails secret` to generate a secure secret key. 9 | 10 | # Make sure the secrets in this file are kept private 11 | # if you're sharing your code publicly. 12 | 13 | # Shared secrets are available across all environments. 14 | 15 | # shared: 16 | # api_key: a1B2c3D4e5F6 17 | 18 | # Environmental secrets are only available for that specific environment. 19 | 20 | development: 21 | secret_key_base: a76e202447a4b16c74324c7addc16a955023be74fc0e5d3c0dcd21f4f1684418c6ad7c35cf0bc610a429f56bd36aa4dcc9f48644b22929b02bbacdfbb64b41a2 22 | 23 | test: 24 | secret_key_base: 6cb58ea2ad9669378156f373eee952fad4358be71895f18f4ae1dfc2e80a4881243fb747bc87b0f10324951062ffaaefb1f44378228c7dd5efab3129d7d9bb5e 25 | 26 | # Do not keep production secrets in the unencrypted secrets file. 27 | # Instead, either read values from the environment. 28 | # Or, use `bin/rails secrets:setup` to configure encrypted secrets 29 | # and move the `production:` environment over there. 30 | 31 | production: 32 | secret_key_base: <%= ENV["SECRET_KEY_BASE"] %> 33 | -------------------------------------------------------------------------------- /lib/content/watcher/utils/xpath.js: -------------------------------------------------------------------------------- 1 | // https://stackoverflow.com/a/5178132 2 | export function analyze(elm) { 3 | var allNodes = document.getElementsByTagName('*'); 4 | for (var segs = []; elm && elm.nodeType === 1; elm = elm.parentNode) { 5 | if (elm.hasAttribute('id')) { 6 | var uniqueIdCount = 0; 7 | for (var n = 0; n < allNodes.length; n++) { 8 | if (allNodes[n].hasAttribute('id') && allNodes[n].id === elm.id) uniqueIdCount++; 9 | if (uniqueIdCount > 1) break; 10 | } 11 | if (uniqueIdCount === 1) { 12 | segs.unshift('id("' + elm.getAttribute('id') + '")'); 13 | return segs.join('/'); 14 | } else { 15 | segs.unshift(elm.localName.toLowerCase() + '[@id="' + elm.getAttribute('id') + '"]'); 16 | } 17 | } else if (elm.hasAttribute('class')) { 18 | segs.unshift(elm.localName.toLowerCase() + '[@class="' + elm.getAttribute('class') + '"]'); 19 | } else { 20 | let i; 21 | let sib; 22 | for (i = 1, sib = elm.previousSibling; sib; sib = sib.previousSibling) { 23 | if (sib.localName === elm.localName) i++; 24 | } 25 | segs.unshift(elm.localName.toLowerCase() + '[' + i + ']'); 26 | } 27 | } 28 | return segs.length ? '/' + segs.join('/') : null; 29 | } 30 | 31 | export function lookup(path) { 32 | const evaluator = new XPathEvaluator(); 33 | return evaluator.evaluate(path, document.documentElement, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null); 34 | } 35 | -------------------------------------------------------------------------------- /lib/panel/components/EventGroup.vue: -------------------------------------------------------------------------------- 1 | 26 | 27 | 43 | 44 | 64 | 65 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "nezumi", 3 | "version": "1.0.0", 4 | "scripts": { 5 | "watch": "webpack -w --color --progress", 6 | "build": "webpack", 7 | "build:prod": "NODE_ENV='production' webpack", 8 | "build:release": "yarn build:prod && rm -f dist/dist.zip && cd dist && zip -r dist.zip ./*" 9 | }, 10 | "devDependencies": { 11 | "babel-core": "^6.26.0", 12 | "babel-loader": "^7.1.2", 13 | "babel-preset-env": "^1.6.0", 14 | "babel-preset-stage-2": "^6.24.1", 15 | "copy-webpack-plugin": "^4.1.0", 16 | "eslint": "^4.6.1", 17 | "eslint-config-semistandard": "^11.0.0", 18 | "eslint-config-standard": "^10.2.1", 19 | "eslint-plugin-import": "^2.7.0", 20 | "eslint-plugin-node": "^5.1.1", 21 | "eslint-plugin-promise": "^3.5.0", 22 | "eslint-plugin-react": "^7.3.0", 23 | "eslint-plugin-standard": "^3.0.1", 24 | "events": "^1.1.1", 25 | "webpack": "^3.5.6" 26 | }, 27 | "description": "Test code generator for Capybara/RSpec.", 28 | "main": "index.js", 29 | "author": "mugi-uno ", 30 | "license": "MIT", 31 | "dependencies": { 32 | "css-loader": "^0.28.7", 33 | "css-mqpacker": "^6.0.1", 34 | "jquery": "^3.2.1", 35 | "lodash": "^4.17.4", 36 | "postcss-cssnext": "^3.0.2", 37 | "postcss-loader": "^2.0.6", 38 | "pug": "^2.0.0-rc.4", 39 | "style-loader": "^0.18.2", 40 | "uuid": "^3.1.0", 41 | "vue": "^2.4.4", 42 | "vue-loader": "^13.0.5", 43 | "vue-template-compiler": "^2.4.4", 44 | "vuetify": "^0.16.3", 45 | "vuex": "^2.4.0" 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /lib/content/init.js: -------------------------------------------------------------------------------- 1 | import { emitter } from './emitter'; 2 | import { watcher } from './watcher/Watcher'; 3 | import * as devtoolMutationTypes from '../panel/store/mutation-types'; 4 | 5 | const devtoolHandler = (msg) => { 6 | switch (msg.type) { 7 | case devtoolMutationTypes.CONTENT_CONNECT: 8 | case devtoolMutationTypes.PANEL_TOGGLE_WATCHING: 9 | watcher.toggle(msg.payload); 10 | break; 11 | default: 12 | // nothing to do; 13 | } 14 | }; 15 | 16 | const backgroundHandler = (msg) => { 17 | // nothing to do. 18 | }; 19 | 20 | export default function() { 21 | emitter.on('background.receive', (msg) => { 22 | switch (msg.location) { 23 | case 'devtool': 24 | devtoolHandler(msg); 25 | break; 26 | case 'background': 27 | backgroundHandler(msg); 28 | break; 29 | default: 30 | // nothing to do. 31 | } 32 | }); 33 | 34 | document.addEventListener('DOMContentLoaded', () => { 35 | const port = chrome.runtime.connect({name: 'content'}); 36 | 37 | const sendToBackground = (store) => { 38 | console.log('content -> background', store); 39 | port.postMessage(store); 40 | }; 41 | emitter.on('background.send', sendToBackground); 42 | port.onDisconnect.addListener(() => emitter.removeListener('background.send', sendToBackground)); 43 | 44 | port.onMessage.addListener((msg) => { 45 | console.log('background -> content', msg); 46 | emitter.emit('background.receive', msg); 47 | }); 48 | 49 | emitter.emit('background.send', { type: 'connect' }); 50 | }); 51 | } 52 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | ### https://raw.github.com/github/gitignore/0f88fa75def7ed7d96935b8630793e51953df9b0/node.gitignore 2 | 3 | # Logs 4 | logs 5 | *.log 6 | npm-debug.log* 7 | 8 | # Runtime data 9 | pids 10 | *.pid 11 | *.seed 12 | *.pid.lock 13 | 14 | # Directory for instrumented libs generated by jscoverage/JSCover 15 | lib-cov 16 | 17 | # Coverage directory used by tools like istanbul 18 | coverage 19 | 20 | # nyc test coverage 21 | .nyc_output 22 | 23 | # Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files) 24 | .grunt 25 | 26 | # node-waf configuration 27 | .lock-wscript 28 | 29 | # Compiled binary addons (http://nodejs.org/api/addons.html) 30 | build/Release 31 | 32 | # Dependency directories 33 | node_modules 34 | jspm_packages 35 | 36 | # Optional npm cache directory 37 | .npm 38 | 39 | # Optional eslint cache 40 | .eslintcache 41 | 42 | # Optional REPL history 43 | .node_repl_history 44 | 45 | # Output of 'npm pack' 46 | *.tgz 47 | 48 | 49 | ### https://raw.github.com/github/gitignore/0f88fa75def7ed7d96935b8630793e51953df9b0/Global/macos.gitignore 50 | 51 | *.DS_Store 52 | .AppleDouble 53 | .LSOverride 54 | 55 | # Icon must end with two \r 56 | Icon 57 | 58 | 59 | # Thumbnails 60 | ._* 61 | 62 | # Files that might appear in the root of a volume 63 | .DocumentRevisions-V100 64 | .fseventsd 65 | .Spotlight-V100 66 | .TemporaryItems 67 | .Trashes 68 | .VolumeIcon.icns 69 | .com.apple.timemachine.donotpresent 70 | 71 | # Directories potentially created on remote AFP share 72 | .AppleDB 73 | .AppleDesktop 74 | Network Trash Folder 75 | Temporary Items 76 | .apdisk 77 | 78 | build/ 79 | -------------------------------------------------------------------------------- /lib/panel/components/EventCode.vue: -------------------------------------------------------------------------------- 1 | 16 | 17 | 49 | 50 | 86 | -------------------------------------------------------------------------------- /lib/panel/components/EventItem.vue: -------------------------------------------------------------------------------- 1 | 11 | 12 | 33 | 34 | 83 | -------------------------------------------------------------------------------- /lib/background/init.js: -------------------------------------------------------------------------------- 1 | import { emitter } from './emitter'; 2 | 3 | export default function() { 4 | connectToDevtool(); 5 | connectToContent(); 6 | } 7 | 8 | const connectToDevtool = () => { 9 | chrome.runtime.onConnect.addListener((port) => { 10 | if (port.name !== 'devtool') return; 11 | 12 | console.log('background <--> devtool connected.'); 13 | 14 | const sendToDevtool = (store) => { 15 | console.log('background -> devtool', store); 16 | port.postMessage(store); 17 | }; 18 | emitter.on('devtool.send', sendToDevtool); 19 | port.onDisconnect.addListener(() => emitter.removeListener('devtool.send', sendToDevtool)); 20 | 21 | port.onMessage.addListener((msg) => { 22 | console.log('devtool -> background', msg); 23 | emitter.emit('devtool.receive', msg); 24 | }); 25 | 26 | // pass to content 27 | port.onMessage.addListener((msg) => emitter.emit('content.send', Object.assign({ location: 'devtool' }, msg || {}))); 28 | }); 29 | }; 30 | 31 | const connectToContent = () => { 32 | chrome.runtime.onConnect.addListener((port) => { 33 | if (port.name !== 'content') return; 34 | 35 | console.log('background <--> content connected.'); 36 | 37 | const sendToContent = (store) => { 38 | console.log('background -> content', store); 39 | port.postMessage(store); 40 | }; 41 | emitter.on('content.send', sendToContent); 42 | port.onDisconnect.addListener(() => emitter.removeListener('content.send', sendToContent)); 43 | 44 | port.onMessage.addListener((msg) => { 45 | console.log('content -> background', msg); 46 | emitter.emit('content.receive', msg); 47 | }); 48 | 49 | // pass to devtool 50 | port.onMessage.addListener((msg) => emitter.emit('devtool.send', Object.assign({ location: 'content' }, msg || {}))); 51 | }); 52 | }; 53 | -------------------------------------------------------------------------------- /specapp/public/500.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | We're sorry, but something went wrong (500) 5 | 6 | 55 | 56 | 57 | 58 | 59 |
60 |
61 |

We're sorry, but something went wrong.

62 |
63 |

If you are the application owner check the logs for more information.

64 |
65 | 66 | 67 | -------------------------------------------------------------------------------- /specapp/config/environments/test.rb: -------------------------------------------------------------------------------- 1 | Rails.application.configure do 2 | # Settings specified here will take precedence over those in config/application.rb. 3 | 4 | # The test environment is used exclusively to run your application's 5 | # test suite. You never need to work with it otherwise. Remember that 6 | # your test database is "scratch space" for the test suite and is wiped 7 | # and recreated between test runs. Don't rely on the data there! 8 | config.cache_classes = true 9 | 10 | # Do not eager load code on boot. This avoids loading your whole application 11 | # just for the purpose of running a single test. If you are using a tool that 12 | # preloads Rails for running tests, you may have to set it to true. 13 | config.eager_load = false 14 | 15 | # Configure public file server for tests with Cache-Control for performance. 16 | config.public_file_server.enabled = true 17 | config.public_file_server.headers = { 18 | 'Cache-Control' => "public, max-age=#{1.hour.seconds.to_i}" 19 | } 20 | 21 | # Show full error reports and disable caching. 22 | config.consider_all_requests_local = true 23 | config.action_controller.perform_caching = false 24 | 25 | # Raise exceptions instead of rendering exception templates. 26 | config.action_dispatch.show_exceptions = false 27 | 28 | # Disable request forgery protection in test environment. 29 | config.action_controller.allow_forgery_protection = false 30 | config.action_mailer.perform_caching = false 31 | 32 | # Tell Action Mailer not to deliver emails to the real world. 33 | # The :test delivery method accumulates sent emails in the 34 | # ActionMailer::Base.deliveries array. 35 | config.action_mailer.delivery_method = :test 36 | 37 | # Print deprecation notices to the stderr. 38 | config.active_support.deprecation = :stderr 39 | 40 | # Raises error for missing translations 41 | # config.action_view.raise_on_missing_translations = true 42 | end 43 | -------------------------------------------------------------------------------- /specapp/public/422.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | The change you wanted was rejected (422) 5 | 6 | 55 | 56 | 57 | 58 | 59 |
60 |
61 |

The change you wanted was rejected.

62 |

Maybe you tried to change something you didn't have access to.

63 |
64 |

If you are the application owner check the logs for more information.

65 |
66 | 67 | 68 | -------------------------------------------------------------------------------- /specapp/spec/features/sample_spec.rb: -------------------------------------------------------------------------------- 1 | require 'spec_helper' 2 | 3 | RSpec.describe 'Sample' do 4 | describe 'forms' do 5 | before do 6 | visit('/sample') 7 | end 8 | 9 | it 'sample specs' do 10 | fill_in 'Name', with: 'name' 11 | fill_in 'Age', with: 'age' 12 | fill_in 'Textarea', with: 'textarea' 13 | find(:xpath, 'id("new_sample")/div[4]').click 14 | fill_in 'idform', with: 'id' 15 | find('.foo.bar.baz').set('class') 16 | find(:xpath, 'id("new_sample")/div[6]/input[1]').set('xpath') 17 | find('div', text: /\Aradio button with label\z/).click 18 | choose 'Apple' 19 | choose 'Orange' 20 | choose 'Peach' 21 | find(:xpath, 'id("new_sample")/div[8]').click 22 | find(:xpath, 'id("new_sample")/div[8]').click 23 | choose 'radio1' 24 | find('.radio2').set(true) 25 | find(:xpath, 'id("new_sample")/div[8]/input[3]').set(true) 26 | find('div', text: /\Acheckbox with label\z/).click 27 | check 'Question1' 28 | check 'Question2' 29 | check 'Question3' 30 | uncheck 'Question3' 31 | uncheck 'Question2' 32 | uncheck 'Question1' 33 | check 'check1' 34 | find('.check2').set(true) 35 | find(:xpath, 'id("new_sample")/div[10]/input[3]').set(true) 36 | find('div', text: /\Aselectbox by form helper\z/).click 37 | select '紅茶', from: 'Drink' 38 | select '紅茶', from: 'select1' 39 | find('.select2').find(:option, '紅茶').select_option 40 | find(:xpath, 'id("new_sample")/div[12]/select[3]').find(:option, '紅茶').select_option 41 | click_link 'sample button' 42 | click_link 'linkid' 43 | find('.linkclass').click 44 | find(:xpath, 'id("new_sample")/div[13]/a[4]').click 45 | click_button 'sample button' 46 | click_button 'buttonid' 47 | find('.buttonclass').click 48 | find(:xpath, 'id("new_sample")/div[14]/button[4]').click 49 | 50 | find('.btn.btn-large.btn-primary').click 51 | end 52 | end 53 | end 54 | -------------------------------------------------------------------------------- /specapp/public/404.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | The page you were looking for doesn't exist (404) 5 | 6 | 55 | 56 | 57 | 58 | 59 |
60 |
61 |

The page you were looking for doesn't exist.

62 |

You may have mistyped the address or the page may have moved.

63 |
64 |

If you are the application owner check the logs for more information.

65 |
66 | 67 | 68 | -------------------------------------------------------------------------------- /lib/panel/components/Control.vue: -------------------------------------------------------------------------------- 1 | 41 | 42 | 76 | 77 | 93 | -------------------------------------------------------------------------------- /specapp/config/environments/development.rb: -------------------------------------------------------------------------------- 1 | Rails.application.configure do 2 | # Settings specified here will take precedence over those in config/application.rb. 3 | 4 | # In the development environment your application's code is reloaded on 5 | # every request. This slows down response time but is perfect for development 6 | # since you don't have to restart the web server when you make code changes. 7 | config.cache_classes = false 8 | 9 | # Do not eager load code on boot. 10 | config.eager_load = false 11 | 12 | # Show full error reports. 13 | config.consider_all_requests_local = true 14 | 15 | # Enable/disable caching. By default caching is disabled. 16 | if Rails.root.join('tmp/caching-dev.txt').exist? 17 | config.action_controller.perform_caching = true 18 | 19 | config.cache_store = :memory_store 20 | config.public_file_server.headers = { 21 | 'Cache-Control' => "public, max-age=#{2.days.seconds.to_i}" 22 | } 23 | else 24 | config.action_controller.perform_caching = false 25 | 26 | config.cache_store = :null_store 27 | end 28 | 29 | # Don't care if the mailer can't send. 30 | config.action_mailer.raise_delivery_errors = false 31 | 32 | config.action_mailer.perform_caching = false 33 | 34 | # Print deprecation notices to the Rails logger. 35 | config.active_support.deprecation = :log 36 | 37 | # Raise an error on page load if there are pending migrations. 38 | config.active_record.migration_error = :page_load 39 | 40 | # Debug mode disables concatenation and preprocessing of assets. 41 | # This option may cause significant delays in view rendering with a large 42 | # number of complex assets. 43 | config.assets.debug = true 44 | 45 | # Suppress logger output for asset requests. 46 | config.assets.quiet = true 47 | 48 | # Raises error for missing translations 49 | # config.action_view.raise_on_missing_translations = true 50 | 51 | # Use an evented file watcher to asynchronously detect changes in source code, 52 | # routes, locales, etc. This feature depends on the listen gem. 53 | config.file_watcher = ActiveSupport::EventedFileUpdateChecker 54 | end 55 | -------------------------------------------------------------------------------- /webpack.config.js: -------------------------------------------------------------------------------- 1 | const path = require('path'); 2 | const webpack = require('webpack'); 3 | const CopyWebpackPlugin = require('copy-webpack-plugin'); 4 | 5 | const isProduction = process.env.NODE_ENV === 'production'; 6 | const outputDir = path.resolve(__dirname, isProduction ? 'dist' : 'build'); 7 | 8 | module.exports = { 9 | entry: { 10 | 'content': './content.js', 11 | 'background': './background.js', 12 | 'devtools': './devtools.js', 13 | 'panel': './panel.js', 14 | }, 15 | output: { 16 | filename: '[name].js', 17 | path: path.resolve(__dirname, outputDir), 18 | }, 19 | devtool: !isProduction ? 'source-map' : false, 20 | externals: [ 21 | 'chrome', 22 | ], 23 | module: { 24 | rules: [ 25 | { 26 | test: /\.css$/, 27 | use: [ 28 | 'style-loader', 29 | { 30 | loader: 'css-loader', 31 | options: { importLoaders: 1 }, 32 | }, 33 | { 34 | loader: 'postcss-loader', 35 | options: { 36 | plugins: (loader) => [require('postcss-cssnext')()], 37 | }, 38 | }, 39 | ], 40 | }, 41 | { 42 | test: /\.js$/, 43 | exclude: /node_modules/, 44 | loader: 'babel-loader', 45 | }, 46 | { 47 | test: /\.vue$/, 48 | exclude: /node_modules/, 49 | loader: 'vue-loader', 50 | options: { 51 | postcss: [ 52 | require('postcss-cssnext')(), 53 | ], 54 | }, 55 | }, 56 | ], 57 | }, 58 | resolve: { 59 | extensions: ['.js', '.vue'], 60 | }, 61 | plugins: [ 62 | new CopyWebpackPlugin([ 63 | { from: '*.json', to: outputDir, context: 'lib' }, 64 | { from: '*.html', to: outputDir, context: 'lib' }, 65 | { from: '*.png', to: outputDir, context: 'lib' }, 66 | { from: 'style/**', to: outputDir, context: 'lib' }, 67 | ]), 68 | ].concat( 69 | isProduction 70 | ? [ 71 | new webpack.optimize.UglifyJsPlugin({ 72 | comments: false, 73 | compress: { 74 | warnings: false, 75 | drop_console: true, 76 | }, 77 | sourceMap: false, 78 | beautify: false, 79 | }), 80 | ] 81 | : [] 82 | ), 83 | }; 84 | -------------------------------------------------------------------------------- /specapp/config/puma.rb: -------------------------------------------------------------------------------- 1 | # Puma can serve each request in a thread from an internal thread pool. 2 | # The `threads` method setting takes two numbers: a minimum and maximum. 3 | # Any libraries that use thread pools should be configured to match 4 | # the maximum value specified for Puma. Default is set to 5 threads for minimum 5 | # and maximum; this matches the default thread size of Active Record. 6 | # 7 | threads_count = ENV.fetch("RAILS_MAX_THREADS") { 5 } 8 | threads threads_count, threads_count 9 | 10 | # Specifies the `port` that Puma will listen on to receive requests; default is 3000. 11 | # 12 | port ENV.fetch("PORT") { 3000 } 13 | 14 | # Specifies the `environment` that Puma will run in. 15 | # 16 | environment ENV.fetch("RAILS_ENV") { "development" } 17 | 18 | # Specifies the number of `workers` to boot in clustered mode. 19 | # Workers are forked webserver processes. If using threads and workers together 20 | # the concurrency of the application would be max `threads` * `workers`. 21 | # Workers do not work on JRuby or Windows (both of which do not support 22 | # processes). 23 | # 24 | # workers ENV.fetch("WEB_CONCURRENCY") { 2 } 25 | 26 | # Use the `preload_app!` method when specifying a `workers` number. 27 | # This directive tells Puma to first boot the application and load code 28 | # before forking the application. This takes advantage of Copy On Write 29 | # process behavior so workers use less memory. If you use this option 30 | # you need to make sure to reconnect any threads in the `on_worker_boot` 31 | # block. 32 | # 33 | # preload_app! 34 | 35 | # If you are preloading your application and using Active Record, it's 36 | # recommended that you close any connections to the database before workers 37 | # are forked to prevent connection leakage. 38 | # 39 | # before_fork do 40 | # ActiveRecord::Base.connection_pool.disconnect! if defined?(ActiveRecord) 41 | # end 42 | 43 | # The code in the `on_worker_boot` will be called if you are using 44 | # clustered mode by specifying a number of `workers`. After each worker 45 | # process is booted, this block will be run. If you are using the `preload_app!` 46 | # option, you will want to use this block to reconnect to any threads 47 | # or connections that may have been created at application boot, as Ruby 48 | # cannot share connections between processes. 49 | # 50 | # on_worker_boot do 51 | # ActiveRecord::Base.establish_connection if defined?(ActiveRecord) 52 | # end 53 | # 54 | 55 | # Allow puma to be restarted by `rails restart` command. 56 | plugin :tmp_restart 57 | -------------------------------------------------------------------------------- /lib/panel/capybarize/capybarizeChange.js: -------------------------------------------------------------------------------- 1 | import createCodeList from './createCodeList'; 2 | import * as formatter from './formatter'; 3 | 4 | export const capybarizeChange = (data = {}) => { 5 | const element = data.element || {}; 6 | const tag = element.tagName || ''; 7 | 8 | switch (tag) { 9 | case 'input': 10 | case 'textarea': 11 | return capybarizeChangeInput(data); 12 | case 'select': 13 | return codeForChangeSelectBox(data); 14 | default: 15 | return null; 16 | } 17 | }; 18 | 19 | export const capybarizeChangeInput = (data) => { 20 | switch (data.element.attr.type || '') { 21 | case 'radio': 22 | return codeForChangeRadioButton(data); 23 | case 'checkbox': 24 | return codeForChangeCheckBox(data); 25 | default: 26 | return codeForChangeInput(data); 27 | } 28 | }; 29 | 30 | export const codeForChangeRadioButton = (data = {}) => { 31 | return createCodeList(data, [ 32 | { kind: 'label', cb: (s) => `choose '${s}'` }, 33 | { kind: 'id', cb: (s) => `choose '${s}'` }, 34 | { kind: 'klass', cb: (s) => `find('${s}').set(true)` }, 35 | { kind: 'xpath', cb: (s) => `find(:xpath, '${s}').set(true)` }, 36 | ]); 37 | }; 38 | 39 | export const codeForChangeCheckBox = (data = {}) => { 40 | const { element = {} } = data; 41 | const checked = element.checked; 42 | const checkedCode = checked ? 'check' : 'uncheck'; 43 | const checkedValue = checked ? 'true' : 'false'; 44 | 45 | return createCodeList(data, [ 46 | { kind: 'label', cb: (s) => `${checkedCode} '${s}'` }, 47 | { kind: 'id', cb: (s) => `${checkedCode} '${s}'` }, 48 | { kind: 'klass', cb: (s) => `find('${s}').set(${checkedValue})` }, 49 | { kind: 'xpath', cb: (s) => `find(:xpath, '${s}').set(${checkedValue})` }, 50 | ]); 51 | }; 52 | 53 | export const codeForChangeInput = (data = {}) => { 54 | const { element = {} } = data; 55 | const value = formatter.formatTextValue(element.value || ''); 56 | 57 | return createCodeList(data, [ 58 | { kind: 'label', cb: (s) => `fill_in '${s}', with: ${value}` }, 59 | { kind: 'id', cb: (s) => `fill_in '${s}', with: ${value}` }, 60 | { kind: 'klass', cb: (s) => `find('${s}').set(${value})` }, 61 | { kind: 'xpath', cb: (s) => `find(:xpath, '${s}').set(${value})` }, 62 | ]); 63 | }; 64 | 65 | export const codeForChangeSelectBox = (data = {}) => { 66 | const { element = {} } = data; 67 | const optionText = element.optionText || ''; 68 | 69 | return createCodeList(data, [ 70 | { kind: 'label', cb: (s) => `select '${optionText}', from: '${s}'` }, 71 | { kind: 'id', cb: (s) => `select '${optionText}', from: '${s}'` }, 72 | { kind: 'klass', cb: (s) => `find('${s}').find(:option, '${optionText}').select_option` }, 73 | { kind: 'xpath', cb: (s) => `find(:xpath, '${s}').find(:option, '${optionText}').select_option` }, 74 | ]); 75 | }; 76 | -------------------------------------------------------------------------------- /specapp/spec/rails_helper.rb: -------------------------------------------------------------------------------- 1 | # This file is copied to spec/ when you run 'rails generate rspec:install' 2 | require 'spec_helper' 3 | ENV['RAILS_ENV'] ||= 'test' 4 | require File.expand_path('../../config/environment', __FILE__) 5 | # Prevent database truncation if the environment is production 6 | abort("The Rails environment is running in production mode!") if Rails.env.production? 7 | require 'rspec/rails' 8 | # Add additional requires below this line. Rails is not loaded until this point! 9 | 10 | # Requires supporting ruby files with custom matchers and macros, etc, in 11 | # spec/support/ and its subdirectories. Files matching `spec/**/*_spec.rb` are 12 | # run as spec files by default. This means that files in spec/support that end 13 | # in _spec.rb will both be required and run as specs, causing the specs to be 14 | # run twice. It is recommended that you do not name files matching this glob to 15 | # end with _spec.rb. You can configure this pattern with the --pattern 16 | # option on the command line or in ~/.rspec, .rspec or `.rspec-local`. 17 | # 18 | # The following line is provided for convenience purposes. It has the downside 19 | # of increasing the boot-up time by auto-requiring all files in the support 20 | # directory. Alternatively, in the individual `*_spec.rb` files, manually 21 | # require only the support files necessary. 22 | # 23 | # Dir[Rails.root.join('spec/support/**/*.rb')].each { |f| require f } 24 | 25 | # Checks for pending migration and applies them before tests are run. 26 | # If you are not using ActiveRecord, you can remove this line. 27 | ActiveRecord::Migration.maintain_test_schema! 28 | 29 | RSpec.configure do |config| 30 | # Remove this line if you're not using ActiveRecord or ActiveRecord fixtures 31 | config.fixture_path = "#{::Rails.root}/spec/fixtures" 32 | 33 | # If you're not using ActiveRecord, or you'd prefer not to run each of your 34 | # examples within a transaction, remove the following line or assign false 35 | # instead of true. 36 | config.use_transactional_fixtures = true 37 | 38 | # RSpec Rails can automatically mix in different behaviours to your tests 39 | # based on their file location, for example enabling you to call `get` and 40 | # `post` in specs under `spec/controllers`. 41 | # 42 | # You can disable this behaviour by removing the line below, and instead 43 | # explicitly tag your specs with their type, e.g.: 44 | # 45 | # RSpec.describe UsersController, :type => :controller do 46 | # # ... 47 | # end 48 | # 49 | # The different available types are documented in the features, such as in 50 | # https://relishapp.com/rspec/rspec-rails/docs 51 | config.infer_spec_type_from_file_location! 52 | 53 | # Filter lines from Rails gems in backtraces. 54 | config.filter_rails_from_backtrace! 55 | # arbitrary gems may also be filtered via: 56 | # config.filter_gems_from_backtrace("gem name") 57 | end 58 | -------------------------------------------------------------------------------- /lib/content/watcher/utils/analyze.js: -------------------------------------------------------------------------------- 1 | import _ from 'lodash'; 2 | import * as xpathUtils from './xpath'; 3 | 4 | export const analyze = (element) => { 5 | const elementInfo = analyzeElement(element); 6 | const selector = analyzeSelector(element); 7 | 8 | return { 9 | element: elementInfo, 10 | selector, 11 | }; 12 | }; 13 | 14 | export const analyzeElement = (element) => { 15 | return { 16 | tagName: element.tagName.toLowerCase(), 17 | value: element.value, 18 | text: analyzeText(element), 19 | checked: element.checked, 20 | optionText: analyzeSelectOption(element), 21 | attr: { 22 | type: (element.getAttribute('type') || '').toLowerCase(), 23 | for: (element.getAttribute('for') || '').toLowerCase(), 24 | }, 25 | }; 26 | }; 27 | 28 | export const analyzeSelector = (element) => { 29 | const xpath = xpathUtils.analyze(element); 30 | const label = analyzeLabel(element); 31 | const id = analyzeId(element); 32 | const klass = analyzeClass(element); 33 | 34 | return { 35 | label, 36 | id, 37 | klass, 38 | xpath, 39 | }; 40 | }; 41 | 42 | export const analyzeId = (element) => { 43 | return element.id || ''; 44 | }; 45 | 46 | export const analyzeClass = (element) => { 47 | const classList = element.classList; 48 | if (_.isEmpty(classList)) return ''; 49 | 50 | const classSelector = '.' + _.join(classList, '.'); 51 | 52 | if (isUnique(classSelector)) { 53 | return classSelector; 54 | } 55 | 56 | const parentId = gerNearestParentId(element); 57 | const nestSelector = `#${parentId} ${classSelector}`; 58 | 59 | if (parentId && isUnique(nestSelector)) { 60 | return nestSelector; 61 | } 62 | 63 | return ''; 64 | }; 65 | 66 | export const analyzeLabel = (element) => { 67 | const id = element.id; 68 | if (!id) return ''; 69 | 70 | const label = document.querySelector(`label[for=${id}]`); 71 | 72 | if (label) { 73 | return label.innerText || ''; 74 | } else { 75 | return ''; 76 | } 77 | }; 78 | 79 | export const analyzeText = (element) => { 80 | const tag = element.tagName.toLowerCase(); 81 | 82 | const text = element.innerText; 83 | const allTags = [...document.getElementsByTagName(tag)]; 84 | const unique = allTags.filter(t => t.textContent === text).length === 1; 85 | 86 | return { text, unique }; 87 | }; 88 | 89 | export const analyzeSelectOption = (element) => { 90 | if (!element.options || !element.options.length) return ''; 91 | 92 | return element.options[element.selectedIndex].innerText; 93 | }; 94 | 95 | export const gerNearestParentId = (element) => { 96 | const parent = element.closest('[id]'); 97 | 98 | if (!parent) return ''; 99 | 100 | return parent.id; 101 | }; 102 | 103 | export const isUnique = (selector) => { 104 | return document.querySelectorAll(selector).length === 1; 105 | }; 106 | -------------------------------------------------------------------------------- /lib/panel/store/modules/panel.js: -------------------------------------------------------------------------------- 1 | import uuid from 'uuid/v4'; 2 | import _ from 'lodash'; 3 | import * as types from '../mutation-types'; 4 | import { capybarize } from '../../capybarize'; 5 | 6 | const state = { 7 | watching: false, 8 | events: [], 9 | showHidden: false, 10 | }; 11 | 12 | const getters = { 13 | }; 14 | 15 | const actions = { 16 | toggleWatching({ commit, state }) { 17 | commit(types.PANEL_TOGGLE_WATCHING, !state.watching); 18 | }, 19 | toggleHidden({ commit, state }) { 20 | commit(types.PANEL_TOGGLE_HIDDEN, !state.watching); 21 | }, 22 | toggleEvent({ commit, state }, key) { 23 | commit(types.PANEL_TOGGLE_EVENT, key); 24 | }, 25 | clearPanel({ commit }) { 26 | commit(types.PANEL_CLEAR); 27 | }, 28 | }; 29 | 30 | const mutations = { 31 | [types.CONTENT_CONNECT](state, value) { 32 | // nothing to do. 33 | }, 34 | [types.PANEL_TOGGLE_WATCHING](state, value) { 35 | if (value === true || value === false) { 36 | state.watching = value; 37 | } else { 38 | state.watching = !state.watching; 39 | } 40 | }, 41 | 42 | [types.PANEL_CLEAR](state, value) { 43 | state.events = []; 44 | }, 45 | 46 | [types.PANEL_TOGGLE_HIDDEN](state) { 47 | state.showHidden = !state.showHidden; 48 | }, 49 | 50 | [types.PANEL_TOGGLE_EVENT](state, key) { 51 | const index = state.events.findIndex(e => e.key === key); 52 | if (~index) { 53 | const e = state.events[index]; 54 | e.open = !e.open; 55 | } 56 | }, 57 | 58 | [types.CONTENT_FIRE](state, originalEvent) { 59 | const lastEventIndex = _.findLastIndex(state.events, e => !e.hidden); 60 | const lastEvent = state.events[lastEventIndex]; 61 | 62 | if (isDropEvent(lastEvent, originalEvent)) return; 63 | 64 | const capybara = capybarize(originalEvent); 65 | 66 | if (!capybara) return; 67 | 68 | const event = { 69 | key: uuid(), 70 | original: originalEvent, 71 | capybara: capybara.map(c => Object.assign({ key: uuid() }, c)), 72 | open: false, 73 | hidden: false, 74 | kind: capybara[0].kind, 75 | }; 76 | 77 | state.events.push(event); 78 | 79 | if (isHiddenLastEvent(lastEvent, originalEvent)) { 80 | state.events[lastEventIndex].hidden = true; 81 | } 82 | }, 83 | }; 84 | 85 | const isDropEvent = (lastEvent, originalEvent) => { 86 | if (!lastEvent) return false; 87 | 88 | if ( 89 | _.get(lastEvent.original, 'element.tagName') === 'label' && 90 | _.get(lastEvent.original, 'element.attr.for') === _.get(originalEvent, 'selector.id') && 91 | _.get(lastEvent.original, 'event') === 'click' && _.get(originalEvent, 'event') === 'click' 92 | ) { 93 | return true; 94 | } 95 | 96 | return false; 97 | }; 98 | 99 | const isHiddenLastEvent = (lastEvent, originalEvent) => { 100 | if (!lastEvent) return false; 101 | 102 | if ( 103 | (_.get(lastEvent.original, 'selector.xpath') !== _.get(originalEvent, 'selector.xpath')) && 104 | !( 105 | _.get(lastEvent.original, 'element.tagName') === 'label' && 106 | _.get(lastEvent.original, 'element.attr.for') === _.get(originalEvent, 'selector.id') 107 | ) 108 | ) { 109 | return false; 110 | } 111 | 112 | if (_.get(lastEvent.original, 'event') === 'click' && _.get(originalEvent, 'event') === 'change') return true; 113 | 114 | return false; 115 | }; 116 | 117 | export default { 118 | state, 119 | getters, 120 | actions, 121 | mutations, 122 | }; 123 | -------------------------------------------------------------------------------- /specapp/app/views/sample/sample.html.erb: -------------------------------------------------------------------------------- 1 | <%= form_for(@sample, url: '/sample') do |f| %> 2 |
3 |
4 | <%= f.label :name %> 5 | <%= f.text_field :name %> 6 |
7 |
8 | <%= f.label :age %> 9 | <%= f.text_field :age %> 10 |
11 |
12 | <%= f.label :textarea %> 13 | <%= f.text_area :textarea %> 14 |
15 |
16 | id form: 17 |
18 |
19 | class form: 20 |
21 |
22 | xpath form: 23 |
24 | 25 |
26 | 27 |
Nested fields
28 |
29 | : has unique parent 30 |
31 |
32 | : not has unique parent 33 |
34 | 35 |
36 | 37 |
38 |
radio button with label
39 | <%= f.radio_button :food, 'a' %> 40 | <%= f.label :food, 'Apple', value: 'a' %> 41 | <%= f.radio_button :food, 'o' %> 42 | <%= f.label :food, 'Orange', value: 'o' %> 43 | <%= f.radio_button :food, 'p' %> 44 | <%= f.label :food, 'Peach', value: 'p' %> 45 |
46 | 47 |
48 | id-radio 49 | class-radio 50 | xpath-radio 51 |
52 | 53 |
54 | 55 |
56 |
checkbox with label
57 | <%= f.check_box :q1 %> 58 | <%= f.label :q1, 'Question1' %> 59 | <%= f.check_box :q2 %> 60 | <%= f.label :q2, 'Question2' %> 61 | <%= f.check_box :q3 %> 62 | <%= f.label :q3, 'Question3' %> 63 |
64 | 65 |
66 | id-checkbox 67 | class-checkbox 68 | xpath-checkbox 69 |
70 | 71 |
72 | 73 |
74 |
selectbox by form helper
75 | <%= f.label :drink %> 76 | <%= f.select :drink, [["", ""], ["コーヒー", "coffee"], ["紅茶", "tea"], ["牛乳", "milk"]] %> 77 |
78 | 79 |
80 | id-select 86 | class-select 92 | xpath-select 98 |
99 | 100 |
101 | 102 |
103 | sample button
104 | duplicate link(id)
105 | duplicate link(class)
106 | duplicate link(xpath)
107 |
108 | 109 |
110 |
111 | (id)
112 | (class)
113 | (xpath)
114 |
115 | 116 |
117 | 118 |
119 | pre
120 | multi
121 | line
122 | text
123 | 
124 | "`'./${xxx}\n\t
125 | end
126 | 
127 | 128 |
129 | 130 |

ptag

131 |

multi

132 |

line

133 |

text

134 |

135 |

"`'./${xxx}\n\t

136 |

end

137 | 138 | <%= f.submit "Create my account" , class: "btn btn-large btn-primary" %> 139 | <% end %> -------------------------------------------------------------------------------- /specapp/config/environments/production.rb: -------------------------------------------------------------------------------- 1 | Rails.application.configure do 2 | # Settings specified here will take precedence over those in config/application.rb. 3 | 4 | # Code is not reloaded between requests. 5 | config.cache_classes = true 6 | 7 | # Eager load code on boot. This eager loads most of Rails and 8 | # your application in memory, allowing both threaded web servers 9 | # and those relying on copy on write to perform better. 10 | # Rake tasks automatically ignore this option for performance. 11 | config.eager_load = true 12 | 13 | # Full error reports are disabled and caching is turned on. 14 | config.consider_all_requests_local = false 15 | config.action_controller.perform_caching = true 16 | 17 | # Attempt to read encrypted secrets from `config/secrets.yml.enc`. 18 | # Requires an encryption key in `ENV["RAILS_MASTER_KEY"]` or 19 | # `config/secrets.yml.key`. 20 | config.read_encrypted_secrets = true 21 | 22 | # Disable serving static files from the `/public` folder by default since 23 | # Apache or NGINX already handles this. 24 | config.public_file_server.enabled = ENV['RAILS_SERVE_STATIC_FILES'].present? 25 | 26 | # Compress JavaScripts and CSS. 27 | config.assets.js_compressor = :uglifier 28 | # config.assets.css_compressor = :sass 29 | 30 | # Do not fallback to assets pipeline if a precompiled asset is missed. 31 | config.assets.compile = false 32 | 33 | # `config.assets.precompile` and `config.assets.version` have moved to config/initializers/assets.rb 34 | 35 | # Enable serving of images, stylesheets, and JavaScripts from an asset server. 36 | # config.action_controller.asset_host = 'http://assets.example.com' 37 | 38 | # Specifies the header that your server uses for sending files. 39 | # config.action_dispatch.x_sendfile_header = 'X-Sendfile' # for Apache 40 | # config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for NGINX 41 | 42 | # Mount Action Cable outside main process or domain 43 | # config.action_cable.mount_path = nil 44 | # config.action_cable.url = 'wss://example.com/cable' 45 | # config.action_cable.allowed_request_origins = [ 'http://example.com', /http:\/\/example.*/ ] 46 | 47 | # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies. 48 | # config.force_ssl = true 49 | 50 | # Use the lowest log level to ensure availability of diagnostic information 51 | # when problems arise. 52 | config.log_level = :debug 53 | 54 | # Prepend all log lines with the following tags. 55 | config.log_tags = [ :request_id ] 56 | 57 | # Use a different cache store in production. 58 | # config.cache_store = :mem_cache_store 59 | 60 | # Use a real queuing backend for Active Job (and separate queues per environment) 61 | # config.active_job.queue_adapter = :resque 62 | # config.active_job.queue_name_prefix = "specapp_#{Rails.env}" 63 | config.action_mailer.perform_caching = false 64 | 65 | # Ignore bad email addresses and do not raise email delivery errors. 66 | # Set this to true and configure the email server for immediate delivery to raise delivery errors. 67 | # config.action_mailer.raise_delivery_errors = false 68 | 69 | # Enable locale fallbacks for I18n (makes lookups for any locale fall back to 70 | # the I18n.default_locale when a translation cannot be found). 71 | config.i18n.fallbacks = true 72 | 73 | # Send deprecation notices to registered listeners. 74 | config.active_support.deprecation = :notify 75 | 76 | # Use default logging formatter so that PID and timestamp are not suppressed. 77 | config.log_formatter = ::Logger::Formatter.new 78 | 79 | # Use a different logger for distributed setups. 80 | # require 'syslog/logger' 81 | # config.logger = ActiveSupport::TaggedLogging.new(Syslog::Logger.new 'app-name') 82 | 83 | if ENV["RAILS_LOG_TO_STDOUT"].present? 84 | logger = ActiveSupport::Logger.new(STDOUT) 85 | logger.formatter = config.log_formatter 86 | config.logger = ActiveSupport::TaggedLogging.new(logger) 87 | end 88 | 89 | # Do not dump schema after migrations. 90 | config.active_record.dump_schema_after_migration = false 91 | end 92 | -------------------------------------------------------------------------------- /dist/background.js: -------------------------------------------------------------------------------- 1 | !function(e){function t(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,t),i.l=!0,i.exports}var n={};t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=26)}({26:function(e,t,n){"use strict";var r=n(27);(0,function(e){return e&&e.__esModule?e:{default:e}}(r).default)()},27:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){i(),s()};var r=n(28),i=function(){chrome.runtime.onConnect.addListener(function(e){if("devtool"===e.name){var t=function(t){e.postMessage(t)};r.emitter.on("devtool.send",t),e.onDisconnect.addListener(function(){return r.emitter.removeListener("devtool.send",t)}),e.onMessage.addListener(function(e){r.emitter.emit("devtool.receive",e)}),e.onMessage.addListener(function(e){return r.emitter.emit("content.send",Object.assign({location:"devtool"},e||{}))})}})},s=function(){chrome.runtime.onConnect.addListener(function(e){if("content"===e.name){var t=function(t){e.postMessage(t)};r.emitter.on("content.send",t),e.onDisconnect.addListener(function(){return r.emitter.removeListener("content.send",t)}),e.onMessage.addListener(function(e){r.emitter.emit("content.receive",e)}),e.onMessage.addListener(function(e){return r.emitter.emit("devtool.send",Object.assign({location:"content"},e||{}))})}})}},28:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.emitter=void 0;var r=n(7);t.emitter=new r.EventEmitter},7:function(e,t){function n(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0}function r(e){return"function"==typeof e}function i(e){return"number"==typeof e}function s(e){return"object"==typeof e&&null!==e}function o(e){return void 0===e}e.exports=n,n.EventEmitter=n,n.prototype._events=void 0,n.prototype._maxListeners=void 0,n.defaultMaxListeners=10,n.prototype.setMaxListeners=function(e){if(!i(e)||e<0||isNaN(e))throw TypeError("n must be a positive number");return this._maxListeners=e,this},n.prototype.emit=function(e){var t,n,i,u,h,c;if(this._events||(this._events={}),"error"===e&&(!this._events.error||s(this._events.error)&&!this._events.error.length)){if((t=arguments[1])instanceof Error)throw t;var v=new Error('Uncaught, unspecified "error" event. ('+t+")");throw v.context=t,v}if(n=this._events[e],o(n))return!1;if(r(n))switch(arguments.length){case 1:n.call(this);break;case 2:n.call(this,arguments[1]);break;case 3:n.call(this,arguments[1],arguments[2]);break;default:u=Array.prototype.slice.call(arguments,1),n.apply(this,u)}else if(s(n))for(u=Array.prototype.slice.call(arguments,1),c=n.slice(),i=c.length,h=0;h0&&this._events[e].length>i&&(this._events[e].warned=!0,console.trace),this},n.prototype.on=n.prototype.addListener,n.prototype.once=function(e,t){function n(){this.removeListener(e,n),i||(i=!0,t.apply(this,arguments))}if(!r(t))throw TypeError("listener must be a function");var i=!1;return n.listener=t,this.on(e,n),this},n.prototype.removeListener=function(e,t){var n,i,o,u;if(!r(t))throw TypeError("listener must be a function");if(!this._events||!this._events[e])return this;if(n=this._events[e],o=n.length,i=-1,n===t||r(n.listener)&&n.listener===t)delete this._events[e],this._events.removeListener&&this.emit("removeListener",e,t);else if(s(n)){for(u=o;u-- >0;)if(n[u]===t||n[u].listener&&n[u].listener===t){i=u;break}if(i<0)return this;1===n.length?(n.length=0,delete this._events[e]):n.splice(i,1),this._events.removeListener&&this.emit("removeListener",e,t)}return this},n.prototype.removeAllListeners=function(e){var t,n;if(!this._events)return this;if(!this._events.removeListener)return 0===arguments.length?this._events={}:this._events[e]&&delete this._events[e],this;if(0===arguments.length){for(t in this._events)"removeListener"!==t&&this.removeAllListeners(t);return this.removeAllListeners("removeListener"),this._events={},this}if(n=this._events[e],r(n))this.removeListener(e,n);else if(n)for(;n.length;)this.removeListener(e,n[n.length-1]);return delete this._events[e],this},n.prototype.listeners=function(e){return this._events&&this._events[e]?r(this._events[e])?[this._events[e]]:this._events[e].slice():[]},n.prototype.listenerCount=function(e){if(this._events){var t=this._events[e];if(r(t))return 1;if(t)return t.length}return 0},n.listenerCount=function(e,t){return e.listenerCount(t)}}}); -------------------------------------------------------------------------------- /specapp/spec/spec_helper.rb: -------------------------------------------------------------------------------- 1 | require 'capybara' 2 | require 'capybara/rspec' 3 | require 'capybara/dsl' 4 | require 'capybara/poltergeist' 5 | 6 | Capybara.configure do |c| 7 | c.javascript_driver = :poltergeist 8 | c.default_driver = :poltergeist 9 | c.app_host = 'http://localhost:3000' 10 | end 11 | 12 | # This file was generated by the `rails generate rspec:install` command. Conventionally, all 13 | # specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`. 14 | # The generated `.rspec` file contains `--require spec_helper` which will cause 15 | # this file to always be loaded, without a need to explicitly require it in any 16 | # files. 17 | # 18 | # Given that it is always loaded, you are encouraged to keep this file as 19 | # light-weight as possible. Requiring heavyweight dependencies from this file 20 | # will add to the boot time of your test suite on EVERY test run, even for an 21 | # individual file that may not need all of that loaded. Instead, consider making 22 | # a separate helper file that requires the additional dependencies and performs 23 | # the additional setup, and require it from the spec files that actually need 24 | # it. 25 | # 26 | # See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration 27 | RSpec.configure do |config| 28 | config.include Capybara::DSL 29 | # rspec-expectations config goes here. You can use an alternate 30 | # assertion/expectation library such as wrong or the stdlib/minitest 31 | # assertions if you prefer. 32 | config.expect_with :rspec do |expectations| 33 | # This option will default to `true` in RSpec 4. It makes the `description` 34 | # and `failure_message` of custom matchers include text for helper methods 35 | # defined using `chain`, e.g.: 36 | # be_bigger_than(2).and_smaller_than(4).description 37 | # # => "be bigger than 2 and smaller than 4" 38 | # ...rather than: 39 | # # => "be bigger than 2" 40 | expectations.include_chain_clauses_in_custom_matcher_descriptions = true 41 | end 42 | 43 | # rspec-mocks config goes here. You can use an alternate test double 44 | # library (such as bogus or mocha) by changing the `mock_with` option here. 45 | config.mock_with :rspec do |mocks| 46 | # Prevents you from mocking or stubbing a method that does not exist on 47 | # a real object. This is generally recommended, and will default to 48 | # `true` in RSpec 4. 49 | mocks.verify_partial_doubles = true 50 | end 51 | 52 | # This option will default to `:apply_to_host_groups` in RSpec 4 (and will 53 | # have no way to turn it off -- the option exists only for backwards 54 | # compatibility in RSpec 3). It causes shared context metadata to be 55 | # inherited by the metadata hash of host groups and examples, rather than 56 | # triggering implicit auto-inclusion in groups with matching metadata. 57 | config.shared_context_metadata_behavior = :apply_to_host_groups 58 | 59 | # The settings below are suggested to provide a good initial experience 60 | # with RSpec, but feel free to customize to your heart's content. 61 | =begin 62 | # This allows you to limit a spec run to individual examples or groups 63 | # you care about by tagging them with `:focus` metadata. When nothing 64 | # is tagged with `:focus`, all examples get run. RSpec also provides 65 | # aliases for `it`, `describe`, and `context` that include `:focus` 66 | # metadata: `fit`, `fdescribe` and `fcontext`, respectively. 67 | config.filter_run_when_matching :focus 68 | 69 | # Allows RSpec to persist some state between runs in order to support 70 | # the `--only-failures` and `--next-failure` CLI options. We recommend 71 | # you configure your source control system to ignore this file. 72 | config.example_status_persistence_file_path = "spec/examples.txt" 73 | 74 | # Limits the available syntax to the non-monkey patched syntax that is 75 | # recommended. For more details, see: 76 | # - http://rspec.info/blog/2012/06/rspecs-new-expectation-syntax/ 77 | # - http://www.teaisaweso.me/blog/2013/05/27/rspecs-new-message-expectation-syntax/ 78 | # - http://rspec.info/blog/2014/05/notable-changes-in-rspec-3/#zero-monkey-patching-mode 79 | config.disable_monkey_patching! 80 | 81 | # Many RSpec users commonly either run the entire suite or an individual 82 | # file, and it's useful to allow more verbose output when running an 83 | # individual spec file. 84 | if config.files_to_run.one? 85 | # Use the documentation formatter for detailed output, 86 | # unless a formatter has already been configured 87 | # (e.g. via a command-line flag). 88 | config.default_formatter = "doc" 89 | end 90 | 91 | # Print the 10 slowest examples and example groups at the 92 | # end of the spec run, to help surface which specs are running 93 | # particularly slow. 94 | config.profile_examples = 10 95 | 96 | # Run specs in random order to surface order dependencies. If you find an 97 | # order dependency and want to debug it, you can fix the order by providing 98 | # the seed, which is printed after each run. 99 | # --seed 1234 100 | config.order = :random 101 | 102 | # Seed global randomization in this process using the `--seed` CLI option. 103 | # Setting this allows you to use `--seed` to deterministically reproduce 104 | # test failures related to randomization by passing the same `--seed` value 105 | # as the one that triggered the failure. 106 | Kernel.srand config.seed 107 | =end 108 | end 109 | -------------------------------------------------------------------------------- /dist/devtools.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"sources":["webpack:///devtools.js","webpack:///webpack/bootstrap 83a409abb831faf226c0","webpack:///./devtools.js"],"names":["modules","__webpack_require__","moduleId","installedModules","exports","module","i","l","call","m","c","d","name","getter","o","Object","defineProperty","configurable","enumerable","get","n","__esModule","object","property","prototype","hasOwnProperty","p","s","23","chrome","devtools","panels","create"],"mappings":"CAAS,SAAUA,GCInB,QAAAC,GAAAC,GAGA,GAAAC,EAAAD,GACA,MAAAC,GAAAD,GAAAE,OAGA,IAAAC,GAAAF,EAAAD,IACAI,EAAAJ,EACAK,GAAA,EACAH,WAUA,OANAJ,GAAAE,GAAAM,KAAAH,EAAAD,QAAAC,IAAAD,QAAAH,GAGAI,EAAAE,GAAA,EAGAF,EAAAD,QAvBA,GAAAD,KA4BAF,GAAAQ,EAAAT,EAGAC,EAAAS,EAAAP,EAGAF,EAAAU,EAAA,SAAAP,EAAAQ,EAAAC,GACAZ,EAAAa,EAAAV,EAAAQ,IACAG,OAAAC,eAAAZ,EAAAQ,GACAK,cAAA,EACAC,YAAA,EACAC,IAAAN,KAMAZ,EAAAmB,EAAA,SAAAf,GACA,GAAAQ,GAAAR,KAAAgB,WACA,WAA2B,MAAAhB,GAAA,SAC3B,WAAiC,MAAAA,GAEjC,OADAJ,GAAAU,EAAAE,EAAA,IAAAA,GACAA,GAIAZ,EAAAa,EAAA,SAAAQ,EAAAC,GAAsD,MAAAR,QAAAS,UAAAC,eAAAjB,KAAAc,EAAAC,IAGtDtB,EAAAyB,EAAA,GAGAzB,IAAA0B,EAAA,MDMMC,GACA,SAAUvB,EAAQD,EAASH,GAEjC,YEtEA4B,QAAOC,SAASC,OAAOC,OACrB,SACA,GACA","file":"devtools.js","sourcesContent":["/******/ (function(modules) { // webpackBootstrap\n/******/ \t// The module cache\n/******/ \tvar installedModules = {};\n/******/\n/******/ \t// The require function\n/******/ \tfunction __webpack_require__(moduleId) {\n/******/\n/******/ \t\t// Check if module is in cache\n/******/ \t\tif(installedModules[moduleId]) {\n/******/ \t\t\treturn installedModules[moduleId].exports;\n/******/ \t\t}\n/******/ \t\t// Create a new module (and put it into the cache)\n/******/ \t\tvar module = installedModules[moduleId] = {\n/******/ \t\t\ti: moduleId,\n/******/ \t\t\tl: false,\n/******/ \t\t\texports: {}\n/******/ \t\t};\n/******/\n/******/ \t\t// Execute the module function\n/******/ \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n/******/\n/******/ \t\t// Flag the module as loaded\n/******/ \t\tmodule.l = true;\n/******/\n/******/ \t\t// Return the exports of the module\n/******/ \t\treturn module.exports;\n/******/ \t}\n/******/\n/******/\n/******/ \t// expose the modules object (__webpack_modules__)\n/******/ \t__webpack_require__.m = modules;\n/******/\n/******/ \t// expose the module cache\n/******/ \t__webpack_require__.c = installedModules;\n/******/\n/******/ \t// define getter function for harmony exports\n/******/ \t__webpack_require__.d = function(exports, name, getter) {\n/******/ \t\tif(!__webpack_require__.o(exports, name)) {\n/******/ \t\t\tObject.defineProperty(exports, name, {\n/******/ \t\t\t\tconfigurable: false,\n/******/ \t\t\t\tenumerable: true,\n/******/ \t\t\t\tget: getter\n/******/ \t\t\t});\n/******/ \t\t}\n/******/ \t};\n/******/\n/******/ \t// getDefaultExport function for compatibility with non-harmony modules\n/******/ \t__webpack_require__.n = function(module) {\n/******/ \t\tvar getter = module && module.__esModule ?\n/******/ \t\t\tfunction getDefault() { return module['default']; } :\n/******/ \t\t\tfunction getModuleExports() { return module; };\n/******/ \t\t__webpack_require__.d(getter, 'a', getter);\n/******/ \t\treturn getter;\n/******/ \t};\n/******/\n/******/ \t// Object.prototype.hasOwnProperty.call\n/******/ \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n/******/\n/******/ \t// __webpack_public_path__\n/******/ \t__webpack_require__.p = \"\";\n/******/\n/******/ \t// Load entry module and return exports\n/******/ \treturn __webpack_require__(__webpack_require__.s = 23);\n/******/ })\n/************************************************************************/\n/******/ ({\n\n/***/ 23:\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nchrome.devtools.panels.create('nezumi', '', 'panel.html');\n\n/***/ })\n\n/******/ });\n\n\n// WEBPACK FOOTER //\n// devtools.js"," \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, {\n \t\t\t\tconfigurable: false,\n \t\t\t\tenumerable: true,\n \t\t\t\tget: getter\n \t\t\t});\n \t\t}\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 23);\n\n\n\n// WEBPACK FOOTER //\n// webpack/bootstrap 83a409abb831faf226c0","chrome.devtools.panels.create(\n 'nezumi',\n '',\n 'panel.html'\n);\n\n\n\n// WEBPACK FOOTER //\n// ./devtools.js"],"sourceRoot":""} -------------------------------------------------------------------------------- /specapp/Gemfile.lock: -------------------------------------------------------------------------------- 1 | GEM 2 | remote: https://rubygems.org/ 3 | specs: 4 | actioncable (5.1.4) 5 | actionpack (= 5.1.4) 6 | nio4r (~> 2.0) 7 | websocket-driver (~> 0.6.1) 8 | actionmailer (5.1.4) 9 | actionpack (= 5.1.4) 10 | actionview (= 5.1.4) 11 | activejob (= 5.1.4) 12 | mail (~> 2.5, >= 2.5.4) 13 | rails-dom-testing (~> 2.0) 14 | actionpack (5.1.4) 15 | actionview (= 5.1.4) 16 | activesupport (= 5.1.4) 17 | rack (~> 2.0) 18 | rack-test (>= 0.6.3) 19 | rails-dom-testing (~> 2.0) 20 | rails-html-sanitizer (~> 1.0, >= 1.0.2) 21 | actionview (5.1.4) 22 | activesupport (= 5.1.4) 23 | builder (~> 3.1) 24 | erubi (~> 1.4) 25 | rails-dom-testing (~> 2.0) 26 | rails-html-sanitizer (~> 1.0, >= 1.0.3) 27 | activejob (5.1.4) 28 | activesupport (= 5.1.4) 29 | globalid (>= 0.3.6) 30 | activemodel (5.1.4) 31 | activesupport (= 5.1.4) 32 | activerecord (5.1.4) 33 | activemodel (= 5.1.4) 34 | activesupport (= 5.1.4) 35 | arel (~> 8.0) 36 | activesupport (5.1.4) 37 | concurrent-ruby (~> 1.0, >= 1.0.2) 38 | i18n (~> 0.7) 39 | minitest (~> 5.1) 40 | tzinfo (~> 1.1) 41 | addressable (2.5.2) 42 | public_suffix (>= 2.0.2, < 4.0) 43 | arel (8.0.0) 44 | bindex (0.5.0) 45 | builder (3.2.3) 46 | byebug (9.1.0) 47 | capybara (2.15.1) 48 | addressable 49 | mini_mime (>= 0.1.3) 50 | nokogiri (>= 1.3.3) 51 | rack (>= 1.0.0) 52 | rack-test (>= 0.5.4) 53 | xpath (~> 2.0) 54 | cliver (0.3.2) 55 | coffee-rails (4.2.2) 56 | coffee-script (>= 2.2.0) 57 | railties (>= 4.0.0) 58 | coffee-script (2.4.1) 59 | coffee-script-source 60 | execjs 61 | coffee-script-source (1.12.2) 62 | concurrent-ruby (1.0.5) 63 | diff-lcs (1.3) 64 | erubi (1.6.1) 65 | execjs (2.7.0) 66 | ffi (1.9.18) 67 | globalid (0.4.0) 68 | activesupport (>= 4.2.0) 69 | i18n (0.8.6) 70 | jbuilder (2.7.0) 71 | activesupport (>= 4.2.0) 72 | multi_json (>= 1.2) 73 | listen (3.1.5) 74 | rb-fsevent (~> 0.9, >= 0.9.4) 75 | rb-inotify (~> 0.9, >= 0.9.7) 76 | ruby_dep (~> 1.2) 77 | loofah (2.0.3) 78 | nokogiri (>= 1.5.9) 79 | mail (2.6.6) 80 | mime-types (>= 1.16, < 4) 81 | method_source (0.8.2) 82 | mime-types (3.1) 83 | mime-types-data (~> 3.2015) 84 | mime-types-data (3.2016.0521) 85 | mini_mime (0.1.4) 86 | mini_portile2 (2.2.0) 87 | minitest (5.10.3) 88 | multi_json (1.12.2) 89 | nio4r (2.1.0) 90 | nokogiri (1.8.0) 91 | mini_portile2 (~> 2.2.0) 92 | poltergeist (1.16.0) 93 | capybara (~> 2.1) 94 | cliver (~> 0.3.1) 95 | websocket-driver (>= 0.2.0) 96 | public_suffix (3.0.0) 97 | puma (3.10.0) 98 | rack (2.0.3) 99 | rack-test (0.7.0) 100 | rack (>= 1.0, < 3) 101 | rails (5.1.4) 102 | actioncable (= 5.1.4) 103 | actionmailer (= 5.1.4) 104 | actionpack (= 5.1.4) 105 | actionview (= 5.1.4) 106 | activejob (= 5.1.4) 107 | activemodel (= 5.1.4) 108 | activerecord (= 5.1.4) 109 | activesupport (= 5.1.4) 110 | bundler (>= 1.3.0) 111 | railties (= 5.1.4) 112 | sprockets-rails (>= 2.0.0) 113 | rails-dom-testing (2.0.3) 114 | activesupport (>= 4.2.0) 115 | nokogiri (>= 1.6) 116 | rails-html-sanitizer (1.0.3) 117 | loofah (~> 2.0) 118 | railties (5.1.4) 119 | actionpack (= 5.1.4) 120 | activesupport (= 5.1.4) 121 | method_source 122 | rake (>= 0.8.7) 123 | thor (>= 0.18.1, < 2.0) 124 | rake (12.1.0) 125 | rb-fsevent (0.10.2) 126 | rb-inotify (0.9.10) 127 | ffi (>= 0.5.0, < 2) 128 | rspec-core (3.6.0) 129 | rspec-support (~> 3.6.0) 130 | rspec-expectations (3.6.0) 131 | diff-lcs (>= 1.2.0, < 2.0) 132 | rspec-support (~> 3.6.0) 133 | rspec-mocks (3.6.0) 134 | diff-lcs (>= 1.2.0, < 2.0) 135 | rspec-support (~> 3.6.0) 136 | rspec-rails (3.6.1) 137 | actionpack (>= 3.0) 138 | activesupport (>= 3.0) 139 | railties (>= 3.0) 140 | rspec-core (~> 3.6.0) 141 | rspec-expectations (~> 3.6.0) 142 | rspec-mocks (~> 3.6.0) 143 | rspec-support (~> 3.6.0) 144 | rspec-support (3.6.0) 145 | ruby_dep (1.5.0) 146 | sass (3.5.1) 147 | sass-listen (~> 4.0.0) 148 | sass-listen (4.0.0) 149 | rb-fsevent (~> 0.9, >= 0.9.4) 150 | rb-inotify (~> 0.9, >= 0.9.7) 151 | sass-rails (5.0.6) 152 | railties (>= 4.0.0, < 6) 153 | sass (~> 3.1) 154 | sprockets (>= 2.8, < 4.0) 155 | sprockets-rails (>= 2.0, < 4.0) 156 | tilt (>= 1.1, < 3) 157 | spring (2.0.2) 158 | activesupport (>= 4.2) 159 | spring-watcher-listen (2.0.1) 160 | listen (>= 2.7, < 4.0) 161 | spring (>= 1.2, < 3.0) 162 | sprockets (3.7.1) 163 | concurrent-ruby (~> 1.0) 164 | rack (> 1, < 3) 165 | sprockets-rails (3.2.1) 166 | actionpack (>= 4.0) 167 | activesupport (>= 4.0) 168 | sprockets (>= 3.0.0) 169 | sqlite3 (1.3.13) 170 | thor (0.20.0) 171 | thread_safe (0.3.6) 172 | tilt (2.0.8) 173 | turbolinks (5.0.1) 174 | turbolinks-source (~> 5) 175 | turbolinks-source (5.0.3) 176 | tzinfo (1.2.3) 177 | thread_safe (~> 0.1) 178 | uglifier (3.2.0) 179 | execjs (>= 0.3.0, < 3) 180 | web-console (3.5.1) 181 | actionview (>= 5.0) 182 | activemodel (>= 5.0) 183 | bindex (>= 0.4.0) 184 | railties (>= 5.0) 185 | websocket-driver (0.6.5) 186 | websocket-extensions (>= 0.1.0) 187 | websocket-extensions (0.1.2) 188 | xpath (2.1.0) 189 | nokogiri (~> 1.3) 190 | 191 | PLATFORMS 192 | ruby 193 | 194 | DEPENDENCIES 195 | byebug 196 | capybara 197 | coffee-rails (~> 4.2) 198 | jbuilder (~> 2.5) 199 | listen (>= 3.0.5, < 3.2) 200 | poltergeist 201 | puma (~> 3.7) 202 | rails (~> 5.1.4) 203 | rspec-rails 204 | sass-rails (~> 5.0) 205 | spring 206 | spring-watcher-listen (~> 2.0.0) 207 | sqlite3 208 | turbolinks (~> 5) 209 | tzinfo-data 210 | uglifier (>= 1.3.0) 211 | web-console (>= 3.3.0) 212 | 213 | BUNDLED WITH 214 | 1.15.1 215 | -------------------------------------------------------------------------------- /dist/style/iconfont/MaterialIcons-Regular.ijmap: -------------------------------------------------------------------------------- 1 | {"icons":{"e84d":{"name":"3d Rotation"},"eb3b":{"name":"Ac Unit"},"e190":{"name":"Access Alarm"},"e191":{"name":"Access Alarms"},"e192":{"name":"Access Time"},"e84e":{"name":"Accessibility"},"e914":{"name":"Accessible"},"e84f":{"name":"Account Balance"},"e850":{"name":"Account Balance Wallet"},"e851":{"name":"Account Box"},"e853":{"name":"Account Circle"},"e60e":{"name":"Adb"},"e145":{"name":"Add"},"e439":{"name":"Add A Photo"},"e193":{"name":"Add Alarm"},"e003":{"name":"Add Alert"},"e146":{"name":"Add Box"},"e147":{"name":"Add Circle"},"e148":{"name":"Add Circle Outline"},"e567":{"name":"Add Location"},"e854":{"name":"Add Shopping Cart"},"e39d":{"name":"Add To Photos"},"e05c":{"name":"Add To Queue"},"e39e":{"name":"Adjust"},"e630":{"name":"Airline Seat Flat"},"e631":{"name":"Airline Seat Flat Angled"},"e632":{"name":"Airline Seat Individual Suite"},"e633":{"name":"Airline Seat Legroom Extra"},"e634":{"name":"Airline Seat Legroom Normal"},"e635":{"name":"Airline Seat Legroom Reduced"},"e636":{"name":"Airline Seat Recline Extra"},"e637":{"name":"Airline Seat Recline Normal"},"e195":{"name":"Airplanemode Active"},"e194":{"name":"Airplanemode Inactive"},"e055":{"name":"Airplay"},"eb3c":{"name":"Airport Shuttle"},"e855":{"name":"Alarm"},"e856":{"name":"Alarm Add"},"e857":{"name":"Alarm Off"},"e858":{"name":"Alarm On"},"e019":{"name":"Album"},"eb3d":{"name":"All Inclusive"},"e90b":{"name":"All Out"},"e859":{"name":"Android"},"e85a":{"name":"Announcement"},"e5c3":{"name":"Apps"},"e149":{"name":"Archive"},"e5c4":{"name":"Arrow Back"},"e5db":{"name":"Arrow Downward"},"e5c5":{"name":"Arrow Drop Down"},"e5c6":{"name":"Arrow Drop Down Circle"},"e5c7":{"name":"Arrow Drop Up"},"e5c8":{"name":"Arrow Forward"},"e5d8":{"name":"Arrow Upward"},"e060":{"name":"Art Track"},"e85b":{"name":"Aspect Ratio"},"e85c":{"name":"Assessment"},"e85d":{"name":"Assignment"},"e85e":{"name":"Assignment Ind"},"e85f":{"name":"Assignment Late"},"e860":{"name":"Assignment Return"},"e861":{"name":"Assignment Returned"},"e862":{"name":"Assignment Turned In"},"e39f":{"name":"Assistant"},"e3a0":{"name":"Assistant Photo"},"e226":{"name":"Attach File"},"e227":{"name":"Attach Money"},"e2bc":{"name":"Attachment"},"e3a1":{"name":"Audiotrack"},"e863":{"name":"Autorenew"},"e01b":{"name":"Av Timer"},"e14a":{"name":"Backspace"},"e864":{"name":"Backup"},"e19c":{"name":"Battery Alert"},"e1a3":{"name":"Battery Charging Full"},"e1a4":{"name":"Battery Full"},"e1a5":{"name":"Battery Std"},"e1a6":{"name":"Battery Unknown"},"eb3e":{"name":"Beach Access"},"e52d":{"name":"Beenhere"},"e14b":{"name":"Block"},"e1a7":{"name":"Bluetooth"},"e60f":{"name":"Bluetooth Audio"},"e1a8":{"name":"Bluetooth Connected"},"e1a9":{"name":"Bluetooth Disabled"},"e1aa":{"name":"Bluetooth Searching"},"e3a2":{"name":"Blur Circular"},"e3a3":{"name":"Blur Linear"},"e3a4":{"name":"Blur Off"},"e3a5":{"name":"Blur On"},"e865":{"name":"Book"},"e866":{"name":"Bookmark"},"e867":{"name":"Bookmark Border"},"e228":{"name":"Border All"},"e229":{"name":"Border Bottom"},"e22a":{"name":"Border Clear"},"e22b":{"name":"Border Color"},"e22c":{"name":"Border Horizontal"},"e22d":{"name":"Border Inner"},"e22e":{"name":"Border Left"},"e22f":{"name":"Border Outer"},"e230":{"name":"Border Right"},"e231":{"name":"Border Style"},"e232":{"name":"Border Top"},"e233":{"name":"Border Vertical"},"e06b":{"name":"Branding Watermark"},"e3a6":{"name":"Brightness 1"},"e3a7":{"name":"Brightness 2"},"e3a8":{"name":"Brightness 3"},"e3a9":{"name":"Brightness 4"},"e3aa":{"name":"Brightness 5"},"e3ab":{"name":"Brightness 6"},"e3ac":{"name":"Brightness 7"},"e1ab":{"name":"Brightness Auto"},"e1ac":{"name":"Brightness High"},"e1ad":{"name":"Brightness Low"},"e1ae":{"name":"Brightness Medium"},"e3ad":{"name":"Broken Image"},"e3ae":{"name":"Brush"},"e6dd":{"name":"Bubble Chart"},"e868":{"name":"Bug Report"},"e869":{"name":"Build"},"e43c":{"name":"Burst Mode"},"e0af":{"name":"Business"},"eb3f":{"name":"Business Center"},"e86a":{"name":"Cached"},"e7e9":{"name":"Cake"},"e0b0":{"name":"Call"},"e0b1":{"name":"Call End"},"e0b2":{"name":"Call Made"},"e0b3":{"name":"Call Merge"},"e0b4":{"name":"Call Missed"},"e0e4":{"name":"Call Missed Outgoing"},"e0b5":{"name":"Call Received"},"e0b6":{"name":"Call Split"},"e06c":{"name":"Call To Action"},"e3af":{"name":"Camera"},"e3b0":{"name":"Camera Alt"},"e8fc":{"name":"Camera Enhance"},"e3b1":{"name":"Camera Front"},"e3b2":{"name":"Camera Rear"},"e3b3":{"name":"Camera Roll"},"e5c9":{"name":"Cancel"},"e8f6":{"name":"Card Giftcard"},"e8f7":{"name":"Card Membership"},"e8f8":{"name":"Card Travel"},"eb40":{"name":"Casino"},"e307":{"name":"Cast"},"e308":{"name":"Cast Connected"},"e3b4":{"name":"Center Focus Strong"},"e3b5":{"name":"Center Focus Weak"},"e86b":{"name":"Change History"},"e0b7":{"name":"Chat"},"e0ca":{"name":"Chat Bubble"},"e0cb":{"name":"Chat Bubble Outline"},"e5ca":{"name":"Check"},"e834":{"name":"Check Box"},"e835":{"name":"Check Box Outline Blank"},"e86c":{"name":"Check Circle"},"e5cb":{"name":"Chevron Left"},"e5cc":{"name":"Chevron Right"},"eb41":{"name":"Child Care"},"eb42":{"name":"Child Friendly"},"e86d":{"name":"Chrome Reader Mode"},"e86e":{"name":"Class"},"e14c":{"name":"Clear"},"e0b8":{"name":"Clear All"},"e5cd":{"name":"Close"},"e01c":{"name":"Closed Caption"},"e2bd":{"name":"Cloud"},"e2be":{"name":"Cloud Circle"},"e2bf":{"name":"Cloud Done"},"e2c0":{"name":"Cloud Download"},"e2c1":{"name":"Cloud Off"},"e2c2":{"name":"Cloud Queue"},"e2c3":{"name":"Cloud Upload"},"e86f":{"name":"Code"},"e3b6":{"name":"Collections"},"e431":{"name":"Collections Bookmark"},"e3b7":{"name":"Color Lens"},"e3b8":{"name":"Colorize"},"e0b9":{"name":"Comment"},"e3b9":{"name":"Compare"},"e915":{"name":"Compare Arrows"},"e30a":{"name":"Computer"},"e638":{"name":"Confirmation Number"},"e0d0":{"name":"Contact Mail"},"e0cf":{"name":"Contact Phone"},"e0ba":{"name":"Contacts"},"e14d":{"name":"Content Copy"},"e14e":{"name":"Content Cut"},"e14f":{"name":"Content Paste"},"e3ba":{"name":"Control Point"},"e3bb":{"name":"Control Point Duplicate"},"e90c":{"name":"Copyright"},"e150":{"name":"Create"},"e2cc":{"name":"Create New Folder"},"e870":{"name":"Credit Card"},"e3be":{"name":"Crop"},"e3bc":{"name":"Crop 16 9"},"e3bd":{"name":"Crop 3 2"},"e3bf":{"name":"Crop 5 4"},"e3c0":{"name":"Crop 7 5"},"e3c1":{"name":"Crop Din"},"e3c2":{"name":"Crop Free"},"e3c3":{"name":"Crop Landscape"},"e3c4":{"name":"Crop Original"},"e3c5":{"name":"Crop Portrait"},"e437":{"name":"Crop Rotate"},"e3c6":{"name":"Crop Square"},"e871":{"name":"Dashboard"},"e1af":{"name":"Data Usage"},"e916":{"name":"Date Range"},"e3c7":{"name":"Dehaze"},"e872":{"name":"Delete"},"e92b":{"name":"Delete Forever"},"e16c":{"name":"Delete Sweep"},"e873":{"name":"Description"},"e30b":{"name":"Desktop Mac"},"e30c":{"name":"Desktop Windows"},"e3c8":{"name":"Details"},"e30d":{"name":"Developer Board"},"e1b0":{"name":"Developer Mode"},"e335":{"name":"Device Hub"},"e1b1":{"name":"Devices"},"e337":{"name":"Devices Other"},"e0bb":{"name":"Dialer Sip"},"e0bc":{"name":"Dialpad"},"e52e":{"name":"Directions"},"e52f":{"name":"Directions Bike"},"e532":{"name":"Directions Boat"},"e530":{"name":"Directions Bus"},"e531":{"name":"Directions Car"},"e534":{"name":"Directions Railway"},"e566":{"name":"Directions Run"},"e533":{"name":"Directions Subway"},"e535":{"name":"Directions Transit"},"e536":{"name":"Directions Walk"},"e610":{"name":"Disc Full"},"e875":{"name":"Dns"},"e612":{"name":"Do Not Disturb"},"e611":{"name":"Do Not Disturb Alt"},"e643":{"name":"Do Not Disturb Off"},"e644":{"name":"Do Not Disturb On"},"e30e":{"name":"Dock"},"e7ee":{"name":"Domain"},"e876":{"name":"Done"},"e877":{"name":"Done All"},"e917":{"name":"Donut Large"},"e918":{"name":"Donut Small"},"e151":{"name":"Drafts"},"e25d":{"name":"Drag Handle"},"e613":{"name":"Drive Eta"},"e1b2":{"name":"Dvr"},"e3c9":{"name":"Edit"},"e568":{"name":"Edit Location"},"e8fb":{"name":"Eject"},"e0be":{"name":"Email"},"e63f":{"name":"Enhanced Encryption"},"e01d":{"name":"Equalizer"},"e000":{"name":"Error"},"e001":{"name":"Error Outline"},"e926":{"name":"Euro Symbol"},"e56d":{"name":"Ev Station"},"e878":{"name":"Event"},"e614":{"name":"Event Available"},"e615":{"name":"Event Busy"},"e616":{"name":"Event Note"},"e903":{"name":"Event Seat"},"e879":{"name":"Exit To App"},"e5ce":{"name":"Expand Less"},"e5cf":{"name":"Expand More"},"e01e":{"name":"Explicit"},"e87a":{"name":"Explore"},"e3ca":{"name":"Exposure"},"e3cb":{"name":"Exposure Neg 1"},"e3cc":{"name":"Exposure Neg 2"},"e3cd":{"name":"Exposure Plus 1"},"e3ce":{"name":"Exposure Plus 2"},"e3cf":{"name":"Exposure Zero"},"e87b":{"name":"Extension"},"e87c":{"name":"Face"},"e01f":{"name":"Fast Forward"},"e020":{"name":"Fast Rewind"},"e87d":{"name":"Favorite"},"e87e":{"name":"Favorite Border"},"e06d":{"name":"Featured Play List"},"e06e":{"name":"Featured Video"},"e87f":{"name":"Feedback"},"e05d":{"name":"Fiber Dvr"},"e061":{"name":"Fiber Manual Record"},"e05e":{"name":"Fiber New"},"e06a":{"name":"Fiber Pin"},"e062":{"name":"Fiber Smart Record"},"e2c4":{"name":"File Download"},"e2c6":{"name":"File Upload"},"e3d3":{"name":"Filter"},"e3d0":{"name":"Filter 1"},"e3d1":{"name":"Filter 2"},"e3d2":{"name":"Filter 3"},"e3d4":{"name":"Filter 4"},"e3d5":{"name":"Filter 5"},"e3d6":{"name":"Filter 6"},"e3d7":{"name":"Filter 7"},"e3d8":{"name":"Filter 8"},"e3d9":{"name":"Filter 9"},"e3da":{"name":"Filter 9 Plus"},"e3db":{"name":"Filter B And W"},"e3dc":{"name":"Filter Center Focus"},"e3dd":{"name":"Filter Drama"},"e3de":{"name":"Filter Frames"},"e3df":{"name":"Filter Hdr"},"e152":{"name":"Filter List"},"e3e0":{"name":"Filter None"},"e3e2":{"name":"Filter Tilt Shift"},"e3e3":{"name":"Filter Vintage"},"e880":{"name":"Find In Page"},"e881":{"name":"Find Replace"},"e90d":{"name":"Fingerprint"},"e5dc":{"name":"First Page"},"eb43":{"name":"Fitness Center"},"e153":{"name":"Flag"},"e3e4":{"name":"Flare"},"e3e5":{"name":"Flash Auto"},"e3e6":{"name":"Flash Off"},"e3e7":{"name":"Flash On"},"e539":{"name":"Flight"},"e904":{"name":"Flight Land"},"e905":{"name":"Flight Takeoff"},"e3e8":{"name":"Flip"},"e882":{"name":"Flip To Back"},"e883":{"name":"Flip To Front"},"e2c7":{"name":"Folder"},"e2c8":{"name":"Folder Open"},"e2c9":{"name":"Folder Shared"},"e617":{"name":"Folder Special"},"e167":{"name":"Font Download"},"e234":{"name":"Format Align Center"},"e235":{"name":"Format Align Justify"},"e236":{"name":"Format Align Left"},"e237":{"name":"Format Align Right"},"e238":{"name":"Format Bold"},"e239":{"name":"Format Clear"},"e23a":{"name":"Format Color Fill"},"e23b":{"name":"Format Color Reset"},"e23c":{"name":"Format Color Text"},"e23d":{"name":"Format Indent Decrease"},"e23e":{"name":"Format Indent Increase"},"e23f":{"name":"Format Italic"},"e240":{"name":"Format Line Spacing"},"e241":{"name":"Format List Bulleted"},"e242":{"name":"Format List Numbered"},"e243":{"name":"Format Paint"},"e244":{"name":"Format Quote"},"e25e":{"name":"Format Shapes"},"e245":{"name":"Format Size"},"e246":{"name":"Format Strikethrough"},"e247":{"name":"Format Textdirection L To R"},"e248":{"name":"Format Textdirection R To L"},"e249":{"name":"Format Underlined"},"e0bf":{"name":"Forum"},"e154":{"name":"Forward"},"e056":{"name":"Forward 10"},"e057":{"name":"Forward 30"},"e058":{"name":"Forward 5"},"eb44":{"name":"Free Breakfast"},"e5d0":{"name":"Fullscreen"},"e5d1":{"name":"Fullscreen Exit"},"e24a":{"name":"Functions"},"e927":{"name":"G Translate"},"e30f":{"name":"Gamepad"},"e021":{"name":"Games"},"e90e":{"name":"Gavel"},"e155":{"name":"Gesture"},"e884":{"name":"Get App"},"e908":{"name":"Gif"},"eb45":{"name":"Golf Course"},"e1b3":{"name":"Gps Fixed"},"e1b4":{"name":"Gps Not Fixed"},"e1b5":{"name":"Gps Off"},"e885":{"name":"Grade"},"e3e9":{"name":"Gradient"},"e3ea":{"name":"Grain"},"e1b8":{"name":"Graphic Eq"},"e3eb":{"name":"Grid Off"},"e3ec":{"name":"Grid On"},"e7ef":{"name":"Group"},"e7f0":{"name":"Group Add"},"e886":{"name":"Group Work"},"e052":{"name":"Hd"},"e3ed":{"name":"Hdr Off"},"e3ee":{"name":"Hdr On"},"e3f1":{"name":"Hdr Strong"},"e3f2":{"name":"Hdr Weak"},"e310":{"name":"Headset"},"e311":{"name":"Headset Mic"},"e3f3":{"name":"Healing"},"e023":{"name":"Hearing"},"e887":{"name":"Help"},"e8fd":{"name":"Help Outline"},"e024":{"name":"High Quality"},"e25f":{"name":"Highlight"},"e888":{"name":"Highlight Off"},"e889":{"name":"History"},"e88a":{"name":"Home"},"eb46":{"name":"Hot Tub"},"e53a":{"name":"Hotel"},"e88b":{"name":"Hourglass Empty"},"e88c":{"name":"Hourglass Full"},"e902":{"name":"Http"},"e88d":{"name":"Https"},"e3f4":{"name":"Image"},"e3f5":{"name":"Image Aspect Ratio"},"e0e0":{"name":"Import Contacts"},"e0c3":{"name":"Import Export"},"e912":{"name":"Important Devices"},"e156":{"name":"Inbox"},"e909":{"name":"Indeterminate Check Box"},"e88e":{"name":"Info"},"e88f":{"name":"Info Outline"},"e890":{"name":"Input"},"e24b":{"name":"Insert Chart"},"e24c":{"name":"Insert Comment"},"e24d":{"name":"Insert Drive File"},"e24e":{"name":"Insert Emoticon"},"e24f":{"name":"Insert Invitation"},"e250":{"name":"Insert Link"},"e251":{"name":"Insert Photo"},"e891":{"name":"Invert Colors"},"e0c4":{"name":"Invert Colors Off"},"e3f6":{"name":"Iso"},"e312":{"name":"Keyboard"},"e313":{"name":"Keyboard Arrow Down"},"e314":{"name":"Keyboard Arrow Left"},"e315":{"name":"Keyboard Arrow Right"},"e316":{"name":"Keyboard Arrow Up"},"e317":{"name":"Keyboard Backspace"},"e318":{"name":"Keyboard Capslock"},"e31a":{"name":"Keyboard Hide"},"e31b":{"name":"Keyboard Return"},"e31c":{"name":"Keyboard Tab"},"e31d":{"name":"Keyboard Voice"},"eb47":{"name":"Kitchen"},"e892":{"name":"Label"},"e893":{"name":"Label Outline"},"e3f7":{"name":"Landscape"},"e894":{"name":"Language"},"e31e":{"name":"Laptop"},"e31f":{"name":"Laptop Chromebook"},"e320":{"name":"Laptop Mac"},"e321":{"name":"Laptop Windows"},"e5dd":{"name":"Last Page"},"e895":{"name":"Launch"},"e53b":{"name":"Layers"},"e53c":{"name":"Layers Clear"},"e3f8":{"name":"Leak Add"},"e3f9":{"name":"Leak Remove"},"e3fa":{"name":"Lens"},"e02e":{"name":"Library Add"},"e02f":{"name":"Library Books"},"e030":{"name":"Library Music"},"e90f":{"name":"Lightbulb Outline"},"e919":{"name":"Line Style"},"e91a":{"name":"Line Weight"},"e260":{"name":"Linear Scale"},"e157":{"name":"Link"},"e438":{"name":"Linked Camera"},"e896":{"name":"List"},"e0c6":{"name":"Live Help"},"e639":{"name":"Live Tv"},"e53f":{"name":"Local Activity"},"e53d":{"name":"Local Airport"},"e53e":{"name":"Local Atm"},"e540":{"name":"Local Bar"},"e541":{"name":"Local Cafe"},"e542":{"name":"Local Car Wash"},"e543":{"name":"Local Convenience Store"},"e556":{"name":"Local Dining"},"e544":{"name":"Local Drink"},"e545":{"name":"Local Florist"},"e546":{"name":"Local Gas Station"},"e547":{"name":"Local Grocery Store"},"e548":{"name":"Local Hospital"},"e549":{"name":"Local Hotel"},"e54a":{"name":"Local Laundry Service"},"e54b":{"name":"Local Library"},"e54c":{"name":"Local Mall"},"e54d":{"name":"Local Movies"},"e54e":{"name":"Local Offer"},"e54f":{"name":"Local Parking"},"e550":{"name":"Local Pharmacy"},"e551":{"name":"Local Phone"},"e552":{"name":"Local Pizza"},"e553":{"name":"Local Play"},"e554":{"name":"Local Post Office"},"e555":{"name":"Local Printshop"},"e557":{"name":"Local See"},"e558":{"name":"Local Shipping"},"e559":{"name":"Local Taxi"},"e7f1":{"name":"Location City"},"e1b6":{"name":"Location Disabled"},"e0c7":{"name":"Location Off"},"e0c8":{"name":"Location On"},"e1b7":{"name":"Location Searching"},"e897":{"name":"Lock"},"e898":{"name":"Lock Open"},"e899":{"name":"Lock Outline"},"e3fc":{"name":"Looks"},"e3fb":{"name":"Looks 3"},"e3fd":{"name":"Looks 4"},"e3fe":{"name":"Looks 5"},"e3ff":{"name":"Looks 6"},"e400":{"name":"Looks One"},"e401":{"name":"Looks Two"},"e028":{"name":"Loop"},"e402":{"name":"Loupe"},"e16d":{"name":"Low Priority"},"e89a":{"name":"Loyalty"},"e158":{"name":"Mail"},"e0e1":{"name":"Mail Outline"},"e55b":{"name":"Map"},"e159":{"name":"Markunread"},"e89b":{"name":"Markunread Mailbox"},"e322":{"name":"Memory"},"e5d2":{"name":"Menu"},"e252":{"name":"Merge Type"},"e0c9":{"name":"Message"},"e029":{"name":"Mic"},"e02a":{"name":"Mic None"},"e02b":{"name":"Mic Off"},"e618":{"name":"Mms"},"e253":{"name":"Mode Comment"},"e254":{"name":"Mode Edit"},"e263":{"name":"Monetization On"},"e25c":{"name":"Money Off"},"e403":{"name":"Monochrome Photos"},"e7f2":{"name":"Mood"},"e7f3":{"name":"Mood Bad"},"e619":{"name":"More"},"e5d3":{"name":"More Horiz"},"e5d4":{"name":"More Vert"},"e91b":{"name":"Motorcycle"},"e323":{"name":"Mouse"},"e168":{"name":"Move To Inbox"},"e02c":{"name":"Movie"},"e404":{"name":"Movie Creation"},"e43a":{"name":"Movie Filter"},"e6df":{"name":"Multiline Chart"},"e405":{"name":"Music Note"},"e063":{"name":"Music Video"},"e55c":{"name":"My Location"},"e406":{"name":"Nature"},"e407":{"name":"Nature People"},"e408":{"name":"Navigate Before"},"e409":{"name":"Navigate Next"},"e55d":{"name":"Navigation"},"e569":{"name":"Near Me"},"e1b9":{"name":"Network Cell"},"e640":{"name":"Network Check"},"e61a":{"name":"Network Locked"},"e1ba":{"name":"Network Wifi"},"e031":{"name":"New Releases"},"e16a":{"name":"Next Week"},"e1bb":{"name":"Nfc"},"e641":{"name":"No Encryption"},"e0cc":{"name":"No Sim"},"e033":{"name":"Not Interested"},"e06f":{"name":"Note"},"e89c":{"name":"Note Add"},"e7f4":{"name":"Notifications"},"e7f7":{"name":"Notifications Active"},"e7f5":{"name":"Notifications None"},"e7f6":{"name":"Notifications Off"},"e7f8":{"name":"Notifications Paused"},"e90a":{"name":"Offline Pin"},"e63a":{"name":"Ondemand Video"},"e91c":{"name":"Opacity"},"e89d":{"name":"Open In Browser"},"e89e":{"name":"Open In New"},"e89f":{"name":"Open With"},"e7f9":{"name":"Pages"},"e8a0":{"name":"Pageview"},"e40a":{"name":"Palette"},"e925":{"name":"Pan Tool"},"e40b":{"name":"Panorama"},"e40c":{"name":"Panorama Fish Eye"},"e40d":{"name":"Panorama Horizontal"},"e40e":{"name":"Panorama Vertical"},"e40f":{"name":"Panorama Wide Angle"},"e7fa":{"name":"Party Mode"},"e034":{"name":"Pause"},"e035":{"name":"Pause Circle Filled"},"e036":{"name":"Pause Circle Outline"},"e8a1":{"name":"Payment"},"e7fb":{"name":"People"},"e7fc":{"name":"People Outline"},"e8a2":{"name":"Perm Camera Mic"},"e8a3":{"name":"Perm Contact Calendar"},"e8a4":{"name":"Perm Data Setting"},"e8a5":{"name":"Perm Device Information"},"e8a6":{"name":"Perm Identity"},"e8a7":{"name":"Perm Media"},"e8a8":{"name":"Perm Phone Msg"},"e8a9":{"name":"Perm Scan Wifi"},"e7fd":{"name":"Person"},"e7fe":{"name":"Person Add"},"e7ff":{"name":"Person Outline"},"e55a":{"name":"Person Pin"},"e56a":{"name":"Person Pin Circle"},"e63b":{"name":"Personal Video"},"e91d":{"name":"Pets"},"e0cd":{"name":"Phone"},"e324":{"name":"Phone Android"},"e61b":{"name":"Phone Bluetooth Speaker"},"e61c":{"name":"Phone Forwarded"},"e61d":{"name":"Phone In Talk"},"e325":{"name":"Phone Iphone"},"e61e":{"name":"Phone Locked"},"e61f":{"name":"Phone Missed"},"e620":{"name":"Phone Paused"},"e326":{"name":"Phonelink"},"e0db":{"name":"Phonelink Erase"},"e0dc":{"name":"Phonelink Lock"},"e327":{"name":"Phonelink Off"},"e0dd":{"name":"Phonelink Ring"},"e0de":{"name":"Phonelink Setup"},"e410":{"name":"Photo"},"e411":{"name":"Photo Album"},"e412":{"name":"Photo Camera"},"e43b":{"name":"Photo Filter"},"e413":{"name":"Photo Library"},"e432":{"name":"Photo Size Select Actual"},"e433":{"name":"Photo Size Select Large"},"e434":{"name":"Photo Size Select Small"},"e415":{"name":"Picture As Pdf"},"e8aa":{"name":"Picture In Picture"},"e911":{"name":"Picture In Picture Alt"},"e6c4":{"name":"Pie Chart"},"e6c5":{"name":"Pie Chart Outlined"},"e55e":{"name":"Pin Drop"},"e55f":{"name":"Place"},"e037":{"name":"Play Arrow"},"e038":{"name":"Play Circle Filled"},"e039":{"name":"Play Circle Outline"},"e906":{"name":"Play For Work"},"e03b":{"name":"Playlist Add"},"e065":{"name":"Playlist Add Check"},"e05f":{"name":"Playlist Play"},"e800":{"name":"Plus One"},"e801":{"name":"Poll"},"e8ab":{"name":"Polymer"},"eb48":{"name":"Pool"},"e0ce":{"name":"Portable Wifi Off"},"e416":{"name":"Portrait"},"e63c":{"name":"Power"},"e336":{"name":"Power Input"},"e8ac":{"name":"Power Settings New"},"e91e":{"name":"Pregnant Woman"},"e0df":{"name":"Present To All"},"e8ad":{"name":"Print"},"e645":{"name":"Priority High"},"e80b":{"name":"Public"},"e255":{"name":"Publish"},"e8ae":{"name":"Query Builder"},"e8af":{"name":"Question Answer"},"e03c":{"name":"Queue"},"e03d":{"name":"Queue Music"},"e066":{"name":"Queue Play Next"},"e03e":{"name":"Radio"},"e837":{"name":"Radio Button Checked"},"e836":{"name":"Radio Button Unchecked"},"e560":{"name":"Rate Review"},"e8b0":{"name":"Receipt"},"e03f":{"name":"Recent Actors"},"e91f":{"name":"Record Voice Over"},"e8b1":{"name":"Redeem"},"e15a":{"name":"Redo"},"e5d5":{"name":"Refresh"},"e15b":{"name":"Remove"},"e15c":{"name":"Remove Circle"},"e15d":{"name":"Remove Circle Outline"},"e067":{"name":"Remove From Queue"},"e417":{"name":"Remove Red Eye"},"e928":{"name":"Remove Shopping Cart"},"e8fe":{"name":"Reorder"},"e040":{"name":"Repeat"},"e041":{"name":"Repeat One"},"e042":{"name":"Replay"},"e059":{"name":"Replay 10"},"e05a":{"name":"Replay 30"},"e05b":{"name":"Replay 5"},"e15e":{"name":"Reply"},"e15f":{"name":"Reply All"},"e160":{"name":"Report"},"e8b2":{"name":"Report Problem"},"e56c":{"name":"Restaurant"},"e561":{"name":"Restaurant Menu"},"e8b3":{"name":"Restore"},"e929":{"name":"Restore Page"},"e0d1":{"name":"Ring Volume"},"e8b4":{"name":"Room"},"eb49":{"name":"Room Service"},"e418":{"name":"Rotate 90 Degrees Ccw"},"e419":{"name":"Rotate Left"},"e41a":{"name":"Rotate Right"},"e920":{"name":"Rounded Corner"},"e328":{"name":"Router"},"e921":{"name":"Rowing"},"e0e5":{"name":"Rss Feed"},"e642":{"name":"Rv Hookup"},"e562":{"name":"Satellite"},"e161":{"name":"Save"},"e329":{"name":"Scanner"},"e8b5":{"name":"Schedule"},"e80c":{"name":"School"},"e1be":{"name":"Screen Lock Landscape"},"e1bf":{"name":"Screen Lock Portrait"},"e1c0":{"name":"Screen Lock Rotation"},"e1c1":{"name":"Screen Rotation"},"e0e2":{"name":"Screen Share"},"e623":{"name":"Sd Card"},"e1c2":{"name":"Sd Storage"},"e8b6":{"name":"Search"},"e32a":{"name":"Security"},"e162":{"name":"Select All"},"e163":{"name":"Send"},"e811":{"name":"Sentiment Dissatisfied"},"e812":{"name":"Sentiment Neutral"},"e813":{"name":"Sentiment Satisfied"},"e814":{"name":"Sentiment Very Dissatisfied"},"e815":{"name":"Sentiment Very Satisfied"},"e8b8":{"name":"Settings"},"e8b9":{"name":"Settings Applications"},"e8ba":{"name":"Settings Backup Restore"},"e8bb":{"name":"Settings Bluetooth"},"e8bd":{"name":"Settings Brightness"},"e8bc":{"name":"Settings Cell"},"e8be":{"name":"Settings Ethernet"},"e8bf":{"name":"Settings Input Antenna"},"e8c0":{"name":"Settings Input Component"},"e8c1":{"name":"Settings Input Composite"},"e8c2":{"name":"Settings Input Hdmi"},"e8c3":{"name":"Settings Input Svideo"},"e8c4":{"name":"Settings Overscan"},"e8c5":{"name":"Settings Phone"},"e8c6":{"name":"Settings Power"},"e8c7":{"name":"Settings Remote"},"e1c3":{"name":"Settings System Daydream"},"e8c8":{"name":"Settings Voice"},"e80d":{"name":"Share"},"e8c9":{"name":"Shop"},"e8ca":{"name":"Shop Two"},"e8cb":{"name":"Shopping Basket"},"e8cc":{"name":"Shopping Cart"},"e261":{"name":"Short Text"},"e6e1":{"name":"Show Chart"},"e043":{"name":"Shuffle"},"e1c8":{"name":"Signal Cellular 4 Bar"},"e1cd":{"name":"Signal Cellular Connected No Internet 4 Bar"},"e1ce":{"name":"Signal Cellular No Sim"},"e1cf":{"name":"Signal Cellular Null"},"e1d0":{"name":"Signal Cellular Off"},"e1d8":{"name":"Signal Wifi 4 Bar"},"e1d9":{"name":"Signal Wifi 4 Bar Lock"},"e1da":{"name":"Signal Wifi Off"},"e32b":{"name":"Sim Card"},"e624":{"name":"Sim Card Alert"},"e044":{"name":"Skip Next"},"e045":{"name":"Skip Previous"},"e41b":{"name":"Slideshow"},"e068":{"name":"Slow Motion Video"},"e32c":{"name":"Smartphone"},"eb4a":{"name":"Smoke Free"},"eb4b":{"name":"Smoking Rooms"},"e625":{"name":"Sms"},"e626":{"name":"Sms Failed"},"e046":{"name":"Snooze"},"e164":{"name":"Sort"},"e053":{"name":"Sort By Alpha"},"eb4c":{"name":"Spa"},"e256":{"name":"Space Bar"},"e32d":{"name":"Speaker"},"e32e":{"name":"Speaker Group"},"e8cd":{"name":"Speaker Notes"},"e92a":{"name":"Speaker Notes Off"},"e0d2":{"name":"Speaker Phone"},"e8ce":{"name":"Spellcheck"},"e838":{"name":"Star"},"e83a":{"name":"Star Border"},"e839":{"name":"Star Half"},"e8d0":{"name":"Stars"},"e0d3":{"name":"Stay Current Landscape"},"e0d4":{"name":"Stay Current Portrait"},"e0d5":{"name":"Stay Primary Landscape"},"e0d6":{"name":"Stay Primary Portrait"},"e047":{"name":"Stop"},"e0e3":{"name":"Stop Screen Share"},"e1db":{"name":"Storage"},"e8d1":{"name":"Store"},"e563":{"name":"Store Mall Directory"},"e41c":{"name":"Straighten"},"e56e":{"name":"Streetview"},"e257":{"name":"Strikethrough S"},"e41d":{"name":"Style"},"e5d9":{"name":"Subdirectory Arrow Left"},"e5da":{"name":"Subdirectory Arrow Right"},"e8d2":{"name":"Subject"},"e064":{"name":"Subscriptions"},"e048":{"name":"Subtitles"},"e56f":{"name":"Subway"},"e8d3":{"name":"Supervisor Account"},"e049":{"name":"Surround Sound"},"e0d7":{"name":"Swap Calls"},"e8d4":{"name":"Swap Horiz"},"e8d5":{"name":"Swap Vert"},"e8d6":{"name":"Swap Vertical Circle"},"e41e":{"name":"Switch Camera"},"e41f":{"name":"Switch Video"},"e627":{"name":"Sync"},"e628":{"name":"Sync Disabled"},"e629":{"name":"Sync Problem"},"e62a":{"name":"System Update"},"e8d7":{"name":"System Update Alt"},"e8d8":{"name":"Tab"},"e8d9":{"name":"Tab Unselected"},"e32f":{"name":"Tablet"},"e330":{"name":"Tablet Android"},"e331":{"name":"Tablet Mac"},"e420":{"name":"Tag Faces"},"e62b":{"name":"Tap And Play"},"e564":{"name":"Terrain"},"e262":{"name":"Text Fields"},"e165":{"name":"Text Format"},"e0d8":{"name":"Textsms"},"e421":{"name":"Texture"},"e8da":{"name":"Theaters"},"e8db":{"name":"Thumb Down"},"e8dc":{"name":"Thumb Up"},"e8dd":{"name":"Thumbs Up Down"},"e62c":{"name":"Time To Leave"},"e422":{"name":"Timelapse"},"e922":{"name":"Timeline"},"e425":{"name":"Timer"},"e423":{"name":"Timer 10"},"e424":{"name":"Timer 3"},"e426":{"name":"Timer Off"},"e264":{"name":"Title"},"e8de":{"name":"Toc"},"e8df":{"name":"Today"},"e8e0":{"name":"Toll"},"e427":{"name":"Tonality"},"e913":{"name":"Touch App"},"e332":{"name":"Toys"},"e8e1":{"name":"Track Changes"},"e565":{"name":"Traffic"},"e570":{"name":"Train"},"e571":{"name":"Tram"},"e572":{"name":"Transfer Within A Station"},"e428":{"name":"Transform"},"e8e2":{"name":"Translate"},"e8e3":{"name":"Trending Down"},"e8e4":{"name":"Trending Flat"},"e8e5":{"name":"Trending Up"},"e429":{"name":"Tune"},"e8e6":{"name":"Turned In"},"e8e7":{"name":"Turned In Not"},"e333":{"name":"Tv"},"e169":{"name":"Unarchive"},"e166":{"name":"Undo"},"e5d6":{"name":"Unfold Less"},"e5d7":{"name":"Unfold More"},"e923":{"name":"Update"},"e1e0":{"name":"Usb"},"e8e8":{"name":"Verified User"},"e258":{"name":"Vertical Align Bottom"},"e259":{"name":"Vertical Align Center"},"e25a":{"name":"Vertical Align Top"},"e62d":{"name":"Vibration"},"e070":{"name":"Video Call"},"e071":{"name":"Video Label"},"e04a":{"name":"Video Library"},"e04b":{"name":"Videocam"},"e04c":{"name":"Videocam Off"},"e338":{"name":"Videogame Asset"},"e8e9":{"name":"View Agenda"},"e8ea":{"name":"View Array"},"e8eb":{"name":"View Carousel"},"e8ec":{"name":"View Column"},"e42a":{"name":"View Comfy"},"e42b":{"name":"View Compact"},"e8ed":{"name":"View Day"},"e8ee":{"name":"View Headline"},"e8ef":{"name":"View List"},"e8f0":{"name":"View Module"},"e8f1":{"name":"View Quilt"},"e8f2":{"name":"View Stream"},"e8f3":{"name":"View Week"},"e435":{"name":"Vignette"},"e8f4":{"name":"Visibility"},"e8f5":{"name":"Visibility Off"},"e62e":{"name":"Voice Chat"},"e0d9":{"name":"Voicemail"},"e04d":{"name":"Volume Down"},"e04e":{"name":"Volume Mute"},"e04f":{"name":"Volume Off"},"e050":{"name":"Volume Up"},"e0da":{"name":"Vpn Key"},"e62f":{"name":"Vpn Lock"},"e1bc":{"name":"Wallpaper"},"e002":{"name":"Warning"},"e334":{"name":"Watch"},"e924":{"name":"Watch Later"},"e42c":{"name":"Wb Auto"},"e42d":{"name":"Wb Cloudy"},"e42e":{"name":"Wb Incandescent"},"e436":{"name":"Wb Iridescent"},"e430":{"name":"Wb Sunny"},"e63d":{"name":"Wc"},"e051":{"name":"Web"},"e069":{"name":"Web Asset"},"e16b":{"name":"Weekend"},"e80e":{"name":"Whatshot"},"e1bd":{"name":"Widgets"},"e63e":{"name":"Wifi"},"e1e1":{"name":"Wifi Lock"},"e1e2":{"name":"Wifi Tethering"},"e8f9":{"name":"Work"},"e25b":{"name":"Wrap Text"},"e8fa":{"name":"Youtube Searched For"},"e8ff":{"name":"Zoom In"},"e900":{"name":"Zoom Out"},"e56b":{"name":"Zoom Out Map"}}} -------------------------------------------------------------------------------- /lib/style/iconfont/MaterialIcons-Regular.ijmap: -------------------------------------------------------------------------------- 1 | {"icons":{"e84d":{"name":"3d Rotation"},"eb3b":{"name":"Ac Unit"},"e190":{"name":"Access Alarm"},"e191":{"name":"Access Alarms"},"e192":{"name":"Access Time"},"e84e":{"name":"Accessibility"},"e914":{"name":"Accessible"},"e84f":{"name":"Account Balance"},"e850":{"name":"Account Balance Wallet"},"e851":{"name":"Account Box"},"e853":{"name":"Account Circle"},"e60e":{"name":"Adb"},"e145":{"name":"Add"},"e439":{"name":"Add A Photo"},"e193":{"name":"Add Alarm"},"e003":{"name":"Add Alert"},"e146":{"name":"Add Box"},"e147":{"name":"Add Circle"},"e148":{"name":"Add Circle Outline"},"e567":{"name":"Add Location"},"e854":{"name":"Add Shopping Cart"},"e39d":{"name":"Add To Photos"},"e05c":{"name":"Add To Queue"},"e39e":{"name":"Adjust"},"e630":{"name":"Airline Seat Flat"},"e631":{"name":"Airline Seat Flat Angled"},"e632":{"name":"Airline Seat Individual Suite"},"e633":{"name":"Airline Seat Legroom Extra"},"e634":{"name":"Airline Seat Legroom Normal"},"e635":{"name":"Airline Seat Legroom Reduced"},"e636":{"name":"Airline Seat Recline Extra"},"e637":{"name":"Airline Seat Recline Normal"},"e195":{"name":"Airplanemode Active"},"e194":{"name":"Airplanemode Inactive"},"e055":{"name":"Airplay"},"eb3c":{"name":"Airport Shuttle"},"e855":{"name":"Alarm"},"e856":{"name":"Alarm Add"},"e857":{"name":"Alarm Off"},"e858":{"name":"Alarm On"},"e019":{"name":"Album"},"eb3d":{"name":"All Inclusive"},"e90b":{"name":"All Out"},"e859":{"name":"Android"},"e85a":{"name":"Announcement"},"e5c3":{"name":"Apps"},"e149":{"name":"Archive"},"e5c4":{"name":"Arrow Back"},"e5db":{"name":"Arrow Downward"},"e5c5":{"name":"Arrow Drop Down"},"e5c6":{"name":"Arrow Drop Down Circle"},"e5c7":{"name":"Arrow Drop Up"},"e5c8":{"name":"Arrow Forward"},"e5d8":{"name":"Arrow Upward"},"e060":{"name":"Art Track"},"e85b":{"name":"Aspect Ratio"},"e85c":{"name":"Assessment"},"e85d":{"name":"Assignment"},"e85e":{"name":"Assignment Ind"},"e85f":{"name":"Assignment Late"},"e860":{"name":"Assignment Return"},"e861":{"name":"Assignment Returned"},"e862":{"name":"Assignment Turned In"},"e39f":{"name":"Assistant"},"e3a0":{"name":"Assistant Photo"},"e226":{"name":"Attach File"},"e227":{"name":"Attach Money"},"e2bc":{"name":"Attachment"},"e3a1":{"name":"Audiotrack"},"e863":{"name":"Autorenew"},"e01b":{"name":"Av Timer"},"e14a":{"name":"Backspace"},"e864":{"name":"Backup"},"e19c":{"name":"Battery Alert"},"e1a3":{"name":"Battery Charging Full"},"e1a4":{"name":"Battery Full"},"e1a5":{"name":"Battery Std"},"e1a6":{"name":"Battery Unknown"},"eb3e":{"name":"Beach Access"},"e52d":{"name":"Beenhere"},"e14b":{"name":"Block"},"e1a7":{"name":"Bluetooth"},"e60f":{"name":"Bluetooth Audio"},"e1a8":{"name":"Bluetooth Connected"},"e1a9":{"name":"Bluetooth Disabled"},"e1aa":{"name":"Bluetooth Searching"},"e3a2":{"name":"Blur Circular"},"e3a3":{"name":"Blur Linear"},"e3a4":{"name":"Blur Off"},"e3a5":{"name":"Blur On"},"e865":{"name":"Book"},"e866":{"name":"Bookmark"},"e867":{"name":"Bookmark Border"},"e228":{"name":"Border All"},"e229":{"name":"Border Bottom"},"e22a":{"name":"Border Clear"},"e22b":{"name":"Border Color"},"e22c":{"name":"Border Horizontal"},"e22d":{"name":"Border Inner"},"e22e":{"name":"Border Left"},"e22f":{"name":"Border Outer"},"e230":{"name":"Border Right"},"e231":{"name":"Border Style"},"e232":{"name":"Border Top"},"e233":{"name":"Border Vertical"},"e06b":{"name":"Branding Watermark"},"e3a6":{"name":"Brightness 1"},"e3a7":{"name":"Brightness 2"},"e3a8":{"name":"Brightness 3"},"e3a9":{"name":"Brightness 4"},"e3aa":{"name":"Brightness 5"},"e3ab":{"name":"Brightness 6"},"e3ac":{"name":"Brightness 7"},"e1ab":{"name":"Brightness Auto"},"e1ac":{"name":"Brightness High"},"e1ad":{"name":"Brightness Low"},"e1ae":{"name":"Brightness Medium"},"e3ad":{"name":"Broken Image"},"e3ae":{"name":"Brush"},"e6dd":{"name":"Bubble Chart"},"e868":{"name":"Bug Report"},"e869":{"name":"Build"},"e43c":{"name":"Burst Mode"},"e0af":{"name":"Business"},"eb3f":{"name":"Business Center"},"e86a":{"name":"Cached"},"e7e9":{"name":"Cake"},"e0b0":{"name":"Call"},"e0b1":{"name":"Call End"},"e0b2":{"name":"Call Made"},"e0b3":{"name":"Call Merge"},"e0b4":{"name":"Call Missed"},"e0e4":{"name":"Call Missed Outgoing"},"e0b5":{"name":"Call Received"},"e0b6":{"name":"Call Split"},"e06c":{"name":"Call To Action"},"e3af":{"name":"Camera"},"e3b0":{"name":"Camera Alt"},"e8fc":{"name":"Camera Enhance"},"e3b1":{"name":"Camera Front"},"e3b2":{"name":"Camera Rear"},"e3b3":{"name":"Camera Roll"},"e5c9":{"name":"Cancel"},"e8f6":{"name":"Card Giftcard"},"e8f7":{"name":"Card Membership"},"e8f8":{"name":"Card Travel"},"eb40":{"name":"Casino"},"e307":{"name":"Cast"},"e308":{"name":"Cast Connected"},"e3b4":{"name":"Center Focus Strong"},"e3b5":{"name":"Center Focus Weak"},"e86b":{"name":"Change History"},"e0b7":{"name":"Chat"},"e0ca":{"name":"Chat Bubble"},"e0cb":{"name":"Chat Bubble Outline"},"e5ca":{"name":"Check"},"e834":{"name":"Check Box"},"e835":{"name":"Check Box Outline Blank"},"e86c":{"name":"Check Circle"},"e5cb":{"name":"Chevron Left"},"e5cc":{"name":"Chevron Right"},"eb41":{"name":"Child Care"},"eb42":{"name":"Child Friendly"},"e86d":{"name":"Chrome Reader Mode"},"e86e":{"name":"Class"},"e14c":{"name":"Clear"},"e0b8":{"name":"Clear All"},"e5cd":{"name":"Close"},"e01c":{"name":"Closed Caption"},"e2bd":{"name":"Cloud"},"e2be":{"name":"Cloud Circle"},"e2bf":{"name":"Cloud Done"},"e2c0":{"name":"Cloud Download"},"e2c1":{"name":"Cloud Off"},"e2c2":{"name":"Cloud Queue"},"e2c3":{"name":"Cloud Upload"},"e86f":{"name":"Code"},"e3b6":{"name":"Collections"},"e431":{"name":"Collections Bookmark"},"e3b7":{"name":"Color Lens"},"e3b8":{"name":"Colorize"},"e0b9":{"name":"Comment"},"e3b9":{"name":"Compare"},"e915":{"name":"Compare Arrows"},"e30a":{"name":"Computer"},"e638":{"name":"Confirmation Number"},"e0d0":{"name":"Contact Mail"},"e0cf":{"name":"Contact Phone"},"e0ba":{"name":"Contacts"},"e14d":{"name":"Content Copy"},"e14e":{"name":"Content Cut"},"e14f":{"name":"Content Paste"},"e3ba":{"name":"Control Point"},"e3bb":{"name":"Control Point Duplicate"},"e90c":{"name":"Copyright"},"e150":{"name":"Create"},"e2cc":{"name":"Create New Folder"},"e870":{"name":"Credit Card"},"e3be":{"name":"Crop"},"e3bc":{"name":"Crop 16 9"},"e3bd":{"name":"Crop 3 2"},"e3bf":{"name":"Crop 5 4"},"e3c0":{"name":"Crop 7 5"},"e3c1":{"name":"Crop Din"},"e3c2":{"name":"Crop Free"},"e3c3":{"name":"Crop Landscape"},"e3c4":{"name":"Crop Original"},"e3c5":{"name":"Crop Portrait"},"e437":{"name":"Crop Rotate"},"e3c6":{"name":"Crop Square"},"e871":{"name":"Dashboard"},"e1af":{"name":"Data Usage"},"e916":{"name":"Date Range"},"e3c7":{"name":"Dehaze"},"e872":{"name":"Delete"},"e92b":{"name":"Delete Forever"},"e16c":{"name":"Delete Sweep"},"e873":{"name":"Description"},"e30b":{"name":"Desktop Mac"},"e30c":{"name":"Desktop Windows"},"e3c8":{"name":"Details"},"e30d":{"name":"Developer Board"},"e1b0":{"name":"Developer Mode"},"e335":{"name":"Device Hub"},"e1b1":{"name":"Devices"},"e337":{"name":"Devices Other"},"e0bb":{"name":"Dialer Sip"},"e0bc":{"name":"Dialpad"},"e52e":{"name":"Directions"},"e52f":{"name":"Directions Bike"},"e532":{"name":"Directions Boat"},"e530":{"name":"Directions Bus"},"e531":{"name":"Directions Car"},"e534":{"name":"Directions Railway"},"e566":{"name":"Directions Run"},"e533":{"name":"Directions Subway"},"e535":{"name":"Directions Transit"},"e536":{"name":"Directions Walk"},"e610":{"name":"Disc Full"},"e875":{"name":"Dns"},"e612":{"name":"Do Not Disturb"},"e611":{"name":"Do Not Disturb Alt"},"e643":{"name":"Do Not Disturb Off"},"e644":{"name":"Do Not Disturb On"},"e30e":{"name":"Dock"},"e7ee":{"name":"Domain"},"e876":{"name":"Done"},"e877":{"name":"Done All"},"e917":{"name":"Donut Large"},"e918":{"name":"Donut Small"},"e151":{"name":"Drafts"},"e25d":{"name":"Drag Handle"},"e613":{"name":"Drive Eta"},"e1b2":{"name":"Dvr"},"e3c9":{"name":"Edit"},"e568":{"name":"Edit Location"},"e8fb":{"name":"Eject"},"e0be":{"name":"Email"},"e63f":{"name":"Enhanced Encryption"},"e01d":{"name":"Equalizer"},"e000":{"name":"Error"},"e001":{"name":"Error Outline"},"e926":{"name":"Euro Symbol"},"e56d":{"name":"Ev Station"},"e878":{"name":"Event"},"e614":{"name":"Event Available"},"e615":{"name":"Event Busy"},"e616":{"name":"Event Note"},"e903":{"name":"Event Seat"},"e879":{"name":"Exit To App"},"e5ce":{"name":"Expand Less"},"e5cf":{"name":"Expand More"},"e01e":{"name":"Explicit"},"e87a":{"name":"Explore"},"e3ca":{"name":"Exposure"},"e3cb":{"name":"Exposure Neg 1"},"e3cc":{"name":"Exposure Neg 2"},"e3cd":{"name":"Exposure Plus 1"},"e3ce":{"name":"Exposure Plus 2"},"e3cf":{"name":"Exposure Zero"},"e87b":{"name":"Extension"},"e87c":{"name":"Face"},"e01f":{"name":"Fast Forward"},"e020":{"name":"Fast Rewind"},"e87d":{"name":"Favorite"},"e87e":{"name":"Favorite Border"},"e06d":{"name":"Featured Play List"},"e06e":{"name":"Featured Video"},"e87f":{"name":"Feedback"},"e05d":{"name":"Fiber Dvr"},"e061":{"name":"Fiber Manual Record"},"e05e":{"name":"Fiber New"},"e06a":{"name":"Fiber Pin"},"e062":{"name":"Fiber Smart Record"},"e2c4":{"name":"File Download"},"e2c6":{"name":"File Upload"},"e3d3":{"name":"Filter"},"e3d0":{"name":"Filter 1"},"e3d1":{"name":"Filter 2"},"e3d2":{"name":"Filter 3"},"e3d4":{"name":"Filter 4"},"e3d5":{"name":"Filter 5"},"e3d6":{"name":"Filter 6"},"e3d7":{"name":"Filter 7"},"e3d8":{"name":"Filter 8"},"e3d9":{"name":"Filter 9"},"e3da":{"name":"Filter 9 Plus"},"e3db":{"name":"Filter B And W"},"e3dc":{"name":"Filter Center Focus"},"e3dd":{"name":"Filter Drama"},"e3de":{"name":"Filter Frames"},"e3df":{"name":"Filter Hdr"},"e152":{"name":"Filter List"},"e3e0":{"name":"Filter None"},"e3e2":{"name":"Filter Tilt Shift"},"e3e3":{"name":"Filter Vintage"},"e880":{"name":"Find In Page"},"e881":{"name":"Find Replace"},"e90d":{"name":"Fingerprint"},"e5dc":{"name":"First Page"},"eb43":{"name":"Fitness Center"},"e153":{"name":"Flag"},"e3e4":{"name":"Flare"},"e3e5":{"name":"Flash Auto"},"e3e6":{"name":"Flash Off"},"e3e7":{"name":"Flash On"},"e539":{"name":"Flight"},"e904":{"name":"Flight Land"},"e905":{"name":"Flight Takeoff"},"e3e8":{"name":"Flip"},"e882":{"name":"Flip To Back"},"e883":{"name":"Flip To Front"},"e2c7":{"name":"Folder"},"e2c8":{"name":"Folder Open"},"e2c9":{"name":"Folder Shared"},"e617":{"name":"Folder Special"},"e167":{"name":"Font Download"},"e234":{"name":"Format Align Center"},"e235":{"name":"Format Align Justify"},"e236":{"name":"Format Align Left"},"e237":{"name":"Format Align Right"},"e238":{"name":"Format Bold"},"e239":{"name":"Format Clear"},"e23a":{"name":"Format Color Fill"},"e23b":{"name":"Format Color Reset"},"e23c":{"name":"Format Color Text"},"e23d":{"name":"Format Indent Decrease"},"e23e":{"name":"Format Indent Increase"},"e23f":{"name":"Format Italic"},"e240":{"name":"Format Line Spacing"},"e241":{"name":"Format List Bulleted"},"e242":{"name":"Format List Numbered"},"e243":{"name":"Format Paint"},"e244":{"name":"Format Quote"},"e25e":{"name":"Format Shapes"},"e245":{"name":"Format Size"},"e246":{"name":"Format Strikethrough"},"e247":{"name":"Format Textdirection L To R"},"e248":{"name":"Format Textdirection R To L"},"e249":{"name":"Format Underlined"},"e0bf":{"name":"Forum"},"e154":{"name":"Forward"},"e056":{"name":"Forward 10"},"e057":{"name":"Forward 30"},"e058":{"name":"Forward 5"},"eb44":{"name":"Free Breakfast"},"e5d0":{"name":"Fullscreen"},"e5d1":{"name":"Fullscreen Exit"},"e24a":{"name":"Functions"},"e927":{"name":"G Translate"},"e30f":{"name":"Gamepad"},"e021":{"name":"Games"},"e90e":{"name":"Gavel"},"e155":{"name":"Gesture"},"e884":{"name":"Get App"},"e908":{"name":"Gif"},"eb45":{"name":"Golf Course"},"e1b3":{"name":"Gps Fixed"},"e1b4":{"name":"Gps Not Fixed"},"e1b5":{"name":"Gps Off"},"e885":{"name":"Grade"},"e3e9":{"name":"Gradient"},"e3ea":{"name":"Grain"},"e1b8":{"name":"Graphic Eq"},"e3eb":{"name":"Grid Off"},"e3ec":{"name":"Grid On"},"e7ef":{"name":"Group"},"e7f0":{"name":"Group Add"},"e886":{"name":"Group Work"},"e052":{"name":"Hd"},"e3ed":{"name":"Hdr Off"},"e3ee":{"name":"Hdr On"},"e3f1":{"name":"Hdr Strong"},"e3f2":{"name":"Hdr Weak"},"e310":{"name":"Headset"},"e311":{"name":"Headset Mic"},"e3f3":{"name":"Healing"},"e023":{"name":"Hearing"},"e887":{"name":"Help"},"e8fd":{"name":"Help Outline"},"e024":{"name":"High Quality"},"e25f":{"name":"Highlight"},"e888":{"name":"Highlight Off"},"e889":{"name":"History"},"e88a":{"name":"Home"},"eb46":{"name":"Hot Tub"},"e53a":{"name":"Hotel"},"e88b":{"name":"Hourglass Empty"},"e88c":{"name":"Hourglass Full"},"e902":{"name":"Http"},"e88d":{"name":"Https"},"e3f4":{"name":"Image"},"e3f5":{"name":"Image Aspect Ratio"},"e0e0":{"name":"Import Contacts"},"e0c3":{"name":"Import Export"},"e912":{"name":"Important Devices"},"e156":{"name":"Inbox"},"e909":{"name":"Indeterminate Check Box"},"e88e":{"name":"Info"},"e88f":{"name":"Info Outline"},"e890":{"name":"Input"},"e24b":{"name":"Insert Chart"},"e24c":{"name":"Insert Comment"},"e24d":{"name":"Insert Drive File"},"e24e":{"name":"Insert Emoticon"},"e24f":{"name":"Insert Invitation"},"e250":{"name":"Insert Link"},"e251":{"name":"Insert Photo"},"e891":{"name":"Invert Colors"},"e0c4":{"name":"Invert Colors Off"},"e3f6":{"name":"Iso"},"e312":{"name":"Keyboard"},"e313":{"name":"Keyboard Arrow Down"},"e314":{"name":"Keyboard Arrow Left"},"e315":{"name":"Keyboard Arrow Right"},"e316":{"name":"Keyboard Arrow Up"},"e317":{"name":"Keyboard Backspace"},"e318":{"name":"Keyboard Capslock"},"e31a":{"name":"Keyboard Hide"},"e31b":{"name":"Keyboard Return"},"e31c":{"name":"Keyboard Tab"},"e31d":{"name":"Keyboard Voice"},"eb47":{"name":"Kitchen"},"e892":{"name":"Label"},"e893":{"name":"Label Outline"},"e3f7":{"name":"Landscape"},"e894":{"name":"Language"},"e31e":{"name":"Laptop"},"e31f":{"name":"Laptop Chromebook"},"e320":{"name":"Laptop Mac"},"e321":{"name":"Laptop Windows"},"e5dd":{"name":"Last Page"},"e895":{"name":"Launch"},"e53b":{"name":"Layers"},"e53c":{"name":"Layers Clear"},"e3f8":{"name":"Leak Add"},"e3f9":{"name":"Leak Remove"},"e3fa":{"name":"Lens"},"e02e":{"name":"Library Add"},"e02f":{"name":"Library Books"},"e030":{"name":"Library Music"},"e90f":{"name":"Lightbulb Outline"},"e919":{"name":"Line Style"},"e91a":{"name":"Line Weight"},"e260":{"name":"Linear Scale"},"e157":{"name":"Link"},"e438":{"name":"Linked Camera"},"e896":{"name":"List"},"e0c6":{"name":"Live Help"},"e639":{"name":"Live Tv"},"e53f":{"name":"Local Activity"},"e53d":{"name":"Local Airport"},"e53e":{"name":"Local Atm"},"e540":{"name":"Local Bar"},"e541":{"name":"Local Cafe"},"e542":{"name":"Local Car Wash"},"e543":{"name":"Local Convenience Store"},"e556":{"name":"Local Dining"},"e544":{"name":"Local Drink"},"e545":{"name":"Local Florist"},"e546":{"name":"Local Gas Station"},"e547":{"name":"Local Grocery Store"},"e548":{"name":"Local Hospital"},"e549":{"name":"Local Hotel"},"e54a":{"name":"Local Laundry Service"},"e54b":{"name":"Local Library"},"e54c":{"name":"Local Mall"},"e54d":{"name":"Local Movies"},"e54e":{"name":"Local Offer"},"e54f":{"name":"Local Parking"},"e550":{"name":"Local Pharmacy"},"e551":{"name":"Local Phone"},"e552":{"name":"Local Pizza"},"e553":{"name":"Local Play"},"e554":{"name":"Local Post Office"},"e555":{"name":"Local Printshop"},"e557":{"name":"Local See"},"e558":{"name":"Local Shipping"},"e559":{"name":"Local Taxi"},"e7f1":{"name":"Location City"},"e1b6":{"name":"Location Disabled"},"e0c7":{"name":"Location Off"},"e0c8":{"name":"Location On"},"e1b7":{"name":"Location Searching"},"e897":{"name":"Lock"},"e898":{"name":"Lock Open"},"e899":{"name":"Lock Outline"},"e3fc":{"name":"Looks"},"e3fb":{"name":"Looks 3"},"e3fd":{"name":"Looks 4"},"e3fe":{"name":"Looks 5"},"e3ff":{"name":"Looks 6"},"e400":{"name":"Looks One"},"e401":{"name":"Looks Two"},"e028":{"name":"Loop"},"e402":{"name":"Loupe"},"e16d":{"name":"Low Priority"},"e89a":{"name":"Loyalty"},"e158":{"name":"Mail"},"e0e1":{"name":"Mail Outline"},"e55b":{"name":"Map"},"e159":{"name":"Markunread"},"e89b":{"name":"Markunread Mailbox"},"e322":{"name":"Memory"},"e5d2":{"name":"Menu"},"e252":{"name":"Merge Type"},"e0c9":{"name":"Message"},"e029":{"name":"Mic"},"e02a":{"name":"Mic None"},"e02b":{"name":"Mic Off"},"e618":{"name":"Mms"},"e253":{"name":"Mode Comment"},"e254":{"name":"Mode Edit"},"e263":{"name":"Monetization On"},"e25c":{"name":"Money Off"},"e403":{"name":"Monochrome Photos"},"e7f2":{"name":"Mood"},"e7f3":{"name":"Mood Bad"},"e619":{"name":"More"},"e5d3":{"name":"More Horiz"},"e5d4":{"name":"More Vert"},"e91b":{"name":"Motorcycle"},"e323":{"name":"Mouse"},"e168":{"name":"Move To Inbox"},"e02c":{"name":"Movie"},"e404":{"name":"Movie Creation"},"e43a":{"name":"Movie Filter"},"e6df":{"name":"Multiline Chart"},"e405":{"name":"Music Note"},"e063":{"name":"Music Video"},"e55c":{"name":"My Location"},"e406":{"name":"Nature"},"e407":{"name":"Nature People"},"e408":{"name":"Navigate Before"},"e409":{"name":"Navigate Next"},"e55d":{"name":"Navigation"},"e569":{"name":"Near Me"},"e1b9":{"name":"Network Cell"},"e640":{"name":"Network Check"},"e61a":{"name":"Network Locked"},"e1ba":{"name":"Network Wifi"},"e031":{"name":"New Releases"},"e16a":{"name":"Next Week"},"e1bb":{"name":"Nfc"},"e641":{"name":"No Encryption"},"e0cc":{"name":"No Sim"},"e033":{"name":"Not Interested"},"e06f":{"name":"Note"},"e89c":{"name":"Note Add"},"e7f4":{"name":"Notifications"},"e7f7":{"name":"Notifications Active"},"e7f5":{"name":"Notifications None"},"e7f6":{"name":"Notifications Off"},"e7f8":{"name":"Notifications Paused"},"e90a":{"name":"Offline Pin"},"e63a":{"name":"Ondemand Video"},"e91c":{"name":"Opacity"},"e89d":{"name":"Open In Browser"},"e89e":{"name":"Open In New"},"e89f":{"name":"Open With"},"e7f9":{"name":"Pages"},"e8a0":{"name":"Pageview"},"e40a":{"name":"Palette"},"e925":{"name":"Pan Tool"},"e40b":{"name":"Panorama"},"e40c":{"name":"Panorama Fish Eye"},"e40d":{"name":"Panorama Horizontal"},"e40e":{"name":"Panorama Vertical"},"e40f":{"name":"Panorama Wide Angle"},"e7fa":{"name":"Party Mode"},"e034":{"name":"Pause"},"e035":{"name":"Pause Circle Filled"},"e036":{"name":"Pause Circle Outline"},"e8a1":{"name":"Payment"},"e7fb":{"name":"People"},"e7fc":{"name":"People Outline"},"e8a2":{"name":"Perm Camera Mic"},"e8a3":{"name":"Perm Contact Calendar"},"e8a4":{"name":"Perm Data Setting"},"e8a5":{"name":"Perm Device Information"},"e8a6":{"name":"Perm Identity"},"e8a7":{"name":"Perm Media"},"e8a8":{"name":"Perm Phone Msg"},"e8a9":{"name":"Perm Scan Wifi"},"e7fd":{"name":"Person"},"e7fe":{"name":"Person Add"},"e7ff":{"name":"Person Outline"},"e55a":{"name":"Person Pin"},"e56a":{"name":"Person Pin Circle"},"e63b":{"name":"Personal Video"},"e91d":{"name":"Pets"},"e0cd":{"name":"Phone"},"e324":{"name":"Phone Android"},"e61b":{"name":"Phone Bluetooth Speaker"},"e61c":{"name":"Phone Forwarded"},"e61d":{"name":"Phone In Talk"},"e325":{"name":"Phone Iphone"},"e61e":{"name":"Phone Locked"},"e61f":{"name":"Phone Missed"},"e620":{"name":"Phone Paused"},"e326":{"name":"Phonelink"},"e0db":{"name":"Phonelink Erase"},"e0dc":{"name":"Phonelink Lock"},"e327":{"name":"Phonelink Off"},"e0dd":{"name":"Phonelink Ring"},"e0de":{"name":"Phonelink Setup"},"e410":{"name":"Photo"},"e411":{"name":"Photo Album"},"e412":{"name":"Photo Camera"},"e43b":{"name":"Photo Filter"},"e413":{"name":"Photo Library"},"e432":{"name":"Photo Size Select Actual"},"e433":{"name":"Photo Size Select Large"},"e434":{"name":"Photo Size Select Small"},"e415":{"name":"Picture As Pdf"},"e8aa":{"name":"Picture In Picture"},"e911":{"name":"Picture In Picture Alt"},"e6c4":{"name":"Pie Chart"},"e6c5":{"name":"Pie Chart Outlined"},"e55e":{"name":"Pin Drop"},"e55f":{"name":"Place"},"e037":{"name":"Play Arrow"},"e038":{"name":"Play Circle Filled"},"e039":{"name":"Play Circle Outline"},"e906":{"name":"Play For Work"},"e03b":{"name":"Playlist Add"},"e065":{"name":"Playlist Add Check"},"e05f":{"name":"Playlist Play"},"e800":{"name":"Plus One"},"e801":{"name":"Poll"},"e8ab":{"name":"Polymer"},"eb48":{"name":"Pool"},"e0ce":{"name":"Portable Wifi Off"},"e416":{"name":"Portrait"},"e63c":{"name":"Power"},"e336":{"name":"Power Input"},"e8ac":{"name":"Power Settings New"},"e91e":{"name":"Pregnant Woman"},"e0df":{"name":"Present To All"},"e8ad":{"name":"Print"},"e645":{"name":"Priority High"},"e80b":{"name":"Public"},"e255":{"name":"Publish"},"e8ae":{"name":"Query Builder"},"e8af":{"name":"Question Answer"},"e03c":{"name":"Queue"},"e03d":{"name":"Queue Music"},"e066":{"name":"Queue Play Next"},"e03e":{"name":"Radio"},"e837":{"name":"Radio Button Checked"},"e836":{"name":"Radio Button Unchecked"},"e560":{"name":"Rate Review"},"e8b0":{"name":"Receipt"},"e03f":{"name":"Recent Actors"},"e91f":{"name":"Record Voice Over"},"e8b1":{"name":"Redeem"},"e15a":{"name":"Redo"},"e5d5":{"name":"Refresh"},"e15b":{"name":"Remove"},"e15c":{"name":"Remove Circle"},"e15d":{"name":"Remove Circle Outline"},"e067":{"name":"Remove From Queue"},"e417":{"name":"Remove Red Eye"},"e928":{"name":"Remove Shopping Cart"},"e8fe":{"name":"Reorder"},"e040":{"name":"Repeat"},"e041":{"name":"Repeat One"},"e042":{"name":"Replay"},"e059":{"name":"Replay 10"},"e05a":{"name":"Replay 30"},"e05b":{"name":"Replay 5"},"e15e":{"name":"Reply"},"e15f":{"name":"Reply All"},"e160":{"name":"Report"},"e8b2":{"name":"Report Problem"},"e56c":{"name":"Restaurant"},"e561":{"name":"Restaurant Menu"},"e8b3":{"name":"Restore"},"e929":{"name":"Restore Page"},"e0d1":{"name":"Ring Volume"},"e8b4":{"name":"Room"},"eb49":{"name":"Room Service"},"e418":{"name":"Rotate 90 Degrees Ccw"},"e419":{"name":"Rotate Left"},"e41a":{"name":"Rotate Right"},"e920":{"name":"Rounded Corner"},"e328":{"name":"Router"},"e921":{"name":"Rowing"},"e0e5":{"name":"Rss Feed"},"e642":{"name":"Rv Hookup"},"e562":{"name":"Satellite"},"e161":{"name":"Save"},"e329":{"name":"Scanner"},"e8b5":{"name":"Schedule"},"e80c":{"name":"School"},"e1be":{"name":"Screen Lock Landscape"},"e1bf":{"name":"Screen Lock Portrait"},"e1c0":{"name":"Screen Lock Rotation"},"e1c1":{"name":"Screen Rotation"},"e0e2":{"name":"Screen Share"},"e623":{"name":"Sd Card"},"e1c2":{"name":"Sd Storage"},"e8b6":{"name":"Search"},"e32a":{"name":"Security"},"e162":{"name":"Select All"},"e163":{"name":"Send"},"e811":{"name":"Sentiment Dissatisfied"},"e812":{"name":"Sentiment Neutral"},"e813":{"name":"Sentiment Satisfied"},"e814":{"name":"Sentiment Very Dissatisfied"},"e815":{"name":"Sentiment Very Satisfied"},"e8b8":{"name":"Settings"},"e8b9":{"name":"Settings Applications"},"e8ba":{"name":"Settings Backup Restore"},"e8bb":{"name":"Settings Bluetooth"},"e8bd":{"name":"Settings Brightness"},"e8bc":{"name":"Settings Cell"},"e8be":{"name":"Settings Ethernet"},"e8bf":{"name":"Settings Input Antenna"},"e8c0":{"name":"Settings Input Component"},"e8c1":{"name":"Settings Input Composite"},"e8c2":{"name":"Settings Input Hdmi"},"e8c3":{"name":"Settings Input Svideo"},"e8c4":{"name":"Settings Overscan"},"e8c5":{"name":"Settings Phone"},"e8c6":{"name":"Settings Power"},"e8c7":{"name":"Settings Remote"},"e1c3":{"name":"Settings System Daydream"},"e8c8":{"name":"Settings Voice"},"e80d":{"name":"Share"},"e8c9":{"name":"Shop"},"e8ca":{"name":"Shop Two"},"e8cb":{"name":"Shopping Basket"},"e8cc":{"name":"Shopping Cart"},"e261":{"name":"Short Text"},"e6e1":{"name":"Show Chart"},"e043":{"name":"Shuffle"},"e1c8":{"name":"Signal Cellular 4 Bar"},"e1cd":{"name":"Signal Cellular Connected No Internet 4 Bar"},"e1ce":{"name":"Signal Cellular No Sim"},"e1cf":{"name":"Signal Cellular Null"},"e1d0":{"name":"Signal Cellular Off"},"e1d8":{"name":"Signal Wifi 4 Bar"},"e1d9":{"name":"Signal Wifi 4 Bar Lock"},"e1da":{"name":"Signal Wifi Off"},"e32b":{"name":"Sim Card"},"e624":{"name":"Sim Card Alert"},"e044":{"name":"Skip Next"},"e045":{"name":"Skip Previous"},"e41b":{"name":"Slideshow"},"e068":{"name":"Slow Motion Video"},"e32c":{"name":"Smartphone"},"eb4a":{"name":"Smoke Free"},"eb4b":{"name":"Smoking Rooms"},"e625":{"name":"Sms"},"e626":{"name":"Sms Failed"},"e046":{"name":"Snooze"},"e164":{"name":"Sort"},"e053":{"name":"Sort By Alpha"},"eb4c":{"name":"Spa"},"e256":{"name":"Space Bar"},"e32d":{"name":"Speaker"},"e32e":{"name":"Speaker Group"},"e8cd":{"name":"Speaker Notes"},"e92a":{"name":"Speaker Notes Off"},"e0d2":{"name":"Speaker Phone"},"e8ce":{"name":"Spellcheck"},"e838":{"name":"Star"},"e83a":{"name":"Star Border"},"e839":{"name":"Star Half"},"e8d0":{"name":"Stars"},"e0d3":{"name":"Stay Current Landscape"},"e0d4":{"name":"Stay Current Portrait"},"e0d5":{"name":"Stay Primary Landscape"},"e0d6":{"name":"Stay Primary Portrait"},"e047":{"name":"Stop"},"e0e3":{"name":"Stop Screen Share"},"e1db":{"name":"Storage"},"e8d1":{"name":"Store"},"e563":{"name":"Store Mall Directory"},"e41c":{"name":"Straighten"},"e56e":{"name":"Streetview"},"e257":{"name":"Strikethrough S"},"e41d":{"name":"Style"},"e5d9":{"name":"Subdirectory Arrow Left"},"e5da":{"name":"Subdirectory Arrow Right"},"e8d2":{"name":"Subject"},"e064":{"name":"Subscriptions"},"e048":{"name":"Subtitles"},"e56f":{"name":"Subway"},"e8d3":{"name":"Supervisor Account"},"e049":{"name":"Surround Sound"},"e0d7":{"name":"Swap Calls"},"e8d4":{"name":"Swap Horiz"},"e8d5":{"name":"Swap Vert"},"e8d6":{"name":"Swap Vertical Circle"},"e41e":{"name":"Switch Camera"},"e41f":{"name":"Switch Video"},"e627":{"name":"Sync"},"e628":{"name":"Sync Disabled"},"e629":{"name":"Sync Problem"},"e62a":{"name":"System Update"},"e8d7":{"name":"System Update Alt"},"e8d8":{"name":"Tab"},"e8d9":{"name":"Tab Unselected"},"e32f":{"name":"Tablet"},"e330":{"name":"Tablet Android"},"e331":{"name":"Tablet Mac"},"e420":{"name":"Tag Faces"},"e62b":{"name":"Tap And Play"},"e564":{"name":"Terrain"},"e262":{"name":"Text Fields"},"e165":{"name":"Text Format"},"e0d8":{"name":"Textsms"},"e421":{"name":"Texture"},"e8da":{"name":"Theaters"},"e8db":{"name":"Thumb Down"},"e8dc":{"name":"Thumb Up"},"e8dd":{"name":"Thumbs Up Down"},"e62c":{"name":"Time To Leave"},"e422":{"name":"Timelapse"},"e922":{"name":"Timeline"},"e425":{"name":"Timer"},"e423":{"name":"Timer 10"},"e424":{"name":"Timer 3"},"e426":{"name":"Timer Off"},"e264":{"name":"Title"},"e8de":{"name":"Toc"},"e8df":{"name":"Today"},"e8e0":{"name":"Toll"},"e427":{"name":"Tonality"},"e913":{"name":"Touch App"},"e332":{"name":"Toys"},"e8e1":{"name":"Track Changes"},"e565":{"name":"Traffic"},"e570":{"name":"Train"},"e571":{"name":"Tram"},"e572":{"name":"Transfer Within A Station"},"e428":{"name":"Transform"},"e8e2":{"name":"Translate"},"e8e3":{"name":"Trending Down"},"e8e4":{"name":"Trending Flat"},"e8e5":{"name":"Trending Up"},"e429":{"name":"Tune"},"e8e6":{"name":"Turned In"},"e8e7":{"name":"Turned In Not"},"e333":{"name":"Tv"},"e169":{"name":"Unarchive"},"e166":{"name":"Undo"},"e5d6":{"name":"Unfold Less"},"e5d7":{"name":"Unfold More"},"e923":{"name":"Update"},"e1e0":{"name":"Usb"},"e8e8":{"name":"Verified User"},"e258":{"name":"Vertical Align Bottom"},"e259":{"name":"Vertical Align Center"},"e25a":{"name":"Vertical Align Top"},"e62d":{"name":"Vibration"},"e070":{"name":"Video Call"},"e071":{"name":"Video Label"},"e04a":{"name":"Video Library"},"e04b":{"name":"Videocam"},"e04c":{"name":"Videocam Off"},"e338":{"name":"Videogame Asset"},"e8e9":{"name":"View Agenda"},"e8ea":{"name":"View Array"},"e8eb":{"name":"View Carousel"},"e8ec":{"name":"View Column"},"e42a":{"name":"View Comfy"},"e42b":{"name":"View Compact"},"e8ed":{"name":"View Day"},"e8ee":{"name":"View Headline"},"e8ef":{"name":"View List"},"e8f0":{"name":"View Module"},"e8f1":{"name":"View Quilt"},"e8f2":{"name":"View Stream"},"e8f3":{"name":"View Week"},"e435":{"name":"Vignette"},"e8f4":{"name":"Visibility"},"e8f5":{"name":"Visibility Off"},"e62e":{"name":"Voice Chat"},"e0d9":{"name":"Voicemail"},"e04d":{"name":"Volume Down"},"e04e":{"name":"Volume Mute"},"e04f":{"name":"Volume Off"},"e050":{"name":"Volume Up"},"e0da":{"name":"Vpn Key"},"e62f":{"name":"Vpn Lock"},"e1bc":{"name":"Wallpaper"},"e002":{"name":"Warning"},"e334":{"name":"Watch"},"e924":{"name":"Watch Later"},"e42c":{"name":"Wb Auto"},"e42d":{"name":"Wb Cloudy"},"e42e":{"name":"Wb Incandescent"},"e436":{"name":"Wb Iridescent"},"e430":{"name":"Wb Sunny"},"e63d":{"name":"Wc"},"e051":{"name":"Web"},"e069":{"name":"Web Asset"},"e16b":{"name":"Weekend"},"e80e":{"name":"Whatshot"},"e1bd":{"name":"Widgets"},"e63e":{"name":"Wifi"},"e1e1":{"name":"Wifi Lock"},"e1e2":{"name":"Wifi Tethering"},"e8f9":{"name":"Work"},"e25b":{"name":"Wrap Text"},"e8fa":{"name":"Youtube Searched For"},"e8ff":{"name":"Zoom In"},"e900":{"name":"Zoom Out"},"e56b":{"name":"Zoom Out Map"}}} -------------------------------------------------------------------------------- /dist/background.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"sources":["webpack:///background.js","webpack:///webpack/bootstrap 83a409abb831faf226c0","webpack:///./background.js","webpack:///./lib/background/init.js","webpack:///./lib/background/emitter.js","webpack:///./node_modules/events/events.js"],"names":["modules","__webpack_require__","moduleId","installedModules","exports","module","i","l","call","m","c","d","name","getter","o","Object","defineProperty","configurable","enumerable","get","n","__esModule","object","property","prototype","hasOwnProperty","p","s","20","_init","obj","default","21","value","connectToDevtool","connectToContent","_emitter","chrome","runtime","onConnect","addListener","port","console","log","sendToDevtool","store","postMessage","emitter","on","onDisconnect","removeListener","onMessage","msg","emit","assign","location","sendToContent","22","undefined","_events","EventEmitter","3","this","_maxListeners","isFunction","arg","isNumber","isObject","isUndefined","defaultMaxListeners","setMaxListeners","isNaN","TypeError","type","er","handler","len","args","listeners","error","length","arguments","Error","err","context","Array","slice","apply","listener","newListener","push","warned","trace","once","g","fired","list","position","splice","removeAllListeners","key","listenerCount","evlistener"],"mappings":"CAAS,SAAUA,GCInB,QAAAC,GAAAC,GAGA,GAAAC,EAAAD,GACA,MAAAC,GAAAD,GAAAE,OAGA,IAAAC,GAAAF,EAAAD,IACAI,EAAAJ,EACAK,GAAA,EACAH,WAUA,OANAJ,GAAAE,GAAAM,KAAAH,EAAAD,QAAAC,IAAAD,QAAAH,GAGAI,EAAAE,GAAA,EAGAF,EAAAD,QAvBA,GAAAD,KA4BAF,GAAAQ,EAAAT,EAGAC,EAAAS,EAAAP,EAGAF,EAAAU,EAAA,SAAAP,EAAAQ,EAAAC,GACAZ,EAAAa,EAAAV,EAAAQ,IACAG,OAAAC,eAAAZ,EAAAQ,GACAK,cAAA,EACAC,YAAA,EACAC,IAAAN,KAMAZ,EAAAmB,EAAA,SAAAf,GACA,GAAAQ,GAAAR,KAAAgB,WACA,WAA2B,MAAAhB,GAAA,SAC3B,WAAiC,MAAAA,GAEjC,OADAJ,GAAAU,EAAAE,EAAA,IAAAA,GACAA,GAIAZ,EAAAa,EAAA,SAAAQ,EAAAC,GAAsD,MAAAR,QAAAS,UAAAC,eAAAjB,KAAAc,EAAAC,IAGtDtB,EAAAyB,EAAA,GAGAzB,IAAA0B,EAAA,MDMMC,GACA,SAAUvB,EAAQD,EAASH,GAEjC,YEtEA,IAAA4B,GAAA5B,EAAA,KACA,EF4EA,SAAgC6B,GAAO,MAAOA,IAAOA,EAAIT,WAAaS,GAAQC,QAASD,IAFnDD,GE1EpCE,YFkFMC,GACA,SAAU3B,EAAQD,EAASH,GAEjC,YAGAc,QAAOC,eAAeZ,EAAS,cAC7B6B,OAAO,IAGT7B,EAAQ2B,QG3FO,WACbG,IACAC,IAJF,IAAAC,GAAAnC,EAAA,IAOMiC,EAAmB,WACvBG,OAAOC,QAAQC,UAAUC,YAAY,SAACC,GACpC,GAAkB,YAAdA,EAAK7B,KAAT,CAEA8B,QAAQC,IAAI,wCAEZ,IAAMC,GAAgB,SAACC,GACrBH,QAAQC,IAAI,wBAAyBE,GACrCJ,EAAKK,YAAYD,GAEnBT,GAAAW,QAAQC,GAAG,eAAgBJ,GAC3BH,EAAKQ,aAAaT,YAAY,iBAAMJ,GAAAW,QAAQG,eAAe,eAAgBN,KAE3EH,EAAKU,UAAUX,YAAY,SAACY,GAC1BV,QAAQC,IAAI,wBAAyBS,GACrChB,EAAAW,QAAQM,KAAK,kBAAmBD,KAIlCX,EAAKU,UAAUX,YAAY,SAACY,GAAD,MAAShB,GAAAW,QAAQM,KAAK,eAAgBtC,OAAOuC,QAASC,SAAU,WAAaH,cAItGjB,EAAmB,WACvBE,OAAOC,QAAQC,UAAUC,YAAY,SAACC,GACpC,GAAkB,YAAdA,EAAK7B,KAAT,CAEA8B,QAAQC,IAAI,wCAEZ,IAAMa,GAAgB,SAACX,GACrBH,QAAQC,IAAI,wBAAyBE,GACrCJ,EAAKK,YAAYD,GAEnBT,GAAAW,QAAQC,GAAG,eAAgBQ,GAC3Bf,EAAKQ,aAAaT,YAAY,iBAAMJ,GAAAW,QAAQG,eAAe,eAAgBM,KAE3Ef,EAAKU,UAAUX,YAAY,SAACY,GAC1BV,QAAQC,IAAI,wBAAyBS,GACrChB,EAAAW,QAAQM,KAAK,kBAAmBD,KAIlCX,EAAKU,UAAUX,YAAY,SAACY,GAAD,MAAShB,GAAAW,QAAQM,KAAK,eAAgBtC,OAAOuC,QAASC,SAAU,WAAaH,eH2GtGK,GACA,SAAUpD,EAAQD,EAASH,GAEjC,YAGAc,QAAOC,eAAeZ,EAAS,cAC7B6B,OAAO,IAET7B,EAAQ2C,YAAUW,EIrKlB,IAAAC,GAAA1D,EAAA,EACa8C,WAAU,GAAAY,GAAAC,cJ4KjBC,EACA,SAAUxD,EAAQD,GKzJxB,QAAAwD,KACAE,KAAAH,QAAAG,KAAAH,YACAG,KAAAC,cAAAD,KAAAC,mBAAAL,GAwQA,QAAAM,GAAAC,GACA,wBAAAA,GAGA,QAAAC,GAAAD,GACA,sBAAAA,GAGA,QAAAE,GAAAF,GACA,sBAAAA,IAAA,OAAAA,EAGA,QAAAG,GAAAH,GACA,gBAAAA,EAnRA5D,EAAAD,QAAAwD,EAGAA,iBAEAA,EAAApC,UAAAmC,YAAAD,GACAE,EAAApC,UAAAuC,kBAAAL,GAIAE,EAAAS,oBAAA,GAIAT,EAAApC,UAAA8C,gBAAA,SAAAlD,GACA,IAAA8C,EAAA9C,MAAA,GAAAmD,MAAAnD,GACA,KAAAoD,WAAA,8BAEA,OADAV,MAAAC,cAAA3C,EACA0C,MAGAF,EAAApC,UAAA6B,KAAA,SAAAoB,GACA,GAAAC,GAAAC,EAAAC,EAAAC,EAAAvE,EAAAwE,CAMA,IAJAhB,KAAAH,UACAG,KAAAH,YAGA,UAAAc,KACAX,KAAAH,QAAAoB,OACAZ,EAAAL,KAAAH,QAAAoB,SAAAjB,KAAAH,QAAAoB,MAAAC,QAAA,CAEA,IADAN,EAAAO,UAAA,aACAC,OACA,KAAAR,EAGA,IAAAS,GAAA,GAAAD,OAAA,yCAAAR,EAAA,IAEA,MADAS,GAAAC,QAAAV,EACAS,EAOA,GAFAR,EAAAb,KAAAH,QAAAc,GAEAL,EAAAO,GACA,QAEA,IAAAX,EAAAW,GACA,OAAAM,UAAAD,QAEA,OACAL,EAAAnE,KAAAsD,KACA,MACA,QACAa,EAAAnE,KAAAsD,KAAAmB,UAAA,GACA,MACA,QACAN,EAAAnE,KAAAsD,KAAAmB,UAAA,GAAAA,UAAA,GACA,MAEA,SACAJ,EAAAQ,MAAA7D,UAAA8D,MAAA9E,KAAAyE,UAAA,GACAN,EAAAY,MAAAzB,KAAAe,OAEG,IAAAV,EAAAQ,GAIH,IAHAE,EAAAQ,MAAA7D,UAAA8D,MAAA9E,KAAAyE,UAAA,GACAH,EAAAH,EAAAW,QACAV,EAAAE,EAAAE,OACA1E,EAAA,EAAeA,EAAAsE,EAAStE,IACxBwE,EAAAxE,GAAAiF,MAAAzB,KAAAe,EAGA,WAGAjB,EAAApC,UAAAgB,YAAA,SAAAiC,EAAAe,GACA,GAAA/E,EAEA,KAAAuD,EAAAwB,GACA,KAAAhB,WAAA,8BA2CA,OAzCAV,MAAAH,UACAG,KAAAH,YAIAG,KAAAH,QAAA8B,aACA3B,KAAAT,KAAA,cAAAoB,EACAT,EAAAwB,YACAA,cAEA1B,KAAAH,QAAAc,GAGAN,EAAAL,KAAAH,QAAAc,IAEAX,KAAAH,QAAAc,GAAAiB,KAAAF,GAGA1B,KAAAH,QAAAc,IAAAX,KAAAH,QAAAc,GAAAe,GANA1B,KAAAH,QAAAc,GAAAe,EASArB,EAAAL,KAAAH,QAAAc,MAAAX,KAAAH,QAAAc,GAAAkB,SAIAlF,EAHA2D,EAAAN,KAAAC,eAGAH,EAAAS,oBAFAP,KAAAC,gBAKAtD,EAAA,GAAAqD,KAAAH,QAAAc,GAAAO,OAAAvE,IACAqD,KAAAH,QAAAc,GAAAkB,QAAA,EACAjD,QAAAqC,MAAA,mIAGAjB,KAAAH,QAAAc,GAAAO,QACA,kBAAAtC,SAAAkD,OAEAlD,QAAAkD,SAKA9B,MAGAF,EAAApC,UAAAwB,GAAAY,EAAApC,UAAAgB,YAEAoB,EAAApC,UAAAqE,KAAA,SAAApB,EAAAe,GAMA,QAAAM,KACAhC,KAAAZ,eAAAuB,EAAAqB,GAEAC,IACAA,GAAA,EACAP,EAAAD,MAAAzB,KAAAmB,YAVA,IAAAjB,EAAAwB,GACA,KAAAhB,WAAA,8BAEA,IAAAuB,IAAA,CAcA,OAHAD,GAAAN,WACA1B,KAAAd,GAAAyB,EAAAqB,GAEAhC,MAIAF,EAAApC,UAAA0B,eAAA,SAAAuB,EAAAe,GACA,GAAAQ,GAAAC,EAAAjB,EAAA1E,CAEA,KAAA0D,EAAAwB,GACA,KAAAhB,WAAA,8BAEA,KAAAV,KAAAH,UAAAG,KAAAH,QAAAc,GACA,MAAAX,KAMA,IAJAkC,EAAAlC,KAAAH,QAAAc,GACAO,EAAAgB,EAAAhB,OACAiB,GAAA,EAEAD,IAAAR,GACAxB,EAAAgC,EAAAR,WAAAQ,EAAAR,mBACA1B,MAAAH,QAAAc,GACAX,KAAAH,QAAAT,gBACAY,KAAAT,KAAA,iBAAAoB,EAAAe,OAEG,IAAArB,EAAA6B,GAAA,CACH,IAAA1F,EAAA0E,EAAoB1E,KAAA,GACpB,GAAA0F,EAAA1F,KAAAkF,GACAQ,EAAA1F,GAAAkF,UAAAQ,EAAA1F,GAAAkF,aAAA,CACAS,EAAA3F,CACA,OAIA,GAAA2F,EAAA,EACA,MAAAnC,KAEA,KAAAkC,EAAAhB,QACAgB,EAAAhB,OAAA,QACAlB,MAAAH,QAAAc,IAEAuB,EAAAE,OAAAD,EAAA,GAGAnC,KAAAH,QAAAT,gBACAY,KAAAT,KAAA,iBAAAoB,EAAAe,GAGA,MAAA1B,OAGAF,EAAApC,UAAA2E,mBAAA,SAAA1B,GACA,GAAA2B,GAAAtB,CAEA,KAAAhB,KAAAH,QACA,MAAAG,KAGA,KAAAA,KAAAH,QAAAT,eAKA,MAJA,KAAA+B,UAAAD,OACAlB,KAAAH,WACAG,KAAAH,QAAAc,UACAX,MAAAH,QAAAc,GACAX,IAIA,QAAAmB,UAAAD,OAAA,CACA,IAAAoB,IAAAtC,MAAAH,QACA,mBAAAyC,GACAtC,KAAAqC,mBAAAC,EAIA,OAFAtC,MAAAqC,mBAAA,kBACArC,KAAAH,WACAG,KAKA,GAFAgB,EAAAhB,KAAAH,QAAAc,GAEAT,EAAAc,GACAhB,KAAAZ,eAAAuB,EAAAK,OACG,IAAAA,EAEH,KAAAA,EAAAE,QACAlB,KAAAZ,eAAAuB,EAAAK,IAAAE,OAAA,GAIA,cAFAlB,MAAAH,QAAAc,GAEAX,MAGAF,EAAApC,UAAAsD,UAAA,SAAAL,GAQA,MANAX,MAAAH,SAAAG,KAAAH,QAAAc,GAEAT,EAAAF,KAAAH,QAAAc,KACAX,KAAAH,QAAAc,IAEAX,KAAAH,QAAAc,GAAAa,YAIA1B,EAAApC,UAAA6E,cAAA,SAAA5B,GACA,GAAAX,KAAAH,QAAA,CACA,GAAA2C,GAAAxC,KAAAH,QAAAc,EAEA,IAAAT,EAAAsC,GACA,QACA,IAAAA,EACA,MAAAA,GAAAtB,OAEA,UAGApB,EAAAyC,cAAA,SAAAtD,EAAA0B,GACA,MAAA1B,GAAAsD,cAAA5B","file":"background.js","sourcesContent":["/******/ (function(modules) { // webpackBootstrap\n/******/ \t// The module cache\n/******/ \tvar installedModules = {};\n/******/\n/******/ \t// The require function\n/******/ \tfunction __webpack_require__(moduleId) {\n/******/\n/******/ \t\t// Check if module is in cache\n/******/ \t\tif(installedModules[moduleId]) {\n/******/ \t\t\treturn installedModules[moduleId].exports;\n/******/ \t\t}\n/******/ \t\t// Create a new module (and put it into the cache)\n/******/ \t\tvar module = installedModules[moduleId] = {\n/******/ \t\t\ti: moduleId,\n/******/ \t\t\tl: false,\n/******/ \t\t\texports: {}\n/******/ \t\t};\n/******/\n/******/ \t\t// Execute the module function\n/******/ \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n/******/\n/******/ \t\t// Flag the module as loaded\n/******/ \t\tmodule.l = true;\n/******/\n/******/ \t\t// Return the exports of the module\n/******/ \t\treturn module.exports;\n/******/ \t}\n/******/\n/******/\n/******/ \t// expose the modules object (__webpack_modules__)\n/******/ \t__webpack_require__.m = modules;\n/******/\n/******/ \t// expose the module cache\n/******/ \t__webpack_require__.c = installedModules;\n/******/\n/******/ \t// define getter function for harmony exports\n/******/ \t__webpack_require__.d = function(exports, name, getter) {\n/******/ \t\tif(!__webpack_require__.o(exports, name)) {\n/******/ \t\t\tObject.defineProperty(exports, name, {\n/******/ \t\t\t\tconfigurable: false,\n/******/ \t\t\t\tenumerable: true,\n/******/ \t\t\t\tget: getter\n/******/ \t\t\t});\n/******/ \t\t}\n/******/ \t};\n/******/\n/******/ \t// getDefaultExport function for compatibility with non-harmony modules\n/******/ \t__webpack_require__.n = function(module) {\n/******/ \t\tvar getter = module && module.__esModule ?\n/******/ \t\t\tfunction getDefault() { return module['default']; } :\n/******/ \t\t\tfunction getModuleExports() { return module; };\n/******/ \t\t__webpack_require__.d(getter, 'a', getter);\n/******/ \t\treturn getter;\n/******/ \t};\n/******/\n/******/ \t// Object.prototype.hasOwnProperty.call\n/******/ \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n/******/\n/******/ \t// __webpack_public_path__\n/******/ \t__webpack_require__.p = \"\";\n/******/\n/******/ \t// Load entry module and return exports\n/******/ \treturn __webpack_require__(__webpack_require__.s = 20);\n/******/ })\n/************************************************************************/\n/******/ ({\n\n/***/ 20:\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nvar _init = __webpack_require__(21);\n\nvar _init2 = _interopRequireDefault(_init);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\n(0, _init2.default)();\n\n/***/ }),\n\n/***/ 21:\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nexports.default = function () {\n connectToDevtool();\n connectToContent();\n};\n\nvar _emitter = __webpack_require__(22);\n\nvar connectToDevtool = function connectToDevtool() {\n chrome.runtime.onConnect.addListener(function (port) {\n if (port.name !== 'devtool') return;\n\n console.log('background <--> devtool connected.');\n\n var sendToDevtool = function sendToDevtool(store) {\n console.log('background -> devtool', store);\n port.postMessage(store);\n };\n _emitter.emitter.on('devtool.send', sendToDevtool);\n port.onDisconnect.addListener(function () {\n return _emitter.emitter.removeListener('devtool.send', sendToDevtool);\n });\n\n port.onMessage.addListener(function (msg) {\n console.log('devtool -> background', msg);\n _emitter.emitter.emit('devtool.receive', msg);\n });\n\n // pass to content\n port.onMessage.addListener(function (msg) {\n return _emitter.emitter.emit('content.send', Object.assign({ location: 'devtool' }, msg || {}));\n });\n });\n};\n\nvar connectToContent = function connectToContent() {\n chrome.runtime.onConnect.addListener(function (port) {\n if (port.name !== 'content') return;\n\n console.log('background <--> content connected.');\n\n var sendToContent = function sendToContent(store) {\n console.log('background -> content', store);\n port.postMessage(store);\n };\n _emitter.emitter.on('content.send', sendToContent);\n port.onDisconnect.addListener(function () {\n return _emitter.emitter.removeListener('content.send', sendToContent);\n });\n\n port.onMessage.addListener(function (msg) {\n console.log('content -> background', msg);\n _emitter.emitter.emit('content.receive', msg);\n });\n\n // pass to devtool\n port.onMessage.addListener(function (msg) {\n return _emitter.emitter.emit('devtool.send', Object.assign({ location: 'content' }, msg || {}));\n });\n });\n};\n\n/***/ }),\n\n/***/ 22:\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.emitter = undefined;\n\nvar _events = __webpack_require__(3);\n\nvar emitter = exports.emitter = new _events.EventEmitter();\n\n/***/ }),\n\n/***/ 3:\n/***/ (function(module, exports) {\n\n// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n\nfunction EventEmitter() {\n this._events = this._events || {};\n this._maxListeners = this._maxListeners || undefined;\n}\nmodule.exports = EventEmitter;\n\n// Backwards-compat with node 0.10.x\nEventEmitter.EventEmitter = EventEmitter;\n\nEventEmitter.prototype._events = undefined;\nEventEmitter.prototype._maxListeners = undefined;\n\n// By default EventEmitters will print a warning if more than 10 listeners are\n// added to it. This is a useful default which helps finding memory leaks.\nEventEmitter.defaultMaxListeners = 10;\n\n// Obviously not all Emitters should be limited to 10. This function allows\n// that to be increased. Set to zero for unlimited.\nEventEmitter.prototype.setMaxListeners = function(n) {\n if (!isNumber(n) || n < 0 || isNaN(n))\n throw TypeError('n must be a positive number');\n this._maxListeners = n;\n return this;\n};\n\nEventEmitter.prototype.emit = function(type) {\n var er, handler, len, args, i, listeners;\n\n if (!this._events)\n this._events = {};\n\n // If there is no 'error' event listener then throw.\n if (type === 'error') {\n if (!this._events.error ||\n (isObject(this._events.error) && !this._events.error.length)) {\n er = arguments[1];\n if (er instanceof Error) {\n throw er; // Unhandled 'error' event\n } else {\n // At least give some kind of context to the user\n var err = new Error('Uncaught, unspecified \"error\" event. (' + er + ')');\n err.context = er;\n throw err;\n }\n }\n }\n\n handler = this._events[type];\n\n if (isUndefined(handler))\n return false;\n\n if (isFunction(handler)) {\n switch (arguments.length) {\n // fast cases\n case 1:\n handler.call(this);\n break;\n case 2:\n handler.call(this, arguments[1]);\n break;\n case 3:\n handler.call(this, arguments[1], arguments[2]);\n break;\n // slower\n default:\n args = Array.prototype.slice.call(arguments, 1);\n handler.apply(this, args);\n }\n } else if (isObject(handler)) {\n args = Array.prototype.slice.call(arguments, 1);\n listeners = handler.slice();\n len = listeners.length;\n for (i = 0; i < len; i++)\n listeners[i].apply(this, args);\n }\n\n return true;\n};\n\nEventEmitter.prototype.addListener = function(type, listener) {\n var m;\n\n if (!isFunction(listener))\n throw TypeError('listener must be a function');\n\n if (!this._events)\n this._events = {};\n\n // To avoid recursion in the case that type === \"newListener\"! Before\n // adding it to the listeners, first emit \"newListener\".\n if (this._events.newListener)\n this.emit('newListener', type,\n isFunction(listener.listener) ?\n listener.listener : listener);\n\n if (!this._events[type])\n // Optimize the case of one listener. Don't need the extra array object.\n this._events[type] = listener;\n else if (isObject(this._events[type]))\n // If we've already got an array, just append.\n this._events[type].push(listener);\n else\n // Adding the second element, need to change to array.\n this._events[type] = [this._events[type], listener];\n\n // Check for listener leak\n if (isObject(this._events[type]) && !this._events[type].warned) {\n if (!isUndefined(this._maxListeners)) {\n m = this._maxListeners;\n } else {\n m = EventEmitter.defaultMaxListeners;\n }\n\n if (m && m > 0 && this._events[type].length > m) {\n this._events[type].warned = true;\n console.error('(node) warning: possible EventEmitter memory ' +\n 'leak detected. %d listeners added. ' +\n 'Use emitter.setMaxListeners() to increase limit.',\n this._events[type].length);\n if (typeof console.trace === 'function') {\n // not supported in IE 10\n console.trace();\n }\n }\n }\n\n return this;\n};\n\nEventEmitter.prototype.on = EventEmitter.prototype.addListener;\n\nEventEmitter.prototype.once = function(type, listener) {\n if (!isFunction(listener))\n throw TypeError('listener must be a function');\n\n var fired = false;\n\n function g() {\n this.removeListener(type, g);\n\n if (!fired) {\n fired = true;\n listener.apply(this, arguments);\n }\n }\n\n g.listener = listener;\n this.on(type, g);\n\n return this;\n};\n\n// emits a 'removeListener' event iff the listener was removed\nEventEmitter.prototype.removeListener = function(type, listener) {\n var list, position, length, i;\n\n if (!isFunction(listener))\n throw TypeError('listener must be a function');\n\n if (!this._events || !this._events[type])\n return this;\n\n list = this._events[type];\n length = list.length;\n position = -1;\n\n if (list === listener ||\n (isFunction(list.listener) && list.listener === listener)) {\n delete this._events[type];\n if (this._events.removeListener)\n this.emit('removeListener', type, listener);\n\n } else if (isObject(list)) {\n for (i = length; i-- > 0;) {\n if (list[i] === listener ||\n (list[i].listener && list[i].listener === listener)) {\n position = i;\n break;\n }\n }\n\n if (position < 0)\n return this;\n\n if (list.length === 1) {\n list.length = 0;\n delete this._events[type];\n } else {\n list.splice(position, 1);\n }\n\n if (this._events.removeListener)\n this.emit('removeListener', type, listener);\n }\n\n return this;\n};\n\nEventEmitter.prototype.removeAllListeners = function(type) {\n var key, listeners;\n\n if (!this._events)\n return this;\n\n // not listening for removeListener, no need to emit\n if (!this._events.removeListener) {\n if (arguments.length === 0)\n this._events = {};\n else if (this._events[type])\n delete this._events[type];\n return this;\n }\n\n // emit removeListener for all listeners on all events\n if (arguments.length === 0) {\n for (key in this._events) {\n if (key === 'removeListener') continue;\n this.removeAllListeners(key);\n }\n this.removeAllListeners('removeListener');\n this._events = {};\n return this;\n }\n\n listeners = this._events[type];\n\n if (isFunction(listeners)) {\n this.removeListener(type, listeners);\n } else if (listeners) {\n // LIFO order\n while (listeners.length)\n this.removeListener(type, listeners[listeners.length - 1]);\n }\n delete this._events[type];\n\n return this;\n};\n\nEventEmitter.prototype.listeners = function(type) {\n var ret;\n if (!this._events || !this._events[type])\n ret = [];\n else if (isFunction(this._events[type]))\n ret = [this._events[type]];\n else\n ret = this._events[type].slice();\n return ret;\n};\n\nEventEmitter.prototype.listenerCount = function(type) {\n if (this._events) {\n var evlistener = this._events[type];\n\n if (isFunction(evlistener))\n return 1;\n else if (evlistener)\n return evlistener.length;\n }\n return 0;\n};\n\nEventEmitter.listenerCount = function(emitter, type) {\n return emitter.listenerCount(type);\n};\n\nfunction isFunction(arg) {\n return typeof arg === 'function';\n}\n\nfunction isNumber(arg) {\n return typeof arg === 'number';\n}\n\nfunction isObject(arg) {\n return typeof arg === 'object' && arg !== null;\n}\n\nfunction isUndefined(arg) {\n return arg === void 0;\n}\n\n\n/***/ })\n\n/******/ });\n\n\n// WEBPACK FOOTER //\n// background.js"," \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, {\n \t\t\t\tconfigurable: false,\n \t\t\t\tenumerable: true,\n \t\t\t\tget: getter\n \t\t\t});\n \t\t}\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 20);\n\n\n\n// WEBPACK FOOTER //\n// webpack/bootstrap 83a409abb831faf226c0","import init from './lib/background/init';\ninit();\n\n\n\n// WEBPACK FOOTER //\n// ./background.js","import { emitter } from './emitter';\n\nexport default function() {\n connectToDevtool();\n connectToContent();\n}\n\nconst connectToDevtool = () => {\n chrome.runtime.onConnect.addListener((port) => {\n if (port.name !== 'devtool') return;\n\n console.log('background <--> devtool connected.');\n\n const sendToDevtool = (store) => {\n console.log('background -> devtool', store);\n port.postMessage(store);\n };\n emitter.on('devtool.send', sendToDevtool);\n port.onDisconnect.addListener(() => emitter.removeListener('devtool.send', sendToDevtool));\n\n port.onMessage.addListener((msg) => {\n console.log('devtool -> background', msg);\n emitter.emit('devtool.receive', msg);\n });\n\n // pass to content\n port.onMessage.addListener((msg) => emitter.emit('content.send', Object.assign({ location: 'devtool' }, msg || {})));\n });\n};\n\nconst connectToContent = () => {\n chrome.runtime.onConnect.addListener((port) => {\n if (port.name !== 'content') return;\n\n console.log('background <--> content connected.');\n\n const sendToContent = (store) => {\n console.log('background -> content', store);\n port.postMessage(store);\n };\n emitter.on('content.send', sendToContent);\n port.onDisconnect.addListener(() => emitter.removeListener('content.send', sendToContent));\n\n port.onMessage.addListener((msg) => {\n console.log('content -> background', msg);\n emitter.emit('content.receive', msg);\n });\n\n // pass to devtool\n port.onMessage.addListener((msg) => emitter.emit('devtool.send', Object.assign({ location: 'content' }, msg || {})));\n });\n};\n\n\n\n// WEBPACK FOOTER //\n// ./lib/background/init.js","import { EventEmitter } from 'events';\nexport const emitter = new EventEmitter();\n\n\n\n// WEBPACK FOOTER //\n// ./lib/background/emitter.js","// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n\nfunction EventEmitter() {\n this._events = this._events || {};\n this._maxListeners = this._maxListeners || undefined;\n}\nmodule.exports = EventEmitter;\n\n// Backwards-compat with node 0.10.x\nEventEmitter.EventEmitter = EventEmitter;\n\nEventEmitter.prototype._events = undefined;\nEventEmitter.prototype._maxListeners = undefined;\n\n// By default EventEmitters will print a warning if more than 10 listeners are\n// added to it. This is a useful default which helps finding memory leaks.\nEventEmitter.defaultMaxListeners = 10;\n\n// Obviously not all Emitters should be limited to 10. This function allows\n// that to be increased. Set to zero for unlimited.\nEventEmitter.prototype.setMaxListeners = function(n) {\n if (!isNumber(n) || n < 0 || isNaN(n))\n throw TypeError('n must be a positive number');\n this._maxListeners = n;\n return this;\n};\n\nEventEmitter.prototype.emit = function(type) {\n var er, handler, len, args, i, listeners;\n\n if (!this._events)\n this._events = {};\n\n // If there is no 'error' event listener then throw.\n if (type === 'error') {\n if (!this._events.error ||\n (isObject(this._events.error) && !this._events.error.length)) {\n er = arguments[1];\n if (er instanceof Error) {\n throw er; // Unhandled 'error' event\n } else {\n // At least give some kind of context to the user\n var err = new Error('Uncaught, unspecified \"error\" event. (' + er + ')');\n err.context = er;\n throw err;\n }\n }\n }\n\n handler = this._events[type];\n\n if (isUndefined(handler))\n return false;\n\n if (isFunction(handler)) {\n switch (arguments.length) {\n // fast cases\n case 1:\n handler.call(this);\n break;\n case 2:\n handler.call(this, arguments[1]);\n break;\n case 3:\n handler.call(this, arguments[1], arguments[2]);\n break;\n // slower\n default:\n args = Array.prototype.slice.call(arguments, 1);\n handler.apply(this, args);\n }\n } else if (isObject(handler)) {\n args = Array.prototype.slice.call(arguments, 1);\n listeners = handler.slice();\n len = listeners.length;\n for (i = 0; i < len; i++)\n listeners[i].apply(this, args);\n }\n\n return true;\n};\n\nEventEmitter.prototype.addListener = function(type, listener) {\n var m;\n\n if (!isFunction(listener))\n throw TypeError('listener must be a function');\n\n if (!this._events)\n this._events = {};\n\n // To avoid recursion in the case that type === \"newListener\"! Before\n // adding it to the listeners, first emit \"newListener\".\n if (this._events.newListener)\n this.emit('newListener', type,\n isFunction(listener.listener) ?\n listener.listener : listener);\n\n if (!this._events[type])\n // Optimize the case of one listener. Don't need the extra array object.\n this._events[type] = listener;\n else if (isObject(this._events[type]))\n // If we've already got an array, just append.\n this._events[type].push(listener);\n else\n // Adding the second element, need to change to array.\n this._events[type] = [this._events[type], listener];\n\n // Check for listener leak\n if (isObject(this._events[type]) && !this._events[type].warned) {\n if (!isUndefined(this._maxListeners)) {\n m = this._maxListeners;\n } else {\n m = EventEmitter.defaultMaxListeners;\n }\n\n if (m && m > 0 && this._events[type].length > m) {\n this._events[type].warned = true;\n console.error('(node) warning: possible EventEmitter memory ' +\n 'leak detected. %d listeners added. ' +\n 'Use emitter.setMaxListeners() to increase limit.',\n this._events[type].length);\n if (typeof console.trace === 'function') {\n // not supported in IE 10\n console.trace();\n }\n }\n }\n\n return this;\n};\n\nEventEmitter.prototype.on = EventEmitter.prototype.addListener;\n\nEventEmitter.prototype.once = function(type, listener) {\n if (!isFunction(listener))\n throw TypeError('listener must be a function');\n\n var fired = false;\n\n function g() {\n this.removeListener(type, g);\n\n if (!fired) {\n fired = true;\n listener.apply(this, arguments);\n }\n }\n\n g.listener = listener;\n this.on(type, g);\n\n return this;\n};\n\n// emits a 'removeListener' event iff the listener was removed\nEventEmitter.prototype.removeListener = function(type, listener) {\n var list, position, length, i;\n\n if (!isFunction(listener))\n throw TypeError('listener must be a function');\n\n if (!this._events || !this._events[type])\n return this;\n\n list = this._events[type];\n length = list.length;\n position = -1;\n\n if (list === listener ||\n (isFunction(list.listener) && list.listener === listener)) {\n delete this._events[type];\n if (this._events.removeListener)\n this.emit('removeListener', type, listener);\n\n } else if (isObject(list)) {\n for (i = length; i-- > 0;) {\n if (list[i] === listener ||\n (list[i].listener && list[i].listener === listener)) {\n position = i;\n break;\n }\n }\n\n if (position < 0)\n return this;\n\n if (list.length === 1) {\n list.length = 0;\n delete this._events[type];\n } else {\n list.splice(position, 1);\n }\n\n if (this._events.removeListener)\n this.emit('removeListener', type, listener);\n }\n\n return this;\n};\n\nEventEmitter.prototype.removeAllListeners = function(type) {\n var key, listeners;\n\n if (!this._events)\n return this;\n\n // not listening for removeListener, no need to emit\n if (!this._events.removeListener) {\n if (arguments.length === 0)\n this._events = {};\n else if (this._events[type])\n delete this._events[type];\n return this;\n }\n\n // emit removeListener for all listeners on all events\n if (arguments.length === 0) {\n for (key in this._events) {\n if (key === 'removeListener') continue;\n this.removeAllListeners(key);\n }\n this.removeAllListeners('removeListener');\n this._events = {};\n return this;\n }\n\n listeners = this._events[type];\n\n if (isFunction(listeners)) {\n this.removeListener(type, listeners);\n } else if (listeners) {\n // LIFO order\n while (listeners.length)\n this.removeListener(type, listeners[listeners.length - 1]);\n }\n delete this._events[type];\n\n return this;\n};\n\nEventEmitter.prototype.listeners = function(type) {\n var ret;\n if (!this._events || !this._events[type])\n ret = [];\n else if (isFunction(this._events[type]))\n ret = [this._events[type]];\n else\n ret = this._events[type].slice();\n return ret;\n};\n\nEventEmitter.prototype.listenerCount = function(type) {\n if (this._events) {\n var evlistener = this._events[type];\n\n if (isFunction(evlistener))\n return 1;\n else if (evlistener)\n return evlistener.length;\n }\n return 0;\n};\n\nEventEmitter.listenerCount = function(emitter, type) {\n return emitter.listenerCount(type);\n};\n\nfunction isFunction(arg) {\n return typeof arg === 'function';\n}\n\nfunction isNumber(arg) {\n return typeof arg === 'number';\n}\n\nfunction isObject(arg) {\n return typeof arg === 'object' && arg !== null;\n}\n\nfunction isUndefined(arg) {\n return arg === void 0;\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/events/events.js\n// module id = 3\n// module chunks = 1 2"],"sourceRoot":""} --------------------------------------------------------------------------------