Showing preview only (1,203K chars total). Download the full file or copy to clipboard to get everything.
Repository: chenjigeng/filmshopping
Branch: master
Commit: a05194918122
Files: 70
Total size: 1.1 MB
Directory structure:
gitextract_bswggsb3/
├── .babelrc
├── .editorconfig
├── .eslintignore
├── .eslintrc.js
├── .gitignore
├── .idea/
│ ├── filmshopping.iml
│ ├── jsLibraryMappings.xml
│ ├── libraries/
│ │ └── filmshopping_node_modules.xml
│ ├── markdown-navigator/
│ │ └── profiles_settings.xml
│ ├── misc.xml
│ ├── modules.xml
│ ├── vcs.xml
│ └── workspace.xml
├── .postcssrc.js
├── README.md
├── app.js
├── assets/
│ ├── app.js
│ └── vue.js
├── build/
│ ├── build.js
│ ├── check-versions.js
│ ├── dev-client.js
│ ├── dev-server.js
│ ├── utils.js
│ ├── vue-loader.conf.js
│ ├── webpack.base.conf.js
│ ├── webpack.dev.conf.js
│ ├── webpack.prod.conf.js
│ ├── webpack.test.conf.js
│ └── webpack.test1.conf.js
├── config/
│ ├── dev.env.js
│ ├── index.js
│ ├── prod.env.js
│ └── test.env.js
├── dist/
│ ├── index.html
│ └── static/
│ ├── css/
│ │ └── app.8c271112f4a1494c25c7afd8c30bce26.css
│ └── js/
│ ├── app.0bd3338743750b7fdec6.js
│ ├── manifest.f5cd4fe7efba2f755be1.js
│ └── vendor.5485ce944c8bee479c64.js
├── index.html
├── package.json
├── pom.xml
├── src/
│ ├── App.vue
│ ├── components/
│ │ ├── LRdialog.vue
│ │ ├── Nav.vue
│ │ ├── OrderCard.vue
│ │ ├── OrderDetailDialog.vue
│ │ ├── applyYDialog.vue
│ │ └── payDialog.vue
│ ├── main.js
│ ├── router/
│ │ └── index.js
│ ├── store/
│ │ ├── index.js
│ │ └── modules/
│ │ └── content.js
│ ├── styles/
│ │ └── common.css
│ └── views/
│ ├── Home.vue
│ ├── MovieDetail.vue
│ ├── NotFoundComponent.vue
│ ├── Order.vue
│ ├── SelectSeat.vue
│ └── TheaterDetail.vue
├── static/
│ └── .gitkeep
├── test/
│ ├── e2e/
│ │ ├── custom-assertions/
│ │ │ └── elementCount.js
│ │ ├── nightwatch.conf.js
│ │ ├── runner.js
│ │ └── specs/
│ │ └── test.js
│ └── unit/
│ ├── .eslintrc
│ ├── index.js
│ ├── karma.conf.js
│ └── specs/
│ └── Hello.spec.js
├── tt.txt
└── webpack.test1.conf.js
================================================
FILE CONTENTS
================================================
================================================
FILE: .babelrc
================================================
{
"presets": [
["env", { "modules": false }],
"stage-2"
],
"plugins": ["transform-runtime"],
"comments": false,
"env": {
"test": {
"presets": ["env", "stage-2"],
"plugins": [ "istanbul" ]
}
}
}
================================================
FILE: .editorconfig
================================================
root = true
[*]
charset = utf-8
indent_style = space
indent_size = 2
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
================================================
FILE: .eslintignore
================================================
build/*.js
config/*.js
================================================
FILE: .eslintrc.js
================================================
// http://eslint.org/docs/user-guide/configuring
module.exports = {
root: true,
parser: 'babel-eslint',
parserOptions: {
sourceType: 'module'
},
env: {
browser: true,
},
// https://github.com/feross/standard/blob/master/RULES.md#javascript-standard-style
extends: 'standard',
// required to lint *.vue files
plugins: [
'html'
],
// add your custom rules here
'rules': {
// allow paren-less arrow functions
'arrow-parens': 0,
// allow async-await
'generator-star-spacing': 0,
// allow debugger during development
'no-debugger': process.env.NODE_ENV === 'production' ? 2 : 0
}
}
================================================
FILE: .gitignore
================================================
.DS_Store
node_modules/
npm-debug.log*
yarn-debug.log*
yarn-error.log*
test/unit/coverage
test/e2e/reports
selenium-debug.log
================================================
FILE: .idea/filmshopping.iml
================================================
<?xml version="1.0" encoding="UTF-8"?>
<module type="WEB_MODULE" version="4">
<component name="NewModuleRootManager">
<content url="file://$MODULE_DIR$" />
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="library" name="filmshopping node_modules" level="project" />
</component>
</module>
================================================
FILE: .idea/jsLibraryMappings.xml
================================================
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="JavaScriptLibraryMappings">
<file url="file://$PROJECT_DIR$" libraries="{filmshopping node_modules}" />
</component>
</project>
================================================
FILE: .idea/libraries/filmshopping_node_modules.xml
================================================
<component name="libraryTable">
<library name="filmshopping node_modules" type="javaScript">
<properties>
<option name="frameworkName" value="node_modules" />
<sourceFilesUrls>
<item url="file://$PROJECT_DIR$/node_modules" />
</sourceFilesUrls>
</properties>
<CLASSES>
<root url="file://$PROJECT_DIR$/node_modules" />
</CLASSES>
<SOURCES />
</library>
</component>
================================================
FILE: .idea/markdown-navigator/profiles_settings.xml
================================================
<component name="MarkdownNavigator.ProfileManager">
<settings default="" pdf-export="" />
</component>
================================================
FILE: .idea/misc.xml
================================================
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="MarkdownProjectSettings">
<PreviewSettings splitEditorLayout="SPLIT" splitEditorPreview="PREVIEW" useGrayscaleRendering="false" zoomFactor="1.0" maxImageWidth="0" showGitHubPageIfSynced="false" allowBrowsingInPreview="false" synchronizePreviewPosition="true" highlightPreviewType="NONE" highlightFadeOut="5" highlightOnTyping="true" synchronizeSourcePosition="true">
<PanelProvider>
<provider providerId="com.vladsch.idea.multimarkdown.editor.swing.html.panel" providerName="Default - Swing" />
</PanelProvider>
</PreviewSettings>
<ParserSettings>
<PegdownExtensions>
<option name="ABBREVIATIONS" value="false" />
<option name="ANCHORLINKS" value="true" />
<option name="ATXHEADERSPACE" value="true" />
<option name="AUTOLINKS" value="true" />
<option name="DEFINITIONS" value="false" />
<option name="FENCED_CODE_BLOCKS" value="true" />
<option name="FOOTNOTES" value="false" />
<option name="HARDWRAPS" value="false" />
<option name="INSERTED" value="false" />
<option name="QUOTES" value="false" />
<option name="RELAXEDHRULES" value="true" />
<option name="SMARTS" value="false" />
<option name="STRIKETHROUGH" value="true" />
<option name="SUBSCRIPT" value="false" />
<option name="SUPERSCRIPT" value="false" />
<option name="SUPPRESS_HTML_BLOCKS" value="false" />
<option name="SUPPRESS_INLINE_HTML" value="false" />
<option name="TABLES" value="true" />
<option name="TASKLISTITEMS" value="true" />
<option name="TOC" value="false" />
<option name="WIKILINKS" value="true" />
</PegdownExtensions>
<ParserOptions>
<option name="COMMONMARK_LISTS" value="false" />
<option name="DUMMY" value="false" />
<option name="EMOJI_SHORTCUTS" value="true" />
<option name="FLEXMARK_FRONT_MATTER" value="false" />
<option name="GFM_LOOSE_BLANK_LINE_AFTER_ITEM_PARA" value="true" />
<option name="GFM_TABLE_RENDERING" value="true" />
<option name="GITBOOK_URL_ENCODING" value="false" />
<option name="GITHUB_EMOJI_URL" value="false" />
<option name="GITHUB_LISTS" value="true" />
<option name="GITHUB_WIKI_LINKS" value="true" />
<option name="JEKYLL_FRONT_MATTER" value="false" />
<option name="SIM_TOC_BLANK_LINE_SPACER" value="true" />
</ParserOptions>
</ParserSettings>
<HtmlSettings headerTopEnabled="false" headerBottomEnabled="false" bodyTopEnabled="false" bodyBottomEnabled="false" embedUrlContent="false" addPageHeader="true">
<GeneratorProvider>
<provider providerId="com.vladsch.idea.multimarkdown.editor.swing.html.generator" providerName="Default Swing HTML Generator" />
</GeneratorProvider>
<headerTop />
<headerBottom />
<bodyTop />
<bodyBottom />
</HtmlSettings>
<CssSettings previewScheme="UI_SCHEME" cssUri="" isCssUriEnabled="false" isCssTextEnabled="false" isDynamicPageWidth="true">
<StylesheetProvider>
<provider providerId="com.vladsch.idea.multimarkdown.editor.swing.html.css" providerName="Default Swing Stylesheet" />
</StylesheetProvider>
<ScriptProviders />
<cssText />
</CssSettings>
<HtmlExportSettings updateOnSave="false" parentDir="$ProjectFileDir$" targetDir="$ProjectFileDir$" cssDir="" scriptDir="" plainHtml="false" imageDir="" copyLinkedImages="false" imageUniquifyType="0" targetExt="" useTargetExt="false" noCssNoScripts="false" linkToExportedHtml="true" exportOnSettingsChange="true" regenerateOnProjectOpen="false" />
<LinkMapSettings>
<textMaps />
</LinkMapSettings>
</component>
<component name="ProjectInspectionProfilesVisibleTreeState">
<entry key="Project Default">
<profile-state>
<expanded-state>
<State>
<id />
</State>
</expanded-state>
<selected-state>
<State>
<id>AngularJS</id>
</State>
</selected-state>
</profile-state>
</entry>
</component>
<component name="ProjectLevelVcsManager" settingsEditedManually="false">
<OptionsSetting value="true" id="Add" />
<OptionsSetting value="true" id="Remove" />
<OptionsSetting value="true" id="Checkout" />
<OptionsSetting value="true" id="Update" />
<OptionsSetting value="true" id="Status" />
<OptionsSetting value="true" id="Edit" />
<ConfirmationsSetting value="0" id="Add" />
<ConfirmationsSetting value="0" id="Remove" />
</component>
</project>
================================================
FILE: .idea/modules.xml
================================================
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/.idea/filmshopping.iml" filepath="$PROJECT_DIR$/.idea/filmshopping.iml" />
</modules>
</component>
</project>
================================================
FILE: .idea/vcs.xml
================================================
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="$PROJECT_DIR$" vcs="Git" />
</component>
</project>
================================================
FILE: .idea/workspace.xml
================================================
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ChangeListManager">
<list default="true" id="1a060326-00a4-4755-be03-013ca18a234c" name="Default" comment="">
<change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/.idea/jsLibraryMappings.xml" />
<change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/.idea/libraries/filmshopping_node_modules.xml" />
<change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/.idea/vcs.xml" />
<change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/src/views/SelectSeat.vue" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/views/TheaterDetail.vue" afterPath="$PROJECT_DIR$/src/views/TheaterDetail.vue" />
</list>
<ignored path="filmshopping.iws" />
<ignored path=".idea/workspace.xml" />
<option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
<option name="TRACKING_ENABLED" value="true" />
<option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" />
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
<option name="LAST_RESOLUTION" value="IGNORE" />
</component>
<component name="ChangesViewManager" flattened_view="true" show_ignored="false" />
<component name="CreatePatchCommitExecutor">
<option name="PATCH_PATH" value="" />
</component>
<component name="ExecutionTargetManager" SELECTED_TARGET="default_target" />
<component name="FavoritesManager">
<favorites_list name="filmshopping" />
</component>
<component name="FileEditorManager">
<leaf>
<file leaf-file-name="App.vue" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/src/App.vue">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="555">
<caret line="45" column="1" selection-start-line="45" selection-start-column="1" selection-end-line="45" selection-end-column="1" />
<folding />
</state>
</provider>
</entry>
</file>
<file leaf-file-name="SelectSeat.vue" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/src/views/SelectSeat.vue">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="225">
<caret line="15" column="0" selection-start-line="15" selection-start-column="0" selection-end-line="15" selection-end-column="0" />
<folding />
</state>
</provider>
</entry>
</file>
<file leaf-file-name="Home.vue" pinned="false" current-in-tab="true">
<entry file="file://$PROJECT_DIR$/src/views/Home.vue">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="-870">
<caret line="11" column="25" selection-start-line="11" selection-start-column="25" selection-end-line="11" selection-end-column="25" />
<folding />
</state>
</provider>
</entry>
</file>
<file leaf-file-name="NotFoundComponent.vue" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/src/views/NotFoundComponent.vue">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="165">
<caret line="11" column="3" selection-start-line="11" selection-start-column="3" selection-end-line="11" selection-end-column="3" />
<folding />
</state>
</provider>
</entry>
</file>
<file leaf-file-name="MovieDetail.vue" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/src/views/MovieDetail.vue">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="0">
<caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
<folding />
</state>
</provider>
</entry>
</file>
<file leaf-file-name="TheaterDetail.vue" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/src/views/TheaterDetail.vue">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="0">
<caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
<folding />
</state>
</provider>
</entry>
</file>
</leaf>
</component>
<component name="Git.Settings">
<option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
</component>
<component name="IdeDocumentHistory">
<option name="CHANGED_PATHS">
<list>
<option value="$PROJECT_DIR$/src/views/SelectSeat.vue" />
</list>
</option>
</component>
<component name="JsBuildToolGruntFileManager" detection-done="true" sorting="DEFINITION_ORDER" />
<component name="JsBuildToolPackageJson" detection-done="true" sorting="DEFINITION_ORDER">
<package-json value="$PROJECT_DIR$/package.json" />
</component>
<component name="JsGulpfileManager">
<detection-done>true</detection-done>
<sorting>DEFINITION_ORDER</sorting>
</component>
<component name="ProjectFrameBounds">
<option name="width" value="1280" />
<option name="height" value="800" />
</component>
<component name="ProjectLevelVcsManager" settingsEditedManually="false">
<OptionsSetting value="true" id="Add" />
<OptionsSetting value="true" id="Remove" />
<OptionsSetting value="true" id="Checkout" />
<OptionsSetting value="true" id="Update" />
<OptionsSetting value="true" id="Status" />
<OptionsSetting value="true" id="Edit" />
<ConfirmationsSetting value="2" id="Add" />
<ConfirmationsSetting value="0" id="Remove" />
</component>
<component name="ProjectView">
<navigator currentView="ProjectPane" proportions="" version="1">
<flattenPackages />
<showMembers />
<showModules />
<showLibraryContents />
<hideEmptyPackages />
<abbreviatePackageNames />
<autoscrollToSource />
<autoscrollFromSource />
<sortByType />
<manualOrder />
<foldersAlwaysOnTop value="true" />
</navigator>
<panes>
<pane id="Scratches" />
<pane id="ProjectPane">
<subPane>
<PATH>
<PATH_ELEMENT>
<option name="myItemId" value="filmshopping" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
</PATH_ELEMENT>
</PATH>
<PATH>
<PATH_ELEMENT>
<option name="myItemId" value="filmshopping" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
</PATH_ELEMENT>
<PATH_ELEMENT>
<option name="myItemId" value="filmshopping" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
</PATH_ELEMENT>
</PATH>
<PATH>
<PATH_ELEMENT>
<option name="myItemId" value="filmshopping" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
</PATH_ELEMENT>
<PATH_ELEMENT>
<option name="myItemId" value="filmshopping" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
</PATH_ELEMENT>
<PATH_ELEMENT>
<option name="myItemId" value="src" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
</PATH_ELEMENT>
</PATH>
<PATH>
<PATH_ELEMENT>
<option name="myItemId" value="filmshopping" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
</PATH_ELEMENT>
<PATH_ELEMENT>
<option name="myItemId" value="filmshopping" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
</PATH_ELEMENT>
<PATH_ELEMENT>
<option name="myItemId" value="src" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
</PATH_ELEMENT>
<PATH_ELEMENT>
<option name="myItemId" value="views" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
</PATH_ELEMENT>
</PATH>
</subPane>
</pane>
<pane id="Scope" />
</panes>
</component>
<component name="PropertiesComponent">
<property name="settings.editor.selected.configurable" value="preferences.pluginManager" />
<property name="settings.editor.splitter.proportion" value="0.2" />
<property name="last_opened_file_path" value="$PROJECT_DIR$" />
<property name="WebServerToolWindowFactoryState" value="false" />
<property name="HbShouldOpenHtmlAsHb" value="" />
<property name="FullScreen" value="true" />
<property name="nodejs.mocha.mocha_node_package_dir" value="$PROJECT_DIR$/node_modules/mocha" />
<property name="js-jscs-nodeInterpreter" value="/usr/local/bin/node" />
</component>
<component name="RunManager">
<configuration default="true" type="DartCommandLineRunConfigurationType" factoryName="Dart Command Line Application">
<method />
</configuration>
<configuration default="true" type="DartTestRunConfigurationType" factoryName="Dart Test">
<method />
</configuration>
<configuration default="true" type="JavaScriptTestRunnerKarma" factoryName="Karma">
<config-file value="" />
<node-interpreter value="project" />
<envs />
<method />
</configuration>
<configuration default="true" type="JavascriptDebugType" factoryName="JavaScript Debug">
<method />
</configuration>
<configuration default="true" type="NodeJSConfigurationType" factoryName="Node.js" path-to-node="project" working-dir="">
<method />
</configuration>
<configuration default="true" type="cucumber.js" factoryName="Cucumber.js">
<option name="cucumberJsArguments" value="" />
<option name="executablePath" />
<option name="filePath" />
<method />
</configuration>
<configuration default="true" type="js.build_tools.gulp" factoryName="Gulp.js">
<method />
</configuration>
<configuration default="true" type="js.build_tools.npm" factoryName="npm">
<command value="run-script" />
<scripts />
<node-interpreter value="project" />
<envs />
<method />
</configuration>
<configuration default="true" type="mocha-javascript-test-runner" factoryName="Mocha">
<node-interpreter>project</node-interpreter>
<node-options />
<working-directory />
<pass-parent-env>true</pass-parent-env>
<envs />
<ui>bdd</ui>
<extra-mocha-options />
<test-kind>DIRECTORY</test-kind>
<test-directory />
<recursive>false</recursive>
<method />
</configuration>
</component>
<component name="ShelveChangesManager" show_recycled="false">
<option name="remove_strategy" value="false" />
</component>
<component name="TaskManager">
<task active="true" id="Default" summary="Default task">
<changelist id="1a060326-00a4-4755-be03-013ca18a234c" name="Default" comment="" />
<created>1496574055535</created>
<option name="number" value="Default" />
<option name="presentableId" value="Default" />
<updated>1496574055535</updated>
<workItem from="1496574057016" duration="711000" />
</task>
<servers />
</component>
<component name="TimeTrackingManager">
<option name="totallyTimeSpent" value="711000" />
</component>
<component name="ToolWindowManager">
<frame x="0" y="0" width="1280" height="800" extended-state="0" />
<editor active="true" />
<layout>
<window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.20333599" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" />
<window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" />
<window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="true" content_ui="tabs" />
<window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
<window_info id="npm" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="true" content_ui="tabs" />
<window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
<window_info id="Terminal" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.25354108" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
<window_info id="Favorites" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="true" content_ui="tabs" />
<window_info id="Cvs" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" />
<window_info id="Hierarchy" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="2" side_tool="false" content_ui="combo" />
<window_info id="Message" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
<window_info id="Commander" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
<window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
<window_info id="Inspection" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="5" side_tool="false" content_ui="tabs" />
<window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
<window_info id="Ant Build" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
<window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
</layout>
</component>
<component name="VcsContentAnnotationSettings">
<option name="myLimit" value="2678400000" />
</component>
<component name="XDebuggerManager">
<breakpoint-manager />
<watches-manager />
</component>
<component name="editorHistoryManager">
<entry file="file://$PROJECT_DIR$/src/App.vue">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="555">
<caret line="45" column="1" selection-start-line="45" selection-start-column="1" selection-end-line="45" selection-end-column="1" />
<folding />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/views/TheaterDetail.vue">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="0">
<caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
<folding />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/views/MovieDetail.vue">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="0">
<caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
<folding />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/views/NotFoundComponent.vue">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="165">
<caret line="11" column="3" selection-start-line="11" selection-start-column="3" selection-end-line="11" selection-end-column="3" />
<folding />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/views/SelectSeat.vue">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="225">
<caret line="15" column="0" selection-start-line="15" selection-start-column="0" selection-end-line="15" selection-end-column="0" />
<folding />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/views/Home.vue">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="-870">
<caret line="11" column="25" selection-start-line="11" selection-start-column="25" selection-end-line="11" selection-end-column="25" />
<folding />
</state>
</provider>
</entry>
</component>
</project>
================================================
FILE: .postcssrc.js
================================================
// https://github.com/michael-ciniawsky/postcss-load-config
module.exports = {
"plugins": {
// to edit target browsers: use "browserlist" field in package.json
"autoprefixer": {}
}
}
class parent {
constructor(name) {
this.name = name;
}
}
class child extends parent{
constructor(name) {
super(name);
}
}
================================================
FILE: README.md
================================================
# film-shop
> A film shopping website
本项目后台已经下线。此项目已废弃。
## dependencies
```bash
脚手架: vue-cli
UI框架: element-UI
前端框架: vue
状态管理器: vuex
路由控制器: vue-router
(其实就是vue全家桶)
```
## 文件架构
1. 公用的组件写在components
2. 具体的页面逻辑写在views里
3. store文件夹存放公用状态
4. styles存放全局样式
5. router存放路由定义
6. assets存放着公共的图片/字体
## 部署方式
1. 打包前端代码
```bash
npm run build
```
2. 开启node服务器
```bash
node app.js
```
## 开发时切换服务器的方法
在config/index.js里,有一个proxyTable,可以利用它来定义api转发规则和对应的服务器
## Build Setup
``` bash
# install dependencies
npm install
# serve with hot reload at localhost:8080
npm run dev
# build for production with minification
npm run build
# build for production and view the bundle analyzer report
npm run build --report
# run unit tests
npm run unit
# run e2e tests
npm run e2e
# run all tests
npm test
```
## 原子类:
(原子类的目的只是为了方便开发)
1. m-x,ml-x,mr-x,mt-x,mb-x, p-x,pl-x,pr-x,pt-x,mb-x意义如下:(其中,x必须是5的倍数,取值为5-100)
```css
m-x {
margin: xpx
}
ml-x {
margin-left: xpx
}
mr-x {
margin-right: xpx
}
...
```
2. fl,fr,tl,tr,tc意义如下:
```css
fl {
float: left
}
fr {
float: right
}
tl {
text-align: left
}
tr {
texdt-align: right
}
tc {
text-align: center
}
```
================================================
FILE: app.js
================================================
var express = require('express')
var proxy = require('http-proxy-middleware')
var app = express()
app.use('/api', proxy({
target: 'http://119.29.163.132:48403',
changeOrigin: true,
pathRewrite: {
'^/api': ''
}
}))
app.use(express.static('dist'))
app.get('*', function (req, res) {
res.sendfile('./dist/index.html')
})
app.listen(80, function () {
console.log('连接成功')
})
================================================
FILE: assets/app.js
================================================
// var Vue = require('vue')
(function () { 'use strict'
var createApp = function () {
// ---------------------
// 开始常用的应用代码
// ---------------------
// 主要的Vue实例必须返回,并且有一个根节点在id "app"上,这样客户端可以加载它。
return new Vue({
template: '<div id="app">你已经在这花了 {{ counter }} 秒。</div>',
data: {
counter: 0
},
created: function () {
var vm = this
setInterval(function () {
vm.counter += 1
}, 1000)
}
})
// -------------------
// 结束常用的应用代码
// -------------------
}
if (typeof module !== 'undefined' && module.exports) {
module.exports = createApp
} else {
this.app = createApp()
}
}).call(this)
================================================
FILE: assets/vue.js
================================================
/*!
* Vue.js v2.2.6
* (c) 2014-2017 Evan You
* Released under the MIT License.
*/
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
typeof define === 'function' && define.amd ? define(factory) :
(global.Vue = factory());
}(this, (function () { 'use strict';
/* */
/**
* Convert a value to a string that is actually rendered.
*/
function _toString (val) {
return val == null
? ''
: typeof val === 'object'
? JSON.stringify(val, null, 2)
: String(val)
}
/**
* Convert a input value to a number for persistence.
* If the conversion fails, return original string.
*/
function toNumber (val) {
var n = parseFloat(val);
return isNaN(n) ? val : n
}
/**
* Make a map and return a function for checking if a key
* is in that map.
*/
function makeMap (
str,
expectsLowerCase
) {
var map = Object.create(null);
var list = str.split(',');
for (var i = 0; i < list.length; i++) {
map[list[i]] = true;
}
return expectsLowerCase
? function (val) { return map[val.toLowerCase()]; }
: function (val) { return map[val]; }
}
/**
* Check if a tag is a built-in tag.
*/
var isBuiltInTag = makeMap('slot,component', true);
/**
* Remove an item from an array
*/
function remove (arr, item) {
if (arr.length) {
var index = arr.indexOf(item);
if (index > -1) {
return arr.splice(index, 1)
}
}
}
/**
* Check whether the object has the property.
*/
var hasOwnProperty = Object.prototype.hasOwnProperty;
function hasOwn (obj, key) {
return hasOwnProperty.call(obj, key)
}
/**
* Check if value is primitive
*/
function isPrimitive (value) {
return typeof value === 'string' || typeof value === 'number'
}
/**
* Create a cached version of a pure function.
*/
function cached (fn) {
var cache = Object.create(null);
return (function cachedFn (str) {
var hit = cache[str];
return hit || (cache[str] = fn(str))
})
}
/**
* Camelize a hyphen-delimited string.
*/
var camelizeRE = /-(\w)/g;
var camelize = cached(function (str) {
return str.replace(camelizeRE, function (_, c) { return c ? c.toUpperCase() : ''; })
});
/**
* Capitalize a string.
*/
var capitalize = cached(function (str) {
return str.charAt(0).toUpperCase() + str.slice(1)
});
/**
* Hyphenate a camelCase string.
*/
var hyphenateRE = /([^-])([A-Z])/g;
var hyphenate = cached(function (str) {
return str
.replace(hyphenateRE, '$1-$2')
.replace(hyphenateRE, '$1-$2')
.toLowerCase()
});
/**
* Simple bind, faster than native
*/
function bind (fn, ctx) {
function boundFn (a) {
var l = arguments.length;
return l
? l > 1
? fn.apply(ctx, arguments)
: fn.call(ctx, a)
: fn.call(ctx)
}
// record original fn length
boundFn._length = fn.length;
return boundFn
}
/**
* Convert an Array-like object to a real Array.
*/
function toArray (list, start) {
start = start || 0;
var i = list.length - start;
var ret = new Array(i);
while (i--) {
ret[i] = list[i + start];
}
return ret
}
/**
* Mix properties into target object.
*/
function extend (to, _from) {
for (var key in _from) {
to[key] = _from[key];
}
return to
}
/**
* Quick object check - this is primarily used to tell
* Objects from primitive values when we know the value
* is a JSON-compliant type.
*/
function isObject (obj) {
return obj !== null && typeof obj === 'object'
}
/**
* Strict object type check. Only returns true
* for plain JavaScript objects.
*/
var toString = Object.prototype.toString;
var OBJECT_STRING = '[object Object]';
function isPlainObject (obj) {
return toString.call(obj) === OBJECT_STRING
}
/**
* Merge an Array of Objects into a single Object.
*/
function toObject (arr) {
var res = {};
for (var i = 0; i < arr.length; i++) {
if (arr[i]) {
extend(res, arr[i]);
}
}
return res
}
/**
* Perform no operation.
*/
function noop () {}
/**
* Always return false.
*/
var no = function () { return false; };
/**
* Return same value
*/
var identity = function (_) { return _; };
/**
* Generate a static keys string from compiler modules.
*/
function genStaticKeys (modules) {
return modules.reduce(function (keys, m) {
return keys.concat(m.staticKeys || [])
}, []).join(',')
}
/**
* Check if two values are loosely equal - that is,
* if they are plain objects, do they have the same shape?
*/
function looseEqual (a, b) {
var isObjectA = isObject(a);
var isObjectB = isObject(b);
if (isObjectA && isObjectB) {
try {
return JSON.stringify(a) === JSON.stringify(b)
} catch (e) {
// possible circular reference
return a === b
}
} else if (!isObjectA && !isObjectB) {
return String(a) === String(b)
} else {
return false
}
}
function looseIndexOf (arr, val) {
for (var i = 0; i < arr.length; i++) {
if (looseEqual(arr[i], val)) { return i }
}
return -1
}
/**
* Ensure a function is called only once.
*/
function once (fn) {
var called = false;
return function () {
if (!called) {
called = true;
fn();
}
}
}
/* */
var config = {
/**
* Option merge strategies (used in core/util/options)
*/
optionMergeStrategies: Object.create(null),
/**
* Whether to suppress warnings.
*/
silent: false,
/**
* Show production mode tip message on boot?
*/
productionTip: "development" !== 'production',
/**
* Whether to enable devtools
*/
devtools: "development" !== 'production',
/**
* Whether to record perf
*/
performance: false,
/**
* Error handler for watcher errors
*/
errorHandler: null,
/**
* Ignore certain custom elements
*/
ignoredElements: [],
/**
* Custom user key aliases for v-on
*/
keyCodes: Object.create(null),
/**
* Check if a tag is reserved so that it cannot be registered as a
* component. This is platform-dependent and may be overwritten.
*/
isReservedTag: no,
/**
* Check if a tag is an unknown element.
* Platform-dependent.
*/
isUnknownElement: no,
/**
* Get the namespace of an element
*/
getTagNamespace: noop,
/**
* Parse the real tag name for the specific platform.
*/
parsePlatformTagName: identity,
/**
* Check if an attribute must be bound using property, e.g. value
* Platform-dependent.
*/
mustUseProp: no,
/**
* List of asset types that a component can own.
*/
_assetTypes: [
'component',
'directive',
'filter'
],
/**
* List of lifecycle hooks.
*/
_lifecycleHooks: [
'beforeCreate',
'created',
'beforeMount',
'mounted',
'beforeUpdate',
'updated',
'beforeDestroy',
'destroyed',
'activated',
'deactivated'
],
/**
* Max circular updates allowed in a scheduler flush cycle.
*/
_maxUpdateCount: 100
};
/* */
var emptyObject = Object.freeze({});
/**
* Check if a string starts with $ or _
*/
function isReserved (str) {
var c = (str + '').charCodeAt(0);
return c === 0x24 || c === 0x5F
}
/**
* Define a property.
*/
function def (obj, key, val, enumerable) {
Object.defineProperty(obj, key, {
value: val,
enumerable: !!enumerable,
writable: true,
configurable: true
});
}
/**
* Parse simple path.
*/
var bailRE = /[^\w.$]/;
function parsePath (path) {
if (bailRE.test(path)) {
return
}
var segments = path.split('.');
return function (obj) {
for (var i = 0; i < segments.length; i++) {
if (!obj) { return }
obj = obj[segments[i]];
}
return obj
}
}
/* */
/* globals MutationObserver */
// can we use __proto__?
var hasProto = '__proto__' in {};
// Browser environment sniffing
var inBrowser = typeof window !== 'undefined';
var UA = inBrowser && window.navigator.userAgent.toLowerCase();
var isIE = UA && /msie|trident/.test(UA);
var isIE9 = UA && UA.indexOf('msie 9.0') > 0;
var isEdge = UA && UA.indexOf('edge/') > 0;
var isAndroid = UA && UA.indexOf('android') > 0;
var isIOS = UA && /iphone|ipad|ipod|ios/.test(UA);
var isChrome = UA && /chrome\/\d+/.test(UA) && !isEdge;
// this needs to be lazy-evaled because vue may be required before
// vue-server-renderer can set VUE_ENV
var _isServer;
var isServerRendering = function () {
if (_isServer === undefined) {
/* istanbul ignore if */
if (!inBrowser && typeof global !== 'undefined') {
// detect presence of vue-server-renderer and avoid
// Webpack shimming the process
_isServer = global['process'].env.VUE_ENV === 'server';
} else {
_isServer = false;
}
}
return _isServer
};
// detect devtools
var devtools = inBrowser && window.__VUE_DEVTOOLS_GLOBAL_HOOK__;
/* istanbul ignore next */
function isNative (Ctor) {
return /native code/.test(Ctor.toString())
}
var hasSymbol =
typeof Symbol !== 'undefined' && isNative(Symbol) &&
typeof Reflect !== 'undefined' && isNative(Reflect.ownKeys);
/**
* Defer a task to execute it asynchronously.
*/
var nextTick = (function () {
var callbacks = [];
var pending = false;
var timerFunc;
function nextTickHandler () {
pending = false;
var copies = callbacks.slice(0);
callbacks.length = 0;
for (var i = 0; i < copies.length; i++) {
copies[i]();
}
}
// the nextTick behavior leverages the microtask queue, which can be accessed
// via either native Promise.then or MutationObserver.
// MutationObserver has wider support, however it is seriously bugged in
// UIWebView in iOS >= 9.3.3 when triggered in touch event handlers. It
// completely stops working after triggering a few times... so, if native
// Promise is available, we will use it:
/* istanbul ignore if */
if (typeof Promise !== 'undefined' && isNative(Promise)) {
var p = Promise.resolve();
var logError = function (err) { console.error(err); };
timerFunc = function () {
p.then(nextTickHandler).catch(logError);
// in problematic UIWebViews, Promise.then doesn't completely break, but
// it can get stuck in a weird state where callbacks are pushed into the
// microtask queue but the queue isn't being flushed, until the browser
// needs to do some other work, e.g. handle a timer. Therefore we can
// "force" the microtask queue to be flushed by adding an empty timer.
if (isIOS) { setTimeout(noop); }
};
} else if (typeof MutationObserver !== 'undefined' && (
isNative(MutationObserver) ||
// PhantomJS and iOS 7.x
MutationObserver.toString() === '[object MutationObserverConstructor]'
)) {
// use MutationObserver where native Promise is not available,
// e.g. PhantomJS IE11, iOS7, Android 4.4
var counter = 1;
var observer = new MutationObserver(nextTickHandler);
var textNode = document.createTextNode(String(counter));
observer.observe(textNode, {
characterData: true
});
timerFunc = function () {
counter = (counter + 1) % 2;
textNode.data = String(counter);
};
} else {
// fallback to setTimeout
/* istanbul ignore next */
timerFunc = function () {
setTimeout(nextTickHandler, 0);
};
}
return function queueNextTick (cb, ctx) {
var _resolve;
callbacks.push(function () {
if (cb) { cb.call(ctx); }
if (_resolve) { _resolve(ctx); }
});
if (!pending) {
pending = true;
timerFunc();
}
if (!cb && typeof Promise !== 'undefined') {
return new Promise(function (resolve) {
_resolve = resolve;
})
}
}
})();
var _Set;
/* istanbul ignore if */
if (typeof Set !== 'undefined' && isNative(Set)) {
// use native Set when available.
_Set = Set;
} else {
// a non-standard Set polyfill that only works with primitive keys.
_Set = (function () {
function Set () {
this.set = Object.create(null);
}
Set.prototype.has = function has (key) {
return this.set[key] === true
};
Set.prototype.add = function add (key) {
this.set[key] = true;
};
Set.prototype.clear = function clear () {
this.set = Object.create(null);
};
return Set;
}());
}
var warn = noop;
var tip = noop;
var formatComponentName;
{
var hasConsole = typeof console !== 'undefined';
var classifyRE = /(?:^|[-_])(\w)/g;
var classify = function (str) { return str
.replace(classifyRE, function (c) { return c.toUpperCase(); })
.replace(/[-_]/g, ''); };
warn = function (msg, vm) {
if (hasConsole && (!config.silent)) {
console.error("[Vue warn]: " + msg + " " + (
vm ? formatLocation(formatComponentName(vm)) : ''
));
}
};
tip = function (msg, vm) {
if (hasConsole && (!config.silent)) {
console.warn("[Vue tip]: " + msg + " " + (
vm ? formatLocation(formatComponentName(vm)) : ''
));
}
};
formatComponentName = function (vm, includeFile) {
if (vm.$root === vm) {
return '<Root>'
}
var name = typeof vm === 'string'
? vm
: typeof vm === 'function' && vm.options
? vm.options.name
: vm._isVue
? vm.$options.name || vm.$options._componentTag
: vm.name;
var file = vm._isVue && vm.$options.__file;
if (!name && file) {
var match = file.match(/([^/\\]+)\.vue$/);
name = match && match[1];
}
return (
(name ? ("<" + (classify(name)) + ">") : "<Anonymous>") +
(file && includeFile !== false ? (" at " + file) : '')
)
};
var formatLocation = function (str) {
if (str === "<Anonymous>") {
str += " - use the \"name\" option for better debugging messages.";
}
return ("\n(found in " + str + ")")
};
}
/* */
var uid$1 = 0;
/**
* A dep is an observable that can have multiple
* directives subscribing to it.
*/
var Dep = function Dep () {
this.id = uid$1++;
this.subs = [];
};
Dep.prototype.addSub = function addSub (sub) {
this.subs.push(sub);
};
Dep.prototype.removeSub = function removeSub (sub) {
remove(this.subs, sub);
};
Dep.prototype.depend = function depend () {
if (Dep.target) {
Dep.target.addDep(this);
}
};
Dep.prototype.notify = function notify () {
// stabilize the subscriber list first
var subs = this.subs.slice();
for (var i = 0, l = subs.length; i < l; i++) {
subs[i].update();
}
};
// the current target watcher being evaluated.
// this is globally unique because there could be only one
// watcher being evaluated at any time.
Dep.target = null;
var targetStack = [];
function pushTarget (_target) {
if (Dep.target) { targetStack.push(Dep.target); }
Dep.target = _target;
}
function popTarget () {
Dep.target = targetStack.pop();
}
/*
* not type checking this file because flow doesn't play well with
* dynamically accessing methods on Array prototype
*/
var arrayProto = Array.prototype;
var arrayMethods = Object.create(arrayProto);[
'push',
'pop',
'shift',
'unshift',
'splice',
'sort',
'reverse'
]
.forEach(function (method) {
// cache original method
var original = arrayProto[method];
def(arrayMethods, method, function mutator () {
var arguments$1 = arguments;
// avoid leaking arguments:
// http://jsperf.com/closure-with-arguments
var i = arguments.length;
var args = new Array(i);
while (i--) {
args[i] = arguments$1[i];
}
var result = original.apply(this, args);
var ob = this.__ob__;
var inserted;
switch (method) {
case 'push':
inserted = args;
break
case 'unshift':
inserted = args;
break
case 'splice':
inserted = args.slice(2);
break
}
if (inserted) { ob.observeArray(inserted); }
// notify change
ob.dep.notify();
return result
});
});
/* */
var arrayKeys = Object.getOwnPropertyNames(arrayMethods);
/**
* By default, when a reactive property is set, the new value is
* also converted to become reactive. However when passing down props,
* we don't want to force conversion because the value may be a nested value
* under a frozen data structure. Converting it would defeat the optimization.
*/
var observerState = {
shouldConvert: true,
isSettingProps: false
};
/**
* Observer class that are attached to each observed
* object. Once attached, the observer converts target
* object's property keys into getter/setters that
* collect dependencies and dispatches updates.
*/
var Observer = function Observer (value) {
this.value = value;
this.dep = new Dep();
this.vmCount = 0;
def(value, '__ob__', this);
if (Array.isArray(value)) {
var augment = hasProto
? protoAugment
: copyAugment;
augment(value, arrayMethods, arrayKeys);
this.observeArray(value);
} else {
this.walk(value);
}
};
/**
* Walk through each property and convert them into
* getter/setters. This method should only be called when
* value type is Object.
*/
Observer.prototype.walk = function walk (obj) {
var keys = Object.keys(obj);
for (var i = 0; i < keys.length; i++) {
defineReactive$$1(obj, keys[i], obj[keys[i]]);
}
};
/**
* Observe a list of Array items.
*/
Observer.prototype.observeArray = function observeArray (items) {
for (var i = 0, l = items.length; i < l; i++) {
observe(items[i]);
}
};
// helpers
/**
* Augment an target Object or Array by intercepting
* the prototype chain using __proto__
*/
function protoAugment (target, src) {
/* eslint-disable no-proto */
target.__proto__ = src;
/* eslint-enable no-proto */
}
/**
* Augment an target Object or Array by defining
* hidden properties.
*/
/* istanbul ignore next */
function copyAugment (target, src, keys) {
for (var i = 0, l = keys.length; i < l; i++) {
var key = keys[i];
def(target, key, src[key]);
}
}
/**
* Attempt to create an observer instance for a value,
* returns the new observer if successfully observed,
* or the existing observer if the value already has one.
*/
function observe (value, asRootData) {
if (!isObject(value)) {
return
}
var ob;
if (hasOwn(value, '__ob__') && value.__ob__ instanceof Observer) {
ob = value.__ob__;
} else if (
observerState.shouldConvert &&
!isServerRendering() &&
(Array.isArray(value) || isPlainObject(value)) &&
Object.isExtensible(value) &&
!value._isVue
) {
ob = new Observer(value);
}
if (asRootData && ob) {
ob.vmCount++;
}
return ob
}
/**
* Define a reactive property on an Object.
*/
function defineReactive$$1 (
obj,
key,
val,
customSetter
) {
var dep = new Dep();
var property = Object.getOwnPropertyDescriptor(obj, key);
if (property && property.configurable === false) {
return
}
// cater for pre-defined getter/setters
var getter = property && property.get;
var setter = property && property.set;
var childOb = observe(val);
Object.defineProperty(obj, key, {
enumerable: true,
configurable: true,
get: function reactiveGetter () {
var value = getter ? getter.call(obj) : val;
if (Dep.target) {
dep.depend();
if (childOb) {
childOb.dep.depend();
}
if (Array.isArray(value)) {
dependArray(value);
}
}
return value
},
set: function reactiveSetter (newVal) {
var value = getter ? getter.call(obj) : val;
/* eslint-disable no-self-compare */
if (newVal === value || (newVal !== newVal && value !== value)) {
return
}
/* eslint-enable no-self-compare */
if ("development" !== 'production' && customSetter) {
customSetter();
}
if (setter) {
setter.call(obj, newVal);
} else {
val = newVal;
}
childOb = observe(newVal);
dep.notify();
}
});
}
/**
* Set a property on an object. Adds the new property and
* triggers change notification if the property doesn't
* already exist.
*/
function set (target, key, val) {
if (Array.isArray(target) && typeof key === 'number') {
target.length = Math.max(target.length, key);
target.splice(key, 1, val);
return val
}
if (hasOwn(target, key)) {
target[key] = val;
return val
}
var ob = (target ).__ob__;
if (target._isVue || (ob && ob.vmCount)) {
"development" !== 'production' && warn(
'Avoid adding reactive properties to a Vue instance or its root $data ' +
'at runtime - declare it upfront in the data option.'
);
return val
}
if (!ob) {
target[key] = val;
return val
}
defineReactive$$1(ob.value, key, val);
ob.dep.notify();
return val
}
/**
* Delete a property and trigger change if necessary.
*/
function del (target, key) {
if (Array.isArray(target) && typeof key === 'number') {
target.splice(key, 1);
return
}
var ob = (target ).__ob__;
if (target._isVue || (ob && ob.vmCount)) {
"development" !== 'production' && warn(
'Avoid deleting properties on a Vue instance or its root $data ' +
'- just set it to null.'
);
return
}
if (!hasOwn(target, key)) {
return
}
delete target[key];
if (!ob) {
return
}
ob.dep.notify();
}
/**
* Collect dependencies on array elements when the array is touched, since
* we cannot intercept array element access like property getters.
*/
function dependArray (value) {
for (var e = (void 0), i = 0, l = value.length; i < l; i++) {
e = value[i];
e && e.__ob__ && e.__ob__.dep.depend();
if (Array.isArray(e)) {
dependArray(e);
}
}
}
/* */
/**
* Option overwriting strategies are functions that handle
* how to merge a parent option value and a child option
* value into the final value.
*/
var strats = config.optionMergeStrategies;
/**
* Options with restrictions
*/
{
strats.el = strats.propsData = function (parent, child, vm, key) {
if (!vm) {
warn(
"option \"" + key + "\" can only be used during instance " +
'creation with the `new` keyword.'
);
}
return defaultStrat(parent, child)
};
}
/**
* Helper that recursively merges two data objects together.
*/
function mergeData (to, from) {
if (!from) { return to }
var key, toVal, fromVal;
var keys = Object.keys(from);
for (var i = 0; i < keys.length; i++) {
key = keys[i];
toVal = to[key];
fromVal = from[key];
if (!hasOwn(to, key)) {
set(to, key, fromVal);
} else if (isPlainObject(toVal) && isPlainObject(fromVal)) {
mergeData(toVal, fromVal);
}
}
return to
}
/**
* Data
*/
strats.data = function (
parentVal,
childVal,
vm
) {
if (!vm) {
// in a Vue.extend merge, both should be functions
if (!childVal) {
return parentVal
}
if (typeof childVal !== 'function') {
"development" !== 'production' && warn(
'The "data" option should be a function ' +
'that returns a per-instance value in component ' +
'definitions.',
vm
);
return parentVal
}
if (!parentVal) {
return childVal
}
// when parentVal & childVal are both present,
// we need to return a function that returns the
// merged result of both functions... no need to
// check if parentVal is a function here because
// it has to be a function to pass previous merges.
return function mergedDataFn () {
return mergeData(
childVal.call(this),
parentVal.call(this)
)
}
} else if (parentVal || childVal) {
return function mergedInstanceDataFn () {
// instance merge
var instanceData = typeof childVal === 'function'
? childVal.call(vm)
: childVal;
var defaultData = typeof parentVal === 'function'
? parentVal.call(vm)
: undefined;
if (instanceData) {
return mergeData(instanceData, defaultData)
} else {
return defaultData
}
}
}
};
/**
* Hooks and props are merged as arrays.
*/
function mergeHook (
parentVal,
childVal
) {
return childVal
? parentVal
? parentVal.concat(childVal)
: Array.isArray(childVal)
? childVal
: [childVal]
: parentVal
}
config._lifecycleHooks.forEach(function (hook) {
strats[hook] = mergeHook;
});
/**
* Assets
*
* When a vm is present (instance creation), we need to do
* a three-way merge between constructor options, instance
* options and parent options.
*/
function mergeAssets (parentVal, childVal) {
var res = Object.create(parentVal || null);
return childVal
? extend(res, childVal)
: res
}
config._assetTypes.forEach(function (type) {
strats[type + 's'] = mergeAssets;
});
/**
* Watchers.
*
* Watchers hashes should not overwrite one
* another, so we merge them as arrays.
*/
strats.watch = function (parentVal, childVal) {
/* istanbul ignore if */
if (!childVal) { return Object.create(parentVal || null) }
if (!parentVal) { return childVal }
var ret = {};
extend(ret, parentVal);
for (var key in childVal) {
var parent = ret[key];
var child = childVal[key];
if (parent && !Array.isArray(parent)) {
parent = [parent];
}
ret[key] = parent
? parent.concat(child)
: [child];
}
return ret
};
/**
* Other object hashes.
*/
strats.props =
strats.methods =
strats.computed = function (parentVal, childVal) {
if (!childVal) { return Object.create(parentVal || null) }
if (!parentVal) { return childVal }
var ret = Object.create(null);
extend(ret, parentVal);
extend(ret, childVal);
return ret
};
/**
* Default strategy.
*/
var defaultStrat = function (parentVal, childVal) {
return childVal === undefined
? parentVal
: childVal
};
/**
* Validate component names
*/
function checkComponents (options) {
for (var key in options.components) {
var lower = key.toLowerCase();
if (isBuiltInTag(lower) || config.isReservedTag(lower)) {
warn(
'Do not use built-in or reserved HTML elements as component ' +
'id: ' + key
);
}
}
}
/**
* Ensure all props option syntax are normalized into the
* Object-based format.
*/
function normalizeProps (options) {
var props = options.props;
if (!props) { return }
var res = {};
var i, val, name;
if (Array.isArray(props)) {
i = props.length;
while (i--) {
val = props[i];
if (typeof val === 'string') {
name = camelize(val);
res[name] = { type: null };
} else {
warn('props must be strings when using array syntax.');
}
}
} else if (isPlainObject(props)) {
for (var key in props) {
val = props[key];
name = camelize(key);
res[name] = isPlainObject(val)
? val
: { type: val };
}
}
options.props = res;
}
/**
* Normalize raw function directives into object format.
*/
function normalizeDirectives (options) {
var dirs = options.directives;
if (dirs) {
for (var key in dirs) {
var def = dirs[key];
if (typeof def === 'function') {
dirs[key] = { bind: def, update: def };
}
}
}
}
/**
* Merge two option objects into a new one.
* Core utility used in both instantiation and inheritance.
*/
function mergeOptions (
parent,
child,
vm
) {
{
checkComponents(child);
}
normalizeProps(child);
normalizeDirectives(child);
var extendsFrom = child.extends;
if (extendsFrom) {
parent = typeof extendsFrom === 'function'
? mergeOptions(parent, extendsFrom.options, vm)
: mergeOptions(parent, extendsFrom, vm);
}
if (child.mixins) {
for (var i = 0, l = child.mixins.length; i < l; i++) {
var mixin = child.mixins[i];
if (mixin.prototype instanceof Vue$3) {
mixin = mixin.options;
}
parent = mergeOptions(parent, mixin, vm);
}
}
var options = {};
var key;
for (key in parent) {
mergeField(key);
}
for (key in child) {
if (!hasOwn(parent, key)) {
mergeField(key);
}
}
function mergeField (key) {
var strat = strats[key] || defaultStrat;
options[key] = strat(parent[key], child[key], vm, key);
}
return options
}
/**
* Resolve an asset.
* This function is used because child instances need access
* to assets defined in its ancestor chain.
*/
function resolveAsset (
options,
type,
id,
warnMissing
) {
/* istanbul ignore if */
if (typeof id !== 'string') {
return
}
var assets = options[type];
// check local registration variations first
if (hasOwn(assets, id)) { return assets[id] }
var camelizedId = camelize(id);
if (hasOwn(assets, camelizedId)) { return assets[camelizedId] }
var PascalCaseId = capitalize(camelizedId);
if (hasOwn(assets, PascalCaseId)) { return assets[PascalCaseId] }
// fallback to prototype chain
var res = assets[id] || assets[camelizedId] || assets[PascalCaseId];
if ("development" !== 'production' && warnMissing && !res) {
warn(
'Failed to resolve ' + type.slice(0, -1) + ': ' + id,
options
);
}
return res
}
/* */
function validateProp (
key,
propOptions,
propsData,
vm
) {
var prop = propOptions[key];
var absent = !hasOwn(propsData, key);
var value = propsData[key];
// handle boolean props
if (isType(Boolean, prop.type)) {
if (absent && !hasOwn(prop, 'default')) {
value = false;
} else if (!isType(String, prop.type) && (value === '' || value === hyphenate(key))) {
value = true;
}
}
// check default value
if (value === undefined) {
value = getPropDefaultValue(vm, prop, key);
// since the default value is a fresh copy,
// make sure to observe it.
var prevShouldConvert = observerState.shouldConvert;
observerState.shouldConvert = true;
observe(value);
observerState.shouldConvert = prevShouldConvert;
}
{
assertProp(prop, key, value, vm, absent);
}
return value
}
/**
* Get the default value of a prop.
*/
function getPropDefaultValue (vm, prop, key) {
// no default, return undefined
if (!hasOwn(prop, 'default')) {
return undefined
}
var def = prop.default;
// warn against non-factory defaults for Object & Array
if ("development" !== 'production' && isObject(def)) {
warn(
'Invalid default value for prop "' + key + '": ' +
'Props with type Object/Array must use a factory function ' +
'to return the default value.',
vm
);
}
// the raw prop value was also undefined from previous render,
// return previous default value to avoid unnecessary watcher trigger
if (vm && vm.$options.propsData &&
vm.$options.propsData[key] === undefined &&
vm._props[key] !== undefined) {
return vm._props[key]
}
// call factory function for non-Function types
// a value is Function if its prototype is function even across different execution context
return typeof def === 'function' && getType(prop.type) !== 'Function'
? def.call(vm)
: def
}
/**
* Assert whether a prop is valid.
*/
function assertProp (
prop,
name,
value,
vm,
absent
) {
if (prop.required && absent) {
warn(
'Missing required prop: "' + name + '"',
vm
);
return
}
if (value == null && !prop.required) {
return
}
var type = prop.type;
var valid = !type || type === true;
var expectedTypes = [];
if (type) {
if (!Array.isArray(type)) {
type = [type];
}
for (var i = 0; i < type.length && !valid; i++) {
var assertedType = assertType(value, type[i]);
expectedTypes.push(assertedType.expectedType || '');
valid = assertedType.valid;
}
}
if (!valid) {
warn(
'Invalid prop: type check failed for prop "' + name + '".' +
' Expected ' + expectedTypes.map(capitalize).join(', ') +
', got ' + Object.prototype.toString.call(value).slice(8, -1) + '.',
vm
);
return
}
var validator = prop.validator;
if (validator) {
if (!validator(value)) {
warn(
'Invalid prop: custom validator check failed for prop "' + name + '".',
vm
);
}
}
}
/**
* Assert the type of a value
*/
function assertType (value, type) {
var valid;
var expectedType = getType(type);
if (expectedType === 'String') {
valid = typeof value === (expectedType = 'string');
} else if (expectedType === 'Number') {
valid = typeof value === (expectedType = 'number');
} else if (expectedType === 'Boolean') {
valid = typeof value === (expectedType = 'boolean');
} else if (expectedType === 'Function') {
valid = typeof value === (expectedType = 'function');
} else if (expectedType === 'Object') {
valid = isPlainObject(value);
} else if (expectedType === 'Array') {
valid = Array.isArray(value);
} else {
valid = value instanceof type;
}
return {
valid: valid,
expectedType: expectedType
}
}
/**
* Use function string name to check built-in types,
* because a simple equality check will fail when running
* across different vms / iframes.
*/
function getType (fn) {
var match = fn && fn.toString().match(/^\s*function (\w+)/);
return match && match[1]
}
function isType (type, fn) {
if (!Array.isArray(fn)) {
return getType(fn) === getType(type)
}
for (var i = 0, len = fn.length; i < len; i++) {
if (getType(fn[i]) === getType(type)) {
return true
}
}
/* istanbul ignore next */
return false
}
function handleError (err, vm, info) {
if (config.errorHandler) {
config.errorHandler.call(null, err, vm, info);
} else {
{
warn(("Error in " + info + ":"), vm);
}
/* istanbul ignore else */
if (inBrowser && typeof console !== 'undefined') {
console.error(err);
} else {
throw err
}
}
}
/* not type checking this file because flow doesn't play well with Proxy */
var initProxy;
{
var allowedGlobals = makeMap(
'Infinity,undefined,NaN,isFinite,isNaN,' +
'parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,' +
'Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,' +
'require' // for Webpack/Browserify
);
var warnNonPresent = function (target, key) {
warn(
"Property or method \"" + key + "\" is not defined on the instance but " +
"referenced during render. Make sure to declare reactive data " +
"properties in the data option.",
target
);
};
var hasProxy =
typeof Proxy !== 'undefined' &&
Proxy.toString().match(/native code/);
if (hasProxy) {
var isBuiltInModifier = makeMap('stop,prevent,self,ctrl,shift,alt,meta');
config.keyCodes = new Proxy(config.keyCodes, {
set: function set (target, key, value) {
if (isBuiltInModifier(key)) {
warn(("Avoid overwriting built-in modifier in config.keyCodes: ." + key));
return false
} else {
target[key] = value;
return true
}
}
});
}
var hasHandler = {
has: function has (target, key) {
var has = key in target;
var isAllowed = allowedGlobals(key) || key.charAt(0) === '_';
if (!has && !isAllowed) {
warnNonPresent(target, key);
}
return has || !isAllowed
}
};
var getHandler = {
get: function get (target, key) {
if (typeof key === 'string' && !(key in target)) {
warnNonPresent(target, key);
}
return target[key]
}
};
initProxy = function initProxy (vm) {
if (hasProxy) {
// determine which proxy handler to use
var options = vm.$options;
var handlers = options.render && options.render._withStripped
? getHandler
: hasHandler;
vm._renderProxy = new Proxy(vm, handlers);
} else {
vm._renderProxy = vm;
}
};
}
var mark;
var measure;
{
var perf = inBrowser && window.performance;
/* istanbul ignore if */
if (
perf &&
perf.mark &&
perf.measure &&
perf.clearMarks &&
perf.clearMeasures
) {
mark = function (tag) { return perf.mark(tag); };
measure = function (name, startTag, endTag) {
perf.measure(name, startTag, endTag);
perf.clearMarks(startTag);
perf.clearMarks(endTag);
perf.clearMeasures(name);
};
}
}
/* */
var VNode = function VNode (
tag,
data,
children,
text,
elm,
context,
componentOptions
) {
this.tag = tag;
this.data = data;
this.children = children;
this.text = text;
this.elm = elm;
this.ns = undefined;
this.context = context;
this.functionalContext = undefined;
this.key = data && data.key;
this.componentOptions = componentOptions;
this.componentInstance = undefined;
this.parent = undefined;
this.raw = false;
this.isStatic = false;
this.isRootInsert = true;
this.isComment = false;
this.isCloned = false;
this.isOnce = false;
};
var prototypeAccessors = { child: {} };
// DEPRECATED: alias for componentInstance for backwards compat.
/* istanbul ignore next */
prototypeAccessors.child.get = function () {
return this.componentInstance
};
Object.defineProperties( VNode.prototype, prototypeAccessors );
var createEmptyVNode = function () {
var node = new VNode();
node.text = '';
node.isComment = true;
return node
};
function createTextVNode (val) {
return new VNode(undefined, undefined, undefined, String(val))
}
// optimized shallow clone
// used for static nodes and slot nodes because they may be reused across
// multiple renders, cloning them avoids errors when DOM manipulations rely
// on their elm reference.
function cloneVNode (vnode) {
var cloned = new VNode(
vnode.tag,
vnode.data,
vnode.children,
vnode.text,
vnode.elm,
vnode.context,
vnode.componentOptions
);
cloned.ns = vnode.ns;
cloned.isStatic = vnode.isStatic;
cloned.key = vnode.key;
cloned.isCloned = true;
return cloned
}
function cloneVNodes (vnodes) {
var len = vnodes.length;
var res = new Array(len);
for (var i = 0; i < len; i++) {
res[i] = cloneVNode(vnodes[i]);
}
return res
}
/* */
var normalizeEvent = cached(function (name) {
var once$$1 = name.charAt(0) === '~'; // Prefixed last, checked first
name = once$$1 ? name.slice(1) : name;
var capture = name.charAt(0) === '!';
name = capture ? name.slice(1) : name;
return {
name: name,
once: once$$1,
capture: capture
}
});
function createFnInvoker (fns) {
function invoker () {
var arguments$1 = arguments;
var fns = invoker.fns;
if (Array.isArray(fns)) {
for (var i = 0; i < fns.length; i++) {
fns[i].apply(null, arguments$1);
}
} else {
// return handler return value for single handlers
return fns.apply(null, arguments)
}
}
invoker.fns = fns;
return invoker
}
function updateListeners (
on,
oldOn,
add,
remove$$1,
vm
) {
var name, cur, old, event;
for (name in on) {
cur = on[name];
old = oldOn[name];
event = normalizeEvent(name);
if (!cur) {
"development" !== 'production' && warn(
"Invalid handler for event \"" + (event.name) + "\": got " + String(cur),
vm
);
} else if (!old) {
if (!cur.fns) {
cur = on[name] = createFnInvoker(cur);
}
add(event.name, cur, event.once, event.capture);
} else if (cur !== old) {
old.fns = cur;
on[name] = old;
}
}
for (name in oldOn) {
if (!on[name]) {
event = normalizeEvent(name);
remove$$1(event.name, oldOn[name], event.capture);
}
}
}
/* */
function mergeVNodeHook (def, hookKey, hook) {
var invoker;
var oldHook = def[hookKey];
function wrappedHook () {
hook.apply(this, arguments);
// important: remove merged hook to ensure it's called only once
// and prevent memory leak
remove(invoker.fns, wrappedHook);
}
if (!oldHook) {
// no existing hook
invoker = createFnInvoker([wrappedHook]);
} else {
/* istanbul ignore if */
if (oldHook.fns && oldHook.merged) {
// already a merged invoker
invoker = oldHook;
invoker.fns.push(wrappedHook);
} else {
// existing plain hook
invoker = createFnInvoker([oldHook, wrappedHook]);
}
}
invoker.merged = true;
def[hookKey] = invoker;
}
/* */
// The template compiler attempts to minimize the need for normalization by
// statically analyzing the template at compile time.
//
// For plain HTML markup, normalization can be completely skipped because the
// generated render function is guaranteed to return Array<VNode>. There are
// two cases where extra normalization is needed:
// 1. When the children contains components - because a functional component
// may return an Array instead of a single root. In this case, just a simple
// normalization is needed - if any child is an Array, we flatten the whole
// thing with Array.prototype.concat. It is guaranteed to be only 1-level deep
// because functional components already normalize their own children.
function simpleNormalizeChildren (children) {
for (var i = 0; i < children.length; i++) {
if (Array.isArray(children[i])) {
return Array.prototype.concat.apply([], children)
}
}
return children
}
// 2. When the children contains constructs that always generated nested Arrays,
// e.g. <template>, <slot>, v-for, or when the children is provided by user
// with hand-written render functions / JSX. In such cases a full normalization
// is needed to cater to all possible types of children values.
function normalizeChildren (children) {
return isPrimitive(children)
? [createTextVNode(children)]
: Array.isArray(children)
? normalizeArrayChildren(children)
: undefined
}
function normalizeArrayChildren (children, nestedIndex) {
var res = [];
var i, c, last;
for (i = 0; i < children.length; i++) {
c = children[i];
if (c == null || typeof c === 'boolean') { continue }
last = res[res.length - 1];
// nested
if (Array.isArray(c)) {
res.push.apply(res, normalizeArrayChildren(c, ((nestedIndex || '') + "_" + i)));
} else if (isPrimitive(c)) {
if (last && last.text) {
last.text += String(c);
} else if (c !== '') {
// convert primitive to vnode
res.push(createTextVNode(c));
}
} else {
if (c.text && last && last.text) {
res[res.length - 1] = createTextVNode(last.text + c.text);
} else {
// default key for nested array children (likely generated by v-for)
if (c.tag && c.key == null && nestedIndex != null) {
c.key = "__vlist" + nestedIndex + "_" + i + "__";
}
res.push(c);
}
}
}
return res
}
/* */
function getFirstComponentChild (children) {
return children && children.filter(function (c) { return c && c.componentOptions; })[0]
}
/* */
function initEvents (vm) {
vm._events = Object.create(null);
vm._hasHookEvent = false;
// init parent attached events
var listeners = vm.$options._parentListeners;
if (listeners) {
updateComponentListeners(vm, listeners);
}
}
var target;
function add (event, fn, once$$1) {
if (once$$1) {
target.$once(event, fn);
} else {
target.$on(event, fn);
}
}
function remove$1 (event, fn) {
target.$off(event, fn);
}
function updateComponentListeners (
vm,
listeners,
oldListeners
) {
target = vm;
updateListeners(listeners, oldListeners || {}, add, remove$1, vm);
}
function eventsMixin (Vue) {
var hookRE = /^hook:/;
Vue.prototype.$on = function (event, fn) {
var this$1 = this;
var vm = this;
if (Array.isArray(event)) {
for (var i = 0, l = event.length; i < l; i++) {
this$1.$on(event[i], fn);
}
} else {
(vm._events[event] || (vm._events[event] = [])).push(fn);
// optimize hook:event cost by using a boolean flag marked at registration
// instead of a hash lookup
if (hookRE.test(event)) {
vm._hasHookEvent = true;
}
}
return vm
};
Vue.prototype.$once = function (event, fn) {
var vm = this;
function on () {
vm.$off(event, on);
fn.apply(vm, arguments);
}
on.fn = fn;
vm.$on(event, on);
return vm
};
Vue.prototype.$off = function (event, fn) {
var this$1 = this;
var vm = this;
// all
if (!arguments.length) {
vm._events = Object.create(null);
return vm
}
// array of events
if (Array.isArray(event)) {
for (var i$1 = 0, l = event.length; i$1 < l; i$1++) {
this$1.$off(event[i$1], fn);
}
return vm
}
// specific event
var cbs = vm._events[event];
if (!cbs) {
return vm
}
if (arguments.length === 1) {
vm._events[event] = null;
return vm
}
// specific handler
var cb;
var i = cbs.length;
while (i--) {
cb = cbs[i];
if (cb === fn || cb.fn === fn) {
cbs.splice(i, 1);
break
}
}
return vm
};
Vue.prototype.$emit = function (event) {
var vm = this;
{
var lowerCaseEvent = event.toLowerCase();
if (lowerCaseEvent !== event && vm._events[lowerCaseEvent]) {
tip(
"Event \"" + lowerCaseEvent + "\" is emitted in component " +
(formatComponentName(vm)) + " but the handler is registered for \"" + event + "\". " +
"Note that HTML attributes are case-insensitive and you cannot use " +
"v-on to listen to camelCase events when using in-DOM templates. " +
"You should probably use \"" + (hyphenate(event)) + "\" instead of \"" + event + "\"."
);
}
}
var cbs = vm._events[event];
if (cbs) {
cbs = cbs.length > 1 ? toArray(cbs) : cbs;
var args = toArray(arguments, 1);
for (var i = 0, l = cbs.length; i < l; i++) {
cbs[i].apply(vm, args);
}
}
return vm
};
}
/* */
/**
* Runtime helper for resolving raw children VNodes into a slot object.
*/
function resolveSlots (
children,
context
) {
var slots = {};
if (!children) {
return slots
}
var defaultSlot = [];
var name, child;
for (var i = 0, l = children.length; i < l; i++) {
child = children[i];
// named slots should only be respected if the vnode was rendered in the
// same context.
if ((child.context === context || child.functionalContext === context) &&
child.data && (name = child.data.slot)) {
var slot = (slots[name] || (slots[name] = []));
if (child.tag === 'template') {
slot.push.apply(slot, child.children);
} else {
slot.push(child);
}
} else {
defaultSlot.push(child);
}
}
// ignore whitespace
if (!defaultSlot.every(isWhitespace)) {
slots.default = defaultSlot;
}
return slots
}
function isWhitespace (node) {
return node.isComment || node.text === ' '
}
function resolveScopedSlots (
fns
) {
var res = {};
for (var i = 0; i < fns.length; i++) {
res[fns[i][0]] = fns[i][1];
}
return res
}
/* */
var activeInstance = null;
function initLifecycle (vm) {
var options = vm.$options;
// locate first non-abstract parent
var parent = options.parent;
if (parent && !options.abstract) {
while (parent.$options.abstract && parent.$parent) {
parent = parent.$parent;
}
parent.$children.push(vm);
}
vm.$parent = parent;
vm.$root = parent ? parent.$root : vm;
vm.$children = [];
vm.$refs = {};
vm._watcher = null;
vm._inactive = null;
vm._directInactive = false;
vm._isMounted = false;
vm._isDestroyed = false;
vm._isBeingDestroyed = false;
}
function lifecycleMixin (Vue) {
Vue.prototype._update = function (vnode, hydrating) {
var vm = this;
if (vm._isMounted) {
callHook(vm, 'beforeUpdate');
}
var prevEl = vm.$el;
var prevVnode = vm._vnode;
var prevActiveInstance = activeInstance;
activeInstance = vm;
vm._vnode = vnode;
// Vue.prototype.__patch__ is injected in entry points
// based on the rendering backend used.
if (!prevVnode) {
// initial render
vm.$el = vm.__patch__(
vm.$el, vnode, hydrating, false /* removeOnly */,
vm.$options._parentElm,
vm.$options._refElm
);
} else {
// updates
vm.$el = vm.__patch__(prevVnode, vnode);
}
activeInstance = prevActiveInstance;
// update __vue__ reference
if (prevEl) {
prevEl.__vue__ = null;
}
if (vm.$el) {
vm.$el.__vue__ = vm;
}
// if parent is an HOC, update its $el as well
if (vm.$vnode && vm.$parent && vm.$vnode === vm.$parent._vnode) {
vm.$parent.$el = vm.$el;
}
// updated hook is called by the scheduler to ensure that children are
// updated in a parent's updated hook.
};
Vue.prototype.$forceUpdate = function () {
var vm = this;
if (vm._watcher) {
vm._watcher.update();
}
};
Vue.prototype.$destroy = function () {
var vm = this;
if (vm._isBeingDestroyed) {
return
}
callHook(vm, 'beforeDestroy');
vm._isBeingDestroyed = true;
// remove self from parent
var parent = vm.$parent;
if (parent && !parent._isBeingDestroyed && !vm.$options.abstract) {
remove(parent.$children, vm);
}
// teardown watchers
if (vm._watcher) {
vm._watcher.teardown();
}
var i = vm._watchers.length;
while (i--) {
vm._watchers[i].teardown();
}
// remove reference from data ob
// frozen object may not have observer.
if (vm._data.__ob__) {
vm._data.__ob__.vmCount--;
}
// call the last hook...
vm._isDestroyed = true;
// invoke destroy hooks on current rendered tree
vm.__patch__(vm._vnode, null);
// fire destroyed hook
callHook(vm, 'destroyed');
// turn off all instance listeners.
vm.$off();
// remove __vue__ reference
if (vm.$el) {
vm.$el.__vue__ = null;
}
// remove reference to DOM nodes (prevents leak)
vm.$options._parentElm = vm.$options._refElm = null;
};
}
function mountComponent (
vm,
el,
hydrating
) {
vm.$el = el;
if (!vm.$options.render) {
vm.$options.render = createEmptyVNode;
{
/* istanbul ignore if */
if ((vm.$options.template && vm.$options.template.charAt(0) !== '#') ||
vm.$options.el || el) {
warn(
'You are using the runtime-only build of Vue where the template ' +
'compiler is not available. Either pre-compile the templates into ' +
'render functions, or use the compiler-included build.',
vm
);
} else {
warn(
'Failed to mount component: template or render function not defined.',
vm
);
}
}
}
callHook(vm, 'beforeMount');
var updateComponent;
/* istanbul ignore if */
if ("development" !== 'production' && config.performance && mark) {
updateComponent = function () {
var name = vm._name;
var id = vm._uid;
var startTag = "vue-perf-start:" + id;
var endTag = "vue-perf-end:" + id;
mark(startTag);
var vnode = vm._render();
mark(endTag);
measure((name + " render"), startTag, endTag);
mark(startTag);
vm._update(vnode, hydrating);
mark(endTag);
measure((name + " patch"), startTag, endTag);
};
} else {
updateComponent = function () {
vm._update(vm._render(), hydrating);
};
}
vm._watcher = new Watcher(vm, updateComponent, noop);
hydrating = false;
// manually mounted instance, call mounted on self
// mounted is called for render-created child components in its inserted hook
if (vm.$vnode == null) {
vm._isMounted = true;
callHook(vm, 'mounted');
}
return vm
}
function updateChildComponent (
vm,
propsData,
listeners,
parentVnode,
renderChildren
) {
// determine whether component has slot children
// we need to do this before overwriting $options._renderChildren
var hasChildren = !!(
renderChildren || // has new static slots
vm.$options._renderChildren || // has old static slots
parentVnode.data.scopedSlots || // has new scoped slots
vm.$scopedSlots !== emptyObject // has old scoped slots
);
vm.$options._parentVnode = parentVnode;
vm.$vnode = parentVnode; // update vm's placeholder node without re-render
if (vm._vnode) { // update child tree's parent
vm._vnode.parent = parentVnode;
}
vm.$options._renderChildren = renderChildren;
// update props
if (propsData && vm.$options.props) {
observerState.shouldConvert = false;
{
observerState.isSettingProps = true;
}
var props = vm._props;
var propKeys = vm.$options._propKeys || [];
for (var i = 0; i < propKeys.length; i++) {
var key = propKeys[i];
props[key] = validateProp(key, vm.$options.props, propsData, vm);
}
observerState.shouldConvert = true;
{
observerState.isSettingProps = false;
}
// keep a copy of raw propsData
vm.$options.propsData = propsData;
}
// update listeners
if (listeners) {
var oldListeners = vm.$options._parentListeners;
vm.$options._parentListeners = listeners;
updateComponentListeners(vm, listeners, oldListeners);
}
// resolve slots + force update if has children
if (hasChildren) {
vm.$slots = resolveSlots(renderChildren, parentVnode.context);
vm.$forceUpdate();
}
}
function isInInactiveTree (vm) {
while (vm && (vm = vm.$parent)) {
if (vm._inactive) { return true }
}
return false
}
function activateChildComponent (vm, direct) {
if (direct) {
vm._directInactive = false;
if (isInInactiveTree(vm)) {
return
}
} else if (vm._directInactive) {
return
}
if (vm._inactive || vm._inactive == null) {
vm._inactive = false;
for (var i = 0; i < vm.$children.length; i++) {
activateChildComponent(vm.$children[i]);
}
callHook(vm, 'activated');
}
}
function deactivateChildComponent (vm, direct) {
if (direct) {
vm._directInactive = true;
if (isInInactiveTree(vm)) {
return
}
}
if (!vm._inactive) {
vm._inactive = true;
for (var i = 0; i < vm.$children.length; i++) {
deactivateChildComponent(vm.$children[i]);
}
callHook(vm, 'deactivated');
}
}
function callHook (vm, hook) {
var handlers = vm.$options[hook];
if (handlers) {
for (var i = 0, j = handlers.length; i < j; i++) {
try {
handlers[i].call(vm);
} catch (e) {
handleError(e, vm, (hook + " hook"));
}
}
}
if (vm._hasHookEvent) {
vm.$emit('hook:' + hook);
}
}
/* */
var queue = [];
var has = {};
var circular = {};
var waiting = false;
var flushing = false;
var index = 0;
/**
* Reset the scheduler's state.
*/
function resetSchedulerState () {
queue.length = 0;
has = {};
{
circular = {};
}
waiting = flushing = false;
}
/**
* Flush both queues and run the watchers.
*/
function flushSchedulerQueue () {
flushing = true;
var watcher, id, vm;
// Sort queue before flush.
// This ensures that:
// 1. Components are updated from parent to child. (because parent is always
// created before the child)
// 2. A component's user watchers are run before its render watcher (because
// user watchers are created before the render watcher)
// 3. If a component is destroyed during a parent component's watcher run,
// its watchers can be skipped.
queue.sort(function (a, b) { return a.id - b.id; });
// do not cache length because more watchers might be pushed
// as we run existing watchers
for (index = 0; index < queue.length; index++) {
watcher = queue[index];
id = watcher.id;
has[id] = null;
watcher.run();
// in dev build, check and stop circular updates.
if ("development" !== 'production' && has[id] != null) {
circular[id] = (circular[id] || 0) + 1;
if (circular[id] > config._maxUpdateCount) {
warn(
'You may have an infinite update loop ' + (
watcher.user
? ("in watcher with expression \"" + (watcher.expression) + "\"")
: "in a component render function."
),
watcher.vm
);
break
}
}
}
// reset scheduler before updated hook called
var oldQueue = queue.slice();
resetSchedulerState();
// call updated hooks
index = oldQueue.length;
while (index--) {
watcher = oldQueue[index];
vm = watcher.vm;
if (vm._watcher === watcher && vm._isMounted) {
callHook(vm, 'updated');
}
}
// devtool hook
/* istanbul ignore if */
if (devtools && config.devtools) {
devtools.emit('flush');
}
}
/**
* Push a watcher into the watcher queue.
* Jobs with duplicate IDs will be skipped unless it's
* pushed when the queue is being flushed.
*/
function queueWatcher (watcher) {
var id = watcher.id;
if (has[id] == null) {
has[id] = true;
if (!flushing) {
queue.push(watcher);
} else {
// if already flushing, splice the watcher based on its id
// if already past its id, it will be run next immediately.
var i = queue.length - 1;
while (i >= 0 && queue[i].id > watcher.id) {
i--;
}
queue.splice(Math.max(i, index) + 1, 0, watcher);
}
// queue the flush
if (!waiting) {
waiting = true;
nextTick(flushSchedulerQueue);
}
}
}
/* */
var uid$2 = 0;
/**
* A watcher parses an expression, collects dependencies,
* and fires callback when the expression value changes.
* This is used for both the $watch() api and directives.
*/
var Watcher = function Watcher (
vm,
expOrFn,
cb,
options
) {
this.vm = vm;
vm._watchers.push(this);
// options
if (options) {
this.deep = !!options.deep;
this.user = !!options.user;
this.lazy = !!options.lazy;
this.sync = !!options.sync;
} else {
this.deep = this.user = this.lazy = this.sync = false;
}
this.cb = cb;
this.id = ++uid$2; // uid for batching
this.active = true;
this.dirty = this.lazy; // for lazy watchers
this.deps = [];
this.newDeps = [];
this.depIds = new _Set();
this.newDepIds = new _Set();
this.expression = expOrFn.toString();
// parse expression for getter
if (typeof expOrFn === 'function') {
this.getter = expOrFn;
} else {
this.getter = parsePath(expOrFn);
if (!this.getter) {
this.getter = function () {};
"development" !== 'production' && warn(
"Failed watching path: \"" + expOrFn + "\" " +
'Watcher only accepts simple dot-delimited paths. ' +
'For full control, use a function instead.',
vm
);
}
}
this.value = this.lazy
? undefined
: this.get();
};
/**
* Evaluate the getter, and re-collect dependencies.
*/
Watcher.prototype.get = function get () {
pushTarget(this);
var value;
var vm = this.vm;
if (this.user) {
try {
value = this.getter.call(vm, vm);
} catch (e) {
handleError(e, vm, ("getter for watcher \"" + (this.expression) + "\""));
}
} else {
value = this.getter.call(vm, vm);
}
// "touch" every property so they are all tracked as
// dependencies for deep watching
if (this.deep) {
traverse(value);
}
popTarget();
this.cleanupDeps();
return value
};
/**
* Add a dependency to this directive.
*/
Watcher.prototype.addDep = function addDep (dep) {
var id = dep.id;
if (!this.newDepIds.has(id)) {
this.newDepIds.add(id);
this.newDeps.push(dep);
if (!this.depIds.has(id)) {
dep.addSub(this);
}
}
};
/**
* Clean up for dependency collection.
*/
Watcher.prototype.cleanupDeps = function cleanupDeps () {
var this$1 = this;
var i = this.deps.length;
while (i--) {
var dep = this$1.deps[i];
if (!this$1.newDepIds.has(dep.id)) {
dep.removeSub(this$1);
}
}
var tmp = this.depIds;
this.depIds = this.newDepIds;
this.newDepIds = tmp;
this.newDepIds.clear();
tmp = this.deps;
this.deps = this.newDeps;
this.newDeps = tmp;
this.newDeps.length = 0;
};
/**
* Subscriber interface.
* Will be called when a dependency changes.
*/
Watcher.prototype.update = function update () {
/* istanbul ignore else */
if (this.lazy) {
this.dirty = true;
} else if (this.sync) {
this.run();
} else {
queueWatcher(this);
}
};
/**
* Scheduler job interface.
* Will be called by the scheduler.
*/
Watcher.prototype.run = function run () {
if (this.active) {
var value = this.get();
if (
value !== this.value ||
// Deep watchers and watchers on Object/Arrays should fire even
// when the value is the same, because the value may
// have mutated.
isObject(value) ||
this.deep
) {
// set new value
var oldValue = this.value;
this.value = value;
if (this.user) {
try {
this.cb.call(this.vm, value, oldValue);
} catch (e) {
handleError(e, this.vm, ("callback for watcher \"" + (this.expression) + "\""));
}
} else {
this.cb.call(this.vm, value, oldValue);
}
}
}
};
/**
* Evaluate the value of the watcher.
* This only gets called for lazy watchers.
*/
Watcher.prototype.evaluate = function evaluate () {
this.value = this.get();
this.dirty = false;
};
/**
* Depend on all deps collected by this watcher.
*/
Watcher.prototype.depend = function depend () {
var this$1 = this;
var i = this.deps.length;
while (i--) {
this$1.deps[i].depend();
}
};
/**
* Remove self from all dependencies' subscriber list.
*/
Watcher.prototype.teardown = function teardown () {
var this$1 = this;
if (this.active) {
// remove self from vm's watcher list
// this is a somewhat expensive operation so we skip it
// if the vm is being destroyed.
if (!this.vm._isBeingDestroyed) {
remove(this.vm._watchers, this);
}
var i = this.deps.length;
while (i--) {
this$1.deps[i].removeSub(this$1);
}
this.active = false;
}
};
/**
* Recursively traverse an object to evoke all converted
* getters, so that every nested property inside the object
* is collected as a "deep" dependency.
*/
var seenObjects = new _Set();
function traverse (val) {
seenObjects.clear();
_traverse(val, seenObjects);
}
function _traverse (val, seen) {
var i, keys;
var isA = Array.isArray(val);
if ((!isA && !isObject(val)) || !Object.isExtensible(val)) {
return
}
if (val.__ob__) {
var depId = val.__ob__.dep.id;
if (seen.has(depId)) {
return
}
seen.add(depId);
}
if (isA) {
i = val.length;
while (i--) { _traverse(val[i], seen); }
} else {
keys = Object.keys(val);
i = keys.length;
while (i--) { _traverse(val[keys[i]], seen); }
}
}
/* */
var sharedPropertyDefinition = {
enumerable: true,
configurable: true,
get: noop,
set: noop
};
function proxy (target, sourceKey, key) {
sharedPropertyDefinition.get = function proxyGetter () {
return this[sourceKey][key]
};
sharedPropertyDefinition.set = function proxySetter (val) {
this[sourceKey][key] = val;
};
Object.defineProperty(target, key, sharedPropertyDefinition);
}
function initState (vm) {
vm._watchers = [];
var opts = vm.$options;
if (opts.props) { initProps(vm, opts.props); }
if (opts.methods) { initMethods(vm, opts.methods); }
if (opts.data) {
initData(vm);
} else {
observe(vm._data = {}, true /* asRootData */);
}
if (opts.computed) { initComputed(vm, opts.computed); }
if (opts.watch) { initWatch(vm, opts.watch); }
}
var isReservedProp = { key: 1, ref: 1, slot: 1 };
function initProps (vm, propsOptions) {
var propsData = vm.$options.propsData || {};
var props = vm._props = {};
// cache prop keys so that future props updates can iterate using Array
// instead of dynamic object key enumeration.
var keys = vm.$options._propKeys = [];
var isRoot = !vm.$parent;
// root instance props should be converted
observerState.shouldConvert = isRoot;
var loop = function ( key ) {
keys.push(key);
var value = validateProp(key, propsOptions, propsData, vm);
/* istanbul ignore else */
{
if (isReservedProp[key]) {
warn(
("\"" + key + "\" is a reserved attribute and cannot be used as component prop."),
vm
);
}
defineReactive$$1(props, key, value, function () {
if (vm.$parent && !observerState.isSettingProps) {
warn(
"Avoid mutating a prop directly since the value will be " +
"overwritten whenever the parent component re-renders. " +
"Instead, use a data or computed property based on the prop's " +
"value. Prop being mutated: \"" + key + "\"",
vm
);
}
});
}
// static props are already proxied on the component's prototype
// during Vue.extend(). We only need to proxy props defined at
// instantiation here.
if (!(key in vm)) {
proxy(vm, "_props", key);
}
};
for (var key in propsOptions) loop( key );
observerState.shouldConvert = true;
}
function initData (vm) {
var data = vm.$options.data;
data = vm._data = typeof data === 'function'
? getData(data, vm)
: data || {};
if (!isPlainObject(data)) {
data = {};
"development" !== 'production' && warn(
'data functions should return an object:\n' +
'https://vuejs.org/v2/guide/components.html#data-Must-Be-a-Function',
vm
);
}
// proxy data on instance
var keys = Object.keys(data);
var props = vm.$options.props;
var i = keys.length;
while (i--) {
if (props && hasOwn(props, keys[i])) {
"development" !== 'production' && warn(
"The data property \"" + (keys[i]) + "\" is already declared as a prop. " +
"Use prop default value instead.",
vm
);
} else if (!isReserved(keys[i])) {
proxy(vm, "_data", keys[i]);
}
}
// observe data
observe(data, true /* asRootData */);
}
function getData (data, vm) {
try {
return data.call(vm)
} catch (e) {
handleError(e, vm, "data()");
return {}
}
}
var computedWatcherOptions = { lazy: true };
function initComputed (vm, computed) {
var watchers = vm._computedWatchers = Object.create(null);
for (var key in computed) {
var userDef = computed[key];
var getter = typeof userDef === 'function' ? userDef : userDef.get;
{
if (getter === undefined) {
warn(
("No getter function has been defined for computed property \"" + key + "\"."),
vm
);
getter = noop;
}
}
// create internal watcher for the computed property.
watchers[key] = new Watcher(vm, getter, noop, computedWatcherOptions);
// component-defined computed properties are already defined on the
// component prototype. We only need to define computed properties defined
// at instantiation here.
if (!(key in vm)) {
defineComputed(vm, key, userDef);
}
}
}
function defineComputed (target, key, userDef) {
if (typeof userDef === 'function') {
sharedPropertyDefinition.get = createComputedGetter(key);
sharedPropertyDefinition.set = noop;
} else {
sharedPropertyDefinition.get = userDef.get
? userDef.cache !== false
? createComputedGetter(key)
: userDef.get
: noop;
sharedPropertyDefinition.set = userDef.set
? userDef.set
: noop;
}
Object.defineProperty(target, key, sharedPropertyDefinition);
}
function createComputedGetter (key) {
return function computedGetter () {
var watcher = this._computedWatchers && this._computedWatchers[key];
if (watcher) {
if (watcher.dirty) {
watcher.evaluate();
}
if (Dep.target) {
watcher.depend();
}
return watcher.value
}
}
}
function initMethods (vm, methods) {
var props = vm.$options.props;
for (var key in methods) {
vm[key] = methods[key] == null ? noop : bind(methods[key], vm);
{
if (methods[key] == null) {
warn(
"method \"" + key + "\" has an undefined value in the component definition. " +
"Did you reference the function correctly?",
vm
);
}
if (props && hasOwn(props, key)) {
warn(
("method \"" + key + "\" has already been defined as a prop."),
vm
);
}
}
}
}
function initWatch (vm, watch) {
for (var key in watch) {
var handler = watch[key];
if (Array.isArray(handler)) {
for (var i = 0; i < handler.length; i++) {
createWatcher(vm, key, handler[i]);
}
} else {
createWatcher(vm, key, handler);
}
}
}
function createWatcher (vm, key, handler) {
var options;
if (isPlainObject(handler)) {
options = handler;
handler = handler.handler;
}
if (typeof handler === 'string') {
handler = vm[handler];
}
vm.$watch(key, handler, options);
}
function stateMixin (Vue) {
// flow somehow has problems with directly declared definition object
// when using Object.defineProperty, so we have to procedurally build up
// the object here.
var dataDef = {};
dataDef.get = function () { return this._data };
var propsDef = {};
propsDef.get = function () { return this._props };
{
dataDef.set = function (newData) {
warn(
'Avoid replacing instance root $data. ' +
'Use nested data properties instead.',
this
);
};
propsDef.set = function () {
warn("$props is readonly.", this);
};
}
Object.defineProperty(Vue.prototype, '$data', dataDef);
Object.defineProperty(Vue.prototype, '$props', propsDef);
Vue.prototype.$set = set;
Vue.prototype.$delete = del;
Vue.prototype.$watch = function (
expOrFn,
cb,
options
) {
var vm = this;
options = options || {};
options.user = true;
var watcher = new Watcher(vm, expOrFn, cb, options);
if (options.immediate) {
cb.call(vm, watcher.value);
}
return function unwatchFn () {
watcher.teardown();
}
};
}
/* */
// hooks to be invoked on component VNodes during patch
var componentVNodeHooks = {
init: function init (
vnode,
hydrating,
parentElm,
refElm
) {
if (!vnode.componentInstance || vnode.componentInstance._isDestroyed) {
var child = vnode.componentInstance = createComponentInstanceForVnode(
vnode,
activeInstance,
parentElm,
refElm
);
child.$mount(hydrating ? vnode.elm : undefined, hydrating);
} else if (vnode.data.keepAlive) {
// kept-alive components, treat as a patch
var mountedNode = vnode; // work around flow
componentVNodeHooks.prepatch(mountedNode, mountedNode);
}
},
prepatch: function prepatch (oldVnode, vnode) {
var options = vnode.componentOptions;
var child = vnode.componentInstance = oldVnode.componentInstance;
updateChildComponent(
child,
options.propsData, // updated props
options.listeners, // updated listeners
vnode, // new parent vnode
options.children // new children
);
},
insert: function insert (vnode) {
if (!vnode.componentInstance._isMounted) {
vnode.componentInstance._isMounted = true;
callHook(vnode.componentInstance, 'mounted');
}
if (vnode.data.keepAlive) {
activateChildComponent(vnode.componentInstance, true /* direct */);
}
},
destroy: function destroy (vnode) {
if (!vnode.componentInstance._isDestroyed) {
if (!vnode.data.keepAlive) {
vnode.componentInstance.$destroy();
} else {
deactivateChildComponent(vnode.componentInstance, true /* direct */);
}
}
}
};
var hooksToMerge = Object.keys(componentVNodeHooks);
function createComponent (
Ctor,
data,
context,
children,
tag
) {
if (!Ctor) {
return
}
var baseCtor = context.$options._base;
if (isObject(Ctor)) {
Ctor = baseCtor.extend(Ctor);
}
if (typeof Ctor !== 'function') {
{
warn(("Invalid Component definition: " + (String(Ctor))), context);
}
return
}
// async component
if (!Ctor.cid) {
if (Ctor.resolved) {
Ctor = Ctor.resolved;
} else {
Ctor = resolveAsyncComponent(Ctor, baseCtor, function () {
// it's ok to queue this on every render because
// $forceUpdate is buffered by the scheduler.
context.$forceUpdate();
});
if (!Ctor) {
// return nothing if this is indeed an async component
// wait for the callback to trigger parent update.
return
}
}
}
// resolve constructor options in case global mixins are applied after
// component constructor creation
resolveConstructorOptions(Ctor);
data = data || {};
// transform component v-model data into props & events
if (data.model) {
transformModel(Ctor.options, data);
}
// extract props
var propsData = extractProps(data, Ctor, tag);
// functional component
if (Ctor.options.functional) {
return createFunctionalComponent(Ctor, propsData, data, context, children)
}
// extract listeners, since these needs to be treated as
// child component listeners instead of DOM listeners
var listeners = data.on;
// replace with listeners with .native modifier
data.on = data.nativeOn;
if (Ctor.options.abstract) {
// abstract components do not keep anything
// other than props & listeners
data = {};
}
// merge component management hooks onto the placeholder node
mergeHooks(data);
// return a placeholder vnode
var name = Ctor.options.name || tag;
var vnode = new VNode(
("vue-component-" + (Ctor.cid) + (name ? ("-" + name) : '')),
data, undefined, undefined, undefined, context,
{ Ctor: Ctor, propsData: propsData, listeners: listeners, tag: tag, children: children }
);
return vnode
}
function createFunctionalComponent (
Ctor,
propsData,
data,
context,
children
) {
var props = {};
var propOptions = Ctor.options.props;
if (propOptions) {
for (var key in propOptions) {
props[key] = validateProp(key, propOptions, propsData);
}
}
// ensure the createElement function in functional components
// gets a unique context - this is necessary for correct named slot check
var _context = Object.create(context);
var h = function (a, b, c, d) { return createElement(_context, a, b, c, d, true); };
var vnode = Ctor.options.render.call(null, h, {
props: props,
data: data,
parent: context,
children: children,
slots: function () { return resolveSlots(children, context); }
});
if (vnode instanceof VNode) {
vnode.functionalContext = context;
if (data.slot) {
(vnode.data || (vnode.data = {})).slot = data.slot;
}
}
return vnode
}
function createComponentInstanceForVnode (
vnode, // we know it's MountedComponentVNode but flow doesn't
parent, // activeInstance in lifecycle state
parentElm,
refElm
) {
var vnodeComponentOptions = vnode.componentOptions;
var options = {
_isComponent: true,
parent: parent,
propsData: vnodeComponentOptions.propsData,
_componentTag: vnodeComponentOptions.tag,
_parentVnode: vnode,
_parentListeners: vnodeComponentOptions.listeners,
_renderChildren: vnodeComponentOptions.children,
_parentElm: parentElm || null,
_refElm: refElm || null
};
// check inline-template render functions
var inlineTemplate = vnode.data.inlineTemplate;
if (inlineTemplate) {
options.render = inlineTemplate.render;
options.staticRenderFns = inlineTemplate.staticRenderFns;
}
return new vnodeComponentOptions.Ctor(options)
}
function resolveAsyncComponent (
factory,
baseCtor,
cb
) {
if (factory.requested) {
// pool callbacks
factory.pendingCallbacks.push(cb);
} else {
factory.requested = true;
var cbs = factory.pendingCallbacks = [cb];
var sync = true;
var resolve = function (res) {
if (isObject(res)) {
res = baseCtor.extend(res);
}
// cache resolved
factory.resolved = res;
// invoke callbacks only if this is not a synchronous resolve
// (async resolves are shimmed as synchronous during SSR)
if (!sync) {
for (var i = 0, l = cbs.length; i < l; i++) {
cbs[i](res);
}
}
};
var reject = function (reason) {
"development" !== 'production' && warn(
"Failed to resolve async component: " + (String(factory)) +
(reason ? ("\nReason: " + reason) : '')
);
};
var res = factory(resolve, reject);
// handle promise
if (res && typeof res.then === 'function' && !factory.resolved) {
res.then(resolve, reject);
}
sync = false;
// return in case resolved synchronously
return factory.resolved
}
}
function extractProps (data, Ctor, tag) {
// we are only extracting raw values here.
// validation and default values are handled in the child
// component itself.
var propOptions = Ctor.options.props;
if (!propOptions) {
return
}
var res = {};
var attrs = data.attrs;
var props = data.props;
var domProps = data.domProps;
if (attrs || props || domProps) {
for (var key in propOptions) {
var altKey = hyphenate(key);
{
var keyInLowerCase = key.toLowerCase();
if (
key !== keyInLowerCase &&
attrs && attrs.hasOwnProperty(keyInLowerCase)
) {
tip(
"Prop \"" + keyInLowerCase + "\" is passed to component " +
(formatComponentName(tag || Ctor)) + ", but the declared prop name is" +
" \"" + key + "\". " +
"Note that HTML attributes are case-insensitive and camelCased " +
"props need to use their kebab-case equivalents when using in-DOM " +
"templates. You should probably use \"" + altKey + "\" instead of \"" + key + "\"."
);
}
}
checkProp(res, props, key, altKey, true) ||
checkProp(res, attrs, key, altKey) ||
checkProp(res, domProps, key, altKey);
}
}
return res
}
function checkProp (
res,
hash,
key,
altKey,
preserve
) {
if (hash) {
if (hasOwn(hash, key)) {
res[key] = hash[key];
if (!preserve) {
delete hash[key];
}
return true
} else if (hasOwn(hash, altKey)) {
res[key] = hash[altKey];
if (!preserve) {
delete hash[altKey];
}
return true
}
}
return false
}
function mergeHooks (data) {
if (!data.hook) {
data.hook = {};
}
for (var i = 0; i < hooksToMerge.length; i++) {
var key = hooksToMerge[i];
var fromParent = data.hook[key];
var ours = componentVNodeHooks[key];
data.hook[key] = fromParent ? mergeHook$1(ours, fromParent) : ours;
}
}
function mergeHook$1 (one, two) {
return function (a, b, c, d) {
one(a, b, c, d);
two(a, b, c, d);
}
}
// transform component v-model info (value and callback) into
// prop and event handler respectively.
function transformModel (options, data) {
var prop = (options.model && options.model.prop) || 'value';
var event = (options.model && options.model.event) || 'input';(data.props || (data.props = {}))[prop] = data.model.value;
var on = data.on || (data.on = {});
if (on[event]) {
on[event] = [data.model.callback].concat(on[event]);
} else {
on[event] = data.model.callback;
}
}
/* */
var SIMPLE_NORMALIZE = 1;
var ALWAYS_NORMALIZE = 2;
// wrapper function for providing a more flexible interface
// without getting yelled at by flow
function createElement (
context,
tag,
data,
children,
normalizationType,
alwaysNormalize
) {
if (Array.isArray(data) || isPrimitive(data)) {
normalizationType = children;
children = data;
data = undefined;
}
if (alwaysNormalize) { normalizationType = ALWAYS_NORMALIZE; }
return _createElement(context, tag, data, children, normalizationType)
}
function _createElement (
context,
tag,
data,
children,
normalizationType
) {
if (data && data.__ob__) {
"development" !== 'production' && warn(
"Avoid using observed data object as vnode data: " + (JSON.stringify(data)) + "\n" +
'Always create fresh vnode data objects in each render!',
context
);
return createEmptyVNode()
}
if (!tag) {
// in case of component :is set to falsy value
return createEmptyVNode()
}
// support single function children as default scoped slot
if (Array.isArray(children) &&
typeof children[0] === 'function') {
data = data || {};
data.scopedSlots = { default: children[0] };
children.length = 0;
}
if (normalizationType === ALWAYS_NORMALIZE) {
children = normalizeChildren(children);
} else if (normalizationType === SIMPLE_NORMALIZE) {
children = simpleNormalizeChildren(children);
}
var vnode, ns;
if (typeof tag === 'string') {
var Ctor;
ns = config.getTagNamespace(tag);
if (config.isReservedTag(tag)) {
// platform built-in elements
vnode = new VNode(
config.parsePlatformTagName(tag), data, children,
undefined, undefined, context
);
} else if ((Ctor = resolveAsset(context.$options, 'components', tag))) {
// component
vnode = createComponent(Ctor, data, context, children, tag);
} else {
// unknown or unlisted namespaced elements
// check at runtime because it may get assigned a namespace when its
// parent normalizes children
vnode = new VNode(
tag, data, children,
undefined, undefined, context
);
}
} else {
// direct component options / constructor
vnode = createComponent(tag, data, context, children);
}
if (vnode) {
if (ns) { applyNS(vnode, ns); }
return vnode
} else {
return createEmptyVNode()
}
}
function applyNS (vnode, ns) {
vnode.ns = ns;
if (vnode.tag === 'foreignObject') {
// use default namespace inside foreignObject
return
}
if (vnode.children) {
for (var i = 0, l = vnode.children.length; i < l; i++) {
var child = vnode.children[i];
if (child.tag && !child.ns) {
applyNS(child, ns);
}
}
}
}
/* */
/**
* Runtime helper for rendering v-for lists.
*/
function renderList (
val,
render
) {
var ret, i, l, keys, key;
if (Array.isArray(val) || typeof val === 'string') {
ret = new Array(val.length);
for (i = 0, l = val.length; i < l; i++) {
ret[i] = render(val[i], i);
}
} else if (typeof val === 'number') {
ret = new Array(val);
for (i = 0; i < val; i++) {
ret[i] = render(i + 1, i);
}
} else if (isObject(val)) {
keys = Object.keys(val);
ret = new Array(keys.length);
for (i = 0, l = keys.length; i < l; i++) {
key = keys[i];
ret[i] = render(val[key], key, i);
}
}
return ret
}
/* */
/**
* Runtime helper for rendering <slot>
*/
function renderSlot (
name,
fallback,
props,
bindObject
) {
var scopedSlotFn = this.$scopedSlots[name];
if (scopedSlotFn) { // scoped slot
props = props || {};
if (bindObject) {
extend(props, bindObject);
}
return scopedSlotFn(props) || fallback
} else {
var slotNodes = this.$slots[name];
// warn duplicate slot usage
if (slotNodes && "development" !== 'production') {
slotNodes._rendered && warn(
"Duplicate presence of slot \"" + name + "\" found in the same render tree " +
"- this will likely cause render errors.",
this
);
slotNodes._rendered = true;
}
return slotNodes || fallback
}
}
/* */
/**
* Runtime helper for resolving filters
*/
function resolveFilter (id) {
return resolveAsset(this.$options, 'filters', id, true) || identity
}
/* */
/**
* Runtime helper for checking keyCodes from config.
*/
function checkKeyCodes (
eventKeyCode,
key,
builtInAlias
) {
var keyCodes = config.keyCodes[key] || builtInAlias;
if (Array.isArray(keyCodes)) {
return keyCodes.indexOf(eventKeyCode) === -1
} else {
return keyCodes !== eventKeyCode
}
}
/* */
/**
* Runtime helper for merging v-bind="object" into a VNode's data.
*/
function bindObjectProps (
data,
tag,
value,
asProp
) {
if (value) {
if (!isObject(value)) {
"development" !== 'production' && warn(
'v-bind without argument expects an Object or Array value',
this
);
} else {
if (Array.isArray(value)) {
value = toObject(value);
}
var hash;
for (var key in value) {
if (key === 'class' || key === 'style') {
hash = data;
} else {
var type = data.attrs && data.attrs.type;
hash = asProp || config.mustUseProp(tag, type, key)
? data.domProps || (data.domProps = {})
: data.attrs || (data.attrs = {});
}
if (!(key in hash)) {
hash[key] = value[key];
}
}
}
}
return data
}
/* */
/**
* Runtime helper for rendering static trees.
*/
function renderStatic (
index,
isInFor
) {
var tree = this._staticTrees[index];
// if has already-rendered static tree and not inside v-for,
// we can reuse the same tree by doing a shallow clone.
if (tree && !isInFor) {
return Array.isArray(tree)
? cloneVNodes(tree)
: cloneVNode(tree)
}
// otherwise, render a fresh tree.
tree = this._staticTrees[index] =
this.$options.staticRenderFns[index].call(this._renderProxy);
markStatic(tree, ("__static__" + index), false);
return tree
}
/**
* Runtime helper for v-once.
* Effectively it means marking the node as static with a unique key.
*/
function markOnce (
tree,
index,
key
) {
markStatic(tree, ("__once__" + index + (key ? ("_" + key) : "")), true);
return tree
}
function markStatic (
tree,
key,
isOnce
) {
if (Array.isArray(tree)) {
for (var i = 0; i < tree.length; i++) {
if (tree[i] && typeof tree[i] !== 'string') {
markStaticNode(tree[i], (key + "_" + i), isOnce);
}
}
} else {
markStaticNode(tree, key, isOnce);
}
}
function markStaticNode (node, key, isOnce) {
node.isStatic = true;
node.key = key;
node.isOnce = isOnce;
}
/* */
function initRender (vm) {
vm.$vnode = null; // the placeholder node in parent tree
vm._vnode = null; // the root of the child tree
vm._staticTrees = null;
var parentVnode = vm.$options._parentVnode;
var renderContext = parentVnode && parentVnode.context;
vm.$slots = resolveSlots(vm.$options._renderChildren, renderContext);
vm.$scopedSlots = emptyObject;
// bind the createElement fn to this instance
// so that we get proper render context inside it.
// args order: tag, data, children, normalizationType, alwaysNormalize
// internal version is used by render functions compiled from templates
vm._c = function (a, b, c, d) { return createElement(vm, a, b, c, d, false); };
// normalization is always applied for the public version, used in
// user-written render functions.
vm.$createElement = function (a, b, c, d) { return createElement(vm, a, b, c, d, true); };
}
function renderMixin (Vue) {
Vue.prototype.$nextTick = function (fn) {
return nextTick(fn, this)
};
Vue.prototype._render = function () {
var vm = this;
var ref = vm.$options;
var render = ref.render;
var staticRenderFns = ref.staticRenderFns;
var _parentVnode = ref._parentVnode;
if (vm._isMounted) {
// clone slot nodes on re-renders
for (var key in vm.$slots) {
vm.$slots[key] = cloneVNodes(vm.$slots[key]);
}
}
vm.$scopedSlots = (_parentVnode && _parentVnode.data.scopedSlots) || emptyObject;
if (staticRenderFns && !vm._staticTrees) {
vm._staticTrees = [];
}
// set parent vnode. this allows render functions to have access
// to the data on the placeholder node.
vm.$vnode = _parentVnode;
// render self
var vnode;
try {
vnode = render.call(vm._renderProxy, vm.$createElement);
} catch (e) {
handleError(e, vm, "render function");
// return error render result,
// or previous vnode to prevent render error causing blank component
/* istanbul ignore else */
{
vnode = vm.$options.renderError
? vm.$options.renderError.call(vm._renderProxy, vm.$createElement, e)
: vm._vnode;
}
}
// return empty vnode in case the render function errored out
if (!(vnode instanceof VNode)) {
if ("development" !== 'production' && Array.isArray(vnode)) {
warn(
'Multiple root nodes returned from render function. Render function ' +
'should return a single root node.',
vm
);
}
vnode = createEmptyVNode();
}
// set parent
vnode.parent = _parentVnode;
return vnode
};
// internal render helpers.
// these are exposed on the instance prototype to reduce generated render
// code size.
Vue.prototype._o = markOnce;
Vue.prototype._n = toNumber;
Vue.prototype._s = _toString;
Vue.prototype._l = renderList;
Vue.prototype._t = renderSlot;
Vue.prototype._q = looseEqual;
Vue.prototype._i = looseIndexOf;
Vue.prototype._m = renderStatic;
Vue.prototype._f = resolveFilter;
Vue.prototype._k = checkKeyCodes;
Vue.prototype._b = bindObjectProps;
Vue.prototype._v = createTextVNode;
Vue.prototype._e = createEmptyVNode;
Vue.prototype._u = resolveScopedSlots;
}
/* */
function initProvide (vm) {
var provide = vm.$options.provide;
if (provide) {
vm._provided = typeof provide === 'function'
? provide.call(vm)
: provide;
}
}
function initInjections (vm) {
var inject = vm.$options.inject;
if (inject) {
// inject is :any because flow is not smart enough to figure out cached
// isArray here
var isArray = Array.isArray(inject);
var keys = isArray
? inject
: hasSymbol
? Reflect.ownKeys(inject)
: Object.keys(inject);
var loop = function ( i ) {
var key = keys[i];
var provideKey = isArray ? key : inject[key];
var source = vm;
while (source) {
if (source._provided && provideKey in source._provided) {
/* istanbul ignore else */
{
defineReactive$$1(vm, key, source._provided[provideKey], function () {
warn(
"Avoid mutating an injected value directly since the changes will be " +
"overwritten whenever the provided component re-renders. " +
"injection being mutated: \"" + key + "\"",
vm
);
});
}
break
}
source = source.$parent;
}
};
for (var i = 0; i < keys.length; i++) loop( i );
}
}
/* */
var uid = 0;
function initMixin (Vue) {
Vue.prototype._init = function (options) {
var vm = this;
// a uid
vm._uid = uid++;
var startTag, endTag;
/* istanbul ignore if */
if ("development" !== 'production' && config.performance && mark) {
startTag = "vue-perf-init:" + (vm._uid);
endTag = "vue-perf-end:" + (vm._uid);
mark(startTag);
}
// a flag to avoid this being observed
vm._isVue = true;
// merge options
if (options && options._isComponent) {
// optimize internal component instantiation
// since dynamic options merging is pretty slow, and none of the
// internal component options needs special treatment.
initInternalComponent(vm, options);
} else {
vm.$options = mergeOptions(
resolveConstructorOptions(vm.constructor),
options || {},
vm
);
}
/* istanbul ignore else */
{
initProxy(vm);
}
// expose real self
vm._self = vm;
initLifecycle(vm);
initEvents(vm);
initRender(vm);
callHook(vm, 'beforeCreate');
initInjections(vm); // resolve injections before data/props
initState(vm);
initProvide(vm); // resolve provide after data/props
callHook(vm, 'created');
/* istanbul ignore if */
if ("development" !== 'production' && config.performance && mark) {
vm._name = formatComponentName(vm, false);
mark(endTag);
measure(((vm._name) + " init"), startTag, endTag);
}
if (vm.$options.el) {
vm.$mount(vm.$options.el);
}
};
}
function initInternalComponent (vm, options) {
var opts = vm.$options = Object.create(vm.constructor.options);
// doing this because it's faster than dynamic enumeration.
opts.parent = options.parent;
opts.propsData = options.propsData;
opts._parentVnode = options._parentVnode;
opts._parentListeners = options._parentListeners;
opts._renderChildren = options._renderChildren;
opts._componentTag = options._componentTag;
opts._parentElm = options._parentElm;
opts._refElm = options._refElm;
if (options.render) {
opts.render = options.render;
opts.staticRenderFns = options.staticRenderFns;
}
}
function resolveConstructorOptions (Ctor) {
var options = Ctor.options;
if (Ctor.super) {
var superOptions = resolveConstructorOptions(Ctor.super);
var cachedSuperOptions = Ctor.superOptions;
if (superOptions !== cachedSuperOptions) {
// super option changed,
// need to resolve new options.
Ctor.superOptions = superOptions;
// check if there are any late-modified/attached options (#4976)
var modifiedOptions = resolveModifiedOptions(Ctor);
// update base extend options
if (modifiedOptions) {
extend(Ctor.extendOptions, modifiedOptions);
}
options = Ctor.options = mergeOptions(superOptions, Ctor.extendOptions);
if (options.name) {
options.components[options.name] = Ctor;
}
}
}
return options
}
function resolveModifiedOptions (Ctor) {
var modified;
var latest = Ctor.options;
var sealed = Ctor.sealedOptions;
for (var key in latest) {
if (latest[key] !== sealed[key]) {
if (!modified) { modified = {}; }
modified[key] = dedupe(latest[key], sealed[key]);
}
}
return modified
}
function dedupe (latest, sealed) {
// compare latest and sealed to ensure lifecycle hooks won't be duplicated
// between merges
if (Array.isArray(latest)) {
var res = [];
sealed = Array.isArray(sealed) ? sealed : [sealed];
for (var i = 0; i < latest.length; i++) {
if (sealed.indexOf(latest[i]) < 0) {
res.push(latest[i]);
}
}
return res
} else {
return latest
}
}
function Vue$3 (options) {
if ("development" !== 'production' &&
!(this instanceof Vue$3)) {
warn('Vue is a constructor and should be called with the `new` keyword');
}
this._init(options);
}
initMixin(Vue$3);
stateMixin(Vue$3);
eventsMixin(Vue$3);
lifecycleMixin(Vue$3);
renderMixin(Vue$3);
/* */
function initUse (Vue) {
Vue.use = function (plugin) {
/* istanbul ignore if */
if (plugin.installed) {
return
}
// additional parameters
var args = toArray(arguments, 1);
args.unshift(this);
if (typeof plugin.install === 'function') {
plugin.install.apply(plugin, args);
} else if (typeof plugin === 'function') {
plugin.apply(null, args);
}
plugin.installed = true;
return this
};
}
/* */
function initMixin$1 (Vue) {
Vue.mixin = function (mixin) {
this.options = mergeOptions(this.options, mixin);
};
}
/* */
function initExtend (Vue) {
/**
* Each instance constructor, including Vue, has a unique
* cid. This enables us to create wrapped "child
* constructors" for prototypal inheritance and cache them.
*/
Vue.cid = 0;
var cid = 1;
/**
* Class inheritance
*/
Vue.extend = function (extendOptions) {
extendOptions = extendOptions || {};
var Super = this;
var SuperId = Super.cid;
var cachedCtors = extendOptions._Ctor || (extendOptions._Ctor = {});
if (cachedCtors[SuperId]) {
return cachedCtors[SuperId]
}
var name = extendOptions.name || Super.options.name;
{
if (!/^[a-zA-Z][\w-]*$/.test(name)) {
warn(
'Invalid component name: "' + name + '". Component names ' +
'can only contain alphanumeric characters and the hyphen, ' +
'and must start with a letter.'
);
}
}
var Sub = function VueComponent (options) {
this._init(options);
};
Sub.prototype = Object.create(Super.prototype);
Sub.prototype.constructor = Sub;
Sub.cid = cid++;
Sub.options = mergeOptions(
Super.options,
extendOptions
);
Sub['super'] = Super;
// For props and computed properties, we define the proxy getters on
// the Vue instances at extension time, on the extended prototype. This
// avoids Object.defineProperty calls for each instance created.
if (Sub.options.props) {
initProps$1(Sub);
}
if (Sub.options.computed) {
initComputed$1(Sub);
}
// allow further extension/mixin/plugin usage
Sub.extend = Super.extend;
Sub.mixin = Super.mixin;
Sub.use = Super.use;
// create asset registers, so extended classes
// can have their private assets too.
config._assetTypes.forEach(function (type) {
Sub[type] = Super[type];
});
// enable recursive self-lookup
if (name) {
Sub.options.components[name] = Sub;
}
// keep a reference to the super options at extension time.
// later at instantiation we can check if Super's options have
// been updated.
Sub.superOptions = Super.options;
Sub.extendOptions = extendOptions;
Sub.sealedOptions = extend({}, Sub.options);
// cache constructor
cachedCtors[SuperId] = Sub;
return Sub
};
}
function initProps$1 (Comp) {
var props = Comp.options.props;
for (var key in props) {
proxy(Comp.prototype, "_props", key);
}
}
function initComputed$1 (Comp) {
var computed = Comp.options.computed;
for (var key in computed) {
defineComputed(Comp.prototype, key, computed[key]);
}
}
/* */
function initAssetRegisters (Vue) {
/**
* Create asset registration methods.
*/
config._assetTypes.forEach(function (type) {
Vue[type] = function (
id,
definition
) {
if (!definition) {
return this.options[type + 's'][id]
} else {
/* istanbul ignore if */
{
if (type === 'component' && config.isReservedTag(id)) {
warn(
'Do not use built-in or reserved HTML elements as component ' +
'id: ' + id
);
}
}
if (type === 'component' && isPlainObject(definition)) {
definition.name = definition.name || id;
definition = this.options._base.extend(definition);
}
if (type === 'directive' && typeof definition === 'function') {
definition = { bind: definition, update: definition };
}
this.options[type + 's'][id] = definition;
return definition
}
};
});
}
/* */
var patternTypes = [String, RegExp];
function getComponentName (opts) {
return opts && (opts.Ctor.options.name || opts.tag)
}
function matches (pattern, name) {
if (typeof pattern === 'string') {
return pattern.split(',').indexOf(name) > -1
} else if (pattern instanceof RegExp) {
return pattern.test(name)
}
/* istanbul ignore next */
return false
}
function pruneCache (cache, filter) {
for (var key in cache) {
var cachedNode = cache[key];
if (cachedNode) {
var name = getComponentName(cachedNode.componentOptions);
if (name && !filter(name)) {
pruneCacheEntry(cachedNode);
cache[key] = null;
}
}
}
}
function pruneCacheEntry (vnode) {
if (vnode) {
if (!vnode.componentInstance._inactive) {
callHook(vnode.componentInstance, 'deactivated');
}
vnode.componentInstance.$destroy();
}
}
var KeepAlive = {
name: 'keep-alive',
abstract: true,
props: {
include: patternTypes,
exclude: patternTypes
},
created: function created () {
this.cache = Object.create(null);
},
destroyed: function destroyed () {
var this$1 = this;
for (var key in this$1.cache) {
pruneCacheEntry(this$1.cache[key]);
}
},
watch: {
include: function include (val) {
pruneCache(this.cache, function (name) { return matches(val, name); });
},
exclude: function exclude (val) {
pruneCache(this.cache, function (name) { return !matches(val, name); });
}
},
render: function render () {
var vnode = getFirstComponentChild(this.$slots.default);
var componentOptions = vnode && vnode.componentOptions;
if (componentOptions) {
// check pattern
var name = getComponentName(componentOptions);
if (name && (
(this.include && !matches(this.include, name)) ||
(this.exclude && matches(this.exclude, name))
)) {
return vnode
}
var key = vnode.key == null
// same constructor may get registered as different local components
// so cid alone is not enough (#3269)
? componentOptions.Ctor.cid + (componentOptions.tag ? ("::" + (componentOptions.tag)) : '')
: vnode.key;
if (this.cache[key]) {
vnode.componentInstance = this.cache[key].componentInstance;
} else {
this.cache[key] = vnode;
}
vnode.data.keepAlive = true;
}
return vnode
}
};
var builtInComponents = {
KeepAlive: KeepAlive
};
/* */
function initGlobalAPI (Vue) {
// config
var configDef = {};
configDef.get = function () { return config; };
{
configDef.set = function () {
warn(
'Do not replace the Vue.config object, set individual fields instead.'
);
};
}
Object.defineProperty(Vue, 'config', configDef);
// exposed util methods.
// NOTE: these are not considered part of the public API - avoid relying on
// them unless you are aware of the risk.
Vue.util = {
warn: warn,
extend: extend,
mergeOptions: mergeOptions,
defineReactive: defineReactive$$1
};
Vue.set = set;
Vue.delete = del;
Vue.nextTick = nextTick;
Vue.options = Object.create(null);
config._assetTypes.forEach(function (type) {
Vue.options[type + 's'] = Object.create(null);
});
// this is used to identify the "base" constructor to extend all plain-object
// components with in Weex's multi-instance scenarios.
Vue.options._base = Vue;
extend(Vue.options.components, builtInComponents);
initUse(Vue);
initMixin$1(Vue);
initExtend(Vue);
initAssetRegisters(Vue);
}
initGlobalAPI(Vue$3);
Object.defineProperty(Vue$3.prototype, '$isServer', {
get: isServerRendering
});
Vue$3.version = '2.2.6';
/* */
// attributes that should be using props for binding
var acceptValue = makeMap('input,textarea,option,select');
var mustUseProp = function (tag, type, attr) {
return (
(attr === 'value' && acceptValue(tag)) && type !== 'button' ||
(attr === 'selected' && tag === 'option') ||
(attr === 'checked' && tag === 'input') ||
(attr === 'muted' && tag === 'video')
)
};
var isEnumeratedAttr = makeMap('contenteditable,draggable,spellcheck');
var isBooleanAttr = makeMap(
'allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,' +
'default,defaultchecked,defaultmuted,defaultselected,defer,disabled,' +
'enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,' +
'muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,' +
'required,reversed,scoped,seamless,selected,sortable,translate,' +
'truespeed,typemustmatch,visible'
);
var xlinkNS = 'http://www.w3.org/1999/xlink';
var isXlink = function (name) {
return name.charAt(5) === ':' && name.slice(0, 5) === 'xlink'
};
var getXlinkProp = function (name) {
return isXlink(name) ? name.slice(6, name.length) : ''
};
var isFalsyAttrValue = function (val) {
return val == null || val === false
};
/* */
function genClassForVnode (vnode) {
var data = vnode.data;
var parentNode = vnode;
var childNode = vnode;
while (childNode.componentInstance) {
childNode = childNode.componentInstance._vnode;
if (childNode.data) {
data = mergeClassData(childNode.data, data);
}
}
while ((parentNode = parentNode.parent)) {
if (parentNode.data) {
data = mergeClassData(data, parentNode.data);
}
}
return genClassFromData(data)
}
function mergeClassData (child, parent) {
return {
staticClass: concat(child.staticClass, parent.staticClass),
class: child.class
? [child.class, parent.class]
: parent.class
}
}
function genClassFromData (data) {
var dynamicClass = data.class;
var staticClass = data.staticClass;
if (staticClass || dynamicClass) {
return concat(staticClass, stringifyClass(dynamicClass))
}
/* istanbul ignore next */
return ''
}
function concat (a, b) {
return a ? b ? (a + ' ' + b) : a : (b || '')
}
function stringifyClass (value) {
var res = '';
if (!value) {
return res
}
if (typeof value === 'string') {
return value
}
if (Array.isArray(value)) {
var stringified;
for (var i = 0, l = value.length; i < l; i++) {
if (value[i]) {
if ((stringified = stringifyClass(value[i]))) {
res += stringified + ' ';
}
}
}
return res.slice(0, -1)
}
if (isObject(value)) {
for (var key in value) {
if (value[key]) { res += key + ' '; }
}
return res.slice(0, -1)
}
/* istanbul ignore next */
return res
}
/* */
var namespaceMap = {
svg: 'http://www.w3.org/2000/svg',
math: 'http://www.w3.org/1998/Math/MathML'
};
var isHTMLTag = makeMap(
'html,body,base,head,link,meta,style,title,' +
'address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,' +
'div,dd,dl,dt,figcaption,figure,hr,img,li,main,ol,p,pre,ul,' +
'a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,' +
's,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,' +
'embed,object,param,source,canvas,script,noscript,del,ins,' +
'caption,col,colgroup,table,thead,tbody,td,th,tr,' +
'button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,' +
'output,progress,select,textarea,' +
'details,dialog,menu,menuitem,summary,' +
'content,element,shadow,template'
);
// this map is intentionally selective, only covering SVG elements that may
// contain child elements.
var isSVG = makeMap(
'svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font-face,' +
'foreignObject,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,' +
'polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view',
true
);
var isPreTag = function (tag) { return tag === 'pre'; };
var isReservedTag = function (tag) {
return isHTMLTag(tag) || isSVG(tag)
};
function getTagNamespace (tag) {
if (isSVG(tag)) {
return 'svg'
}
// basic support for MathML
// note it doesn't support other MathML elements being component roots
if (tag === 'math') {
return 'math'
}
}
var unknownElementCache = Object.create(null);
function isUnknownElement (tag) {
/* istanbul ignore if */
if (!inBrowser) {
return true
}
if (isReservedTag(tag)) {
return false
}
tag = tag.toLowerCase();
/* istanbul ignore if */
if (unknownElementCache[tag] != null) {
return unknownElementCache[tag]
}
var el = document.createElement(tag);
if (tag.indexOf('-') > -1) {
// http://stackoverflow.com/a/28210364/1070244
return (unknownElementCache[tag] = (
el.constructor === window.HTMLUnknownElement ||
el.constructor === window.HTMLElement
))
} else {
return (unknownElementCache[tag] = /HTMLUnknownElement/.test(el.toString()))
}
}
/* */
/**
* Query an element selector if it's not an element already.
*/
function query (el) {
if (typeof el === 'string') {
var selected = document.querySelector(el);
if (!selected) {
"development" !== 'production' && warn(
'Cannot find element: ' + el
);
return document.createElement('div')
}
return selected
} else {
return el
}
}
/* */
function createElement$1 (tagName, vnode) {
var elm = document.createElement(tagName);
if (tagName !== 'select') {
return elm
}
// false or null will remove the attribute but undefined will not
if (vnode.data && vnode.data.attrs && vnode.data.attrs.multiple !== undefined) {
elm.setAttribute('multiple', 'multiple');
}
return elm
}
function createElementNS (namespace, tagName) {
return document.createElementNS(namespaceMap[namespace], tagName)
}
function createTextNode (text) {
return document.createTextNode(text)
}
function createComment (text) {
return document.createComment(text)
}
function insertBefore (parentNode, newNode, referenceNode) {
parentNode.insertBefore(newNode, referenceNode);
}
function removeChild (node, child) {
node.removeChild(child);
}
function appendChild (node, child) {
node.appendChild(child);
}
function parentNode (node) {
return node.parentNode
}
function nextSibling (node) {
return node.nextSibling
}
function tagName (node) {
return node.tagName
}
function setTextContent (node, text) {
node.textContent = text;
}
function setAttribute (node, key, val) {
node.setAttribute(key, val);
}
var nodeOps = Object.freeze({
createElement: createElement$1,
createElementNS: createElementNS,
createTextNode: createTextNode,
createComment: createComment,
insertBefore: insertBefore,
removeChild: removeChild,
appendChild: appendChild,
parentNode: parentNode,
nextSibling: nextSibling,
tagName: tagName,
setTextContent: setTextContent,
setAttribute: setAttribute
});
/* */
var ref = {
create: function create (_, vnode) {
registerRef(vnode);
},
update: function update (oldVnode, vnode) {
if (oldVnode.data.ref !== vnode.data.ref) {
registerRef(oldVnode, true);
registerRef(vnode);
}
},
destroy: function destroy (vnode) {
registerRef(vnode, true);
}
};
function registerRef (vnode, isRemoval) {
var key = vnode.data.ref;
if (!key) { return }
var vm = vnode.context;
var ref = vnode.componentInstance || vnode.elm;
var refs = vm.$refs;
if (isRemoval) {
if (Array.isArray(refs[key])) {
remove(refs[key], ref);
} else if (refs[key] === ref) {
refs[key] = undefined;
}
} else {
if (vnode.data.refInFor) {
if (Array.isArray(refs[key]) && refs[key].indexOf(ref) < 0) {
refs[key].push(ref);
} else {
refs[key] = [ref];
}
} else {
refs[key] = ref;
}
}
}
/**
* Virtual DOM patching algorithm based on Snabbdom by
* Simon Friis Vindum (@paldepind)
* Licensed under the MIT License
* https://github.com/paldepind/snabbdom/blob/master/LICENSE
*
* modified by Evan You (@yyx990803)
*
/*
* Not type-checking this because this file is perf-critical and the cost
* of making flow understand it is not worth it.
*/
var emptyNode = new VNode('', {}, []);
var hooks = ['create', 'activate', 'update', 'remove', 'destroy'];
function isUndef (v) {
return v === undefined || v === null
}
function isDef (v) {
return v !== undefined && v !== null
}
function isTrue (v) {
return v === true
}
function sameVnode (a, b) {
return (
a.key === b.key &&
a.tag === b.tag &&
a.isComment === b.isComment &&
isDef(a.data) === isDef(b.data) &&
sameInputType(a, b)
)
}
// Some browsers do not support dynamically changing type for <input>
// so they need to be treated as different nodes
function sameInputType (a, b) {
if (a.tag !== 'input') { return true }
var i;
var typeA = isDef(i = a.data) && isDef(i = i.attrs) && i.type;
var typeB = isDef(i = b.data) && isDef(i = i.attrs) && i.type;
return typeA === typeB
}
function createKeyToOldIdx (children, beginIdx, endIdx) {
var i, key;
var map = {};
for (i = beginIdx; i <= endIdx; ++i) {
key = children[i].key;
if (isDef(key)) { map[key] = i; }
}
return map
}
function createPatchFunction (backend) {
var i, j;
var cbs = {};
var modules = backend.modules;
var nodeOps = backend.nodeOps;
for (i = 0; i < hooks.length; ++i) {
cbs[hooks[i]] = [];
for (j = 0; j < modules.length; ++j) {
if (isDef(modules[j][hooks[i]])) {
cbs[hooks[i]].push(modules[j][hooks[i]]);
}
}
}
function emptyNodeAt (elm) {
return new VNode(nodeOps.tagName(elm).toLowerCase(), {}, [], undefined, elm)
}
function createRmCb (childElm, listeners) {
function remove$$1 () {
if (--remove$$1.listeners === 0) {
removeNode(childElm);
}
}
remove$$1.listeners = listeners;
return remove$$1
}
function removeNode (el) {
var parent = nodeOps.parentNode(el);
// element may have already been removed due to v-html / v-text
if (isDef(parent)) {
nodeOps.removeChild(parent, el);
}
}
var inPre = 0;
function createElm (vnode, insertedVnodeQueue, parentElm, refElm, nested) {
vnode.isRootInsert = !nested; // for transition enter check
if (createComponent(vnode, insertedVnodeQueue, parentElm, refElm)) {
return
}
var data = vnode.data;
var children = vnode.children;
var tag = vnode.tag;
if (isDef(tag)) {
{
if (data && data.pre) {
inPre++;
}
if (
!inPre &&
!vnode.ns &&
!(config.ignoredElements.length && config.ignoredElements.indexOf(tag) > -1) &&
config.isUnknownElement(tag)
) {
warn(
'Unknown custom element: <' + tag + '> - did you ' +
'register the component correctly? For recursive components, ' +
'make sure to provide the "name" option.',
vnode.context
);
}
}
vnode.elm = vnode.ns
? nodeOps.createElementNS(vnode.ns, tag)
: nodeOps.createElement(tag, vnode);
setScope(vnode);
/* istanbul ignore if */
{
createChildren(vnode, children, insertedVnodeQueue);
if (isDef(data)) {
invokeCreateHooks(vnode, insertedVnodeQueue);
}
insert(parentElm, vnode.elm, refElm);
}
if ("development" !== 'production' && data && data.pre) {
inPre--;
}
} else if (isTrue(vnode.isComment)) {
vnode.elm = nodeOps.createComment(vnode.text);
insert(parentElm, vnode.elm, refElm);
} else {
vnode.elm = nodeOps.createTextNode(vnode.text);
insert(parentElm, vnode.elm, refElm);
}
}
function createComponent (vnode, insertedVnodeQueue, parentElm, refElm) {
var i = vnode.data;
if (isDef(i)) {
var isReactivated = isDef(vnode.componentInstance) && i.keepAlive;
if (isDef(i = i.hook) && isDef(i = i.init)) {
i(vnode, false /* hydrating */, parentElm, refElm);
}
// after calling the init hook, if the vnode is a child component
// it should've created a child instance and mounted it. the child
// component also has set the placeholder vnode's elm.
// in that case we can just return the element and be done.
if (isDef(vnode.componentInstance)) {
initComponent(vnode, insertedVnodeQueue);
if (isTrue(isReactivated)) {
reactivateComponent(vnode, insertedVnodeQueue, parentElm, refElm);
}
return true
}
}
}
function initComponent (vnode, insertedVnodeQueue) {
if (isDef(vnode.data.pendingInsert)) {
insertedVnodeQueue.push.apply(insertedVnodeQueue, vnode.data.pendingInsert);
}
vnode.elm = vnode.componentInstance.$el;
if (isPatchable(vnode)) {
invokeCreateHooks(vnode, insertedVnodeQueue);
setScope(vnode);
} else {
// empty component root.
// skip all element-related modules except for ref (#3455)
registerRef(vnode);
// make sure to invoke the insert hook
insertedVnodeQueue.push(vnode);
}
}
function reactivateComponent (vnode, insertedVnodeQueue, parentElm, refElm) {
var i;
// hack for #4339: a reactivated component with inner transition
// does not trigger because the inner node's created hooks are not called
// again. It's not ideal to involve module-specific logic in here but
// there doesn't seem to be a better way to do it.
var innerNode = vnode;
while (innerNode.componentInstance) {
innerNode = innerNode.componentInstance._vnode;
if (isDef(i = innerNode.data) && isDef(i = i.transition)) {
for (i = 0; i < cbs.activate.length; ++i) {
cbs.activate[i](emptyNode, innerNode);
}
insertedVnodeQueue.push(innerNode);
break
}
}
// unlike a newly created component,
// a reactivated keep-alive component doesn't insert itself
insert(parentElm, vnode.elm, refElm);
}
function insert (parent, elm, ref) {
if (isDef(parent)) {
if (isDef(ref)) {
nodeOps.insertBefore(parent, elm, ref);
} else {
nodeOps.appendChild(parent, elm);
}
}
}
function createChildren (vnode, children, insertedVnodeQueue) {
if (Array.isArray(children)) {
for (var i = 0; i < children.length; ++i) {
createElm(children[i], insertedVnodeQueue, vnode.elm, null, true);
}
} else if (isPrimitive(vnode.text)) {
nodeOps.appendChild(vnode.elm, nodeOps.createTextNode(vnode.text));
}
}
function isPatchable (vnode) {
while (vnode.componentInstance) {
vnode = vnode.componentInstance._vnode;
}
return isDef(vnode.tag)
}
function invokeCreateHooks (vnode, insertedVnodeQueue) {
for (var i$1 = 0; i$1 < cbs.create.length; ++i$1) {
cbs.create[i$1](emptyNode, vnode);
}
i = vnode.data.hook; // Reuse variable
if (isDef(i)) {
if (isDef(i.create)) { i.create(emptyNode, vnode); }
if (isDef(i.insert)) { insertedVnodeQueue.push(vnode); }
}
}
// set scope id attribute for scoped CSS.
// this is implemented as a special case to avoid the overhead
// of going through the normal attribute patching process.
function setScope (vnode) {
var i;
var ancestor = vnode;
while (ancestor) {
if (isDef(i = ancestor.context) && isDef(i = i.$options._scopeId)) {
nodeOps.setAttribute(vnode.elm, i, '');
}
ancestor = ancestor.parent;
}
// for slot content they should also get the scopeId from the host instance.
if (isDef(i = activeInstance) &&
i !== vnode.context &&
isDef(i = i.$options._scopeId)) {
nodeOps.setAttribute(vnode.elm, i, '');
}
}
function addVnodes (parentElm, refElm, vnodes, startIdx, endIdx, insertedVnodeQueue) {
for (; startIdx <= endIdx; ++startIdx) {
createElm(vnodes[startIdx], insertedVnodeQueue, parentElm, refElm);
}
}
function invokeDestroyHook (vnode) {
var i, j;
var data = vnode.data;
if (isDef(data)) {
if (isDef(i = data.hook) && isDef(i = i.destroy)) { i(vnode); }
for (i = 0; i < cbs.destroy.length; ++i) { cbs.destroy[i](vnode); }
}
if (isDef(i = vnode.children)) {
for (j = 0; j < vnode.children.length; ++j) {
invokeDestroyHook(vnode.children[j]);
}
}
}
function removeVnodes (parentElm, vnodes, startIdx, endIdx) {
for (; startIdx <= endIdx; ++startIdx) {
var ch = vnodes[startIdx];
if (isDef(ch)) {
if (isDef(ch.tag)) {
removeAndInvokeRemoveHook(ch);
invokeDestroyHook(ch);
} else { // Text node
removeNode(ch.elm);
}
}
}
}
function removeAndInvokeRemoveHook (vnode, rm) {
if (isDef(rm) || isDef(vnode.data)) {
var listeners = cbs.remove.length + 1;
if (isDef(rm)) {
// we have a recursively passed down rm callback
// increase the listeners count
rm.listeners += listeners;
} else {
// directly removing
rm = createRmCb(vnode.elm, listeners);
}
// recursively invoke hooks on child component root node
if (isDef(i = vnode.componentInstance) && isDef(i = i._vnode) && isDef(i.data)) {
removeAndInvokeRemoveHook(i, rm);
}
for (i = 0; i < cbs.remove.length; ++i) {
cbs.remove[i](vnode, rm);
}
if (isDef(i = vnode.data.hook) && isDef(i = i.remove)) {
i(vnode, rm);
} else {
rm();
}
} else {
removeNode(vnode.elm);
}
}
function updateChildren (parentElm, oldCh, newCh, insertedVnodeQueue, removeOnly) {
var oldStartIdx = 0;
var newStartIdx = 0;
var oldEndIdx = oldCh.length - 1;
var oldStartVnode = oldCh[0];
var oldEndVnode = oldCh[oldEndIdx];
var newEndIdx = newCh.length - 1;
var newStartVnode = newCh[0];
var newEndVnode = newCh[newEndIdx];
var oldKeyToIdx, idxInOld, elmToMove, refElm;
// removeOnly is a special flag used only by <transition-group>
// to ensure removed elements stay in correct relative positions
// during leaving transitions
var canMove = !removeOnly;
while (oldStartIdx <= oldEndIdx && newStartIdx <= newEndIdx) {
if (isUndef(oldStartVnode)) {
oldStartVnode = oldCh[++oldStartIdx]; // Vnode has been moved left
} else if (isUndef(oldEndVnode)) {
oldEndVnode = oldCh[--oldEndIdx];
} else if (sameVnode(oldStartVnode, newStartVnode)) {
patchVnode(oldStartVnode, newStartVnode, insertedVnodeQueue);
oldStartVnode = oldCh[++oldStartIdx];
newStartVnode = newCh[++newStartIdx];
} else if (sameVnode(oldEndVnode, newEndVnode)) {
patchVnode(oldEndVnode, newEndVnode, insertedVnodeQueue);
oldEndVnode = oldCh[--oldEndIdx];
newEndVnode = newCh[--newEndIdx];
} else if (sameVnode(oldStartVnode, newEndVnode)) { // Vnode moved right
patchVnode(oldStartVnode, newEndVnode, insertedVnodeQueue);
canMove && nodeOps.insertBefore(parentElm, oldStartVnode.elm, nodeOps.nextSibling(oldEndVnode.elm));
oldStartVnode = oldCh[++oldStartIdx];
newEndVnode = newCh[--newEndIdx];
} else if (sameVnode(oldEndVnode, newStartVnode)) { // Vnode moved left
patchVnode(oldEndVnode, newStartVnode, insertedVnodeQueue);
canMove && nodeOps.insertBefore(parentElm, oldEndVnode.elm, oldStartVnode.elm);
oldEndVnode = oldCh[--oldEndIdx];
newStartVnode = newCh[++newStartIdx];
} else {
if (isUndef(oldKeyToIdx)) { oldKeyToIdx = createKeyToOldIdx(oldCh, oldStartIdx, oldEndIdx); }
idxInOld = isDef(newStartVnode.key) ? oldKeyToIdx[newStartVnode.key] : null;
if (isUndef(idxInOld)) { // New element
createElm(newStartVnode, insertedVnodeQueue, parentElm, oldStartVnode.elm);
newStartVnode = newCh[++newStartIdx];
} else {
elmToMove = oldCh[idxInOld];
/* istanbul ignore if */
if ("development" !== 'production' && !elmToMove) {
warn(
'It seems there are duplicate keys that is causing an update error. ' +
'Make sure each v-for item has a unique key.'
);
}
if (sameVnode(elmToMove, newStartVnode)) {
patchVnode(elmToMove, newStartVnode, insertedVnodeQueue);
oldCh[idxInOld] = undefined;
canMove && nodeOps.insertBefore(parentElm, newStartVnode.elm, oldStartVnode.elm);
newStartVnode = newCh[++newStartIdx];
} else {
// same key but different element. treat as new element
createElm(newStartVnode, insertedVnodeQueue, parentElm, oldStartVnode.elm);
newStartVnode = newCh[++newStartIdx];
}
}
}
}
if (oldStartIdx > oldEndIdx) {
refElm = isUndef(newCh[newEndIdx + 1]) ? null : newCh[newEndIdx + 1].elm;
addVnodes(parentElm, refElm, newCh, newStartIdx, newEndIdx, insertedVnodeQueue);
} else if (newStartIdx > newEndIdx) {
removeVnodes(parentElm, oldCh, oldStartIdx, oldEndIdx);
}
}
function patchVnode (oldVnode, vnode, insertedVnodeQueue, removeOnly) {
if (oldVnode === vnode) {
return
}
// reuse element for static trees.
// note we only do this if the vnode is cloned -
// if the new node is not cloned it means the render functions have been
// reset by the hot-reload-api and we need to do a proper re-render.
if (isTrue(vnode.isStatic) &&
isTrue(oldVnode.isStatic) &&
vnode.key === oldVnode.key &&
(isTrue(vnode.isCloned) || isTrue(vnode.isOnce))) {
vnode.elm = oldVnode.elm;
vnode.componentInstance = oldVnode.componentInstance;
return
}
var i;
var data = vnode.data;
if (isDef(data) && isDef(i = data.hook) && isDef(i = i.prepatch)) {
i(oldVnode, vnode);
}
var elm = vnode.elm = oldVnode.elm;
var oldCh = oldVnode.children;
var ch = vnode.children;
if (isDef(data) && isPatchable(vnode)) {
for (i = 0; i < cbs.update.length; ++i) { cbs.update[i](oldVnode, vnode); }
if (isDef(i = data.hook) && isDef(i = i.update)) { i(oldVnode, vnode); }
}
if (isUndef(vnode.text)) {
if (isDef(oldCh) && isDef(ch)) {
if (oldCh !== ch) { updateChildren(elm, oldCh, ch, insertedVnodeQueue, removeOnly); }
} else if (isDef(ch)) {
if (isDef(oldVnode.text)) { nodeOps.setTextContent(elm, ''); }
addVnodes(elm, null, ch, 0, ch.length - 1, insertedVnodeQueue);
} else if (isDef(oldCh)) {
removeVnodes(elm, oldCh, 0, oldCh.length - 1);
} else if (isDef(oldVnode.text)) {
nodeOps.setTextContent(elm, '');
}
} else if (oldVnode.text !== vnode.text) {
nodeOps.setTextContent(elm, vnode.text);
}
if (isDef(data)) {
if (isDef(i = data.hook) && isDef(i = i.postpatch)) { i(oldVnode, vnode); }
}
}
function invokeInsertHook (vnode, queue, initial) {
// delay insert hooks for component root nodes, invoke them after the
// element is really inserted
if (isTrue(initial) && isDef(vnode.parent)) {
vnode.parent.data.pendingInsert = queue;
} else {
for (var i = 0; i < queue.length; ++i) {
queue[i].data.hook.insert(queue[i]);
}
}
}
var bailed = false;
// list of modules that can skip create hook during hydration because they
// are already rendered on the client or has no need for initialization
var isRenderedModule = makeMap('attrs,style,class,staticClass,staticStyle,key');
// Note: this is a browser-only function so we can assume elms are DOM nodes.
function hydrate (elm, vnode, insertedVnodeQueue) {
{
if (!assertNodeMatch(elm, vnode)) {
return false
}
}
vnode.elm = elm;
var tag = vnode.tag;
var data = vnode.data;
var children = vnode.children;
if (isDef(data)) {
if (isDef(i = data.hook) && isDef(i = i.init)) { i(vnode, true /* hydrating */); }
if (isDef(i = vnode.componentInstance)) {
// child component. it should have hydrated its own tree.
initComponent(vnode, insertedVnodeQueue);
return true
}
}
if (isDef(tag)) {
if (isDef(children)) {
// empty element, allow client to pick up and populate children
if (!elm.hasChildNodes()) {
createChildren(vnode, children, insertedVnodeQueue);
} else {
var childrenMatch = true;
var childNode = elm.firstChild;
for (var i$1 = 0; i$1 < children.length; i$1++) {
if (!childNode || !hydrate(childNode, children[i$1], insertedVnodeQueue)) {
childrenMatch = false;
break
}
childNode = childNode.nextSibling;
}
// if childNode is not null, it means the actual childNodes list is
// longer than the virtual children list.
if (!childrenMatch || childNode) {
if ("development" !== 'production' &&
typeof console !== 'undefined' &&
!bailed) {
bailed = true;
console.warn('Parent: ', elm);
console.warn('Mismatching childNodes vs. VNodes: ', elm.childNodes, children);
}
return false
}
}
}
if (isDef(data)) {
for (var key in data) {
if (!isRenderedModule(key)) {
invokeCreateHooks(vnode, insertedVnodeQueue);
break
}
}
}
} else if (elm.data !== vnode.text) {
elm.data = vnode.text;
}
return true
}
function assertNodeMatch (node, vnode) {
if (isDef(vnode.tag)) {
return (
vnode.tag.indexOf('vue-component') === 0 ||
vnode.tag.toLowerCase() === (node.tagName && node.tagName.toLowerCase())
)
} else {
return node.nodeType === (vnode.isComment ? 8 : 3)
}
}
return function patch (oldVnode, vnode, hydrating, removeOnly, parentElm, refElm) {
if (isUndef(vnode)) {
if (isDef(oldVnode)) { invokeDestroyHook(oldVnode); }
return
}
var isInitialPatch = false;
var insertedVnodeQueue = [];
if (isUndef(oldVnode)) {
// empty mount (likely as component), create new root element
isInitialPatch = true;
createElm(vnode, insertedVnodeQueue, parentElm, refElm);
} else {
var isRealElement = isDef(oldVnode.nodeType);
if (!isRealElement && sameVnode(oldVnode, vnode)) {
// patch existing root node
patchVnode(oldVnode, vnode, insertedVnodeQueue, removeOnly);
} else {
if (isRealElement) {
// mounting to a real element
// check if this is server-rendered content and if we can perform
// a successful hydration.
if (oldVnode.nodeType === 1 && oldVnode.hasAttribute('server-rendered')) {
oldVnode.removeAttribute('server-rendered');
hydrating = true;
}
if (isTrue(hydrating)) {
if (hydrate(oldVnode, vnode, insertedVnodeQueue)) {
invokeInsertHook(vnode, insertedVnodeQueue, true);
return oldVnode
} else {
warn(
'The client-side rendered virtual DOM tree is not matching ' +
'server-rendered content. This is likely caused by incorrect ' +
'HTML markup, for example nesting block-level elements inside ' +
'<p>, or missing <tbody>. Bailing hydration and performing ' +
'full client-side render.'
);
}
}
// either not server-rendered, or hydration failed.
// create an empty node and replace it
oldVnode = emptyNodeAt(oldVnode);
}
// replacing existing element
var oldElm = oldVnode.elm;
var parentElm$1 = nodeOps.parentNode(oldElm);
createElm(
vnode,
insertedVnodeQueue,
// extremely rare edge case: do not insert if old element is in a
// leaving transition. Only happens when combining transition +
// keep-alive + HOCs. (#4590)
oldElm._leaveCb ? null : parentElm$1,
nodeOps.nextSibling(oldElm)
);
if (isDef(vnode.parent)) {
// component root element replaced.
// update parent placeholder node element, recursively
var ancestor = vnode.parent;
while (ancestor) {
ancestor.elm = vnode.elm;
ancestor = ancestor.parent;
}
if (isPatchable(vnode)) {
for (var i = 0; i < cbs.create.length; ++i) {
cbs.create[i](emptyNode, vnode.parent);
}
}
}
if (isDef(parentElm$1)) {
removeVnodes(parentElm$1, [oldVnode], 0, 0);
} else if (isDef(oldVnode.tag)) {
invokeDestroyHook(oldVnode);
}
}
}
invokeInsertHook(vnode, insertedVnodeQueue, isInitialPatch);
return vnode.elm
}
}
/* */
var directives = {
create: updateDirectives,
update: updateDirectives,
destroy: function unbindDirectives (vnode) {
updateDirectives(vnode, emptyNode);
}
};
function updateDirectives (oldVnode, vnode) {
if (oldVnode.data.directives || vnode.data.directives) {
_update(oldVnode, vnode);
}
}
function _update (oldVnode, vnode) {
var isCreate = oldVnode === emptyNode;
var isDestroy = vnode === emptyNode;
var oldDirs = normalizeDirectives$1(oldVnode.data.directives, oldVnode.context);
var newDirs = normalizeDirectives$1(vnode.data.directives, vnode.context);
var dirsWithInsert = [];
var dirsWithPostpatch = [];
var key, oldDir, dir;
for (key in newDirs) {
oldDir = oldDirs[key];
dir = newDirs[key];
if (!oldDir) {
// new directive, bind
callHook$1(dir, 'bind', vnode, oldVnode);
if (dir.def && dir.def.inserted) {
dirsWithInsert.push(dir);
}
} else {
// existing directive, update
dir.oldValue = oldDir.value;
callHook$1(dir, 'update', vnode, oldVnode);
if (dir.def && dir.def.componentUpdated) {
dirsWithPostpatch.push(dir);
}
}
}
if (dirsWithInsert.length) {
var callInsert = function () {
for (var i = 0; i < dirsWithInsert.length; i++) {
callHook$1(dirsWithInsert[i], 'inserted', vnode, oldVnode);
}
};
if (isCreate) {
mergeVNodeHook(vnode.data.hook || (vnode.data.hook = {}), 'insert', callInsert);
} else {
callInsert();
}
}
if (dirsWithPostpatch.length) {
mergeVNodeHook(vnode.data.hook || (vnode.data.hook = {}), 'postpatch', function () {
for (var i = 0; i < dirsWithPostpatch.length; i++) {
callHook$1(dirsWithPostpatch[i], 'componentUpdated', vnode, oldVnode);
}
});
}
if (!isCreate) {
for (key in oldDirs) {
if (!newDirs[key]) {
// no longer present, unbind
callHook$1(oldDirs[key], 'unbind', oldVnode, oldVnode, isDestroy);
}
}
}
}
var emptyModifiers = Object.create(null);
function normalizeDirectives$1 (
dirs,
vm
) {
var res = Object.create(null);
if (!dirs) {
return res
}
var i, dir;
for (i = 0; i < dirs.length; i++) {
dir = dirs[i];
if (!dir.modifiers) {
dir.modifiers = emptyModifiers;
}
res[getRawDirName(dir)] = dir;
dir.def = resolveAsset(vm.$options, 'directives', dir.name, true);
}
return res
}
function getRawDirName (dir) {
return dir.rawName || ((dir.name) + "." + (Object.keys(dir.modifiers || {}).join('.')))
}
function callHook$1 (dir, hook, vnode, oldVnode, isDestroy) {
var fn = dir.def && dir.def[hook];
if (fn) {
fn(vnode.elm, dir, vnode, oldVnode, isDestroy);
}
}
var baseModules = [
ref,
directives
];
/* */
function updateAttrs (oldVnode, vnode) {
if (!oldVnode.data.attrs && !vnode.data.attrs) {
return
}
var key, cur, old;
var elm = vnode.elm;
var oldAttrs = oldVnode.data.attrs || {};
var attrs = vnode.data.attrs || {};
// clone observed objects, as the user probably wants to mutate it
if (attrs.__ob__) {
attrs = vnode.data.attrs = extend({}, attrs);
}
for (key in attrs) {
cur = attrs[key];
old = oldAttrs[key];
if (old !== cur) {
setAttr(elm, key, cur);
}
}
// #4391: in IE9, setting type can reset value for input[type=radio]
/* istanbul ignore if */
if (isIE9 && attrs.value !== oldAttrs.value) {
setAttr(elm, 'value', attrs.value);
}
for (key in oldAttrs) {
if (attrs[key] == null) {
if (isXlink(key)) {
elm.removeAttributeNS(xlinkNS, getXlinkProp(key));
} else if (!isEnumeratedAttr(key)) {
elm.removeAttribute(key);
}
}
}
}
function setAttr (el, key, value) {
if (isBooleanAttr(key)) {
// set attribute for blank value
// e.g. <option disabled>Select one</option>
if (isFalsyAttrValue(value)) {
el.removeAttribute(key);
} else {
el.setAttribute(key, key);
}
} else if (isEnumeratedAttr(key)) {
el.setAttribute(key, isFalsyAttrValue(value) || value === 'false' ? 'false' : 'true');
} else if (isXlink(key)) {
if (isFalsyAttrValue(value)) {
el.removeAttributeNS(xlinkNS, getXlinkProp(key));
} else {
el.setAttributeNS(xlinkNS, key, value);
}
} else {
if (isFalsyAttrValue(value)) {
el.removeAttribute(key);
} else {
el.setAttribute(key, value);
}
}
}
var attrs = {
create: updateAttrs,
update: updateAttrs
};
/* */
function updateClass (oldVnode, vnode) {
var el = vnode.elm;
var data = vnode.data;
var oldData = oldVnode.data;
if (!data.staticClass && !data.class &&
(!oldData || (!oldData.staticClass && !oldData.class))) {
return
}
var cls = genClassForVnode(vnode);
// handle transition classes
var transitionClass = el._transitionClasses;
if (transitionClass) {
cls = concat(cls, stringifyClass(transitionClass));
}
// set the class
if (cls !== el._prevClass) {
el.setAttribute('class', cls);
el._prevClass = cls;
}
}
var klass = {
create: updateClass,
update: updateClass
};
/* */
var validDivisionCharRE = /[\w).+\-_$\]]/;
function parseFilters (exp) {
var inSingle = false;
var inDouble = false;
var inTemplateString = false;
var inRegex = false;
var curly = 0;
var square = 0;
var paren = 0;
var lastFilterIndex = 0;
var c, prev, i, expression, filters;
for (i = 0; i < exp.length; i++) {
prev = c;
c = exp.charCodeAt(i);
if (inSingle) {
if (c === 0x27 && prev !== 0x5C) { inSingle = false; }
} else if (inDouble) {
if (c === 0x22 && prev !== 0x5C) { inDouble = false; }
} else if (inTemplateString) {
if (c === 0x60 && prev !== 0x5C) { inTemplateString = false; }
} else if (inRegex) {
if (c === 0x2f && prev !== 0x5C) { inRegex = false; }
} else if (
c === 0x7C && // pipe
exp.charCodeAt(i + 1) !== 0x7C &&
exp.charCodeAt(i - 1) !== 0x7C &&
!curly && !square && !paren
) {
if (expression === undefined) {
// first filter, end of expression
lastFilterIndex = i + 1;
expression = exp.slice(0, i).trim();
} else {
pushFilter();
}
} else {
switch (c) {
case 0x22: inDouble = true; break // "
case 0x27: inSingle = true; break // '
case 0x60: inTemplateString = true; break // `
case 0x28: paren++; break // (
case 0x29: paren--; break // )
case 0x5B: square++; break // [
case 0x5D: square--; break // ]
case 0x7B: curly++; break // {
case 0x7D: curly--; break // }
}
if (c === 0x2f) { // /
var j = i - 1;
var p = (void 0);
// find first non-whitespace prev char
for (; j >= 0; j--) {
p = exp.charAt(j);
if (p !== ' ') { break }
}
if (!p || !validDivisionCharRE.test(p)) {
inRegex = true;
}
}
}
}
if (expression === undefined) {
expression = exp.slice(0, i).trim();
} else if (lastFilterIndex !== 0) {
pushFilter();
}
function pushFilter () {
(filters || (filters = [])).push(exp.slice(lastFilterIndex, i).trim());
lastFilterIndex = i + 1;
}
if (filters) {
for (i = 0; i < filters.length; i++) {
expression = wrapFilter(expression, filters[i]);
}
}
return expression
}
function wrapFilter (exp, filter) {
var i = filter.indexOf('(');
if (i < 0) {
// _f: resolveFilter
return ("_f(\"" + filter + "\")(" + exp + ")")
} else {
var name = filter.slice(0, i);
var args = filter.slice(i + 1);
return ("_f(\"" + name + "\")(" + exp + "," + args)
}
}
/* */
function baseWarn (msg) {
console.error(("[Vue compiler]: " + msg));
}
function pluckModuleFunction (
modules,
key
) {
return modules
? modules.map(function (m) { return m[key]; }).filter(function (_) { return _; })
: []
}
function addProp (el, name, value) {
(el.props || (el.props = [])).push({ name: name, value: value });
}
function addAttr (el, name, value) {
(el.attrs || (el.attrs = [])).push({ name: name, value: value });
}
function addDirective (
el,
name,
rawName,
value,
arg,
modifiers
) {
(el.directives || (el.directives = [])).push({ name: name, rawName: rawName, value: value, arg: arg, modifiers: modifiers });
}
function addHandler (
el,
name,
value,
modifiers,
important
) {
// check capture modifier
if (modifiers && modifiers.capture) {
delete modifiers.capture;
name = '!' + name; // mark the event as captured
}
if (modifiers && modifiers.once) {
delete modifiers.once;
name = '~' + name; // mark the event as once
}
var events;
if (modifiers && modifiers.native) {
delete modifiers.native;
events = el.nativeEvents || (el.nativeEvents = {});
} else {
events = el.events || (el.events = {});
}
var newHandler = { value: value, modifiers: modifiers };
var handlers = events[name];
/* istanbul ignore if */
if (Array.isArray(handlers)) {
important ? handlers.unshift(newHandler) : handlers.push(newHandler);
} else if (handlers) {
events[name] = important ? [newHandler, handlers] : [handlers, newHandler];
} else {
events[name] = newHandler;
}
}
function getBindingAttr (
el,
name,
getStatic
) {
var dynamicValue =
getAndRemoveAttr(el, ':' + name) ||
getAndRemoveAttr(el, 'v-bind:' + name);
if (dynamicValue != null) {
return parseFilters(dynamicValue)
} else if (getStatic !== false) {
var staticValue = getAndRemoveAttr(el, name);
if (staticValue != null) {
return JSON.stringify(staticValue)
}
}
}
function getAndRemoveAttr (el, name) {
var val;
if ((val = el.attrsMap[name]) != null) {
var list = el.attrsList;
for (var i = 0, l = list.length; i < l; i++) {
if (list[i].name === name) {
list.splice(i, 1);
break
}
}
}
return val
}
/* */
/**
* Cross-platform code generation for component v-model
*/
function genComponentModel (
el,
value,
modifiers
) {
var ref = modifiers || {};
var number = ref.number;
var trim = ref.trim;
var baseValueExpression = '$$v';
var valueExpression = baseValueExpression;
if (trim) {
valueExpression =
"(typeof " + baseValueExpression + " === 'string'" +
"? " + baseValueExpression + ".trim()" +
": " + baseValueExpression + ")";
}
if (number) {
valueExpression = "_n(" + valueExpression + ")";
}
var assignment = genAssignmentCode(value, valueExpression);
el.model = {
value: ("(" + value + ")"),
expression: ("\"" + value + "\""),
callback: ("function (" + baseValueExpression + ") {" + assignment + "}")
};
}
/**
* Cross-platform codegen helper for generating v-model value assignment code.
*/
function genAssignmentCode (
value,
assignment
) {
var modelRs = parseModel(value);
if (modelRs.idx === null) {
return (value + "=" + assignment)
} else {
return "var $$exp = " + (modelRs.exp) + ", $$idx = " + (modelRs.idx) + ";" +
"if (!Array.isArray($$exp)){" +
value + "=" + assignment + "}" +
"else{$$exp.splice($$idx, 1, " + assignment + ")}"
}
}
/**
* parse directive model to do the array update transform. a[idx] = val => $$a.splice($$idx, 1, val)
*
* for loop possible cases:
*
* - test
* - test[idx]
* - test[test1[idx]]
* - test["a"][idx]
* - xxx.test[a[a].test1[idx]]
* - test.xxx.a["asa"][test1[idx]]
*
*/
var len;
var str;
var chr;
var index$1;
var expressionPos;
var expressionEndPos;
function parseModel (val) {
str = val;
len = str.length;
index$1 = expressionPos = expressionEndPos = 0;
if (val.indexOf('[') < 0 || val.lastIndexOf(']') < len - 1) {
return {
exp: val,
idx: null
}
}
while (!eof()) {
chr = next();
/* istanbul ignore if */
if (isStringStart(chr)) {
parseString(chr);
} else if (chr === 0x5B) {
parseBracket(chr);
}
}
return {
exp: val.substring(0, expressionPos),
idx: val.substring(expressionPos + 1, expressionEndPos)
}
}
function next () {
return str.charCodeAt(++index$1)
}
function eof () {
return index$1 >= len
}
function isStringStart (chr) {
return chr === 0x22 || chr === 0x27
}
function parseBracket (chr) {
var inBracket = 1;
expressionPos = index$1;
while (!eof()) {
chr = next();
if (isStringStart(chr)) {
parseString(chr);
continue
}
if (chr === 0x5B) { inBracket++; }
if (chr === 0x5D) { inBracket--; }
if (inBracket === 0) {
expressionEndPos = index$1;
break
}
}
}
function parseString (chr) {
var stringQuote = chr;
while (!eof()) {
chr = next();
if (chr === stringQuote) {
break
}
}
}
/* */
var warn$1;
// in some cases, the event used has to be determined at runtime
// so we used some reserved tokens during compile.
var RANGE_TOKEN = '__r';
var CHECKBOX_RADIO_TOKEN = '__c';
function model (
el,
dir,
_warn
) {
warn$1 = _warn;
var value = dir.value;
var modifiers = dir.modifiers;
var tag = el.tag;
var type = el.attrsMap.type;
{
var dynamicType = el.attrsMap['v-bind:type'] || el.attrsMap[':type'];
if (tag === 'input' && dynamicType) {
warn$1(
"<input :type=\"" + dynamicType + "\" v-model=\"" + value + "\">:\n" +
"v-model does not support dynamic input types. Use v-if branches instead."
);
}
// inputs with type="file" are read only and setting the input's
// value will throw an error.
if (tag === 'input' && type === 'file') {
warn$1(
"<" + (el.tag) + " v-model=\"" + value + "\" type=\"file\">:\n" +
"File inputs are read only. Use a v-on:change listener instead."
);
}
}
if (tag === 'select') {
genSelect(el, value, modifiers);
} else if (tag === 'input' && type === 'checkbox') {
genCheckboxModel(el, value, modifiers);
} else if (tag === 'input' && type === 'radio') {
genRadioModel(el, value, modifiers);
} else if (tag === 'input' || tag === 'textarea') {
genDefaultModel(el, value, modifiers);
} else if (!config.isReservedTag(tag)) {
genComponentModel(el, value, modifiers);
// component v-model doesn't need extra runtime
return false
} else {
warn$1(
"<" + (el.tag) + " v-model=\"" + value + "\">: " +
"v-model is not supported on this element type. " +
'If you are working with contenteditable, it\'s recommended to ' +
'wrap a library dedicated for that purpose inside a custom component.'
);
}
// ensure runtime directive metadata
return true
}
function genCheckboxModel (
el,
value,
modifiers
) {
var number = modifiers && modifiers.number;
var valueBinding = getBindingAttr(el, 'value') || 'null';
var trueValueBinding = getBindingAttr(el, 'true-value') || 'true';
var falseValueBinding = getBindingAttr(el, 'false-value') || 'false';
addProp(el, 'checked',
"Array.isArray(" + value + ")" +
"?_i(" + value + "," + valueBinding + ")>-1" + (
trueValueBinding === 'true'
? (":(" + value + ")")
: (":_q(" + value + "," + trueValueBinding + ")")
)
);
addHandler(el, CHECKBOX_RADIO_TOKEN,
"var $$a=" + value + "," +
'$$el=$event.target,' +
"$$c=$$el.checked?(" + trueValueBinding + "):(" + falseValueBinding + ");" +
'if(Array.isArray($$a)){' +
"var $$v=" + (number ? '_n(' + valueBinding + ')' : valueBinding) + "," +
'$$i=_i($$a,$$v);' +
"if($$c){$$i<0&&(" + value + "=$$a.concat($$v))}" +
"else{$$i>-1&&(" + value + "=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}" +
"}else{" + value + "=$$c}",
null, true
);
}
function genRadioModel (
el,
value,
modifiers
) {
var number = modifiers && modifiers.number;
var valueBinding = getBindingAttr(el, 'value') || 'null';
valueBinding = number ? ("_n(" + valueBinding + ")") : valueBinding;
addProp(el, 'checked', ("_q(" + value + "," + valueBinding + ")"));
addHandler(el, CHECKBOX_RADIO_TOKEN, genAssignmentCode(value, valueBinding), null, true);
}
function genSelect (
el,
value,
modifiers
) {
var number = modifiers && modifiers.number;
var selectedVal = "Array.prototype.filter" +
".call($event.target.options,function(o){return o.selected})" +
".map(function(o){var val = \"_value\" in o ? o._value : o.value;" +
"return " + (number ? '_n(val)' : 'val') + "})";
var assignment = '$event.target.multiple ? $$selectedVal : $$selectedVal[0]';
var code = "var $$selectedVal = " + selectedVal + ";";
code = code + " " + (genAssignmentCode(value, assignment));
addHandler(el, 'change', code, null, true);
}
function genDefaultModel (
el,
value,
modifiers
) {
var type = el.attrsMap.type;
var ref = modifiers || {};
var lazy = ref.lazy;
var number = ref.number;
var trim = ref.trim;
var needCompositionGuard = !lazy && type !== 'range';
var event = lazy
? 'change'
: type === 'range'
? RANGE_TOKEN
: 'input';
var valueExpression = '$event.target.value';
if (trim) {
valueExpression = "$event.target.value.trim()";
}
if (number) {
valueExpression = "_n(" + valueExpression + ")";
}
var code = genAssignmentCode(value, valueExpression);
if (needCompositionGuard) {
code = "if($event.target.composing)return;" + code;
}
addProp(el, 'value', ("(" + value + ")"));
addHandler(el, event, code, null, true);
if (trim || number || type === 'number') {
addHandler(el, 'blur', '$forceUpdate()');
}
}
/* */
// normalize v-model event tokens that can only be determined at runtime.
// it's important to place the event as the first in the array because
// the whole point is ensuring the v-model callback gets called before
// user-attached handlers.
function normalizeEvents (on) {
var event;
/* istanbul ignore if */
if (on[RANGE_TOKEN]) {
// IE input[type=range] only supports `change` event
event = isIE ? 'change' : 'input';
on[event] = [].concat(on[RANGE_TOKEN], on[event] || []);
delete on[RANGE_TOKEN];
}
if (on[CHECKBOX_RADIO_TOKEN]) {
// Chrome fires microtasks in between click/change, leads to #4521
event = isChrome ? 'click' : 'change';
on[event] = [].concat(on[CHECKBOX_RADIO_TOKEN], on[event] || []);
delete on[CHECKBOX_RADIO_TOKEN];
}
}
var target$1;
function add$1 (
event,
handler,
once,
capture
) {
if (once) {
var oldHandler = handler;
var _target = target$1; // save current target element in closure
handler = function (ev) {
var res = arguments.length === 1
? oldHandler(ev)
: oldHandler.apply(null, arguments);
if (res !== null) {
remove$2(event, handler, capture, _target);
}
};
}
target$1.addEventListener(event, handler, capture);
}
function remove$2 (
event,
handler,
capture,
_target
) {
(_target || target$1).removeEventListener(event, handler, capture);
}
function updateDOMListeners (oldVnode, vnode) {
if (!oldVnode.data.on && !vnode.data.on) {
return
}
var on = vnode.data.on || {};
var oldOn = oldVnode.data.on || {};
target$1 = vnode.elm;
normalizeEvents(on);
updateListeners(on, oldOn, add$1, remove$2, vnode.context);
}
var events = {
create: updateDOMListeners,
update: updateDOMListeners
};
/* */
function updateDOMProps (oldVnode, vnode) {
if (!oldVnode.data.domProps && !vnode.data.domProps) {
return
}
var key, cur;
var elm = vnode.elm;
var oldProps = oldVnode.data.domProps || {};
var props = vnode.data.domProps || {};
// clone observed objects, as the user probably wants to mutate it
if (props.__ob__) {
props = vnode.data.domProps = extend({}, props);
}
for (key in oldProps) {
if (props[key] == null) {
elm[key] = '';
}
}
for (key in props) {
cur = props[key];
// ignore children if the node has textContent or innerHTML,
// as these will throw away existing DOM nodes and cause removal errors
// on subsequent patches (#3360)
if (key === 'textContent' || key === 'innerHTML') {
if (vnode.children) { vnode.children.length = 0; }
if (cur === oldProps[key]) { continue }
}
if (key === 'value') {
// store value as _value as well since
// non-string values will be stringified
elm._value = cur;
// avoid resetting cursor position when value is the same
var strCur = cur == null ? '' : String(cur);
if (shouldUpdateValue(elm, vnode, strCur)) {
elm.value = strCur;
}
} else {
elm[key] = cur;
}
}
}
// check platforms/web/util/attrs.js acceptValue
function shouldUpdateValue (
elm,
vnode,
checkVal
) {
return (!elm.composing && (
vnode.tag === 'option' ||
isDirty(elm, checkVal) ||
isInputChanged(elm, checkVal)
))
}
function isDirty (elm, checkVal) {
// return true when textbox (.number and .trim) loses focus and its value is not equal to the updated value
return document.activeElement !== elm && elm.value !== checkVal
}
function isInputChanged (elm, newVal) {
var value = elm.value;
var modifiers = elm._vModifiers; // injected by v-model runtime
if ((modifiers && modifiers.number) || elm.type === 'number') {
return toNumber(value) !== toNumber(newVal)
}
if (modifiers && modifiers.trim) {
return value.trim() !== newVal.trim()
}
return value !== newVal
}
var domProps = {
create: updateDOMProps,
update: updateDOMProps
};
/* */
var parseStyleText = cached(function (cssText) {
var res = {};
var listDelimiter = /;(?![^(]*\))/g;
var propertyDelimiter = /:(.+)/;
cssText.split(listDelimiter).forEach(function (item) {
if (item) {
var tmp = item.split(propertyDelimiter);
tmp.length > 1 && (res[tmp[0].trim()] = tmp[1].trim());
}
});
return res
});
// merge static and dynamic style data on the same vnode
function normalizeStyleData (data) {
var style = normalizeStyleBinding(data.style);
// static style is pre-processed into an object during compilation
// and is always a fresh object, so it's safe to merge into it
return data.staticStyle
? extend(data.staticStyle, style)
: style
}
// normalize possible array / string values into Object
function normalizeStyleBinding (bindingStyle) {
if (Array.isArray(bindingStyle)) {
return toObject(bindingStyle)
}
if (typeof bindingStyle === 'string') {
return parseStyleText(bindingStyle)
}
return bindingStyle
}
/**
* parent component style should be after child's
* so that parent component's style could override it
*/
function getStyle (vnode, checkChild) {
var res = {};
var styleData;
if (checkChild) {
var childNode = vnode;
while (childNode.componentInstance) {
childNode = childNode.componentInstance._vnode;
if (childNode.data && (styleData = normalizeStyleData(childNode.data))) {
extend(res, styleData);
}
}
}
if ((styleData = normalizeStyleData(vnode.data))) {
extend(res, styleData);
}
var parentNode = vnode;
while ((parentNode = parentNode.parent)) {
if (parentNode.data && (styleData = normalizeStyleData(parentNode.data))) {
extend(res, styleData);
}
}
return res
}
/* */
var cssVarRE = /^--/;
var importantRE = /\s*!important$/;
var setProp = function (el, name, val) {
/* istanbul ignore if */
if (cssVarRE.test(name)) {
el.style.setProperty(name, val);
} else if (importantRE.test(val)) {
el.style.setProperty(name, val.replace(importantRE, ''), 'important');
} else {
el.style[normalize(name)] = val;
}
};
var prefixes = ['Webkit', 'Moz', 'ms'];
var testEl;
var normalize = cached(function (prop) {
testEl = testEl || document.createElement('div');
prop = camelize(prop);
if (prop !== 'filter' && (prop in testEl.style)) {
return prop
}
var upper = prop.charAt(0).toUpperCase() + prop.slice(1);
for (var i = 0; i < prefixes.length; i++) {
var prefixed = prefixes[i] + upper;
if (prefixed in testEl.style) {
return prefixed
}
}
});
function updateStyle (oldVnode, vnode) {
var data = vnode.data;
var oldData = oldVnode.data;
if (!data.staticStyle && !data.style &&
!oldData.staticStyle && !oldData.style) {
return
}
var cur, name;
var el = vnode.elm;
var oldStaticStyle = oldVnode.data.staticStyle;
var oldStyleBinding = oldVnode.data.style || {};
// if static style exists, stylebinding already merged into it when doing normalizeStyleData
var oldStyle = oldStaticStyle || oldStyleBinding;
var style = normalizeStyleBinding(vnode.data.style) || {};
vnode.data.style = style.__ob__ ? extend({}, style) : style;
var newStyle = getStyle(vnode, true);
for (name in oldStyle) {
if (newStyle[name] == null) {
setProp(el, name, '');
}
}
for (name in newStyle) {
cur = newStyle[name];
if (cur !== oldStyle[name]) {
// ie9 setting to null has no effect, must use empty string
setProp(el, name, cur == null ? '' : cur);
}
}
}
var style = {
create: updateStyle,
update: updateStyle
};
/* */
/**
* Add class with compatibility for SVG since classList is not supported on
* SVG elements in IE
*/
function addClass (el, cls) {
/* istanbul ignore if */
if (!cls || !(cls = cls.trim())) {
return
}
/* istanbul ignore else */
if (el.classList) {
if (cls.indexOf(' ') > -1) {
cls.split(/\s+/).forEach(function (c) { return el.classList.add(c); });
} else {
el.classList.add(cls);
}
} else {
var cur = " " + (el.getAttribute('class') || '') + " ";
if (cur.indexOf(' ' + cls + ' ') < 0) {
el.setAttribute('class', (cur + cls).trim());
}
}
}
/**
* Remove class with compatibility for SVG since classList is not supported on
* SVG elements in IE
*/
function removeClass (el, cls) {
/* istanbul ignore if */
if (!cls || !(cls = cls.trim())) {
return
}
/* istanbul ignore else */
if (el.classList) {
if (cls.indexOf(' ') > -1) {
cls.split(/\s+/).forEach(function (c) { return el.classList.remove(c); });
} else {
el.classList.remove(cls);
}
} else {
var cur = " " + (el.getAttribute('class') || '') + " ";
var tar = ' ' + cls + ' ';
while (cur.indexOf(tar) >= 0) {
cur = cur.replace(tar, ' ');
}
el.setAttribute('class', cur.trim());
}
}
/* */
function resolveTransition (def$$1) {
if (!def$$1) {
return
}
/* istanbul ignore else */
if (typeof def$$1 === 'object') {
var res = {};
if (def$$1.css !== false) {
extend(res, autoCssTransition(def$$1.name || 'v'));
}
extend(res, def$$1);
return res
} else if (typeof def$$1 === 'string') {
return autoCssTransition(def$$1)
}
}
var autoCssTransition = cached(function (name) {
return {
enterClass: (name + "-enter"),
enterToClass: (name + "-enter-to"),
enterActiveClass: (name + "-enter-active"),
leaveClass: (name + "-leave"),
leaveToClass: (name + "-leave-to"),
leaveActiveClass: (name + "-leave-active")
}
});
var hasTransition = inBrowser && !isIE9;
var TRANSITION = 'transition';
var ANIMATION = 'animation';
// Transition property/event sniffing
var transitionProp = 'transition';
var transitionEndEvent = 'transitionend';
var animationProp = 'animation';
var animationEndEvent = 'animationend';
if (hasTransition) {
/* istanbul ignore if */
if (window.ontransitionend === undefined &&
window.onwebkittransitionend !== undefined) {
transitionProp = 'WebkitTransition';
transitionEndEvent = 'webkitTransitionEnd';
}
if (window.onanimationend === undefined &&
window.onwebkitanimationend !== undefined) {
animationProp = 'WebkitAnimation';
animationEndEvent = 'webkitAnimationEnd';
}
}
// binding to window is necessary to make hot reload work in IE in strict mode
var raf = inBrowser && window.requestAnimationFrame
? window.requestAnimationFrame.bind(window)
: setTimeout;
function nextFrame (fn) {
raf(function () {
raf(fn);
});
}
function addTransitionClass (el, cls) {
(el._transitionClasses || (el._transitionClasses = [])).push(cls);
addClass(el, cls);
}
function removeTransitionClass (el, cls) {
if (el._transitionClasses) {
remove(el._transitionClasses, cls);
}
removeClass(el, cls);
}
function whenTransitionEnds (
el,
expectedType,
cb
) {
var ref = getTransitionInfo(el, expectedType);
var type = ref.type;
var timeout = ref.timeout;
var propCount = ref.propCount;
if (!type) { return cb() }
var event = type === TRANSITION ? transitionEndEvent : animationEndEvent;
var ended = 0;
var end = function () {
el.removeEventListener(event, onEnd);
cb();
};
var onEnd = function (e) {
if (e.target === el) {
if (++ended >= propCount) {
end();
}
}
};
setTimeout(function () {
if (ended < propCount) {
end();
}
}, timeout + 1);
el.addEventListener(event, onEnd);
}
var transformRE = /\b(transform|all)(,|$)/;
function getTransitionInfo (el, expectedType) {
var styles = window.getComputedStyle(el);
var transitionDelays = styles[transitionProp + 'Delay'].split(', ');
var transitionDurations = styles[transitionProp + 'Duration'].split(', ');
var transitionTimeout = getTimeout(transitionDelays, transitionDurations);
var animationDelays = styles[animationProp + 'Delay'].split(', ');
var animationDurations = styles[animationProp + 'Duration'].split(', ');
var animationTimeout = getTimeout(animationDelays, animationDurations);
var type;
var timeout = 0;
var propCount = 0;
/* istanbul ignore if */
if (expectedType === TRANSITION) {
if (transitionTimeout > 0) {
type = TRANSITION;
timeout = transitionTimeout;
propCount = transitionDurations.length;
}
} else if (expectedType === ANIMATION) {
if (animationTimeout > 0) {
type = ANIMATION;
timeout = animationTimeout;
propCount = animationDurations.length;
}
} else {
timeout = Math.max(transitionTimeout, animationTimeout);
type = timeout > 0
? transitionTimeout > animationTimeout
? TRANSITION
: ANIMATION
: null;
propCount = type
? type === TRANSITION
? transitionDurations.length
: animationDurations.length
: 0;
}
var hasTransform =
type === TRANSITION &&
transformRE.test(styles[transitionProp + 'Property']);
return {
type: type,
timeout: timeout,
propCount: propCount,
hasTransform: hasTransform
}
}
function getTimeout (delays, durations) {
/* istanbul ignore next */
while (delays.length < durations.length) {
delays = delays.concat(delays);
}
return Math.max.apply(null, durations.map(function (d, i) {
return toMs(d) + toMs(delays[i])
}))
}
function toMs (s) {
return Number(s.slice(0, -1)) * 1000
}
/* */
function enter (vnode, toggleDisplay) {
var el = vnode.elm;
// call leave callback now
if (el._leaveCb) {
el._leaveCb.cancelled = true;
el._leaveCb();
}
var data = resolveTransition(vnode.data.transition);
if (!data) {
return
}
/* istanbul ignore if */
if (el._enterCb || el.nodeType !== 1) {
return
}
var css = data.css;
var type = data.type;
var enterClass = data.enterClass;
var enterToClass = data.enterToClass;
var enterActiveClass = data.enterActiveClass;
var appearClass = data.appearClass;
var appearToClass = data.appearToClass;
var appearActiveClass = data.appearActiveClass;
var beforeEnter = data.beforeEnter;
var enter = data.enter;
var afterEnter = data.afterEnter;
var enterCancelled = data.enterCancelled;
var beforeAppear = data.beforeAppear;
var appear = data.appear;
var afterAppear = data.afterAppear;
var appearCancelled = data.appearCancelled;
var duration = data.duration;
// activeInstance will always be the <transition> component managing this
// transition. One edge case to check is when the <transition> is placed
// as the root node of a child component. In that case we need to check
// <transition>'s parent for appear check.
var context = activeInstance;
var transitionNode = activeInstance.$vnode;
while (transitionNode && transitionNode.parent) {
transitionNode = transitionNode.parent;
context = transitionNode.context;
}
var isAppear = !context._isMounted || !vnode.isRootInsert;
if (isAppear && !appear && appear !== '') {
return
}
var startClass = isAppear && appearClass
? appearClass
: enterClass;
var activeClass = isAppear && appearActiveClass
? appearActiveClass
: enterActiveClass;
var toClass = isAppear && appearToClass
? appearToClass
: enterToClass;
var beforeEnterHook = isAppear
? (beforeAppear || beforeEnter)
: beforeEnter;
var enterHook = isAppear
? (typeof appear === 'function' ? appear : enter)
: enter;
var afterEnterHook = isAppear
? (afterAppear || afterEnter)
: afterEnter;
var enterCancelledHook = isAppear
? (appearCancelled || enterCancelled)
: enterCancelled;
var explicitEnterDuration = toNumber(
isObject(duration)
? duration.enter
: duration
);
if ("development" !== 'production' && explicitEnterDuration != null) {
checkDuration(explicitEnterDuration, 'enter', vnode);
}
var expectsCSS = css !== false && !isIE9;
var userWantsControl = getHookArgumentsLength(enterHook);
var cb = el._enterCb = once(function () {
if (expectsCSS) {
removeTransitionClass(el, toClass);
removeTransitionClass(el, activeClass);
}
if (cb.cancelled) {
if (expectsCSS) {
removeTransitionClass(el, startClass);
}
enterCancelledHook && enterCancelledHook(el);
} else {
afterEnterHook && afterEnterHook(el);
}
el._enterCb = null;
});
if (!vnode.data.show) {
// remove pending leave element on enter by injecting an insert hook
mergeVNodeHook(vnode.data.hook || (vnode.data.hook = {}), 'insert', function () {
var parent = el.parentNode;
var pendingNode = parent && parent._pending && parent._pending[vnode.key];
if (pendingNode &&
pendingNode.tag === vnode.tag &&
pendingNode.elm._leaveCb) {
pendingNode.elm._leaveCb();
}
enterHook && enterHook(el, cb);
});
}
// start enter transition
beforeEnterHook && beforeEnterHook(el);
if (expectsCSS) {
addTransitionClass(el, startClass);
addTransitionClass(el, activeClass);
nextFrame(function () {
addTransitionClass(el, toClass);
removeTransitionClass(el, startClass);
if (!cb.cancelled && !userWantsControl) {
if (isValidDuration(explicitEnterDuration)) {
setTimeout(cb, explicitEnterDuration);
} else {
whenTransitionEnds(el, type, cb);
}
}
});
}
if (vnode.data.show) {
toggleDisplay && toggleDisplay();
enterHook && enterHook(el, cb);
}
if (!expectsCSS && !userWantsControl) {
cb();
}
}
function leave (vnode, rm) {
var el = vnode.elm;
// call enter callback now
if (el._enterCb) {
el._enterCb.cancelled = true;
el._enterCb();
}
var data = resolveTransition(vnode.data.transition);
if (!data) {
return rm()
}
/* istanbul ignore if */
if (el._leaveCb || el.nodeType !== 1) {
return
}
var css = data.css;
var type = data.type;
var leaveClass = data.leaveClass;
var leaveToClass = data.leaveToClass;
var leaveActiveClass = data.leaveActiveClass;
var beforeLeave = data.beforeLeave;
var leave = data.leave;
var afterLeave = data.afterLeave;
var leaveCancelled = data.leaveCancelled;
var delayLeave = data.delayLeave;
var duration = data.duration;
var expectsCSS = css !== false && !isIE9;
var userWantsControl = getHookArgumentsLength(leave);
var explicitLeaveDuration = toNumber(
isObject(duration)
? duration.leave
: duration
);
gitextract_bswggsb3/ ├── .babelrc ├── .editorconfig ├── .eslintignore ├── .eslintrc.js ├── .gitignore ├── .idea/ │ ├── filmshopping.iml │ ├── jsLibraryMappings.xml │ ├── libraries/ │ │ └── filmshopping_node_modules.xml │ ├── markdown-navigator/ │ │ └── profiles_settings.xml │ ├── misc.xml │ ├── modules.xml │ ├── vcs.xml │ └── workspace.xml ├── .postcssrc.js ├── README.md ├── app.js ├── assets/ │ ├── app.js │ └── vue.js ├── build/ │ ├── build.js │ ├── check-versions.js │ ├── dev-client.js │ ├── dev-server.js │ ├── utils.js │ ├── vue-loader.conf.js │ ├── webpack.base.conf.js │ ├── webpack.dev.conf.js │ ├── webpack.prod.conf.js │ ├── webpack.test.conf.js │ └── webpack.test1.conf.js ├── config/ │ ├── dev.env.js │ ├── index.js │ ├── prod.env.js │ └── test.env.js ├── dist/ │ ├── index.html │ └── static/ │ ├── css/ │ │ └── app.8c271112f4a1494c25c7afd8c30bce26.css │ └── js/ │ ├── app.0bd3338743750b7fdec6.js │ ├── manifest.f5cd4fe7efba2f755be1.js │ └── vendor.5485ce944c8bee479c64.js ├── index.html ├── package.json ├── pom.xml ├── src/ │ ├── App.vue │ ├── components/ │ │ ├── LRdialog.vue │ │ ├── Nav.vue │ │ ├── OrderCard.vue │ │ ├── OrderDetailDialog.vue │ │ ├── applyYDialog.vue │ │ └── payDialog.vue │ ├── main.js │ ├── router/ │ │ └── index.js │ ├── store/ │ │ ├── index.js │ │ └── modules/ │ │ └── content.js │ ├── styles/ │ │ └── common.css │ └── views/ │ ├── Home.vue │ ├── MovieDetail.vue │ ├── NotFoundComponent.vue │ ├── Order.vue │ ├── SelectSeat.vue │ └── TheaterDetail.vue ├── static/ │ └── .gitkeep ├── test/ │ ├── e2e/ │ │ ├── custom-assertions/ │ │ │ └── elementCount.js │ │ ├── nightwatch.conf.js │ │ ├── runner.js │ │ └── specs/ │ │ └── test.js │ └── unit/ │ ├── .eslintrc │ ├── index.js │ ├── karma.conf.js │ └── specs/ │ └── Hello.spec.js ├── tt.txt └── webpack.test1.conf.js
SYMBOL INDEX (965 symbols across 8 files)
FILE: .postcssrc.js
class parent (line 11) | class parent {
method constructor (line 12) | constructor(name) {
class child (line 17) | class child extends parent{
method constructor (line 18) | constructor(name) {
FILE: assets/vue.js
function _toString (line 17) | function _toString (val) {
function toNumber (line 29) | function toNumber (val) {
function makeMap (line 38) | function makeMap (
function remove (line 60) | function remove (arr, item) {
function hasOwn (line 73) | function hasOwn (obj, key) {
function isPrimitive (line 80) | function isPrimitive (value) {
function cached (line 87) | function cached (fn) {
function bind (line 124) | function bind (fn, ctx) {
function toArray (line 141) | function toArray (list, start) {
function extend (line 154) | function extend (to, _from) {
function isObject (line 166) | function isObject (obj) {
function isPlainObject (line 176) | function isPlainObject (obj) {
function toObject (line 183) | function toObject (arr) {
function noop (line 196) | function noop () {}
function genStaticKeys (line 211) | function genStaticKeys (modules) {
function looseEqual (line 221) | function looseEqual (a, b) {
function looseIndexOf (line 238) | function looseIndexOf (arr, val) {
function once (line 248) | function once (fn) {
function isReserved (line 367) | function isReserved (str) {
function def (line 375) | function def (obj, key, val, enumerable) {
function parsePath (line 388) | function parsePath (path) {
function isNative (line 439) | function isNative (Ctor) {
function nextTickHandler (line 455) | function nextTickHandler () {
function Set (line 534) | function Set () {
function pushTarget (line 652) | function pushTarget (_target) {
function popTarget (line 657) | function popTarget () {
function protoAugment (line 774) | function protoAugment (target, src) {
function copyAugment (line 785) | function copyAugment (target, src, keys) {
function observe (line 797) | function observe (value, asRootData) {
function defineReactive$$1 (line 822) | function defineReactive$$1 (
function set (line 882) | function set (target, key, val) {
function del (line 912) | function del (target, key) {
function dependArray (line 939) | function dependArray (value) {
function mergeData (line 976) | function mergeData (to, from) {
function mergeHook (line 1050) | function mergeHook (
function mergeAssets (line 1074) | function mergeAssets (parentVal, childVal) {
function checkComponents (line 1136) | function checkComponents (options) {
function normalizeProps (line 1152) | function normalizeProps (options) {
function normalizeDirectives (line 1183) | function normalizeDirectives (options) {
function mergeOptions (line 1199) | function mergeOptions (
function resolveAsset (line 1246) | function resolveAsset (
function validateProp (line 1276) | function validateProp (
function getPropDefaultValue (line 1312) | function getPropDefaultValue (vm, prop, key) {
function assertProp (line 1344) | function assertProp (
function assertType (line 1397) | function assertType (value, type) {
function getType (line 1426) | function getType (fn) {
function isType (line 1431) | function isType (type, fn) {
function handleError (line 1444) | function handleError (err, vm, info) {
function createTextVNode (line 1605) | function createTextVNode (val) {
function cloneVNode (line 1613) | function cloneVNode (vnode) {
function cloneVNodes (line 1630) | function cloneVNodes (vnodes) {
function createFnInvoker (line 1653) | function createFnInvoker (fns) {
function updateListeners (line 1671) | function updateListeners (
function mergeVNodeHook (line 1708) | function mergeVNodeHook (def, hookKey, hook) {
function simpleNormalizeChildren (line 1752) | function simpleNormalizeChildren (children) {
function normalizeChildren (line 1765) | function normalizeChildren (children) {
function normalizeArrayChildren (line 1773) | function normalizeArrayChildren (children, nestedIndex) {
function getFirstComponentChild (line 1807) | function getFirstComponentChild (children) {
function initEvents (line 1813) | function initEvents (vm) {
function add (line 1825) | function add (event, fn, once$$1) {
function remove$1 (line 1833) | function remove$1 (event, fn) {
function updateComponentListeners (line 1837) | function updateComponentListeners (
function eventsMixin (line 1846) | function eventsMixin (Vue) {
function resolveSlots (line 1947) | function resolveSlots (
function isWhitespace (line 1980) | function isWhitespace (node) {
function resolveScopedSlots (line 1984) | function resolveScopedSlots (
function initLifecycle (line 1998) | function initLifecycle (vm) {
function lifecycleMixin (line 2024) | function lifecycleMixin (Vue) {
function mountComponent (line 2113) | function mountComponent (
function updateChildComponent (line 2178) | function updateChildComponent (
function isInInactiveTree (line 2233) | function isInInactiveTree (vm) {
function activateChildComponent (line 2240) | function activateChildComponent (vm, direct) {
function deactivateChildComponent (line 2258) | function deactivateChildComponent (vm, direct) {
function callHook (line 2274) | function callHook (vm, hook) {
function resetSchedulerState (line 2303) | function resetSchedulerState () {
function flushSchedulerQueue (line 2315) | function flushSchedulerQueue () {
function queueWatcher (line 2379) | function queueWatcher (watcher) {
function traverse (line 2614) | function traverse (val) {
function _traverse (line 2619) | function _traverse (val, seen) {
function proxy (line 2651) | function proxy (target, sourceKey, key) {
function initState (line 2661) | function initState (vm) {
function initProps (line 2677) | function initProps (vm, propsOptions) {
function initData (line 2721) | function initData (vm) {
function getData (line 2753) | function getData (data, vm) {
function initComputed (line 2764) | function initComputed (vm, computed) {
function defineComputed (line 2791) | function defineComputed (target, key, userDef) {
function createComputedGetter (line 2808) | function createComputedGetter (key) {
function initMethods (line 2823) | function initMethods (vm, methods) {
function initWatch (line 2845) | function initWatch (vm, watch) {
function createWatcher (line 2858) | function createWatcher (vm, key, handler) {
function stateMixin (line 2870) | function stateMixin (Vue) {
function createComponent (line 2974) | function createComponent (
function createFunctionalComponent (line 3059) | function createFunctionalComponent (
function createComponentInstanceForVnode (line 3093) | function createComponentInstanceForVnode (
function resolveAsyncComponent (line 3120) | function resolveAsyncComponent (
function extractProps (line 3168) | function extractProps (data, Ctor, tag) {
function checkProp (line 3207) | function checkProp (
function mergeHooks (line 3232) | function mergeHooks (data) {
function mergeHook$1 (line 3244) | function mergeHook$1 (one, two) {
function transformModel (line 3253) | function transformModel (options, data) {
function createElement (line 3271) | function createElement (
function _createElement (line 3288) | function _createElement (
function applyNS (line 3353) | function applyNS (vnode, ns) {
function renderList (line 3374) | function renderList (
function renderSlot (line 3405) | function renderSlot (
function resolveFilter (line 3438) | function resolveFilter (id) {
function checkKeyCodes (line 3447) | function checkKeyCodes (
function bindObjectProps (line 3465) | function bindObjectProps (
function renderStatic (line 3505) | function renderStatic (
function markOnce (line 3528) | function markOnce (
function markStatic (line 3537) | function markStatic (
function markStaticNode (line 3553) | function markStaticNode (node, key, isOnce) {
function initRender (line 3561) | function initRender (vm) {
function renderMixin (line 3579) | function renderMixin (Vue) {
function initProvide (line 3658) | function initProvide (vm) {
function initInjections (line 3667) | function initInjections (vm) {
function initMixin (line 3710) | function initMixin (Vue) {
function initInternalComponent (line 3767) | function initInternalComponent (vm, options) {
function resolveConstructorOptions (line 3784) | function resolveConstructorOptions (Ctor) {
function resolveModifiedOptions (line 3808) | function resolveModifiedOptions (Ctor) {
function dedupe (line 3821) | function dedupe (latest, sealed) {
function Vue$3 (line 3838) | function Vue$3 (options) {
function initUse (line 3854) | function initUse (Vue) {
function initMixin$1 (line 3875) | function initMixin$1 (Vue) {
function initExtend (line 3883) | function initExtend (Vue) {
function initProps$1 (line 3965) | function initProps$1 (Comp) {
function initComputed$1 (line 3972) | function initComputed$1 (Comp) {
function initAssetRegisters (line 3981) | function initAssetRegisters (Vue) {
function getComponentName (line 4020) | function getComponentName (opts) {
function matches (line 4024) | function matches (pattern, name) {
function pruneCache (line 4034) | function pruneCache (cache, filter) {
function pruneCacheEntry (line 4047) | function pruneCacheEntry (vnode) {
function initGlobalAPI (line 4120) | function initGlobalAPI (Vue) {
function genClassForVnode (line 4212) | function genClassForVnode (vnode) {
function mergeClassData (line 4230) | function mergeClassData (child, parent) {
function genClassFromData (line 4239) | function genClassFromData (data) {
function concat (line 4249) | function concat (a, b) {
function stringifyClass (line 4253) | function stringifyClass (value) {
function getTagNamespace (line 4318) | function getTagNamespace (tag) {
function isUnknownElement (line 4330) | function isUnknownElement (tag) {
function query (line 4360) | function query (el) {
function createElement$1 (line 4377) | function createElement$1 (tagName, vnode) {
function createElementNS (line 4389) | function createElementNS (namespace, tagName) {
function createTextNode (line 4393) | function createTextNode (text) {
function createComment (line 4397) | function createComment (text) {
function insertBefore (line 4401) | function insertBefore (parentNode, newNode, referenceNode) {
function removeChild (line 4405) | function removeChild (node, child) {
function appendChild (line 4409) | function appendChild (node, child) {
function parentNode (line 4413) | function parentNode (node) {
function nextSibling (line 4417) | function nextSibling (node) {
function tagName (line 4421) | function tagName (node) {
function setTextContent (line 4425) | function setTextContent (node, text) {
function setAttribute (line 4429) | function setAttribute (node, key, val) {
function registerRef (line 4466) | function registerRef (vnode, isRemoval) {
function isUndef (line 4510) | function isUndef (v) {
function isDef (line 4514) | function isDef (v) {
function isTrue (line 4518) | function isTrue (v) {
function sameVnode (line 4522) | function sameVnode (a, b) {
function sameInputType (line 4534) | function sameInputType (a, b) {
function createKeyToOldIdx (line 4542) | function createKeyToOldIdx (children, beginIdx, endIdx) {
function createPatchFunction (line 4552) | function createPatchFunction (backend) {
function updateDirectives (line 5133) | function updateDirectives (oldVnode, vnode) {
function _update (line 5139) | function _update (oldVnode, vnode) {
function normalizeDirectives$1 (line 5201) | function normalizeDirectives$1 (
function getRawDirName (line 5221) | function getRawDirName (dir) {
function callHook$1 (line 5225) | function callHook$1 (dir, hook, vnode, oldVnode, isDestroy) {
function updateAttrs (line 5239) | function updateAttrs (oldVnode, vnode) {
function setAttr (line 5275) | function setAttr (el, key, value) {
function updateClass (line 5308) | function updateClass (oldVnode, vnode) {
function parseFilters (line 5341) | function parseFilters (exp) {
function wrapFilter (line 5423) | function wrapFilter (exp, filter) {
function baseWarn (line 5437) | function baseWarn (msg) {
function pluckModuleFunction (line 5441) | function pluckModuleFunction (
function addProp (line 5450) | function addProp (el, name, value) {
function addAttr (line 5454) | function addAttr (el, name, value) {
function addDirective (line 5458) | function addDirective (
function addHandler (line 5469) | function addHandler (
function getBindingAttr (line 5504) | function getBindingAttr (
function getAndRemoveAttr (line 5522) | function getAndRemoveAttr (el, name) {
function genComponentModel (line 5541) | function genComponentModel (
function genAssignmentCode (line 5573) | function genAssignmentCode (
function parseModel (line 5609) | function parseModel (val) {
function next (line 5637) | function next () {
function eof (line 5641) | function eof () {
function isStringStart (line 5645) | function isStringStart (chr) {
function parseBracket (line 5649) | function parseBracket (chr) {
function parseString (line 5667) | function parseString (chr) {
function model (line 5686) | function model (
function genCheckboxModel (line 5740) | function genCheckboxModel (
function genRadioModel (line 5771) | function genRadioModel (
function genSelect (line 5783) | function genSelect (
function genDefaultModel (line 5800) | function genDefaultModel (
function normalizeEvents (line 5843) | function normalizeEvents (on) {
function add$1 (line 5862) | function add$1 (
function remove$2 (line 5883) | function remove$2 (
function updateDOMListeners (line 5892) | function updateDOMListeners (oldVnode, vnode) {
function updateDOMProps (line 5910) | function updateDOMProps (oldVnode, vnode) {
function shouldUpdateValue (line 5956) | function shouldUpdateValue (
function isDirty (line 5968) | function isDirty (elm, checkVal) {
function isInputChanged (line 5973) | function isInputChanged (elm, newVal) {
function normalizeStyleData (line 6006) | function normalizeStyleData (data) {
function normalizeStyleBinding (line 6016) | function normalizeStyleBinding (bindingStyle) {
function getStyle (line 6030) | function getStyle (vnode, checkChild) {
function updateStyle (line 6090) | function updateStyle (oldVnode, vnode) {
function addClass (line 6138) | function addClass (el, cls) {
function removeClass (line 6163) | function removeClass (el, cls) {
function resolveTransition (line 6188) | function resolveTransition (def$$1) {
function nextFrame (line 6244) | function nextFrame (fn) {
function addTransitionClass (line 6250) | function addTransitionClass (el, cls) {
function removeTransitionClass (line 6255) | function removeTransitionClass (el, cls) {
function whenTransitionEnds (line 6262) | function whenTransitionEnds (
function getTransitionInfo (line 6295) | function getTransitionInfo (el, expectedType) {
function getTimeout (line 6344) | function getTimeout (delays, durations) {
function toMs (line 6355) | function toMs (s) {
function enter (line 6361) | function enter (vnode, toggleDisplay) {
function leave (line 6509) | function leave (vnode, rm) {
function checkDuration (line 6612) | function checkDuration (val, name, vnode) {
function isValidDuration (line 6628) | function isValidDuration (val) {
function getHookArgumentsLength (line 6638) | function getHookArgumentsLength (fn) {
function _enter (line 6653) | function _enter (_, vnode) {
function setSelected (line 6747) | function setSelected (el, binding, vm) {
function hasNoMatchingOption (line 6780) | function hasNoMatchingOption (value, options) {
function getValue (line 6789) | function getValue (option) {
function onCompositionStart (line 6795) | function onCompositionStart (e) {
function onCompositionEnd (line 6799) | function onCompositionEnd (e) {
function trigger (line 6804) | function trigger (el, type) {
function locateNode (line 6813) | function locateNode (vnode) {
function getRealChild (line 6904) | function getRealChild (vnode) {
function extractTransitionData (line 6913) | function extractTransitionData (comp) {
function placeholder (line 6929) | function placeholder (h, rawChild) {
function hasParentTransition (line 6935) | function hasParentTransition (vnode) {
function isSameChild (line 6943) | function isSameChild (child, oldChild) {
function callPendingCbs (line 7192) | function callPendingCbs (c) {
function recordPosition (line 7203) | function recordPosition (c) {
function applyTranslation (line 7207) | function applyTranslation (c) {
function shouldDecode (line 7276) | function shouldDecode (content, encoded) {
function decode (line 7313) | function decode (html) {
function decodeAttr (line 7377) | function decodeAttr (value, shouldDecodeNewlines) {
function parseHTML (line 7382) | function parseHTML (html, options) {
function parseText (line 7637) | function parseText (
function parse (line 7691) | function parse (
function processPre (line 7922) | function processPre (el) {
function processRawAttrs (line 7928) | function processRawAttrs (el) {
function processKey (line 7944) | function processKey (el) {
function processRef (line 7954) | function processRef (el) {
function processFor (line 7962) | function processFor (el) {
function processIf (line 7987) | function processIf (el) {
function processIfConditions (line 8006) | function processIfConditions (el, parent) {
function findPrevElement (line 8021) | function findPrevElement (children) {
function addIfCondition (line 8038) | function addIfCondition (el, condition) {
function processOnce (line 8045) | function processOnce (el) {
function processSlot (line 8052) | function processSlot (el) {
function processComponent (line 8073) | function processComponent (el) {
function processAttrs (line 8083) | function processAttrs (el) {
function checkInFor (line 8150) | function checkInFor (el) {
function parseModifiers (line 8161) | function parseModifiers (name) {
function makeAttrsMap (line 8170) | function makeAttrsMap (attrs) {
function isForbiddenTag (line 8181) | function isForbiddenTag (el) {
function guardIESVGBug (line 8195) | function guardIESVGBug (attrs) {
function checkForAliasModel (line 8207) | function checkForAliasModel (el, value) {
function optimize (line 8241) | function optimize (root, options) {
function genStaticKeys$1 (line 8251) | function genStaticKeys$1 (keys) {
function markStatic$1 (line 8258) | function markStatic$1 (node) {
function markStaticRoots (line 8281) | function markStaticRoots (node, isInFor) {
function walkThroughConditionsBlocks (line 8309) | function walkThroughConditionsBlocks (conditionBlocks, isInFor) {
function isStatic (line 8315) | function isStatic (node) {
function isDirectChildOfTemplateFor (line 8332) | function isDirectChildOfTemplateFor (node) {
function genHandlers (line 8381) | function genHandlers (events, native) {
function genHandler (line 8389) | function genHandler (
function genKeyFilter (line 8439) | function genKeyFilter (keys) {
function genFilterCode (line 8443) | function genFilterCode (key) {
function bind$1 (line 8454) | function bind$1 (el, dir) {
function generate (line 8479) | function generate (
function genElement (line 8503) | function genElement (el) {
function genStatic (line 8536) | function genStatic (el) {
function genOnce (line 8543) | function genOnce (el) {
function genIf (line 8569) | function genIf (el) {
function genIfConditions (line 8574) | function genIfConditions (conditions) {
function genFor (line 8592) | function genFor (el) {
function genData (line 8617) | function genData (el) {
function genDirectives (line 8690) | function genDirectives (el) {
function genInlineTemplate (line 8715) | function genInlineTemplate (el) {
function genScopedSlots (line 8728) | function genScopedSlots (slots) {
function genScopedSlot (line 8732) | function genScopedSlot (key, el) {
function genChildren (line 8739) | function genChildren (el, checkSkip) {
function getNormalizationType (line 8759) | function getNormalizationType (children) {
function needsNormalization (line 8779) | function needsNormalization (el) {
function maybeComponent (line 8783) | function maybeComponent (el) {
function genNode (line 8787) | function genNode (node) {
function genText (line 8795) | function genText (text) {
function genSlot (line 8801) | function genSlot (el) {
function genComponent (line 8820) | function genComponent (componentName, el) {
function genProps (line 8825) | function genProps (props) {
function transformSpecialNewlines (line 8835) | function transformSpecialNewlines (text) {
function detectErrors (line 8863) | function detectErrors (ast) {
function checkNode (line 8871) | function checkNode (node, errors) {
function checkEvent (line 8897) | function checkEvent (exp, text, errors) {
function checkFor (line 8908) | function checkFor (node, text, errors) {
function checkIdentifier (line 8915) | function checkIdentifier (ident, type, text, errors) {
function checkExpression (line 8921) | function checkExpression (exp, text, errors) {
function baseCompile (line 8939) | function baseCompile (
function makeFunction (line 8953) | function makeFunction (code, errors) {
function createCompiler (line 8962) | function createCompiler (baseOptions) {
function transformNode (line 9095) | function transformNode (el, options) {
function genData$1 (line 9118) | function genData$1 (el) {
function transformNode$1 (line 9137) | function transformNode$1 (el, options) {
function genData$2 (line 9162) | function genData$2 (el) {
function text (line 9186) | function text (el, dir) {
function html (line 9194) | function html (el, dir) {
function getOuterHTML (line 9302) | function getOuterHTML (el) {
FILE: build/check-versions.js
function exec (line 5) | function exec (cmd) {
FILE: build/utils.js
function generateLoaders (line 24) | function generateLoaders (loader, loaderOptions) {
FILE: build/webpack.base.conf.js
function resolve (line 6) | function resolve (dir) {
FILE: dist/static/js/manifest.f5cd4fe7efba2f755be1.js
function r (line 1) | function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{...
function n (line 1) | function n(){i.onerror=i.onload=null,clearTimeout(u);var r=o[e];0!==r&&(...
FILE: dist/static/js/vendor.5485ce944c8bee479c64.js
function i (line 1) | function i(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=argu...
function r (line 1) | function r(e){return"string"===e||"url"===e||"hex"===e||"email"===e||"pa...
function o (line 1) | function o(e,t){return void 0===e||null===e||(!("array"!==t||!Array.isAr...
function s (line 1) | function s(e){return 0===Object.keys(e).length}
function a (line 1) | function a(e,t,n){function i(e){r.push.apply(r,e),++o===s&&n(r)}var r=[]...
function l (line 1) | function l(e,t,n){function i(s){if(s&&s.length)return void n(s);var a=r;...
function u (line 1) | function u(e){var t=[];return Object.keys(e).forEach(function(n){t.push....
function c (line 1) | function c(e,t,n,i){if(t.first){return l(u(e),n,i)}var r=t.firstFields||...
function d (line 1) | function d(e){return function(t){return t&&t.message?(t.field=t.field||e...
function f (line 1) | function f(e,t){if(t)for(var n in t)if(t.hasOwnProperty(n)){var i=t[n];"...
function n (line 6) | function n(e){return null==e?"":"object"==typeof e?JSON.stringify(e,null...
function i (line 6) | function i(e){var t=parseFloat(e);return isNaN(t)?e:t}
function r (line 6) | function r(e,t){for(var n=Object.create(null),i=e.split(","),r=0;r<i.len...
function o (line 6) | function o(e,t){if(e.length){var n=e.indexOf(t);if(n>-1)return e.splice(...
function s (line 6) | function s(e,t){return wr.call(e,t)}
function a (line 6) | function a(e){return"string"==typeof e||"number"==typeof e}
function l (line 6) | function l(e){var t=Object.create(null);return function(n){return t[n]||...
function u (line 6) | function u(e,t){function n(n){var i=arguments.length;return i?i>1?e.appl...
function c (line 6) | function c(e,t){t=t||0;for(var n=e.length-t,i=new Array(n);n--;)i[n]=e[n...
function d (line 6) | function d(e,t){for(var n in t)e[n]=t[n];return e}
function f (line 6) | function f(e){return null!==e&&"object"==typeof e}
function h (line 6) | function h(e){return $r.call(e)===Tr}
function p (line 6) | function p(e){for(var t={},n=0;n<e.length;n++)e[n]&&d(t,e[n]);return t}
function m (line 6) | function m(){}
function v (line 6) | function v(e,t){var n=f(e),i=f(t);if(!n||!i)return!n&&!i&&String(e)===St...
function g (line 6) | function g(e,t){for(var n=0;n<e.length;n++)if(v(e[n],t))return n;return-1}
function y (line 6) | function y(e){var t=!1;return function(){t||(t=!0,e())}}
function b (line 6) | function b(e){var t=(e+"").charCodeAt(0);return 36===t||95===t}
function _ (line 6) | function _(e,t,n,i){Object.defineProperty(e,t,{value:n,enumerable:!!i,wr...
function x (line 6) | function x(e){if(!Or.test(e)){var t=e.split(".");return function(e){for(...
function C (line 6) | function C(e){return/native code/.test(e.toString())}
function w (line 6) | function w(e){Zr.target&&Qr.push(Zr.target),Zr.target=e}
function k (line 6) | function k(){Zr.target=Qr.pop()}
function M (line 6) | function M(e,t){e.__proto__=t}
function S (line 6) | function S(e,t,n){for(var i=0,r=n.length;i<r;i++){var o=n[i];_(e,o,t[o])}}
function $ (line 6) | function $(e,t){if(f(e)){var n;return s(e,"__ob__")&&e.__ob__ instanceof...
function T (line 6) | function T(e,t,n,i){var r=new Zr,o=Object.getOwnPropertyDescriptor(e,t);...
function D (line 6) | function D(e,t,n){if(Array.isArray(e)&&"number"==typeof t)return e.lengt...
function I (line 6) | function I(e,t){if(Array.isArray(e)&&"number"==typeof t)return void e.sp...
function E (line 6) | function E(e){for(var t=void 0,n=0,i=e.length;n<i;n++)t=e[n],t&&t.__ob__...
function N (line 6) | function N(e,t){if(!t)return e;for(var n,i,r,o=Object.keys(t),a=0;a<o.le...
function O (line 6) | function O(e,t){return t?e?e.concat(t):Array.isArray(t)?t:[t]:e}
function A (line 6) | function A(e,t){var n=Object.create(e||null);return t?d(n,t):n}
function P (line 6) | function P(e){var t=e.props;if(t){var n,i,r,o={};if(Array.isArray(t))for...
function j (line 6) | function j(e){var t=e.directives;if(t)for(var n in t){var i=t[n];"functi...
function L (line 6) | function L(e,t,n){function i(i){var r=no[i]||io;c[i]=r(e[i],t[i],n,i)}P(...
function z (line 6) | function z(e,t,n,i){if("string"==typeof n){var r=e[t];if(s(r,n))return r...
function R (line 6) | function R(e,t,n,i){var r=t[e],o=!s(n,e),a=n[e];if(V(Boolean,r.type)&&(o...
function F (line 6) | function F(e,t,n){if(s(t,"default")){var i=t.default;return e&&e.$option...
function B (line 6) | function B(e){var t=e&&e.toString().match(/^\s*function (\w+)/);return t...
function V (line 6) | function V(e,t){if(!Array.isArray(t))return B(t)===B(e);for(var n=0,i=t....
function H (line 6) | function H(e,t,n){if(Er.errorHandler)Er.errorHandler.call(null,e,t,n);el...
function W (line 6) | function W(e){return new ro(void 0,void 0,void 0,String(e))}
function U (line 6) | function U(e){var t=new ro(e.tag,e.data,e.children,e.text,e.elm,e.contex...
function q (line 6) | function q(e){for(var t=e.length,n=new Array(t),i=0;i<t;i++)n[i]=U(e[i])...
function Y (line 6) | function Y(e){function t(){var e=arguments,n=t.fns;if(!Array.isArray(n))...
function G (line 6) | function G(e,t,n,i,r){var o,s,a,l;for(o in e)s=e[o],a=t[o],l=lo(o),s&&(a...
function Z (line 6) | function Z(e,t,n){function i(){n.apply(this,arguments),o(r.fns,i)}var r,...
function Q (line 6) | function Q(e){for(var t=0;t<e.length;t++)if(Array.isArray(e[t]))return A...
function K (line 6) | function K(e){return a(e)?[W(e)]:Array.isArray(e)?X(e):void 0}
function X (line 6) | function X(e,t){var n,i,r,o=[];for(n=0;n<e.length;n++)null!=(i=e[n])&&"b...
function J (line 6) | function J(e){return e&&e.filter(function(e){return e&&e.componentOption...
function ee (line 6) | function ee(e){e._events=Object.create(null),e._hasHookEvent=!1;var t=e....
function te (line 6) | function te(e,t,n){n?so.$once(e,t):so.$on(e,t)}
function ne (line 6) | function ne(e,t){so.$off(e,t)}
function ie (line 6) | function ie(e,t,n){so=e,G(t,n||{},te,ne,e)}
function re (line 6) | function re(e,t){var n={};if(!e)return n;for(var i,r,o=[],s=0,a=e.length...
function oe (line 6) | function oe(e){return e.isComment||" "===e.text}
function se (line 6) | function se(e){for(var t={},n=0;n<e.length;n++)t[e[n][0]]=e[n][1];return t}
function ae (line 6) | function ae(e){var t=e.$options,n=t.parent;if(n&&!t.abstract){for(;n.$op...
function le (line 6) | function le(e,t,n){e.$el=t,e.$options.render||(e.$options.render=ao),he(...
function ue (line 6) | function ue(e,t,n,i,r){var o=!!(r||e.$options._renderChildren||i.data.sc...
function ce (line 6) | function ce(e){for(;e&&(e=e.$parent);)if(e._inactive)return!0;return!1}
function de (line 6) | function de(e,t){if(t){if(e._directInactive=!1,ce(e))return}else if(e._d...
function fe (line 6) | function fe(e,t){if(!(t&&(e._directInactive=!0,ce(e))||e._inactive)){e._...
function he (line 6) | function he(e,t){var n=e.$options[t];if(n)for(var i=0,r=n.length;i<r;i++...
function pe (line 6) | function pe(){co.length=0,fo={},ho=po=!1}
function me (line 6) | function me(){po=!0;var e,t,n;for(co.sort(function(e,t){return e.id-t.id...
function ve (line 6) | function ve(e){var t=e.id;if(null==fo[t]){if(fo[t]=!0,po){for(var n=co.l...
function ge (line 6) | function ge(e){yo.clear(),ye(e,yo)}
function ye (line 6) | function ye(e,t){var n,i,r=Array.isArray(e);if((r||f(e))&&Object.isExten...
function be (line 6) | function be(e,t,n){bo.get=function(){return this[t][n]},bo.set=function(...
function _e (line 6) | function _e(e){e._watchers=[];var t=e.$options;t.props&&xe(e,t.props),t....
function xe (line 6) | function xe(e,t){var n=e.$options.propsData||{},i=e._props={},r=e.$optio...
function Ce (line 6) | function Ce(e){var t=e.$options.data;t=e._data="function"==typeof t?we(t...
function we (line 6) | function we(e,t){try{return e.call(t)}catch(e){return H(e,t,"data()"),{}}}
function ke (line 6) | function ke(e,t){var n=e._computedWatchers=Object.create(null);for(var i...
function Me (line 6) | function Me(e,t,n){"function"==typeof n?(bo.get=Se(t),bo.set=m):(bo.get=...
function Se (line 6) | function Se(e){return function(){var t=this._computedWatchers&&this._com...
function $e (line 6) | function $e(e,t){e.$options.props;for(var n in t)e[n]=null==t[n]?m:u(t[n...
function Te (line 6) | function Te(e,t){for(var n in t){var i=t[n];if(Array.isArray(i))for(var ...
function De (line 6) | function De(e,t,n){var i;h(n)&&(i=n,n=n.handler),"string"==typeof n&&(n=...
function Ie (line 6) | function Ie(e,t,n,i,r){if(e){var o=n.$options._base;if(f(e)&&(e=o.extend...
function Ee (line 6) | function Ee(e,t,n,i,r){var o={},s=e.options.props;if(s)for(var a in s)o[...
function Ne (line 6) | function Ne(e,t,n,i){var r=e.componentOptions,o={_isComponent:!0,parent:...
function Oe (line 6) | function Oe(e,t,n){if(!e.requested){e.requested=!0;var i=e.pendingCallba...
function Ae (line 6) | function Ae(e,t,n){var i=t.options.props;if(i){var r={},o=e.attrs,s=e.pr...
function Pe (line 6) | function Pe(e,t,n,i,r){if(t){if(s(t,n))return e[n]=t[n],r||delete t[n],!...
function je (line 6) | function je(e){e.hook||(e.hook={});for(var t=0;t<Co.length;t++){var n=Co...
function Le (line 6) | function Le(e,t){return function(n,i,r,o){e(n,i,r,o),t(n,i,r,o)}}
function ze (line 6) | function ze(e,t){var n=e.model&&e.model.prop||"value",i=e.model&&e.model...
function Re (line 6) | function Re(e,t,n,i,r,o){return(Array.isArray(n)||a(n))&&(r=i,i=n,n=void...
function Fe (line 6) | function Fe(e,t,n,i,r){if(n&&n.__ob__)return ao();if(!t)return ao();Arra...
function Be (line 6) | function Be(e,t){if(e.ns=t,"foreignObject"!==e.tag&&e.children)for(var n...
function Ve (line 6) | function Ve(e,t){var n,i,r,o,s;if(Array.isArray(e)||"string"==typeof e)f...
function He (line 6) | function He(e,t,n,i){var r=this.$scopedSlots[e];if(r)return n=n||{},i&&d...
function We (line 6) | function We(e){return z(this.$options,"filters",e,!0)||Ir}
function Ue (line 6) | function Ue(e,t,n){var i=Er.keyCodes[t]||n;return Array.isArray(i)?i.ind...
function qe (line 6) | function qe(e,t,n,i){if(n)if(f(n)){Array.isArray(n)&&(n=p(n));var r;for(...
function Ye (line 6) | function Ye(e,t){var n=this._staticTrees[e];return n&&!t?Array.isArray(n...
function Ge (line 6) | function Ge(e,t,n){return Ze(e,"__once__"+t+(n?"_"+n:""),!0),e}
function Ze (line 6) | function Ze(e,t,n){if(Array.isArray(e))for(var i=0;i<e.length;i++)e[i]&&...
function Qe (line 6) | function Qe(e,t,n){e.isStatic=!0,e.key=t,e.isOnce=n}
function Ke (line 6) | function Ke(e){e.$vnode=null,e._vnode=null,e._staticTrees=null;var t=e.$...
function Xe (line 6) | function Xe(e){var t=e.$options.provide;t&&(e._provided="function"==type...
function Je (line 6) | function Je(e){var t=e.$options.inject;if(t)for(var n=Array.isArray(t),i...
function et (line 6) | function et(e,t){var n=e.$options=Object.create(e.constructor.options);n...
function tt (line 6) | function tt(e){var t=e.options;if(e.super){var n=tt(e.super);if(n!==e.su...
function nt (line 6) | function nt(e){var t,n=e.options,i=e.sealedOptions;for(var r in n)n[r]!=...
function it (line 6) | function it(e,t){if(Array.isArray(e)){var n=[];t=Array.isArray(t)?t:[t];...
function rt (line 6) | function rt(e){this._init(e)}
function ot (line 6) | function ot(e){e.use=function(e){if(!e.installed){var t=c(arguments,1);r...
function st (line 6) | function st(e){e.mixin=function(e){this.options=L(this.options,e)}}
function at (line 6) | function at(e){e.cid=0;var t=1;e.extend=function(e){e=e||{};var n=this,i...
function lt (line 6) | function lt(e){var t=e.options.props;for(var n in t)be(e.prototype,"_pro...
function ut (line 6) | function ut(e){var t=e.options.computed;for(var n in t)Me(e.prototype,n,...
function ct (line 6) | function ct(e){Er._assetTypes.forEach(function(t){e[t]=function(e,n){ret...
function dt (line 6) | function dt(e){return e&&(e.Ctor.options.name||e.tag)}
function ft (line 6) | function ft(e,t){return"string"==typeof e?e.split(",").indexOf(t)>-1:e i...
function ht (line 6) | function ht(e,t){for(var n in e){var i=e[n];if(i){var r=dt(i.componentOp...
function pt (line 6) | function pt(e){e&&(e.componentInstance._inactive||he(e.componentInstance...
function mt (line 6) | function mt(e){for(var t=e.data,n=e,i=e;i.componentInstance;)i=i.compone...
function vt (line 6) | function vt(e,t){return{staticClass:yt(e.staticClass,t.staticClass),clas...
function gt (line 6) | function gt(e){var t=e.class,n=e.staticClass;return n||t?yt(n,bt(t)):""}
function yt (line 6) | function yt(e,t){return e?t?e+" "+t:e:t||""}
function bt (line 6) | function bt(e){var t="";if(!e)return t;if("string"==typeof e)return e;if...
function _t (line 6) | function _t(e){return Go(e)?"svg":"math"===e?"math":void 0}
function xt (line 6) | function xt(e){if(!Pr)return!0;if(Qo(e))return!1;if(e=e.toLowerCase(),nu...
function Ct (line 6) | function Ct(e){if("string"==typeof e){var t=document.querySelector(e);re...
function wt (line 6) | function wt(e,t){var n=document.createElement(e);return"select"!==e?n:(t...
function kt (line 6) | function kt(e,t){return document.createElementNS(qo[e],t)}
function Mt (line 6) | function Mt(e){return document.createTextNode(e)}
function St (line 6) | function St(e){return document.createComment(e)}
function $t (line 6) | function $t(e,t,n){e.insertBefore(t,n)}
function Tt (line 6) | function Tt(e,t){e.removeChild(t)}
function Dt (line 6) | function Dt(e,t){e.appendChild(t)}
function It (line 6) | function It(e){return e.parentNode}
function Et (line 6) | function Et(e){return e.nextSibling}
function Nt (line 6) | function Nt(e){return e.tagName}
function Ot (line 6) | function Ot(e,t){e.textContent=t}
function At (line 6) | function At(e,t,n){e.setAttribute(t,n)}
function Pt (line 6) | function Pt(e,t){var n=e.data.ref;if(n){var i=e.context,r=e.componentIns...
function jt (line 6) | function jt(e){return void 0===e||null===e}
function Lt (line 6) | function Lt(e){return void 0!==e&&null!==e}
function zt (line 6) | function zt(e){return e===!0}
function Rt (line 6) | function Rt(e,t){return e.key===t.key&&e.tag===t.tag&&e.isComment===t.is...
function Ft (line 6) | function Ft(e,t){if("input"!==e.tag)return!0;var n;return(Lt(n=e.data)&&...
function Bt (line 6) | function Bt(e,t,n){var i,r,o={};for(i=t;i<=n;++i)r=e[i].key,Lt(r)&&(o[r]...
function Vt (line 6) | function Vt(e,t){(e.data.directives||t.data.directives)&&Ht(e,t)}
function Ht (line 6) | function Ht(e,t){var n,i,r,o=e===es,s=t===es,a=Wt(e.data.directives,e.co...
function Wt (line 6) | function Wt(e,t){var n=Object.create(null);if(!e)return n;var i,r;for(i=...
function Ut (line 6) | function Ut(e){return e.rawName||e.name+"."+Object.keys(e.modifiers||{})...
function qt (line 6) | function qt(e,t,n,i,r){var o=e.def&&e.def[t];o&&o(n.elm,e,n,i,r)}
function Yt (line 6) | function Yt(e,t){if(e.data.attrs||t.data.attrs){var n,i,r=t.elm,o=e.data...
function Gt (line 6) | function Gt(e,t,n){Bo(t)?Uo(n)?e.removeAttribute(t):e.setAttribute(t,t):...
function Zt (line 6) | function Zt(e,t){var n=t.elm,i=t.data,r=e.data;if(i.staticClass||i.class...
function Qt (line 6) | function Qt(e){function t(){(s||(s=[])).push(e.slice(p,r).trim()),p=r+1}...
function Kt (line 6) | function Kt(e,t){var n=t.indexOf("(");return n<0?'_f("'+t+'")('+e+")":'_...
function Xt (line 6) | function Xt(e){console.error("[Vue compiler]: "+e)}
function Jt (line 6) | function Jt(e,t){return e?e.map(function(e){return e[t]}).filter(functio...
function en (line 6) | function en(e,t,n){(e.props||(e.props=[])).push({name:t,value:n})}
function tn (line 6) | function tn(e,t,n){(e.attrs||(e.attrs=[])).push({name:t,value:n})}
function nn (line 6) | function nn(e,t,n,i,r,o){(e.directives||(e.directives=[])).push({name:t,...
function rn (line 6) | function rn(e,t,n,i,r){i&&i.capture&&(delete i.capture,t="!"+t),i&&i.onc...
function on (line 6) | function on(e,t,n){var i=sn(e,":"+t)||sn(e,"v-bind:"+t);if(null!=i)retur...
function sn (line 6) | function sn(e,t){var n;if(null!=(n=e.attrsMap[t]))for(var i=e.attrsList,...
function an (line 6) | function an(e,t,n){var i=n||{},r=i.number,o=i.trim,s="$$v";o&&(s="(typeo...
function ln (line 6) | function ln(e,t){var n=un(e);return null===n.idx?e+"="+t:"var $$exp = "+...
function un (line 6) | function un(e){if(Io=e,Do=Io.length,No=Oo=Ao=0,e.indexOf("[")<0||e.lastI...
function cn (line 6) | function cn(){return Io.charCodeAt(++No)}
function dn (line 6) | function dn(){return No>=Do}
function fn (line 6) | function fn(e){return 34===e||39===e}
function hn (line 6) | function hn(e){var t=1;for(Oo=No;!dn();)if(e=cn(),fn(e))pn(e);else if(91...
function pn (line 6) | function pn(e){for(var t=e;!dn()&&(e=cn())!==t;);}
function mn (line 6) | function mn(e,t,n){Po=n;var i=t.value,r=t.modifiers,o=e.tag,s=e.attrsMap...
function vn (line 6) | function vn(e,t,n){var i=n&&n.number,r=on(e,"value")||"null",o=on(e,"tru...
function gn (line 6) | function gn(e,t,n){var i=n&&n.number,r=on(e,"value")||"null";r=i?"_n("+r...
function yn (line 6) | function yn(e,t,n){var i=n&&n.number,r='Array.prototype.filter.call($eve...
function bn (line 6) | function bn(e,t,n){var i=e.attrsMap.type,r=n||{},o=r.lazy,s=r.number,a=r...
function _n (line 6) | function _n(e){var t;e[ls]&&(t=Lr?"change":"input",e[t]=[].concat(e[ls],...
function xn (line 6) | function xn(e,t,n,i){if(n){var r=t,o=jo;t=function(n){null!==(1===argume...
function Cn (line 6) | function Cn(e,t,n,i){(i||jo).removeEventListener(e,t,n)}
function wn (line 6) | function wn(e,t){if(e.data.on||t.data.on){var n=t.data.on||{},i=e.data.o...
function kn (line 6) | function kn(e,t){if(e.data.domProps||t.data.domProps){var n,i,r=t.elm,o=...
function Mn (line 6) | function Mn(e,t,n){return!e.composing&&("option"===t.tag||Sn(e,n)||$n(e,...
function Sn (line 6) | function Sn(e,t){return document.activeElement!==e&&e.value!==t}
function $n (line 6) | function $n(e,t){var n=e.value,r=e._vModifiers;return r&&r.number||"numb...
function Tn (line 6) | function Tn(e){var t=Dn(e.style);return e.staticStyle?d(e.staticStyle,t):t}
function Dn (line 6) | function Dn(e){return Array.isArray(e)?p(e):"string"==typeof e?fs(e):e}
function In (line 6) | function In(e,t){var n,i={};if(t)for(var r=e;r.componentInstance;)r=r.co...
function En (line 6) | function En(e,t){var n=t.data,i=e.data;if(n.staticStyle||n.style||i.stat...
function Nn (line 6) | function Nn(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.s...
function On (line 6) | function On(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.s...
function An (line 6) | function An(e){if(e){if("object"==typeof e){var t={};return e.css!==!1&&...
function Pn (line 6) | function Pn(e){$s(function(){$s(e)})}
function jn (line 6) | function jn(e,t){(e._transitionClasses||(e._transitionClasses=[])).push(...
function Ln (line 6) | function Ln(e,t){e._transitionClasses&&o(e._transitionClasses,t),On(e,t)}
function zn (line 6) | function zn(e,t,n){var i=Rn(e,t),r=i.type,o=i.timeout,s=i.propCount;if(!...
function Rn (line 6) | function Rn(e,t){var n,i=window.getComputedStyle(e),r=i[ws+"Delay"].spli...
function Fn (line 6) | function Fn(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max.a...
function Bn (line 6) | function Bn(e){return 1e3*Number(e.slice(0,-1))}
function Vn (line 6) | function Vn(e,t){var n=e.elm;n._leaveCb&&(n._leaveCb.cancelled=!0,n._lea...
function Hn (line 6) | function Hn(e,t){function n(){C.cancelled||(e.data.show||((r.parentNode....
function Wn (line 6) | function Wn(e){return"number"==typeof e&&!isNaN(e)}
function Un (line 6) | function Un(e){if(!e)return!1;var t=e.fns;return t?Un(Array.isArray(t)?t...
function qn (line 6) | function qn(e,t){t.data.show||Vn(t)}
function Yn (line 6) | function Yn(e,t,n){var i=t.value,r=e.multiple;if(!r||Array.isArray(i)){f...
function Gn (line 6) | function Gn(e,t){for(var n=0,i=t.length;n<i;n++)if(v(Zn(t[n]),e))return!...
function Zn (line 6) | function Zn(e){return"_value"in e?e._value:e.value}
function Qn (line 6) | function Qn(e){e.target.composing=!0}
function Kn (line 6) | function Kn(e){e.target.composing=!1,Xn(e.target,"input")}
function Xn (line 6) | function Xn(e,t){var n=document.createEvent("HTMLEvents");n.initEvent(t,...
function Jn (line 6) | function Jn(e){return!e.componentInstance||e.data&&e.data.transition?e:J...
function ei (line 6) | function ei(e){var t=e&&e.componentOptions;return t&&t.Ctor.options.abst...
function ti (line 6) | function ti(e){var t={},n=e.$options;for(var i in n.propsData)t[i]=e[i];...
function ni (line 6) | function ni(e,t){return/\d-keep-alive$/.test(t.tag)?e("keep-alive"):null}
function ii (line 6) | function ii(e){for(;e=e.parent;)if(e.data.transition)return!0}
function ri (line 6) | function ri(e,t){return t.key===e.key&&t.tag===e.tag}
function oi (line 6) | function oi(e){e.elm._moveCb&&e.elm._moveCb(),e.elm._enterCb&&e.elm._ent...
function si (line 6) | function si(e){e.data.newPos=e.elm.getBoundingClientRect()}
function ai (line 6) | function ai(e){var t=e.data.pos,n=e.data.newPos,i=t.left-n.left,r=t.top-...
function li (line 6) | function li(e){return Bs=Bs||document.createElement("div"),Bs.innerHTML=...
function ui (line 6) | function ui(e,t){var n=t?ka:wa;return e.replace(n,function(e){return Ca[...
function ci (line 6) | function ci(e,t){function n(t){c+=t,e=e.substring(t)}function i(e,n,i){v...
function di (line 6) | function di(e,t){var n=t?Sa(t):Ma;if(n.test(e)){for(var i,r,o=[],s=n.las...
function fi (line 6) | function fi(e,t){function n(e){e.pre&&(a=!1),aa(e.tag)&&(l=!1)}na=t.warn...
function hi (line 6) | function hi(e){null!=sn(e,"v-pre")&&(e.pre=!0)}
function pi (line 6) | function pi(e){var t=e.attrsList.length;if(t)for(var n=e.attrs=new Array...
function mi (line 6) | function mi(e){var t=on(e,"key");t&&(e.key=t)}
function vi (line 6) | function vi(e){var t=on(e,"ref");t&&(e.ref=t,e.refInFor=Si(e))}
function gi (line 6) | function gi(e){var t;if(t=sn(e,"v-for")){var n=t.match(Da);if(!n)return;...
function yi (line 6) | function yi(e){var t=sn(e,"v-if");if(t)e.if=t,xi(e,{exp:t,block:e});else...
function bi (line 6) | function bi(e,t){var n=_i(t.children);n&&n.if&&xi(n,{exp:e.elseif,block:...
function _i (line 6) | function _i(e){for(var t=e.length;t--;){if(1===e[t].type)return e[t];e.p...
function xi (line 6) | function xi(e,t){e.ifConditions||(e.ifConditions=[]),e.ifConditions.push...
function Ci (line 6) | function Ci(e){null!=sn(e,"v-once")&&(e.once=!0)}
function wi (line 6) | function wi(e){if("slot"===e.tag)e.slotName=on(e,"name");else{var t=on(e...
function ki (line 6) | function ki(e){var t;(t=on(e,"is"))&&(e.component=t),null!=sn(e,"inline-...
function Mi (line 6) | function Mi(e){var t,n,i,r,o,s,a,l=e.attrsList;for(t=0,n=l.length;t<n;t+...
function Si (line 6) | function Si(e){for(var t=e;t;){if(void 0!==t.for)return!0;t=t.parent}ret...
function $i (line 6) | function $i(e){var t=e.match(Oa);if(t){var n={};return t.forEach(functio...
function Ti (line 6) | function Ti(e){for(var t={},n=0,i=e.length;n<i;n++)t[e[n].name]=e[n].val...
function Di (line 6) | function Di(e){return"style"===e.tag||"script"===e.tag&&(!e.attrsMap.typ...
function Ii (line 6) | function Ii(e){for(var t=[],n=0;n<e.length;n++){var i=e[n];Pa.test(i.nam...
function Ei (line 6) | function Ei(e,t){e&&(ca=La(t.staticKeys||""),da=t.isReservedTag||Dr,Oi(e...
function Ni (line 6) | function Ni(e){return r("type,tag,attrsList,attrsMap,plain,parent,childr...
function Oi (line 6) | function Oi(e){if(e.static=ji(e),1===e.type){if(!da(e.tag)&&"slot"!==e.t...
function Ai (line 6) | function Ai(e,t){if(1===e.type){if((e.static||e.once)&&(e.staticInFor=t)...
function Pi (line 6) | function Pi(e,t){for(var n=1,i=e.length;n<i;n++)Ai(e[n].block,t)}
function ji (line 6) | function ji(e){return 2!==e.type&&(3===e.type||!(!e.pre&&(e.hasBindings|...
function Li (line 6) | function Li(e){for(;e.parent;){if(e=e.parent,"template"!==e.tag)return!1...
function zi (line 6) | function zi(e,t){var n=t?"nativeOn:{":"on:{";for(var i in e)n+='"'+i+'":...
function Ri (line 6) | function Ri(e,t){if(!t)return"function(){}";if(Array.isArray(t))return"[...
function Fi (line 6) | function Fi(e){return"if(!('button' in $event)&&"+e.map(Bi).join("&&")+"...
function Bi (line 6) | function Bi(e){var t=parseInt(e,10);if(t)return"$event.keyCode!=="+t;var...
function Vi (line 6) | function Vi(e,t){e.wrapData=function(n){return"_b("+n+",'"+e.tag+"',"+t....
function Hi (line 6) | function Hi(e,t){var n=ga,i=ga=[],r=ya;ya=0,ba=t,fa=t.warn||Xt,ha=Jt(t.m...
function Wi (line 6) | function Wi(e){if(e.staticRoot&&!e.staticProcessed)return Ui(e);if(e.onc...
function Ui (line 6) | function Ui(e){return e.staticProcessed=!0,ga.push("with(this){return "+...
function qi (line 6) | function qi(e){if(e.onceProcessed=!0,e.if&&!e.ifProcessed)return Yi(e);i...
function Yi (line 6) | function Yi(e){return e.ifProcessed=!0,Gi(e.ifConditions.slice())}
function Gi (line 6) | function Gi(e){function t(e){return e.once?qi(e):Wi(e)}if(!e.length)retu...
function Zi (line 6) | function Zi(e){var t=e.for,n=e.alias,i=e.iterator1?","+e.iterator1:"",r=...
function Qi (line 6) | function Qi(e){var t="{",n=Ki(e);n&&(t+=n+","),e.key&&(t+="key:"+e.key+"...
function Ki (line 6) | function Ki(e){var t=e.directives;if(t){var n,i,r,o,s="directives:[",a=!...
function Xi (line 6) | function Xi(e){var t=e.children[0];if(1===t.type){var n=Hi(t,ba);return"...
function Ji (line 6) | function Ji(e){return"scopedSlots:_u(["+Object.keys(e).map(function(t){r...
function er (line 6) | function er(e,t){return"["+e+",function("+String(t.attrsMap.scope)+"){re...
function tr (line 6) | function tr(e,t){var n=e.children;if(n.length){var i=n[0];if(1===n.lengt...
function nr (line 6) | function nr(e){for(var t=0,n=0;n<e.length;n++){var i=e[n];if(1===i.type)...
function ir (line 6) | function ir(e){return void 0!==e.for||"template"===e.tag||"slot"===e.tag}
function rr (line 6) | function rr(e){return!va(e.tag)}
function or (line 6) | function or(e){return 1===e.type?Wi(e):sr(e)}
function sr (line 6) | function sr(e){return"_v("+(2===e.type?e.expression:cr(JSON.stringify(e....
function ar (line 6) | function ar(e){var t=e.slotName||'"default"',n=tr(e),i="_t("+t+(n?","+n:...
function lr (line 6) | function lr(e,t){var n=t.inlineTemplate?null:tr(t,!0);return"_c("+e+","+...
function ur (line 6) | function ur(e){for(var t="",n=0;n<e.length;n++){var i=e[n];t+='"'+i.name...
function cr (line 6) | function cr(e){return e.replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"...
function dr (line 6) | function dr(e,t){var n=fi(e.trim(),t);Ei(n,t);var i=Hi(n,t);return{ast:n...
function fr (line 6) | function fr(e,t){try{return new Function(e)}catch(n){return t.push({err:...
function hr (line 6) | function hr(e,t){var n=(t.warn,sn(e,"class"));n&&(e.staticClass=JSON.str...
function pr (line 6) | function pr(e){var t="";return e.staticClass&&(t+="staticClass:"+e.stati...
function mr (line 6) | function mr(e,t){var n=(t.warn,sn(e,"style"));if(n){e.staticStyle=JSON.s...
function vr (line 6) | function vr(e){var t="";return e.staticStyle&&(t+="staticStyle:"+e.stati...
function gr (line 6) | function gr(e,t){t.value&&en(e,"textContent","_s("+t.value+")")}
function yr (line 6) | function yr(e,t){t.value&&en(e,"innerHTML","_s("+t.value+")")}
function br (line 6) | function br(e){if(e.outerHTML)return e.outerHTML;var t=document.createEl...
function e (line 6) | function e(){i=!1;var e=n.slice(0);n.length=0;for(var t=0;t<e.length;t++...
function e (line 6) | function e(){this.set=Object.create(null)}
function n (line 6) | function n(){i.$off(e,n),t.apply(i,arguments)}
function t (line 6) | function t(e){return new ro($.tagName(e).toLowerCase(),{},[],void 0,e)}
function n (line 6) | function n(e,t){function n(){0==--n.listeners&&i(e)}return n.listeners=t,n}
function i (line 6) | function i(e){var t=$.parentNode(e);Lt(t)&&$.removeChild(t,e)}
function o (line 6) | function o(e,t,n,i,r){if(e.isRootInsert=!r,!s(e,t,n,i)){var o=e.data,a=e...
function s (line 6) | function s(e,t,n,i){var r=e.data;if(Lt(r)){var o=Lt(e.componentInstance)...
function l (line 6) | function l(e,t){Lt(e.data.pendingInsert)&&t.push.apply(t,e.data.pendingI...
function u (line 6) | function u(e,t,n,i){for(var r,o=e;o.componentInstance;)if(o=o.componentI...
function c (line 6) | function c(e,t,n){Lt(e)&&(Lt(n)?$.insertBefore(e,t,n):$.appendChild(e,t))}
function d (line 6) | function d(e,t,n){if(Array.isArray(t))for(var i=0;i<t.length;++i)o(t[i],...
function f (line 6) | function f(e){for(;e.componentInstance;)e=e.componentInstance._vnode;ret...
function h (line 6) | function h(e,t){for(var n=0;n<M.create.length;++n)M.create[n](es,e);w=e....
function p (line 6) | function p(e){for(var t,n=e;n;)Lt(t=n.context)&&Lt(t=t.$options._scopeId...
function m (line 6) | function m(e,t,n,i,r,s){for(;i<=r;++i)o(n[i],s,e,t)}
function v (line 6) | function v(e){var t,n,i=e.data;if(Lt(i))for(Lt(t=i.hook)&&Lt(t=t.destroy...
function g (line 6) | function g(e,t,n,r){for(;n<=r;++n){var o=t[n];Lt(o)&&(Lt(o.tag)?(y(o),v(...
function y (line 6) | function y(e,t){if(Lt(t)||Lt(e.data)){var r=M.remove.length+1;for(Lt(t)?...
function b (line 6) | function b(e,t,n,i,r){for(var s,a,l,u,c=0,d=0,f=t.length-1,h=t[0],p=t[f]...
function _ (line 6) | function _(e,t,n,i){if(e!==t){if(zt(t.isStatic)&&zt(e.isStatic)&&t.key==...
function x (line 6) | function x(e,t,n){if(zt(n)&&Lt(e.parent))e.parent.data.pendingInsert=t;e...
function C (line 6) | function C(e,t,n){t.elm=e;var i=t.tag,r=t.data,o=t.children;if(Lt(r)&&(L...
function t (line 6) | function t(t,n){var i=Object.create(e),r=[],o=[];if(i.warn=function(e,t)...
function n (line 6) | function n(e,n,r){n=n||{};var o=n.delimiters?String(n.delimiters)+e:e;if...
function i (line 6) | function i(e,t){if(!e||!t)return!1;if(t.indexOf(" ")!==-1)throw new Erro...
function r (line 6) | function r(e,t){if(e){for(var n=e.className,r=(t||"").split(" "),o=0,s=r...
function o (line 6) | function o(e,t){if(e&&t){for(var n=t.split(" "),r=" "+e.className+" ",o=...
function s (line 6) | function s(e,t,n){if(e&&t)if("object"===(void 0===t?"undefined":a(t)))fo...
function i (line 6) | function i(e,t,n){this.$children.forEach(function(r){r.$options.componen...
function i (line 6) | function i(e,t){return s.call(e,t)}
function r (line 6) | function r(e,t){for(var n in t)e[n]=t[n];return e}
function o (line 6) | function o(e){for(var t={},n=0;n<e.length;n++)e[n]&&r(t,e[n]);return t}
function t (line 6) | function t(i){if(n[i])return n[i].exports;var r=n[i]={exports:{},id:i,lo...
function i (line 6) | function i(e){return e&&e.__esModule?e:{default:e}}
function n (line 6) | function n(e){var t=window.getComputedStyle(e),n=t.getPropertyValue("box...
function i (line 6) | function i(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[...
function i (line 6) | function i(e){return e&&e.__esModule?e:{default:e}}
function i (line 6) | function i(e,t,n,i,r){var a=e.type,l=[];if(e.required||!e.required&&i.ha...
function t (line 6) | function t(i){if(n[i])return n[i].exports;var r=n[i]={exports:{},id:i,lo...
function i (line 6) | function i(e){return e&&e.__esModule?e:{default:e}}
function n (line 6) | function n(e){var t=e.move,n=e.size,i=e.bar,r={},o="translate"+i.axis+"(...
function t (line 6) | function t(i){if(n[i])return n[i].exports;var r=n[i]={exports:{},id:i,lo...
function i (line 6) | function i(e){return e&&e.__esModule?e:{default:e}}
function i (line 6) | function i(e){return"object"===(void 0===e?"undefined":o(e))&&(0,s.hasOw...
function r (line 6) | function r(e){return e&&e.filter(function(e){return e&&e.tag})[0]}
function i (line 6) | function i(e,t,n,i,r,s){!e.required||n.hasOwnProperty(e.field)&&!o.isEmp...
function r (line 6) | function r(){function r(){s=Number(new Date),n.apply(l,c)}function a(){o...
function t (line 6) | function t(i){if(n[i])return n[i].exports;var r=n[i]={exports:{},id:i,lo...
function i (line 6) | function i(e){return e&&e.__esModule?e:{default:e}}
function i (line 6) | function i(e){return e&&e.__esModule?e:{default:e}}
function i (line 6) | function i(e){return e&&e.__esModule?e:{default:e}}
function i (line 6) | function i(e){return e&&e.__esModule?e:{default:e}}
function i (line 6) | function i(e){return e&&e.__esModule?e:{default:e}}
function i (line 6) | function i(e){return e&&e.__esModule?e:{default:e}}
function i (line 6) | function i(e){return e&&e.__esModule?e:{default:e}}
function i (line 6) | function i(e){return e&&e.__esModule?e:{default:e}}
function i (line 6) | function i(e){return e&&e.__esModule?e:{default:e}}
function n (line 6) | function n(e){var t=window.getComputedStyle(e),n=t.getPropertyValue("box...
function i (line 6) | function i(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[...
function i (line 6) | function i(e){return e&&e.__esModule?e:{default:e}}
function i (line 6) | function i(e){return e&&e.__esModule?e:{default:e}}
function i (line 6) | function i(e){return e&&e.__esModule?e:{default:e}}
function i (line 6) | function i(e){return e&&e.__esModule?e:{default:e}}
function i (line 6) | function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a ...
function e (line 6) | function e(t){i(this,e),this.table=null,this.store=null,this.columns=nul...
function i (line 6) | function i(e){return e&&e.__esModule?e:{default:e}}
function i (line 6) | function i(e){return e&&e.__esModule?e:{default:e}}
function i (line 6) | function i(e){return e&&e.__esModule?e:{default:e}}
function i (line 6) | function i(e){return e&&e.__esModule?e:{default:e}}
function r (line 6) | function r(e){if(null==e)throw new TypeError("Cannot destructure undefin...
function i (line 6) | function i(e){return e&&e.__esModule?e:{default:e}}
function i (line 6) | function i(e){return e&&e.__esModule?e:{default:e}}
function i (line 6) | function i(e){return e&&e.__esModule?e:{default:e}}
function i (line 6) | function i(e){return e&&e.__esModule?e:{default:e}}
function i (line 6) | function i(e){return e&&e.__esModule?e:{default:e}}
function i (line 6) | function i(e){return e&&e.__esModule?e:{default:e}}
function i (line 6) | function i(e){return e&&e.__esModule?e:{default:e}}
function i (line 6) | function i(e){return e&&e.__esModule?e:{default:e}}
function i (line 6) | function i(e){return e&&e.__esModule?e:{default:e}}
function i (line 6) | function i(e){return e&&e.__esModule?e:{default:e}}
function i (line 6) | function i(e){return e&&e.__esModule?e:{default:e}}
function i (line 6) | function i(e){return e&&e.__esModule?e:{default:e}}
function i (line 6) | function i(e){return e&&e.__esModule?e:{default:e}}
function r (line 6) | function r(){}
function o (line 6) | function o(e,t){var n=e;t=t.replace(/\[(\w+)\]/g,".$1"),t=t.replace(/^\....
function i (line 6) | function i(){}
function i (line 6) | function i(e){return e&&e.__esModule?e:{default:e}}
function i (line 6) | function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a ...
function e (line 6) | function e(t){var n=this;i(this,e),this.currentNode=null,this.currentNod...
function i (line 6) | function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a ...
function e (line 6) | function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.en...
function e (line 6) | function e(t){i(this,e),this.id=c++,this.text=null,this.checked=!1,this....
function i (line 6) | function i(e){return e&&e.__esModule?e:{default:e}}
function i (line 6) | function i(e){return e&&e.__esModule?e:{default:e}}
function i (line 6) | function i(e){return e&&e.__esModule?e:{default:e}}
function i (line 6) | function i(e){return e&&e.__esModule?e:{default:e}}
function i (line 6) | function i(e){return e&&e.__esModule?e:{default:e}}
function r (line 6) | function r(){}
function i (line 6) | function i(e){return e&&e.__esModule?e:{default:e}}
function i (line 6) | function i(e){return e&&e.__esModule?e:{default:e}}
function n (line 6) | function n(e,t,n){var i=void 0;i=n.response?n.status+" "+(n.response.err...
function i (line 6) | function i(e){var t=e.responseText||e.response;if(!t)return t;try{return...
function r (line 6) | function r(e){if("undefined"!=typeof XMLHttpRequest){var t=new XMLHttpRe...
function i (line 6) | function i(e){return n(r(e))}
function r (line 6) | function r(e){return o[e]||function(){throw new Error("Cannot find modul...
function i (line 6) | function i(e){return e&&e.__esModule?e:{default:e}}
function i (line 6) | function i(e){return e&&e.__esModule?e:{default:e}}
function n (line 6) | function n(e){var t=e.move,n=e.size,i=e.bar,r={},o="translate"+i.axis+"(...
function i (line 6) | function i(e){return e&&e.__esModule?e:{default:e}}
function i (line 6) | function i(e){return e&&e.__esModule?e:{default:e}}
function i (line 6) | function i(e){return e&&e.__esModule?e:{default:e}}
function n (line 6) | function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a ...
function e (line 6) | function e(t){n(this,e),this._hue=0,this._saturation=100,this._value=100...
function i (line 6) | function i(e){return e&&e.__esModule?e:{default:e}}
function i (line 6) | function i(e){return e&&e.__esModule?e:{default:e}}
function i (line 6) | function i(e){return e&&e.__esModule?e:{default:e}}
function i (line 6) | function i(e){this.state=U,this.value=void 0,this.deferred=[];var t=this...
function r (line 6) | function r(e,t){e instanceof Promise?this.promise=e:this.promise=new Pro...
function o (line 6) | function o(e){"undefined"!=typeof console&&J&&console.warn("[VueResource...
function s (line 6) | function s(e){"undefined"!=typeof console&&console.error(e)}
function a (line 6) | function a(e,t){return G(e,t)}
function l (line 6) | function l(e){return e?e.replace(/^\s*|\s*$/g,""):""}
function u (line 6) | function u(e,t){return e&&void 0===t?e.replace(/\s+$/,""):e&&t?e.replace...
function c (line 6) | function c(e){return e?e.toLowerCase():""}
function d (line 6) | function d(e){return e?e.toUpperCase():""}
function f (line 6) | function f(e){return"string"==typeof e}
function h (line 6) | function h(e){return"function"==typeof e}
function p (line 6) | function p(e){return null!==e&&"object"==typeof e}
function m (line 6) | function m(e){return p(e)&&Object.getPrototypeOf(e)==Object.prototype}
function v (line 6) | function v(e){return"undefined"!=typeof Blob&&e instanceof Blob}
function g (line 6) | function g(e){return"undefined"!=typeof FormData&&e instanceof FormData}
function y (line 6) | function y(e,t,n){var i=r.resolve(e);return arguments.length<2?i:i.then(...
function b (line 6) | function b(e,t,n){return n=n||{},h(n)&&(n=n.call(t)),x(e.bind({$vm:t,$op...
function _ (line 6) | function _(e,t){var n,i;if(ne(e))for(n=0;n<e.length;n++)t.call(e[n],e[n]...
function x (line 6) | function x(e){return X.call(arguments,1).forEach(function(t){k(e,t,!0)}),e}
function C (line 6) | function C(e){return X.call(arguments,1).forEach(function(t){for(var n i...
function w (line 6) | function w(e){return X.call(arguments,1).forEach(function(t){k(e,t)}),e}
function k (line 6) | function k(e,t,n){for(var i in t)n&&(m(t[i])||ne(t[i]))?(m(t[i])&&!m(e[i...
function M (line 6) | function M(e,t,n){var i=S(e),r=i.expand(t);return n&&n.push.apply(n,i.va...
function S (line 6) | function S(e){var t=["+","#",".","/",";","?","&"],n=[];return{vars:n,exp...
function $ (line 6) | function $(e,t,n,i){var r=e[n],o=[];if(T(r)&&""!==r)if("string"==typeof ...
function T (line 6) | function T(e){return void 0!==e&&null!==e}
function D (line 6) | function D(e){return";"===e||"&"===e||"?"===e}
function I (line 6) | function I(e,t,n){return t="+"===e||"#"===e?E(t):encodeURIComponent(t),n...
function E (line 6) | function E(e){return e.split(/(%[0-9A-Fa-f]{2})/g).map(function(e){retur...
function N (line 6) | function N(e,t){var n,i=this||{},r=e;return f(e)&&(r={url:e,params:t}),r...
function O (line 6) | function O(e,t,n){return function(i){return e.call(n,i,t)}}
function A (line 6) | function A(e,t,n){var i,r=ne(t),o=m(t);_(t,function(t,s){i=p(t)||ne(t),n...
function P (line 6) | function P(e){var t=e.match(/^\[|^\{(?!\{)/),n={"[":/]$/,"{":/}$/};retur...
function j (line 6) | function j(e,t){t((e.client||(ee?ge:ye))(e))}
function L (line 6) | function L(e,t){return Object.keys(e).reduce(function(e,n){return c(t)==...
function z (line 6) | function z(e){if(/[^a-z0-9\-#$%&'*+.\^_`|~]/i.test(e))throw new TypeErro...
function R (line 6) | function R(e){return new r(function(t){var n=new FileReader;n.readAsText...
function F (line 6) | function F(e){return 0===e.type.indexOf("text")||e.type.indexOf("json")!...
function B (line 6) | function B(e){var t=this||{},n=be(t.$vm);return C(e||{},t.$options,B.opt...
function V (line 6) | function V(e,t,n,i){var r=this||{},o={};return n=ie({},V.actions,n),_(n,...
function H (line 6) | function H(e,t){var n,i=ie({},e),r={};switch(t.length){case 2:r=t[0],n=t...
function W (line 6) | function W(e){W.installed||(te(e),e.url=N,e.http=B,e.resource=V,e.Promis...
function t (line 11) | function t(t){return new r(function(r){function a(){n=i.pop(),h(n)?n.cal...
function n (line 11) | function n(e,t){return function(){e.apply(this,arguments),t.apply(this,a...
function e (line 11) | function e(e){return e&&"object"==typeof e&&"[object RegExp]"!==Object.p...
function t (line 11) | function t(e){return Array.isArray(e)?[]:{}}
function n (line 11) | function n(n,i){return i&&i.clone===!0&&e(n)?o(t(n),n,i):n}
function i (line 11) | function i(t,i,r){var s=t.slice();return i.forEach(function(i,a){void 0=...
function r (line 11) | function r(t,i,r){var s={};return e(t)&&Object.keys(t).forEach(function(...
function o (line 11) | function o(e,t,o){var s=Array.isArray(t),a=o||{arrayMerge:i},l=a.arrayMe...
function t (line 11) | function t(i){if(n[i])return n[i].exports;var r=n[i]={exports:{},id:i,lo...
function t (line 11) | function t(i){if(n[i])return n[i].exports;var r=n[i]={exports:{},id:i,lo...
function t (line 11) | function t(i){if(n[i])return n[i].exports;var r=n[i]={exports:{},id:i,lo...
function t (line 11) | function t(i){if(n[i])return n[i].exports;var r=n[i]={exports:{},id:i,lo...
function t (line 11) | function t(i){if(n[i])return n[i].exports;var r=n[i]={exports:{},id:i,lo...
function i (line 11) | function i(e){return e&&e.__esModule?e:{default:e}}
function t (line 11) | function t(e){for(var t=arguments.length,n=Array(t>1?t-1:0),s=1;s<t;s++)...
function t (line 11) | function t(i){if(n[i])return n[i].exports;var r=n[i]={exports:{},id:i,lo...
function t (line 11) | function t(i){if(n[i])return n[i].exports;var r=n[i]={exports:{},id:i,lo...
function t (line 11) | function t(i){if(n[i])return n[i].exports;var r=n[i]={exports:{},id:i,lo...
function i (line 11) | function i(e){return e&&e.__esModule?e:{default:e}}
function t (line 11) | function t(i){if(n[i])return n[i].exports;var r=n[i]={exports:{},id:i,lo...
function i (line 11) | function i(e){return e&&e.__esModule?e:{default:e}}
function i (line 11) | function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a ...
function e (line 11) | function e(){i(this,e)}
function o (line 11) | function o(e,t){for(var n=[],i=0,r=e.length;i<r;i++)n.push(e[i].substr(0...
function s (line 11) | function s(e){return function(t,n,i){var r=i[e].indexOf(n.charAt(0).toUp...
function a (line 11) | function a(e,t){for(e=String(e),t=t||2;e.length<t;)e="0"+e;return e}
function e (line 11) | function e(e,t,n){this._reference=e.jquery?e[0]:e,this.state={};var i=vo...
function t (line 11) | function t(e){var t=e.style.display,n=e.style.visibility;e.style.display...
function n (line 11) | function n(e){var t={left:"right",right:"left",bottom:"top",top:"bottom"...
function i (line 11) | function i(e){var t=Object.assign({},e);return t.right=t.left+t.width,t....
function r (line 11) | function r(e,t){var n,i=0;for(n in e){if(e[n]===t)return i;i++}return null}
function o (line 11) | function o(e,t){return m.getComputedStyle(e,null)[t]}
function s (line 11) | function s(e){var t=e.offsetParent;return t!==m.document.body&&t?t:m.doc...
function a (line 11) | function a(e){var t=e.parentNode;return t?t===m.document?m.document.body...
function l (line 11) | function l(e){return e!==m.document.body&&("fixed"===o(e,"position")||(e...
function u (line 11) | function u(e,t){function n(e){return""!==e&&!isNaN(parseFloat(e))&&isFin...
function c (line 11) | function c(e){var t={};return e&&"[object Function]"===t.toString.call(e)}
function d (line 11) | function d(e){var t={width:e.offsetWidth,height:e.offsetHeight,left:e.of...
function f (line 11) | function f(e){var t=e.getBoundingClientRect(),n=navigator.userAgent.inde...
function h (line 11) | function h(e,t,n){var i=f(e),r=f(t);if(n){var o=a(t);r.top+=o.scrollTop,...
function p (line 11) | function p(e){for(var t=["","ms","webkit","moz","o"],n=0;n<t.length;n++)...
function t (line 11) | function t(e,t){t.forEach(function(t){e.classList.add(t)})}
function n (line 11) | function n(e,t){t.forEach(function(t){e.setAttribute(t.split(":")[0],t.s...
function i (line 11) | function i(e){this.rules=null,this._messages=u.messages,this.define(e)}
function t (line 11) | function t(e){var t=void 0,n=void 0,i=[],r={};for(t=0;t<e.length;t++)!fu...
function n (line 11) | function n(e,t){return r({},t,{fullField:l.fullField+"."+e})}
function a (line 11) | function a(){var o=arguments.length>0&&void 0!==arguments[0]?arguments[0...
function i (line 11) | function i(){return{default:"Validation error on field %s",required:"%s ...
function i (line 11) | function i(e,t,n,i,r){e[s]=Array.isArray(e[s])?e[s]:[],e[s].indexOf(t)==...
function i (line 11) | function i(e,t,n,i,r){e.pattern instanceof RegExp&&(e.pattern.test(t)||i...
function i (line 11) | function i(e,t,n,i,r){var s="number"==typeof e.len,a="number"==typeof e....
function i (line 11) | function i(e,t,n,i,o){if(e.required&&void 0===t)return void(0,l.default)...
function i (line 11) | function i(e,t,n,i,r){(/^\s+$/.test(t)||""===t)&&i.push(o.format(r.messa...
function i (line 11) | function i(e,t,n,i,r){var a=[];if(e.required||!e.required&&i.hasOwnPrope...
function i (line 11) | function i(e,t,n,i,o){var a=[];if(e.required||!e.required&&i.hasOwnPrope...
function i (line 11) | function i(e,t,n,i,r){var a=[];if(e.required||!e.required&&i.hasOwnPrope...
function i (line 11) | function i(e,t,n,i,r){var l=[];if(e.required||!e.required&&i.hasOwnPrope...
function i (line 11) | function i(e,t,n,i,r){var a=[];if(e.required||!e.required&&i.hasOwnPrope...
function i (line 11) | function i(e,t,n,i,r){var a=[];if(e.required||!e.required&&i.hasOwnPrope...
function i (line 11) | function i(e,t,n,i,r){var a=[];if(e.required||!e.required&&i.hasOwnPrope...
function i (line 11) | function i(e,t,n,i,r){var a=[];if(e.required||!e.required&&i.hasOwnPrope...
function i (line 11) | function i(e,t,n,i,r){var a=[];if(e.required||!e.required&&i.hasOwnPrope...
function i (line 11) | function i(e,t,n,i,r){var a=[];if(e.required||!e.required&&i.hasOwnPrope...
function i (line 11) | function i(e,t,n,i,r){var a=[];if(e.required||!e.required&&i.hasOwnPrope...
function i (line 11) | function i(e,t,n,i,o){var a=[],l=Array.isArray(t)?"array":void 0===t?"un...
function i (line 11) | function i(e,t,n,i,r){var a=[];if(e.required||!e.required&&i.hasOwnPrope...
function i (line 11) | function i(e,t){e||"undefined"!=typeof console&&console.warn("[vue-route...
function r (line 11) | function r(e,t){switch(typeof t){case"undefined":return;case"object":ret...
function o (line 11) | function o(e,t){if(void 0===t&&(t={}),e){var n;try{n=s(e)}catch(e){n={}}...
function s (line 11) | function s(e){var t={};return(e=e.trim().replace(/^(\?|#|&)/,""))?(e.spl...
function a (line 11) | function a(e){var t=e?Object.keys(e).map(function(t){var n=e[t];if(void ...
function l (line 11) | function l(e,t,n){var i={name:t.name||e&&e.name,meta:e&&e.meta||{},path:...
function u (line 11) | function u(e){for(var t=[];e;)t.unshift(e),e=e.parent;return t}
function c (line 11) | function c(e){var t=e.path,n=e.query;void 0===n&&(n={});var i=e.hash;ret...
function d (line 11) | function d(e,t){return t===Ne?e===t:!!t&&(e.path&&t.path?e.path.replace(...
function f (line 11) | function f(e,t){void 0===e&&(e={}),void 0===t&&(t={});var n=Object.keys(...
function h (line 11) | function h(e,t){return 0===e.path.replace(Ee,"/").indexOf(t.path.replace...
function p (line 11) | function p(e,t){for(var n in t)if(!(n in e))return!1;return!0}
function m (line 11) | function m(e){if(!(e.metaKey||e.ctrlKey||e.shiftKey||e.defaultPrevented|...
function v (line 11) | function v(e){if(e)for(var t,n=0;n<e.length;n++){if(t=e[n],"a"===t.tag)r...
function g (line 11) | function g(e){if(!g.installed){g.installed=!0,Se=e,Object.defineProperty...
function y (line 11) | function y(e,t,n){if("/"===e.charAt(0))return e;if("?"===e.charAt(0)||"#...
function b (line 11) | function b(e){var t="",n="",i=e.indexOf("#");i>=0&&(t=e.slice(i),e=e.sli...
function _ (line 11) | function _(e){return e.replace(/\/\//g,"/")}
function x (line 11) | function x(e,t,n){var i=t||Object.create(null),r=n||Object.create(null);...
function C (line 11) | function C(e,t,n,i,r){var o=n.path,s=n.name,a={path:w(o,i),components:n....
function w (line 11) | function w(e,t){return e=e.replace(/\/$/,""),"/"===e[0]?e:null==t?e:_(t....
function k (line 11) | function k(e,t){for(var n,i=[],r=0,o=0,s="",a=t&&t.delimiter||"/";null!=...
function M (line 11) | function M(e,t){return T(k(e,t))}
function S (line 11) | function S(e){return encodeURI(e).replace(/[\/?#]/g,function(e){return"%...
function $ (line 11) | function $(e){return encodeURI(e).replace(/[?#]/g,function(e){return"%"+...
function T (line 11) | function T(e){for(var t=new Array(e.length),n=0;n<e.length;n++)"object"=...
function D (line 11) | function D(e){return e.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}
function I (line 11) | function I(e){return e.replace(/([=!:$\/()])/g,"\\$1")}
function E (line 11) | function E(e,t){return e.keys=t,e}
function N (line 11) | function N(e){return e.sensitive?"":"i"}
function O (line 11) | function O(e,t){var n=e.source.match(/\((?!\?)/g);if(n)for(var i=0;i<n.l...
function A (line 11) | function A(e,t,n){for(var i=[],r=0;r<e.length;r++)i.push(L(e[r],t,n).sou...
function P (line 11) | function P(e,t,n){return j(k(e,n),t,n)}
function j (line 11) | function j(e,t,n){ze(t)||(n=t||n,t=[]),n=n||{};for(var i=n.strict,r=n.en...
function L (line 11) | function L(e,t,n){return ze(t)||(n=t||n,t=[]),n=n||{},e instanceof RegEx...
function z (line 11) | function z(e){var t,n,i=Ue[e];return i?(t=i.keys,n=i.regexp):(t=[],n=Re(...
function R (line 11) | function R(e,t,n){try{return(qe[e]||(qe[e]=Re.compile(e)))(t||{},{pretty...
function F (line 11) | function F(e,t,n){var i="string"==typeof e?{path:e}:e;if(i.name||i._norm...
function B (line 11) | function B(e,t){for(var n in t)e[n]=t[n];return e}
function V (line 11) | function V(e){function t(e){x(e,u,c)}function n(e,t,n){var i=F(e,t),r=i....
function H (line 11) | function H(e,t,n){var i=z(e),r=i.regexp,o=i.keys,s=n.match(r);if(!s)retu...
function W (line 11) | function W(e,t){return y(e,t.parent?t.parent.path:"/",!0)}
function U (line 11) | function U(){window.addEventListener("popstate",function(e){Y(),e.state&...
function q (line 11) | function q(e,t,n,i){if(e.app){var r=e.options.scrollBehavior;r&&e.app.$n...
function Y (line 11) | function Y(){var e=ee();e&&(Ye[e]={x:window.pageXOffset,y:window.pageYOf...
function G (line 11) | function G(){var e=ee();if(e)return Ye[e]}
function Z (line 11) | function Z(e){var t=document.documentElement,n=t.getBoundingClientRect()...
function Q (line 11) | function Q(e){return X(e.x)||X(e.y)}
function K (line 11) | function K(e){return{x:X(e.x)?e.x:window.pageXOffset,y:X(e.y)?e.y:window...
function X (line 11) | function X(e){return"number"==typeof e}
function J (line 11) | function J(){return Ze.now().toFixed(3)}
function ee (line 11) | function ee(){return Qe}
function te (line 11) | function te(e){Qe=e}
function ne (line 11) | function ne(e,t){Y();var n=window.history;try{t?n.replaceState({key:Qe},...
function ie (line 11) | function ie(e){ne(e,!0)}
function re (line 11) | function re(e,t,n){var i=function(r){r>=e.length?n():e[r]?t(e[r],functio...
function oe (line 11) | function oe(e){if(!e)if(je){var t=document.querySelector("base");e=t&&t....
function se (line 11) | function se(e,t){var n,i=Math.max(e.length,t.length);for(n=0;n<i&&e[n]==...
function ae (line 11) | function ae(e,t,n,i){var r=ve(e,function(e,i,r,o){var s=le(e,t);if(s)ret...
function le (line 11) | function le(e,t){return"function"!=typeof e&&(e=Se.extend(e)),e.options[t]}
function ue (line 11) | function ue(e){return ae(e,"beforeRouteLeave",de,!0)}
function ce (line 11) | function ce(e){return ae(e,"beforeRouteUpdate",de)}
function de (line 11) | function de(e,t){return function(){return e.apply(t,arguments)}}
function fe (line 11) | function fe(e,t,n){return ae(e,"beforeRouteEnter",function(e,i,r,o){retu...
function he (line 11) | function he(e,t,n,i,r){return function(o,s,a){return e(o,s,function(e){a...
function pe (line 11) | function pe(e,t,n,i){t[n]?e(t[n]):i()&&setTimeout(function(){pe(e,t,n,i)...
function me (line 11) | function me(e){return ve(e,function(e,t,n,r){if("function"==typeof e&&!e...
function ve (line 11) | function ve(e,t){return ge(e.map(function(e){return Object.keys(e.compon...
function ge (line 11) | function ge(e){return Array.prototype.concat.apply([],e)}
function ye (line 11) | function ye(e){var t=!1;return function(){if(!t)return t=!0,e.apply(this...
function be (line 11) | function be(e){var t=window.location.pathname;return e&&0===t.indexOf(e)...
function _e (line 11) | function _e(e){var t=be(e);if(!/^\/#/.test(t))return window.location.rep...
function xe (line 11) | function xe(){var e=Ce();return"/"===e.charAt(0)||(ke("/"+e),!1)}
function Ce (line 11) | function Ce(){var e=window.location.href,t=e.indexOf("#");return t===-1?...
function we (line 11) | function we(e){window.location.hash=e}
function ke (line 11) | function ke(e){var t=window.location.href.indexOf("#");window.location.r...
function Me (line 11) | function Me(e,t,n){var i="hash"===n?"#"+t:t;return e?_(e+"/"+i):i}
function t (line 11) | function t(t,n){var i=this;e.call(this,t,n);var r=t.options.scrollBehavi...
function t (line 11) | function t(t,n,i){e.call(this,t,n),i&&_e(this.base)||xe()}
function t (line 11) | function t(t,n){e.call(this,t,n),this.stack=[],this.index=-1}
function i (line 11) | function i(e){M&&(e._devtoolHook=M,M.emit("vuex:init",e),M.on("vuex:trav...
function r (line 11) | function r(e,t){Object.keys(e).forEach(function(n){return t(e[n],n)})}
function o (line 11) | function o(e){return null!==e&&"object"==typeof e}
function s (line 11) | function s(e){return e&&"function"==typeof e.then}
function a (line 11) | function a(e,t){if(!e)throw new Error("[vuex] "+t)}
function l (line 11) | function l(e,t){if(e.update(t),t.modules)for(var n in t.modules){if(!e.g...
function u (line 11) | function u(e,t){e._actions=Object.create(null),e._mutations=Object.creat...
function c (line 11) | function c(e,t,n){var i=e._vm;e.getters={};var o=e._wrappedGetters,s={};...
function d (line 11) | function d(e,t,n,i,r){var o=!n.length,s=e._modules.getNamespace(n);if(s&...
function f (line 11) | function f(e,t,n){var i=""===t,r={dispatch:i?e.dispatch:function(n,i,r){...
function h (line 11) | function h(e,t){var n={},i=t.length;return Object.keys(e.getters).forEac...
function p (line 11) | function p(e,t,n,i){(e._mutations[t]||(e._mutations[t]=[])).push(functio...
function m (line 11) | function m(e,t,n,i){(e._actions[t]||(e._actions[t]=[])).push(function(t,...
function v (line 11) | function v(e,t,n,i){if(e._wrappedGetters[t])return void console.error("[...
function g (line 11) | function g(e){e._vm.$watch(function(){return this._data.$$state},functio...
function y (line 11) | function y(e,t){return t.length?t.reduce(function(e,t){return e[t]},e):e}
function b (line 11) | function b(e,t,n){return o(e)&&e.type&&(n=t,t=e,e=e.type),a("string"==ty...
function _ (line 11) | function _(e){if(D)return void console.error("[vuex] already installed. ...
function x (line 11) | function x(e){return Array.isArray(e)?e.map(function(e){return{key:e,val...
function C (line 11) | function C(e){return function(t,n){return"string"!=typeof t?(n=t,t=""):"...
function w (line 11) | function w(e,t,n){var i=e._modulesNamespaceMap[n];return i||console.erro...
function t (line 16) | function t(){var e=this.$options;e.store?this.$store=e.store:e.parent&&e...
function i (line 16) | function i(e){for(var t=0;t<e.length;t++){var n=e[t],i=c[n.id];if(i){i.r...
function r (line 16) | function r(){var e=document.createElement("style");return e.type="text/c...
function o (line 16) | function o(e){var t,n,i=document.querySelector('style[data-vue-ssr-id~="...
function s (line 16) | function s(e,t,n,i){var r=n?"":i.css;if(e.styleSheet)e.styleSheet.cssTex...
function a (line 16) | function a(e,t){var n=t.css,i=t.media,r=t.sourceMap;if(i&&e.setAttribute...
FILE: src/store/modules/content.js
method toggleDiglog (line 31) | toggleDiglog (state, payload) {
method changeUserInfo (line 42) | changeUserInfo (state, payload) {
method applyY (line 45) | applyY (state, payload) {
method setOrder (line 48) | setOrder (state, payload) {
method setScheduleInfo (line 51) | setScheduleInfo (state, payload) {
method setTickets (line 54) | setTickets (state, payload) {
method toggleUpdateSeats (line 57) | toggleUpdateSeats (state, payload) {
method getLRDialog (line 62) | getLRDialog (state) {
method getYDialog (line 65) | getYDialog (state) {
method getUserInfo (line 68) | getUserInfo (state) {
method getOrderDetailDialog (line 71) | getOrderDetailDialog (state) {
method getYInfo (line 74) | getYInfo (state) {
method getPayDialog (line 77) | getPayDialog (state) {
method getSeatInfo (line 80) | getSeatInfo (state) {
method getUpdateSeats (line 83) | getUpdateSeats (state) {
method getScheduleInfo (line 86) | getScheduleInfo (state) {
method getTickets (line 89) | getTickets (state) {
Condensed preview — 70 files, each showing path, character count, and a content snippet. Download the .json file or copy for the full structured content (1,228K chars).
[
{
"path": ".babelrc",
"chars": 234,
"preview": "{\n \"presets\": [\n [\"env\", { \"modules\": false }],\n \"stage-2\"\n ],\n \"plugins\": [\"transform-runtime\"],\n \"comments\":"
},
{
"path": ".editorconfig",
"chars": 147,
"preview": "root = true\n\n[*]\ncharset = utf-8\nindent_style = space\nindent_size = 2\nend_of_line = lf\ninsert_final_newline = true\ntrim_"
},
{
"path": ".eslintignore",
"chars": 23,
"preview": "build/*.js\nconfig/*.js\n"
},
{
"path": ".eslintrc.js",
"chars": 642,
"preview": "// http://eslint.org/docs/user-guide/configuring\n\nmodule.exports = {\n root: true,\n parser: 'babel-eslint',\n parserOpt"
},
{
"path": ".gitignore",
"chars": 126,
"preview": ".DS_Store\nnode_modules/\nnpm-debug.log*\nyarn-debug.log*\nyarn-error.log*\ntest/unit/coverage\ntest/e2e/reports\nselenium-debu"
},
{
"path": ".idea/filmshopping.iml",
"chars": 364,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<module type=\"WEB_MODULE\" version=\"4\">\n <component name=\"NewModuleRootManager\">\n"
},
{
"path": ".idea/jsLibraryMappings.xml",
"chars": 213,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<project version=\"4\">\n <component name=\"JavaScriptLibraryMappings\">\n <file ur"
},
{
"path": ".idea/libraries/filmshopping_node_modules.xml",
"chars": 420,
"preview": "<component name=\"libraryTable\">\n <library name=\"filmshopping node_modules\" type=\"javaScript\">\n <properties>\n <o"
},
{
"path": ".idea/markdown-navigator/profiles_settings.xml",
"chars": 104,
"preview": "<component name=\"MarkdownNavigator.ProfileManager\">\n <settings default=\"\" pdf-export=\"\" />\n</component>"
},
{
"path": ".idea/misc.xml",
"chars": 4712,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<project version=\"4\">\n <component name=\"MarkdownProjectSettings\">\n <PreviewSe"
},
{
"path": ".idea/modules.xml",
"chars": 276,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<project version=\"4\">\n <component name=\"ProjectModuleManager\">\n <modules>\n "
},
{
"path": ".idea/vcs.xml",
"chars": 180,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<project version=\"4\">\n <component name=\"VcsDirectoryMappings\">\n <mapping dire"
},
{
"path": ".idea/workspace.xml",
"chars": 19084,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<project version=\"4\">\n <component name=\"ChangeListManager\">\n <list default=\"t"
},
{
"path": ".postcssrc.js",
"chars": 336,
"preview": "// https://github.com/michael-ciniawsky/postcss-load-config\n\nmodule.exports = {\n \"plugins\": {\n // to edit target bro"
},
{
"path": "README.md",
"chars": 1152,
"preview": "# film-shop\n\n> A film shopping website\n\n本项目后台已经下线。此项目已废弃。\n\n## dependencies\n```bash\n脚手架: vue-cli\nUI框架: element-UI\n前端框架: v"
},
{
"path": "app.js",
"chars": 389,
"preview": "var express = require('express')\nvar proxy = require('http-proxy-middleware')\nvar app = express()\n\napp.use('/api', proxy"
},
{
"path": "assets/app.js",
"chars": 704,
"preview": "// var Vue = require('vue')\n\n(function () { 'use strict'\n var createApp = function () {\n // ---------------------\n "
},
{
"path": "assets/vue.js",
"chars": 244430,
"preview": "/*!\n * Vue.js v2.2.6\n * (c) 2014-2017 Evan You\n * Released under the MIT License.\n */\n(function (global, factory) {\n\ttyp"
},
{
"path": "build/build.js",
"chars": 953,
"preview": "require('./check-versions')()\n\nprocess.env.NODE_ENV = 'production'\n\nvar ora = require('ora')\nvar rm = require('rimraf')\n"
},
{
"path": "build/check-versions.js",
"chars": 1172,
"preview": "var chalk = require('chalk')\nvar semver = require('semver')\nvar packageConfig = require('../package.json')\n\nfunction exe"
},
{
"path": "build/dev-client.js",
"chars": 245,
"preview": "/* eslint-disable */\nrequire('eventsource-polyfill')\nvar hotClient = require('webpack-hot-middleware/client?noInfo=true&"
},
{
"path": "build/dev-server.js",
"chars": 2518,
"preview": "require('./check-versions')()\n\nvar config = require('../config')\nif (!process.env.NODE_ENV) {\n process.env.NODE_ENV = J"
},
{
"path": "build/utils.js",
"chars": 1949,
"preview": "var path = require('path')\nvar config = require('../config')\nvar ExtractTextPlugin = require('extract-text-webpack-plugi"
},
{
"path": "build/vue-loader.conf.js",
"chars": 307,
"preview": "var utils = require('./utils')\nvar config = require('../config')\nvar isProduction = process.env.NODE_ENV === 'production"
},
{
"path": "build/webpack.base.conf.js",
"chars": 1548,
"preview": "var path = require('path')\nvar utils = require('./utils')\nvar config = require('../config')\nvar vueLoaderConfig = requir"
},
{
"path": "build/webpack.dev.conf.js",
"chars": 1225,
"preview": "var utils = require('./utils')\nvar webpack = require('webpack')\nvar config = require('../config')\nvar merge = require('w"
},
{
"path": "build/webpack.prod.conf.js",
"chars": 3883,
"preview": "var path = require('path')\nvar utils = require('./utils')\nvar webpack = require('webpack')\nvar config = require('../conf"
},
{
"path": "build/webpack.test.conf.js",
"chars": 584,
"preview": "// This is the webpack config used for unit tests.\n\nvar utils = require('./utils')\nvar webpack = require('webpack')\nvar "
},
{
"path": "build/webpack.test1.conf.js",
"chars": 1257,
"preview": "const webpack = require('webpack');\nconst path = require('path');\nconst projectRoot = __dirname;\n\nconst env = process.en"
},
{
"path": "config/dev.env.js",
"chars": 139,
"preview": "var merge = require('webpack-merge')\nvar prodEnv = require('./prod.env')\n\nmodule.exports = merge(prodEnv, {\n NODE_ENV: "
},
{
"path": "config/index.js",
"chars": 1596,
"preview": "// see http://vuejs-templates.github.io/webpack for documentation.\nvar path = require('path')\n\nmodule.exports = {\n buil"
},
{
"path": "config/prod.env.js",
"chars": 48,
"preview": "module.exports = {\n NODE_ENV: '\"production\"'\n}\n"
},
{
"path": "config/test.env.js",
"chars": 132,
"preview": "var merge = require('webpack-merge')\nvar devEnv = require('./dev.env')\n\nmodule.exports = merge(devEnv, {\n NODE_ENV: '\"t"
},
{
"path": "dist/index.html",
"chars": 446,
"preview": "<!DOCTYPE html><html><head><meta charset=utf-8><title>film-shop</title><link href=/static/css/app.8c271112f4a1494c25c7af"
},
{
"path": "dist/static/css/app.8c271112f4a1494c25c7afd8c30bce26.css",
"chars": 166827,
"preview": ".el-breadcrumb:after,.el-breadcrumb:before,.el-button-group:after,.el-button-group:before,.el-form-item:after,.el-form-i"
},
{
"path": "dist/static/js/app.0bd3338743750b7fdec6.js",
"chars": 59156,
"preview": "webpackJsonp([1],Array(20).concat([function(t,e,s){t.exports=s.p+\"static/img/seat-blank.c074b2c.png\"},function(t,e,s){t."
},
{
"path": "dist/static/js/manifest.f5cd4fe7efba2f755be1.js",
"chars": 1498,
"preview": "!function(e){function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.e"
},
{
"path": "dist/static/js/vendor.5485ce944c8bee479c64.js",
"chars": 604747,
"preview": "webpackJsonp([0],[function(e,t,n){\"use strict\";function i(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=argum"
},
{
"path": "index.html",
"chars": 248,
"preview": "<!DOCTYPE html>\n<html>\n <head>\n <meta charset=\"utf-8\">\n <title>film-shop</title>\n </head>\n <body>\n <div id=\""
},
{
"path": "package.json",
"chars": 2980,
"preview": "{\n \"name\": \"film-shop\",\n \"version\": \"1.0.0\",\n \"description\": \"A film shopping website\",\n \"author\": \"陈纪庚 <178854407@q"
},
{
"path": "pom.xml",
"chars": 22,
"preview": "yarn install\nyarn dev\n"
},
{
"path": "src/App.vue",
"chars": 2168,
"preview": "<!-- yf test push -->\n<template>\n <div id=\"app\">\n <Navbar></Navbar>\n <div class='main-content'>\n <router-vie"
},
{
"path": "src/components/LRdialog.vue",
"chars": 6057,
"preview": "<template>\n<div class='lr-diglog'>\n <el-dialog\n :visible.sync=\"dialogVisible\"\n size=\"tiny\"\n :before-close=\"han"
},
{
"path": "src/components/Nav.vue",
"chars": 2283,
"preview": "<template lang='jade'>\r\n.nav\r\n el-menu(theme='dark' class=\"yue-nav\" mode=\"horizontal\" v-bind:default-active=\"activeItem"
},
{
"path": "src/components/OrderCard.vue",
"chars": 2743,
"preview": "<template lang='jade'>\n.order-card.tc.bg-white.mb-20\n p.status {{ order.status }}\n p.movie-name.large.mt-15 {{ order.m"
},
{
"path": "src/components/OrderDetailDialog.vue",
"chars": 2889,
"preview": "<template>\n<div>\n <el-dialog\n class='order-detail tc'\n :visible.sync=\"dialogVisible\"\n size=\"tiny\"\n :before-"
},
{
"path": "src/components/applyYDialog.vue",
"chars": 2459,
"preview": "<template>\n<div id='Ydiglog'>\n <el-dialog\n class='Ydiglog tl'\n :visible.sync=\"dialogVisible\"\n size=\"tiny\"\n "
},
{
"path": "src/components/payDialog.vue",
"chars": 3346,
"preview": "<template>\n<div>\n <el-dialog\n class='pay tc'\n :visible.sync=\"dialogVisible\"\n size=\"tiny\"\n :before-close=\"ha"
},
{
"path": "src/main.js",
"chars": 935,
"preview": "// The Vue build version to load with the `import` command\n// (runtime-only or standalone) has been set in webpack.base."
},
{
"path": "src/router/index.js",
"chars": 792,
"preview": "import Vue from 'vue'\nimport Router from 'vue-router'\nimport Home from '@/views/Home'\nimport MovieDetail from '@/views/M"
},
{
"path": "src/store/index.js",
"chars": 278,
"preview": "/**\r\n * create By 陈纪庚 178854407@qq.com\r\n * 用来引入modules里注册的模块\r\n */\r\n\r\nimport Vuex from 'vuex'\r\nimport Vue from 'vue'\r\nimp"
},
{
"path": "src/store/modules/content.js",
"chars": 2217,
"preview": "const content = {\r\n state: {\r\n userinfo: {\r\n phone: '',\r\n username: '',\r\n gender: '',\r\n login: f"
},
{
"path": "src/styles/common.css",
"chars": 346,
"preview": ".lr-diglog .el-dialog__body {\n padding-top: 10px;\n}\n\n.lr-diglog .el-dialog {\n width: 450px;\n}\n\n.el-form label {\n /*te"
},
{
"path": "src/views/Home.vue",
"chars": 9277,
"preview": "<template lang='jade'>\r\n\r\n\r\n.home\r\n .tri\r\n header#logo-header\r\n img.home-header-img(src=\"../assets/yue1.png\" alt=\"约"
},
{
"path": "src/views/MovieDetail.vue",
"chars": 3247,
"preview": "<template lang='jade'>\ndiv\n el-row.movie-detail(v-if='!loading')\n el-col.left(v-bind:span=\"12\")\n .img-container"
},
{
"path": "src/views/NotFoundComponent.vue",
"chars": 236,
"preview": "<template lang='jade'>\nh1 你访问的页面不存在\n</template>\n\n<script>\nexport default {\n name: 'notfound',\n data () {\n return {\n"
},
{
"path": "src/views/Order.vue",
"chars": 1466,
"preview": "<template lang='jade'>\n.order.tl\n header.m-20\n img(v-if='info.gender === false' src='../assets/boy.png')\n img(v-i"
},
{
"path": "src/views/SelectSeat.vue",
"chars": 8923,
"preview": "<template lang='jade'>\n .SelectSeat\n el-row\n el-col.tips(v-bind:span='6')\n .tip.m-5\n img(src=\"."
},
{
"path": "src/views/TheaterDetail.vue",
"chars": 3995,
"preview": "<template lang='jade'>\ndiv\n .theater-detail(v-if='!loading')\n .select-header\n span.font-10.bold.white SELECT MO"
},
{
"path": "static/.gitkeep",
"chars": 0,
"preview": ""
},
{
"path": "test/e2e/custom-assertions/elementCount.js",
"chars": 785,
"preview": "// A custom Nightwatch assertion.\n// the name of the method is the filename.\n// can be used in tests like this:\n//\n// "
},
{
"path": "test/e2e/nightwatch.conf.js",
"chars": 1027,
"preview": "require('babel-register')\nvar config = require('../../config')\n\n// http://nightwatchjs.org/getingstarted#settings-file\nm"
},
{
"path": "test/e2e/runner.js",
"chars": 1100,
"preview": "// 1. start the dev server using production config\nprocess.env.NODE_ENV = 'testing';\nvar server = require('../../build/d"
},
{
"path": "test/e2e/specs/test.js",
"chars": 569,
"preview": "// For authoring Nightwatch tests, see\n// http://nightwatchjs.org/guide#usage\n\nmodule.exports = {\n 'default e2e tests':"
},
{
"path": "test/unit/.eslintrc",
"chars": 95,
"preview": "{\n \"env\": {\n \"mocha\": true\n },\n \"globals\": {\n \"expect\": true,\n \"sinon\": true\n }\n}\n"
},
{
"path": "test/unit/index.js",
"chars": 619,
"preview": "import Vue from 'vue';\nVue.config.productionTip = false;\n\n// Polyfill fn.bind() for PhantomJS\n/* eslint-disable no-exten"
},
{
"path": "test/unit/karma.conf.js",
"chars": 980,
"preview": "// This is a karma config file. For more details see\n// http://karma-runner.github.io/0.13/config/configuration-file.h"
},
{
"path": "test/unit/specs/Hello.spec.js",
"chars": 342,
"preview": "import Vue from 'vue';\nimport Hello from '@/components/Hello';\n\ndescribe('Hello.vue', () => {\n it('should render correc"
},
{
"path": "tt.txt",
"chars": 7,
"preview": "asdasd\n"
},
{
"path": "webpack.test1.conf.js",
"chars": 1251,
"preview": "const webpack = require('webpack');\nconst path = require('path');\nconst projectRoot = __dirname;\n\nconst env = process.en"
}
]
About this extraction
This page contains the full source code of the chenjigeng/filmshopping GitHub repository, extracted and formatted as plain text for AI agents and large language models (LLMs). The extraction includes 70 files (1.1 MB), approximately 371.4k tokens, and a symbol index with 965 extracted functions, classes, methods, constants, and types. Use this with OpenClaw, Claude, ChatGPT, Cursor, Windsurf, or any other AI tool that accepts text input. You can copy the full output to your clipboard or download it as a .txt file.
Extracted by GitExtract — free GitHub repo to text converter for AI. Built by Nikandr Surkov.