diff --git a/.DS_Store b/.DS_Store
new file mode 100644
index 0000000..5008ddf
Binary files /dev/null and b/.DS_Store differ
diff --git a/.env.example b/.env.example
new file mode 100644
index 0000000..cd06cc8
--- /dev/null
+++ b/.env.example
@@ -0,0 +1,35 @@
+APP_NAME=Laravel
+APP_ENV=local
+APP_KEY=
+APP_DEBUG=true
+APP_LOG_LEVEL=debug
+APP_URL=http://localhost
+
+DB_CONNECTION=mysql
+DB_HOST=127.0.0.1
+DB_PORT=3306
+DB_DATABASE=homestead
+DB_USERNAME=homestead
+DB_PASSWORD=secret
+
+BROADCAST_DRIVER=log
+CACHE_DRIVER=file
+SESSION_DRIVER=file
+SESSION_LIFETIME=120
+QUEUE_DRIVER=sync
+
+REDIS_HOST=127.0.0.1
+REDIS_PASSWORD=null
+REDIS_PORT=6379
+
+MAIL_DRIVER=smtp
+MAIL_HOST=smtp.mailtrap.io
+MAIL_PORT=2525
+MAIL_USERNAME=null
+MAIL_PASSWORD=null
+MAIL_ENCRYPTION=null
+
+PUSHER_APP_ID=
+PUSHER_APP_KEY=
+PUSHER_APP_SECRET=
+PUSHER_APP_CLUSTER=mt1
diff --git a/.gitignore b/.gitignore
index 6a91b98..b6a4b86 100644
--- a/.gitignore
+++ b/.gitignore
@@ -4,13 +4,9 @@
/storage/*.key
/vendor
/.idea
-/.vscode
/.vagrant
Homestead.json
Homestead.yaml
npm-debug.log
yarn-error.log
.env
-
-/public/js/app.js
-/public/css/app.css
diff --git a/app/Exceptions/Handler.php b/app/Exceptions/Handler.php
index 043cad6..4ba56ba 100644
--- a/app/Exceptions/Handler.php
+++ b/app/Exceptions/Handler.php
@@ -3,6 +3,8 @@
namespace App\Exceptions;
use Exception;
+use Illuminate\Http\Request;
+use Illuminate\Auth;
use Illuminate\Foundation\Exceptions\Handler as ExceptionHandler;
class Handler extends ExceptionHandler
@@ -29,6 +31,8 @@ class Handler extends ExceptionHandler
/**
* Report or log an exception.
*
+ * This is a great spot to send exceptions to Sentry, Bugsnag, etc.
+ *
* @param \Exception $exception
* @return void
*/
@@ -48,4 +52,5 @@ public function render($request, Exception $exception)
{
return parent::render($request, $exception);
}
+
}
diff --git a/app/Http/Controllers/Admin/IndexController.php b/app/Http/Controllers/Admin/IndexController.php
new file mode 100644
index 0000000..43f9e4b
--- /dev/null
+++ b/app/Http/Controllers/Admin/IndexController.php
@@ -0,0 +1,14 @@
+middleware('guest:admin')->except('logout');
+ }
+
+// public function mylogin(Request $request)
+// {
+// if (Auth::attempt(['email' => $request->input('email'), 'password' => $request->input('password'), 'is_active' => 1])) {
+// return redirect()->intended('/');
+// }
+//
+// }
+ public function showLoginForm()
+ {
+ return view('admin.auth.login');
+ }
+
+ protected function guard()
+ {
+ return \Auth::guard('admin');
+ }
+
+ public function logout(Request $request)
+ {
+ $this->guard()->logout();
+
+ $request->session()->flush();
+
+ $request->session()->regenerate();
+
+ return redirect('/');
+ }
+}
diff --git a/app/Http/Controllers/Auth/LoginController.php b/app/Http/Controllers/Auth/LoginController.php
index b2ea669..e642357 100644
--- a/app/Http/Controllers/Auth/LoginController.php
+++ b/app/Http/Controllers/Auth/LoginController.php
@@ -2,7 +2,10 @@
namespace App\Http\Controllers\Auth;
+use Illuminate\Validation;
use App\Http\Controllers\Controller;
+use Illuminate\Support\Facades\Auth;
+use Illuminate\http\request;
use Illuminate\Foundation\Auth\AuthenticatesUsers;
class LoginController extends Controller
@@ -36,4 +39,21 @@ public function __construct()
{
$this->middleware('guest')->except('logout');
}
+
+ public function mylogin(Request $request)
+ {
+ $this->validate(request(),[
+ 'email' => 'required|email',
+ 'password' => 'required',
+ ]);
+ if (Auth::attempt(['email' => $request->input('email'), 'password' => $request->input('password'), 'is_active' => 1])) {
+ return redirect('/');
+ //return redirect()->intended('/');
+ }
+ else {
+ throw \Illuminate\Validation\ValidationException::withMessages([
+ $this->username() => [trans('auth.failed')],
+ ]);
+ }
+ }
}
diff --git a/app/Http/Controllers/Auth/RegisterController.php b/app/Http/Controllers/Auth/RegisterController.php
index f9ce290..74d95d6 100644
--- a/app/Http/Controllers/Auth/RegisterController.php
+++ b/app/Http/Controllers/Auth/RegisterController.php
@@ -4,9 +4,9 @@
use App\Models\User;
use App\Http\Controllers\Controller;
-use Illuminate\Support\Facades\Hash;
use Illuminate\Support\Facades\Validator;
use Illuminate\Foundation\Auth\RegistersUsers;
+use Illuminate\Validation\Rule;
class RegisterController extends Controller
{
@@ -28,7 +28,7 @@ class RegisterController extends Controller
*
* @var string
*/
- protected $redirectTo = '/home';
+ protected $redirectTo = '/register/agreement';
/**
* Create a new controller instance.
@@ -49,9 +49,13 @@ public function __construct()
protected function validator(array $data)
{
return Validator::make($data, [
- 'name' => 'required|string|max:255',
- 'email' => 'required|string|email|max:255|unique:users',
+ 'user_name' => 'required|string|max:255',
+ 'email' => ['required', 'string', 'email', 'max:255',Rule::unique('users')->where(function ($query) {
+ $query->where('is_active', 1);
+ })],
'password' => 'required|string|min:6|confirmed',
+ 'first_name' => 'required|string|max:255',
+ 'last_name' => 'required|string|max:255',
]);
}
@@ -64,9 +68,13 @@ protected function validator(array $data)
protected function create(array $data)
{
return User::create([
- 'name' => $data['name'],
+ 'user_name' => $data['user_name'],
'email' => $data['email'],
- 'password' => Hash::make($data['password']),
+ 'password' => bcrypt($data['password']),
+ 'first_name' => $data['first_name'],
+ 'last_name' => $data['last_name'],
+// 'last_login' => now(),
+ 'is_active' => 0
]);
}
}
diff --git a/app/Http/Controllers/CaseStudyController.php b/app/Http/Controllers/CaseStudyController.php
index adda4c4..f148162 100644
--- a/app/Http/Controllers/CaseStudyController.php
+++ b/app/Http/Controllers/CaseStudyController.php
@@ -6,11 +6,14 @@
use Illuminate\Support\Facades\DB;
use Symfony\Component\Console\Helper\Table;
use Illuminate\Database\Eloquent\Model;
+use Illuminate\Support\Facades\Auth;
+
class CaseStudyController extends Controller
{
public function chapter($id,$step_id)
{
+ $user_id = Auth::id();
$chapters = DB::table('chapters')
->select('chapters.id','chapters.title')
->orderBy('chapters.id')->get();
@@ -19,10 +22,10 @@ public function chapter($id,$step_id)
->select('case_study_material.id','case_study_material.title','case_study_material.details','case_study_material.reference')
->orderBy('case_study_material.id')->get();
- $case_question = DB::table('case_study_step')
- ->select('case_study_step.question_id','case_study_step.question_detail','case_study_step.step_id')
- ->orderBy('case_study_step.step_id')
- ->orderBy('case_study_step.question_id')->get();
+ $case_question = DB::table('case_study_question')
+ ->select('case_study_question.question_rank as question_id','case_study_question.detail as question_detail','case_study_question.step_id')
+ ->orderBy('case_study_question.step_id')
+ ->orderBy('case_study_question.question_rank')->get();
$principle = DB::table('ethical_principles')
->join('detail_principles','ethical_principles.id','=','detail_principles.title_id')
@@ -31,60 +34,71 @@ public function chapter($id,$step_id)
->orderBy('detail_principles.detail_id')->get();
$answer = DB::table('case_study_answer')
- ->select('case_study_answer.question_answer','case_study_answer.step_id','case_study_answer.user_id','case_study_answer.question_id')
- ->where('case_study_answer.case_id','=',$id)
- ->orderBy('case_study_answer.step_id')
- ->orderBy('case_study_answer.question_id')->get();
+ ->join('case_to_question','case_study_answer.id','=','case_to_question.id')
+ ->join('case_study_question','case_study_question.id','=','case_to_question.question_id')
+ ->select('case_study_answer.answer as question_answer','case_study_question.step_id','case_study_question.question_rank as question_id')
+ ->where('case_to_question.case_id','=',$id)
+ ->where('case_study_answer.user_id','=',$user_id)
+ ->orderBy('case_study_question.step_id')
+ ->orderBy('case_study_question.question_rank')->get();
- return view('CaseStudy', compact('case_study','chapters','case_question','principle','id','step_id','answer'));
+ return view('CaseStudy', compact('case_study','chapters','case_question','principle','id','step_id','answer','user_id'));
}//
public function useransweredit()
{
+ $user_id = Auth::id();
foreach($_POST["question_id"] as $pointer)
{
- $user_id = $_POST["user_id"][$pointer-1];
- $case_id = $_POST["case_id"][$pointer-1];
- $case_step_id = $_POST["step_id"][$pointer-1];
- $question_id = $_POST["question_id"][$pointer-1];
- $question_answer = $_POST["question_answer"][$pointer-1];
-
- $answer = DB::table('case_study_answer')
- ->select('case_study_answer.user_id')
- ->where('case_study_answer.user_id','=',$user_id)
- ->where('case_study_answer.case_id','=',$case_id)
- ->where('case_study_answer.step_id','=',$case_step_id)
- ->where('case_study_answer.question_id','=',$question_id)
- ->get();
-
- if(count($answer) == 0) {
- DB::transaction(function () use ($user_id, $case_id, $case_step_id, $question_id, $question_answer) {
- DB::table('case_study_answer')
- ->insert([
- 'case_study_answer.user_id' => $user_id,
- 'case_study_answer.case_id' => $case_id,
- 'case_study_answer.step_id' => $case_step_id,
- 'case_study_answer.question_id' => $question_id,
- 'case_study_answer.question_answer' => $question_answer
- ]);
- });
+ $case_id = $_POST["case_id"][$pointer-1];
+ $case_step_id = $_POST["step_id"][$pointer-1];
+ $question_id = $_POST["question_id"][$pointer-1];
+ $question_answer = $_POST["question_answer"][$pointer-1];
+
+ $case_question_id = DB::table('case_study_question')
+ ->join('case_to_question','case_study_question.id','=','case_to_question.question_id')
+ ->select('case_to_question.id')
+ ->where('case_to_question.case_id','=',$case_id)
+ ->where('case_study_question.step_id','=',$case_step_id)
+ ->where('case_study_question.question_rank','=',$question_id)
+ ->get();
+ $case_question_id = json_decode($case_question_id,true);
+ $id = $case_question_id[0]['id'];
+
+ $answer = DB::table('case_study_answer')
+ ->select('case_study_answer.user_id')
+ ->where('case_study_answer.id','=',$id)
+ ->where('case_study_answer.user_id','=',$user_id)
+ ->get();
+
+ if(count($answer) == 0) {
+ DB::transaction(function () use ($user_id,$id, $question_answer) {
+ DB::table('case_study_answer')
+ ->insert([
+ 'case_study_answer.user_id' => $user_id,
+ 'case_study_answer.id' => $id,
+ 'case_study_answer.answer' => $question_answer
+ ]);
+ });
+ }
+ elseif(count($answer) != 0){
+ DB::transaction(function () use ($user_id,$id, $question_answer) {
+ DB::table('case_study_answer')
+ ->where('case_study_answer.user_id', '=', $user_id)
+ ->where('case_study_answer.id', '=', $id)
+ ->update([
+ 'case_study_answer.answer' => $question_answer
+ ]);
+ });
}
- elseif(count($answer) != 0){
- DB::transaction(function () use ($user_id, $case_id, $case_step_id, $question_id, $question_answer) {
- DB::table('case_study_answer')
- ->where('case_study_answer.user_id', '=', $user_id)
- ->where('case_study_answer.case_id', '=', $case_id)
- ->where('case_study_answer.step_id', '=', $case_step_id)
- ->where('case_study_answer.question_id', '=', $question_id)
- ->update([
- 'case_study_answer.question_answer' => $question_answer
- ]);
- });
- }
}
+ if(!$case_step_id ==10){
+ $case_step_id = $case_step_id+1;
+
+ }
+ return redirect("/casestudy/$case_id/step/$case_step_id");
-
- }
+ }
diff --git a/app/Http/Controllers/ChapterController.php b/app/Http/Controllers/ChapterController.php
index a2f79cd..e6b25eb 100644
--- a/app/Http/Controllers/ChapterController.php
+++ b/app/Http/Controllers/ChapterController.php
@@ -5,11 +5,14 @@
use Illuminate\Http\Request;
use Illuminate\Support\Facades\DB;
use Symfony\Component\Console\Helper\Table;
+use Illuminate\Support\Facades\Auth;
+
class ChapterController extends Controller
{
public function chapter($id,$section_rank)
{
+ $user_id = Auth::user()->id;
$sections = DB::table('sections')
->join('chapter_section','sections.id','=','chapter_section.section_id')
->join('chapters','chapters.id','=','chapter_section.chapter_id')
@@ -22,11 +25,13 @@ public function chapter($id,$section_rank)
->select('chapters.id','chapters.title')
->orderBy('chapters.id')->get();
- $user_answer = DB::table('user_section_answer')
- ->select('user_section_answer.answer','user_section_answer.question_id','user_section_answer.user_id')
- ->where('user_section_answer.section_rank','=',$section_rank)
- ->where('user_section_answer.chapter_id','=',$id)
- ->orderBy('user_section_answer.question_id')->get();
+ $user_answer = DB::table('section_question_answer')
+ ->join('section_question','section_question_answer.id','=','section_question.id')
+ ->join('sections','section_question.section_id','=','sections.id')
+ ->join('chapter_section','sections.id','=','chapter_section.section_id')
+ ->select('section_question_answer.answer','section_question.question_rank as question_rank','section_question_answer.user_id','chapter_section.chapter_id as chapter_id','sections.rank as section_rank')
+ ->where('section_question_answer.user_id','=',$user_id)
+ ->orderBy('section_question.question_rank')->get();
$sections_title = DB::table('sections')
->join('chapter_section','sections.id','=','chapter_section.section_id')
@@ -46,53 +51,59 @@ public function chapter($id,$section_rank)
$section_question = DB::table('section_question')
->join('sections','section_question.section_id','=','sections.id')
->join('chapter_section','sections.id','=','chapter_section.section_id')
- ->select('section_question.question_id','section_question.question')
+ ->select('section_question.question_rank','section_question.detail')
->where('chapter_section.chapter_id','=',$id)
->where('sections.rank','=',$section_rank)
- ->orderBy('section_question.question_id')->get();
+ ->orderBy('section_question.question_rank')->get();
return view('chapter', compact('user_answer','sections','chapters','sections_title','case_study','chapter_section','section_question','id','section_rank'));
}
public function answeredit()
{
+ $user_id = Auth::user()->id;
+
foreach($_POST["question_id"] as $pointer)
{
- $user_id = $_POST["user_id"][$pointer-1];
$chapter_id = $_POST["chapter_id"][$pointer-1];
$sec_rank = $_POST["section_rank"][$pointer-1];
$question_id = $_POST["question_id"][$pointer-1];
$question_answer = $_POST["answer"][$pointer-1];
- $answer = DB::table('user_section_answer')
- ->select('user_section_answer.user_id')
- ->where('user_section_answer.user_id','=',$user_id)
- ->where('user_section_answer.chapter_id','=',$chapter_id)
- ->where('user_section_answer.section_rank','=',$sec_rank)
- ->where('user_section_answer.question_id','=',$question_id)
+ $section_question_id = DB::table('section_question')
+ ->join('sections','section_question.section_id','=','sections.id')
+ ->join('chapter_section','chapter_section.section_id','=','sections.id')
+ ->select('section_question.id')
+ ->where('chapter_section.chapter_id','=',$chapter_id)
+ ->where('sections.rank','=',$sec_rank)
+ ->where('section_question.question_rank','=',$question_id)
+ ->get();
+ $section_question_id = json_decode($section_question_id,true);
+ $id = $section_question_id[0]['id'];
+ $user_answer = DB::table('section_question_answer')
+ ->select('section_question_answer.id')
+ ->where('section_question_answer.user_id','=',$user_id)
+ ->where('section_question_answer.id','=',$id)
->get();
+ $user_answer = json_decode($user_answer,true);
- if(count($answer) == 0) {
- DB::transaction(function () use ($user_id, $chapter_id, $sec_rank, $question_id, $question_answer) {
- DB::table('user_section_answer')
+ if(count($user_answer) == 0) {
+ DB::transaction(function () use ($user_id,$id, $question_answer) {
+ DB::table('section_question_answer')
->insert([
- 'user_section_answer.user_id' => $user_id,
- 'user_section_answer.chapter_id' => $chapter_id,
- 'user_section_answer.section_rank' => $sec_rank,
- 'user_section_answer.question_id' => $question_id,
- 'user_section_answer.answer' => $question_answer
+ 'section_question_answer.user_id' => $user_id,
+ 'section_question_answer.id' => $id,
+ 'section_question_answer.answer' => $question_answer
]);
});
}
- elseif(count($answer) != 0){
- DB::transaction(function () use ($user_id, $chapter_id, $sec_rank, $question_id, $question_answer) {
- DB::table('user_section_answer')
- ->where('user_section_answer.user_id', '=', $user_id)
- ->where('user_section_answer.chapter_id', '=', $chapter_id)
- ->where('user_section_answer.section_rank', '=', $sec_rank)
- ->where('user_section_answer.question_id', '=', $question_id)
+ elseif(count($user_answer) != 0){
+ DB::transaction(function () use ($user_id,$id, $question_answer) {
+ DB::table('section_question_answer')
+ ->where('section_question_answer.user_id', '=', $user_id)
+ ->where('section_question_answer.id', '=', $id)
->update([
- 'user_section_answer.answer' => $question_answer
+ 'section_question_answer.answer' => $question_answer
]);
});
}
@@ -100,5 +111,6 @@ public function answeredit()
+
}
}
diff --git a/app/Http/Controllers/ChoosequestionController.php b/app/Http/Controllers/ChoosequestionController.php
new file mode 100644
index 0000000..2cb97cc
--- /dev/null
+++ b/app/Http/Controllers/ChoosequestionController.php
@@ -0,0 +1,187 @@
+select('id','title')
+ ->get();
+
+ $casestudy = DB::table('case_to_question')
+ ->join('case_study_question','case_study_question.id','=','case_to_question.question_id')
+ ->join('case_study_material','case_study_material.id','=','case_to_question.case_id')
+ ->select('case_to_question.id','case_to_question.question_id','case_to_question.case_id',
+ 'case_study_question.question_rank','case_study_question.detail')
+ ->get();
+ $survey = DB::table('survey_detail_question')
+ ->select('id','survey_id','detail')
+ ->get();
+
+ $section = DB::table('section_question')
+ ->select('id','section_id','question_rank','detail')
+ ->get();
+ $question_hasresult = DB::table('temp_result')->select('id','type_id','question_id')->get();
+
+ $question_hasresult = json_decode($question_hasresult,true);
+ $case_hasresult = array();
+ $survey_hasresult = array();
+ $section_hasresult = array();
+ foreach($question_hasresult as $item){
+ if ($item['type_id'] == 1) {
+ array_push($case_hasresult, $item['question_id']);
+ } elseif ($item['type_id'] == 2){
+ array_push($section_hasresult, $item['question_id']);
+ } elseif ($item['type_id'] == 3){
+ array_push($survey_hasresult, $item['question_id']);
+ }
+ }
+ return view('admin.data_analysis.show_question',
+ compact('casematerial','casestudy','survey','section','case_hasresult','section_hasresult','survey_hasresult'));
+
+ }
+
+ public function survey($id)
+ {
+ $number=DB::table('survey_answer')
+ ->where('id','=',$id)
+ ->count();
+ if($number==0){
+ return view('admin.data_analysis.noanswer');
+ }
+ else{
+ $user= DB::table('survey_answer')
+ ->join('users','survey_answer.user_id','=','users.id')
+ ->where('survey_answer.id','=',$id)
+ ->where('users.is_active','=',1)
+ ->get();
+ $type=1;
+ return view('admin.data_analysis.question_choose_user',compact('user','type','id'));
+ }
+ }
+
+ public function casestudy($id)
+ {
+ $number=DB::table('case_study_answer')
+ ->where('id','=',$id)
+ ->count();
+ if($number>0) {
+ $user = DB::table('case_study_answer')
+ ->join('users', 'case_study_answer.user_id', '=', 'users.id')
+ ->where('case_study_answer.id', '=', $id)
+ ->where('users.is_active','=',1)
+ ->get();
+ $type = 2;
+ return view('admin.data_analysis.question_choose_user', compact('user', 'type','id'));
+ }
+ else{
+ return view('admin.data_analysis.noanswer');
+ }
+
+ }
+
+ public function section($id)
+ {
+ $number=DB::table('survey_answer')
+ ->where('id','=',$id)
+ ->count();
+ if($number==0){
+ return view('admin.data_analysis.noanswer');
+ }
+ else{
+ $user= DB::table('section_question_answer')
+ ->join('users','section_question_answer.user_id','=','users.id')
+ ->where('section_question_answer.id','=',$id)
+ ->where('users.is_active','=',1)
+ ->get();
+ $type=3;
+ return view('admin.data_analysis.question_choose_user',compact('user','type','id'));
+ }
+ }
+
+ public function submit()
+ {
+// $users = $_POST["userid"];
+
+
+ $type = $_POST["type"]; //type 1=survey 2=case study 3=section question
+ $question_id = $_POST["questionid"];
+ $function = $_POST["Function"];
+ $property=$_POST["Focus"]; //Focus = Age/Income
+ if ($type==1){
+ $table="survey_answer";
+ $user= DB::table('survey_answer')
+ ->where('survey_answer.id','=',$question_id)
+ ->get();
+ }
+ elseif($type==2){
+ $table="case_study_answer";
+ $user = DB::table('case_study_answer')
+ ->where('case_study_answer.id', '=', $question_id)
+ ->get();
+ }
+ elseif($type==3){
+ $table="section_question_answer";
+ $user= DB::table('section_question_answer')
+ ->where('section_question_answer.id','=',$question_id)
+ ->get();
+ }
+ $message = $function.";".$table.";".$question_id.";";
+
+ $user=json_decode($user,true);
+
+ foreach ($user as $temp){
+ $userid=$temp["user_id"];
+
+ $message=$message.$userid.",";
+ }
+ if(count($user)!=0){
+ $message = substr($message,0,strlen($message)-1);
+ }
+ $message = $message.";".$property;
+// foreach ($users as $temp){
+// $message= $message.";".$temp;
+// }
+ $message = mb_convert_encoding($message,'GBK','UTF-8');
+
+
+
+
+ $socket = socket_create(AF_INET,SOCK_STREAM,SOL_TCP);
+
+ if(socket_connect($socket,'192.168.122.97',6666) == false){
+ $return_message= 'connect fail massege:'.socket_strerror(socket_last_error());
+ }else{
+
+
+ if(socket_write($socket,$message,strlen($message)) == false){
+ $return_message='fail to write'.socket_strerror(socket_last_error());
+
+ }else{
+ while($callback = socket_read($socket,1024)){
+ $return_message= 'server return message is:'.PHP_EOL.$callback;
+ }
+ }
+ }
+ socket_close($socket);
+
+
+
+ return redirect('/dataanalysis');
+
+ }
+
+ public function result($type,$id)
+ {
+ $result = DB::table('temp_result')->where('question_id','=',$id)
+ ->where('type_id','=',$type)->orderBy('id','desc')->get();
+ return view('admin.data_analysis.analysis_result',compact('result'));
+ }
+}
diff --git a/app/Http/Controllers/HomeController.php b/app/Http/Controllers/HomeController.php
index 9eb2904..c861b74 100644
--- a/app/Http/Controllers/HomeController.php
+++ b/app/Http/Controllers/HomeController.php
@@ -6,5 +6,23 @@
class HomeController extends Controller
{
- //
+ /**
+ * Create a new controller instance.
+ *
+ * @return void
+ */
+ public function __construct()
+ {
+ $this->middleware('auth');
+ }
+
+ /**
+ * Show the application dashboard.
+ *
+ * @return \Illuminate\Http\Response
+ */
+ public function index()
+ {
+ return view('Homepage');
+ }
}
diff --git a/app/Http/Controllers/ListChapterController.php b/app/Http/Controllers/ListChapterController.php
index 586e38c..1003aa6 100644
--- a/app/Http/Controllers/ListChapterController.php
+++ b/app/Http/Controllers/ListChapterController.php
@@ -43,25 +43,36 @@ public function materialadd()
->where('chapters.id', '=', $chapter_id)
->where('sections.rank', '=', $section_rank)
->get();
+ $chapters = DB::table('chapters')
+ ->select('chapters.id')
+ ->where('chapters.id','=',$chapter_id)
+ ->get();
//!empty($sections['id'])
if (count($sections) != 0) {
$reture_url=url("/admin/material/add");
$errordata="The section already exist";
return view('Error_Page',$reture_url,$errordata);
} else {
- DB::transaction(function () use ($chapter_id, $section_rank, $section_title, $section_detail) {
- $section_id = DB::table('sections')
- ->insertGetId([
- 'rank' => $section_rank,
- 'title' => $section_title,
- 'detail' => $section_detail
- ]);
- DB::table('chapter_section')
- ->insert([
- 'chapter_id' => $chapter_id,
- 'section_id' => $section_id
- ]);
- });
+ if(count($chapters) != 0){
+// DB::transaction(function () use ($chapter_id, $section_rank, $section_title, $section_detail) {
+// $section_id = DB::table('sections')
+// ->insertGetId([
+// 'rank' => $section_rank,
+// 'title' => $section_title,
+// 'detail' => $section_detail
+// ]);
+// DB::table('chapter_section')
+// ->insert([
+// 'chapter_id' => $chapter_id,
+// 'section_id' => $section_id
+// ]);
+// });
+ } else {
+ $reture_url=url("/admin/material/add");
+ $errordata="The chapter does not exist";
+ return view('Error_Page',$reture_url,$errordata);
+ }
+
}
@@ -101,21 +112,9 @@ public function materialedit()
'detail' => $section_detail
]);
});
- } else {
- DB::transaction(function () use ($chapter_id, $section_rank, $section_title, $section_detail) {
- $section_id = DB::table('sections')
- ->insertGetId([
- 'rank' => $section_rank,
- 'title' => $section_title,
- 'detail' => $section_detail
- ]);
- DB::table('chapter_section')
- ->insert([
- 'chapter_id' => $chapter_id,
- 'section_id' => $section_id
- ]);
- });
- }
+ } //else {
+// ;//
+// }
return view('administer_material_section');
diff --git a/app/Http/Controllers/ModifyMaterialController.php b/app/Http/Controllers/ModifyMaterialController.php
index bde4dcb..0f784ae 100644
--- a/app/Http/Controllers/ModifyMaterialController.php
+++ b/app/Http/Controllers/ModifyMaterialController.php
@@ -4,6 +4,7 @@
use Illuminate\Http\Request;
use Illuminate\Support\Facades\DB;
+use phpDocumentor\Reflection\Types\Null_;
use Symfony\Component\Console\Helper\Table;
use Illuminate\Database\Eloquent\Model;
@@ -20,8 +21,41 @@ public function showsection($id,$section_id)//
return view('section_detail_modify', compact('sections','id','section_id'));
}////
+ public function showsectionquestion($id,$section_id,$question_rank)//
+ {
+ $section_question = DB::table('section_question')
+ ->join('sections','section_question.section_id','=','sections.id')
+ ->join('chapter_section','sections.id','=','chapter_section.section_id')
+ ->select('section_question.id as question_id','section_question.detail as question')
+ ->where('chapter_section.chapter_id','=',$id)
+ ->where('sections.rank','=',$section_id)
+ ->where('section_question.question_rank','=',$question_rank)
+ ->orderBy('section_question.question_rank')->get();
+
+ return view('section_question_modify', compact('section_question','id','section_id','question_rank'));
+ }
+
+ public function showchapter($id)//
+ {
+ $chapters = DB::table('chapters')
+ ->select('chapters.id','chapters.title')
+ ->where('chapters.id','=',$id)
+ ->get();
+
+ return view('Chapter_title_modify', compact('chapters','id'));
+ }
+
+ public function showcase($id)//
+ {
+ $case = DB::table('case_study_material')
+ ->select('id','title','details','reference')
+ ->where('id','=',$id)
+ ->get();
+
+ return view('case_content_modify', compact('case','id'));
+ }
- public function showaddsection($id)//
+ public function addsection($id)//
{
$section = DB::table('sections')
->join('chapter_section','sections.id','=','chapter_section.section_id')
@@ -34,51 +68,278 @@ public function showaddsection($id)//
return view('add_newsection', compact('id','section_counter'));
}
+ public function addnewcase($id)//
+ {
+ return view('add_newcase',compact('id'));
+ }
+ public function addsectionquestion($id)//
+ {
+ return view('add_newsectionquestions', compact('id'));
+ }
+ public function addnewsurvey()//
+ {
+ return view('add_newsurvey');
+ }
+ public function addsurveyquestion($id)//
+ {
+ return view('add_newsurveyquestions', compact('id'));
+ }
public function sectiondetailedit()
{
$chapter_id = $_POST["chapter_id"];
- $section_id = $_POST["section_id"];
+ $section_rank = $_POST["section_id"];
$title = $_POST["title"];
$detail = $_POST["detail"];
- $detail = str_replace("\r\n"," ",$detail);
+ $detail = str_replace("\n"," ",$detail);
- DB::transaction(function () use ($chapter_id, $section_id, $title, $detail) {
+ DB::transaction(function () use ($chapter_id, $section_rank, $title, $detail) {
DB::table('sections')
->join('chapter_section','sections.id','=','chapter_section.section_id')
->where('chapter_section.chapter_id', '=', $chapter_id)
- ->where('sections.rank', '=', $section_id)
+ ->where('sections.rank', '=', $section_rank)
->update([
'sections.title' => $title,
'sections.detail' => $detail
]);
});
}
+
+ public function casedetailedit()
+ {
+ $id = $_POST["id"];
+ $title = $_POST["title"];
+ $detail = $_POST["detail"];
+ $reference = $_POST["reference"];
+ $detail = str_replace("\n"," ",$detail);
+ $reference = str_replace("\n"," ",$reference);
+
+ DB::transaction(function () use ($id, $title, $detail, $reference) {
+ DB::table('case_study_material')
+ ->where('case_study_material.id', '=', $id)
+ ->update([
+ 'case_study_material.title' => $title,
+ 'case_study_material.details' => $detail,
+ 'case_study_material.reference' => $reference
+ ]);
+ });
+ for($question_id = 1; $question_id<=16; $question_id++)
+ DB::transaction(function () use ($id,$question_id) {
+ DB::table('case_to_question')
+ ->insert([
+ 'case_to_question.case_id' => $id,
+ 'case_to_question.question_id' => $question_id
+ ]);
+ });
+
+
+ }
+ public function chaptertitleedit()
+ {
+ $id = $_POST["id"];
+ $title = $_POST["title"];
+
+ DB::transaction(function () use ($id, $title) {
+ DB::table('chapters')
+ ->where('chapters.id', '=', $id)
+ ->update([
+ 'chapters.title' => $title,
+ ]);
+ });
+ }
+ public function sectionquestionedit()
+ {
+ $id = $_POST["question_id"];
+ $title = $_POST["title"];
+
+ DB::transaction(function () use ($id, $title) {
+ DB::table('section_question')
+ ->where('section_question.id', '=', $id)
+ ->update([
+ 'section_question.detail' => $title,
+ ]);
+ });
+ }
+ public function surveydetailedit()
+ {
+ $id = $_POST["survey_id"];
+ $title = $_POST["title"];
+ $choice0 = $_POST["choice0"];
+ $choice1 = $_POST["choice1"];
+ $choice2 = $_POST["choice2"];
+ $choice3 = $_POST["choice3"];
+ $choice4 = $_POST["choice4"];
+ $choice5 = $_POST["choice5"];
+
+ DB::transaction(function () use ($id, $title,$choice0,$choice1,$choice2,$choice3,$choice4,$choice5) {
+ DB::table('survey_question')
+ ->where('survey_question.id', '=', $id)
+ ->update([
+ 'survey_question.title' => $title,
+ 'survey_question.choice0' => $choice0,
+ 'survey_question.choice1' => $choice1,
+ 'survey_question.choice2' => $choice2,
+ 'survey_question.choice3' => $choice3,
+ 'survey_question.choice4' => $choice4,
+ 'survey_question.choice5' => $choice5,
+ ]);
+ });
+
+ }
public function sectiondetailadd()
{
$chapter_id = $_POST["chapter_id"];
$section_id = $_POST["section_id"];
- $section_counter = $_POST["section_counter"];
$title = $_POST["title"];
$detail = $_POST["detail"];
- $detail = str_replace("\r\n"," ",$detail);
+ $detail = str_replace("\n"," ",$detail);
+
+ DB::transaction(function () use ($chapter_id, $section_id, $title, $detail) {
+ DB::table('sections')
+ ->insert([
+ 'sections.rank' => $section_id,
+ 'sections.title' => $title,
+ 'sections.detail' => $detail
+ ]);
+ });
+
+ $section = DB::table('sections')
+ ->select('sections.id')
+ ->orderBy('sections.id')->get();
+ $section = json_decode($section,true);
+ $section_counter = end($section)['id'];
+
+ DB::transaction(function () use ($chapter_id,$section_counter) {
+ DB::table('chapter_section')
+ ->insert([
+ 'chapter_section.chapter_id'=> $chapter_id,
+ 'chapter_section.section_id'=> $section_counter
+ ]);
+ });
+ }
+ public function sectionquestionadd()
+ {
+
+ if($_POST["chapter_id"]!=null and $_POST["question_id"]!=null and $_POST["question_detail"]!=null) {
+
+ $chapter_id = $_POST["chapter_id"];
+ $section_rank = $_POST["section_id"];
+ $question_id = $_POST["question_id"];
+ $question_detail = $_POST["question_detail"];
+
+
+ $section = DB::table('sections')
+ ->join('chapter_section','sections.id','=','chapter_section.section_id')
+ ->select('sections.id as section_id')
+ ->where('sections.rank','=',$section_rank)
+ ->where('chapter_section.chapter_id','=',$chapter_id)
+ ->get();
+ $section = json_decode($section,true);
+ $section_id = $section[0]['section_id'];
+ if ( $section_id!=null ) {
+ DB::transaction(function () use ($section_id, $question_id, $question_detail) {
+ DB::table('section_question')
+ ->insert([
+ 'section_question.section_id' => $section_id,
+ 'section_question.question_rank' => $question_id,
+ 'section_question.detail' => $question_detail
+ ]);
+ });
+ }
+
- DB::transaction(function () use ($chapter_id, $section_id, $title, $detail) {
- DB::table('sections')
+ }
+
+
+ }
+ public function chapteradd()
+ {
+ if($_POST["title"]!=null and $_POST["id"]!=null) {
+ $id = $_POST["id"];
+ $title = $_POST["title"];
+
+ DB::transaction(function () use ($id, $title) {
+ DB::table('chapters')
->insert([
- 'sections.rank' => $section_id,
- 'sections.title' => $title,
- 'sections.detail' => $detail
+ 'chapters.id' => $id,
+ 'chapters.title' => $title
]);
});
+ }
+ return redirect("showstudymaterial");
+ }
+ public function surveyadd()
+ {
+
+ $survey_question = DB::table('survey_question')
+ ->select('survey_question.id')
+ ->orderBy('survey_question.id')->get();
+ $survey_question = json_decode($survey_question,true);
+ foreach($survey_question as $pre_id)
+ {
+ if ($pre_id['id'] == $_POST["id"])
+ {
+ return "please input an independent key";
+ }
+ }
+ if($_POST["title"]!=null and $_POST["id"]!=null) {
+ $id = $_POST["id"];
+ $title = $_POST["title"];
+ $choice0 = $_POST["choice0"];
+ $choice1 = $_POST["choice1"];
+ $choice2 = $_POST["choice2"];
+ $choice3 = $_POST["choice3"];
+ $choice4 = $_POST["choice4"];
+ $choice5 = $_POST["choice5"];
- DB::transaction(function () use ($chapter_id,$section_counter) {
- DB::table('chapter_section')
+ DB::transaction(function () use ($id, $title,$choice0,$choice1,$choice2,$choice3,$choice4,$choice5) {
+ DB::table('survey_question')
->insert([
- 'chapter_section.chapter_id'=> $chapter_id,
- 'chapter_section.section_id'=> $section_counter
- ]);
+ 'survey_question.id' => $id,
+ 'survey_question.title' => $title,
+ 'survey_question.choice0' => $choice0,
+ 'survey_question.choice1' => $choice1,
+ 'survey_question.choice2' => $choice2,
+ 'survey_question.choice3' => $choice3,
+ 'survey_question.choice4' => $choice4,
+ 'survey_question.choice5' => $choice5,
+ ]);
});
}
+ }
+ public function surveyquestionadd()
+ {
+ if($_POST["question_detail"]!=null and $_POST["survey_id"]!=null) {
+ $id = $_POST["survey_id"];
+ $title = $_POST["question_detail"];
+ DB::transaction(function () use ($id, $title) {
+ DB::table('survey_detail_question')
+ ->insert([
+ 'survey_detail_question.survey_id' => $id,
+ 'survey_detail_question.detail' => $title
+ ]);
+ });
+ }
+ }
+ public function casedetailadd()
+ {
+ if($_POST["title"]!=null and $_POST["detail"]!=null) {
+ $id = $_POST["case_id"];
+ $title = $_POST["title"];
+ $detail = $_POST["detail"];
+ $reference = $_POST["reference"];
+
+ DB::transaction(function () use ($id, $title,$detail,$reference) {
+ DB::table('case_study_material')
+ ->insert([
+ 'case_study_material.id' => $id,
+ 'case_study_material.title' => $title,
+ 'case_study_material.details' => $detail,
+ 'case_study_material.reference' => $reference
+ ]);
+ });
+ }
+ return redirect("showstudymaterial");
+ }
}
diff --git a/app/Http/Controllers/RegisterInfoController.php b/app/Http/Controllers/RegisterInfoController.php
new file mode 100644
index 0000000..6721c5d
--- /dev/null
+++ b/app/Http/Controllers/RegisterInfoController.php
@@ -0,0 +1,390 @@
+with('id', $id);
+ }
+ public function nationality($id)
+ {
+ $nationality = DB::table('register_nationality')
+ ->select('register_nationality.id','register_nationality.name')
+ ->orderBy('register_nationality.id')->get();
+
+ return view('register_info1', compact('nationality','id'));
+ }
+ public function language($id)
+ {
+ $language = DB::table('register_language')
+ ->select('register_language.id','register_language.name')
+ ->orderBy('register_language.id')->get();
+
+ return view('register_info2', compact('language','id'));
+ }
+ public function education($id)
+ {
+ $field = DB::table('register_field')
+ ->select('register_field.id','register_field.name')
+ ->orderBy('register_field.id')->get();
+
+ $major = DB::table('register_major')
+ ->select('register_major.id','register_major.name')
+ ->orderBy('register_major.id')->get();
+
+
+ return view('register_info3_stu', compact('field','major','id'));
+ }
+ public function education2($id)
+ {
+
+ $major = DB::table('register_major')
+ ->select('register_major.id','register_major.name')
+ ->orderBy('register_major.id')->get();
+
+ $industry = DB::table('register_industry')
+ ->select('register_industry.id','register_industry.name')
+ ->orderBy('register_industry.id')->get();
+
+ return view('register_info3_nonstu', compact('major','industry','id'));
+ }
+
+ public function addagreement()
+ {
+ $agreement1 = $_POST["agreement1"];
+ if(isset($_POST["agreement2"])){
+ $agreement2 = 1;
+ }
+ else{
+ $agreement2 = 0;
+ }
+ $user_id = $_POST["id"];
+ DB::transaction(function () use ($agreement1, $agreement2,$user_id) {
+ DB::table('registeragreement')
+ ->insert([
+ 'registeragreement.user_id' => $user_id,
+ 'registeragreement.participate_in_study' => $agreement1,
+ 'registeragreement.receive_information' => $agreement2,
+ 'registeragreement.if_valid' => 1
+ ]);
+ });
+ return redirect("register/info1/$user_id");
+ }
+
+ public function addinfo1()
+ {
+ $usertype = $_POST["usertype"];
+ $age = $_POST["age"];
+ $gender = $_POST["gender"];
+ $nationality = $_POST["nationality"];
+ $identification = $_POST["identification"];
+ if ($identification == "Other") {
+ $identification_other = $_POST["Input"];
+ }
+ else{
+ $identification_other = null;
+ }
+ $user_id = $_POST["id"];
+ DB::transaction(function () use ($usertype, $age, $gender, $nationality, $identification,$identification_other, $user_id) {
+ DB::table('registerinfo1')
+ ->insert([
+ 'registerinfo1.user_id' => $user_id,
+ 'registerinfo1.usertype' => $usertype,
+ 'registerinfo1.age' => $age,
+ 'registerinfo1.gender' => $gender,
+ 'registerinfo1.nationality' => $nationality,
+ 'registerinfo1.identification' => $identification,
+ 'registerinfo1.identification_other' => $identification_other,
+ 'registerinfo1..if_valid' => 1
+ ]);
+ });
+ return redirect("register/info2/$user_id");
+ }
+
+ public function addinfo2()
+ {
+ $language = $_POST["language"];
+ $order = $_POST["order"];
+ $speaking = $_POST["speaking"];
+ $listening = $_POST["listening"];
+ $reading = $_POST["reading"];
+ $writing = $_POST["writing"];
+ $length = count($language);
+ $language1 = $language[0];
+ $language1_order = $order[0];
+ $language1_speaking = $speaking[0];
+ $language1_listening = $listening[0];
+ $language1_reading = $reading[0];
+ $language1_writing = $writing[0];
+ if ($length >= 2){
+ $language2 = $language[1];
+ $language2_order = $order[1];
+ $language2_speaking = $speaking[1];
+ $language2_listening = $listening[1];
+ $language2_reading = $reading[1];
+ $language2_writing = $writing[1];
+ }
+ else{
+ $language2 = null;
+ $language2_order = null;
+ $language2_speaking = null;
+ $language2_listening = null;
+ $language2_reading = null;
+ $language2_writing = null;
+ }
+ if ($length >= 3){
+ $language3 = $language[2];
+ $language3_order = $order[2];
+ $language3_speaking = $speaking[2];
+ $language3_listening = $listening[2];
+ $language3_reading = $reading[2];
+ $language3_writing = $writing[2];
+ }
+ else{
+ $language3 = null;
+ $language3_order = null;
+ $language3_speaking = null;
+ $language3_listening = null;
+ $language3_reading = null;
+ $language3_writing = null;
+ }
+ if ($length >= 4){
+ $language4 = $language[3];
+ $language4_order = $order[3];
+ $language4_speaking = $speaking[3];
+ $language4_listening = $listening[3];
+ $language4_reading = $reading[3];
+ $language4_writing = $writing[3];
+ }
+ else{
+ $language4 = null;
+ $language4_order = null;
+ $language4_speaking = null;
+ $language4_listening = null;
+ $language4_reading = null;
+ $language4_writing = null;
+ }
+
+
+ $user_id = $_POST["id"];
+ DB::transaction(function () use ($language1,$language1_order,$language1_speaking,$language1_listening,$language1_reading,$language1_writing,
+ $language2,$language2_order,$language2_speaking,$language2_listening,$language2_reading,$language2_writing,
+ $language3,$language3_order,$language3_speaking,$language3_listening,$language3_reading,$language3_writing,
+ $language4,$language4_order,$language4_speaking,$language4_listening,$language4_reading,$language4_writing,$user_id) {
+ DB::table('registerinfo2')
+ ->insert([
+ 'registerinfo2.user_id' => $user_id,
+ 'registerinfo2.language1' => $language1,
+ 'registerinfo2.language1_order' => $language1_order,
+ 'registerinfo2.language1_speaking' => $language1_speaking,
+ 'registerinfo2.language1_listening' => $language1_listening,
+ 'registerinfo2.language1_reading' => $language1_reading,
+ 'registerinfo2.language1_writing' => $language1_writing,
+ 'registerinfo2.language2' => $language2,
+ 'registerinfo2.language2_order' => $language2_order,
+ 'registerinfo2.language2_speaking' => $language2_speaking,
+ 'registerinfo2.language2_listening' => $language2_listening,
+ 'registerinfo2.language2_reading' => $language2_reading,
+ 'registerinfo2.language2_writing' => $language2_writing,
+ 'registerinfo2.language3' => $language3,
+ 'registerinfo2.language3_order' => $language3_order,
+ 'registerinfo2.language3_speaking' => $language3_speaking,
+ 'registerinfo2.language3_listening' => $language3_listening,
+ 'registerinfo2.language3_reading' => $language3_reading,
+ 'registerinfo2.language3_writing' => $language3_writing,
+ 'registerinfo2.language4' => $language4,
+ 'registerinfo2.language4_order' => $language4_order,
+ 'registerinfo2.language4_speaking' => $language4_speaking,
+ 'registerinfo2.language4_listening' => $language4_listening,
+ 'registerinfo2.language4_reading' => $language4_reading,
+ 'registerinfo2.language4_writing' => $language4_writing,
+ 'registerinfo2.if_valid' => 1
+ ]);
+ });
+
+ $userdata=DB::table('registerinfo1')
+ ->select('registerinfo1.user_id','registerinfo1.usertype')
+ ->where('registerinfo1.user_id','=',$user_id)
+ ->get();
+ $userdata=json_decode($userdata, true);
+ foreach ($userdata as $key) {
+ $usertype = $key["usertype"];
+ if ($usertype == 'student') {
+ return redirect("register/info3/$user_id");
+ } else {
+ return redirect("register/info3_non/$user_id");
+ }
+ }
+
+ }
+
+ public function addinfo3()
+ {
+ $education_level = $_POST["education_level"];
+ if ($education_level <= "2") {
+ $majoring_in = "No";
+ } else {
+ $majoring_in = $_POST["majoring_in"];
+ }
+ if ($education_level == "1") {
+ $education_level = "Less than a high school diploma";
+ } elseif ($education_level == "2") {
+ $education_level = "High school degree or equivalent";
+ } elseif ($education_level == "3") {
+ $education_level = "Some college, no degree";
+ } elseif ($education_level == "4") {
+ $education_level = "Associate degree";
+ } elseif ($education_level == "5") {
+ $education_level = "Bachelor’s degree";
+ } elseif ($education_level == "6") {
+ $education_level = "Master’s degree";
+ } elseif ($education_level == "7") {
+ $education_level = "Professional degree";
+ } elseif ($education_level == "8") {
+ $education_level = "Doctorate";
+ }
+ $currently_pursuing = $_POST["currently_pursuing"];
+ $major_current = $_POST["major_current"];
+ $anticipated_field = $_POST["anticipated_field"];
+ if ($anticipated_field == "Other") {
+ $anticipated_field_other = $_POST["Input"];
+ } else {
+ $anticipated_field_other = null;
+ }
+ $parental_level = $_POST["parental_level"];
+ if ($parental_level <= "2") {
+ $major_parent = "No";
+ } else {
+ $major_parent = $_POST["major_parent"];
+ }
+ if ($parental_level == "1") {
+ $parental_level = "Less than a high school diploma";
+ } elseif ($parental_level == "2") {
+ $parental_level = "High school degree or equivalent";
+ } elseif ($parental_level == "3") {
+ $parental_level = "Some college, no degree";
+ } elseif ($parental_level == "4") {
+ $parental_level = "Associate degree";
+ } elseif ($parental_level == "5") {
+ $parental_level = "Bachelor’s degree";
+ } elseif ($parental_level == "6") {
+ $parental_level = "Master’s degree";
+ } elseif ($parental_level == "7") {
+ $parental_level = "Professional degree";
+ } elseif ($parental_level == "8") {
+ $parental_level = "Doctorate";
+ }
+ $income_rmb = $_POST["income_rmb"];
+ $user_id = $_POST["id"];
+ DB::transaction(function () use (
+ $education_level, $majoring_in, $currently_pursuing, $major_current,
+ $anticipated_field, $anticipated_field_other, $parental_level, $major_parent, $income_rmb, $user_id
+ ) {
+ DB::table('registerinfo3')
+ ->insert([
+ 'registerinfo3.user_id' => $user_id,
+ 'registerinfo3.education_level' => $education_level,
+ 'registerinfo3.majoring_in' => $majoring_in,
+ 'registerinfo3.currently_pursuing' => $currently_pursuing,
+ 'registerinfo3.major_current' => $major_current,
+ 'registerinfo3.anticipated_field' => $anticipated_field,
+ 'registerinfo3.anticipated_field_other' => $anticipated_field_other,
+ 'registerinfo3.parental_level' => $parental_level,
+ 'registerinfo3.major_parent' => $major_parent,
+ 'registerinfo3.income_rmb' => $income_rmb,
+ 'registerinfo3.if_valid' => 1
+ ]);
+ });
+
+ return redirect("register/info4/$user_id");
+ }
+
+ public function addinfo3_non()
+ {
+ $education_level = $_POST["education_level"];
+ if ($education_level <= "2"){
+ $major_in = Null;
+ }
+ else {
+ $major_in = $_POST["major_in"];
+ }
+ if ($education_level == "1"){$education_level = "Less than a high school diploma";}
+ elseif ($education_level == "2"){$education_level = "High school degree or equivalent";}
+ elseif ($education_level == "3"){$education_level = "Some college, no degree";}
+ elseif ($education_level == "4"){$education_level = "Associate degree";}
+ elseif ($education_level == "5"){$education_level = "Bachelor’s degree";}
+ elseif ($education_level == "6"){$education_level = "Master’s degree";}
+ elseif ($education_level == "7"){$education_level = "Professional degree";}
+ elseif ($education_level == "8"){$education_level = "Doctorate";}
+ $industry = $_POST["industry"];
+ if ($industry == "Other") {
+ $industry_other = $_POST["Input"];
+ }
+ else{
+ $industry_other = null;
+ }
+ $work_position = $_POST["work_position"];
+ if ($work_position == "Other") {
+ $work_position_other = $_POST["Input"];
+ }
+ else{
+ $work_position_other = null;
+ }
+ $income_rmb = $_POST["income_rmb"];
+ $user_id = $_POST["id"];
+ DB::transaction(function () use ($education_level, $major_in,
+ $industry, $industry_other, $work_position, $work_position_other, $income_rmb, $user_id) {
+ DB::table('registerinfo3_2')
+ ->insert([
+ 'registerinfo3_2.user_id' => $user_id,
+ 'registerinfo3_2.education_level' => $education_level,
+ 'registerinfo3_2.major_in' => $major_in,
+ 'registerinfo3_2.industry' => $industry,
+ 'registerinfo3_2.industry_other' => $industry_other,
+ 'registerinfo3_2.work_position' => $work_position,
+ 'registerinfo3_2.work_position_other' => $work_position_other,
+ 'registerinfo3_2.income_rmb' => $income_rmb,
+ 'registerinfo3_2.if_valid' => 1
+ ]);
+ });
+ return redirect("register/info4/$user_id");
+ }
+
+ public function addinfo4()
+ {
+ $affiliation = $_POST["affiliation"];
+ $political_orientation = $_POST["political_orientation"];
+ if ($affiliation == "Other") {
+ $affiliation_other = $_POST["Input"];
+ }
+ else{
+ $affiliation_other = null;
+ }
+ $user_id = $_POST["id"];
+ DB::transaction(function () use ($user_id, $affiliation, $political_orientation,$affiliation_other) {
+ DB::table('registerinfo4')
+ ->insert([
+ 'registerinfo4.user_id' => $user_id,
+ 'registerinfo4.affiliation' => $affiliation,
+ 'registerinfo4.political_orientation' => $political_orientation,
+ 'registerinfo4.affiliation_other' => $affiliation_other,
+ 'registerinfo4.if_valid' => 1
+ ]);
+ });
+ DB::table('users')->where('id', '=', $user_id)->update(['is_active' => 1]);
+ Auth::loginUsingId($user_id);
+ return redirect("/");
+ }
+
+}
diff --git a/app/Http/Controllers/ShowResultController.php b/app/Http/Controllers/ShowResultController.php
new file mode 100644
index 0000000..6f89532
--- /dev/null
+++ b/app/Http/Controllers/ShowResultController.php
@@ -0,0 +1,92 @@
+get();
+ $semesters = DB::table('users')
+ ->groupBy("semesters")
+ ->pluck("semesters");
+ $section_numbers = DB::table('users')
+ ->groupBy("section_numbers")
+ ->pluck("section_numbers");
+ return view('admin.result.index', compact("users", "semesters", "section_numbers"));
+ }
+
+ // public function user(){
+ // $userList = DB::table('users')
+ // ->select('id', 'first_name', 'last_name')
+ // ->get();
+ // return view('result.userlist', compact('userList'));
+ // #return view('result.userlist');
+ // }
+
+ // public function showID($id){
+ // $userInfo = DB::table('users')->find($id);
+ // $first_name = $userInfo->first_name;
+ // $last_name = $userInfo->last_name;
+
+
+ // return view('result.answerPerID', compact('id', 'first_name', 'last_name'));
+ // }
+
+ public function show_by_user(){
+ $section = request('section');
+ $semester = request('semester');
+ $match = ['section_numbers' => $section, 'semesters' => $semester];
+ $users = DB::table('users')->where($match)->get();
+ return view('admin.result.show_by_user', compact("users", "semester", "section"));
+ #return view('admin.result.show_by_user', compact("semester", "section"));
+ }
+
+ public function show_by_ID($user_id){
+ $user = DB::table('users')->find($user_id);
+ $section_answer_for_user = DB::table('section_question_answer')
+ ->where('user_id' , $user->id)
+ ->get();
+
+ $case_answer_for_user = DB::table('case_study_answer')
+ ->where('user_id' , $user->id)
+ ->get();
+
+
+ $section_empty = $section_answer_for_user->isEmpty();
+ $case_empty = $case_answer_for_user->isEmpty();
+
+
+ if (!$section_empty and !$case_empty) {
+
+
+ $section_question_answers = DB::table('section_question')
+ ->join('section_question_answer',
+ 'section_question.id', '=','section_question_answer.id')
+ ->join('chapter_section',
+ 'section_question.section_id', '=', 'chapter_section.section_id')
+ ->orderBy('chapter_id', 'ASC')
+ ->orderBy('question_rank', 'ASC')
+ ->where('user_id', $user->id)
+ ->get();
+ // dd($section_question_answers);
+ return view('admin.result.show_by_id', compact("user", "section_question_answers"));
+ }
+ elseif($section_empty and !$case_empty){
+ dd('No chapter answer!');
+ }
+ elseif(!$section_empty and $case_empty){
+ dd('No case study answer!');
+ }
+ else{
+ dd('No answer!');
+ }
+
+
+
+
+ }
+}
diff --git a/app/Http/Controllers/ShowSectionContentController.php b/app/Http/Controllers/ShowSectionContentController.php
new file mode 100644
index 0000000..5f4f7df
--- /dev/null
+++ b/app/Http/Controllers/ShowSectionContentController.php
@@ -0,0 +1,39 @@
+join('chapter_section','sections.id','=','chapter_section.section_id')
+ ->select('chapter_section.chapter_id as chapter_id','sections.title','sections.id as section_id','sections.rank')
+ ->where('chapter_id','=',$id)
+ ->orderBy('chapter_id')
+ ->orderBy('sections.rank')->get();
+
+ $section_question = DB::table('section_question')
+ ->join('sections','section_question.section_id','=','sections.id')
+ ->join('chapter_section','sections.id','=','chapter_section.section_id')
+ ->select('section_question.question_rank as question_id','section_question.detail as question','sections.rank as section_rank','chapter_section.chapter_id as chapter_id')
+ ->where('chapter_section.chapter_id','=',$id)
+ ->orderBy('section_rank')
+ ->orderBy('section_question.question_rank')
+ ->orderBy('section_question.question_rank')->get();
+
+
+ return view('show_data_sectionmaterials', compact('sections','section_question','id'));
+ }//
+ public function destroy($id,$section_counter)//
+ {
+ DB::table('sections')->where('id', '=', $section_counter)->delete();
+ DB::table('chapter_section')->where('section_id', '=', $section_counter)->delete();
+
+ return redirect("check/chapter/{$id}");
+ }
+}
diff --git a/app/Http/Controllers/ShowStudyMaterialController.php b/app/Http/Controllers/ShowStudyMaterialController.php
new file mode 100644
index 0000000..d132ea5
--- /dev/null
+++ b/app/Http/Controllers/ShowStudyMaterialController.php
@@ -0,0 +1,137 @@
+select('chapters.id','chapters.title')
+ ->orderBy('chapters.id')->get();
+
+ $case_study = DB::table('case_study_material')
+ ->select('id','title','details','reference')
+ ->orderBy('id')->get();
+
+
+
+ return view('show_data_studymaterials', compact('chapter','case_study'));
+ }
+ public function showsurvey()//
+ {
+ $survey_question = DB::table('survey_question')
+ ->select('survey_question.id','survey_question.title')
+ ->orderBy('survey_question.id')->get();
+
+ return view('show_survey_questions', compact('survey_question'));
+ }
+ public function checksurveytitle($id)//
+ {
+ $survey_question = DB::table('survey_question')
+ ->select('survey_question.title','survey_question.choice0','survey_question.choice1','survey_question.choice2','survey_question.choice3','survey_question.choice4','survey_question.choice5')
+ ->where('survey_question.id','=',$id)
+ ->orderBy('survey_question.id')->get();
+
+ return view('survey_title_modify', compact('survey_question','id'));
+ }
+ public function checksurveyquestions($id)//
+ {
+ $survey_detail_question = DB::table('survey_detail_question')
+ ->select('survey_detail_question.id','survey_detail_question.detail')
+ ->where('survey_detail_question.survey_id','=',$id)
+ ->orderBy('survey_detail_question.id')->get();
+
+ return view('show_survey_question_details', compact('survey_detail_question','id'));
+ }
+
+ public function destroychapter($id)//
+ {
+ DB::table('chapters')->where('chapters.id', '=', $id)->delete();
+
+ $section_select = DB::table('chapter_section')
+ ->join('sections','chapter_section.section_id','=','sections.id')
+ ->select('sections.id')
+ ->where('chapter_section.chapter_id', '=', $id)->get();
+
+ $section_select = json_decode($section_select,true);
+
+ foreach($section_select as $sec_select)
+ {
+ DB::table('sections')
+ ->where('sections.id', '=', $sec_select['id'])->delete();
+ }
+
+ DB::table('chapter_section')
+ ->where('chapter_section.chapter_id', '=', $id)->delete();
+
+ return redirect("showstudymaterial");
+ }
+ public function destroycase($id)//
+ {
+ DB::table('case_study_material')->where('case_study_material.id', '=', $id)->delete();
+ DB::table('case_to_question')->where('case_to_question.case_id', '=', $id)->delete();
+
+ return redirect("showstudymaterial");
+ }
+ public function destroysurveyquestions($id,$question_id)//
+ {
+ DB::table('survey_answer')->where('survey_answer.id', '=', $question_id)->delete();
+ DB::table('survey_detail_question')->where('survey_detail_question.id', '=', $question_id)->delete();
+
+ return redirect("check/survey/$id");
+ }
+ public function destroysurvey($id)//
+ {
+ $question_select = DB::table('survey_detail_question')
+ ->select('survey_detail_question.id')
+ ->where('survey_detail_question.survey_id', '=', $id)->get();
+ $question_select = json_decode($question_select,true);
+ foreach($question_select as $answer_to_delete)
+ {
+ DB::table('survey_answer')->where('survey_answer.id', '=', $answer_to_delete['id'])->delete();
+ }
+ DB::table('survey_question')->where('survey_question.id', '=', $id)->delete();
+ DB::table('survey_detail_question')->where('survey_detail_question.survey_id', '=', $id)->delete();
+
+ return redirect("showsurvey");
+ }
+
+ public function destroysecquestion($ch_id,$sec_id,$qu_id)
+ {
+ $section = DB::table('sections')
+ ->join('chapter_section','sections.id','=','chapter_section.section_id')
+ ->select('sections.id as section_id','chapter_section.chapter_id as chapter_id','sections.rank as section_rank')
+ ->get();
+ $section = json_decode($section,true);
+ foreach($section as $section_com)
+ {
+ if($section_com['section_rank'] == $sec_id and $section_com['chapter_id'] == $ch_id)
+ {
+ $counter = $section_com['section_id'];
+ }
+ }
+ $question_id = DB::table('section_question')
+ ->select('section_question.id')
+ ->where('section_question.section_id', '=', $counter)
+ ->where('section_question.question_rank', '=', $qu_id)
+ ->get();
+ $question_id = json_decode($question_id,true);
+ $question_id = $question_id[0]['id'];
+
+ DB::table('section_question')
+ ->where('section_question.section_id', '=', $counter)
+ ->where('section_question.question_rank', '=', $qu_id)
+ ->delete();
+
+ DB::table('section_question_answer')
+ ->where('section_question_answer.id', '=', $question_id)
+ ->delete();
+
+ return redirect("/check/chapter/$ch_id");
+ }
+}
diff --git a/app/Http/Controllers/ShowUser.php b/app/Http/Controllers/ShowUser.php
new file mode 100644
index 0000000..660ec13
--- /dev/null
+++ b/app/Http/Controllers/ShowUser.php
@@ -0,0 +1,76 @@
+join('registerinfo1','users.id','=','registerinfo1.user_id')
+ ->select('users.id','users.user_name','users.email','users.first_name','users.last_name','users.is_active',
+ 'registerinfo1.usertype','registerinfo1.age','registerinfo1.gender','registerinfo1.nationality')
+ ->where('users.is_active','=',1)
+ ->orderBy('users.id')->get();
+
+
+ return view('show_users', compact('allusers'));
+ }
+
+ public function userdetail($id){
+ $basicinfo = DB::table('users')
+ ->join('registerinfo1','users.id','=','registerinfo1.user_id')
+ ->select('users.id','users.user_name','users.email','users.first_name','users.last_name','users.is_active',
+ 'registerinfo1.usertype','registerinfo1.age','registerinfo1.gender','registerinfo1.nationality',
+ 'registerinfo1.identification','registerinfo1.identification_other')
+ ->where('users.is_active','=',1)
+ ->where('users.id','=',$id)
+ ->orderBy('users.id')->get();
+
+ $userdata=DB::table('registerinfo1')
+ ->select('registerinfo1.user_id','registerinfo1.usertype')
+ ->where('registerinfo1.user_id','=',$id)
+ ->get();
+
+ $userdata=json_decode($userdata, true);
+
+ $languageinfo = DB::table('registerinfo2')
+ ->where('registerinfo2.user_id','=',$id)
+ ->orderBy('registerinfo2.user_id')->get();
+
+ if ($userdata[0]["usertype"] == 'student') {
+ $educationalinfo = DB::table('registerinfo3')
+ ->where('registerinfo3.user_id','=',$id)
+ ->orderBy('registerinfo3.user_id')->get();
+ } else {
+ $educationalinfo = DB::table('registerinfo3_2')
+ ->where('registerinfo3_2.user_id','=',$id)
+ ->orderBy('registerinfo3_2.user_id')->get();
+ }
+
+ $religiousinfo = DB::table('registerinfo4')
+ ->where('registerinfo4.user_id','=',$id)
+ ->orderBy('registerinfo4.user_id')->get();
+
+ return view('show_users_detail', compact('basicinfo','languageinfo','educationalinfo','religiousinfo'));
+ }
+
+ public function deleteuser($id){
+ DB::table('users')
+ ->select('users.id','users.is_active')
+ ->where('users.id','=',$id)
+ ->update([
+ 'users.is_active' => 0
+ ]);
+
+ return redirect("/users");
+ }
+}
diff --git a/app/Http/Controllers/SocketconnectController.php b/app/Http/Controllers/SocketconnectController.php
new file mode 100644
index 0000000..9ffc8f4
--- /dev/null
+++ b/app/Http/Controllers/SocketconnectController.php
@@ -0,0 +1,40 @@
+ 1, "usec" => 0));
+// //发送套接流的最大超时时间为6秒
+// socket_set_option($socket, SOL_SOCKET, SO_SNDTIMEO, array("sec" => 6, "usec" => 0));
+// /****************设置socket连接选项,这两个步骤你可以省略*************/
+
+ //连接服务端的套接流,这一步就是使客户端与服务器端的套接流建立联系
+ if(socket_connect($socket,'192.168.122.97',6666) == false){
+ echo 'connect fail massege:'.socket_strerror(socket_last_error());
+ }else{
+ $message = 'l love you socket';
+ //转为GBK编码,处理乱码问题,这要看你的编码情况而定,每个人的编码都不同
+ $message = mb_convert_encoding($message,'GBK','UTF-8');
+ //向服务端写入字符串信息
+
+ if(socket_write($socket,$message,strlen($message)) == false){
+ echo 'fail to write'.socket_strerror(socket_last_error());
+
+ }else{
+ echo 'client write success'.PHP_EOL;
+ //读取服务端返回来的套接流信息
+ while($callback = socket_read($socket,1024)){
+ echo 'server return message is:'.PHP_EOL.$callback;
+ }
+ }
+ }
+ socket_close($socket);
+ }
+}
diff --git a/app/Http/Controllers/SurveyController.php b/app/Http/Controllers/SurveyController.php
index 65677c1..b3acc76 100644
--- a/app/Http/Controllers/SurveyController.php
+++ b/app/Http/Controllers/SurveyController.php
@@ -5,21 +5,92 @@
use Illuminate\Http\Request;
use Illuminate\Support\Facades\DB;
use Symfony\Component\Console\Helper\Table;
+use Illuminate\Support\Facades\Auth;
+
class SurveyController extends Controller
{
public function survey($id)
{
+ $user_id = Auth::user()->id;
+
$survey_questions = DB::table('survey_question')
->select('survey_question.id','survey_question.title','survey_question.choice0','survey_question.choice1','survey_question.choice2','survey_question.choice3','survey_question.choice4','survey_question.choice5')
+ ->where('survey_question.id','=',$id)
+ ->get();
+
+ $survey_details = DB::table('survey_detail_question')
+ ->select('survey_detail_question.id','survey_detail_question.detail')
+ ->where('survey_detail_question.survey_id','=',$id)
->get();
- $survey_details = DB::table('survey_question_detail')
- ->select('survey_question_detail.id','survey_question_detail.detail')
- ->where('survey_question_detail.survey_question_id','=',$id)
+ $survey_answer = DB::table('survey_detail_question')
+ ->join('survey_answer','survey_detail_question.id','=','survey_answer.id')
+ ->select('survey_answer.answer')
+ ->where('survey_detail_question.survey_id','=',$id)
+ ->where('survey_answer.user_id','=',$user_id)
->get();
- return view('surveys', compact('survey_questions','survey_details','id'));
+ $survey_answer = json_decode($survey_answer,true);
+ if($survey_answer == null)
+ {
+ return view('surveys', compact('survey_questions','survey_details','id'));
+ }
+ else{
+ return redirect('survey_finished');
+ }
+
}//
+ public function choosesurvey()
+ {
+ $survey_question = DB::table('survey_question')
+ ->select('survey_question.id','survey_question.title')
+ ->orderBy('survey_question.id')->get();
+
+ return view('Chooseonesurvey', compact('survey_question'));
+
+ }
+ public function surveyanswer_edit()
+ {
+ $user_id = Auth::user()->id;
+ for($i = 0; $i < count($_POST["id"]); $i++)
+ {
+
+ $id = $_POST["id"][$i];
+ $question_answer = $_POST["answer"][$i];
+
+ $survey_answer = DB::table('survey_answer')
+ ->select('survey_answer.id')
+ ->where('survey_answer.user_id','=',$user_id)
+ ->where('survey_answer.id','=',$id)
+ ->get();
+
+ $survey_answer = json_decode($survey_answer);
+
+ if(count($survey_answer) == 0) {
+ DB::transaction(function () use ($user_id,$id, $question_answer) {
+ DB::table('survey_answer')
+ ->insert([
+ 'survey_answer.user_id' => $user_id,
+ 'survey_answer.id' => $id,
+ 'survey_answer.answer' => $question_answer
+ ]);
+ });
+ }
+ elseif(count($survey_answer) != 0){
+ DB::transaction(function () use ($user_id,$id, $question_answer) {
+ DB::table('survey_answer')
+ ->where('survey_answer.user_id', '=', $user_id)
+ ->where('survey_answer.id', '=', $id)
+ ->update([
+ 'survey_answer.answer' => $question_answer
+ ]);
+ });
+ }
+ }
+ return redirect('survey_finished');
+
+
+ }
}
diff --git a/app/Http/Kernel.php b/app/Http/Kernel.php
index 3439540..93bf68b 100644
--- a/app/Http/Kernel.php
+++ b/app/Http/Kernel.php
@@ -54,10 +54,8 @@ class Kernel extends HttpKernel
'auth' => \Illuminate\Auth\Middleware\Authenticate::class,
'auth.basic' => \Illuminate\Auth\Middleware\AuthenticateWithBasicAuth::class,
'bindings' => \Illuminate\Routing\Middleware\SubstituteBindings::class,
- 'cache.headers' => \Illuminate\Http\Middleware\SetCacheHeaders::class,
'can' => \Illuminate\Auth\Middleware\Authorize::class,
'guest' => \App\Http\Middleware\RedirectIfAuthenticated::class,
- 'signed' => \Illuminate\Routing\Middleware\ValidateSignature::class,
'throttle' => \Illuminate\Routing\Middleware\ThrottleRequests::class,
];
}
diff --git a/app/Http/Middleware/RedirectIfAuthenticated.php b/app/Http/Middleware/RedirectIfAuthenticated.php
index e4cec9c..676fd1f 100644
--- a/app/Http/Middleware/RedirectIfAuthenticated.php
+++ b/app/Http/Middleware/RedirectIfAuthenticated.php
@@ -18,7 +18,8 @@ class RedirectIfAuthenticated
public function handle($request, Closure $next, $guard = null)
{
if (Auth::guard($guard)->check()) {
- return redirect('/home');
+ $path = $guard? '/admin' : '/homepage';
+ return redirect($path);
}
return $next($request);
diff --git a/app/Http/Middleware/TrustProxies.php b/app/Http/Middleware/TrustProxies.php
index 7daf51f..ef1c00d 100644
--- a/app/Http/Middleware/TrustProxies.php
+++ b/app/Http/Middleware/TrustProxies.php
@@ -15,9 +15,15 @@ class TrustProxies extends Middleware
protected $proxies;
/**
- * The headers that should be used to detect proxies.
+ * The current proxy header mappings.
*
- * @var int
+ * @var array
*/
- protected $headers = Request::HEADER_X_FORWARDED_ALL;
+ protected $headers = [
+ Request::HEADER_FORWARDED => 'FORWARDED',
+ Request::HEADER_X_FORWARDED_FOR => 'X_FORWARDED_FOR',
+ Request::HEADER_X_FORWARDED_HOST => 'X_FORWARDED_HOST',
+ Request::HEADER_X_FORWARDED_PORT => 'X_FORWARDED_PORT',
+ Request::HEADER_X_FORWARDED_PROTO => 'X_FORWARDED_PROTO',
+ ];
}
diff --git a/app/Models/Admin.php b/app/Models/Admin.php
new file mode 100644
index 0000000..0240cd6
--- /dev/null
+++ b/app/Models/Admin.php
@@ -0,0 +1,18 @@
+=7.0.0",
+ "fideloper/proxy": "~3.3",
+ "laravel/framework": "5.5.*",
+ "laravel/tinker": "~1.0",
+ "ext-sockets": "*"
},
"require-dev": {
- "filp/whoops": "^2.0",
- "fzaninotto/faker": "^1.4",
- "mockery/mockery": "^1.0",
- "nunomaduro/collision": "^2.0",
- "phpunit/phpunit": "^7.0"
+ "filp/whoops": "~2.0",
+ "fzaninotto/faker": "~1.4",
+ "laravel/homestead": "^8.4",
+ "mockery/mockery": "~1.0",
+ "phpunit/phpunit": "~6.0",
+ "symfony/thanks": "^1.0"
},
"autoload": {
"classmap": [
@@ -53,13 +55,5 @@
"preferred-install": "dist",
"sort-packages": true,
"optimize-autoloader": true
- },
- "minimum-stability": "dev",
- "prefer-stable": true,
- "repositories": {
- "packagist": {
- "type": "composer",
- "url": "https://packagist.phpcomposer.com"
- }
}
}
diff --git a/composer.lock b/composer.lock
index 248a38b..2105d34 100644
--- a/composer.lock
+++ b/composer.lock
@@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
- "content-hash": "83c68a477667d48b688b28e66cdfd3a7",
+ "content-hash": "934021e7523aaf1f9615e7a9ca3fca8b",
"packages": [
{
"name": "dnoegel/php-xdg-base-dir",
@@ -41,20 +41,20 @@
},
{
"name": "doctrine/inflector",
- "version": "v1.3.0",
+ "version": "v1.2.0",
"source": {
"type": "git",
"url": "https://github.com/doctrine/inflector.git",
- "reference": "5527a48b7313d15261292c149e55e26eae771b0a"
+ "reference": "e11d84c6e018beedd929cff5220969a3c6d1d462"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/doctrine/inflector/zipball/5527a48b7313d15261292c149e55e26eae771b0a",
- "reference": "5527a48b7313d15261292c149e55e26eae771b0a",
+ "url": "https://api.github.com/repos/doctrine/inflector/zipball/e11d84c6e018beedd929cff5220969a3c6d1d462",
+ "reference": "e11d84c6e018beedd929cff5220969a3c6d1d462",
"shasum": ""
},
"require": {
- "php": "^7.1"
+ "php": "^7.0"
},
"require-dev": {
"phpunit/phpunit": "^6.2"
@@ -62,7 +62,7 @@
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "1.3.x-dev"
+ "dev-master": "1.2.x-dev"
}
},
"autoload": {
@@ -104,7 +104,7 @@
"singularize",
"string"
],
- "time": "2018-01-09T20:05:19+00:00"
+ "time": "2017-07-22T12:18:28+00:00"
},
{
"name": "doctrine/lexer",
@@ -160,55 +160,6 @@
],
"time": "2014-09-09T13:34:57+00:00"
},
- {
- "name": "dragonmantank/cron-expression",
- "version": "v2.2.0",
- "source": {
- "type": "git",
- "url": "https://github.com/dragonmantank/cron-expression.git",
- "reference": "92a2c3768d50e21a1f26a53cb795ce72806266c5"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/dragonmantank/cron-expression/zipball/92a2c3768d50e21a1f26a53cb795ce72806266c5",
- "reference": "92a2c3768d50e21a1f26a53cb795ce72806266c5",
- "shasum": ""
- },
- "require": {
- "php": ">=7.0.0"
- },
- "require-dev": {
- "phpunit/phpunit": "~6.4"
- },
- "type": "library",
- "autoload": {
- "psr-4": {
- "Cron\\": "src/Cron/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Michael Dowling",
- "email": "mtdowling@gmail.com",
- "homepage": "https://github.com/mtdowling"
- },
- {
- "name": "Chris Tankersley",
- "email": "chris@ctankersley.com",
- "homepage": "https://github.com/dragonmantank"
- }
- ],
- "description": "CRON for PHP: Calculate the next or previous run date and determine if a CRON expression is due",
- "keywords": [
- "cron",
- "schedule"
- ],
- "time": "2018-06-06T03:12:17+00:00"
- },
{
"name": "egulias/email-validator",
"version": "2.1.6",
@@ -314,16 +265,16 @@
},
{
"name": "fideloper/proxy",
- "version": "4.0.0",
+ "version": "3.3.4",
"source": {
"type": "git",
"url": "https://github.com/fideloper/TrustedProxy.git",
- "reference": "cf8a0ca4b85659b9557e206c90110a6a4dba980a"
+ "reference": "9cdf6f118af58d89764249bbcc7bb260c132924f"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/fideloper/TrustedProxy/zipball/cf8a0ca4b85659b9557e206c90110a6a4dba980a",
- "reference": "cf8a0ca4b85659b9557e206c90110a6a4dba980a",
+ "url": "https://api.github.com/repos/fideloper/TrustedProxy/zipball/9cdf6f118af58d89764249bbcc7bb260c132924f",
+ "reference": "9cdf6f118af58d89764249bbcc7bb260c132924f",
"shasum": ""
},
"require": {
@@ -331,12 +282,15 @@
"php": ">=5.4.0"
},
"require-dev": {
- "illuminate/http": "~5.6",
- "mockery/mockery": "~1.0",
- "phpunit/phpunit": "^6.0"
+ "illuminate/http": "~5.0",
+ "mockery/mockery": "~0.9.3",
+ "phpunit/phpunit": "^5.7"
},
"type": "library",
"extra": {
+ "branch-alias": {
+ "dev-master": "3.3-dev"
+ },
"laravel": {
"providers": [
"Fideloper\\Proxy\\TrustedProxyServiceProvider"
@@ -364,7 +318,7 @@
"proxy",
"trusted proxy"
],
- "time": "2018-02-07T20:20:57+00:00"
+ "time": "2017-06-15T17:19:42+00:00"
},
{
"name": "jakub-onderka/php-console-color",
@@ -410,33 +364,34 @@
},
{
"name": "jakub-onderka/php-console-highlighter",
- "version": "v0.3.2",
+ "version": "v0.4",
"source": {
"type": "git",
"url": "https://github.com/JakubOnderka/PHP-Console-Highlighter.git",
- "reference": "7daa75df45242c8d5b75a22c00a201e7954e4fb5"
+ "reference": "9f7a229a69d52506914b4bc61bfdb199d90c5547"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/JakubOnderka/PHP-Console-Highlighter/zipball/7daa75df45242c8d5b75a22c00a201e7954e4fb5",
- "reference": "7daa75df45242c8d5b75a22c00a201e7954e4fb5",
+ "url": "https://api.github.com/repos/JakubOnderka/PHP-Console-Highlighter/zipball/9f7a229a69d52506914b4bc61bfdb199d90c5547",
+ "reference": "9f7a229a69d52506914b4bc61bfdb199d90c5547",
"shasum": ""
},
"require": {
- "jakub-onderka/php-console-color": "~0.1",
- "php": ">=5.3.0"
+ "ext-tokenizer": "*",
+ "jakub-onderka/php-console-color": "~0.2",
+ "php": ">=5.4.0"
},
"require-dev": {
"jakub-onderka/php-code-style": "~1.0",
- "jakub-onderka/php-parallel-lint": "~0.5",
+ "jakub-onderka/php-parallel-lint": "~1.0",
"jakub-onderka/php-var-dump-check": "~0.1",
"phpunit/phpunit": "~4.0",
"squizlabs/php_codesniffer": "~1.5"
},
"type": "library",
"autoload": {
- "psr-0": {
- "JakubOnderka\\PhpConsoleHighlighter": "src/"
+ "psr-4": {
+ "JakubOnderka\\PhpConsoleHighlighter\\": "src/"
}
},
"notification-url": "https://packagist.org/downloads/",
@@ -450,50 +405,48 @@
"homepage": "http://www.acci.cz/"
}
],
- "time": "2015-04-20T18:58:01+00:00"
+ "description": "Highlight PHP code in terminal",
+ "time": "2018-09-29T18:48:56+00:00"
},
{
"name": "laravel/framework",
- "version": "v5.6.39",
+ "version": "v5.5.44",
"source": {
"type": "git",
"url": "https://github.com/laravel/framework.git",
- "reference": "37bb306f516669ab4f888c16003f694313ab299e"
+ "reference": "00615aa27eb98f0ee6fb9f2160c6c60ae04abd1b"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/laravel/framework/zipball/37bb306f516669ab4f888c16003f694313ab299e",
- "reference": "37bb306f516669ab4f888c16003f694313ab299e",
+ "url": "https://api.github.com/repos/laravel/framework/zipball/00615aa27eb98f0ee6fb9f2160c6c60ae04abd1b",
+ "reference": "00615aa27eb98f0ee6fb9f2160c6c60ae04abd1b",
"shasum": ""
},
"require": {
"doctrine/inflector": "~1.1",
- "dragonmantank/cron-expression": "~2.0",
"erusev/parsedown": "~1.7",
"ext-mbstring": "*",
"ext-openssl": "*",
"league/flysystem": "^1.0.8",
"monolog/monolog": "~1.12",
- "nesbot/carbon": "1.25.*",
- "php": "^7.1.3",
+ "mtdowling/cron-expression": "~1.0",
+ "nesbot/carbon": "^1.24.1",
+ "php": ">=7.0",
"psr/container": "~1.0",
"psr/simple-cache": "^1.0",
- "ramsey/uuid": "^3.7",
+ "ramsey/uuid": "~3.0",
"swiftmailer/swiftmailer": "~6.0",
- "symfony/console": "~4.0",
- "symfony/debug": "~4.0",
- "symfony/finder": "~4.0",
- "symfony/http-foundation": "~4.0",
- "symfony/http-kernel": "~4.0",
- "symfony/process": "~4.0",
- "symfony/routing": "~4.0",
- "symfony/var-dumper": "~4.0",
- "tijsverkoyen/css-to-inline-styles": "^2.2.1",
+ "symfony/console": "~3.3",
+ "symfony/debug": "~3.3",
+ "symfony/finder": "~3.3",
+ "symfony/http-foundation": "~3.3",
+ "symfony/http-kernel": "~3.3",
+ "symfony/process": "~3.3",
+ "symfony/routing": "~3.3",
+ "symfony/var-dumper": "~3.3",
+ "tijsverkoyen/css-to-inline-styles": "~2.2",
"vlucas/phpdotenv": "~2.2"
},
- "conflict": {
- "tightenco/collect": "<5.5.33"
- },
"replace": {
"illuminate/auth": "self.version",
"illuminate/broadcasting": "self.version",
@@ -522,46 +475,44 @@
"illuminate/support": "self.version",
"illuminate/translation": "self.version",
"illuminate/validation": "self.version",
- "illuminate/view": "self.version"
+ "illuminate/view": "self.version",
+ "tightenco/collect": "<5.5.33"
},
"require-dev": {
"aws/aws-sdk-php": "~3.0",
- "doctrine/dbal": "~2.6",
+ "doctrine/dbal": "~2.5",
"filp/whoops": "^2.1.4",
- "league/flysystem-cached-adapter": "~1.0",
"mockery/mockery": "~1.0",
- "moontoast/math": "^1.1",
- "orchestra/testbench-core": "3.6.*",
+ "orchestra/testbench-core": "3.5.*",
"pda/pheanstalk": "~3.0",
- "phpunit/phpunit": "~7.0",
+ "phpunit/phpunit": "~6.0",
"predis/predis": "^1.1.1",
- "symfony/css-selector": "~4.0",
- "symfony/dom-crawler": "~4.0"
+ "symfony/css-selector": "~3.3",
+ "symfony/dom-crawler": "~3.3"
},
"suggest": {
"aws/aws-sdk-php": "Required to use the SQS queue driver and SES mail driver (~3.0).",
- "doctrine/dbal": "Required to rename columns and drop SQLite columns (~2.6).",
+ "doctrine/dbal": "Required to rename columns and drop SQLite columns (~2.5).",
"ext-pcntl": "Required to use all features of the queue worker.",
"ext-posix": "Required to use all features of the queue worker.",
"fzaninotto/faker": "Required to use the eloquent factory builder (~1.4).",
"guzzlehttp/guzzle": "Required to use the Mailgun and Mandrill mail drivers and the ping methods on schedules (~6.0).",
"laravel/tinker": "Required to use the tinker console command (~1.0).",
"league/flysystem-aws-s3-v3": "Required to use the Flysystem S3 driver (~1.0).",
- "league/flysystem-cached-adapter": "Required to use the Flysystem cache (~1.0).",
+ "league/flysystem-cached-adapter": "Required to use Flysystem caching (~1.0).",
"league/flysystem-rackspace": "Required to use the Flysystem Rackspace driver (~1.0).",
- "league/flysystem-sftp": "Required to use the Flysystem SFTP driver (~1.0).",
"nexmo/client": "Required to use the Nexmo transport (~1.0).",
"pda/pheanstalk": "Required to use the beanstalk queue driver (~3.0).",
"predis/predis": "Required to use the redis cache and queue drivers (~1.0).",
"pusher/pusher-php-server": "Required to use the Pusher broadcast driver (~3.0).",
- "symfony/css-selector": "Required to use some of the crawler integration testing tools (~4.0).",
- "symfony/dom-crawler": "Required to use most of the crawler integration testing tools (~4.0).",
+ "symfony/css-selector": "Required to use some of the crawler integration testing tools (~3.3).",
+ "symfony/dom-crawler": "Required to use most of the crawler integration testing tools (~3.3).",
"symfony/psr-http-message-bridge": "Required to psr7 bridging features (~1.0)."
},
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "5.6-dev"
+ "dev-master": "5.5-dev"
}
},
"autoload": {
@@ -589,7 +540,7 @@
"framework",
"laravel"
],
- "time": "2018-10-04T14:50:41+00:00"
+ "time": "2018-10-04T14:51:24+00:00"
},
{
"name": "laravel/tinker",
@@ -816,18 +767,62 @@
],
"time": "2018-11-05T09:00:11+00:00"
},
+ {
+ "name": "mtdowling/cron-expression",
+ "version": "v1.2.1",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/mtdowling/cron-expression.git",
+ "reference": "9504fa9ea681b586028adaaa0877db4aecf32bad"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/mtdowling/cron-expression/zipball/9504fa9ea681b586028adaaa0877db4aecf32bad",
+ "reference": "9504fa9ea681b586028adaaa0877db4aecf32bad",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=5.3.2"
+ },
+ "require-dev": {
+ "phpunit/phpunit": "~4.0|~5.0"
+ },
+ "type": "library",
+ "autoload": {
+ "psr-4": {
+ "Cron\\": "src/Cron/"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Michael Dowling",
+ "email": "mtdowling@gmail.com",
+ "homepage": "https://github.com/mtdowling"
+ }
+ ],
+ "description": "CRON for PHP: Calculate the next or previous run date and determine if a CRON expression is due",
+ "keywords": [
+ "cron",
+ "schedule"
+ ],
+ "time": "2017-01-23T04:29:33+00:00"
+ },
{
"name": "nesbot/carbon",
- "version": "1.25.0",
+ "version": "1.35.1",
"source": {
"type": "git",
"url": "https://github.com/briannesbitt/Carbon.git",
- "reference": "cbcf13da0b531767e39eb86e9687f5deba9857b4"
+ "reference": "5c05a2be472b22f63291d192410df9f0e0de3b19"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/briannesbitt/Carbon/zipball/cbcf13da0b531767e39eb86e9687f5deba9857b4",
- "reference": "cbcf13da0b531767e39eb86e9687f5deba9857b4",
+ "url": "https://api.github.com/repos/briannesbitt/Carbon/zipball/5c05a2be472b22f63291d192410df9f0e0de3b19",
+ "reference": "5c05a2be472b22f63291d192410df9f0e0de3b19",
"shasum": ""
},
"require": {
@@ -835,18 +830,23 @@
"symfony/translation": "~2.6 || ~3.0 || ~4.0"
},
"require-dev": {
- "friendsofphp/php-cs-fixer": "~2",
"phpunit/phpunit": "^4.8.35 || ^5.7"
},
+ "suggest": {
+ "friendsofphp/php-cs-fixer": "Needed for the `composer phpcs` command. Allow to automatically fix code style.",
+ "phpstan/phpstan": "Needed for the `composer phpstan` command. Allow to detect potential errors."
+ },
"type": "library",
"extra": {
- "branch-alias": {
- "dev-master": "1.23-dev"
+ "laravel": {
+ "providers": [
+ "Carbon\\Laravel\\ServiceProvider"
+ ]
}
},
"autoload": {
"psr-4": {
- "Carbon\\": "src/Carbon/"
+ "": "src/"
}
},
"notification-url": "https://packagist.org/downloads/",
@@ -867,7 +867,7 @@
"datetime",
"time"
],
- "time": "2018-03-19T15:50:49+00:00"
+ "time": "2018-11-14T21:55:58+00:00"
},
{
"name": "nikic/php-parser",
@@ -1326,20 +1326,21 @@
},
{
"name": "symfony/console",
- "version": "v4.1.7",
+ "version": "v3.4.18",
"source": {
"type": "git",
"url": "https://github.com/symfony/console.git",
- "reference": "432122af37d8cd52fba1b294b11976e0d20df595"
+ "reference": "1d228fb4602047d7b26a0554e0d3efd567da5803"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/console/zipball/432122af37d8cd52fba1b294b11976e0d20df595",
- "reference": "432122af37d8cd52fba1b294b11976e0d20df595",
+ "url": "https://api.github.com/repos/symfony/console/zipball/1d228fb4602047d7b26a0554e0d3efd567da5803",
+ "reference": "1d228fb4602047d7b26a0554e0d3efd567da5803",
"shasum": ""
},
"require": {
- "php": "^7.1.3",
+ "php": "^5.5.9|>=7.0.8",
+ "symfony/debug": "~2.8|~3.0|~4.0",
"symfony/polyfill-mbstring": "~1.0"
},
"conflict": {
@@ -1348,11 +1349,11 @@
},
"require-dev": {
"psr/log": "~1.0",
- "symfony/config": "~3.4|~4.0",
+ "symfony/config": "~3.3|~4.0",
"symfony/dependency-injection": "~3.4|~4.0",
- "symfony/event-dispatcher": "~3.4|~4.0",
+ "symfony/event-dispatcher": "~2.8|~3.0|~4.0",
"symfony/lock": "~3.4|~4.0",
- "symfony/process": "~3.4|~4.0"
+ "symfony/process": "~3.3|~4.0"
},
"suggest": {
"psr/log-implementation": "For using the console logger",
@@ -1363,7 +1364,7 @@
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "4.1-dev"
+ "dev-master": "3.4-dev"
}
},
"autoload": {
@@ -1390,29 +1391,29 @@
],
"description": "Symfony Console Component",
"homepage": "https://symfony.com",
- "time": "2018-10-31T09:30:44+00:00"
+ "time": "2018-10-30T16:50:50+00:00"
},
{
"name": "symfony/css-selector",
- "version": "v4.1.7",
+ "version": "v3.4.18",
"source": {
"type": "git",
"url": "https://github.com/symfony/css-selector.git",
- "reference": "d67de79a70a27d93c92c47f37ece958bf8de4d8a"
+ "reference": "3503415d4aafabc31cd08c3a4ebac7f43fde8feb"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/css-selector/zipball/d67de79a70a27d93c92c47f37ece958bf8de4d8a",
- "reference": "d67de79a70a27d93c92c47f37ece958bf8de4d8a",
+ "url": "https://api.github.com/repos/symfony/css-selector/zipball/3503415d4aafabc31cd08c3a4ebac7f43fde8feb",
+ "reference": "3503415d4aafabc31cd08c3a4ebac7f43fde8feb",
"shasum": ""
},
"require": {
- "php": "^7.1.3"
+ "php": "^5.5.9|>=7.0.8"
},
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "4.1-dev"
+ "dev-master": "3.4-dev"
}
},
"autoload": {
@@ -1443,36 +1444,36 @@
],
"description": "Symfony CssSelector Component",
"homepage": "https://symfony.com",
- "time": "2018-10-02T16:36:10+00:00"
+ "time": "2018-10-02T16:33:53+00:00"
},
{
"name": "symfony/debug",
- "version": "v4.1.7",
+ "version": "v3.4.18",
"source": {
"type": "git",
"url": "https://github.com/symfony/debug.git",
- "reference": "19090917b848a799cbae4800abf740fe4eb71c1d"
+ "reference": "fe9793af008b651c5441bdeab21ede8172dab097"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/debug/zipball/19090917b848a799cbae4800abf740fe4eb71c1d",
- "reference": "19090917b848a799cbae4800abf740fe4eb71c1d",
+ "url": "https://api.github.com/repos/symfony/debug/zipball/fe9793af008b651c5441bdeab21ede8172dab097",
+ "reference": "fe9793af008b651c5441bdeab21ede8172dab097",
"shasum": ""
},
"require": {
- "php": "^7.1.3",
+ "php": "^5.5.9|>=7.0.8",
"psr/log": "~1.0"
},
"conflict": {
- "symfony/http-kernel": "<3.4"
+ "symfony/http-kernel": ">=2.3,<2.3.24|~2.4.0|>=2.5,<2.5.9|>=2.6,<2.6.2"
},
"require-dev": {
- "symfony/http-kernel": "~3.4|~4.0"
+ "symfony/http-kernel": "~2.8|~3.0|~4.0"
},
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "4.1-dev"
+ "dev-master": "3.4-dev"
}
},
"autoload": {
@@ -1499,34 +1500,34 @@
],
"description": "Symfony Debug Component",
"homepage": "https://symfony.com",
- "time": "2018-10-31T09:09:42+00:00"
+ "time": "2018-10-31T09:06:03+00:00"
},
{
"name": "symfony/event-dispatcher",
- "version": "v4.1.7",
+ "version": "v3.4.18",
"source": {
"type": "git",
"url": "https://github.com/symfony/event-dispatcher.git",
- "reference": "552541dad078c85d9414b09c041ede488b456cd5"
+ "reference": "db9e829c8f34c3d35cf37fcd4cdb4293bc4a2f14"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/552541dad078c85d9414b09c041ede488b456cd5",
- "reference": "552541dad078c85d9414b09c041ede488b456cd5",
+ "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/db9e829c8f34c3d35cf37fcd4cdb4293bc4a2f14",
+ "reference": "db9e829c8f34c3d35cf37fcd4cdb4293bc4a2f14",
"shasum": ""
},
"require": {
- "php": "^7.1.3"
+ "php": "^5.5.9|>=7.0.8"
},
"conflict": {
- "symfony/dependency-injection": "<3.4"
+ "symfony/dependency-injection": "<3.3"
},
"require-dev": {
"psr/log": "~1.0",
- "symfony/config": "~3.4|~4.0",
- "symfony/dependency-injection": "~3.4|~4.0",
- "symfony/expression-language": "~3.4|~4.0",
- "symfony/stopwatch": "~3.4|~4.0"
+ "symfony/config": "~2.8|~3.0|~4.0",
+ "symfony/dependency-injection": "~3.3|~4.0",
+ "symfony/expression-language": "~2.8|~3.0|~4.0",
+ "symfony/stopwatch": "~2.8|~3.0|~4.0"
},
"suggest": {
"symfony/dependency-injection": "",
@@ -1535,7 +1536,7 @@
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "4.1-dev"
+ "dev-master": "3.4-dev"
}
},
"autoload": {
@@ -1562,29 +1563,29 @@
],
"description": "Symfony EventDispatcher Component",
"homepage": "https://symfony.com",
- "time": "2018-10-10T13:52:42+00:00"
+ "time": "2018-10-30T16:50:50+00:00"
},
{
"name": "symfony/finder",
- "version": "v4.1.7",
+ "version": "v3.4.18",
"source": {
"type": "git",
"url": "https://github.com/symfony/finder.git",
- "reference": "1f17195b44543017a9c9b2d437c670627e96ad06"
+ "reference": "54ba444dddc5bd5708a34bd095ea67c6eb54644d"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/finder/zipball/1f17195b44543017a9c9b2d437c670627e96ad06",
- "reference": "1f17195b44543017a9c9b2d437c670627e96ad06",
+ "url": "https://api.github.com/repos/symfony/finder/zipball/54ba444dddc5bd5708a34bd095ea67c6eb54644d",
+ "reference": "54ba444dddc5bd5708a34bd095ea67c6eb54644d",
"shasum": ""
},
"require": {
- "php": "^7.1.3"
+ "php": "^5.5.9|>=7.0.8"
},
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "4.1-dev"
+ "dev-master": "3.4-dev"
}
},
"autoload": {
@@ -1611,34 +1612,34 @@
],
"description": "Symfony Finder Component",
"homepage": "https://symfony.com",
- "time": "2018-10-03T08:47:56+00:00"
+ "time": "2018-10-03T08:46:40+00:00"
},
{
"name": "symfony/http-foundation",
- "version": "v4.1.7",
+ "version": "v3.4.18",
"source": {
"type": "git",
"url": "https://github.com/symfony/http-foundation.git",
- "reference": "82d494c1492b0dd24bbc5c2d963fb02eb44491af"
+ "reference": "5aea7a86ca3203dd7a257e765b4b9c9cfd01c6c0"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/http-foundation/zipball/82d494c1492b0dd24bbc5c2d963fb02eb44491af",
- "reference": "82d494c1492b0dd24bbc5c2d963fb02eb44491af",
+ "url": "https://api.github.com/repos/symfony/http-foundation/zipball/5aea7a86ca3203dd7a257e765b4b9c9cfd01c6c0",
+ "reference": "5aea7a86ca3203dd7a257e765b4b9c9cfd01c6c0",
"shasum": ""
},
"require": {
- "php": "^7.1.3",
- "symfony/polyfill-mbstring": "~1.1"
+ "php": "^5.5.9|>=7.0.8",
+ "symfony/polyfill-mbstring": "~1.1",
+ "symfony/polyfill-php70": "~1.6"
},
"require-dev": {
- "predis/predis": "~1.0",
- "symfony/expression-language": "~3.4|~4.0"
+ "symfony/expression-language": "~2.8|~3.0|~4.0"
},
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "4.1-dev"
+ "dev-master": "3.4-dev"
}
},
"autoload": {
@@ -1665,34 +1666,34 @@
],
"description": "Symfony HttpFoundation Component",
"homepage": "https://symfony.com",
- "time": "2018-10-31T09:09:42+00:00"
+ "time": "2018-10-31T08:57:11+00:00"
},
{
"name": "symfony/http-kernel",
- "version": "v4.1.7",
+ "version": "v3.4.18",
"source": {
"type": "git",
"url": "https://github.com/symfony/http-kernel.git",
- "reference": "958be64ab13b65172ad646ef5ae20364c2305fae"
+ "reference": "4bf0be7c7fe63eff6a5eae2f21c83e77e31a56fb"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/http-kernel/zipball/958be64ab13b65172ad646ef5ae20364c2305fae",
- "reference": "958be64ab13b65172ad646ef5ae20364c2305fae",
+ "url": "https://api.github.com/repos/symfony/http-kernel/zipball/4bf0be7c7fe63eff6a5eae2f21c83e77e31a56fb",
+ "reference": "4bf0be7c7fe63eff6a5eae2f21c83e77e31a56fb",
"shasum": ""
},
"require": {
- "php": "^7.1.3",
+ "php": "^5.5.9|>=7.0.8",
"psr/log": "~1.0",
- "symfony/debug": "~3.4|~4.0",
- "symfony/event-dispatcher": "~4.1",
- "symfony/http-foundation": "^4.1.1",
+ "symfony/debug": "~2.8|~3.0|~4.0",
+ "symfony/event-dispatcher": "~2.8|~3.0|~4.0",
+ "symfony/http-foundation": "~3.4.12|~4.0.12|^4.1.1",
"symfony/polyfill-ctype": "~1.8"
},
"conflict": {
- "symfony/config": "<3.4",
- "symfony/dependency-injection": "<4.1",
- "symfony/var-dumper": "<4.1.1",
+ "symfony/config": "<2.8",
+ "symfony/dependency-injection": "<3.4.10|<4.0.10,>=4",
+ "symfony/var-dumper": "<3.3",
"twig/twig": "<1.34|<2.4,>=2"
},
"provide": {
@@ -1700,32 +1701,34 @@
},
"require-dev": {
"psr/cache": "~1.0",
- "symfony/browser-kit": "~3.4|~4.0",
- "symfony/config": "~3.4|~4.0",
- "symfony/console": "~3.4|~4.0",
- "symfony/css-selector": "~3.4|~4.0",
- "symfony/dependency-injection": "^4.1",
- "symfony/dom-crawler": "~3.4|~4.0",
- "symfony/expression-language": "~3.4|~4.0",
- "symfony/finder": "~3.4|~4.0",
- "symfony/process": "~3.4|~4.0",
+ "symfony/browser-kit": "~2.8|~3.0|~4.0",
+ "symfony/class-loader": "~2.8|~3.0",
+ "symfony/config": "~2.8|~3.0|~4.0",
+ "symfony/console": "~2.8|~3.0|~4.0",
+ "symfony/css-selector": "~2.8|~3.0|~4.0",
+ "symfony/dependency-injection": "^3.4.10|^4.0.10",
+ "symfony/dom-crawler": "~2.8|~3.0|~4.0",
+ "symfony/expression-language": "~2.8|~3.0|~4.0",
+ "symfony/finder": "~2.8|~3.0|~4.0",
+ "symfony/process": "~2.8|~3.0|~4.0",
"symfony/routing": "~3.4|~4.0",
- "symfony/stopwatch": "~3.4|~4.0",
- "symfony/templating": "~3.4|~4.0",
- "symfony/translation": "~3.4|~4.0",
- "symfony/var-dumper": "^4.1.1"
+ "symfony/stopwatch": "~2.8|~3.0|~4.0",
+ "symfony/templating": "~2.8|~3.0|~4.0",
+ "symfony/translation": "~2.8|~3.0|~4.0",
+ "symfony/var-dumper": "~3.3|~4.0"
},
"suggest": {
"symfony/browser-kit": "",
"symfony/config": "",
"symfony/console": "",
"symfony/dependency-injection": "",
+ "symfony/finder": "",
"symfony/var-dumper": ""
},
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "4.1-dev"
+ "dev-master": "3.4-dev"
}
},
"autoload": {
@@ -1752,7 +1755,7 @@
],
"description": "Symfony HttpKernel Component",
"homepage": "https://symfony.com",
- "time": "2018-11-03T11:11:23+00:00"
+ "time": "2018-11-03T10:03:02+00:00"
},
{
"name": "symfony/polyfill-ctype",
@@ -1872,20 +1875,21 @@
"time": "2018-09-21T13:07:52+00:00"
},
{
- "name": "symfony/polyfill-php72",
+ "name": "symfony/polyfill-php70",
"version": "v1.10.0",
"source": {
"type": "git",
- "url": "https://github.com/symfony/polyfill-php72.git",
- "reference": "9050816e2ca34a8e916c3a0ae8b9c2fccf68b631"
+ "url": "https://github.com/symfony/polyfill-php70.git",
+ "reference": "6b88000cdd431cd2e940caa2cb569201f3f84224"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/polyfill-php72/zipball/9050816e2ca34a8e916c3a0ae8b9c2fccf68b631",
- "reference": "9050816e2ca34a8e916c3a0ae8b9c2fccf68b631",
+ "url": "https://api.github.com/repos/symfony/polyfill-php70/zipball/6b88000cdd431cd2e940caa2cb569201f3f84224",
+ "reference": "6b88000cdd431cd2e940caa2cb569201f3f84224",
"shasum": ""
},
"require": {
+ "paragonie/random_compat": "~1.0|~2.0|~9.99",
"php": ">=5.3.3"
},
"type": "library",
@@ -1896,10 +1900,13 @@
},
"autoload": {
"psr-4": {
- "Symfony\\Polyfill\\Php72\\": ""
+ "Symfony\\Polyfill\\Php70\\": ""
},
"files": [
"bootstrap.php"
+ ],
+ "classmap": [
+ "Resources/stubs"
]
},
"notification-url": "https://packagist.org/downloads/",
@@ -1916,7 +1923,7 @@
"homepage": "https://symfony.com/contributors"
}
],
- "description": "Symfony polyfill backporting some PHP 7.2+ features to lower PHP versions",
+ "description": "Symfony polyfill backporting some PHP 7.0+ features to lower PHP versions",
"homepage": "https://symfony.com",
"keywords": [
"compatibility",
@@ -1924,29 +1931,29 @@
"portable",
"shim"
],
- "time": "2018-09-21T13:07:52+00:00"
+ "time": "2018-09-21T06:26:08+00:00"
},
{
"name": "symfony/process",
- "version": "v4.1.7",
+ "version": "v3.4.18",
"source": {
"type": "git",
"url": "https://github.com/symfony/process.git",
- "reference": "3e83acef94d979b1de946599ef86b3a352abcdc9"
+ "reference": "35c2914a9f50519bd207164c353ae4d59182c2cb"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/process/zipball/3e83acef94d979b1de946599ef86b3a352abcdc9",
- "reference": "3e83acef94d979b1de946599ef86b3a352abcdc9",
+ "url": "https://api.github.com/repos/symfony/process/zipball/35c2914a9f50519bd207164c353ae4d59182c2cb",
+ "reference": "35c2914a9f50519bd207164c353ae4d59182c2cb",
"shasum": ""
},
"require": {
- "php": "^7.1.3"
+ "php": "^5.5.9|>=7.0.8"
},
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "4.1-dev"
+ "dev-master": "3.4-dev"
}
},
"autoload": {
@@ -1973,37 +1980,37 @@
],
"description": "Symfony Process Component",
"homepage": "https://symfony.com",
- "time": "2018-10-14T20:48:13+00:00"
+ "time": "2018-10-14T17:33:21+00:00"
},
{
"name": "symfony/routing",
- "version": "v4.1.7",
+ "version": "v3.4.18",
"source": {
"type": "git",
"url": "https://github.com/symfony/routing.git",
- "reference": "d4a3c14cfbe6b9c05a1d6e948654022d4d1ad3fd"
+ "reference": "585f6e2d740393d546978769dd56e496a6233e0b"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/routing/zipball/d4a3c14cfbe6b9c05a1d6e948654022d4d1ad3fd",
- "reference": "d4a3c14cfbe6b9c05a1d6e948654022d4d1ad3fd",
+ "url": "https://api.github.com/repos/symfony/routing/zipball/585f6e2d740393d546978769dd56e496a6233e0b",
+ "reference": "585f6e2d740393d546978769dd56e496a6233e0b",
"shasum": ""
},
"require": {
- "php": "^7.1.3"
+ "php": "^5.5.9|>=7.0.8"
},
"conflict": {
- "symfony/config": "<3.4",
- "symfony/dependency-injection": "<3.4",
+ "symfony/config": "<3.3.1",
+ "symfony/dependency-injection": "<3.3",
"symfony/yaml": "<3.4"
},
"require-dev": {
"doctrine/annotations": "~1.0",
"psr/log": "~1.0",
- "symfony/config": "~3.4|~4.0",
- "symfony/dependency-injection": "~3.4|~4.0",
- "symfony/expression-language": "~3.4|~4.0",
- "symfony/http-foundation": "~3.4|~4.0",
+ "symfony/config": "^3.3.1|~4.0",
+ "symfony/dependency-injection": "~3.3|~4.0",
+ "symfony/expression-language": "~2.8|~3.0|~4.0",
+ "symfony/http-foundation": "~2.8|~3.0|~4.0",
"symfony/yaml": "~3.4|~4.0"
},
"suggest": {
@@ -2017,7 +2024,7 @@
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "4.1-dev"
+ "dev-master": "3.4-dev"
}
},
"autoload": {
@@ -2050,38 +2057,37 @@
"uri",
"url"
],
- "time": "2018-10-28T18:38:52+00:00"
+ "time": "2018-10-02T12:28:39+00:00"
},
{
"name": "symfony/translation",
- "version": "v4.1.7",
+ "version": "v3.4.18",
"source": {
"type": "git",
"url": "https://github.com/symfony/translation.git",
- "reference": "aa04dc1c75b7d3da7bd7003104cd0cfc5dff635c"
+ "reference": "94bc3a79008e6640defedf5e14eb3b4f20048352"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/translation/zipball/aa04dc1c75b7d3da7bd7003104cd0cfc5dff635c",
- "reference": "aa04dc1c75b7d3da7bd7003104cd0cfc5dff635c",
+ "url": "https://api.github.com/repos/symfony/translation/zipball/94bc3a79008e6640defedf5e14eb3b4f20048352",
+ "reference": "94bc3a79008e6640defedf5e14eb3b4f20048352",
"shasum": ""
},
"require": {
- "php": "^7.1.3",
+ "php": "^5.5.9|>=7.0.8",
"symfony/polyfill-mbstring": "~1.0"
},
"conflict": {
- "symfony/config": "<3.4",
+ "symfony/config": "<2.8",
"symfony/dependency-injection": "<3.4",
"symfony/yaml": "<3.4"
},
"require-dev": {
"psr/log": "~1.0",
- "symfony/config": "~3.4|~4.0",
- "symfony/console": "~3.4|~4.0",
+ "symfony/config": "~2.8|~3.0|~4.0",
"symfony/dependency-injection": "~3.4|~4.0",
"symfony/finder": "~2.8|~3.0|~4.0",
- "symfony/intl": "~3.4|~4.0",
+ "symfony/intl": "^2.8.18|^3.2.5|~4.0",
"symfony/yaml": "~3.4|~4.0"
},
"suggest": {
@@ -2092,7 +2098,7 @@
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "4.1-dev"
+ "dev-master": "3.4-dev"
}
},
"autoload": {
@@ -2119,48 +2125,42 @@
],
"description": "Symfony Translation Component",
"homepage": "https://symfony.com",
- "time": "2018-10-28T18:38:52+00:00"
+ "time": "2018-10-02T16:33:53+00:00"
},
{
"name": "symfony/var-dumper",
- "version": "v4.1.7",
+ "version": "v3.4.18",
"source": {
"type": "git",
"url": "https://github.com/symfony/var-dumper.git",
- "reference": "60319b45653580b0cdacca499344577d87732f16"
+ "reference": "ff8ac19e97e5c7c3979236b584719a1190f84181"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/var-dumper/zipball/60319b45653580b0cdacca499344577d87732f16",
- "reference": "60319b45653580b0cdacca499344577d87732f16",
+ "url": "https://api.github.com/repos/symfony/var-dumper/zipball/ff8ac19e97e5c7c3979236b584719a1190f84181",
+ "reference": "ff8ac19e97e5c7c3979236b584719a1190f84181",
"shasum": ""
},
"require": {
- "php": "^7.1.3",
- "symfony/polyfill-mbstring": "~1.0",
- "symfony/polyfill-php72": "~1.5"
+ "php": "^5.5.9|>=7.0.8",
+ "symfony/polyfill-mbstring": "~1.0"
},
"conflict": {
- "phpunit/phpunit": "<4.8.35|<5.4.3,>=5.0",
- "symfony/console": "<3.4"
+ "phpunit/phpunit": "<4.8.35|<5.4.3,>=5.0"
},
"require-dev": {
"ext-iconv": "*",
- "symfony/process": "~3.4|~4.0",
"twig/twig": "~1.34|~2.4"
},
"suggest": {
"ext-iconv": "To convert non-UTF-8 strings to UTF-8 (or symfony/polyfill-iconv in case ext-iconv cannot be used).",
"ext-intl": "To show region name in time zone dump",
- "symfony/console": "To use the ServerDumpCommand and/or the bin/var-dump-server script"
+ "ext-symfony_debug": ""
},
- "bin": [
- "Resources/bin/var-dump-server"
- ],
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "4.1-dev"
+ "dev-master": "3.4-dev"
}
},
"autoload": {
@@ -2194,7 +2194,7 @@
"debug",
"dump"
],
- "time": "2018-10-02T16:36:10+00:00"
+ "time": "2018-10-02T16:33:53+00:00"
},
{
"name": "tijsverkoyen/css-to-inline-styles",
@@ -2297,32 +2297,32 @@
"packages-dev": [
{
"name": "doctrine/instantiator",
- "version": "1.1.0",
+ "version": "1.0.5",
"source": {
"type": "git",
"url": "https://github.com/doctrine/instantiator.git",
- "reference": "185b8868aa9bf7159f5f953ed5afb2d7fcdc3bda"
+ "reference": "8e884e78f9f0eb1329e445619e04456e64d8051d"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/doctrine/instantiator/zipball/185b8868aa9bf7159f5f953ed5afb2d7fcdc3bda",
- "reference": "185b8868aa9bf7159f5f953ed5afb2d7fcdc3bda",
+ "url": "https://api.github.com/repos/doctrine/instantiator/zipball/8e884e78f9f0eb1329e445619e04456e64d8051d",
+ "reference": "8e884e78f9f0eb1329e445619e04456e64d8051d",
"shasum": ""
},
"require": {
- "php": "^7.1"
+ "php": ">=5.3,<8.0-DEV"
},
"require-dev": {
"athletic/athletic": "~0.1.8",
"ext-pdo": "*",
"ext-phar": "*",
- "phpunit/phpunit": "^6.2.3",
- "squizlabs/php_codesniffer": "^3.0.2"
+ "phpunit/phpunit": "~4.0",
+ "squizlabs/php_codesniffer": "~2.0"
},
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "1.2.x-dev"
+ "dev-master": "1.0.x-dev"
}
},
"autoload": {
@@ -2347,7 +2347,7 @@
"constructor",
"instantiate"
],
- "time": "2017-07-22T11:58:36+00:00"
+ "time": "2015-06-14T21:17:01+00:00"
},
{
"name": "filp/whoops",
@@ -2508,6 +2508,56 @@
],
"time": "2016-01-20T08:20:44+00:00"
},
+ {
+ "name": "laravel/homestead",
+ "version": "v8.4.0",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/laravel/homestead.git",
+ "reference": "c1e194bac77a03374adb9f92be818d25fa16335a"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/laravel/homestead/zipball/c1e194bac77a03374adb9f92be818d25fa16335a",
+ "reference": "c1e194bac77a03374adb9f92be818d25fa16335a",
+ "shasum": ""
+ },
+ "require": {
+ "php": "^7.1",
+ "symfony/console": "~3.0||~4.0",
+ "symfony/process": "~3.0||~4.0",
+ "symfony/yaml": "~3.0||~4.0"
+ },
+ "require-dev": {
+ "phpunit/phpunit": "^6.0"
+ },
+ "bin": [
+ "bin/homestead"
+ ],
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "4.0-dev"
+ }
+ },
+ "autoload": {
+ "psr-4": {
+ "Laravel\\Homestead\\": "src/"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Taylor Otwell",
+ "email": "taylorotwell@gmail.com"
+ }
+ ],
+ "description": "A virtual machine for web artisans.",
+ "time": "2019-05-01T14:45:57+00:00"
+ },
{
"name": "mockery/mockery",
"version": "1.2.0",
@@ -2575,28 +2625,25 @@
},
{
"name": "myclabs/deep-copy",
- "version": "1.8.1",
+ "version": "1.7.0",
"source": {
"type": "git",
"url": "https://github.com/myclabs/DeepCopy.git",
- "reference": "3e01bdad3e18354c3dce54466b7fbe33a9f9f7f8"
+ "reference": "3b8a3a99ba1f6a3952ac2747d989303cbd6b7a3e"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/3e01bdad3e18354c3dce54466b7fbe33a9f9f7f8",
- "reference": "3e01bdad3e18354c3dce54466b7fbe33a9f9f7f8",
+ "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/3b8a3a99ba1f6a3952ac2747d989303cbd6b7a3e",
+ "reference": "3b8a3a99ba1f6a3952ac2747d989303cbd6b7a3e",
"shasum": ""
},
"require": {
- "php": "^7.1"
- },
- "replace": {
- "myclabs/deep-copy": "self.version"
+ "php": "^5.6 || ^7.0"
},
"require-dev": {
"doctrine/collections": "^1.0",
"doctrine/common": "^2.6",
- "phpunit/phpunit": "^7.1"
+ "phpunit/phpunit": "^4.1"
},
"type": "library",
"autoload": {
@@ -2619,89 +2666,26 @@
"object",
"object graph"
],
- "time": "2018-06-11T23:09:50+00:00"
- },
- {
- "name": "nunomaduro/collision",
- "version": "v2.1.0",
- "source": {
- "type": "git",
- "url": "https://github.com/nunomaduro/collision.git",
- "reference": "1149ad9f36f61b121ae61f5f6de820fc77b51e6b"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/nunomaduro/collision/zipball/1149ad9f36f61b121ae61f5f6de820fc77b51e6b",
- "reference": "1149ad9f36f61b121ae61f5f6de820fc77b51e6b",
- "shasum": ""
- },
- "require": {
- "filp/whoops": "^2.1.4",
- "jakub-onderka/php-console-highlighter": "0.3.*",
- "php": "^7.1",
- "symfony/console": "~2.8|~3.3|~4.0"
- },
- "require-dev": {
- "laravel/framework": "5.7.*",
- "phpstan/phpstan": "^0.10",
- "phpunit/phpunit": "~7.3"
- },
- "type": "library",
- "extra": {
- "laravel": {
- "providers": [
- "NunoMaduro\\Collision\\Adapters\\Laravel\\CollisionServiceProvider"
- ]
- }
- },
- "autoload": {
- "psr-4": {
- "NunoMaduro\\Collision\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Nuno Maduro",
- "email": "enunomaduro@gmail.com"
- }
- ],
- "description": "Cli error handling for console/command-line PHP applications.",
- "keywords": [
- "artisan",
- "cli",
- "command-line",
- "console",
- "error",
- "handling",
- "laravel",
- "laravel-zero",
- "php",
- "symfony"
- ],
- "time": "2018-10-03T20:01:54+00:00"
+ "time": "2017-10-19T19:58:43+00:00"
},
{
"name": "phar-io/manifest",
- "version": "1.0.3",
+ "version": "1.0.1",
"source": {
"type": "git",
"url": "https://github.com/phar-io/manifest.git",
- "reference": "7761fcacf03b4d4f16e7ccb606d4879ca431fcf4"
+ "reference": "2df402786ab5368a0169091f61a7c1e0eb6852d0"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/phar-io/manifest/zipball/7761fcacf03b4d4f16e7ccb606d4879ca431fcf4",
- "reference": "7761fcacf03b4d4f16e7ccb606d4879ca431fcf4",
+ "url": "https://api.github.com/repos/phar-io/manifest/zipball/2df402786ab5368a0169091f61a7c1e0eb6852d0",
+ "reference": "2df402786ab5368a0169091f61a7c1e0eb6852d0",
"shasum": ""
},
"require": {
"ext-dom": "*",
"ext-phar": "*",
- "phar-io/version": "^2.0",
+ "phar-io/version": "^1.0.1",
"php": "^5.6 || ^7.0"
},
"type": "library",
@@ -2737,20 +2721,20 @@
}
],
"description": "Component for reading phar.io manifest information from a PHP Archive (PHAR)",
- "time": "2018-07-08T19:23:20+00:00"
+ "time": "2017-03-05T18:14:27+00:00"
},
{
"name": "phar-io/version",
- "version": "2.0.1",
+ "version": "1.0.1",
"source": {
"type": "git",
"url": "https://github.com/phar-io/version.git",
- "reference": "45a2ec53a73c70ce41d55cedef9063630abaf1b6"
+ "reference": "a70c0ced4be299a63d32fa96d9281d03e94041df"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/phar-io/version/zipball/45a2ec53a73c70ce41d55cedef9063630abaf1b6",
- "reference": "45a2ec53a73c70ce41d55cedef9063630abaf1b6",
+ "url": "https://api.github.com/repos/phar-io/version/zipball/a70c0ced4be299a63d32fa96d9281d03e94041df",
+ "reference": "a70c0ced4be299a63d32fa96d9281d03e94041df",
"shasum": ""
},
"require": {
@@ -2784,7 +2768,7 @@
}
],
"description": "Library for handling version information and constraints",
- "time": "2018-07-08T19:19:57+00:00"
+ "time": "2017-03-05T17:38:23+00:00"
},
{
"name": "phpdocumentor/reflection-common",
@@ -3003,40 +2987,40 @@
},
{
"name": "phpunit/php-code-coverage",
- "version": "6.1.4",
+ "version": "5.3.2",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/php-code-coverage.git",
- "reference": "807e6013b00af69b6c5d9ceb4282d0393dbb9d8d"
+ "reference": "c89677919c5dd6d3b3852f230a663118762218ac"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/807e6013b00af69b6c5d9ceb4282d0393dbb9d8d",
- "reference": "807e6013b00af69b6c5d9ceb4282d0393dbb9d8d",
+ "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/c89677919c5dd6d3b3852f230a663118762218ac",
+ "reference": "c89677919c5dd6d3b3852f230a663118762218ac",
"shasum": ""
},
"require": {
"ext-dom": "*",
"ext-xmlwriter": "*",
- "php": "^7.1",
- "phpunit/php-file-iterator": "^2.0",
+ "php": "^7.0",
+ "phpunit/php-file-iterator": "^1.4.2",
"phpunit/php-text-template": "^1.2.1",
- "phpunit/php-token-stream": "^3.0",
+ "phpunit/php-token-stream": "^2.0.1",
"sebastian/code-unit-reverse-lookup": "^1.0.1",
- "sebastian/environment": "^3.1 || ^4.0",
+ "sebastian/environment": "^3.0",
"sebastian/version": "^2.0.1",
"theseer/tokenizer": "^1.1"
},
"require-dev": {
- "phpunit/phpunit": "^7.0"
+ "phpunit/phpunit": "^6.0"
},
"suggest": {
- "ext-xdebug": "^2.6.0"
+ "ext-xdebug": "^2.5.5"
},
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "6.1-dev"
+ "dev-master": "5.3.x-dev"
}
},
"autoload": {
@@ -3062,32 +3046,29 @@
"testing",
"xunit"
],
- "time": "2018-10-31T16:06:48+00:00"
+ "time": "2018-04-06T15:36:58+00:00"
},
{
"name": "phpunit/php-file-iterator",
- "version": "2.0.2",
+ "version": "1.4.5",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/php-file-iterator.git",
- "reference": "050bedf145a257b1ff02746c31894800e5122946"
+ "reference": "730b01bc3e867237eaac355e06a36b85dd93a8b4"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/050bedf145a257b1ff02746c31894800e5122946",
- "reference": "050bedf145a257b1ff02746c31894800e5122946",
+ "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/730b01bc3e867237eaac355e06a36b85dd93a8b4",
+ "reference": "730b01bc3e867237eaac355e06a36b85dd93a8b4",
"shasum": ""
},
"require": {
- "php": "^7.1"
- },
- "require-dev": {
- "phpunit/phpunit": "^7.1"
+ "php": ">=5.3.3"
},
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "2.0.x-dev"
+ "dev-master": "1.4.x-dev"
}
},
"autoload": {
@@ -3102,7 +3083,7 @@
"authors": [
{
"name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
+ "email": "sb@sebastian-bergmann.de",
"role": "lead"
}
],
@@ -3112,7 +3093,7 @@
"filesystem",
"iterator"
],
- "time": "2018-09-13T20:33:42+00:00"
+ "time": "2017-11-27T13:52:08+00:00"
},
{
"name": "phpunit/php-text-template",
@@ -3157,28 +3138,28 @@
},
{
"name": "phpunit/php-timer",
- "version": "2.0.0",
+ "version": "1.0.9",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/php-timer.git",
- "reference": "8b8454ea6958c3dee38453d3bd571e023108c91f"
+ "reference": "3dcf38ca72b158baf0bc245e9184d3fdffa9c46f"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/8b8454ea6958c3dee38453d3bd571e023108c91f",
- "reference": "8b8454ea6958c3dee38453d3bd571e023108c91f",
+ "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/3dcf38ca72b158baf0bc245e9184d3fdffa9c46f",
+ "reference": "3dcf38ca72b158baf0bc245e9184d3fdffa9c46f",
"shasum": ""
},
"require": {
- "php": "^7.1"
+ "php": "^5.3.3 || ^7.0"
},
"require-dev": {
- "phpunit/phpunit": "^7.0"
+ "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.0"
},
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "2.0-dev"
+ "dev-master": "1.0-dev"
}
},
"autoload": {
@@ -3193,7 +3174,7 @@
"authors": [
{
"name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
+ "email": "sb@sebastian-bergmann.de",
"role": "lead"
}
],
@@ -3202,33 +3183,33 @@
"keywords": [
"timer"
],
- "time": "2018-02-01T13:07:23+00:00"
+ "time": "2017-02-26T11:10:40+00:00"
},
{
"name": "phpunit/php-token-stream",
- "version": "3.0.1",
+ "version": "2.0.2",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/php-token-stream.git",
- "reference": "c99e3be9d3e85f60646f152f9002d46ed7770d18"
+ "reference": "791198a2c6254db10131eecfe8c06670700904db"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-token-stream/zipball/c99e3be9d3e85f60646f152f9002d46ed7770d18",
- "reference": "c99e3be9d3e85f60646f152f9002d46ed7770d18",
+ "url": "https://api.github.com/repos/sebastianbergmann/php-token-stream/zipball/791198a2c6254db10131eecfe8c06670700904db",
+ "reference": "791198a2c6254db10131eecfe8c06670700904db",
"shasum": ""
},
"require": {
"ext-tokenizer": "*",
- "php": "^7.1"
+ "php": "^7.0"
},
"require-dev": {
- "phpunit/phpunit": "^7.0"
+ "phpunit/phpunit": "^6.2.4"
},
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "3.0-dev"
+ "dev-master": "2.0-dev"
}
},
"autoload": {
@@ -3251,57 +3232,57 @@
"keywords": [
"tokenizer"
],
- "time": "2018-10-30T05:52:18+00:00"
+ "time": "2017-11-27T05:48:46+00:00"
},
{
"name": "phpunit/phpunit",
- "version": "7.4.3",
+ "version": "6.5.13",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/phpunit.git",
- "reference": "c151651fb6ed264038d486ea262e243af72e5e64"
+ "reference": "0973426fb012359b2f18d3bd1e90ef1172839693"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/c151651fb6ed264038d486ea262e243af72e5e64",
- "reference": "c151651fb6ed264038d486ea262e243af72e5e64",
+ "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/0973426fb012359b2f18d3bd1e90ef1172839693",
+ "reference": "0973426fb012359b2f18d3bd1e90ef1172839693",
"shasum": ""
},
"require": {
- "doctrine/instantiator": "^1.1",
"ext-dom": "*",
"ext-json": "*",
"ext-libxml": "*",
"ext-mbstring": "*",
"ext-xml": "*",
- "myclabs/deep-copy": "^1.7",
- "phar-io/manifest": "^1.0.2",
- "phar-io/version": "^2.0",
- "php": "^7.1",
+ "myclabs/deep-copy": "^1.6.1",
+ "phar-io/manifest": "^1.0.1",
+ "phar-io/version": "^1.0",
+ "php": "^7.0",
"phpspec/prophecy": "^1.7",
- "phpunit/php-code-coverage": "^6.0.7",
- "phpunit/php-file-iterator": "^2.0.1",
+ "phpunit/php-code-coverage": "^5.3",
+ "phpunit/php-file-iterator": "^1.4.3",
"phpunit/php-text-template": "^1.2.1",
- "phpunit/php-timer": "^2.0",
- "sebastian/comparator": "^3.0",
- "sebastian/diff": "^3.0",
- "sebastian/environment": "^3.1 || ^4.0",
+ "phpunit/php-timer": "^1.0.9",
+ "phpunit/phpunit-mock-objects": "^5.0.9",
+ "sebastian/comparator": "^2.1",
+ "sebastian/diff": "^2.0",
+ "sebastian/environment": "^3.1",
"sebastian/exporter": "^3.1",
"sebastian/global-state": "^2.0",
"sebastian/object-enumerator": "^3.0.3",
- "sebastian/resource-operations": "^2.0",
+ "sebastian/resource-operations": "^1.0",
"sebastian/version": "^2.0.1"
},
"conflict": {
- "phpunit/phpunit-mock-objects": "*"
+ "phpdocumentor/reflection-docblock": "3.0.2",
+ "phpunit/dbunit": "<3.0"
},
"require-dev": {
"ext-pdo": "*"
},
"suggest": {
- "ext-soap": "*",
"ext-xdebug": "*",
- "phpunit/php-invoker": "^2.0"
+ "phpunit/php-invoker": "^1.1"
},
"bin": [
"phpunit"
@@ -3309,7 +3290,7 @@
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "7.4-dev"
+ "dev-master": "6.5.x-dev"
}
},
"autoload": {
@@ -3335,7 +3316,66 @@
"testing",
"xunit"
],
- "time": "2018-10-23T05:57:41+00:00"
+ "time": "2018-09-08T15:10:43+00:00"
+ },
+ {
+ "name": "phpunit/phpunit-mock-objects",
+ "version": "5.0.10",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/sebastianbergmann/phpunit-mock-objects.git",
+ "reference": "cd1cf05c553ecfec36b170070573e540b67d3f1f"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/sebastianbergmann/phpunit-mock-objects/zipball/cd1cf05c553ecfec36b170070573e540b67d3f1f",
+ "reference": "cd1cf05c553ecfec36b170070573e540b67d3f1f",
+ "shasum": ""
+ },
+ "require": {
+ "doctrine/instantiator": "^1.0.5",
+ "php": "^7.0",
+ "phpunit/php-text-template": "^1.2.1",
+ "sebastian/exporter": "^3.1"
+ },
+ "conflict": {
+ "phpunit/phpunit": "<6.0"
+ },
+ "require-dev": {
+ "phpunit/phpunit": "^6.5.11"
+ },
+ "suggest": {
+ "ext-soap": "*"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "5.0.x-dev"
+ }
+ },
+ "autoload": {
+ "classmap": [
+ "src/"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "BSD-3-Clause"
+ ],
+ "authors": [
+ {
+ "name": "Sebastian Bergmann",
+ "email": "sebastian@phpunit.de",
+ "role": "lead"
+ }
+ ],
+ "description": "Mock Object library for PHPUnit",
+ "homepage": "https://github.com/sebastianbergmann/phpunit-mock-objects/",
+ "keywords": [
+ "mock",
+ "xunit"
+ ],
+ "time": "2018-08-09T05:50:03+00:00"
},
{
"name": "sebastian/code-unit-reverse-lookup",
@@ -3384,30 +3424,30 @@
},
{
"name": "sebastian/comparator",
- "version": "3.0.2",
+ "version": "2.1.3",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/comparator.git",
- "reference": "5de4fc177adf9bce8df98d8d141a7559d7ccf6da"
+ "reference": "34369daee48eafb2651bea869b4b15d75ccc35f9"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/5de4fc177adf9bce8df98d8d141a7559d7ccf6da",
- "reference": "5de4fc177adf9bce8df98d8d141a7559d7ccf6da",
+ "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/34369daee48eafb2651bea869b4b15d75ccc35f9",
+ "reference": "34369daee48eafb2651bea869b4b15d75ccc35f9",
"shasum": ""
},
"require": {
- "php": "^7.1",
- "sebastian/diff": "^3.0",
+ "php": "^7.0",
+ "sebastian/diff": "^2.0 || ^3.0",
"sebastian/exporter": "^3.1"
},
"require-dev": {
- "phpunit/phpunit": "^7.1"
+ "phpunit/phpunit": "^6.4"
},
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "3.0-dev"
+ "dev-master": "2.1.x-dev"
}
},
"autoload": {
@@ -3444,33 +3484,32 @@
"compare",
"equality"
],
- "time": "2018-07-12T15:12:46+00:00"
+ "time": "2018-02-01T13:46:46+00:00"
},
{
"name": "sebastian/diff",
- "version": "3.0.1",
+ "version": "2.0.1",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/diff.git",
- "reference": "366541b989927187c4ca70490a35615d3fef2dce"
+ "reference": "347c1d8b49c5c3ee30c7040ea6fc446790e6bddd"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/366541b989927187c4ca70490a35615d3fef2dce",
- "reference": "366541b989927187c4ca70490a35615d3fef2dce",
+ "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/347c1d8b49c5c3ee30c7040ea6fc446790e6bddd",
+ "reference": "347c1d8b49c5c3ee30c7040ea6fc446790e6bddd",
"shasum": ""
},
"require": {
- "php": "^7.1"
+ "php": "^7.0"
},
"require-dev": {
- "phpunit/phpunit": "^7.0",
- "symfony/process": "^2 || ^3.3 || ^4"
+ "phpunit/phpunit": "^6.2"
},
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "3.0-dev"
+ "dev-master": "2.0-dev"
}
},
"autoload": {
@@ -3495,12 +3534,9 @@
"description": "Diff implementation",
"homepage": "https://github.com/sebastianbergmann/diff",
"keywords": [
- "diff",
- "udiff",
- "unidiff",
- "unified diff"
+ "diff"
],
- "time": "2018-06-10T07:54:39+00:00"
+ "time": "2017-08-03T08:09:46+00:00"
},
{
"name": "sebastian/environment",
@@ -3817,25 +3853,25 @@
},
{
"name": "sebastian/resource-operations",
- "version": "2.0.1",
+ "version": "1.0.0",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/resource-operations.git",
- "reference": "4d7a795d35b889bf80a0cc04e08d77cedfa917a9"
+ "reference": "ce990bb21759f94aeafd30209e8cfcdfa8bc3f52"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/resource-operations/zipball/4d7a795d35b889bf80a0cc04e08d77cedfa917a9",
- "reference": "4d7a795d35b889bf80a0cc04e08d77cedfa917a9",
+ "url": "https://api.github.com/repos/sebastianbergmann/resource-operations/zipball/ce990bb21759f94aeafd30209e8cfcdfa8bc3f52",
+ "reference": "ce990bb21759f94aeafd30209e8cfcdfa8bc3f52",
"shasum": ""
},
"require": {
- "php": "^7.1"
+ "php": ">=5.6.0"
},
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "2.0-dev"
+ "dev-master": "1.0.x-dev"
}
},
"autoload": {
@@ -3855,7 +3891,7 @@
],
"description": "Provides a list of PHP built-in functions that operate on resources",
"homepage": "https://www.github.com/sebastianbergmann/resource-operations",
- "time": "2018-10-04T04:07:39+00:00"
+ "time": "2015-07-28T20:34:47+00:00"
},
{
"name": "sebastian/version",
@@ -3900,6 +3936,108 @@
"homepage": "https://github.com/sebastianbergmann/version",
"time": "2016-10-03T07:35:21+00:00"
},
+ {
+ "name": "symfony/thanks",
+ "version": "v1.1.0",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/symfony/thanks.git",
+ "reference": "9474a631b52737c623b6aeba22f00bbc003251da"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/symfony/thanks/zipball/9474a631b52737c623b6aeba22f00bbc003251da",
+ "reference": "9474a631b52737c623b6aeba22f00bbc003251da",
+ "shasum": ""
+ },
+ "require": {
+ "composer-plugin-api": "^1.0",
+ "php": "^5.5.9|^7.0.0"
+ },
+ "type": "composer-plugin",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "1.0-dev"
+ },
+ "class": "Symfony\\Thanks\\Thanks"
+ },
+ "autoload": {
+ "psr-4": {
+ "Symfony\\Thanks\\": "src"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Nicolas Grekas",
+ "email": "p@tchwork.com"
+ }
+ ],
+ "description": "Give thanks (in the form of a GitHub ⭐) to your fellow PHP package maintainers (not limited to Symfony components)!",
+ "time": "2018-08-24T14:08:13+00:00"
+ },
+ {
+ "name": "symfony/yaml",
+ "version": "v4.2.8",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/symfony/yaml.git",
+ "reference": "6712daf03ee25b53abb14e7e8e0ede1a770efdb1"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/symfony/yaml/zipball/6712daf03ee25b53abb14e7e8e0ede1a770efdb1",
+ "reference": "6712daf03ee25b53abb14e7e8e0ede1a770efdb1",
+ "shasum": ""
+ },
+ "require": {
+ "php": "^7.1.3",
+ "symfony/polyfill-ctype": "~1.8"
+ },
+ "conflict": {
+ "symfony/console": "<3.4"
+ },
+ "require-dev": {
+ "symfony/console": "~3.4|~4.0"
+ },
+ "suggest": {
+ "symfony/console": "For validating YAML files using the lint command"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "4.2-dev"
+ }
+ },
+ "autoload": {
+ "psr-4": {
+ "Symfony\\Component\\Yaml\\": ""
+ },
+ "exclude-from-classmap": [
+ "/Tests/"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Fabien Potencier",
+ "email": "fabien@symfony.com"
+ },
+ {
+ "name": "Symfony Community",
+ "homepage": "https://symfony.com/contributors"
+ }
+ ],
+ "description": "Symfony Yaml Component",
+ "homepage": "https://symfony.com",
+ "time": "2019-03-30T15:58:42+00:00"
+ },
{
"name": "theseer/tokenizer",
"version": "1.1.0",
@@ -3992,12 +4130,13 @@
}
],
"aliases": [],
- "minimum-stability": "dev",
+ "minimum-stability": "stable",
"stability-flags": [],
- "prefer-stable": true,
+ "prefer-stable": false,
"prefer-lowest": false,
"platform": {
- "php": "^7.1.3"
+ "php": ">=7.0.0",
+ "ext-sockets": "*"
},
"platform-dev": []
}
diff --git a/config/app.php b/config/app.php
index b16e7f7..b5abad0 100644
--- a/config/app.php
+++ b/config/app.php
@@ -39,7 +39,7 @@
|
*/
- 'debug' => env('APP_DEBUG', false),
+ 'debug' => env('APP_DEBUG', true),
/*
|--------------------------------------------------------------------------
@@ -108,6 +108,23 @@
'cipher' => 'AES-256-CBC',
+ /*
+ |--------------------------------------------------------------------------
+ | Logging Configuration
+ |--------------------------------------------------------------------------
+ |
+ | Here you may configure the log settings for your application. Out of
+ | the box, Laravel uses the Monolog PHP logging library. This gives
+ | you a variety of powerful log handlers / formatters to utilize.
+ |
+ | Available Settings: "single", "daily", "syslog", "errorlog"
+ |
+ */
+
+ 'log' => env('APP_LOG', 'single'),
+
+ 'log_level' => env('APP_LOG_LEVEL', 'debug'),
+
/*
|--------------------------------------------------------------------------
| Autoloaded Service Providers
diff --git a/config/auth.php b/config/auth.php
index 087bbb3..18aed66 100644
--- a/config/auth.php
+++ b/config/auth.php
@@ -45,6 +45,11 @@
'driver' => 'token',
'provider' => 'users',
],
+
+ 'admin' => [
+ 'driver' => 'session',
+ 'provider' => 'admins',
+ ],
],
/*
@@ -70,6 +75,10 @@
'model' => App\Models\User::class,
],
+ 'admins' => [
+ 'driver' => 'eloquent',
+ 'model' => App\Models\Admin::class,
+ ],
// 'users' => [
// 'driver' => 'database',
// 'table' => 'users',
diff --git a/config/database.php b/config/database.php
index cab5d06..8c38201 100644
--- a/config/database.php
+++ b/config/database.php
@@ -50,8 +50,11 @@
'charset' => 'utf8mb4',
'collation' => 'utf8mb4_unicode_ci',
'prefix' => '',
- 'strict' => true,
+ 'strict' => false,
'engine' => null,
+ //'options' => array(
+ // PDO::ATTR_PERSISTENT => true,
+ //),
],
'pgsql' => [
diff --git a/config/filesystems.php b/config/filesystems.php
index 77fa5de..9568e02 100644
--- a/config/filesystems.php
+++ b/config/filesystems.php
@@ -37,7 +37,7 @@
| may even configure multiple disks of the same driver. Defaults have
| been setup for each driver as an example of the required options.
|
- | Supported Drivers: "local", "ftp", "sftp", "s3", "rackspace"
+ | Supported Drivers: "local", "ftp", "s3", "rackspace"
|
*/
@@ -61,7 +61,6 @@
'secret' => env('AWS_SECRET_ACCESS_KEY'),
'region' => env('AWS_DEFAULT_REGION'),
'bucket' => env('AWS_BUCKET'),
- 'url' => env('AWS_URL'),
],
],
diff --git a/config/queue.php b/config/queue.php
index 391304f..8c06fcc 100644
--- a/config/queue.php
+++ b/config/queue.php
@@ -4,12 +4,14 @@
/*
|--------------------------------------------------------------------------
- | Default Queue Connection Name
+ | Default Queue Driver
|--------------------------------------------------------------------------
|
| Laravel's queue API supports an assortment of back-ends via a single
| API, giving you convenient access to each back-end using the same
- | syntax for every one. Here you may define a default connection.
+ | syntax for each one. Here you may set the default queue driver.
+ |
+ | Supported: "sync", "database", "beanstalkd", "sqs", "redis", "null"
|
*/
@@ -24,8 +26,6 @@
| is used by your application. A default configuration has been added
| for each back-end shipped with Laravel. You are free to add more.
|
- | Drivers: "sync", "database", "beanstalkd", "sqs", "redis", "null"
- |
*/
'connections' => [
@@ -62,7 +62,6 @@
'connection' => 'default',
'queue' => 'default',
'retry_after' => 90,
- 'block_for' => null,
],
],
diff --git a/config/services.php b/config/services.php
index b0aeb86..4460f0e 100644
--- a/config/services.php
+++ b/config/services.php
@@ -22,7 +22,7 @@
'ses' => [
'key' => env('SES_KEY'),
'secret' => env('SES_SECRET'),
- 'region' => env('SES_REGION', 'us-east-1'),
+ 'region' => 'us-east-1',
],
'sparkpost' => [
@@ -30,7 +30,7 @@
],
'stripe' => [
- 'model' => App\Models\User::class,
+ 'model' => App\User::class,
'key' => env('STRIPE_KEY'),
'secret' => env('STRIPE_SECRET'),
],
diff --git a/database/.gitignore b/database/.gitignore
index c4dacbb..9b1dffd 100644
--- a/database/.gitignore
+++ b/database/.gitignore
@@ -1,2 +1 @@
*.sqlite
-.env.example
diff --git a/database/factories/UserFactory.php b/database/factories/UserFactory.php
index bbeb809..edca5fd 100644
--- a/database/factories/UserFactory.php
+++ b/database/factories/UserFactory.php
@@ -21,3 +21,13 @@
'remember_token' => str_random(10),
];
});
+$factory->define(App\Models\Admin::class, function (Faker $faker) {
+ static $password;
+
+ return [
+ 'name' => $faker->name,
+ 'email' => $faker->unique()->safeEmail,
+ 'password' => $password ?: $password = bcrypt('123456'),
+ 'remember_token' => str_random(10),
+ ];
+});
diff --git a/database/migrations/2018_11_12_083435_create_users_table.php b/database/migrations/2018_11_12_083435_create_users_table.php
index 5511e10..a219f76 100644
--- a/database/migrations/2018_11_12_083435_create_users_table.php
+++ b/database/migrations/2018_11_12_083435_create_users_table.php
@@ -15,14 +15,15 @@ public function up()
{
Schema::create('users', function (Blueprint $table) {
$table->increments('id');
- $table->char('user_name',255);
- $table->char('email',255);
- $table->char('password',255);
- $table->char('first_name',255);
- $table->char('last_name',255);
- $table->dateTime('last_login');
+ $table->string('user_name',255);
+ $table->string('email',255);
+ $table->string('password',255);
+ $table->string('first_name',255)->nullable();
+ $table->string('last_name',255)->nullable();
+ $table->timestamp('last_login')->nullable();
$table->integer('create_user')->unsigned()->nullable();
$table->integer('update_user')->unsigned()->nullable();
+ $table->string('remember_token',100)->nullable();
$table->integer('is_active');
$table->timestamps();
});
diff --git a/database/migrations/2018_11_13_112746_create_studyprocess_user_table.php b/database/migrations/2018_11_13_112746_create_studyprocess_user_table.php
index 157447f..a5fab08 100644
--- a/database/migrations/2018_11_13_112746_create_studyprocess_user_table.php
+++ b/database/migrations/2018_11_13_112746_create_studyprocess_user_table.php
@@ -14,8 +14,8 @@ class CreateStudyprocessUserTable extends Migration
public function up()
{
Schema::create('studyprocess_user', function (Blueprint $table) {
- $table->integer('user_id')->unsigned;
- $table->integer('chapter_id')->unsigned;
+ $table->integer('user_id')->unsigned();
+ $table->integer('chapter_id')->unsigned();
$table->primary(['user_id', 'chapter_id']);
$table->timestamps();
});
diff --git a/database/migrations/2018_12_01_234325_create_admins_table.php b/database/migrations/2018_12_01_234325_create_admins_table.php
new file mode 100644
index 0000000..d3e32c2
--- /dev/null
+++ b/database/migrations/2018_12_01_234325_create_admins_table.php
@@ -0,0 +1,35 @@
+increments('id');
+ $table->string('name');
+ $table->string('email');
+ $table->string('password');
+ $table->rememberToken();
+ $table->timestamps();
+ });
+ }
+
+ /**
+ * Reverse the migrations.
+ *
+ * @return void
+ */
+ public function down()
+ {
+ Schema::dropIfExists('admins');
+ }
+}
diff --git a/database/migrations/2018_12_03_114626_create_registerinfo1_table.php b/database/migrations/2018_12_03_114626_create_registerinfo1_table.php
new file mode 100644
index 0000000..a225ad3
--- /dev/null
+++ b/database/migrations/2018_12_03_114626_create_registerinfo1_table.php
@@ -0,0 +1,39 @@
+increments('id');
+ $table->integer('user_id')->unsigned();
+ $table->text('usertype');
+ $table->integer('age');
+ $table->text('gender');
+ $table->text('nationality');
+ $table->text('identification');
+ $table->text('identification_other')->nullable();
+ $table->integer('if_valid')->nullable();
+ $table->timestamps();
+ });
+ }
+
+ /**
+ * Reverse the migrations.
+ *
+ * @return void
+ */
+ public function down()
+ {
+ Schema::dropIfExists('registerinfo1');
+ }
+}
diff --git a/database/migrations/2018_12_03_171602_create_registerinfo3_table.php b/database/migrations/2018_12_03_171602_create_registerinfo3_table.php
new file mode 100644
index 0000000..3f8f5c8
--- /dev/null
+++ b/database/migrations/2018_12_03_171602_create_registerinfo3_table.php
@@ -0,0 +1,43 @@
+increments('id');
+ $table->integer('user_id')->unsigned();
+ $table->text('education_level');
+ $table->text('majoring_in')->nullable();
+ $table->text('currently_pursuing');
+ $table->text('major_current');
+ $table->text('anticipated_field');
+ $table->text('anticipated_field_other')->nullable();
+ $table->text('parental_level');
+ $table->text('major_parent')->nullable();
+ $table->text('income_rmb')->nullable();
+ $table->text('income_usd')->nullable();
+ $table->integer('if_valid')->nullable();
+ $table->timestamps();
+ });
+ }
+
+ /**
+ * Reverse the migrations.
+ *php
+ * @return void
+ */
+ public function down()
+ {
+ Schema::dropIfExists('registerinfo3');
+ }
+}
diff --git a/database/migrations/2018_12_04_054948_create_registerinfo4_table.php b/database/migrations/2018_12_04_054948_create_registerinfo4_table.php
new file mode 100644
index 0000000..793b8bf
--- /dev/null
+++ b/database/migrations/2018_12_04_054948_create_registerinfo4_table.php
@@ -0,0 +1,36 @@
+increments('id');
+ $table->integer('user_id')->unsigned();
+ $table->text('affiliation');
+ $table->text('affiliation_other')->nullable();
+ $table->text('political_orientation');
+ $table->integer('if_valid')->nullable();
+ $table->timestamps();
+ });
+ }
+
+ /**
+ * Reverse the migrations.
+ *
+ * @return void
+ */
+ public function down()
+ {
+ Schema::dropIfExists('registerinfo4');
+ }
+}
diff --git a/database/migrations/2018_12_04_113341_create_registerinfo2_table.php b/database/migrations/2018_12_04_113341_create_registerinfo2_table.php
new file mode 100644
index 0000000..4f217ed
--- /dev/null
+++ b/database/migrations/2018_12_04_113341_create_registerinfo2_table.php
@@ -0,0 +1,57 @@
+increments('id');
+ $table->integer('user_id')->unsigned();
+ $table->text('language1');
+ $table->text('language1_order');
+ $table->text('language1_speaking');
+ $table->text('language1_listening');
+ $table->text('language1_reading');
+ $table->text('language1_writing');
+ $table->text('language2')->nullable();
+ $table->text('language2_order')->nullable();
+ $table->text('language2_speaking')->nullable();
+ $table->text('language2_listening')->nullable();
+ $table->text('language2_reading')->nullable();
+ $table->text('language2_writing')->nullable();
+ $table->text('language3')->nullable();
+ $table->text('language3_order')->nullable();
+ $table->text('language3_speaking')->nullable();
+ $table->text('language3_listening')->nullable();
+ $table->text('language3_reading')->nullable();
+ $table->text('language3_writing')->nullable();
+ $table->text('language4')->nullable();
+ $table->text('language4_order')->nullable();
+ $table->text('language4_speaking')->nullable();
+ $table->text('language4_listening')->nullable();
+ $table->text('language4_reading')->nullable();
+ $table->text('language4_writing')->nullable();
+ $table->integer('if_valid')->nullable();
+ $table->timestamps();
+ });
+ }
+
+ /**
+ * Reverse the migrations.
+ *
+ * @return void
+ */
+ public function down()
+ {
+ Schema::dropIfExists('registerinfo2');
+ }
+}
diff --git a/database/migrations/2018_12_04_151941_create_registeragreement_table.php b/database/migrations/2018_12_04_151941_create_registeragreement_table.php
new file mode 100644
index 0000000..67340ae
--- /dev/null
+++ b/database/migrations/2018_12_04_151941_create_registeragreement_table.php
@@ -0,0 +1,35 @@
+ increments('id');
+ $table->integer('user_id')->unsigned();
+ $table->integer('participate_in_study');
+ $table->integer('receive_information');
+ $table->integer('if_valid')->nullable();
+ $table->timestamps();
+ });
+ }
+
+ /**
+ * Reverse the migrations.
+ *
+ * @return void
+ */
+ public function down()
+ {
+ Schema::dropIfExists('registeragreement');
+ }
+}
diff --git a/database/migrations/2018_12_06_123355_create_register_industry_table.php b/database/migrations/2018_12_06_123355_create_register_industry_table.php
new file mode 100644
index 0000000..f110518
--- /dev/null
+++ b/database/migrations/2018_12_06_123355_create_register_industry_table.php
@@ -0,0 +1,31 @@
+increments('id');
+ $table->char('name',100);
+ });
+ }
+
+ /**
+ * Reverse the migrations.
+ *
+ * @return void
+ */
+ public function down()
+ {
+ Schema::dropIfExists('register_industry');
+ }
+}
diff --git a/database/migrations/2018_12_06_130325_create_registerinfo3_2_table.php b/database/migrations/2018_12_06_130325_create_registerinfo3_2_table.php
new file mode 100644
index 0000000..c6d98dd
--- /dev/null
+++ b/database/migrations/2018_12_06_130325_create_registerinfo3_2_table.php
@@ -0,0 +1,41 @@
+increments('id');
+ $table->integer('user_id')->unsigned();
+ $table->text('education_level');
+ $table->text('major_in')->nullable();
+ $table->text('industry');
+ $table->text('industry_other')->nullable();
+ $table->text('work_position');
+ $table->text('work_position_other')->nullable();
+ $table->text('income_rmb')->nullable();
+ $table->text('income_usd')->nullable();
+ $table->integer('if_valid')->nullable();
+ $table->timestamps();
+ });
+ }
+
+ /**
+ * Reverse the migrations.
+ *
+ * @return void
+ */
+ public function down()
+ {
+ Schema::dropIfExists('registerinfo3_2');
+ }
+}
diff --git a/database/migrations/2018_12_06_150742_create_case_study_question_table.php b/database/migrations/2018_12_06_150742_create_case_study_question_table.php
new file mode 100644
index 0000000..7a08ca8
--- /dev/null
+++ b/database/migrations/2018_12_06_150742_create_case_study_question_table.php
@@ -0,0 +1,33 @@
+increments('id');
+ $table->integer('step_id')->unsigned();
+ $table->integer('question_rank')->unsigned();
+ $table->text('detail');
+ });
+ }
+
+ /**
+ * Reverse the migrations.
+ *
+ * @return void
+ */
+ public function down()
+ {
+ Schema::dropIfExists('case_study_question');
+ }
+}
diff --git a/database/migrations/2018_12_06_150931_create_case_to_question_table.php b/database/migrations/2018_12_06_150931_create_case_to_question_table.php
new file mode 100644
index 0000000..bec27e3
--- /dev/null
+++ b/database/migrations/2018_12_06_150931_create_case_to_question_table.php
@@ -0,0 +1,32 @@
+increments('id');
+ $table->integer('case_id')->unsigned();
+ $table->integer('question_id')->unsigned();
+ });
+ }
+
+ /**
+ * Reverse the migrations.
+ *
+ * @return void
+ */
+ public function down()
+ {
+ Schema::dropIfExists('case_to_question');
+ }
+}
diff --git a/database/migrations/2018_12_06_151230_create_case_study_answer_table.php b/database/migrations/2018_12_06_151230_create_case_study_answer_table.php
new file mode 100644
index 0000000..5973751
--- /dev/null
+++ b/database/migrations/2018_12_06_151230_create_case_study_answer_table.php
@@ -0,0 +1,34 @@
+integer('id')->unsigned();
+ $table->integer('user_id')->unsigned();
+ $table->text('answer');
+ $table->integer('score');
+ $table->primary(['id','user_id']);
+ });
+ }
+
+ /**
+ * Reverse the migrations.
+ *
+ * @return void
+ */
+ public function down()
+ {
+ Schema::dropIfExists('case_study_answer');
+ }
+}
diff --git a/database/migrations/2018_12_06_152247_create_survey_answer_table.php b/database/migrations/2018_12_06_152247_create_survey_answer_table.php
new file mode 100644
index 0000000..24c2ca7
--- /dev/null
+++ b/database/migrations/2018_12_06_152247_create_survey_answer_table.php
@@ -0,0 +1,33 @@
+integer('id')->unsigned();
+ $table->integer('user_id')->unsigned();
+ $table->text('answer');
+ $table->primary(['id','user_id']);
+ });
+ }
+
+ /**
+ * Reverse the migrations.
+ *
+ * @return void
+ */
+ public function down()
+ {
+ Schema::dropIfExists('survey_answer');
+ }
+}
diff --git a/database/migrations/2018_12_06_152345_create_section_question_answer_table.php b/database/migrations/2018_12_06_152345_create_section_question_answer_table.php
new file mode 100644
index 0000000..a5d1a9c
--- /dev/null
+++ b/database/migrations/2018_12_06_152345_create_section_question_answer_table.php
@@ -0,0 +1,34 @@
+integer('id')->unsigned();
+ $table->integer('user_id')->unsigned();
+ $table->text('answer');
+ $table->integer('score');
+ $table->primary(['id','user_id']);
+ });
+ }
+
+ /**
+ * Reverse the migrations.
+ *
+ * @return void
+ */
+ public function down()
+ {
+ Schema::dropIfExists('section_question_answer');
+ }
+}
diff --git a/database/migrations/2018_12_06_152620_create_section_question_table.php b/database/migrations/2018_12_06_152620_create_section_question_table.php
new file mode 100644
index 0000000..f2abef7
--- /dev/null
+++ b/database/migrations/2018_12_06_152620_create_section_question_table.php
@@ -0,0 +1,33 @@
+increments('id');
+ $table->integer('section_id')->unsigned();
+ $table->integer('question_rank')->unsigned();
+ $table->text('detail');
+ });
+ }
+
+ /**
+ * Reverse the migrations.
+ *
+ * @return void
+ */
+ public function down()
+ {
+ Schema::dropIfExists('section_question');
+ }
+}
diff --git a/database/migrations/2018_12_06_152731_create_survey_detail_question_table.php b/database/migrations/2018_12_06_152731_create_survey_detail_question_table.php
new file mode 100644
index 0000000..d00f588
--- /dev/null
+++ b/database/migrations/2018_12_06_152731_create_survey_detail_question_table.php
@@ -0,0 +1,32 @@
+increments('id');
+ $table->integer('survey_id')->unsigned();
+ $table->text('detail');
+ });
+ }
+
+ /**
+ * Reverse the migrations.
+ *
+ * @return void
+ */
+ public function down()
+ {
+ Schema::dropIfExists('survey_detail_question');
+ }
+}
diff --git a/database/migrations/2018_12_06_152857_create_question_type_table.php b/database/migrations/2018_12_06_152857_create_question_type_table.php
new file mode 100644
index 0000000..8b1095d
--- /dev/null
+++ b/database/migrations/2018_12_06_152857_create_question_type_table.php
@@ -0,0 +1,33 @@
+integer('id')->unsigned();
+ $table->string('question_name',50);
+ $table->string('answer_name',50);
+ $table->primary(['id']);
+ });
+ }
+
+ /**
+ * Reverse the migrations.
+ *
+ * @return void
+ */
+ public function down()
+ {
+ Schema::dropIfExists('question_type');
+ }
+}
diff --git a/database/migrations/2018_12_11_052722_create_temp_result_table.php b/database/migrations/2018_12_11_052722_create_temp_result_table.php
new file mode 100644
index 0000000..0635139
--- /dev/null
+++ b/database/migrations/2018_12_11_052722_create_temp_result_table.php
@@ -0,0 +1,38 @@
+increments('id');
+ $table->integer('type_id');
+ $table->integer('question_id');
+ $table->text('lda')->nullable();
+ $table->text('sentiment')->nullable();
+ $table->text('co_occur')->nullable();
+ $table->text('regression')->nullable();
+ $table->text('cluster')->nullable();
+ $table->text('p_or_n')->nullable();
+ });
+ }
+
+ /**
+ * Reverse the migrations.
+ *
+ * @return void
+ */
+ public function down()
+ {
+ Schema::dropIfExists('temp_result');
+ }
+}
diff --git a/database/migrations/2019_05_09_090110_modify_user_info.php b/database/migrations/2019_05_09_090110_modify_user_info.php
new file mode 100644
index 0000000..423adff
--- /dev/null
+++ b/database/migrations/2019_05_09_090110_modify_user_info.php
@@ -0,0 +1,33 @@
+bigInteger('studentIDs');
+ $table->integer('section_numbers');
+ $table->text('semesters');
+ #$table->dropColumn('testing', 'test', 'test_final', 'roles', 'role_user');
+ });
+ }
+
+ /**
+ * Reverse the migrations.
+ *
+ * @return void
+ */
+ public function down()
+ {
+ //
+ }
+}
diff --git a/database/migrations/2019_05_09_091116_drop_some_useless_tables.php b/database/migrations/2019_05_09_091116_drop_some_useless_tables.php
new file mode 100644
index 0000000..cf6b397
--- /dev/null
+++ b/database/migrations/2019_05_09_091116_drop_some_useless_tables.php
@@ -0,0 +1,32 @@
+create([
+ 'password' => bcrypt('123456'),
+ ]);
+ }
+}
diff --git a/database/seeds/DatabaseSeeder.php b/database/seeds/DatabaseSeeder.php
index 91cb6d1..0fc5916 100644
--- a/database/seeds/DatabaseSeeder.php
+++ b/database/seeds/DatabaseSeeder.php
@@ -5,12 +5,18 @@
class DatabaseSeeder extends Seeder
{
/**
- * Seed the application's database.
+ * Run the database seeds.
*
* @return void
*/
public function run()
{
// $this->call(UsersTableSeeder::class);
+ #$this->call(AdminsTableSeeder::class);
+ $this->call([
+ UsersTableSeeder::class,
+ AdminsTableSeeder::class,
+ InsertSection::class,
+ ]);
}
}
diff --git a/database/seeds/InsertSection.php b/database/seeds/InsertSection.php
new file mode 100644
index 0000000..719479a
--- /dev/null
+++ b/database/seeds/InsertSection.php
@@ -0,0 +1,40 @@
+get();
+ $student_id = array();
+ $section_numbers = array();
+ $semesters = array();
+ for($i = 1;$i<42;$i++){
+ $student_id[] = random_int(517370910000, 517370919999);
+ $section_numbers[] = random_int(1, 3);
+ $semesters[] = $array[random_int(0, 2)];
+
+ }
+ // foreach ($users as $user) {
+ // $user->studentIDs = random_int(517370910000, 517370919999);
+
+ // }
+ for($i = 1;$i<41;$i++){
+ DB::table('users')
+ ->where('id', $i)
+ ->update([
+ 'studentIDs' => $student_id[$i],
+ 'section_numbers' => $section_numbers[$i] ,
+ 'semesters' => $semesters[$i]
+ ]);
+ }
+
+ }
+}
diff --git a/package.json b/package.json
index 1362391..7ceac0e 100644
--- a/package.json
+++ b/package.json
@@ -3,20 +3,19 @@
"scripts": {
"dev": "npm run development",
"development": "cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js",
- "watch": "npm run development -- --watch",
+ "watch": "cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --watch --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js",
"watch-poll": "npm run watch -- --watch-poll",
"hot": "cross-env NODE_ENV=development node_modules/webpack-dev-server/bin/webpack-dev-server.js --inline --hot --config=node_modules/laravel-mix/setup/webpack.config.js",
"prod": "npm run production",
"production": "cross-env NODE_ENV=production node_modules/webpack/bin/webpack.js --no-progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js"
},
"devDependencies": {
- "axios": "^0.18",
- "bootstrap": "^3.3.7",
+ "axios": "^0.17",
+ "bootstrap-sass": "^3.3.7",
"cross-env": "^5.1",
"jquery": "^3.2",
- "laravel-mix": "^2.0",
+ "laravel-mix": "^1.0",
"lodash": "^4.17.4",
- "popper.js": "^1.12",
"vue": "^2.5.7"
}
}
diff --git a/phpunit.xml b/phpunit.xml
index c9e326b..bb9c4a7 100644
--- a/phpunit.xml
+++ b/phpunit.xml
@@ -24,10 +24,8 @@
-
-
diff --git a/public/css/app.css b/public/css/app.css
new file mode 100644
index 0000000..42fa8d3
--- /dev/null
+++ b/public/css/app.css
@@ -0,0 +1,9 @@
+@import url(https://fonts.googleapis.com/css?family=Raleway:300,400,600);/*!
+ * Bootstrap v3.3.7 (http://getbootstrap.com)
+ * Copyright 2011-2016 Twitter, Inc.
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
+ */
+
+/*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background-color:transparent}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:700}dfn{font-style:italic}h1{font-size:2em;margin:.67em 0}mark{background:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{-webkit-box-sizing:content-box;box-sizing:content-box;height:0}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0}button{overflow:visible}button,select{text-transform:none}button,html input[type=button],input[type=reset],input[type=submit]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}input{line-height:normal}input[type=checkbox],input[type=radio]{-webkit-box-sizing:border-box;box-sizing:border-box;padding:0}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{height:auto}input[type=search]{-webkit-appearance:textfield;-webkit-box-sizing:content-box;box-sizing:content-box}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}textarea{overflow:auto}optgroup{font-weight:700}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}
+
+/*! Source: https://github.com/h5bp/html5-boilerplate/blob/master/src/css/main.css */@media print{*,:after,:before{background:transparent!important;color:#000!important;-webkit-box-shadow:none!important;box-shadow:none!important;text-shadow:none!important}a,a:visited{text-decoration:underline}a[href]:after{content:" (" attr(href) ")"}abbr[title]:after{content:" (" attr(title) ")"}a[href^="#"]:after,a[href^="javascript:"]:after{content:""}blockquote,pre{border:1px solid #999;page-break-inside:avoid}thead{display:table-header-group}img,tr{page-break-inside:avoid}img{max-width:100%!important}h2,h3,p{orphans:3;widows:3}h2,h3{page-break-after:avoid}.navbar{display:none}.btn>.caret,.dropup>.btn>.caret{border-top-color:#000!important}.label{border:1px solid #000}.table{border-collapse:collapse!important}.table td,.table th{background-color:#fff!important}.table-bordered td,.table-bordered th{border:1px solid #ddd!important}}@font-face{font-family:Glyphicons Halflings;src:url(/fonts/vendor/bootstrap-sass/bootstrap/glyphicons-halflings-regular.eot?f4769f9bdb7466be65088239c12046d1);src:url(/fonts/vendor/bootstrap-sass/bootstrap/glyphicons-halflings-regular.eot?f4769f9bdb7466be65088239c12046d1?#iefix) format("embedded-opentype"),url(/fonts/vendor/bootstrap-sass/bootstrap/glyphicons-halflings-regular.woff2?448c34a56d699c29117adc64c43affeb) format("woff2"),url(/fonts/vendor/bootstrap-sass/bootstrap/glyphicons-halflings-regular.woff?fa2772327f55d8198301fdb8bcfc8158) format("woff"),url(/fonts/vendor/bootstrap-sass/bootstrap/glyphicons-halflings-regular.ttf?e18bbf611f2a2e43afc071aa2f4e1512) format("truetype"),url(/fonts/vendor/bootstrap-sass/bootstrap/glyphicons-halflings-regular.svg?89889688147bd7575d6327160d64e760#glyphicons_halflingsregular) format("svg")}.glyphicon{position:relative;top:1px;display:inline-block;font-family:Glyphicons Halflings;font-style:normal;font-weight:400;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.glyphicon-asterisk:before{content:"*"}.glyphicon-plus:before{content:"+"}.glyphicon-eur:before,.glyphicon-euro:before{content:"\20AC"}.glyphicon-minus:before{content:"\2212"}.glyphicon-cloud:before{content:"\2601"}.glyphicon-envelope:before{content:"\2709"}.glyphicon-pencil:before{content:"\270F"}.glyphicon-glass:before{content:"\E001"}.glyphicon-music:before{content:"\E002"}.glyphicon-search:before{content:"\E003"}.glyphicon-heart:before{content:"\E005"}.glyphicon-star:before{content:"\E006"}.glyphicon-star-empty:before{content:"\E007"}.glyphicon-user:before{content:"\E008"}.glyphicon-film:before{content:"\E009"}.glyphicon-th-large:before{content:"\E010"}.glyphicon-th:before{content:"\E011"}.glyphicon-th-list:before{content:"\E012"}.glyphicon-ok:before{content:"\E013"}.glyphicon-remove:before{content:"\E014"}.glyphicon-zoom-in:before{content:"\E015"}.glyphicon-zoom-out:before{content:"\E016"}.glyphicon-off:before{content:"\E017"}.glyphicon-signal:before{content:"\E018"}.glyphicon-cog:before{content:"\E019"}.glyphicon-trash:before{content:"\E020"}.glyphicon-home:before{content:"\E021"}.glyphicon-file:before{content:"\E022"}.glyphicon-time:before{content:"\E023"}.glyphicon-road:before{content:"\E024"}.glyphicon-download-alt:before{content:"\E025"}.glyphicon-download:before{content:"\E026"}.glyphicon-upload:before{content:"\E027"}.glyphicon-inbox:before{content:"\E028"}.glyphicon-play-circle:before{content:"\E029"}.glyphicon-repeat:before{content:"\E030"}.glyphicon-refresh:before{content:"\E031"}.glyphicon-list-alt:before{content:"\E032"}.glyphicon-lock:before{content:"\E033"}.glyphicon-flag:before{content:"\E034"}.glyphicon-headphones:before{content:"\E035"}.glyphicon-volume-off:before{content:"\E036"}.glyphicon-volume-down:before{content:"\E037"}.glyphicon-volume-up:before{content:"\E038"}.glyphicon-qrcode:before{content:"\E039"}.glyphicon-barcode:before{content:"\E040"}.glyphicon-tag:before{content:"\E041"}.glyphicon-tags:before{content:"\E042"}.glyphicon-book:before{content:"\E043"}.glyphicon-bookmark:before{content:"\E044"}.glyphicon-print:before{content:"\E045"}.glyphicon-camera:before{content:"\E046"}.glyphicon-font:before{content:"\E047"}.glyphicon-bold:before{content:"\E048"}.glyphicon-italic:before{content:"\E049"}.glyphicon-text-height:before{content:"\E050"}.glyphicon-text-width:before{content:"\E051"}.glyphicon-align-left:before{content:"\E052"}.glyphicon-align-center:before{content:"\E053"}.glyphicon-align-right:before{content:"\E054"}.glyphicon-align-justify:before{content:"\E055"}.glyphicon-list:before{content:"\E056"}.glyphicon-indent-left:before{content:"\E057"}.glyphicon-indent-right:before{content:"\E058"}.glyphicon-facetime-video:before{content:"\E059"}.glyphicon-picture:before{content:"\E060"}.glyphicon-map-marker:before{content:"\E062"}.glyphicon-adjust:before{content:"\E063"}.glyphicon-tint:before{content:"\E064"}.glyphicon-edit:before{content:"\E065"}.glyphicon-share:before{content:"\E066"}.glyphicon-check:before{content:"\E067"}.glyphicon-move:before{content:"\E068"}.glyphicon-step-backward:before{content:"\E069"}.glyphicon-fast-backward:before{content:"\E070"}.glyphicon-backward:before{content:"\E071"}.glyphicon-play:before{content:"\E072"}.glyphicon-pause:before{content:"\E073"}.glyphicon-stop:before{content:"\E074"}.glyphicon-forward:before{content:"\E075"}.glyphicon-fast-forward:before{content:"\E076"}.glyphicon-step-forward:before{content:"\E077"}.glyphicon-eject:before{content:"\E078"}.glyphicon-chevron-left:before{content:"\E079"}.glyphicon-chevron-right:before{content:"\E080"}.glyphicon-plus-sign:before{content:"\E081"}.glyphicon-minus-sign:before{content:"\E082"}.glyphicon-remove-sign:before{content:"\E083"}.glyphicon-ok-sign:before{content:"\E084"}.glyphicon-question-sign:before{content:"\E085"}.glyphicon-info-sign:before{content:"\E086"}.glyphicon-screenshot:before{content:"\E087"}.glyphicon-remove-circle:before{content:"\E088"}.glyphicon-ok-circle:before{content:"\E089"}.glyphicon-ban-circle:before{content:"\E090"}.glyphicon-arrow-left:before{content:"\E091"}.glyphicon-arrow-right:before{content:"\E092"}.glyphicon-arrow-up:before{content:"\E093"}.glyphicon-arrow-down:before{content:"\E094"}.glyphicon-share-alt:before{content:"\E095"}.glyphicon-resize-full:before{content:"\E096"}.glyphicon-resize-small:before{content:"\E097"}.glyphicon-exclamation-sign:before{content:"\E101"}.glyphicon-gift:before{content:"\E102"}.glyphicon-leaf:before{content:"\E103"}.glyphicon-fire:before{content:"\E104"}.glyphicon-eye-open:before{content:"\E105"}.glyphicon-eye-close:before{content:"\E106"}.glyphicon-warning-sign:before{content:"\E107"}.glyphicon-plane:before{content:"\E108"}.glyphicon-calendar:before{content:"\E109"}.glyphicon-random:before{content:"\E110"}.glyphicon-comment:before{content:"\E111"}.glyphicon-magnet:before{content:"\E112"}.glyphicon-chevron-up:before{content:"\E113"}.glyphicon-chevron-down:before{content:"\E114"}.glyphicon-retweet:before{content:"\E115"}.glyphicon-shopping-cart:before{content:"\E116"}.glyphicon-folder-close:before{content:"\E117"}.glyphicon-folder-open:before{content:"\E118"}.glyphicon-resize-vertical:before{content:"\E119"}.glyphicon-resize-horizontal:before{content:"\E120"}.glyphicon-hdd:before{content:"\E121"}.glyphicon-bullhorn:before{content:"\E122"}.glyphicon-bell:before{content:"\E123"}.glyphicon-certificate:before{content:"\E124"}.glyphicon-thumbs-up:before{content:"\E125"}.glyphicon-thumbs-down:before{content:"\E126"}.glyphicon-hand-right:before{content:"\E127"}.glyphicon-hand-left:before{content:"\E128"}.glyphicon-hand-up:before{content:"\E129"}.glyphicon-hand-down:before{content:"\E130"}.glyphicon-circle-arrow-right:before{content:"\E131"}.glyphicon-circle-arrow-left:before{content:"\E132"}.glyphicon-circle-arrow-up:before{content:"\E133"}.glyphicon-circle-arrow-down:before{content:"\E134"}.glyphicon-globe:before{content:"\E135"}.glyphicon-wrench:before{content:"\E136"}.glyphicon-tasks:before{content:"\E137"}.glyphicon-filter:before{content:"\E138"}.glyphicon-briefcase:before{content:"\E139"}.glyphicon-fullscreen:before{content:"\E140"}.glyphicon-dashboard:before{content:"\E141"}.glyphicon-paperclip:before{content:"\E142"}.glyphicon-heart-empty:before{content:"\E143"}.glyphicon-link:before{content:"\E144"}.glyphicon-phone:before{content:"\E145"}.glyphicon-pushpin:before{content:"\E146"}.glyphicon-usd:before{content:"\E148"}.glyphicon-gbp:before{content:"\E149"}.glyphicon-sort:before{content:"\E150"}.glyphicon-sort-by-alphabet:before{content:"\E151"}.glyphicon-sort-by-alphabet-alt:before{content:"\E152"}.glyphicon-sort-by-order:before{content:"\E153"}.glyphicon-sort-by-order-alt:before{content:"\E154"}.glyphicon-sort-by-attributes:before{content:"\E155"}.glyphicon-sort-by-attributes-alt:before{content:"\E156"}.glyphicon-unchecked:before{content:"\E157"}.glyphicon-expand:before{content:"\E158"}.glyphicon-collapse-down:before{content:"\E159"}.glyphicon-collapse-up:before{content:"\E160"}.glyphicon-log-in:before{content:"\E161"}.glyphicon-flash:before{content:"\E162"}.glyphicon-log-out:before{content:"\E163"}.glyphicon-new-window:before{content:"\E164"}.glyphicon-record:before{content:"\E165"}.glyphicon-save:before{content:"\E166"}.glyphicon-open:before{content:"\E167"}.glyphicon-saved:before{content:"\E168"}.glyphicon-import:before{content:"\E169"}.glyphicon-export:before{content:"\E170"}.glyphicon-send:before{content:"\E171"}.glyphicon-floppy-disk:before{content:"\E172"}.glyphicon-floppy-saved:before{content:"\E173"}.glyphicon-floppy-remove:before{content:"\E174"}.glyphicon-floppy-save:before{content:"\E175"}.glyphicon-floppy-open:before{content:"\E176"}.glyphicon-credit-card:before{content:"\E177"}.glyphicon-transfer:before{content:"\E178"}.glyphicon-cutlery:before{content:"\E179"}.glyphicon-header:before{content:"\E180"}.glyphicon-compressed:before{content:"\E181"}.glyphicon-earphone:before{content:"\E182"}.glyphicon-phone-alt:before{content:"\E183"}.glyphicon-tower:before{content:"\E184"}.glyphicon-stats:before{content:"\E185"}.glyphicon-sd-video:before{content:"\E186"}.glyphicon-hd-video:before{content:"\E187"}.glyphicon-subtitles:before{content:"\E188"}.glyphicon-sound-stereo:before{content:"\E189"}.glyphicon-sound-dolby:before{content:"\E190"}.glyphicon-sound-5-1:before{content:"\E191"}.glyphicon-sound-6-1:before{content:"\E192"}.glyphicon-sound-7-1:before{content:"\E193"}.glyphicon-copyright-mark:before{content:"\E194"}.glyphicon-registration-mark:before{content:"\E195"}.glyphicon-cloud-download:before{content:"\E197"}.glyphicon-cloud-upload:before{content:"\E198"}.glyphicon-tree-conifer:before{content:"\E199"}.glyphicon-tree-deciduous:before{content:"\E200"}.glyphicon-cd:before{content:"\E201"}.glyphicon-save-file:before{content:"\E202"}.glyphicon-open-file:before{content:"\E203"}.glyphicon-level-up:before{content:"\E204"}.glyphicon-copy:before{content:"\E205"}.glyphicon-paste:before{content:"\E206"}.glyphicon-alert:before{content:"\E209"}.glyphicon-equalizer:before{content:"\E210"}.glyphicon-king:before{content:"\E211"}.glyphicon-queen:before{content:"\E212"}.glyphicon-pawn:before{content:"\E213"}.glyphicon-bishop:before{content:"\E214"}.glyphicon-knight:before{content:"\E215"}.glyphicon-baby-formula:before{content:"\E216"}.glyphicon-tent:before{content:"\26FA"}.glyphicon-blackboard:before{content:"\E218"}.glyphicon-bed:before{content:"\E219"}.glyphicon-apple:before{content:"\F8FF"}.glyphicon-erase:before{content:"\E221"}.glyphicon-hourglass:before{content:"\231B"}.glyphicon-lamp:before{content:"\E223"}.glyphicon-duplicate:before{content:"\E224"}.glyphicon-piggy-bank:before{content:"\E225"}.glyphicon-scissors:before{content:"\E226"}.glyphicon-bitcoin:before,.glyphicon-btc:before,.glyphicon-xbt:before{content:"\E227"}.glyphicon-jpy:before,.glyphicon-yen:before{content:"\A5"}.glyphicon-rub:before,.glyphicon-ruble:before{content:"\20BD"}.glyphicon-scale:before{content:"\E230"}.glyphicon-ice-lolly:before{content:"\E231"}.glyphicon-ice-lolly-tasted:before{content:"\E232"}.glyphicon-education:before{content:"\E233"}.glyphicon-option-horizontal:before{content:"\E234"}.glyphicon-option-vertical:before{content:"\E235"}.glyphicon-menu-hamburger:before{content:"\E236"}.glyphicon-modal-window:before{content:"\E237"}.glyphicon-oil:before{content:"\E238"}.glyphicon-grain:before{content:"\E239"}.glyphicon-sunglasses:before{content:"\E240"}.glyphicon-text-size:before{content:"\E241"}.glyphicon-text-color:before{content:"\E242"}.glyphicon-text-background:before{content:"\E243"}.glyphicon-object-align-top:before{content:"\E244"}.glyphicon-object-align-bottom:before{content:"\E245"}.glyphicon-object-align-horizontal:before{content:"\E246"}.glyphicon-object-align-left:before{content:"\E247"}.glyphicon-object-align-vertical:before{content:"\E248"}.glyphicon-object-align-right:before{content:"\E249"}.glyphicon-triangle-right:before{content:"\E250"}.glyphicon-triangle-left:before{content:"\E251"}.glyphicon-triangle-bottom:before{content:"\E252"}.glyphicon-triangle-top:before{content:"\E253"}.glyphicon-console:before{content:"\E254"}.glyphicon-superscript:before{content:"\E255"}.glyphicon-subscript:before{content:"\E256"}.glyphicon-menu-left:before{content:"\E257"}.glyphicon-menu-right:before{content:"\E258"}.glyphicon-menu-down:before{content:"\E259"}.glyphicon-menu-up:before{content:"\E260"}*,:after,:before{-webkit-box-sizing:border-box;box-sizing:border-box}html{font-size:10px;-webkit-tap-highlight-color:transparent}body{font-family:Raleway,sans-serif;font-size:14px;line-height:1.6;color:#636b6f;background-color:#f5f8fa}button,input,select,textarea{font-family:inherit;font-size:inherit;line-height:inherit}a{color:#3097d1;text-decoration:none}a:focus,a:hover{color:#216a94;text-decoration:underline}a:focus{outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}figure{margin:0}img{vertical-align:middle}.img-responsive{display:block;max-width:100%;height:auto}.img-rounded{border-radius:6px}.img-thumbnail{padding:4px;line-height:1.6;background-color:#f5f8fa;border:1px solid #ddd;border-radius:4px;-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out;display:inline-block;max-width:100%;height:auto}.img-circle{border-radius:50%}hr{margin-top:22px;margin-bottom:22px;border:0;border-top:1px solid #eee}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);border:0}.sr-only-focusable:active,.sr-only-focusable:focus{position:static;width:auto;height:auto;margin:0;overflow:visible;clip:auto}[role=button]{cursor:pointer}.h1,.h2,.h3,.h4,.h5,.h6,h1,h2,h3,h4,h5,h6{font-family:inherit;font-weight:500;line-height:1.1;color:inherit}.h1 .small,.h1 small,.h2 .small,.h2 small,.h3 .small,.h3 small,.h4 .small,.h4 small,.h5 .small,.h5 small,.h6 .small,.h6 small,h1 .small,h1 small,h2 .small,h2 small,h3 .small,h3 small,h4 .small,h4 small,h5 .small,h5 small,h6 .small,h6 small{font-weight:400;line-height:1;color:#777}.h1,.h2,.h3,h1,h2,h3{margin-top:22px;margin-bottom:11px}.h1 .small,.h1 small,.h2 .small,.h2 small,.h3 .small,.h3 small,h1 .small,h1 small,h2 .small,h2 small,h3 .small,h3 small{font-size:65%}.h4,.h5,.h6,h4,h5,h6{margin-top:11px;margin-bottom:11px}.h4 .small,.h4 small,.h5 .small,.h5 small,.h6 .small,.h6 small,h4 .small,h4 small,h5 .small,h5 small,h6 .small,h6 small{font-size:75%}.h1,h1{font-size:36px}.h2,h2{font-size:30px}.h3,h3{font-size:24px}.h4,h4{font-size:18px}.h5,h5{font-size:14px}.h6,h6{font-size:12px}p{margin:0 0 11px}.lead{margin-bottom:22px;font-size:16px;font-weight:300;line-height:1.4}@media (min-width:768px){.lead{font-size:21px}}.small,small{font-size:85%}.mark,mark{background-color:#fcf8e3;padding:.2em}.text-left{text-align:left}.text-right{text-align:right}.text-center{text-align:center}.text-justify{text-align:justify}.text-nowrap{white-space:nowrap}.text-lowercase{text-transform:lowercase}.initialism,.text-uppercase{text-transform:uppercase}.text-capitalize{text-transform:capitalize}.text-muted{color:#777}.text-primary{color:#3097d1}a.text-primary:focus,a.text-primary:hover{color:#2579a9}.text-success{color:#3c763d}a.text-success:focus,a.text-success:hover{color:#2b542c}.text-info{color:#31708f}a.text-info:focus,a.text-info:hover{color:#245269}.text-warning{color:#8a6d3b}a.text-warning:focus,a.text-warning:hover{color:#66512c}.text-danger{color:#a94442}a.text-danger:focus,a.text-danger:hover{color:#843534}.bg-primary{color:#fff;background-color:#3097d1}a.bg-primary:focus,a.bg-primary:hover{background-color:#2579a9}.bg-success{background-color:#dff0d8}a.bg-success:focus,a.bg-success:hover{background-color:#c1e2b3}.bg-info{background-color:#d9edf7}a.bg-info:focus,a.bg-info:hover{background-color:#afd9ee}.bg-warning{background-color:#fcf8e3}a.bg-warning:focus,a.bg-warning:hover{background-color:#f7ecb5}.bg-danger{background-color:#f2dede}a.bg-danger:focus,a.bg-danger:hover{background-color:#e4b9b9}.page-header{padding-bottom:10px;margin:44px 0 22px;border-bottom:1px solid #eee}ol,ul{margin-top:0;margin-bottom:11px}ol ol,ol ul,ul ol,ul ul{margin-bottom:0}.list-inline,.list-unstyled{padding-left:0;list-style:none}.list-inline{margin-left:-5px}.list-inline>li{display:inline-block;padding-left:5px;padding-right:5px}dl{margin-top:0;margin-bottom:22px}dd,dt{line-height:1.6}dt{font-weight:700}dd{margin-left:0}.dl-horizontal dd:after,.dl-horizontal dd:before{content:" ";display:table}.dl-horizontal dd:after{clear:both}@media (min-width:768px){.dl-horizontal dt{float:left;width:160px;clear:left;text-align:right;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dl-horizontal dd{margin-left:180px}}abbr[data-original-title],abbr[title]{cursor:help;border-bottom:1px dotted #777}.initialism{font-size:90%}blockquote{padding:11px 22px;margin:0 0 22px;font-size:17.5px;border-left:5px solid #eee}blockquote ol:last-child,blockquote p:last-child,blockquote ul:last-child{margin-bottom:0}blockquote .small,blockquote footer,blockquote small{display:block;font-size:80%;line-height:1.6;color:#777}blockquote .small:before,blockquote footer:before,blockquote small:before{content:"\2014 \A0"}.blockquote-reverse,blockquote.pull-right{padding-right:15px;padding-left:0;border-right:5px solid #eee;border-left:0;text-align:right}.blockquote-reverse .small:before,.blockquote-reverse footer:before,.blockquote-reverse small:before,blockquote.pull-right .small:before,blockquote.pull-right footer:before,blockquote.pull-right small:before{content:""}.blockquote-reverse .small:after,.blockquote-reverse footer:after,.blockquote-reverse small:after,blockquote.pull-right .small:after,blockquote.pull-right footer:after,blockquote.pull-right small:after{content:"\A0 \2014"}address{margin-bottom:22px;font-style:normal;line-height:1.6}code,kbd,pre,samp{font-family:Menlo,Monaco,Consolas,Courier New,monospace}code{color:#c7254e;background-color:#f9f2f4;border-radius:4px}code,kbd{padding:2px 4px;font-size:90%}kbd{color:#fff;background-color:#333;border-radius:3px;-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,.25);box-shadow:inset 0 -1px 0 rgba(0,0,0,.25)}kbd kbd{padding:0;font-size:100%;font-weight:700;-webkit-box-shadow:none;box-shadow:none}pre{display:block;padding:10.5px;margin:0 0 11px;font-size:13px;line-height:1.6;word-break:break-all;word-wrap:break-word;color:#333;background-color:#f5f5f5;border:1px solid #ccc;border-radius:4px}pre code{padding:0;font-size:inherit;color:inherit;white-space:pre-wrap;background-color:transparent;border-radius:0}.pre-scrollable{max-height:340px;overflow-y:scroll}.container{margin-right:auto;margin-left:auto;padding-left:15px;padding-right:15px}.container:after,.container:before{content:" ";display:table}.container:after{clear:both}@media (min-width:768px){.container{width:750px}}@media (min-width:992px){.container{width:970px}}@media (min-width:1200px){.container{width:1170px}}.container-fluid{margin-right:auto;margin-left:auto;padding-left:15px;padding-right:15px}.container-fluid:after,.container-fluid:before{content:" ";display:table}.container-fluid:after{clear:both}.row{margin-left:-15px;margin-right:-15px}.row:after,.row:before{content:" ";display:table}.row:after{clear:both}.col-lg-1,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-lg-10,.col-lg-11,.col-lg-12,.col-md-1,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-md-10,.col-md-11,.col-md-12,.col-sm-1,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-sm-10,.col-sm-11,.col-sm-12,.col-xs-1,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9,.col-xs-10,.col-xs-11,.col-xs-12{position:relative;min-height:1px;padding-left:15px;padding-right:15px}.col-xs-1,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9,.col-xs-10,.col-xs-11,.col-xs-12{float:left}.col-xs-1{width:8.33333333%}.col-xs-2{width:16.66666667%}.col-xs-3{width:25%}.col-xs-4{width:33.33333333%}.col-xs-5{width:41.66666667%}.col-xs-6{width:50%}.col-xs-7{width:58.33333333%}.col-xs-8{width:66.66666667%}.col-xs-9{width:75%}.col-xs-10{width:83.33333333%}.col-xs-11{width:91.66666667%}.col-xs-12{width:100%}.col-xs-pull-0{right:auto}.col-xs-pull-1{right:8.33333333%}.col-xs-pull-2{right:16.66666667%}.col-xs-pull-3{right:25%}.col-xs-pull-4{right:33.33333333%}.col-xs-pull-5{right:41.66666667%}.col-xs-pull-6{right:50%}.col-xs-pull-7{right:58.33333333%}.col-xs-pull-8{right:66.66666667%}.col-xs-pull-9{right:75%}.col-xs-pull-10{right:83.33333333%}.col-xs-pull-11{right:91.66666667%}.col-xs-pull-12{right:100%}.col-xs-push-0{left:auto}.col-xs-push-1{left:8.33333333%}.col-xs-push-2{left:16.66666667%}.col-xs-push-3{left:25%}.col-xs-push-4{left:33.33333333%}.col-xs-push-5{left:41.66666667%}.col-xs-push-6{left:50%}.col-xs-push-7{left:58.33333333%}.col-xs-push-8{left:66.66666667%}.col-xs-push-9{left:75%}.col-xs-push-10{left:83.33333333%}.col-xs-push-11{left:91.66666667%}.col-xs-push-12{left:100%}.col-xs-offset-0{margin-left:0}.col-xs-offset-1{margin-left:8.33333333%}.col-xs-offset-2{margin-left:16.66666667%}.col-xs-offset-3{margin-left:25%}.col-xs-offset-4{margin-left:33.33333333%}.col-xs-offset-5{margin-left:41.66666667%}.col-xs-offset-6{margin-left:50%}.col-xs-offset-7{margin-left:58.33333333%}.col-xs-offset-8{margin-left:66.66666667%}.col-xs-offset-9{margin-left:75%}.col-xs-offset-10{margin-left:83.33333333%}.col-xs-offset-11{margin-left:91.66666667%}.col-xs-offset-12{margin-left:100%}@media (min-width:768px){.col-sm-1,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-sm-10,.col-sm-11,.col-sm-12{float:left}.col-sm-1{width:8.33333333%}.col-sm-2{width:16.66666667%}.col-sm-3{width:25%}.col-sm-4{width:33.33333333%}.col-sm-5{width:41.66666667%}.col-sm-6{width:50%}.col-sm-7{width:58.33333333%}.col-sm-8{width:66.66666667%}.col-sm-9{width:75%}.col-sm-10{width:83.33333333%}.col-sm-11{width:91.66666667%}.col-sm-12{width:100%}.col-sm-pull-0{right:auto}.col-sm-pull-1{right:8.33333333%}.col-sm-pull-2{right:16.66666667%}.col-sm-pull-3{right:25%}.col-sm-pull-4{right:33.33333333%}.col-sm-pull-5{right:41.66666667%}.col-sm-pull-6{right:50%}.col-sm-pull-7{right:58.33333333%}.col-sm-pull-8{right:66.66666667%}.col-sm-pull-9{right:75%}.col-sm-pull-10{right:83.33333333%}.col-sm-pull-11{right:91.66666667%}.col-sm-pull-12{right:100%}.col-sm-push-0{left:auto}.col-sm-push-1{left:8.33333333%}.col-sm-push-2{left:16.66666667%}.col-sm-push-3{left:25%}.col-sm-push-4{left:33.33333333%}.col-sm-push-5{left:41.66666667%}.col-sm-push-6{left:50%}.col-sm-push-7{left:58.33333333%}.col-sm-push-8{left:66.66666667%}.col-sm-push-9{left:75%}.col-sm-push-10{left:83.33333333%}.col-sm-push-11{left:91.66666667%}.col-sm-push-12{left:100%}.col-sm-offset-0{margin-left:0}.col-sm-offset-1{margin-left:8.33333333%}.col-sm-offset-2{margin-left:16.66666667%}.col-sm-offset-3{margin-left:25%}.col-sm-offset-4{margin-left:33.33333333%}.col-sm-offset-5{margin-left:41.66666667%}.col-sm-offset-6{margin-left:50%}.col-sm-offset-7{margin-left:58.33333333%}.col-sm-offset-8{margin-left:66.66666667%}.col-sm-offset-9{margin-left:75%}.col-sm-offset-10{margin-left:83.33333333%}.col-sm-offset-11{margin-left:91.66666667%}.col-sm-offset-12{margin-left:100%}}@media (min-width:992px){.col-md-1,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-md-10,.col-md-11,.col-md-12{float:left}.col-md-1{width:8.33333333%}.col-md-2{width:16.66666667%}.col-md-3{width:25%}.col-md-4{width:33.33333333%}.col-md-5{width:41.66666667%}.col-md-6{width:50%}.col-md-7{width:58.33333333%}.col-md-8{width:66.66666667%}.col-md-9{width:75%}.col-md-10{width:83.33333333%}.col-md-11{width:91.66666667%}.col-md-12{width:100%}.col-md-pull-0{right:auto}.col-md-pull-1{right:8.33333333%}.col-md-pull-2{right:16.66666667%}.col-md-pull-3{right:25%}.col-md-pull-4{right:33.33333333%}.col-md-pull-5{right:41.66666667%}.col-md-pull-6{right:50%}.col-md-pull-7{right:58.33333333%}.col-md-pull-8{right:66.66666667%}.col-md-pull-9{right:75%}.col-md-pull-10{right:83.33333333%}.col-md-pull-11{right:91.66666667%}.col-md-pull-12{right:100%}.col-md-push-0{left:auto}.col-md-push-1{left:8.33333333%}.col-md-push-2{left:16.66666667%}.col-md-push-3{left:25%}.col-md-push-4{left:33.33333333%}.col-md-push-5{left:41.66666667%}.col-md-push-6{left:50%}.col-md-push-7{left:58.33333333%}.col-md-push-8{left:66.66666667%}.col-md-push-9{left:75%}.col-md-push-10{left:83.33333333%}.col-md-push-11{left:91.66666667%}.col-md-push-12{left:100%}.col-md-offset-0{margin-left:0}.col-md-offset-1{margin-left:8.33333333%}.col-md-offset-2{margin-left:16.66666667%}.col-md-offset-3{margin-left:25%}.col-md-offset-4{margin-left:33.33333333%}.col-md-offset-5{margin-left:41.66666667%}.col-md-offset-6{margin-left:50%}.col-md-offset-7{margin-left:58.33333333%}.col-md-offset-8{margin-left:66.66666667%}.col-md-offset-9{margin-left:75%}.col-md-offset-10{margin-left:83.33333333%}.col-md-offset-11{margin-left:91.66666667%}.col-md-offset-12{margin-left:100%}}@media (min-width:1200px){.col-lg-1,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-lg-10,.col-lg-11,.col-lg-12{float:left}.col-lg-1{width:8.33333333%}.col-lg-2{width:16.66666667%}.col-lg-3{width:25%}.col-lg-4{width:33.33333333%}.col-lg-5{width:41.66666667%}.col-lg-6{width:50%}.col-lg-7{width:58.33333333%}.col-lg-8{width:66.66666667%}.col-lg-9{width:75%}.col-lg-10{width:83.33333333%}.col-lg-11{width:91.66666667%}.col-lg-12{width:100%}.col-lg-pull-0{right:auto}.col-lg-pull-1{right:8.33333333%}.col-lg-pull-2{right:16.66666667%}.col-lg-pull-3{right:25%}.col-lg-pull-4{right:33.33333333%}.col-lg-pull-5{right:41.66666667%}.col-lg-pull-6{right:50%}.col-lg-pull-7{right:58.33333333%}.col-lg-pull-8{right:66.66666667%}.col-lg-pull-9{right:75%}.col-lg-pull-10{right:83.33333333%}.col-lg-pull-11{right:91.66666667%}.col-lg-pull-12{right:100%}.col-lg-push-0{left:auto}.col-lg-push-1{left:8.33333333%}.col-lg-push-2{left:16.66666667%}.col-lg-push-3{left:25%}.col-lg-push-4{left:33.33333333%}.col-lg-push-5{left:41.66666667%}.col-lg-push-6{left:50%}.col-lg-push-7{left:58.33333333%}.col-lg-push-8{left:66.66666667%}.col-lg-push-9{left:75%}.col-lg-push-10{left:83.33333333%}.col-lg-push-11{left:91.66666667%}.col-lg-push-12{left:100%}.col-lg-offset-0{margin-left:0}.col-lg-offset-1{margin-left:8.33333333%}.col-lg-offset-2{margin-left:16.66666667%}.col-lg-offset-3{margin-left:25%}.col-lg-offset-4{margin-left:33.33333333%}.col-lg-offset-5{margin-left:41.66666667%}.col-lg-offset-6{margin-left:50%}.col-lg-offset-7{margin-left:58.33333333%}.col-lg-offset-8{margin-left:66.66666667%}.col-lg-offset-9{margin-left:75%}.col-lg-offset-10{margin-left:83.33333333%}.col-lg-offset-11{margin-left:91.66666667%}.col-lg-offset-12{margin-left:100%}}table{background-color:transparent}caption{padding-top:8px;padding-bottom:8px;color:#777}caption,th{text-align:left}.table{width:100%;max-width:100%;margin-bottom:22px}.table>tbody>tr>td,.table>tbody>tr>th,.table>tfoot>tr>td,.table>tfoot>tr>th,.table>thead>tr>td,.table>thead>tr>th{padding:8px;line-height:1.6;vertical-align:top;border-top:1px solid #ddd}.table>thead>tr>th{vertical-align:bottom;border-bottom:2px solid #ddd}.table>caption+thead>tr:first-child>td,.table>caption+thead>tr:first-child>th,.table>colgroup+thead>tr:first-child>td,.table>colgroup+thead>tr:first-child>th,.table>thead:first-child>tr:first-child>td,.table>thead:first-child>tr:first-child>th{border-top:0}.table>tbody+tbody{border-top:2px solid #ddd}.table .table{background-color:#f5f8fa}.table-condensed>tbody>tr>td,.table-condensed>tbody>tr>th,.table-condensed>tfoot>tr>td,.table-condensed>tfoot>tr>th,.table-condensed>thead>tr>td,.table-condensed>thead>tr>th{padding:5px}.table-bordered,.table-bordered>tbody>tr>td,.table-bordered>tbody>tr>th,.table-bordered>tfoot>tr>td,.table-bordered>tfoot>tr>th,.table-bordered>thead>tr>td,.table-bordered>thead>tr>th{border:1px solid #ddd}.table-bordered>thead>tr>td,.table-bordered>thead>tr>th{border-bottom-width:2px}.table-striped>tbody>tr:nth-of-type(odd){background-color:#f9f9f9}.table-hover>tbody>tr:hover{background-color:#f5f5f5}table col[class*=col-]{position:static;float:none;display:table-column}table td[class*=col-],table th[class*=col-]{position:static;float:none;display:table-cell}.table>tbody>tr.active>td,.table>tbody>tr.active>th,.table>tbody>tr>td.active,.table>tbody>tr>th.active,.table>tfoot>tr.active>td,.table>tfoot>tr.active>th,.table>tfoot>tr>td.active,.table>tfoot>tr>th.active,.table>thead>tr.active>td,.table>thead>tr.active>th,.table>thead>tr>td.active,.table>thead>tr>th.active{background-color:#f5f5f5}.table-hover>tbody>tr.active:hover>td,.table-hover>tbody>tr.active:hover>th,.table-hover>tbody>tr:hover>.active,.table-hover>tbody>tr>td.active:hover,.table-hover>tbody>tr>th.active:hover{background-color:#e8e8e8}.table>tbody>tr.success>td,.table>tbody>tr.success>th,.table>tbody>tr>td.success,.table>tbody>tr>th.success,.table>tfoot>tr.success>td,.table>tfoot>tr.success>th,.table>tfoot>tr>td.success,.table>tfoot>tr>th.success,.table>thead>tr.success>td,.table>thead>tr.success>th,.table>thead>tr>td.success,.table>thead>tr>th.success{background-color:#dff0d8}.table-hover>tbody>tr.success:hover>td,.table-hover>tbody>tr.success:hover>th,.table-hover>tbody>tr:hover>.success,.table-hover>tbody>tr>td.success:hover,.table-hover>tbody>tr>th.success:hover{background-color:#d0e9c6}.table>tbody>tr.info>td,.table>tbody>tr.info>th,.table>tbody>tr>td.info,.table>tbody>tr>th.info,.table>tfoot>tr.info>td,.table>tfoot>tr.info>th,.table>tfoot>tr>td.info,.table>tfoot>tr>th.info,.table>thead>tr.info>td,.table>thead>tr.info>th,.table>thead>tr>td.info,.table>thead>tr>th.info{background-color:#d9edf7}.table-hover>tbody>tr.info:hover>td,.table-hover>tbody>tr.info:hover>th,.table-hover>tbody>tr:hover>.info,.table-hover>tbody>tr>td.info:hover,.table-hover>tbody>tr>th.info:hover{background-color:#c4e3f3}.table>tbody>tr.warning>td,.table>tbody>tr.warning>th,.table>tbody>tr>td.warning,.table>tbody>tr>th.warning,.table>tfoot>tr.warning>td,.table>tfoot>tr.warning>th,.table>tfoot>tr>td.warning,.table>tfoot>tr>th.warning,.table>thead>tr.warning>td,.table>thead>tr.warning>th,.table>thead>tr>td.warning,.table>thead>tr>th.warning{background-color:#fcf8e3}.table-hover>tbody>tr.warning:hover>td,.table-hover>tbody>tr.warning:hover>th,.table-hover>tbody>tr:hover>.warning,.table-hover>tbody>tr>td.warning:hover,.table-hover>tbody>tr>th.warning:hover{background-color:#faf2cc}.table>tbody>tr.danger>td,.table>tbody>tr.danger>th,.table>tbody>tr>td.danger,.table>tbody>tr>th.danger,.table>tfoot>tr.danger>td,.table>tfoot>tr.danger>th,.table>tfoot>tr>td.danger,.table>tfoot>tr>th.danger,.table>thead>tr.danger>td,.table>thead>tr.danger>th,.table>thead>tr>td.danger,.table>thead>tr>th.danger{background-color:#f2dede}.table-hover>tbody>tr.danger:hover>td,.table-hover>tbody>tr.danger:hover>th,.table-hover>tbody>tr:hover>.danger,.table-hover>tbody>tr>td.danger:hover,.table-hover>tbody>tr>th.danger:hover{background-color:#ebcccc}.table-responsive{overflow-x:auto;min-height:.01%}@media screen and (max-width:767px){.table-responsive{width:100%;margin-bottom:16.5px;overflow-y:hidden;-ms-overflow-style:-ms-autohiding-scrollbar;border:1px solid #ddd}.table-responsive>.table{margin-bottom:0}.table-responsive>.table>tbody>tr>td,.table-responsive>.table>tbody>tr>th,.table-responsive>.table>tfoot>tr>td,.table-responsive>.table>tfoot>tr>th,.table-responsive>.table>thead>tr>td,.table-responsive>.table>thead>tr>th{white-space:nowrap}.table-responsive>.table-bordered{border:0}.table-responsive>.table-bordered>tbody>tr>td:first-child,.table-responsive>.table-bordered>tbody>tr>th:first-child,.table-responsive>.table-bordered>tfoot>tr>td:first-child,.table-responsive>.table-bordered>tfoot>tr>th:first-child,.table-responsive>.table-bordered>thead>tr>td:first-child,.table-responsive>.table-bordered>thead>tr>th:first-child{border-left:0}.table-responsive>.table-bordered>tbody>tr>td:last-child,.table-responsive>.table-bordered>tbody>tr>th:last-child,.table-responsive>.table-bordered>tfoot>tr>td:last-child,.table-responsive>.table-bordered>tfoot>tr>th:last-child,.table-responsive>.table-bordered>thead>tr>td:last-child,.table-responsive>.table-bordered>thead>tr>th:last-child{border-right:0}.table-responsive>.table-bordered>tbody>tr:last-child>td,.table-responsive>.table-bordered>tbody>tr:last-child>th,.table-responsive>.table-bordered>tfoot>tr:last-child>td,.table-responsive>.table-bordered>tfoot>tr:last-child>th{border-bottom:0}}fieldset{margin:0;min-width:0}fieldset,legend{padding:0;border:0}legend{display:block;width:100%;margin-bottom:22px;font-size:21px;line-height:inherit;color:#333;border-bottom:1px solid #e5e5e5}label{display:inline-block;max-width:100%;margin-bottom:5px;font-weight:700}input[type=search]{-webkit-box-sizing:border-box;box-sizing:border-box}input[type=checkbox],input[type=radio]{margin:4px 0 0;margin-top:1px\9;line-height:normal}input[type=file]{display:block}input[type=range]{display:block;width:100%}select[multiple],select[size]{height:auto}input[type=checkbox]:focus,input[type=file]:focus,input[type=radio]:focus{outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}output{padding-top:7px}.form-control,output{display:block;font-size:14px;line-height:1.6;color:#555}.form-control{width:100%;height:36px;padding:6px 12px;background-color:#fff;background-image:none;border:1px solid #ccd0d2;border-radius:4px;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075);-webkit-transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out;-webkit-transition:border-color .15s ease-in-out,-webkit-box-shadow .15s ease-in-out;transition:border-color .15s ease-in-out,-webkit-box-shadow .15s ease-in-out;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out,-webkit-box-shadow .15s ease-in-out}.form-control:focus{border-color:#98cbe8;outline:0;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(152,203,232,.6);box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(152,203,232,.6)}.form-control::-moz-placeholder{color:#b1b7ba;opacity:1}.form-control:-ms-input-placeholder{color:#b1b7ba}.form-control::-webkit-input-placeholder{color:#b1b7ba}.form-control::-ms-expand{border:0;background-color:transparent}.form-control[disabled],.form-control[readonly],fieldset[disabled] .form-control{background-color:#eee;opacity:1}.form-control[disabled],fieldset[disabled] .form-control{cursor:not-allowed}textarea.form-control{height:auto}input[type=search]{-webkit-appearance:none}@media screen and (-webkit-min-device-pixel-ratio:0){input[type=date].form-control,input[type=datetime-local].form-control,input[type=month].form-control,input[type=time].form-control{line-height:36px}.input-group-sm>.input-group-btn>input[type=date].btn,.input-group-sm>.input-group-btn>input[type=datetime-local].btn,.input-group-sm>.input-group-btn>input[type=month].btn,.input-group-sm>.input-group-btn>input[type=time].btn,.input-group-sm>input[type=date].form-control,.input-group-sm>input[type=date].input-group-addon,.input-group-sm>input[type=datetime-local].form-control,.input-group-sm>input[type=datetime-local].input-group-addon,.input-group-sm>input[type=month].form-control,.input-group-sm>input[type=month].input-group-addon,.input-group-sm>input[type=time].form-control,.input-group-sm>input[type=time].input-group-addon,.input-group-sm input[type=date],.input-group-sm input[type=datetime-local],.input-group-sm input[type=month],.input-group-sm input[type=time],input[type=date].input-sm,input[type=datetime-local].input-sm,input[type=month].input-sm,input[type=time].input-sm{line-height:30px}.input-group-lg>.input-group-btn>input[type=date].btn,.input-group-lg>.input-group-btn>input[type=datetime-local].btn,.input-group-lg>.input-group-btn>input[type=month].btn,.input-group-lg>.input-group-btn>input[type=time].btn,.input-group-lg>input[type=date].form-control,.input-group-lg>input[type=date].input-group-addon,.input-group-lg>input[type=datetime-local].form-control,.input-group-lg>input[type=datetime-local].input-group-addon,.input-group-lg>input[type=month].form-control,.input-group-lg>input[type=month].input-group-addon,.input-group-lg>input[type=time].form-control,.input-group-lg>input[type=time].input-group-addon,.input-group-lg input[type=date],.input-group-lg input[type=datetime-local],.input-group-lg input[type=month],.input-group-lg input[type=time],input[type=date].input-lg,input[type=datetime-local].input-lg,input[type=month].input-lg,input[type=time].input-lg{line-height:46px}}.form-group{margin-bottom:15px}.checkbox,.radio{position:relative;display:block;margin-top:10px;margin-bottom:10px}.checkbox label,.radio label{min-height:22px;padding-left:20px;margin-bottom:0;font-weight:400;cursor:pointer}.checkbox-inline input[type=checkbox],.checkbox input[type=checkbox],.radio-inline input[type=radio],.radio input[type=radio]{position:absolute;margin-left:-20px;margin-top:4px\9}.checkbox+.checkbox,.radio+.radio{margin-top:-5px}.checkbox-inline,.radio-inline{position:relative;display:inline-block;padding-left:20px;margin-bottom:0;vertical-align:middle;font-weight:400;cursor:pointer}.checkbox-inline+.checkbox-inline,.radio-inline+.radio-inline{margin-top:0;margin-left:10px}.checkbox-inline.disabled,.checkbox.disabled label,.radio-inline.disabled,.radio.disabled label,fieldset[disabled] .checkbox-inline,fieldset[disabled] .checkbox label,fieldset[disabled] .radio-inline,fieldset[disabled] .radio label,fieldset[disabled] input[type=checkbox],fieldset[disabled] input[type=radio],input[type=checkbox].disabled,input[type=checkbox][disabled],input[type=radio].disabled,input[type=radio][disabled]{cursor:not-allowed}.form-control-static{padding-top:7px;padding-bottom:7px;margin-bottom:0;min-height:36px}.form-control-static.input-lg,.form-control-static.input-sm,.input-group-lg>.form-control-static.form-control,.input-group-lg>.form-control-static.input-group-addon,.input-group-lg>.input-group-btn>.form-control-static.btn,.input-group-sm>.form-control-static.form-control,.input-group-sm>.form-control-static.input-group-addon,.input-group-sm>.input-group-btn>.form-control-static.btn{padding-left:0;padding-right:0}.input-group-sm>.form-control,.input-group-sm>.input-group-addon,.input-group-sm>.input-group-btn>.btn,.input-sm{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}.input-group-sm>.input-group-btn>select.btn,.input-group-sm>select.form-control,.input-group-sm>select.input-group-addon,select.input-sm{height:30px;line-height:30px}.input-group-sm>.input-group-btn>select[multiple].btn,.input-group-sm>.input-group-btn>textarea.btn,.input-group-sm>select[multiple].form-control,.input-group-sm>select[multiple].input-group-addon,.input-group-sm>textarea.form-control,.input-group-sm>textarea.input-group-addon,select[multiple].input-sm,textarea.input-sm{height:auto}.form-group-sm .form-control{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}.form-group-sm select.form-control{height:30px;line-height:30px}.form-group-sm select[multiple].form-control,.form-group-sm textarea.form-control{height:auto}.form-group-sm .form-control-static{height:30px;min-height:34px;padding:6px 10px;font-size:12px;line-height:1.5}.input-group-lg>.form-control,.input-group-lg>.input-group-addon,.input-group-lg>.input-group-btn>.btn,.input-lg{height:46px;padding:10px 16px;font-size:18px;line-height:1.3333333;border-radius:6px}.input-group-lg>.input-group-btn>select.btn,.input-group-lg>select.form-control,.input-group-lg>select.input-group-addon,select.input-lg{height:46px;line-height:46px}.input-group-lg>.input-group-btn>select[multiple].btn,.input-group-lg>.input-group-btn>textarea.btn,.input-group-lg>select[multiple].form-control,.input-group-lg>select[multiple].input-group-addon,.input-group-lg>textarea.form-control,.input-group-lg>textarea.input-group-addon,select[multiple].input-lg,textarea.input-lg{height:auto}.form-group-lg .form-control{height:46px;padding:10px 16px;font-size:18px;line-height:1.3333333;border-radius:6px}.form-group-lg select.form-control{height:46px;line-height:46px}.form-group-lg select[multiple].form-control,.form-group-lg textarea.form-control{height:auto}.form-group-lg .form-control-static{height:46px;min-height:40px;padding:11px 16px;font-size:18px;line-height:1.3333333}.has-feedback{position:relative}.has-feedback .form-control{padding-right:45px}.form-control-feedback{position:absolute;top:0;right:0;z-index:2;display:block;width:36px;height:36px;line-height:36px;text-align:center;pointer-events:none}.form-group-lg .form-control+.form-control-feedback,.input-group-lg+.form-control-feedback,.input-group-lg>.form-control+.form-control-feedback,.input-group-lg>.input-group-addon+.form-control-feedback,.input-group-lg>.input-group-btn>.btn+.form-control-feedback,.input-lg+.form-control-feedback{width:46px;height:46px;line-height:46px}.form-group-sm .form-control+.form-control-feedback,.input-group-sm+.form-control-feedback,.input-group-sm>.form-control+.form-control-feedback,.input-group-sm>.input-group-addon+.form-control-feedback,.input-group-sm>.input-group-btn>.btn+.form-control-feedback,.input-sm+.form-control-feedback{width:30px;height:30px;line-height:30px}.has-success .checkbox,.has-success .checkbox-inline,.has-success.checkbox-inline label,.has-success.checkbox label,.has-success .control-label,.has-success .help-block,.has-success .radio,.has-success .radio-inline,.has-success.radio-inline label,.has-success.radio label{color:#3c763d}.has-success .form-control{border-color:#3c763d;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.has-success .form-control:focus{border-color:#2b542c;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #67b168;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #67b168}.has-success .input-group-addon{color:#3c763d;border-color:#3c763d;background-color:#dff0d8}.has-success .form-control-feedback{color:#3c763d}.has-warning .checkbox,.has-warning .checkbox-inline,.has-warning.checkbox-inline label,.has-warning.checkbox label,.has-warning .control-label,.has-warning .help-block,.has-warning .radio,.has-warning .radio-inline,.has-warning.radio-inline label,.has-warning.radio label{color:#8a6d3b}.has-warning .form-control{border-color:#8a6d3b;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.has-warning .form-control:focus{border-color:#66512c;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #c0a16b;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #c0a16b}.has-warning .input-group-addon{color:#8a6d3b;border-color:#8a6d3b;background-color:#fcf8e3}.has-warning .form-control-feedback{color:#8a6d3b}.has-error .checkbox,.has-error .checkbox-inline,.has-error.checkbox-inline label,.has-error.checkbox label,.has-error .control-label,.has-error .help-block,.has-error .radio,.has-error .radio-inline,.has-error.radio-inline label,.has-error.radio label{color:#a94442}.has-error .form-control{border-color:#a94442;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.has-error .form-control:focus{border-color:#843534;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #ce8483;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #ce8483}.has-error .input-group-addon{color:#a94442;border-color:#a94442;background-color:#f2dede}.has-error .form-control-feedback{color:#a94442}.has-feedback label~.form-control-feedback{top:27px}.has-feedback label.sr-only~.form-control-feedback{top:0}.help-block{display:block;margin-top:5px;margin-bottom:10px;color:#a4aaae}@media (min-width:768px){.form-inline .form-group{display:inline-block;margin-bottom:0;vertical-align:middle}.form-inline .form-control{display:inline-block;width:auto;vertical-align:middle}.form-inline .form-control-static{display:inline-block}.form-inline .input-group{display:inline-table;vertical-align:middle}.form-inline .input-group .form-control,.form-inline .input-group .input-group-addon,.form-inline .input-group .input-group-btn{width:auto}.form-inline .input-group>.form-control{width:100%}.form-inline .control-label{margin-bottom:0;vertical-align:middle}.form-inline .checkbox,.form-inline .radio{display:inline-block;margin-top:0;margin-bottom:0;vertical-align:middle}.form-inline .checkbox label,.form-inline .radio label{padding-left:0}.form-inline .checkbox input[type=checkbox],.form-inline .radio input[type=radio]{position:relative;margin-left:0}.form-inline .has-feedback .form-control-feedback{top:0}}.form-horizontal .checkbox,.form-horizontal .checkbox-inline,.form-horizontal .radio,.form-horizontal .radio-inline{margin-top:0;margin-bottom:0;padding-top:7px}.form-horizontal .checkbox,.form-horizontal .radio{min-height:29px}.form-horizontal .form-group{margin-left:-15px;margin-right:-15px}.form-horizontal .form-group:after,.form-horizontal .form-group:before{content:" ";display:table}.form-horizontal .form-group:after{clear:both}@media (min-width:768px){.form-horizontal .control-label{text-align:right;margin-bottom:0;padding-top:7px}}.form-horizontal .has-feedback .form-control-feedback{right:15px}@media (min-width:768px){.form-horizontal .form-group-lg .control-label{padding-top:11px;font-size:18px}}@media (min-width:768px){.form-horizontal .form-group-sm .control-label{padding-top:6px;font-size:12px}}.btn{display:inline-block;margin-bottom:0;font-weight:400;text-align:center;vertical-align:middle;-ms-touch-action:manipulation;touch-action:manipulation;cursor:pointer;background-image:none;border:1px solid transparent;white-space:nowrap;padding:6px 12px;font-size:14px;line-height:1.6;border-radius:4px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.btn.active.focus,.btn.active:focus,.btn.focus,.btn:active.focus,.btn:active:focus,.btn:focus{outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.btn.focus,.btn:focus,.btn:hover{color:#636b6f;text-decoration:none}.btn.active,.btn:active{outline:0;background-image:none;-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,.125);box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.btn.disabled,.btn[disabled],fieldset[disabled] .btn{cursor:not-allowed;opacity:.65;filter:alpha(opacity=65);-webkit-box-shadow:none;box-shadow:none}a.btn.disabled,fieldset[disabled] a.btn{pointer-events:none}.btn-default{color:#636b6f;background-color:#fff;border-color:#ccc}.btn-default.focus,.btn-default:focus{color:#636b6f;background-color:#e6e5e5;border-color:#8c8c8c}.btn-default.active,.btn-default:active,.btn-default:hover,.open>.btn-default.dropdown-toggle{color:#636b6f;background-color:#e6e5e5;border-color:#adadad}.btn-default.active.focus,.btn-default.active:focus,.btn-default.active:hover,.btn-default:active.focus,.btn-default:active:focus,.btn-default:active:hover,.open>.btn-default.dropdown-toggle.focus,.open>.btn-default.dropdown-toggle:focus,.open>.btn-default.dropdown-toggle:hover{color:#636b6f;background-color:#d4d4d4;border-color:#8c8c8c}.btn-default.active,.btn-default:active,.open>.btn-default.dropdown-toggle{background-image:none}.btn-default.disabled.focus,.btn-default.disabled:focus,.btn-default.disabled:hover,.btn-default[disabled].focus,.btn-default[disabled]:focus,.btn-default[disabled]:hover,fieldset[disabled] .btn-default.focus,fieldset[disabled] .btn-default:focus,fieldset[disabled] .btn-default:hover{background-color:#fff;border-color:#ccc}.btn-default .badge{color:#fff;background-color:#636b6f}.btn-primary{color:#fff;background-color:#3097d1;border-color:#2a88bd}.btn-primary.focus,.btn-primary:focus{color:#fff;background-color:#2579a9;border-color:#133d55}.btn-primary.active,.btn-primary:active,.btn-primary:hover,.open>.btn-primary.dropdown-toggle{color:#fff;background-color:#2579a9;border-color:#1f648b}.btn-primary.active.focus,.btn-primary.active:focus,.btn-primary.active:hover,.btn-primary:active.focus,.btn-primary:active:focus,.btn-primary:active:hover,.open>.btn-primary.dropdown-toggle.focus,.open>.btn-primary.dropdown-toggle:focus,.open>.btn-primary.dropdown-toggle:hover{color:#fff;background-color:#1f648b;border-color:#133d55}.btn-primary.active,.btn-primary:active,.open>.btn-primary.dropdown-toggle{background-image:none}.btn-primary.disabled.focus,.btn-primary.disabled:focus,.btn-primary.disabled:hover,.btn-primary[disabled].focus,.btn-primary[disabled]:focus,.btn-primary[disabled]:hover,fieldset[disabled] .btn-primary.focus,fieldset[disabled] .btn-primary:focus,fieldset[disabled] .btn-primary:hover{background-color:#3097d1;border-color:#2a88bd}.btn-primary .badge{color:#3097d1;background-color:#fff}.btn-success{color:#fff;background-color:#2ab27b;border-color:#259d6d}.btn-success.focus,.btn-success:focus{color:#fff;background-color:#20895e;border-color:#0d3625}.btn-success.active,.btn-success:active,.btn-success:hover,.open>.btn-success.dropdown-toggle{color:#fff;background-color:#20895e;border-color:#196c4b}.btn-success.active.focus,.btn-success.active:focus,.btn-success.active:hover,.btn-success:active.focus,.btn-success:active:focus,.btn-success:active:hover,.open>.btn-success.dropdown-toggle.focus,.open>.btn-success.dropdown-toggle:focus,.open>.btn-success.dropdown-toggle:hover{color:#fff;background-color:#196c4b;border-color:#0d3625}.btn-success.active,.btn-success:active,.open>.btn-success.dropdown-toggle{background-image:none}.btn-success.disabled.focus,.btn-success.disabled:focus,.btn-success.disabled:hover,.btn-success[disabled].focus,.btn-success[disabled]:focus,.btn-success[disabled]:hover,fieldset[disabled] .btn-success.focus,fieldset[disabled] .btn-success:focus,fieldset[disabled] .btn-success:hover{background-color:#2ab27b;border-color:#259d6d}.btn-success .badge{color:#2ab27b;background-color:#fff}.btn-info{color:#fff;background-color:#8eb4cb;border-color:#7da8c3}.btn-info.focus,.btn-info:focus{color:#fff;background-color:#6b9dbb;border-color:#3d6983}.btn-info.active,.btn-info:active,.btn-info:hover,.open>.btn-info.dropdown-toggle{color:#fff;background-color:#6b9dbb;border-color:#538db0}.btn-info.active.focus,.btn-info.active:focus,.btn-info.active:hover,.btn-info:active.focus,.btn-info:active:focus,.btn-info:active:hover,.open>.btn-info.dropdown-toggle.focus,.open>.btn-info.dropdown-toggle:focus,.open>.btn-info.dropdown-toggle:hover{color:#fff;background-color:#538db0;border-color:#3d6983}.btn-info.active,.btn-info:active,.open>.btn-info.dropdown-toggle{background-image:none}.btn-info.disabled.focus,.btn-info.disabled:focus,.btn-info.disabled:hover,.btn-info[disabled].focus,.btn-info[disabled]:focus,.btn-info[disabled]:hover,fieldset[disabled] .btn-info.focus,fieldset[disabled] .btn-info:focus,fieldset[disabled] .btn-info:hover{background-color:#8eb4cb;border-color:#7da8c3}.btn-info .badge{color:#8eb4cb;background-color:#fff}.btn-warning{color:#fff;background-color:#cbb956;border-color:#c5b143}.btn-warning.focus,.btn-warning:focus{color:#fff;background-color:#b6a338;border-color:#685d20}.btn-warning.active,.btn-warning:active,.btn-warning:hover,.open>.btn-warning.dropdown-toggle{color:#fff;background-color:#b6a338;border-color:#9b8a30}.btn-warning.active.focus,.btn-warning.active:focus,.btn-warning.active:hover,.btn-warning:active.focus,.btn-warning:active:focus,.btn-warning:active:hover,.open>.btn-warning.dropdown-toggle.focus,.open>.btn-warning.dropdown-toggle:focus,.open>.btn-warning.dropdown-toggle:hover{color:#fff;background-color:#9b8a30;border-color:#685d20}.btn-warning.active,.btn-warning:active,.open>.btn-warning.dropdown-toggle{background-image:none}.btn-warning.disabled.focus,.btn-warning.disabled:focus,.btn-warning.disabled:hover,.btn-warning[disabled].focus,.btn-warning[disabled]:focus,.btn-warning[disabled]:hover,fieldset[disabled] .btn-warning.focus,fieldset[disabled] .btn-warning:focus,fieldset[disabled] .btn-warning:hover{background-color:#cbb956;border-color:#c5b143}.btn-warning .badge{color:#cbb956;background-color:#fff}.btn-danger{color:#fff;background-color:#bf5329;border-color:#aa4a24}.btn-danger.focus,.btn-danger:focus{color:#fff;background-color:#954120;border-color:#411c0e}.btn-danger.active,.btn-danger:active,.btn-danger:hover,.open>.btn-danger.dropdown-toggle{color:#fff;background-color:#954120;border-color:#78341a}.btn-danger.active.focus,.btn-danger.active:focus,.btn-danger.active:hover,.btn-danger:active.focus,.btn-danger:active:focus,.btn-danger:active:hover,.open>.btn-danger.dropdown-toggle.focus,.open>.btn-danger.dropdown-toggle:focus,.open>.btn-danger.dropdown-toggle:hover{color:#fff;background-color:#78341a;border-color:#411c0e}.btn-danger.active,.btn-danger:active,.open>.btn-danger.dropdown-toggle{background-image:none}.btn-danger.disabled.focus,.btn-danger.disabled:focus,.btn-danger.disabled:hover,.btn-danger[disabled].focus,.btn-danger[disabled]:focus,.btn-danger[disabled]:hover,fieldset[disabled] .btn-danger.focus,fieldset[disabled] .btn-danger:focus,fieldset[disabled] .btn-danger:hover{background-color:#bf5329;border-color:#aa4a24}.btn-danger .badge{color:#bf5329;background-color:#fff}.btn-link{color:#3097d1;font-weight:400;border-radius:0}.btn-link,.btn-link.active,.btn-link:active,.btn-link[disabled],fieldset[disabled] .btn-link{background-color:transparent;-webkit-box-shadow:none;box-shadow:none}.btn-link,.btn-link:active,.btn-link:focus,.btn-link:hover{border-color:transparent}.btn-link:focus,.btn-link:hover{color:#216a94;text-decoration:underline;background-color:transparent}.btn-link[disabled]:focus,.btn-link[disabled]:hover,fieldset[disabled] .btn-link:focus,fieldset[disabled] .btn-link:hover{color:#777;text-decoration:none}.btn-group-lg>.btn,.btn-lg{padding:10px 16px;font-size:18px;line-height:1.3333333;border-radius:6px}.btn-group-sm>.btn,.btn-sm{padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}.btn-group-xs>.btn,.btn-xs{padding:1px 5px;font-size:12px;line-height:1.5;border-radius:3px}.btn-block{display:block;width:100%}.btn-block+.btn-block{margin-top:5px}input[type=button].btn-block,input[type=reset].btn-block,input[type=submit].btn-block{width:100%}.fade{opacity:0;-webkit-transition:opacity .15s linear;transition:opacity .15s linear}.fade.in{opacity:1}.collapse{display:none}.collapse.in{display:block}tr.collapse.in{display:table-row}tbody.collapse.in{display:table-row-group}.collapsing{position:relative;height:0;overflow:hidden;-webkit-transition-property:height,visibility;transition-property:height,visibility;-webkit-transition-duration:.35s;transition-duration:.35s;-webkit-transition-timing-function:ease;transition-timing-function:ease}.caret{display:inline-block;width:0;height:0;margin-left:2px;vertical-align:middle;border-top:4px dashed;border-top:4px solid\9;border-right:4px solid transparent;border-left:4px solid transparent}.dropdown,.dropup{position:relative}.dropdown-toggle:focus{outline:0}.dropdown-menu{position:absolute;top:100%;left:0;z-index:1000;display:none;float:left;min-width:160px;padding:5px 0;margin:2px 0 0;list-style:none;font-size:14px;text-align:left;background-color:#fff;border:1px solid #ccc;border:1px solid rgba(0,0,0,.15);border-radius:4px;-webkit-box-shadow:0 6px 12px rgba(0,0,0,.175);box-shadow:0 6px 12px rgba(0,0,0,.175);background-clip:padding-box}.dropdown-menu.pull-right{right:0;left:auto}.dropdown-menu .divider{height:1px;margin:10px 0;overflow:hidden;background-color:#e5e5e5}.dropdown-menu>li>a{display:block;padding:3px 20px;clear:both;font-weight:400;line-height:1.6;color:#333;white-space:nowrap}.dropdown-menu>li>a:focus,.dropdown-menu>li>a:hover{text-decoration:none;color:#262626;background-color:#f5f5f5}.dropdown-menu>.active>a,.dropdown-menu>.active>a:focus,.dropdown-menu>.active>a:hover{color:#fff;text-decoration:none;outline:0;background-color:#3097d1}.dropdown-menu>.disabled>a,.dropdown-menu>.disabled>a:focus,.dropdown-menu>.disabled>a:hover{color:#777}.dropdown-menu>.disabled>a:focus,.dropdown-menu>.disabled>a:hover{text-decoration:none;background-color:transparent;background-image:none;filter:progid:DXImageTransform.Microsoft.gradient(enabled = false);cursor:not-allowed}.open>.dropdown-menu{display:block}.open>a{outline:0}.dropdown-menu-right{left:auto;right:0}.dropdown-menu-left{left:0;right:auto}.dropdown-header{display:block;padding:3px 20px;font-size:12px;line-height:1.6;color:#777;white-space:nowrap}.dropdown-backdrop{position:fixed;left:0;right:0;bottom:0;top:0;z-index:990}.pull-right>.dropdown-menu{right:0;left:auto}.dropup .caret,.navbar-fixed-bottom .dropdown .caret{border-top:0;border-bottom:4px dashed;border-bottom:4px solid\9;content:""}.dropup .dropdown-menu,.navbar-fixed-bottom .dropdown .dropdown-menu{top:auto;bottom:100%;margin-bottom:2px}@media (min-width:768px){.navbar-right .dropdown-menu{right:0;left:auto}.navbar-right .dropdown-menu-left{left:0;right:auto}}.btn-group,.btn-group-vertical{position:relative;display:inline-block;vertical-align:middle}.btn-group-vertical>.btn,.btn-group>.btn{position:relative;float:left}.btn-group-vertical>.btn.active,.btn-group-vertical>.btn:active,.btn-group-vertical>.btn:focus,.btn-group-vertical>.btn:hover,.btn-group>.btn.active,.btn-group>.btn:active,.btn-group>.btn:focus,.btn-group>.btn:hover{z-index:2}.btn-group .btn+.btn,.btn-group .btn+.btn-group,.btn-group .btn-group+.btn,.btn-group .btn-group+.btn-group{margin-left:-1px}.btn-toolbar{margin-left:-5px}.btn-toolbar:after,.btn-toolbar:before{content:" ";display:table}.btn-toolbar:after{clear:both}.btn-toolbar .btn,.btn-toolbar .btn-group,.btn-toolbar .input-group{float:left}.btn-toolbar>.btn,.btn-toolbar>.btn-group,.btn-toolbar>.input-group{margin-left:5px}.btn-group>.btn:not(:first-child):not(:last-child):not(.dropdown-toggle){border-radius:0}.btn-group>.btn:first-child{margin-left:0}.btn-group>.btn:first-child:not(:last-child):not(.dropdown-toggle){border-bottom-right-radius:0;border-top-right-radius:0}.btn-group>.btn:last-child:not(:first-child),.btn-group>.dropdown-toggle:not(:first-child){border-bottom-left-radius:0;border-top-left-radius:0}.btn-group>.btn-group{float:left}.btn-group>.btn-group:not(:first-child):not(:last-child)>.btn{border-radius:0}.btn-group>.btn-group:first-child:not(:last-child)>.btn:last-child,.btn-group>.btn-group:first-child:not(:last-child)>.dropdown-toggle{border-bottom-right-radius:0;border-top-right-radius:0}.btn-group>.btn-group:last-child:not(:first-child)>.btn:first-child{border-bottom-left-radius:0;border-top-left-radius:0}.btn-group .dropdown-toggle:active,.btn-group.open .dropdown-toggle{outline:0}.btn-group>.btn+.dropdown-toggle{padding-left:8px;padding-right:8px}.btn-group-lg.btn-group>.btn+.dropdown-toggle,.btn-group>.btn-lg+.dropdown-toggle{padding-left:12px;padding-right:12px}.btn-group.open .dropdown-toggle{-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,.125);box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.btn-group.open .dropdown-toggle.btn-link{-webkit-box-shadow:none;box-shadow:none}.btn .caret{margin-left:0}.btn-group-lg>.btn .caret,.btn-lg .caret{border-width:5px 5px 0;border-bottom-width:0}.dropup .btn-group-lg>.btn .caret,.dropup .btn-lg .caret{border-width:0 5px 5px}.btn-group-vertical>.btn,.btn-group-vertical>.btn-group,.btn-group-vertical>.btn-group>.btn{display:block;float:none;width:100%;max-width:100%}.btn-group-vertical>.btn-group:after,.btn-group-vertical>.btn-group:before{content:" ";display:table}.btn-group-vertical>.btn-group:after{clear:both}.btn-group-vertical>.btn-group>.btn{float:none}.btn-group-vertical>.btn+.btn,.btn-group-vertical>.btn+.btn-group,.btn-group-vertical>.btn-group+.btn,.btn-group-vertical>.btn-group+.btn-group{margin-top:-1px;margin-left:0}.btn-group-vertical>.btn:not(:first-child):not(:last-child){border-radius:0}.btn-group-vertical>.btn:first-child:not(:last-child){border-top-right-radius:4px;border-top-left-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-vertical>.btn:last-child:not(:first-child){border-top-right-radius:0;border-top-left-radius:0;border-bottom-right-radius:4px;border-bottom-left-radius:4px}.btn-group-vertical>.btn-group:not(:first-child):not(:last-child)>.btn{border-radius:0}.btn-group-vertical>.btn-group:first-child:not(:last-child)>.btn:last-child,.btn-group-vertical>.btn-group:first-child:not(:last-child)>.dropdown-toggle{border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-vertical>.btn-group:last-child:not(:first-child)>.btn:first-child{border-top-right-radius:0;border-top-left-radius:0}.btn-group-justified{display:table;width:100%;table-layout:fixed;border-collapse:separate}.btn-group-justified>.btn,.btn-group-justified>.btn-group{float:none;display:table-cell;width:1%}.btn-group-justified>.btn-group .btn{width:100%}.btn-group-justified>.btn-group .dropdown-menu{left:auto}[data-toggle=buttons]>.btn-group>.btn input[type=checkbox],[data-toggle=buttons]>.btn-group>.btn input[type=radio],[data-toggle=buttons]>.btn input[type=checkbox],[data-toggle=buttons]>.btn input[type=radio]{position:absolute;clip:rect(0,0,0,0);pointer-events:none}.input-group{position:relative;display:table;border-collapse:separate}.input-group[class*=col-]{float:none;padding-left:0;padding-right:0}.input-group .form-control{position:relative;z-index:2;float:left;width:100%;margin-bottom:0}.input-group .form-control:focus{z-index:3}.input-group-addon,.input-group-btn,.input-group .form-control{display:table-cell}.input-group-addon:not(:first-child):not(:last-child),.input-group-btn:not(:first-child):not(:last-child),.input-group .form-control:not(:first-child):not(:last-child){border-radius:0}.input-group-addon,.input-group-btn{width:1%;white-space:nowrap;vertical-align:middle}.input-group-addon{padding:6px 12px;font-size:14px;font-weight:400;line-height:1;color:#555;text-align:center;background-color:#eee;border:1px solid #ccd0d2;border-radius:4px}.input-group-addon.input-sm,.input-group-sm>.input-group-addon,.input-group-sm>.input-group-btn>.input-group-addon.btn{padding:5px 10px;font-size:12px;border-radius:3px}.input-group-addon.input-lg,.input-group-lg>.input-group-addon,.input-group-lg>.input-group-btn>.input-group-addon.btn{padding:10px 16px;font-size:18px;border-radius:6px}.input-group-addon input[type=checkbox],.input-group-addon input[type=radio]{margin-top:0}.input-group-addon:first-child,.input-group-btn:first-child>.btn,.input-group-btn:first-child>.btn-group>.btn,.input-group-btn:first-child>.dropdown-toggle,.input-group-btn:last-child>.btn-group:not(:last-child)>.btn,.input-group-btn:last-child>.btn:not(:last-child):not(.dropdown-toggle),.input-group .form-control:first-child{border-bottom-right-radius:0;border-top-right-radius:0}.input-group-addon:first-child{border-right:0}.input-group-addon:last-child,.input-group-btn:first-child>.btn-group:not(:first-child)>.btn,.input-group-btn:first-child>.btn:not(:first-child),.input-group-btn:last-child>.btn,.input-group-btn:last-child>.btn-group>.btn,.input-group-btn:last-child>.dropdown-toggle,.input-group .form-control:last-child{border-bottom-left-radius:0;border-top-left-radius:0}.input-group-addon:last-child{border-left:0}.input-group-btn{font-size:0;white-space:nowrap}.input-group-btn,.input-group-btn>.btn{position:relative}.input-group-btn>.btn+.btn{margin-left:-1px}.input-group-btn>.btn:active,.input-group-btn>.btn:focus,.input-group-btn>.btn:hover{z-index:2}.input-group-btn:first-child>.btn,.input-group-btn:first-child>.btn-group{margin-right:-1px}.input-group-btn:last-child>.btn,.input-group-btn:last-child>.btn-group{z-index:2;margin-left:-1px}.nav{margin-bottom:0;padding-left:0;list-style:none}.nav:after,.nav:before{content:" ";display:table}.nav:after{clear:both}.nav>li,.nav>li>a{position:relative;display:block}.nav>li>a{padding:10px 15px}.nav>li>a:focus,.nav>li>a:hover{text-decoration:none;background-color:#eee}.nav>li.disabled>a{color:#777}.nav>li.disabled>a:focus,.nav>li.disabled>a:hover{color:#777;text-decoration:none;background-color:transparent;cursor:not-allowed}.nav .open>a,.nav .open>a:focus,.nav .open>a:hover{background-color:#eee;border-color:#3097d1}.nav .nav-divider{height:1px;margin:10px 0;overflow:hidden;background-color:#e5e5e5}.nav>li>a>img{max-width:none}.nav-tabs{border-bottom:1px solid #ddd}.nav-tabs>li{float:left;margin-bottom:-1px}.nav-tabs>li>a{margin-right:2px;line-height:1.6;border:1px solid transparent;border-radius:4px 4px 0 0}.nav-tabs>li>a:hover{border-color:#eee #eee #ddd}.nav-tabs>li.active>a,.nav-tabs>li.active>a:focus,.nav-tabs>li.active>a:hover{color:#555;background-color:#f5f8fa;border:1px solid #ddd;border-bottom-color:transparent;cursor:default}.nav-pills>li{float:left}.nav-pills>li>a{border-radius:4px}.nav-pills>li+li{margin-left:2px}.nav-pills>li.active>a,.nav-pills>li.active>a:focus,.nav-pills>li.active>a:hover{color:#fff;background-color:#3097d1}.nav-stacked>li{float:none}.nav-stacked>li+li{margin-top:2px;margin-left:0}.nav-justified,.nav-tabs.nav-justified{width:100%}.nav-justified>li,.nav-tabs.nav-justified>li{float:none}.nav-justified>li>a,.nav-tabs.nav-justified>li>a{text-align:center;margin-bottom:5px}.nav-justified>.dropdown .dropdown-menu{top:auto;left:auto}@media (min-width:768px){.nav-justified>li,.nav-tabs.nav-justified>li{display:table-cell;width:1%}.nav-justified>li>a,.nav-tabs.nav-justified>li>a{margin-bottom:0}}.nav-tabs-justified,.nav-tabs.nav-justified{border-bottom:0}.nav-tabs-justified>li>a,.nav-tabs.nav-justified>li>a{margin-right:0;border-radius:4px}.nav-tabs-justified>.active>a,.nav-tabs-justified>.active>a:focus,.nav-tabs-justified>.active>a:hover,.nav-tabs.nav-justified>.active>a,.nav-tabs.nav-justified>.active>a:focus,.nav-tabs.nav-justified>.active>a:hover{border:1px solid #ddd}@media (min-width:768px){.nav-tabs-justified>li>a,.nav-tabs.nav-justified>li>a{border-bottom:1px solid #ddd;border-radius:4px 4px 0 0}.nav-tabs-justified>.active>a,.nav-tabs-justified>.active>a:focus,.nav-tabs-justified>.active>a:hover,.nav-tabs.nav-justified>.active>a,.nav-tabs.nav-justified>.active>a:focus,.nav-tabs.nav-justified>.active>a:hover{border-bottom-color:#f5f8fa}}.tab-content>.tab-pane{display:none}.tab-content>.active{display:block}.nav-tabs .dropdown-menu{margin-top:-1px;border-top-right-radius:0;border-top-left-radius:0}.navbar{position:relative;min-height:50px;margin-bottom:22px;border:1px solid transparent}.navbar:after,.navbar:before{content:" ";display:table}.navbar:after{clear:both}@media (min-width:768px){.navbar{border-radius:4px}}.navbar-header:after,.navbar-header:before{content:" ";display:table}.navbar-header:after{clear:both}@media (min-width:768px){.navbar-header{float:left}}.navbar-collapse{overflow-x:visible;padding-right:15px;padding-left:15px;border-top:1px solid transparent;-webkit-box-shadow:inset 0 1px 0 hsla(0,0%,100%,.1);box-shadow:inset 0 1px 0 hsla(0,0%,100%,.1);-webkit-overflow-scrolling:touch}.navbar-collapse:after,.navbar-collapse:before{content:" ";display:table}.navbar-collapse:after{clear:both}.navbar-collapse.in{overflow-y:auto}@media (min-width:768px){.navbar-collapse{width:auto;border-top:0;-webkit-box-shadow:none;box-shadow:none}.navbar-collapse.collapse{display:block!important;height:auto!important;padding-bottom:0;overflow:visible!important}.navbar-collapse.in{overflow-y:visible}.navbar-fixed-bottom .navbar-collapse,.navbar-fixed-top .navbar-collapse,.navbar-static-top .navbar-collapse{padding-left:0;padding-right:0}}.navbar-fixed-bottom .navbar-collapse,.navbar-fixed-top .navbar-collapse{max-height:340px}@media (max-device-width:480px) and (orientation:landscape){.navbar-fixed-bottom .navbar-collapse,.navbar-fixed-top .navbar-collapse{max-height:200px}}.container-fluid>.navbar-collapse,.container-fluid>.navbar-header,.container>.navbar-collapse,.container>.navbar-header{margin-right:-15px;margin-left:-15px}@media (min-width:768px){.container-fluid>.navbar-collapse,.container-fluid>.navbar-header,.container>.navbar-collapse,.container>.navbar-header{margin-right:0;margin-left:0}}.navbar-static-top{z-index:1000;border-width:0 0 1px}@media (min-width:768px){.navbar-static-top{border-radius:0}}.navbar-fixed-bottom,.navbar-fixed-top{position:fixed;right:0;left:0;z-index:1030}@media (min-width:768px){.navbar-fixed-bottom,.navbar-fixed-top{border-radius:0}}.navbar-fixed-top{top:0;border-width:0 0 1px}.navbar-fixed-bottom{bottom:0;margin-bottom:0;border-width:1px 0 0}.navbar-brand{float:left;padding:14px 15px;font-size:18px;line-height:22px;height:50px}.navbar-brand:focus,.navbar-brand:hover{text-decoration:none}.navbar-brand>img{display:block}@media (min-width:768px){.navbar>.container-fluid .navbar-brand,.navbar>.container .navbar-brand{margin-left:-15px}}.navbar-toggle{position:relative;float:right;margin-right:15px;padding:9px 10px;margin-top:8px;margin-bottom:8px;background-color:transparent;background-image:none;border:1px solid transparent;border-radius:4px}.navbar-toggle:focus{outline:0}.navbar-toggle .icon-bar{display:block;width:22px;height:2px;border-radius:1px}.navbar-toggle .icon-bar+.icon-bar{margin-top:4px}@media (min-width:768px){.navbar-toggle{display:none}}.navbar-nav{margin:7px -15px}.navbar-nav>li>a{padding-top:10px;padding-bottom:10px;line-height:22px}@media (max-width:767px){.navbar-nav .open .dropdown-menu{position:static;float:none;width:auto;margin-top:0;background-color:transparent;border:0;-webkit-box-shadow:none;box-shadow:none}.navbar-nav .open .dropdown-menu .dropdown-header,.navbar-nav .open .dropdown-menu>li>a{padding:5px 15px 5px 25px}.navbar-nav .open .dropdown-menu>li>a{line-height:22px}.navbar-nav .open .dropdown-menu>li>a:focus,.navbar-nav .open .dropdown-menu>li>a:hover{background-image:none}}@media (min-width:768px){.navbar-nav{float:left;margin:0}.navbar-nav>li{float:left}.navbar-nav>li>a{padding-top:14px;padding-bottom:14px}}.navbar-form{margin:7px -15px;padding:10px 15px;border-top:1px solid transparent;border-bottom:1px solid transparent;-webkit-box-shadow:inset 0 1px 0 hsla(0,0%,100%,.1),0 1px 0 hsla(0,0%,100%,.1);box-shadow:inset 0 1px 0 hsla(0,0%,100%,.1),0 1px 0 hsla(0,0%,100%,.1)}@media (min-width:768px){.navbar-form .form-group{display:inline-block;margin-bottom:0;vertical-align:middle}.navbar-form .form-control{display:inline-block;width:auto;vertical-align:middle}.navbar-form .form-control-static{display:inline-block}.navbar-form .input-group{display:inline-table;vertical-align:middle}.navbar-form .input-group .form-control,.navbar-form .input-group .input-group-addon,.navbar-form .input-group .input-group-btn{width:auto}.navbar-form .input-group>.form-control{width:100%}.navbar-form .control-label{margin-bottom:0;vertical-align:middle}.navbar-form .checkbox,.navbar-form .radio{display:inline-block;margin-top:0;margin-bottom:0;vertical-align:middle}.navbar-form .checkbox label,.navbar-form .radio label{padding-left:0}.navbar-form .checkbox input[type=checkbox],.navbar-form .radio input[type=radio]{position:relative;margin-left:0}.navbar-form .has-feedback .form-control-feedback{top:0}}@media (max-width:767px){.navbar-form .form-group{margin-bottom:5px}.navbar-form .form-group:last-child{margin-bottom:0}}@media (min-width:768px){.navbar-form{width:auto;border:0;margin-left:0;margin-right:0;padding-top:0;padding-bottom:0;-webkit-box-shadow:none;box-shadow:none}}.navbar-nav>li>.dropdown-menu{margin-top:0;border-top-right-radius:0;border-top-left-radius:0}.navbar-fixed-bottom .navbar-nav>li>.dropdown-menu{margin-bottom:0;border-top-right-radius:4px;border-top-left-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}.navbar-btn{margin-top:7px;margin-bottom:7px}.btn-group-sm>.navbar-btn.btn,.navbar-btn.btn-sm{margin-top:10px;margin-bottom:10px}.btn-group-xs>.navbar-btn.btn,.navbar-btn.btn-xs,.navbar-text{margin-top:14px;margin-bottom:14px}@media (min-width:768px){.navbar-text{float:left;margin-left:15px;margin-right:15px}}@media (min-width:768px){.navbar-left{float:left!important}.navbar-right{float:right!important;margin-right:-15px}.navbar-right~.navbar-right{margin-right:0}}.navbar-default{background-color:#fff;border-color:#d3e0e9}.navbar-default .navbar-brand{color:#777}.navbar-default .navbar-brand:focus,.navbar-default .navbar-brand:hover{color:#5e5d5d;background-color:transparent}.navbar-default .navbar-nav>li>a,.navbar-default .navbar-text{color:#777}.navbar-default .navbar-nav>li>a:focus,.navbar-default .navbar-nav>li>a:hover{color:#333;background-color:transparent}.navbar-default .navbar-nav>.active>a,.navbar-default .navbar-nav>.active>a:focus,.navbar-default .navbar-nav>.active>a:hover{color:#555;background-color:#eee}.navbar-default .navbar-nav>.disabled>a,.navbar-default .navbar-nav>.disabled>a:focus,.navbar-default .navbar-nav>.disabled>a:hover{color:#ccc;background-color:transparent}.navbar-default .navbar-toggle{border-color:#ddd}.navbar-default .navbar-toggle:focus,.navbar-default .navbar-toggle:hover{background-color:#ddd}.navbar-default .navbar-toggle .icon-bar{background-color:#888}.navbar-default .navbar-collapse,.navbar-default .navbar-form{border-color:#d3e0e9}.navbar-default .navbar-nav>.open>a,.navbar-default .navbar-nav>.open>a:focus,.navbar-default .navbar-nav>.open>a:hover{background-color:#eee;color:#555}@media (max-width:767px){.navbar-default .navbar-nav .open .dropdown-menu>li>a{color:#777}.navbar-default .navbar-nav .open .dropdown-menu>li>a:focus,.navbar-default .navbar-nav .open .dropdown-menu>li>a:hover{color:#333;background-color:transparent}.navbar-default .navbar-nav .open .dropdown-menu>.active>a,.navbar-default .navbar-nav .open .dropdown-menu>.active>a:focus,.navbar-default .navbar-nav .open .dropdown-menu>.active>a:hover{color:#555;background-color:#eee}.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a,.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a:focus,.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a:hover{color:#ccc;background-color:transparent}}.navbar-default .navbar-link{color:#777}.navbar-default .navbar-link:hover{color:#333}.navbar-default .btn-link{color:#777}.navbar-default .btn-link:focus,.navbar-default .btn-link:hover{color:#333}.navbar-default .btn-link[disabled]:focus,.navbar-default .btn-link[disabled]:hover,fieldset[disabled] .navbar-default .btn-link:focus,fieldset[disabled] .navbar-default .btn-link:hover{color:#ccc}.navbar-inverse{background-color:#222;border-color:#090909}.navbar-inverse .navbar-brand{color:#9d9d9d}.navbar-inverse .navbar-brand:focus,.navbar-inverse .navbar-brand:hover{color:#fff;background-color:transparent}.navbar-inverse .navbar-nav>li>a,.navbar-inverse .navbar-text{color:#9d9d9d}.navbar-inverse .navbar-nav>li>a:focus,.navbar-inverse .navbar-nav>li>a:hover{color:#fff;background-color:transparent}.navbar-inverse .navbar-nav>.active>a,.navbar-inverse .navbar-nav>.active>a:focus,.navbar-inverse .navbar-nav>.active>a:hover{color:#fff;background-color:#090909}.navbar-inverse .navbar-nav>.disabled>a,.navbar-inverse .navbar-nav>.disabled>a:focus,.navbar-inverse .navbar-nav>.disabled>a:hover{color:#444;background-color:transparent}.navbar-inverse .navbar-toggle{border-color:#333}.navbar-inverse .navbar-toggle:focus,.navbar-inverse .navbar-toggle:hover{background-color:#333}.navbar-inverse .navbar-toggle .icon-bar{background-color:#fff}.navbar-inverse .navbar-collapse,.navbar-inverse .navbar-form{border-color:#101010}.navbar-inverse .navbar-nav>.open>a,.navbar-inverse .navbar-nav>.open>a:focus,.navbar-inverse .navbar-nav>.open>a:hover{background-color:#090909;color:#fff}@media (max-width:767px){.navbar-inverse .navbar-nav .open .dropdown-menu>.dropdown-header{border-color:#090909}.navbar-inverse .navbar-nav .open .dropdown-menu .divider{background-color:#090909}.navbar-inverse .navbar-nav .open .dropdown-menu>li>a{color:#9d9d9d}.navbar-inverse .navbar-nav .open .dropdown-menu>li>a:focus,.navbar-inverse .navbar-nav .open .dropdown-menu>li>a:hover{color:#fff;background-color:transparent}.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a,.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a:focus,.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a:hover{color:#fff;background-color:#090909}.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a,.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a:focus,.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a:hover{color:#444;background-color:transparent}}.navbar-inverse .navbar-link{color:#9d9d9d}.navbar-inverse .navbar-link:hover{color:#fff}.navbar-inverse .btn-link{color:#9d9d9d}.navbar-inverse .btn-link:focus,.navbar-inverse .btn-link:hover{color:#fff}.navbar-inverse .btn-link[disabled]:focus,.navbar-inverse .btn-link[disabled]:hover,fieldset[disabled] .navbar-inverse .btn-link:focus,fieldset[disabled] .navbar-inverse .btn-link:hover{color:#444}.breadcrumb{padding:8px 15px;margin-bottom:22px;list-style:none;background-color:#f5f5f5;border-radius:4px}.breadcrumb>li{display:inline-block}.breadcrumb>li+li:before{content:"/\A0";padding:0 5px;color:#ccc}.breadcrumb>.active{color:#777}.pagination{display:inline-block;padding-left:0;margin:22px 0;border-radius:4px}.pagination>li{display:inline}.pagination>li>a,.pagination>li>span{position:relative;float:left;padding:6px 12px;line-height:1.6;text-decoration:none;color:#3097d1;background-color:#fff;border:1px solid #ddd;margin-left:-1px}.pagination>li:first-child>a,.pagination>li:first-child>span{margin-left:0;border-bottom-left-radius:4px;border-top-left-radius:4px}.pagination>li:last-child>a,.pagination>li:last-child>span{border-bottom-right-radius:4px;border-top-right-radius:4px}.pagination>li>a:focus,.pagination>li>a:hover,.pagination>li>span:focus,.pagination>li>span:hover{z-index:2;color:#216a94;background-color:#eee;border-color:#ddd}.pagination>.active>a,.pagination>.active>a:focus,.pagination>.active>a:hover,.pagination>.active>span,.pagination>.active>span:focus,.pagination>.active>span:hover{z-index:3;color:#fff;background-color:#3097d1;border-color:#3097d1;cursor:default}.pagination>.disabled>a,.pagination>.disabled>a:focus,.pagination>.disabled>a:hover,.pagination>.disabled>span,.pagination>.disabled>span:focus,.pagination>.disabled>span:hover{color:#777;background-color:#fff;border-color:#ddd;cursor:not-allowed}.pagination-lg>li>a,.pagination-lg>li>span{padding:10px 16px;font-size:18px;line-height:1.3333333}.pagination-lg>li:first-child>a,.pagination-lg>li:first-child>span{border-bottom-left-radius:6px;border-top-left-radius:6px}.pagination-lg>li:last-child>a,.pagination-lg>li:last-child>span{border-bottom-right-radius:6px;border-top-right-radius:6px}.pagination-sm>li>a,.pagination-sm>li>span{padding:5px 10px;font-size:12px;line-height:1.5}.pagination-sm>li:first-child>a,.pagination-sm>li:first-child>span{border-bottom-left-radius:3px;border-top-left-radius:3px}.pagination-sm>li:last-child>a,.pagination-sm>li:last-child>span{border-bottom-right-radius:3px;border-top-right-radius:3px}.pager{padding-left:0;margin:22px 0;list-style:none;text-align:center}.pager:after,.pager:before{content:" ";display:table}.pager:after{clear:both}.pager li{display:inline}.pager li>a,.pager li>span{display:inline-block;padding:5px 14px;background-color:#fff;border:1px solid #ddd;border-radius:15px}.pager li>a:focus,.pager li>a:hover{text-decoration:none;background-color:#eee}.pager .next>a,.pager .next>span{float:right}.pager .previous>a,.pager .previous>span{float:left}.pager .disabled>a,.pager .disabled>a:focus,.pager .disabled>a:hover,.pager .disabled>span{color:#777;background-color:#fff;cursor:not-allowed}.label{display:inline;padding:.2em .6em .3em;font-size:75%;font-weight:700;line-height:1;color:#fff;text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:.25em}.label:empty{display:none}.btn .label{position:relative;top:-1px}a.label:focus,a.label:hover{color:#fff;text-decoration:none;cursor:pointer}.label-default{background-color:#777}.label-default[href]:focus,.label-default[href]:hover{background-color:#5e5e5e}.label-primary{background-color:#3097d1}.label-primary[href]:focus,.label-primary[href]:hover{background-color:#2579a9}.label-success{background-color:#2ab27b}.label-success[href]:focus,.label-success[href]:hover{background-color:#20895e}.label-info{background-color:#8eb4cb}.label-info[href]:focus,.label-info[href]:hover{background-color:#6b9dbb}.label-warning{background-color:#cbb956}.label-warning[href]:focus,.label-warning[href]:hover{background-color:#b6a338}.label-danger{background-color:#bf5329}.label-danger[href]:focus,.label-danger[href]:hover{background-color:#954120}.badge{display:inline-block;min-width:10px;padding:3px 7px;font-size:12px;font-weight:700;color:#fff;line-height:1;vertical-align:middle;white-space:nowrap;text-align:center;background-color:#777;border-radius:10px}.badge:empty{display:none}.btn .badge{position:relative;top:-1px}.btn-group-xs>.btn .badge,.btn-xs .badge{top:0;padding:1px 5px}.list-group-item.active>.badge,.nav-pills>.active>a>.badge{color:#3097d1;background-color:#fff}.list-group-item>.badge{float:right}.list-group-item>.badge+.badge{margin-right:5px}.nav-pills>li>a>.badge{margin-left:3px}a.badge:focus,a.badge:hover{color:#fff;text-decoration:none;cursor:pointer}.jumbotron{padding-top:30px;padding-bottom:30px;margin-bottom:30px;background-color:#eee}.jumbotron,.jumbotron .h1,.jumbotron h1{color:inherit}.jumbotron p{margin-bottom:15px;font-size:21px;font-weight:200}.jumbotron>hr{border-top-color:#d5d5d5}.container-fluid .jumbotron,.container .jumbotron{border-radius:6px;padding-left:15px;padding-right:15px}.jumbotron .container{max-width:100%}@media screen and (min-width:768px){.jumbotron{padding-top:48px;padding-bottom:48px}.container-fluid .jumbotron,.container .jumbotron{padding-left:60px;padding-right:60px}.jumbotron .h1,.jumbotron h1{font-size:63px}}.thumbnail{display:block;padding:4px;margin-bottom:22px;line-height:1.6;background-color:#f5f8fa;border:1px solid #ddd;border-radius:4px;-webkit-transition:border .2s ease-in-out;transition:border .2s ease-in-out}.thumbnail>img,.thumbnail a>img{display:block;max-width:100%;height:auto;margin-left:auto;margin-right:auto}.thumbnail .caption{padding:9px;color:#636b6f}a.thumbnail.active,a.thumbnail:focus,a.thumbnail:hover{border-color:#3097d1}.alert{padding:15px;margin-bottom:22px;border:1px solid transparent;border-radius:4px}.alert h4{margin-top:0;color:inherit}.alert .alert-link{font-weight:700}.alert>p,.alert>ul{margin-bottom:0}.alert>p+p{margin-top:5px}.alert-dismissable,.alert-dismissible{padding-right:35px}.alert-dismissable .close,.alert-dismissible .close{position:relative;top:-2px;right:-21px;color:inherit}.alert-success{background-color:#dff0d8;border-color:#d6e9c6;color:#3c763d}.alert-success hr{border-top-color:#c9e2b3}.alert-success .alert-link{color:#2b542c}.alert-info{background-color:#d9edf7;border-color:#bce8f1;color:#31708f}.alert-info hr{border-top-color:#a6e1ec}.alert-info .alert-link{color:#245269}.alert-warning{background-color:#fcf8e3;border-color:#faebcc;color:#8a6d3b}.alert-warning hr{border-top-color:#f7e1b5}.alert-warning .alert-link{color:#66512c}.alert-danger{background-color:#f2dede;border-color:#ebccd1;color:#a94442}.alert-danger hr{border-top-color:#e4b9c0}.alert-danger .alert-link{color:#843534}@-webkit-keyframes progress-bar-stripes{0%{background-position:40px 0}to{background-position:0 0}}@keyframes progress-bar-stripes{0%{background-position:40px 0}to{background-position:0 0}}.progress{overflow:hidden;height:22px;margin-bottom:22px;background-color:#f5f5f5;border-radius:4px;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,.1);box-shadow:inset 0 1px 2px rgba(0,0,0,.1)}.progress-bar{float:left;width:0;height:100%;font-size:12px;line-height:22px;color:#fff;text-align:center;background-color:#3097d1;-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,.15);box-shadow:inset 0 -1px 0 rgba(0,0,0,.15);-webkit-transition:width .6s ease;transition:width .6s ease}.progress-bar-striped,.progress-striped .progress-bar{background-image:linear-gradient(45deg,hsla(0,0%,100%,.15) 25%,transparent 0,transparent 50%,hsla(0,0%,100%,.15) 0,hsla(0,0%,100%,.15) 75%,transparent 0,transparent);background-size:40px 40px}.progress-bar.active,.progress.active .progress-bar{-webkit-animation:progress-bar-stripes 2s linear infinite;animation:progress-bar-stripes 2s linear infinite}.progress-bar-success{background-color:#2ab27b}.progress-striped .progress-bar-success{background-image:linear-gradient(45deg,hsla(0,0%,100%,.15) 25%,transparent 0,transparent 50%,hsla(0,0%,100%,.15) 0,hsla(0,0%,100%,.15) 75%,transparent 0,transparent)}.progress-bar-info{background-color:#8eb4cb}.progress-striped .progress-bar-info{background-image:linear-gradient(45deg,hsla(0,0%,100%,.15) 25%,transparent 0,transparent 50%,hsla(0,0%,100%,.15) 0,hsla(0,0%,100%,.15) 75%,transparent 0,transparent)}.progress-bar-warning{background-color:#cbb956}.progress-striped .progress-bar-warning{background-image:linear-gradient(45deg,hsla(0,0%,100%,.15) 25%,transparent 0,transparent 50%,hsla(0,0%,100%,.15) 0,hsla(0,0%,100%,.15) 75%,transparent 0,transparent)}.progress-bar-danger{background-color:#bf5329}.progress-striped .progress-bar-danger{background-image:linear-gradient(45deg,hsla(0,0%,100%,.15) 25%,transparent 0,transparent 50%,hsla(0,0%,100%,.15) 0,hsla(0,0%,100%,.15) 75%,transparent 0,transparent)}.media{margin-top:15px}.media:first-child{margin-top:0}.media,.media-body{zoom:1;overflow:hidden}.media-body{width:10000px}.media-object{display:block}.media-object.img-thumbnail{max-width:none}.media-right,.media>.pull-right{padding-left:10px}.media-left,.media>.pull-left{padding-right:10px}.media-body,.media-left,.media-right{display:table-cell;vertical-align:top}.media-middle{vertical-align:middle}.media-bottom{vertical-align:bottom}.media-heading{margin-top:0;margin-bottom:5px}.media-list{padding-left:0;list-style:none}.list-group{margin-bottom:20px;padding-left:0}.list-group-item{position:relative;display:block;padding:10px 15px;margin-bottom:-1px;background-color:#fff;border:1px solid #d3e0e9}.list-group-item:first-child{border-top-right-radius:4px;border-top-left-radius:4px}.list-group-item:last-child{margin-bottom:0;border-bottom-right-radius:4px;border-bottom-left-radius:4px}a.list-group-item,button.list-group-item{color:#555}a.list-group-item .list-group-item-heading,button.list-group-item .list-group-item-heading{color:#333}a.list-group-item:focus,a.list-group-item:hover,button.list-group-item:focus,button.list-group-item:hover{text-decoration:none;color:#555;background-color:#f5f5f5}button.list-group-item{width:100%;text-align:left}.list-group-item.disabled,.list-group-item.disabled:focus,.list-group-item.disabled:hover{background-color:#eee;color:#777;cursor:not-allowed}.list-group-item.disabled .list-group-item-heading,.list-group-item.disabled:focus .list-group-item-heading,.list-group-item.disabled:hover .list-group-item-heading{color:inherit}.list-group-item.disabled .list-group-item-text,.list-group-item.disabled:focus .list-group-item-text,.list-group-item.disabled:hover .list-group-item-text{color:#777}.list-group-item.active,.list-group-item.active:focus,.list-group-item.active:hover{z-index:2;color:#fff;background-color:#3097d1;border-color:#3097d1}.list-group-item.active .list-group-item-heading,.list-group-item.active .list-group-item-heading>.small,.list-group-item.active .list-group-item-heading>small,.list-group-item.active:focus .list-group-item-heading,.list-group-item.active:focus .list-group-item-heading>.small,.list-group-item.active:focus .list-group-item-heading>small,.list-group-item.active:hover .list-group-item-heading,.list-group-item.active:hover .list-group-item-heading>.small,.list-group-item.active:hover .list-group-item-heading>small{color:inherit}.list-group-item.active .list-group-item-text,.list-group-item.active:focus .list-group-item-text,.list-group-item.active:hover .list-group-item-text{color:#d7ebf6}.list-group-item-success{color:#3c763d;background-color:#dff0d8}a.list-group-item-success,button.list-group-item-success{color:#3c763d}a.list-group-item-success .list-group-item-heading,button.list-group-item-success .list-group-item-heading{color:inherit}a.list-group-item-success:focus,a.list-group-item-success:hover,button.list-group-item-success:focus,button.list-group-item-success:hover{color:#3c763d;background-color:#d0e9c6}a.list-group-item-success.active,a.list-group-item-success.active:focus,a.list-group-item-success.active:hover,button.list-group-item-success.active,button.list-group-item-success.active:focus,button.list-group-item-success.active:hover{color:#fff;background-color:#3c763d;border-color:#3c763d}.list-group-item-info{color:#31708f;background-color:#d9edf7}a.list-group-item-info,button.list-group-item-info{color:#31708f}a.list-group-item-info .list-group-item-heading,button.list-group-item-info .list-group-item-heading{color:inherit}a.list-group-item-info:focus,a.list-group-item-info:hover,button.list-group-item-info:focus,button.list-group-item-info:hover{color:#31708f;background-color:#c4e3f3}a.list-group-item-info.active,a.list-group-item-info.active:focus,a.list-group-item-info.active:hover,button.list-group-item-info.active,button.list-group-item-info.active:focus,button.list-group-item-info.active:hover{color:#fff;background-color:#31708f;border-color:#31708f}.list-group-item-warning{color:#8a6d3b;background-color:#fcf8e3}a.list-group-item-warning,button.list-group-item-warning{color:#8a6d3b}a.list-group-item-warning .list-group-item-heading,button.list-group-item-warning .list-group-item-heading{color:inherit}a.list-group-item-warning:focus,a.list-group-item-warning:hover,button.list-group-item-warning:focus,button.list-group-item-warning:hover{color:#8a6d3b;background-color:#faf2cc}a.list-group-item-warning.active,a.list-group-item-warning.active:focus,a.list-group-item-warning.active:hover,button.list-group-item-warning.active,button.list-group-item-warning.active:focus,button.list-group-item-warning.active:hover{color:#fff;background-color:#8a6d3b;border-color:#8a6d3b}.list-group-item-danger{color:#a94442;background-color:#f2dede}a.list-group-item-danger,button.list-group-item-danger{color:#a94442}a.list-group-item-danger .list-group-item-heading,button.list-group-item-danger .list-group-item-heading{color:inherit}a.list-group-item-danger:focus,a.list-group-item-danger:hover,button.list-group-item-danger:focus,button.list-group-item-danger:hover{color:#a94442;background-color:#ebcccc}a.list-group-item-danger.active,a.list-group-item-danger.active:focus,a.list-group-item-danger.active:hover,button.list-group-item-danger.active,button.list-group-item-danger.active:focus,button.list-group-item-danger.active:hover{color:#fff;background-color:#a94442;border-color:#a94442}.list-group-item-heading{margin-top:0;margin-bottom:5px}.list-group-item-text{margin-bottom:0;line-height:1.3}.panel{margin-bottom:22px;background-color:#fff;border:1px solid transparent;border-radius:4px;-webkit-box-shadow:0 1px 1px rgba(0,0,0,.05);box-shadow:0 1px 1px rgba(0,0,0,.05)}.panel-body{padding:15px}.panel-body:after,.panel-body:before{content:" ";display:table}.panel-body:after{clear:both}.panel-heading{padding:10px 15px;border-bottom:1px solid transparent;border-top-right-radius:3px;border-top-left-radius:3px}.panel-heading>.dropdown .dropdown-toggle,.panel-title{color:inherit}.panel-title{margin-top:0;margin-bottom:0;font-size:16px}.panel-title>.small,.panel-title>.small>a,.panel-title>a,.panel-title>small,.panel-title>small>a{color:inherit}.panel-footer{padding:10px 15px;background-color:#f5f5f5;border-top:1px solid #d3e0e9;border-bottom-right-radius:3px;border-bottom-left-radius:3px}.panel>.list-group,.panel>.panel-collapse>.list-group{margin-bottom:0}.panel>.list-group .list-group-item,.panel>.panel-collapse>.list-group .list-group-item{border-width:1px 0;border-radius:0}.panel>.list-group:first-child .list-group-item:first-child,.panel>.panel-collapse>.list-group:first-child .list-group-item:first-child{border-top:0;border-top-right-radius:3px;border-top-left-radius:3px}.panel>.list-group:last-child .list-group-item:last-child,.panel>.panel-collapse>.list-group:last-child .list-group-item:last-child{border-bottom:0;border-bottom-right-radius:3px;border-bottom-left-radius:3px}.panel>.panel-heading+.panel-collapse>.list-group .list-group-item:first-child{border-top-right-radius:0;border-top-left-radius:0}.list-group+.panel-footer,.panel-heading+.list-group .list-group-item:first-child{border-top-width:0}.panel>.panel-collapse>.table,.panel>.table,.panel>.table-responsive>.table{margin-bottom:0}.panel>.panel-collapse>.table caption,.panel>.table-responsive>.table caption,.panel>.table caption{padding-left:15px;padding-right:15px}.panel>.table-responsive:first-child>.table:first-child,.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child,.panel>.table:first-child,.panel>.table:first-child>tbody:first-child>tr:first-child,.panel>.table:first-child>thead:first-child>tr:first-child{border-top-right-radius:3px;border-top-left-radius:3px}.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child td:first-child,.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child th:first-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child td:first-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child th:first-child,.panel>.table:first-child>tbody:first-child>tr:first-child td:first-child,.panel>.table:first-child>tbody:first-child>tr:first-child th:first-child,.panel>.table:first-child>thead:first-child>tr:first-child td:first-child,.panel>.table:first-child>thead:first-child>tr:first-child th:first-child{border-top-left-radius:3px}.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child td:last-child,.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child th:last-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child td:last-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child th:last-child,.panel>.table:first-child>tbody:first-child>tr:first-child td:last-child,.panel>.table:first-child>tbody:first-child>tr:first-child th:last-child,.panel>.table:first-child>thead:first-child>tr:first-child td:last-child,.panel>.table:first-child>thead:first-child>tr:first-child th:last-child{border-top-right-radius:3px}.panel>.table-responsive:last-child>.table:last-child,.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child,.panel>.table:last-child,.panel>.table:last-child>tbody:last-child>tr:last-child,.panel>.table:last-child>tfoot:last-child>tr:last-child{border-bottom-right-radius:3px;border-bottom-left-radius:3px}.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child td:first-child,.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child th:first-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child td:first-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child th:first-child,.panel>.table:last-child>tbody:last-child>tr:last-child td:first-child,.panel>.table:last-child>tbody:last-child>tr:last-child th:first-child,.panel>.table:last-child>tfoot:last-child>tr:last-child td:first-child,.panel>.table:last-child>tfoot:last-child>tr:last-child th:first-child{border-bottom-left-radius:3px}.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child td:last-child,.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child th:last-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child td:last-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child th:last-child,.panel>.table:last-child>tbody:last-child>tr:last-child td:last-child,.panel>.table:last-child>tbody:last-child>tr:last-child th:last-child,.panel>.table:last-child>tfoot:last-child>tr:last-child td:last-child,.panel>.table:last-child>tfoot:last-child>tr:last-child th:last-child{border-bottom-right-radius:3px}.panel>.panel-body+.table,.panel>.panel-body+.table-responsive,.panel>.table+.panel-body,.panel>.table-responsive+.panel-body{border-top:1px solid #ddd}.panel>.table>tbody:first-child>tr:first-child td,.panel>.table>tbody:first-child>tr:first-child th{border-top:0}.panel>.table-bordered,.panel>.table-responsive>.table-bordered{border:0}.panel>.table-bordered>tbody>tr>td:first-child,.panel>.table-bordered>tbody>tr>th:first-child,.panel>.table-bordered>tfoot>tr>td:first-child,.panel>.table-bordered>tfoot>tr>th:first-child,.panel>.table-bordered>thead>tr>td:first-child,.panel>.table-bordered>thead>tr>th:first-child,.panel>.table-responsive>.table-bordered>tbody>tr>td:first-child,.panel>.table-responsive>.table-bordered>tbody>tr>th:first-child,.panel>.table-responsive>.table-bordered>tfoot>tr>td:first-child,.panel>.table-responsive>.table-bordered>tfoot>tr>th:first-child,.panel>.table-responsive>.table-bordered>thead>tr>td:first-child,.panel>.table-responsive>.table-bordered>thead>tr>th:first-child{border-left:0}.panel>.table-bordered>tbody>tr>td:last-child,.panel>.table-bordered>tbody>tr>th:last-child,.panel>.table-bordered>tfoot>tr>td:last-child,.panel>.table-bordered>tfoot>tr>th:last-child,.panel>.table-bordered>thead>tr>td:last-child,.panel>.table-bordered>thead>tr>th:last-child,.panel>.table-responsive>.table-bordered>tbody>tr>td:last-child,.panel>.table-responsive>.table-bordered>tbody>tr>th:last-child,.panel>.table-responsive>.table-bordered>tfoot>tr>td:last-child,.panel>.table-responsive>.table-bordered>tfoot>tr>th:last-child,.panel>.table-responsive>.table-bordered>thead>tr>td:last-child,.panel>.table-responsive>.table-bordered>thead>tr>th:last-child{border-right:0}.panel>.table-bordered>tbody>tr:first-child>td,.panel>.table-bordered>tbody>tr:first-child>th,.panel>.table-bordered>tbody>tr:last-child>td,.panel>.table-bordered>tbody>tr:last-child>th,.panel>.table-bordered>tfoot>tr:last-child>td,.panel>.table-bordered>tfoot>tr:last-child>th,.panel>.table-bordered>thead>tr:first-child>td,.panel>.table-bordered>thead>tr:first-child>th,.panel>.table-responsive>.table-bordered>tbody>tr:first-child>td,.panel>.table-responsive>.table-bordered>tbody>tr:first-child>th,.panel>.table-responsive>.table-bordered>tbody>tr:last-child>td,.panel>.table-responsive>.table-bordered>tbody>tr:last-child>th,.panel>.table-responsive>.table-bordered>tfoot>tr:last-child>td,.panel>.table-responsive>.table-bordered>tfoot>tr:last-child>th,.panel>.table-responsive>.table-bordered>thead>tr:first-child>td,.panel>.table-responsive>.table-bordered>thead>tr:first-child>th{border-bottom:0}.panel>.table-responsive{border:0;margin-bottom:0}.panel-group{margin-bottom:22px}.panel-group .panel{margin-bottom:0;border-radius:4px}.panel-group .panel+.panel{margin-top:5px}.panel-group .panel-heading{border-bottom:0}.panel-group .panel-heading+.panel-collapse>.list-group,.panel-group .panel-heading+.panel-collapse>.panel-body{border-top:1px solid #d3e0e9}.panel-group .panel-footer{border-top:0}.panel-group .panel-footer+.panel-collapse .panel-body{border-bottom:1px solid #d3e0e9}.panel-default{border-color:#d3e0e9}.panel-default>.panel-heading{color:#333;background-color:#fff;border-color:#d3e0e9}.panel-default>.panel-heading+.panel-collapse>.panel-body{border-top-color:#d3e0e9}.panel-default>.panel-heading .badge{color:#fff;background-color:#333}.panel-default>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#d3e0e9}.panel-primary{border-color:#3097d1}.panel-primary>.panel-heading{color:#fff;background-color:#3097d1;border-color:#3097d1}.panel-primary>.panel-heading+.panel-collapse>.panel-body{border-top-color:#3097d1}.panel-primary>.panel-heading .badge{color:#3097d1;background-color:#fff}.panel-primary>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#3097d1}.panel-success{border-color:#d6e9c6}.panel-success>.panel-heading{color:#3c763d;background-color:#dff0d8;border-color:#d6e9c6}.panel-success>.panel-heading+.panel-collapse>.panel-body{border-top-color:#d6e9c6}.panel-success>.panel-heading .badge{color:#dff0d8;background-color:#3c763d}.panel-success>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#d6e9c6}.panel-info{border-color:#bce8f1}.panel-info>.panel-heading{color:#31708f;background-color:#d9edf7;border-color:#bce8f1}.panel-info>.panel-heading+.panel-collapse>.panel-body{border-top-color:#bce8f1}.panel-info>.panel-heading .badge{color:#d9edf7;background-color:#31708f}.panel-info>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#bce8f1}.panel-warning{border-color:#faebcc}.panel-warning>.panel-heading{color:#8a6d3b;background-color:#fcf8e3;border-color:#faebcc}.panel-warning>.panel-heading+.panel-collapse>.panel-body{border-top-color:#faebcc}.panel-warning>.panel-heading .badge{color:#fcf8e3;background-color:#8a6d3b}.panel-warning>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#faebcc}.panel-danger{border-color:#ebccd1}.panel-danger>.panel-heading{color:#a94442;background-color:#f2dede;border-color:#ebccd1}.panel-danger>.panel-heading+.panel-collapse>.panel-body{border-top-color:#ebccd1}.panel-danger>.panel-heading .badge{color:#f2dede;background-color:#a94442}.panel-danger>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#ebccd1}.embed-responsive{position:relative;display:block;height:0;padding:0;overflow:hidden}.embed-responsive .embed-responsive-item,.embed-responsive embed,.embed-responsive iframe,.embed-responsive object,.embed-responsive video{position:absolute;top:0;left:0;bottom:0;height:100%;width:100%;border:0}.embed-responsive-16by9{padding-bottom:56.25%}.embed-responsive-4by3{padding-bottom:75%}.well{min-height:20px;padding:19px;margin-bottom:20px;background-color:#f5f5f5;border:1px solid #e3e3e3;border-radius:4px;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.05);box-shadow:inset 0 1px 1px rgba(0,0,0,.05)}.well blockquote{border-color:#ddd;border-color:rgba(0,0,0,.15)}.well-lg{padding:24px;border-radius:6px}.well-sm{padding:9px;border-radius:3px}.close{float:right;font-size:21px;font-weight:700;line-height:1;color:#000;text-shadow:0 1px 0 #fff;opacity:.2;filter:alpha(opacity=20)}.close:focus,.close:hover{color:#000;text-decoration:none;cursor:pointer;opacity:.5;filter:alpha(opacity=50)}button.close{padding:0;cursor:pointer;background:transparent;border:0;-webkit-appearance:none}.modal,.modal-open{overflow:hidden}.modal{display:none;position:fixed;top:0;right:0;bottom:0;left:0;z-index:1050;-webkit-overflow-scrolling:touch;outline:0}.modal.fade .modal-dialog{-webkit-transform:translateY(-25%);transform:translateY(-25%);-webkit-transition:-webkit-transform .3s ease-out;transition:-webkit-transform .3s ease-out;transition:transform .3s ease-out;transition:transform .3s ease-out,-webkit-transform .3s ease-out}.modal.in .modal-dialog{-webkit-transform:translate(0);transform:translate(0)}.modal-open .modal{overflow-x:hidden;overflow-y:auto}.modal-dialog{position:relative;width:auto;margin:10px}.modal-content{position:relative;background-color:#fff;border:1px solid #999;border:1px solid rgba(0,0,0,.2);border-radius:6px;-webkit-box-shadow:0 3px 9px rgba(0,0,0,.5);box-shadow:0 3px 9px rgba(0,0,0,.5);background-clip:padding-box;outline:0}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1040;background-color:#000}.modal-backdrop.fade{opacity:0;filter:alpha(opacity=0)}.modal-backdrop.in{opacity:.5;filter:alpha(opacity=50)}.modal-header{padding:15px;border-bottom:1px solid #e5e5e5}.modal-header:after,.modal-header:before{content:" ";display:table}.modal-header:after{clear:both}.modal-header .close{margin-top:-2px}.modal-title{margin:0;line-height:1.6}.modal-body{position:relative;padding:15px}.modal-footer{padding:15px;text-align:right;border-top:1px solid #e5e5e5}.modal-footer:after,.modal-footer:before{content:" ";display:table}.modal-footer:after{clear:both}.modal-footer .btn+.btn{margin-left:5px;margin-bottom:0}.modal-footer .btn-group .btn+.btn{margin-left:-1px}.modal-footer .btn-block+.btn-block{margin-left:0}.modal-scrollbar-measure{position:absolute;top:-9999px;width:50px;height:50px;overflow:scroll}@media (min-width:768px){.modal-dialog{width:600px;margin:30px auto}.modal-content{-webkit-box-shadow:0 5px 15px rgba(0,0,0,.5);box-shadow:0 5px 15px rgba(0,0,0,.5)}.modal-sm{width:300px}}@media (min-width:992px){.modal-lg{width:900px}}.tooltip{position:absolute;z-index:1070;display:block;font-family:Raleway,sans-serif;font-style:normal;font-weight:400;letter-spacing:normal;line-break:auto;line-height:1.6;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;white-space:normal;word-break:normal;word-spacing:normal;word-wrap:normal;font-size:12px;opacity:0;filter:alpha(opacity=0)}.tooltip.in{opacity:.9;filter:alpha(opacity=90)}.tooltip.top{margin-top:-3px;padding:5px 0}.tooltip.right{margin-left:3px;padding:0 5px}.tooltip.bottom{margin-top:3px;padding:5px 0}.tooltip.left{margin-left:-3px;padding:0 5px}.tooltip-inner{max-width:200px;padding:3px 8px;color:#fff;text-align:center;background-color:#000;border-radius:4px}.tooltip-arrow{position:absolute;width:0;height:0;border-color:transparent;border-style:solid}.tooltip.top .tooltip-arrow{bottom:0;left:50%;margin-left:-5px;border-width:5px 5px 0;border-top-color:#000}.tooltip.top-left .tooltip-arrow{right:5px}.tooltip.top-left .tooltip-arrow,.tooltip.top-right .tooltip-arrow{bottom:0;margin-bottom:-5px;border-width:5px 5px 0;border-top-color:#000}.tooltip.top-right .tooltip-arrow{left:5px}.tooltip.right .tooltip-arrow{top:50%;left:0;margin-top:-5px;border-width:5px 5px 5px 0;border-right-color:#000}.tooltip.left .tooltip-arrow{top:50%;right:0;margin-top:-5px;border-width:5px 0 5px 5px;border-left-color:#000}.tooltip.bottom .tooltip-arrow{top:0;left:50%;margin-left:-5px;border-width:0 5px 5px;border-bottom-color:#000}.tooltip.bottom-left .tooltip-arrow{top:0;right:5px;margin-top:-5px;border-width:0 5px 5px;border-bottom-color:#000}.tooltip.bottom-right .tooltip-arrow{top:0;left:5px;margin-top:-5px;border-width:0 5px 5px;border-bottom-color:#000}.popover{position:absolute;top:0;left:0;z-index:1060;display:none;max-width:276px;padding:1px;font-family:Raleway,sans-serif;font-style:normal;font-weight:400;letter-spacing:normal;line-break:auto;line-height:1.6;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;white-space:normal;word-break:normal;word-spacing:normal;word-wrap:normal;font-size:14px;background-color:#fff;background-clip:padding-box;border:1px solid #ccc;border:1px solid rgba(0,0,0,.2);border-radius:6px;-webkit-box-shadow:0 5px 10px rgba(0,0,0,.2);box-shadow:0 5px 10px rgba(0,0,0,.2)}.popover.top{margin-top:-10px}.popover.right{margin-left:10px}.popover.bottom{margin-top:10px}.popover.left{margin-left:-10px}.popover-title{margin:0;padding:8px 14px;font-size:14px;background-color:#f7f7f7;border-bottom:1px solid #ebebeb;border-radius:5px 5px 0 0}.popover-content{padding:9px 14px}.popover>.arrow,.popover>.arrow:after{position:absolute;display:block;width:0;height:0;border-color:transparent;border-style:solid}.popover>.arrow{border-width:11px}.popover>.arrow:after{border-width:10px;content:""}.popover.top>.arrow{left:50%;margin-left:-11px;border-bottom-width:0;border-top-color:#999;border-top-color:rgba(0,0,0,.25);bottom:-11px}.popover.top>.arrow:after{content:" ";bottom:1px;margin-left:-10px;border-bottom-width:0;border-top-color:#fff}.popover.right>.arrow{top:50%;left:-11px;margin-top:-11px;border-left-width:0;border-right-color:#999;border-right-color:rgba(0,0,0,.25)}.popover.right>.arrow:after{content:" ";left:1px;bottom:-10px;border-left-width:0;border-right-color:#fff}.popover.bottom>.arrow{left:50%;margin-left:-11px;border-top-width:0;border-bottom-color:#999;border-bottom-color:rgba(0,0,0,.25);top:-11px}.popover.bottom>.arrow:after{content:" ";top:1px;margin-left:-10px;border-top-width:0;border-bottom-color:#fff}.popover.left>.arrow{top:50%;right:-11px;margin-top:-11px;border-right-width:0;border-left-color:#999;border-left-color:rgba(0,0,0,.25)}.popover.left>.arrow:after{content:" ";right:1px;border-right-width:0;border-left-color:#fff;bottom:-10px}.carousel,.carousel-inner{position:relative}.carousel-inner{overflow:hidden;width:100%}.carousel-inner>.item{display:none;position:relative;-webkit-transition:left .6s ease-in-out;transition:left .6s ease-in-out}.carousel-inner>.item>a>img,.carousel-inner>.item>img{display:block;max-width:100%;height:auto;line-height:1}@media (-webkit-transform-3d),(transform-3d){.carousel-inner>.item{-webkit-transition:-webkit-transform .6s ease-in-out;transition:-webkit-transform .6s ease-in-out;transition:transform .6s ease-in-out;transition:transform .6s ease-in-out,-webkit-transform .6s ease-in-out;-webkit-backface-visibility:hidden;backface-visibility:hidden;-webkit-perspective:1000px;perspective:1000px}.carousel-inner>.item.active.right,.carousel-inner>.item.next{-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0);left:0}.carousel-inner>.item.active.left,.carousel-inner>.item.prev{-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0);left:0}.carousel-inner>.item.active,.carousel-inner>.item.next.left,.carousel-inner>.item.prev.right{-webkit-transform:translateZ(0);transform:translateZ(0);left:0}}.carousel-inner>.active,.carousel-inner>.next,.carousel-inner>.prev{display:block}.carousel-inner>.active{left:0}.carousel-inner>.next,.carousel-inner>.prev{position:absolute;top:0;width:100%}.carousel-inner>.next{left:100%}.carousel-inner>.prev{left:-100%}.carousel-inner>.next.left,.carousel-inner>.prev.right{left:0}.carousel-inner>.active.left{left:-100%}.carousel-inner>.active.right{left:100%}.carousel-control{position:absolute;top:0;left:0;bottom:0;width:15%;opacity:.5;filter:alpha(opacity=50);font-size:20px;color:#fff;text-align:center;text-shadow:0 1px 2px rgba(0,0,0,.6);background-color:transparent}.carousel-control.left{background-image:-webkit-gradient(linear,left top,right top,from(rgba(0,0,0,.5)),to(rgba(0,0,0,.0001)));background-image:linear-gradient(90deg,rgba(0,0,0,.5) 0,rgba(0,0,0,.0001));background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr="#80000000",endColorstr="#00000000",GradientType=1)}.carousel-control.right{left:auto;right:0;background-image:-webkit-gradient(linear,left top,right top,from(rgba(0,0,0,.0001)),to(rgba(0,0,0,.5)));background-image:linear-gradient(90deg,rgba(0,0,0,.0001) 0,rgba(0,0,0,.5));background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr="#00000000",endColorstr="#80000000",GradientType=1)}.carousel-control:focus,.carousel-control:hover{outline:0;color:#fff;text-decoration:none;opacity:.9;filter:alpha(opacity=90)}.carousel-control .glyphicon-chevron-left,.carousel-control .glyphicon-chevron-right,.carousel-control .icon-next,.carousel-control .icon-prev{position:absolute;top:50%;margin-top:-10px;z-index:5;display:inline-block}.carousel-control .glyphicon-chevron-left,.carousel-control .icon-prev{left:50%;margin-left:-10px}.carousel-control .glyphicon-chevron-right,.carousel-control .icon-next{right:50%;margin-right:-10px}.carousel-control .icon-next,.carousel-control .icon-prev{width:20px;height:20px;line-height:1;font-family:serif}.carousel-control .icon-prev:before{content:"\2039"}.carousel-control .icon-next:before{content:"\203A"}.carousel-indicators{position:absolute;bottom:10px;left:50%;z-index:15;width:60%;margin-left:-30%;padding-left:0;list-style:none;text-align:center}.carousel-indicators li{display:inline-block;width:10px;height:10px;margin:1px;text-indent:-999px;border:1px solid #fff;border-radius:10px;cursor:pointer;background-color:#000\9;background-color:transparent}.carousel-indicators .active{margin:0;width:12px;height:12px;background-color:#fff}.carousel-caption{position:absolute;left:15%;right:15%;bottom:20px;z-index:10;padding-top:20px;padding-bottom:20px;color:#fff;text-align:center;text-shadow:0 1px 2px rgba(0,0,0,.6)}.carousel-caption .btn{text-shadow:none}@media screen and (min-width:768px){.carousel-control .glyphicon-chevron-left,.carousel-control .glyphicon-chevron-right,.carousel-control .icon-next,.carousel-control .icon-prev{width:30px;height:30px;margin-top:-10px;font-size:30px}.carousel-control .glyphicon-chevron-left,.carousel-control .icon-prev{margin-left:-10px}.carousel-control .glyphicon-chevron-right,.carousel-control .icon-next{margin-right:-10px}.carousel-caption{left:20%;right:20%;padding-bottom:30px}.carousel-indicators{bottom:20px}}.clearfix:after,.clearfix:before{content:" ";display:table}.clearfix:after{clear:both}.center-block{display:block;margin-left:auto;margin-right:auto}.pull-right{float:right!important}.pull-left{float:left!important}.hide{display:none!important}.show{display:block!important}.invisible{visibility:hidden}.text-hide{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0}.hidden{display:none!important}.affix{position:fixed}@-ms-viewport{width:device-width}.visible-lg,.visible-lg-block,.visible-lg-inline,.visible-lg-inline-block,.visible-md,.visible-md-block,.visible-md-inline,.visible-md-inline-block,.visible-sm,.visible-sm-block,.visible-sm-inline,.visible-sm-inline-block,.visible-xs,.visible-xs-block,.visible-xs-inline,.visible-xs-inline-block{display:none!important}@media (max-width:767px){.visible-xs{display:block!important}table.visible-xs{display:table!important}tr.visible-xs{display:table-row!important}td.visible-xs,th.visible-xs{display:table-cell!important}}@media (max-width:767px){.visible-xs-block{display:block!important}}@media (max-width:767px){.visible-xs-inline{display:inline!important}}@media (max-width:767px){.visible-xs-inline-block{display:inline-block!important}}@media (min-width:768px) and (max-width:991px){.visible-sm{display:block!important}table.visible-sm{display:table!important}tr.visible-sm{display:table-row!important}td.visible-sm,th.visible-sm{display:table-cell!important}}@media (min-width:768px) and (max-width:991px){.visible-sm-block{display:block!important}}@media (min-width:768px) and (max-width:991px){.visible-sm-inline{display:inline!important}}@media (min-width:768px) and (max-width:991px){.visible-sm-inline-block{display:inline-block!important}}@media (min-width:992px) and (max-width:1199px){.visible-md{display:block!important}table.visible-md{display:table!important}tr.visible-md{display:table-row!important}td.visible-md,th.visible-md{display:table-cell!important}}@media (min-width:992px) and (max-width:1199px){.visible-md-block{display:block!important}}@media (min-width:992px) and (max-width:1199px){.visible-md-inline{display:inline!important}}@media (min-width:992px) and (max-width:1199px){.visible-md-inline-block{display:inline-block!important}}@media (min-width:1200px){.visible-lg{display:block!important}table.visible-lg{display:table!important}tr.visible-lg{display:table-row!important}td.visible-lg,th.visible-lg{display:table-cell!important}}@media (min-width:1200px){.visible-lg-block{display:block!important}}@media (min-width:1200px){.visible-lg-inline{display:inline!important}}@media (min-width:1200px){.visible-lg-inline-block{display:inline-block!important}}@media (max-width:767px){.hidden-xs{display:none!important}}@media (min-width:768px) and (max-width:991px){.hidden-sm{display:none!important}}@media (min-width:992px) and (max-width:1199px){.hidden-md{display:none!important}}@media (min-width:1200px){.hidden-lg{display:none!important}}.visible-print{display:none!important}@media print{.visible-print{display:block!important}table.visible-print{display:table!important}tr.visible-print{display:table-row!important}td.visible-print,th.visible-print{display:table-cell!important}}.visible-print-block{display:none!important}@media print{.visible-print-block{display:block!important}}.visible-print-inline{display:none!important}@media print{.visible-print-inline{display:inline!important}}.visible-print-inline-block{display:none!important}@media print{.visible-print-inline-block{display:inline-block!important}}@media print{.hidden-print{display:none!important}}
\ No newline at end of file
diff --git a/public/css/mycss.css b/public/css/mycss.css
new file mode 100644
index 0000000..dc7b7d1
--- /dev/null
+++ b/public/css/mycss.css
@@ -0,0 +1,59 @@
+#main-nav {
+margin-left: 1px;
+}
+#main-nav.nav-tabs.nav-stacked > li > a {
+padding: 10px 8px;
+font-size: 12px;
+font-weight: 600;
+color: #4A515B;
+background: #E9E9E9;
+background: -moz-linear-gradient(top, #FAFAFA 0%, #E9E9E9 100%);
+background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#FAFAFA), color-stop(100%,#E9E9E9));
+background: -webkit-linear-gradient(top, #FAFAFA 0%,#E9E9E9 100%);
+background: -o-linear-gradient(top, #FAFAFA 0%,#E9E9E9 100%);
+background: -ms-linear-gradient(top, #FAFAFA 0%,#E9E9E9 100%);
+background: linear-gradient(top, #FAFAFA 0%,#E9E9E9 100%);
+filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FAFAFA', endColorstr='#E9E9E9');
+-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr='#FAFAFA', endColorstr='#E9E9E9')";
+border: 1px solid #D5D5D5;
+border-radius: 4px;
+}
+#main-nav.nav-tabs.nav-stacked > li > a > span {
+color: #4A515B;
+}
+#main-nav.nav-tabs.nav-stacked > li.active > a, #main-nav.nav-tabs.nav-stacked > li > a:hover {
+color: #FFF;
+background: #3C4049;
+background: -moz-linear-gradient(top, #4A515B 0%, #3C4049 100%);
+background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#4A515B), color-stop(100%,#3C4049));
+background: -webkit-linear-gradient(top, #4A515B 0%,#3C4049 100%);
+background: -o-linear-gradient(top, #4A515B 0%,#3C4049 100%);
+background: -ms-linear-gradient(top, #4A515B 0%,#3C4049 100%);
+background: linear-gradient(top, #4A515B 0%,#3C4049 100%);
+filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#4A515B', endColorstr='#3C4049');
+-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr='#4A515B', endColorstr='#3C4049')";
+border-color: #2B2E33;
+}
+#main-nav.nav-tabs.nav-stacked > li.active > a, #main-nav.nav-tabs.nav-stacked > li > a:hover > span {
+color: #FFF;
+}
+#main-nav.nav-tabs.nav-stacked > li {
+margin-bottom: 4px;
+}
+/*˵ʽ*/
+.secondmenu a {
+font-size: 10px;
+color: #4A515B;
+text-align: center;
+}
+.navbar-static-top {
+background-color: #212121;
+margin-bottom: 5px;
+}
+.navbar-brand {
+background: url('') no-repeat 10px 8px;
+display: inline-block;
+vertical-align: middle;
+padding-left: 50px;
+color: #fff;
+}
\ No newline at end of file
diff --git a/public/js/app.js b/public/js/app.js
new file mode 100644
index 0000000..52449a8
--- /dev/null
+++ b/public/js/app.js
@@ -0,0 +1 @@
+!function(t){function e(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,e),i.l=!0,i.exports}var n={};e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=8)}([function(t,e,n){"use strict";function r(t){return"[object Array]"===T.call(t)}function i(t){return"[object ArrayBuffer]"===T.call(t)}function o(t){return"undefined"!=typeof FormData&&t instanceof FormData}function a(t){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&t.buffer instanceof ArrayBuffer}function s(t){return"string"==typeof t}function u(t){return"number"==typeof t}function c(t){return void 0===t}function l(t){return null!==t&&"object"==typeof t}function f(t){return"[object Date]"===T.call(t)}function p(t){return"[object File]"===T.call(t)}function d(t){return"[object Blob]"===T.call(t)}function h(t){return"[object Function]"===T.call(t)}function v(t){return l(t)&&h(t.pipe)}function g(t){return"undefined"!=typeof URLSearchParams&&t instanceof URLSearchParams}function m(t){return t.replace(/^\s*/,"").replace(/\s*$/,"")}function y(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product)&&("undefined"!=typeof window&&"undefined"!=typeof document)}function b(t,e){if(null!==t&&void 0!==t)if("object"==typeof t||r(t)||(t=[t]),r(t))for(var n=0,i=t.length;n=200&&t<300}};s.headers={common:{Accept:"application/json, text/plain, */*"}},i.forEach(["delete","get","head"],function(t){s.headers[t]={}}),i.forEach(["post","put","patch"],function(t){s.headers[t]=i.merge(a)}),t.exports=s}).call(e,n(19))},function(t,e){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(t){"object"==typeof window&&(n=window)}t.exports=n},function(t,e,n){"use strict";t.exports=function(t,e){return function(){for(var n=new Array(arguments.length),r=0;r-1}function h(t,e,n){for(var r=-1,i=null==t?0:t.length;++r-1;);return n}function M(t,e){for(var n=t.length;n--&&T(e,t[n],0)>-1;);return n}function q(t,e){for(var n=t.length,r=0;n--;)t[n]===e&&++r;return r}function H(t){return"\\"+En[t]}function B(t,e){return null==t?it:t[e]}function U(t){return bn.test(t)}function W(t){return _n.test(t)}function z(t){for(var e,n=[];!(e=t.next()).done;)n.push(e.value);return n}function V(t){var e=-1,n=Array(t.size);return t.forEach(function(t,r){n[++e]=[r,t]}),n}function X(t,e){return function(n){return t(e(n))}}function K(t,e){for(var n=-1,r=t.length,i=0,o=[];++n>>1,Mt=[["ary",Ct],["bind",gt],["bindKey",mt],["curry",bt],["curryRight",_t],["flip",$t],["partial",wt],["partialRight",xt],["rearg",Tt]],qt="[object Arguments]",Ht="[object Array]",Bt="[object AsyncFunction]",Ut="[object Boolean]",Wt="[object Date]",zt="[object DOMException]",Vt="[object Error]",Xt="[object Function]",Kt="[object GeneratorFunction]",Jt="[object Map]",Qt="[object Number]",Gt="[object Null]",Zt="[object Object]",Yt="[object Proxy]",te="[object RegExp]",ee="[object Set]",ne="[object String]",re="[object Symbol]",ie="[object Undefined]",oe="[object WeakMap]",ae="[object WeakSet]",se="[object ArrayBuffer]",ue="[object DataView]",ce="[object Float32Array]",le="[object Float64Array]",fe="[object Int8Array]",pe="[object Int16Array]",de="[object Int32Array]",he="[object Uint8Array]",ve="[object Uint8ClampedArray]",ge="[object Uint16Array]",me="[object Uint32Array]",ye=/\b__p \+= '';/g,be=/\b(__p \+=) '' \+/g,_e=/(__e\(.*?\)|\b__t\)) \+\n'';/g,we=/&(?:amp|lt|gt|quot|#39);/g,xe=/[&<>"']/g,Ce=RegExp(we.source),Te=RegExp(xe.source),$e=/<%-([\s\S]+?)%>/g,Ae=/<%([\s\S]+?)%>/g,ke=/<%=([\s\S]+?)%>/g,Ee=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Se=/^\w*$/,Oe=/^\./,je=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Ne=/[\\^$.*+?()[\]{}|]/g,De=RegExp(Ne.source),Ie=/^\s+|\s+$/g,Le=/^\s+/,Re=/\s+$/,Pe=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Fe=/\{\n\/\* \[wrapped with (.+)\] \*/,Me=/,? & /,qe=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,He=/\\(\\)?/g,Be=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Ue=/\w*$/,We=/^[-+]0x[0-9a-f]+$/i,ze=/^0b[01]+$/i,Ve=/^\[object .+?Constructor\]$/,Xe=/^0o[0-7]+$/i,Ke=/^(?:0|[1-9]\d*)$/,Je=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Qe=/($^)/,Ge=/['\n\r\u2028\u2029\\]/g,Ze="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",Ye="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",tn="["+Ye+"]",en="["+Ze+"]",nn="[a-z\\xdf-\\xf6\\xf8-\\xff]",rn="[^\\ud800-\\udfff"+Ye+"\\d+\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",on="\\ud83c[\\udffb-\\udfff]",an="(?:\\ud83c[\\udde6-\\uddff]){2}",sn="[\\ud800-\\udbff][\\udc00-\\udfff]",un="[A-Z\\xc0-\\xd6\\xd8-\\xde]",cn="(?:"+nn+"|"+rn+")",ln="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",fn="(?:\\u200d(?:"+["[^\\ud800-\\udfff]",an,sn].join("|")+")[\\ufe0e\\ufe0f]?"+ln+")*",pn="[\\ufe0e\\ufe0f]?"+ln+fn,dn="(?:"+["[\\u2700-\\u27bf]",an,sn].join("|")+")"+pn,hn="(?:"+["[^\\ud800-\\udfff]"+en+"?",en,an,sn,"[\\ud800-\\udfff]"].join("|")+")",vn=RegExp("['’]","g"),gn=RegExp(en,"g"),mn=RegExp(on+"(?="+on+")|"+hn+pn,"g"),yn=RegExp([un+"?"+nn+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[tn,un,"$"].join("|")+")","(?:[A-Z\\xc0-\\xd6\\xd8-\\xde]|[^\\ud800-\\udfff\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000\\d+\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde])+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[tn,un+cn,"$"].join("|")+")",un+"?"+cn+"+(?:['’](?:d|ll|m|re|s|t|ve))?",un+"+(?:['’](?:D|LL|M|RE|S|T|VE))?","\\d*(?:(?:1ST|2ND|3RD|(?![123])\\dTH)\\b)","\\d*(?:(?:1st|2nd|3rd|(?![123])\\dth)\\b)","\\d+",dn].join("|"),"g"),bn=RegExp("[\\u200d\\ud800-\\udfff"+Ze+"\\ufe0e\\ufe0f]"),_n=/[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,wn=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],xn=-1,Cn={};Cn[ce]=Cn[le]=Cn[fe]=Cn[pe]=Cn[de]=Cn[he]=Cn[ve]=Cn[ge]=Cn[me]=!0,Cn[qt]=Cn[Ht]=Cn[se]=Cn[Ut]=Cn[ue]=Cn[Wt]=Cn[Vt]=Cn[Xt]=Cn[Jt]=Cn[Qt]=Cn[Zt]=Cn[te]=Cn[ee]=Cn[ne]=Cn[oe]=!1;var Tn={};Tn[qt]=Tn[Ht]=Tn[se]=Tn[ue]=Tn[Ut]=Tn[Wt]=Tn[ce]=Tn[le]=Tn[fe]=Tn[pe]=Tn[de]=Tn[Jt]=Tn[Qt]=Tn[Zt]=Tn[te]=Tn[ee]=Tn[ne]=Tn[re]=Tn[he]=Tn[ve]=Tn[ge]=Tn[me]=!0,Tn[Vt]=Tn[Xt]=Tn[oe]=!1;var $n={"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"},An={"&":"&","<":"<",">":">",'"':""","'":"'"},kn={"&":"&","<":"<",">":">",""":'"',"'":"'"},En={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Sn=parseFloat,On=parseInt,jn="object"==typeof t&&t&&t.Object===Object&&t,Nn="object"==typeof self&&self&&self.Object===Object&&self,Dn=jn||Nn||Function("return this")(),In="object"==typeof e&&e&&!e.nodeType&&e,Ln=In&&"object"==typeof r&&r&&!r.nodeType&&r,Rn=Ln&&Ln.exports===In,Pn=Rn&&jn.process,Fn=function(){try{return Pn&&Pn.binding&&Pn.binding("util")}catch(t){}}(),Mn=Fn&&Fn.isArrayBuffer,qn=Fn&&Fn.isDate,Hn=Fn&&Fn.isMap,Bn=Fn&&Fn.isRegExp,Un=Fn&&Fn.isSet,Wn=Fn&&Fn.isTypedArray,zn=E("length"),Vn=S($n),Xn=S(An),Kn=S(kn),Jn=function t(e){function n(t){if(ou(t)&&!mp(t)&&!(t instanceof _)){if(t instanceof i)return t;if(gl.call(t,"__wrapped__"))return na(t)}return new i(t)}function r(){}function i(t,e){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!e,this.__index__=0,this.__values__=it}function _(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=Rt,this.__views__=[]}function S(){var t=new _(this.__wrapped__);return t.__actions__=Pi(this.__actions__),t.__dir__=this.__dir__,t.__filtered__=this.__filtered__,t.__iteratees__=Pi(this.__iteratees__),t.__takeCount__=this.__takeCount__,t.__views__=Pi(this.__views__),t}function G(){if(this.__filtered__){var t=new _(this);t.__dir__=-1,t.__filtered__=!0}else t=this.clone(),t.__dir__*=-1;return t}function et(){var t=this.__wrapped__.value(),e=this.__dir__,n=mp(t),r=e<0,i=n?t.length:0,o=ko(0,i,this.__views__),a=o.start,s=o.end,u=s-a,c=r?s:a-1,l=this.__iteratees__,f=l.length,p=0,d=Vl(u,this.__takeCount__);if(!n||!r&&i==u&&d==u)return yi(t,this.__actions__);var h=[];t:for(;u--&&p-1}function un(t,e){var n=this.__data__,r=Qn(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this}function cn(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e=e?t:e)),t}function rr(t,e,n,r,i,o){var a,s=e&ft,u=e&pt,l=e&dt;if(n&&(a=i?n(t,r,i,o):n(t)),a!==it)return a;if(!iu(t))return t;var f=mp(t);if(f){if(a=Oo(t),!s)return Pi(t,a)}else{var p=kf(t),d=p==Xt||p==Kt;if(bp(t))return $i(t,s);if(p==Zt||p==qt||d&&!i){if(a=u||d?{}:jo(t),!s)return u?qi(t,Yn(a,t)):Mi(t,Zn(a,t))}else{if(!Tn[p])return i?t:{};a=No(t,p,rr,s)}}o||(o=new _n);var h=o.get(t);if(h)return h;o.set(t,a);var v=l?u?bo:yo:u?Hu:qu,g=f?it:v(t);return c(g||t,function(r,i){g&&(i=r,r=t[i]),zn(a,i,rr(r,e,n,i,t,o))}),a}function ir(t){var e=qu(t);return function(n){return or(n,t,e)}}function or(t,e,n){var r=n.length;if(null==t)return!r;for(t=sl(t);r--;){var i=n[r],o=e[i],a=t[i];if(a===it&&!(i in t)||!o(a))return!1}return!0}function ar(t,e,n){if("function"!=typeof t)throw new ll(st);return Of(function(){t.apply(it,n)},e)}function sr(t,e,n,r){var i=-1,o=d,a=!0,s=t.length,u=[],c=e.length;if(!s)return u;n&&(e=v(e,L(n))),r?(o=h,a=!1):e.length>=ot&&(o=P,a=!1,e=new mn(e));t:for(;++ii?0:i+n),r=r===it||r>i?i:xu(r),r<0&&(r+=i),r=n>r?0:Cu(r);n0&&n(s)?e>1?pr(s,e-1,n,r,i):g(i,s):r||(i[i.length]=s)}return i}function dr(t,e){return t&&mf(t,e,qu)}function hr(t,e){return t&&yf(t,e,qu)}function vr(t,e){return p(e,function(e){return eu(t[e])})}function gr(t,e){e=Ci(e,t);for(var n=0,r=e.length;null!=t&&ne}function _r(t,e){return null!=t&&gl.call(t,e)}function wr(t,e){return null!=t&&e in sl(t)}function xr(t,e,n){return t>=Vl(e,n)&&t=120&&l.length>=120)?new mn(a&&l):it}l=t[0];var f=-1,p=s[0];t:for(;++f-1;)s!==t&&Ol.call(s,u,1),Ol.call(t,u,1);return t}function Zr(t,e){for(var n=t?e.length:0,r=n-1;n--;){var i=e[n];if(n==r||i!==o){var o=i;Lo(i)?Ol.call(t,i,1):vi(t,i)}}return t}function Yr(t,e){return t+Ml(Jl()*(e-t+1))}function ti(t,e,n,r){for(var i=-1,o=zl(Fl((e-t)/(n||1)),0),a=nl(o);o--;)a[r?o:++i]=t,t+=n;return a}function ei(t,e){var n="";if(!t||e<1||e>Dt)return n;do{e%2&&(n+=t),(e=Ml(e/2))&&(t+=t)}while(e);return n}function ni(t,e){return jf(Xo(t,e,Oc),t+"")}function ri(t){return In(Yu(t))}function ii(t,e){var n=Yu(t);return Zo(n,nr(e,0,n.length))}function oi(t,e,n,r){if(!iu(t))return t;e=Ci(e,t);for(var i=-1,o=e.length,a=o-1,s=t;null!=s&&++ii?0:i+e),n=n>i?i:n,n<0&&(n+=i),i=e>n?0:n-e>>>0,e>>>=0;for(var o=nl(i);++r>>1,a=t[o];null!==a&&!gu(a)&&(n?a<=e:a=ot){var c=e?null:Cf(t);if(c)return J(c);a=!1,i=P,u=new mn}else u=e?[]:s;t:for(;++r=r?t:si(t,e,n)}function $i(t,e){if(e)return t.slice();var n=t.length,r=Al?Al(n):new t.constructor(n);return t.copy(r),r}function Ai(t){var e=new t.constructor(t.byteLength);return new $l(e).set(new $l(t)),e}function ki(t,e){var n=e?Ai(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)}function Ei(t,e,n){return m(e?n(V(t),ft):V(t),o,new t.constructor)}function Si(t){var e=new t.constructor(t.source,Ue.exec(t));return e.lastIndex=t.lastIndex,e}function Oi(t,e,n){return m(e?n(J(t),ft):J(t),a,new t.constructor)}function ji(t){return pf?sl(pf.call(t)):{}}function Ni(t,e){var n=e?Ai(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}function Di(t,e){if(t!==e){var n=t!==it,r=null===t,i=t===t,o=gu(t),a=e!==it,s=null===e,u=e===e,c=gu(e);if(!s&&!c&&!o&&t>e||o&&a&&u&&!s&&!c||r&&a&&u||!n&&u||!i)return 1;if(!r&&!o&&!c&&t=s)return u;return u*("desc"==n[r]?-1:1)}}return t.index-e.index}function Li(t,e,n,r){for(var i=-1,o=t.length,a=n.length,s=-1,u=e.length,c=zl(o-a,0),l=nl(u+c),f=!r;++s1?n[i-1]:it,a=i>2?n[2]:it;for(o=t.length>3&&"function"==typeof o?(i--,o):it,a&&Ro(n[0],n[1],a)&&(o=i<3?it:o,i=1),e=sl(e);++r-1?i[o?e[a]:a]:it}}function Gi(t){return mo(function(e){var n=e.length,r=n,o=i.prototype.thru;for(t&&e.reverse();r--;){var a=e[r];if("function"!=typeof a)throw new ll(st);if(o&&!s&&"wrapper"==_o(a))var s=new i([],!0)}for(r=s?r:n;++r1&&y.reverse(),f&&us))return!1;var c=o.get(t);if(c&&o.get(e))return c==e;var l=-1,f=!0,p=n&vt?new mn:it;for(o.set(t,e),o.set(e,t);++l1?"& ":"")+e[r],e=e.join(n>2?", ":" "),t.replace(Pe,"{\n/* [wrapped with "+e+"] */\n")}function Io(t){return mp(t)||gp(t)||!!(jl&&t&&t[jl])}function Lo(t,e){return!!(e=null==e?Dt:e)&&("number"==typeof t||Ke.test(t))&&t>-1&&t%1==0&&t0){if(++e>=Et)return arguments[0]}else e=0;return t.apply(it,arguments)}}function Zo(t,e){var n=-1,r=t.length,i=r-1;for(e=e===it?r:e;++n=this.__values__.length;return{done:t,value:t?it:this.__values__[this.__index__++]}}function ns(){return this}function rs(t){for(var e,n=this;n instanceof r;){var i=na(n);i.__index__=0,i.__values__=it,e?o.__wrapped__=i:e=i;var o=i;n=n.__wrapped__}return o.__wrapped__=t,e}function is(){var t=this.__wrapped__;if(t instanceof _){var e=t;return this.__actions__.length&&(e=new _(this)),e=e.reverse(),e.__actions__.push({func:Za,args:[Ea],thisArg:it}),new i(e,this.__chain__)}return this.thru(Ea)}function os(){return yi(this.__wrapped__,this.__actions__)}function as(t,e,n){var r=mp(t)?f:ur;return n&&Ro(t,e,n)&&(e=it),r(t,xo(e,3))}function ss(t,e){return(mp(t)?p:fr)(t,xo(e,3))}function us(t,e){return pr(hs(t,e),1)}function cs(t,e){return pr(hs(t,e),Nt)}function ls(t,e,n){return n=n===it?1:xu(n),pr(hs(t,e),n)}function fs(t,e){return(mp(t)?c:vf)(t,xo(e,3))}function ps(t,e){return(mp(t)?l:gf)(t,xo(e,3))}function ds(t,e,n,r){t=Vs(t)?t:Yu(t),n=n&&!r?xu(n):0;var i=t.length;return n<0&&(n=zl(i+n,0)),vu(t)?n<=i&&t.indexOf(e,n)>-1:!!i&&T(t,e,n)>-1}function hs(t,e){return(mp(t)?v:Hr)(t,xo(e,3))}function vs(t,e,n,r){return null==t?[]:(mp(e)||(e=null==e?[]:[e]),n=r?it:n,mp(n)||(n=null==n?[]:[n]),Xr(t,e,n))}function gs(t,e,n){var r=mp(t)?m:O,i=arguments.length<3;return r(t,xo(e,4),n,i,vf)}function ms(t,e,n){var r=mp(t)?y:O,i=arguments.length<3;return r(t,xo(e,4),n,i,gf)}function ys(t,e){return(mp(t)?p:fr)(t,Ns(xo(e,3)))}function bs(t){return(mp(t)?In:ri)(t)}function _s(t,e,n){return e=(n?Ro(t,e,n):e===it)?1:xu(e),(mp(t)?Ln:ii)(t,e)}function ws(t){return(mp(t)?Pn:ai)(t)}function xs(t){if(null==t)return 0;if(Vs(t))return vu(t)?Y(t):t.length;var e=kf(t);return e==Jt||e==ee?t.size:Fr(t).length}function Cs(t,e,n){var r=mp(t)?b:ui;return n&&Ro(t,e,n)&&(e=it),r(t,xo(e,3))}function Ts(t,e){if("function"!=typeof e)throw new ll(st);return t=xu(t),function(){if(--t<1)return e.apply(this,arguments)}}function $s(t,e,n){return e=n?it:e,e=t&&null==e?t.length:e,co(t,Ct,it,it,it,it,e)}function As(t,e){var n;if("function"!=typeof e)throw new ll(st);return t=xu(t),function(){return--t>0&&(n=e.apply(this,arguments)),t<=1&&(e=it),n}}function ks(t,e,n){e=n?it:e;var r=co(t,bt,it,it,it,it,it,e);return r.placeholder=ks.placeholder,r}function Es(t,e,n){e=n?it:e;var r=co(t,_t,it,it,it,it,it,e);return r.placeholder=Es.placeholder,r}function Ss(t,e,n){function r(e){var n=p,r=d;return p=d=it,y=e,v=t.apply(r,n)}function i(t){return y=t,g=Of(s,e),b?r(t):v}function o(t){var n=t-m,r=t-y,i=e-n;return _?Vl(i,h-r):i}function a(t){var n=t-m,r=t-y;return m===it||n>=e||n<0||_&&r>=h}function s(){var t=op();if(a(t))return u(t);g=Of(s,o(t))}function u(t){return g=it,w&&p?r(t):(p=d=it,v)}function c(){g!==it&&xf(g),y=0,p=m=d=g=it}function l(){return g===it?v:u(op())}function f(){var t=op(),n=a(t);if(p=arguments,d=this,m=t,n){if(g===it)return i(m);if(_)return g=Of(s,e),r(m)}return g===it&&(g=Of(s,e)),v}var p,d,h,v,g,m,y=0,b=!1,_=!1,w=!0;if("function"!=typeof t)throw new ll(st);return e=Tu(e)||0,iu(n)&&(b=!!n.leading,_="maxWait"in n,h=_?zl(Tu(n.maxWait)||0,e):h,w="trailing"in n?!!n.trailing:w),f.cancel=c,f.flush=l,f}function Os(t){return co(t,$t)}function js(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new ll(st);var n=function(){var r=arguments,i=e?e.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var a=t.apply(this,r);return n.cache=o.set(i,a)||o,a};return n.cache=new(js.Cache||cn),n}function Ns(t){if("function"!=typeof t)throw new ll(st);return function(){var e=arguments;switch(e.length){case 0:return!t.call(this);case 1:return!t.call(this,e[0]);case 2:return!t.call(this,e[0],e[1]);case 3:return!t.call(this,e[0],e[1],e[2])}return!t.apply(this,e)}}function Ds(t){return As(2,t)}function Is(t,e){if("function"!=typeof t)throw new ll(st);return e=e===it?e:xu(e),ni(t,e)}function Ls(t,e){if("function"!=typeof t)throw new ll(st);return e=null==e?0:zl(xu(e),0),ni(function(n){var r=n[e],i=Ti(n,0,e);return r&&g(i,r),s(t,this,i)})}function Rs(t,e,n){var r=!0,i=!0;if("function"!=typeof t)throw new ll(st);return iu(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),Ss(t,e,{leading:r,maxWait:e,trailing:i})}function Ps(t){return $s(t,1)}function Fs(t,e){return fp(xi(e),t)}function Ms(){if(!arguments.length)return[];var t=arguments[0];return mp(t)?t:[t]}function qs(t){return rr(t,dt)}function Hs(t,e){return e="function"==typeof e?e:it,rr(t,dt,e)}function Bs(t){return rr(t,ft|dt)}function Us(t,e){return e="function"==typeof e?e:it,rr(t,ft|dt,e)}function Ws(t,e){return null==e||or(t,e,qu(e))}function zs(t,e){return t===e||t!==t&&e!==e}function Vs(t){return null!=t&&ru(t.length)&&!eu(t)}function Xs(t){return ou(t)&&Vs(t)}function Ks(t){return!0===t||!1===t||ou(t)&&yr(t)==Ut}function Js(t){return ou(t)&&1===t.nodeType&&!du(t)}function Qs(t){if(null==t)return!0;if(Vs(t)&&(mp(t)||"string"==typeof t||"function"==typeof t.splice||bp(t)||Tp(t)||gp(t)))return!t.length;var e=kf(t);if(e==Jt||e==ee)return!t.size;if(Ho(t))return!Fr(t).length;for(var n in t)if(gl.call(t,n))return!1;return!0}function Gs(t,e){return Sr(t,e)}function Zs(t,e,n){n="function"==typeof n?n:it;var r=n?n(t,e):it;return r===it?Sr(t,e,it,n):!!r}function Ys(t){if(!ou(t))return!1;var e=yr(t);return e==Vt||e==zt||"string"==typeof t.message&&"string"==typeof t.name&&!du(t)}function tu(t){return"number"==typeof t&&Bl(t)}function eu(t){if(!iu(t))return!1;var e=yr(t);return e==Xt||e==Kt||e==Bt||e==Yt}function nu(t){return"number"==typeof t&&t==xu(t)}function ru(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=Dt}function iu(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}function ou(t){return null!=t&&"object"==typeof t}function au(t,e){return t===e||Nr(t,e,To(e))}function su(t,e,n){return n="function"==typeof n?n:it,Nr(t,e,To(e),n)}function uu(t){return pu(t)&&t!=+t}function cu(t){if(Ef(t))throw new il(at);return Dr(t)}function lu(t){return null===t}function fu(t){return null==t}function pu(t){return"number"==typeof t||ou(t)&&yr(t)==Qt}function du(t){if(!ou(t)||yr(t)!=Zt)return!1;var e=kl(t);if(null===e)return!0;var n=gl.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&vl.call(n)==_l}function hu(t){return nu(t)&&t>=-Dt&&t<=Dt}function vu(t){return"string"==typeof t||!mp(t)&&ou(t)&&yr(t)==ne}function gu(t){return"symbol"==typeof t||ou(t)&&yr(t)==re}function mu(t){return t===it}function yu(t){return ou(t)&&kf(t)==oe}function bu(t){return ou(t)&&yr(t)==ae}function _u(t){if(!t)return[];if(Vs(t))return vu(t)?tt(t):Pi(t);if(Nl&&t[Nl])return z(t[Nl]());var e=kf(t);return(e==Jt?V:e==ee?J:Yu)(t)}function wu(t){if(!t)return 0===t?t:0;if((t=Tu(t))===Nt||t===-Nt){return(t<0?-1:1)*It}return t===t?t:0}function xu(t){var e=wu(t),n=e%1;return e===e?n?e-n:e:0}function Cu(t){return t?nr(xu(t),0,Rt):0}function Tu(t){if("number"==typeof t)return t;if(gu(t))return Lt;if(iu(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=iu(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(Ie,"");var n=ze.test(t);return n||Xe.test(t)?On(t.slice(2),n?2:8):We.test(t)?Lt:+t}function $u(t){return Fi(t,Hu(t))}function Au(t){return t?nr(xu(t),-Dt,Dt):0===t?t:0}function ku(t){return null==t?"":di(t)}function Eu(t,e){var n=hf(t);return null==e?n:Zn(n,e)}function Su(t,e){return x(t,xo(e,3),dr)}function Ou(t,e){return x(t,xo(e,3),hr)}function ju(t,e){return null==t?t:mf(t,xo(e,3),Hu)}function Nu(t,e){return null==t?t:yf(t,xo(e,3),Hu)}function Du(t,e){return t&&dr(t,xo(e,3))}function Iu(t,e){return t&&hr(t,xo(e,3))}function Lu(t){return null==t?[]:vr(t,qu(t))}function Ru(t){return null==t?[]:vr(t,Hu(t))}function Pu(t,e,n){var r=null==t?it:gr(t,e);return r===it?n:r}function Fu(t,e){return null!=t&&So(t,e,_r)}function Mu(t,e){return null!=t&&So(t,e,wr)}function qu(t){return Vs(t)?Nn(t):Fr(t)}function Hu(t){return Vs(t)?Nn(t,!0):Mr(t)}function Bu(t,e){var n={};return e=xo(e,3),dr(t,function(t,r,i){tr(n,e(t,r,i),t)}),n}function Uu(t,e){var n={};return e=xo(e,3),dr(t,function(t,r,i){tr(n,r,e(t,r,i))}),n}function Wu(t,e){return zu(t,Ns(xo(e)))}function zu(t,e){if(null==t)return{};var n=v(bo(t),function(t){return[t]});return e=xo(e),Jr(t,n,function(t,n){return e(t,n[0])})}function Vu(t,e,n){e=Ci(e,t);var r=-1,i=e.length;for(i||(i=1,t=it);++re){var r=t;t=e,e=r}if(n||t%1||e%1){var i=Jl();return Vl(t+i*(e-t+Sn("1e-"+((i+"").length-1))),e)}return Yr(t,e)}function ic(t){return Qp(ku(t).toLowerCase())}function oc(t){return(t=ku(t))&&t.replace(Je,Vn).replace(gn,"")}function ac(t,e,n){t=ku(t),e=di(e);var r=t.length;n=n===it?r:nr(xu(n),0,r);var i=n;return(n-=e.length)>=0&&t.slice(n,i)==e}function sc(t){return t=ku(t),t&&Te.test(t)?t.replace(xe,Xn):t}function uc(t){return t=ku(t),t&&De.test(t)?t.replace(Ne,"\\$&"):t}function cc(t,e,n){t=ku(t),e=xu(e);var r=e?Y(t):0;if(!e||r>=e)return t;var i=(e-r)/2;return no(Ml(i),n)+t+no(Fl(i),n)}function lc(t,e,n){t=ku(t),e=xu(e);var r=e?Y(t):0;return e&&r>>0)?(t=ku(t),t&&("string"==typeof e||null!=e&&!xp(e))&&!(e=di(e))&&U(t)?Ti(tt(t),0,n):t.split(e,n)):[]}function gc(t,e,n){return t=ku(t),n=null==n?0:nr(xu(n),0,t.length),e=di(e),t.slice(n,n+e.length)==e}function mc(t,e,r){var i=n.templateSettings;r&&Ro(t,e,r)&&(e=it),t=ku(t),e=Sp({},e,i,lo);var o,a,s=Sp({},e.imports,i.imports,lo),u=qu(s),c=R(s,u),l=0,f=e.interpolate||Qe,p="__p += '",d=ul((e.escape||Qe).source+"|"+f.source+"|"+(f===ke?Be:Qe).source+"|"+(e.evaluate||Qe).source+"|$","g"),h="//# sourceURL="+("sourceURL"in e?e.sourceURL:"lodash.templateSources["+ ++xn+"]")+"\n";t.replace(d,function(e,n,r,i,s,u){return r||(r=i),p+=t.slice(l,u).replace(Ge,H),n&&(o=!0,p+="' +\n__e("+n+") +\n'"),s&&(a=!0,p+="';\n"+s+";\n__p += '"),r&&(p+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),l=u+e.length,e}),p+="';\n";var v=e.variable;v||(p="with (obj) {\n"+p+"\n}\n"),p=(a?p.replace(ye,""):p).replace(be,"$1").replace(_e,"$1;"),p="function("+(v||"obj")+") {\n"+(v?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(o?", __e = _.escape":"")+(a?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+p+"return __p\n}";var g=Gp(function(){return ol(u,h+"return "+p).apply(it,c)});if(g.source=p,Ys(g))throw g;return g}function yc(t){return ku(t).toLowerCase()}function bc(t){return ku(t).toUpperCase()}function _c(t,e,n){if((t=ku(t))&&(n||e===it))return t.replace(Ie,"");if(!t||!(e=di(e)))return t;var r=tt(t),i=tt(e);return Ti(r,F(r,i),M(r,i)+1).join("")}function wc(t,e,n){if((t=ku(t))&&(n||e===it))return t.replace(Re,"");if(!t||!(e=di(e)))return t;var r=tt(t);return Ti(r,0,M(r,tt(e))+1).join("")}function xc(t,e,n){if((t=ku(t))&&(n||e===it))return t.replace(Le,"");if(!t||!(e=di(e)))return t;var r=tt(t);return Ti(r,F(r,tt(e))).join("")}function Cc(t,e){var n=At,r=kt;if(iu(e)){var i="separator"in e?e.separator:i;n="length"in e?xu(e.length):n,r="omission"in e?di(e.omission):r}t=ku(t);var o=t.length;if(U(t)){var a=tt(t);o=a.length}if(n>=o)return t;var s=n-Y(r);if(s<1)return r;var u=a?Ti(a,0,s).join(""):t.slice(0,s);if(i===it)return u+r;if(a&&(s+=u.length-s),xp(i)){if(t.slice(s).search(i)){var c,l=u;for(i.global||(i=ul(i.source,ku(Ue.exec(i))+"g")),i.lastIndex=0;c=i.exec(l);)var f=c.index;u=u.slice(0,f===it?s:f)}}else if(t.indexOf(di(i),s)!=s){var p=u.lastIndexOf(i);p>-1&&(u=u.slice(0,p))}return u+r}function Tc(t){return t=ku(t),t&&Ce.test(t)?t.replace(we,Kn):t}function $c(t,e,n){return t=ku(t),e=n?it:e,e===it?W(t)?rt(t):w(t):t.match(e)||[]}function Ac(t){var e=null==t?0:t.length,n=xo();return t=e?v(t,function(t){if("function"!=typeof t[1])throw new ll(st);return[n(t[0]),t[1]]}):[],ni(function(n){for(var r=-1;++rDt)return[];var n=Rt,r=Vl(t,Rt);e=xo(e),t-=Rt;for(var i=D(r,e);++n1?t[e-1]:it;return n="function"==typeof n?(t.pop(),n):it,Xa(t,n)}),Qf=mo(function(t){var e=t.length,n=e?t[0]:0,r=this.__wrapped__,o=function(e){return er(e,t)};return!(e>1||this.__actions__.length)&&r instanceof _&&Lo(n)?(r=r.slice(n,+n+(e?1:0)),r.__actions__.push({func:Za,args:[o],thisArg:it}),new i(r,this.__chain__).thru(function(t){return e&&!t.length&&t.push(it),t})):this.thru(o)}),Gf=Hi(function(t,e,n){gl.call(t,n)?++t[n]:tr(t,n,1)}),Zf=Qi(fa),Yf=Qi(pa),tp=Hi(function(t,e,n){gl.call(t,n)?t[n].push(e):tr(t,n,[e])}),ep=ni(function(t,e,n){var r=-1,i="function"==typeof e,o=Vs(t)?nl(t.length):[];return vf(t,function(t){o[++r]=i?s(e,t,n):$r(t,e,n)}),o}),np=Hi(function(t,e,n){tr(t,n,e)}),rp=Hi(function(t,e,n){t[n?0:1].push(e)},function(){return[[],[]]}),ip=ni(function(t,e){if(null==t)return[];var n=e.length;return n>1&&Ro(t,e[0],e[1])?e=[]:n>2&&Ro(e[0],e[1],e[2])&&(e=[e[0]]),Xr(t,pr(e,1),[])}),op=Rl||function(){return Dn.Date.now()},ap=ni(function(t,e,n){var r=gt;if(n.length){var i=K(n,wo(ap));r|=wt}return co(t,r,e,n,i)}),sp=ni(function(t,e,n){var r=gt|mt;if(n.length){var i=K(n,wo(sp));r|=wt}return co(e,r,t,n,i)}),up=ni(function(t,e){return ar(t,1,e)}),cp=ni(function(t,e,n){return ar(t,Tu(e)||0,n)});js.Cache=cn;var lp=wf(function(t,e){e=1==e.length&&mp(e[0])?v(e[0],L(xo())):v(pr(e,1),L(xo()));var n=e.length;return ni(function(r){for(var i=-1,o=Vl(r.length,n);++i=e}),gp=Ar(function(){return arguments}())?Ar:function(t){return ou(t)&&gl.call(t,"callee")&&!Sl.call(t,"callee")},mp=nl.isArray,yp=Mn?L(Mn):kr,bp=Hl||Hc,_p=qn?L(qn):Er,wp=Hn?L(Hn):jr,xp=Bn?L(Bn):Ir,Cp=Un?L(Un):Lr,Tp=Wn?L(Wn):Rr,$p=oo(qr),Ap=oo(function(t,e){return t<=e}),kp=Bi(function(t,e){if(Ho(e)||Vs(e))return void Fi(e,qu(e),t);for(var n in e)gl.call(e,n)&&zn(t,n,e[n])}),Ep=Bi(function(t,e){Fi(e,Hu(e),t)}),Sp=Bi(function(t,e,n,r){Fi(e,Hu(e),t,r)}),Op=Bi(function(t,e,n,r){Fi(e,qu(e),t,r)}),jp=mo(er),Np=ni(function(t){return t.push(it,lo),s(Sp,it,t)}),Dp=ni(function(t){return t.push(it,fo),s(Fp,it,t)}),Ip=Yi(function(t,e,n){t[e]=n},Ec(Oc)),Lp=Yi(function(t,e,n){gl.call(t,e)?t[e].push(n):t[e]=[n]},xo),Rp=ni($r),Pp=Bi(function(t,e,n){Wr(t,e,n)}),Fp=Bi(function(t,e,n,r){Wr(t,e,n,r)}),Mp=mo(function(t,e){var n={};if(null==t)return n;var r=!1;e=v(e,function(e){return e=Ci(e,t),r||(r=e.length>1),e}),Fi(t,bo(t),n),r&&(n=rr(n,ft|pt|dt,po));for(var i=e.length;i--;)vi(n,e[i]);return n}),qp=mo(function(t,e){return null==t?{}:Kr(t,e)}),Hp=uo(qu),Bp=uo(Hu),Up=Xi(function(t,e,n){return e=e.toLowerCase(),t+(n?ic(e):e)}),Wp=Xi(function(t,e,n){return t+(n?"-":"")+e.toLowerCase()}),zp=Xi(function(t,e,n){return t+(n?" ":"")+e.toLowerCase()}),Vp=Vi("toLowerCase"),Xp=Xi(function(t,e,n){return t+(n?"_":"")+e.toLowerCase()}),Kp=Xi(function(t,e,n){return t+(n?" ":"")+Qp(e)}),Jp=Xi(function(t,e,n){return t+(n?" ":"")+e.toUpperCase()}),Qp=Vi("toUpperCase"),Gp=ni(function(t,e){try{return s(t,it,e)}catch(t){return Ys(t)?t:new il(t)}}),Zp=mo(function(t,e){return c(e,function(e){e=Yo(e),tr(t,e,ap(t[e],t))}),t}),Yp=Gi(),td=Gi(!0),ed=ni(function(t,e){return function(n){return $r(n,t,e)}}),nd=ni(function(t,e){return function(n){return $r(t,n,e)}}),rd=eo(v),id=eo(f),od=eo(b),ad=io(),sd=io(!0),ud=to(function(t,e){return t+e},0),cd=so("ceil"),ld=to(function(t,e){return t/e},1),fd=so("floor"),pd=to(function(t,e){return t*e},1),dd=so("round"),hd=to(function(t,e){return t-e},0);return n.after=Ts,n.ary=$s,n.assign=kp,n.assignIn=Ep,n.assignInWith=Sp,n.assignWith=Op,n.at=jp,n.before=As,n.bind=ap,n.bindAll=Zp,n.bindKey=sp,n.castArray=Ms,n.chain=Qa,n.chunk=ra,n.compact=ia,n.concat=oa,n.cond=Ac,n.conforms=kc,n.constant=Ec,n.countBy=Gf,n.create=Eu,n.curry=ks,n.curryRight=Es,n.debounce=Ss,n.defaults=Np,n.defaultsDeep=Dp,n.defer=up,n.delay=cp,n.difference=Df,n.differenceBy=If,n.differenceWith=Lf,n.drop=aa,n.dropRight=sa,n.dropRightWhile=ua,n.dropWhile=ca,n.fill=la,n.filter=ss,n.flatMap=us,n.flatMapDeep=cs,n.flatMapDepth=ls,n.flatten=da,n.flattenDeep=ha,n.flattenDepth=va,n.flip=Os,n.flow=Yp,n.flowRight=td,n.fromPairs=ga,n.functions=Lu,n.functionsIn=Ru,n.groupBy=tp,n.initial=ba,n.intersection=Rf,n.intersectionBy=Pf,n.intersectionWith=Ff,n.invert=Ip,n.invertBy=Lp,n.invokeMap=ep,n.iteratee=jc,n.keyBy=np,n.keys=qu,n.keysIn=Hu,n.map=hs,n.mapKeys=Bu,n.mapValues=Uu,n.matches=Nc,n.matchesProperty=Dc,n.memoize=js,n.merge=Pp,n.mergeWith=Fp,n.method=ed,n.methodOf=nd,n.mixin=Ic,n.negate=Ns,n.nthArg=Pc,n.omit=Mp,n.omitBy=Wu,n.once=Ds,n.orderBy=vs,n.over=rd,n.overArgs=lp,n.overEvery=id,n.overSome=od,n.partial=fp,n.partialRight=pp,n.partition=rp,n.pick=qp,n.pickBy=zu,n.property=Fc,n.propertyOf=Mc,n.pull=Mf,n.pullAll=Ta,n.pullAllBy=$a,n.pullAllWith=Aa,n.pullAt=qf,n.range=ad,n.rangeRight=sd,n.rearg=dp,n.reject=ys,n.remove=ka,n.rest=Is,n.reverse=Ea,n.sampleSize=_s,n.set=Xu,n.setWith=Ku,n.shuffle=ws,n.slice=Sa,n.sortBy=ip,n.sortedUniq=Ra,n.sortedUniqBy=Pa,n.split=vc,n.spread=Ls,n.tail=Fa,n.take=Ma,n.takeRight=qa,n.takeRightWhile=Ha,n.takeWhile=Ba,n.tap=Ga,n.throttle=Rs,n.thru=Za,n.toArray=_u,n.toPairs=Hp,n.toPairsIn=Bp,n.toPath=Vc,n.toPlainObject=$u,n.transform=Ju,n.unary=Ps,n.union=Hf,n.unionBy=Bf,n.unionWith=Uf,n.uniq=Ua,n.uniqBy=Wa,n.uniqWith=za,n.unset=Qu,n.unzip=Va,n.unzipWith=Xa,n.update=Gu,n.updateWith=Zu,n.values=Yu,n.valuesIn=tc,n.without=Wf,n.words=$c,n.wrap=Fs,n.xor=zf,n.xorBy=Vf,n.xorWith=Xf,n.zip=Kf,n.zipObject=Ka,n.zipObjectDeep=Ja,n.zipWith=Jf,n.entries=Hp,n.entriesIn=Bp,n.extend=Ep,n.extendWith=Sp,Ic(n,n),n.add=ud,n.attempt=Gp,n.camelCase=Up,n.capitalize=ic,n.ceil=cd,n.clamp=ec,n.clone=qs,n.cloneDeep=Bs,n.cloneDeepWith=Us,n.cloneWith=Hs,n.conformsTo=Ws,n.deburr=oc,n.defaultTo=Sc,n.divide=ld,n.endsWith=ac,n.eq=zs,n.escape=sc,n.escapeRegExp=uc,n.every=as,n.find=Zf,n.findIndex=fa,n.findKey=Su,n.findLast=Yf,n.findLastIndex=pa,n.findLastKey=Ou,n.floor=fd,n.forEach=fs,n.forEachRight=ps,n.forIn=ju,n.forInRight=Nu,n.forOwn=Du,n.forOwnRight=Iu,n.get=Pu,n.gt=hp,n.gte=vp,n.has=Fu,n.hasIn=Mu,n.head=ma,n.identity=Oc,n.includes=ds,n.indexOf=ya,n.inRange=nc,n.invoke=Rp,n.isArguments=gp,n.isArray=mp,n.isArrayBuffer=yp,n.isArrayLike=Vs,n.isArrayLikeObject=Xs,n.isBoolean=Ks,n.isBuffer=bp,n.isDate=_p,n.isElement=Js,n.isEmpty=Qs,n.isEqual=Gs,n.isEqualWith=Zs,n.isError=Ys,n.isFinite=tu,n.isFunction=eu,n.isInteger=nu,n.isLength=ru,n.isMap=wp,n.isMatch=au,n.isMatchWith=su,n.isNaN=uu,n.isNative=cu,n.isNil=fu,n.isNull=lu,n.isNumber=pu,n.isObject=iu,n.isObjectLike=ou,n.isPlainObject=du,n.isRegExp=xp,n.isSafeInteger=hu,n.isSet=Cp,n.isString=vu,n.isSymbol=gu,n.isTypedArray=Tp,n.isUndefined=mu,n.isWeakMap=yu,n.isWeakSet=bu,n.join=_a,n.kebabCase=Wp,n.last=wa,n.lastIndexOf=xa,n.lowerCase=zp,n.lowerFirst=Vp,n.lt=$p,n.lte=Ap,n.max=Kc,n.maxBy=Jc,n.mean=Qc,n.meanBy=Gc,n.min=Zc,n.minBy=Yc,n.stubArray=qc,n.stubFalse=Hc,n.stubObject=Bc,n.stubString=Uc,n.stubTrue=Wc,n.multiply=pd,n.nth=Ca,n.noConflict=Lc,n.noop=Rc,n.now=op,n.pad=cc,n.padEnd=lc,n.padStart=fc,n.parseInt=pc,n.random=rc,n.reduce=gs,n.reduceRight=ms,n.repeat=dc,n.replace=hc,n.result=Vu,n.round=dd,n.runInContext=t,n.sample=bs,n.size=xs,n.snakeCase=Xp,n.some=Cs,n.sortedIndex=Oa,n.sortedIndexBy=ja,n.sortedIndexOf=Na,n.sortedLastIndex=Da,n.sortedLastIndexBy=Ia,n.sortedLastIndexOf=La,n.startCase=Kp,n.startsWith=gc,n.subtract=hd,n.sum=tl,n.sumBy=el,n.template=mc,n.times=zc,n.toFinite=wu,n.toInteger=xu,n.toLength=Cu,n.toLower=yc,n.toNumber=Tu,n.toSafeInteger=Au,n.toString=ku,n.toUpper=bc,n.trim=_c,n.trimEnd=wc,n.trimStart=xc,n.truncate=Cc,n.unescape=Tc,n.uniqueId=Xc,n.upperCase=Jp,n.upperFirst=Qp,n.each=fs,n.eachRight=ps,n.first=ma,Ic(n,function(){var t={};return dr(n,function(e,r){gl.call(n.prototype,r)||(t[r]=e)}),t}(),{chain:!1}),n.VERSION="4.17.4",c(["bind","bindKey","curry","curryRight","partial","partialRight"],function(t){n[t].placeholder=n}),c(["drop","take"],function(t,e){_.prototype[t]=function(n){n=n===it?1:zl(xu(n),0);var r=this.__filtered__&&!e?new _(this):this.clone();return r.__filtered__?r.__takeCount__=Vl(n,r.__takeCount__):r.__views__.push({size:Vl(n,Rt),type:t+(r.__dir__<0?"Right":"")}),r},_.prototype[t+"Right"]=function(e){return this.reverse()[t](e).reverse()}}),c(["filter","map","takeWhile"],function(t,e){var n=e+1,r=n==Ot||3==n;_.prototype[t]=function(t){var e=this.clone();return e.__iteratees__.push({iteratee:xo(t,3),type:n}),e.__filtered__=e.__filtered__||r,e}}),c(["head","last"],function(t,e){var n="take"+(e?"Right":"");_.prototype[t]=function(){return this[n](1).value()[0]}}),c(["initial","tail"],function(t,e){var n="drop"+(e?"":"Right");_.prototype[t]=function(){return this.__filtered__?new _(this):this[n](1)}}),_.prototype.compact=function(){return this.filter(Oc)},_.prototype.find=function(t){return this.filter(t).head()},_.prototype.findLast=function(t){return this.reverse().find(t)},_.prototype.invokeMap=ni(function(t,e){return"function"==typeof t?new _(this):this.map(function(n){return $r(n,t,e)})}),_.prototype.reject=function(t){return this.filter(Ns(xo(t)))},_.prototype.slice=function(t,e){t=xu(t);var n=this;return n.__filtered__&&(t>0||e<0)?new _(n):(t<0?n=n.takeRight(-t):t&&(n=n.drop(t)),e!==it&&(e=xu(e),n=e<0?n.dropRight(-e):n.take(e-t)),n)},_.prototype.takeRightWhile=function(t){return this.reverse().takeWhile(t).reverse()},_.prototype.toArray=function(){return this.take(Rt)},dr(_.prototype,function(t,e){var r=/^(?:filter|find|map|reject)|While$/.test(e),o=/^(?:head|last)$/.test(e),a=n[o?"take"+("last"==e?"Right":""):e],s=o||/^find/.test(e);a&&(n.prototype[e]=function(){var e=this.__wrapped__,u=o?[1]:arguments,c=e instanceof _,l=u[0],f=c||mp(e),p=function(t){var e=a.apply(n,g([t],u));return o&&d?e[0]:e};f&&r&&"function"==typeof l&&1!=l.length&&(c=f=!1);var d=this.__chain__,h=!!this.__actions__.length,v=s&&!d,m=c&&!h;if(!s&&f){e=m?e:new _(this);var y=t.apply(e,u);return y.__actions__.push({func:Za,args:[p],thisArg:it}),new i(y,d)}return v&&m?t.apply(this,u):(y=this.thru(p),v?o?y.value()[0]:y.value():y)})}),c(["pop","push","shift","sort","splice","unshift"],function(t){var e=fl[t],r=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",i=/^(?:pop|shift)$/.test(t);n.prototype[t]=function(){var t=arguments;if(i&&!this.__chain__){var n=this.value();return e.apply(mp(n)?n:[],t)}return this[r](function(n){return e.apply(mp(n)?n:[],t)})}}),dr(_.prototype,function(t,e){var r=n[e];if(r){var i=r.name+"";(of[i]||(of[i]=[])).push({name:e,func:r})}}),of[Zi(it,mt).name]=[{name:"wrapper",func:it}],_.prototype.clone=S,_.prototype.reverse=G,_.prototype.value=et,n.prototype.at=Qf,n.prototype.chain=Ya,n.prototype.commit=ts,n.prototype.next=es,n.prototype.plant=rs,n.prototype.reverse=is,n.prototype.toJSON=n.prototype.valueOf=n.prototype.value=os,n.prototype.first=n.prototype.head,Nl&&(n.prototype[Nl]=ns),n}();Dn._=Jn,(i=function(){return Jn}.call(e,n,e,r))!==it&&(r.exports=i)}).call(this)}).call(e,n(2),n(12)(t))},function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},function(t,e,n){var r,i;!function(e,n){"use strict";"object"==typeof t&&"object"==typeof t.exports?t.exports=e.document?n(e,!0):function(t){if(!t.document)throw new Error("jQuery requires a window with a document");return n(t)}:n(e)}("undefined"!=typeof window?window:this,function(n,o){"use strict";function a(t,e){e=e||at;var n=e.createElement("script");n.text=t,e.head.appendChild(n).parentNode.removeChild(n)}function s(t){var e=!!t&&"length"in t&&t.length,n=yt.type(t);return"function"!==n&&!yt.isWindow(t)&&("array"===n||0===e||"number"==typeof e&&e>0&&e-1 in t)}function u(t,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()}function c(t,e,n){return yt.isFunction(e)?yt.grep(t,function(t,r){return!!e.call(t,r,t)!==n}):e.nodeType?yt.grep(t,function(t){return t===e!==n}):"string"!=typeof e?yt.grep(t,function(t){return ft.call(e,t)>-1!==n}):Et.test(e)?yt.filter(e,t,n):(e=yt.filter(e,t),yt.grep(t,function(t){return ft.call(e,t)>-1!==n&&1===t.nodeType}))}function l(t,e){for(;(t=t[e])&&1!==t.nodeType;);return t}function f(t){var e={};return yt.each(t.match(Dt)||[],function(t,n){e[n]=!0}),e}function p(t){return t}function d(t){throw t}function h(t,e,n,r){var i;try{t&&yt.isFunction(i=t.promise)?i.call(t).done(e).fail(n):t&&yt.isFunction(i=t.then)?i.call(t,e,n):e.apply(void 0,[t].slice(r))}catch(t){n.apply(void 0,[t])}}function v(){at.removeEventListener("DOMContentLoaded",v),n.removeEventListener("load",v),yt.ready()}function g(){this.expando=yt.expando+g.uid++}function m(t){return"true"===t||"false"!==t&&("null"===t?null:t===+t+""?+t:qt.test(t)?JSON.parse(t):t)}function y(t,e,n){var r;if(void 0===n&&1===t.nodeType)if(r="data-"+e.replace(Ht,"-$&").toLowerCase(),"string"==typeof(n=t.getAttribute(r))){try{n=m(n)}catch(t){}Mt.set(t,e,n)}else n=void 0;return n}function b(t,e,n,r){var i,o=1,a=20,s=r?function(){return r.cur()}:function(){return yt.css(t,e,"")},u=s(),c=n&&n[3]||(yt.cssNumber[e]?"":"px"),l=(yt.cssNumber[e]||"px"!==c&&+u)&&Ut.exec(yt.css(t,e));if(l&&l[3]!==c){c=c||l[3],n=n||[],l=+u||1;do{o=o||".5",l/=o,yt.style(t,e,l+c)}while(o!==(o=s()/u)&&1!==o&&--a)}return n&&(l=+l||+u||0,i=n[1]?l+(n[1]+1)*n[2]:+n[2],r&&(r.unit=c,r.start=l,r.end=i)),i}function _(t){var e,n=t.ownerDocument,r=t.nodeName,i=Xt[r];return i||(e=n.body.appendChild(n.createElement(r)),i=yt.css(e,"display"),e.parentNode.removeChild(e),"none"===i&&(i="block"),Xt[r]=i,i)}function w(t,e){for(var n,r,i=[],o=0,a=t.length;o-1)i&&i.push(o);else if(c=yt.contains(o.ownerDocument,o),a=x(f.appendChild(o),"script"),c&&C(a),n)for(l=0;o=a[l++];)Qt.test(o.type||"")&&n.push(o);return f}function $(){return!0}function A(){return!1}function k(){try{return at.activeElement}catch(t){}}function E(t,e,n,r,i,o){var a,s;if("object"==typeof e){"string"!=typeof n&&(r=r||n,n=void 0);for(s in e)E(t,s,n,r,e[s],o);return t}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=A;else if(!i)return t;return 1===o&&(a=i,i=function(t){return yt().off(t),a.apply(this,arguments)},i.guid=a.guid||(a.guid=yt.guid++)),t.each(function(){yt.event.add(this,e,i,r,n)})}function S(t,e){return u(t,"table")&&u(11!==e.nodeType?e:e.firstChild,"tr")?yt(">tbody",t)[0]||t:t}function O(t){return t.type=(null!==t.getAttribute("type"))+"/"+t.type,t}function j(t){var e=ae.exec(t.type);return e?t.type=e[1]:t.removeAttribute("type"),t}function N(t,e){var n,r,i,o,a,s,u,c;if(1===e.nodeType){if(Ft.hasData(t)&&(o=Ft.access(t),a=Ft.set(e,o),c=o.events)){delete a.handle,a.events={};for(i in c)for(n=0,r=c[i].length;n1&&"string"==typeof h&&!mt.checkClone&&oe.test(h))return t.each(function(i){var o=t.eq(i);v&&(e[0]=h.call(this,i,o.html())),I(o,e,n,r)});if(p&&(i=T(e,t[0].ownerDocument,!1,t,r),o=i.firstChild,1===i.childNodes.length&&(i=o),o||r)){for(s=yt.map(x(i,"script"),O),u=s.length;f=0&&nw.cacheLength&&delete t[e.shift()],t[n+" "]=r}var e=[];return t}function r(t){return t[F]=!0,t}function i(t){var e=j.createElement("fieldset");try{return!!t(e)}catch(t){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function o(t,e){for(var n=t.split("|"),r=n.length;r--;)w.attrHandle[n[r]]=e}function a(t,e){var n=e&&t,r=n&&1===t.nodeType&&1===e.nodeType&&t.sourceIndex-e.sourceIndex;if(r)return r;if(n)for(;n=n.nextSibling;)if(n===e)return-1;return t?1:-1}function s(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&xt(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function u(t){return r(function(e){return e=+e,r(function(n,r){for(var i,o=t([],n.length,e),a=o.length;a--;)n[i=o[a]]&&(n[i]=!(r[i]=n[i]))})})}function c(t){return t&&void 0!==t.getElementsByTagName&&t}function l(){}function f(t){for(var e=0,n=t.length,r="";e1?function(e,n,r){for(var i=t.length;i--;)if(!t[i](e,n,r))return!1;return!0}:t[0]}function h(t,n,r){for(var i=0,o=n.length;i-1&&(r[c]=!(a[c]=f))}}else b=v(b===a?b.splice(g,b.length):b),o?o(null,a,b,u):Q.apply(a,b)})}function m(t){for(var e,n,r,i=t.length,o=w.relative[t[0].type],a=o||w.relative[" "],s=o?1:0,u=p(function(t){return t===e},a,!0),c=p(function(t){return Z(e,t)>-1},a,!0),l=[function(t,n,r){var i=!o&&(r||n!==k)||((e=n).nodeType?u(t,n,r):c(t,n,r));return e=null,i}];s1&&d(l),s>1&&f(t.slice(0,s-1).concat({value:" "===t[s-2].type?"*":""})).replace(ot,"$1"),n,s0,o=t.length>0,a=function(r,a,s,u,c){var l,f,p,d=0,h="0",g=r&&[],m=[],y=k,b=r||o&&w.find.TAG("*",c),_=q+=null==y?1:Math.random()||.1,x=b.length;for(c&&(k=a===j||a||c);h!==x&&null!=(l=b[h]);h++){if(o&&l){for(f=0,a||l.ownerDocument===j||(O(l),s=!D);p=t[f++];)if(p(l,a||j,s)){u.push(l);break}c&&(q=_)}i&&((l=!p&&l)&&d--,r&&g.push(l))}if(d+=h,i&&h!==d){for(f=0;p=n[f++];)p(g,m,a,s);if(r){if(d>0)for(;h--;)g[h]||m[h]||(m[h]=K.call(u));m=v(m)}Q.apply(u,m),c&&!r&&m.length>0&&d+n.length>1&&e.uniqueSort(u)}return c&&(q=_,k=y),g};return i?r(a):a}var b,_,w,x,C,T,$,A,k,E,S,O,j,N,D,I,L,R,P,F="sizzle"+1*new Date,M=t.document,q=0,H=0,B=n(),U=n(),W=n(),z=function(t,e){return t===e&&(S=!0),0},V={}.hasOwnProperty,X=[],K=X.pop,J=X.push,Q=X.push,G=X.slice,Z=function(t,e){for(var n=0,r=t.length;n+~]|"+tt+")"+tt+"*"),ut=new RegExp("="+tt+"*([^\\]'\"]*?)"+tt+"*\\]","g"),ct=new RegExp(rt),lt=new RegExp("^"+et+"$"),ft={ID:new RegExp("^#("+et+")"),CLASS:new RegExp("^\\.("+et+")"),TAG:new RegExp("^("+et+"|[*])"),ATTR:new RegExp("^"+nt),PSEUDO:new RegExp("^"+rt),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+tt+"*(even|odd|(([+-]|)(\\d*)n|)"+tt+"*(?:([+-]|)"+tt+"*(\\d+)|))"+tt+"*\\)|)","i"),bool:new RegExp("^(?:"+Y+")$","i"),needsContext:new RegExp("^"+tt+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+tt+"*((?:-\\d)?\\d*)"+tt+"*\\)|)(?=[^-]|$)","i")},pt=/^(?:input|select|textarea|button)$/i,dt=/^h\d$/i,ht=/^[^{]+\{\s*\[native \w/,vt=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,gt=/[+~]/,mt=new RegExp("\\\\([\\da-f]{1,6}"+tt+"?|("+tt+")|.)","ig"),yt=function(t,e,n){var r="0x"+e-65536;return r!==r||n?e:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)},bt=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,_t=function(t,e){return e?"\0"===t?"�":t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16)+" ":"\\"+t},wt=function(){O()},xt=p(function(t){return!0===t.disabled&&("form"in t||"label"in t)},{dir:"parentNode",next:"legend"});try{Q.apply(X=G.call(M.childNodes),M.childNodes),X[M.childNodes.length].nodeType}catch(t){Q={apply:X.length?function(t,e){J.apply(t,G.call(e))}:function(t,e){for(var n=t.length,r=0;t[n++]=e[r++];);t.length=n-1}}}_=e.support={},C=e.isXML=function(t){var e=t&&(t.ownerDocument||t).documentElement;return!!e&&"HTML"!==e.nodeName},O=e.setDocument=function(t){var e,n,r=t?t.ownerDocument||t:M;return r!==j&&9===r.nodeType&&r.documentElement?(j=r,N=j.documentElement,D=!C(j),M!==j&&(n=j.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",wt,!1):n.attachEvent&&n.attachEvent("onunload",wt)),_.attributes=i(function(t){return t.className="i",!t.getAttribute("className")}),_.getElementsByTagName=i(function(t){return t.appendChild(j.createComment("")),!t.getElementsByTagName("*").length}),_.getElementsByClassName=ht.test(j.getElementsByClassName),_.getById=i(function(t){return N.appendChild(t).id=F,!j.getElementsByName||!j.getElementsByName(F).length}),_.getById?(w.filter.ID=function(t){var e=t.replace(mt,yt);return function(t){return t.getAttribute("id")===e}},w.find.ID=function(t,e){if(void 0!==e.getElementById&&D){var n=e.getElementById(t);return n?[n]:[]}}):(w.filter.ID=function(t){var e=t.replace(mt,yt);return function(t){var n=void 0!==t.getAttributeNode&&t.getAttributeNode("id");return n&&n.value===e}},w.find.ID=function(t,e){if(void 0!==e.getElementById&&D){var n,r,i,o=e.getElementById(t);if(o){if((n=o.getAttributeNode("id"))&&n.value===t)return[o];for(i=e.getElementsByName(t),r=0;o=i[r++];)if((n=o.getAttributeNode("id"))&&n.value===t)return[o]}return[]}}),w.find.TAG=_.getElementsByTagName?function(t,e){return void 0!==e.getElementsByTagName?e.getElementsByTagName(t):_.qsa?e.querySelectorAll(t):void 0}:function(t,e){var n,r=[],i=0,o=e.getElementsByTagName(t);if("*"===t){for(;n=o[i++];)1===n.nodeType&&r.push(n);return r}return o},w.find.CLASS=_.getElementsByClassName&&function(t,e){if(void 0!==e.getElementsByClassName&&D)return e.getElementsByClassName(t)},L=[],I=[],(_.qsa=ht.test(j.querySelectorAll))&&(i(function(t){N.appendChild(t).innerHTML=" ",t.querySelectorAll("[msallowcapture^='']").length&&I.push("[*^$]="+tt+"*(?:''|\"\")"),t.querySelectorAll("[selected]").length||I.push("\\["+tt+"*(?:value|"+Y+")"),t.querySelectorAll("[id~="+F+"-]").length||I.push("~="),t.querySelectorAll(":checked").length||I.push(":checked"),t.querySelectorAll("a#"+F+"+*").length||I.push(".#.+[+~]")}),i(function(t){t.innerHTML=" ";var e=j.createElement("input");e.setAttribute("type","hidden"),t.appendChild(e).setAttribute("name","D"),t.querySelectorAll("[name=d]").length&&I.push("name"+tt+"*[*^$|!~]?="),2!==t.querySelectorAll(":enabled").length&&I.push(":enabled",":disabled"),N.appendChild(t).disabled=!0,2!==t.querySelectorAll(":disabled").length&&I.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),I.push(",.*:")})),(_.matchesSelector=ht.test(R=N.matches||N.webkitMatchesSelector||N.mozMatchesSelector||N.oMatchesSelector||N.msMatchesSelector))&&i(function(t){_.disconnectedMatch=R.call(t,"*"),R.call(t,"[s!='']:x"),L.push("!=",rt)}),I=I.length&&new RegExp(I.join("|")),L=L.length&&new RegExp(L.join("|")),e=ht.test(N.compareDocumentPosition),P=e||ht.test(N.contains)?function(t,e){var n=9===t.nodeType?t.documentElement:t,r=e&&e.parentNode;return t===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):t.compareDocumentPosition&&16&t.compareDocumentPosition(r)))}:function(t,e){if(e)for(;e=e.parentNode;)if(e===t)return!0;return!1},z=e?function(t,e){if(t===e)return S=!0,0;var n=!t.compareDocumentPosition-!e.compareDocumentPosition;return n||(n=(t.ownerDocument||t)===(e.ownerDocument||e)?t.compareDocumentPosition(e):1,1&n||!_.sortDetached&&e.compareDocumentPosition(t)===n?t===j||t.ownerDocument===M&&P(M,t)?-1:e===j||e.ownerDocument===M&&P(M,e)?1:E?Z(E,t)-Z(E,e):0:4&n?-1:1)}:function(t,e){if(t===e)return S=!0,0;var n,r=0,i=t.parentNode,o=e.parentNode,s=[t],u=[e];if(!i||!o)return t===j?-1:e===j?1:i?-1:o?1:E?Z(E,t)-Z(E,e):0;if(i===o)return a(t,e);for(n=t;n=n.parentNode;)s.unshift(n);for(n=e;n=n.parentNode;)u.unshift(n);for(;s[r]===u[r];)r++;return r?a(s[r],u[r]):s[r]===M?-1:u[r]===M?1:0},j):j},e.matches=function(t,n){return e(t,null,null,n)},e.matchesSelector=function(t,n){if((t.ownerDocument||t)!==j&&O(t),n=n.replace(ut,"='$1']"),_.matchesSelector&&D&&!W[n+" "]&&(!L||!L.test(n))&&(!I||!I.test(n)))try{var r=R.call(t,n);if(r||_.disconnectedMatch||t.document&&11!==t.document.nodeType)return r}catch(t){}return e(n,j,null,[t]).length>0},e.contains=function(t,e){return(t.ownerDocument||t)!==j&&O(t),P(t,e)},e.attr=function(t,e){(t.ownerDocument||t)!==j&&O(t);var n=w.attrHandle[e.toLowerCase()],r=n&&V.call(w.attrHandle,e.toLowerCase())?n(t,e,!D):void 0;return void 0!==r?r:_.attributes||!D?t.getAttribute(e):(r=t.getAttributeNode(e))&&r.specified?r.value:null},e.escape=function(t){return(t+"").replace(bt,_t)},e.error=function(t){throw new Error("Syntax error, unrecognized expression: "+t)},e.uniqueSort=function(t){var e,n=[],r=0,i=0;if(S=!_.detectDuplicates,E=!_.sortStable&&t.slice(0),t.sort(z),S){for(;e=t[i++];)e===t[i]&&(r=n.push(i));for(;r--;)t.splice(n[r],1)}return E=null,t},x=e.getText=function(t){var e,n="",r=0,i=t.nodeType;if(i){if(1===i||9===i||11===i){if("string"==typeof t.textContent)return t.textContent;for(t=t.firstChild;t;t=t.nextSibling)n+=x(t)}else if(3===i||4===i)return t.nodeValue}else for(;e=t[r++];)n+=x(e);return n},w=e.selectors={cacheLength:50,createPseudo:r,match:ft,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){return t[1]=t[1].replace(mt,yt),t[3]=(t[3]||t[4]||t[5]||"").replace(mt,yt),"~="===t[2]&&(t[3]=" "+t[3]+" "),t.slice(0,4)},CHILD:function(t){return t[1]=t[1].toLowerCase(),"nth"===t[1].slice(0,3)?(t[3]||e.error(t[0]),t[4]=+(t[4]?t[5]+(t[6]||1):2*("even"===t[3]||"odd"===t[3])),t[5]=+(t[7]+t[8]||"odd"===t[3])):t[3]&&e.error(t[0]),t},PSEUDO:function(t){var e,n=!t[6]&&t[2];return ft.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":n&&ct.test(n)&&(e=T(n,!0))&&(e=n.indexOf(")",n.length-e)-n.length)&&(t[0]=t[0].slice(0,e),t[2]=n.slice(0,e)),t.slice(0,3))}},filter:{TAG:function(t){var e=t.replace(mt,yt).toLowerCase();return"*"===t?function(){return!0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===e}},CLASS:function(t){var e=B[t+" "];return e||(e=new RegExp("(^|"+tt+")"+t+"("+tt+"|$)"))&&B(t,function(t){return e.test("string"==typeof t.className&&t.className||void 0!==t.getAttribute&&t.getAttribute("class")||"")})},ATTR:function(t,n,r){return function(i){var o=e.attr(i,t);return null==o?"!="===n:!n||(o+="","="===n?o===r:"!="===n?o!==r:"^="===n?r&&0===o.indexOf(r):"*="===n?r&&o.indexOf(r)>-1:"$="===n?r&&o.slice(-r.length)===r:"~="===n?(" "+o.replace(it," ")+" ").indexOf(r)>-1:"|="===n&&(o===r||o.slice(0,r.length+1)===r+"-"))}},CHILD:function(t,e,n,r,i){var o="nth"!==t.slice(0,3),a="last"!==t.slice(-4),s="of-type"===e;return 1===r&&0===i?function(t){return!!t.parentNode}:function(e,n,u){var c,l,f,p,d,h,v=o!==a?"nextSibling":"previousSibling",g=e.parentNode,m=s&&e.nodeName.toLowerCase(),y=!u&&!s,b=!1;if(g){if(o){for(;v;){for(p=e;p=p[v];)if(s?p.nodeName.toLowerCase()===m:1===p.nodeType)return!1;h=v="only"===t&&!h&&"nextSibling"}return!0}if(h=[a?g.firstChild:g.lastChild],a&&y){for(p=g,f=p[F]||(p[F]={}),l=f[p.uniqueID]||(f[p.uniqueID]={}),c=l[t]||[],d=c[0]===q&&c[1],b=d&&c[2],p=d&&g.childNodes[d];p=++d&&p&&p[v]||(b=d=0)||h.pop();)if(1===p.nodeType&&++b&&p===e){l[t]=[q,d,b];break}}else if(y&&(p=e,f=p[F]||(p[F]={}),l=f[p.uniqueID]||(f[p.uniqueID]={}),c=l[t]||[],d=c[0]===q&&c[1],b=d),!1===b)for(;(p=++d&&p&&p[v]||(b=d=0)||h.pop())&&((s?p.nodeName.toLowerCase()!==m:1!==p.nodeType)||!++b||(y&&(f=p[F]||(p[F]={}),l=f[p.uniqueID]||(f[p.uniqueID]={}),l[t]=[q,b]),p!==e)););return(b-=i)===r||b%r==0&&b/r>=0}}},PSEUDO:function(t,n){var i,o=w.pseudos[t]||w.setFilters[t.toLowerCase()]||e.error("unsupported pseudo: "+t);return o[F]?o(n):o.length>1?(i=[t,t,"",n],w.setFilters.hasOwnProperty(t.toLowerCase())?r(function(t,e){for(var r,i=o(t,n),a=i.length;a--;)r=Z(t,i[a]),t[r]=!(e[r]=i[a])}):function(t){return o(t,0,i)}):o}},pseudos:{not:r(function(t){var e=[],n=[],i=$(t.replace(ot,"$1"));return i[F]?r(function(t,e,n,r){for(var o,a=i(t,null,r,[]),s=t.length;s--;)(o=a[s])&&(t[s]=!(e[s]=o))}):function(t,r,o){return e[0]=t,i(e,null,o,n),e[0]=null,!n.pop()}}),has:r(function(t){return function(n){return e(t,n).length>0}}),contains:r(function(t){return t=t.replace(mt,yt),function(e){return(e.textContent||e.innerText||x(e)).indexOf(t)>-1}}),lang:r(function(t){return lt.test(t||"")||e.error("unsupported lang: "+t),t=t.replace(mt,yt).toLowerCase(),function(e){var n;do{if(n=D?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return(n=n.toLowerCase())===t||0===n.indexOf(t+"-")}while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:function(e){var n=t.location&&t.location.hash;return n&&n.slice(1)===e.id},root:function(t){return t===N},focus:function(t){return t===j.activeElement&&(!j.hasFocus||j.hasFocus())&&!!(t.type||t.href||~t.tabIndex)},enabled:s(!1),disabled:s(!0),checked:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&!!t.checked||"option"===e&&!!t.selected},selected:function(t){return t.parentNode&&t.parentNode.selectedIndex,!0===t.selected},empty:function(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeType<6)return!1;return!0},parent:function(t){return!w.pseudos.empty(t)},header:function(t){return dt.test(t.nodeName)},input:function(t){return pt.test(t.nodeName)},button:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&"button"===t.type||"button"===e},text:function(t){var e;return"input"===t.nodeName.toLowerCase()&&"text"===t.type&&(null==(e=t.getAttribute("type"))||"text"===e.toLowerCase())},first:u(function(){return[0]}),last:u(function(t,e){return[e-1]}),eq:u(function(t,e,n){return[n<0?n+e:n]}),even:u(function(t,e){for(var n=0;n=0;)t.push(r);return t}),gt:u(function(t,e,n){for(var r=n<0?n+e:n;++r2&&"ID"===(a=o[0]).type&&9===e.nodeType&&D&&w.relative[o[1].type]){if(!(e=(w.find.ID(a.matches[0].replace(mt,yt),e)||[])[0]))return n;l&&(e=e.parentNode),t=t.slice(o.shift().value.length)}for(i=ft.needsContext.test(t)?0:o.length;i--&&(a=o[i],!w.relative[s=a.type]);)if((u=w.find[s])&&(r=u(a.matches[0].replace(mt,yt),gt.test(o[0].type)&&c(e.parentNode)||e))){if(o.splice(i,1),!(t=r.length&&f(o)))return Q.apply(n,r),n;break}}return(l||$(t,p))(r,e,!D,n,!e||gt.test(t)&&c(e.parentNode)||e),n},_.sortStable=F.split("").sort(z).join("")===F,_.detectDuplicates=!!S,O(),_.sortDetached=i(function(t){return 1&t.compareDocumentPosition(j.createElement("fieldset"))}),i(function(t){return t.innerHTML=" ","#"===t.firstChild.getAttribute("href")})||o("type|href|height|width",function(t,e,n){if(!n)return t.getAttribute(e,"type"===e.toLowerCase()?1:2)}),_.attributes&&i(function(t){return t.innerHTML=" ",t.firstChild.setAttribute("value",""),""===t.firstChild.getAttribute("value")})||o("value",function(t,e,n){if(!n&&"input"===t.nodeName.toLowerCase())return t.defaultValue}),i(function(t){return null==t.getAttribute("disabled")})||o(Y,function(t,e,n){var r;if(!n)return!0===t[e]?e.toLowerCase():(r=t.getAttributeNode(e))&&r.specified?r.value:null}),e}(n);yt.find=Ct,yt.expr=Ct.selectors,yt.expr[":"]=yt.expr.pseudos,yt.uniqueSort=yt.unique=Ct.uniqueSort,yt.text=Ct.getText,yt.isXMLDoc=Ct.isXML,yt.contains=Ct.contains,yt.escapeSelector=Ct.escape;var Tt=function(t,e,n){for(var r=[],i=void 0!==n;(t=t[e])&&9!==t.nodeType;)if(1===t.nodeType){if(i&&yt(t).is(n))break;r.push(t)}return r},$t=function(t,e){for(var n=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&n.push(t);return n},At=yt.expr.match.needsContext,kt=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i,Et=/^.[^:#\[\.,]*$/;yt.filter=function(t,e,n){var r=e[0];return n&&(t=":not("+t+")"),1===e.length&&1===r.nodeType?yt.find.matchesSelector(r,t)?[r]:[]:yt.find.matches(t,yt.grep(e,function(t){return 1===t.nodeType}))},yt.fn.extend({find:function(t){var e,n,r=this.length,i=this;if("string"!=typeof t)return this.pushStack(yt(t).filter(function(){for(e=0;e1?yt.uniqueSort(n):n},filter:function(t){return this.pushStack(c(this,t||[],!1))},not:function(t){return this.pushStack(c(this,t||[],!0))},is:function(t){return!!c(this,"string"==typeof t&&At.test(t)?yt(t):t||[],!1).length}});var St,Ot=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(yt.fn.init=function(t,e,n){var r,i;if(!t)return this;if(n=n||St,"string"==typeof t){if(!(r="<"===t[0]&&">"===t[t.length-1]&&t.length>=3?[null,t,null]:Ot.exec(t))||!r[1]&&e)return!e||e.jquery?(e||n).find(t):this.constructor(e).find(t);if(r[1]){if(e=e instanceof yt?e[0]:e,yt.merge(this,yt.parseHTML(r[1],e&&e.nodeType?e.ownerDocument||e:at,!0)),kt.test(r[1])&&yt.isPlainObject(e))for(r in e)yt.isFunction(this[r])?this[r](e[r]):this.attr(r,e[r]);return this}return i=at.getElementById(r[2]),i&&(this[0]=i,this.length=1),this}return t.nodeType?(this[0]=t,this.length=1,this):yt.isFunction(t)?void 0!==n.ready?n.ready(t):t(yt):yt.makeArray(t,this)}).prototype=yt.fn,St=yt(at);var jt=/^(?:parents|prev(?:Until|All))/,Nt={children:!0,contents:!0,next:!0,prev:!0};yt.fn.extend({has:function(t){var e=yt(t,this),n=e.length;return this.filter(function(){for(var t=0;t-1:1===n.nodeType&&yt.find.matchesSelector(n,t))){o.push(n);break}return this.pushStack(o.length>1?yt.uniqueSort(o):o)},index:function(t){return t?"string"==typeof t?ft.call(yt(t),this[0]):ft.call(this,t.jquery?t[0]:t):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(t,e){return this.pushStack(yt.uniqueSort(yt.merge(this.get(),yt(t,e))))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),yt.each({parent:function(t){var e=t.parentNode;return e&&11!==e.nodeType?e:null},parents:function(t){return Tt(t,"parentNode")},parentsUntil:function(t,e,n){return Tt(t,"parentNode",n)},next:function(t){return l(t,"nextSibling")},prev:function(t){return l(t,"previousSibling")},nextAll:function(t){return Tt(t,"nextSibling")},prevAll:function(t){return Tt(t,"previousSibling")},nextUntil:function(t,e,n){return Tt(t,"nextSibling",n)},prevUntil:function(t,e,n){return Tt(t,"previousSibling",n)},siblings:function(t){return $t((t.parentNode||{}).firstChild,t)},children:function(t){return $t(t.firstChild)},contents:function(t){return u(t,"iframe")?t.contentDocument:(u(t,"template")&&(t=t.content||t),yt.merge([],t.childNodes))}},function(t,e){yt.fn[t]=function(n,r){var i=yt.map(this,e,n);return"Until"!==t.slice(-5)&&(r=n),r&&"string"==typeof r&&(i=yt.filter(r,i)),this.length>1&&(Nt[t]||yt.uniqueSort(i),jt.test(t)&&i.reverse()),this.pushStack(i)}});var Dt=/[^\x20\t\r\n\f]+/g;yt.Callbacks=function(t){t="string"==typeof t?f(t):yt.extend({},t);var e,n,r,i,o=[],a=[],s=-1,u=function(){for(i=i||t.once,r=e=!0;a.length;s=-1)for(n=a.shift();++s-1;)o.splice(n,1),n<=s&&s--}),this},has:function(t){return t?yt.inArray(t,o)>-1:o.length>0},empty:function(){return o&&(o=[]),this},disable:function(){return i=a=[],o=n="",this},disabled:function(){return!o},lock:function(){return i=a=[],n||e||(o=n=""),this},locked:function(){return!!i},fireWith:function(t,n){return i||(n=n||[],n=[t,n.slice?n.slice():n],a.push(n),e||u()),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!r}};return c},yt.extend({Deferred:function(t){var e=[["notify","progress",yt.Callbacks("memory"),yt.Callbacks("memory"),2],["resolve","done",yt.Callbacks("once memory"),yt.Callbacks("once memory"),0,"resolved"],["reject","fail",yt.Callbacks("once memory"),yt.Callbacks("once memory"),1,"rejected"]],r="pending",i={state:function(){return r},always:function(){return o.done(arguments).fail(arguments),this},catch:function(t){return i.then(null,t)},pipe:function(){var t=arguments;return yt.Deferred(function(n){yt.each(e,function(e,r){var i=yt.isFunction(t[r[4]])&&t[r[4]];o[r[1]](function(){var t=i&&i.apply(this,arguments);t&&yt.isFunction(t.promise)?t.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[r[0]+"With"](this,i?[t]:arguments)})}),t=null}).promise()},then:function(t,r,i){function o(t,e,r,i){return function(){var s=this,u=arguments,c=function(){var n,c;if(!(t=a&&(r!==d&&(s=void 0,u=[n]),e.rejectWith(s,u))}};t?l():(yt.Deferred.getStackHook&&(l.stackTrace=yt.Deferred.getStackHook()),n.setTimeout(l))}}var a=0;return yt.Deferred(function(n){e[0][3].add(o(0,n,yt.isFunction(i)?i:p,n.notifyWith)),e[1][3].add(o(0,n,yt.isFunction(t)?t:p)),e[2][3].add(o(0,n,yt.isFunction(r)?r:d))}).promise()},promise:function(t){return null!=t?yt.extend(t,i):i}},o={};return yt.each(e,function(t,n){var a=n[2],s=n[5];i[n[1]]=a.add,s&&a.add(function(){r=s},e[3-t][2].disable,e[0][2].lock),a.add(n[3].fire),o[n[0]]=function(){return o[n[0]+"With"](this===o?void 0:this,arguments),this},o[n[0]+"With"]=a.fireWith}),i.promise(o),t&&t.call(o,o),o},when:function(t){var e=arguments.length,n=e,r=Array(n),i=ut.call(arguments),o=yt.Deferred(),a=function(t){return function(n){r[t]=this,i[t]=arguments.length>1?ut.call(arguments):n,--e||o.resolveWith(r,i)}};if(e<=1&&(h(t,o.done(a(n)).resolve,o.reject,!e),"pending"===o.state()||yt.isFunction(i[n]&&i[n].then)))return o.then();for(;n--;)h(i[n],a(n),o.reject);return o.promise()}});var It=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;yt.Deferred.exceptionHook=function(t,e){n.console&&n.console.warn&&t&&It.test(t.name)&&n.console.warn("jQuery.Deferred exception: "+t.message,t.stack,e)},yt.readyException=function(t){n.setTimeout(function(){throw t})};var Lt=yt.Deferred();yt.fn.ready=function(t){return Lt.then(t).catch(function(t){yt.readyException(t)}),this},yt.extend({isReady:!1,readyWait:1,ready:function(t){(!0===t?--yt.readyWait:yt.isReady)||(yt.isReady=!0,!0!==t&&--yt.readyWait>0||Lt.resolveWith(at,[yt]))}}),yt.ready.then=Lt.then,"complete"===at.readyState||"loading"!==at.readyState&&!at.documentElement.doScroll?n.setTimeout(yt.ready):(at.addEventListener("DOMContentLoaded",v),n.addEventListener("load",v));var Rt=function(t,e,n,r,i,o,a){var s=0,u=t.length,c=null==n;if("object"===yt.type(n)){i=!0;for(s in n)Rt(t,e,s,n[s],!0,o,a)}else if(void 0!==r&&(i=!0,yt.isFunction(r)||(a=!0),c&&(a?(e.call(t,r),e=null):(c=e,e=function(t,e,n){return c.call(yt(t),n)})),e))for(;s1,null,!0)},removeData:function(t){return this.each(function(){Mt.remove(this,t)})}}),yt.extend({queue:function(t,e,n){var r;if(t)return e=(e||"fx")+"queue",r=Ft.get(t,e),n&&(!r||Array.isArray(n)?r=Ft.access(t,e,yt.makeArray(n)):r.push(n)),r||[]},dequeue:function(t,e){e=e||"fx";var n=yt.queue(t,e),r=n.length,i=n.shift(),o=yt._queueHooks(t,e),a=function(){yt.dequeue(t,e)};"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===e&&n.unshift("inprogress"),delete o.stop,i.call(t,a,o)),!r&&o&&o.empty.fire()},_queueHooks:function(t,e){var n=e+"queueHooks";return Ft.get(t,n)||Ft.access(t,n,{empty:yt.Callbacks("once memory").add(function(){Ft.remove(t,[e+"queue",n])})})}}),yt.fn.extend({queue:function(t,e){var n=2;return"string"!=typeof t&&(e=t,t="fx",n--),arguments.length\x20\t\r\n\f]+)/i,Qt=/^$|\/(?:java|ecma)script/i,Gt={option:[1,""," "],thead:[1,""],col:[2,""],tr:[2,""],td:[3,""],_default:[0,"",""]};Gt.optgroup=Gt.option,Gt.tbody=Gt.tfoot=Gt.colgroup=Gt.caption=Gt.thead,Gt.th=Gt.td;var Zt=/<|?\w+;/;!function(){var t=at.createDocumentFragment(),e=t.appendChild(at.createElement("div")),n=at.createElement("input");n.setAttribute("type","radio"),n.setAttribute("checked","checked"),n.setAttribute("name","t"),e.appendChild(n),mt.checkClone=e.cloneNode(!0).cloneNode(!0).lastChild.checked,e.innerHTML="",mt.noCloneChecked=!!e.cloneNode(!0).lastChild.defaultValue}();var Yt=at.documentElement,te=/^key/,ee=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,ne=/^([^.]*)(?:\.(.+)|)/;yt.event={global:{},add:function(t,e,n,r,i){var o,a,s,u,c,l,f,p,d,h,v,g=Ft.get(t);if(g)for(n.handler&&(o=n,n=o.handler,i=o.selector),i&&yt.find.matchesSelector(Yt,i),n.guid||(n.guid=yt.guid++),(u=g.events)||(u=g.events={}),(a=g.handle)||(a=g.handle=function(e){return void 0!==yt&&yt.event.triggered!==e.type?yt.event.dispatch.apply(t,arguments):void 0}),e=(e||"").match(Dt)||[""],c=e.length;c--;)s=ne.exec(e[c])||[],d=v=s[1],h=(s[2]||"").split(".").sort(),d&&(f=yt.event.special[d]||{},d=(i?f.delegateType:f.bindType)||d,f=yt.event.special[d]||{},l=yt.extend({type:d,origType:v,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&yt.expr.match.needsContext.test(i),namespace:h.join(".")},o),(p=u[d])||(p=u[d]=[],p.delegateCount=0,f.setup&&!1!==f.setup.call(t,r,h,a)||t.addEventListener&&t.addEventListener(d,a)),f.add&&(f.add.call(t,l),l.handler.guid||(l.handler.guid=n.guid)),i?p.splice(p.delegateCount++,0,l):p.push(l),yt.event.global[d]=!0)},remove:function(t,e,n,r,i){var o,a,s,u,c,l,f,p,d,h,v,g=Ft.hasData(t)&&Ft.get(t);if(g&&(u=g.events)){for(e=(e||"").match(Dt)||[""],c=e.length;c--;)if(s=ne.exec(e[c])||[],d=v=s[1],h=(s[2]||"").split(".").sort(),d){for(f=yt.event.special[d]||{},d=(r?f.delegateType:f.bindType)||d,p=u[d]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=p.length;o--;)l=p[o],!i&&v!==l.origType||n&&n.guid!==l.guid||s&&!s.test(l.namespace)||r&&r!==l.selector&&("**"!==r||!l.selector)||(p.splice(o,1),l.selector&&p.delegateCount--,f.remove&&f.remove.call(t,l));a&&!p.length&&(f.teardown&&!1!==f.teardown.call(t,h,g.handle)||yt.removeEvent(t,d,g.handle),delete u[d])}else for(d in u)yt.event.remove(t,d+e[c],n,r,!0);yt.isEmptyObject(u)&&Ft.remove(t,"handle events")}},dispatch:function(t){var e,n,r,i,o,a,s=yt.event.fix(t),u=new Array(arguments.length),c=(Ft.get(this,"events")||{})[s.type]||[],l=yt.event.special[s.type]||{};for(u[0]=s,e=1;e=1))for(;c!==this;c=c.parentNode||this)if(1===c.nodeType&&("click"!==t.type||!0!==c.disabled)){for(o=[],a={},n=0;n-1:yt.find(i,this,null,[c]).length),a[i]&&o.push(r);o.length&&s.push({elem:c,handlers:o})}return c=this,u\x20\t\r\n\f]*)[^>]*)\/>/gi,ie=/
+@endsection
diff --git a/resources/views/Chapter_title_modify.blade.php b/resources/views/Chapter_title_modify.blade.php
new file mode 100644
index 0000000..f264a82
--- /dev/null
+++ b/resources/views/Chapter_title_modify.blade.php
@@ -0,0 +1,84 @@
+@extends('admin.Header')
+@section('content')
+
+
+
Change the Title of Chapter $id
"
+ ?>
+
+
+
+
+
+ ";
+
+ echo"
";
+ echo"
";
+ echo"
";
+
+ echo"
";
+ $link_back = url("/showstudymaterial");
+ echo"
Back to Material Page ";
+ echo"
";
+
+ echo"
";
+ echo"
";
+ echo"
";
+
+ ?>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+@endsection
\ No newline at end of file
diff --git a/resources/views/Chooseonesurvey.blade.php b/resources/views/Chooseonesurvey.blade.php
new file mode 100644
index 0000000..9c593b3
--- /dev/null
+++ b/resources/views/Chooseonesurvey.blade.php
@@ -0,0 +1,52 @@
+@extends('layouts.app')
+@section('content')
+
+
+
Please choose a survey
+
+
+
+
+
+
+";
+ echo"
";
+ echo"
";
+ echo"
";
+ echo"";
+ echo"Survey id Survey title Do this survey ";
+ echo" ";
+ $survey = json_decode($survey_question,true);
+ foreach($survey as $survey_value)
+ {
+ echo"";
+ $survey_id = $survey_value['id'];
+ $survey_title = $survey_value['title'];
+ echo"$survey_id ";
+ echo"$survey_title ";
+
+ $link_do = url("/surveys/$survey_id");
+ echo"Do it ";
+ echo" ";
+ }
+
+ echo"
";
+
+ $link_add_survey = url("/homepage");
+
+ echo"
Back to the homepage ";
+
+
+ echo"
"
+
+?>
+
+
+
+
+
+
+
+@endsection
\ No newline at end of file
diff --git a/resources/views/Error_Page.blade.php b/resources/views/Error_Page.blade.php
index f06a36b..bac379a 100644
--- a/resources/views/Error_Page.blade.php
+++ b/resources/views/Error_Page.blade.php
@@ -1,18 +1,5 @@
-
-
-
-
-
-
-
-
-
-
- Homepage
-
-
-
-
+@extends('layouts.app')
+@section('content')
Error Page
@@ -28,6 +15,4 @@
-
-
-
+
+
+
+
+
-
design and code by team
-
Copy right 2018
+
Design and code by team
+
Copy right 2018.
\ No newline at end of file
diff --git a/resources/views/Header.blade.php b/resources/views/Header.blade.php
index a32afbe..60f7603 100644
--- a/resources/views/Header.blade.php
+++ b/resources/views/Header.blade.php
@@ -2,27 +2,50 @@
-
+
-
+
+
diff --git a/resources/views/Homepage.blade.php b/resources/views/Homepage.blade.php
index b6e2049..dbec397 100644
--- a/resources/views/Homepage.blade.php
+++ b/resources/views/Homepage.blade.php
@@ -1,54 +1,81 @@
-
-
+@extends('layouts.app')
-
+@section('content')
-
-
-
-
-
- Homepage
-
+@guest
+
+
+
Welcome
+ This site hosts content and collects information related to applied ethics and moral psychology. To access educational modules and complete surveys, please
register or
login .";
+ echo"
It is the result of interdisciplinary education and research efforts by faculty members, administrators, and students in philosophy, computer science, social psychology, mathematics, and international education at the University of Michigan-Shanghai Jiao Tong University Joint Institute , and Institute of Social Cognitive and Behavioral Science, Shanghai Jiao Tong University.
";
+ echo"
Scandals involving ethics within engineering, business, and medicine negatively affect members of the public, corporations, and governments. Effective ethics training is necessary to address these problems, as well as to raising the reputations of individuals, organizations, and institutions that value ethics and engage in ethical behaviors. To do so, this site provides educational materials on applied ethics, as well as collects information regarding what people think is right and wrong and why, to further develop ethics curricula and contribute to the development of character and perspectives crucial to international leadership, professionalism, and citizenry.
";
+ echo"
Potential partners in education and industry are encouraged to contact Rockwell Clancy regarding the possibility of using this site in courses, corporate, or professional training: rockwell.clancy@sjtu.edu.cn
";
+ echo"
The educational modules included herein are based on materials abridged from Global Engineering Ethics , used with the permission of the authors and Elsevier Press. These should not be reproduced without the permission of the authors, Heinz Luegenbiehl and Rockwell Clancy: rockwell.clancy@sjtu.edu.cn.
";
+ ?>
-
-@include('Header')
+
+
+
-
-
-
Welcome
- This is a study webpage for you to learn and test engineering ethics. You can first do the following survey to have a primary impression.";
- ?>
+
+
+
+
+ ";
+ echo "
";
+ echo "
";
+ echo "
";
+ echo "
";
+ echo "
";
+ echo "
";
+ echo "
";
+ echo "
";
+ echo "
";
+ ?>
+
+@else
+
+
+
+
Welcome back, {{ Auth::user()->user_name }}
Start The Survey ";
- ?>
+ echo"
As a user, you can complete surveys and educational materials on applied ethics
";
+ $link_survey = url('/chooseonesurvey');
+ echo"
Start the Survey
";
+ ?>
+
+
-
-
-
-
-
-
-
-
-
-
News
-
The recent new about VG496
-
Learn More
+
+
+
+
+
+
+
+
+
+
News
+
Updates about the project
+
Learn More
+
-
-
-
-
- ";
+
+
+
+ ";
echo"
";
@@ -63,13 +90,13 @@
echo"
Go Study
";
echo"
";
- echo"
";
- ?>
+ echo"
";
+ ?>
+
+ {{--
--}}
+
-
-
-@include('Footer')
-
+@endguest
-
\ No newline at end of file
+@endsection
\ No newline at end of file
diff --git a/resources/views/add_newcase.blade.php b/resources/views/add_newcase.blade.php
new file mode 100644
index 0000000..51f8aa2
--- /dev/null
+++ b/resources/views/add_newcase.blade.php
@@ -0,0 +1,95 @@
+
+@extends('admin.Header')
+@section('content')
+
+
+
Add Case $id "
+ ?>
+
+
+
+
+
+
+ {{ csrf_field()}}
+ ";
+ echo " ";
+
+ echo "Case Title ";
+ echo "";
+ echo "";
+
+ echo " ";
+ echo "
";
+
+ echo "Case Details ";
+ echo "";
+ echo "";
+
+ echo " ";
+ echo "
";
+
+ echo "Case reference ";
+ echo "";
+ echo "";
+
+ echo " ";
+ echo "
";
+
+ echo "";
+ echo"";
+ echo $id;
+ echo" ";
+ echo "
";
+
+
+ echo"submit ";
+ echo " ";
+ echo " ";
+ ?>
+
+ ";
+ echo"
";
+ echo"
";
+ echo"
";
+
+ echo"
";
+ $link_back = url("/showstudymaterial");
+
+
+ echo "";
+
+ echo"
";
+ echo"
";
+ $link_back = url("/showstudymaterial");
+ echo"
Back to Material Page ";
+ echo"
";
+
+ echo"
";
+ echo"
";
+ echo"
";
+
+ ?>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+@endsection
\ No newline at end of file
diff --git a/resources/views/add_newsection.blade.php b/resources/views/add_newsection.blade.php
index 4a4fa6a..aee23d2 100644
--- a/resources/views/add_newsection.blade.php
+++ b/resources/views/add_newsection.blade.php
@@ -1,18 +1,6 @@
-
-
-
-
-
-
-
-
-
-
-
Homepage
-
-
-
+@extends('admin.Header')
+@section('content')
$section_counter";
+ echo "
";
+ echo "
";
echo "
Section ID ";
echo "
-
-
-
-
\ No newline at end of file
+@endsection
\ No newline at end of file
diff --git a/resources/views/add_newsectionquestions.blade.php b/resources/views/add_newsectionquestions.blade.php
new file mode 100644
index 0000000..3cc794d
--- /dev/null
+++ b/resources/views/add_newsectionquestions.blade.php
@@ -0,0 +1,98 @@
+
+@extends('admin.Header')
+@section('content')
+
+
+
Add a New Section question for Chapter $id "
+ ?>
+
+
+
+
+
+
+ {{ csrf_field() }}
+ ";
+ echo " ";
+ echo "Section ID ";
+ echo "";
+ echo"";
+
+ echo" ";
+ echo "
";
+
+
+ echo "Question ID ";
+ echo "";
+ echo "";
+
+ echo " ";
+ echo "
";
+
+ echo "Question details ";
+ echo "";
+ echo "";
+
+ echo " ";
+ echo "
";
+
+ echo "";
+ echo"";
+ echo $id;
+ echo" ";
+ echo "
";
+
+
+
+
+
+
+
+
+
+ echo"submit ";
+ echo " ";
+ echo " ";
+ ?>
+
+ ";
+
+
+ echo"
";
+ echo"
";
+ echo"
";
+
+ echo"
";
+ $link_back = url("/check/chapter/$id");
+ echo"
Back to Check Page ";
+ echo"
";
+
+ echo"
";
+ echo"
";
+ echo"
";
+
+ ?>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+@endsection
\ No newline at end of file
diff --git a/resources/views/add_newsurvey.blade.php b/resources/views/add_newsurvey.blade.php
new file mode 100644
index 0000000..ed71057
--- /dev/null
+++ b/resources/views/add_newsurvey.blade.php
@@ -0,0 +1,83 @@
+
+@extends('admin.Header')
+@section('content')
+
+
+
Add a New Survey "
+ ?>
+
+
+
+
+
+
+ {{ csrf_field() }}
+ ";
+
+ echo "Survey id ";
+ echo "";
+ echo "";
+
+ echo " ";
+ echo "
";
+
+ echo "Survey Title ";
+ echo "";
+ echo "";
+
+ echo " ";
+ echo "
";
+ for ($i = 0;$i<=5;$i++)
+ {
+ echo "Choice $i ";
+ echo "";
+ echo "";
+
+ echo " ";
+ echo "
";
+ }
+
+
+ echo"submit ";
+ echo " ";
+ echo " ";
+ ?>
+
+";
+ echo"
";
+ echo"
";
+ echo"
";
+
+ echo"
";
+ $link_back = url("/showsurvey");
+ echo"
Back to Check Page ";
+ echo"
";
+
+ echo"
";
+ echo"
";
+ echo"
";
+?>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+@endsection
\ No newline at end of file
diff --git a/resources/views/add_newsurveyquestions.blade.php b/resources/views/add_newsurveyquestions.blade.php
new file mode 100644
index 0000000..d40e4a1
--- /dev/null
+++ b/resources/views/add_newsurveyquestions.blade.php
@@ -0,0 +1,82 @@
+@extends('admin.Header')
+@section('content')
+
+
+
Add a New Survey question for Survey $id "
+ ?>
+
+
+
+
+
+
+ {{ csrf_field() }}
+ ";
+ echo " ";
+
+ echo "Question details ";
+ echo "";
+ echo "";
+
+ echo " ";
+ echo "
";
+
+ echo "";
+ echo"";
+ echo $id;
+ echo" ";
+ echo "
";
+
+
+
+
+
+
+
+
+
+ echo"submit ";
+ echo " ";
+ echo " ";
+ ?>
+
+ ";
+
+
+ echo"
";
+ echo"
";
+ echo"
";
+
+ echo"
";
+ $link_back = url("/check/survey/$id");
+ echo"
Back to Check Page ";
+ echo"
";
+
+ echo"
";
+ echo"
";
+ echo"
";
+
+ ?>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+@endsection
\ No newline at end of file
diff --git a/resources/views/admin/AdminHomepage.blade.php b/resources/views/admin/AdminHomepage.blade.php
new file mode 100644
index 0000000..fe69eff
--- /dev/null
+++ b/resources/views/admin/AdminHomepage.blade.php
@@ -0,0 +1,127 @@
+@extends('admin.Header')
+
+@section('style')
+ @parent
+
+@endsection
+
+@section('content')
+
+@guest('admin')
+
+
+
Welcome
+
This is the admin page.
+
+
Log in ";
+ ?>
+
+
+
+
+
+
+@else
+
+
+
Administer Page
+
+
+
+
+
+
+
+
Study material
+
+
+
Adjusting the study material.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Survey Management
+
+
+
Adjusting the Survey question
+
+
+
+
+
+
+
+
+
+
+
View answers
+
+
+
View the answer of the students
+
+
+
+
+
+
+
+
+
+
+@endguest
+@endsection
\ No newline at end of file
diff --git a/resources/views/admin/Header.blade.php b/resources/views/admin/Header.blade.php
new file mode 100644
index 0000000..a168455
--- /dev/null
+++ b/resources/views/admin/Header.blade.php
@@ -0,0 +1,103 @@
+
+
+
+
+
+
+
+
+
+
+ Admin
+
+
+
+
+
+
+
+
+ @section('style')
+
+ @show
+
+
+
+
+
+
+
+
+ {{----}}
+
+
+ @yield('content')
+
+
+
+
+
+@section('script')
+
+@show
+
+
+
+
+
+
+
diff --git a/resources/views/admin/auth/login.blade.php b/resources/views/admin/auth/login.blade.php
new file mode 100644
index 0000000..5b7a8dc
--- /dev/null
+++ b/resources/views/admin/auth/login.blade.php
@@ -0,0 +1,72 @@
+@extends('admin.Header')
+@section('content')
+
+
+
+
+
+
+
+
+ {{ csrf_field() }}
+
+
+
+
+
+ {{----}}
+
+
+
+
+
+
+
+
+@endsection
\ No newline at end of file
diff --git a/resources/views/admin/data_analysis/analysis_result.blade.php b/resources/views/admin/data_analysis/analysis_result.blade.php
new file mode 100644
index 0000000..a47b25a
--- /dev/null
+++ b/resources/views/admin/data_analysis/analysis_result.blade.php
@@ -0,0 +1,256 @@
+@extends('admin.Header')
+
+@section('style')
+ @parent
+
+@endsection
+
+@section('content')
+
+
+
+
+
+
+
Sentiment distribution
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Co-occurrence
+
+
+
+
+
+
+
+
+
+
+
+Return "
+
+?>
+@endsection
+
+@section('script')
+ @parent
+
+@endsection
\ No newline at end of file
diff --git a/resources/views/admin/data_analysis/noanswer.blade.php b/resources/views/admin/data_analysis/noanswer.blade.php
new file mode 100644
index 0000000..0ac21d3
--- /dev/null
+++ b/resources/views/admin/data_analysis/noanswer.blade.php
@@ -0,0 +1,10 @@
+@extends('admin.Header')
+
+@section('content')
+ There is nobodying answering this question
+ Return
"
+
+ ?>
+@endsection
\ No newline at end of file
diff --git a/resources/views/admin/data_analysis/question_choose_user.blade.php b/resources/views/admin/data_analysis/question_choose_user.blade.php
new file mode 100644
index 0000000..e7b5078
--- /dev/null
+++ b/resources/views/admin/data_analysis/question_choose_user.blade.php
@@ -0,0 +1,104 @@
+@extends('admin.Header')
+
+@section('content')
+
+
+
+
Data Analysis
+
+
+
+
+
+
+
+
+
+@endsection
\ No newline at end of file
diff --git a/resources/views/admin/data_analysis/show_question.blade.php b/resources/views/admin/data_analysis/show_question.blade.php
new file mode 100644
index 0000000..41312c5
--- /dev/null
+++ b/resources/views/admin/data_analysis/show_question.blade.php
@@ -0,0 +1,136 @@
+@extends('admin.Header')
+
+@section('content')
+
+
+
+
All Questions
+
+
+
+
+
+
+ Survey Question";
+ echo"
";
+ echo"
";
+ echo"";
+ echo"Question id Question Detail Data Analysis Result ";
+ echo" ";
+ $chapter = json_decode($survey,true);
+ $survey_typeid = 3;
+ foreach($chapter as $ch_value)
+ {
+ echo"";
+ $questionid = $ch_value['id'];
+ $questiondetail = $ch_value['detail'];
+ echo"$questionid ";
+ echo"$questiondetail ";
+ $link_sec = url("/dataanalysis/survey/$questionid");
+ echo"check ";
+ if (in_array($questionid, $survey_hasresult)){
+ $result_url = url("/dataanalysis/result/$survey_typeid/$questionid");
+ echo "result ";
+ } else {
+ echo "No result ";
+ }
+ echo" ";
+ }
+
+ echo"
";
+
+ ?>
+
+
+
+
+
+ Case Study Question";
+ echo"
";
+ echo"
";
+ echo"";
+ echo"Question id Question Detail Data Analysis Result ";
+ echo" ";
+ $chapter = json_decode($casestudy,true);
+ $case_detail = json_decode($casematerial,true);
+ $case_now = 1;
+ $case_typeid = 1;
+
+
+ foreach($chapter as $ch_value)
+ {
+ if($ch_value['case_id'] == $case_now){
+ $tmp_title = $case_detail[$case_now -1]['title'];
+ echo"";
+ echo"Case $case_now $tmp_title ";
+ echo" ";
+ $case_now++;
+ }
+ echo"";
+ $absolute_id = $ch_value['id'];
+ $questionid = $ch_value['question_id'];
+ $questiondetail = $ch_value['detail'];
+ echo"$questionid ";
+ echo"$questiondetail ";
+ $link_sec = url("/dataanalysis/casestudy/$absolute_id");
+ echo"check ";
+ if (in_array($absolute_id, $case_hasresult)){
+ $result_url = url("/dataanalysis/result/$case_typeid/$absolute_id");
+ echo "result ";
+ } else {
+ echo "No result ";
+ }
+ echo" ";
+ }
+
+ echo"
";
+
+ ?>
+
+
+
+
+
+ Section Study Question";
+ echo"
";
+ echo"
";
+ echo"";
+ echo"Question id Question Detail Data Analysis Result ";
+ echo" ";
+ $chapter = json_decode($section,true);
+ $section_typeid = 2;
+ $i=0;
+ foreach($chapter as $ch_value)
+ {
+ echo"";
+ $i++;
+ $questionid = $ch_value['id'];
+ $questiondetail = $ch_value['detail'];
+ echo"$i ";
+ echo"$questiondetail ";
+ $link_sec = url("/dataanalysis/sectionstudy/$questionid");
+ echo"check ";
+ if (in_array($questionid, $section_hasresult)){
+ $result_url = url("/dataanalysis/result/$survey_typeid/$questionid");
+ echo "result ";
+ } else {
+ echo "No result ";
+ }
+ echo" ";
+ }
+
+ echo"
";
+
+ ?>
+
+
+
+
+
+
+
+
+@endsection
\ No newline at end of file
diff --git a/resources/views/admin/data_analysis/submit_result.blade.php b/resources/views/admin/data_analysis/submit_result.blade.php
new file mode 100644
index 0000000..0333915
--- /dev/null
+++ b/resources/views/admin/data_analysis/submit_result.blade.php
@@ -0,0 +1,12 @@
+@extends('admin.Header')
+
+@section('content')
+ The request has been sent.
+ Check ";
+ echo $message;
+ ?>
+
+@endsection
+
diff --git a/resources/views/admin/result/index.blade.php b/resources/views/admin/result/index.blade.php
new file mode 100644
index 0000000..c621282
--- /dev/null
+++ b/resources/views/admin/result/index.blade.php
@@ -0,0 +1,35 @@
+@extends('admin.Header')
+@section('content')
+ Show by users
+
+
+ {{ csrf_field() }}
+ Select the semester:
+
+
+ @foreach ($semesters as $semester)
+ {{$semester}}
+ @endforeach
+
+
+
+
+
+ Select the section:
+
+
+ @foreach ($section_numbers as $section)
+ {{$section}}
+ @endforeach
+
+
+
+
+
+ Get the students
+
+
+
+
+
+@endsection('content')
\ No newline at end of file
diff --git a/resources/views/admin/result/show_by_id.blade.php b/resources/views/admin/result/show_by_id.blade.php
new file mode 100644
index 0000000..4ca4f21
--- /dev/null
+++ b/resources/views/admin/result/show_by_id.blade.php
@@ -0,0 +1,22 @@
+@extends('admin.Header')
+
+@section('content')
+{{$user->first_name}} {{$user->last_name}}'s answers
+
+Answer for chapter questions
+
+
+
+ Chapter number
+ Question description
+ Answer
+
+ @foreach($section_question_answers as $answer)
+
+ {{$answer->chapter_id}}
+ {{$answer->detail}}
+ {{$answer->answer}}
+
+ @endforeach
+
+@endsection('content')
\ No newline at end of file
diff --git a/resources/views/admin/result/show_by_user.blade.php b/resources/views/admin/result/show_by_user.blade.php
new file mode 100644
index 0000000..9442c70
--- /dev/null
+++ b/resources/views/admin/result/show_by_user.blade.php
@@ -0,0 +1,18 @@
+@extends('admin.Header')
+@section('content')
+ Show by users from section {{$section}} in {{$semester}}
+
+
+ Student ID
+ First Name
+ Last Name
+ @foreach($users as $user)
+
+ {{$user->studentIDs}}
+ {{$user->first_name}}
+ {{$user->last_name}}
+
+
+ @endforeach
+
+@endsection('content')
\ No newline at end of file
diff --git a/resources/views/administer_data_show.blade.php b/resources/views/administer_data_show.blade.php
index ef74ff4..505417b 100644
--- a/resources/views/administer_data_show.blade.php
+++ b/resources/views/administer_data_show.blade.php
@@ -1,17 +1,5 @@
-
-
-
-
-
-
-
-
-
-
- Homepage
-
-
-
+@extends('admin.Header')
+@section('content')
-
-
-
-
\ No newline at end of file
+@endsection
\ No newline at end of file
diff --git a/resources/views/administer_material_add.blade.php b/resources/views/administer_material_add.blade.php
index d711a0b..2212960 100644
--- a/resources/views/administer_material_add.blade.php
+++ b/resources/views/administer_material_add.blade.php
@@ -1,17 +1,5 @@
-
-
-
-
-
-
-
-
-
-
- Homepage
-
-
-
+@extends('admin.Header')
+@section('content')
-
-
-
-
\ No newline at end of file
+@endsection
\ No newline at end of file
diff --git a/resources/views/administer_material_section.blade.php b/resources/views/administer_material_section.blade.php
index 87c492d..2080fe7 100644
--- a/resources/views/administer_material_section.blade.php
+++ b/resources/views/administer_material_section.blade.php
@@ -1,17 +1,5 @@
-
-
-
-
-
-
-
-
-
-
- Homepage
-
-
-
+@extends('admin.Header')
+@section('content')
-
-
-
-
\ No newline at end of file
+@endsection
\ No newline at end of file
diff --git a/resources/views/administer_material_submit.blade.php b/resources/views/administer_material_submit.blade.php
index d0c55fa..542a9b6 100644
--- a/resources/views/administer_material_submit.blade.php
+++ b/resources/views/administer_material_submit.blade.php
@@ -1,17 +1,5 @@
-
-
-
-
-
-
-
-
-
-
- Homepage
-
-
-
+@extends('admin.Header')
+@section('content')
@@ -82,6 +70,4 @@
-
-
-
\ No newline at end of file
+@endsection
\ No newline at end of file
diff --git a/resources/views/auth/login.blade.php b/resources/views/auth/login.blade.php
new file mode 100644
index 0000000..e8d7e71
--- /dev/null
+++ b/resources/views/auth/login.blade.php
@@ -0,0 +1,86 @@
+
+@extends('layouts.app')
+@section('content')
+
+
+
+
+
+
+
+
+ {{ csrf_field() }}
+
+
+
+
+
+ {{----}}
+
+
+
+
+
+
+
+
+@endsection
+
+@section('script')
+ @parent
+
+ @endsection
diff --git a/resources/views/auth/passwords/email.blade.php b/resources/views/auth/passwords/email.blade.php
new file mode 100644
index 0000000..ad38245
--- /dev/null
+++ b/resources/views/auth/passwords/email.blade.php
@@ -0,0 +1,47 @@
+@extends('layouts.app')
+
+@section('content')
+
+
+
+
+
Reset Password
+
+
+ @if (session('status'))
+
+ {{ session('status') }}
+
+ @endif
+
+
+ {{ csrf_field() }}
+
+
+
+
+
+
+
+
+
+
+@endsection
diff --git a/resources/views/auth/passwords/reset.blade.php b/resources/views/auth/passwords/reset.blade.php
new file mode 100644
index 0000000..84ec010
--- /dev/null
+++ b/resources/views/auth/passwords/reset.blade.php
@@ -0,0 +1,70 @@
+@extends('layouts.app')
+
+@section('content')
+
+
+
+
+
Reset Password
+
+
+
+ {{ csrf_field() }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+@endsection
diff --git a/resources/views/auth/register.blade.php b/resources/views/auth/register.blade.php
new file mode 100644
index 0000000..ee3e781
--- /dev/null
+++ b/resources/views/auth/register.blade.php
@@ -0,0 +1,154 @@
+
+@extends('layouts.app')
+@section('content')
+
+
+
+
+
Register
+
+
+
+ {{ csrf_field() }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+@endsection
diff --git a/resources/views/case_content_modify.blade.php b/resources/views/case_content_modify.blade.php
new file mode 100644
index 0000000..59bc094
--- /dev/null
+++ b/resources/views/case_content_modify.blade.php
@@ -0,0 +1,108 @@
+@extends('admin.Header')
+@section('content')
+
+
+
Change the Content of Case $id "
+ ?>
+
+
+
+
+
+
+ {{ csrf_field() }}
+ ","\r\n",$pre_case_detail);
+ $pre_case_ref = str_replace(" ","\r\n",$pre_case_ref);
+
+ echo " ";
+ echo " ";
+ echo "Case Title ";
+ echo "";
+ echo "";
+ echo "$pre_case_title";
+ echo " ";
+ echo "
";
+ echo " ";
+
+ echo "Chapter Details ";
+ echo "
+
+
+
+
+
+
+
+
+
+
+
+
+@endsection
+
diff --git a/resources/views/chapter.blade.php b/resources/views/chapter.blade.php
index 4e6aa83..dc75324 100644
--- a/resources/views/chapter.blade.php
+++ b/resources/views/chapter.blade.php
@@ -1,19 +1,5 @@
-
-
-
-
-
-
Study Page
-
-
-
-
-
-
-
-
-
-@include('Header')
+@extends('layouts.app')
+@section('content')
@@ -27,60 +13,61 @@
Chapters
- ";
- foreach ($chapters as $ch_value)
- {
- $chapter_id = $ch_value["id"];
- $title = $ch_value["title"];
- $link1 = url("/chapter/$chapter_id/section/1");
-
- echo "Chapter $chapter_id. $title ";
- echo "";
- echo "";
- foreach ($sections_title as $se_value)
- {
- if ($chapter_id == $sections1[0]["chapter_id"]){
- $sec_rank = $se_value["rank"];
- $section_title = $se_value["title"];
- if ($se_value["rank"] == $sections1[0]["rank"]){
- $link2 = url("/chapter/$chapter_id/section/$sec_rank");
- echo "$section_title ";
- }
- else{
- $link3 = url("/chapter/$chapter_id/section/$sec_rank");
- echo "$section_title ";
- }
- }
- }
- echo " ";
- echo " ";
- }
- foreach ($case_study as $ca_value)
- {
- $case_id = $ca_value["id"];
- $ca_title = $ca_value["title"];
- $link2 = url("casestudy/$case_id/step/1");
+ ";
+ foreach ($chapters as $ch_value)
+ {
+ $chapter_id = $ch_value["id"];
+ $title = $ch_value["title"];
+ $link1 = url("/chapter/$chapter_id/section/1");
- echo "Case Study $case_id. $ca_title ";
+ if ($chapter_id == $id){
+ echo "Chapter $chapter_id. $title ";
}
+ else{
+ echo "Chapter $chapter_id. $title ";
+ }
+ echo "";
+ echo "";
+ foreach ($sections_title as $se_value)
+ {
+ if ($chapter_id == $sections1[0]["chapter_id"]){
+ $sec_rank = $se_value["rank"];
+ $section_title = $se_value["title"];
+ if ($se_value["rank"] == $sections1[0]["rank"]){
+ $link2 = url("/chapter/$chapter_id/section/$sec_rank");
+ echo "$section_title ";
+ }
+ else{
+ $link3 = url("/chapter/$chapter_id/section/$sec_rank");
+ echo "$section_title ";
+ }
+ }
+ }
+ echo " ";
+ echo " ";
+ }
+
+ echo"Case Studies ";
+ foreach ($case_study as $ca_value)
+ {
+ $case_id = $ca_value["id"];
+ $ca_title = $ca_value["title"];
+ $link2 = url("casestudy/$case_id/step/1");
+
+ echo "Case Study $case_id. $ca_title ";
+ }
- echo "";//No li element in scope but a li end tag seen.
+ echo "";//No li element in scope but a li end tag seen.
+
+ ?>
- ?>
-
@@ -99,8 +86,9 @@
{
$detail = $se_value["detail"];
$title = $se_value["title"];
+
echo "
$title ";
- echo "
$detail
";
+ echo "
$detail
";
echo "
";
}
?>
@@ -108,85 +96,83 @@
{{ csrf_field() }}
- $ques_detail";
+ echo "$ques_detail ";
- echo "";
- echo "";
- if (isset($pre_user_answer)) {
- echo "$pre_user_answer";
- }
- unset($pre_user_answer);
- echo " ";
- echo "
";
+ echo "";
+ echo "";
+ if (isset($pre_user_answer)) {
+ echo "$pre_user_answer";
+ }
+ unset($pre_user_answer);
+ echo " ";
+ echo "
";
- echo "";
- echo"";
- echo $ques_id;
- echo" ";
- echo "
";
+ echo "";
+ echo"";
+ echo $ques_id;
+ echo" ";
+ echo "
";
- echo "";
- echo"";
- echo $user_id;
- echo" ";
- echo "
";
+ echo "";
+ echo"";
+ echo $section_rank;
+ echo" ";
+ echo "
";
- echo "";
- echo"";
- echo $section_rank;
- echo" ";
- echo "
";
- echo "";
- echo"";
- echo $id;
- echo" ";
- echo "
";
+ echo "";
+ echo"";
+ echo $id;
+ echo" ";
+ echo "
";
+
+ }
+ if($counter !=0)
+ {
+ echo"submit ";
+ }
+?>
+
+
+
+
+
- }
- if($counter !=0)
- {
- echo"
submit ";
- echo "
";
- echo "
";
- echo "";
- echo "
";
- }
- ?>
-@include('Footer')
-
-
-
+@endsection
diff --git a/resources/views/layout.blade.php b/resources/views/layout.blade.php
index 0528a58..8f4fd62 100644
--- a/resources/views/layout.blade.php
+++ b/resources/views/layout.blade.php
@@ -4,7 +4,7 @@
title
Title
-
+
Title
diff --git a/resources/views/layouts/app.blade.php b/resources/views/layouts/app.blade.php
new file mode 100644
index 0000000..e35ef71
--- /dev/null
+++ b/resources/views/layouts/app.blade.php
@@ -0,0 +1,97 @@
+
+
+
+
+
+
+
+
+
+
+ Global Applied Ethics
+
+
+
+
+
+
+
+
+ @section('style')
+
+ @show
+
+
+
+
+
+
+
+ @yield('content')
+
+
+
+
+ @section('script')
+
+ @show
+
+
diff --git a/resources/views/register_agreement.blade.php b/resources/views/register_agreement.blade.php
index a82fa53..d89776d 100644
--- a/resources/views/register_agreement.blade.php
+++ b/resources/views/register_agreement.blade.php
@@ -1,19 +1,5 @@
-
-
-
-
- Register Agreement
-
-
-
-
-
-
-
-
-
-
-@include('Header1')
+@extends('layouts.app')
+@section('content')
@@ -24,44 +10,60 @@
Principal Investigator: Rockwell F. Clancy
-
+
Confidentiality : Please answer as honestly and thoroughly as possible. No specific answers or identifying information will be disclosed publicly.
Purpose : To better understand the nature of and views about morality and topics related to applied ethics.
Procedures : If you consent to participate, you can read a variety of materials and answers questions about them.
Potential Risks or Discomforts : There should not be any risks or discomforts. You will be asked to honestly and thoughtfully answer questions about yourself, knowledge, and views.
Potential Benefits : Better understand topics related to applied ethics, your own views of morality, as well as those of others
Questions, Comments, or Concerns : If you have any questions, comments, or concerns about the research, you can contact Rockwell F. Clancy via email: rockwell.clancy@sjtu.edu.cn
-
+
+
+ {{ csrf_field() }}
- Next "
- ?>
+
+ Next
+
-
-
-
+{{-- --}}
+{{-- --}}
+{{-- --}}
+@endsection
+@section('script')
+ @parent
+
+@endsection
diff --git a/resources/views/register_info1.blade.php b/resources/views/register_info1.blade.php
index 9e6d843..520939b 100644
--- a/resources/views/register_info1.blade.php
+++ b/resources/views/register_info1.blade.php
@@ -1,36 +1,31 @@
-
-
-
-
- Demographic Information
-
-
-
-
-
-
-
-
-@include('Header1')
+@extends('layouts.app')
+@section('content')
Demographic Information
-
+
-
+ {{ csrf_field()}}
+
+
+ "
+ ?>
+
+
@@ -114,15 +110,17 @@
-@include('Footer')
-
+@endsection
+
+@section('script')
+ @parent
\ No newline at end of file
+
+@endsection
\ No newline at end of file
diff --git a/resources/views/register_info2.blade.php b/resources/views/register_info2.blade.php
index f7ee163..fbd1967 100644
--- a/resources/views/register_info2.blade.php
+++ b/resources/views/register_info2.blade.php
@@ -1,76 +1,68 @@
-
-
-
-
-
Language Information
-
-
-
-
-
-
-
-
-@include('Header1')
+@extends('layouts.app')
+@section('content')
Language Background
+
+ {{ csrf_field() }}
-
+
-
-
+
+ "
+ ?>
+
+
Languages
";
+ echo "";
$languages = json_decode($language, true);
foreach ($languages as $value) {
$id = $value["id"];
$name = $value["name"];
- echo "$name ";
+ echo "$name ";
}
echo " "
?>
-
+
Order in which language was learned:
-
- Native
- Second
- Third
- Fourth
+
+ Native
+ Second
+ Third
+ Fourth
-
-
-
+
Speaking
-
- Almost none
- Poor
- Fair
- Good
- Very good
+
+ Almost none
+ Poor
+ Fair
+ Good
+ Very good
Reading
-
- Almost none
- Poor
- Fair
- Good
- Very good
+
+ Almost none
+ Poor
+ Fair
+ Good
+ Very good
@@ -79,22 +71,22 @@
Listening
-
- Almost none
- Poor
- Fair
- Good
- Very good
+
+ Almost none
+ Poor
+ Fair
+ Good
+ Very good
Writing
-
- Almost none
- Poor
- Fair
- Good
- Very good
+
+ Almost none
+ Poor
+ Fair
+ Good
+ Very good
@@ -102,24 +94,23 @@
-
- Add another language
+ Add another language
Next "
+ /*$tmp = url("/register/info3");*/
+ echo " Next "
?>
-
+
@@ -132,8 +123,11 @@
-@include('Footer')
-
+
+@endsection
+
+@section('script')
+ @parent
\ No newline at end of file
+
+@endsection
\ No newline at end of file
diff --git a/resources/views/register_info3_nonstu.blade.php b/resources/views/register_info3_nonstu.blade.php
new file mode 100644
index 0000000..344706d
--- /dev/null
+++ b/resources/views/register_info3_nonstu.blade.php
@@ -0,0 +1,195 @@
+@extends('layouts.app')
+@section('content')
+
+
Educational & Financial Background
+
+ {{ csrf_field()}}
+
+
+
+
+
+ "
+ ?>
+
+
+
Education Level
+
+ Less than a high school diploma
+ High school degree or equivalent
+ Some college, no degree
+ Associate degree
+ Bachelor’s degree
+ Master’s degree
+ Professional degree
+ Doctorate
+
+
+
+ Major in
+ ";
+ $majors = json_decode($major, true);
+ foreach ($majors as $value) {
+ $id = $value["id"];
+ $name = $value["name"];
+ echo "$name ";
+ }
+ echo ""
+ ?>
+
+
+
+
+ Work industry:
+ ";
+ $industry= json_decode($industry, true);
+ foreach ($industry as $value) {
+ $id = $value["id"];
+ $name = $value["name"];
+ echo "$name ";
+ }
+ echo ""
+ ?>
+
+
+
+ Work position
+
+ Trained professional
+ Skilled Laborer
+ Junior management
+ Middle management
+ Upper management
+ Consultant
+ Administrative Staff
+ Temporary employee
+ Researcher
+ Self-employed
+ Other
+
+
+
+
+
+ Combined parental/familial income per month before taxes in RMB
+
+ less than 1,500
+ 1,500-4,500
+ 4,500-9,000
+ 9,000-35,000
+ 35,000-55,000
+ 55,000-80,000
+ 80,000 or more
+ I don't know
+
+
+
+
+
+ Combined parental/familial income per year before taxes in USD
+
+ less than 9,999
+ 10,000-19,999
+ 20,000-29,999
+ 30,000-39,999
+ 40,000-49,999
+ 50,000-59,999
+ 60,000-69,999
+ 70,000-79,999
+ 80,000-89,999
+ 90,000-99,999
+ 100,000 or more
+ I don’t know
+
+
+
+
+
+
+
+
+ Next "
+ ?>
+
+
+@endsection
+
+@section('script')
+ @parent
+
+@endsection
\ No newline at end of file
diff --git a/resources/views/register_info3_stu.blade.php b/resources/views/register_info3_stu.blade.php
index 04b5723..ca020a9 100644
--- a/resources/views/register_info3_stu.blade.php
+++ b/resources/views/register_info3_stu.blade.php
@@ -1,26 +1,23 @@
-
-
-
-
-
Education level
-
-
-
-
-
-
-
-
-@include('Header1')
+@extends('layouts.app')
+@section('content')
Educational & Financial Background
+
+ {{ csrf_field()}}
-
+
+
+
+
+ "
+ ?>
+
-
Highest education level achieved
-
+ Highest Education Degree Achieved
+
Less than a high school diploma
High school degree or equivalent
Some college, no degree
@@ -34,12 +31,12 @@
Majoring in
";
+ echo "";
$majors = json_decode($major, true);
foreach ($majors as $value) {
$id = $value["id"];
$name = $value["name"];
- echo "$name ";
+ echo "$name ";
}
echo " "
?>
@@ -48,22 +45,22 @@
Currently pursuing
-
- Bachelor's degree
- Master's degree
- Professional degree
- Doctorate
+
+ Bachelor's degree
+ Master's degree
+ Professional degree
+ Doctorate
Major (Currently pursuing)
";
+ echo "
";
$majors = json_decode($major, true);
foreach ($majors as $value) {
$id = $value["id"];
$name = $value["name"];
- echo "$name ";
+ echo "$name ";
}
echo " "
?>
@@ -73,15 +70,12 @@
Anticipated field of work:
";
+ echo "
";
$fields = json_decode($field, true);
foreach ($fields as $value) {
$id = $value["id"];
$name = $value["name"];
- if ($name == "Other") {
- $id = "0";
- }
- echo "$name ";
+ echo "$name ";
}
echo " "
?>
@@ -89,7 +83,7 @@
Highest parental education level
-
+
Less than a high school diploma
High school degree or equivalent
Some college, no degree
@@ -103,12 +97,12 @@
Major (of your parent)
";
+ echo "";
$majors = json_decode($major, true);
foreach ($majors as $value) {
$id = $value["id"];
$name = $value["name"];
- echo "$name ";
+ echo "$name ";
}
echo " "
?>
@@ -117,15 +111,15 @@
Combined parental/familial income per month before taxes in RMB
-
- less than 1,500
- 1,500-4,500
- 4,500-9,000
- 9,000-35,000
- 35,000-55,000
- 55,000-80,000
- 80,000 or more
- I don’t know
+
+ less than 1,500
+ 1,500-4,500
+ 4,500-9,000
+ 9,000-35,000
+ 35,000-55,000
+ 55,000-80,000
+ 80,000 or more
+ I don't know
@@ -148,18 +142,21 @@
-
+
Next "
+/* $tmp = url("/register/info4");*/
+ echo " Next "
?>
-@include('Footer')
-
+
+@endsection
+
+@section('script')
+ @parent
\ No newline at end of file
+
+@endsection
\ No newline at end of file
diff --git a/resources/views/register_info4.blade.php b/resources/views/register_info4.blade.php
index c9aedcb..3c28dcb 100644
--- a/resources/views/register_info4.blade.php
+++ b/resources/views/register_info4.blade.php
@@ -1,35 +1,29 @@
-
-
-
-
- Religious Background
-
-
-
-
-
-
-
-
-@include('Header1')
+@extends('layouts.app')
+@section('content')
Religious Background
+
+ {{ csrf_field()}}
-
+
+ "
+ ?>
+
Current religious affiliation
-
- Buddhist
- Catholic Christianity
- Hindu
- Jewish
- Mormon
- Muslim
- Non-believer (agnostic or atheist)
- Protestant Christianity
- Other
+
+ Buddhist
+ Catholic Christianity
+ Hindu
+ Jewish
+ Mormon
+ Muslim
+ Non-believer (agnostic or atheist)
+ Protestant Christianity
+ Other
@@ -37,17 +31,16 @@
Political orientation
-
- Very liberal
- Somewhat liberal
- Neither liberal nor conservative
- Somewhat conservative
- Very conservative
+
+ Very liberal
+ Somewhat liberal
+ Neither liberal nor conservative
+ Somewhat conservative
+ Very conservative
-
@@ -55,21 +48,22 @@
Submit ";
+ echo" Submit ";
?>
+
-@include('Footer')
-
+@endsection
+
+@section('script')
+ @parent
\ No newline at end of file
+
+@endsection
\ No newline at end of file
diff --git a/resources/views/result/answerPerID.blade.php b/resources/views/result/answerPerID.blade.php
new file mode 100644
index 0000000..54d8788
--- /dev/null
+++ b/resources/views/result/answerPerID.blade.php
@@ -0,0 +1,10 @@
+
+
+
+
+
+
+{{$first_name}} {{$last_name}}'s answer
+ID:{{$id}}
+
+
\ No newline at end of file
diff --git a/resources/views/result/index.blade.php b/resources/views/result/index.blade.php
new file mode 100644
index 0000000..e7edb68
--- /dev/null
+++ b/resources/views/result/index.blade.php
@@ -0,0 +1,12 @@
+
+
+
+ Results
+
+
+
+
+
\ No newline at end of file
diff --git a/resources/views/result/userlist.blade.php b/resources/views/result/userlist.blade.php
new file mode 100644
index 0000000..3882aba
--- /dev/null
+++ b/resources/views/result/userlist.blade.php
@@ -0,0 +1,18 @@
+
+
+
+
+
+
+
+ @foreach($userList as $user)
+
+ {{$user->id}}
+ {{$user->first_name}}
+ {{$user->last_name}}
+
+
+ @endforeach
+
+
+
\ No newline at end of file
diff --git a/resources/views/section_detail_modify.blade.php b/resources/views/section_detail_modify.blade.php
index 4701682..44d6cc9 100644
--- a/resources/views/section_detail_modify.blade.php
+++ b/resources/views/section_detail_modify.blade.php
@@ -1,18 +1,5 @@
-
-
-
-
-
-
-
-
-
-
- Homepage
-
-
-
-
+@extends('admin.Header')
+@section('content')
","\r\n",$pre_section_details);
+ $pre_section_details = str_replace("
","\n",$pre_section_details);
echo "
Section Title ";
echo "
";
- echo "";
+ echo "";
echo "$pre_section_title";
echo " ";
echo "
";
echo "
Section Details ";
echo "
";
- echo "";
+ echo "";
echo "$pre_section_details";
echo " ";
echo "
";
echo "
";
- echo"";
+ echo"";
echo $id;
echo" ";
echo "
";
echo "
";
- echo"";
+ echo"";
echo $section_id;
echo" ";
echo "
";
@@ -71,23 +58,24 @@
echo"
submit ";
echo "
";
echo "
";
- echo "";
-
+ ?>
+
+";
- echo"
";
- echo"
";
- echo"
";
+ echo"
";
+ echo"
";
+ echo"
";
- echo"
";
- $link_back = url("/check/chapter/$id");
- echo"
Back to Check Page ";
- echo"
";
+ echo"
";
+ $link_back = url("/check/chapter/$id");
+ echo"
Back to Check Page ";
+ echo"
";
echo"
";
echo"
";
echo"
";
+?>
- ?>
@@ -107,7 +95,4 @@
-
-
-
-
\ No newline at end of file
+@endsection
\ No newline at end of file
diff --git a/resources/views/section_question_modify.blade.php b/resources/views/section_question_modify.blade.php
new file mode 100644
index 0000000..ba1653a
--- /dev/null
+++ b/resources/views/section_question_modify.blade.php
@@ -0,0 +1,88 @@
+@extends('admin.Header')
+@section('content')
+
+
+
Modify Chapter $id Section $section_id Question $question_rank "
+ ?>
+
+
+
+
+
+
+ {{ csrf_field() }}
+ ";
+ echo" ";
+ echo" ";
+ echo" ";
+ $section_question = json_decode($section_question,true);
+ foreach ($section_question as $sec_details)
+ {
+ $chapter_id = $id;
+ $sec_id = $section_id;
+
+ $question_id = $sec_details['question_id'];
+
+ $question_detail = $sec_details['question'];
+
+ echo "Section Question Details ";
+ echo "";
+ echo "";
+ echo "$question_detail";
+ echo " ";
+ echo "
";
+
+ echo "";
+ echo"";
+ echo $question_id;
+ echo" ";
+ echo "
";
+
+
+
+
+ }
+
+ echo"submit ";
+ echo " ";
+ echo " ";
+ ?>
+
+";
+ echo"
";
+ echo"
";
+ echo"
";
+
+ echo"
";
+ $link_back = url("/check/chapter/$id");
+ echo"
Back to Check Page ";
+ echo"
";
+
+ echo"
";
+ echo"
";
+ echo"
";
+?>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+@endsection
\ No newline at end of file
diff --git a/resources/views/show_data_sectionmaterials.blade.php b/resources/views/show_data_sectionmaterials.blade.php
index b5fa147..d34aca3 100644
--- a/resources/views/show_data_sectionmaterials.blade.php
+++ b/resources/views/show_data_sectionmaterials.blade.php
@@ -1,18 +1,5 @@
-
-
-
-
-
-
-
-
-
-
-
Homepage
-
-
-
-
+@extends('admin.Header')
+@section('content')
Check the content of Chapter $id ";
@@ -22,6 +9,7 @@
+
Section Table";
@@ -46,19 +34,20 @@
echo"
$section_title ";
$link_sec = url("/modify/chapter/$chapter_id/section/$section_id");
echo"
modify ";
- echo"
delete ";
+ $link_delete = url("/delete/chapter/$id/section/$section_counter");
+ echo"
delete ";
echo"";
}
echo"
";
- $link_add_sec = url("/addnewsection/chapter/$id");
+ $link_add_sec = url("/addnewsection/chapter/$id");
echo"Add a new section ";
echo" ";
echo" ";
echo" ";
- echo"Table 3. Section Question Table ";
+ echo"Section Question Table ";
echo"";
echo"";
echo"Section id Question id Question title Link to Modify Link to delete ";
@@ -79,8 +68,12 @@
echo"$section_id ";
echo"$question_id ";
echo"$question ";
- $link_sec_que = url("/modify/chapter/$chapter_id/section/$section_id/question/$question_id");
- echo"modify ";
+
+ $link_mod = url("/modify/section/$chapter_id/$section_id/question/$question_id");
+ echo"modify ";
+ $link_delete = url("/delete/section/$chapter_id/$section_id/question/$question_id");
+ echo"delete ";
+
echo" ";
}
echo"
";
@@ -109,7 +102,4 @@
-
-
-
-
\ No newline at end of file
+@endsection
\ No newline at end of file
diff --git a/resources/views/show_data_studymaterials.blade.php b/resources/views/show_data_studymaterials.blade.php
index 170914e..3d4cb84 100644
--- a/resources/views/show_data_studymaterials.blade.php
+++ b/resources/views/show_data_studymaterials.blade.php
@@ -1,18 +1,5 @@
-
-
-
-
-
-
-
-
-
-
- Homepage
-
-
-
-
+@extends('admin.Header')
+@section('content')
Study material
@@ -27,7 +14,7 @@
echo"
";
echo"
";
echo"";
- echo"Chapter id Chapter title Link to Check Link to Modify ";
+ echo"Chapter id Chapter title Link to Check Link to Modify Link to Delete ";
echo" ";
$chapter = json_decode($chapter,true);
foreach($chapter as $ch_value)
@@ -40,21 +27,93 @@
$link_sec = url("/modify/chapter/$chapter_id");
$link_sec_check = url("/check/chapter/$chapter_id");
echo"check ";
- echo"Change the title ";
+ echo"Change it ";
+ $link_delete = url("/delete/chapter/$chapter_id");
+ echo"delete ";
echo"";
}
echo"
";
- echo"
";
- echo"
";
- echo"
";
+
+
?>
+
+
+ {{ csrf_field() }}
+ Add a new chapter";
+ echo "Chapter ID ";
+ echo "";
+ echo"";
+
+ echo" ";
+ echo "
";
+
+ echo "Chapter Title ";
+ echo "";
+ echo "";
+
+ echo " ";
+ echo "
";
+
+
+ echo"submit ";
+ echo " ";
+ echo " ";
+ ?>
+
+ ";
+ echo "
";
+ echo "
";
+ echo "
";
+
+
+ echo "
Case table ";
+ $case_study = json_decode($case_study,true);
+ echo "
";
+ echo"
";
+ echo"";
+ echo"Case id Case title Link to Modify Link to Delete ";
+ echo" ";
+ foreach($case_study as $case_value)
+ {
+ echo"";
+ $case_id = $case_value['id'];
+ $case_title = $case_value['title'];
+ echo"$case_id ";
+ echo"$case_title ";
+ $link_modify = url("/modify/case/$case_id");
+ echo"Change it ";
+ $link_delete = url("/delete/case/$case_id");
+ echo"delete ";
+ echo" ";
+ }
+ $case_id++;
+ echo"
";
+ $link_add_case = url("/addnewcase/$case_id");
+
+ echo"
Add a new case ";
+ echo"
";
+ echo"
";
+ echo"
";
+ echo"
";
+ echo" ";
+ echo" ";
+ echo" ";
+
+ echo" ";
+ echo" ";
+ echo" ";
+
+ ?>
+
@@ -62,7 +121,4 @@
-
-
-
-
\ No newline at end of file
+@endsection
\ No newline at end of file
diff --git a/resources/views/show_survey_question_details.blade.php b/resources/views/show_survey_question_details.blade.php
new file mode 100644
index 0000000..61b9ccc
--- /dev/null
+++ b/resources/views/show_survey_question_details.blade.php
@@ -0,0 +1,63 @@
+@extends('admin.Header')
+@section('content')
+
+
+
+ Survey $id";
+ ?>
+
+
+
+
+
+";
+ echo"
";
+ echo"
";
+ echo"
";
+ echo"";
+ echo"Question details Delete ";
+ echo" ";
+ $survey_detail_question = json_decode($survey_detail_question,true);
+ foreach($survey_detail_question as $survey_value)
+ {
+ echo"";
+ $question_id = $survey_value['id'];
+ $question_detail = $survey_value['detail'];
+ echo"$question_detail ";
+ $link_delete = url("/delete/surveyquestion/$id/$question_id");
+ echo"delete ";
+ echo" ";
+ }
+
+ echo"
";
+
+ $link_add_survey = url("/addnewsurveyquestinos/$id");
+
+ echo"
Add a question ";
+
+?>
+
+
+
+
+
+
+
+";
+ echo" ";
+ echo" ";
+
+ echo"";
+ $link_back = url("showsurvey");
+ echo"
Back to Show Survey Page ";
+ echo"
";
+
+ echo" ";
+ echo" ";
+ echo" ";
+?>
+@endsection
\ No newline at end of file
diff --git a/resources/views/show_survey_questions.blade.php b/resources/views/show_survey_questions.blade.php
new file mode 100644
index 0000000..ec9490d
--- /dev/null
+++ b/resources/views/show_survey_questions.blade.php
@@ -0,0 +1,55 @@
+@extends('admin.Header')
+@section('content')
+
+
+
Survey material
+
+
+
+
+
+
+";
+ echo"
";
+ echo"
";
+ echo"
";
+ echo"";
+ echo"Survey id Survey title Link to Check Link to Modify Delete ";
+ echo" ";
+ $survey = json_decode($survey_question,true);
+ foreach($survey as $survey_value)
+ {
+ echo"";
+ $survey_id = $survey_value['id'];
+ $survey_title = $survey_value['title'];
+ echo"$survey_id ";
+ echo"$survey_title ";
+ $link_sec = url("/modify/survey/$survey_id");
+ $link_sec_check = url("/check/survey/$survey_id");
+ echo"Check questions ";
+ echo"Change title ";
+ $link_delete = url("/delete/survey/$survey_id");
+ echo"delete ";
+ echo" ";
+ }
+
+ echo"
";
+
+ $link_add_survey = url("/addnewsurvey");
+
+ echo"
Add a new survey ";
+
+
+
+
+?>
+
+
+
+
+
+
+
+@endsection
\ No newline at end of file
diff --git a/resources/views/show_users.blade.php b/resources/views/show_users.blade.php
new file mode 100644
index 0000000..3d2ce20
--- /dev/null
+++ b/resources/views/show_users.blade.php
@@ -0,0 +1,84 @@
+@extends('admin.Header')
+@section('content')
+
+
+
+
+
All Users
+
+
+
+ #
+ Username
+ Email
+ First Name
+ Last Name
+ User Type
+ Age
+ Gender
+ Nationality
+
+
+
+
+
+ ";
+ echo"$id ";
+ echo"$users_username ";
+ echo"$users_email ";
+ echo"$users_firstname ";
+ echo"$users_lastname ";
+ echo"$users_usertype ";
+ echo"$users_age ";
+ echo"$users_gender ";
+ echo"$users_nationality ";
+ $link_detail = url("/user/detail/$user_id");
+ echo" details ";
+ $link_delete = url("/user/delete/$user_id");
+ echo" delete ";
+ echo"";
+ }
+ ?>
+
+
+
+
+ Back";
+ ?>
+
+
+
+
+@endsection
+
+@section('script')
+ @parent
+
+@endsection
\ No newline at end of file
diff --git a/resources/views/show_users_detail.blade.php b/resources/views/show_users_detail.blade.php
new file mode 100644
index 0000000..575138c
--- /dev/null
+++ b/resources/views/show_users_detail.blade.php
@@ -0,0 +1,361 @@
+@extends('admin.Header')
+@section('content')
+
+
+
+
+
+
User Detail
+
+
+
+ ";
+ echo"Username ";
+ echo"$users_username ";
+ echo"";
+ echo"";
+ echo"Email ";
+ echo"$users_email ";
+ echo" ";
+ echo"";
+ echo"First Name ";
+ echo"$users_firstname ";
+ echo" ";
+ echo"";
+ echo"Last Name ";
+ echo"$users_lastname ";
+ echo" ";
+ echo"";
+ echo"User Type ";
+ echo"$users_usertype ";
+ echo" ";
+ echo"";
+ echo"Age ";
+ echo"$users_age ";
+ echo" ";
+ echo"";
+ echo"Gender ";
+ echo"$users_gender ";
+ echo" ";
+ echo"";
+ echo"Nationality ";
+ echo"$users_nationality ";
+ echo" ";
+ }
+ ?>
+
+
+
+
+
Language Information
+
+
+
+ ";
+ echo"Language ";
+ echo"$language1 ";
+ echo"Ratings of languages ";
+ echo"$language1_order ";
+ echo"";
+ echo"";
+ echo"Proficiency in Speaking ";
+ echo"$language1_speaking ";
+ echo"Proficiency in listening ";
+ echo"$language1_listening ";
+ echo" ";
+ echo"";
+ echo"Proficiency in Writing ";
+ echo"$language1_writing ";
+ echo"Proficiency in Reading ";
+ echo"$language1_reading ";
+ echo" ";
+
+ if ($key['language2']!=null){
+ echo" ";
+ echo"
";
+ echo "
";
+ echo "
";
+ echo "";
+ $language2 = $key['language2'];
+ $language2_order = $key['language2_order'];
+ $language2_speaking = $key['language2_speaking'];
+ $language2_listening = $key['language2_listening'];
+ $language2_reading = $key['language2_reading'];
+ $language2_writing = $key['language2_writing'];
+ echo"";
+ echo"Language ";
+ echo"$language2 ";
+ echo"Ratings of languages ";
+ echo"$language2_order ";
+ echo" ";
+ echo"";
+ echo"Proficiency in Speaking ";
+ echo"$language2_speaking ";
+ echo"Proficiency in listening ";
+ echo"$language2_listening ";
+ echo" ";
+ echo"";
+ echo"Proficiency in Writing ";
+ echo"$language2_writing ";
+ echo"Proficiency in Reading ";
+ echo"$language2_reading ";
+ echo" ";
+ }
+ if ($key['language3']!=null){
+ echo" ";
+ echo"
";
+ echo "
";
+ echo "
";
+ echo "";
+ $language3 = $key['language3'];
+ $language3_order = $key['language3_order'];
+ $language3_speaking = $key['language3_speaking'];
+ $language3_listening = $key['language3_listening'];
+ $language3_reading = $key['language3_reading'];
+ $language3_writing = $key['language3_writing'];
+ echo"";
+ echo"Language ";
+ echo"$language3 ";
+ echo"Ratings of languages ";
+ echo"$language3_order ";
+ echo" ";
+ echo"";
+ echo"Proficiency in Speaking ";
+ echo"$language3_speaking ";
+ echo"Proficiency in listening ";
+ echo"$language3_listening ";
+ echo" ";
+ echo"";
+ echo"Proficiency in Writing ";
+ echo"$language3_writing ";
+ echo"Proficiency in Reading ";
+ echo"$language3_reading ";
+ echo" ";
+ }
+ if ($key['language4']!=null){
+ echo" ";
+ echo"
";
+ echo "
";
+ echo "
";
+ echo "";
+ $language4 = $key['language4'];
+ $language4_order = $key['language4_order'];
+ $language4_speaking = $key['language4_speaking'];
+ $language4_listening = $key['language4_listening'];
+ $language4_reading = $key['language4_reading'];
+ $language4_writing = $key['language4_writing'];
+ echo"";
+ echo"Language ";
+ echo"$language4 ";
+ echo"Ratings of languages ";
+ echo"$language4_order ";
+ echo" ";
+ echo"";
+ echo"Proficiency in Speaking ";
+ echo"$language4_speaking ";
+ echo"Proficiency in listening ";
+ echo"$language4_listening ";
+ echo" ";
+ echo"";
+ echo"Proficiency in Writing ";
+ echo"$language4_writing ";
+ echo"Proficiency in Reading ";
+ echo"$language4_reading ";
+ echo" ";
+ }
+ }
+ ?>
+
+
+
+
+
Enducational Background
+
+
+
+ ";
+ echo"Highest Educational Degree Achieved ";
+ echo"$educational_level ";
+ echo"";
+ if($key['majoring_in']!= "No"){
+ $majoring = $key['majoring_in'];
+ echo"";
+ echo"Majoring in ";
+ echo"$majoring ";
+ echo" ";
+ }
+ echo"";
+ echo"Current Pursuing Degree ";
+ echo"$current ";
+ echo" ";
+ echo"";
+ echo"Current Major ";
+ echo"$major_current ";
+ echo" ";
+ echo"";
+ echo"Anticipated Field ";
+ echo"$Antifield ";
+ echo" ";
+ echo"";
+ echo"Highest parental education level ";
+ echo"$parental_level ";
+ echo" ";
+ if($key['major_parent']!= "No"){
+ $major_parent = $key['major_parent'];
+ echo"";
+ echo"Major of Parents ";
+ echo"$major_parent ";
+ echo" ";
+ }
+ echo"";
+ echo"Income in RMB ";
+ echo"$income ";
+ echo" ";
+ }
+ else {
+ $educational_level = $key['education_level'];
+ $industry = $key['industry'];
+ if ($industry == "Other")
+ {
+ $industry = $key['industry_other'];
+ }
+ $work_position = $key['work_position'];
+ if ($work_position == "Other")
+ {
+ $work_position = $key['work_position_other'];
+ }
+ $income = $key['income_rmb'];
+ echo"";
+ echo" Highest Educational Degree Achieved ";
+ echo" $educational_level ";
+ echo" ";
+ if($key['major_in']!= "No"){
+ $majoring = $key['major_in'];
+ echo"";
+ echo"Major in ";
+ echo"$majoring ";
+ echo" ";
+ }
+ echo"";
+ echo"Work industry ";
+ echo"$industry ";
+ echo" ";
+ echo"";
+ echo"Work Position ";
+ echo"$work_position ";
+ echo" ";
+ echo"";
+ echo"Income in RMB ";
+ echo"$income ";
+ echo" ";
+ }
+ }
+ ?>
+
+
+
+
+
Religious Background
+
+
+
+ ";
+ echo"Affiliation ";
+ echo"$affiliation ";
+ echo"";
+ echo"";
+ echo"Political Orientation ";
+ echo"$political_orientation ";
+ echo" ";
+ }
+ ?>
+
+
+
+
+
delete ";
+ echo"
";
+ echo"
";
+ $link_user = url("/users");
+ echo"
Back ";
+ ?>
+
+
+
+
+
+@endsection
+
+@section('script')
+ @parent
+
+ @endsection
\ No newline at end of file
diff --git a/resources/views/survey_finished.blade.php b/resources/views/survey_finished.blade.php
new file mode 100644
index 0000000..5bb73ee
--- /dev/null
+++ b/resources/views/survey_finished.blade.php
@@ -0,0 +1,21 @@
+@extends('layouts.app')
+@section('content')
+
+
+
+
+
+
+ ";
+ echo"
You have already finished this survey, please click the button to the survey page ";
+ echo"
";echo"
";echo"
";
+ $return_url = url("chooseonesurvey");
+ echo"
";
+ echo"
";
+ ?>
+
+
+
+@endsection
diff --git a/resources/views/survey_title_modify.blade.php b/resources/views/survey_title_modify.blade.php
new file mode 100644
index 0000000..d8b42e1
--- /dev/null
+++ b/resources/views/survey_title_modify.blade.php
@@ -0,0 +1,92 @@
+@extends('admin.Header')
+@section('content')
+
+
+
Modify Survey $id Content "
+ ?>
+
+
+
+
+
+
+ {{ csrf_field() }}
+ ";
+ $survey_question = json_decode($survey_question,true);
+ foreach ($survey_question as $survey_details)
+ {
+ $pre_survey_title = $survey_details['title'];
+ for ($i = 0;$i<=5;$i++)
+ {
+ $pre_choice[$i] = $survey_details['choice'.$i];
+ }
+
+ echo "Survey Title ";
+ echo "";
+ echo "";
+ echo "$pre_survey_title";
+ echo " ";
+ echo "
";
+ for ($i = 0;$i<=5;$i++)
+ {
+ echo "Choice $i ";
+ echo "";
+ echo "";
+ echo "$pre_choice[$i]";
+ echo " ";
+ echo "
";
+ }
+
+
+ echo "";
+ echo"";
+ echo $id;
+ echo" ";
+ echo "
";
+
+
+ }
+
+ echo"submit ";
+ echo " ";
+ echo " ";
+ ?>
+
+";
+ echo"
";
+ echo"
";
+ echo"
";
+
+ echo"
";
+ $link_back = url("/showsurvey");
+ echo"
Back to Check Page ";
+ echo"
";
+
+ echo"
";
+ echo"
";
+ echo"
";
+?>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+@endsection
\ No newline at end of file
diff --git a/resources/views/surveys.blade.php b/resources/views/surveys.blade.php
index b58f144..3ecaae3 100644
--- a/resources/views/surveys.blade.php
+++ b/resources/views/surveys.blade.php
@@ -1,21 +1,5 @@
-
-
-
-
- Surveys for users
-
-
-
-
-
-
-
-
-
-
-
-@include('Header')
-
+@extends('layouts.app')
+@section('content')
@@ -23,8 +7,9 @@
-
-
Survey
+ Survey $id";
+ ?>
";
//echo "
";
- echo"
";
+
//echo "
";
echo "
";
echo "
Instructions: $question_title
";
- echo"
";
+
echo "
";
+
echo "
";
- echo"
";
echo "
[0]$question_ch_0
";
echo "
[1]$question_ch_1
";
echo "
[2]$question_ch_2
";
echo "
[3]$question_ch_3
";
echo "
[4]$question_ch_4
";
echo "
[5]$question_ch_5
";
- echo "
";
- echo "
";
//echo "
";
+
+ //echo "
";
+ echo "
";
echo "";
echo "
";
echo "
";
echo "
";
$question_details = json_decode($survey_details,true);
- //echo"
";
+ ?>
+
+ {{ csrf_field()}}
+ ";
+ echo"";
+ echo"0 1 2 3 4 5 ";
+ echo "";
+ echo "";
+ echo " ";
+ echo 6;
+ echo " ";
+ echo "
";
+ echo "The question detail ";
+ echo" ";
foreach ($question_details as $survey_details) {
- echo "";
+
//echo "
";
$details = $survey_details['detail'];
//echo"
";
- echo "";
+
+
+
+
+ echo "";
+ echo"
";
for ($x=0; $x<=5; $x++) {
- echo "[$x] ";
+ echo "";
+ echo "";
+ echo " ";
+ echo " ";
+ echo "
";
}
- echo "";
- echo " $details ";
- //echo "";
- echo "";
- echo " ";
- }
+
+ echo "";
+ echo "
";
+ echo " ";
+
+ echo " ";
+
+
+
+ echo "
";
+ echo"";
+ echo $id;
+ echo" ";
+ echo "
";
+
+ echo "
";
+ echo"";
+ echo $survey_details['id'];
+ echo" ";
+ echo "
";
+
+ echo "
";
+ echo " $details ";
+ //echo "";
+ echo "";
+ echo" ";
+ $counter++;
+ }
+ echo"";
}
- //echo "";
}
+ echo "";
+ echo"";
+ echo $counter;
+ echo" ";
+ echo "
";
echo "";
- echo "
Submit ";
- $new_id = 0;
- foreach ($question as $content1) {
- if($content1['id'] == $id+1)
- {
- $new_id = $id+1;
- $link_next = url("/surveys/$new_id");
- }
- }
- if ($new_id == 0)
- {
- $link_next = url("SurveyFinished");
- }
+ echo "
Submit ";
- echo "
Next ";
- echo "$new_id";
- echo "
";
- ?>
+ ?>
+
+
+ {{--MyJavaScript--}}
+ {{----}}
+
+ {{----}}
+ {{--MyJavaScript--}}
-
-
-@include('Footer')
-
+@include('Footer')
+
-
+@endsection
diff --git a/routes/web.php b/routes/web.php
index 1e29562..35c7a37 100644
--- a/routes/web.php
+++ b/routes/web.php
@@ -12,24 +12,14 @@
*/
Route::get('/', function () {
- return view('welcome');
+ return view('Homepage');
});
Route::get('homepage', function () {
return view('Homepage');
});
-Route::get('homepageguest', function () {
- return view('HomepageGuest');
-});
-Route::get('Login', function () {
- return view('Login');
-});
-
-Route::get('SurveyFinished', function () {
- return view('SurveyFinished');
-});
Route::get('admin', function () {
return view('administer_main');
@@ -47,53 +37,186 @@
return view('administer_material_add');
});
-Route::get('casestudy/{id}/step/{step_id}', 'CaseStudyController@chapter');
+Route::group(['prefix' => 'admin'], function () {
+ Route::get('/', 'Admin\IndexController@admin_index');
+ Route::get('login', 'Admin\LoginController@showLoginForm');
+ Route::post('login', 'Admin\LoginController@login');
+ Route::post('logout', 'Admin\LoginController@logout');
-Route::get('chapter/{id}/section/{section_rank}', 'ChapterController@chapter');
+ Route::group(['middleware' => 'auth:admin'], function () {
+ Route::get('/data', function () {
+ return view('administer_data_show');
+ });
-Route::post('/list_chapter', 'ListChapterController@listchapter');
+ Route::get('/material', function () {
+ return view('administer_material_section');
+ });
-Route::get('surveys/{id}','SurveyController@survey');
+ Route::get('/material/add', function () {
+ return view('administer_material_add');
+ });
-Route::get('showstudymaterial','ShowStudyMaterial@show');
-Route::get('check/chapter/{id}','ShowSectionContent@show');
+ });
-Route::get('modify/chapter/{id}/section/{section_id}','ModifyMaterialController@showsection');
+});
+
+Route::get('surveys/{id}', 'SurveyController@survey')->middleware('auth');
-Route::get('addnewsection/chapter/{id}','ModifyMaterialController@showaddsection');
+Route::get('chooseonesurvey', 'SurveyController@choosesurvey')->middleware('auth');
-Route::post('/material_add', 'ListChapterController@materialadd');
+Route::get('survey_finished', function () {
+ return view('survey_finished');
+})->middleware('auth');
-Route::post('/material_edit', 'ListChapterController@materialedit');
+Route::get('chapter/{id}/section/{section_rank}', 'ChapterController@chapter')->middleware('auth');
+
+Route::get('casestudy/{id}/step/{step_id}', 'CaseStudyController@chapter')->middleware('auth');
Route::post('/casestudyanswer_edit', 'CaseStudyController@useransweredit');
Route::post('/sectionanswer_edit', 'ChapterController@answeredit');
-Route::post('/sectiondetail_edit', 'ModifyMaterialController@sectiondetailedit');
+Route::post('/dataanalysissubmit', 'ChoosequestionController@submit');
-Route::post('/sectiondetail_add', 'ModifyMaterialController@sectiondetailadd');
+Route::group(['middleware' => 'auth:admin'], function () {
-Route::post('delete/chapter/{id}/section/{section_counter}',function()
-{
- return 'Hello World';
-});//route for the register
+ Route::post('/list_chapter', 'ListChapterController@listchapter');
-Route::get('register', function () {
- return view('register');
-});
+ Route::post('/material_add', 'ListChapterController@materialadd');
+
+ Route::post('/material_edit', 'ListChapterController@materialedit');
+
+ Route::get('/showResult','ShowResultController@index');
+
+ Route::post('/showResult/by_user','ShowResultController@show_by_user');
+
+ Route::get('/showResult/by_user/{user_id}', 'ShowResultController@show_by_ID');
+ #Route::get('/showResult/perUser','ShowResultController@user');
+
+ #Route::get('showResult/{id}', 'ShowResultController@showID');
+
+ #Route::get('/dataanalysis','ChoosequestionController@list');
+
+ #Route::get('/dataanalysis/survey/{id}','ChoosequestionController@survey');
+
+ #Route::get('/dataanalysis/casestudy/{id}','ChoosequestionController@casestudy');
+
+ #Route::get('/dataanalysis/sectionstudy/{id}','ChoosequestionController@section');
+
+ #Route::get('/dataanalysis/result/{type}/{id}','ChoosequestionController@result');
+
+
+
+
+
+//route for the new admin page
+ Route::get('showstudymaterial', 'ShowStudyMaterialController@show');
+
+ Route::get('showsurvey', 'ShowStudyMaterialController@showsurvey');
+
+ Route::get('check/chapter/{id}', 'ShowSectionContentController@show');
+
+ Route::get('check/survey/{id}', 'ShowStudyMaterialController@checksurveyquestions');
+
+ Route::get('modify/chapter/{id}/section/{section_id}', 'ModifyMaterialController@showsection');
+
+ Route::get('modify/chapter/{id}', 'ModifyMaterialController@showchapter');
+
+ Route::get('/modify/survey/{survey_id}', 'ShowStudyMaterialController@checksurveytitle');
+
+ Route::get('addnewsection/chapter/{id}', 'ModifyMaterialController@addsection');
+
+ Route::get('addnewsection_que/chapter/{id}', 'ModifyMaterialController@addsectionquestion');
+
+ Route::get('addnewsurvey', 'ModifyMaterialController@addnewsurvey');
+
+ Route::get('/addnewsurveyquestinos/{id}', 'ModifyMaterialController@addsurveyquestion');
+
+ Route::post('/chaptertitle_edit', 'ModifyMaterialController@chaptertitleedit');
+
+ Route::post('/sectiondetail_edit', 'ModifyMaterialController@sectiondetailedit');
-Route::get('register/agreement', function () {
- return view('register_agreement');
+ Route::post('/surveydetail_edit', 'ModifyMaterialController@surveydetailedit');
+
+ Route::post('/sectionquestion_edit', 'ModifyMaterialController@sectionquestionedit');
+
+ Route::post('/sectiondetail_add', 'ModifyMaterialController@sectiondetailadd');
+
+ Route::post('/sectionquestion_add', 'ModifyMaterialController@sectionquestionadd');
+
+ Route::post('/survey_add', 'ModifyMaterialController@surveyadd');
+
+ Route::post('/surveyquestion_add', 'ModifyMaterialController@surveyquestionadd');
+
+ Route::post('/chapter_add', 'ModifyMaterialController@chapteradd');
+
+ Route::get('delete/chapter/{id}', 'ShowStudyMaterialController@destroychapter');
+
+ Route::get('/delete/section/{chapter_id}/{section_id}/question/{question_id}', 'ShowStudyMaterialController@destroysecquestion');
+
+ Route::get('delete/case/{id}', 'ShowStudyMaterialController@destroycase');
+
+ Route::get('/delete/survey/{survey_id}', 'ShowStudyMaterialController@destroysurvey');
+
+ Route::get('/delete/surveyquestion/{id}/{question_id}', 'ShowStudyMaterialController@destroysurveyquestions');
+
+ Route::get('/modify/case/{id}', 'ModifyMaterialController@showcase');
+
+ Route::get('/modify/section/{id}/{section_id}/question/{question_id}', 'ModifyMaterialController@showsectionquestion');
+
+ Route::get('/addnewcase/{id}', 'ModifyMaterialController@addnewcase');//
+
+ Route::post('/casedetail_edit', 'ModifyMaterialController@casedetailedit');
+
+ Route::post('/casedetail_add', 'ModifyMaterialController@casedetailadd');//
+
+ Route::get('delete/chapter/{id}/section/{section_counter}', 'ShowSectionContentController@destroy');
+
+ Route::get('/users', 'ShowUser@getusers');
+
+ Route::get('/user/detail/{id}', 'ShowUser@userdetail');
+
+ Route::get('/user/delete/{id}', 'ShowUser@deleteuser');
});
+//route for the register
+
+
+
+Route::group(['prefix' => 'register'], function () {
+ Route::get('agreement', 'RegisterInfoController@agreement');
-Route::get('register/info1','registerinfo1@nationality');
-Route::get('register/info2','registerinfo2@language');
+ Route::get('info1/{id}','RegisterInfoController@nationality');
-Route::get('register/info3','registerinfo3@education');
+ Route::get('info2/{id}','RegisterInfoController@language');
-Route::get('register/info4', function () {
- return view('register_info4');
+ Route::get('info3/{id}','RegisterInfoController@education');
+
+ Route::get('info3_non/{id}','RegisterInfoController@education2');
+
+ Route::get('info4/{id}', function ($id) {
+ return view('register_info4')->with("id",$id);
+ });
});
+
+Route::post('/info1_get','RegisterInfoController@addinfo1');
+
+Route::post('/info2_get','RegisterInfoController@addinfo2');
+
+Route::post('/info3_get','RegisterInfoController@addinfo3');
+
+Route::post('/info3_nonstu_get','RegisterInfoController@addinfo3_non');
+
+Route::post('/info4_get','RegisterInfoController@addinfo4');
+
+Route::post('/get_agreement','RegisterInfoController@addagreement');
+
+Route::post('/surveyanswer_input','SurveyController@surveyanswer_edit');
+
+Auth::routes();
+
+Route::get('/home', 'HomeController@index')->name('home');
+
+Route::post('mylogin', 'Auth\LoginController@mylogin')->name('mylogin');
+//Route::get('/link/start','SocketconnectController@connect');
diff --git a/tests/CreatesApplication.php b/tests/CreatesApplication.php
index 547152f..df7814b 100644
--- a/tests/CreatesApplication.php
+++ b/tests/CreatesApplication.php
@@ -2,6 +2,7 @@
namespace Tests;
+use Illuminate\Support\Facades\Hash;
use Illuminate\Contracts\Console\Kernel;
trait CreatesApplication
@@ -17,6 +18,8 @@ public function createApplication()
$app->make(Kernel::class)->bootstrap();
+ Hash::setRounds(4);
+
return $app;
}
}