hexsha
stringlengths
40
40
size
int64
5
1.05M
ext
stringclasses
98 values
lang
stringclasses
21 values
max_stars_repo_path
stringlengths
3
945
max_stars_repo_name
stringlengths
4
118
max_stars_repo_head_hexsha
stringlengths
40
78
max_stars_repo_licenses
listlengths
1
10
max_stars_count
int64
1
368k
max_stars_repo_stars_event_min_datetime
stringlengths
24
24
max_stars_repo_stars_event_max_datetime
stringlengths
24
24
max_issues_repo_path
stringlengths
3
945
max_issues_repo_name
stringlengths
4
118
max_issues_repo_head_hexsha
stringlengths
40
78
max_issues_repo_licenses
listlengths
1
10
max_issues_count
int64
1
134k
max_issues_repo_issues_event_min_datetime
stringlengths
24
24
max_issues_repo_issues_event_max_datetime
stringlengths
24
24
max_forks_repo_path
stringlengths
3
945
max_forks_repo_name
stringlengths
4
135
max_forks_repo_head_hexsha
stringlengths
40
78
max_forks_repo_licenses
listlengths
1
10
max_forks_count
int64
1
105k
max_forks_repo_forks_event_min_datetime
stringlengths
24
24
max_forks_repo_forks_event_max_datetime
stringlengths
24
24
content
stringlengths
5
1.05M
avg_line_length
float64
1
1.03M
max_line_length
int64
2
1.03M
alphanum_fraction
float64
0
1
3a0ebb37f94d1fc22e0ef023f953f575e4830204
351
swift
Swift
ABC-CODE/Extensions/Double+Extension.swift
kudzaiTnexus/ABC-CODE
8362d9f1293513f08fe771a5ad0d66304c8b8375
[ "MIT" ]
null
null
null
ABC-CODE/Extensions/Double+Extension.swift
kudzaiTnexus/ABC-CODE
8362d9f1293513f08fe771a5ad0d66304c8b8375
[ "MIT" ]
null
null
null
ABC-CODE/Extensions/Double+Extension.swift
kudzaiTnexus/ABC-CODE
8362d9f1293513f08fe771a5ad0d66304c8b8375
[ "MIT" ]
null
null
null
// // Double+Extension.swift // ABC-CODE // // Created by Kudzai Mhou on 2019/03/17. // Copyright © 2019 Kudzai Mhou. All rights reserved. // import Foundation extension Double { mutating func roundToPlaces(places:Int) -> Double { let divisor = pow(10.0, Double(places)) return Darwin.round(self * divisor) / divisor } }
20.647059
55
0.655271
6846ee9be6ecc5df758a6fb38671c8072dc7887d
477
kt
Kotlin
arrow-inject-compiler-plugin/src/testData/box/context-receivers/context_receivers_with_more_than_two_type_parameters.kt
arrow-kt/arrow-proofs
55919397df875aa5ee71301415f6ede6a4077365
[ "Apache-2.0" ]
2
2022-03-25T08:12:10.000Z
2022-03-26T02:12:21.000Z
arrow-inject-compiler-plugin/src/testData/box/context-receivers/context_receivers_with_more_than_two_type_parameters.kt
arrow-kt/arrow-proofs
55919397df875aa5ee71301415f6ede6a4077365
[ "Apache-2.0" ]
2
2022-03-18T11:43:51.000Z
2022-03-18T15:37:58.000Z
arrow-inject-compiler-plugin/src/testData/box/context-receivers/context_receivers_with_more_than_two_type_parameters.kt
arrow-kt/arrow-proofs
55919397df875aa5ee71301415f6ede6a4077365
[ "Apache-2.0" ]
null
null
null
package foo.bar import arrow.inject.annotations.Provider import arrow.inject.annotations.context @Provider class A { val a = 1 } @Provider class B { val b = 2 } @Provider class C { val c = 3 } @Provider class D { val d = 5 } @Provider class E { val e = 8 } fun f(): Int { println("123") context<A, B, C, D, E>() return a + b + c + d + e } fun box(): String { val result = f() return if (result == 19) { "OK" } else { "Fail: $result" } }
10.6
40
0.572327
0cc46073749631b895fb07e8351d82807fbd6e14
2,140
py
Python
lms_app/v1/serializers/user_serializers.py
Etomovich/lms-backend
e586abc44a0e74ed28da7a77f6ef31230995c84b
[ "MIT" ]
null
null
null
lms_app/v1/serializers/user_serializers.py
Etomovich/lms-backend
e586abc44a0e74ed28da7a77f6ef31230995c84b
[ "MIT" ]
1
2021-06-02T00:45:56.000Z
2021-06-02T00:45:56.000Z
lms_app/v1/serializers/user_serializers.py
Etomovich/lms-backend
e586abc44a0e74ed28da7a77f6ef31230995c84b
[ "MIT" ]
null
null
null
from flask_restplus import Namespace, fields class UserDataModel(object): """Represents the user data transfer object.""" api = Namespace( 'user', description='user authentication and signup resources' ) this_user = api.model('Register input data', { 'username': fields.String( required=True, description="username" ), 'first_name': fields.String( required=True, description="user's first name" ), 'last_name': fields.String( required=True, description="user's last name" ), 'national_id': fields.Integer( required=True, description="user's national ID" ), 'role': fields.String( required=True, description="user's role" ), 'date_joined': fields.String( required=True, description="Date joined timestamp" ), 'email': fields.String( required=True, description="user's email" ), 'phone_number': fields.String( required=True, description="user's last name" ), 'password': fields.String( required=True, description="user's password" ), 'retype_password': fields.String( required=True, description="Retype password" ), 'officer_username': fields.String( required=False, description="Enter officer name" ), 'location': fields.String( required=False, description="Enter location" ), 'officer_info': fields.String( required=False, description="Add officer information" ), 'farmer_info': fields.String( required=False, description="Add farmer information" ), }) login_user = api.model('Login input data', { 'password': fields.String( required=True, description="Add your password" ), 'username': fields.String( required=False, description="Add your username" ), 'email': fields.String( required=False, description="Add you email" ) })
33.4375
70
0.574299
56b4bd714723efe6be92ea1a3477c9845e0bb27d
4,274
tsx
TypeScript
src/components/molecules/alert/alert.stories.tsx
yaldram/chakra-ui-clone
79580f1716d569ca835055dc217970af29ddc928
[ "MIT" ]
4
2021-09-07T09:38:40.000Z
2021-12-21T00:00:11.000Z
src/components/molecules/alert/alert.stories.tsx
yaldram/chakra-ui-clone
79580f1716d569ca835055dc217970af29ddc928
[ "MIT" ]
1
2021-09-07T09:43:04.000Z
2021-09-17T08:35:39.000Z
src/components/molecules/alert/alert.stories.tsx
yaldram/chakra-ui-clone
79580f1716d569ca835055dc217970af29ddc928
[ "MIT" ]
null
null
null
import * as React from 'react' import { colorSchemeOptions } from '../../../theme/colors' import { Box, Stack } from '../../atoms/layout' import { CloseButton } from '../../atoms/form' import { Alert, AlertIcon, AlertTitle, AlertDescription, AlertProps } from '.' export default { title: 'Molecules/Alert' } export const Playground = { argTypes: { colorScheme: { name: 'colorScheme', type: { name: 'string', required: false }, defaultValue: 'gray', description: 'The Color Scheme for the button', table: { type: { summary: 'string' }, defaultValue: { summary: 'gray' } }, control: { type: 'select', options: colorSchemeOptions } }, status: { name: 'status', type: { name: 'string', required: false }, defaultValue: 'info', description: 'The status of the alert', table: { type: { summary: 'string' }, defaultValue: { summary: 'status' } }, control: { type: 'select', options: ['info', 'warning', 'success', 'error'] } }, variant: { name: 'variant', type: { name: 'string', required: false }, defaultValue: 'solid', description: 'The variant of the alert', table: { type: { summary: 'string' }, defaultValue: { summary: 'solid' } }, control: { type: 'select', options: ['solid', 'subtle', 'left-accent', 'top-accent'] } } }, render: (args: AlertProps) => ( <Alert {...args}> <AlertIcon /> There was an error processing your request </Alert> ) } export const Default = { render: () => ( <Stack direction='column' spacing='lg'> <Stack direction='column' spacing='lg'> <Alert> <AlertIcon /> There was an error processing your request </Alert> <Alert status='error'> <AlertIcon /> <AlertTitle marginRight='md'>Your browser is outdated!</AlertTitle> <AlertDescription> Your Chakra experience may be degraded. </AlertDescription> <CloseButton position='absolute' right='8px' top='15px' /> </Alert> <Alert status='success'> <AlertIcon /> Data uploaded to the server. Fire on! </Alert> <Alert status='warning'> <AlertIcon /> Seems your account is about expire, upgrade now </Alert> <Alert status='info'> <AlertIcon /> Chakra is going live on August 30th. Get ready! </Alert> </Stack> <Stack direction='column' spacing='lg'> <Alert status='success' variant='subtle'> <AlertIcon /> Data uploaded to the server. Fire on! </Alert> <Alert status='success' variant='solid'> <AlertIcon /> Data uploaded to the server. Fire on! </Alert> <Alert status='success' variant='left-accent'> <AlertIcon /> Data uploaded to the server. Fire on! </Alert> <Alert status='success' variant='top-accent'> <AlertIcon /> Data uploaded to the server. Fire on! </Alert> </Stack> <Stack> <Alert status='success' variant='subtle' textAlign='center' height='200px' direction='column' justify='center' > <AlertIcon size='40px' /> <AlertTitle margin='md' fontSize='lg'> Application submitted! </AlertTitle> <AlertDescription> Thanks for submitting your application. Our team will get back to you soon. </AlertDescription> </Alert> </Stack> <Stack> <Alert status='success'> <AlertIcon /> <Box flex='1'> <AlertTitle>Success!</AlertTitle> <AlertDescription display='block'> Your application has been received. We will review your application and respond within the next 48 hours. </AlertDescription> </Box> <CloseButton position='absolute' right='8px' top='8px' /> </Alert> </Stack> </Stack> ) }
27.753247
78
0.533692
310dc2bc9dd691a3bf5e550afb685db570d93b99
951
sql
SQL
algorithm/xgboost/data_preparation.sql
aws-samples/amazon-redshift-ml-getting-started
1b8e0f87d374f3ca7d02fd3a2efafb6a8832b654
[ "MIT-0" ]
11
2021-08-19T18:01:19.000Z
2022-02-08T14:31:44.000Z
algorithm/xgboost/data_preparation.sql
aws-samples/amazon-redshift-ml-getting-started
1b8e0f87d374f3ca7d02fd3a2efafb6a8832b654
[ "MIT-0" ]
null
null
null
algorithm/xgboost/data_preparation.sql
aws-samples/amazon-redshift-ml-getting-started
1b8e0f87d374f3ca7d02fd3a2efafb6a8832b654
[ "MIT-0" ]
8
2021-08-19T17:03:18.000Z
2022-03-06T17:43:44.000Z
/* Data preparation steps for XGBoost model creation in Redshift ML */ /* DISCLAIMER: Please replace <your-amazon-redshift-sagemaker-iam-role-arn> with the IAM role ARN of your Amazon Redshift cluster in the SQL scripts below /* Data Preparation */ --train table CREATE TABLE banknoteauthentication_train( variance FLOAT, skewness FLOAT, curtosis FLOAT, entrophy FLOAT, class INT); --Load COPY banknoteauthentication_train FROM 's3://redshiftbucket-ml-sagemaker/banknote_authentication/train_data/' IAM_ROLE '<your-amazon-redshift-sagemaker-iam-role-arn>' REGION 'us-west-2' IGNOREHEADER 1 CSV; --test table CREATE TABLE banknoteauthentication_test( variance FLOAT, skewness FLOAT, curtosis FLOAT, entrophy FLOAT, class INT); --Load COPY banknoteauthentication_test FROM 's3://redshiftbucket-ml-sagemaker/banknote_authentication/test_data/' IAM_ROLE '<your-amazon-redshift-sagemaker-iam-role-arn>' REGION 'us-west-2' IGNOREHEADER 1 CSV;
29.71875
205
0.794953
88493707014e0e5aa3d01303fd9f6839968b4482
2,240
kt
Kotlin
kControlLibrary/src/main/java/com/github/poluka/kControlLibrary/sender/SenderForRobot.kt
art241111/ProgrammingKawasakiRobots
3cfe2f2432afcae80be198c518c9dafe240bf0a9
[ "MIT" ]
null
null
null
kControlLibrary/src/main/java/com/github/poluka/kControlLibrary/sender/SenderForRobot.kt
art241111/ProgrammingKawasakiRobots
3cfe2f2432afcae80be198c518c9dafe240bf0a9
[ "MIT" ]
null
null
null
kControlLibrary/src/main/java/com/github/poluka/kControlLibrary/sender/SenderForRobot.kt
art241111/ProgrammingKawasakiRobots
3cfe2f2432afcae80be198c518c9dafe240bf0a9
[ "MIT" ]
1
2020-10-17T08:02:38.000Z
2020-10-17T08:02:38.000Z
package com.github.poluka.kControlLibrary.sender import com.github.art241111.tcpClient.writer.SafeSender import com.github.art241111.tcpClient.writer.Sender import com.github.poluka.kControlLibrary.handlers.programStatusHandler.ProgramStatusHandler import com.github.poluka.kControlLibrary.handlers.programStatusHandler.ProgramStatusUpdate import kotlinx.coroutines.* import java.util.* class SenderForRobot(private val sender: Sender): Sender, SafeSender,ProgramStatusUpdate { val programStatusHandler = ProgramStatusHandler(this) private var programStatus = ProgramStatus(ProgramStatusEnum.READY_TO_SEND) private val sendQueue: Queue<String> = LinkedList() private var isWriting = false private val job = SupervisorJob() private val scope = CoroutineScope(Dispatchers.Default + job) /** * Add message to queue. * @param text - the text that will be sent to the server. */ override fun send(text: String) { sender.send(text) } override fun safeSend(text: String) { sendQueue.add(text) } /** * Handle queue. */ private fun startSend(){ scope.launch { while (isWriting){ if(sendQueue.isNotEmpty() && programStatus.status == ProgramStatusEnum.READY_TO_SEND){ programStatus.status = ProgramStatusEnum.PROGRAM_IS_RUNNING val text = sendQueue.poll() if(!text.isNullOrEmpty()){ if (text.contains("Delay")){ delay(text.substringAfter(":").toLong()) } else{ send(text) } } delay(5L) } } } } /** * Sending the final command and closing Writer. */ override fun stopSending() { isWriting = false sendQueue.clear() } override fun startSending() { programStatus.status = ProgramStatusEnum.READY_TO_SEND isWriting = true sendQueue.clear() startSend() } override fun whenProgramStatusUpdate(statusUpdate: ProgramStatus) { programStatus = statusUpdate } }
31.111111
102
0.614732
7e327ca16325fb1325b2a3883a422ad86947c660
4,641
kt
Kotlin
src/main/kotlin/org/jmailen/gradle/kotlinter/tasks/GitHookTasks.kt
rvplauborg/kotlinter-gradle
053263b47f8bf84115f95a3cd155590f5cb526d2
[ "Apache-2.0" ]
null
null
null
src/main/kotlin/org/jmailen/gradle/kotlinter/tasks/GitHookTasks.kt
rvplauborg/kotlinter-gradle
053263b47f8bf84115f95a3cd155590f5cb526d2
[ "Apache-2.0" ]
null
null
null
src/main/kotlin/org/jmailen/gradle/kotlinter/tasks/GitHookTasks.kt
rvplauborg/kotlinter-gradle
053263b47f8bf84115f95a3cd155590f5cb526d2
[ "Apache-2.0" ]
null
null
null
package org.jmailen.gradle.kotlinter.tasks import org.gradle.api.DefaultTask import org.gradle.api.provider.Property import org.gradle.api.tasks.Input import org.gradle.api.tasks.Internal import org.gradle.api.tasks.TaskAction import org.jmailen.gradle.kotlinter.support.VersionProperties import java.io.File open class InstallPreCommitHookTask : InstallHookTask("pre-commit") { override val hookContent = """ if ! ${'$'}GRADLEW formatKotlin ; then echo 1>&2 "\nformatKotlin had non-zero exit status, aborting commit" exit 1 fi """.trimIndent() } open class InstallPrePushHookTask : InstallHookTask("pre-push") { override val hookContent = """ if ! ${'$'}GRADLEW lintKotlin ; then echo 1>&2 "\nlintKotlin found problems, running formatKotlin; commit the result and re-push" ${'$'}GRADLEW formatKotlin exit 1 fi """.trimIndent() } /** * Install or update a kotlinter-gradle hook. */ abstract class InstallHookTask(@get:Internal val hookFileName: String) : DefaultTask() { @Input val gitDirPath: Property<String> = property(default = ".git") @get:Internal abstract val hookContent: String init { outputs.upToDateWhen { getHookFile()?.readText()?.contains(hookVersion) ?: false } } @TaskAction fun run() { val hookFile = getHookFile(true) ?: return val hookFileContent = hookFile.readText() if (hookFileContent.isEmpty()) { logger.info("creating hook file: $hookFile") hookFile.writeText(generateHook(gradleCommand, hookContent, addShebang = true)) } else { val startIndex = hookFileContent.indexOf(startHook) if (startIndex == -1) { logger.info("adding hook to file: $hookFile") hookFile.appendText(generateHook(gradleCommand, hookContent)) } else { logger.info("replacing hook in file: $hookFile") val endIndex = hookFileContent.indexOf(endHook) val newHookFileContent = hookFileContent.replaceRange( startIndex, endIndex, generateHook(gradleCommand, hookContent, includeEndHook = false) ) hookFile.writeText(newHookFileContent) } } logger.quiet("Wrote hook to $hookFile") } private fun getHookFile(warn: Boolean = false): File? { val gitDir = project.rootProject.file(gitDirPath.get()) if (!gitDir.isDirectory) { if (warn) logger.warn("skipping hook creation because $gitDir is not a directory") return null } return try { val hooksDir = File(gitDir, "hooks").apply { mkdirs() } File(hooksDir, hookFileName).apply { createNewFile().and(setExecutable(true)) } } catch (e: Exception) { if (warn) logger.warn("skipping hook creation because could not create hook under $gitDir: ${e.message}") null } } private val gradleCommand: String by lazy { val gradlewFilename = if (System.getProperty("os.name").contains("win", true)) { "gradlew.bat" } else { "gradlew" } val gradlew = File(project.rootDir, gradlewFilename) if (gradlew.exists() && gradlew.isFile && gradlew.canExecute()) { logger.info("Using gradlew wrapper at ${gradlew.path}") gradlew.path } else { "gradle" } } companion object { private val version = VersionProperties().version() internal const val startHook = "\n##### KOTLINTER HOOK START #####" internal val hookVersion = "##### KOTLINTER $version #####" internal const val endHook = "##### KOTLINTER HOOK END #####\n" internal val shebang = """ #!/bin/sh set -e """.trimIndent() /** * Generate the hook script */ internal fun generateHook( gradlew: String, hookContent: String, addShebang: Boolean = false, includeEndHook: Boolean = true ): String = (if (addShebang) shebang else "") + """ |$startHook |$hookVersion |GRADLEW=$gradlew |$hookContent |${if (includeEndHook) endHook else ""} """.trimMargin() } }
32.683099
117
0.565611
907d4e2af1015cd7c39ff1bc4cccbe2763ea41e4
622
py
Python
ogreserver/forms/profile_edit.py
oii/ogreserver
942d8ee612206fb094f04b3ff976187abebf3069
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
ogreserver/forms/profile_edit.py
oii/ogreserver
942d8ee612206fb094f04b3ff976187abebf3069
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
ogreserver/forms/profile_edit.py
oii/ogreserver
942d8ee612206fb094f04b3ff976187abebf3069
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
from __future__ import absolute_import from __future__ import unicode_literals from flask_wtf import FlaskForm from wtforms import BooleanField, SelectField, validators from wtforms.fields.html5 import EmailField class ProfileEditForm(FlaskForm): email = EmailField('Email Address', [validators.Required(), validators.Email()]) preferred_ebook_format = SelectField( 'Preferred Ebook Format', choices=[('-', '-'), ('Kindle AZW Format', '.azw3'), ('ePub Format', '.epub')], ) dont_email_me = BooleanField("Don't email me ever") advanced = BooleanField('Display extra ebook metadata')
34.555556
87
0.729904
eb8dfd1305516036b28a5a95648072c8d9693717
1,788
swift
Swift
Core/Barcelona/Enums/IMServiceStyle.swift
CarlAmbroselli/barcelona
9bd087575935485a4c26674c2414d7ef20d7e168
[ "Apache-2.0" ]
13
2021-08-12T22:57:13.000Z
2022-03-09T16:45:52.000Z
Core/Barcelona/Enums/IMServiceStyle.swift
CarlAmbroselli/barcelona
9bd087575935485a4c26674c2414d7ef20d7e168
[ "Apache-2.0" ]
20
2021-09-03T13:38:34.000Z
2022-03-17T13:24:39.000Z
Core/Barcelona/Enums/IMServiceStyle.swift
CarlAmbroselli/barcelona
9bd087575935485a4c26674c2414d7ef20d7e168
[ "Apache-2.0" ]
2
2022-02-13T08:35:11.000Z
2022-03-17T01:56:47.000Z
// // IMServiceStyle.swift // CoreBarcelona // // Created by Eric Rabil on 9/11/20. // Copyright © 2020 Eric Rabil. All rights reserved. // import Foundation import IMCore // (bl-api-exposed) /// Different styles of IMCore services public enum IMServiceStyle: String, CaseIterable, Codable, Hashable { case iMessage #if IDS_IMESSAGE_BIZ case iMessageBiz #endif case SMS case FaceTime case Phone case None public init?(service: IMService) { guard let style = IMServiceStyle.allCases.first(where: { $0.service == service }) else { return nil } self = style } public init?(account: IMAccount) { guard let service = account.service else { return nil } self.init(service: service) } public var service: IMServiceImpl? { switch self { #if IDS_IMESSAGE_BIZ case .iMessageBiz: fallthrough #endif case .iMessage: return IMService.iMessage() case .Phone: return IMService.call() case .FaceTime: return IMService.facetime() case .SMS: return IMService.sms() case .None: return nil } } public var account: IMAccount? { guard let service = service else { return nil } return IMAccountController.shared.bestAccount(forService: service) } public var handle: IMHandle? { guard let service = service else { return nil } return Registry.sharedInstance.suitableHandle(for: service) } public static var services: [IMServiceImpl] { allCases.compactMap { $0.service } } }
23.220779
74
0.574385
6c49a8588b77f51e4a86d95bb55f0b73803a0a5f
6,593
swift
Swift
BenefitPet/Classes/Unicom/Controllers/BPSearchFriendsVC.swift
gouyz/BenefitPet
e67404beaae6a4951f6f3ff1a2a553088a28f2b3
[ "MIT" ]
1
2020-03-20T02:53:41.000Z
2020-03-20T02:53:41.000Z
BenefitPet/Classes/Unicom/Controllers/BPSearchFriendsVC.swift
gouyz/BenefitPet
e67404beaae6a4951f6f3ff1a2a553088a28f2b3
[ "MIT" ]
null
null
null
BenefitPet/Classes/Unicom/Controllers/BPSearchFriendsVC.swift
gouyz/BenefitPet
e67404beaae6a4951f6f3ff1a2a553088a28f2b3
[ "MIT" ]
null
null
null
// // BPSearchFriendsVC.swift // BenefitPet // 搜索好友 // Created by gouyz on 2018/11/5. // Copyright © 2018 gyz. All rights reserved. // import UIKit import MBProgressHUD private let searchFriendsCell = "searchFriendsCell" class BPSearchFriendsVC: GYZBaseVC { var searchContent: String = "" var searchType : String = "1" var dataList: [BPFriendModel] = [BPFriendModel]() override func viewDidLoad() { super.viewDidLoad() self.navigationItem.title = "好友搜索" view.addSubview(tableView) tableView.snp.makeConstraints { (make) in make.edges.equalTo(0) } requestFriendsDatas() } override func didReceiveMemoryWarning() { super.didReceiveMemoryWarning() // Dispose of any resources that can be recreated. } lazy var tableView : UITableView = { let table = UITableView(frame: CGRect.zero, style: .grouped) table.dataSource = self table.delegate = self table.separatorColor = kGrayLineColor table.register(BPSchoolFriendsCell.self, forCellReuseIdentifier: searchFriendsCell) return table }() ///获取黑名单数据 func requestFriendsDatas(){ if !GYZTool.checkNetWork() { return } weak var weakSelf = self showLoadingView() GYZNetWork.requestNetwork("contact/search",parameters: ["input": searchContent,"type": searchType,"d_id": userDefaults.string(forKey: "userId") ?? ""], success: { (response) in weakSelf?.hiddenLoadingView() GYZLog(response) if response["status"].intValue == kQuestSuccessTag{//请求成功 guard let data = response["data"].array else { return } weakSelf?.dataList.removeAll() for item in data{ guard let itemInfo = item.dictionaryObject else { return } let model = BPFriendModel.init(dict: itemInfo) weakSelf?.dataList.append(model) } if weakSelf?.dataList.count > 0{ weakSelf?.hiddenEmptyView() weakSelf?.tableView.reloadData() }else{ ///显示空页面 weakSelf?.showEmptyView(content: "暂无好友信息") } }else{ MBProgressHUD.showAutoDismissHUD(message: response["msg"].stringValue) } }, failture: { (error) in weakSelf?.hiddenLoadingView() GYZLog(error) weakSelf?.showEmptyView(content: "加载失败,请点击重新加载", reload: { weakSelf?.requestFriendsDatas() weakSelf?.hiddenEmptyView() }) }) } /// 添加好友 func requestAddFriend(index: Int){ if !GYZTool.checkNetWork() { return } let model = dataList[index] weak var weakSelf = self createHUD(message: "加载中...") GYZNetWork.requestNetwork("contact/add_friend", parameters: ["f_id": model.id!,"d_id": userDefaults.string(forKey: "userId") ?? ""], success: { (response) in weakSelf?.hud?.hide(animated: true) GYZLog(response) MBProgressHUD.showAutoDismissHUD(message: response["msg"].stringValue) if response["status"].intValue == kQuestSuccessTag{//请求成功 weakSelf?.dataList[index].type = "3"// 设置待通过 weakSelf?.tableView.reloadData() } }, failture: { (error) in weakSelf?.hud?.hide(animated: true) GYZLog(error) }) } /// 患者聊天 func goChatVC(userId: String){ let vc = BPChatVC() vc.userJgId = userId navigationController?.pushViewController(vc, animated: true) } } extension BPSearchFriendsVC: UITableViewDelegate,UITableViewDataSource{ func numberOfSections(in tableView: UITableView) -> Int { return 1 } func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int { return dataList.count } func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell { let cell = tableView.dequeueReusableCell(withIdentifier: searchFriendsCell) as! BPSchoolFriendsCell let model = dataList[indexPath.row] model.name = model.nickname cell.dataModel = model /// 用于搜索时 1 好友 0 患者 2陌生好友 let state: String = model.type! if state == "2" { cell.addBtn.isEnabled = true cell.addBtn.backgroundColor = kBtnClickBGColor cell.addBtn.setTitle("添加", for: .normal) cell.addBtn.setTitleColor(kWhiteColor, for: .normal) }else if state == "1" { cell.addBtn.isEnabled = false cell.addBtn.backgroundColor = kWhiteColor cell.addBtn.setTitle("已添加", for: .normal) cell.addBtn.setTitleColor(kBlackFontColor, for: .normal) }else { cell.addBtn.isEnabled = false cell.addBtn.backgroundColor = kWhiteColor cell.addBtn.setTitle("待通过", for: .normal) cell.addBtn.setTitleColor(kBlackFontColor, for: .normal) } cell.addBtn.tag = indexPath.row cell.addBlock = { [weak self] (index) in self?.requestAddFriend(index: index) } cell.selectionStyle = .none return cell } func tableView(_ tableView: UITableView, viewForHeaderInSection section: Int) -> UIView? { return UIView() } func tableView(_ tableView: UITableView, viewForFooterInSection section: Int) -> UIView? { return UIView() } func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath) { goChatVC(userId: dataList[indexPath.row].jg_id!) } ///MARK : UITableViewDelegate func tableView(_ tableView: UITableView, heightForRowAt indexPath: IndexPath) -> CGFloat { return 50 } func tableView(_ tableView: UITableView, heightForHeaderInSection section: Int) -> CGFloat { return 0.00001 } func tableView(_ tableView: UITableView, heightForFooterInSection section: Int) -> CGFloat { return 0.00001 } }
32.800995
185
0.569543
4a5706f5a371dc3f7ab1758c38724cb590b0c328
1,192
swift
Swift
Graph/GraphViewController.swift
JordanDoczy/Graph
8d5f8d6307f45042e1252f33105eeb3da938b688
[ "Apache-2.0" ]
null
null
null
Graph/GraphViewController.swift
JordanDoczy/Graph
8d5f8d6307f45042e1252f33105eeb3da938b688
[ "Apache-2.0" ]
null
null
null
Graph/GraphViewController.swift
JordanDoczy/Graph
8d5f8d6307f45042e1252f33105eeb3da938b688
[ "Apache-2.0" ]
null
null
null
// // GraphViewController.swift // GraphingCalculator // // Created by Jordan Doczy on 11/3/15. // Copyright © 2015 Jordan Doczy. All rights reserved. // import UIKit class GraphViewController: UIViewController, GraphViewDataSource { weak var dataSource:GraphViewDataSource? @IBOutlet weak var graphView: GraphView! { didSet { let tapGestureRecognizer = UITapGestureRecognizer(target:graphView, action:Selector(GraphView.GestureRecognizer.ResetOrigin)) tapGestureRecognizer.numberOfTapsRequired = 2 graphView.dataSource = self graphView.addGestureRecognizer(tapGestureRecognizer) graphView.addGestureRecognizer(UIPinchGestureRecognizer(target: graphView, action:Selector(GraphView.GestureRecognizer.Scale+":"))) graphView.addGestureRecognizer(UIPanGestureRecognizer(target: graphView, action:Selector(GraphView.GestureRecognizer.Pan+":"))) graphView.contentMode = .redraw } } override func viewDidLoad() { super.viewDidLoad() } func yForX(_ x:CGFloat) -> CGFloat? { return dataSource?.yForX(x) } }
30.564103
143
0.682047
f5f3d17197520f3ae39372ef00461a77d2f47caa
409
rs
Rust
src/main.rs
fortunatodeangelis/rust-codice-fiscale
1b687737831aaa64908573ddc6ff1cec59915800
[ "MIT" ]
null
null
null
src/main.rs
fortunatodeangelis/rust-codice-fiscale
1b687737831aaa64908573ddc6ff1cec59915800
[ "MIT" ]
null
null
null
src/main.rs
fortunatodeangelis/rust-codice-fiscale
1b687737831aaa64908573ddc6ff1cec59915800
[ "MIT" ]
null
null
null
mod codicefiscale; fn main() { let name_check = "Mario"; let lastname_check = "Rossi"; let date_check = "1987-11-26"; let gender_check = "F"; let birthprovince = "NA"; let birthplace = "NAPOLI"; let result = codicefiscale::codicefiscale::calculate( name_check, lastname_check, date_check, gender_check, birthprovince, birthplace); println!("{}", result); }
22.722222
89
0.640587
e64628f00acec8e046ec1c96b5f2508b7e5af7fb
280
sql
SQL
src/test/resources/speed4p.test_13.sql
jdkoren/sqlite-parser
9adf75ff5eca36f6e541594d2e062349f9ced654
[ "MIT" ]
131
2015-03-31T18:59:14.000Z
2022-03-09T09:51:06.000Z
src/test/resources/speed4p.test_13.sql
jdkoren/sqlite-parser
9adf75ff5eca36f6e541594d2e062349f9ced654
[ "MIT" ]
20
2015-03-31T21:35:38.000Z
2018-07-02T16:15:51.000Z
src/test/resources/speed4p.test_13.sql
jdkoren/sqlite-parser
9adf75ff5eca36f6e541594d2e062349f9ced654
[ "MIT" ]
43
2015-04-28T02:01:55.000Z
2021-06-06T09:33:38.000Z
-- speed4p.test -- -- execsql { -- DROP TABLE t4; -- DROP TABLE log; -- VACUUM; -- CREATE TABLE t4(rowid INTEGER PRIMARY KEY, i INTEGER, t TEXT); -- BEGIN; -- } DROP TABLE t4; DROP TABLE log; VACUUM; CREATE TABLE t4(rowid INTEGER PRIMARY KEY, i INTEGER, t TEXT); BEGIN;
20
67
0.65
aef2db2c62628e798edd512c7e200976582a23ab
2,842
kt
Kotlin
bmob/src/main/java/com/angcyo/bmob/api/BmobApi.kt
angcyo/UICoreEx
eafede08fd1bb8811af2b35502bd5d5a17b3fdd6
[ "MIT" ]
2
2021-06-07T06:20:44.000Z
2021-07-23T07:51:29.000Z
bmob/src/main/java/com/angcyo/bmob/api/BmobApi.kt
angcyo/UICoreEx
eafede08fd1bb8811af2b35502bd5d5a17b3fdd6
[ "MIT" ]
null
null
null
bmob/src/main/java/com/angcyo/bmob/api/BmobApi.kt
angcyo/UICoreEx
eafede08fd1bb8811af2b35502bd5d5a17b3fdd6
[ "MIT" ]
2
2020-06-18T10:14:29.000Z
2021-09-05T16:50:10.000Z
package com.angcyo.bmob.api import cn.bmob.v3.BmobSMS import cn.bmob.v3.BmobUser import cn.bmob.v3.datatype.BmobFile import cn.bmob.v3.exception.BmobException import cn.bmob.v3.listener.QueryListener import cn.bmob.v3.listener.UpdateListener import cn.bmob.v3.listener.UploadFileListener import java.io.File /** * Bmob的异步回调, 都在子线程处理. 请注意更新UI操作. * * http://doc.bmob.cn/other/error_code/#restapi * * Email:angcyo@126.com * @author angcyo * @date 2021/01/19 */ fun isBmobLogin() = BmobUser.isLogin() inline fun <reified T : BmobUser> getBmobCurrentUser(): T? = BmobUser.getCurrentUser(T::class.java) /**验证短信验证码*/ fun bmobVerifySmsCode( phoneNumber: String, smsCode: String, verifySmsCodeListener: UpdateListener ) { BmobSMS.verifySmsCode(phoneNumber, smsCode, verifySmsCodeListener) } /**发送验证短信,如果使用默认模板,则设置template为空字符串或不设置*/ fun bmobSendSms( phoneNumber: String, template: String, sendSmsCodeListener: QueryListener<Int> ) { BmobSMS.requestSMSCode(phoneNumber, template, sendSmsCodeListener) } /**发送验证用户邮箱的邮件*/ fun bmobSendEmailForVerifyUserEmail(email: String, end: (ex: BmobException?) -> Unit) { BmobUser.requestEmailVerify(email, object : UpdateListener() { override fun done(ex: BmobException?) { end(ex) } }) } /**发送重置密码的邮件*/ fun bmobSendEmailForResetPassword(email: String, end: (ex: BmobException?) -> Unit) { BmobUser.resetPasswordByEmail(email, object : UpdateListener() { override fun done(ex: BmobException?) { end(ex) } }) } /**使用短信验证码重置密码*/ fun bmobResetPasswordBySmsCode( smsCode: String, newPassword: String, end: (ex: BmobException?) -> Unit ) { BmobUser.resetPasswordBySMSCode(smsCode, newPassword, object : UpdateListener() { override fun done(ex: BmobException?) { end(ex) } }) } ///**使用旧密码重置密码,需要用户登录*/ //inline fun <reified T : BmobUser> bmobResetPasswordByOldPassword( // oldPassword: String, // newPassword: String, // crossinline end: (msg: String?, ex: BmobException?) -> Unit //) { // if (!isBmobLogin()) { // end(null, BmobException("请先登录")) // return // } // getBmobCurrentUser<T>()?.pass( // oldPassword, // newPassword, // object : ResetPasswordListener() { // override fun onFailure(ex: BmobException?) { // end(null, ex) // } // // override fun onSuccess(msg: String?) { // end(msg, null) // } // }) //} /**上传文件*/ fun bmobUploadFile(file: File, uploadListener: UploadFileListener) { val bmobFile = BmobFile(file) bmobFile.upload(uploadListener) } fun bmobDeleteFile(file: File, deleteFileListener: UpdateListener) { val bmobFile = BmobFile(file) bmobFile.delete(deleteFileListener) }
25.836364
87
0.660802
0a151c745f7df1e8abb93fed8815810788b1df3b
183
ts
TypeScript
test/helper.ts
mrellipse/vue-model-date
15d35cea9e545ac66d6e0faaf24daea2406a8147
[ "MIT" ]
2
2018-07-03T03:22:28.000Z
2018-07-31T16:53:03.000Z
test/helper.ts
mrellipse/vue-model-date
15d35cea9e545ac66d6e0faaf24daea2406a8147
[ "MIT" ]
2
2018-03-14T05:41:25.000Z
2018-08-17T01:18:32.000Z
test/helper.ts
mrellipse/vue-model-date
15d35cea9e545ac66d6e0faaf24daea2406a8147
[ "MIT" ]
null
null
null
export function dispatchEvent(el: HTMLElement, name: string) { var event = document.createEvent('Event'); event.initEvent(name, true, true); el.dispatchEvent(event); }
36.6
63
0.699454
4240e3713775481af480b085a4426345c63caf90
11,333
swift
Swift
src/xcode/ENA/ENA/Source/Scenes/HealthCertificates/HealthCertifiedPerson/__tests__/HealthCertifiedPersonViewModelTests.swift
beyonddream/cwa-app-ios
a8092add2834ead18fdb0b4d0403eb7b9c1317b6
[ "ECL-2.0", "Apache-2.0", "MIT" ]
null
null
null
src/xcode/ENA/ENA/Source/Scenes/HealthCertificates/HealthCertifiedPerson/__tests__/HealthCertifiedPersonViewModelTests.swift
beyonddream/cwa-app-ios
a8092add2834ead18fdb0b4d0403eb7b9c1317b6
[ "ECL-2.0", "Apache-2.0", "MIT" ]
null
null
null
src/xcode/ENA/ENA/Source/Scenes/HealthCertificates/HealthCertifiedPerson/__tests__/HealthCertifiedPersonViewModelTests.swift
beyonddream/cwa-app-ios
a8092add2834ead18fdb0b4d0403eb7b9c1317b6
[ "ECL-2.0", "Apache-2.0", "MIT" ]
null
null
null
//// // 🦠 Corona-Warn-App // import XCTest import HealthCertificateToolkit @testable import ENA class HealthCertifiedPersonViewModelTests: XCTestCase { func testGIVEN_HealthCertifiedPersonViewModel_WHEN_Init_THEN_isAsExpected() { // GIVEN let service = HealthCertificateService( store: MockTestStore(), signatureVerifying: DCCSignatureVerifyingStub(), dscListProvider: MockDSCListProvider(), client: ClientMock(), appConfiguration: CachedAppConfigurationMock() ) let viewModel = HealthCertifiedPersonViewModel( healthCertificateService: service, healthCertifiedPerson: HealthCertifiedPerson(healthCertificates: []), healthCertificateValueSetsProvider: VaccinationValueSetsProvider(client: CachingHTTPClientMock(), store: MockTestStore()), dismiss: {}, didTapValidationButton: { _, _ in } ) // THEN XCTAssertEqual(viewModel.numberOfItems(in: .header), 1) XCTAssertEqual(viewModel.numberOfItems(in: .qrCode), 1) XCTAssertEqual(viewModel.numberOfItems(in: .person), 1) XCTAssertEqual(viewModel.numberOfItems(in: .vaccinationHint), 0) XCTAssertEqual(viewModel.numberOfItems(in: .certificates), 0) XCTAssertFalse(viewModel.canEditRow(at: IndexPath(row: 0, section: HealthCertifiedPersonViewModel.TableViewSection.header.rawValue))) XCTAssertFalse(viewModel.canEditRow(at: IndexPath(row: 0, section: HealthCertifiedPersonViewModel.TableViewSection.qrCode.rawValue))) XCTAssertFalse(viewModel.canEditRow(at: IndexPath(row: 0, section: HealthCertifiedPersonViewModel.TableViewSection.person.rawValue))) XCTAssertFalse(viewModel.canEditRow(at: IndexPath(row: 0, section: HealthCertifiedPersonViewModel.TableViewSection.vaccinationHint.rawValue))) XCTAssertTrue(viewModel.canEditRow(at: IndexPath(row: 0, section: HealthCertifiedPersonViewModel.TableViewSection.certificates.rawValue))) XCTAssertEqual(HealthCertifiedPersonViewModel.TableViewSection.numberOfSections, 5) XCTAssertEqual(HealthCertifiedPersonViewModel.TableViewSection.map(0), .header) XCTAssertEqual(HealthCertifiedPersonViewModel.TableViewSection.map(1), .qrCode) XCTAssertEqual(HealthCertifiedPersonViewModel.TableViewSection.map(3), .vaccinationHint) XCTAssertEqual(HealthCertifiedPersonViewModel.TableViewSection.map(2), .person) XCTAssertEqual(HealthCertifiedPersonViewModel.TableViewSection.map(4), .certificates) } func testGIVEN_HealthCertifiedPersonViewModel_WHEN_qrCodeCellViewModel_THEN_noFatalError() throws { // GIVEN let service = HealthCertificateService( store: MockTestStore(), signatureVerifying: DCCSignatureVerifyingStub(), dscListProvider: MockDSCListProvider(), client: ClientMock(), appConfiguration: CachedAppConfigurationMock() ) let viewModel = HealthCertifiedPersonViewModel( healthCertificateService: service, healthCertifiedPerson: HealthCertifiedPerson( healthCertificates: [ HealthCertificate.mock() ] ), healthCertificateValueSetsProvider: VaccinationValueSetsProvider(client: CachingHTTPClientMock(), store: MockTestStore()), dismiss: {}, didTapValidationButton: { _, _ in } ) // WHEN let qrCodeCellViewModel = viewModel.qrCodeCellViewModel let healthCertificateCellViewModel = viewModel.healthCertificateCellViewModel(row: 0) let healthCertificate = try XCTUnwrap(viewModel.healthCertificate(for: IndexPath(row: 0, section: HealthCertifiedPersonViewModel.TableViewSection.certificates.rawValue))) // THEN XCTAssertFalse(viewModel.vaccinationHintIsVisible) XCTAssertEqual(qrCodeCellViewModel.qrCodeViewModel.accessibilityLabel, AppStrings.HealthCertificate.Person.QRCodeImageDescription) XCTAssertEqual(healthCertificateCellViewModel.gradientType, .lightBlue(withStars: false)) XCTAssertEqual(healthCertificate.name.fullName, "Erika Dörte Schmitt Mustermann") } func testGIVEN_PartiallyVaccinatedHealthCertifiedPersonViewModel_THEN_isSetupCorrect() throws { // GIVEN let service = HealthCertificateService( store: MockTestStore(), signatureVerifying: DCCSignatureVerifyingStub(), dscListProvider: MockDSCListProvider(), client: ClientMock(), appConfiguration: CachedAppConfigurationMock() ) let healthCertificate = try vaccinationCertificate(daysOffset: -24, doseNumber: 1, identifier: "01DE/84503/1119349007/DXSGWLWL40SU8ZFKIYIBK39A3#S", dateOfBirth: "1988-06-07") let healthCertifiedPerson = HealthCertifiedPerson( healthCertificates: [ healthCertificate ] ) let viewModel = HealthCertifiedPersonViewModel( healthCertificateService: service, healthCertifiedPerson: healthCertifiedPerson, healthCertificateValueSetsProvider: VaccinationValueSetsProvider(client: CachingHTTPClientMock(), store: MockTestStore()), dismiss: {}, didTapValidationButton: { _, _ in } ) let vaccinationHintCellViewModel = viewModel.vaccinationHintCellViewModel guard case .partiallyVaccinated = healthCertifiedPerson.vaccinationState else { fatalError("Expected vaccination state .partiallyVaccinated") } // THEN XCTAssertEqual(viewModel.numberOfItems(in: .vaccinationHint), 1) XCTAssertEqual(vaccinationHintCellViewModel.backgroundColor, .enaColor(for: .cellBackground2)) XCTAssertEqual(vaccinationHintCellViewModel.textAlignment, .left) XCTAssertEqual(vaccinationHintCellViewModel.text, AppStrings.HealthCertificate.Person.partiallyVaccinated) XCTAssertEqual(vaccinationHintCellViewModel.topSpace, 16.0) XCTAssertEqual(vaccinationHintCellViewModel.font, .enaFont(for: .body)) XCTAssertEqual(vaccinationHintCellViewModel.borderColor, .enaColor(for: .hairline)) XCTAssertEqual(vaccinationHintCellViewModel.accessibilityTraits, .staticText) } func testGIVEN_FullyVaccinatedHealthCertifiedPersonViewModel_THEN_isSetupCorrect() throws { // GIVEN let service = HealthCertificateService( store: MockTestStore(), signatureVerifying: DCCSignatureVerifyingStub(), dscListProvider: MockDSCListProvider(), client: ClientMock(), appConfiguration: CachedAppConfigurationMock() ) let healthCertificate1 = try vaccinationCertificate(daysOffset: -24, doseNumber: 1, identifier: "01DE/84503/1119349007/DXSGWLWL40SU8ZFKIYIBK39A3#S", dateOfBirth: "1988-06-07") let healthCertificate2 = try vaccinationCertificate(daysOffset: -12, doseNumber: 2, identifier: "01DE/84503/1119349007/DXSGWWLW40SU8ZFKIYIBK39A3#S", dateOfBirth: "1988-06-07") let healthCertifiedPerson = HealthCertifiedPerson( healthCertificates: [ healthCertificate1, healthCertificate2 ] ) let viewModel = HealthCertifiedPersonViewModel( healthCertificateService: service, healthCertifiedPerson: healthCertifiedPerson, healthCertificateValueSetsProvider: VaccinationValueSetsProvider(client: CachingHTTPClientMock(), store: MockTestStore()), dismiss: {}, didTapValidationButton: { _, _ in } ) let vaccinationHintCellViewModel = viewModel.vaccinationHintCellViewModel guard case .fullyVaccinated(daysUntilCompleteProtection: let daysUntilCompleteProtection) = healthCertifiedPerson.vaccinationState else { fatalError("Expected vaccination state .fullyVaccinated") } // THEN XCTAssertEqual(viewModel.numberOfItems(in: .vaccinationHint), 1) XCTAssertEqual(vaccinationHintCellViewModel.backgroundColor, .enaColor(for: .cellBackground2)) XCTAssertEqual(vaccinationHintCellViewModel.textAlignment, .left) XCTAssertEqual(vaccinationHintCellViewModel.text, String( format: AppStrings.HealthCertificate.Person.daysUntilCompleteProtection, daysUntilCompleteProtection )) XCTAssertEqual(vaccinationHintCellViewModel.topSpace, 16.0) XCTAssertEqual(vaccinationHintCellViewModel.font, .enaFont(for: .body)) XCTAssertEqual(vaccinationHintCellViewModel.borderColor, .enaColor(for: .hairline)) XCTAssertEqual(vaccinationHintCellViewModel.accessibilityTraits, .staticText) } func testHeightForFooter() throws { // GIVEN let service = HealthCertificateService( store: MockTestStore(), signatureVerifying: DCCSignatureVerifyingStub(), dscListProvider: MockDSCListProvider(), client: ClientMock(), appConfiguration: CachedAppConfigurationMock() ) let healthCertificate = try vaccinationCertificate(daysOffset: -24, doseNumber: 1, identifier: "01DE/84503/1119349007/DXSGWLWL40SU8ZFKIYIBK39A3#S", dateOfBirth: "1988-06-07") let healthCertifiedPerson = HealthCertifiedPerson( healthCertificates: [ healthCertificate ] ) let viewModel = HealthCertifiedPersonViewModel( healthCertificateService: service, healthCertifiedPerson: healthCertifiedPerson, healthCertificateValueSetsProvider: VaccinationValueSetsProvider(client: CachingHTTPClientMock(), store: MockTestStore()), dismiss: {}, didTapValidationButton: { _, _ in } ) // THEN XCTAssertEqual(viewModel.heightForFooter(in: .header), 0) XCTAssertEqual(viewModel.heightForFooter(in: .qrCode), 0) XCTAssertEqual(viewModel.heightForFooter(in: .vaccinationHint), 0) XCTAssertEqual(viewModel.heightForFooter(in: .person), 0) XCTAssertEqual(viewModel.heightForFooter(in: .certificates), 12) } func testVaccinationHintBooster() throws { // GIVEN let service = HealthCertificateService( store: MockTestStore(), signatureVerifying: DCCSignatureVerifyingStub(), dscListProvider: MockDSCListProvider(), client: ClientMock(), appConfiguration: CachedAppConfigurationMock() ) let healthCertificate = try vaccinationCertificate(daysOffset: -24, doseNumber: 3, totalSeriesOfDoses: 2, identifier: "01DE/84503/1119349007/DXSGWLWL40SU8ZFKIYIBK39A3#S", dateOfBirth: "1988-06-07") let healthCertifiedPerson = HealthCertifiedPerson( healthCertificates: [ healthCertificate ] ) let viewModel = HealthCertifiedPersonViewModel( healthCertificateService: service, healthCertifiedPerson: healthCertifiedPerson, healthCertificateValueSetsProvider: VaccinationValueSetsProvider(client: CachingHTTPClientMock(), store: MockTestStore()), dismiss: {}, didTapValidationButton: { _, _ in } ) // THEN XCTAssertEqual(viewModel.heightForFooter(in: .vaccinationHint), 0) } func testVaccinationHintIncompleteBooster() throws { // GIVEN let service = HealthCertificateService( store: MockTestStore(), signatureVerifying: DCCSignatureVerifyingStub(), dscListProvider: MockDSCListProvider(), client: ClientMock(), appConfiguration: CachedAppConfigurationMock() ) let healthCertificate1 = try vaccinationCertificate(daysOffset: -24, doseNumber: 3, totalSeriesOfDoses: 2, identifier: "01DE/84503/1119349007/DXSGWLWL40SU8ZFKIYIBK39A3#S", dateOfBirth: "1988-06-07") let healthCertificate2 = try vaccinationCertificate(daysOffset: -24, doseNumber: 1, totalSeriesOfDoses: 2, identifier: "01DE/84503/1119349007/DXSGWLWL40SU8ZFKIYIBK39A3#S", dateOfBirth: "1988-06-07") let healthCertifiedPerson = HealthCertifiedPerson( healthCertificates: [ healthCertificate1, healthCertificate2 ] ) let viewModel = HealthCertifiedPersonViewModel( healthCertificateService: service, healthCertifiedPerson: healthCertifiedPerson, healthCertificateValueSetsProvider: VaccinationValueSetsProvider(client: CachingHTTPClientMock(), store: MockTestStore()), dismiss: {}, didTapValidationButton: { _, _ in } ) // THEN XCTAssertEqual(viewModel.heightForFooter(in: .vaccinationHint), 0) } }
41.819188
200
0.801465
6b72a904251d842166b0237cfcb89f37f9aeebc7
3,184
rs
Rust
src/docker/stats/cpu.rs
thomaszub/docker2mqtt
ad2509ed7000436a2424d7d388ce6efdf0b4698e
[ "MIT" ]
5
2021-03-02T05:14:37.000Z
2022-01-09T15:50:57.000Z
src/docker/stats/cpu.rs
thomaszub/docker2mqtt
ad2509ed7000436a2424d7d388ce6efdf0b4698e
[ "MIT" ]
40
2021-03-05T10:35:41.000Z
2022-03-30T16:14:22.000Z
src/docker/stats/cpu.rs
thomaszub/docker2mqtt
ad2509ed7000436a2424d7d388ce6efdf0b4698e
[ "MIT" ]
2
2021-05-02T07:13:11.000Z
2021-06-16T08:54:28.000Z
use bollard::container::CPUStats; pub fn usage(precpu_stats: &CPUStats, cpu_stats: &CPUStats) -> f64 { if let Some(system_cpu_delta) = calculate_system_cpu_delta(precpu_stats, cpu_stats) { calculate_relative_cpu_usage(precpu_stats, cpu_stats, system_cpu_delta) } else { 0.0 } } fn calculate_relative_cpu_usage( precpu_stats: &CPUStats, cpu_stats: &CPUStats, system_cpu_delta: u64, ) -> f64 { let delta_cpu_usage = (cpu_stats.cpu_usage.total_usage - precpu_stats.cpu_usage.total_usage) as f64; (delta_cpu_usage / system_cpu_delta as f64) * number_cpus(cpu_stats) as f64 * 100.0 } fn calculate_system_cpu_delta(precpu_stats: &CPUStats, cpu_stats: &CPUStats) -> Option<u64> { if let (Some(cpu), Some(pre)) = (cpu_stats.system_cpu_usage, precpu_stats.system_cpu_usage) { Some(cpu - pre) } else { None } } fn number_cpus(cpu_stats: &CPUStats) -> u64 { if let Some(cpus) = cpu_stats.online_cpus { cpus } else { cpu_stats .cpu_usage .percpu_usage .as_deref() .unwrap_or(&[]) .len() as u64 } } #[cfg(test)] mod must { use crate::docker::stats::cpu::usage; use bollard::container::{CPUStats, CPUUsage, ThrottlingData}; fn create_cpu_stats( percpu_usage: Option<Vec<u64>>, total_usage: u64, system_cpu_usage: Option<u64>, online_cpus: Option<u64>, ) -> CPUStats { CPUStats { cpu_usage: CPUUsage { percpu_usage, usage_in_usermode: 0, total_usage, usage_in_kernelmode: 0, }, system_cpu_usage, online_cpus, throttling_data: ThrottlingData { periods: 0, throttled_periods: 0, throttled_time: 0, }, } } const FLOAT_ERROR_MARGIN: f64 = 0.0099; #[test] fn return_correct_cpu_usage_without_percpu_usage() { let precpu_stats = create_cpu_stats(None, 60, Some(70), Some(2)); let cpu_stats = create_cpu_stats(None, 75, Some(80), Some(2)); assert!((usage(&precpu_stats, &cpu_stats) - 300.0).abs() < FLOAT_ERROR_MARGIN); } #[test] fn return_correct_cpu_usage_with_percpu_usage() { let precpu_stats = create_cpu_stats(Some(vec![25, 45]), 60, Some(70), None); let cpu_stats = create_cpu_stats(Some(vec![35, 45]), 75, Some(80), None); assert!((usage(&precpu_stats, &cpu_stats) - 300.0).abs() < FLOAT_ERROR_MARGIN); } #[test] fn return_zero_cpu_usage_without_system_cpu_usage() { let precpu_stats = create_cpu_stats(None, 60, Some(70), Some(2)); let precpu_stats_zero_system = create_cpu_stats(None, 60, None, Some(2)); let cpu_stats = create_cpu_stats(None, 75, Some(80), Some(2)); let cpu_stats_zero_system = create_cpu_stats(None, 75, None, Some(2)); assert!((usage(&precpu_stats_zero_system, &cpu_stats) - 0.0).abs() < FLOAT_ERROR_MARGIN); assert!((usage(&precpu_stats, &cpu_stats_zero_system) - 0.0).abs() < FLOAT_ERROR_MARGIN); } }
32.161616
97
0.617776
0bcd7e46c25b51bccb7785349c024024c16bf1be
2,419
js
JavaScript
flow-front-rest/src/main/resources/static/assets/index.5f0847a9.js
xietongjian/flow
a3cd377e072a759b81aceb1800370be889dbe1e4
[ "Apache-2.0" ]
2
2021-06-03T02:15:01.000Z
2021-06-03T02:15:24.000Z
flow-front-rest/src/main/resources/static/assets/index.5f0847a9.js
flytangyu/flow
18c3b9c8c5d0f6521db3fe37b323be557c3893ba
[ "Apache-2.0" ]
null
null
null
flow-front-rest/src/main/resources/static/assets/index.5f0847a9.js
flytangyu/flow
18c3b9c8c5d0f6521db3fe37b323be557c3893ba
[ "Apache-2.0" ]
null
null
null
import{_ as e}from"./TableImg.6e3cdbac.js";import"./useForm.f653b7da.js";import{u as s}from"./useTable.fa194a4c.js";import{_ as o}from"./PageWrapper.44137319.js";import{k as a,aT as t,bm as r,af as n,bi as i,b_ as d,bd as m,K as p,o as c,n as f,P as u,q as j,X as b,s as l}from"./vendor.d660e98f.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import{todoTableSchema as x,searchFormSchema as g}from"./data.851607e4.js";import h from"./ProcessHeader.454ef4d5.js";import I from"./LaunchButton.18c2d23d.js";import{a as T,h as P}from"./process.ca438802.js";/* empty css */import"./index.fe7e6ae2.js";/* empty css *//* empty css *//* empty css */import"./useWindowSizeFn.4f1b8c18.js";import"./useModal.cf585834.js";import"./onMountedOrActivated.a3bdff8d.js";import"./useSortable.f32532ef.js";/* empty css */import"./CountdownInput.3cddc062.js";import"./download.a51d0688.js";import"./StrengthMeter.a0087382.js";import"./usePageContext.a4ed025e.js";/* empty css *//* empty css *//* empty css */var S=a({components:{BasicTable:e,ProcessHeader:h,LaunchButton:I,PageWrapper:o,[t.name]:t,[r.name]:r,AEmpty:n,[i.name]:i,[i.Item.name]:i.Item,[d.name]:d,[d.Step.name]:d.Step,[m.name]:m,[m.TabPane.name]:m.TabPane},setup(){const[e,{getForm:o}]=s({api:T,title:"",columns:x,formConfig:{labelWidth:120,schemas:g,showAdvancedButton:!1,showResetButton:!1,autoSubmitOnEnter:!0},useSearchForm:!0,pagination:!0,showIndexColumn:!0,canResize:!1});return P().then((e=>{const{updateSchema:s}=o();s({field:"appSn",componentProps:{options:e}})})),{registerTodoTable:e}}});const w={class:"m-1 desc-wrap process"};S.render=function(e,s,o,a,t,r){const n=p("launch-button"),i=p("process-header"),d=p("router-link"),m=p("BasicTable"),x=p("PageWrapper");return c(),f(x,{title:"流程中心",contentBackground:"",class:"!mt-4"},{extra:u((()=>[j(n)])),footer:u((()=>[j(i,{current:"todo"})])),default:u((()=>[j("div",w,[j(m,{onRegister:e.registerTodoTable},{nameRender:u((({record:e})=>[j(d,{to:`/process/approve/${e.processDefinitionKey}?taskId=${e.taskId}&procInstId=${e.processInstanceId}&businessKey=${e.businessKey}`},{default:u((()=>[b(l(e.formName),1)])),_:2},1032,["to"])])),_:1},8,["onRegister"])])])),_:1})};export default S;
1,209.5
2,418
0.642001
8a422246514bcc833c3734cc08b24c705a77fcbe
13,651
rs
Rust
src/libstd/rand/os.rs
JIghtuse/rust
6e4b5a430a0db144bf6ea0f4d1db0464ee895d1d
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
2
2019-05-27T02:19:50.000Z
2019-05-29T01:23:51.000Z
src/libstd/rand/os.rs
oconnor663/rust
13675a57c75b2e08827c1674b050bc241f1bf4aa
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
null
null
null
src/libstd/rand/os.rs
oconnor663/rust
13675a57c75b2e08827c1674b050bc241f1bf4aa
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
null
null
null
// Copyright 2013-2015 The Rust Project Developers. See the COPYRIGHT // file at the top-level directory of this distribution and at // http://rust-lang.org/COPYRIGHT. // // Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or // http://www.apache.org/licenses/LICENSE-2.0> or the MIT license // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your // option. This file may not be copied, modified, or distributed // except according to those terms. //! Interfaces to the operating system provided random number //! generators. pub use self::imp::OsRng; #[cfg(all(unix, not(target_os = "ios"), not(target_os = "openbsd")))] mod imp { use self::OsRngInner::*; use fs::File; use io; use libc; use mem; use rand::Rng; use rand::reader::ReaderRng; use sys::os::errno; #[cfg(all(target_os = "linux", any(target_arch = "x86_64", target_arch = "x86", target_arch = "arm", target_arch = "aarch64", target_arch = "powerpc", target_arch = "powerpc64")))] fn getrandom(buf: &mut [u8]) -> libc::c_long { #[cfg(target_arch = "x86_64")] const NR_GETRANDOM: libc::c_long = 318; #[cfg(target_arch = "x86")] const NR_GETRANDOM: libc::c_long = 355; #[cfg(target_arch = "arm")] const NR_GETRANDOM: libc::c_long = 384; #[cfg(any(target_arch = "powerpc", target_arch = "powerpc64"))] const NR_GETRANDOM: libc::c_long = 359; #[cfg(target_arch = "aarch64")] const NR_GETRANDOM: libc::c_long = 278; unsafe { libc::syscall(NR_GETRANDOM, buf.as_mut_ptr(), buf.len(), 0) } } #[cfg(not(all(target_os = "linux", any(target_arch = "x86_64", target_arch = "x86", target_arch = "arm", target_arch = "aarch64", target_arch = "powerpc", target_arch = "powerpc64"))))] fn getrandom(_buf: &mut [u8]) -> libc::c_long { -1 } fn getrandom_fill_bytes(v: &mut [u8]) { let mut read = 0; while read < v.len() { let result = getrandom(&mut v[read..]); if result == -1 { let err = errno() as libc::c_int; if err == libc::EINTR { continue; } else { panic!("unexpected getrandom error: {}", err); } } else { read += result as usize; } } } fn getrandom_next_u32() -> u32 { let mut buf: [u8; 4] = [0; 4]; getrandom_fill_bytes(&mut buf); unsafe { mem::transmute::<[u8; 4], u32>(buf) } } fn getrandom_next_u64() -> u64 { let mut buf: [u8; 8] = [0; 8]; getrandom_fill_bytes(&mut buf); unsafe { mem::transmute::<[u8; 8], u64>(buf) } } #[cfg(all(target_os = "linux", any(target_arch = "x86_64", target_arch = "x86", target_arch = "arm", target_arch = "aarch64", target_arch = "powerpc", target_arch = "powerpc64")))] fn is_getrandom_available() -> bool { use sync::atomic::{AtomicBool, Ordering}; use sync::Once; static CHECKER: Once = Once::new(); static AVAILABLE: AtomicBool = AtomicBool::new(false); CHECKER.call_once(|| { let mut buf: [u8; 0] = []; let result = getrandom(&mut buf); let available = if result == -1 { let err = io::Error::last_os_error().raw_os_error(); err != Some(libc::ENOSYS) } else { true }; AVAILABLE.store(available, Ordering::Relaxed); }); AVAILABLE.load(Ordering::Relaxed) } #[cfg(not(all(target_os = "linux", any(target_arch = "x86_64", target_arch = "x86", target_arch = "arm", target_arch = "aarch64", target_arch = "powerpc", target_arch = "powerpc64"))))] fn is_getrandom_available() -> bool { false } /// A random number generator that retrieves randomness straight from /// the operating system. Platform sources: /// /// - Unix-like systems (Linux, Android, Mac OSX): read directly from /// `/dev/urandom`, or from `getrandom(2)` system call if available. /// - Windows: calls `CryptGenRandom`, using the default cryptographic /// service provider with the `PROV_RSA_FULL` type. /// - iOS: calls SecRandomCopyBytes as /dev/(u)random is sandboxed. /// - OpenBSD: uses the `getentropy(2)` system call. /// /// This does not block. pub struct OsRng { inner: OsRngInner, } enum OsRngInner { OsGetrandomRng, OsReaderRng(ReaderRng<File>), } impl OsRng { /// Create a new `OsRng`. pub fn new() -> io::Result<OsRng> { if is_getrandom_available() { return Ok(OsRng { inner: OsGetrandomRng }); } let reader = try!(File::open("/dev/urandom")); let reader_rng = ReaderRng::new(reader); Ok(OsRng { inner: OsReaderRng(reader_rng) }) } } impl Rng for OsRng { fn next_u32(&mut self) -> u32 { match self.inner { OsGetrandomRng => getrandom_next_u32(), OsReaderRng(ref mut rng) => rng.next_u32(), } } fn next_u64(&mut self) -> u64 { match self.inner { OsGetrandomRng => getrandom_next_u64(), OsReaderRng(ref mut rng) => rng.next_u64(), } } fn fill_bytes(&mut self, v: &mut [u8]) { match self.inner { OsGetrandomRng => getrandom_fill_bytes(v), OsReaderRng(ref mut rng) => rng.fill_bytes(v) } } } } #[cfg(target_os = "openbsd")] mod imp { use io; use libc; use mem; use sys::os::errno; use rand::Rng; /// A random number generator that retrieves randomness straight from /// the operating system. Platform sources: /// /// - Unix-like systems (Linux, Android, Mac OSX): read directly from /// `/dev/urandom`, or from `getrandom(2)` system call if available. /// - Windows: calls `CryptGenRandom`, using the default cryptographic /// service provider with the `PROV_RSA_FULL` type. /// - iOS: calls SecRandomCopyBytes as /dev/(u)random is sandboxed. /// - OpenBSD: uses the `getentropy(2)` system call. /// /// This does not block. pub struct OsRng { // dummy field to ensure that this struct cannot be constructed outside // of this module _dummy: (), } impl OsRng { /// Create a new `OsRng`. pub fn new() -> io::Result<OsRng> { Ok(OsRng { _dummy: () }) } } impl Rng for OsRng { fn next_u32(&mut self) -> u32 { let mut v = [0; 4]; self.fill_bytes(&mut v); unsafe { mem::transmute(v) } } fn next_u64(&mut self) -> u64 { let mut v = [0; 8]; self.fill_bytes(&mut v); unsafe { mem::transmute(v) } } fn fill_bytes(&mut self, v: &mut [u8]) { // getentropy(2) permits a maximum buffer size of 256 bytes for s in v.chunks_mut(256) { let ret = unsafe { libc::getentropy(s.as_mut_ptr() as *mut libc::c_void, s.len()) }; if ret == -1 { panic!("unexpected getentropy error: {}", errno()); } } } } } #[cfg(target_os = "ios")] mod imp { use io; use mem; use ptr; use rand::Rng; use libc::{c_int, size_t}; /// A random number generator that retrieves randomness straight from /// the operating system. Platform sources: /// /// - Unix-like systems (Linux, Android, Mac OSX): read directly from /// `/dev/urandom`, or from `getrandom(2)` system call if available. /// - Windows: calls `CryptGenRandom`, using the default cryptographic /// service provider with the `PROV_RSA_FULL` type. /// - iOS: calls SecRandomCopyBytes as /dev/(u)random is sandboxed. /// - OpenBSD: uses the `getentropy(2)` system call. /// /// This does not block. pub struct OsRng { // dummy field to ensure that this struct cannot be constructed outside // of this module _dummy: (), } enum SecRandom {} #[allow(non_upper_case_globals)] const kSecRandomDefault: *const SecRandom = ptr::null(); #[link(name = "Security", kind = "framework")] #[cfg(not(cargobuild))] extern {} extern { fn SecRandomCopyBytes(rnd: *const SecRandom, count: size_t, bytes: *mut u8) -> c_int; } impl OsRng { /// Create a new `OsRng`. pub fn new() -> io::Result<OsRng> { Ok(OsRng { _dummy: () }) } } impl Rng for OsRng { fn next_u32(&mut self) -> u32 { let mut v = [0; 4]; self.fill_bytes(&mut v); unsafe { mem::transmute(v) } } fn next_u64(&mut self) -> u64 { let mut v = [0; 8]; self.fill_bytes(&mut v); unsafe { mem::transmute(v) } } fn fill_bytes(&mut self, v: &mut [u8]) { let ret = unsafe { SecRandomCopyBytes(kSecRandomDefault, v.len() as size_t, v.as_mut_ptr()) }; if ret == -1 { panic!("couldn't generate random bytes: {}", io::Error::last_os_error()); } } } } #[cfg(windows)] mod imp { use io; use mem; use rand::Rng; use sys::c; /// A random number generator that retrieves randomness straight from /// the operating system. Platform sources: /// /// - Unix-like systems (Linux, Android, Mac OSX): read directly from /// `/dev/urandom`, or from `getrandom(2)` system call if available. /// - Windows: calls `CryptGenRandom`, using the default cryptographic /// service provider with the `PROV_RSA_FULL` type. /// - iOS: calls SecRandomCopyBytes as /dev/(u)random is sandboxed. /// - OpenBSD: uses the `getentropy(2)` system call. /// /// This does not block. pub struct OsRng { hcryptprov: c::HCRYPTPROV } impl OsRng { /// Create a new `OsRng`. pub fn new() -> io::Result<OsRng> { let mut hcp = 0; let ret = unsafe { c::CryptAcquireContextA(&mut hcp, 0 as c::LPCSTR, 0 as c::LPCSTR, c::PROV_RSA_FULL, c::CRYPT_VERIFYCONTEXT | c::CRYPT_SILENT) }; if ret == 0 { Err(io::Error::last_os_error()) } else { Ok(OsRng { hcryptprov: hcp }) } } } impl Rng for OsRng { fn next_u32(&mut self) -> u32 { let mut v = [0; 4]; self.fill_bytes(&mut v); unsafe { mem::transmute(v) } } fn next_u64(&mut self) -> u64 { let mut v = [0; 8]; self.fill_bytes(&mut v); unsafe { mem::transmute(v) } } fn fill_bytes(&mut self, v: &mut [u8]) { let ret = unsafe { c::CryptGenRandom(self.hcryptprov, v.len() as c::DWORD, v.as_mut_ptr()) }; if ret == 0 { panic!("couldn't generate random bytes: {}", io::Error::last_os_error()); } } } impl Drop for OsRng { fn drop(&mut self) { let ret = unsafe { c::CryptReleaseContext(self.hcryptprov, 0) }; if ret == 0 { panic!("couldn't release context: {}", io::Error::last_os_error()); } } } } #[cfg(test)] mod tests { use sync::mpsc::channel; use rand::Rng; use super::OsRng; use thread; #[test] fn test_os_rng() { let mut r = OsRng::new().unwrap(); r.next_u32(); r.next_u64(); let mut v = [0; 1000]; r.fill_bytes(&mut v); } #[test] fn test_os_rng_tasks() { let mut txs = vec!(); for _ in 0..20 { let (tx, rx) = channel(); txs.push(tx); thread::spawn(move|| { // wait until all the threads are ready to go. rx.recv().unwrap(); // deschedule to attempt to interleave things as much // as possible (XXX: is this a good test?) let mut r = OsRng::new().unwrap(); thread::yield_now(); let mut v = [0; 1000]; for _ in 0..100 { r.next_u32(); thread::yield_now(); r.next_u64(); thread::yield_now(); r.fill_bytes(&mut v); thread::yield_now(); } }); } // start all the threads for tx in &txs { tx.send(()).unwrap(); } } }
31.025
82
0.498132
8185c2ccd68ea0f22ae57584194c9b7378041b28
116
go
Go
services/logger/log_solaris.go
piotr-g/redishappy
f455d20123f480bc5bf2c13e246d5531826fdf3f
[ "Apache-2.0" ]
119
2015-01-01T14:39:49.000Z
2022-03-08T03:45:55.000Z
services/logger/log_solaris.go
piotr-g/redishappy
f455d20123f480bc5bf2c13e246d5531826fdf3f
[ "Apache-2.0" ]
28
2015-01-08T22:19:10.000Z
2019-10-21T14:16:34.000Z
services/logger/log_solaris.go
piotr-g/redishappy
f455d20123f480bc5bf2c13e246d5531826fdf3f
[ "Apache-2.0" ]
29
2015-01-19T09:24:03.000Z
2019-08-21T09:28:35.000Z
package logger // InitLogging is a NOOP for solaris and will default to StdOut func InitLogging(logPath string) {}
23.2
63
0.784483
75341a358f834f3c3ff12189541d6b99184176e1
44
c
C
c_translator/formative/f4.c
mahudu97/ANSI-C_Compiler
0e3f9960bf6c4e1e03f5d4d41b5f162be4d55131
[ "Unlicense" ]
6
2019-05-21T09:42:10.000Z
2021-03-22T04:34:20.000Z
c_translator/formative/f4.c
mahudu97/ANSI-C_Compiler
0e3f9960bf6c4e1e03f5d4d41b5f162be4d55131
[ "Unlicense" ]
null
null
null
c_translator/formative/f4.c
mahudu97/ANSI-C_Compiler
0e3f9960bf6c4e1e03f5d4d41b5f162be4d55131
[ "Unlicense" ]
1
2019-06-25T22:35:24.000Z
2019-06-25T22:35:24.000Z
int main() { return 1*2+3*4+5*6+7*8; }
7.333333
27
0.477273
5b3c30403cabaa6a4030ae89d91ae09a767a8b84
21,774
c
C
rpc/cli/dsVideoPort.c
rdkcmf/rdk-devicesettings
84be2264e6f390ee55d513b245326647560b391b
[ "Apache-2.0" ]
null
null
null
rpc/cli/dsVideoPort.c
rdkcmf/rdk-devicesettings
84be2264e6f390ee55d513b245326647560b391b
[ "Apache-2.0" ]
null
null
null
rpc/cli/dsVideoPort.c
rdkcmf/rdk-devicesettings
84be2264e6f390ee55d513b245326647560b391b
[ "Apache-2.0" ]
2
2018-08-16T19:10:45.000Z
2019-12-23T11:46:21.000Z
/* If not stated otherwise in this file or this component's Licenses.txt file the * following copyright and licenses apply: * * Copyright 2016 RDK Management * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ /** * @defgroup devicesettings * @{ * @defgroup rpc * @{ **/ #include "dsVideoPort.h" #include <sys/types.h> #include <stdint.h> #include <string.h> #include "dsError.h" #include "dsUtl.h" #include "dsRpc.h" #include "dsMgr.h" #include "iarmUtil.h" #include "libIBus.h" #include "libIARM.h" #include "dsTypes.h" #include "dsclientlogger.h" #include "safec_lib.h" dsError_t dsVideoPortInit() { printf("<<<<< VOP is initialized in Multi-App Mode >>>>>>>>\r\n"); IARM_Result_t rpcRet = IARM_RESULT_SUCCESS; rpcRet = IARM_Bus_Call(IARM_BUS_DSMGR_NAME, (char *)IARM_BUS_DSMGR_API_dsVideoPortInit, NULL, 0); if (IARM_RESULT_SUCCESS == rpcRet) { return dsERR_NONE; } return dsERR_GENERAL; } dsError_t dsGetVideoPort(dsVideoPortType_t type, int index, int *handle) { _DEBUG_ENTER(); _RETURN_IF_ERROR(dsVideoPortType_isValid(type), dsERR_INVALID_PARAM); _RETURN_IF_ERROR((handle) != NULL, dsERR_INVALID_PARAM); dsVideoPortGetHandleParam_t param; param.type = type; param.index = index; param.handle = NULL; IARM_Result_t rpcRet = IARM_RESULT_SUCCESS; rpcRet = IARM_Bus_Call(IARM_BUS_DSMGR_NAME, (char *)IARM_BUS_DSMGR_API_dsGetVideoPort, &param, sizeof(param)); printf("%s..%d-%d\n",__func__,param.type,param.handle); if (IARM_RESULT_SUCCESS == rpcRet) { *handle = param.handle; return dsERR_NONE; } return dsERR_GENERAL ; } dsError_t dsIsHDCPEnabled(int handle, bool *enabled) { _DEBUG_ENTER(); _RETURN_IF_ERROR(enabled != NULL, dsERR_INVALID_PARAM); dsVideoPortIsHDCPEnabledParam_t param; param.handle = handle; param.enabled = false; IARM_Result_t rpcRet = IARM_RESULT_SUCCESS; rpcRet = IARM_Bus_Call(IARM_BUS_DSMGR_NAME, (char *)IARM_BUS_DSMGR_API_dsIsHDCPEnabled, (void *)&param, sizeof(param)); if (IARM_RESULT_SUCCESS == rpcRet) { *enabled = param.enabled; return dsERR_NONE; } return dsERR_GENERAL ; } dsError_t dsIsVideoPortEnabled(int handle, bool *enabled) { _DEBUG_ENTER(); _RETURN_IF_ERROR(enabled != NULL, dsERR_INVALID_PARAM); dsVideoPortIsEnabledParam_t param; param.handle = handle; param.enabled = false; IARM_Result_t rpcRet = IARM_RESULT_SUCCESS; rpcRet = IARM_Bus_Call(IARM_BUS_DSMGR_NAME, (char *)IARM_BUS_DSMGR_API_dsIsVideoPortEnabled, (void *)&param, sizeof(param)); if (IARM_RESULT_SUCCESS == rpcRet) { *enabled = param.enabled; return dsERR_NONE; } return dsERR_GENERAL ; } dsError_t dsGetHDCPStatus (int handle, dsHdcpStatus_t *status) { _DEBUG_ENTER(); _RETURN_IF_ERROR(status != NULL, dsERR_INVALID_PARAM); dsVideoPortGetHDCPStatus_t param; param.handle = handle; param.hdcpStatus = dsHDCP_STATUS_UNAUTHENTICATED; IARM_Result_t rpcRet = IARM_RESULT_SUCCESS; rpcRet = IARM_Bus_Call(IARM_BUS_DSMGR_NAME, (char *)IARM_BUS_DSMGR_API_dsGetHDCPStatus, (void *)&param, sizeof(param)); if (IARM_RESULT_SUCCESS == rpcRet) { *status = param.hdcpStatus; return dsERR_NONE; } return dsERR_GENERAL ; } dsError_t dsGetHDCPProtocol (int handle, dsHdcpProtocolVersion_t *version) { _DEBUG_ENTER(); _RETURN_IF_ERROR(version != NULL, dsERR_INVALID_PARAM); dsVideoPortGetHDCPProtocolVersion_t param; param.handle = handle; param.protocolVersion = dsHDCP_VERSION_MAX; IARM_Result_t rpcRet = IARM_RESULT_SUCCESS; rpcRet = IARM_Bus_Call(IARM_BUS_DSMGR_NAME, (char *)IARM_BUS_DSMGR_API_dsGetHDCPProtocol, (void *)&param, sizeof(param)); if (IARM_RESULT_SUCCESS == rpcRet) { *version = param.protocolVersion; return dsERR_NONE; } return dsERR_GENERAL ; } dsError_t dsGetHDCPReceiverProtocol (int handle, dsHdcpProtocolVersion_t *version) { _DEBUG_ENTER(); _RETURN_IF_ERROR(version != NULL, dsERR_INVALID_PARAM); dsVideoPortGetHDCPProtocolVersion_t param; param.handle = handle; param.protocolVersion = dsHDCP_VERSION_MAX; IARM_Result_t rpcRet = IARM_RESULT_SUCCESS; rpcRet = IARM_Bus_Call(IARM_BUS_DSMGR_NAME, (char *)IARM_BUS_DSMGR_API_dsGetHDCPReceiverProtocol, (void *)&param, sizeof(param)); if (IARM_RESULT_SUCCESS == rpcRet) { *version = param.protocolVersion; return dsERR_NONE; } return dsERR_GENERAL ; } dsError_t dsGetHDCPCurrentProtocol (int handle, dsHdcpProtocolVersion_t *version) { _DEBUG_ENTER(); _RETURN_IF_ERROR(version != NULL, dsERR_INVALID_PARAM); dsVideoPortGetHDCPProtocolVersion_t param; param.handle = handle; param.protocolVersion = dsHDCP_VERSION_MAX; IARM_Result_t rpcRet = IARM_RESULT_SUCCESS; rpcRet = IARM_Bus_Call(IARM_BUS_DSMGR_NAME, (char *)IARM_BUS_DSMGR_API_dsGetHDCPCurrentProtocol, (void *)&param, sizeof(param)); if (IARM_RESULT_SUCCESS == rpcRet) { *version = param.protocolVersion; return dsERR_NONE; } return dsERR_GENERAL ; } dsError_t dsIsDisplayConnected(int handle, bool *connected) { _DEBUG_ENTER(); _RETURN_IF_ERROR(connected != NULL, dsERR_INVALID_PARAM); dsVideoPortIsDisplayConnectedParam_t param; param.handle = handle; param.connected = false; IARM_Result_t rpcRet = IARM_RESULT_SUCCESS; rpcRet = IARM_Bus_Call(IARM_BUS_DSMGR_NAME, (char *)IARM_BUS_DSMGR_API_dsIsDisplayConnected, (void *)&param, sizeof(param)); if (IARM_RESULT_SUCCESS == rpcRet) { *connected = param.connected; return dsERR_NONE; } return dsERR_GENERAL ; } dsError_t dsIsDisplaySurround(int handle, bool *surround) { _DEBUG_ENTER(); _RETURN_IF_ERROR(surround != NULL, dsERR_INVALID_PARAM); dsVideoPortIsDisplaySurroundParam_t param; param.handle = handle; param.surround = false; IARM_Result_t rpcRet = IARM_RESULT_SUCCESS; rpcRet = IARM_Bus_Call(IARM_BUS_DSMGR_NAME, (char *)IARM_BUS_DSMGR_API_dsIsDisplaySurround, (void *)&param, sizeof(param)); if (IARM_RESULT_SUCCESS == rpcRet) { *surround = param.surround; return dsERR_NONE; } return dsERR_GENERAL ; } dsError_t dsGetSurroundMode(int handle, int *surround) { _DEBUG_ENTER(); _RETURN_IF_ERROR(surround != NULL, dsERR_INVALID_PARAM); dsVideoPortGetSurroundModeParam_t param; param.handle = handle; param.surround = dsSURROUNDMODE_NONE; IARM_Result_t rpcRet = IARM_RESULT_SUCCESS; rpcRet = IARM_Bus_Call(IARM_BUS_DSMGR_NAME, (char *)IARM_BUS_DSMGR_API_dsGetSurroundMode, (void *)&param, sizeof(param)); if (IARM_RESULT_SUCCESS == rpcRet) { *surround = param.surround; return dsERR_NONE; } return dsERR_GENERAL ; } dsError_t dsEnableVideoPort(int handle, bool enabled) { _DEBUG_ENTER(); dsVideoPortSetEnabledParam_t param; param.handle = handle; param.enabled = enabled; IARM_Result_t rpcRet = IARM_RESULT_SUCCESS; rpcRet = IARM_Bus_Call(IARM_BUS_DSMGR_NAME, (char *)IARM_BUS_DSMGR_API_dsEnableVideoPort, (void *)&param, sizeof(param)); if (IARM_RESULT_SUCCESS == rpcRet) { return dsERR_NONE; } return dsERR_GENERAL ; } dsError_t dsGetResolution(int handle, dsVideoPortResolution_t *resolution) { _DEBUG_ENTER(); _RETURN_IF_ERROR(resolution != NULL, dsERR_INVALID_PARAM); dsVideoPortGetResolutionParam_t param; param.handle = handle; param.toPersist = false; param.resolution = *resolution; IARM_Result_t rpcRet = IARM_RESULT_SUCCESS; rpcRet = IARM_Bus_Call(IARM_BUS_DSMGR_NAME, (char *)IARM_BUS_DSMGR_API_dsGetResolution, (void *)&param, sizeof(param)); *resolution = param.resolution; if (IARM_RESULT_SUCCESS == rpcRet) { return dsERR_NONE; } return dsERR_GENERAL ; } dsError_t dsSetScartParameter(int handle, const char* parameter_str, const char* value_str) { _DEBUG_ENTER(); if ((value_str == NULL) || (parameter_str == NULL)) { return dsERR_INVALID_PARAM; } dsScartParamParam_t param; memset(&param, 0, sizeof(param)); param.handle = handle; param.result = dsERR_NONE; strncpy(param.param_bytes, parameter_str, DSSCART_PARAM_LEN_MAX -1); strncpy(param.value_bytes, value_str, DSSCART_VALUE_LEN_MAX - 1); IARM_Result_t rpcRet = IARM_RESULT_SUCCESS; rpcRet = IARM_Bus_Call(IARM_BUS_DSMGR_NAME, (char *)IARM_BUS_DSMGR_API_dsSetScartParameter, (void *)&param, sizeof(param)); if ((IARM_RESULT_SUCCESS == rpcRet) && (dsERR_NONE == param.result)) { return dsERR_NONE; } return dsERR_GENERAL; } dsError_t dsSetResolution(int handle, dsVideoPortResolution_t *resolution, bool persist) { _DEBUG_ENTER(); _RETURN_IF_ERROR(resolution != NULL, dsERR_INVALID_PARAM); dsVideoPortSetResolutionParam_t param; param.handle = handle; param.toPersist = persist; param.forceCompatible = true; param.resolution = *resolution; IARM_Result_t rpcRet = IARM_RESULT_SUCCESS; rpcRet = IARM_Bus_Call(IARM_BUS_DSMGR_NAME, (char *)IARM_BUS_DSMGR_API_dsSetResolution, (void *)&param, sizeof(param)); if (IARM_RESULT_SUCCESS == rpcRet && (dsERR_NONE == param.result)) { return dsERR_NONE; } return dsERR_GENERAL ; } dsError_t dsVideoPortTerm(void) { _DEBUG_ENTER(); IARM_Result_t rpcRet = IARM_RESULT_SUCCESS; rpcRet = IARM_Bus_Call(IARM_BUS_DSMGR_NAME, (char *)IARM_BUS_DSMGR_API_dsVideoPortTerm, NULL, 0); if (IARM_RESULT_SUCCESS == rpcRet) { return dsERR_NONE; } return dsERR_GENERAL ; } dsError_t dsEnableHDCP(int handle, bool contentProtect, char *hdcpKey, size_t keySize) { errno_t rc = -1; _DEBUG_ENTER(); // if ((keySize <= 0) || (keySize > HDCP_KEY_MAX_SIZE) ) if (((unsigned int) keySize > HDCP_KEY_MAX_SIZE) ) { return dsERR_INVALID_PARAM; } // if (contentProtect && !hdcpKey) { // return dsERR_INVALID_PARAM; // } dsEnableHDCPParam_t param; memset(&param, 0, sizeof(param)); param.handle = handle; param.contentProtect = contentProtect; param.keySize = keySize; param.rpcResult = dsERR_NONE; if (contentProtect && hdcpKey && keySize && keySize <= HDCP_KEY_MAX_SIZE) { rc = memcpy_s(param.hdcpKey,sizeof(param.hdcpKey), hdcpKey, keySize); if(rc!=EOK) { ERR_CHK(rc); } } printf("IARM:CLI:dsEnableHDCP %d, %p, %d\r\n", contentProtect, hdcpKey, keySize); IARM_Result_t rpcRet = IARM_RESULT_SUCCESS; rpcRet = IARM_Bus_Call(IARM_BUS_DSMGR_NAME, (char *)IARM_BUS_DSMGR_API_dsEnableHDCP, (void *)&param, sizeof(param)); if( (IARM_RESULT_SUCCESS == rpcRet) && (dsERR_NONE == param.rpcResult)) { return dsERR_NONE; } return dsERR_GENERAL ; } dsError_t dsIsVideoPortActive(int handle, bool *active) { _DEBUG_ENTER(); _RETURN_IF_ERROR(active != NULL, dsERR_INVALID_PARAM); dsVideoPortIsActiveParam_t param; param.handle = handle; param.active = false; param.result = dsERR_NONE; IARM_Result_t rpcRet = IARM_RESULT_SUCCESS; rpcRet = IARM_Bus_Call(IARM_BUS_DSMGR_NAME, (char *)IARM_BUS_DSMGR_API_dsIsVideoPortActive, (void *)&param, sizeof(param)); if (IARM_RESULT_SUCCESS == rpcRet) { *active = param.active; return param.result; } return dsERR_GENERAL ; } dsError_t dsGetTVHDRCapabilities(int handle, int *capabilities) { _DEBUG_ENTER(); dsGetHDRCapabilitiesParam_t param; memset(&param, 0, sizeof(param)); param.handle = handle; IARM_Result_t rpcRet = IARM_Bus_Call(IARM_BUS_DSMGR_NAME, (char *) IARM_BUS_DSMGR_API_dsGetTVHDRCapabilities, (void *) &param, sizeof(param)); if (IARM_RESULT_SUCCESS == rpcRet) { *capabilities = param.capabilities; return param.result; } return dsERR_GENERAL ; } dsError_t dsSupportedTvResolutions(int handle, int *resolutions) { _DEBUG_ENTER(); dsSupportedResolutionParam_t param; memset(&param, 0, sizeof(param)); param.handle = handle; IARM_Result_t rpcRet = IARM_Bus_Call(IARM_BUS_DSMGR_NAME, (char *) IARM_BUS_DSMGR_API_dsGetSupportedTVResolution, (void *) &param, sizeof(param)); if (IARM_RESULT_SUCCESS == rpcRet) { *resolutions = param.resolutions; return param.result; } return dsERR_GENERAL ; } dsError_t dsSetForceDisable4KSupport(int handle, bool disable) { _DEBUG_ENTER(); dsForceDisable4KParam_t param; memset(&param, 0, sizeof(param)); param.handle = handle; param.disable = disable; IARM_Result_t rpcRet = IARM_Bus_Call(IARM_BUS_DSMGR_NAME, (char *) IARM_BUS_DSMGR_API_dsSetForceDisable4K, (void *) &param, sizeof(param)); if (IARM_RESULT_SUCCESS == rpcRet) { return param.result; } return dsERR_GENERAL ; } dsError_t dsGetForceDisable4KSupport(int handle, bool *disable) { _DEBUG_ENTER(); dsForceDisable4KParam_t param; memset(&param, 0, sizeof(param)); param.handle = handle; IARM_Result_t rpcRet = IARM_Bus_Call(IARM_BUS_DSMGR_NAME, (char *) IARM_BUS_DSMGR_API_dsGetForceDisable4K, (void *) &param, sizeof(param)); if (IARM_RESULT_SUCCESS == rpcRet) { *disable = param.disable; return param.result; } return dsERR_GENERAL ; } dsError_t dsIsOutputHDR(int handle, bool *hdr) { _DEBUG_ENTER(); _RETURN_IF_ERROR(hdr != NULL, dsERR_INVALID_PARAM); dsIsOutputHDRParam_t param; param.handle = handle; param.hdr = false; param.result = dsERR_NONE; IARM_Result_t rpcRet = IARM_RESULT_SUCCESS; rpcRet = IARM_Bus_Call(IARM_BUS_DSMGR_NAME, (char *)IARM_BUS_DSMGR_API_dsIsOutputHDR, (void *)&param, sizeof(param)); if (IARM_RESULT_SUCCESS == rpcRet) { *hdr = param.hdr; return param.result; } return dsERR_GENERAL ; } dsError_t dsResetOutputToSDR() { _DEBUG_ENTER(); bool param =true; IARM_Result_t rpcRet = IARM_RESULT_SUCCESS; rpcRet = IARM_Bus_Call(IARM_BUS_DSMGR_NAME, (char *)IARM_BUS_DSMGR_API_dsResetOutputToSDR, (void *)&param, sizeof(param)); if (IARM_RESULT_SUCCESS != rpcRet) { return dsERR_GENERAL; } return dsERR_NONE ; } dsError_t dsSetHdmiPreference(int handle, dsHdcpProtocolVersion_t *hdcpProtocol) { _DEBUG_ENTER(); _RETURN_IF_ERROR(hdcpProtocol != NULL, dsERR_INVALID_PARAM); dsSetHdmiPreferenceParam_t param; param.handle = handle; param.hdcpCurrentProtocol = *hdcpProtocol; param.result = dsERR_NONE; IARM_Result_t rpcRet = IARM_RESULT_SUCCESS; rpcRet = IARM_Bus_Call(IARM_BUS_DSMGR_NAME, (char *)IARM_BUS_DSMGR_API_dsSetHdmiPreference, (void *)&param, sizeof(param)); if (IARM_RESULT_SUCCESS == rpcRet) { return param.result; } return dsERR_GENERAL ; } dsError_t dsGetHdmiPreference(int handle, dsHdcpProtocolVersion_t *hdcpProtocol) { _DEBUG_ENTER(); _RETURN_IF_ERROR(hdcpProtocol != NULL, dsERR_INVALID_PARAM); dsGetHdmiPreferenceParam_t param; param.handle = handle; param.hdcpCurrentProtocol = dsHDCP_VERSION_MAX; param.result = dsERR_NONE; IARM_Result_t rpcRet = IARM_RESULT_SUCCESS; rpcRet = IARM_Bus_Call(IARM_BUS_DSMGR_NAME, (char *)IARM_BUS_DSMGR_API_dsGetHdmiPreference, (void *)&param, sizeof(param)); if (IARM_RESULT_SUCCESS == rpcRet) { *hdcpProtocol = param.hdcpCurrentProtocol; return param.result; } return dsERR_GENERAL ; } dsError_t dsGetVideoEOTF(int handle, dsHDRStandard_t* video_eotf) { _DEBUG_ENTER(); if (video_eotf == NULL) { return dsERR_INVALID_PARAM; } dsEot_t param; memset(&param, 0, sizeof(param)); param.handle = handle; param.result = dsERR_NONE; IARM_Result_t rpcRet = IARM_RESULT_SUCCESS; rpcRet = IARM_Bus_Call(IARM_BUS_DSMGR_NAME, (char *)IARM_BUS_DSMGR_API_dsGetVideoEOTF, (void *)&param, sizeof(param)); if( (IARM_RESULT_SUCCESS == rpcRet) && (dsERR_NONE == param.result)) { *video_eotf = param.video_eotf; return dsERR_NONE; } return dsERR_GENERAL ; } dsError_t dsGetMatrixCoefficients(int handle, dsDisplayMatrixCoefficients_t *matrix_coefficients) { _DEBUG_ENTER(); if (matrix_coefficients == NULL) { return dsERR_INVALID_PARAM; } dsMatrixCoefficients_t param; memset(&param, 0, sizeof(param)); param.handle = handle; param.result = dsERR_NONE; IARM_Result_t rpcRet = IARM_RESULT_SUCCESS; rpcRet = IARM_Bus_Call(IARM_BUS_DSMGR_NAME, (char *)IARM_BUS_DSMGR_API_dsGetMatrixCoefficients, (void *)&param, sizeof(param)); if( (IARM_RESULT_SUCCESS == rpcRet) && (dsERR_NONE == param.result)) { *matrix_coefficients = param.matrix_coefficients; return dsERR_NONE; } return dsERR_GENERAL ; } dsError_t dsGetColorDepth(int handle, unsigned int* color_depth) { _DEBUG_ENTER(); if (color_depth == NULL) { return dsERR_INVALID_PARAM; } dsColorDepth_t param; memset(&param, 0, sizeof(param)); param.handle = handle; param.result = dsERR_NONE; IARM_Result_t rpcRet = IARM_RESULT_SUCCESS; rpcRet = IARM_Bus_Call(IARM_BUS_DSMGR_NAME, (char *)IARM_BUS_DSMGR_API_dsGetColorDepth, (void *)&param, sizeof(param)); if( (IARM_RESULT_SUCCESS == rpcRet) && (dsERR_NONE == param.result)) { *color_depth = param.color_depth; return dsERR_NONE; } return dsERR_GENERAL ; } dsError_t dsGetColorSpace(int handle, dsDisplayColorSpace_t* color_space) { _DEBUG_ENTER(); if (color_space == NULL) { return dsERR_INVALID_PARAM; } dsColorSpace_t param; memset(&param, 0, sizeof(param)); param.handle = handle; param.result = dsERR_NONE; IARM_Result_t rpcRet = IARM_RESULT_SUCCESS; rpcRet = IARM_Bus_Call(IARM_BUS_DSMGR_NAME, (char *)IARM_BUS_DSMGR_API_dsGetColorSpace, (void *)&param, sizeof(param)); if( (IARM_RESULT_SUCCESS == rpcRet) && (dsERR_NONE == param.result)) { *color_space = param.color_space; return dsERR_NONE; } return dsERR_GENERAL ; } dsError_t dsGetQuantizationRange(int handle, dsDisplayQuantizationRange_t* quantization_range) { _DEBUG_ENTER(); if (quantization_range == NULL) { return dsERR_INVALID_PARAM; } dsQuantizationRange_t param; memset(&param, 0, sizeof(param)); param.handle = handle; param.result = dsERR_NONE; IARM_Result_t rpcRet = IARM_RESULT_SUCCESS; rpcRet = IARM_Bus_Call(IARM_BUS_DSMGR_NAME, (char *)IARM_BUS_DSMGR_API_dsGetQuantizationRange, (void *)&param, sizeof(param)); if( (IARM_RESULT_SUCCESS == rpcRet) && (dsERR_NONE == param.result)) { *quantization_range = param.quantization_range; return dsERR_NONE; } return dsERR_GENERAL ; } dsError_t dsGetCurrentOutputSettings(int handle, dsHDRStandard_t* video_eotf, dsDisplayMatrixCoefficients_t* matrix_coefficients, dsDisplayColorSpace_t* color_space, unsigned int* color_depth, dsDisplayQuantizationRange_t* quantization_range) { _DEBUG_ENTER(); if (video_eotf == NULL || matrix_coefficients == NULL || color_space == NULL || color_depth == NULL || quantization_range == NULL) { return dsERR_INVALID_PARAM; } dsCurrentOutputSettings_t param; memset(&param, 0, sizeof(param)); param.handle = handle; param.result = dsERR_NONE; IARM_Result_t rpcRet = IARM_RESULT_SUCCESS; rpcRet = IARM_Bus_Call(IARM_BUS_DSMGR_NAME, (char *)IARM_BUS_DSMGR_API_dsGetCurrentOutputSettings, (void *)&param, sizeof(param)); if( (IARM_RESULT_SUCCESS == rpcRet) && (dsERR_NONE == param.result)) { *video_eotf = param.video_eotf; *matrix_coefficients = param.matrix_coefficients; *color_space = param.color_space; *color_depth = param.color_depth; *quantization_range = param.quantization_range; return dsERR_NONE; } return dsERR_GENERAL ; } /** @} */ /** @} */
24.166482
242
0.669422
4a4c7a0b9d3f707e34846ceac6459f23273722d9
693
js
JavaScript
Tools/buildTasks/createSpecList.js
craigsketchley/cesium
9d308675708d2987cda9c3fb1f5552bd4329ad05
[ "Apache-2.0" ]
6
2015-11-27T18:33:02.000Z
2021-03-21T13:40:59.000Z
Tools/buildTasks/createSpecList.js
craigsketchley/cesium
9d308675708d2987cda9c3fb1f5552bd4329ad05
[ "Apache-2.0" ]
null
null
null
Tools/buildTasks/createSpecList.js
craigsketchley/cesium
9d308675708d2987cda9c3fb1f5552bd4329ad05
[ "Apache-2.0" ]
3
2015-05-05T10:31:53.000Z
2017-06-07T17:01:14.000Z
/*global importClass,project,attributes,elements,java,Packages*/ importClass(Packages.org.mozilla.javascript.tools.shell.Main); /*global Main*/ Main.exec(['-e', '{}']); var load = Main.global.load; load(project.getProperty('tasksDirectory') + '/shared.js'); /*global forEachFile,readFileContents,writeFileContents,File,FileReader,FileWriter,FileUtils*/ var specs = []; forEachFile('specs', function(relativePath, file) { "use strict"; var spec = relativePath.substring(0, relativePath.lastIndexOf('.')).replace('\\', '/'); specs.push("'Specs/" + spec + "'"); }); var contents = 'var specs = [' + specs.join(',') + '];'; writeFileContents(attributes.get('output'), contents);
34.65
154
0.692641
bb46d571e84625c8e285d169d0f0634911fcf81a
3,301
html
HTML
deep-learning/evolutionSimulator-master/Docs/NeuroEvolution_nn.js.html
DanielMabadeje/Artificial-Intelligence-Deep-Learning-Machine-Learning-Tutorials
7adab3877fc1d3f1d5f57e6c1743dae8f76f72c5
[ "Apache-2.0" ]
3,266
2017-08-06T16:51:46.000Z
2022-03-30T07:34:24.000Z
deep-learning/evolutionSimulator-master/Docs/NeuroEvolution_nn.js.html
hashDanChibueze/Artificial-Intelligence-Deep-Learning-Machine-Learning-Tutorials
bef2c415d154a052c00e99a05f0870af7a5819ac
[ "Apache-2.0" ]
150
2017-08-28T14:59:36.000Z
2022-03-11T23:21:35.000Z
deep-learning/evolutionSimulator-master/Docs/NeuroEvolution_nn.js.html
hashDanChibueze/Artificial-Intelligence-Deep-Learning-Machine-Learning-Tutorials
bef2c415d154a052c00e99a05f0870af7a5819ac
[ "Apache-2.0" ]
1,449
2017-08-06T17:40:59.000Z
2022-03-31T12:03:24.000Z
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>JSDoc: Source: NeuroEvolution/nn.js</title> <script src="scripts/prettify/prettify.js"> </script> <script src="scripts/prettify/lang-css.js"> </script> <!--[if lt IE 9]> <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script> <![endif]--> <link type="text/css" rel="stylesheet" href="styles/prettify-tomorrow.css"> <link type="text/css" rel="stylesheet" href="styles/jsdoc-default.css"> </head> <body> <div id="main"> <h1 class="page-title">Source: NeuroEvolution/nn.js</h1> <section> <article> <pre class="prettyprint source linenums"><code>/** Simple Neural Network library that can only create neural networks of exactly 3 layers */ class NeuralNetwork { /** * Takes in the number of input nodes, hidden node and output nodes * @constructor * @param {number} input_nodes * @param {number} hidden_nodes * @param {number} output_nodes */ constructor(input_nodes, hidden_nodes, output_nodes) { this.input_nodes = input_nodes; this.hidden_nodes = hidden_nodes; this.output_nodes = output_nodes; // Initialize random weights this.input_weights = tf.randomNormal([this.input_nodes, this.hidden_nodes]); this.output_weights = tf.randomNormal([this.hidden_nodes, this.output_nodes]); } /** * Takes in a 1D array and feed forwards through the network * @param {array} - Array of inputs */ predict(user_input) { let output; tf.tidy(() => { /* Takes a 1D array */ let input_layer = tf.tensor(user_input, [1, this.input_nodes]); let hidden_layer = input_layer.matMul(this.input_weights).sigmoid(); let output_layer = hidden_layer.matMul(this.output_weights).sigmoid(); output = output_layer.dataSync(); }); return output; } /** * Returns a new network with the same weights as this Neural Network * @returns {NeuralNetwork} */ clone() { let clonie = new NeuralNetwork(this.input_nodes, this.hidden_nodes, this.output_nodes); clonie.dispose(); clonie.input_weights = tf.clone(this.input_weights); clonie.output_weights = tf.clone(this.output_weights); return clonie; } /** * Dispose the input and output weights from the memory */ dispose() { this.input_weights.dispose(); this.output_weights.dispose(); } }</code></pre> </article> </section> </div> <nav> <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="Generation.html">Generation</a></li><li><a href="NeuralNetwork.html">NeuralNetwork</a></li><li><a href="Person.html">Person</a></li><li><a href="SimpleBoundary.html">SimpleBoundary</a></li></ul><h3>Global</h3><ul><li><a href="global.html#muscleMapper">muscleMapper</a></li></ul> </nav> <br class="clear"> <footer> Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Thu May 31 2018 21:00:07 GMT+0545 (Nepal Standard Time) </footer> <script> prettyPrint(); </script> <script src="scripts/linenumber.js"> </script> </body> </html>
30.284404
353
0.631627
8446b62bd8e9903881817f94bcaf22160944224f
8,754
html
HTML
resources/[nav]/[lojas]/nav_loja-digitalden/nui/darkside.html
brazucas/fivem-data
acd314d45ce2e37ed5d17c9d9d51e2cd929376ff
[ "MIT" ]
null
null
null
resources/[nav]/[lojas]/nav_loja-digitalden/nui/darkside.html
brazucas/fivem-data
acd314d45ce2e37ed5d17c9d9d51e2cd929376ff
[ "MIT" ]
12
2021-03-08T19:38:02.000Z
2021-08-20T21:10:32.000Z
resources/[nav]/[lojas]/nav_loja-digitalden/nui/darkside.html
brazucas/fivem-data
acd314d45ce2e37ed5d17c9d9d51e2cd929376ff
[ "MIT" ]
null
null
null
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>DigitalDen</title> <link rel="stylesheet" type="text/css" href="theforce.css"> <link href="https://fonts.googleapis.com/css?family=Roboto:300,300i,400,500,700,900&display=swap" rel="stylesheet"> <script src="https://code.jquery.com/jquery-3.4.1.min.js" integrity="sha256-CSXorXvZcTkaix6Yvo6HppcZGetbYMGWSFlBw8HfCJo=" crossorigin="anonymous"></script> </head> <body> <div class="actionmenu" style="display: none;"> <div class="conteudo"> <div class="menu"> <div class="titleMenu"> <p><b>DIGITALDEN</b></p> </div> <div class="categorias"> <section class="sessaoCategorias"> <div class="secCat"> <div class="catSessao item-category category_item" category="eletronicos"> <p><b>Eletrônicos</b></p> </div> <div class="catSessao item-category category_item" category="planos"> <p><b>Planos</b></p> </div> </div> </section> </div> </div> <div class="itens"> <section class="sessaoItens"> <div class="conteudoSessao"> <div class="itemSessao item-item" category="eletronicos"> <div class="item-info"> <div class="fotoItem"> <img src="https://cdn.brz.gg/gtav/vrp/images/vrp_itens/radio.png"> </div> <div class="tituloItem"> <p><b>Walk Talk</b> - $300</p> </div> </div> <div class="pagamento"> <button data-action="comprar-radio" class="menuoption">COMPRAR</button> </div> </div> <div class="itemSessao item-item" category="eletronicos"> <div class="item-info"> <div class="fotoItem"> <img src="https://cdn.brz.gg/gtav/vrp/images/vrp_itens/maquininha.png"> </div> <div class="tituloItem"> <p><b>Maquininha</b> - $600</p> </div> </div> <div class="pagamento"> <button data-action="comprar-maquininha" class="menuoption">COMPRAR</button> </div> </div> <div class="itemSessao item-item" category="eletronicos"> <div class="item-info"> <div class="fotoItem"> <img src="https://cdn.brz.gg/gtav/vrp/images/vrp_itens/celular.png"> </div> <div class="tituloItem"> <p><b>Celular</b> - $800</p> </div> </div> <div class="pagamento"> <button data-action="comprar-celular" class="menuoption">COMPRAR</button> </div> </div> <div class="itemSessao item-item" category="eletronicos"> <div class="item-info"> <div class="fotoItem"> <img src="https://cdn.brz.gg/gtav/vrp/images/vrp_itens/celular.png"> </div> <div class="tituloItem"> <p><b>Celular Pro</b> - $2800</p> </div> </div> <div class="pagamento"> <button data-action="comprar-celularpro" class="menuoption">COMPRAR</button> </div> </div> <div class="itemSessao item-item" category="planos"> <div class="item-info"> <div class="fotoItem"> <img src="https://cdn.brz.gg/gtav/vrp/images/vrp_itens/planoOneDay.png"> </div> <div class="tituloItem"> <p><b>Plano One Day</b> - $150</p> </div> </div> <div class="pagamento"> <button data-action="comprar-planoOneDay" class="menuoption">COMPRAR</button> </div> </div> <div class="itemSessao item-item" category="planos"> <div class="item-info"> <div class="fotoItem"> <img src="https://cdn.brz.gg/gtav/vrp/images/vrp_itens/planoThreeDay.png"> </div> <div class="tituloItem"> <p><b>Plano Three Day</b> - $300</p> </div> </div> <div class="pagamento"> <button data-action="comprar-planoThreeDay" class="menuoption">COMPRAR</button> </div> </div> <div class="itemSessao item-item" category="planos"> <div class="item-info"> <div class="fotoItem"> <img src="https://cdn.brz.gg/gtav/vrp/images/vrp_itens/planoFiveDay.png"> </div> <div class="tituloItem"> <p><b>Plano Five Day</b> - $500</p> </div> </div> <div class="pagamento"> <button data-action="comprar-planoFiveDay" class="menuoption">COMPRAR</button> </div> </div> <div class="itemSessao item-item" category="planos"> <div class="item-info"> <div class="fotoItem"> <img src="https://cdn.brz.gg/gtav/vrp/images/vrp_itens/planoTenDay.png"> </div> <div class="tituloItem"> <p><b>Plano Ten Day</b> - $1000</p> </div> </div> <div class="pagamento"> <button data-action="comprar-planoTenDay" class="menuoption">COMPRAR</button> </div> </div> </div> </section> </div> </div> </div> <script src="lightsaber.js" type="text/javascript"></script> </body> </html>
59.958904
164
0.322138
4f4af03360c8e8ec7df427d85587f6462c78ada8
286
swift
Swift
App/AppType.swift
horothesun/HoleFilling
d56b21ae9c305a19bbeb70289a3baeab2c51acd7
[ "MIT" ]
null
null
null
App/AppType.swift
horothesun/HoleFilling
d56b21ae9c305a19bbeb70289a3baeab2c51acd7
[ "MIT" ]
null
null
null
App/AppType.swift
horothesun/HoleFilling
d56b21ae9c305a19bbeb70289a3baeab2c51acd7
[ "MIT" ]
null
null
null
//import HoleFillingLib //import InputValidator public protocol AppType { func main(arguments commandLineArguments: [String]) } public func buildAppType() -> AppType { return App( holeFiller: buildHoleFillerType(), validator: buildInputValidatorType() ) }
20.428571
55
0.70979
56dc0e2e9c4ca5b6b060eba78a8c2bfdb508c62b
458
ts
TypeScript
build.ts
8clever/sandbox
9bd727fd399af383a7d51af0fe9236331db40c20
[ "MIT" ]
null
null
null
build.ts
8clever/sandbox
9bd727fd399af383a7d51af0fe9236331db40c20
[ "MIT" ]
1
2021-03-09T20:53:33.000Z
2021-03-09T20:53:33.000Z
build.ts
8clever/sandbox
9bd727fd399af383a7d51af0fe9236331db40c20
[ "MIT" ]
null
null
null
import s from 'shelljs'; import webpack from "webpack"; import { config } from "./config/webpack.config"; const tsconfig = require('./tsconfig.json'); const outDir = tsconfig.compilerOptions.outDir; s.rm('-rf', outDir); s.mkdir(outDir); s.mkdir('-p', `${outDir}/common/swagger`); s.cp('server/common/api.yml', `${outDir}/common/api.yml`); webpack(config, (err, stats) => { if (err) throw err; console.log("compilation done!") process.exit(); });
24.105263
58
0.670306
fb018d6fea47d3ea4faab08789f3be97b250197d
6,800
php
PHP
uploads/catalog/controller/module/newsman_import.php
Newsman/OpenCart-Newsman
24cc8de0bcc4c8acd6a2cff997d54bce164ee932
[ "Apache-2.0" ]
1
2015-11-09T10:35:02.000Z
2015-11-09T10:35:02.000Z
uploads/catalog/controller/module/newsman_import.php
Newsman/OpenCart-Newsman
24cc8de0bcc4c8acd6a2cff997d54bce164ee932
[ "Apache-2.0" ]
null
null
null
uploads/catalog/controller/module/newsman_import.php
Newsman/OpenCart-Newsman
24cc8de0bcc4c8acd6a2cff997d54bce164ee932
[ "Apache-2.0" ]
2
2021-01-17T11:05:43.000Z
2022-03-30T09:13:13.000Z
<?php /** * Newsman Newsletter Sync * * @author Teamweb <razvan@teamweb.ro> */ class ControllerModuleNewsmanImport extends Controller { /** * Run import */ public function index() { $this->load->model('module/newsman_import'); $this->load->model('setting/setting'); $settings = (array)$this->model_setting_setting->getSetting('newsman_import'); $_apikey = $settings["api_key"]; $cron = (empty($_GET["cron"]) ? "" : $_GET["cron"]); if (!empty($_GET["cron"])) { if ($this->model_module_newsman_import->import_to_newsman()) $this->db->query("UPDATE " . DB_PREFIX . "setting SET value='" . date("Y-m-d H:i:s") . "' WHERE `group` = 'newsman_import' AND `key` = 'last_data_time'"); echo "CRON"; } else { $this->newsmanFetchData($_apikey); } } public function newsmanFetchData($_apikey) { $apikey = (empty($_GET["apikey"])) ? "" : $_GET["apikey"]; $newsman = (empty($_GET["newsman"])) ? "" : $_GET["newsman"]; if (!empty($newsman) && !empty($apikey)) { $apikey = $_GET["apikey"]; $currApiKey = $_apikey; if ($apikey != $currApiKey) { $this->response->addHeader('Content-Type: application/json'); $this->response->setOutput(json_encode("403")); return; } switch ($_GET["newsman"]) { case "orders.json": $ordersObj = array(); $this->load->model('account/order'); $orders = $this->model_account_order->getOrders(); foreach ($orders as $item) { $products = $this->model_account_order->getOrderProducts($item["order_id"]); $productsJson = array(); foreach ($products as $prod) { $productsJson[] = array( "id" => $prod['product_id'], "name" => $prod['name'], "quantity" => $prod['quantity'], "price" => $prod['price'], "price_old" => 0, "image_url" => "", "url" => "" ); } $ordersObj[] = array( "order_no" => $item["order_id"], "date" => "", "status" => "", "lastname" => $item["firstname"], "firstname" => $item["firstname"], "email" => "", "phone" => "", "state" => "", "city" => "", "address" => "", "discount" => "", "discount_code" => "", "shipping" => "", "fees" => 0, "rebates" => 0, "total" => $item["total"], "products" => $productsJson ); } $this->response->addHeader('Content-Type: application/json'); $this->response->setOutput(json_encode($ordersObj, JSON_PRETTY_PRINT)); return; break; case "products.json": $this->load->model('catalog/product'); $products = $this->model_catalog_product->getProducts(); $productsJson = array(); foreach ($products as $prod) { $productsJson[] = array( "id" => $prod["product_id"], "name" => $prod["model"], "stock_quantity" => $prod["quantity"], "price" => $prod["price"], "price_old" => 0, "image_url" => "", "url" => "" ); } $this->response->addHeader('Content-Type: application/json'); $this->response->setOutput(json_encode($productsJson, JSON_PRETTY_PRINT)); return; break; case "customers.json": $wp_cust = $this->getCustomers(); $custs = array(); foreach ($wp_cust as $users) { $custs[] = array( "email" => $users["email"], "firstname" => $users["firstname"], "lastname" => $users["lastname"] ); } $this->response->addHeader('Content-Type: application/json'); $this->response->setOutput(json_encode($custs, JSON_PRETTY_PRINT)); return; break; case "subscribers.json": $wp_subscribers = $this->getCustomers(true); $subs = array(); foreach ($wp_subscribers as $users) { $subs[] = array( "email" => $users["email"], "firstname" => $users["firstname"], "lastname" => $users["lastname"] ); } $this->response->addHeader('Content-Type: application/json'); $this->response->setOutput(json_encode($subs, JSON_PRETTY_PRINT)); return; break; case "version.json": $version = array( "version" => "Opencart 1.x" ); $this->response->addHeader('Content-Type: application/json'); $this->response->setOutput(json_encode($version, JSON_PRETTY_PRINT)); return; break; } } else { $this->response->addHeader('Content-Type: application/json'); $this->response->setOutput(json_encode("403")); } } public function getCustomers($newsletter = false) { $q = "SELECT * FROM " . DB_PREFIX . "customer"; if ($newsletter) { $q .= " WHERE newsletter = '1'"; } $q .= ';'; $query = $this->db->query($q); return $query->rows; } }
35.233161
170
0.388676
f412f6d4fd36504500eb399a84085d5d2a51fbeb
1,407
go
Go
cmd/run.go
mihaibuzgau/kreamlet
bc76b01afb4048d8f778cfe2891540a49a4caa45
[ "Apache-2.0" ]
9
2018-10-10T04:52:28.000Z
2020-02-14T19:50:40.000Z
cmd/run.go
mihaibuzgau/kreamlet
bc76b01afb4048d8f778cfe2891540a49a4caa45
[ "Apache-2.0" ]
1
2021-03-16T11:16:32.000Z
2021-03-16T11:16:32.000Z
cmd/run.go
mihaibuzgau/kreamlet
bc76b01afb4048d8f778cfe2891540a49a4caa45
[ "Apache-2.0" ]
2
2018-10-18T15:59:50.000Z
2021-03-16T11:14:01.000Z
package cmd import ( "fmt" "github.com/puppetlabs/kreamlet/client" "github.com/spf13/cobra" ) var RunCmd = &cobra.Command{ Use: "run", Short: "Creates a kubernetes controller.", Long: `Creates a kubernetes controller.`, Run: func(ccmd *cobra.Command, args []string) { StartController() }, PostRun: func(cmd *cobra.Command, args []string) { GetCreds() }, } var sshPort, kubePort, cpus, memory, disk string func init() { RunCmd.Flags().StringVarP(&sshPort, "ssh-port", "s", "2222", "The port ssh will listen to locally") RunCmd.Flags().StringVarP(&kubePort, "kube-port", "k", "6443", "The port kubectl will connect to locally") RunCmd.Flags().StringVarP(&cpus, "cpus", "c", "2", "The number of cpus to give the controller") RunCmd.Flags().StringVarP(&memory, "memory", "m", "2048", "The amount of memory to give the master") RunCmd.Flags().StringVarP(&disk, "disk-space", "g", "4G", "The amount of disk the controller os has") RunCmd.MarkFlagRequired("sshPort") RunCmd.MarkFlagRequired("KubePort") RunCmd.MarkFlagRequired("cpus") RunCmd.MarkFlagRequired("memory") RunCmd.MarkFlagRequired("disk") RootCmd.AddCommand(RunCmd) } func StartController() error { err := client.Run(sshPort, kubePort, cpus, memory, disk) if err != nil { fmt.Println(err) } return err } func GetCreds() error { err := client.Creds() if err != nil { fmt.Println(err) } return err }
23.45
107
0.688699
1bf89f8d2c51b4adcacebd9c2c39a0499ff05c0d
9,951
py
Python
tests/unit/states/service_test.py
one3chens/salt
191f4fba0b8d9c42c04b7f71161fc5de47f2ba2e
[ "Apache-2.0", "MIT" ]
1
2020-02-22T07:11:24.000Z
2020-02-22T07:11:24.000Z
tests/unit/states/service_test.py
one3chens/salt
191f4fba0b8d9c42c04b7f71161fc5de47f2ba2e
[ "Apache-2.0", "MIT" ]
null
null
null
tests/unit/states/service_test.py
one3chens/salt
191f4fba0b8d9c42c04b7f71161fc5de47f2ba2e
[ "Apache-2.0", "MIT" ]
1
2020-02-22T07:11:26.000Z
2020-02-22T07:11:26.000Z
# -*- coding: utf-8 -*- ''' :codeauthor: :email:`Rahul Handay <rahulha@saltstack.com>` ''' # Import Python Libs from __future__ import absolute_import # Import Salt Testing Libs from salttesting import TestCase, skipIf from salttesting.helpers import ensure_in_syspath from salttesting.mock import ( MagicMock, patch, NO_MOCK, NO_MOCK_REASON ) ensure_in_syspath('../../') # Import Salt Libs from salt.states import service # Globals service.__salt__ = {} service.__opts__ = {} def func(name): ''' Mock func method ''' return name @skipIf(NO_MOCK, NO_MOCK_REASON) class ServiceTestCase(TestCase): ''' Validate the service state ''' def test_running(self): ''' Test to verify that the service is running ''' ret = [{'comment': '', 'changes': {}, 'name': 'salt', 'result': True}, {'changes': {}, 'comment': 'The service salt is already running', 'name': 'salt', 'result': True}, {'changes': 'saltstack', 'comment': 'The service salt is already running', 'name': 'salt', 'result': True}, {'changes': {}, 'comment': 'Service salt is set to start', 'name': 'salt', 'result': None}, {'changes': 'saltstack', 'comment': 'Started Service salt', 'name': 'salt', 'result': True}, {'changes': {}, 'comment': 'The service salt is already running', 'name': 'salt', 'result': True}] tmock = MagicMock(return_value=True) fmock = MagicMock(return_value=False) vmock = MagicMock(return_value="salt") with patch.object(service, '_enabled_used_error', vmock): self.assertEqual(service.running("salt", enabled=1), 'salt') with patch.object(service, '_available', fmock): self.assertDictEqual(service.running("salt"), ret[0]) with patch.object(service, '_available', tmock): with patch.dict(service.__opts__, {'test': False}): with patch.dict(service.__salt__, {'service.enabled': tmock, 'service.status': tmock}): self.assertDictEqual(service.running("salt"), ret[1]) mock = MagicMock(return_value={'changes': 'saltstack'}) with patch.dict(service.__salt__, {'service.enabled': MagicMock(side_effect=[False, True]), 'service.status': tmock}): with patch.object(service, '_enable', mock): self.assertDictEqual(service.running("salt", True), ret[2]) with patch.dict(service.__salt__, {'service.enabled': MagicMock(side_effect=[True, False]), 'service.status': tmock}): with patch.object(service, '_disable', mock): self.assertDictEqual(service.running("salt", False), ret[2]) with patch.dict(service.__salt__, {'service.status': MagicMock(side_effect=[False, True]), 'service.enabled': MagicMock(side_effect=[False, True]), 'service.start': MagicMock(return_value="stack")}): with patch.object(service, '_enable', MagicMock(return_value={'changes': 'saltstack'})): self.assertDictEqual(service.running("salt", True), ret[4]) with patch.dict(service.__opts__, {'test': True}): with patch.dict(service.__salt__, {'service.status': tmock}): self.assertDictEqual(service.running("salt"), ret[5]) with patch.dict(service.__salt__, {'service.status': fmock}): self.assertDictEqual(service.running("salt"), ret[3]) def test_dead(self): ''' Test to ensure that the named service is dead ''' ret = [{'changes': {}, 'comment': '', 'name': 'salt', 'result': True}, {'changes': 'saltstack', 'comment': 'The service salt is already dead', 'name': 'salt', 'result': True}, {'changes': {}, 'comment': 'Service salt is set to be killed', 'name': 'salt', 'result': None}, {'changes': 'saltstack', 'comment': 'Service salt was killed', 'name': 'salt', 'result': True}, {'changes': {}, 'comment': 'Service salt was killed', 'name': 'salt', 'result': True}, {'changes': 'saltstack', 'comment': 'The service salt is already dead', 'name': 'salt', 'result': True}] mock = MagicMock(return_value="salt") with patch.object(service, '_enabled_used_error', mock): self.assertEqual(service.dead("salt", enabled=1), 'salt') tmock = MagicMock(return_value=True) fmock = MagicMock(return_value=False) with patch.object(service, '_available', fmock): self.assertDictEqual(service.dead("salt"), ret[0]) with patch.object(service, '_available', tmock): mock = MagicMock(return_value={'changes': 'saltstack'}) with patch.dict(service.__opts__, {'test': True}): with patch.dict(service.__salt__, {'service.enabled': fmock, 'service.stop': tmock, 'service.status': fmock}): with patch.object(service, '_enable', mock): self.assertDictEqual(service.dead("salt", True), ret[5]) with patch.dict(service.__salt__, {'service.enabled': tmock, 'service.status': tmock}): self.assertDictEqual(service.dead("salt"), ret[2]) with patch.dict(service.__opts__, {'test': False}): with patch.dict(service.__salt__, {'service.enabled': fmock, 'service.stop': tmock, 'service.status': fmock}): with patch.object(service, '_enable', mock): self.assertDictEqual(service.dead("salt", True), ret[1]) with patch.dict(service.__salt__, {'service.enabled': MagicMock(side_effect=[True, True, False]), 'service.status': MagicMock(side_effect=[True, True, False]), 'service.stop': MagicMock(return_value="stack")}): with patch.object(service, '_enable', MagicMock(return_value={'changes': 'saltstack'})): self.assertDictEqual(service.dead("salt", True), ret[3]) # test an initd which a wrong status (True even if dead) with patch.dict(service.__salt__, {'service.enabled': MagicMock(side_effect=[False, False, False]), 'service.status': MagicMock(side_effect=[True, True, True]), 'service.stop': MagicMock(return_value="stack")}): with patch.object(service, '_disable', MagicMock(return_value={})): self.assertDictEqual(service.dead("salt", False), ret[4]) def test_enabled(self): ''' Test to verify that the service is enabled ''' ret = {'changes': 'saltstack', 'comment': '', 'name': 'salt', 'result': True} mock = MagicMock(return_value={'changes': 'saltstack'}) with patch.object(service, '_enable', mock): self.assertDictEqual(service.enabled("salt"), ret) def test_disabled(self): ''' Test to verify that the service is disabled ''' ret = {'changes': 'saltstack', 'comment': '', 'name': 'salt', 'result': True} mock = MagicMock(return_value={'changes': 'saltstack'}) with patch.object(service, '_disable', mock): self.assertDictEqual(service.disabled("salt"), ret) def test_mod_watch(self): ''' Test to the service watcher, called to invoke the watch command. ''' ret = [{'changes': {}, 'comment': 'Service is already stopped', 'name': 'salt', 'result': True}, {'changes': {}, 'comment': 'Unable to trigger watch for service.stack', 'name': 'salt', 'result': False}, {'changes': {}, 'comment': 'Service is set to be started', 'name': 'salt', 'result': None}, {'changes': {'salt': 'salt'}, 'comment': 'Service started', 'name': 'salt', 'result': 'salt'}] mock = MagicMock(return_value=False) with patch.dict(service.__salt__, {'service.status': mock}): self.assertDictEqual(service.mod_watch("salt", "dead"), ret[0]) with patch.dict(service.__salt__, {'service.start': func}): with patch.dict(service.__opts__, {'test': True}): self.assertDictEqual(service.mod_watch("salt", "running"), ret[2]) with patch.dict(service.__opts__, {'test': False}): self.assertDictEqual(service.mod_watch("salt", "running"), ret[3]) self.assertDictEqual(service.mod_watch("salt", "stack"), ret[1]) if __name__ == '__main__': from integration import run_tests run_tests(ServiceTestCase, needs_daemon=False)
45.231818
115
0.517335
6eff986c925b8d3c64d0946f8c4e668b89ed8622
5,904
swift
Swift
TooDoo/Library/Helpers/Managers/AppearanceManager.swift
mangahero/TooDoo
137724e6495249f130cdb44210ddccc36314b352
[ "Apache-2.0" ]
1
2019-11-25T06:48:08.000Z
2019-11-25T06:48:08.000Z
TooDoo/Library/Helpers/Managers/AppearanceManager.swift
mangahero/TooDoo
137724e6495249f130cdb44210ddccc36314b352
[ "Apache-2.0" ]
null
null
null
TooDoo/Library/Helpers/Managers/AppearanceManager.swift
mangahero/TooDoo
137724e6495249f130cdb44210ddccc36314b352
[ "Apache-2.0" ]
2
2018-12-12T13:49:42.000Z
2019-04-04T04:21:35.000Z
// // AppearanceManager.swift // TooDoo // // Created by Cali Castle on 10/16/17. // Copyright © 2017 Cali Castle . All rights reserved. // import UIKit import SideMenu /// Manager for Appearance Configuration final class AppearanceManager { // Main font name fileprivate static let fontName = "AvenirNext" // Font weight enum FontWeight: String { case Regular = "Regular" case Bold = "Bold" case DemiBold = "DemiBold" case Medium = "Medium" case Italic = "Italic" case UltraLight = "UltraLight" } // Theme mode enum ThemeMode: String { case Dark = "dark" case Light = "light" } // Side menu animation behavior enum SideMenuAnimation: String { case SlideIn = "Side_Menu_Slide_In" case SlideInOut = "Side_Menu_Slide_In_Out" case SlideOut = "Side_Menu_Slide_Out" case Fade = "Side_Menu_Fade" /// Get present mode. func presentMode() -> SideMenuManager.MenuPresentMode { switch self { case .Fade: return .menuDissolveIn case .SlideIn: return .menuSlideIn case .SlideOut: return .viewSlideOut default: return .viewSlideInOut } } } /// Singleton standard instance. public static let `default` = AppearanceManager() /// Current theme variable. open var theme: ThemeMode = .Dark /// Get main font /// /// - Parameters: /// - size: Font size, default 17 /// - weight: Font weight, default .regular /// - Returns: The font instance class func font(size: CGFloat = 17.0, weight: FontWeight = .Regular) -> UIFont { guard let font = UIFont(name: "\(self.fontName)-\(weight.rawValue)", size: size) else { return UIFont.systemFont(ofSize: size) } return font } /// Get title attributes for banner message /// /// - Returns: The title attributes class func bannerTitleAttributes() -> [NSAttributedStringKey: Any] { return [.font: AppearanceManager.font(size: 18, weight: .DemiBold)] } // MARK: - Navigation Bar internal func changeNavigationBarAppearance() { // UINavigationBar.appearance().shadowImage = UIImage() UIBarButtonItem.appearance().setTitleTextAttributes([.font: AppearanceManager.font(size: 17, weight: .Medium)], for: .normal) // Set color contrast let color: UIColor = theme == .Light ? .flatBlack() : .white UINavigationBar.appearance().tintColor = color UINavigationBar.appearance().titleTextAttributes = [.foregroundColor: color, .font: AppearanceManager.font(size: 18, weight: .DemiBold)] UIBarButtonItem.appearance().tintColor = color if #available(iOS 11, *) { UINavigationBar.appearance().largeTitleTextAttributes = [.foregroundColor: color, .font: AppearanceManager.font(size: 27, weight: .DemiBold)] } } // MARK: - Side Menu internal func changeSideMenuAppearance() { SideMenuManager.default.menuFadeStatusBar = false SideMenuManager.default.menuShadowOpacity = 0.2 SideMenuManager.default.menuWidth = 300 SideMenuManager.default.menuShadowRadius = 15 // Load from user settings if let animationType = SideMenuAnimation(rawValue: UserDefaultManager.string(forKey: .SideMenuAnimation, SideMenuAnimation.SlideInOut.rawValue)!) { SideMenuManager.default.menuPresentMode = animationType.presentMode() } } /// Get side menu animations. open func sideMenuAnimations() -> [SideMenuAnimation] { return [ .SlideInOut, .SlideIn, .SlideOut, .Fade ] } // MARK: - Switch Controls. internal func changeSwitchAppearance() { UISwitch.appearance().tintColor = AppearanceManager.switchTintColor() UISwitch.appearance().onTintColor = AppearanceManager.switchOnTintColor() } /// Get current theme. /// /// - Returns: The current theme enum internal func currentTheme() -> ThemeMode { return UserDefaultManager.settingThemeMode() } /// Set current theme. open func changeTheme() { // Change theme accordingly switch theme { case .Dark: theme = .Light case .Light: theme = .Dark } // Save theme to user defaults UserDefaultManager.set(value: theme.rawValue, forKey: .ThemeMode) // Change global appearances changeSwitchAppearance() changeNavigationBarAppearance() // Change app icon if #available(iOS 10.3, *), UserDefaultManager.bool(forKey: .AppIconChangedWithTheme) { ApplicationManager.changeAppIcon(to: theme == .Dark ? .Primary : .Navy) } // Send notification NotificationManager.send(notification: .SettingThemeChanged) } /// Switch on tint color. open static func switchOnTintColor() -> UIColor { return AppearanceManager.default.theme == .Dark ? .flatMint() : .flatNavyBlue() } /// Switch tint color. open static func switchTintColor() -> UIColor { return AppearanceManager.default.theme == .Dark ? .white : .lightGray } /// Configure appearances. open func configureAppearances() { changeNavigationBarAppearance() changeSideMenuAppearance() changeSwitchAppearance() } /// Private init private init() { theme = currentTheme() } }
29.083744
155
0.594004
f731c791c33965c56de2f5e194268b2c05218298
210
h
C
FoldingTable/View/TableViewCell.h
michaelyht/FoldingTable
ee98beba212b209d1c445f010f0f1470538ec11e
[ "MIT" ]
null
null
null
FoldingTable/View/TableViewCell.h
michaelyht/FoldingTable
ee98beba212b209d1c445f010f0f1470538ec11e
[ "MIT" ]
null
null
null
FoldingTable/View/TableViewCell.h
michaelyht/FoldingTable
ee98beba212b209d1c445f010f0f1470538ec11e
[ "MIT" ]
null
null
null
// // TableViewCell.h // FoldingTable // // Created by Michael on 2017/9/12. // Copyright © 2017年 Michael. All rights reserved. // #import <UIKit/UIKit.h> @interface TableViewCell : UITableViewCell @end
15
51
0.695238
40a69a02469e18ab25bbebd13e371833dbec986a
387
py
Python
utils/drest.mockapi/mockapi/urls.py
derks/drest
7e35375ffd884c3c124dc800f94c2f271d788e0f
[ "BSD-3-Clause" ]
9
2015-03-10T00:41:54.000Z
2020-05-07T06:03:22.000Z
utils/drest.mockapi/mockapi/urls.py
derks/drest
7e35375ffd884c3c124dc800f94c2f271d788e0f
[ "BSD-3-Clause" ]
null
null
null
utils/drest.mockapi/mockapi/urls.py
derks/drest
7e35375ffd884c3c124dc800f94c2f271d788e0f
[ "BSD-3-Clause" ]
null
null
null
from django.http import HttpResponse from django.conf.urls.defaults import patterns, include, url from mockapi.api import v0_api def render_null(request): return HttpResponse('') urlpatterns = patterns('', url(r'^api/', include(v0_api.urls)), url(r'^favicon.ico/$', render_null), url(r'^fake_long_request/$', 'mockapi.projects.views.fake_long_request') )
25.8
60
0.705426
e865f34aab1035e9a9e53acaa80395a1bd84d0d6
4,591
swift
Swift
Keychain/KeychainUtils/KeychainHelper.swift
seniorglez/SwiftKeychain
b8b1816dfafc1507e290d487bab3af562449daf9
[ "MIT" ]
null
null
null
Keychain/KeychainUtils/KeychainHelper.swift
seniorglez/SwiftKeychain
b8b1816dfafc1507e290d487bab3af562449daf9
[ "MIT" ]
null
null
null
Keychain/KeychainUtils/KeychainHelper.swift
seniorglez/SwiftKeychain
b8b1816dfafc1507e290d487bab3af562449daf9
[ "MIT" ]
null
null
null
// // KeychainHelper.swift // Keychain // // Created by Diego Domínguez González on 22/04/2020. // Copyright © 2020 Diego Domínguez González. All rights reserved. // // apple´s article about this: https://developer.apple.com/documentation/security/keychain_services/keychain_items/adding_a_password_to_the_keychain //Keychain error codes meaning: https://www.oreilly.com/library/view/ios-components-and/9780133086898/ch18lev2sec7.html //Updating and deleting KeyChain items: https://developer.apple.com/documentation/security/keychain_services/keychain_items/updating_and_deleting_keychain_items import Foundation class KeychainHelper { static let instance: KeychainHelper = KeychainHelper() enum KeychainError: Error { case noPassword case unexpectedPasswordData case unhandledError(status: OSStatus) } private init() { clearKeychain()//just for testing prouposes } func storeOnKeychain(credentials: Credentials, URL server: String) throws { let account = credentials.username let password = credentials.password.data(using: String.Encoding.utf8)! let query: [String: Any] = [kSecClass as String: kSecClassInternetPassword, kSecAttrAccount as String: account, kSecAttrServer as String: server, kSecValueData as String: password] let status = SecItemAdd(query as CFDictionary, nil) guard status == errSecSuccess else { throw KeychainError.unhandledError(status: status) } } func clearKeychain() { let secItemClasses = [kSecClassGenericPassword, kSecClassInternetPassword, kSecClassCertificate, kSecClassKey, kSecClassIdentity] for itemClass in secItemClasses { let spec: NSDictionary = [kSecClass: itemClass] SecItemDelete(spec) } } func updateKeychain(credentials: Credentials, URL server: String) throws { let query: [String: Any] = [kSecClass as String: kSecClassInternetPassword, kSecAttrServer as String: server] let account = credentials.username let password = credentials.password.data(using: String.Encoding.utf8)! let attributes: [String: Any] = [kSecAttrAccount as String: account, kSecValueData as String: password] let status = SecItemUpdate(query as CFDictionary, attributes as CFDictionary) guard status != errSecItemNotFound else { throw KeychainHelper.KeychainError.noPassword } guard status == errSecSuccess else { throw KeychainHelper.KeychainError.unhandledError(status: status) } } func removeFromKeychain(URL server: String) throws { let query: [String: Any] = [kSecClass as String: kSecClassInternetPassword, kSecAttrServer as String: server] let status = SecItemDelete(query as CFDictionary) guard status == errSecSuccess || status == errSecItemNotFound else { throw KeychainHelper.KeychainError.unhandledError(status: status) } } func retrieveFromKeychain(URL server: String) throws -> Credentials { let query: [String: Any] = [kSecClass as String: kSecClassInternetPassword, kSecAttrServer as String: server, kSecMatchLimit as String: kSecMatchLimitOne, kSecReturnAttributes as String: true, kSecReturnData as String: true] var item: CFTypeRef? let status = SecItemCopyMatching(query as CFDictionary, &item) guard status != errSecItemNotFound else { throw KeychainError.noPassword } guard status == errSecSuccess else { throw KeychainError.unhandledError(status: status) } guard let existingItem = item as? [String : Any], let passwordData = existingItem[kSecValueData as String] as? Data, let password = String(data: passwordData, encoding: String.Encoding.utf8), let username = existingItem[kSecAttrAccount as String] as? String else { throw KeychainError.unexpectedPasswordData } let credentials = Credentials(username: username, password: password) return credentials } } //MARK - Extensions //Usually I add this extension on the Network group extension URL { static let serverURL: URL = URL(string : "https://stackoverflow.com")! }
49.902174
160
0.660423
d2a7a15d3767b55e2218d8d4b75b0ce69c1caecb
1,949
php
PHP
core/DbExtend/DBSQL/DBSQLSelect.php
bogdanim36/php-rest-api
1c59606212ef789e1918a794ddc689e033dafd21
[ "MIT" ]
null
null
null
core/DbExtend/DBSQL/DBSQLSelect.php
bogdanim36/php-rest-api
1c59606212ef789e1918a794ddc689e033dafd21
[ "MIT" ]
null
null
null
core/DbExtend/DBSQL/DBSQLSelect.php
bogdanim36/php-rest-api
1c59606212ef789e1918a794ddc689e033dafd21
[ "MIT" ]
1
2018-12-13T12:51:38.000Z
2018-12-13T12:51:38.000Z
<?php require_once get_path("core/DbExtend/DBSQL", "DBSQL.php"); require_once get_path("core/DbExtend/DBSQL", "DBSQLWhere.php"); require_once get_path("core/DbExtend/DBSQL", "DBSQLColumns.php"); require_once get_path("core/DbExtend/DBSQL", "DBSQLJoin.php"); require_once get_path("core/DbExtend/DBSQL", "DBSQLOrder.php"); class DBSQLSelect extends DBSQL { private $tableName; private $tableKey; private $tableAlias; protected $tablesStructure; public $columns; public $where; public $order ; private $distinct = false; private $limit; protected $tables = []; private $service; public $join; public function __construct($service) { $this->service = $service; $this->tableName = $service->tableName; $this->tableAlias = $service->tableAlias; $this->tableKey = $service->tableKey; $this->where = new DBSQLWhere(); $this->columns = new DBSQLColumns(); $this->join = new DBSQLJoin(); $this->order = new DBSQLOrder(); } public function &__get($property) { if (property_exists($this, $property)) { return $this->$property; } else throw new \Exception("Property " . $property . " doesn't exist on DBSQL class!"); } public function &__set($property, $value) { if (property_exists($this, $property)) { $this->$property = $value; } else throw new \Exception("Property " . $property . " doesn't exist on DBSQL class!"); return $this; } public function text() { try { $sql = "SELECT"; $sql .= $this->getDistinct(); $sql .= "\n " . $this->getColumns(); $sql .= "\n " . $this->getFrom(); $sql .= "\n " . $this->getJoin(); $sql .= "\n " . $this->getWhere(); $sql .= "\n " . $this->getOrder(); return $sql; } catch (Exception $err) { throw $err; } } public function exec() { $cmd = $this->text(); exit($cmd); $queryResult = $this->service->db->query($cmd); return $queryResult; } public function setDistinct(): void { $this->distinct = true; } }
22.402299
90
0.644433
d46e9a1e7848fee0012ffb90c83c2b22eb09a1e6
49,158
rs
Rust
json/src/value.rs
Kixunil/serde-rs-json
ec4654e01b1076f1ecf4d72cc2b6d270fad9b574
[ "BSD-3-Clause", "Apache-2.0", "MIT" ]
null
null
null
json/src/value.rs
Kixunil/serde-rs-json
ec4654e01b1076f1ecf4d72cc2b6d270fad9b574
[ "BSD-3-Clause", "Apache-2.0", "MIT" ]
null
null
null
json/src/value.rs
Kixunil/serde-rs-json
ec4654e01b1076f1ecf4d72cc2b6d270fad9b574
[ "BSD-3-Clause", "Apache-2.0", "MIT" ]
null
null
null
//! JSON Value //! //! This module is centered around the `Value` type, which can represent all possible JSON values. //! //! # Example of use: //! //! ```rust //! extern crate serde_json; //! //! use serde_json::Value; //! //! fn main() { //! let s = "{\"x\": 1.0, \"y\": 2.0}"; //! let value: Value = serde_json::from_str(s).unwrap(); //! } //! ``` //! //! It is also possible to deserialize from a `Value` type: //! //! ```rust //! extern crate serde_json; //! //! use serde_json::{Value, Map}; //! //! fn main() { //! let mut map = Map::new(); //! map.insert(String::from("x"), Value::F64(1.0)); //! map.insert(String::from("y"), Value::F64(2.0)); //! let value = Value::Object(map); //! //! let map: Map<String, f64> = serde_json::from_value(value).unwrap(); //! } //! ``` #[cfg(not(feature = "preserve_order"))] use std::collections::{BTreeMap, btree_map}; #[cfg(feature = "preserve_order")] use linked_hash_map::{self, LinkedHashMap}; use std::fmt; use std::io; use std::str; use std::vec; use num_traits::NumCast; use serde::de; use serde::ser; use error::{Error, ErrorCode, TypeError}; /// Represents a key/value type. #[cfg(not(feature = "preserve_order"))] pub type Map<K, V> = BTreeMap<K, V>; /// Represents a key/value type. #[cfg(feature = "preserve_order")] pub type Map<K, V> = LinkedHashMap<K, V>; /// Represents the `IntoIter` type. #[cfg(not(feature = "preserve_order"))] pub type MapIntoIter<K, V> = btree_map::IntoIter<K, V>; /// Represents the IntoIter type. #[cfg(feature = "preserve_order")] pub type MapIntoIter<K, V> = linked_hash_map::IntoIter<K, V>; #[cfg(not(feature = "preserve_order"))] type MapVisitor<K, T> = de::impls::BTreeMapVisitor<K, T>; #[cfg(feature = "preserve_order")] type MapVisitor<K, T> = linked_hash_map::serde::LinkedHashMapVisitor<K, T>; /// Represents a JSON value #[derive(Clone, PartialEq)] pub enum Value { /// Represents a JSON null value Null, /// Represents a JSON Boolean Bool(bool), /// Represents a JSON signed integer I64(i64), /// Represents a JSON unsigned integer U64(u64), /// Represents a JSON floating point number F64(f64), /// Represents a JSON string String(String), /// Represents a JSON array Array(Vec<Value>), /// Represents a JSON object Object(Map<String, Value>), } impl Value { /// If the `Value` is an Object, returns the value associated with the provided key. /// Otherwise, returns None. pub fn find<'a>(&'a self, key: &str) -> Option<&'a Value> { match *self { Value::Object(ref map) => map.get(key), _ => None, } } /// Attempts to get a nested Value Object for each key in `keys`. /// If any key is found not to exist, find_path will return None. /// Otherwise, it will return the `Value` associated with the final key. pub fn find_path<'a>(&'a self, keys: &[&str]) -> Option<&'a Value> { let mut target = self; for key in keys { match target.find(key) { Some(t) => { target = t; } None => return None, } } Some(target) } /// **Deprecated**: Use `Value.pointer()` and pointer syntax instead. /// /// Looks up a value by path. /// /// This is a convenience method that splits the path by `'.'` /// and then feeds the sequence of keys into the `find_path` /// method. /// /// ``` ignore /// let obj: Value = json::from_str(r#"{"x": {"a": 1}}"#).unwrap(); /// /// assert!(obj.lookup("x.a").unwrap() == &Value::U64(1)); /// ``` pub fn lookup<'a>(&'a self, path: &str) -> Option<&'a Value> { let mut target = self; for key in path.split('.') { match target.find(key) { Some(t) => { target = t; } None => return None, } } Some(target) } /// Looks up a value by a JSON Pointer. /// /// JSON Pointer defines a string syntax for identifying a specific value /// within a JavaScript Object Notation (JSON) document. /// /// A Pointer is a Unicode string with the reference tokens separated by `/`. /// Inside tokens `/` is replaced by `~1` and `~` is replaced by `~0`. The /// addressed value is returned and if there is no such value `None` is /// returned. /// /// For more information read [RFC6901](https://tools.ietf.org/html/rfc6901). pub fn pointer<'a>(&'a self, pointer: &str) -> Option<&'a Value> { fn parse_index(s: &str) -> Option<usize> { if s.starts_with('+') || (s.starts_with('0') && s.len() != 1) { return None; } s.parse().ok() } if pointer == "" { return Some(self); } if !pointer.starts_with('/') { return None; } let mut target = self; for escaped_token in pointer.split('/').skip(1) { let token = escaped_token.replace("~1", "/").replace("~0", "~"); let target_opt = match *target { Value::Object(ref map) => map.get(&token[..]), Value::Array(ref list) => { parse_index(&token[..]).and_then(|x| list.get(x)) } _ => return None, }; if let Some(t) = target_opt { target = t; } else { return None; } } Some(target) } /// If the `Value` is an Object, performs a depth-first search until /// a value associated with the provided key is found. If no value is found /// or the `Value` is not an Object, returns None. pub fn search<'a>(&'a self, key: &str) -> Option<&'a Value> { match *self { Value::Object(ref map) => { match map.get(key) { Some(json_value) => Some(json_value), None => { for (_, v) in map.iter() { match v.search(key) { x if x.is_some() => return x, _ => (), } } None } } } _ => None, } } /// If the `Value` is of type `T`, returns borrow of internal value. /// Returns Err otherwise. /// /// Useful for generics with larger/allocated types to speed things up. /// /// # Example /// /// ```rust /// extern crate serde_json; /// /// use serde_json::{to_value,Value}; /// use serde_json::value::ValueType; /// use std::collections::BTreeMap; /// /// fn main() { /// let null = to_value(()); /// let boolean = to_value(true); /// let int64 = to_value(-42i64); /// let uint64 = to_value(18446744073709551337u64); /// let float = to_value(3.1415926535f64); /// let string = to_value("Hello world!"); /// let array = to_value(&[1, 2, 3, 4, 5]); /// let mut map = BTreeMap::new(); /// map.insert("foo", to_value("bar")); /// let map = to_value(&map); /// /// let _: &() = null.as_borrow().unwrap(); /// let _: &bool = boolean.as_borrow().unwrap(); /// let _: &i64 = int64.as_borrow().unwrap(); /// let _: &u64 = uint64.as_borrow().unwrap(); /// let _: &f64 = float.as_borrow().unwrap(); /// let _: &str = string.as_borrow().unwrap(); /// let _: &String = string.as_borrow().unwrap(); /// let _: &[Value] = array.as_borrow().unwrap(); /// let _: &Vec<Value> = array.as_borrow().unwrap(); /// let _: &BTreeMap<String, Value> = map.as_borrow().unwrap(); /// } pub fn as_borrow<'a, T: TryBorrow<'a>>(&'a self) -> Result<T, TypeError> { T::try_borrow(self) } /// If the `Value` is of type `T`, returns mutable borrow of internal value. /// Returns Err otherwise. /// /// Useful for generics with larger/allocated types to speed things up. /// /// # Example /// /// ```rust /// extern crate serde_json; /// /// use serde_json::{to_value,Value}; /// use serde_json::value::ValueType; /// use std::collections::BTreeMap; /// /// fn main() { /// let mut null = to_value(()); /// let mut boolean = to_value(true); /// let mut int64 = to_value(-42i64); /// let mut uint64 = to_value(18446744073709551337u64); /// let mut float = to_value(3.1415926535f64); /// let mut string = to_value("Hello world!"); /// let mut array = to_value(&[1, 2, 3, 4, 5]); /// let mut map = BTreeMap::new(); /// map.insert("foo", to_value("bar")); /// let mut map = to_value(&map); /// /// let _: &mut () = null.as_borrow_mut().unwrap(); /// let _: &mut bool = boolean.as_borrow_mut().unwrap(); /// let _: &mut i64 = int64.as_borrow_mut().unwrap(); /// let _: &mut u64 = uint64.as_borrow_mut().unwrap(); /// let _: &mut f64 = float.as_borrow_mut().unwrap(); /// { /// let _: &mut str = string.as_borrow_mut().unwrap(); /// } /// let _: &mut String = string.as_borrow_mut().unwrap(); /// { /// let _: &mut [Value] = array.as_borrow_mut().unwrap(); /// } /// let _: &mut Vec<Value> = array.as_borrow_mut().unwrap(); /// let _: &mut BTreeMap<String, Value> = map.as_borrow_mut().unwrap(); /// } pub fn as_borrow_mut<'a, T: TryBorrowMut<'a>>(&'a mut self) -> Result<T, TypeError> { T::try_borrow_mut(self) } /// Returns true if the `Value` is an Object. Returns false otherwise. pub fn is_object(&self) -> bool { self.as_object().is_some() } /// If the `Value` is an Object, returns the associated Map. /// Returns None otherwise. pub fn as_object(&self) -> Option<&Map<String, Value>> { match *self { Value::Object(ref map) => Some(map), _ => None, } } /// If the `Value` is an Object, returns the associated mutable Map. /// Returns None otherwise. pub fn as_object_mut(&mut self) -> Option<&mut Map<String, Value>> { match *self { Value::Object(ref mut map) => Some(map), _ => None, } } /// Returns true if the `Value` is an Array. Returns false otherwise. pub fn is_array(&self) -> bool { self.as_array().is_some() } /// If the `Value` is an Array, returns the associated vector. /// Returns None otherwise. pub fn as_array(&self) -> Option<&Vec<Value>> { match *self { Value::Array(ref array) => Some(&*array), _ => None, } } /// If the `Value` is an Array, returns the associated mutable vector. /// Returns None otherwise. pub fn as_array_mut(&mut self) -> Option<&mut Vec<Value>> { match *self { Value::Array(ref mut list) => Some(list), _ => None, } } /// Returns true if the `Value` is a String. Returns false otherwise. pub fn is_string(&self) -> bool { self.as_str().is_some() } /// If the `Value` is a String, returns the associated str. /// Returns None otherwise. pub fn as_str(&self) -> Option<&str> { match *self { Value::String(ref s) => Some(s), _ => None, } } /// Returns true if the `Value` is a Number. Returns false otherwise. pub fn is_number(&self) -> bool { match *self { Value::I64(_) | Value::U64(_) | Value::F64(_) => true, _ => false, } } /// Returns true if the `Value` is a i64. Returns false otherwise. pub fn is_i64(&self) -> bool { match *self { Value::I64(_) => true, _ => false, } } /// Returns true if the `Value` is a u64. Returns false otherwise. pub fn is_u64(&self) -> bool { match *self { Value::U64(_) => true, _ => false, } } /// Returns true if the `Value` is a f64. Returns false otherwise. pub fn is_f64(&self) -> bool { match *self { Value::F64(_) => true, _ => false, } } /// If the `Value` is a number, return or cast it to a i64. /// Returns None otherwise. pub fn as_i64(&self) -> Option<i64> { match *self { Value::I64(n) => Some(n), Value::U64(n) => NumCast::from(n), _ => None, } } /// If the `Value` is a number, return or cast it to a u64. /// Returns None otherwise. pub fn as_u64(&self) -> Option<u64> { match *self { Value::I64(n) => NumCast::from(n), Value::U64(n) => Some(n), _ => None, } } /// If the `Value` is a number, return or cast it to a f64. /// Returns None otherwise. pub fn as_f64(&self) -> Option<f64> { match *self { Value::I64(n) => NumCast::from(n), Value::U64(n) => NumCast::from(n), Value::F64(n) => Some(n), _ => None, } } /// Returns true if the `Value` is a Boolean. Returns false otherwise. pub fn is_boolean(&self) -> bool { self.as_bool().is_some() } /// If the `Value` is a Boolean, returns the associated bool. /// Returns None otherwise. pub fn as_bool(&self) -> Option<bool> { match *self { Value::Bool(b) => Some(b), _ => None, } } /// Returns true if the `Value` is a Null. Returns false otherwise. pub fn is_null(&self) -> bool { self.as_null().is_some() } /// If the `Value` is a Null, returns (). /// Returns None otherwise. pub fn as_null(&self) -> Option<()> { match *self { Value::Null => Some(()), _ => None, } } } impl ser::Serialize for Value { #[inline] fn serialize<S>(&self, serializer: &mut S) -> Result<(), S::Error> where S: ser::Serializer, { match *self { Value::Null => serializer.serialize_unit(), Value::Bool(v) => serializer.serialize_bool(v), Value::I64(v) => serializer.serialize_i64(v), Value::U64(v) => serializer.serialize_u64(v), Value::F64(v) => serializer.serialize_f64(v), Value::String(ref v) => serializer.serialize_str(v), Value::Array(ref v) => v.serialize(serializer), Value::Object(ref v) => v.serialize(serializer), } } } impl de::Deserialize for Value { #[inline] fn deserialize<D>(deserializer: &mut D) -> Result<Value, D::Error> where D: de::Deserializer, { struct ValueVisitor; impl de::Visitor for ValueVisitor { type Value = Value; #[inline] fn visit_bool<E>(&mut self, value: bool) -> Result<Value, E> { Ok(Value::Bool(value)) } #[inline] fn visit_i64<E>(&mut self, value: i64) -> Result<Value, E> { if value < 0 { Ok(Value::I64(value)) } else { Ok(Value::U64(value as u64)) } } #[inline] fn visit_u64<E>(&mut self, value: u64) -> Result<Value, E> { Ok(Value::U64(value)) } #[inline] fn visit_f64<E>(&mut self, value: f64) -> Result<Value, E> { Ok(Value::F64(value)) } #[inline] fn visit_str<E>(&mut self, value: &str) -> Result<Value, E> where E: de::Error, { self.visit_string(String::from(value)) } #[inline] fn visit_string<E>(&mut self, value: String) -> Result<Value, E> { Ok(Value::String(value)) } #[inline] fn visit_none<E>(&mut self) -> Result<Value, E> { Ok(Value::Null) } #[inline] fn visit_some<D>( &mut self, deserializer: &mut D ) -> Result<Value, D::Error> where D: de::Deserializer, { de::Deserialize::deserialize(deserializer) } #[inline] fn visit_unit<E>(&mut self) -> Result<Value, E> { Ok(Value::Null) } #[inline] fn visit_seq<V>(&mut self, visitor: V) -> Result<Value, V::Error> where V: de::SeqVisitor, { let values = try!(de::impls::VecVisitor::new() .visit_seq(visitor)); Ok(Value::Array(values)) } #[inline] fn visit_map<V>(&mut self, visitor: V) -> Result<Value, V::Error> where V: de::MapVisitor, { let values = try!(MapVisitor::new().visit_map(visitor)); Ok(Value::Object(values)) } } deserializer.deserialize(ValueVisitor) } } /// Represents type of a JSON value #[derive(Clone, Copy, Eq, PartialEq, Debug)] pub enum ValueType { /// Represents a JSON null value type Null, /// Represents a JSON Boolean type Bool, /// Represents a JSON signed integer type I64, /// Represents a JSON unsigned integer type U64, /// Represents a JSON floating point number type F64, /// Represents a JSON string type String, /// Represents a JSON array type Array, /// Represents a JSON object type Object, } impl ValueType { /// Returns type of a value /// /// # Example /// /// ```rust /// extern crate serde_json; /// /// use serde_json::to_value; /// use serde_json::value::ValueType; /// use std::collections::BTreeMap; /// /// fn main() { /// let null = to_value(()); /// let boolean = to_value(true); /// let int64 = to_value(-42i64); /// let uint64 = to_value(18446744073709551337u64); /// let float = to_value(3.1415926535f64); /// let string = to_value("Hello world!"); /// let array = to_value(&[1, 2, 3, 4, 5]); /// let mut map = BTreeMap::new(); /// map.insert("foo", to_value("bar")); /// let map = to_value(&map); /// /// assert_eq!(ValueType::of(&null), ValueType::Null); /// assert_eq!(ValueType::of(&boolean), ValueType::Bool); /// assert_eq!(ValueType::of(&int64), ValueType::I64); /// assert_eq!(ValueType::of(&uint64), ValueType::U64); /// assert_eq!(ValueType::of(&float), ValueType::F64); /// assert_eq!(ValueType::of(&string), ValueType::String); /// assert_eq!(ValueType::of(&array), ValueType::Array); /// assert_eq!(ValueType::of(&map), ValueType::Object); /// } pub fn of(val: &Value) -> Self { match *val { Value::Null => ValueType::Null, Value::Bool(_) => ValueType::Bool, Value::I64(_) => ValueType::I64, Value::U64(_) => ValueType::U64, Value::F64(_) => ValueType::F64, Value::String(_) => ValueType::String, Value::Array(_) => ValueType::Array, Value::Object(_) => ValueType::Object, } } } impl fmt::Display for ValueType { fn fmt(&self, f: &mut fmt::Formatter) -> Result<(), fmt::Error> { use self::ValueType::*; write!(f, "{}", match *self { Null => "Null", Bool => "Bool", I64 => "I64", U64 => "U64", F64 => "F64", String => "String", Array => "Array", Object => "Object", }) } } struct WriterFormatter<'a, 'b: 'a> { inner: &'a mut fmt::Formatter<'b>, } impl<'a, 'b> io::Write for WriterFormatter<'a, 'b> { fn write(&mut self, buf: &[u8]) -> io::Result<usize> { fn io_error<E>(_: E) -> io::Error { // Value does not matter because fmt::Debug and fmt::Display impls // below just map it to fmt::Error io::Error::new(io::ErrorKind::Other, "fmt error") } let s = try!(str::from_utf8(buf).map_err(io_error)); try!(self.inner.write_str(s).map_err(io_error)); Ok(buf.len()) } fn flush(&mut self) -> io::Result<()> { Ok(()) } } impl fmt::Debug for Value { /// Serializes a json value into a string fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { let mut wr = WriterFormatter { inner: f, }; super::ser::to_writer(&mut wr, self).map_err(|_| fmt::Error) } } impl fmt::Display for Value { /// Serializes a json value into a string fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { let mut wr = WriterFormatter { inner: f, }; super::ser::to_writer(&mut wr, self).map_err(|_| fmt::Error) } } impl str::FromStr for Value { type Err = Error; fn from_str(s: &str) -> Result<Value, Error> { super::de::from_str(s) } } /// Create a `serde::Serializer` that serializes a `Serialize`e into a `Value`. pub struct Serializer { value: Value, } impl Serializer { /// Construct a new `Serializer`. pub fn new() -> Serializer { Serializer { value: Value::Null, } } /// Unwrap the `Serializer` and return the `Value`. pub fn unwrap(self) -> Value { self.value } } impl Default for Serializer { fn default() -> Self { Serializer::new() } } #[doc(hidden)] pub struct TupleVariantState { name: String, vec: Vec<Value>, } #[doc(hidden)] pub struct StructVariantState { name: String, map: Map<String, Value>, } #[doc(hidden)] pub struct MapState { map: Map<String, Value>, next_key: Option<String>, } impl ser::Serializer for Serializer { type Error = Error; type SeqState = Vec<Value>; type TupleState = Vec<Value>; type TupleStructState = Vec<Value>; type TupleVariantState = TupleVariantState; type MapState = MapState; type StructState = MapState; type StructVariantState = StructVariantState; #[inline] fn serialize_bool(&mut self, value: bool) -> Result<(), Error> { self.value = Value::Bool(value); Ok(()) } #[inline] fn serialize_isize(&mut self, value: isize) -> Result<(), Error> { self.serialize_i64(value as i64) } #[inline] fn serialize_i8(&mut self, value: i8) -> Result<(), Error> { self.serialize_i64(value as i64) } #[inline] fn serialize_i16(&mut self, value: i16) -> Result<(), Error> { self.serialize_i64(value as i64) } #[inline] fn serialize_i32(&mut self, value: i32) -> Result<(), Error> { self.serialize_i64(value as i64) } fn serialize_i64(&mut self, value: i64) -> Result<(), Error> { if value < 0 { self.value = Value::I64(value); } else { self.value = Value::U64(value as u64); } Ok(()) } #[inline] fn serialize_usize(&mut self, value: usize) -> Result<(), Error> { self.serialize_u64(value as u64) } #[inline] fn serialize_u8(&mut self, value: u8) -> Result<(), Error> { self.serialize_u64(value as u64) } #[inline] fn serialize_u16(&mut self, value: u16) -> Result<(), Error> { self.serialize_u64(value as u64) } #[inline] fn serialize_u32(&mut self, value: u32) -> Result<(), Error> { self.serialize_u64(value as u64) } #[inline] fn serialize_u64(&mut self, value: u64) -> Result<(), Error> { self.value = Value::U64(value); Ok(()) } #[inline] fn serialize_f32(&mut self, value: f32) -> Result<(), Error> { self.serialize_f64(value as f64) } #[inline] fn serialize_f64(&mut self, value: f64) -> Result<(), Error> { self.value = Value::F64(value); Ok(()) } #[inline] fn serialize_char(&mut self, value: char) -> Result<(), Error> { let mut s = String::new(); s.push(value); self.serialize_str(&s) } #[inline] fn serialize_str(&mut self, value: &str) -> Result<(), Error> { self.value = Value::String(String::from(value)); Ok(()) } fn serialize_bytes(&mut self, value: &[u8]) -> Result<(), Error> { let mut state = try!(self.serialize_seq(Some(value.len()))); for byte in value { try!(self.serialize_seq_elt(&mut state, byte)); } self.serialize_seq_end(state) } #[inline] fn serialize_unit(&mut self) -> Result<(), Error> { Ok(()) } #[inline] fn serialize_unit_struct( &mut self, _name: &'static str ) -> Result<(), Error> { self.serialize_unit() } #[inline] fn serialize_unit_variant( &mut self, _name: &'static str, _variant_index: usize, variant: &'static str ) -> Result<(), Error> { self.serialize_str(variant) } #[inline] fn serialize_newtype_struct<T>( &mut self, _name: &'static str, value: T ) -> Result<(), Error> where T: ser::Serialize, { value.serialize(self) } fn serialize_newtype_variant<T>( &mut self, _name: &'static str, _variant_index: usize, variant: &'static str, value: T ) -> Result<(), Error> where T: ser::Serialize, { let mut values = Map::new(); values.insert(String::from(variant), to_value(&value)); self.value = Value::Object(values); Ok(()) } #[inline] fn serialize_none(&mut self) -> Result<(), Error> { self.serialize_unit() } #[inline] fn serialize_some<V>(&mut self, value: V) -> Result<(), Error> where V: ser::Serialize, { value.serialize(self) } fn serialize_seq( &mut self, len: Option<usize> ) -> Result<Vec<Value>, Error> { Ok(Vec::with_capacity(len.unwrap_or(0))) } fn serialize_seq_elt<T: ser::Serialize>( &mut self, state: &mut Vec<Value>, value: T ) -> Result<(), Error> where T: ser::Serialize, { state.push(to_value(&value)); Ok(()) } fn serialize_seq_end(&mut self, state: Vec<Value>) -> Result<(), Error> { self.value = Value::Array(state); Ok(()) } fn serialize_seq_fixed_size( &mut self, size: usize ) -> Result<Vec<Value>, Error> { self.serialize_seq(Some(size)) } fn serialize_tuple(&mut self, len: usize) -> Result<Vec<Value>, Error> { self.serialize_seq(Some(len)) } fn serialize_tuple_elt<T: ser::Serialize>( &mut self, state: &mut Vec<Value>, value: T ) -> Result<(), Error> { self.serialize_seq_elt(state, value) } fn serialize_tuple_end(&mut self, state: Vec<Value>) -> Result<(), Error> { self.serialize_seq_end(state) } fn serialize_tuple_struct( &mut self, _name: &'static str, len: usize ) -> Result<Vec<Value>, Error> { self.serialize_seq(Some(len)) } fn serialize_tuple_struct_elt<T: ser::Serialize>( &mut self, state: &mut Vec<Value>, value: T ) -> Result<(), Error> { self.serialize_seq_elt(state, value) } fn serialize_tuple_struct_end( &mut self, state: Vec<Value> ) -> Result<(), Error> { self.serialize_seq_end(state) } fn serialize_tuple_variant( &mut self, _name: &'static str, _variant_index: usize, variant: &'static str, len: usize ) -> Result<TupleVariantState, Error> { Ok(TupleVariantState { name: String::from(variant), vec: Vec::with_capacity(len), }) } fn serialize_tuple_variant_elt<T: ser::Serialize>( &mut self, state: &mut TupleVariantState, value: T ) -> Result<(), Error> { state.vec.push(to_value(&value)); Ok(()) } fn serialize_tuple_variant_end( &mut self, state: TupleVariantState ) -> Result<(), Error> { let mut object = Map::new(); object.insert(state.name, Value::Array(state.vec)); self.value = Value::Object(object); Ok(()) } fn serialize_map( &mut self, _len: Option<usize> ) -> Result<MapState, Error> { Ok(MapState { map: Map::new(), next_key: None, }) } fn serialize_map_key<T: ser::Serialize>( &mut self, state: &mut MapState, key: T, ) -> Result<(), Error> { match to_value(&key) { Value::String(s) => state.next_key = Some(s), _ => return Err(Error::Syntax(ErrorCode::KeyMustBeAString, 0, 0)), }; Ok(()) } fn serialize_map_value<T: ser::Serialize>( &mut self, state: &mut MapState, value: T, ) -> Result<(), Error> { match state.next_key.take() { Some(key) => state.map.insert(key, to_value(&value)), None => { return Err(Error::Syntax(ErrorCode::Custom("serialize_map_value without \ matching serialize_map_key".to_owned()), 0, 0)); } }; Ok(()) } fn serialize_map_end( &mut self, state: MapState, ) -> Result<(), Error> { self.value = Value::Object(state.map); Ok(()) } fn serialize_struct( &mut self, _name: &'static str, len: usize ) -> Result<MapState, Error> { self.serialize_map(Some(len)) } fn serialize_struct_elt<V: ser::Serialize>( &mut self, state: &mut MapState, key: &'static str, value: V ) -> Result<(), Error> { try!(self.serialize_map_key(state, key)); self.serialize_map_value(state, value) } fn serialize_struct_end( &mut self, state: MapState ) -> Result<(), Error> { self.serialize_map_end(state) } fn serialize_struct_variant( &mut self, _name: &'static str, _variant_index: usize, variant: &'static str, _len: usize ) -> Result<StructVariantState, Error> { Ok(StructVariantState { name: String::from(variant), map: Map::new(), }) } fn serialize_struct_variant_elt<V: ser::Serialize>( &mut self, state: &mut StructVariantState, key: &'static str, value: V ) -> Result<(), Error> { state.map.insert(String::from(key), to_value(&value)); Ok(()) } fn serialize_struct_variant_end( &mut self, state: StructVariantState ) -> Result<(), Error> { let mut object = Map::new(); object.insert(state.name, Value::Object(state.map)); self.value = Value::Object(object); Ok(()) } } /// Creates a `serde::Deserializer` from a `json::Value` object. pub struct Deserializer { value: Option<Value>, } impl Deserializer { /// Creates a new deserializer instance for deserializing the specified JSON value. pub fn new(value: Value) -> Deserializer { Deserializer { value: Some(value), } } } impl de::Deserializer for Deserializer { type Error = Error; #[inline] fn deserialize<V>(&mut self, mut visitor: V) -> Result<V::Value, Error> where V: de::Visitor, { let value = match self.value.take() { Some(value) => value, None => { return Err(de::Error::end_of_stream()); } }; match value { Value::Null => visitor.visit_unit(), Value::Bool(v) => visitor.visit_bool(v), Value::I64(v) => visitor.visit_i64(v), Value::U64(v) => visitor.visit_u64(v), Value::F64(v) => visitor.visit_f64(v), Value::String(v) => visitor.visit_string(v), Value::Array(v) => { let len = v.len(); visitor.visit_seq(SeqDeserializer { de: self, iter: v.into_iter(), len: len, }) } Value::Object(v) => { let len = v.len(); visitor.visit_map(MapDeserializer { de: self, iter: v.into_iter(), value: None, len: len, }) } } } #[inline] fn deserialize_option<V>( &mut self, mut visitor: V ) -> Result<V::Value, Error> where V: de::Visitor, { match self.value { Some(Value::Null) => visitor.visit_none(), Some(_) => visitor.visit_some(self), None => Err(de::Error::end_of_stream()), } } #[inline] fn deserialize_enum<V>( &mut self, _name: &str, _variants: &'static [&'static str], mut visitor: V ) -> Result<V::Value, Error> where V: de::EnumVisitor, { let (variant, value) = match self.value.take() { Some(Value::Object(value)) => { let mut iter = value.into_iter(); let (variant, value) = match iter.next() { Some(v) => v, None => { return Err(de::Error::invalid_type(de::Type::VariantName)); } }; // enums are encoded in json as maps with a single key:value pair if iter.next().is_some() { return Err(de::Error::invalid_type(de::Type::Map)); } (variant, Some(value)) } Some(Value::String(variant)) => (variant, None), Some(_) => { return Err(de::Error::invalid_type(de::Type::Enum)); } None => { return Err(de::Error::end_of_stream()); } }; visitor.visit(VariantDeserializer { de: self, val: value, variant: Some(Value::String(variant)), }) } #[inline] fn deserialize_newtype_struct<V>( &mut self, _name: &'static str, mut visitor: V ) -> Result<V::Value, Self::Error> where V: de::Visitor, { visitor.visit_newtype_struct(self) } forward_to_deserialize! { bool usize u8 u16 u32 u64 isize i8 i16 i32 i64 f32 f64 char str string unit seq seq_fixed_size bytes map unit_struct tuple_struct struct struct_field tuple ignored_any } } struct VariantDeserializer<'a> { de: &'a mut Deserializer, val: Option<Value>, variant: Option<Value>, } impl<'a> de::VariantVisitor for VariantDeserializer<'a> { type Error = Error; fn visit_variant<V>(&mut self) -> Result<V, Error> where V: de::Deserialize, { let variant = self.variant.take().expect("variant is missing"); de::Deserialize::deserialize(&mut Deserializer::new(variant)) } fn visit_unit(&mut self) -> Result<(), Error> { match self.val.take() { Some(val) => { de::Deserialize::deserialize(&mut Deserializer::new(val)) } None => Ok(()), } } fn visit_newtype<T>(&mut self) -> Result<T, Error> where T: de::Deserialize, { let val = self.val.take().expect("val is missing"); de::Deserialize::deserialize(&mut Deserializer::new(val)) } fn visit_tuple<V>( &mut self, _len: usize, visitor: V ) -> Result<V::Value, Error> where V: de::Visitor, { let val = self.val.take().expect("val is missing"); if let Value::Array(fields) = val { de::Deserializer::deserialize(&mut SeqDeserializer { de: self.de, len: fields.len(), iter: fields.into_iter(), }, visitor) } else { Err(de::Error::invalid_type(de::Type::Tuple)) } } fn visit_struct<V>( &mut self, _fields: &'static [&'static str], visitor: V ) -> Result<V::Value, Error> where V: de::Visitor, { let val = self.val.take().expect("val is missing"); if let Value::Object(fields) = val { de::Deserializer::deserialize(&mut MapDeserializer { de: self.de, len: fields.len(), iter: fields.into_iter(), value: None, }, visitor) } else { Err(de::Error::invalid_type(de::Type::Struct)) } } } struct SeqDeserializer<'a> { de: &'a mut Deserializer, iter: vec::IntoIter<Value>, len: usize, } impl<'a> de::Deserializer for SeqDeserializer<'a> { type Error = Error; #[inline] fn deserialize<V>(&mut self, mut visitor: V) -> Result<V::Value, Error> where V: de::Visitor, { if self.len == 0 { visitor.visit_unit() } else { visitor.visit_seq(self) } } forward_to_deserialize! { bool usize u8 u16 u32 u64 isize i8 i16 i32 i64 f32 f64 char str string unit option seq seq_fixed_size bytes map unit_struct newtype_struct tuple_struct struct struct_field tuple enum ignored_any } } impl<'a> de::SeqVisitor for SeqDeserializer<'a> { type Error = Error; fn visit<T>(&mut self) -> Result<Option<T>, Error> where T: de::Deserialize, { match self.iter.next() { Some(value) => { self.len -= 1; self.de.value = Some(value); Ok(Some(try!(de::Deserialize::deserialize(self.de)))) } None => Ok(None), } } fn end(&mut self) -> Result<(), Error> { if self.len == 0 { Ok(()) } else { Err(de::Error::invalid_length(self.len)) } } fn size_hint(&self) -> (usize, Option<usize>) { (self.len, Some(self.len)) } } struct MapDeserializer<'a> { de: &'a mut Deserializer, iter: MapIntoIter<String, Value>, value: Option<Value>, len: usize, } impl<'a> de::MapVisitor for MapDeserializer<'a> { type Error = Error; fn visit_key<T>(&mut self) -> Result<Option<T>, Error> where T: de::Deserialize, { match self.iter.next() { Some((key, value)) => { self.len -= 1; self.value = Some(value); self.de.value = Some(Value::String(key)); Ok(Some(try!(de::Deserialize::deserialize(self.de)))) } None => Ok(None), } } fn visit_value<T>(&mut self) -> Result<T, Error> where T: de::Deserialize, { let value = self.value.take().expect("value is missing"); self.de.value = Some(value); Ok(try!(de::Deserialize::deserialize(self.de))) } fn end(&mut self) -> Result<(), Error> { if self.len == 0 { Ok(()) } else { Err(de::Error::invalid_length(self.len)) } } fn missing_field<V>(&mut self, field: &'static str) -> Result<V, Error> where V: de::Deserialize, { struct MissingFieldDeserializer(&'static str); impl de::Deserializer for MissingFieldDeserializer { type Error = de::value::Error; fn deserialize<V>( &mut self, _visitor: V ) -> Result<V::Value, Self::Error> where V: de::Visitor, { let &mut MissingFieldDeserializer(field) = self; Err(de::value::Error::MissingField(field)) } fn deserialize_option<V>( &mut self, mut visitor: V ) -> Result<V::Value, Self::Error> where V: de::Visitor, { visitor.visit_none() } forward_to_deserialize! { bool usize u8 u16 u32 u64 isize i8 i16 i32 i64 f32 f64 char str string unit seq seq_fixed_size bytes map unit_struct newtype_struct tuple_struct struct struct_field tuple enum ignored_any } } let mut de = MissingFieldDeserializer(field); Ok(try!(de::Deserialize::deserialize(&mut de))) } fn size_hint(&self) -> (usize, Option<usize>) { (self.len, Some(self.len)) } } impl<'a> de::Deserializer for MapDeserializer<'a> { type Error = Error; #[inline] fn deserialize<V>(&mut self, mut visitor: V) -> Result<V::Value, Error> where V: de::Visitor, { visitor.visit_map(self) } forward_to_deserialize! { bool usize u8 u16 u32 u64 isize i8 i16 i32 i64 f32 f64 char str string unit option seq seq_fixed_size bytes map unit_struct newtype_struct tuple_struct struct struct_field tuple enum ignored_any } } /// Shortcut function to encode a `T` into a JSON `Value` /// /// ```rust /// use serde_json::to_value; /// let val = to_value("foo"); /// assert_eq!(val.as_str(), Some("foo")) /// ``` pub fn to_value<T>(value: T) -> Value where T: ser::Serialize, { let mut ser = Serializer::new(); value.serialize(&mut ser).expect("failed to serialize"); ser.unwrap() } /// Shortcut function to decode a JSON `Value` into a `T` pub fn from_value<T>(value: Value) -> Result<T, Error> where T: de::Deserialize, { let mut de = Deserializer::new(value); de::Deserialize::deserialize(&mut de) } /// A trait for converting values to JSON pub trait ToJson { /// Converts the value of `self` to an instance of JSON fn to_json(&self) -> Value; } impl<T: ?Sized> ToJson for T where T: ser::Serialize, { fn to_json(&self) -> Value { to_value(&self) } } /// Just like `std::borrow::Borrow<Value>` but borrowing may fail. pub trait TryBorrow<'a>: 'a + ::std::marker::Sized { /// Returns reference to internal data if type matches. fn try_borrow(value: &'a Value) -> Result<Self, TypeError>; } impl<'a> TryBorrow<'a> for &'a () { fn try_borrow(value: &'a Value) -> Result<Self, TypeError> { static EMPTY: () = (); if value.is_null() { Ok(&EMPTY) } else { Err(TypeError { expected: ValueType::Null, provided: ValueType::of(value) }) } } } impl<'a> TryBorrow<'a> for &'a bool { fn try_borrow(value: &'a Value) -> Result<Self, TypeError> { if let &Value::Bool(ref val) = value { Ok(val) } else { Err(TypeError { expected: ValueType::Bool, provided: ValueType::of(value) }) } } } impl<'a> TryBorrow<'a> for &'a u64 { fn try_borrow(value: &'a Value) -> Result<Self, TypeError> { if let &Value::U64(ref val) = value { Ok(val) } else { Err(TypeError { expected: ValueType::U64, provided: ValueType::of(value) }) } } } impl<'a> TryBorrow<'a> for &'a i64 { fn try_borrow(value: &'a Value) -> Result<Self, TypeError> { if let &Value::I64(ref val) = value { Ok(val) } else { Err(TypeError { expected: ValueType::I64, provided: ValueType::of(value) }) } } } impl<'a> TryBorrow<'a> for &'a f64 { fn try_borrow(value: &'a Value) -> Result<Self, TypeError> { if let &Value::F64(ref val) = value { Ok(val) } else { Err(TypeError { expected: ValueType::F64, provided: ValueType::of(value) }) } } } impl<'a> TryBorrow<'a> for &'a str { fn try_borrow(value: &'a Value) -> Result<Self, TypeError> { if let &Value::String(ref val) = value { Ok(val) } else { Err(TypeError { expected: ValueType::String, provided: ValueType::of(value) }) } } } impl<'a> TryBorrow<'a> for &'a String { fn try_borrow(value: &'a Value) -> Result<Self, TypeError> { if let &Value::String(ref val) = value { Ok(val) } else { Err(TypeError { expected: ValueType::String, provided: ValueType::of(value) }) } } } impl<'a> TryBorrow<'a> for &'a [Value] { fn try_borrow(value: &'a Value) -> Result<Self, TypeError> { if let &Value::Array(ref val) = value { Ok(val) } else { Err(TypeError { expected: ValueType::Array, provided: ValueType::of(value) }) } } } impl<'a> TryBorrow<'a> for &'a Vec<Value> { fn try_borrow(value: &'a Value) -> Result<Self, TypeError> { if let &Value::Array(ref val) = value { Ok(val) } else { Err(TypeError { expected: ValueType::Array, provided: ValueType::of(value) }) } } } impl<'a> TryBorrow<'a> for &'a Map<String, Value> { fn try_borrow(value: &'a Value) -> Result<Self, TypeError> { if let &Value::Object(ref val) = value { Ok(val) } else { Err(TypeError { expected: ValueType::Object, provided: ValueType::of(value) }) } } } /// Just like `std::borrow::BorrowMut` but borrowing may fail. pub trait TryBorrowMut<'a>: 'a + ::std::marker::Sized { /// Returns mutable reference to internal data if type matches. fn try_borrow_mut(value: &'a mut Value) -> Result<Self, TypeError>; } impl<'a> TryBorrowMut<'a> for &'a mut () { fn try_borrow_mut(value: &'a mut Value) -> Result<Self, TypeError> { static mut EMPTY: () = (); // Use of static &mut () is always safe, because it's value actually can't be changed if value.is_null() { unsafe { Ok(&mut EMPTY) } } else { Err(TypeError { expected: ValueType::Null, provided: ValueType::of(value) }) } } } impl<'a> TryBorrowMut<'a> for &'a mut bool { fn try_borrow_mut(value: &'a mut Value) -> Result<Self, TypeError> { if let &mut Value::Bool(ref mut val) = value { Ok(val) } else { Err(TypeError { expected: ValueType::Bool, provided: ValueType::of(value) }) } } } impl<'a> TryBorrowMut<'a> for &'a mut u64 { fn try_borrow_mut(value: &'a mut Value) -> Result<Self, TypeError> { if let &mut Value::U64(ref mut val) = value { Ok(val) } else { Err(TypeError { expected: ValueType::U64, provided: ValueType::of(value) }) } } } impl<'a> TryBorrowMut<'a> for &'a mut i64 { fn try_borrow_mut(value: &'a mut Value) -> Result<Self, TypeError> { if let &mut Value::I64(ref mut val) = value { Ok(val) } else { Err(TypeError { expected: ValueType::I64, provided: ValueType::of(value) }) } } } impl<'a> TryBorrowMut<'a> for &'a mut f64 { fn try_borrow_mut(value: &'a mut Value) -> Result<Self, TypeError> { if let &mut Value::F64(ref mut val) = value { Ok(val) } else { Err(TypeError { expected: ValueType::F64, provided: ValueType::of(value) }) } } } impl<'a> TryBorrowMut<'a> for &'a mut str { fn try_borrow_mut(value: &'a mut Value) -> Result<Self, TypeError> { if let &mut Value::String(ref mut val) = value { Ok(val) } else { Err(TypeError { expected: ValueType::String, provided: ValueType::of(value) }) } } } impl<'a> TryBorrowMut<'a> for &'a mut String { fn try_borrow_mut(value: &'a mut Value) -> Result<Self, TypeError> { if let &mut Value::String(ref mut val) = value { Ok(val) } else { Err(TypeError { expected: ValueType::String, provided: ValueType::of(value) }) } } } impl<'a> TryBorrowMut<'a> for &'a mut [Value] { fn try_borrow_mut(value: &'a mut Value) -> Result<Self, TypeError> { if let &mut Value::Array(ref mut val) = value { Ok(val) } else { Err(TypeError { expected: ValueType::Array, provided: ValueType::of(value) }) } } } impl<'a> TryBorrowMut<'a> for &'a mut Vec<Value> { fn try_borrow_mut(value: &'a mut Value) -> Result<Self, TypeError> { if let &mut Value::Array(ref mut val) = value { Ok(val) } else { Err(TypeError { expected: ValueType::Array, provided: ValueType::of(value) }) } } } impl<'a> TryBorrowMut<'a> for &'a mut Map<String, Value> { fn try_borrow_mut(value: &'a mut Value) -> Result<Self, TypeError> { if let &mut Value::Object(ref mut val) = value { Ok(val) } else { Err(TypeError { expected: ValueType::Object, provided: ValueType::of(value) }) } } }
29.774682
154
0.526445
5c640cf6d6333ffd217e0ca01b052db97808d561
994
h
C
Code/Engine/Application.h
WarzesProject/IsekaiWorld
2abbf0fba0cf7aef884dd93ebada402f14b98359
[ "MIT" ]
1
2019-10-07T08:59:01.000Z
2019-10-07T08:59:01.000Z
Code/Engine/Application.h
WarzesProject/IsekaiWorld
2abbf0fba0cf7aef884dd93ebada402f14b98359
[ "MIT" ]
null
null
null
Code/Engine/Application.h
WarzesProject/IsekaiWorld
2abbf0fba0cf7aef884dd93ebada402f14b98359
[ "MIT" ]
null
null
null
#pragma once #include "Configuration.h" class Application { public: template<typename AppImplTemplate> static int Run(const Configuration &config) { Application engineApp; if (!IsErrorCriticalExit() && engineApp.init(config)) { AppImplTemplate userApp; if (!IsErrorCriticalExit() && userApp.Init()) { bool isExit = false; while (!isExit) { engineApp.deltaTime(); // Event Update isExit = (isExit || !engineApp.update()); isExit = (isExit || !userApp.Update()); // Render Draw isExit = (isExit || !engineApp.beginFrame()); isExit = (isExit || !userApp.Frame()); isExit = (isExit || !engineApp.endFrame()); } userApp.Close(); } } engineApp.close(); return 0; } private: Application(); ~Application(); bool init(const Configuration &config); bool initSubsystem(); void deltaTime(); bool beginFrame(); bool endFrame(); bool update(); void close(); struct AppPimpl *m_impl = nullptr; };
18.407407
55
0.634809
e21c7e9ddf279d1834174ec6258db0c0876d7398
4,172
kt
Kotlin
app/src/main/java/xzy/loshine/nga/ui/topic/TopicViewModel.kt
loshine/NationalGayAlliance
c116d8b6d1ebbe88a99f973b695c1be483f00dc9
[ "MIT" ]
1
2022-03-11T12:41:27.000Z
2022-03-11T12:41:27.000Z
app/src/main/java/xzy/loshine/nga/ui/topic/TopicViewModel.kt
loshine/NationalGayAlliance
c116d8b6d1ebbe88a99f973b695c1be483f00dc9
[ "MIT" ]
null
null
null
app/src/main/java/xzy/loshine/nga/ui/topic/TopicViewModel.kt
loshine/NationalGayAlliance
c116d8b6d1ebbe88a99f973b695c1be483f00dc9
[ "MIT" ]
null
null
null
package xzy.loshine.nga.ui.topic import io.reactivex.BackpressureStrategy import io.reactivex.Flowable import io.reactivex.subjects.BehaviorSubject import xyz.loshine.nga.data.entity.TopicDetailsData import xyz.loshine.nga.data.entity.TopicUser import xyz.loshine.nga.data.repository.topic.TopicRepository import xzy.loshine.nga.di.scopes.ActivityScoped import xzy.loshine.nga.ui.base.BaseViewModel import xzy.loshine.nga.utils.ContentParser import javax.inject.Inject import javax.inject.Named @ActivityScoped class TopicViewModel @Inject constructor(@Named("tid") private val tid: Int, private val contentParser: ContentParser, private val topicRepository: TopicRepository) : BaseViewModel() { private var index = 1 private val groupList: MutableList<Pair<Int, String>> = mutableListOf() private val userList: MutableList<TopicUser> = mutableListOf() private val firstAndPreMenuItemVisible = BehaviorSubject.createDefault(false) private val lastAndNextMenuItemVisible = BehaviorSubject.createDefault(false) private val thisTimeLastPageSubject = BehaviorSubject.createDefault(1) fun loadFirst(): Flowable<List<TopicRowUiModel>> { index = 1 return loadByPage() } fun loadPrevious(): Flowable<List<TopicRowUiModel>> { index -= 2 return loadByPage() } fun loadNext(): Flowable<List<TopicRowUiModel>> { return loadByPage() } fun loadLast(): Flowable<List<TopicRowUiModel>> { index = thisTimeLastPageSubject.value ?: 1 return loadByPage() } fun getFirstAndPreMenuItemVisible(): Flowable<Boolean> { return firstAndPreMenuItemVisible.toFlowable(BackpressureStrategy.LATEST) .subscribeOn(schedulerProvider.computation()) } fun getLastAndNextMenuItemVisible(): Flowable<Boolean> { return lastAndNextMenuItemVisible.toFlowable(BackpressureStrategy.LATEST) .subscribeOn(schedulerProvider.computation()) } fun getThisTimeLastPage(): Flowable<Int> { return thisTimeLastPageSubject.toFlowable(BackpressureStrategy.LATEST) .subscribeOn(schedulerProvider.computation()) } @Suppress("UNCHECKED_CAST") private fun loadByPage(): Flowable<List<TopicRowUiModel>> { return topicRepository.getTopicList(tid, index) .subscribeOn(schedulerProvider.io()) .doOnSubscribe { groupList.clear() userList.clear() } .doOnNext { data -> val groupMap = data.userList["__GROUPS"] as Map<String, Map<String, Any>>? groupMap?.mapTo(groupList) { Pair(it.value["2"].toString().toDouble().toInt(), it.value["0"].toString()) } } .doOnNext { data -> data.userList.filter { it.key.toIntOrNull() != null } .mapTo(userList) { TopicUser(it.value) } } .doOnNext { val thisTimeLastPage = it.topic.thisVisitRows / it.pageSize + 1 thisTimeLastPageSubject.onNext(thisTimeLastPage) firstAndPreMenuItemVisible.onNext(index > 1) lastAndNextMenuItemVisible.onNext(thisTimeLastPage != index) } .map { data -> data.rows.map { convertUiModel(it.value) } } .doOnComplete { index++ } } private fun convertUiModel(topicRow: TopicDetailsData.TopicRow): TopicRowUiModel { val user = userList.firstOrNull { topicRow.authorId == it.uid } val group = groupList.firstOrNull { user?.memberId == it.first } return TopicRowUiModel( topicRow.pid, topicRow.fid, topicRow.tid, topicRow.subject, user?.avatar ?: "", user?.username ?: "", group?.second ?: "", topicRow.postDate, topicRow.index, topicRow.fromClient ?: "", contentParser.parse(topicRow.content) ) } }
38.990654
126
0.627277
7ba8de9d3def76ed2384bab45b258042baa9090a
60
rb
Ruby
lib/rpi_marca/exceptions.rb
vilage/rpi_marca
65076bb3fa6d884f801dab1a082dfbf39bad4671
[ "MIT" ]
null
null
null
lib/rpi_marca/exceptions.rb
vilage/rpi_marca
65076bb3fa6d884f801dab1a082dfbf39bad4671
[ "MIT" ]
null
null
null
lib/rpi_marca/exceptions.rb
vilage/rpi_marca
65076bb3fa6d884f801dab1a082dfbf39bad4671
[ "MIT" ]
null
null
null
module RpiMarca class ParseError < StandardError; end end
15
39
0.8
860915bf48d0c4fc305e109b191e3657a1d8df27
117
go
Go
examples/t6.go
hitzhangjie/godbg
3452152d547c38ee9b3c7565916142b4b8264da4
[ "Apache-2.0" ]
2
2021-01-04T17:34:55.000Z
2022-03-08T12:13:55.000Z
examples/t6.go
hitzhangjie/godbg
3452152d547c38ee9b3c7565916142b4b8264da4
[ "Apache-2.0" ]
30
2021-01-04T18:45:38.000Z
2022-01-27T09:25:21.000Z
examples/t6.go
hitzhangjie/godbg
3452152d547c38ee9b3c7565916142b4b8264da4
[ "Apache-2.0" ]
null
null
null
package main import "fmt" func main() { godbgvstr := "hello world" fmt.Printf("%s\n", godbgvstr) }
13
37
0.57265
b62107c401dfe5cb3815e01abeea0f94946168f0
824
rb
Ruby
lib/computering/dsl/text.rb
phoet/computering
acd03dfb6b31eeb6ab4bef82d3dd11192411efbd
[ "Unlicense" ]
10
2015-01-02T15:09:17.000Z
2021-02-24T21:24:49.000Z
lib/computering/dsl/text.rb
phoet/computering
acd03dfb6b31eeb6ab4bef82d3dd11192411efbd
[ "Unlicense" ]
3
2015-06-14T17:52:21.000Z
2016-08-26T19:42:31.000Z
lib/computering/dsl/text.rb
phoet/computering
acd03dfb6b31eeb6ab4bef82d3dd11192411efbd
[ "Unlicense" ]
1
2016-08-26T15:47:04.000Z
2016-08-26T15:47:04.000Z
module Computering::Dsl class Text def self.from_text(*text) text.flatten.map do |t| t.strip.split("\n").map { |line| self.new(line) } end.flatten end attr_reader :text def initialize(text, buffer = nil) @text = text @buffer = buffer end def [](index) text_with_style(@text[index], index) if @text[index] end def execute end def padding " " end def buffer add_style(@buffer, :buffer) if @buffer end def blank? @text.nil? || @text.strip == "" end protected def text_with_style(text, index) add_style(text, :text) end def add_style(text, type) id = self.class.name.split("::").last.downcase.to_sym Computering::Config.styling(text, id, type) end end end
17.531915
59
0.576456
82f5942489dddf2d25eb407bee837fa382d06dbc
293
kt
Kotlin
src/main/kotlin/javabot/model/criteria/LogsDescriptor.kt
topriddy/javabot
cd21e5a9408190a065fbf6d284744188f2b00089
[ "BSD-3-Clause" ]
null
null
null
src/main/kotlin/javabot/model/criteria/LogsDescriptor.kt
topriddy/javabot
cd21e5a9408190a065fbf6d284744188f2b00089
[ "BSD-3-Clause" ]
null
null
null
src/main/kotlin/javabot/model/criteria/LogsDescriptor.kt
topriddy/javabot
cd21e5a9408190a065fbf6d284744188f2b00089
[ "BSD-3-Clause" ]
null
null
null
package javabot.model.criteria object LogsDescriptor { val channel: String = "channel" val id: String = "id" val message: String = "message" val nick: String = "nick" val type: String = "type" val updated: String = "updated" val upperNick: String = "upperNick" }
22.538462
39
0.648464
2f18feab6e0d672ed09a42fe73651155fa3bb6bc
4,243
kt
Kotlin
src/main/kotlin/br/com/dillmann/restdb/domain/data/get/page/GetPageService.kt
lucasdillmann/restdb
24b0af68a53e75abcd2f7f7232a4294107db76ff
[ "MIT" ]
2
2020-04-06T11:26:17.000Z
2020-04-07T10:39:03.000Z
src/main/kotlin/br/com/dillmann/restdb/domain/data/get/page/GetPageService.kt
lucasdillmann/restdb
24b0af68a53e75abcd2f7f7232a4294107db76ff
[ "MIT" ]
null
null
null
src/main/kotlin/br/com/dillmann/restdb/domain/data/get/page/GetPageService.kt
lucasdillmann/restdb
24b0af68a53e75abcd2f7f7232a4294107db76ff
[ "MIT" ]
null
null
null
package br.com.dillmann.restdb.domain.data.get.page import br.com.dillmann.restdb.core.filterDsl.jdbc.JdbcPredicate import br.com.dillmann.restdb.core.jdbc.ConnectionPool import br.com.dillmann.restdb.domain.data.get.page.jdbc.SqlBuilder import br.com.dillmann.restdb.domain.data.get.page.jdbc.escapeSql import br.com.dillmann.restdb.domain.data.get.page.sorting.SortColumn import br.com.dillmann.restdb.domain.data.utils.autoConvertArray import br.com.dillmann.restdb.domain.data.utils.setRawParameter import br.com.dillmann.restdb.domain.data.validatePartitionAndTableName import br.com.dillmann.restdb.domain.metadata.resolver.MetadataResolverFactory import java.sql.Connection import java.sql.PreparedStatement import java.sql.ResultSet /** * Executes a SELECT operation in database provided [partitionName] and [tableName] using a paginated strategy * * @param partitionName Partition name * @param tableName Table name * @param pageNumber Page number, starting at 0 * @param pageSize Page size (how much rows per page) * @param sorting Sorting instructions * @param projection Column names to be returned from database * @param filter Row filtering instructions * @author Lucas Dillmann * @since 1.0.0, 2020-03-27 */ fun findPage( partitionName: String, tableName: String, pageNumber: Long, pageSize: Long, sorting: Set<SortColumn>?, projection: Set<String>?, filter: JdbcPredicate? ): Page { return ConnectionPool.startConnection().use { connection -> validatePartitionAndTableName(connection, partitionName, tableName) val allColumns = MetadataResolverFactory.build().findTableColumns(connection, partitionName, tableName).keys val (pageSql, countSql, parameters) = SqlBuilder( connection, partitionName, tableName, allColumns, pageSize, pageNumber, projection, sorting, filter ).build() val totalCount = connection .prepareStatement(countSql, parameters) .executeQuery() .use { it.next() it.getLong("count") } val results = connection .prepareStatement(pageSql, parameters) .executeQuery() .getResults(projection ?: allColumns) Page( partitionName = partitionName, tableName = tableName, pageNumber = pageNumber, pageSize = pageSize, pageCount = totalCount / pageSize + 1, pageElementsCount = results.size.toLong(), totalElementsCount = totalCount, firstPage = pageNumber == 0L, lastPage = pageSize * (pageNumber + 1) >= totalCount, sorting = sorting ?: emptySet(), projection = projection ?: allColumns, elements = results ) } } /** * Creates a [PreparedStatement] using provided [sql] and [parameters] * * @author Lucas Dillmann * @since 1.0.0, 2020-03-27 */ private fun Connection.prepareStatement(sql: String, parameters: Map<Int, Any?>): PreparedStatement = prepareStatement(sql) .also { statement -> parameters.forEach { (position, value) -> statement.setRawParameter(position, value) } } private fun <T> Collection<T>.asArrayExpression(): String = joinToString(prefix = "[", postfix = "]", separator = ",") { it.toString().escapeSql() } /** * Reads all results from a [ResultSet] using provided column names and returns it * * @param projection Column names to be read * @author Lucas Dillmann * @since 1.0.0, 2020-03-27 */ private fun ResultSet.getResults(projection: Set<String>): List<Map<String, Any?>> { return use { resultSet -> val results = mutableListOf<Map<String, Any?>>() while (resultSet.next()) { results += resultSet.readColumns(projection) } results } } /** * Reads a single result from a [ResultSet] using provided column names * * @param columns Column names to be read * @author Lucas Dillmann * @since 1.0.0, 2020-03-27 */ private fun ResultSet.readColumns(columns: Set<String>): Map<String, Any?> = columns.map { it to getObject(it).autoConvertArray() }.toMap()
34.217742
116
0.67358
b89b78322ab0f8cdc7ab24655d860002968cde39
995
html
HTML
pa1-skeleton/pa1-data/8/www.slac.stanford.edu_grp_ssrl_spear_epics_site_areaDetector_CSS-BOY_screens.html
yzhong94/cs276-spring-2019
a4780a9f88b8c535146040fe11bb513c91c5693b
[ "MIT" ]
null
null
null
pa1-skeleton/pa1-data/8/www.slac.stanford.edu_grp_ssrl_spear_epics_site_areaDetector_CSS-BOY_screens.html
yzhong94/cs276-spring-2019
a4780a9f88b8c535146040fe11bb513c91c5693b
[ "MIT" ]
null
null
null
pa1-skeleton/pa1-data/8/www.slac.stanford.edu_grp_ssrl_spear_epics_site_areaDetector_CSS-BOY_screens.html
yzhong94/cs276-spring-2019
a4780a9f88b8c535146040fe11bb513c91c5693b
[ "MIT" ]
null
null
null
areadetector epics software for area detectors screens for use in css boy april 1 2010 john hammonds argonne national laboratory uchicago argonne llc introduction best opi yet boy is an operator display builder created at oak ridge national laboratory as part of the control system studio css a number of the medm display files for area detector have been ported over in part as an evaliation of boy usage the package provided source files located in adapp css boy consist of an eclipse plugin named gov anl aps synapps areadetector the plugin itself contains a number of the base level screens intended to be used as templates combined with implementation specific instances much like the medm screens provided to use these screens the plugin will be installed into the plugins directory in css since oak ridge and desy each have separate css implementations with different operator interface programs it is recommended that novice users download the latest version from oak ridge screen shots
497.5
994
0.836181
cb73f4af86496432f057490e2d38ac97227ca11f
31
html
HTML
notes/src/app/demo20-admin/demo20-admin.component.html
dwshsxsy/Angluar-study
12f8574fffd7381f67177e65aba22ddf389f0a63
[ "MIT" ]
null
null
null
notes/src/app/demo20-admin/demo20-admin.component.html
dwshsxsy/Angluar-study
12f8574fffd7381f67177e65aba22ddf389f0a63
[ "MIT" ]
null
null
null
notes/src/app/demo20-admin/demo20-admin.component.html
dwshsxsy/Angluar-study
12f8574fffd7381f67177e65aba22ddf389f0a63
[ "MIT" ]
null
null
null
<p> demo20-admin works! </p>
7.75
21
0.580645
a37d0757f940630fd032510ad5711d5c2027e6f4
3,665
swift
Swift
Sources/swift-parsing-benchmark/HTTP.swift
FilinCode/swift-parsing
54fb34bd55166f3a74ce2d22ba9b67e71559c852
[ "MIT" ]
null
null
null
Sources/swift-parsing-benchmark/HTTP.swift
FilinCode/swift-parsing
54fb34bd55166f3a74ce2d22ba9b67e71559c852
[ "MIT" ]
null
null
null
Sources/swift-parsing-benchmark/HTTP.swift
FilinCode/swift-parsing
54fb34bd55166f3a74ce2d22ba9b67e71559c852
[ "MIT" ]
null
null
null
import Benchmark import Parsing /// This benchmark reproduces an HTTP parser from [a Rust parser benchmark suite][rust-parser]. /// /// [rust-parser]: https://github.com/rust-bakery/parser_benchmarks/tree/master/http /// /// In particular, it benchmarks the same HTTP header as that defined in `one_test`. let httpSuite = BenchmarkSuite(name: "HTTP") { suite in let method = ParsePrint(.substring) { Prefix { $0.isToken } } let uri = ParsePrint(.substring) { Prefix { $0 != .init(ascii: " ") } } let httpVersion = ParsePrint(.substring) { "HTTP/".utf8 Prefix { $0.isVersion } } let newline = OneOf { "\r\n".utf8 "\n".utf8 } let requestLine = ParsePrint(.memberwise(Request.init(method:uri:version:))) { method " ".utf8 uri " ".utf8 httpVersion newline } let headerValue = ParsePrint(.substring) { Skip { Prefix(1...) { $0.isHorizontalSpace } } .printing(" ".utf8) Prefix { !$0.isNewline } newline } let header = ParsePrint(.memberwise(Header.init(name:value:))) { Prefix { $0.isToken }.map(.substring) ":".utf8 Many { headerValue } } let request = ParsePrint { requestLine Many { header } } let input = """ GET / HTTP/1.1 Host: www.reddit.com User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:15.0) Gecko/20100101 Firefox/15.0.1 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Accept-Language: en-us,en;q=0.5 Accept-Encoding: gzip, deflate Connection: keep-alive """ let expected = ( Request( method: "GET", uri: "/", version: "1.1" ), headers: [ Header(name: "Host", value: ["www.reddit.com"]), Header( name: "User-Agent", value: [ "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:15.0) Gecko/20100101 Firefox/15.0.1" ] ), Header( name: "Accept", value: ["text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"] ), Header(name: "Accept-Language", value: ["en-us,en;q=0.5"]), Header(name: "Accept-Encoding", value: ["gzip, deflate"]), Header(name: "Connection", value: ["keep-alive"]), ] ) var output: (Request, [Header])! suite.benchmark("HTTP") { var input = input[...].utf8 output = try request.parse(&input) } tearDown: { precondition(output == expected) precondition(Substring(try! request.print(output)) == input) } } private struct Request: Equatable { let method: Substring let uri: Substring let version: Substring } private struct Header: Equatable { let name: Substring let value: [Substring] } extension UTF8.CodeUnit { fileprivate var isHorizontalSpace: Bool { self == .init(ascii: " ") || self == .init(ascii: "\t") } fileprivate var isNewline: Bool { self == .init(ascii: "\n") || self == .init(ascii: "\r") } fileprivate var isToken: Bool { switch self { case 128..., ...31, .init(ascii: "("), .init(ascii: ")"), .init(ascii: "<"), .init(ascii: ">"), .init(ascii: "@"), .init(ascii: ","), .init(ascii: ";"), .init(ascii: ":"), .init(ascii: "\\"), .init(ascii: "'"), .init(ascii: "/"), .init(ascii: "["), .init(ascii: "]"), .init(ascii: "?"), .init(ascii: "="), .init(ascii: "{"), .init(ascii: "}"), .init(ascii: " "): return false default: return true } } fileprivate var isVersion: Bool { (.init(ascii: "0") ... .init(ascii: "9")).contains(self) || self == .init(ascii: ".") } }
23.954248
99
0.567531
d11eba3d61c37e611ee0c1db01eeb110a07e184b
3,781
sql
SQL
deploy/update-ids.sql
QuadTog/magda
0b4a6e0869bb9c82279e2142df11167e34616590
[ "Apache-2.0" ]
4
2018-02-17T04:30:18.000Z
2018-12-07T01:19:45.000Z
deploy/update-ids.sql
QuadTog/magda
0b4a6e0869bb9c82279e2142df11167e34616590
[ "Apache-2.0" ]
null
null
null
deploy/update-ids.sql
QuadTog/magda
0b4a6e0869bb9c82279e2142df11167e34616590
[ "Apache-2.0" ]
4
2018-06-04T06:38:59.000Z
2018-06-12T06:28:47.000Z
-- This is a manual script used once on data.gov.au to add an "id" member to the source of existing records. UPDATE recordaspects SET data = jsonb_set(data, '{id}', '"act"') WHERE aspectid = 'source' AND data->>'name' = 'ACT Government data.act.gov.au'; UPDATE recordaspects SET data = jsonb_set(data, '{id}', '"bom"') WHERE aspectid = 'source' AND data->>'name' = 'Australian Bureau of Meteorology' ; UPDATE recordaspects SET data = jsonb_set(data, '{id}', '"aims"') WHERE aspectid = 'source' AND data->>'name' = 'Australian Institute of Marine Science' ; UPDATE recordaspects SET data = jsonb_set(data, '{id}', '"aodn"') WHERE aspectid = 'source' AND data->>'name' = 'Australian Oceans Data Network' ; UPDATE recordaspects SET data = jsonb_set(data, '{id}', '"brisbane"') WHERE aspectid = 'source' AND data->>'name' = 'Brisbane City Council' ; UPDATE recordaspects SET data = jsonb_set(data, '{id}', '"hobart"') WHERE aspectid = 'source' AND data->>'name' = 'City of Hobart Open Data Portal'; UPDATE recordaspects SET data = jsonb_set(data, '{id}', '"launceston"') WHERE aspectid = 'source' AND data->>'name' = 'City of Launceston Open Data' ; UPDATE recordaspects SET data = jsonb_set(data, '{id}', '"marlin"') WHERE aspectid = 'source' AND data->>'name' = 'CSIRO Marlin' ; UPDATE recordaspects SET data = jsonb_set(data, '{id}', '"dga"') WHERE aspectid = 'source' AND data->>'name' = 'data.gov.au' ; UPDATE recordaspects SET data = jsonb_set(data, '{id}', '"esta"') WHERE aspectid = 'source' AND data->>'name' = 'ESTA Open Data'; UPDATE recordaspects SET data = jsonb_set(data, '{id}', '"ga"') WHERE aspectid = 'source' AND data->>'name' = 'Geoscience Australia' ; UPDATE recordaspects SET data = jsonb_set(data, '{id}', '"logan"') WHERE aspectid = 'source' AND data->>'name' = 'Logan City Council' ; UPDATE recordaspects SET data = jsonb_set(data, '{id}', '"melbourne"') WHERE aspectid = 'source' AND data->>'name' = 'Melbourne Data' ; UPDATE recordaspects SET data = jsonb_set(data, '{id}', '"mrt"') WHERE aspectid = 'source' AND data->>'name' = 'Mineral Resources Tasmania' ; UPDATE recordaspects SET data = jsonb_set(data, '{id}', '"moretonbay"') WHERE aspectid = 'source' AND data->>'name' = 'Moreton Bay Regional Council Data Portal' ; UPDATE recordaspects SET data = jsonb_set(data, '{id}', '"neii"') WHERE aspectid = 'source' AND data->>'name' = 'National Environmental Information Infrastructure' ; UPDATE recordaspects SET data = jsonb_set(data, '{id}', '"metoc"') WHERE aspectid = 'source' AND data->>'name' = 'Navy Meteorology and Oceanography (METOC) ' ; UPDATE recordaspects SET data = jsonb_set(data, '{id}', '"nsw"') WHERE aspectid = 'source' AND data->>'name' = 'New South Wales Government' ; UPDATE recordaspects SET data = jsonb_set(data, '{id}', '"sdinsw"') WHERE aspectid = 'source' AND data->>'name' = 'NSW Land and Property' ; UPDATE recordaspects SET data = jsonb_set(data, '{id}', '"qld"') WHERE aspectid = 'source' AND data->>'name' = 'Queensland Government' ; UPDATE recordaspects SET data = jsonb_set(data, '{id}', '"sa"') WHERE aspectid = 'source' AND data->>'name' = 'South Australia Government' ; UPDATE recordaspects SET data = jsonb_set(data, '{id}', '"listtas"') WHERE aspectid = 'source' AND data->>'name' = 'Tasmania TheList' ; UPDATE recordaspects SET data = jsonb_set(data, '{id}', '"tern"') WHERE aspectid = 'source' AND data->>'name' = 'Terrestrial Ecosystem Research Network' ; UPDATE recordaspects SET data = jsonb_set(data, '{id}', '"vic"') WHERE aspectid = 'source' AND data->>'name' = 'Victoria Government' ; UPDATE recordaspects SET data = jsonb_set(data, '{id}', '"wa"') WHERE aspectid = 'source' AND data->>'name' = 'Western Australia Government' ;
29.310078
108
0.676541
b8d1995ac219febc79f43308934b5ae4dc03b5a7
406,468
sql
SQL
mysql-anamel.sql
1mohamedelaraby/anamelcctv
d80ff3a31fc1611f5c2740ff4f6ae80199bde747
[ "MIT" ]
null
null
null
mysql-anamel.sql
1mohamedelaraby/anamelcctv
d80ff3a31fc1611f5c2740ff4f6ae80199bde747
[ "MIT" ]
null
null
null
mysql-anamel.sql
1mohamedelaraby/anamelcctv
d80ff3a31fc1611f5c2740ff4f6ae80199bde747
[ "MIT" ]
null
null
null
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8mb4 */; /*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */; /*!40103 SET TIME_ZONE='+00:00' */; /*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; /*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; /*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */; /*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */; DROP TABLE IF EXISTS `abouts`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `abouts` ( `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, `about` mediumtext COLLATE utf8mb4_unicode_ci NOT NULL, `vision` varchar(250) COLLATE utf8mb4_unicode_ci NOT NULL, `mession` varchar(250) COLLATE utf8mb4_unicode_ci NOT NULL, `maner` varchar(250) COLLATE utf8mb4_unicode_ci NOT NULL, `goals` mediumtext COLLATE utf8mb4_unicode_ci NOT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; LOCK TABLES `abouts` WRITE; /*!40000 ALTER TABLE `abouts` DISABLE KEYS */; INSERT INTO `abouts` VALUES (1,'أنامل الخبرة من المؤسسات الرائدة في مجال التقنية وتنفيذ مشاريع الأنظمة الأمنية. بدأت مسيرتها المهنية في مدينة الرياض منذ أواخر العام 2015م، ومنذ ذلك الوقت وهي تعمل باستمرار لتطوير كوادرها ومنتجاتها لتواكب تطور وتقدم التقنية والتكنولوجيا في المجال. كما أنها تتميز بتشكيلة متميزة من المنتجات والخدمات ذات الجودة العالية والمطابقة للمواصفات العالمية.','أن تكون أنامل الخبرة نموذجاً ناجحاً ورائداً في مجالات التقنية والأنظمة الأمنية.','خلق القيمة لدى العميل وصُنع الفرق في كل مكان نعمل فيه.','الالتزام بأخلاقيات المهنة والمصداقية في التعامل واحترام الوقت.','<p>- توجيه العميل للخيار الأنسب له وفقاً لطبيعة حاجته.</p><p>- ضمان جودة الأجهزة وملحقاتها ومهارة التنفيذ.</p><p>- تحقيق رضا العملاء وتوطيد العلاقة معهم.</p><p>- مواكبة مستجدات التقنية وتقديم كل ما هو جديد للعملاء وبأسعار منافسة.</p>','2020-07-28 07:35:00','2020-09-23 11:18:02'); /*!40000 ALTER TABLE `abouts` ENABLE KEYS */; UNLOCK TABLES; DROP TABLE IF EXISTS `addresses`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `addresses` ( `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, `user_id` bigint(20) unsigned NOT NULL, `city_id` bigint(20) unsigned NOT NULL, `phone` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `address` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `area` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `street_no` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `building` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `floor` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `apartment` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `nearest` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `postcode` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `notes` mediumtext COLLATE utf8mb4_unicode_ci DEFAULT NULL, `primary` tinyint(1) NOT NULL DEFAULT 0, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, PRIMARY KEY (`id`), KEY `addresses_user_id_foreign` (`user_id`), KEY `addresses_city_id_foreign` (`city_id`), CONSTRAINT `addresses_city_id_foreign` FOREIGN KEY (`city_id`) REFERENCES `cities` (`id`), CONSTRAINT `addresses_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE ) ENGINE=InnoDB AUTO_INCREMENT=16 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; LOCK TABLES `addresses` WRITE; /*!40000 ALTER TABLE `addresses` DISABLE KEYS */; INSERT INTO `addresses` VALUES (1,22,1,'0512345678','121 الحسن بن الهيثم',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2020-11-02 17:17:35','2020-12-09 21:48:10'),(2,23,1,'0547258666','حي الندوة',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2020-11-04 14:42:16','2020-11-04 14:42:16'),(3,35,1,'0537314738','حي الندوه','الندوه','6668 شارع 157','٩','٠','٩','اتصالات حي الندوه','14813','خلف مطعم ماما مريم مباشرا',0,'2020-12-09 21:48:05','2020-12-19 20:18:31'),(4,38,1,'0500998853','النظيم','النظيم','7',NULL,NULL,NULL,'جامع الفاروق ،شارع التراث',NULL,NULL,0,'2020-12-19 19:09:20','2020-12-19 19:09:20'),(5,39,1,'0504283779','اشبيليا- شارع محمد بن الربيع 8273','اشبيلية','8273','١٨/ب','الارضي','١٨/ب','حديقة اشبيليا الأولى',NULL,NULL,0,'2020-12-19 20:18:19','2021-02-28 17:15:56'),(6,40,1,'0502150550','حي عرقه . شارع الفقهاء','عرقه',NULL,'4167','2',NULL,'مرور عرقه',NULL,NULL,0,'2020-12-20 00:49:39','2020-12-20 00:49:39'),(7,1,1,'0547258666','الندوة',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2020-12-25 09:38:32','2020-12-25 09:38:32'),(8,44,1,'0507094619','Abi Muhammad ad dhabi',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2020-12-28 13:08:40','2020-12-28 13:08:40'),(9,44,1,'0507094619','Abi Muhammad ad dhahabi',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2020-12-28 13:09:24','2020-12-28 13:09:24'),(10,58,1,'0544061310','اسلام اباد','المنصورن','١٢١','١٢٣٤','١','١','مسشفي الايمان','22152','الايمان',0,'2021-01-20 14:32:31','2021-01-20 14:32:31'),(11,76,1,'0545665056','مدينة الملك خالد العسكرية',NULL,'حي بدر',NULL,NULL,NULL,NULL,'21242',NULL,1,'2021-02-28 17:15:50','2021-02-28 17:15:56'),(12,79,1,'0557870942','نجم الدين حي طويق','نجم دين','١٠٠',NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-03-06 13:41:53','2021-03-06 13:41:53'),(13,121,1,'0508854383','حي المصيف','حي المصيف',NULL,'فيلا٣',NULL,NULL,NULL,NULL,NULL,0,'2021-06-27 10:43:54','2021-06-27 10:43:54'),(14,130,1,'0554057557','7424 sabran st',NULL,NULL,NULL,NULL,NULL,NULL,'11335',NULL,0,'2021-08-03 10:42:00','2021-08-03 10:42:00'),(15,159,1,'0547375044','عبدالمجيد الخاني','روابي','٦ب',NULL,NULL,NULL,'خلف قصر روابي',NULL,NULL,0,'2021-09-28 01:39:48','2021-09-28 01:39:48'); /*!40000 ALTER TABLE `addresses` ENABLE KEYS */; UNLOCK TABLES; DROP TABLE IF EXISTS `admin_permission`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `admin_permission` ( `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, `admin_id` bigint(20) unsigned NOT NULL, `permission_id` bigint(20) unsigned NOT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, PRIMARY KEY (`id`), UNIQUE KEY `admin_permission_admin_id_permission_id_unique` (`admin_id`,`permission_id`), KEY `admin_permission_permission_id_foreign` (`permission_id`), CONSTRAINT `admin_permission_admin_id_foreign` FOREIGN KEY (`admin_id`) REFERENCES `admins` (`id`) ON DELETE CASCADE, CONSTRAINT `admin_permission_permission_id_foreign` FOREIGN KEY (`permission_id`) REFERENCES `permissions` (`id`) ON DELETE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; LOCK TABLES `admin_permission` WRITE; /*!40000 ALTER TABLE `admin_permission` DISABLE KEYS */; /*!40000 ALTER TABLE `admin_permission` ENABLE KEYS */; UNLOCK TABLES; DROP TABLE IF EXISTS `admin_role`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `admin_role` ( `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, `role_id` bigint(20) unsigned NOT NULL, `admin_id` bigint(20) unsigned NOT NULL, PRIMARY KEY (`id`), KEY `admin_role_admin_id_foreign` (`admin_id`), CONSTRAINT `admin_role_admin_id_foreign` FOREIGN KEY (`admin_id`) REFERENCES `admins` (`id`) ON DELETE CASCADE ) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; LOCK TABLES `admin_role` WRITE; /*!40000 ALTER TABLE `admin_role` DISABLE KEYS */; INSERT INTO `admin_role` VALUES (1,1,1),(2,1,2); /*!40000 ALTER TABLE `admin_role` ENABLE KEYS */; UNLOCK TABLES; DROP TABLE IF EXISTS `admins`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `admins` ( `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `email` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `password` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `active` tinyint(1) NOT NULL DEFAULT 0, `remember_token` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, PRIMARY KEY (`id`), UNIQUE KEY `admins_email_unique` (`email`) ) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; LOCK TABLES `admins` WRITE; /*!40000 ALTER TABLE `admins` DISABLE KEYS */; INSERT INTO `admins` VALUES (1,'Super Admin','super@admin.com','$2y$10$9H.M2KUnR./XTyihtRzz2.IT.9bv9JTpmuQyzz/gO3pWGJrHwBWVK',1,NULL,'2020-07-14 13:25:50','2021-10-14 04:38:48'),(2,'انامل الخبرة','info@anamelcctv.com','$2y$10$vULlSROeDx4Hyh17WiSzIO7ujDltR0xBCHL6zrLUweHBCxhRCyV.2',1,NULL,'2020-07-14 17:59:46','2020-10-05 10:29:59'); /*!40000 ALTER TABLE `admins` ENABLE KEYS */; UNLOCK TABLES; DROP TABLE IF EXISTS `advs`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `advs` ( `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, `title` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `url` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `type` tinyint(1) NOT NULL DEFAULT 0, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=14 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; LOCK TABLES `advs` WRITE; /*!40000 ALTER TABLE `advs` DISABLE KEYS */; INSERT INTO `advs` VALUES (12,'انامل','https://wa.me/message/EC3ROPK3433YP1',0,'2021-05-17 08:01:04','2021-05-17 08:01:04'),(13,'انامل','https://wa.me/message/EC3ROPK3433YP1',1,'2021-05-17 08:01:16','2021-05-17 08:01:16'); /*!40000 ALTER TABLE `advs` ENABLE KEYS */; UNLOCK TABLES; DROP TABLE IF EXISTS `brands`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `brands` ( `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `logo` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `description` mediumtext COLLATE utf8mb4_unicode_ci DEFAULT NULL, `order` int(10) unsigned NOT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=18 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; LOCK TABLES `brands` WRITE; /*!40000 ALTER TABLE `brands` DISABLE KEYS */; INSERT INTO `brands` VALUES (1,'هيك فيجن','brand/KtE3AC2xG4yWPZj8.png',NULL,1,'2020-07-29 06:11:32','2020-07-29 06:13:45'),(2,'ايزيفيز','brand/DFG98PmRrvACXKjT.png',NULL,2,'2020-07-29 06:12:29','2020-07-29 06:12:29'),(11,'JIML','brand/y2zQYOhcsu2OHYCH.png',NULL,3,'2020-11-30 06:23:58','2020-11-30 06:23:58'),(12,'PANASONIC','brand/UURh9TND2IE7Ctq1.png',NULL,4,'2020-11-30 06:24:22','2020-11-30 06:24:22'),(14,'Yale','brand/WWFmjRsPhwF9W9OJ.png',NULL,6,'2020-11-30 06:25:21','2020-11-30 06:25:21'),(15,'TP-Link','brand/SoTcVPhZMBVajh13.png',NULL,7,'2020-11-30 06:26:30','2020-11-30 06:26:30'),(16,'ZKTeco','brand/Vk8DoYULjZ79WOWE.png',NULL,8,'2020-11-30 06:27:17','2020-11-30 06:27:17'),(17,'Western Digtal','brand/rpqbh5Lh1hyyQq1f.png',NULL,9,'2020-11-30 06:29:01','2020-11-30 06:29:01'); /*!40000 ALTER TABLE `brands` ENABLE KEYS */; UNLOCK TABLES; DROP TABLE IF EXISTS `calculator_details`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `calculator_details` ( `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, `calculator_id` bigint(20) unsigned NOT NULL, `larashop_product_id` bigint(20) unsigned NOT NULL, `price` int(11) NOT NULL, `qty` int(11) NOT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, PRIMARY KEY (`id`), KEY `calculator_details_calculator_id_foreign` (`calculator_id`), KEY `calculator_details_larashop_product_id_foreign` (`larashop_product_id`), CONSTRAINT `calculator_details_calculator_id_foreign` FOREIGN KEY (`calculator_id`) REFERENCES `calculators` (`id`) ON DELETE CASCADE, CONSTRAINT `calculator_details_larashop_product_id_foreign` FOREIGN KEY (`larashop_product_id`) REFERENCES `larashop_products` (`id`) ON DELETE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; LOCK TABLES `calculator_details` WRITE; /*!40000 ALTER TABLE `calculator_details` DISABLE KEYS */; /*!40000 ALTER TABLE `calculator_details` ENABLE KEYS */; UNLOCK TABLES; DROP TABLE IF EXISTS `calculators`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `calculators` ( `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, `city_id` bigint(20) unsigned NOT NULL, `paid` tinyint(1) NOT NULL DEFAULT 0, `payment_type` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'credit', `status` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'جاري التحضير', `price` int(11) NOT NULL DEFAULT 0, `shipping_cost` int(11) NOT NULL DEFAULT 0, `discount` int(11) NOT NULL DEFAULT 0, `payment_fee` int(11) NOT NULL DEFAULT 0, `first_name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `last_name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `address` varchar(1000) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `email` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `phone` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `city` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, `installment_type` tinyint(1) NOT NULL DEFAULT 0, `installment_cost` int(11) NOT NULL DEFAULT 0, PRIMARY KEY (`id`), KEY `calculators_city_id_foreign` (`city_id`), CONSTRAINT `calculators_city_id_foreign` FOREIGN KEY (`city_id`) REFERENCES `cities` (`id`) ON DELETE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; LOCK TABLES `calculators` WRITE; /*!40000 ALTER TABLE `calculators` DISABLE KEYS */; /*!40000 ALTER TABLE `calculators` ENABLE KEYS */; UNLOCK TABLES; DROP TABLE IF EXISTS `category_coupons`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `category_coupons` ( `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, `percent` tinyint(1) NOT NULL, `value` int(11) NOT NULL, `type` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `categories` mediumtext COLLATE utf8mb4_unicode_ci DEFAULT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; LOCK TABLES `category_coupons` WRITE; /*!40000 ALTER TABLE `category_coupons` DISABLE KEYS */; /*!40000 ALTER TABLE `category_coupons` ENABLE KEYS */; UNLOCK TABLES; DROP TABLE IF EXISTS `cities`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `cities` ( `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `shipping_cost` int(11) NOT NULL DEFAULT 0, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; LOCK TABLES `cities` WRITE; /*!40000 ALTER TABLE `cities` DISABLE KEYS */; INSERT INTO `cities` VALUES (1,'الرياض',0,'2020-11-02 17:17:13','2020-11-02 17:17:13'); /*!40000 ALTER TABLE `cities` ENABLE KEYS */; UNLOCK TABLES; DROP TABLE IF EXISTS `clients`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `clients` ( `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `logo` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `url` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `is_menu` tinyint(1) DEFAULT 1, `order` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=17 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; LOCK TABLES `clients` WRITE; /*!40000 ALTER TABLE `clients` DISABLE KEYS */; INSERT INTO `clients` VALUES (1,'شركة الجبر التجارية KIA','client/utIsvQtIeU9rrQ4G.png','https://www.kia.com/sa/ar.html?utm_source=Google&utm_medium=Search&utm_campaign=AlwaysOn_AR&gclid=CjwKCAjw9vn4BRBaEiwAh0muDGqRKAllXWNUrM5ZNVknGkjKHnlQYLnnEaPt1T_yw8mQd-StK42CRhoCDe4QAvD_BwE&gclsrc=aw.ds',1,'1','2020-07-28 06:05:38','2020-09-12 06:17:52'),(2,'وزارة التعليم',NULL,'https://www.moe.gov.sa/ar/Pages/default.aspx',1,'2','2020-07-28 09:09:34','2020-07-28 09:09:34'),(3,'شركة الهوشان لتقنية المكاتب',NULL,NULL,1,'3','2020-07-28 09:09:52','2020-07-28 09:09:52'),(4,'الهلال الأحمر السعودي',NULL,NULL,1,'4','2020-07-28 09:10:03','2020-07-28 09:10:03'),(5,'جامعة الملك سعود',NULL,NULL,1,'5','2020-07-28 09:10:13','2020-07-28 09:10:13'),(6,'مجمع سكني لمنسوبي وزارة الصحة',NULL,NULL,1,'6','2020-07-28 09:10:30','2020-07-28 09:10:30'),(7,'مجمع عيادات سكاي التخصصية',NULL,NULL,1,'7','2020-07-28 09:10:51','2020-07-28 09:10:51'),(8,'المساجد والجوامع وجمعيات البر',NULL,NULL,1,'8','2020-07-28 09:11:11','2020-07-28 09:11:11'),(9,'المصانع',NULL,NULL,1,'9','2020-07-28 09:11:19','2020-07-28 09:11:19'),(10,'المزارع',NULL,NULL,1,'10','2020-07-28 09:11:25','2020-07-28 09:11:25'),(11,'الفنادق',NULL,NULL,1,'10','2020-07-28 09:11:32','2020-07-28 09:11:32'),(12,'الشقق السكنية',NULL,NULL,1,'10','2020-07-28 09:11:39','2020-07-28 09:11:39'),(13,'القصور والفلل',NULL,NULL,1,'10','2020-07-28 09:11:47','2020-07-28 09:11:47'),(14,'المستودعات',NULL,NULL,1,'10','2020-07-28 09:11:55','2020-09-23 11:21:46'),(15,'المولات والمعارض التجارية',NULL,NULL,1,'10','2020-07-28 09:12:04','2020-07-28 09:12:04'),(16,'شبكة قناة المجد الفضائية','client/h8Sg4TJYDXYEXP9A.png','https://almajdtv.com/',1,'10','2021-05-27 08:28:00','2021-05-27 08:28:00'); /*!40000 ALTER TABLE `clients` ENABLE KEYS */; UNLOCK TABLES; DROP TABLE IF EXISTS `coupons`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `coupons` ( `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, `code` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `coupon_type` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `coupon_id` bigint(20) unsigned NOT NULL, `valid` tinyint(1) NOT NULL DEFAULT 1, `once` tinyint(1) NOT NULL DEFAULT 0, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, PRIMARY KEY (`id`), UNIQUE KEY `coupons_code_unique` (`code`), KEY `coupons_coupon_type_coupon_id_index` (`coupon_type`,`coupon_id`) ) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; LOCK TABLES `coupons` WRITE; /*!40000 ALTER TABLE `coupons` DISABLE KEYS */; INSERT INTO `coupons` VALUES (1,'2020','App\\FixedCoupon',1,1,1,'2020-12-10 15:08:00','2020-12-10 15:08:00'); /*!40000 ALTER TABLE `coupons` ENABLE KEYS */; UNLOCK TABLES; DROP TABLE IF EXISTS `failed_jobs`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `failed_jobs` ( `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, `connection` text COLLATE utf8mb4_unicode_ci NOT NULL, `queue` text COLLATE utf8mb4_unicode_ci NOT NULL, `payload` longtext COLLATE utf8mb4_unicode_ci NOT NULL, `exception` longtext COLLATE utf8mb4_unicode_ci NOT NULL, `failed_at` timestamp NOT NULL DEFAULT current_timestamp(), PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; LOCK TABLES `failed_jobs` WRITE; /*!40000 ALTER TABLE `failed_jobs` DISABLE KEYS */; INSERT INTO `failed_jobs` VALUES (1,'redis','default','{\"uuid\":\"80c63e0e-6901-4c1a-a3ce-0e56b447ea5c\",\"timeout\":null,\"id\":\"H6FuCq37ZE6bJvwFzOHLsHOWTlec5VGr\",\"data\":{\"command\":\"O:69:\\\"Spatie\\\\MediaLibrary\\\\ResponsiveImages\\\\Jobs\\\\GenerateResponsiveImagesJob\\\":9:{s:8:\\\"\\u0000*\\u0000media\\\";O:45:\\\"Illuminate\\\\Contracts\\\\Database\\\\ModelIdentifier\\\":4:{s:5:\\\"class\\\";s:49:\\\"Spatie\\\\MediaLibrary\\\\MediaCollections\\\\Models\\\\Media\\\";s:2:\\\"id\\\";i:470;s:9:\\\"relations\\\";a:0:{}s:10:\\\"connection\\\";s:5:\\\"mysql\\\";}s:3:\\\"job\\\";N;s:10:\\\"connection\\\";N;s:5:\\\"queue\\\";N;s:15:\\\"chainConnection\\\";N;s:10:\\\"chainQueue\\\";N;s:5:\\\"delay\\\";N;s:10:\\\"middleware\\\";a:0:{}s:7:\\\"chained\\\";a:0:{}}\",\"commandName\":\"Spatie\\\\MediaLibrary\\\\ResponsiveImages\\\\Jobs\\\\GenerateResponsiveImagesJob\"},\"displayName\":\"Spatie\\\\MediaLibrary\\\\ResponsiveImages\\\\Jobs\\\\GenerateResponsiveImagesJob\",\"timeoutAt\":null,\"maxExceptions\":null,\"maxTries\":null,\"job\":\"Illuminate\\\\Queue\\\\CallQueuedHandler@call\",\"delay\":null,\"attempts\":1}','Illuminate\\Database\\Eloquent\\ModelNotFoundException: No query results for model [Spatie\\MediaLibrary\\MediaCollections\\Models\\Media]. in /home/forge/anamelcctv.com/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php:481\nStack trace:\n#0 /home/forge/anamelcctv.com/vendor/laravel/framework/src/Illuminate/Queue/SerializesAndRestoresModelIdentifiers.php(102): Illuminate\\Database\\Eloquent\\Builder->firstOrFail()\n#1 /home/forge/anamelcctv.com/vendor/laravel/framework/src/Illuminate/Queue/SerializesAndRestoresModelIdentifiers.php(57): Spatie\\MediaLibrary\\ResponsiveImages\\Jobs\\GenerateResponsiveImagesJob->restoreModel()\n#2 /home/forge/anamelcctv.com/vendor/laravel/framework/src/Illuminate/Queue/SerializesModels.php(122): Spatie\\MediaLibrary\\ResponsiveImages\\Jobs\\GenerateResponsiveImagesJob->getRestoredPropertyValue()\n#3 [internal function]: Spatie\\MediaLibrary\\ResponsiveImages\\Jobs\\GenerateResponsiveImagesJob->__unserialize()\n#4 /home/forge/anamelcctv.com/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(53): unserialize()\n#5 /home/forge/anamelcctv.com/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(98): Illuminate\\Queue\\CallQueuedHandler->call()\n#6 /home/forge/anamelcctv.com/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(356): Illuminate\\Queue\\Jobs\\Job->fire()\n#7 /home/forge/anamelcctv.com/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(306): Illuminate\\Queue\\Worker->process()\n#8 /home/forge/anamelcctv.com/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(132): Illuminate\\Queue\\Worker->runJob()\n#9 /home/forge/anamelcctv.com/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(112): Illuminate\\Queue\\Worker->daemon()\n#10 /home/forge/anamelcctv.com/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(96): Illuminate\\Queue\\Console\\WorkCommand->runWorker()\n#11 /home/forge/anamelcctv.com/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()\n#12 /home/forge/anamelcctv.com/vendor/laravel/framework/src/Illuminate/Container/Util.php(37): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()\n#13 /home/forge/anamelcctv.com/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(93): Illuminate\\Container\\Util::unwrapIfClosure()\n#14 /home/forge/anamelcctv.com/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(37): Illuminate\\Container\\BoundMethod::callBoundMethod()\n#15 /home/forge/anamelcctv.com/vendor/laravel/framework/src/Illuminate/Container/Container.php(596): Illuminate\\Container\\BoundMethod::call()\n#16 /home/forge/anamelcctv.com/vendor/laravel/framework/src/Illuminate/Console/Command.php(134): Illuminate\\Container\\Container->call()\n#17 /home/forge/anamelcctv.com/vendor/symfony/console/Command/Command.php(258): Illuminate\\Console\\Command->execute()\n#18 /home/forge/anamelcctv.com/vendor/laravel/framework/src/Illuminate/Console/Command.php(121): Symfony\\Component\\Console\\Command\\Command->run()\n#19 /home/forge/anamelcctv.com/vendor/symfony/console/Application.php(920): Illuminate\\Console\\Command->run()\n#20 /home/forge/anamelcctv.com/vendor/symfony/console/Application.php(266): Symfony\\Component\\Console\\Application->doRunCommand()\n#21 /home/forge/anamelcctv.com/vendor/symfony/console/Application.php(142): Symfony\\Component\\Console\\Application->doRun()\n#22 /home/forge/anamelcctv.com/vendor/laravel/framework/src/Illuminate/Console/Application.php(93): Symfony\\Component\\Console\\Application->run()\n#23 /home/forge/anamelcctv.com/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(129): Illuminate\\Console\\Application->run()\n#24 /home/forge/anamelcctv.com/artisan(37): Illuminate\\Foundation\\Console\\Kernel->handle()\n#25 {main}','2021-02-27 07:25:16'),(2,'redis','default','{\"uuid\":\"879c1bd5-ede1-4f0c-bf45-1d4954b236ac\",\"timeout\":null,\"id\":\"YgN3KC0Ot9yaH3bPCkwYEs6vD0Zkhsco\",\"data\":{\"command\":\"O:69:\\\"Spatie\\\\MediaLibrary\\\\ResponsiveImages\\\\Jobs\\\\GenerateResponsiveImagesJob\\\":9:{s:8:\\\"\\u0000*\\u0000media\\\";O:45:\\\"Illuminate\\\\Contracts\\\\Database\\\\ModelIdentifier\\\":4:{s:5:\\\"class\\\";s:49:\\\"Spatie\\\\MediaLibrary\\\\MediaCollections\\\\Models\\\\Media\\\";s:2:\\\"id\\\";i:472;s:9:\\\"relations\\\";a:0:{}s:10:\\\"connection\\\";s:5:\\\"mysql\\\";}s:3:\\\"job\\\";N;s:10:\\\"connection\\\";N;s:5:\\\"queue\\\";N;s:15:\\\"chainConnection\\\";N;s:10:\\\"chainQueue\\\";N;s:5:\\\"delay\\\";N;s:10:\\\"middleware\\\";a:0:{}s:7:\\\"chained\\\";a:0:{}}\",\"commandName\":\"Spatie\\\\MediaLibrary\\\\ResponsiveImages\\\\Jobs\\\\GenerateResponsiveImagesJob\"},\"displayName\":\"Spatie\\\\MediaLibrary\\\\ResponsiveImages\\\\Jobs\\\\GenerateResponsiveImagesJob\",\"timeoutAt\":null,\"maxExceptions\":null,\"maxTries\":null,\"job\":\"Illuminate\\\\Queue\\\\CallQueuedHandler@call\",\"delay\":null,\"attempts\":1}','Illuminate\\Database\\Eloquent\\ModelNotFoundException: No query results for model [Spatie\\MediaLibrary\\MediaCollections\\Models\\Media]. in /home/forge/anamelcctv.com/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php:481\nStack trace:\n#0 /home/forge/anamelcctv.com/vendor/laravel/framework/src/Illuminate/Queue/SerializesAndRestoresModelIdentifiers.php(102): Illuminate\\Database\\Eloquent\\Builder->firstOrFail()\n#1 /home/forge/anamelcctv.com/vendor/laravel/framework/src/Illuminate/Queue/SerializesAndRestoresModelIdentifiers.php(57): Spatie\\MediaLibrary\\ResponsiveImages\\Jobs\\GenerateResponsiveImagesJob->restoreModel()\n#2 /home/forge/anamelcctv.com/vendor/laravel/framework/src/Illuminate/Queue/SerializesModels.php(122): Spatie\\MediaLibrary\\ResponsiveImages\\Jobs\\GenerateResponsiveImagesJob->getRestoredPropertyValue()\n#3 [internal function]: Spatie\\MediaLibrary\\ResponsiveImages\\Jobs\\GenerateResponsiveImagesJob->__unserialize()\n#4 /home/forge/anamelcctv.com/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(53): unserialize()\n#5 /home/forge/anamelcctv.com/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(98): Illuminate\\Queue\\CallQueuedHandler->call()\n#6 /home/forge/anamelcctv.com/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(356): Illuminate\\Queue\\Jobs\\Job->fire()\n#7 /home/forge/anamelcctv.com/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(306): Illuminate\\Queue\\Worker->process()\n#8 /home/forge/anamelcctv.com/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(132): Illuminate\\Queue\\Worker->runJob()\n#9 /home/forge/anamelcctv.com/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(112): Illuminate\\Queue\\Worker->daemon()\n#10 /home/forge/anamelcctv.com/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(96): Illuminate\\Queue\\Console\\WorkCommand->runWorker()\n#11 /home/forge/anamelcctv.com/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()\n#12 /home/forge/anamelcctv.com/vendor/laravel/framework/src/Illuminate/Container/Util.php(37): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()\n#13 /home/forge/anamelcctv.com/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(93): Illuminate\\Container\\Util::unwrapIfClosure()\n#14 /home/forge/anamelcctv.com/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(37): Illuminate\\Container\\BoundMethod::callBoundMethod()\n#15 /home/forge/anamelcctv.com/vendor/laravel/framework/src/Illuminate/Container/Container.php(596): Illuminate\\Container\\BoundMethod::call()\n#16 /home/forge/anamelcctv.com/vendor/laravel/framework/src/Illuminate/Console/Command.php(134): Illuminate\\Container\\Container->call()\n#17 /home/forge/anamelcctv.com/vendor/symfony/console/Command/Command.php(258): Illuminate\\Console\\Command->execute()\n#18 /home/forge/anamelcctv.com/vendor/laravel/framework/src/Illuminate/Console/Command.php(121): Symfony\\Component\\Console\\Command\\Command->run()\n#19 /home/forge/anamelcctv.com/vendor/symfony/console/Application.php(920): Illuminate\\Console\\Command->run()\n#20 /home/forge/anamelcctv.com/vendor/symfony/console/Application.php(266): Symfony\\Component\\Console\\Application->doRunCommand()\n#21 /home/forge/anamelcctv.com/vendor/symfony/console/Application.php(142): Symfony\\Component\\Console\\Application->doRun()\n#22 /home/forge/anamelcctv.com/vendor/laravel/framework/src/Illuminate/Console/Application.php(93): Symfony\\Component\\Console\\Application->run()\n#23 /home/forge/anamelcctv.com/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(129): Illuminate\\Console\\Application->run()\n#24 /home/forge/anamelcctv.com/artisan(37): Illuminate\\Foundation\\Console\\Kernel->handle()\n#25 {main}','2021-02-27 07:26:23'),(3,'redis','default','{\"uuid\":\"d2bc4c27-6525-492a-8842-d02f24471701\",\"timeout\":null,\"id\":\"hSPkYhJyJKKyZOmq7e3VaqMRQBdwmB4y\",\"data\":{\"command\":\"O:69:\\\"Spatie\\\\MediaLibrary\\\\ResponsiveImages\\\\Jobs\\\\GenerateResponsiveImagesJob\\\":9:{s:8:\\\"\\u0000*\\u0000media\\\";O:45:\\\"Illuminate\\\\Contracts\\\\Database\\\\ModelIdentifier\\\":4:{s:5:\\\"class\\\";s:49:\\\"Spatie\\\\MediaLibrary\\\\MediaCollections\\\\Models\\\\Media\\\";s:2:\\\"id\\\";i:471;s:9:\\\"relations\\\";a:0:{}s:10:\\\"connection\\\";s:5:\\\"mysql\\\";}s:3:\\\"job\\\";N;s:10:\\\"connection\\\";N;s:5:\\\"queue\\\";N;s:15:\\\"chainConnection\\\";N;s:10:\\\"chainQueue\\\";N;s:5:\\\"delay\\\";N;s:10:\\\"middleware\\\";a:0:{}s:7:\\\"chained\\\";a:0:{}}\",\"commandName\":\"Spatie\\\\MediaLibrary\\\\ResponsiveImages\\\\Jobs\\\\GenerateResponsiveImagesJob\"},\"displayName\":\"Spatie\\\\MediaLibrary\\\\ResponsiveImages\\\\Jobs\\\\GenerateResponsiveImagesJob\",\"maxTries\":null,\"maxExceptions\":null,\"timeoutAt\":null,\"job\":\"Illuminate\\\\Queue\\\\CallQueuedHandler@call\",\"delay\":null,\"attempts\":4}','Illuminate\\Queue\\MaxAttemptsExceededException: Spatie\\MediaLibrary\\ResponsiveImages\\Jobs\\GenerateResponsiveImagesJob has been attempted too many times or run too long. The job may have previously timed out. in /home/forge/anamelcctv.com/vendor/laravel/framework/src/Illuminate/Queue/Worker.php:648\nStack trace:\n#0 /home/forge/anamelcctv.com/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(163): Illuminate\\Queue\\Worker->maxAttemptsExceededException()\n#1 /home/forge/anamelcctv.com/vendor/intervention/image/src/Intervention/Image/Gd/Commands/ResizeCommand.php(67): Illuminate\\Queue\\Worker->Illuminate\\Queue\\{closure}()\n#2 /home/forge/anamelcctv.com/vendor/intervention/image/src/Intervention/Image/Gd/Commands/ResizeCommand.php(25): Intervention\\Image\\Gd\\Commands\\ResizeCommand->modify()\n#3 /home/forge/anamelcctv.com/vendor/intervention/image/src/Intervention/Image/AbstractDriver.php(94): Intervention\\Image\\Gd\\Commands\\ResizeCommand->execute()\n#4 /home/forge/anamelcctv.com/vendor/intervention/image/src/Intervention/Image/Image.php(108): Intervention\\Image\\AbstractDriver->executeCommand()\n#5 /home/forge/anamelcctv.com/vendor/league/glide/src/Manipulators/Size.php(252): Intervention\\Image\\Image->__call()\n#6 /home/forge/anamelcctv.com/vendor/league/glide/src/Manipulators/Size.php(219): League\\Glide\\Manipulators\\Size->runContainResize()\n#7 /home/forge/anamelcctv.com/vendor/league/glide/src/Manipulators/Size.php(65): League\\Glide\\Manipulators\\Size->runResize()\n#8 /home/forge/anamelcctv.com/vendor/league/glide/src/Api/Api.php(89): League\\Glide\\Manipulators\\Size->run()\n#9 /home/forge/anamelcctv.com/vendor/league/glide/src/Server.php(528): League\\Glide\\Api\\Api->run()\n#10 /home/forge/anamelcctv.com/vendor/spatie/image/src/GlideConversion.php(86): League\\Glide\\Server->makeImage()\n#11 /home/forge/anamelcctv.com/vendor/spatie/image/src/Image.php(128): Spatie\\Image\\GlideConversion->performManipulations()\n#12 /home/forge/anamelcctv.com/vendor/spatie/laravel-medialibrary/src/ResponsiveImages/ResponsiveImageGenerator.php(102): Spatie\\Image\\Image->save()\n#13 /home/forge/anamelcctv.com/vendor/spatie/laravel-medialibrary/src/ResponsiveImages/ResponsiveImageGenerator.php(52): Spatie\\MediaLibrary\\ResponsiveImages\\ResponsiveImageGenerator->generateResponsiveImage()\n#14 /home/forge/anamelcctv.com/vendor/spatie/laravel-medialibrary/src/ResponsiveImages/Jobs/GenerateResponsiveImagesJob.php(28): Spatie\\MediaLibrary\\ResponsiveImages\\ResponsiveImageGenerator->generateResponsiveImages()\n#15 /home/forge/anamelcctv.com/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Spatie\\MediaLibrary\\ResponsiveImages\\Jobs\\GenerateResponsiveImagesJob->handle()\n#16 /home/forge/anamelcctv.com/vendor/laravel/framework/src/Illuminate/Container/Util.php(37): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()\n#17 /home/forge/anamelcctv.com/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(93): Illuminate\\Container\\Util::unwrapIfClosure()\n#18 /home/forge/anamelcctv.com/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(37): Illuminate\\Container\\BoundMethod::callBoundMethod()\n#19 /home/forge/anamelcctv.com/vendor/laravel/framework/src/Illuminate/Container/Container.php(596): Illuminate\\Container\\BoundMethod::call()\n#20 /home/forge/anamelcctv.com/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(94): Illuminate\\Container\\Container->call()\n#21 /home/forge/anamelcctv.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(128): Illuminate\\Bus\\Dispatcher->Illuminate\\Bus\\{closure}()\n#22 /home/forge/anamelcctv.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(103): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()\n#23 /home/forge/anamelcctv.com/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(98): Illuminate\\Pipeline\\Pipeline->then()\n#24 /home/forge/anamelcctv.com/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(83): Illuminate\\Bus\\Dispatcher->dispatchNow()\n#25 /home/forge/anamelcctv.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(128): Illuminate\\Queue\\CallQueuedHandler->Illuminate\\Queue\\{closure}()\n#26 /home/forge/anamelcctv.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(103): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()\n#27 /home/forge/anamelcctv.com/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(85): Illuminate\\Pipeline\\Pipeline->then()\n#28 /home/forge/anamelcctv.com/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(59): Illuminate\\Queue\\CallQueuedHandler->dispatchThroughMiddleware()\n#29 /home/forge/anamelcctv.com/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(98): Illuminate\\Queue\\CallQueuedHandler->call()\n#30 /home/forge/anamelcctv.com/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(356): Illuminate\\Queue\\Jobs\\Job->fire()\n#31 /home/forge/anamelcctv.com/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(306): Illuminate\\Queue\\Worker->process()\n#32 /home/forge/anamelcctv.com/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(132): Illuminate\\Queue\\Worker->runJob()\n#33 /home/forge/anamelcctv.com/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(112): Illuminate\\Queue\\Worker->daemon()\n#34 /home/forge/anamelcctv.com/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(96): Illuminate\\Queue\\Console\\WorkCommand->runWorker()\n#35 /home/forge/anamelcctv.com/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()\n#36 /home/forge/anamelcctv.com/vendor/laravel/framework/src/Illuminate/Container/Util.php(37): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()\n#37 /home/forge/anamelcctv.com/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(93): Illuminate\\Container\\Util::unwrapIfClosure()\n#38 /home/forge/anamelcctv.com/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(37): Illuminate\\Container\\BoundMethod::callBoundMethod()\n#39 /home/forge/anamelcctv.com/vendor/laravel/framework/src/Illuminate/Container/Container.php(596): Illuminate\\Container\\BoundMethod::call()\n#40 /home/forge/anamelcctv.com/vendor/laravel/framework/src/Illuminate/Console/Command.php(134): Illuminate\\Container\\Container->call()\n#41 /home/forge/anamelcctv.com/vendor/symfony/console/Command/Command.php(258): Illuminate\\Console\\Command->execute()\n#42 /home/forge/anamelcctv.com/vendor/laravel/framework/src/Illuminate/Console/Command.php(121): Symfony\\Component\\Console\\Command\\Command->run()\n#43 /home/forge/anamelcctv.com/vendor/symfony/console/Application.php(920): Illuminate\\Console\\Command->run()\n#44 /home/forge/anamelcctv.com/vendor/symfony/console/Application.php(266): Symfony\\Component\\Console\\Application->doRunCommand()\n#45 /home/forge/anamelcctv.com/vendor/symfony/console/Application.php(142): Symfony\\Component\\Console\\Application->doRun()\n#46 /home/forge/anamelcctv.com/vendor/laravel/framework/src/Illuminate/Console/Application.php(93): Symfony\\Component\\Console\\Application->run()\n#47 /home/forge/anamelcctv.com/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(129): Illuminate\\Console\\Application->run()\n#48 /home/forge/anamelcctv.com/artisan(37): Illuminate\\Foundation\\Console\\Kernel->handle()\n#49 {main}','2021-02-27 07:30:58'),(4,'redis','default','{\"uuid\":\"fc43927a-dcb8-48e6-9d5c-9b3405cfd0ce\",\"timeout\":null,\"id\":\"MYjn6Eu8iwKxsQn6CbNoWlyIeCwVefVL\",\"data\":{\"command\":\"O:69:\\\"Spatie\\\\MediaLibrary\\\\ResponsiveImages\\\\Jobs\\\\GenerateResponsiveImagesJob\\\":9:{s:8:\\\"\\u0000*\\u0000media\\\";O:45:\\\"Illuminate\\\\Contracts\\\\Database\\\\ModelIdentifier\\\":4:{s:5:\\\"class\\\";s:49:\\\"Spatie\\\\MediaLibrary\\\\MediaCollections\\\\Models\\\\Media\\\";s:2:\\\"id\\\";i:473;s:9:\\\"relations\\\";a:0:{}s:10:\\\"connection\\\";s:5:\\\"mysql\\\";}s:3:\\\"job\\\";N;s:10:\\\"connection\\\";N;s:5:\\\"queue\\\";N;s:15:\\\"chainConnection\\\";N;s:10:\\\"chainQueue\\\";N;s:5:\\\"delay\\\";N;s:10:\\\"middleware\\\";a:0:{}s:7:\\\"chained\\\";a:0:{}}\",\"commandName\":\"Spatie\\\\MediaLibrary\\\\ResponsiveImages\\\\Jobs\\\\GenerateResponsiveImagesJob\"},\"displayName\":\"Spatie\\\\MediaLibrary\\\\ResponsiveImages\\\\Jobs\\\\GenerateResponsiveImagesJob\",\"maxTries\":null,\"maxExceptions\":null,\"timeoutAt\":null,\"job\":\"Illuminate\\\\Queue\\\\CallQueuedHandler@call\",\"delay\":null,\"attempts\":4}','Illuminate\\Queue\\MaxAttemptsExceededException: Spatie\\MediaLibrary\\ResponsiveImages\\Jobs\\GenerateResponsiveImagesJob has been attempted too many times or run too long. The job may have previously timed out. in /home/forge/anamelcctv.com/vendor/laravel/framework/src/Illuminate/Queue/Worker.php:648\nStack trace:\n#0 /home/forge/anamelcctv.com/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(163): Illuminate\\Queue\\Worker->maxAttemptsExceededException()\n#1 /home/forge/anamelcctv.com/vendor/intervention/image/src/Intervention/Image/Gd/Commands/ResizeCommand.php(67): Illuminate\\Queue\\Worker->Illuminate\\Queue\\{closure}()\n#2 /home/forge/anamelcctv.com/vendor/intervention/image/src/Intervention/Image/Gd/Commands/ResizeCommand.php(25): Intervention\\Image\\Gd\\Commands\\ResizeCommand->modify()\n#3 /home/forge/anamelcctv.com/vendor/intervention/image/src/Intervention/Image/AbstractDriver.php(94): Intervention\\Image\\Gd\\Commands\\ResizeCommand->execute()\n#4 /home/forge/anamelcctv.com/vendor/intervention/image/src/Intervention/Image/Image.php(108): Intervention\\Image\\AbstractDriver->executeCommand()\n#5 /home/forge/anamelcctv.com/vendor/league/glide/src/Manipulators/Size.php(252): Intervention\\Image\\Image->__call()\n#6 /home/forge/anamelcctv.com/vendor/league/glide/src/Manipulators/Size.php(219): League\\Glide\\Manipulators\\Size->runContainResize()\n#7 /home/forge/anamelcctv.com/vendor/league/glide/src/Manipulators/Size.php(65): League\\Glide\\Manipulators\\Size->runResize()\n#8 /home/forge/anamelcctv.com/vendor/league/glide/src/Api/Api.php(89): League\\Glide\\Manipulators\\Size->run()\n#9 /home/forge/anamelcctv.com/vendor/league/glide/src/Server.php(528): League\\Glide\\Api\\Api->run()\n#10 /home/forge/anamelcctv.com/vendor/spatie/image/src/GlideConversion.php(86): League\\Glide\\Server->makeImage()\n#11 /home/forge/anamelcctv.com/vendor/spatie/image/src/Image.php(128): Spatie\\Image\\GlideConversion->performManipulations()\n#12 /home/forge/anamelcctv.com/vendor/spatie/laravel-medialibrary/src/ResponsiveImages/ResponsiveImageGenerator.php(102): Spatie\\Image\\Image->save()\n#13 /home/forge/anamelcctv.com/vendor/spatie/laravel-medialibrary/src/ResponsiveImages/ResponsiveImageGenerator.php(52): Spatie\\MediaLibrary\\ResponsiveImages\\ResponsiveImageGenerator->generateResponsiveImage()\n#14 /home/forge/anamelcctv.com/vendor/spatie/laravel-medialibrary/src/ResponsiveImages/Jobs/GenerateResponsiveImagesJob.php(28): Spatie\\MediaLibrary\\ResponsiveImages\\ResponsiveImageGenerator->generateResponsiveImages()\n#15 /home/forge/anamelcctv.com/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Spatie\\MediaLibrary\\ResponsiveImages\\Jobs\\GenerateResponsiveImagesJob->handle()\n#16 /home/forge/anamelcctv.com/vendor/laravel/framework/src/Illuminate/Container/Util.php(37): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()\n#17 /home/forge/anamelcctv.com/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(93): Illuminate\\Container\\Util::unwrapIfClosure()\n#18 /home/forge/anamelcctv.com/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(37): Illuminate\\Container\\BoundMethod::callBoundMethod()\n#19 /home/forge/anamelcctv.com/vendor/laravel/framework/src/Illuminate/Container/Container.php(596): Illuminate\\Container\\BoundMethod::call()\n#20 /home/forge/anamelcctv.com/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(94): Illuminate\\Container\\Container->call()\n#21 /home/forge/anamelcctv.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(128): Illuminate\\Bus\\Dispatcher->Illuminate\\Bus\\{closure}()\n#22 /home/forge/anamelcctv.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(103): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()\n#23 /home/forge/anamelcctv.com/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(98): Illuminate\\Pipeline\\Pipeline->then()\n#24 /home/forge/anamelcctv.com/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(83): Illuminate\\Bus\\Dispatcher->dispatchNow()\n#25 /home/forge/anamelcctv.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(128): Illuminate\\Queue\\CallQueuedHandler->Illuminate\\Queue\\{closure}()\n#26 /home/forge/anamelcctv.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(103): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()\n#27 /home/forge/anamelcctv.com/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(85): Illuminate\\Pipeline\\Pipeline->then()\n#28 /home/forge/anamelcctv.com/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(59): Illuminate\\Queue\\CallQueuedHandler->dispatchThroughMiddleware()\n#29 /home/forge/anamelcctv.com/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(98): Illuminate\\Queue\\CallQueuedHandler->call()\n#30 /home/forge/anamelcctv.com/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(356): Illuminate\\Queue\\Jobs\\Job->fire()\n#31 /home/forge/anamelcctv.com/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(306): Illuminate\\Queue\\Worker->process()\n#32 /home/forge/anamelcctv.com/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(132): Illuminate\\Queue\\Worker->runJob()\n#33 /home/forge/anamelcctv.com/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(112): Illuminate\\Queue\\Worker->daemon()\n#34 /home/forge/anamelcctv.com/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(96): Illuminate\\Queue\\Console\\WorkCommand->runWorker()\n#35 /home/forge/anamelcctv.com/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()\n#36 /home/forge/anamelcctv.com/vendor/laravel/framework/src/Illuminate/Container/Util.php(37): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()\n#37 /home/forge/anamelcctv.com/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(93): Illuminate\\Container\\Util::unwrapIfClosure()\n#38 /home/forge/anamelcctv.com/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(37): Illuminate\\Container\\BoundMethod::callBoundMethod()\n#39 /home/forge/anamelcctv.com/vendor/laravel/framework/src/Illuminate/Container/Container.php(596): Illuminate\\Container\\BoundMethod::call()\n#40 /home/forge/anamelcctv.com/vendor/laravel/framework/src/Illuminate/Console/Command.php(134): Illuminate\\Container\\Container->call()\n#41 /home/forge/anamelcctv.com/vendor/symfony/console/Command/Command.php(258): Illuminate\\Console\\Command->execute()\n#42 /home/forge/anamelcctv.com/vendor/laravel/framework/src/Illuminate/Console/Command.php(121): Symfony\\Component\\Console\\Command\\Command->run()\n#43 /home/forge/anamelcctv.com/vendor/symfony/console/Application.php(920): Illuminate\\Console\\Command->run()\n#44 /home/forge/anamelcctv.com/vendor/symfony/console/Application.php(266): Symfony\\Component\\Console\\Application->doRunCommand()\n#45 /home/forge/anamelcctv.com/vendor/symfony/console/Application.php(142): Symfony\\Component\\Console\\Application->doRun()\n#46 /home/forge/anamelcctv.com/vendor/laravel/framework/src/Illuminate/Console/Application.php(93): Symfony\\Component\\Console\\Application->run()\n#47 /home/forge/anamelcctv.com/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(129): Illuminate\\Console\\Application->run()\n#48 /home/forge/anamelcctv.com/artisan(37): Illuminate\\Foundation\\Console\\Kernel->handle()\n#49 {main}','2021-02-28 07:40:04'),(5,'redis','default','{\"uuid\":\"d3bc860e-727c-4654-b025-996075e1b890\",\"timeout\":null,\"id\":\"NpB5YLUfyOIAAsyEZTCXaQLxB13uRZWD\",\"data\":{\"command\":\"O:69:\\\"Spatie\\\\MediaLibrary\\\\ResponsiveImages\\\\Jobs\\\\GenerateResponsiveImagesJob\\\":9:{s:8:\\\"\\u0000*\\u0000media\\\";O:45:\\\"Illuminate\\\\Contracts\\\\Database\\\\ModelIdentifier\\\":4:{s:5:\\\"class\\\";s:49:\\\"Spatie\\\\MediaLibrary\\\\MediaCollections\\\\Models\\\\Media\\\";s:2:\\\"id\\\";i:500;s:9:\\\"relations\\\";a:0:{}s:10:\\\"connection\\\";s:5:\\\"mysql\\\";}s:3:\\\"job\\\";N;s:10:\\\"connection\\\";N;s:5:\\\"queue\\\";N;s:15:\\\"chainConnection\\\";N;s:10:\\\"chainQueue\\\";N;s:5:\\\"delay\\\";N;s:10:\\\"middleware\\\";a:0:{}s:7:\\\"chained\\\";a:0:{}}\",\"commandName\":\"Spatie\\\\MediaLibrary\\\\ResponsiveImages\\\\Jobs\\\\GenerateResponsiveImagesJob\"},\"displayName\":\"Spatie\\\\MediaLibrary\\\\ResponsiveImages\\\\Jobs\\\\GenerateResponsiveImagesJob\",\"timeoutAt\":null,\"maxExceptions\":null,\"maxTries\":null,\"job\":\"Illuminate\\\\Queue\\\\CallQueuedHandler@call\",\"delay\":null,\"attempts\":1}','Illuminate\\Database\\Eloquent\\ModelNotFoundException: No query results for model [Spatie\\MediaLibrary\\MediaCollections\\Models\\Media]. in /home/forge/anamelcctv.com/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php:481\nStack trace:\n#0 /home/forge/anamelcctv.com/vendor/laravel/framework/src/Illuminate/Queue/SerializesAndRestoresModelIdentifiers.php(102): Illuminate\\Database\\Eloquent\\Builder->firstOrFail()\n#1 /home/forge/anamelcctv.com/vendor/laravel/framework/src/Illuminate/Queue/SerializesAndRestoresModelIdentifiers.php(57): Spatie\\MediaLibrary\\ResponsiveImages\\Jobs\\GenerateResponsiveImagesJob->restoreModel()\n#2 /home/forge/anamelcctv.com/vendor/laravel/framework/src/Illuminate/Queue/SerializesModels.php(122): Spatie\\MediaLibrary\\ResponsiveImages\\Jobs\\GenerateResponsiveImagesJob->getRestoredPropertyValue()\n#3 [internal function]: Spatie\\MediaLibrary\\ResponsiveImages\\Jobs\\GenerateResponsiveImagesJob->__unserialize()\n#4 /home/forge/anamelcctv.com/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(53): unserialize()\n#5 /home/forge/anamelcctv.com/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(98): Illuminate\\Queue\\CallQueuedHandler->call()\n#6 /home/forge/anamelcctv.com/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(356): Illuminate\\Queue\\Jobs\\Job->fire()\n#7 /home/forge/anamelcctv.com/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(306): Illuminate\\Queue\\Worker->process()\n#8 /home/forge/anamelcctv.com/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(132): Illuminate\\Queue\\Worker->runJob()\n#9 /home/forge/anamelcctv.com/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(112): Illuminate\\Queue\\Worker->daemon()\n#10 /home/forge/anamelcctv.com/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(96): Illuminate\\Queue\\Console\\WorkCommand->runWorker()\n#11 /home/forge/anamelcctv.com/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()\n#12 /home/forge/anamelcctv.com/vendor/laravel/framework/src/Illuminate/Container/Util.php(37): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()\n#13 /home/forge/anamelcctv.com/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(93): Illuminate\\Container\\Util::unwrapIfClosure()\n#14 /home/forge/anamelcctv.com/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(37): Illuminate\\Container\\BoundMethod::callBoundMethod()\n#15 /home/forge/anamelcctv.com/vendor/laravel/framework/src/Illuminate/Container/Container.php(596): Illuminate\\Container\\BoundMethod::call()\n#16 /home/forge/anamelcctv.com/vendor/laravel/framework/src/Illuminate/Console/Command.php(134): Illuminate\\Container\\Container->call()\n#17 /home/forge/anamelcctv.com/vendor/symfony/console/Command/Command.php(256): Illuminate\\Console\\Command->execute()\n#18 /home/forge/anamelcctv.com/vendor/laravel/framework/src/Illuminate/Console/Command.php(121): Symfony\\Component\\Console\\Command\\Command->run()\n#19 /home/forge/anamelcctv.com/vendor/symfony/console/Application.php(971): Illuminate\\Console\\Command->run()\n#20 /home/forge/anamelcctv.com/vendor/symfony/console/Application.php(290): Symfony\\Component\\Console\\Application->doRunCommand()\n#21 /home/forge/anamelcctv.com/vendor/symfony/console/Application.php(166): Symfony\\Component\\Console\\Application->doRun()\n#22 /home/forge/anamelcctv.com/vendor/laravel/framework/src/Illuminate/Console/Application.php(93): Symfony\\Component\\Console\\Application->run()\n#23 /home/forge/anamelcctv.com/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(129): Illuminate\\Console\\Application->run()\n#24 /home/forge/anamelcctv.com/artisan(37): Illuminate\\Foundation\\Console\\Kernel->handle()\n#25 {main}','2021-03-21 11:28:51'),(6,'redis','default','{\"uuid\":\"695320fa-ccf5-49fd-be70-6ab5c2b00fd4\",\"timeout\":null,\"id\":\"xZu5m3KMCI0TgwlE7yYTsTVNe0vSihiW\",\"data\":{\"command\":\"O:69:\\\"Spatie\\\\MediaLibrary\\\\ResponsiveImages\\\\Jobs\\\\GenerateResponsiveImagesJob\\\":9:{s:8:\\\"\\u0000*\\u0000media\\\";O:45:\\\"Illuminate\\\\Contracts\\\\Database\\\\ModelIdentifier\\\":4:{s:5:\\\"class\\\";s:49:\\\"Spatie\\\\MediaLibrary\\\\MediaCollections\\\\Models\\\\Media\\\";s:2:\\\"id\\\";i:526;s:9:\\\"relations\\\";a:0:{}s:10:\\\"connection\\\";s:5:\\\"mysql\\\";}s:3:\\\"job\\\";N;s:10:\\\"connection\\\";N;s:5:\\\"queue\\\";N;s:15:\\\"chainConnection\\\";N;s:10:\\\"chainQueue\\\";N;s:5:\\\"delay\\\";N;s:10:\\\"middleware\\\";a:0:{}s:7:\\\"chained\\\";a:0:{}}\",\"commandName\":\"Spatie\\\\MediaLibrary\\\\ResponsiveImages\\\\Jobs\\\\GenerateResponsiveImagesJob\"},\"displayName\":\"Spatie\\\\MediaLibrary\\\\ResponsiveImages\\\\Jobs\\\\GenerateResponsiveImagesJob\",\"maxTries\":null,\"maxExceptions\":null,\"timeoutAt\":null,\"job\":\"Illuminate\\\\Queue\\\\CallQueuedHandler@call\",\"delay\":null,\"attempts\":4}','Illuminate\\Queue\\MaxAttemptsExceededException: Spatie\\MediaLibrary\\ResponsiveImages\\Jobs\\GenerateResponsiveImagesJob has been attempted too many times or run too long. The job may have previously timed out. in /home/forge/anamelcctv.com/vendor/laravel/framework/src/Illuminate/Queue/Worker.php:648\nStack trace:\n#0 /home/forge/anamelcctv.com/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(163): Illuminate\\Queue\\Worker->maxAttemptsExceededException()\n#1 /home/forge/anamelcctv.com/vendor/intervention/image/src/Intervention/Image/Gd/Commands/ResizeCommand.php(67): Illuminate\\Queue\\Worker->Illuminate\\Queue\\{closure}()\n#2 /home/forge/anamelcctv.com/vendor/intervention/image/src/Intervention/Image/Gd/Commands/ResizeCommand.php(25): Intervention\\Image\\Gd\\Commands\\ResizeCommand->modify()\n#3 /home/forge/anamelcctv.com/vendor/intervention/image/src/Intervention/Image/AbstractDriver.php(94): Intervention\\Image\\Gd\\Commands\\ResizeCommand->execute()\n#4 /home/forge/anamelcctv.com/vendor/intervention/image/src/Intervention/Image/Image.php(108): Intervention\\Image\\AbstractDriver->executeCommand()\n#5 /home/forge/anamelcctv.com/vendor/league/glide/src/Manipulators/Size.php(252): Intervention\\Image\\Image->__call()\n#6 /home/forge/anamelcctv.com/vendor/league/glide/src/Manipulators/Size.php(219): League\\Glide\\Manipulators\\Size->runContainResize()\n#7 /home/forge/anamelcctv.com/vendor/league/glide/src/Manipulators/Size.php(65): League\\Glide\\Manipulators\\Size->runResize()\n#8 /home/forge/anamelcctv.com/vendor/league/glide/src/Api/Api.php(89): League\\Glide\\Manipulators\\Size->run()\n#9 /home/forge/anamelcctv.com/vendor/league/glide/src/Server.php(528): League\\Glide\\Api\\Api->run()\n#10 /home/forge/anamelcctv.com/vendor/spatie/image/src/GlideConversion.php(82): League\\Glide\\Server->makeImage()\n#11 /home/forge/anamelcctv.com/vendor/spatie/image/src/Image.php(140): Spatie\\Image\\GlideConversion->performManipulations()\n#12 /home/forge/anamelcctv.com/vendor/spatie/laravel-medialibrary/src/ResponsiveImages/ResponsiveImageGenerator.php(102): Spatie\\Image\\Image->save()\n#13 /home/forge/anamelcctv.com/vendor/spatie/laravel-medialibrary/src/ResponsiveImages/ResponsiveImageGenerator.php(52): Spatie\\MediaLibrary\\ResponsiveImages\\ResponsiveImageGenerator->generateResponsiveImage()\n#14 /home/forge/anamelcctv.com/vendor/spatie/laravel-medialibrary/src/ResponsiveImages/Jobs/GenerateResponsiveImagesJob.php(28): Spatie\\MediaLibrary\\ResponsiveImages\\ResponsiveImageGenerator->generateResponsiveImages()\n#15 /home/forge/anamelcctv.com/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Spatie\\MediaLibrary\\ResponsiveImages\\Jobs\\GenerateResponsiveImagesJob->handle()\n#16 /home/forge/anamelcctv.com/vendor/laravel/framework/src/Illuminate/Container/Util.php(37): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()\n#17 /home/forge/anamelcctv.com/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(93): Illuminate\\Container\\Util::unwrapIfClosure()\n#18 /home/forge/anamelcctv.com/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(37): Illuminate\\Container\\BoundMethod::callBoundMethod()\n#19 /home/forge/anamelcctv.com/vendor/laravel/framework/src/Illuminate/Container/Container.php(596): Illuminate\\Container\\BoundMethod::call()\n#20 /home/forge/anamelcctv.com/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(94): Illuminate\\Container\\Container->call()\n#21 /home/forge/anamelcctv.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(128): Illuminate\\Bus\\Dispatcher->Illuminate\\Bus\\{closure}()\n#22 /home/forge/anamelcctv.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(103): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()\n#23 /home/forge/anamelcctv.com/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(98): Illuminate\\Pipeline\\Pipeline->then()\n#24 /home/forge/anamelcctv.com/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(83): Illuminate\\Bus\\Dispatcher->dispatchNow()\n#25 /home/forge/anamelcctv.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(128): Illuminate\\Queue\\CallQueuedHandler->Illuminate\\Queue\\{closure}()\n#26 /home/forge/anamelcctv.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(103): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()\n#27 /home/forge/anamelcctv.com/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(85): Illuminate\\Pipeline\\Pipeline->then()\n#28 /home/forge/anamelcctv.com/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(59): Illuminate\\Queue\\CallQueuedHandler->dispatchThroughMiddleware()\n#29 /home/forge/anamelcctv.com/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(98): Illuminate\\Queue\\CallQueuedHandler->call()\n#30 /home/forge/anamelcctv.com/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(356): Illuminate\\Queue\\Jobs\\Job->fire()\n#31 /home/forge/anamelcctv.com/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(306): Illuminate\\Queue\\Worker->process()\n#32 /home/forge/anamelcctv.com/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(132): Illuminate\\Queue\\Worker->runJob()\n#33 /home/forge/anamelcctv.com/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(112): Illuminate\\Queue\\Worker->daemon()\n#34 /home/forge/anamelcctv.com/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(96): Illuminate\\Queue\\Console\\WorkCommand->runWorker()\n#35 /home/forge/anamelcctv.com/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()\n#36 /home/forge/anamelcctv.com/vendor/laravel/framework/src/Illuminate/Container/Util.php(37): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()\n#37 /home/forge/anamelcctv.com/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(93): Illuminate\\Container\\Util::unwrapIfClosure()\n#38 /home/forge/anamelcctv.com/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(37): Illuminate\\Container\\BoundMethod::callBoundMethod()\n#39 /home/forge/anamelcctv.com/vendor/laravel/framework/src/Illuminate/Container/Container.php(596): Illuminate\\Container\\BoundMethod::call()\n#40 /home/forge/anamelcctv.com/vendor/laravel/framework/src/Illuminate/Console/Command.php(134): Illuminate\\Container\\Container->call()\n#41 /home/forge/anamelcctv.com/vendor/symfony/console/Command/Command.php(256): Illuminate\\Console\\Command->execute()\n#42 /home/forge/anamelcctv.com/vendor/laravel/framework/src/Illuminate/Console/Command.php(121): Symfony\\Component\\Console\\Command\\Command->run()\n#43 /home/forge/anamelcctv.com/vendor/symfony/console/Application.php(971): Illuminate\\Console\\Command->run()\n#44 /home/forge/anamelcctv.com/vendor/symfony/console/Application.php(290): Symfony\\Component\\Console\\Application->doRunCommand()\n#45 /home/forge/anamelcctv.com/vendor/symfony/console/Application.php(166): Symfony\\Component\\Console\\Application->doRun()\n#46 /home/forge/anamelcctv.com/vendor/laravel/framework/src/Illuminate/Console/Application.php(93): Symfony\\Component\\Console\\Application->run()\n#47 /home/forge/anamelcctv.com/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(129): Illuminate\\Console\\Application->run()\n#48 /home/forge/anamelcctv.com/artisan(37): Illuminate\\Foundation\\Console\\Kernel->handle()\n#49 {main}','2021-05-27 09:10:18'); /*!40000 ALTER TABLE `failed_jobs` ENABLE KEYS */; UNLOCK TABLES; DROP TABLE IF EXISTS `fixed_coupons`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `fixed_coupons` ( `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, `percent` tinyint(1) NOT NULL DEFAULT 0, `value` int(11) NOT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; LOCK TABLES `fixed_coupons` WRITE; /*!40000 ALTER TABLE `fixed_coupons` DISABLE KEYS */; INSERT INTO `fixed_coupons` VALUES (1,1,20,'2020-12-10 15:08:00','2020-12-10 15:08:00'); /*!40000 ALTER TABLE `fixed_coupons` ENABLE KEYS */; UNLOCK TABLES; DROP TABLE IF EXISTS `google_reviews`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `google_reviews` ( `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, `author_name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `author_url` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `profile_photo_url` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `rating` int(10) unsigned NOT NULL, `text` text COLLATE utf8mb4_unicode_ci NOT NULL, `time` int(10) unsigned NOT NULL, `status` tinyint(1) NOT NULL DEFAULT 0, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=52 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; LOCK TABLES `google_reviews` WRITE; /*!40000 ALTER TABLE `google_reviews` DISABLE KEYS */; INSERT INTO `google_reviews` VALUES (1,'sultan rafia','not_found','https://lh5.ggpht.com/-v_xzi99lvV0/AAAAAAAAAAI/AAAAAAAAAAA/HtCGRJAxMi0/s128-c0x00000000-cc-rp-mo/photo.jpg',5,'جودة المنتج وحسن تعامل وخدمة مابعد البيع شيء مميز والحمدلله بعد عدة تجارب نجاح يستحق الإشادة',0,0,'2020-09-12 17:59:43','2021-03-31 09:56:29'),(3,'sultan','not_found','https://lh5.ggpht.com/-veYVlgjaU2c/AAAAAAAAAAI/AAAAAAAAAAA/SQyOEfX2WzE/s128-c0x00000000-cc-rp-mo/photo.jpg',5,'والله شغلهم ممتاز وعندهم مصداقيه انصحكم بالتعامل معهم والسعر معقول جدا',0,0,'2020-09-12 17:59:43','2021-03-31 09:56:16'),(4,'Abdullah AlJamhan','not_found','https://lh5.ggpht.com/-YtAZgt_gfWc/AAAAAAAAAAI/AAAAAAAAAAA/H1q2So_PFk8/s128-c0x00000000-cc-rp-mo-ba3/photo.jpg',5,'الله يعطيهم العافية تعامل جدا راقي من الجميع بداية من الإدارة والأخ أبونايف في تقديم النصح والمساعدة في اختيار المنتج المناسب وكذلك الطاقم الفني بقيادة الأخ معتصم.. تعامل راقي واحترام للمواعيد ودقة في العمل. يستحقون أكثر من ٥ نجوم بدون مبالغة.',0,1,'2020-09-12 17:59:43','2020-09-15 08:22:54'),(5,'majed almufarih','not_found','https://lh6.ggpht.com/-GjHtXOjjPIA/AAAAAAAAAAI/AAAAAAAAAAA/-L7ULF3KhMU/s128-c0x00000000-cc-rp-mo/photo.jpg',5,'ماشاء الله اسم على مسمه فنيين ولا اروع من كذا رقي بالمعامله بالتوفيق يارب وللامام سعت بتعامل معكم.',0,0,'2020-09-12 17:59:43','2021-03-31 09:56:40'),(6,'khaled falah','not_found','https://lh6.ggpht.com/-kh9NpIU1kxw/AAAAAAAAAAI/AAAAAAAAAAA/qLyVdfjnaNo/s128-c0x00000000-cc-rp-mo/photo.jpg',5,'ادارة جدا ممتازه وفنيين ممتازين فاهمين شغلهم والادوات جودها عاليه ونصوحين وخدمات مابعد البيع ممتازه \r\nكل الشكر لهم انصح بتعامل معم شي راقي',0,0,'2020-09-15 03:40:06','2021-03-31 09:56:56'),(10,'Ahmed Almousa','not_found','https://lh4.googleusercontent.com/-12P94CdiN_U/AAAAAAAAAAI/AAAAAAAAAAA/AMZuucl1LawwvbTW0T6lx1-2r_Tn70OZRA/s128-c0x00000000-cc-rp-mo-ba4/photo.jpg',5,'عمل متميز و تعامل راقي و دقيق \r\nكثير هي المؤسسات التي تقوم بتركيب انظمة المراقبة الامنية و لكن قليل الذي يهتم بخدمات ما بعد البيع و الصيانة . \r\nو هذا ما يميز انامل الخبرة للانظمة الامنية \r\nخدمات ما بعد البيع و الصيانة ممتازة .\r\nالاخ ابو نايف رجل دقيق و مهتم الله يوفقه',0,0,'2020-09-23 11:15:11','2021-03-31 09:57:19'),(13,'majed almufarih','not_found','https://lh3.googleusercontent.com/a-/AOh14GgMGSNj4tgX_WwFfu_JFknMHIYMgg8IEAeGMVDJEQ=s128-c0x00000000-cc-rp-mo',5,'ماشاء الله اسم على مسمى فنيين ولا اروع من كذا رقي بالمعامله بالتوفيق يارب وللأمام سعدت بالتعامل معكم.',0,1,'2020-09-23 11:15:11','2020-10-11 08:13:22'),(14,'khaled falah','not_found','https://lh6.googleusercontent.com/-kh9NpIU1kxw/AAAAAAAAAAI/AAAAAAAAAAA/AMZuuclWhyermydYr2NVpq2FhkIP4QdzIA/s128-c0x00000000-cc-rp-mo/photo.jpg',5,'ادارة جدا ممتازه وفنيين ممتازين فاهمين شغلهم والادوات جودها عاليه ونصوحين وخدمات مابعد البيع ممتازه \r\nكل الشكر لهم انصح بتعامل معم شي راقي',0,1,'2020-09-24 07:29:05','2020-11-24 14:47:41'),(15,'Saud Al yaesh','not_found','https://lh3.googleusercontent.com/-vSU7us_ByX4/AAAAAAAAAAI/AAAAAAAAAAA/AMZuucnRwr6k1tPLeNx2_kppqH_w-SOSpA/s128-c0x00000000-cc-rp-mo-ba3/photo.jpg',5,'شكرا انامل الخبرة على جودة وسرعة العمل',0,1,'2020-09-25 07:14:21','2020-09-26 08:06:21'),(16,'Saud Al yaesh','https://www.google.com/maps/contrib/113267033238706445732/reviews','https://lh3.googleusercontent.com/-vSU7us_ByX4/AAAAAAAAAAI/AAAAAAAAAAA/AMZuucnRwr6k1tPLeNx2_kppqH_w-SOSpA/s128-c0x00000000-cc-rp-mo-ba3/photo.jpg',5,'شكرا انامل الخبرة على جودة وسرعة العمل',1600013188,0,'2020-09-26 08:07:01','2020-09-26 08:07:01'),(17,'S. A','https://www.google.com/maps/contrib/110630175966713813423/reviews','https://lh3.googleusercontent.com/a-/AOh14GiPl9JHIGY00t88H91ToUXAvrR2H4LeNBBKGFzGlQ=s128-c0x00000000-cc-rp-mo-ba5',1,'التركيب جيد، بس التعامل والخدمة تحتاج من العميل الإنتباه، إذا طلبت كاميرات عاينها بعيونك وتفحصها جيداً لا تكون مستعمله وخذها معك للبيت وموعد التركيب عطها العمال يركبونها.\nوأعرف مميزات ودقة الكميرات اللي تحتاجها ..!؟\nأنا وثقت فيهم بزياده وبالأخير ركبوا لي كاميرات مستعمله مدري وش أسمي هالتصرف خداع وألا غش \"من غشنا فليس منا\" وأنا متفق على بضاعه جديدة ودافع سعرها!؟\n\nالمؤسسة أعتقد شغلهم موجه للمؤسسات والمحلات التجارية أكثر من خدمة الأفراد والمنازل والشقق !؟',1601298739,0,'2020-09-29 19:15:34','2020-09-29 19:15:34'),(18,'كرم مساعد','not_found','https://lh3.googleusercontent.com/a-/AOh14Ggmj65t2WEn-Il_aGWhm4F2sUw41ZDmlcaqWLjcKQ=s128-c0x00000000-cc-rp-mo',5,'بصراحة أداء مميز من فريق العمل وتعامل راقي معي والكلام ما يوفيكم حقكم لاكن موفقين فيما هو قادم وجزاكم الله خيرًا',0,1,'2020-10-01 15:58:10','2020-10-03 06:27:33'),(19,'كرم مساعد','https://www.google.com/maps/contrib/106338913532111788267/reviews','https://lh3.googleusercontent.com/a-/AOh14Ggmj65t2WEn-Il_aGWhm4F2sUw41ZDmlcaqWLjcKQ=s128-c0x00000000-cc-rp-mo',5,'بصراحة أداء مميز من فريق العمل وتعامل راقي معي والكلام ما يوفيكم حقكم لاكن موفقين فيما هو قادم وجزاكم الله خيرًا',1601470463,0,'2020-10-03 06:51:32','2020-10-03 06:51:32'),(20,'ABDULLAH ALANAZI','not_found','https://lh4.googleusercontent.com/-z7DZy9aJoAQ/AAAAAAAAAAI/AAAAAAAAAAA/AMZuucl44VuTkWcMjY9QGF8-IO6bLll5tQ/s128-c0x00000000-cc-rp-mo/photo.jpg',5,'شخصياً اشوف خدمتكم جداً ممتازة من صاحب العمل الى الاخ العزيز ابومروان اللي تعامله اكثر من رائع والى اقل عامل لديكم وان شاءالله تبقون متميزين بالتوفيق لكم🙏🏼',0,1,'2020-10-08 00:24:20','2020-11-24 14:45:31'),(23,'سامي ALSO','https://www.google.com/maps/contrib/113029232613413720239/reviews','https://lh3.googleusercontent.com/a-/AOh14GhTKdGd7xYpecKsPyVPvs2mZDqihIpDv4lcHVdy=s128-c0x00000000-cc-rp-mo',5,'‏من أفضل الشركات من ناحية\n1-‏الخبرة\n2-التعامل ‏المصداقية\n3-‏وجودة الكاميرات\n‏‏ انصح اي شخص يبغى يركب كاميرات‏ وشكرآ أخوي أبو نايف ‏على تعامله ‏‏واحترام مصداقيته ‏و ايضاح العميل ‏الصورة لكافية ‏\n‏',1605783550,0,'2020-11-29 09:34:09','2020-11-29 09:34:09'),(24,'hwidi aldosre','not_found','https://lh6.googleusercontent.com/-k-kpcXg4t0k/AAAAAAAAAAI/AAAAAAAAAAA/AMZuucngfJ-Q2jV5_-pCVnp6PX_Aacp_yg/s128-c0x00000000-cc-rp-mo/photo.jpg',5,'الشكر كل الشكر للقائمين والعاملين في أنامل الخبرة .. سرني التعامل معهم ركبو عندي كميرا بي تي زد وجميع العاملين والمهندسين والسيد ابو نايف قمة في الاحترام والتعامل الراقي وان شاء الله لي تعامل اخر معهم وانصح الجميع فيهم',0,1,'2020-12-07 10:17:26','2020-12-09 15:50:29'),(25,'Howaidi Alsanqer','not_found','https://lh3.googleusercontent.com/-iso-tL-0kFI/AAAAAAAAAAI/AAAAAAAAAAA/AMZuucnlCzJO3gAprVV9myddO8q2rQkcHA/s128-c0x00000000-cc-rp-mo/photo.jpg',5,'الشكر كل الشكر للقائمين والعاملين في أنامل الخبرة .. سرني التعامل معهم ركبو عندي كميرا بي تي زد وجميع العاملين والمهندسين والسيد ابو نايف قمة في الاحترام والتعامل الراقي وان شاء الله لي تعامل اخر معهم وانصح الجميع فيهم',0,1,'2020-12-07 10:17:26','2020-12-09 15:50:05'),(26,'عبدالله الخنفري','not_found','https://lh6.googleusercontent.com/-ZII_RpuwwSI/AAAAAAAAAAI/AAAAAAAAAAA/AMZuucniMXYEhTlxrxF23AzBBmVBPMn0pg/s128-c0x00000000-cc-rp-mo/photo.jpg',5,'اشكر و التقدير للأخوة في أنامل الخبرة على تميزهم و خدماتهم الرائعة .\r\nعمالة مهنيتها عالية في توصيل و توزيع الكاميرات باحترافية و إتقان .\r\nأخلاق رفيعة مع مشرف العمل و انا احترام تمام من بقية زملاءه .\r\nو على رأس الهرم شكرنا للأخ القدير أبو نايف على دماثة أخلاقه و رقي أسلوبه .',0,1,'2021-01-10 08:41:25','2021-01-21 08:09:01'),(27,'عبدالله الخنفري','not_found','https://lh6.googleusercontent.com/-ZII_RpuwwSI/AAAAAAAAAAI/AAAAAAAAAAA/AMZuucniMXYEhTlxrxF23AzBBmVBPMn0pg/s128-c0x00000000-cc-rp-mo/photo.jpg',5,'Thanks and appreciation to the brothers in the most experienced fields for their excellence and wonderful services.\r\nHighly professional employment in delivering and distributing cameras professionally and professionally.\r\nHigh manners with a supervisor work and I fully respect the rest of his colleagues.\r\nAnd at the top of the pyramid, we thanked the esteemed brother Abu Nayef for his gentleness of manners and the sophistication of his style.',0,1,'2021-01-21 08:14:25','2021-03-31 09:52:04'),(28,'مشاري البجيدي','not_found','https://lh3.googleusercontent.com/a-/AOh14GjDmatDpcjY8KZ7hu1UJmo344IDDG90KgHBjObx=s128-c0x00000000-cc-rp-mo',5,'اقسم بالله تعامل راقي واسلوب لطيف وخاصة من الاخ احمد السوداني والطاقم النيباني والهندي شي يثلج الصدر بالامانه',0,1,'2021-01-26 13:40:38','2021-03-31 09:52:58'),(29,'ابوبندر الشلوي','not_found','https://lh3.googleusercontent.com/a-/AOh14GgD84UXEPxtRWNSXQPE-YQXKWXXegsZHu9U3sy73g=s128-c0x00000000-cc-rp-mo-ba2',5,'عميل متميز وراقي في التعامل في قمه الاخلاق يعطيك الف عافيه وشكر لك',0,1,'2021-01-28 09:11:13','2021-03-31 09:53:09'),(30,'Faisal Al-Shammari','not_found','https://lh5.googleusercontent.com/-zuFGqAWi1N0/AAAAAAAAAAI/AAAAAAAAAAA/AMZuuckk4syUmPFz1zuzWh-2JYnKzE4inQ/s128-c0x00000000-cc-rp-mo/photo.jpg',5,'بصراحة مبدعين في دقة المواعيد وجودة العمل والاخلاق والتعامل\r\nالشكر للفنيين ابو مروان وابو احمد المهندس علاء والشكر موصول للاخ العزيز ابو نايف بالتوفيق وللأمام',0,1,'2021-01-28 17:54:26','2021-03-31 09:53:23'),(31,'ibrahim abuhadi','not_found','https://lh5.googleusercontent.com/-MWGMQ6o721o/AAAAAAAAAAI/AAAAAAAAAAA/AMZuucmYlcVcH8zfqPnnSwSaHFmfW4Ma6g/s128-c0x00000000-cc-rp-mo/photo.jpg',4,'من المبكر الحكم على جودة العمل بما انه تم تركيب الأجهزة امس 30/1/2021. لكن أستطيع أن أجزم بأن عملهم احترافي سواء فيما يتعلق بالشبكات او نظام الكاميرات. يقترحون عليك الحلول المناسبة وليست المكلفة. تعاملهم راقي سواء من المهندس المشرف على العمل وخاصة في ظل كثرة اسئلتي له أو من رئيسهم الذي تواصلت معه بشكل غير مباشر وكأنه يعرفني من قبل.',0,1,'2021-01-31 05:24:08','2021-03-31 09:54:39'),(32,'Zuhair AlKhayat','not_found','https://lh3.googleusercontent.com/a-/AOh14GiB1pXFZTNCplx8ycfSP2FH_8Sp2CXhZttqmm6biw=s128-c0x00000000-cc-rp-mo-ba2',5,'Great installation team and products, I used the services for my home and I am satisfied with the results.',0,1,'2021-03-08 13:57:29','2021-03-31 09:54:49'),(33,'جواهر الحربي','not_found','https://lh3.googleusercontent.com/-HdD0sdrZEnE/AAAAAAAAAAI/AAAAAAAAAAA/AMZuucmoUZIMs3Zm_DwL6SNHpjRlyATjXw/s128-c0x00000000-cc-rp-mo/photo.jpg',5,'صراحه تجربتي معكم جداًرائعه\r\nأسعارمناسبه وكاميرات جودتهاعاليه\r\nطاقم العمل ماشاءالله لاقوةإلابالله فنيين مبدعين عمل متقن بأمانه وقمه بحسن التعامل والأخلاق جعل الله عملنا وعملكم كله خالصاً لوجهه الكريم\r\nجزاكم الله الجنه',0,1,'2021-03-17 08:50:17','2021-03-31 09:54:08'),(34,'نهله H','not_found','https://lh6.googleusercontent.com/-ORG4POTGILM/AAAAAAAAAAI/AAAAAAAAAAA/AMZuuckwk22DsrAXedEgiK05SyWPeSI9PA/s128-c0x00000000-cc-rp-mo-ba2/photo.jpg',5,'تجربتي كانت رائعة ولله الحمد تعامل جيد وواضح من ناحية تفاصيل الخدمه والسعر والتوقيت وخيارات متعدده تناسب الجميع والأهم جودة المنتجات وطريقة تركيبها وتسليكها بطريقة مرتبه تعكس احترافية طاقم العمل الفني والادارة الجيدة ، انا ممتنه لهم وانصحكم بالتعامل معهم .',0,1,'2021-03-23 07:33:43','2021-03-31 09:53:42'),(35,'Zuhair AlKhayat','not_found','https://lh3.googleusercontent.com/a-/AOh14GiB1pXFZTNCplx8ycfSP2FH_8Sp2CXhZttqmm6biw=s128-c0x00000000-cc-rp-mo-ba2',5,'Great installation team and products, I used the services for my home and I am satisfied with the results.',0,1,'2021-03-31 09:55:08','2021-03-31 09:58:40'),(36,'ibrahim abuhadi','not_found','https://lh5.googleusercontent.com/-MWGMQ6o721o/AAAAAAAAAAI/AAAAAAAAAAA/AMZuucmYlcVcH8zfqPnnSwSaHFmfW4Ma6g/s128-c0x00000000-cc-rp-mo/photo.jpg',4,'It is too early to judge the quality of work since the devices were installed yesterday 1/30/2021. But I can be certain that their work is professional, whether it is in terms of networks or the camera system. They suggest appropriate, not expensive, solutions. Their treatment is sophisticated, whether from the engineer supervising the work, especially in light of the many questions I asked to him or their boss, whom I contacted indirectly, as if he knew me before.',0,1,'2021-03-31 09:55:08','2021-03-31 09:58:31'),(37,'نهله H','not_found','https://lh6.googleusercontent.com/-ORG4POTGILM/AAAAAAAAAAI/AAAAAAAAAAA/AMZuuckwk22DsrAXedEgiK05SyWPeSI9PA/s128-c0x00000000-cc-rp-mo-ba2/photo.jpg',5,'تجربتي كانت رائعة ولله الحمد تعامل جيد وواضح من ناحية تفاصيل الخدمه والسعر والتوقيت وخيارات متعدده تناسب الجميع والأهم جودة المنتجات وطريقة تركيبها وتسليكها بطريقة مرتبه تعكس احترافية طاقم العمل الفني والادارة الجيدة ، انا ممتنه لهم وانصحكم بالتعامل معهم .',0,1,'2021-03-31 09:55:08','2021-03-31 09:58:21'),(38,'جواهر الحربي','not_found','https://lh3.googleusercontent.com/-HdD0sdrZEnE/AAAAAAAAAAI/AAAAAAAAAAA/AMZuucmoUZIMs3Zm_DwL6SNHpjRlyATjXw/s128-c0x00000000-cc-rp-mo/photo.jpg',5,'Frankly, my experience with you is very wonderful\r\nAffordable prices and high quality cameras\r\nThe staff, Mashallah, to the power of God, creative technicians, work well, safely, and with good behavior and ethics. May God make our work and all of your work sincere for his honorable sake.\r\nMay God reward you with heaven',0,1,'2021-03-31 09:55:08','2021-03-31 09:58:11'),(39,'Zuhair AlKhayat','not_found','https://lh3.googleusercontent.com/a-/AOh14GiB1pXFZTNCplx8ycfSP2FH_8Sp2CXhZttqmm6biw=s128-c0x00000000-cc-rp-mo-ba2',5,'Great installation team and products, I used the services for my home and I am satisfied with the results.',0,1,'2021-03-31 09:58:49','2021-05-19 09:54:35'),(40,'ibrahim abuhadi','https://www.google.com/maps/contrib/112900232838009928173/reviews','https://lh5.googleusercontent.com/-MWGMQ6o721o/AAAAAAAAAAI/AAAAAAAAAAA/AMZuucmYlcVcH8zfqPnnSwSaHFmfW4Ma6g/s128-c0x00000000-cc-rp-mo/photo.jpg',4,'It is too early to judge the quality of work since the devices were installed yesterday 1/30/2021. But I can be certain that their work is professional, whether it is in terms of networks or the camera system. They suggest appropriate, not expensive, solutions. Their treatment is sophisticated, whether from the engineer supervising the work, especially in light of the many questions I asked to him or their boss, whom I contacted indirectly, as if he knew me before.',1612070541,0,'2021-03-31 09:58:49','2021-03-31 09:58:49'),(41,'نهله H','https://www.google.com/maps/contrib/107996330292926753677/reviews','https://lh6.googleusercontent.com/-ORG4POTGILM/AAAAAAAAAAI/AAAAAAAAAAA/AMZuuckwk22DsrAXedEgiK05SyWPeSI9PA/s128-c0x00000000-cc-rp-mo-ba2/photo.jpg',5,'تجربتي كانت رائعة ولله الحمد تعامل جيد وواضح من ناحية تفاصيل الخدمه والسعر والتوقيت وخيارات متعدده تناسب الجميع والأهم جودة المنتجات وطريقة تركيبها وتسليكها بطريقة مرتبه تعكس احترافية طاقم العمل الفني والادارة الجيدة ، انا ممتنه لهم وانصحكم بالتعامل معهم .',1616481497,0,'2021-03-31 09:58:49','2021-03-31 09:58:49'),(42,'جواهر الحربي','https://www.google.com/maps/contrib/103860156753481171265/reviews','https://lh3.googleusercontent.com/-HdD0sdrZEnE/AAAAAAAAAAI/AAAAAAAAAAA/AMZuucmoUZIMs3Zm_DwL6SNHpjRlyATjXw/s128-c0x00000000-cc-rp-mo/photo.jpg',5,'Frankly, my experience with you is very wonderful\nAffordable prices and high quality cameras\nThe staff, Mashallah, to the power of God, creative technicians, work well, safely, and with good behavior and ethics. May God make our work and all of your work sincere for his honorable sake.\nMay God reward you with heaven',1615970660,0,'2021-03-31 09:58:49','2021-03-31 09:58:49'),(43,'مياس الموشكي','not_found','https://lh6.googleusercontent.com/-vaz-uqH9rQQ/AAAAAAAAAAI/AAAAAAAAAAA/AMZuucl-HL2ydgmjo2KpPEZOrNbD3-xKCQ/s128-c0x00000000-cc-rp-mo/photo.jpg',4,'ماشاء الله. 🌹🌹\r\nتعامل ممتاز.. وفنيين وعاملين.. أكثر من رائعين. كادر متميز بصراحه. 🌸🌸\r\n*دمتم متألقين*🌺🌺',0,1,'2021-04-04 07:05:48','2021-05-19 09:54:13'),(44,'SALEM ALKHAMIS','not_found','https://lh3.googleusercontent.com/a-/AOh14Ggs8qhjaqG7uf48u-HHTHv4FqRyQJ6TincRsXGDKA=s128-c0x00000000-cc-rp-mo',5,'Wonderful experience, excellent interaction, committed to time and attendance, as well as what distinguishes support and presence in the case of communication\r\nSuggesting the best places to install cameras, as well as offers in prices and discounts',0,1,'2021-05-04 02:58:57','2021-05-19 09:53:24'),(45,'MOH MAS','https://www.google.com/maps/contrib/116275348131030258050/reviews','https://lh3.googleusercontent.com/a/AATXAJwvXnbxixTlnUfPtXqdcnjXwyIB-qqLyy97VfAi=s128-c0x00000000-cc-rp-mo',5,'شركة مختصة ومتكاملة ...تعامل ممتاز جدا ..حرص الادارة على المتابعة والاهتمام بالفنيات والمواعيد..فريق التركيب بقيادة الفني احمد السوداني كان رائع ومتجاوب وسريع بالتنفيذ بحرص ودقة..بشكل عام انصح بالتعامل معهم بصدق👌👍👍👍',1620751563,0,'2021-05-11 17:04:20','2021-05-11 17:04:20'),(46,'عبدالله القحطاني','not_found','https://lh3.googleusercontent.com/a/AATXAJxPJeSgCNCJBh0TwA74OyQ6J5bwuq2Yjz3ksBnn=s128-c0x00000000-cc-rp-mo',5,'يشكرون الأخوة الفضلاء على طيب تعاملهم بعد تركيب نظام المراقبة و جودة دعمهم الفني من حيث الإلمام التام و سرعة التجاوب .\r\n\r\nفلهم الشكر على هذا التميز 💐',0,1,'2021-05-16 18:09:02','2021-05-19 09:53:02'),(47,'عبدالله القحطاني','https://www.google.com/maps/contrib/105716936970285345901/reviews','https://lh3.googleusercontent.com/a/AATXAJxPJeSgCNCJBh0TwA74OyQ6J5bwuq2Yjz3ksBnn=s128-c0x00000000-cc-rp-mo',5,'يشكرون الأخوة الفضلاء على طيب تعاملهم بعد تركيب نظام المراقبة و جودة دعمهم الفني من حيث الإلمام التام و سرعة التجاوب .\n\nفلهم الشكر على هذا التميز 💐',1621188389,0,'2021-05-19 09:54:48','2021-05-19 09:54:48'),(48,'Mohammed Alsahli','not_found','https://lh3.googleusercontent.com/a/AATXAJxdZ5U9VvQJqbzlopW8ACraGhaPZGtXYjB3tFFX=s128-c0x00000000-cc-rp-mo',5,'احب ان اشكر الاخ ابونايف والاخوان جميعاً في ( أنامل الخبرة) على احترافيتهم في العمل وحسن التعامل ويشهد الله انها كلمه حق لمن يعمل بامانة واحترافية ودقة في كل شيء. هنالك تنظيم في عملهم وكل شخص يعرف ماعليه وبدون حتى ان تشوف عليهم. وبمجرد الانتهاء من عملهم سوف تجد مايفوق توقعاتك من النتائج وهذا ماحصل معي. أسأل الله لهم التوفيق والسداد...',0,0,'2021-06-15 10:43:18','2021-07-10 10:28:04'),(49,'Mohammed Alsahli','not_found','https://lh3.googleusercontent.com/a/AATXAJxdZ5U9VvQJqbzlopW8ACraGhaPZGtXYjB3tFFX=s128-c0x00000000-cc-rp-mo',5,'I would like to thank Brother Abu Nayef and all the brothers in (I hope the experience) for their professionalism in work and good dealing, and God bears witness that it is a word of truth for those who work honestly, professionally and accurately in everything. There is an organization in their work and everyone knows what it is and without even seeing them. Once you have completed their work, you will find results that exceed your expectations, and this is what happened to me. May God grant them success...',0,1,'2021-07-10 10:51:55','2021-08-23 09:02:03'),(50,'Basil','https://www.google.com/maps/contrib/102617578154871732317/reviews','https://lh3.googleusercontent.com/a-/AOh14GjT0hT8JhGFJigKpRJ-2EcV4QtjQws5PGi2s3y-LQ=s128-c0x00000000-cc-rp-mo-ba3',5,'شغل جبار وفريق ممتاز جداً واشراف الاخ ابو نايف لايعلى عليه ، والف شكر لهم وعلى حسن تعاملهم ماشاء الله تبارك الله واسعارهم جميله والله يوفقهم وعقبال اكثر من فرع',1623251353,0,'2021-09-09 02:50:32','2021-09-09 02:50:32'),(51,'فارس محمد','https://www.google.com/maps/contrib/113432372227373566650/reviews','https://lh3.googleusercontent.com/a/AATXAJz3YC7Q9Ycn2ZOREsFzvq5RmsqCcSyOZqWBzGgFCA=s128-c0x00000000-cc-rp-mo',5,'صراحه الخدمه ممتازه والشغل مرتب والتواصل معكم كان سهل وأيضًا الي يركبون الكاميرات شغلهم سريع وجباار والكميرات جوده اسطوريه منجد عندهم اي شي ممكن تحتاجه مع تركيب الكاميرات وانصح الكل بالتعامل معهم 😘🖤',1631959235,0,'2021-09-18 10:11:48','2021-09-18 10:11:48'); /*!40000 ALTER TABLE `google_reviews` ENABLE KEYS */; UNLOCK TABLES; DROP TABLE IF EXISTS `larashop_categories`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `larashop_categories` ( `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `slug` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `parent_id` bigint(20) unsigned DEFAULT NULL, `description` mediumtext COLLATE utf8mb4_unicode_ci DEFAULT NULL, `order` int(10) unsigned NOT NULL DEFAULT 1, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=26 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; LOCK TABLES `larashop_categories` WRITE; /*!40000 ALTER TABLE `larashop_categories` DISABLE KEYS */; INSERT INTO `larashop_categories` VALUES (17,'كاميرات واي فاي لا سلكية','كاميرات-واي-فاي-لا-سلكية',NULL,'<p>تعمل كاميرات الواي فاي بشكل اساسي بدون اي توصيلات ويتم ربطها بالجوال لمتابعة الرؤية في اي مكان بالعالم وتختلف المميزات بإختلاف الموديلات</p>',1,'2021-03-20 07:00:49','2021-03-20 07:00:49'),(18,'أجهزة البصمة','أجهزة-البصمة',NULL,NULL,2,'2021-03-21 08:05:45','2021-03-21 08:05:45'),(19,'الإنتركوم','الإنتركوم',NULL,NULL,3,'2021-03-27 07:11:47','2021-03-27 07:11:47'),(20,'داش كاميرا وتتبع مركبات','داش-كاميرا-وتتبع-مركبات',NULL,NULL,4,'2021-03-27 07:40:49','2021-03-27 07:40:49'),(21,'مقويات شبكة','مقويات-شبكة',NULL,NULL,5,'2021-03-29 09:51:12','2021-03-29 09:51:12'),(22,'كاميرات الديجتل','كاميرات-الديجتل',NULL,NULL,6,'2021-05-01 08:37:21','2021-05-01 08:37:21'),(23,'كاميرات PTZ المتحركة','كاميرات-ptz-المتحركة',NULL,NULL,7,'2021-05-27 08:57:59','2021-05-27 08:57:59'),(24,'وحدات التخزين الرقمي','وحدات-التخزين-الرقمي',NULL,NULL,8,'2021-06-05 12:31:46','2021-06-05 12:31:46'),(25,'اجهزة العرض والتسجيل','اجهزة-العرض-والتسجيل',NULL,NULL,9,'2021-08-31 09:14:58','2021-08-31 09:14:58'); /*!40000 ALTER TABLE `larashop_categories` ENABLE KEYS */; UNLOCK TABLES; DROP TABLE IF EXISTS `larashop_category_larashop_product`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `larashop_category_larashop_product` ( `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, `larashop_category_id` bigint(20) unsigned NOT NULL, `larashop_product_id` bigint(20) unsigned NOT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, PRIMARY KEY (`id`), KEY `larashop_category_larashop_product_larashop_category_id_foreign` (`larashop_category_id`), KEY `larashop_category_larashop_product_larashop_product_id_foreign` (`larashop_product_id`), CONSTRAINT `larashop_category_larashop_product_larashop_category_id_foreign` FOREIGN KEY (`larashop_category_id`) REFERENCES `larashop_categories` (`id`) ON DELETE CASCADE, CONSTRAINT `larashop_category_larashop_product_larashop_product_id_foreign` FOREIGN KEY (`larashop_product_id`) REFERENCES `larashop_products` (`id`) ON DELETE CASCADE ) ENGINE=InnoDB AUTO_INCREMENT=322 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; LOCK TABLES `larashop_category_larashop_product` WRITE; /*!40000 ALTER TABLE `larashop_category_larashop_product` DISABLE KEYS */; INSERT INTO `larashop_category_larashop_product` VALUES (270,17,227,NULL,NULL),(271,17,228,NULL,NULL),(272,17,229,NULL,NULL),(273,17,230,NULL,NULL),(274,17,231,NULL,NULL),(275,17,14,NULL,NULL),(276,17,15,NULL,NULL),(277,17,223,NULL,NULL),(278,17,222,NULL,NULL),(279,17,28,NULL,NULL),(280,17,32,NULL,NULL),(281,17,33,NULL,NULL),(282,17,163,NULL,NULL),(283,17,219,NULL,NULL),(284,17,221,NULL,NULL),(285,17,232,NULL,NULL),(286,18,233,NULL,NULL),(287,18,234,NULL,NULL),(289,19,236,NULL,NULL),(290,19,237,NULL,NULL),(291,19,238,NULL,NULL),(292,19,239,NULL,NULL),(293,20,240,NULL,NULL),(294,20,241,NULL,NULL),(295,20,242,NULL,NULL),(296,20,243,NULL,NULL),(297,21,244,NULL,NULL),(298,21,245,NULL,NULL),(299,21,246,NULL,NULL),(300,22,247,NULL,NULL),(301,22,248,NULL,NULL),(302,22,249,NULL,NULL),(303,22,250,NULL,NULL),(304,22,251,NULL,NULL),(305,22,252,NULL,NULL),(306,22,253,NULL,NULL),(307,22,254,NULL,NULL),(308,22,255,NULL,NULL),(309,23,256,NULL,NULL),(310,23,257,NULL,NULL),(311,23,258,NULL,NULL),(312,24,259,NULL,NULL),(313,24,260,NULL,NULL),(314,24,261,NULL,NULL),(315,24,262,NULL,NULL),(316,24,263,NULL,NULL),(317,24,264,NULL,NULL),(318,24,265,NULL,NULL),(319,24,266,NULL,NULL),(320,17,267,NULL,NULL),(321,25,268,NULL,NULL); /*!40000 ALTER TABLE `larashop_category_larashop_product` ENABLE KEYS */; UNLOCK TABLES; DROP TABLE IF EXISTS `larashop_products`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `larashop_products` ( `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `slug` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `parent_id` bigint(20) unsigned DEFAULT NULL, `description` text COLLATE utf8mb4_unicode_ci DEFAULT NULL, `type` tinyint(1) NOT NULL DEFAULT 0, `hidden` tinyint(1) NOT NULL DEFAULT 0, `new` tinyint(1) NOT NULL DEFAULT 0, `featured` tinyint(1) NOT NULL DEFAULT 0, `has_discount` tinyint(1) NOT NULL DEFAULT 0, `price` int(10) unsigned NOT NULL, `old_price` int(10) unsigned DEFAULT NULL, `qty` int(10) unsigned DEFAULT NULL, `max_qty` int(10) unsigned DEFAULT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, `deleted_at` timestamp NULL DEFAULT NULL, `calc_type` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `calc_system` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `calc_material` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `calc_resolution` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `calc_ports` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `calc_max_resolution` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=269 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; LOCK TABLES `larashop_products` WRITE; /*!40000 ALTER TABLE `larashop_products` DISABLE KEYS */; INSERT INTO `larashop_products` VALUES (14,'كاميرا مراقبة خارجي 2 ميجا - ديجتل | Out Door - Camera -2MP','كاميرا-مراقبة-خارجي-2-ميجا-ديجتل-out-door-camera-2mp',NULL,'<p>3.6mm-1080P</p>',0,1,0,0,0,120,NULL,NULL,NULL,'2020-08-10 07:30:18','2021-03-21 06:37:43',NULL,'camera','hd','outdoor','2',NULL,NULL),(15,'كاميرا مراقبة داخلي 5 ميجا - ديجتل | In Door - Camera - H1IT-5MP','كاميرا-مراقبة-داخلي-5-ميجا-ديجتل--in-door-camera-h1it-5mp',NULL,'<p>2.8mm-5MP</p>',0,1,0,0,0,150,NULL,NULL,NULL,'2020-08-10 07:34:40','2021-03-21 06:37:55',NULL,'camera','hd','indoor','5',NULL,'5'),(28,'كاميرا مراقبة خارجي 2 ميجا - ديجتل - بي تي زد ×32 | Out Door - Camera - ptz 2mp /32x','كاميرا-مراقبة-خارجي-2-ميجا-ديجتل-بي-تي-زد-32--out-door-camera-ptz-2mp-32x',NULL,'<p>1080P</p>',0,1,1,0,0,1850,NULL,NULL,NULL,'2020-08-10 08:52:46','2021-03-21 06:38:09',NULL,'camera','hd','outdoor','2',NULL,'2'),(32,'كاميرا مراقبة واي فاي داخلي | Camera WF - ezviz C6CN-IN DOOR','كاميرا-مراقبة-واي-فاي-داخلي-camera-wf-ezviz-c6cn-in-door',NULL,'<p dir=\"RTL\" style=\"margin-left:0in; margin-right:0in; text-align:right\"><span style=\"font-size:11pt\"><span style=\"font-family:Calibri,sans-serif\"><strong><span style=\"font-size:13.0pt\"><span style=\"font-family:&quot;Arial&quot;,sans-serif\">كتلوج كاميرا واي فاي الداخلية </span></span></strong><strong><span dir=\"LTR\" style=\"font-size:13.0pt\">C6CN</span></strong><strong><span style=\"font-size:13.0pt\"><span style=\"font-family:&quot;Arial&quot;,sans-serif\">:</span></span></strong></span></span></p>\r\n\r\n<ul>\r\n <li dir=\"RTL\" style=\"text-align:right\"><span style=\"font-size:11pt\"><span style=\"font-family:Calibri,sans-serif\"><span style=\"font-size:13.0pt\"><span style=\"font-family:&quot;Arial&quot;,sans-serif\">تتمتع الكاميرا بعدسة ملونة </span></span><span dir=\"LTR\" style=\"font-size:13.0pt\">&nbsp;FHD 1080</span><span style=\"font-size:13.0pt\"><span style=\"font-family:&quot;Arial&quot;,sans-serif\"> بدقة 2 ميجا بكسل ورؤية ليلية حتى 10 متر.</span></span></span></span></li>\r\n <li dir=\"RTL\" style=\"text-align:right\"><span style=\"font-size:11pt\"><span style=\"font-family:Calibri,sans-serif\"><span style=\"font-size:13.0pt\"><span style=\"font-family:&quot;Arial&quot;,sans-serif\">تتصل بالانترنت لاسلكيا </span></span><span dir=\"LTR\" style=\"font-size:13.0pt\">WiFi</span><span style=\"font-size:13.0pt\"><span style=\"font-family:&quot;Arial&quot;,sans-serif\">.</span></span></span></span></li>\r\n <li dir=\"RTL\" style=\"text-align:right\"><span style=\"font-size:11pt\"><span style=\"font-family:Calibri,sans-serif\"><span style=\"font-size:13.0pt\"><span style=\"font-family:&quot;Arial&quot;,sans-serif\">تتميز بخاصية التواصل الصوتي ثنائي الاتجاه.</span></span></span></span></li>\r\n <li dir=\"RTL\" style=\"text-align:right\"><span style=\"font-size:11pt\"><span style=\"font-family:Calibri,sans-serif\"><span style=\"font-size:13.0pt\"><span style=\"font-family:&quot;Arial&quot;,sans-serif\">تدعم ذاكرة </span></span><span dir=\"LTR\" style=\"font-size:13.0pt\">SD</span><span style=\"font-size:13.0pt\"><span style=\"font-family:&quot;Arial&quot;,sans-serif\"> بسعة تخزين حتى 256 قيقابايت.</span></span></span></span></li>\r\n <li dir=\"RTL\" style=\"text-align:right\"><span style=\"font-size:11pt\"><span style=\"font-family:Calibri,sans-serif\"><span style=\"font-size:13.0pt\"><span style=\"font-family:&quot;Arial&quot;,sans-serif\">يمكن تفعيل خاصية التتبع للكاميرا عند اكتشافها لأي حركة مع إلتقاط صور وإرسال تنبيهات الي الجوال المعرف لديها.</span></span></span></span></li>\r\n <li dir=\"RTL\" style=\"text-align:right\"><span style=\"font-size:11pt\"><span style=\"font-family:Calibri,sans-serif\"><span style=\"font-size:13.0pt\"><span style=\"font-family:&quot;Arial&quot;,sans-serif\">تمتلك الكاميرا خاصية الدوران 340 درجة افقياً و90 درجة عمودياً. </span></span></span></span></li>\r\n <li dir=\"RTL\" style=\"text-align:right\"><span style=\"font-size:11pt\"><span style=\"font-family:Calibri,sans-serif\"><span style=\"font-size:13.0pt\"><span style=\"font-family:&quot;Arial&quot;,sans-serif\">تمتلك الكاميرا خاصية الخصوصية، بنقرة واحدة من الجوال في أي زمان ومن أي مكان يمكنك إسدال ستار العدسة وإيقاف الكاميرا عن التصوير، كما يمكنك ايضاً وبذات الطريقة تفعيلها مرة اخرى. </span></span></span></span></li>\r\n <li dir=\"RTL\" style=\"text-align:right\"><span style=\"font-size:11pt\"><span style=\"font-family:Calibri,sans-serif\"><span style=\"font-size:13.0pt\"><span style=\"font-family:&quot;Arial&quot;,sans-serif\">يمكنك تثبيت الكاميرا بالطريقة التي تناسبك، يمكن وضعها علي الطاولة أو تثبيتها على السقف أو الجدار. </span></span></span></span></li>\r\n</ul>\r\n\r\n<div id=\"gtx-trans\" style=\"left:622px; position:absolute; top:-6.4px\">\r\n<div class=\"gtx-trans-icon\">&nbsp;</div>\r\n</div>',0,1,0,0,0,280,NULL,NULL,NULL,'2020-08-10 09:15:40','2021-03-21 06:38:21',NULL,NULL,NULL,NULL,NULL,NULL,NULL),(33,'كاميرا مراقبة واي فاي داخلي | Camera WF - ezviz CIC- IN DOOR','كاميرا-مراقبة-واي-فاي-داخلي-camera-wf-ezviz-cic-in-door',NULL,'<pre style=\"margin-left:0in; margin-right:0in; text-align:right\">\r\n<span style=\"font-family:Arial,Helvetica,sans-serif\"><span style=\"font-size:12px\"><strong>كتلوج كاميرا واي فاي الداخلية <span dir=\"LTR\">C1C</span>:</strong></span></span></pre>\r\n\r\n<ul>\r\n <li dir=\"RTL\" style=\"text-align:right\">\r\n <pre>\r\n<span style=\"font-family:Arial,Helvetica,sans-serif\"><span style=\"font-size:12px\"><strong>تتمتع الكاميرا بعدسة ملونة <span dir=\"LTR\"> FHD 1080</span> بدقة 2 ميجا بكسل ورؤية ليلية حتى 6 متر.</strong></span></span></pre>\r\n </li>\r\n <li dir=\"RTL\" style=\"text-align:right\">\r\n <pre>\r\n<span style=\"font-family:Arial,Helvetica,sans-serif\"><span style=\"font-size:12px\"><strong>تتصل بالانترنت لاسلكيا <span dir=\"LTR\">WiFi</span>.</strong></span></span></pre>\r\n </li>\r\n <li dir=\"RTL\" style=\"text-align:right\">\r\n <pre>\r\n<span style=\"font-family:Arial,Helvetica,sans-serif\"><span style=\"font-size:12px\"><strong>تتميز بخاصية التواصل الصوتي ثنائي الاتجاه.</strong></span></span></pre>\r\n </li>\r\n <li dir=\"RTL\" style=\"text-align:right\">\r\n <pre>\r\n<span style=\"font-family:Arial,Helvetica,sans-serif\"><span style=\"font-size:12px\"><strong>تتميز بخاصية الكشف عن الأجسام الحرارية المتحركة، ففي ذلك تقليل الإنذارات الكاذبة إلى حد كبير وتوفير التشغيل لزمن طويل. وعليه ستتلقى إشعارات فورية جديرة بالملاحظة فقط، مثل شخص ما يتحرك في الغرفة او حيوان ولا تتفاعل مع تحرك الستائر وغيرها.</strong></span></span></pre>\r\n </li>\r\n <li dir=\"RTL\" style=\"text-align:right\">\r\n <pre>\r\n<span style=\"font-family:Arial,Helvetica,sans-serif\"><span style=\"font-size:12px\"><strong>تدعم ذاكرة <span dir=\"LTR\">SD</span> بسعة تخزين حتى 256 قيقابايت.</strong></span></span></pre>\r\n </li>\r\n <li dir=\"RTL\" style=\"text-align:right\">\r\n <pre>\r\n<span style=\"font-family:Arial,Helvetica,sans-serif\"><span style=\"font-size:12px\"><strong>تمتلك الكاميرا عدسة عريضة بمقدار 130 درجة. </strong></span></span></pre>\r\n </li>\r\n <li dir=\"RTL\" style=\"text-align:right\">\r\n <pre>\r\n<span style=\"font-family:Arial,Helvetica,sans-serif\"><span style=\"font-size:12px\"><strong> يمكنك تثبيت الكاميرا بالطريقة التي تناسبك من خلال قاعدة مغناطيسية ، يمكن وضعها على الطاولة أو تثبيتها علي السقف أو الجدار.</strong></span></span></pre>\r\n </li>\r\n</ul>',0,1,0,0,0,230,NULL,NULL,NULL,'2020-08-10 09:18:03','2021-03-21 06:38:48',NULL,NULL,NULL,NULL,NULL,NULL,NULL),(163,'تي بي لينك مقوي شبكه 300 | TP Link -300 c','تي-بي-لينك-مقوي-شبكه-300-tp-link-300-c',NULL,'<p>AC300</p>',0,1,0,0,0,150,NULL,NULL,NULL,'2020-08-13 09:45:24','2021-03-21 06:39:25',NULL,NULL,NULL,NULL,NULL,NULL,NULL),(219,'باقة الـ3 كاميرا ديجتل','باقة-ال3-كاميرا-ديجتل',NULL,'<p><strong>تشمل الباقة :</strong></p>\r\n\r\n<p>- التركيب والبرمجة</p>\r\n\r\n<p>- جهاز عرض وتسجيل DVR 4CH AHD</p>\r\n\r\n<p>- كيبل 60 متر نحاس ذا جودة عالية</p>\r\n\r\n<p>- هارديسك سعة 1&nbsp;تيرابايت</p>\r\n\r\n<p>- ضمان سنتين على جميع الملحقات</p>\r\n\r\n<p><strong>تتوفر الباقة بثلاث عروض اسعار مختلفة لدقه كاميرات مختلفه</strong></p>\r\n\r\n<p>- دقة الـ2 ميجا بسعر 1420 بدل 1695</p>\r\n\r\n<p>- دقة الـ5 ميجا بسعر 1680 بدل 2010</p>\r\n\r\n<p>- دقة الـ8 ميجا بسعر 2190 بدل 2586</p>',0,1,0,0,0,2190,2586,NULL,NULL,'2020-10-28 07:59:39','2021-03-21 06:39:39',NULL,NULL,NULL,NULL,NULL,NULL,NULL),(221,'باقة الـ2 كاميرا ديجتل','باقة-ال2-كاميرا-ديجتل',NULL,'<p><strong>تشمل الباقة :</strong></p>\r\n\r\n<p>- التركيب والبرمجة</p>\r\n\r\n<p>- جهاز عرض وتسجيل DVR 4CH AHD</p>\r\n\r\n<p>- كيبل 20 متر نحاس ذا جودة عالية</p>\r\n\r\n<p>- هارديسك سعة 1&nbsp;تيرابايت</p>\r\n\r\n<p>- ضمان سنتين على جميع الملحقات</p>\r\n\r\n<p><strong>تتوفر الباقة بثلاث عروض اسعار مختلفة لدقه كاميرات مختلفه</strong></p>\r\n\r\n<p>- دقة الـ2 ميجا بسعر 1120 بدل 1335</p>\r\n\r\n<p>- دقة الـ5 ميجا بسعر 1360 بدل 1595</p>\r\n\r\n<p>- دقة الـ8 ميجا بسعر 1690 بدل 2019</p>',0,1,0,0,0,1690,2019,NULL,NULL,'2020-10-28 08:06:48','2021-03-21 06:40:03',NULL,NULL,NULL,NULL,NULL,NULL,NULL),(222,'كاميرا مراقبة خارجي 5 ميجا - ملون - صغير | Out Door - small Camera - (colour) H1-5MP','كاميرا-مراقبة-خارجي-5-ميجا-ملون-صغير-out-door-small-camera-colour-h1-5mp',NULL,'<p>كاميرا بدقة 5 ميجا بيكسل<br />\r\n24/7 التصوير بالألوان الكاملة<br />\r\nضوء تكميلي دافئ بمدى 20 م<br />\r\nتصوير واضح حتى في ظل الإضاءة الخلفية القوية بفضل تقنية WDR الحقيقية 130 ديسيبل<br />\r\nتوفر تقنية 3D DNR صورًا واضحة وحادة<br />\r\nمقاومة الماء والغبار (IP67)<br />\r\n4 في 1 (4 إشارات TVI / AHD / CVI / CVBS قابلة للتبديل)</p>\r\n\r\n<div id=\"gtx-trans\" style=\"left:845px; position:absolute; top:40.2px\">\r\n<div class=\"gtx-trans-icon\">&nbsp;</div>\r\n</div>',0,1,0,1,0,230,NULL,NULL,NULL,'2020-11-18 06:45:59','2021-03-21 06:40:17',NULL,'camera','hd','outdoor','5',NULL,'5'),(223,'كاميرا مراقبة خارجي 5 ميجا - ملون - كبير | Out Door - big Camera - (colour) H1-5MP','كاميرا-مراقبة-خارجي-5-ميجا-ملون-كبير-out-door-big-camera-colour-h1-5mp',NULL,'<p>كاميرا بدقة 5 ميجا بيكسل<br />\r\n24/7 التصوير بالألوان الكاملة<br />\r\nضوء تكميلي دافئ بمدى 40 م<br />\r\nتصوير واضح حتى في ظل الإضاءة الخلفية القوية بفضل تقنية WDR الحقيقية 130 ديسيبل<br />\r\nتوفر تقنية 3D DNR صورًا واضحة وحادة<br />\r\nمقاومة الماء والغبار (IP67)<br />\r\n4 في 1 (4 إشارات TVI / AHD / CVI / CVBS قابلة للتبديل)</p>',0,1,1,1,0,280,NULL,NULL,NULL,'2020-11-18 06:48:47','2021-03-21 06:40:31',NULL,'camera','hd','outdoor','5',NULL,'5'),(227,'كاميرا واي فاي MODEL : C1C','كاميرا-واي-فاي-model-c1c',NULL,'<p>توفر كاميرا C1C العديد من المزايا الهامة ومن ابرزها :</p>\r\n\r\n<p>1- متابعة عن طريق الجوال في اي مكان بالعالم&nbsp;</p>\r\n\r\n<p>2- سهولة في التركيب&nbsp;</p>\r\n\r\n<p>3- رؤية ليلية تصل حتى 12 متر&nbsp;</p>\r\n\r\n<p>4- تحتوي على منفذ ذاكرة وتخزين سحابي</p>\r\n\r\n<p>5- رصد الحركة وارسال تنبيهات فورية</p>\r\n\r\n<p>6- تحتوي على مايكرفون وسماعات للتواصل عن طريق الجوال</p>',0,0,0,0,0,230,NULL,NULL,NULL,'2021-03-20 07:07:13','2021-03-20 07:07:13',NULL,NULL,NULL,NULL,NULL,NULL,NULL),(228,'كاميرا واي فاي MODEL : C1T','كاميرا-واي-فاي-model-c1t',NULL,'<p>توفر كاميرا C1T العديد من المزايا الهامة ومن ابرزها :</p>\r\n\r\n<p>1- متابعة عن طريق الجوال في اي مكان بالعالم&nbsp;</p>\r\n\r\n<p>2- سهولة في التركيب&nbsp;</p>\r\n\r\n<p>3- رؤية ليلية تصل حتى 12 متر&nbsp;</p>\r\n\r\n<p>4- تحتوي على منفذ ذاكرة وتخزين سحابي</p>\r\n\r\n<p>5- رصد الحركة وارسال تنبيهات فورية</p>\r\n\r\n<p>6- تحتوي على مايكرفون وسماعات للتواصل عن طريق الجوال</p>\r\n\r\n<div id=\"gtx-trans\" style=\"left:364px; position:absolute; top:-7px\">\r\n<div class=\"gtx-trans-icon\">&nbsp;</div>\r\n</div>',0,0,0,0,0,250,NULL,NULL,NULL,'2021-03-20 07:12:09','2021-03-20 07:12:09',NULL,NULL,NULL,NULL,NULL,NULL,NULL),(229,'كاميرا واي فاي MODEL : C6CN','كاميرا-واي-فاي-model-c6cn',NULL,'<p>توفر كاميرا C6CN العديد من المزايا الهامة ومن ابرزها :</p>\r\n\r\n<p>1- متابعة عن طريق الجوال في اي مكان بالعالم&nbsp;</p>\r\n\r\n<p>2- سهولة في التركيب&nbsp;</p>\r\n\r\n<p>3- خاصية الدروان</p>\r\n\r\n<p>4- رؤية ليلية تصل حتى 10 متر&nbsp;</p>\r\n\r\n<p>5- تحتوي على منفذ ذاكرة وتخزين سحابي</p>\r\n\r\n<p>6- رصد الحركة وارسال تنبيهات فورية</p>\r\n\r\n<p>7- تحتوي على مايكرفون وسماعات للتواصل عن طريق الجوال</p>',0,0,0,0,0,280,NULL,NULL,NULL,'2021-03-20 07:25:05','2021-03-20 07:25:05',NULL,NULL,NULL,NULL,NULL,NULL,NULL),(230,'كاميرا واي فاي MODEL : C6TC','كاميرا-واي-فاي-model-c6tc',NULL,'<p>توفر كاميرا C1C العديد من المزايا الهامة ومن ابرزها :</p>\r\n\r\n<p>1- متابعة عن طريق الجوال في اي مكان بالعالم&nbsp;</p>\r\n\r\n<p>2- سهولة في التركيب&nbsp;</p>\r\n\r\n<p>3- رؤية ليلية تصل حتى 10 متر&nbsp;</p>\r\n\r\n<p>4- تحتوي على منفذ ذاكرة وتخزين سحابي</p>\r\n\r\n<p>5- رصد الحركة وارسال تنبيهات فورية</p>\r\n\r\n<p>6- تحتوي على مايكرفون وسماعات للتواصل عن طريق الجوال</p>\r\n\r\n<p>7- خاصية الدروان والخصوصية</p>',0,0,0,0,0,300,NULL,NULL,NULL,'2021-03-20 07:51:06','2021-03-20 07:51:06',NULL,NULL,NULL,NULL,NULL,NULL,NULL),(231,'كاميرا واي فاي MODEL : C3A','كاميرا-واي-فاي-model-c3a',NULL,'<p>توفر كاميرا C1T العديد من المزايا الهامة ومن ابرزها :</p>\r\n\r\n<p>1- متابعة عن طريق الجوال في اي مكان بالعالم&nbsp;</p>\r\n\r\n<p>2- سهولة في التركيب&nbsp;</p>\r\n\r\n<p>3- رؤية ليلية تصل حتى 7.5 متر&nbsp;</p>\r\n\r\n<p>4- تحتوي على منفذ ذاكرة وتخزين سحابي</p>\r\n\r\n<p>5- رصد الحركة وارسال تنبيهات فورية</p>\r\n\r\n<p>6- تحتوي على مايكرفون وسماعات للتواصل عن طريق الجوال</p>\r\n\r\n<p>7- بطارية تدوم لعمر طويل</p>',0,0,0,0,0,420,450,NULL,NULL,'2021-03-20 08:05:30','2021-07-11 15:41:39',NULL,NULL,NULL,NULL,NULL,NULL,NULL),(232,'كاميرا واي فاي MODEL : C3W','كاميرا-واي-فاي-model-c3w',NULL,'<p>توفر كاميرا C1T العديد من المزايا الهامة ومن ابرزها :</p>\r\n\r\n<p>1- متابعة عن طريق الجوال في اي مكان بالعالم&nbsp;</p>\r\n\r\n<p>2- سهولة في التركيب&nbsp;</p>\r\n\r\n<p>3- رؤية ليلية تصل حتى 7.5 متر&nbsp;</p>\r\n\r\n<p>4- تحتوي على منفذ ذاكرة وتخزين سحابي</p>\r\n\r\n<p>5- رصد الحركة وارسال تنبيهات فورية</p>\r\n\r\n<p>6- تحتوي على مايكرفون وسماعات للتواصل عن طريق الجوال</p>',0,0,0,0,0,350,NULL,NULL,NULL,'2021-03-21 06:47:35','2021-03-21 11:11:24',NULL,NULL,NULL,NULL,NULL,NULL,NULL),(233,'جهاز بصمة MODEL : F22','جهاز-بصمة-model-f22',NULL,'<p dir=\"RTL\" style=\"margin-left:0in; margin-right:0in; text-align:justify\"><span style=\"font-size:18pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\"><strong><span style=\"font-size:12.0pt\"><span style=\"font-family:&quot;Sakkal Majalla&quot;\">جهاز&nbsp; البصمة </span></span></strong><strong><span dir=\"LTR\" style=\"font-size:12.0pt\"><span style=\"font-family:&quot;Sakkal Majalla&quot;\">WiFi ZK Teco F22</span></span></strong><strong><span style=\"font-size:12.0pt\"><span style=\"font-family:&quot;Sakkal Majalla&quot;\">:</span></span></strong></span></span></p>\r\n\r\n<ul>\r\n <li dir=\"RTL\" style=\"text-align:justify\"><span style=\"font-size:18pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\"><span style=\"font-size:12.0pt\"><span style=\"font-family:&quot;Sakkal Majalla&quot;\">تخزين عدد 3.000 مستخدم.</span></span></span></span></li>\r\n <li dir=\"RTL\" style=\"text-align:justify\"><span style=\"font-size:18pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\"><span style=\"font-size:12.0pt\"><span style=\"font-family:&quot;Sakkal Majalla&quot;\">تخزين عدد 30.000 سجل حضور وانصراف.</span></span></span></span></li>\r\n <li dir=\"RTL\" style=\"text-align:justify\"><span style=\"font-size:18pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\"><span style=\"font-size:12.0pt\"><span style=\"font-family:&quot;Sakkal Majalla&quot;\">شاشة عرض ملونة </span></span><span dir=\"LTR\" style=\"font-size:12.0pt\"><span style=\"font-family:&quot;Sakkal Majalla&quot;\">TFT</span></span><span style=\"font-size:12.0pt\"><span style=\"font-family:&quot;Sakkal Majalla&quot;\"> مقاس 2.8 بوصة.</span></span></span></span></li>\r\n <li dir=\"RTL\" style=\"text-align:justify\"><span style=\"font-size:18pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\"><span style=\"font-size:12.0pt\"><span style=\"font-family:&quot;Sakkal Majalla&quot;\">يعمل كجهاز حضور وإنصراف والتحكم بالدخول.</span></span></span></span></li>\r\n <li dir=\"RTL\" style=\"text-align:justify\"><span style=\"font-size:18pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\"><span style=\"font-size:12.0pt\"><span style=\"font-family:&quot;Sakkal Majalla&quot;\">التحقق عن طريق البصمة والكرت وكلمة السر.</span></span></span></span></li>\r\n <li dir=\"RTL\" style=\"text-align:justify\"><span style=\"font-size:18pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\"><span style=\"font-size:12.0pt\"><span style=\"font-family:&quot;Sakkal Majalla&quot;\">الربط بالانترنت عن طريق الواي فاى أو المنفذ </span></span><span dir=\"LTR\" style=\"font-size:12.0pt\"><span style=\"font-family:&quot;Sakkal Majalla&quot;\">RJ45</span></span><span style=\"font-size:12.0pt\"><span style=\"font-family:&quot;Sakkal Majalla&quot;\">.</span></span></span></span></li>\r\n <li dir=\"RTL\" style=\"text-align:justify\"><span style=\"font-size:18pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\"><span style=\"font-size:12.0pt\"><span style=\"font-family:&quot;Sakkal Majalla&quot;\">التعرف السريع على الأصابع الجافة والمبللة والخشنة.</span></span></span></span></li>\r\n <li dir=\"RTL\" style=\"text-align:justify\"><span style=\"font-size:18pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\"><span style=\"font-size:12.0pt\"><span style=\"font-family:&quot;Sakkal Majalla&quot;\">دعم متعدد اللغات.</span></span></span></span></li>\r\n <li dir=\"RTL\" style=\"text-align:justify\"><span style=\"font-size:18pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\"><span style=\"font-size:12.0pt\"><span style=\"font-family:&quot;Sakkal Majalla&quot;\">يمنع تسجيل الوجه المكرر ويدعم وظيفة الكشف عن الوجه المزيف.</span></span></span></span></li>\r\n</ul>',0,0,0,0,0,850,NULL,NULL,NULL,'2021-03-21 08:14:57','2021-03-21 08:14:57',NULL,NULL,NULL,NULL,NULL,NULL,NULL),(234,'جهاز بصمة MODEL : MB1000','جهاز-بصمة-model-mb1000',NULL,'<p dir=\"RTL\" style=\"margin-left:0in; margin-right:0in; text-align:justify\"><span style=\"font-size:18pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\"><strong><span style=\"font-size:12.0pt\"><span style=\"font-family:&quot;Sakkal Majalla&quot;\">جهاز البصمة </span></span></strong><strong><span dir=\"LTR\" style=\"font-size:12.0pt\"><span style=\"font-family:&quot;Sakkal Majalla&quot;\">Face ZK MB1000</span></span></strong><strong><span style=\"font-size:12.0pt\"><span style=\"font-family:&quot;Sakkal Majalla&quot;\">:</span></span></strong></span></span></p>\r\n\r\n<ul>\r\n <li dir=\"RTL\" style=\"text-align:justify\"><span style=\"font-size:18pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\"><span style=\"font-size:12.0pt\"><span style=\"font-family:&quot;Sakkal Majalla&quot;\">يسجل عدد 3000 مستخدم.</span></span></span></span></li>\r\n <li dir=\"RTL\" style=\"text-align:justify\"><span style=\"font-size:18pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\"><span style=\"font-size:12.0pt\"><span style=\"font-family:&quot;Sakkal Majalla&quot;\">يحتفظ بعدد 100.000 سجل للحضور والانصراف للموظفين.</span></span></span></span></li>\r\n <li dir=\"RTL\" style=\"text-align:justify\"><span style=\"font-size:18pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\"><span style=\"font-size:12.0pt\"><span style=\"font-family:&quot;Sakkal Majalla&quot;\">شاشة عرض بمقاس 2.8 بوصة.</span></span></span></span></li>\r\n <li dir=\"RTL\" style=\"text-align:justify\"><span style=\"font-size:18pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\"><span style=\"font-size:12.0pt\"><span style=\"font-family:&quot;Sakkal Majalla&quot;\">يعمل كجهاز حضور وإنصراف والتحكم بالدخول.</span></span></span></span></li>\r\n <li dir=\"RTL\" style=\"text-align:justify\"><span style=\"font-size:18pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\"><span style=\"font-size:12.0pt\"><span style=\"font-family:&quot;Sakkal Majalla&quot;\">التحقق عن طريق البصمة والوجه والكرت وكلمة السر.</span></span></span></span></li>\r\n <li dir=\"RTL\" style=\"text-align:justify\"><span style=\"font-size:18pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\"><span style=\"font-size:12.0pt\"><span style=\"font-family:&quot;Sakkal Majalla&quot;\">الربط بالانترنت عن طريق منفذ الشبكة </span></span><span dir=\"LTR\" style=\"font-size:12.0pt\"><span style=\"font-family:&quot;Sakkal Majalla&quot;\">RJ45</span></span><span style=\"font-size:12.0pt\"><span style=\"font-family:&quot;Sakkal Majalla&quot;\">.</span></span></span></span></li>\r\n <li dir=\"RTL\" style=\"text-align:justify\"><span style=\"font-size:18pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\"><span style=\"font-size:12.0pt\"><span style=\"font-family:&quot;Sakkal Majalla&quot;\">التعرف السريع على الأصابع الجافة والمبللة والخشنة.</span></span></span></span></li>\r\n <li dir=\"RTL\" style=\"text-align:justify\"><span style=\"font-size:18pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\"><span style=\"font-size:12.0pt\"><span style=\"font-family:&quot;Sakkal Majalla&quot;\">دعم متعدد اللغات.</span></span></span></span></li>\r\n <li dir=\"RTL\" style=\"text-align:justify\"><span style=\"font-size:18pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\"><span style=\"font-size:12.0pt\"><span style=\"font-family:&quot;Sakkal Majalla&quot;\">يمنع تسجيل الوجه المكرر ويدعم وظيفة الكشف عن الوجه المزيف.</span></span></span></span></li>\r\n</ul>',0,0,0,0,0,1050,NULL,NULL,NULL,'2021-03-21 08:51:36','2021-03-21 08:51:36',NULL,NULL,NULL,NULL,NULL,NULL,NULL),(236,'انتركوم ديجتل MODAL : DS-KIS202','انتركوم-ديجتل-modal-ds-kis202',NULL,'<p>- طقم اتصال داخلي مكون من وحدتين ( جرس خارجي مع كاميرا + شاشة داخلية )</p>\r\n\r\n<p>- كاميرا خارجية عريض تصل لدقة 720P</p>\r\n\r\n<p>- مقاومة للظروف الخارجية ودرجات الحرارة</p>\r\n\r\n<p>- رؤية ليلية تصل لبعد 2 متر&nbsp;</p>\r\n\r\n<p>- شاشة ملونة بمقاس 7 بوصة تتيح التواصل بالصوت والصورة</p>\r\n\r\n<p>- امكانية فتح قفل الباب عن طريق الشاشة</p>\r\n\r\n<p>- امكانية زيادة عدد الوحدات حسب الحاجة ( جرس خارجي او شاشة داخلية )</p>',0,0,0,0,0,650,NULL,NULL,NULL,'2021-03-27 07:17:41','2021-03-27 07:17:41',NULL,NULL,NULL,NULL,NULL,NULL,NULL),(237,'انتركوم رقمي MODAL : DS-KIS602','انتركوم-رقمي-modal-ds-kis602',NULL,'<p>- طقم اتصال داخلي مكون من وحدتين ( جرس خارجي مع كاميرا + شاشة داخلية )</p>\r\n\r\n<p>- كاميرا خارجية عريض تصل لدقة 1080P</p>\r\n\r\n<p>- مقاومة للظروف الخارجية ودرجات الحرارة</p>\r\n\r\n<p>- رؤية ليلية تصل لبعد 2 متر&nbsp;</p>\r\n\r\n<p>- شاشة ملونة بمقاس 7 بوصة تتيح التواصل بالصوت والصورة</p>\r\n\r\n<p>- امكانية فتح قفل الباب عن طريق الشاشة والجوال</p>\r\n\r\n<p>- امكانية زيادة عدد الوحدات حسب الحاجة ( جرس خارجي او شاشة داخلية )</p>',0,0,0,0,0,1250,NULL,NULL,NULL,'2021-03-27 07:28:02','2021-03-27 07:28:02',NULL,NULL,NULL,NULL,NULL,NULL,NULL),(238,'انتركوم رقمي MODAL : DS-KIS604-S(B)','انتركوم-رقمي-modal-ds-kis604-sb',NULL,'<p>- طقم اتصال داخلي مكون من وحدتين ( جرس خارجي مع كاميرا + شاشة داخلية )</p>\r\n\r\n<p>- كاميرا خارجية عريض تصل لدقة 1080P</p>\r\n\r\n<p>- مقاومة للظروف الخارجية ودرجات الحرارة</p>\r\n\r\n<p>- رؤية ليلية تصل لبعد 2 متر&nbsp;</p>\r\n\r\n<p>- شاشة ملونة بمقاس 7 بوصة تتيح التواصل بالصوت والصورة</p>\r\n\r\n<p>- امكانية فتح قفل الباب عن طريق الشاشة والجوال</p>\r\n\r\n<p>- تدعم برمجة البطاقات لفتح الباب</p>\r\n\r\n<p>- امكانية زيادة عدد الوحدات حسب الحاجة ( جرس خارجي او شاشة داخلية )</p>',0,0,1,0,0,1300,NULL,NULL,NULL,'2021-03-27 07:30:48','2021-03-31 09:49:20',NULL,NULL,NULL,NULL,NULL,NULL,NULL),(239,'قفل باب YALE عالي الجودة','قفل-باب-yale-عالي-الجودة',NULL,'<p>- قفل باب خارجي</p>\r\n\r\n<p>- مثالي للتثبيت لأنظمة الإتصال الداخلي</p>\r\n\r\n<p>- استانلس ستيل عالي الجودة</p>\r\n\r\n<p>يدعم الفتح اليدوي</p>',0,0,0,0,0,450,NULL,NULL,NULL,'2021-03-27 07:38:39','2021-03-27 07:38:39',NULL,NULL,NULL,NULL,NULL,NULL,NULL),(240,'داش كاميرا وتتبع مركبات MODEL : JC400P','داش-كاميرا-وتتبع-مركبات-model-jc400p',NULL,'<p>جهاز تتبع وداش كاميرا يحتوي على <span style=\"color:#e74c3c\"><strong>كامرتين منفصلة&nbsp;</strong></span></p>\r\n\r\n<p><span style=\"color:null\">يتم اختيار اماكن التركيب حسب الحاجة</span></p>\r\n\r\n<p>- يربط بالجوال للمتابعة بشكل فوري</p>\r\n\r\n<p>- تواصل مع السائق&nbsp;من خلال المايكروفون</p>\r\n\r\n<p>- متابعة الكاميرات من الجوال بشكل مستمر</p>\r\n\r\n<p>- يدعم ذاكرة خارجية بمساحة 128 جيجا</p>\r\n\r\n<p>- يعمل بواسطة شريحة بيانات محلية&nbsp;</p>\r\n\r\n<p>- ارسال تنبيهات بسلوكيات السائق والمركبة&nbsp;</p>\r\n\r\n<p>- احتوائه على زر نداء استغاثة <span style=\"color:#c0392b\"><strong>SOS</strong></span></p>\r\n\r\n<p><span style=\"color:null\">- ارسال فيديو فوري في حالة وقوع حادث -لا قدر الله-</span></p>\r\n\r\n<p>&nbsp;</p>',0,0,1,0,0,1500,NULL,NULL,NULL,'2021-03-27 08:13:36','2021-03-31 09:49:36',NULL,NULL,NULL,NULL,NULL,NULL,NULL),(241,'داش كاميرا وتتبع مركبات MODEL : JC400','داش-كاميرا-وتتبع-مركبات-model-jc400',NULL,'<p>جهاز تتبع وداش كاميرا يحتوي على <span style=\"color:#2980b9\"><strong>كامرتين منفصلة&nbsp;</strong></span></p>\r\n\r\n<p>يتم اختيار اماكن التركيب حسب الحاجة</p>\r\n\r\n<p>- يربط بالجوال للمتابعة بشكل فوري</p>\r\n\r\n<p>- تواصل مع السائق&nbsp;من خلال المايكروفون</p>\r\n\r\n<p>- متابعة الكاميرات من الجوال بشكل مستمر</p>\r\n\r\n<p>- يدعم ذاكرة خارجية بمساحة 128 جيجا</p>\r\n\r\n<p>- يعمل بواسطة شريحة بيانات محلية&nbsp;</p>\r\n\r\n<p>- ارسال تنبيهات بسلوكيات السائق والمركبة&nbsp;</p>\r\n\r\n<p>- احتوائه على زر نداء استغاثة <span style=\"color:#c0392b\"><strong>SOS</strong></span></p>\r\n\r\n<p>- ارسال فيديو فوري في حالة وقوع حادث -لا قدر الله-</p>',0,0,0,0,0,1500,NULL,NULL,NULL,'2021-03-27 08:14:41','2021-03-27 08:14:41',NULL,NULL,NULL,NULL,NULL,NULL,NULL),(242,'داش كاميرا MODAL : AE-DN2312-C4','داش-كاميرا-modal-ae-dn2312-c4',NULL,'<p>كاميرا سيارات مقدمة من شركة&nbsp;<strong><span style=\"color:#c0392b\">HIKVISION</span></strong></p>\r\n\r\n<p>- تعمل الكاميرا بشكل مستقل&nbsp;</p>\r\n\r\n<p>- تحتوي على شاشة مقاس 3 بوصة تعمل باللمس</p>\r\n\r\n<p>- تستعرض الزمن والتاريخ مع عرض التسجيلات</p>\r\n\r\n<p>- سهلة التركيب والتوصيل بالكهرباء من خلال منفذ&nbsp;MICRO USB (بمنفذ الولاعة)</p>\r\n\r\n<p>- يدعم ذاكرة خارجية بمساحة 128 جيجا</p>',0,0,1,0,0,450,NULL,NULL,NULL,'2021-03-27 08:21:38','2021-03-31 09:49:48',NULL,NULL,NULL,NULL,NULL,NULL,NULL),(243,'جهاز تتبع مركبات MODAL : PRESENT TRACK','جهاز-تتبع-مركبات-modal-present-track',NULL,'<p>جهاز تتبع مركبات مقدم من شركة&nbsp;<span style=\"font-size:12px\"><strong><span style=\"color:#27ae60\">PRESENT TRACK</span></strong></span></p>\r\n\r\n<p>- يربط بالجوال للمتابعة بشكل فوري</p>\r\n\r\n<p>- اشتراك مجاني لمدة 6 اشهر</p>\r\n\r\n<p>- يعمل بإشتراك سنوي يتم تجديدة - سعر الإشتراك 240 ريال -</p>\r\n\r\n<p>- تخزين مسار 365 يوم&nbsp;</p>\r\n\r\n<p>- تقارير وإحصائيات</p>\r\n\r\n<p>- تنبيهات بتجاوز السرعة</p>\r\n\r\n<p>- تنبيهات بالخروج عن الحدود المسموحة</p>\r\n\r\n<p>&nbsp;</p>',0,0,0,0,0,690,NULL,NULL,NULL,'2021-03-27 08:38:08','2021-03-27 08:38:08',NULL,NULL,NULL,NULL,NULL,NULL,NULL),(244,'مقوي شبكة MODAL : AC1750','مقوي-شبكة-modal-ac1750',NULL,'<p>- سهل التركيب والتفعيل بدون تمديد</p>\r\n\r\n<p>- توفير تغطية واسعة لعدد كبير من الاجهزة&nbsp;</p>\r\n\r\n<p>- منفذ كيبل انترنت</p>\r\n\r\n<p>- يدعم شبكة الـ 4G والـ 5G</p>\r\n\r\n<p>- قوة شبكة الـ5G 1300 Mbps</p>\r\n\r\n<p>- قوة شبكة الـ4G 450 Mbps</p>\r\n\r\n<p>&nbsp;</p>\r\n\r\n<div id=\"gtx-trans\" style=\"left:425px; position:absolute; top:-7px\">\r\n<div class=\"gtx-trans-icon\">&nbsp;</div>\r\n</div>',0,0,1,0,0,400,NULL,NULL,NULL,'2021-03-29 10:01:50','2021-03-31 09:48:28',NULL,NULL,NULL,NULL,NULL,NULL,NULL),(245,'مقوي شبكة MODAL : AC750','مقوي-شبكة-modal-ac750',NULL,'<p>- سهل التركيب والتفعيل بدون تمديد</p>\r\n\r\n<p>- توفير تغطية واسعة لعدد كبير من الاجهزة&nbsp;</p>\r\n\r\n<p>- منفذ كيبل انترنت</p>\r\n\r\n<p>- يدعم شبكة الـ 4G والـ 5G</p>\r\n\r\n<p>- قوة شبكة الـ5G 433 Mbps</p>\r\n\r\n<p>- قوة شبكة الـ4G 300 Mbps</p>',0,0,0,0,0,200,NULL,NULL,NULL,'2021-03-29 10:04:44','2021-03-29 10:04:44',NULL,NULL,NULL,NULL,NULL,NULL,NULL),(246,'مقوي شبكة MODAL : N300','مقوي-شبكة-modal-n300',NULL,'<p>- سهل التركيب والتفعيل بدون تمديد</p>\r\n\r\n<p>- توفير تغطية واسعة لعدد كبير من الاجهزة&nbsp;</p>\r\n\r\n<p>- منفذ كيبل انترنت</p>\r\n\r\n<p>- يدعم شبكة الـ 4G&nbsp;</p>\r\n\r\n<p>- قوة شبكة الـ4G 300 Mbps</p>',0,0,0,0,0,150,NULL,NULL,NULL,'2021-03-29 10:05:46','2021-03-29 10:05:46',NULL,NULL,NULL,NULL,NULL,NULL,NULL),(247,'كاميرا ديجتل بدقة 2 ميجابكسل الحجم الكبير','كاميرا-ديجتل-بدقة-2-ميجابكسل-الحجم-الكبير',NULL,'<p>&bull; 2 ميجابيكسل ، 1920 &times; 1080 n<br />\r\n&bull; عدسة بؤرية 2.8 مم ، 3.6 مم ، 6 مم<br />\r\n&bull; إخراج فيديو 4 في 1 (TVI / AHD / CVI / CVBS قابل للتبديل)<br />\r\n&bull; الأشعة تحت الحمراء الذكية ، حتى مسافة 20 متر الأشعة تحت الحمراء</p>',0,0,0,0,0,100,120,NULL,NULL,'2021-05-01 09:31:34','2021-05-01 09:31:34',NULL,'camera','hd','outdoor','2',NULL,NULL),(248,'كاميرا ديجتل بدقة 2 ميجابكسل داخلي','كاميرا-ديجتل-بدقة-2-ميجابكسل-داخلي',NULL,'<p>&bull; 2 ميجابيكسل ، 1920 &times; 1080<br />\r\n&bull; عدسة بؤرية 2.8 مم ، 3.6 مم ، 6 مم<br />\r\n&bull; إخراج فيديو 4 في 1 (TVI / AHD / CVI / CVBS قابل للتبديل)<br />\r\n&bull; الأشعة تحت الحمراء الذكية ، تصل إلى 20 متر مسافة الأشعة تحت الحمراء</p>',0,0,0,0,0,65,NULL,NULL,NULL,'2021-05-01 10:00:31','2021-05-01 10:00:31',NULL,'camera','hd','indoor','2',NULL,NULL),(249,'كاميرا ديجتل بدقة 5 ميجابكسل الحجم الكبير','كاميرا-ديجتل-بدقة-5-ميجابكسل-الحجم-الكبير',NULL,'<p>تصوير عالي الجودة بدقة 5 ميجابكسل ، دقة 2560 &times; 1944.<br />\r\n2.8 مم ، 3.6 مم ، 6 مم ، 8 مم ، عدسة بؤرية ثابتة 12 مم.<br />\r\nتصل إلى 40 م مسافة الأشعة تحت الحمراء للتصوير الليلي الساطع.<br />\r\nمنفذ واحد لأربع إشارات قابلة للتبديل (TVI / AHD / CVI / CVBS)<br />\r\nمقاومة الماء والغبار (IP67)</p>',0,0,0,0,0,150,NULL,NULL,NULL,'2021-05-01 10:26:55','2021-05-01 10:26:55',NULL,'camera','hd','outdoor','5',NULL,NULL),(250,'كاميرا ديجتل بدقة 5 ميجابكسل الحجم الصغير','كاميرا-ديجتل-بدقة-5-ميجابكسل-الحجم-الصغير',NULL,'<p>5 ميغا بكسل كومس عالية الأداء.<br />\r\nدقة 2560 &times; 1944.<br />\r\n2.8mm عدسة ثابتة.<br />\r\nEXIR 2.0 ، IR ذكي ، مسافة تصل إلى 20 مترًا من الأشعة تحت الحمراء.<br />\r\nقائمة OSD ، 2D DNR ، DWDR.<br />\r\n4 في 1 مخرج فيديو (TVI / AHD / CVI / CVBS قابل للتبديل)<br />\r\nIP67.</p>',0,0,0,0,0,120,NULL,NULL,NULL,'2021-05-01 10:34:29','2021-05-01 10:34:29',NULL,'camera','hd','outdoor','5',NULL,NULL),(251,'كاميرا ديجتل بدقة 5 ميجابكسل داخلي','كاميرا-ديجتل-بدقة-5-ميجابكسل-داخلي',NULL,'<p>كاميرا بدقة 5 ميجا بكسل<br />\r\nEXIR 2.0: تقنية الأشعة تحت الحمراء المتقدمة بمسافة 20 مترًا من الأشعة تحت الحمراء<br />\r\n4 في 1 (4 إشارات TVI / AHD / CVI / CVBS قابلة للتبديل)</p>',0,0,0,0,0,100,NULL,NULL,NULL,'2021-05-01 10:41:57','2021-05-01 10:41:57',NULL,'camera','hd','indoor','5',NULL,NULL),(252,'كاميرا ديجتل بدقة 8 ميجابكسل الحجم الكبير','كاميرا-ديجتل-بدقة-8-ميجابكسل-الحجم-الكبير',NULL,'<p>كاميرا بدقة 8 ميجا بكسل<br />\r\nEXIR 2.0: تقنية الأشعة تحت الحمراء المتقدمة بمسافة 60 مترًا من الأشعة تحت الحمراء<br />\r\nمقاومة الماء والغبار (IP67)<br />\r\n4 في 1 (4 إشارات TVI / AHD / CVI / CVBS قابلة للتبديل)</p>',0,0,0,0,0,250,NULL,NULL,NULL,'2021-05-01 10:48:17','2021-05-01 10:52:02',NULL,'camera','hd','outdoor','8',NULL,NULL),(253,'كاميرا ديجتل بدقة 8 ميجابكسل الحجم الصغير','كاميرا-ديجتل-بدقة-8-ميجابكسل-الحجم-الصغير',NULL,'<p>كاميرا بدقة 8 ميجابكسل<br />\r\nEXIR 2.0: تقنية الأشعة تحت الحمراء المتقدمة بمسافة 30 مترًا من الأشعة تحت الحمراء<br />\r\nمقاومة الماء والغبار (IP67)<br />\r\n4 في 1 (4 إشارات TVI / AHD / CVI / CVBS قابلة للتبديل)</p>',0,0,0,0,0,200,NULL,NULL,NULL,'2021-05-01 10:55:04','2021-05-01 10:55:04',NULL,'camera','hd','outdoor','8',NULL,NULL),(254,'كاميرا ديجتل بدقة 8 ميجابكسل داخلي','كاميرا-ديجتل-بدقة-8-ميجابكسل-داخلي',NULL,'<p>كاميرا بدقة 8 ميجا بكسل<br />\r\nEXIR 2.0: تقنية الأشعة تحت الحمراء المتقدمة بمسافة 30 مترًا من الأشعة تحت الحمراء<br />\r\n4 في 1 (4 إشارات TVI / AHD / CVI / CVBS قابلة للتبديل)</p>',0,0,0,0,0,180,NULL,NULL,NULL,'2021-05-01 10:57:29','2021-05-01 10:57:29',NULL,'camera','hd','indoor','8',NULL,NULL),(255,'كاميرا مراقبة هيكفجن 2 ميجا الحجم الصغير','كاميرا-مراقبة-هيكفجن-2-ميجا-الحجم-الصغير',NULL,'<p>&bull; 2 ميجابيكسل ، 1920 &times; 1080 n<br />\r\n&bull; عدسة بؤرية 2.8 مم ، 3.6 مم ، 6 مم<br />\r\n&bull; إخراج فيديو 4 في 1 (TVI / AHD / CVI / CVBS قابل للتبديل)<br />\r\n&bull; الأشعة تحت الحمراء الذكية ، حتى مسافة 20 متر الأشعة تحت الحمراء</p>',0,0,0,0,0,75,NULL,NULL,NULL,'2021-05-23 07:42:27','2021-05-23 07:42:27',NULL,'camera','hd','outdoor','2',NULL,NULL),(256,'كاميرا مراقبة PTZ ديجتل 25x','كاميرا-مراقبة-ptz-ديجتل-25x',NULL,'<p>دقة عالية بوضوح 2ميجابكسل</p>\r\n\r\n<p>دروان بشكل كامل 360 درجة افقي و180 درجة بشكل عامودي</p>\r\n\r\n<p>تقريب بصري 25X</p>\r\n\r\n<p>روؤية ليلة تصل حتى 100 متر</p>\r\n\r\n<p>تحديد المواقع الذكي ثلاثي الأبعاد</p>',0,0,0,0,0,1100,1250,NULL,NULL,'2021-05-27 09:03:26','2021-05-27 09:03:26',NULL,NULL,NULL,NULL,NULL,NULL,NULL),(257,'كيبورد تحكم بقنوات كاميرات المراقبة','كيبورد-تحكم-بقنوات-كاميرات-المراقبة',NULL,'<p>تمديد وتشغيل عن طريق منفذ USB</p>\r\n\r\n<p>متوافق مع عديد من اجهزة العرض والتسجيل</p>\r\n\r\n<p>يتوفر بـ15 زر قابل للبرمجة</p>\r\n\r\n<p>تحكم ثلاثي الابعاد بالكاميرات&nbsp;عن طريق عصا التحكم&nbsp;</p>\r\n\r\n<p>&nbsp;</p>',0,0,0,0,0,900,1000,NULL,NULL,'2021-05-27 09:06:17','2021-05-27 09:06:17',NULL,NULL,NULL,NULL,NULL,NULL,NULL),(258,'كاميرا مراقبة PTZ ديجتل 32x','كاميرا-مراقبة-ptz-ديجتل-32x',NULL,'<p>دقة عالية بوضوح 2ميجابكسل</p>\r\n\r\n<p>دروان بشكل كامل 360 درجة افقي و180 درجة بشكل عامودي</p>\r\n\r\n<p>تقريب بصري 32X</p>\r\n\r\n<p>روؤية ليلة تصل حتى 150 متر</p>\r\n\r\n<p>تحديد المواقع الذكي ثلاثي الأبعاد</p>',0,0,0,0,0,1840,2000,NULL,NULL,'2021-05-27 09:09:18','2021-05-27 09:09:18',NULL,NULL,NULL,NULL,NULL,NULL,NULL),(259,'ذاكرة SanDisk 32','ذاكرة-sandisk-32',NULL,'<p>ذاكرة تخزين بمساحة 32 جيجا بايت</p>',0,0,0,0,0,30,NULL,NULL,NULL,'2021-06-05 12:34:13','2021-06-05 12:34:13',NULL,NULL,NULL,NULL,NULL,NULL,NULL),(260,'ذاكرة SanDisk 64','ذاكرة-sandisk-64',NULL,'<p>ذاكرة تخزين بمساحة 64 جيجا بايت</p>',0,0,0,0,0,50,NULL,NULL,NULL,'2021-06-05 12:35:31','2021-06-05 12:35:31',NULL,NULL,NULL,NULL,NULL,NULL,NULL),(261,'ذاكرة SanDisk 128','ذاكرة-sandisk-128',NULL,'<p>ذاكرة تخزين بمساحة 128 جيجا بايت</p>',0,0,0,0,0,100,NULL,NULL,NULL,'2021-06-05 12:37:05','2021-06-05 12:37:05',NULL,NULL,NULL,NULL,NULL,NULL,NULL),(262,'هارديسك تخزين 8 تيرا بايت لأجهزة العرض والتسجيل','هارديسك-تخزين-8-تيرا-بايت-لأجهزة-العرض-والتسجيل',NULL,'<p>هارديسك تخزين 8 تيرا بايت لأجهزة العرض والتسجيل الخاصة بالكاميرات</p>',0,0,0,0,0,1250,NULL,NULL,NULL,'2021-06-05 13:11:26','2021-06-05 13:11:26',NULL,NULL,NULL,NULL,NULL,NULL,NULL),(263,'هارديسك تخزين 6 تيرا بايت لأجهزة العرض والتسجيل','هارديسك-تخزين-6-تيرا-بايت-لأجهزة-العرض-والتسجيل',NULL,'<p>هارديسك تخزين 6 تيرا بايت لأجهزة العرض والتسجيل الخاصة بالكاميرات</p>',0,0,0,0,0,975,NULL,NULL,NULL,'2021-06-05 13:12:51','2021-06-05 13:12:51',NULL,NULL,NULL,NULL,NULL,NULL,NULL),(264,'هارديسك تخزين 4 تيرا بايت لأجهزة العرض والتسجيل','هارديسك-تخزين-4-تيرا-بايت-لأجهزة-العرض-والتسجيل',NULL,'<p>هارديسك تخزين 4 تيرا بايت لأجهزة العرض والتسجيل الخاصة بالكاميرات</p>',0,0,0,0,0,520,NULL,NULL,NULL,'2021-06-05 13:13:41','2021-06-05 13:13:41',NULL,NULL,NULL,NULL,NULL,NULL,NULL),(265,'هارديسك تخزين 2 تيرا بايت لأجهزة العرض والتسجيل','هارديسك-تخزين-2-تيرا-بايت-لأجهزة-العرض-والتسجيل',NULL,'<p>هارديسك تخزين 2 تيرا بايت لأجهزة العرض والتسجيل الخاصة بالكاميرات</p>',0,0,0,0,0,350,NULL,NULL,NULL,'2021-06-05 13:14:15','2021-06-05 13:14:15',NULL,NULL,NULL,NULL,NULL,NULL,NULL),(266,'هارديسك تخزين 1 تيرا بايت لأجهزة العرض والتسجيل','هارديسك-تخزين-1-تيرا-بايت-لأجهزة-العرض-والتسجيل',NULL,'<p>هارديسك تخزين 1 تيرا بايت لأجهزة العرض والتسجيل الخاصة بالكاميرات</p>',0,0,0,0,0,230,NULL,NULL,NULL,'2021-06-05 13:16:50','2021-06-05 13:16:50',NULL,NULL,NULL,NULL,NULL,NULL,NULL),(267,'كاميرا واي فاي MODEL : C8C','كاميرا-واي-فاي-model-c8c',NULL,'<p>توفر كاميرا C8C العديد من المزايا الهامة ومن ابرزها :</p>\r\n\r\n<p>1- متابعة عن طريق الجوال في اي مكان بالعالم&nbsp;</p>\r\n\r\n<p>2- سهولة في التركيب&nbsp;</p>\r\n\r\n<p>3- رؤية ليلية تصل حتى 30 متر&nbsp;</p>\r\n\r\n<p>4- تحتوي على منفذ ذاكرة وتخزين سحابي</p>\r\n\r\n<p>5- رصد الحركة وارسال تنبيهات فورية</p>\r\n\r\n<p>6- تحتوي على مايكرفون وسماعات للتواصل عن طريق الجوال</p>\r\n\r\n<p>7- خاصية الدروان</p>',0,0,1,0,0,480,NULL,NULL,NULL,'2021-07-10 09:48:13','2021-07-10 09:48:13',NULL,NULL,NULL,NULL,NULL,NULL,NULL),(268,'جهاز عرض وتسجيل صوتي 16 قناة DVR-16-HU+ (S)-5MP-HIK','جهاز-عرض-وتسجيل-صوتي-16-قناة-dvr-16-hu-s-5mp-hik',NULL,'<p>جهاز عرض وتسجيل 16 قناة صوتي</p>',0,0,0,0,0,850,NULL,NULL,NULL,'2021-08-31 09:48:04','2021-09-02 08:10:06',NULL,'dvr','ip',NULL,NULL,'16','ip'); /*!40000 ALTER TABLE `larashop_products` ENABLE KEYS */; UNLOCK TABLES; DROP TABLE IF EXISTS `media`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `media` ( `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, `model_type` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `model_id` bigint(20) unsigned NOT NULL, `uuid` char(36) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `collection_name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `file_name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `mime_type` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `disk` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `conversions_disk` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `size` bigint(20) unsigned NOT NULL, `manipulations` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL, `custom_properties` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL, `responsive_images` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL, `order_column` int(10) unsigned DEFAULT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, PRIMARY KEY (`id`), KEY `media_model_type_model_id_index` (`model_type`,`model_id`) ) ENGINE=InnoDB AUTO_INCREMENT=545 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; LOCK TABLES `media` WRITE; /*!40000 ALTER TABLE `media` DISABLE KEYS */; INSERT INTO `media` VALUES (476,'CobraProjects\\LaraShop\\Models\\LarashopProduct',227,'10633fd1-9ef4-4d5f-9876-3c044101e09a','main','C1C','C1C.jpg','image/jpeg','public','public',7505666,'[]','{\"generated_conversions\":{\"thumb\":true,\"medium\":true}}','[]',1,'2021-03-20 07:07:13','2021-04-19 17:02:59'),(477,'CobraProjects\\LaraShop\\Models\\LarashopCategory',17,'9e7d88c9-9807-4fc5-b62b-ba6da5ac0fba','image',' الداخلية','الكاميرات-الداخلية.jpg','image/jpeg','public','public',2941483,'[]','{\"generated_conversions\":{\"thumb\":true,\"medium\":true}}','{\"media_library_original\":{\"urls\":[\"\\u0627\\u0644\\u0643\\u0627\\u0645\\u064a\\u0631\\u0627\\u062a-\\u0627\\u0644\\u062f\\u0627\\u062e\\u0644\\u064a\\u0629___media_library_original_4368_2862.jpg\",\"\\u0627\\u0644\\u0643\\u0627\\u0645\\u064a\\u0631\\u0627\\u062a-\\u0627\\u0644\\u062f\\u0627\\u062e\\u0644\\u064a\\u0629___media_library_original_3654_2394.jpg\",\"\\u0627\\u0644\\u0643\\u0627\\u0645\\u064a\\u0631\\u0627\\u062a-\\u0627\\u0644\\u062f\\u0627\\u062e\\u0644\\u064a\\u0629___media_library_original_3057_2003.jpg\",\"\\u0627\\u0644\\u0643\\u0627\\u0645\\u064a\\u0631\\u0627\\u062a-\\u0627\\u0644\\u062f\\u0627\\u062e\\u0644\\u064a\\u0629___media_library_original_2558_1676.jpg\",\"\\u0627\\u0644\\u0643\\u0627\\u0645\\u064a\\u0631\\u0627\\u062a-\\u0627\\u0644\\u062f\\u0627\\u062e\\u0644\\u064a\\u0629___media_library_original_2140_1402.jpg\",\"\\u0627\\u0644\\u0643\\u0627\\u0645\\u064a\\u0631\\u0627\\u062a-\\u0627\\u0644\\u062f\\u0627\\u062e\\u0644\\u064a\\u0629___media_library_original_1790_1172.jpg\",\"\\u0627\\u0644\\u0643\\u0627\\u0645\\u064a\\u0631\\u0627\\u062a-\\u0627\\u0644\\u062f\\u0627\\u062e\\u0644\\u064a\\u0629___media_library_original_1498_981.jpg\",\"\\u0627\\u0644\\u0643\\u0627\\u0645\\u064a\\u0631\\u0627\\u062a-\\u0627\\u0644\\u062f\\u0627\\u062e\\u0644\\u064a\\u0629___media_library_original_1253_820.jpg\",\"\\u0627\\u0644\\u0643\\u0627\\u0645\\u064a\\u0631\\u0627\\u062a-\\u0627\\u0644\\u062f\\u0627\\u062e\\u0644\\u064a\\u0629___media_library_original_1048_686.jpg\",\"\\u0627\\u0644\\u0643\\u0627\\u0645\\u064a\\u0631\\u0627\\u062a-\\u0627\\u0644\\u062f\\u0627\\u062e\\u0644\\u064a\\u0629___media_library_original_877_574.jpg\",\"\\u0627\\u0644\\u0643\\u0627\\u0645\\u064a\\u0631\\u0627\\u062a-\\u0627\\u0644\\u062f\\u0627\\u062e\\u0644\\u064a\\u0629___media_library_original_734_480.jpg\",\"\\u0627\\u0644\\u0643\\u0627\\u0645\\u064a\\u0631\\u0627\\u062a-\\u0627\\u0644\\u062f\\u0627\\u062e\\u0644\\u064a\\u0629___media_library_original_614_402.jpg\",\"\\u0627\\u0644\\u0643\\u0627\\u0645\\u064a\\u0631\\u0627\\u062a-\\u0627\\u0644\\u062f\\u0627\\u062e\\u0644\\u064a\\u0629___media_library_original_513_336.jpg\",\"\\u0627\\u0644\\u0643\\u0627\\u0645\\u064a\\u0631\\u0627\\u062a-\\u0627\\u0644\\u062f\\u0627\\u062e\\u0644\\u064a\\u0629___media_library_original_429_281.jpg\",\"\\u0627\\u0644\\u0643\\u0627\\u0645\\u064a\\u0631\\u0627\\u062a-\\u0627\\u0644\\u062f\\u0627\\u062e\\u0644\\u064a\\u0629___media_library_original_359_235.jpg\",\"\\u0627\\u0644\\u0643\\u0627\\u0645\\u064a\\u0631\\u0627\\u062a-\\u0627\\u0644\\u062f\\u0627\\u062e\\u0644\\u064a\\u0629___media_library_original_300_196.jpg\"],\"base64svg\":\"data:image\\/svg+xml;base64,PCFET0NUWVBFIHN2ZyBQVUJMSUMgIi0vL1czQy8vRFREIFNWRyAxLjEvL0VOIiAiaHR0cDovL3d3dy53My5vcmcvR3JhcGhpY3MvU1ZHLzEuMS9EVEQvc3ZnMTEuZHRkIj4KPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbDpzcGFjZT0icHJlc2VydmUiIHg9IjAiCiB5PSIwIiB2aWV3Qm94PSIwIDAgNDM2OCAyODYyIj4KCTxpbWFnZSB3aWR0aD0iNDM2OCIgaGVpZ2h0PSIyODYyIiB4bGluazpocmVmPSJkYXRhOmltYWdlL2pwZWc7YmFzZTY0LC85ai80QUFRU2taSlJnQUJBUUVBWUFCZ0FBRC8vZ0E3UTFKRlFWUlBVam9nWjJRdGFuQmxaeUIyTVM0d0lDaDFjMmx1WnlCSlNrY2dTbEJGUnlCMk9EQXBMQ0J4ZFdGc2FYUjVJRDBnT1RBSy85c0FRd0FEQWdJREFnSURBd01EQkFNREJBVUlCUVVFQkFVS0J3Y0dDQXdLREF3TENnc0xEUTRTRUEwT0VRNExDeEFXRUJFVEZCVVZGUXdQRnhnV0ZCZ1NGQlVVLzlzQVF3RURCQVFGQkFVSkJRVUpGQTBMRFJRVUZCUVVGQlFVRkJRVUZCUVVGQlFVRkJRVUZCUVVGQlFVRkJRVUZCUVVGQlFVRkJRVUZCUVVGQlFVRkJRVUZCUVUvOEFBRVFnQUZBQWVBd0VSQUFJUkFRTVJBZi9FQUI4QUFBRUZBUUVCQVFFQkFBQUFBQUFBQUFBQkFnTUVCUVlIQ0FrS0MvL0VBTFVRQUFJQkF3TUNCQU1GQlFRRUFBQUJmUUVDQXdBRUVRVVNJVEZCQmhOUllRY2ljUlF5Z1pHaENDTkNzY0VWVXRId0pETmljb0lKQ2hZWEdCa2FKU1luS0NrcU5EVTJOemc1T2tORVJVWkhTRWxLVTFSVlZsZFlXVnBqWkdWbVoyaHBhbk4wZFhaM2VIbDZnNFNGaG9lSWlZcVNrNVNWbHBlWW1acWlvNlNscHFlb3FhcXlzN1MxdHJlNHVickN3OFRGeHNmSXljclMwOVRWMXRmWTJkcmg0dVBrNWVibjZPbnE4Zkx6OVBYMjkvajUrdi9FQUI4QkFBTUJBUUVCQVFFQkFRRUFBQUFBQUFBQkFnTUVCUVlIQ0FrS0MvL0VBTFVSQUFJQkFnUUVBd1FIQlFRRUFBRUNkd0FCQWdNUkJBVWhNUVlTUVZFSFlYRVRJaktCQ0JSQ2thR3h3UWtqTTFMd0ZXSnkwUW9XSkRUaEpmRVhHQmthSmljb0tTbzFOamM0T1RwRFJFVkdSMGhKU2xOVVZWWlhXRmxhWTJSbFptZG9hV3B6ZEhWMmQzaDVlb0tEaElXR2g0aUppcEtUbEpXV2w1aVptcUtqcEtXbXA2aXBxckt6dExXMnQ3aTV1c0xEeE1YR3g4akp5dExUMU5YVzE5aloydUxqNU9YbTUranA2dkx6OVBYMjkvajUrdi9hQUF3REFRQUNFUU1SQUQ4QSt2TkE4WWFWNGM4UHhTNnJDRVptd0Y3MTJWcE5TME1JUlRSMzM5bDZmNHMwV080MDRMaHhucjByRDJraStWR3JvbmhiVHJPeFdPNDJtUWRUUnp5RGxSNTc4WGZoZnBPdVRXa2lvT00xMFU1dnFZMUlKbnlsOFNadGQxenhUYXgydDZwc2R3d29iaWlkQ28zc09OU050ejZ2K0NXbVh1bStIbFM0dXdTVkdQbXJsZnV1ek43M1YwZWdIU0paU1dGd0NENzFwem9peHpmaTYwbHRoQXJ6WkhibXRZTkVTVFB6RDBmeFBxYzg5dXozY2hJWWQ2Kzk1STJlaDhxcFN2dWZaM3c2OFJhZ05DdFQ5b2JQbGp2WHcySnB4OXV6Nk9uSit6UjZKYWVLTlJTekdMZzBScHhMNW5Zd3ZGM2lTL21XQXZNU2EyaENLSmxKbi8vWiI+Cgk8L2ltYWdlPgo8L3N2Zz4=\"}}',2,'2021-03-20 07:07:58','2021-03-20 07:08:16'),(478,'CobraProjects\\LaraShop\\Models\\LarashopProduct',228,'18297bad-ca0d-4e8e-ae64-058717fb90f9','main','C1T','C1T.jpg','image/jpeg','public','public',7392758,'[]','{\"generated_conversions\":{\"thumb\":true,\"medium\":true}}','[]',3,'2021-03-20 07:12:09','2021-03-20 07:12:31'),(479,'CobraProjects\\LaraShop\\Models\\LarashopProduct',229,'3159d843-5676-4696-a19b-377f8c6fc91e','main','C6CN','C6CN.jpg','image/jpeg','public','public',7576057,'[]','{\"generated_conversions\":{\"thumb\":true,\"medium\":true}}','[]',4,'2021-03-20 07:25:05','2021-03-20 07:25:21'),(480,'CobraProjects\\LaraShop\\Models\\LarashopProduct',230,'5aacb48b-47fd-4e94-b9e2-b2a35b4ada36','main','C6TC','C6TC.jpg','image/jpeg','public','public',7591089,'[]','{\"generated_conversions\":{\"thumb\":true,\"medium\":true}}','[]',5,'2021-03-20 07:51:06','2021-03-20 07:51:22'),(484,'CobraProjects\\LaraShop\\Models\\LarashopProduct',223,'877c7b25-72e7-437d-a30d-d3ffd8e30918','main','chat','chat.png','image/png','public','public',21034,'[]','{\"generated_conversions\":{\"thumb\":true,\"medium\":true}}','{\"media_library_original\":{\"urls\":[\"chat___media_library_original_512_512.png\",\"chat___media_library_original_428_428.png\",\"chat___media_library_original_358_358.png\"],\"base64svg\":\"data:image\\/svg+xml;base64,PCFET0NUWVBFIHN2ZyBQVUJMSUMgIi0vL1czQy8vRFREIFNWRyAxLjEvL0VOIiAiaHR0cDovL3d3dy53My5vcmcvR3JhcGhpY3MvU1ZHLzEuMS9EVEQvc3ZnMTEuZHRkIj4KPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbDpzcGFjZT0icHJlc2VydmUiIHg9IjAiCiB5PSIwIiB2aWV3Qm94PSIwIDAgNTEyIDUxMiI+Cgk8aW1hZ2Ugd2lkdGg9IjUxMiIgaGVpZ2h0PSI1MTIiIHhsaW5rOmhyZWY9ImRhdGE6aW1hZ2UvanBlZztiYXNlNjQsLzlqLzRBQVFTa1pKUmdBQkFRRUFZQUJnQUFELy9nQTdRMUpGUVZSUFVqb2daMlF0YW5CbFp5QjJNUzR3SUNoMWMybHVaeUJKU2tjZ1NsQkZSeUIyT0RBcExDQnhkV0ZzYVhSNUlEMGdPVEFLLzlzQVF3QURBZ0lEQWdJREF3TURCQU1EQkFVSUJRVUVCQVVLQndjR0NBd0tEQXdMQ2dzTERRNFNFQTBPRVE0TEN4QVdFQkVURkJVVkZRd1BGeGdXRkJnU0ZCVVUvOXNBUXdFREJBUUZCQVVKQlFVSkZBMExEUlFVRkJRVUZCUVVGQlFVRkJRVUZCUVVGQlFVRkJRVUZCUVVGQlFVRkJRVUZCUVVGQlFVRkJRVUZCUVVGQlFVRkJRVS84QUFFUWdBSUFBZ0F3RVJBQUlSQVFNUkFmL0VBQjhBQUFFRkFRRUJBUUVCQUFBQUFBQUFBQUFCQWdNRUJRWUhDQWtLQy8vRUFMVVFBQUlCQXdNQ0JBTUZCUVFFQUFBQmZRRUNBd0FFRVFVU0lURkJCaE5SWVFjaWNSUXlnWkdoQ0NOQ3NjRVZVdEh3SkROaWNvSUpDaFlYR0JrYUpTWW5LQ2txTkRVMk56ZzVPa05FUlVaSFNFbEtVMVJWVmxkWVdWcGpaR1ZtWjJocGFuTjBkWFozZUhsNmc0U0Zob2VJaVlxU2s1U1ZscGVZbVpxaW82U2xwcWVvcWFxeXM3UzF0cmU0dWJyQ3c4VEZ4c2ZJeWNyUzA5VFYxdGZZMmRyaDR1UGs1ZWJuNk9ucThmTHo5UFgyOS9qNSt2L0VBQjhCQUFNQkFRRUJBUUVCQVFFQUFBQUFBQUFCQWdNRUJRWUhDQWtLQy8vRUFMVVJBQUlCQWdRRUF3UUhCUVFFQUFFQ2R3QUJBZ01SQkFVaE1RWVNRVkVIWVhFVElqS0JDQlJDa2FHeHdRa2pNMUx3RldKeTBRb1dKRFRoSmZFWEdCa2FKaWNvS1NvMU5qYzRPVHBEUkVWR1IwaEpTbE5VVlZaWFdGbGFZMlJsWm1kb2FXcHpkSFYyZDNoNWVvS0RoSVdHaDRpSmlwS1RsSldXbDVpWm1xS2pwS1dtcDZpcHFyS3p0TFcydDdpNXVzTER4TVhHeDhqSnl0TFQxTlhXMTlqWjJ1TGo1T1htNStqcDZ2THo5UFgyOS9qNSt2L2FBQXdEQVFBQ0VRTVJBRDhBKy92Mm5QMmhkRC9aZytEZXQrUGRjaSszZlpOa0ZqcGFYQ1F5NmhkeUhFY0NGdnhkaW9abGpqa2NLMnpCQVB6dStIUDdMZngzL3dDQ2tFV21mRWI0MCtQWi9DL3c0dkxnM2VtZUhyS01ocElSSncxdGFuOTNDalJ5VElsektaSlNFVXNzaU1yRUE5TzhXLzhBQkV2NFpYZWpQSDRXOGZlTGRHMWplcFM3MVlXdC9BcWcvTURGSEhBeEpIUStZTWVob0E1djltYjlxZjR2L3N3L3RGYWQrejcrMFRxRDZ4WTZuTDVPaytKYjZhUzZtM3pTTUxhUmJrZ3ZQYnl5Qm93WlJ1akxBTVkxaVpGQVBELytDcmY3WTJsZkhQeGpZZkRid2hQTGMrR2ZDTjlPOS9xQ3lBMitvMyswUmd4cVZ6dGcvZm9KTjJITXJsUnRDdTRCK29meFMxRDRxK0JQRmZ3bDBINFIrQmRBMUh3QTE0dGo0bmFZeDIzOWk2Y2oyNlJtMWo4K0lEYkViZ2hWU1RIbEtBbzREQUhGYWg0Ly9hbWowTDQxU1dudzA4TVM2cnBXcVFSZkQySjdxUFpyTmsxNDZTeVhQK21qWTYyd2prRzR3NVppTnB4dEFCODEvd0RCWFBRcjNYLzJSZmhINHY4QUdHaVFhWjhRcmJWTFcxdm9iV1l0Rll5WFZoTEpld0p0ZGtaZk90b2dHSlk0akdHd3gzQUhpMzdEZjdNM2hmOEFheC9ZbytMSGdxd3ZMVFRmaVhiK0piWFZMZTl1Qk5zaUVkc1ZzaE50NE1ibDlTanlBeFR6R2ZheFZBUUQxajlsai9nb3pOK3pqYlFmQS84QWFPMFBVZkRHcmVFOW1rMjJ0dzJubUNDMWpqeEZIY3hSWkxoVVZCSFBBSkJLalJzUWNHVndENkc4U2Y4QUJWMzltelF0RXVyNnk4WjMzaUs2aFVGTk0wM1E3eExpY2tnWVF6eFJSZ2dFbjVuWGdIdmdFQStmcnY4QTRLbHBxMzdaWHcrVFF2R1VGeDhEOWF0TFcxMUhUWjlKU3ltMHk2bkVrYkc2dUorZDBNclJPOGtUaUh5aGdCMlZuWUErVS8yV3ZpajhhTlQvQUduZmlGNC8rQTN3M2kxWFYvRTB0NUhOWVRXN1hGanBFRjNkZmExamVjTkRGR2Y5SDJLMGhWV0NzQXVjWUFQZFBIWHhmL2EzL2FZYytEdkVYN0svaG5VTlFrdDd5MHNkVjEzd1hjeGpUV2VNK1pMYjNkOU9ZSW4rUlNyRTRaa2pHR09BUUQyYjloZi9BSUpiYWI4SjRianhWOFpkTzBQeFo0ZzFDeldHRHd6ZFdrVjlaYVlHMnU1a01pc2tzNHdFeWcySmg5clNCd3lnRy84QUgzL2drRDhLZmlscU0rcitDZFF1dmhocXR4SjVrMXZaUUM4MHhpenU3c3Rzem8wWk85VkN4eUxHaW9Bc1k2MEFmLy9aIj4KCTwvaW1hZ2U+Cjwvc3ZnPg==\"}}',7,'2021-03-21 06:29:42','2021-03-21 06:29:46'),(485,'CobraProjects\\LaraShop\\Models\\LarashopProduct',222,'9cd9fb7b-2c5b-41a8-bfd9-6f9373b86d98','main','chat','chat.png','image/png','public','public',21034,'[]','{\"generated_conversions\":{\"thumb\":true,\"medium\":true}}','[]',8,'2021-03-21 06:30:10','2021-04-19 17:03:01'),(488,'CobraProjects\\LaraShop\\Models\\LarashopProduct',28,'cab1a9dd-15c0-4a89-8903-280f386d5071','main','chat','chat.png','image/png','public','public',21034,'[]','{\"generated_conversions\":{\"thumb\":true,\"medium\":true}}','{\"media_library_original\":{\"urls\":[\"chat___media_library_original_512_512.png\",\"chat___media_library_original_428_428.png\",\"chat___media_library_original_358_358.png\"],\"base64svg\":\"data:image\\/svg+xml;base64,PCFET0NUWVBFIHN2ZyBQVUJMSUMgIi0vL1czQy8vRFREIFNWRyAxLjEvL0VOIiAiaHR0cDovL3d3dy53My5vcmcvR3JhcGhpY3MvU1ZHLzEuMS9EVEQvc3ZnMTEuZHRkIj4KPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbDpzcGFjZT0icHJlc2VydmUiIHg9IjAiCiB5PSIwIiB2aWV3Qm94PSIwIDAgNTEyIDUxMiI+Cgk8aW1hZ2Ugd2lkdGg9IjUxMiIgaGVpZ2h0PSI1MTIiIHhsaW5rOmhyZWY9ImRhdGE6aW1hZ2UvanBlZztiYXNlNjQsLzlqLzRBQVFTa1pKUmdBQkFRRUFZQUJnQUFELy9nQTdRMUpGUVZSUFVqb2daMlF0YW5CbFp5QjJNUzR3SUNoMWMybHVaeUJKU2tjZ1NsQkZSeUIyT0RBcExDQnhkV0ZzYVhSNUlEMGdPVEFLLzlzQVF3QURBZ0lEQWdJREF3TURCQU1EQkFVSUJRVUVCQVVLQndjR0NBd0tEQXdMQ2dzTERRNFNFQTBPRVE0TEN4QVdFQkVURkJVVkZRd1BGeGdXRkJnU0ZCVVUvOXNBUXdFREJBUUZCQVVKQlFVSkZBMExEUlFVRkJRVUZCUVVGQlFVRkJRVUZCUVVGQlFVRkJRVUZCUVVGQlFVRkJRVUZCUVVGQlFVRkJRVUZCUVVGQlFVRkJRVS84QUFFUWdBSUFBZ0F3RVJBQUlSQVFNUkFmL0VBQjhBQUFFRkFRRUJBUUVCQUFBQUFBQUFBQUFCQWdNRUJRWUhDQWtLQy8vRUFMVVFBQUlCQXdNQ0JBTUZCUVFFQUFBQmZRRUNBd0FFRVFVU0lURkJCaE5SWVFjaWNSUXlnWkdoQ0NOQ3NjRVZVdEh3SkROaWNvSUpDaFlYR0JrYUpTWW5LQ2txTkRVMk56ZzVPa05FUlVaSFNFbEtVMVJWVmxkWVdWcGpaR1ZtWjJocGFuTjBkWFozZUhsNmc0U0Zob2VJaVlxU2s1U1ZscGVZbVpxaW82U2xwcWVvcWFxeXM3UzF0cmU0dWJyQ3c4VEZ4c2ZJeWNyUzA5VFYxdGZZMmRyaDR1UGs1ZWJuNk9ucThmTHo5UFgyOS9qNSt2L0VBQjhCQUFNQkFRRUJBUUVCQVFFQUFBQUFBQUFCQWdNRUJRWUhDQWtLQy8vRUFMVVJBQUlCQWdRRUF3UUhCUVFFQUFFQ2R3QUJBZ01SQkFVaE1RWVNRVkVIWVhFVElqS0JDQlJDa2FHeHdRa2pNMUx3RldKeTBRb1dKRFRoSmZFWEdCa2FKaWNvS1NvMU5qYzRPVHBEUkVWR1IwaEpTbE5VVlZaWFdGbGFZMlJsWm1kb2FXcHpkSFYyZDNoNWVvS0RoSVdHaDRpSmlwS1RsSldXbDVpWm1xS2pwS1dtcDZpcHFyS3p0TFcydDdpNXVzTER4TVhHeDhqSnl0TFQxTlhXMTlqWjJ1TGo1T1htNStqcDZ2THo5UFgyOS9qNSt2L2FBQXdEQVFBQ0VRTVJBRDhBKy92Mm5QMmhkRC9aZytEZXQrUGRjaSszZlpOa0ZqcGFYQ1F5NmhkeUhFY0NGdnhkaW9abGpqa2NLMnpCQVB6dStIUDdMZngzL3dDQ2tFV21mRWI0MCtQWi9DL3c0dkxnM2VtZUhyS01ocElSSncxdGFuOTNDalJ5VElsektaSlNFVXNzaU1yRUE5TzhXLzhBQkV2NFpYZWpQSDRXOGZlTGRHMWplcFM3MVlXdC9BcWcvTURGSEhBeEpIUStZTWVob0E1djltYjlxZjR2L3N3L3RGYWQrejcrMFRxRDZ4WTZuTDVPaytKYjZhUzZtM3pTTUxhUmJrZ3ZQYnl5Qm93WlJ1akxBTVkxaVpGQVBELytDcmY3WTJsZkhQeGpZZkRid2hQTGMrR2ZDTjlPOS9xQ3lBMitvMyswUmd4cVZ6dGcvZm9KTjJITXJsUnRDdTRCK29meFMxRDRxK0JQRmZ3bDBINFIrQmRBMUh3QTE0dGo0bmFZeDIzOWk2Y2oyNlJtMWo4K0lEYkViZ2hWU1RIbEtBbzREQUhGYWg0Ly9hbWowTDQxU1dudzA4TVM2cnBXcVFSZkQySjdxUFpyTmsxNDZTeVhQK21qWTYyd2prRzR3NVppTnB4dEFCODEvd0RCWFBRcjNYLzJSZmhINHY4QUdHaVFhWjhRcmJWTFcxdm9iV1l0Rll5WFZoTEpld0p0ZGtaZk90b2dHSlk0akdHd3gzQUhpMzdEZjdNM2hmOEFheC9ZbytMSGdxd3ZMVFRmaVhiK0piWFZMZTl1Qk5zaUVkc1ZzaE50NE1ibDlTanlBeFR6R2ZheFZBUUQxajlsai9nb3pOK3pqYlFmQS84QWFPMFBVZkRHcmVFOW1rMjJ0dzJubUNDMWpqeEZIY3hSWkxoVVZCSFBBSkJLalJzUWNHVndENkc4U2Y4QUJWMzltelF0RXVyNnk4WjMzaUs2aFVGTk0wM1E3eExpY2tnWVF6eFJSZ2dFbjVuWGdIdmdFQStmcnY4QTRLbHBxMzdaWHcrVFF2R1VGeDhEOWF0TFcxMUhUWjlKU3ltMHk2bkVrYkc2dUorZDBNclJPOGtUaUh5aGdCMlZuWUErVS8yV3ZpajhhTlQvQUduZmlGNC8rQTN3M2kxWFYvRTB0NUhOWVRXN1hGanBFRjNkZmExamVjTkRGR2Y5SDJLMGhWV0NzQXVjWUFQZFBIWHhmL2EzL2FZYytEdkVYN0svaG5VTlFrdDd5MHNkVjEzd1hjeGpUV2VNK1pMYjNkOU9ZSW4rUlNyRTRaa2pHR09BUUQyYjloZi9BSUpiYWI4SjRianhWOFpkTzBQeFo0ZzFDeldHRHd6ZFdrVjlaYVlHMnU1a01pc2tzNHdFeWcySmg5clNCd3lnRy84QUgzL2drRDhLZmlscU0rcitDZFF1dmhocXR4SjVrMXZaUUM4MHhpenU3c3Rzem8wWk85VkN4eUxHaW9Bc1k2MEFmLy9aIj4KCTwvaW1hZ2U+Cjwvc3ZnPg==\"}}',11,'2021-03-21 06:31:02','2021-03-21 06:31:03'),(489,'CobraProjects\\LaraShop\\Models\\LarashopProduct',32,'aca6ecd9-7bdd-4dea-ba90-1e18fcad7bdb','main','chat','chat.png','image/png','public','public',21034,'[]','{\"generated_conversions\":{\"thumb\":true,\"medium\":true}}','[]',12,'2021-03-21 06:31:19','2021-04-19 17:03:02'),(491,'CobraProjects\\LaraShop\\Models\\LarashopProduct',163,'bad6c8f5-7ab2-4234-a907-749e287a5fae','main','chat','chat.png','image/png','public','public',21034,'[]','{\"generated_conversions\":{\"thumb\":true,\"medium\":true}}','{\"media_library_original\":{\"urls\":[\"chat___media_library_original_512_512.png\",\"chat___media_library_original_428_428.png\",\"chat___media_library_original_358_358.png\"],\"base64svg\":\"data:image\\/svg+xml;base64,PCFET0NUWVBFIHN2ZyBQVUJMSUMgIi0vL1czQy8vRFREIFNWRyAxLjEvL0VOIiAiaHR0cDovL3d3dy53My5vcmcvR3JhcGhpY3MvU1ZHLzEuMS9EVEQvc3ZnMTEuZHRkIj4KPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbDpzcGFjZT0icHJlc2VydmUiIHg9IjAiCiB5PSIwIiB2aWV3Qm94PSIwIDAgNTEyIDUxMiI+Cgk8aW1hZ2Ugd2lkdGg9IjUxMiIgaGVpZ2h0PSI1MTIiIHhsaW5rOmhyZWY9ImRhdGE6aW1hZ2UvanBlZztiYXNlNjQsLzlqLzRBQVFTa1pKUmdBQkFRRUFZQUJnQUFELy9nQTdRMUpGUVZSUFVqb2daMlF0YW5CbFp5QjJNUzR3SUNoMWMybHVaeUJKU2tjZ1NsQkZSeUIyT0RBcExDQnhkV0ZzYVhSNUlEMGdPVEFLLzlzQVF3QURBZ0lEQWdJREF3TURCQU1EQkFVSUJRVUVCQVVLQndjR0NBd0tEQXdMQ2dzTERRNFNFQTBPRVE0TEN4QVdFQkVURkJVVkZRd1BGeGdXRkJnU0ZCVVUvOXNBUXdFREJBUUZCQVVKQlFVSkZBMExEUlFVRkJRVUZCUVVGQlFVRkJRVUZCUVVGQlFVRkJRVUZCUVVGQlFVRkJRVUZCUVVGQlFVRkJRVUZCUVVGQlFVRkJRVS84QUFFUWdBSUFBZ0F3RVJBQUlSQVFNUkFmL0VBQjhBQUFFRkFRRUJBUUVCQUFBQUFBQUFBQUFCQWdNRUJRWUhDQWtLQy8vRUFMVVFBQUlCQXdNQ0JBTUZCUVFFQUFBQmZRRUNBd0FFRVFVU0lURkJCaE5SWVFjaWNSUXlnWkdoQ0NOQ3NjRVZVdEh3SkROaWNvSUpDaFlYR0JrYUpTWW5LQ2txTkRVMk56ZzVPa05FUlVaSFNFbEtVMVJWVmxkWVdWcGpaR1ZtWjJocGFuTjBkWFozZUhsNmc0U0Zob2VJaVlxU2s1U1ZscGVZbVpxaW82U2xwcWVvcWFxeXM3UzF0cmU0dWJyQ3c4VEZ4c2ZJeWNyUzA5VFYxdGZZMmRyaDR1UGs1ZWJuNk9ucThmTHo5UFgyOS9qNSt2L0VBQjhCQUFNQkFRRUJBUUVCQVFFQUFBQUFBQUFCQWdNRUJRWUhDQWtLQy8vRUFMVVJBQUlCQWdRRUF3UUhCUVFFQUFFQ2R3QUJBZ01SQkFVaE1RWVNRVkVIWVhFVElqS0JDQlJDa2FHeHdRa2pNMUx3RldKeTBRb1dKRFRoSmZFWEdCa2FKaWNvS1NvMU5qYzRPVHBEUkVWR1IwaEpTbE5VVlZaWFdGbGFZMlJsWm1kb2FXcHpkSFYyZDNoNWVvS0RoSVdHaDRpSmlwS1RsSldXbDVpWm1xS2pwS1dtcDZpcHFyS3p0TFcydDdpNXVzTER4TVhHeDhqSnl0TFQxTlhXMTlqWjJ1TGo1T1htNStqcDZ2THo5UFgyOS9qNSt2L2FBQXdEQVFBQ0VRTVJBRDhBKy92Mm5QMmhkRC9aZytEZXQrUGRjaSszZlpOa0ZqcGFYQ1F5NmhkeUhFY0NGdnhkaW9abGpqa2NLMnpCQVB6dStIUDdMZngzL3dDQ2tFV21mRWI0MCtQWi9DL3c0dkxnM2VtZUhyS01ocElSSncxdGFuOTNDalJ5VElsektaSlNFVXNzaU1yRUE5TzhXLzhBQkV2NFpYZWpQSDRXOGZlTGRHMWplcFM3MVlXdC9BcWcvTURGSEhBeEpIUStZTWVob0E1djltYjlxZjR2L3N3L3RGYWQrejcrMFRxRDZ4WTZuTDVPaytKYjZhUzZtM3pTTUxhUmJrZ3ZQYnl5Qm93WlJ1akxBTVkxaVpGQVBELytDcmY3WTJsZkhQeGpZZkRid2hQTGMrR2ZDTjlPOS9xQ3lBMitvMyswUmd4cVZ6dGcvZm9KTjJITXJsUnRDdTRCK29meFMxRDRxK0JQRmZ3bDBINFIrQmRBMUh3QTE0dGo0bmFZeDIzOWk2Y2oyNlJtMWo4K0lEYkViZ2hWU1RIbEtBbzREQUhGYWg0Ly9hbWowTDQxU1dudzA4TVM2cnBXcVFSZkQySjdxUFpyTmsxNDZTeVhQK21qWTYyd2prRzR3NVppTnB4dEFCODEvd0RCWFBRcjNYLzJSZmhINHY4QUdHaVFhWjhRcmJWTFcxdm9iV1l0Rll5WFZoTEpld0p0ZGtaZk90b2dHSlk0akdHd3gzQUhpMzdEZjdNM2hmOEFheC9ZbytMSGdxd3ZMVFRmaVhiK0piWFZMZTl1Qk5zaUVkc1ZzaE50NE1ibDlTanlBeFR6R2ZheFZBUUQxajlsai9nb3pOK3pqYlFmQS84QWFPMFBVZkRHcmVFOW1rMjJ0dzJubUNDMWpqeEZIY3hSWkxoVVZCSFBBSkJLalJzUWNHVndENkc4U2Y4QUJWMzltelF0RXVyNnk4WjMzaUs2aFVGTk0wM1E3eExpY2tnWVF6eFJSZ2dFbjVuWGdIdmdFQStmcnY4QTRLbHBxMzdaWHcrVFF2R1VGeDhEOWF0TFcxMUhUWjlKU3ltMHk2bkVrYkc2dUorZDBNclJPOGtUaUh5aGdCMlZuWUErVS8yV3ZpajhhTlQvQUduZmlGNC8rQTN3M2kxWFYvRTB0NUhOWVRXN1hGanBFRjNkZmExamVjTkRGR2Y5SDJLMGhWV0NzQXVjWUFQZFBIWHhmL2EzL2FZYytEdkVYN0svaG5VTlFrdDd5MHNkVjEzd1hjeGpUV2VNK1pMYjNkOU9ZSW4rUlNyRTRaa2pHR09BUUQyYjloZi9BSUpiYWI4SjRianhWOFpkTzBQeFo0ZzFDeldHRHd6ZFdrVjlaYVlHMnU1a01pc2tzNHdFeWcySmg5clNCd3lnRy84QUgzL2drRDhLZmlscU0rcitDZFF1dmhocXR4SjVrMXZaUUM4MHhpenU3c3Rzem8wWk85VkN4eUxHaW9Bc1k2MEFmLy9aIj4KCTwvaW1hZ2U+Cjwvc3ZnPg==\"}}',14,'2021-03-21 06:32:00','2021-03-21 06:32:02'),(492,'CobraProjects\\LaraShop\\Models\\LarashopProduct',219,'3a74c579-661e-4f73-8646-bc448bffb4b2','main','chat','chat.png','image/png','public','public',21034,'[]','{\"generated_conversions\":{\"thumb\":true,\"medium\":true}}','{\"media_library_original\":{\"urls\":[\"chat___media_library_original_512_512.png\",\"chat___media_library_original_428_428.png\",\"chat___media_library_original_358_358.png\"],\"base64svg\":\"data:image\\/svg+xml;base64,PCFET0NUWVBFIHN2ZyBQVUJMSUMgIi0vL1czQy8vRFREIFNWRyAxLjEvL0VOIiAiaHR0cDovL3d3dy53My5vcmcvR3JhcGhpY3MvU1ZHLzEuMS9EVEQvc3ZnMTEuZHRkIj4KPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbDpzcGFjZT0icHJlc2VydmUiIHg9IjAiCiB5PSIwIiB2aWV3Qm94PSIwIDAgNTEyIDUxMiI+Cgk8aW1hZ2Ugd2lkdGg9IjUxMiIgaGVpZ2h0PSI1MTIiIHhsaW5rOmhyZWY9ImRhdGE6aW1hZ2UvanBlZztiYXNlNjQsLzlqLzRBQVFTa1pKUmdBQkFRRUFZQUJnQUFELy9nQTdRMUpGUVZSUFVqb2daMlF0YW5CbFp5QjJNUzR3SUNoMWMybHVaeUJKU2tjZ1NsQkZSeUIyT0RBcExDQnhkV0ZzYVhSNUlEMGdPVEFLLzlzQVF3QURBZ0lEQWdJREF3TURCQU1EQkFVSUJRVUVCQVVLQndjR0NBd0tEQXdMQ2dzTERRNFNFQTBPRVE0TEN4QVdFQkVURkJVVkZRd1BGeGdXRkJnU0ZCVVUvOXNBUXdFREJBUUZCQVVKQlFVSkZBMExEUlFVRkJRVUZCUVVGQlFVRkJRVUZCUVVGQlFVRkJRVUZCUVVGQlFVRkJRVUZCUVVGQlFVRkJRVUZCUVVGQlFVRkJRVS84QUFFUWdBSUFBZ0F3RVJBQUlSQVFNUkFmL0VBQjhBQUFFRkFRRUJBUUVCQUFBQUFBQUFBQUFCQWdNRUJRWUhDQWtLQy8vRUFMVVFBQUlCQXdNQ0JBTUZCUVFFQUFBQmZRRUNBd0FFRVFVU0lURkJCaE5SWVFjaWNSUXlnWkdoQ0NOQ3NjRVZVdEh3SkROaWNvSUpDaFlYR0JrYUpTWW5LQ2txTkRVMk56ZzVPa05FUlVaSFNFbEtVMVJWVmxkWVdWcGpaR1ZtWjJocGFuTjBkWFozZUhsNmc0U0Zob2VJaVlxU2s1U1ZscGVZbVpxaW82U2xwcWVvcWFxeXM3UzF0cmU0dWJyQ3c4VEZ4c2ZJeWNyUzA5VFYxdGZZMmRyaDR1UGs1ZWJuNk9ucThmTHo5UFgyOS9qNSt2L0VBQjhCQUFNQkFRRUJBUUVCQVFFQUFBQUFBQUFCQWdNRUJRWUhDQWtLQy8vRUFMVVJBQUlCQWdRRUF3UUhCUVFFQUFFQ2R3QUJBZ01SQkFVaE1RWVNRVkVIWVhFVElqS0JDQlJDa2FHeHdRa2pNMUx3RldKeTBRb1dKRFRoSmZFWEdCa2FKaWNvS1NvMU5qYzRPVHBEUkVWR1IwaEpTbE5VVlZaWFdGbGFZMlJsWm1kb2FXcHpkSFYyZDNoNWVvS0RoSVdHaDRpSmlwS1RsSldXbDVpWm1xS2pwS1dtcDZpcHFyS3p0TFcydDdpNXVzTER4TVhHeDhqSnl0TFQxTlhXMTlqWjJ1TGo1T1htNStqcDZ2THo5UFgyOS9qNSt2L2FBQXdEQVFBQ0VRTVJBRDhBKy92Mm5QMmhkRC9aZytEZXQrUGRjaSszZlpOa0ZqcGFYQ1F5NmhkeUhFY0NGdnhkaW9abGpqa2NLMnpCQVB6dStIUDdMZngzL3dDQ2tFV21mRWI0MCtQWi9DL3c0dkxnM2VtZUhyS01ocElSSncxdGFuOTNDalJ5VElsektaSlNFVXNzaU1yRUE5TzhXLzhBQkV2NFpYZWpQSDRXOGZlTGRHMWplcFM3MVlXdC9BcWcvTURGSEhBeEpIUStZTWVob0E1djltYjlxZjR2L3N3L3RGYWQrejcrMFRxRDZ4WTZuTDVPaytKYjZhUzZtM3pTTUxhUmJrZ3ZQYnl5Qm93WlJ1akxBTVkxaVpGQVBELytDcmY3WTJsZkhQeGpZZkRid2hQTGMrR2ZDTjlPOS9xQ3lBMitvMyswUmd4cVZ6dGcvZm9KTjJITXJsUnRDdTRCK29meFMxRDRxK0JQRmZ3bDBINFIrQmRBMUh3QTE0dGo0bmFZeDIzOWk2Y2oyNlJtMWo4K0lEYkViZ2hWU1RIbEtBbzREQUhGYWg0Ly9hbWowTDQxU1dudzA4TVM2cnBXcVFSZkQySjdxUFpyTmsxNDZTeVhQK21qWTYyd2prRzR3NVppTnB4dEFCODEvd0RCWFBRcjNYLzJSZmhINHY4QUdHaVFhWjhRcmJWTFcxdm9iV1l0Rll5WFZoTEpld0p0ZGtaZk90b2dHSlk0akdHd3gzQUhpMzdEZjdNM2hmOEFheC9ZbytMSGdxd3ZMVFRmaVhiK0piWFZMZTl1Qk5zaUVkc1ZzaE50NE1ibDlTanlBeFR6R2ZheFZBUUQxajlsai9nb3pOK3pqYlFmQS84QWFPMFBVZkRHcmVFOW1rMjJ0dzJubUNDMWpqeEZIY3hSWkxoVVZCSFBBSkJLalJzUWNHVndENkc4U2Y4QUJWMzltelF0RXVyNnk4WjMzaUs2aFVGTk0wM1E3eExpY2tnWVF6eFJSZ2dFbjVuWGdIdmdFQStmcnY4QTRLbHBxMzdaWHcrVFF2R1VGeDhEOWF0TFcxMUhUWjlKU3ltMHk2bkVrYkc2dUorZDBNclJPOGtUaUh5aGdCMlZuWUErVS8yV3ZpajhhTlQvQUduZmlGNC8rQTN3M2kxWFYvRTB0NUhOWVRXN1hGanBFRjNkZmExamVjTkRGR2Y5SDJLMGhWV0NzQXVjWUFQZFBIWHhmL2EzL2FZYytEdkVYN0svaG5VTlFrdDd5MHNkVjEzd1hjeGpUV2VNK1pMYjNkOU9ZSW4rUlNyRTRaa2pHR09BUUQyYjloZi9BSUpiYWI4SjRianhWOFpkTzBQeFo0ZzFDeldHRHd6ZFdrVjlaYVlHMnU1a01pc2tzNHdFeWcySmg5clNCd3lnRy84QUgzL2drRDhLZmlscU0rcitDZFF1dmhocXR4SjVrMXZaUUM4MHhpenU3c3Rzem8wWk85VkN4eUxHaW9Bc1k2MEFmLy9aIj4KCTwvaW1hZ2U+Cjwvc3ZnPg==\"}}',15,'2021-03-21 06:32:18','2021-03-21 06:32:23'),(493,'CobraProjects\\LaraShop\\Models\\LarashopProduct',221,'240f4547-3e40-4dee-93c9-c0ecc4ba862d','main','chat','chat.png','image/png','public','public',21034,'[]','{\"generated_conversions\":{\"thumb\":true,\"medium\":true}}','{\"media_library_original\":{\"urls\":[\"chat___media_library_original_512_512.png\",\"chat___media_library_original_428_428.png\",\"chat___media_library_original_358_358.png\"],\"base64svg\":\"data:image\\/svg+xml;base64,PCFET0NUWVBFIHN2ZyBQVUJMSUMgIi0vL1czQy8vRFREIFNWRyAxLjEvL0VOIiAiaHR0cDovL3d3dy53My5vcmcvR3JhcGhpY3MvU1ZHLzEuMS9EVEQvc3ZnMTEuZHRkIj4KPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbDpzcGFjZT0icHJlc2VydmUiIHg9IjAiCiB5PSIwIiB2aWV3Qm94PSIwIDAgNTEyIDUxMiI+Cgk8aW1hZ2Ugd2lkdGg9IjUxMiIgaGVpZ2h0PSI1MTIiIHhsaW5rOmhyZWY9ImRhdGE6aW1hZ2UvanBlZztiYXNlNjQsLzlqLzRBQVFTa1pKUmdBQkFRRUFZQUJnQUFELy9nQTdRMUpGUVZSUFVqb2daMlF0YW5CbFp5QjJNUzR3SUNoMWMybHVaeUJKU2tjZ1NsQkZSeUIyT0RBcExDQnhkV0ZzYVhSNUlEMGdPVEFLLzlzQVF3QURBZ0lEQWdJREF3TURCQU1EQkFVSUJRVUVCQVVLQndjR0NBd0tEQXdMQ2dzTERRNFNFQTBPRVE0TEN4QVdFQkVURkJVVkZRd1BGeGdXRkJnU0ZCVVUvOXNBUXdFREJBUUZCQVVKQlFVSkZBMExEUlFVRkJRVUZCUVVGQlFVRkJRVUZCUVVGQlFVRkJRVUZCUVVGQlFVRkJRVUZCUVVGQlFVRkJRVUZCUVVGQlFVRkJRVS84QUFFUWdBSUFBZ0F3RVJBQUlSQVFNUkFmL0VBQjhBQUFFRkFRRUJBUUVCQUFBQUFBQUFBQUFCQWdNRUJRWUhDQWtLQy8vRUFMVVFBQUlCQXdNQ0JBTUZCUVFFQUFBQmZRRUNBd0FFRVFVU0lURkJCaE5SWVFjaWNSUXlnWkdoQ0NOQ3NjRVZVdEh3SkROaWNvSUpDaFlYR0JrYUpTWW5LQ2txTkRVMk56ZzVPa05FUlVaSFNFbEtVMVJWVmxkWVdWcGpaR1ZtWjJocGFuTjBkWFozZUhsNmc0U0Zob2VJaVlxU2s1U1ZscGVZbVpxaW82U2xwcWVvcWFxeXM3UzF0cmU0dWJyQ3c4VEZ4c2ZJeWNyUzA5VFYxdGZZMmRyaDR1UGs1ZWJuNk9ucThmTHo5UFgyOS9qNSt2L0VBQjhCQUFNQkFRRUJBUUVCQVFFQUFBQUFBQUFCQWdNRUJRWUhDQWtLQy8vRUFMVVJBQUlCQWdRRUF3UUhCUVFFQUFFQ2R3QUJBZ01SQkFVaE1RWVNRVkVIWVhFVElqS0JDQlJDa2FHeHdRa2pNMUx3RldKeTBRb1dKRFRoSmZFWEdCa2FKaWNvS1NvMU5qYzRPVHBEUkVWR1IwaEpTbE5VVlZaWFdGbGFZMlJsWm1kb2FXcHpkSFYyZDNoNWVvS0RoSVdHaDRpSmlwS1RsSldXbDVpWm1xS2pwS1dtcDZpcHFyS3p0TFcydDdpNXVzTER4TVhHeDhqSnl0TFQxTlhXMTlqWjJ1TGo1T1htNStqcDZ2THo5UFgyOS9qNSt2L2FBQXdEQVFBQ0VRTVJBRDhBKy92Mm5QMmhkRC9aZytEZXQrUGRjaSszZlpOa0ZqcGFYQ1F5NmhkeUhFY0NGdnhkaW9abGpqa2NLMnpCQVB6dStIUDdMZngzL3dDQ2tFV21mRWI0MCtQWi9DL3c0dkxnM2VtZUhyS01ocElSSncxdGFuOTNDalJ5VElsektaSlNFVXNzaU1yRUE5TzhXLzhBQkV2NFpYZWpQSDRXOGZlTGRHMWplcFM3MVlXdC9BcWcvTURGSEhBeEpIUStZTWVob0E1djltYjlxZjR2L3N3L3RGYWQrejcrMFRxRDZ4WTZuTDVPaytKYjZhUzZtM3pTTUxhUmJrZ3ZQYnl5Qm93WlJ1akxBTVkxaVpGQVBELytDcmY3WTJsZkhQeGpZZkRid2hQTGMrR2ZDTjlPOS9xQ3lBMitvMyswUmd4cVZ6dGcvZm9KTjJITXJsUnRDdTRCK29meFMxRDRxK0JQRmZ3bDBINFIrQmRBMUh3QTE0dGo0bmFZeDIzOWk2Y2oyNlJtMWo4K0lEYkViZ2hWU1RIbEtBbzREQUhGYWg0Ly9hbWowTDQxU1dudzA4TVM2cnBXcVFSZkQySjdxUFpyTmsxNDZTeVhQK21qWTYyd2prRzR3NVppTnB4dEFCODEvd0RCWFBRcjNYLzJSZmhINHY4QUdHaVFhWjhRcmJWTFcxdm9iV1l0Rll5WFZoTEpld0p0ZGtaZk90b2dHSlk0akdHd3gzQUhpMzdEZjdNM2hmOEFheC9ZbytMSGdxd3ZMVFRmaVhiK0piWFZMZTl1Qk5zaUVkc1ZzaE50NE1ibDlTanlBeFR6R2ZheFZBUUQxajlsai9nb3pOK3pqYlFmQS84QWFPMFBVZkRHcmVFOW1rMjJ0dzJubUNDMWpqeEZIY3hSWkxoVVZCSFBBSkJLalJzUWNHVndENkc4U2Y4QUJWMzltelF0RXVyNnk4WjMzaUs2aFVGTk0wM1E3eExpY2tnWVF6eFJSZ2dFbjVuWGdIdmdFQStmcnY4QTRLbHBxMzdaWHcrVFF2R1VGeDhEOWF0TFcxMUhUWjlKU3ltMHk2bkVrYkc2dUorZDBNclJPOGtUaUh5aGdCMlZuWUErVS8yV3ZpajhhTlQvQUduZmlGNC8rQTN3M2kxWFYvRTB0NUhOWVRXN1hGanBFRjNkZmExamVjTkRGR2Y5SDJLMGhWV0NzQXVjWUFQZFBIWHhmL2EzL2FZYytEdkVYN0svaG5VTlFrdDd5MHNkVjEzd1hjeGpUV2VNK1pMYjNkOU9ZSW4rUlNyRTRaa2pHR09BUUQyYjloZi9BSUpiYWI4SjRianhWOFpkTzBQeFo0ZzFDeldHRHd6ZFdrVjlaYVlHMnU1a01pc2tzNHdFeWcySmg5clNCd3lnRy84QUgzL2drRDhLZmlscU0rcitDZFF1dmhocXR4SjVrMXZaUUM4MHhpenU3c3Rzem8wWk85VkN4eUxHaW9Bc1k2MEFmLy9aIj4KCTwvaW1hZ2U+Cjwvc3ZnPg==\"}}',16,'2021-03-21 06:33:05','2021-03-21 06:33:06'),(494,'CobraProjects\\LaraShop\\Models\\LarashopProduct',33,'d140fbca-126d-400c-b467-31ce4ac7c953','main','chat','chat.png','image/png','public','public',21034,'[]','{\"generated_conversions\":{\"thumb\":true,\"medium\":true}}','{\"media_library_original\":{\"urls\":[\"chat___media_library_original_512_512.png\",\"chat___media_library_original_428_428.png\",\"chat___media_library_original_358_358.png\"],\"base64svg\":\"data:image\\/svg+xml;base64,PCFET0NUWVBFIHN2ZyBQVUJMSUMgIi0vL1czQy8vRFREIFNWRyAxLjEvL0VOIiAiaHR0cDovL3d3dy53My5vcmcvR3JhcGhpY3MvU1ZHLzEuMS9EVEQvc3ZnMTEuZHRkIj4KPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbDpzcGFjZT0icHJlc2VydmUiIHg9IjAiCiB5PSIwIiB2aWV3Qm94PSIwIDAgNTEyIDUxMiI+Cgk8aW1hZ2Ugd2lkdGg9IjUxMiIgaGVpZ2h0PSI1MTIiIHhsaW5rOmhyZWY9ImRhdGE6aW1hZ2UvanBlZztiYXNlNjQsLzlqLzRBQVFTa1pKUmdBQkFRRUFZQUJnQUFELy9nQTdRMUpGUVZSUFVqb2daMlF0YW5CbFp5QjJNUzR3SUNoMWMybHVaeUJKU2tjZ1NsQkZSeUIyT0RBcExDQnhkV0ZzYVhSNUlEMGdPVEFLLzlzQVF3QURBZ0lEQWdJREF3TURCQU1EQkFVSUJRVUVCQVVLQndjR0NBd0tEQXdMQ2dzTERRNFNFQTBPRVE0TEN4QVdFQkVURkJVVkZRd1BGeGdXRkJnU0ZCVVUvOXNBUXdFREJBUUZCQVVKQlFVSkZBMExEUlFVRkJRVUZCUVVGQlFVRkJRVUZCUVVGQlFVRkJRVUZCUVVGQlFVRkJRVUZCUVVGQlFVRkJRVUZCUVVGQlFVRkJRVS84QUFFUWdBSUFBZ0F3RVJBQUlSQVFNUkFmL0VBQjhBQUFFRkFRRUJBUUVCQUFBQUFBQUFBQUFCQWdNRUJRWUhDQWtLQy8vRUFMVVFBQUlCQXdNQ0JBTUZCUVFFQUFBQmZRRUNBd0FFRVFVU0lURkJCaE5SWVFjaWNSUXlnWkdoQ0NOQ3NjRVZVdEh3SkROaWNvSUpDaFlYR0JrYUpTWW5LQ2txTkRVMk56ZzVPa05FUlVaSFNFbEtVMVJWVmxkWVdWcGpaR1ZtWjJocGFuTjBkWFozZUhsNmc0U0Zob2VJaVlxU2s1U1ZscGVZbVpxaW82U2xwcWVvcWFxeXM3UzF0cmU0dWJyQ3c4VEZ4c2ZJeWNyUzA5VFYxdGZZMmRyaDR1UGs1ZWJuNk9ucThmTHo5UFgyOS9qNSt2L0VBQjhCQUFNQkFRRUJBUUVCQVFFQUFBQUFBQUFCQWdNRUJRWUhDQWtLQy8vRUFMVVJBQUlCQWdRRUF3UUhCUVFFQUFFQ2R3QUJBZ01SQkFVaE1RWVNRVkVIWVhFVElqS0JDQlJDa2FHeHdRa2pNMUx3RldKeTBRb1dKRFRoSmZFWEdCa2FKaWNvS1NvMU5qYzRPVHBEUkVWR1IwaEpTbE5VVlZaWFdGbGFZMlJsWm1kb2FXcHpkSFYyZDNoNWVvS0RoSVdHaDRpSmlwS1RsSldXbDVpWm1xS2pwS1dtcDZpcHFyS3p0TFcydDdpNXVzTER4TVhHeDhqSnl0TFQxTlhXMTlqWjJ1TGo1T1htNStqcDZ2THo5UFgyOS9qNSt2L2FBQXdEQVFBQ0VRTVJBRDhBKy92Mm5QMmhkRC9aZytEZXQrUGRjaSszZlpOa0ZqcGFYQ1F5NmhkeUhFY0NGdnhkaW9abGpqa2NLMnpCQVB6dStIUDdMZngzL3dDQ2tFV21mRWI0MCtQWi9DL3c0dkxnM2VtZUhyS01ocElSSncxdGFuOTNDalJ5VElsektaSlNFVXNzaU1yRUE5TzhXLzhBQkV2NFpYZWpQSDRXOGZlTGRHMWplcFM3MVlXdC9BcWcvTURGSEhBeEpIUStZTWVob0E1djltYjlxZjR2L3N3L3RGYWQrejcrMFRxRDZ4WTZuTDVPaytKYjZhUzZtM3pTTUxhUmJrZ3ZQYnl5Qm93WlJ1akxBTVkxaVpGQVBELytDcmY3WTJsZkhQeGpZZkRid2hQTGMrR2ZDTjlPOS9xQ3lBMitvMyswUmd4cVZ6dGcvZm9KTjJITXJsUnRDdTRCK29meFMxRDRxK0JQRmZ3bDBINFIrQmRBMUh3QTE0dGo0bmFZeDIzOWk2Y2oyNlJtMWo4K0lEYkViZ2hWU1RIbEtBbzREQUhGYWg0Ly9hbWowTDQxU1dudzA4TVM2cnBXcVFSZkQySjdxUFpyTmsxNDZTeVhQK21qWTYyd2prRzR3NVppTnB4dEFCODEvd0RCWFBRcjNYLzJSZmhINHY4QUdHaVFhWjhRcmJWTFcxdm9iV1l0Rll5WFZoTEpld0p0ZGtaZk90b2dHSlk0akdHd3gzQUhpMzdEZjdNM2hmOEFheC9ZbytMSGdxd3ZMVFRmaVhiK0piWFZMZTl1Qk5zaUVkc1ZzaE50NE1ibDlTanlBeFR6R2ZheFZBUUQxajlsai9nb3pOK3pqYlFmQS84QWFPMFBVZkRHcmVFOW1rMjJ0dzJubUNDMWpqeEZIY3hSWkxoVVZCSFBBSkJLalJzUWNHVndENkc4U2Y4QUJWMzltelF0RXVyNnk4WjMzaUs2aFVGTk0wM1E3eExpY2tnWVF6eFJSZ2dFbjVuWGdIdmdFQStmcnY4QTRLbHBxMzdaWHcrVFF2R1VGeDhEOWF0TFcxMUhUWjlKU3ltMHk2bkVrYkc2dUorZDBNclJPOGtUaUh5aGdCMlZuWUErVS8yV3ZpajhhTlQvQUduZmlGNC8rQTN3M2kxWFYvRTB0NUhOWVRXN1hGanBFRjNkZmExamVjTkRGR2Y5SDJLMGhWV0NzQXVjWUFQZFBIWHhmL2EzL2FZYytEdkVYN0svaG5VTlFrdDd5MHNkVjEzd1hjeGpUV2VNK1pMYjNkOU9ZSW4rUlNyRTRaa2pHR09BUUQyYjloZi9BSUpiYWI4SjRianhWOFpkTzBQeFo0ZzFDeldHRHd6ZFdrVjlaYVlHMnU1a01pc2tzNHdFeWcySmg5clNCd3lnRy84QUgzL2drRDhLZmlscU0rcitDZFF1dmhocXR4SjVrMXZaUUM4MHhpenU3c3Rzem8wWk85VkN4eUxHaW9Bc1k2MEFmLy9aIj4KCTwvaW1hZ2U+Cjwvc3ZnPg==\"}}',17,'2021-03-21 06:38:48','2021-03-21 06:38:49'),(497,'CobraProjects\\LaraShop\\Models\\LarashopProduct',233,'9c9b3697-7795-4818-9a95-0227b1593312','main','F22','F22.jpg','image/jpeg','public','public',3466496,'[]','{\"generated_conversions\":{\"thumb\":true,\"medium\":true}}','{\"media_library_original\":{\"urls\":[\"F22___media_library_original_5947_5946.jpg\",\"F22___media_library_original_4975_4974.jpg\",\"F22___media_library_original_4162_4161.jpg\",\"F22___media_library_original_3482_3481.jpg\",\"F22___media_library_original_2914_2913.jpg\"]}}',20,'2021-03-21 08:14:57','2021-03-21 08:15:27'),(498,'CobraProjects\\LaraShop\\Models\\LarashopProduct',234,'a494b22f-76da-4b7e-a6f3-aa2404368a4c','main','MB1000','MB1000.jpg','image/jpeg','public','public',3221341,'[]','{\"generated_conversions\":{\"thumb\":true,\"medium\":true}}','{\"media_library_original\":{\"urls\":[\"MB1000___media_library_original_5947_5946.jpg\",\"MB1000___media_library_original_4975_4974.jpg\",\"MB1000___media_library_original_4162_4161.jpg\",\"MB1000___media_library_original_3482_3481.jpg\",\"MB1000___media_library_original_2914_2913.jpg\"]}}',21,'2021-03-21 08:51:36','2021-03-21 08:52:00'),(499,'CobraProjects\\LaraShop\\Models\\LarashopProduct',232,'70424765-de53-491d-898d-b2006518a2a0','main','C3W','C3W.jpg','image/jpeg','public','public',7595542,'[]','{\"generated_conversions\":{\"thumb\":true,\"medium\":true}}','[]',22,'2021-03-21 11:16:34','2021-03-21 11:16:57'),(501,'CobraProjects\\LaraShop\\Models\\LarashopProduct',236,'cb184b3a-bc4e-48e8-8acc-bb9056a964a9','main','DS-KIS202','DS-KIS202.jpg','image/jpeg','public','public',10980815,'[]','{\"generated_conversions\":{\"thumb\":true,\"medium\":true}}','[]',23,'2021-03-27 07:17:41','2021-03-27 07:18:07'),(502,'CobraProjects\\LaraShop\\Models\\LarashopProduct',237,'130ee5aa-ae92-4427-99f3-3fbd2dfeee54','main','DS-KIS602','DS-KIS602.jpg','image/jpeg','public','public',9231772,'[]','{\"generated_conversions\":{\"thumb\":true,\"medium\":true}}','[]',24,'2021-03-27 07:28:02','2021-03-27 07:28:22'),(503,'CobraProjects\\LaraShop\\Models\\LarashopProduct',238,'df5c8b81-438f-478f-9c3c-197820be3deb','main','DS-KIS604-S(B)','DS-KIS604-S(B).jpg','image/jpeg','public','public',9532764,'[]','{\"generated_conversions\":{\"thumb\":true,\"medium\":true}}','[]',25,'2021-03-27 07:30:48','2021-03-27 07:31:03'),(504,'CobraProjects\\LaraShop\\Models\\LarashopProduct',239,'e6b1ba7f-42e7-4c3f-b653-03cdec48187f','main','','قفل.jpg','image/jpeg','public','public',7149606,'[]','{\"generated_conversions\":{\"thumb\":true,\"medium\":true}}','[]',26,'2021-03-27 07:38:39','2021-03-27 07:38:58'),(505,'CobraProjects\\LaraShop\\Models\\LarashopProduct',240,'598f4173-288e-489b-8d11-f2b301438023','main','JC400P','JC400P.jpg','image/jpeg','public','public',9581229,'[]','{\"generated_conversions\":{\"thumb\":true,\"medium\":true}}','[]',27,'2021-03-27 08:13:36','2021-03-27 08:13:55'),(506,'CobraProjects\\LaraShop\\Models\\LarashopProduct',241,'223c12db-13ba-48b6-a2eb-3dd2ca50b50a','main','JC400','JC400.jpg','image/jpeg','public','public',9843841,'[]','[]','[]',28,'2021-03-27 08:14:42','2021-03-27 08:14:42'),(507,'CobraProjects\\LaraShop\\Models\\LarashopProduct',242,'35a39e86-2915-4c6d-8119-3e6497b54dbf','main','ae-dn2312-c4','ae-dn2312-c4.jpg','image/jpeg','public','public',7982755,'[]','{\"generated_conversions\":{\"thumb\":true,\"medium\":true}}','[]',29,'2021-03-27 08:21:38','2021-03-27 08:21:54'),(508,'CobraProjects\\LaraShop\\Models\\LarashopProduct',243,'e7e6264e-e6fc-4406-8506-174abbd5013d','main','PRESENT TRACK','PRESENT-TRACK.jpg','image/jpeg','public','public',6842665,'[]','{\"generated_conversions\":{\"thumb\":true,\"medium\":true}}','[]',30,'2021-03-27 08:38:08','2021-03-27 08:38:28'),(509,'CobraProjects\\LaraShop\\Models\\LarashopProduct',244,'a6a970c4-4e79-4c81-887a-06ce38bd0b12','main','AC1750','AC1750.jpg','image/jpeg','public','public',9220923,'[]','{\"generated_conversions\":{\"thumb\":true,\"medium\":true}}','[]',31,'2021-03-29 10:01:51','2021-03-29 10:02:10'),(510,'CobraProjects\\LaraShop\\Models\\LarashopProduct',245,'7cc0bf62-1d7d-4217-86eb-b17695000b96','main','AC750','AC750.jpg','image/jpeg','public','public',8927060,'[]','[]','[]',32,'2021-03-29 10:04:44','2021-03-29 10:04:44'),(511,'CobraProjects\\LaraShop\\Models\\LarashopProduct',246,'1c889fd8-1224-4f5c-afae-72156e5aac87','main','N300','N300.jpg','image/jpeg','public','public',8373920,'[]','{\"generated_conversions\":{\"thumb\":true,\"medium\":true}}','[]',33,'2021-03-29 10:05:46','2021-03-29 10:06:05'),(514,'CobraProjects\\LaraShop\\Models\\LarashopProduct',249,'d63c35c3-f9b9-4faa-9d91-e4b0cf5d7f96','main',' مراقبة هيكفجن 5 ميجا الحجم الكبير','كاميرا-مراقبة-هيكفجن-5-ميجا-الحجم-الكبير.jpg','image/jpeg','public','public',786616,'[]','{\"generated_conversions\":{\"thumb\":true,\"medium\":true}}','{\"media_library_original\":{\"urls\":[\"\\u0643\\u0627\\u0645\\u064a\\u0631\\u0627-\\u0645\\u0631\\u0627\\u0642\\u0628\\u0629-\\u0647\\u064a\\u0643\\u0641\\u062c\\u0646-5-\\u0645\\u064a\\u062c\\u0627-\\u0627\\u0644\\u062d\\u062c\\u0645-\\u0627\\u0644\\u0643\\u0628\\u064a\\u0631___media_library_original_1960_1960.jpg\",\"\\u0643\\u0627\\u0645\\u064a\\u0631\\u0627-\\u0645\\u0631\\u0627\\u0642\\u0628\\u0629-\\u0647\\u064a\\u0643\\u0641\\u062c\\u0646-5-\\u0645\\u064a\\u062c\\u0627-\\u0627\\u0644\\u062d\\u062c\\u0645-\\u0627\\u0644\\u0643\\u0628\\u064a\\u0631___media_library_original_1639_1639.jpg\",\"\\u0643\\u0627\\u0645\\u064a\\u0631\\u0627-\\u0645\\u0631\\u0627\\u0642\\u0628\\u0629-\\u0647\\u064a\\u0643\\u0641\\u062c\\u0646-5-\\u0645\\u064a\\u062c\\u0627-\\u0627\\u0644\\u062d\\u062c\\u0645-\\u0627\\u0644\\u0643\\u0628\\u064a\\u0631___media_library_original_1372_1372.jpg\",\"\\u0643\\u0627\\u0645\\u064a\\u0631\\u0627-\\u0645\\u0631\\u0627\\u0642\\u0628\\u0629-\\u0647\\u064a\\u0643\\u0641\\u062c\\u0646-5-\\u0645\\u064a\\u062c\\u0627-\\u0627\\u0644\\u062d\\u062c\\u0645-\\u0627\\u0644\\u0643\\u0628\\u064a\\u0631___media_library_original_1147_1147.jpg\",\"\\u0643\\u0627\\u0645\\u064a\\u0631\\u0627-\\u0645\\u0631\\u0627\\u0642\\u0628\\u0629-\\u0647\\u064a\\u0643\\u0641\\u062c\\u0646-5-\\u0645\\u064a\\u062c\\u0627-\\u0627\\u0644\\u062d\\u062c\\u0645-\\u0627\\u0644\\u0643\\u0628\\u064a\\u0631___media_library_original_960_960.jpg\",\"\\u0643\\u0627\\u0645\\u064a\\u0631\\u0627-\\u0645\\u0631\\u0627\\u0642\\u0628\\u0629-\\u0647\\u064a\\u0643\\u0641\\u062c\\u0646-5-\\u0645\\u064a\\u062c\\u0627-\\u0627\\u0644\\u062d\\u062c\\u0645-\\u0627\\u0644\\u0643\\u0628\\u064a\\u0631___media_library_original_803_803.jpg\",\"\\u0643\\u0627\\u0645\\u064a\\u0631\\u0627-\\u0645\\u0631\\u0627\\u0642\\u0628\\u0629-\\u0647\\u064a\\u0643\\u0641\\u062c\\u0646-5-\\u0645\\u064a\\u062c\\u0627-\\u0627\\u0644\\u062d\\u062c\\u0645-\\u0627\\u0644\\u0643\\u0628\\u064a\\u0631___media_library_original_672_672.jpg\",\"\\u0643\\u0627\\u0645\\u064a\\u0631\\u0627-\\u0645\\u0631\\u0627\\u0642\\u0628\\u0629-\\u0647\\u064a\\u0643\\u0641\\u062c\\u0646-5-\\u0645\\u064a\\u062c\\u0627-\\u0627\\u0644\\u062d\\u062c\\u0645-\\u0627\\u0644\\u0643\\u0628\\u064a\\u0631___media_library_original_562_562.jpg\",\"\\u0643\\u0627\\u0645\\u064a\\u0631\\u0627-\\u0645\\u0631\\u0627\\u0642\\u0628\\u0629-\\u0647\\u064a\\u0643\\u0641\\u062c\\u0646-5-\\u0645\\u064a\\u062c\\u0627-\\u0627\\u0644\\u062d\\u062c\\u0645-\\u0627\\u0644\\u0643\\u0628\\u064a\\u0631___media_library_original_470_470.jpg\",\"\\u0643\\u0627\\u0645\\u064a\\u0631\\u0627-\\u0645\\u0631\\u0627\\u0642\\u0628\\u0629-\\u0647\\u064a\\u0643\\u0641\\u062c\\u0646-5-\\u0645\\u064a\\u062c\\u0627-\\u0627\\u0644\\u062d\\u062c\\u0645-\\u0627\\u0644\\u0643\\u0628\\u064a\\u0631___media_library_original_393_393.jpg\",\"\\u0643\\u0627\\u0645\\u064a\\u0631\\u0627-\\u0645\\u0631\\u0627\\u0642\\u0628\\u0629-\\u0647\\u064a\\u0643\\u0641\\u062c\\u0646-5-\\u0645\\u064a\\u062c\\u0627-\\u0627\\u0644\\u062d\\u062c\\u0645-\\u0627\\u0644\\u0643\\u0628\\u064a\\u0631___media_library_original_329_329.jpg\",\"\\u0643\\u0627\\u0645\\u064a\\u0631\\u0627-\\u0645\\u0631\\u0627\\u0642\\u0628\\u0629-\\u0647\\u064a\\u0643\\u0641\\u062c\\u0646-5-\\u0645\\u064a\\u062c\\u0627-\\u0627\\u0644\\u062d\\u062c\\u0645-\\u0627\\u0644\\u0643\\u0628\\u064a\\u0631___media_library_original_275_275.jpg\",\"\\u0643\\u0627\\u0645\\u064a\\u0631\\u0627-\\u0645\\u0631\\u0627\\u0642\\u0628\\u0629-\\u0647\\u064a\\u0643\\u0641\\u062c\\u0646-5-\\u0645\\u064a\\u062c\\u0627-\\u0627\\u0644\\u062d\\u062c\\u0645-\\u0627\\u0644\\u0643\\u0628\\u064a\\u0631___media_library_original_230_230.jpg\"],\"base64svg\":\"data:image\\/svg+xml;base64,PCFET0NUWVBFIHN2ZyBQVUJMSUMgIi0vL1czQy8vRFREIFNWRyAxLjEvL0VOIiAiaHR0cDovL3d3dy53My5vcmcvR3JhcGhpY3MvU1ZHLzEuMS9EVEQvc3ZnMTEuZHRkIj4KPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbDpzcGFjZT0icHJlc2VydmUiIHg9IjAiCiB5PSIwIiB2aWV3Qm94PSIwIDAgMTk2MCAxOTYwIj4KCTxpbWFnZSB3aWR0aD0iMTk2MCIgaGVpZ2h0PSIxOTYwIiB4bGluazpocmVmPSJkYXRhOmltYWdlL2pwZWc7YmFzZTY0LC85ai80QUFRU2taSlJnQUJBUUVBWUFCZ0FBRC8vZ0E3UTFKRlFWUlBVam9nWjJRdGFuQmxaeUIyTVM0d0lDaDFjMmx1WnlCSlNrY2dTbEJGUnlCMk9EQXBMQ0J4ZFdGc2FYUjVJRDBnT1RBSy85c0FRd0FEQWdJREFnSURBd01EQkFNREJBVUlCUVVFQkFVS0J3Y0dDQXdLREF3TENnc0xEUTRTRUEwT0VRNExDeEFXRUJFVEZCVVZGUXdQRnhnV0ZCZ1NGQlVVLzlzQVF3RURCQVFGQkFVSkJRVUpGQTBMRFJRVUZCUVVGQlFVRkJRVUZCUVVGQlFVRkJRVUZCUVVGQlFVRkJRVUZCUVVGQlFVRkJRVUZCUVVGQlFVRkJRVUZCUVUvOEFBRVFnQUlBQWdBd0VSQUFJUkFRTVJBZi9FQUI4QUFBRUZBUUVCQVFFQkFBQUFBQUFBQUFBQkFnTUVCUVlIQ0FrS0MvL0VBTFVRQUFJQkF3TUNCQU1GQlFRRUFBQUJmUUVDQXdBRUVRVVNJVEZCQmhOUllRY2ljUlF5Z1pHaENDTkNzY0VWVXRId0pETmljb0lKQ2hZWEdCa2FKU1luS0NrcU5EVTJOemc1T2tORVJVWkhTRWxLVTFSVlZsZFlXVnBqWkdWbVoyaHBhbk4wZFhaM2VIbDZnNFNGaG9lSWlZcVNrNVNWbHBlWW1acWlvNlNscHFlb3FhcXlzN1MxdHJlNHVickN3OFRGeHNmSXljclMwOVRWMXRmWTJkcmg0dVBrNWVibjZPbnE4Zkx6OVBYMjkvajUrdi9FQUI4QkFBTUJBUUVCQVFFQkFRRUFBQUFBQUFBQkFnTUVCUVlIQ0FrS0MvL0VBTFVSQUFJQkFnUUVBd1FIQlFRRUFBRUNkd0FCQWdNUkJBVWhNUVlTUVZFSFlYRVRJaktCQ0JSQ2thR3h3UWtqTTFMd0ZXSnkwUW9XSkRUaEpmRVhHQmthSmljb0tTbzFOamM0T1RwRFJFVkdSMGhKU2xOVVZWWlhXRmxhWTJSbFptZG9hV3B6ZEhWMmQzaDVlb0tEaElXR2g0aUppcEtUbEpXV2w1aVptcUtqcEtXbXA2aXBxckt6dExXMnQ3aTV1c0xEeE1YR3g4akp5dExUMU5YVzE5aloydUxqNU9YbTUranA2dkx6OVBYMjkvajUrdi9hQUF3REFRQUNFUU1SQUQ4QStvZkNlaWVHOUkwQzNlNjhxTlZHVzNOVU9hVHNISzdYUE9maVArMHI0QzhKWHJXZGxaQzdsVGdsT2E5R25obkpYUFBxWXBRZGcrRy83UzNnTHhYZkpaM3RqOWxrYzRCZmluUEN1T3FGREZ4azdNOU84Y2ZEL1RkWDBDWFVMU0ZXczNYSUlya2FTME94TnZVK0hmaXI0NzEyenY4QTdJbDdJc08zN29iRlkyVjdtdDlMRmI0Q2VIYkh4bDQydG90VVQ3UUpIdzIvbXVoVlpMWm1Eb3hlNlB0M1UvMlRmQnlXcVhWdGJDQ2NMdVZrR09hMFdJbjFNbmhvR3Zva1YxbzNnYlVOS21jeVJROElXOUt6cVNVdFRXbkZ4MFo4bmZHWDRDYTVkNld1dVdrRFMyNFhKMmpOWkpYZGpWdXg0LzhBQ1A0Z1dudzU4Wnd6YWlESDVML01EeFhVc1BObks4VENKOXZlR1AydmRHOFh4RzN0VnpzWEdhbXBSZFBjZFBFUnFQUTdPRFhsMTN3bmYzRUtqRERtdWM2VTduUWVCZkgzaGJVUEFzVm5mT2tpT3VDckROQ2RodFhQbi80by9zMWZEcnhqcVVsN1ozUzJydWNrTHhYZFR4VGpvZWZVd2taTzQ3NGQvczgrQy9Cc2JrYWp1YzFGV3Y3UXVsaGxUUFdiN1Z2REhoTHdOZFcxdGRCbkk2MXhuWWxZLzlrPSI+Cgk8L2ltYWdlPgo8L3N2Zz4=\"}}',36,'2021-05-01 10:26:55','2021-05-01 10:27:07'),(515,'CobraProjects\\LaraShop\\Models\\LarashopProduct',250,'672806d4-2882-4120-bb4a-af59b6720149','main',' مراقبة هيكفجن 5 ميجا الحجم الصغير','كاميرا-مراقبة-هيكفجن-5-ميجا-الحجم-الصغير.jpg','image/jpeg','public','public',582769,'[]','{\"generated_conversions\":{\"thumb\":true,\"medium\":true}}','{\"media_library_original\":{\"urls\":[\"\\u0643\\u0627\\u0645\\u064a\\u0631\\u0627-\\u0645\\u0631\\u0627\\u0642\\u0628\\u0629-\\u0647\\u064a\\u0643\\u0641\\u062c\\u0646-5-\\u0645\\u064a\\u062c\\u0627-\\u0627\\u0644\\u062d\\u062c\\u0645-\\u0627\\u0644\\u0635\\u063a\\u064a\\u0631___media_library_original_1960_1960.jpg\",\"\\u0643\\u0627\\u0645\\u064a\\u0631\\u0627-\\u0645\\u0631\\u0627\\u0642\\u0628\\u0629-\\u0647\\u064a\\u0643\\u0641\\u062c\\u0646-5-\\u0645\\u064a\\u062c\\u0627-\\u0627\\u0644\\u062d\\u062c\\u0645-\\u0627\\u0644\\u0635\\u063a\\u064a\\u0631___media_library_original_1639_1639.jpg\",\"\\u0643\\u0627\\u0645\\u064a\\u0631\\u0627-\\u0645\\u0631\\u0627\\u0642\\u0628\\u0629-\\u0647\\u064a\\u0643\\u0641\\u062c\\u0646-5-\\u0645\\u064a\\u062c\\u0627-\\u0627\\u0644\\u062d\\u062c\\u0645-\\u0627\\u0644\\u0635\\u063a\\u064a\\u0631___media_library_original_1372_1372.jpg\",\"\\u0643\\u0627\\u0645\\u064a\\u0631\\u0627-\\u0645\\u0631\\u0627\\u0642\\u0628\\u0629-\\u0647\\u064a\\u0643\\u0641\\u062c\\u0646-5-\\u0645\\u064a\\u062c\\u0627-\\u0627\\u0644\\u062d\\u062c\\u0645-\\u0627\\u0644\\u0635\\u063a\\u064a\\u0631___media_library_original_1147_1147.jpg\",\"\\u0643\\u0627\\u0645\\u064a\\u0631\\u0627-\\u0645\\u0631\\u0627\\u0642\\u0628\\u0629-\\u0647\\u064a\\u0643\\u0641\\u062c\\u0646-5-\\u0645\\u064a\\u062c\\u0627-\\u0627\\u0644\\u062d\\u062c\\u0645-\\u0627\\u0644\\u0635\\u063a\\u064a\\u0631___media_library_original_960_960.jpg\",\"\\u0643\\u0627\\u0645\\u064a\\u0631\\u0627-\\u0645\\u0631\\u0627\\u0642\\u0628\\u0629-\\u0647\\u064a\\u0643\\u0641\\u062c\\u0646-5-\\u0645\\u064a\\u062c\\u0627-\\u0627\\u0644\\u062d\\u062c\\u0645-\\u0627\\u0644\\u0635\\u063a\\u064a\\u0631___media_library_original_803_803.jpg\",\"\\u0643\\u0627\\u0645\\u064a\\u0631\\u0627-\\u0645\\u0631\\u0627\\u0642\\u0628\\u0629-\\u0647\\u064a\\u0643\\u0641\\u062c\\u0646-5-\\u0645\\u064a\\u062c\\u0627-\\u0627\\u0644\\u062d\\u062c\\u0645-\\u0627\\u0644\\u0635\\u063a\\u064a\\u0631___media_library_original_672_672.jpg\",\"\\u0643\\u0627\\u0645\\u064a\\u0631\\u0627-\\u0645\\u0631\\u0627\\u0642\\u0628\\u0629-\\u0647\\u064a\\u0643\\u0641\\u062c\\u0646-5-\\u0645\\u064a\\u062c\\u0627-\\u0627\\u0644\\u062d\\u062c\\u0645-\\u0627\\u0644\\u0635\\u063a\\u064a\\u0631___media_library_original_562_562.jpg\",\"\\u0643\\u0627\\u0645\\u064a\\u0631\\u0627-\\u0645\\u0631\\u0627\\u0642\\u0628\\u0629-\\u0647\\u064a\\u0643\\u0641\\u062c\\u0646-5-\\u0645\\u064a\\u062c\\u0627-\\u0627\\u0644\\u062d\\u062c\\u0645-\\u0627\\u0644\\u0635\\u063a\\u064a\\u0631___media_library_original_470_470.jpg\",\"\\u0643\\u0627\\u0645\\u064a\\u0631\\u0627-\\u0645\\u0631\\u0627\\u0642\\u0628\\u0629-\\u0647\\u064a\\u0643\\u0641\\u062c\\u0646-5-\\u0645\\u064a\\u062c\\u0627-\\u0627\\u0644\\u062d\\u062c\\u0645-\\u0627\\u0644\\u0635\\u063a\\u064a\\u0631___media_library_original_393_393.jpg\",\"\\u0643\\u0627\\u0645\\u064a\\u0631\\u0627-\\u0645\\u0631\\u0627\\u0642\\u0628\\u0629-\\u0647\\u064a\\u0643\\u0641\\u062c\\u0646-5-\\u0645\\u064a\\u062c\\u0627-\\u0627\\u0644\\u062d\\u062c\\u0645-\\u0627\\u0644\\u0635\\u063a\\u064a\\u0631___media_library_original_329_329.jpg\",\"\\u0643\\u0627\\u0645\\u064a\\u0631\\u0627-\\u0645\\u0631\\u0627\\u0642\\u0628\\u0629-\\u0647\\u064a\\u0643\\u0641\\u062c\\u0646-5-\\u0645\\u064a\\u062c\\u0627-\\u0627\\u0644\\u062d\\u062c\\u0645-\\u0627\\u0644\\u0635\\u063a\\u064a\\u0631___media_library_original_275_275.jpg\"],\"base64svg\":\"data:image\\/svg+xml;base64,PCFET0NUWVBFIHN2ZyBQVUJMSUMgIi0vL1czQy8vRFREIFNWRyAxLjEvL0VOIiAiaHR0cDovL3d3dy53My5vcmcvR3JhcGhpY3MvU1ZHLzEuMS9EVEQvc3ZnMTEuZHRkIj4KPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbDpzcGFjZT0icHJlc2VydmUiIHg9IjAiCiB5PSIwIiB2aWV3Qm94PSIwIDAgMTk2MCAxOTYwIj4KCTxpbWFnZSB3aWR0aD0iMTk2MCIgaGVpZ2h0PSIxOTYwIiB4bGluazpocmVmPSJkYXRhOmltYWdlL2pwZWc7YmFzZTY0LC85ai80QUFRU2taSlJnQUJBUUVBWUFCZ0FBRC8vZ0E3UTFKRlFWUlBVam9nWjJRdGFuQmxaeUIyTVM0d0lDaDFjMmx1WnlCSlNrY2dTbEJGUnlCMk9EQXBMQ0J4ZFdGc2FYUjVJRDBnT1RBSy85c0FRd0FEQWdJREFnSURBd01EQkFNREJBVUlCUVVFQkFVS0J3Y0dDQXdLREF3TENnc0xEUTRTRUEwT0VRNExDeEFXRUJFVEZCVVZGUXdQRnhnV0ZCZ1NGQlVVLzlzQVF3RURCQVFGQkFVSkJRVUpGQTBMRFJRVUZCUVVGQlFVRkJRVUZCUVVGQlFVRkJRVUZCUVVGQlFVRkJRVUZCUVVGQlFVRkJRVUZCUVVGQlFVRkJRVUZCUVUvOEFBRVFnQUlBQWdBd0VSQUFJUkFRTVJBZi9FQUI4QUFBRUZBUUVCQVFFQkFBQUFBQUFBQUFBQkFnTUVCUVlIQ0FrS0MvL0VBTFVRQUFJQkF3TUNCQU1GQlFRRUFBQUJmUUVDQXdBRUVRVVNJVEZCQmhOUllRY2ljUlF5Z1pHaENDTkNzY0VWVXRId0pETmljb0lKQ2hZWEdCa2FKU1luS0NrcU5EVTJOemc1T2tORVJVWkhTRWxLVTFSVlZsZFlXVnBqWkdWbVoyaHBhbk4wZFhaM2VIbDZnNFNGaG9lSWlZcVNrNVNWbHBlWW1acWlvNlNscHFlb3FhcXlzN1MxdHJlNHVickN3OFRGeHNmSXljclMwOVRWMXRmWTJkcmg0dVBrNWVibjZPbnE4Zkx6OVBYMjkvajUrdi9FQUI4QkFBTUJBUUVCQVFFQkFRRUFBQUFBQUFBQkFnTUVCUVlIQ0FrS0MvL0VBTFVSQUFJQkFnUUVBd1FIQlFRRUFBRUNkd0FCQWdNUkJBVWhNUVlTUVZFSFlYRVRJaktCQ0JSQ2thR3h3UWtqTTFMd0ZXSnkwUW9XSkRUaEpmRVhHQmthSmljb0tTbzFOamM0T1RwRFJFVkdSMGhKU2xOVVZWWlhXRmxhWTJSbFptZG9hV3B6ZEhWMmQzaDVlb0tEaElXR2g0aUppcEtUbEpXV2w1aVptcUtqcEtXbXA2aXBxckt6dExXMnQ3aTV1c0xEeE1YR3g4akp5dExUMU5YVzE5aloydUxqNU9YbTUranA2dkx6OVBYMjkvajUrdi9hQUF3REFRQUNFUU1SQUQ4QStvL0MrZytIZEU4UFcwdDRJNGtBeVN4eFVPYVRzSEs3WFBPUGlKKzBsNEQ4SzNqV2xqWWk4a1RnbE9hOUNuaCtZNEttSlVIWWI4T2YybWZBUGltL1N6dnJJV2tybkEzOFZjOEs0Nm9pR0xqSjJaNmY0MzhBYWJyR2dTNmhaeEsxbTY1VXJYRzBsb2RxYmVwODRmdEZYdXF3YWRwMFZ0ZVBCQ3k4aFRpc1dsZTVyNUhsUHdiMEd4MWp4a2tHcEtMb01lZC9PYTNWU1MyTVhTakxkSHVIeFkvWjMwYVhSbXZ0QWgreTMwUTNncHhYWFN4RHZhUnhWc0tyWGlkdjhBZkdtb2FqOEx0UTBmVW5NazFwOG1XT2VsVGlZcTkwYVlXVHR5czUvd0RhTStGdXE2LzhPclRWOU9SbjhsY3NGRmNjWTh6c2RrcGNxdWZKSHdyOGJKNE84WnBKcVJLTWo0SWJpdXY2cksxemordHdUc2ZZMWo4VTdUeGRhQ0t6a1JsZGNIQnJubEJ3ZXAwUnFSbXREci9BSGc2RFFmQ21yM2FNR2VjN2ppcW5VNWxZVk9ueXR0SHBYZ1g0Z2VGOVE4Q1JXVjlJa2ticnRaV0dheFRzYnRYVmo1LytKMzdObnc2OFhhbkpmV04wdHBJNXlRdkZkME1WS0tzeno2bUVqSjNSYStIbndLOEorRDRXL3dDSnN6dDdtczZ0YjJocFN3L3MrcDZucWV1ZUcvQy9nZTZ0NGJzU09SMU5jaDFwV1AvWiI+Cgk8L2ltYWdlPgo8L3N2Zz4=\"}}',37,'2021-05-01 10:34:29','2021-05-01 10:34:35'),(516,'CobraProjects\\LaraShop\\Models\\LarashopProduct',251,'0cd0722a-da08-4585-8427-71d2314b6405','main',' مراقبة هيكفجن 5 ميجا داخلي','كاميرا-مراقبة-هيكفجن-5-ميجا-داخلي.jpg','image/jpeg','public','public',711499,'[]','{\"generated_conversions\":{\"thumb\":true,\"medium\":true}}','{\"media_library_original\":{\"urls\":[\"\\u0643\\u0627\\u0645\\u064a\\u0631\\u0627-\\u0645\\u0631\\u0627\\u0642\\u0628\\u0629-\\u0647\\u064a\\u0643\\u0641\\u062c\\u0646-5-\\u0645\\u064a\\u062c\\u0627-\\u062f\\u0627\\u062e\\u0644\\u064a___media_library_original_1960_1960.jpg\",\"\\u0643\\u0627\\u0645\\u064a\\u0631\\u0627-\\u0645\\u0631\\u0627\\u0642\\u0628\\u0629-\\u0647\\u064a\\u0643\\u0641\\u062c\\u0646-5-\\u0645\\u064a\\u062c\\u0627-\\u062f\\u0627\\u062e\\u0644\\u064a___media_library_original_1639_1639.jpg\",\"\\u0643\\u0627\\u0645\\u064a\\u0631\\u0627-\\u0645\\u0631\\u0627\\u0642\\u0628\\u0629-\\u0647\\u064a\\u0643\\u0641\\u062c\\u0646-5-\\u0645\\u064a\\u062c\\u0627-\\u062f\\u0627\\u062e\\u0644\\u064a___media_library_original_1371_1371.jpg\",\"\\u0643\\u0627\\u0645\\u064a\\u0631\\u0627-\\u0645\\u0631\\u0627\\u0642\\u0628\\u0629-\\u0647\\u064a\\u0643\\u0641\\u062c\\u0646-5-\\u0645\\u064a\\u062c\\u0627-\\u062f\\u0627\\u062e\\u0644\\u064a___media_library_original_1147_1147.jpg\",\"\\u0643\\u0627\\u0645\\u064a\\u0631\\u0627-\\u0645\\u0631\\u0627\\u0642\\u0628\\u0629-\\u0647\\u064a\\u0643\\u0641\\u062c\\u0646-5-\\u0645\\u064a\\u062c\\u0627-\\u062f\\u0627\\u062e\\u0644\\u064a___media_library_original_960_960.jpg\",\"\\u0643\\u0627\\u0645\\u064a\\u0631\\u0627-\\u0645\\u0631\\u0627\\u0642\\u0628\\u0629-\\u0647\\u064a\\u0643\\u0641\\u062c\\u0646-5-\\u0645\\u064a\\u062c\\u0627-\\u062f\\u0627\\u062e\\u0644\\u064a___media_library_original_803_803.jpg\",\"\\u0643\\u0627\\u0645\\u064a\\u0631\\u0627-\\u0645\\u0631\\u0627\\u0642\\u0628\\u0629-\\u0647\\u064a\\u0643\\u0641\\u062c\\u0646-5-\\u0645\\u064a\\u062c\\u0627-\\u062f\\u0627\\u062e\\u0644\\u064a___media_library_original_672_672.jpg\",\"\\u0643\\u0627\\u0645\\u064a\\u0631\\u0627-\\u0645\\u0631\\u0627\\u0642\\u0628\\u0629-\\u0647\\u064a\\u0643\\u0641\\u062c\\u0646-5-\\u0645\\u064a\\u062c\\u0627-\\u062f\\u0627\\u062e\\u0644\\u064a___media_library_original_562_562.jpg\",\"\\u0643\\u0627\\u0645\\u064a\\u0631\\u0627-\\u0645\\u0631\\u0627\\u0642\\u0628\\u0629-\\u0647\\u064a\\u0643\\u0641\\u062c\\u0646-5-\\u0645\\u064a\\u062c\\u0627-\\u062f\\u0627\\u062e\\u0644\\u064a___media_library_original_470_470.jpg\",\"\\u0643\\u0627\\u0645\\u064a\\u0631\\u0627-\\u0645\\u0631\\u0627\\u0642\\u0628\\u0629-\\u0647\\u064a\\u0643\\u0641\\u062c\\u0646-5-\\u0645\\u064a\\u062c\\u0627-\\u062f\\u0627\\u062e\\u0644\\u064a___media_library_original_393_393.jpg\",\"\\u0643\\u0627\\u0645\\u064a\\u0631\\u0627-\\u0645\\u0631\\u0627\\u0642\\u0628\\u0629-\\u0647\\u064a\\u0643\\u0641\\u062c\\u0646-5-\\u0645\\u064a\\u062c\\u0627-\\u062f\\u0627\\u062e\\u0644\\u064a___media_library_original_329_329.jpg\",\"\\u0643\\u0627\\u0645\\u064a\\u0631\\u0627-\\u0645\\u0631\\u0627\\u0642\\u0628\\u0629-\\u0647\\u064a\\u0643\\u0641\\u062c\\u0646-5-\\u0645\\u064a\\u062c\\u0627-\\u062f\\u0627\\u062e\\u0644\\u064a___media_library_original_275_275.jpg\"],\"base64svg\":\"data:image\\/svg+xml;base64,PCFET0NUWVBFIHN2ZyBQVUJMSUMgIi0vL1czQy8vRFREIFNWRyAxLjEvL0VOIiAiaHR0cDovL3d3dy53My5vcmcvR3JhcGhpY3MvU1ZHLzEuMS9EVEQvc3ZnMTEuZHRkIj4KPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbDpzcGFjZT0icHJlc2VydmUiIHg9IjAiCiB5PSIwIiB2aWV3Qm94PSIwIDAgMTk2MCAxOTYwIj4KCTxpbWFnZSB3aWR0aD0iMTk2MCIgaGVpZ2h0PSIxOTYwIiB4bGluazpocmVmPSJkYXRhOmltYWdlL2pwZWc7YmFzZTY0LC85ai80QUFRU2taSlJnQUJBUUVBWUFCZ0FBRC8vZ0E3UTFKRlFWUlBVam9nWjJRdGFuQmxaeUIyTVM0d0lDaDFjMmx1WnlCSlNrY2dTbEJGUnlCMk9EQXBMQ0J4ZFdGc2FYUjVJRDBnT1RBSy85c0FRd0FEQWdJREFnSURBd01EQkFNREJBVUlCUVVFQkFVS0J3Y0dDQXdLREF3TENnc0xEUTRTRUEwT0VRNExDeEFXRUJFVEZCVVZGUXdQRnhnV0ZCZ1NGQlVVLzlzQVF3RURCQVFGQkFVSkJRVUpGQTBMRFJRVUZCUVVGQlFVRkJRVUZCUVVGQlFVRkJRVUZCUVVGQlFVRkJRVUZCUVVGQlFVRkJRVUZCUVVGQlFVRkJRVUZCUVUvOEFBRVFnQUlBQWdBd0VSQUFJUkFRTVJBZi9FQUI4QUFBRUZBUUVCQVFFQkFBQUFBQUFBQUFBQkFnTUVCUVlIQ0FrS0MvL0VBTFVRQUFJQkF3TUNCQU1GQlFRRUFBQUJmUUVDQXdBRUVRVVNJVEZCQmhOUllRY2ljUlF5Z1pHaENDTkNzY0VWVXRId0pETmljb0lKQ2hZWEdCa2FKU1luS0NrcU5EVTJOemc1T2tORVJVWkhTRWxLVTFSVlZsZFlXVnBqWkdWbVoyaHBhbk4wZFhaM2VIbDZnNFNGaG9lSWlZcVNrNVNWbHBlWW1acWlvNlNscHFlb3FhcXlzN1MxdHJlNHVickN3OFRGeHNmSXljclMwOVRWMXRmWTJkcmg0dVBrNWVibjZPbnE4Zkx6OVBYMjkvajUrdi9FQUI4QkFBTUJBUUVCQVFFQkFRRUFBQUFBQUFBQkFnTUVCUVlIQ0FrS0MvL0VBTFVSQUFJQkFnUUVBd1FIQlFRRUFBRUNkd0FCQWdNUkJBVWhNUVlTUVZFSFlYRVRJaktCQ0JSQ2thR3h3UWtqTTFMd0ZXSnkwUW9XSkRUaEpmRVhHQmthSmljb0tTbzFOamM0T1RwRFJFVkdSMGhKU2xOVVZWWlhXRmxhWTJSbFptZG9hV3B6ZEhWMmQzaDVlb0tEaElXR2g0aUppcEtUbEpXV2w1aVptcUtqcEtXbXA2aXBxckt6dExXMnQ3aTV1c0xEeE1YR3g4akp5dExUMU5YVzE5aloydUxqNU9YbTUranA2dkx6OVBYMjkvajUrdi9hQUF3REFRQUNFUU1SQUQ4QStzL0F2Z1RTNGRBdFhlMkd6R1NUVU9hVHNISzdYTVR4cjRxMG5SYm8ydW5hRTkyNjhFcXZGZGNhYWU3T1dkVnJaRS9nYnhEcG10M0syK29hREphczNBTExST21sc3doVmN0MGFmeEgrR0ZwTHBNOXpIYkJiY3JrVms3V050Ym5LL0ViNHBId0g0UjBhSkNFRXJBTWZhdEtkSlQxWmpXcXVOa2M5by83VC9oQ0RXcmUxdUJFMHI0RE1RT3RjMHJwbThVbXJudlVPcTZUcmVteDZoWXBFVUs3Z1ZBcWJ0c2Rramx4OFJmOEFoSnREMWpUemovUnp0RmRNb1dpbVl3bnpObzhzL2FKK0c5NzRvK0V0bGYyU004bHVNa0tLM29TdG9ZNGlEZG1mbmpxMEYzWStJSTFkWkJjSzRIT2V0Y3RSV1oxVTNlSitpUHdJOFF6Mm53MmgrMnlFTVlzRGNmYXNWdVhMWTZId0pveVJhQnIxOXYzTk01SXJyblBtU1J6VW9XYlo2VjRFK0lYaGkvOEFBc1ZuZXlwSkc2NEtzTTFpblk2V3JuaXZqejRGZkR6eERySjFHMW5TR1F0dXdCV25PbnVaY2pXeDBXaStEZkR0bHBpMmphbmhGR0FvcVcxMERsZlU2Ry8xZnd6NFQ4RDNkdmIzUVoySEpxVFJLeC8vMlE9PSI+Cgk8L2ltYWdlPgo8L3N2Zz4=\"}}',38,'2021-05-01 10:41:57','2021-05-01 10:42:05'),(517,'CobraProjects\\LaraShop\\Models\\LarashopProduct',252,'3dc2299d-ef53-439d-89c3-64499888d7fb','main',' مراقبة هيكفجن 8 ميجا الحجم الكبير','كاميرا-مراقبة-هيكفجن-8-ميجا-الحجم-الكبير.jpg','image/jpeg','public','public',728538,'[]','{\"generated_conversions\":{\"thumb\":true,\"medium\":true}}','{\"media_library_original\":{\"urls\":[\"\\u0643\\u0627\\u0645\\u064a\\u0631\\u0627-\\u0645\\u0631\\u0627\\u0642\\u0628\\u0629-\\u0647\\u064a\\u0643\\u0641\\u062c\\u0646-8-\\u0645\\u064a\\u062c\\u0627-\\u0627\\u0644\\u062d\\u062c\\u0645-\\u0627\\u0644\\u0643\\u0628\\u064a\\u0631___media_library_original_1960_1960.jpg\",\"\\u0643\\u0627\\u0645\\u064a\\u0631\\u0627-\\u0645\\u0631\\u0627\\u0642\\u0628\\u0629-\\u0647\\u064a\\u0643\\u0641\\u062c\\u0646-8-\\u0645\\u064a\\u062c\\u0627-\\u0627\\u0644\\u062d\\u062c\\u0645-\\u0627\\u0644\\u0643\\u0628\\u064a\\u0631___media_library_original_1639_1639.jpg\",\"\\u0643\\u0627\\u0645\\u064a\\u0631\\u0627-\\u0645\\u0631\\u0627\\u0642\\u0628\\u0629-\\u0647\\u064a\\u0643\\u0641\\u062c\\u0646-8-\\u0645\\u064a\\u062c\\u0627-\\u0627\\u0644\\u062d\\u062c\\u0645-\\u0627\\u0644\\u0643\\u0628\\u064a\\u0631___media_library_original_1371_1371.jpg\",\"\\u0643\\u0627\\u0645\\u064a\\u0631\\u0627-\\u0645\\u0631\\u0627\\u0642\\u0628\\u0629-\\u0647\\u064a\\u0643\\u0641\\u062c\\u0646-8-\\u0645\\u064a\\u062c\\u0627-\\u0627\\u0644\\u062d\\u062c\\u0645-\\u0627\\u0644\\u0643\\u0628\\u064a\\u0631___media_library_original_1147_1147.jpg\",\"\\u0643\\u0627\\u0645\\u064a\\u0631\\u0627-\\u0645\\u0631\\u0627\\u0642\\u0628\\u0629-\\u0647\\u064a\\u0643\\u0641\\u062c\\u0646-8-\\u0645\\u064a\\u062c\\u0627-\\u0627\\u0644\\u062d\\u062c\\u0645-\\u0627\\u0644\\u0643\\u0628\\u064a\\u0631___media_library_original_960_960.jpg\",\"\\u0643\\u0627\\u0645\\u064a\\u0631\\u0627-\\u0645\\u0631\\u0627\\u0642\\u0628\\u0629-\\u0647\\u064a\\u0643\\u0641\\u062c\\u0646-8-\\u0645\\u064a\\u062c\\u0627-\\u0627\\u0644\\u062d\\u062c\\u0645-\\u0627\\u0644\\u0643\\u0628\\u064a\\u0631___media_library_original_803_803.jpg\",\"\\u0643\\u0627\\u0645\\u064a\\u0631\\u0627-\\u0645\\u0631\\u0627\\u0642\\u0628\\u0629-\\u0647\\u064a\\u0643\\u0641\\u062c\\u0646-8-\\u0645\\u064a\\u062c\\u0627-\\u0627\\u0644\\u062d\\u062c\\u0645-\\u0627\\u0644\\u0643\\u0628\\u064a\\u0631___media_library_original_672_672.jpg\",\"\\u0643\\u0627\\u0645\\u064a\\u0631\\u0627-\\u0645\\u0631\\u0627\\u0642\\u0628\\u0629-\\u0647\\u064a\\u0643\\u0641\\u062c\\u0646-8-\\u0645\\u064a\\u062c\\u0627-\\u0627\\u0644\\u062d\\u062c\\u0645-\\u0627\\u0644\\u0643\\u0628\\u064a\\u0631___media_library_original_562_562.jpg\",\"\\u0643\\u0627\\u0645\\u064a\\u0631\\u0627-\\u0645\\u0631\\u0627\\u0642\\u0628\\u0629-\\u0647\\u064a\\u0643\\u0641\\u062c\\u0646-8-\\u0645\\u064a\\u062c\\u0627-\\u0627\\u0644\\u062d\\u062c\\u0645-\\u0627\\u0644\\u0643\\u0628\\u064a\\u0631___media_library_original_470_470.jpg\",\"\\u0643\\u0627\\u0645\\u064a\\u0631\\u0627-\\u0645\\u0631\\u0627\\u0642\\u0628\\u0629-\\u0647\\u064a\\u0643\\u0641\\u062c\\u0646-8-\\u0645\\u064a\\u062c\\u0627-\\u0627\\u0644\\u062d\\u062c\\u0645-\\u0627\\u0644\\u0643\\u0628\\u064a\\u0631___media_library_original_393_393.jpg\",\"\\u0643\\u0627\\u0645\\u064a\\u0631\\u0627-\\u0645\\u0631\\u0627\\u0642\\u0628\\u0629-\\u0647\\u064a\\u0643\\u0641\\u062c\\u0646-8-\\u0645\\u064a\\u062c\\u0627-\\u0627\\u0644\\u062d\\u062c\\u0645-\\u0627\\u0644\\u0643\\u0628\\u064a\\u0631___media_library_original_329_329.jpg\",\"\\u0643\\u0627\\u0645\\u064a\\u0631\\u0627-\\u0645\\u0631\\u0627\\u0642\\u0628\\u0629-\\u0647\\u064a\\u0643\\u0641\\u062c\\u0646-8-\\u0645\\u064a\\u062c\\u0627-\\u0627\\u0644\\u062d\\u062c\\u0645-\\u0627\\u0644\\u0643\\u0628\\u064a\\u0631___media_library_original_275_275.jpg\"],\"base64svg\":\"data:image\\/svg+xml;base64,PCFET0NUWVBFIHN2ZyBQVUJMSUMgIi0vL1czQy8vRFREIFNWRyAxLjEvL0VOIiAiaHR0cDovL3d3dy53My5vcmcvR3JhcGhpY3MvU1ZHLzEuMS9EVEQvc3ZnMTEuZHRkIj4KPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbDpzcGFjZT0icHJlc2VydmUiIHg9IjAiCiB5PSIwIiB2aWV3Qm94PSIwIDAgMTk2MCAxOTYwIj4KCTxpbWFnZSB3aWR0aD0iMTk2MCIgaGVpZ2h0PSIxOTYwIiB4bGluazpocmVmPSJkYXRhOmltYWdlL2pwZWc7YmFzZTY0LC85ai80QUFRU2taSlJnQUJBUUVBWUFCZ0FBRC8vZ0E3UTFKRlFWUlBVam9nWjJRdGFuQmxaeUIyTVM0d0lDaDFjMmx1WnlCSlNrY2dTbEJGUnlCMk9EQXBMQ0J4ZFdGc2FYUjVJRDBnT1RBSy85c0FRd0FEQWdJREFnSURBd01EQkFNREJBVUlCUVVFQkFVS0J3Y0dDQXdLREF3TENnc0xEUTRTRUEwT0VRNExDeEFXRUJFVEZCVVZGUXdQRnhnV0ZCZ1NGQlVVLzlzQVF3RURCQVFGQkFVSkJRVUpGQTBMRFJRVUZCUVVGQlFVRkJRVUZCUVVGQlFVRkJRVUZCUVVGQlFVRkJRVUZCUVVGQlFVRkJRVUZCUVVGQlFVRkJRVUZCUVUvOEFBRVFnQUlBQWdBd0VSQUFJUkFRTVJBZi9FQUI4QUFBRUZBUUVCQVFFQkFBQUFBQUFBQUFBQkFnTUVCUVlIQ0FrS0MvL0VBTFVRQUFJQkF3TUNCQU1GQlFRRUFBQUJmUUVDQXdBRUVRVVNJVEZCQmhOUllRY2ljUlF5Z1pHaENDTkNzY0VWVXRId0pETmljb0lKQ2hZWEdCa2FKU1luS0NrcU5EVTJOemc1T2tORVJVWkhTRWxLVTFSVlZsZFlXVnBqWkdWbVoyaHBhbk4wZFhaM2VIbDZnNFNGaG9lSWlZcVNrNVNWbHBlWW1acWlvNlNscHFlb3FhcXlzN1MxdHJlNHVickN3OFRGeHNmSXljclMwOVRWMXRmWTJkcmg0dVBrNWVibjZPbnE4Zkx6OVBYMjkvajUrdi9FQUI4QkFBTUJBUUVCQVFFQkFRRUFBQUFBQUFBQkFnTUVCUVlIQ0FrS0MvL0VBTFVSQUFJQkFnUUVBd1FIQlFRRUFBRUNkd0FCQWdNUkJBVWhNUVlTUVZFSFlYRVRJaktCQ0JSQ2thR3h3UWtqTTFMd0ZXSnkwUW9XSkRUaEpmRVhHQmthSmljb0tTbzFOamM0T1RwRFJFVkdSMGhKU2xOVVZWWlhXRmxhWTJSbFptZG9hV3B6ZEhWMmQzaDVlb0tEaElXR2g0aUppcEtUbEpXV2w1aVptcUtqcEtXbXA2aXBxckt6dExXMnQ3aTV1c0xEeE1YR3g4akp5dExUMU5YVzE5aloydUxqNU9YbTUranA2dkx6OVBYMjkvajUrdi9hQUF3REFRQUNFUU1SQUQ4QStxZkNYaGJRdEo4TjI4OTFHa2NTakxGamlvYzBueWcxcGM4dytJLzdTM2dMd2plTmFXZGw5cmtRNFlweUs5S25obkpYWjUxVEZxRHNKOE5mMm0vQUhpNi9TenZMSVdzam5BTGNVNTRWeDFRb1l1TW5abnFIamo0ZjZicStnUzZoYVFxMW02NVVpdU5wTFE3VTI5VDQ0L2FaK0tYaTN3dGJXdGxCY05EWXlyakNuR2F4dHJjMjNWbVl2N004dmhieFpxTDIvaXRGa21tUER5ZXRkQ3hFMGN6dzhIcWZXYi9zbCtDWjBUVU5QQWkvaVZrcWxpNTlUSjRTRzZPKzAxVzBid0xlNlI1alN4d2pDczNwVVRmTnFiUVhMb2ZLSDdYZndzMXZ4SDRVMDNVZE90SG5qaUdXS0xuRlkydWIzc2ZKbmczVWJ2dzdyMXVMa05BeVNBTm5qSE5hcWxKOURGMW9MZG42Ui9ETDR3Nk5lK0dMTzFXOUVzcXhnTU4xWnpwU2pxeHhxeG5zZWszRnhiWFBnMjl1WXlDV0hhcFQwc2FXNmx6d1I0NThKNnA0R2h0TlFhT1ZHWEJERE5XdEFhdWVDZkU3OW03NGQrTHRSa3ZMRzZXMGR6a2hSaXUybmlYSGM0YW1GVW5kRTN3OCtBbmhId2ZHeC90Vm5mM05SVnJlMEhTdy9zejFiVnRkOE4rRy9BdHpiUlhZa2ZHT2E1RHNTc2YvMlE9PSI+Cgk8L2ltYWdlPgo8L3N2Zz4=\"}}',39,'2021-05-01 10:48:17','2021-05-01 10:48:24'),(518,'CobraProjects\\LaraShop\\Models\\LarashopProduct',253,'36c4b264-cb5b-4148-b61b-3535eb956ac9','main',' مراقبة هيكفجن 8 ميجا الحجم الصغير','كاميرا-مراقبة-هيكفجن-8-ميجا-الحجم-الصغير.jpg','image/jpeg','public','public',632840,'[]','{\"generated_conversions\":{\"thumb\":true,\"medium\":true}}','{\"media_library_original\":{\"urls\":[\"\\u0643\\u0627\\u0645\\u064a\\u0631\\u0627-\\u0645\\u0631\\u0627\\u0642\\u0628\\u0629-\\u0647\\u064a\\u0643\\u0641\\u062c\\u0646-8-\\u0645\\u064a\\u062c\\u0627-\\u0627\\u0644\\u062d\\u062c\\u0645-\\u0627\\u0644\\u0635\\u063a\\u064a\\u0631___media_library_original_1960_1960.jpg\",\"\\u0643\\u0627\\u0645\\u064a\\u0631\\u0627-\\u0645\\u0631\\u0627\\u0642\\u0628\\u0629-\\u0647\\u064a\\u0643\\u0641\\u062c\\u0646-8-\\u0645\\u064a\\u062c\\u0627-\\u0627\\u0644\\u062d\\u062c\\u0645-\\u0627\\u0644\\u0635\\u063a\\u064a\\u0631___media_library_original_1639_1639.jpg\",\"\\u0643\\u0627\\u0645\\u064a\\u0631\\u0627-\\u0645\\u0631\\u0627\\u0642\\u0628\\u0629-\\u0647\\u064a\\u0643\\u0641\\u062c\\u0646-8-\\u0645\\u064a\\u062c\\u0627-\\u0627\\u0644\\u062d\\u062c\\u0645-\\u0627\\u0644\\u0635\\u063a\\u064a\\u0631___media_library_original_1372_1372.jpg\",\"\\u0643\\u0627\\u0645\\u064a\\u0631\\u0627-\\u0645\\u0631\\u0627\\u0642\\u0628\\u0629-\\u0647\\u064a\\u0643\\u0641\\u062c\\u0646-8-\\u0645\\u064a\\u062c\\u0627-\\u0627\\u0644\\u062d\\u062c\\u0645-\\u0627\\u0644\\u0635\\u063a\\u064a\\u0631___media_library_original_1147_1147.jpg\",\"\\u0643\\u0627\\u0645\\u064a\\u0631\\u0627-\\u0645\\u0631\\u0627\\u0642\\u0628\\u0629-\\u0647\\u064a\\u0643\\u0641\\u062c\\u0646-8-\\u0645\\u064a\\u062c\\u0627-\\u0627\\u0644\\u062d\\u062c\\u0645-\\u0627\\u0644\\u0635\\u063a\\u064a\\u0631___media_library_original_960_960.jpg\",\"\\u0643\\u0627\\u0645\\u064a\\u0631\\u0627-\\u0645\\u0631\\u0627\\u0642\\u0628\\u0629-\\u0647\\u064a\\u0643\\u0641\\u062c\\u0646-8-\\u0645\\u064a\\u062c\\u0627-\\u0627\\u0644\\u062d\\u062c\\u0645-\\u0627\\u0644\\u0635\\u063a\\u064a\\u0631___media_library_original_803_803.jpg\",\"\\u0643\\u0627\\u0645\\u064a\\u0631\\u0627-\\u0645\\u0631\\u0627\\u0642\\u0628\\u0629-\\u0647\\u064a\\u0643\\u0641\\u062c\\u0646-8-\\u0645\\u064a\\u062c\\u0627-\\u0627\\u0644\\u062d\\u062c\\u0645-\\u0627\\u0644\\u0635\\u063a\\u064a\\u0631___media_library_original_672_672.jpg\",\"\\u0643\\u0627\\u0645\\u064a\\u0631\\u0627-\\u0645\\u0631\\u0627\\u0642\\u0628\\u0629-\\u0647\\u064a\\u0643\\u0641\\u062c\\u0646-8-\\u0645\\u064a\\u062c\\u0627-\\u0627\\u0644\\u062d\\u062c\\u0645-\\u0627\\u0644\\u0635\\u063a\\u064a\\u0631___media_library_original_562_562.jpg\",\"\\u0643\\u0627\\u0645\\u064a\\u0631\\u0627-\\u0645\\u0631\\u0627\\u0642\\u0628\\u0629-\\u0647\\u064a\\u0643\\u0641\\u062c\\u0646-8-\\u0645\\u064a\\u062c\\u0627-\\u0627\\u0644\\u062d\\u062c\\u0645-\\u0627\\u0644\\u0635\\u063a\\u064a\\u0631___media_library_original_470_470.jpg\",\"\\u0643\\u0627\\u0645\\u064a\\u0631\\u0627-\\u0645\\u0631\\u0627\\u0642\\u0628\\u0629-\\u0647\\u064a\\u0643\\u0641\\u062c\\u0646-8-\\u0645\\u064a\\u062c\\u0627-\\u0627\\u0644\\u062d\\u062c\\u0645-\\u0627\\u0644\\u0635\\u063a\\u064a\\u0631___media_library_original_393_393.jpg\",\"\\u0643\\u0627\\u0645\\u064a\\u0631\\u0627-\\u0645\\u0631\\u0627\\u0642\\u0628\\u0629-\\u0647\\u064a\\u0643\\u0641\\u062c\\u0646-8-\\u0645\\u064a\\u062c\\u0627-\\u0627\\u0644\\u062d\\u062c\\u0645-\\u0627\\u0644\\u0635\\u063a\\u064a\\u0631___media_library_original_329_329.jpg\",\"\\u0643\\u0627\\u0645\\u064a\\u0631\\u0627-\\u0645\\u0631\\u0627\\u0642\\u0628\\u0629-\\u0647\\u064a\\u0643\\u0641\\u062c\\u0646-8-\\u0645\\u064a\\u062c\\u0627-\\u0627\\u0644\\u062d\\u062c\\u0645-\\u0627\\u0644\\u0635\\u063a\\u064a\\u0631___media_library_original_275_275.jpg\"],\"base64svg\":\"data:image\\/svg+xml;base64,PCFET0NUWVBFIHN2ZyBQVUJMSUMgIi0vL1czQy8vRFREIFNWRyAxLjEvL0VOIiAiaHR0cDovL3d3dy53My5vcmcvR3JhcGhpY3MvU1ZHLzEuMS9EVEQvc3ZnMTEuZHRkIj4KPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbDpzcGFjZT0icHJlc2VydmUiIHg9IjAiCiB5PSIwIiB2aWV3Qm94PSIwIDAgMTk2MCAxOTYwIj4KCTxpbWFnZSB3aWR0aD0iMTk2MCIgaGVpZ2h0PSIxOTYwIiB4bGluazpocmVmPSJkYXRhOmltYWdlL2pwZWc7YmFzZTY0LC85ai80QUFRU2taSlJnQUJBUUVBWUFCZ0FBRC8vZ0E3UTFKRlFWUlBVam9nWjJRdGFuQmxaeUIyTVM0d0lDaDFjMmx1WnlCSlNrY2dTbEJGUnlCMk9EQXBMQ0J4ZFdGc2FYUjVJRDBnT1RBSy85c0FRd0FEQWdJREFnSURBd01EQkFNREJBVUlCUVVFQkFVS0J3Y0dDQXdLREF3TENnc0xEUTRTRUEwT0VRNExDeEFXRUJFVEZCVVZGUXdQRnhnV0ZCZ1NGQlVVLzlzQVF3RURCQVFGQkFVSkJRVUpGQTBMRFJRVUZCUVVGQlFVRkJRVUZCUVVGQlFVRkJRVUZCUVVGQlFVRkJRVUZCUVVGQlFVRkJRVUZCUVVGQlFVRkJRVUZCUVUvOEFBRVFnQUlBQWdBd0VSQUFJUkFRTVJBZi9FQUI4QUFBRUZBUUVCQVFFQkFBQUFBQUFBQUFBQkFnTUVCUVlIQ0FrS0MvL0VBTFVRQUFJQkF3TUNCQU1GQlFRRUFBQUJmUUVDQXdBRUVRVVNJVEZCQmhOUllRY2ljUlF5Z1pHaENDTkNzY0VWVXRId0pETmljb0lKQ2hZWEdCa2FKU1luS0NrcU5EVTJOemc1T2tORVJVWkhTRWxLVTFSVlZsZFlXVnBqWkdWbVoyaHBhbk4wZFhaM2VIbDZnNFNGaG9lSWlZcVNrNVNWbHBlWW1acWlvNlNscHFlb3FhcXlzN1MxdHJlNHVickN3OFRGeHNmSXljclMwOVRWMXRmWTJkcmg0dVBrNWVibjZPbnE4Zkx6OVBYMjkvajUrdi9FQUI4QkFBTUJBUUVCQVFFQkFRRUFBQUFBQUFBQkFnTUVCUVlIQ0FrS0MvL0VBTFVSQUFJQkFnUUVBd1FIQlFRRUFBRUNkd0FCQWdNUkJBVWhNUVlTUVZFSFlYRVRJaktCQ0JSQ2thR3h3UWtqTTFMd0ZXSnkwUW9XSkRUaEpmRVhHQmthSmljb0tTbzFOamM0T1RwRFJFVkdSMGhKU2xOVVZWWlhXRmxhWTJSbFptZG9hV3B6ZEhWMmQzaDVlb0tEaElXR2g0aUppcEtUbEpXV2w1aVptcUtqcEtXbXA2aXBxckt6dExXMnQ3aTV1c0xEeE1YR3g4akp5dExUMU5YVzE5aloydUxqNU9YbTUranA2dkx6OVBYMjkvajUrdi9hQUF3REFRQUNFUU1SQUQ4QSttL0RkaDRXOFA2RmFtL2FLRVl5ZDdZcUhOSjJEbGRybkFmRVA5cFR3RDRYdkRhV05tdDVJcHdTbk5kOU9oeks3WnhWTVJ5dlJGdjRlZnRBZURQRTF5a0YvcGJXaGZoV2NZRlZQRDIySWhpazNabm9Yamo0ZjZicStneTZoYVJLMW15NUJXdVZwTFE2MDc2bytRUDJyOVQxSFRZZE44aTdrZ2lLODdXd0t4YVRkemE1OHplQ05VYTk4VlJyY1NHNEJrSExIUGV0T2RvemNJcy9SRzErSDJpNnI4TlliaUt6U0c4RUlZU3FNSE9LcUZhU2xxekdkR0xXaHIvQnZ4bmM2ajhQZFYwaTVsTXB0V0txVzlLM3JycWpQRHlmd3M4OC9heStDV28rTmZoTmI2cnBhRnBvVUpJVWMxendqek94MHpseUs1K2QzZ214MUR3ejRwaFMrREl5U2dOdTR4elhaOVVsYTV4ZlhJcDJQMUkrRlhpcTM4UitFN1d5am5qSytVRllaOXE0SndjR2RjWnFhT24wSHdQRDRSMFBWNW9jTjU1TFpGYVNxY3lzS0ZOUmJaMy9BSUYrSUhoZlVQQWtWbGZTSkpHNjdXVmhtb1R0cWpacTZzejUrK0ovN05YdzU4WDZuSmZXVnl0ckk3YmlGR0s3b1lxVVZabm4xTUhHVHVqVitHL3diOE5lQ0lDRTFwMmJzTTFsVnErME5LVkRrNm5wdXQrSlBEMmcrQ0xxQmIzenBDT3BybE90S3gvLzJRPT0iPgoJPC9pbWFnZT4KPC9zdmc+\"}}',40,'2021-05-01 10:55:04','2021-05-01 10:55:11'),(519,'CobraProjects\\LaraShop\\Models\\LarashopProduct',254,'1772e7ed-8c26-4c92-b260-a0bc134faeba','main',' مراقبة هيكفجن 8 ميجا داخلي','كاميرا-مراقبة-هيكفجن-8-ميجا-داخلي.jpg','image/jpeg','public','public',711499,'[]','[]','[]',41,'2021-05-01 10:57:29','2021-05-01 10:57:29'),(520,'CobraProjects\\LaraShop\\Models\\LarashopProduct',247,'4b57a25f-6be9-4b01-a41a-dc1fae93b015','main',' مراقبة هيكفجن 2 ميجا الحجم الكبير','كاميرا-مراقبة-هيكفجن-2-ميجا-الحجم-الكبير.jpg','image/jpeg','public','public',751595,'[]','{\"generated_conversions\":{\"thumb\":true,\"medium\":true}}','{\"media_library_original\":{\"urls\":[\"\\u0643\\u0627\\u0645\\u064a\\u0631\\u0627-\\u0645\\u0631\\u0627\\u0642\\u0628\\u0629-\\u0647\\u064a\\u0643\\u0641\\u062c\\u0646-2-\\u0645\\u064a\\u062c\\u0627-\\u0627\\u0644\\u062d\\u062c\\u0645-\\u0627\\u0644\\u0643\\u0628\\u064a\\u0631___media_library_original_1960_1960.jpg\",\"\\u0643\\u0627\\u0645\\u064a\\u0631\\u0627-\\u0645\\u0631\\u0627\\u0642\\u0628\\u0629-\\u0647\\u064a\\u0643\\u0641\\u062c\\u0646-2-\\u0645\\u064a\\u062c\\u0627-\\u0627\\u0644\\u062d\\u062c\\u0645-\\u0627\\u0644\\u0643\\u0628\\u064a\\u0631___media_library_original_1639_1639.jpg\",\"\\u0643\\u0627\\u0645\\u064a\\u0631\\u0627-\\u0645\\u0631\\u0627\\u0642\\u0628\\u0629-\\u0647\\u064a\\u0643\\u0641\\u062c\\u0646-2-\\u0645\\u064a\\u062c\\u0627-\\u0627\\u0644\\u062d\\u062c\\u0645-\\u0627\\u0644\\u0643\\u0628\\u064a\\u0631___media_library_original_1372_1372.jpg\",\"\\u0643\\u0627\\u0645\\u064a\\u0631\\u0627-\\u0645\\u0631\\u0627\\u0642\\u0628\\u0629-\\u0647\\u064a\\u0643\\u0641\\u062c\\u0646-2-\\u0645\\u064a\\u062c\\u0627-\\u0627\\u0644\\u062d\\u062c\\u0645-\\u0627\\u0644\\u0643\\u0628\\u064a\\u0631___media_library_original_1147_1147.jpg\",\"\\u0643\\u0627\\u0645\\u064a\\u0631\\u0627-\\u0645\\u0631\\u0627\\u0642\\u0628\\u0629-\\u0647\\u064a\\u0643\\u0641\\u062c\\u0646-2-\\u0645\\u064a\\u062c\\u0627-\\u0627\\u0644\\u062d\\u062c\\u0645-\\u0627\\u0644\\u0643\\u0628\\u064a\\u0631___media_library_original_960_960.jpg\",\"\\u0643\\u0627\\u0645\\u064a\\u0631\\u0627-\\u0645\\u0631\\u0627\\u0642\\u0628\\u0629-\\u0647\\u064a\\u0643\\u0641\\u062c\\u0646-2-\\u0645\\u064a\\u062c\\u0627-\\u0627\\u0644\\u062d\\u062c\\u0645-\\u0627\\u0644\\u0643\\u0628\\u064a\\u0631___media_library_original_803_803.jpg\",\"\\u0643\\u0627\\u0645\\u064a\\u0631\\u0627-\\u0645\\u0631\\u0627\\u0642\\u0628\\u0629-\\u0647\\u064a\\u0643\\u0641\\u062c\\u0646-2-\\u0645\\u064a\\u062c\\u0627-\\u0627\\u0644\\u062d\\u062c\\u0645-\\u0627\\u0644\\u0643\\u0628\\u064a\\u0631___media_library_original_672_672.jpg\",\"\\u0643\\u0627\\u0645\\u064a\\u0631\\u0627-\\u0645\\u0631\\u0627\\u0642\\u0628\\u0629-\\u0647\\u064a\\u0643\\u0641\\u062c\\u0646-2-\\u0645\\u064a\\u062c\\u0627-\\u0627\\u0644\\u062d\\u062c\\u0645-\\u0627\\u0644\\u0643\\u0628\\u064a\\u0631___media_library_original_562_562.jpg\",\"\\u0643\\u0627\\u0645\\u064a\\u0631\\u0627-\\u0645\\u0631\\u0627\\u0642\\u0628\\u0629-\\u0647\\u064a\\u0643\\u0641\\u062c\\u0646-2-\\u0645\\u064a\\u062c\\u0627-\\u0627\\u0644\\u062d\\u062c\\u0645-\\u0627\\u0644\\u0643\\u0628\\u064a\\u0631___media_library_original_470_470.jpg\",\"\\u0643\\u0627\\u0645\\u064a\\u0631\\u0627-\\u0645\\u0631\\u0627\\u0642\\u0628\\u0629-\\u0647\\u064a\\u0643\\u0641\\u062c\\u0646-2-\\u0645\\u064a\\u062c\\u0627-\\u0627\\u0644\\u062d\\u062c\\u0645-\\u0627\\u0644\\u0643\\u0628\\u064a\\u0631___media_library_original_393_393.jpg\",\"\\u0643\\u0627\\u0645\\u064a\\u0631\\u0627-\\u0645\\u0631\\u0627\\u0642\\u0628\\u0629-\\u0647\\u064a\\u0643\\u0641\\u062c\\u0646-2-\\u0645\\u064a\\u062c\\u0627-\\u0627\\u0644\\u062d\\u062c\\u0645-\\u0627\\u0644\\u0643\\u0628\\u064a\\u0631___media_library_original_329_329.jpg\",\"\\u0643\\u0627\\u0645\\u064a\\u0631\\u0627-\\u0645\\u0631\\u0627\\u0642\\u0628\\u0629-\\u0647\\u064a\\u0643\\u0641\\u062c\\u0646-2-\\u0645\\u064a\\u062c\\u0627-\\u0627\\u0644\\u062d\\u062c\\u0645-\\u0627\\u0644\\u0643\\u0628\\u064a\\u0631___media_library_original_275_275.jpg\",\"\\u0643\\u0627\\u0645\\u064a\\u0631\\u0627-\\u0645\\u0631\\u0627\\u0642\\u0628\\u0629-\\u0647\\u064a\\u0643\\u0641\\u062c\\u0646-2-\\u0645\\u064a\\u062c\\u0627-\\u0627\\u0644\\u062d\\u062c\\u0645-\\u0627\\u0644\\u0643\\u0628\\u064a\\u0631___media_library_original_230_230.jpg\"],\"base64svg\":\"data:image\\/svg+xml;base64,PCFET0NUWVBFIHN2ZyBQVUJMSUMgIi0vL1czQy8vRFREIFNWRyAxLjEvL0VOIiAiaHR0cDovL3d3dy53My5vcmcvR3JhcGhpY3MvU1ZHLzEuMS9EVEQvc3ZnMTEuZHRkIj4KPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbDpzcGFjZT0icHJlc2VydmUiIHg9IjAiCiB5PSIwIiB2aWV3Qm94PSIwIDAgMTk2MCAxOTYwIj4KCTxpbWFnZSB3aWR0aD0iMTk2MCIgaGVpZ2h0PSIxOTYwIiB4bGluazpocmVmPSJkYXRhOmltYWdlL2pwZWc7YmFzZTY0LC85ai80QUFRU2taSlJnQUJBUUVBWUFCZ0FBRC8vZ0E3UTFKRlFWUlBVam9nWjJRdGFuQmxaeUIyTVM0d0lDaDFjMmx1WnlCSlNrY2dTbEJGUnlCMk9EQXBMQ0J4ZFdGc2FYUjVJRDBnT1RBSy85c0FRd0FEQWdJREFnSURBd01EQkFNREJBVUlCUVVFQkFVS0J3Y0dDQXdLREF3TENnc0xEUTRTRUEwT0VRNExDeEFXRUJFVEZCVVZGUXdQRnhnV0ZCZ1NGQlVVLzlzQVF3RURCQVFGQkFVSkJRVUpGQTBMRFJRVUZCUVVGQlFVRkJRVUZCUVVGQlFVRkJRVUZCUVVGQlFVRkJRVUZCUVVGQlFVRkJRVUZCUVVGQlFVRkJRVUZCUVUvOEFBRVFnQUlBQWdBd0VSQUFJUkFRTVJBZi9FQUI4QUFBRUZBUUVCQVFFQkFBQUFBQUFBQUFBQkFnTUVCUVlIQ0FrS0MvL0VBTFVRQUFJQkF3TUNCQU1GQlFRRUFBQUJmUUVDQXdBRUVRVVNJVEZCQmhOUllRY2ljUlF5Z1pHaENDTkNzY0VWVXRId0pETmljb0lKQ2hZWEdCa2FKU1luS0NrcU5EVTJOemc1T2tORVJVWkhTRWxLVTFSVlZsZFlXVnBqWkdWbVoyaHBhbk4wZFhaM2VIbDZnNFNGaG9lSWlZcVNrNVNWbHBlWW1acWlvNlNscHFlb3FhcXlzN1MxdHJlNHVickN3OFRGeHNmSXljclMwOVRWMXRmWTJkcmg0dVBrNWVibjZPbnE4Zkx6OVBYMjkvajUrdi9FQUI4QkFBTUJBUUVCQVFFQkFRRUFBQUFBQUFBQkFnTUVCUVlIQ0FrS0MvL0VBTFVSQUFJQkFnUUVBd1FIQlFRRUFBRUNkd0FCQWdNUkJBVWhNUVlTUVZFSFlYRVRJaktCQ0JSQ2thR3h3UWtqTTFMd0ZXSnkwUW9XSkRUaEpmRVhHQmthSmljb0tTbzFOamM0T1RwRFJFVkdSMGhKU2xOVVZWWlhXRmxhWTJSbFptZG9hV3B6ZEhWMmQzaDVlb0tEaElXR2g0aUppcEtUbEpXV2w1aVptcUtqcEtXbXA2aXBxckt6dExXMnQ3aTV1c0xEeE1YR3g4akp5dExUMU5YVzE5aloydUxqNU9YbTUranA2dkx6OVBYMjkvajUrdi9hQUF3REFRQUNFUU1SQUQ4QStvUENla2VHdEowUzErMUdKT01rTTNOUTVwT3djcnRjNFQ0bGZ0QStEUEIxd2JlMDB4cnBsNExJTWl2UXA0Zm5WemdxWWxRZHJGZjRiL3RKZUJQRmQ4bHBlNmViV1J6Z0Z4aXFuaFhIVkV3eGFrN005TjhjL0Q3VGRXMEdYVUxTRldzMlhJSXJrYVNPeE52VStTdmo0bmlEd2RQcCtvUjMwaHRKQi9xZzNGWnFLYk5iOUNmNFFmRWJ3bjRsbmhzUEVGakc4MGhDK1k0emsxdDdTVWRtWXVsRjdvK21vLzJiUEJ0OWJSMzlwYXJFV0c5R1FZcTFYbnNaUER3M3NiMm4zcjZmNFMxTFJpUzBkdU1JVzlLbXBycVhUMDBQSVAya2ZobHFIaWI0WFdtcDJVSm04aGNrQVZuRlhkaldVdVZYUGd2UWZFUjhNK0xiVTNjYlJDR1VGd2VPaHJxK3JUWnlQRlFSK2pYd20vYWQwRHhGb3NObEVmbWhqQ25QMHJLcFJkUGMwaFhqVTJPKysyMk9yZUd0UnZiYmxuNjFrNU8xamFLVjdtMTRGK0lIaGZVUEFrVmxmU0pKRzY3V1ZobXBUc1cxZFdQbjM0by9zMC9EbnhqcVVsN1ozSzJzam5KQ2pGZDBNVktLc3p6Nm1FakozUko4T2YyZS9Cbmd1Tnl1cGJuTloxYS90QzZXR1ZQWTlZdjlYOE0rRS9BOTFiMjkwR2NqclhJZGlWai8yUT09Ij4KCTwvaW1hZ2U+Cjwvc3ZnPg==\"}}',42,'2021-05-23 07:36:00','2021-05-23 07:36:06'),(521,'CobraProjects\\LaraShop\\Models\\LarashopProduct',248,'d9a9ebda-665d-465b-a30b-a0585591939c','main',' مراقبة هيكفجن 2 ميجا داخلي','كاميرا-مراقبة-هيكفجن-2-ميجا-داخلي.jpg','image/jpeg','public','public',196332,'[]','{\"generated_conversions\":{\"thumb\":true,\"medium\":true}}','{\"media_library_original\":{\"urls\":[\"\\u0643\\u0627\\u0645\\u064a\\u0631\\u0627-\\u0645\\u0631\\u0627\\u0642\\u0628\\u0629-\\u0647\\u064a\\u0643\\u0641\\u062c\\u0646-2-\\u0645\\u064a\\u062c\\u0627-\\u062f\\u0627\\u062e\\u0644\\u064a___media_library_original_1960_1960.jpg\",\"\\u0643\\u0627\\u0645\\u064a\\u0631\\u0627-\\u0645\\u0631\\u0627\\u0642\\u0628\\u0629-\\u0647\\u064a\\u0643\\u0641\\u062c\\u0646-2-\\u0645\\u064a\\u062c\\u0627-\\u062f\\u0627\\u062e\\u0644\\u064a___media_library_original_1639_1639.jpg\",\"\\u0643\\u0627\\u0645\\u064a\\u0631\\u0627-\\u0645\\u0631\\u0627\\u0642\\u0628\\u0629-\\u0647\\u064a\\u0643\\u0641\\u062c\\u0646-2-\\u0645\\u064a\\u062c\\u0627-\\u062f\\u0627\\u062e\\u0644\\u064a___media_library_original_1372_1372.jpg\",\"\\u0643\\u0627\\u0645\\u064a\\u0631\\u0627-\\u0645\\u0631\\u0627\\u0642\\u0628\\u0629-\\u0647\\u064a\\u0643\\u0641\\u062c\\u0646-2-\\u0645\\u064a\\u062c\\u0627-\\u062f\\u0627\\u062e\\u0644\\u064a___media_library_original_1147_1147.jpg\",\"\\u0643\\u0627\\u0645\\u064a\\u0631\\u0627-\\u0645\\u0631\\u0627\\u0642\\u0628\\u0629-\\u0647\\u064a\\u0643\\u0641\\u062c\\u0646-2-\\u0645\\u064a\\u062c\\u0627-\\u062f\\u0627\\u062e\\u0644\\u064a___media_library_original_960_960.jpg\",\"\\u0643\\u0627\\u0645\\u064a\\u0631\\u0627-\\u0645\\u0631\\u0627\\u0642\\u0628\\u0629-\\u0647\\u064a\\u0643\\u0641\\u062c\\u0646-2-\\u0645\\u064a\\u062c\\u0627-\\u062f\\u0627\\u062e\\u0644\\u064a___media_library_original_803_803.jpg\",\"\\u0643\\u0627\\u0645\\u064a\\u0631\\u0627-\\u0645\\u0631\\u0627\\u0642\\u0628\\u0629-\\u0647\\u064a\\u0643\\u0641\\u062c\\u0646-2-\\u0645\\u064a\\u062c\\u0627-\\u062f\\u0627\\u062e\\u0644\\u064a___media_library_original_672_672.jpg\",\"\\u0643\\u0627\\u0645\\u064a\\u0631\\u0627-\\u0645\\u0631\\u0627\\u0642\\u0628\\u0629-\\u0647\\u064a\\u0643\\u0641\\u062c\\u0646-2-\\u0645\\u064a\\u062c\\u0627-\\u062f\\u0627\\u062e\\u0644\\u064a___media_library_original_562_562.jpg\",\"\\u0643\\u0627\\u0645\\u064a\\u0631\\u0627-\\u0645\\u0631\\u0627\\u0642\\u0628\\u0629-\\u0647\\u064a\\u0643\\u0641\\u062c\\u0646-2-\\u0645\\u064a\\u062c\\u0627-\\u062f\\u0627\\u062e\\u0644\\u064a___media_library_original_470_470.jpg\"],\"base64svg\":\"data:image\\/svg+xml;base64,PCFET0NUWVBFIHN2ZyBQVUJMSUMgIi0vL1czQy8vRFREIFNWRyAxLjEvL0VOIiAiaHR0cDovL3d3dy53My5vcmcvR3JhcGhpY3MvU1ZHLzEuMS9EVEQvc3ZnMTEuZHRkIj4KPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbDpzcGFjZT0icHJlc2VydmUiIHg9IjAiCiB5PSIwIiB2aWV3Qm94PSIwIDAgMTk2MCAxOTYwIj4KCTxpbWFnZSB3aWR0aD0iMTk2MCIgaGVpZ2h0PSIxOTYwIiB4bGluazpocmVmPSJkYXRhOmltYWdlL2pwZWc7YmFzZTY0LC85ai80QUFRU2taSlJnQUJBUUVBWUFCZ0FBRC8vZ0E3UTFKRlFWUlBVam9nWjJRdGFuQmxaeUIyTVM0d0lDaDFjMmx1WnlCSlNrY2dTbEJGUnlCMk9EQXBMQ0J4ZFdGc2FYUjVJRDBnT1RBSy85c0FRd0FEQWdJREFnSURBd01EQkFNREJBVUlCUVVFQkFVS0J3Y0dDQXdLREF3TENnc0xEUTRTRUEwT0VRNExDeEFXRUJFVEZCVVZGUXdQRnhnV0ZCZ1NGQlVVLzlzQVF3RURCQVFGQkFVSkJRVUpGQTBMRFJRVUZCUVVGQlFVRkJRVUZCUVVGQlFVRkJRVUZCUVVGQlFVRkJRVUZCUVVGQlFVRkJRVUZCUVVGQlFVRkJRVUZCUVUvOEFBRVFnQUlBQWdBd0VSQUFJUkFRTVJBZi9FQUI4QUFBRUZBUUVCQVFFQkFBQUFBQUFBQUFBQkFnTUVCUVlIQ0FrS0MvL0VBTFVRQUFJQkF3TUNCQU1GQlFRRUFBQUJmUUVDQXdBRUVRVVNJVEZCQmhOUllRY2ljUlF5Z1pHaENDTkNzY0VWVXRId0pETmljb0lKQ2hZWEdCa2FKU1luS0NrcU5EVTJOemc1T2tORVJVWkhTRWxLVTFSVlZsZFlXVnBqWkdWbVoyaHBhbk4wZFhaM2VIbDZnNFNGaG9lSWlZcVNrNVNWbHBlWW1acWlvNlNscHFlb3FhcXlzN1MxdHJlNHVickN3OFRGeHNmSXljclMwOVRWMXRmWTJkcmg0dVBrNWVibjZPbnE4Zkx6OVBYMjkvajUrdi9FQUI4QkFBTUJBUUVCQVFFQkFRRUFBQUFBQUFBQkFnTUVCUVlIQ0FrS0MvL0VBTFVSQUFJQkFnUUVBd1FIQlFRRUFBRUNkd0FCQWdNUkJBVWhNUVlTUVZFSFlYRVRJaktCQ0JSQ2thR3h3UWtqTTFMd0ZXSnkwUW9XSkRUaEpmRVhHQmthSmljb0tTbzFOamM0T1RwRFJFVkdSMGhKU2xOVVZWWlhXRmxhWTJSbFptZG9hV3B6ZEhWMmQzaDVlb0tEaElXR2g0aUppcEtUbEpXV2w1aVptcUtqcEtXbXA2aXBxckt6dExXMnQ3aTV1c0xEeE1YR3g4akp5dExUMU5YVzE5aloydUxqNU9YbTUranA2dkx6OVBYMjkvajUrdi9hQUF3REFRQUNFUU1SQUQ4QStzdkF2Z1RTb2RBdFpIdGhzeGtrMURtazdCWjJ1WTNqWHhWcE9pM1J0ZE8wSjd0MTRKVmE2NFUwOTJjazZyV3lKdkEzaUhUZGJ1VnQ5UTBHUzFadWhaYUpVMHRtT0ZWdmRHbDhSdmhoYVM2VFBkUjJ3VzMyOFZscFkyMXVjdDhSZmlsL3dnWGhIUm8wSVFTc0F4OXEwcDBsTzdaaldxdU5rYzlvL3dDMC93Q0VZTmF0N1c0RVRTdmdGaUIxcm1sZE0zaWsxYzk3aDFYU2RiMDJMVWJGSWloWGNDb0ZUZGphU09XSHhGLzRTYlE5WTA4NC93QkhPMFYweWhhS1pqQ2ZNMmp5ejlvbjRiM3ZpajRTMlYvWkl6eVc0eVFvcmVoSzJoamlJTjJaK2VPclFYZGo0Z2pWMWtGd3JnYzV6bXVXb3JNNnFidkUvUkg0RCtJWnJUNGF3L2JaQ0dNV0J1UHRXSzNLbHNkQjRFMFpJdEExNi8zN21tY2tWMXpuekpJNTZVTE5zOUw4Q2ZFTHd4ZitCWXJPOWxTU04xd1ZZWnJGT3gwdFhQRmZIbndLK0hmaUhXVHFOck9rTWhiZGdEdlduT251WThqV3gwV2krRHZEdG5waTJqYW5oRkdBb3FXMTBHb3ZxZERmNnY0WjhKK0I3dTN0N29NN0RrMUpvbFkvLzlrPSI+Cgk8L2ltYWdlPgo8L3N2Zz4=\"}}',43,'2021-05-23 07:37:19','2021-05-23 07:37:25'),(525,'CobraProjects\\LaraShop\\Models\\LarashopProduct',255,'02904f6d-61c4-4ca5-abf5-16d1243cb12a','main',' مراقبة هيكفجن 2 ميجا الحجم الصغير@0.1x','كاميرا-مراقبة-هيكفجن-2-ميجا-الحجم-الصغير@0.1x.jpg','image/jpeg','public','public',1521,'[]','{\"generated_conversions\":{\"thumb\":true,\"medium\":true}}','{\"media_library_original\":{\"urls\":[\"\\u0643\\u0627\\u0645\\u064a\\u0631\\u0627-\\u0645\\u0631\\u0627\\u0642\\u0628\\u0629-\\u0647\\u064a\\u0643\\u0641\\u062c\\u0646-2-\\u0645\\u064a\\u062c\\u0627-\\u0627\\u0644\\u062d\\u062c\\u0645-\\u0627\\u0644\\u0635\\u063a\\u064a\\u0631@0.1x___media_library_original_98_98.jpg\"],\"base64svg\":\"data:image\\/svg+xml;base64,PCFET0NUWVBFIHN2ZyBQVUJMSUMgIi0vL1czQy8vRFREIFNWRyAxLjEvL0VOIiAiaHR0cDovL3d3dy53My5vcmcvR3JhcGhpY3MvU1ZHLzEuMS9EVEQvc3ZnMTEuZHRkIj4KPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbDpzcGFjZT0icHJlc2VydmUiIHg9IjAiCiB5PSIwIiB2aWV3Qm94PSIwIDAgOTggOTgiPgoJPGltYWdlIHdpZHRoPSI5OCIgaGVpZ2h0PSI5OCIgeGxpbms6aHJlZj0iZGF0YTppbWFnZS9qcGVnO2Jhc2U2NCwvOWovNEFBUVNrWkpSZ0FCQVFFQVlBQmdBQUQvL2dBN1ExSkZRVlJQVWpvZ1oyUXRhbkJsWnlCMk1TNHdJQ2gxYzJsdVp5QkpTa2NnU2xCRlJ5QjJPREFwTENCeGRXRnNhWFI1SUQwZ09UQUsvOXNBUXdBREFnSURBZ0lEQXdNREJBTURCQVVJQlFVRUJBVUtCd2NHQ0F3S0RBd0xDZ3NMRFE0U0VBME9FUTRMQ3hBV0VCRVRGQlVWRlF3UEZ4Z1dGQmdTRkJVVS85c0FRd0VEQkFRRkJBVUpCUVVKRkEwTERSUVVGQlFVRkJRVUZCUVVGQlFVRkJRVUZCUVVGQlFVRkJRVUZCUVVGQlFVRkJRVUZCUVVGQlFVRkJRVUZCUVVGQlFVLzhBQUVRZ0FJQUFnQXdFUkFBSVJBUU1SQWYvRUFCOEFBQUVGQVFFQkFRRUJBQUFBQUFBQUFBQUJBZ01FQlFZSENBa0tDLy9FQUxVUUFBSUJBd01DQkFNRkJRUUVBQUFCZlFFQ0F3QUVFUVVTSVRGQkJoTlJZUWNpY1JReWdaR2hDQ05Dc2NFVlV0SHdKRE5pY29JSkNoWVhHQmthSlNZbktDa3FORFUyTnpnNU9rTkVSVVpIU0VsS1UxUlZWbGRZV1ZwalpHVm1aMmhwYW5OMGRYWjNlSGw2ZzRTRmhvZUlpWXFTazVTVmxwZVltWnFpbzZTbHBxZW9xYXF5czdTMXRyZTR1YnJDdzhURnhzZkl5Y3JTMDlUVjF0ZlkyZHJoNHVQazVlYm42T25xOGZMejlQWDI5L2o1K3YvRUFCOEJBQU1CQVFFQkFRRUJBUUVBQUFBQUFBQUJBZ01FQlFZSENBa0tDLy9FQUxVUkFBSUJBZ1FFQXdRSEJRUUVBQUVDZHdBQkFnTVJCQVVoTVFZU1FWRUhZWEVUSWpLQkNCUkNrYUd4d1Frak0xTHdGV0p5MFFvV0pEVGhKZkVYR0JrYUppY29LU28xTmpjNE9UcERSRVZHUjBoSlNsTlVWVlpYV0ZsYVkyUmxabWRvYVdwemRIVjJkM2g1ZW9LRGhJV0doNGlKaXBLVGxKV1dsNWlabXFLanBLV21wNmlwcXJLenRMVzJ0N2k1dXNMRHhNWEd4OGpKeXRMVDFOWFcxOWpaMnVMajVPWG01K2pwNnZMejlQWDI5L2o1K3YvYUFBd0RBUUFDRVFNUkFEOEErbVBEZWkrSGRFMEMybHZWamlRREpMSEZaODFuWUhvZWMvRUw5by93SDRZdTJ0TEd4KzJTSndTbk5kMEtITWpnbmlsQjJHZkRyOXBYd0Q0bXZsdEwreSt5U09jRGZ4V2s4TTByb2luaTFKMlo2YjQwK0gybmF6b1V1bzJVS3RaT3VWSzF6YmFIZHZxZk92N1JGMXFrTmxwMFZ2ZVBCQ3k4aFRpdWZsVjdtaDVoOEd2RDlockhqR08zMUpCY2hqODI3bk5kQ3FTaVlPakI3bzl2K0xYN09taXk2SzE5b01QMmE5aUc4Rk9LNjZWZDN0STVhdUdWcnhPMC9aOThhYWhmL0RMVU5GMUp6Sk5aL0psdWVsWjRoSzkwYVlkdTFtYzkrMFo4TDlWMTM0ZTJtc2Fjak9JRnl3VVZ5SlhkanFsSlJWMmZKdndwOGNSK0QvR2FTNmtTakkyQ0c0cnErcnl0YzQvclViMlBzYXkrSzFwNHZzL0tzNUVaV1hCd2F3NUhCM1p1cXFtdERyUEFIZzJEUVBER3JYaU1HZWM3aUJWVko4d1U0MjFQU3ZCWHhBOEwzL2dLS3p2NUVramRkckt3eldTZGphVVZKV1o4N2ZFLzluSDRlZUxOVWt2ckc2RnJJNTNFTHhYYkhFdEt6T0NlRWpKM0x2dzcrQ1BoWHdoRWYrSnN6c2ZVMWpVcTg1dFRvS0I2emZhOTRiOE0rQ0xxM2h1L01janFhNXpxUC8vWiI+Cgk8L2ltYWdlPgo8L3N2Zz4=\"}}',47,'2021-05-23 07:47:33','2021-05-23 07:47:39'),(526,'CobraProjects\\LaraShop\\Models\\LarashopProduct',256,'ebf9e683-5647-4161-94c7-ca7aa26a9cd2','main','PTZ CAMERA 25X','PTZ-CAMERA-25X.jpg','image/jpeg','public','public',4714846,'[]','{\"generated_conversions\":{\"thumb\":true,\"medium\":true}}','{\"media_library_original\":{\"urls\":[\"PTZ-CAMERA-25X___media_library_original_8167_8164.jpg\",\"PTZ-CAMERA-25X___media_library_original_6833_6830.jpg\"]}}',48,'2021-05-27 09:03:26','2021-05-27 09:10:13'),(527,'CobraProjects\\LaraShop\\Models\\LarashopProduct',257,'9c94cebe-b667-41ed-afcb-05911f24c274','main',' التحكم','كيبورد-التحكم.jpg','image/jpeg','public','public',5300429,'[]','{\"generated_conversions\":{\"thumb\":true,\"medium\":true}}','{\"media_library_original\":{\"urls\":[\"\\u0643\\u064a\\u0628\\u0648\\u0631\\u062f-\\u0627\\u0644\\u062a\\u062d\\u0643\\u0645___media_library_original_8167_8164.jpg\",\"\\u0643\\u064a\\u0628\\u0648\\u0631\\u062f-\\u0627\\u0644\\u062a\\u062d\\u0643\\u0645___media_library_original_6833_6830.jpg\"]}}',49,'2021-05-27 09:06:17','2021-05-27 09:09:53'),(528,'CobraProjects\\LaraShop\\Models\\LarashopProduct',258,'9ef1a7c5-1ac4-4390-93b8-d453d1632407','main','PTZ CAMERA 32X','PTZ-CAMERA-32X.jpg','image/jpeg','public','public',4659927,'[]','{\"generated_conversions\":{\"thumb\":true,\"medium\":true}}','{\"media_library_original\":{\"urls\":[\"PTZ-CAMERA-32X___media_library_original_8167_8164.jpg\",\"PTZ-CAMERA-32X___media_library_original_6833_6830.jpg\"]}}',50,'2021-05-27 09:09:18','2021-05-27 09:09:49'),(529,'CobraProjects\\LaraShop\\Models\\LarashopProduct',259,'9357255f-e60a-41ca-b26f-c3f3464213fd','main','32','32.jpg','image/jpeg','public','public',4943425,'[]','{\"generated_conversions\":{\"thumb\":true,\"medium\":true}}','{\"media_library_original\":{\"urls\":[\"32___media_library_original_8164_8162.jpg\"]}}',51,'2021-06-05 12:34:13','2021-06-05 12:34:37'),(530,'CobraProjects\\LaraShop\\Models\\LarashopProduct',260,'ee6e286d-41b6-4946-b9d9-53a3aa094210','main','64','64.jpg','image/jpeg','public','public',5689595,'[]','{\"generated_conversions\":{\"thumb\":true,\"medium\":true}}','{\"media_library_original\":{\"urls\":[\"64___media_library_original_8164_8162.jpg\"]}}',52,'2021-06-05 12:35:31','2021-06-05 12:35:49'),(531,'CobraProjects\\LaraShop\\Models\\LarashopProduct',261,'25fd6518-5c32-45e6-92ee-426d7cd9e379','main','128','128.jpg','image/jpeg','public','public',6279945,'[]','{\"generated_conversions\":{\"thumb\":true,\"medium\":true}}','{\"media_library_original\":{\"urls\":[\"128___media_library_original_8164_8162.jpg\"]}}',53,'2021-06-05 12:37:05','2021-06-05 12:37:29'),(532,'CobraProjects\\LaraShop\\Models\\LarashopProduct',262,'e6efd05e-05b7-448c-b95c-ee1934649a32','main','8 تيرا','8-تيرا.jpg','image/jpeg','public','public',5466163,'[]','{\"generated_conversions\":{\"thumb\":true,\"medium\":true}}','{\"media_library_original\":{\"urls\":[\"8-\\u062a\\u064a\\u0631\\u0627___media_library_original_8164_8162.jpg\"]}}',54,'2021-06-05 13:11:26','2021-06-05 13:11:43'),(533,'CobraProjects\\LaraShop\\Models\\LarashopProduct',263,'4755b5eb-40f9-43a1-8a04-dbde7637b761','main','6 تيرا','6-تيرا.jpg','image/jpeg','public','public',4326194,'[]','{\"generated_conversions\":{\"thumb\":true,\"medium\":true}}','{\"media_library_original\":{\"urls\":[\"6-\\u062a\\u064a\\u0631\\u0627___media_library_original_8164_8162.jpg\"]}}',55,'2021-06-05 13:12:51','2021-06-05 13:13:11'),(534,'CobraProjects\\LaraShop\\Models\\LarashopProduct',264,'a054a8dd-1cd8-49ae-a979-832314cf54ab','main','4 تيرا','4-تيرا.jpg','image/jpeg','public','public',4430356,'[]','{\"generated_conversions\":{\"thumb\":true,\"medium\":true}}','{\"media_library_original\":{\"urls\":[\"4-\\u062a\\u064a\\u0631\\u0627___media_library_original_8164_8162.jpg\"]}}',56,'2021-06-05 13:13:41','2021-06-05 13:14:00'),(535,'CobraProjects\\LaraShop\\Models\\LarashopProduct',265,'26b52dcb-216d-48b8-8845-23ef67569e3c','main','2 تيرا','2-تيرا.jpg','image/jpeg','public','public',4794635,'[]','{\"generated_conversions\":{\"thumb\":true,\"medium\":true}}','{\"media_library_original\":{\"urls\":[\"2-\\u062a\\u064a\\u0631\\u0627___media_library_original_8164_8162.jpg\"]}}',57,'2021-06-05 13:14:15','2021-06-05 13:14:36'),(536,'CobraProjects\\LaraShop\\Models\\LarashopProduct',266,'f5ed4a90-71da-4205-ae13-d93e47730e0b','main','1 تيرا','1-تيرا.jpg','image/jpeg','public','public',4717265,'[]','{\"generated_conversions\":{\"thumb\":true,\"medium\":true}}','{\"media_library_original\":{\"urls\":[\"1-\\u062a\\u064a\\u0631\\u0627___media_library_original_8164_8162.jpg\"]}}',58,'2021-06-05 13:16:50','2021-06-05 13:17:09'),(537,'CobraProjects\\LaraShop\\Models\\LarashopProduct',267,'77f12b89-baeb-478e-81b4-262b479b6da9','main','C8C','C8C.jpg','image/jpeg','public','public',3786958,'[]','{\"generated_conversions\":{\"thumb\":true,\"medium\":true}}','{\"media_library_original\":{\"urls\":[\"C8C___media_library_original_8164_8164.jpg\",\"C8C___media_library_original_6830_6830.jpg\"]}}',59,'2021-07-10 09:48:13','2021-07-10 09:48:39'),(538,'CobraProjects\\LaraShop\\Models\\LarashopProduct',231,'3b9ce2e6-fb98-42dd-9843-e20de72612c9','main','C3A','C3A.jpg','image/jpeg','public','public',3955700,'[]','{\"generated_conversions\":{\"thumb\":true,\"medium\":true}}','{\"media_library_original\":{\"urls\":[\"C3A___media_library_original_8164_8164.jpg\",\"C3A___media_library_original_6830_6830.jpg\"]}}',60,'2021-07-11 15:42:23','2021-07-11 15:42:44'),(539,'App\\News',2,'a35a8a55-22b0-4182-b708-38e196e47dcd','image','','موحد.jpg','image/jpeg','public','public',1640478,'[]','{\"generated_conversions\":{\"thumb\":true}}','{\"media_library_original\":{\"urls\":[\"\\u0645\\u0648\\u062d\\u062f___media_library_original_3270_3270.jpg\",\"\\u0645\\u0648\\u062d\\u062f___media_library_original_2735_2735.jpg\",\"\\u0645\\u0648\\u062d\\u062f___media_library_original_2289_2289.jpg\",\"\\u0645\\u0648\\u062d\\u062f___media_library_original_1915_1915.jpg\",\"\\u0645\\u0648\\u062d\\u062f___media_library_original_1602_1602.jpg\",\"\\u0645\\u0648\\u062d\\u062f___media_library_original_1340_1340.jpg\",\"\\u0645\\u0648\\u062d\\u062f___media_library_original_1121_1121.jpg\",\"\\u0645\\u0648\\u062d\\u062f___media_library_original_938_938.jpg\",\"\\u0645\\u0648\\u062d\\u062f___media_library_original_785_785.jpg\",\"\\u0645\\u0648\\u062d\\u062f___media_library_original_656_656.jpg\",\"\\u0645\\u0648\\u062d\\u062f___media_library_original_549_549.jpg\",\"\\u0645\\u0648\\u062d\\u062f___media_library_original_459_459.jpg\",\"\\u0645\\u0648\\u062d\\u062f___media_library_original_384_384.jpg\",\"\\u0645\\u0648\\u062d\\u062f___media_library_original_321_321.jpg\",\"\\u0645\\u0648\\u062d\\u062f___media_library_original_269_269.jpg\"],\"base64svg\":\"data:image\\/svg+xml;base64,PCFET0NUWVBFIHN2ZyBQVUJMSUMgIi0vL1czQy8vRFREIFNWRyAxLjEvL0VOIiAiaHR0cDovL3d3dy53My5vcmcvR3JhcGhpY3MvU1ZHLzEuMS9EVEQvc3ZnMTEuZHRkIj4KPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbDpzcGFjZT0icHJlc2VydmUiIHg9IjAiCiB5PSIwIiB2aWV3Qm94PSIwIDAgMzI3MCAzMjcwIj4KCTxpbWFnZSB3aWR0aD0iMzI3MCIgaGVpZ2h0PSIzMjcwIiB4bGluazpocmVmPSJkYXRhOmltYWdlL2pwZWc7YmFzZTY0LC85ai80QUFRU2taSlJnQUJBUUVBWUFCZ0FBRC8vZ0E3UTFKRlFWUlBVam9nWjJRdGFuQmxaeUIyTVM0d0lDaDFjMmx1WnlCSlNrY2dTbEJGUnlCMk9EQXBMQ0J4ZFdGc2FYUjVJRDBnT1RBSy85c0FRd0FEQWdJREFnSURBd01EQkFNREJBVUlCUVVFQkFVS0J3Y0dDQXdLREF3TENnc0xEUTRTRUEwT0VRNExDeEFXRUJFVEZCVVZGUXdQRnhnV0ZCZ1NGQlVVLzlzQVF3RURCQVFGQkFVSkJRVUpGQTBMRFJRVUZCUVVGQlFVRkJRVUZCUVVGQlFVRkJRVUZCUVVGQlFVRkJRVUZCUVVGQlFVRkJRVUZCUVVGQlFVRkJRVUZCUVUvOEFBRVFnQUlBQWdBd0VSQUFJUkFRTVJBZi9FQUI4QUFBRUZBUUVCQVFFQkFBQUFBQUFBQUFBQkFnTUVCUVlIQ0FrS0MvL0VBTFVRQUFJQkF3TUNCQU1GQlFRRUFBQUJmUUVDQXdBRUVRVVNJVEZCQmhOUllRY2ljUlF5Z1pHaENDTkNzY0VWVXRId0pETmljb0lKQ2hZWEdCa2FKU1luS0NrcU5EVTJOemc1T2tORVJVWkhTRWxLVTFSVlZsZFlXVnBqWkdWbVoyaHBhbk4wZFhaM2VIbDZnNFNGaG9lSWlZcVNrNVNWbHBlWW1acWlvNlNscHFlb3FhcXlzN1MxdHJlNHVickN3OFRGeHNmSXljclMwOVRWMXRmWTJkcmg0dVBrNWVibjZPbnE4Zkx6OVBYMjkvajUrdi9FQUI4QkFBTUJBUUVCQVFFQkFRRUFBQUFBQUFBQkFnTUVCUVlIQ0FrS0MvL0VBTFVSQUFJQkFnUUVBd1FIQlFRRUFBRUNkd0FCQWdNUkJBVWhNUVlTUVZFSFlYRVRJaktCQ0JSQ2thR3h3UWtqTTFMd0ZXSnkwUW9XSkRUaEpmRVhHQmthSmljb0tTbzFOamM0T1RwRFJFVkdSMGhKU2xOVVZWWlhXRmxhWTJSbFptZG9hV3B6ZEhWMmQzaDVlb0tEaElXR2g0aUppcEtUbEpXV2w1aVptcUtqcEtXbXA2aXBxckt6dExXMnQ3aTV1c0xEeE1YR3g4akp5dExUMU5YVzE5aloydUxqNU9YbTUranA2dkx6OVBYMjkvajUrdi9hQUF3REFRQUNFUU1SQUQ4QS9TVFQ0TEcydEZEZ0ExVm15THBHRnJ3VHpmOEFSaU1WYVJtNUxvSm9vWGYvQUtRd3dLR2dVa1Nha2lYTE1zYS9JS1ZpcjNOc20zU3dScFJrMUtiQnBNNTIra3RrbHp1QUI2RE5hSm1icG8wdE1zclc1Vlh6OWFUWUttalF2a3NyZTFiWmpkVTZtaVNSajM4enZaQlJ3b0dhRVVmTm54SStKZXA2ZjQzc0xDeVl0RTBnVi96cnJqQmN0MmNjNXZtc2o2TzhMNzVkUHRueDh6b0N3cmxlNTFyWXM2eEV5UVB3UlRNNWFGZTR2b0RZakJ6dUdLbEZ1VmtlVGVJUGgzcGVwNnZGZjV4S2o3aWEydXpudkhjOVE4TzYxYWFiSEZHV3p0R0t6YU5WTkc3cVdzV1Y3WnNlQlViRnBxUi8vOWs9Ij4KCTwvaW1hZ2U+Cjwvc3ZnPg==\"}}',61,'2021-08-09 09:26:48','2021-08-09 09:27:02'),(540,'App\\News',3,'453e19ac-2516-40b8-bb54-ebf6a68ba707','image',' كامل - أنامل الخبرة1','النظام-كامل---أنامل-الخبرة1.jpg','image/jpeg','public','public',308081,'[]','{\"generated_conversions\":{\"thumb\":true}}','{\"media_library_original\":{\"urls\":[\"\\u0627\\u0644\\u0646\\u0638\\u0627\\u0645-\\u0643\\u0627\\u0645\\u0644---\\u0623\\u0646\\u0627\\u0645\\u0644-\\u0627\\u0644\\u062e\\u0628\\u0631\\u06291___media_library_original_1022_1222.jpg\",\"\\u0627\\u0644\\u0646\\u0638\\u0627\\u0645-\\u0643\\u0627\\u0645\\u0644---\\u0623\\u0646\\u0627\\u0645\\u0644-\\u0627\\u0644\\u062e\\u0628\\u0631\\u06291___media_library_original_855_1022.jpg\",\"\\u0627\\u0644\\u0646\\u0638\\u0627\\u0645-\\u0643\\u0627\\u0645\\u0644---\\u0623\\u0646\\u0627\\u0645\\u0644-\\u0627\\u0644\\u062e\\u0628\\u0631\\u06291___media_library_original_715_854.jpg\",\"\\u0627\\u0644\\u0646\\u0638\\u0627\\u0645-\\u0643\\u0627\\u0645\\u0644---\\u0623\\u0646\\u0627\\u0645\\u0644-\\u0627\\u0644\\u062e\\u0628\\u0631\\u06291___media_library_original_598_715.jpg\",\"\\u0627\\u0644\\u0646\\u0638\\u0627\\u0645-\\u0643\\u0627\\u0645\\u0644---\\u0623\\u0646\\u0627\\u0645\\u0644-\\u0627\\u0644\\u062e\\u0628\\u0631\\u06291___media_library_original_500_597.jpg\",\"\\u0627\\u0644\\u0646\\u0638\\u0627\\u0645-\\u0643\\u0627\\u0645\\u0644---\\u0623\\u0646\\u0627\\u0645\\u0644-\\u0627\\u0644\\u062e\\u0628\\u0631\\u06291___media_library_original_418_499.jpg\",\"\\u0627\\u0644\\u0646\\u0638\\u0627\\u0645-\\u0643\\u0627\\u0645\\u0644---\\u0623\\u0646\\u0627\\u0645\\u0644-\\u0627\\u0644\\u062e\\u0628\\u0631\\u06291___media_library_original_350_418.jpg\",\"\\u0627\\u0644\\u0646\\u0638\\u0627\\u0645-\\u0643\\u0627\\u0645\\u0644---\\u0623\\u0646\\u0627\\u0645\\u0644-\\u0627\\u0644\\u062e\\u0628\\u0631\\u06291___media_library_original_293_350.jpg\",\"\\u0627\\u0644\\u0646\\u0638\\u0627\\u0645-\\u0643\\u0627\\u0645\\u0644---\\u0623\\u0646\\u0627\\u0645\\u0644-\\u0627\\u0644\\u062e\\u0628\\u0631\\u06291___media_library_original_245_292.jpg\",\"\\u0627\\u0644\\u0646\\u0638\\u0627\\u0645-\\u0643\\u0627\\u0645\\u0644---\\u0623\\u0646\\u0627\\u0645\\u0644-\\u0627\\u0644\\u062e\\u0628\\u0631\\u06291___media_library_original_205_245.jpg\"],\"base64svg\":\"data:image\\/svg+xml;base64,PCFET0NUWVBFIHN2ZyBQVUJMSUMgIi0vL1czQy8vRFREIFNWRyAxLjEvL0VOIiAiaHR0cDovL3d3dy53My5vcmcvR3JhcGhpY3MvU1ZHLzEuMS9EVEQvc3ZnMTEuZHRkIj4KPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbDpzcGFjZT0icHJlc2VydmUiIHg9IjAiCiB5PSIwIiB2aWV3Qm94PSIwIDAgMTAyMiAxMjIyIj4KCTxpbWFnZSB3aWR0aD0iMTAyMiIgaGVpZ2h0PSIxMjIyIiB4bGluazpocmVmPSJkYXRhOmltYWdlL2pwZWc7YmFzZTY0LC85ai80QUFRU2taSlJnQUJBUUVBWUFCZ0FBRC8vZ0E3UTFKRlFWUlBVam9nWjJRdGFuQmxaeUIyTVM0d0lDaDFjMmx1WnlCSlNrY2dTbEJGUnlCMk9EQXBMQ0J4ZFdGc2FYUjVJRDBnT1RBSy85c0FRd0FEQWdJREFnSURBd01EQkFNREJBVUlCUVVFQkFVS0J3Y0dDQXdLREF3TENnc0xEUTRTRUEwT0VRNExDeEFXRUJFVEZCVVZGUXdQRnhnV0ZCZ1NGQlVVLzlzQVF3RURCQVFGQkFVSkJRVUpGQTBMRFJRVUZCUVVGQlFVRkJRVUZCUVVGQlFVRkJRVUZCUVVGQlFVRkJRVUZCUVVGQlFVRkJRVUZCUVVGQlFVRkJRVUZCUVUvOEFBRVFnQUpnQWdBd0VSQUFJUkFRTVJBZi9FQUI4QUFBRUZBUUVCQVFFQkFBQUFBQUFBQUFBQkFnTUVCUVlIQ0FrS0MvL0VBTFVRQUFJQkF3TUNCQU1GQlFRRUFBQUJmUUVDQXdBRUVRVVNJVEZCQmhOUllRY2ljUlF5Z1pHaENDTkNzY0VWVXRId0pETmljb0lKQ2hZWEdCa2FKU1luS0NrcU5EVTJOemc1T2tORVJVWkhTRWxLVTFSVlZsZFlXVnBqWkdWbVoyaHBhbk4wZFhaM2VIbDZnNFNGaG9lSWlZcVNrNVNWbHBlWW1acWlvNlNscHFlb3FhcXlzN1MxdHJlNHVickN3OFRGeHNmSXljclMwOVRWMXRmWTJkcmg0dVBrNWVibjZPbnE4Zkx6OVBYMjkvajUrdi9FQUI4QkFBTUJBUUVCQVFFQkFRRUFBQUFBQUFBQkFnTUVCUVlIQ0FrS0MvL0VBTFVSQUFJQkFnUUVBd1FIQlFRRUFBRUNkd0FCQWdNUkJBVWhNUVlTUVZFSFlYRVRJaktCQ0JSQ2thR3h3UWtqTTFMd0ZXSnkwUW9XSkRUaEpmRVhHQmthSmljb0tTbzFOamM0T1RwRFJFVkdSMGhKU2xOVVZWWlhXRmxhWTJSbFptZG9hV3B6ZEhWMmQzaDVlb0tEaElXR2g0aUppcEtUbEpXV2w1aVptcUtqcEtXbXA2aXBxckt6dExXMnQ3aTV1c0xEeE1YR3g4akp5dExUMU5YVzE5aloydUxqNU9YbTUranA2dkx6OVBYMjkvajUrdi9hQUF3REFRQUNFUU1SQUQ4QSt1dkRYZzN3cmErQUZTVjRZTHQ0enMzdGptZ0Q1ejFUNEZlTTllMXE2YlNibUdXQXVTb1U1NG9GY3cvRTN3TCtJbmhmVDJ1N2dBb3ZvS0JrUGdYUmRTMURUN3FQVlltT1BWY1ZzcmNwZzc4eGhmdEVmRWUvMEszczBndlpJQ3E1QVZzVW10QzFxejJEOWhEeDllK0psdVpicTRlY0R1eHpRL2hGOW8rdk5WS2F0RzBOeEdza1I3TUt5TlR6M3gxNGIwL1RQRGwxSmIya2NURWRWWEZPNHJIejk0Ly9BR2FkSStKMXRwODF4ZkNHWnhnSm1xdTJpVXJIckg3UGZ3ZzhOZkJPMGZUanFNUnU1T3hZWnBOajZucTgvaTNRRTFUK3ovN1FqKzFkZG03bXBIYzR6NGorTDlIbTBtN3NZNytKN2tEN2dibWdOem1OTytHOS9xaWFWcWlYaGlnajVLNXJXTXRMRXZjcjN2d1F1TmQrSUVPcUpyTGhGeCs2RDhWRFJGcm1WNHErRjFsNFk4ZURWYnJWbTgwcmdSNzZwUWIxQnV6UE9OYStHaVdXdDN2aUI5VmthT1RrUkZ1S0hFT2EyNTZ6NFMrTHB1dkI5dkExb3d3T29JcUU3R2pWeHVpK08yc05UTnlJNUd4enRMVmJsb1pxTmp3djR3L0U2NjFEeHg1NVZ3cW5oTjFVNnJVTEljWUp6dXpQMS80bnlYWGg0cTF1ZUI2MUVQaE02K3NqLzlrPSI+Cgk8L2ltYWdlPgo8L3N2Zz4=\"}}',62,'2021-08-10 07:27:09','2021-08-10 07:27:15'),(541,'App\\News',4,'60fa2f1f-98f4-44aa-8f3d-0bf722a29587','image','','اعلان.jpg','image/jpeg','public','public',5291207,'[]','{\"generated_conversions\":{\"thumb\":true}}','{\"media_library_original\":{\"urls\":[\"\\u0627\\u0639\\u0644\\u0627\\u0646___media_library_original_8163_8164.jpg\",\"\\u0627\\u0639\\u0644\\u0627\\u0646___media_library_original_6829_6829.jpg\"]}}',63,'2021-08-12 07:42:31','2021-08-12 07:46:00'),(542,'CobraProjects\\LaraShop\\Models\\LarashopCategory',25,'eb0e0f04-e10f-4914-bae2-628b11a92ed8','image',' مراقبة هيكفجن 2 ميجا الحجم الصغير','كاميرا-مراقبة-هيكفجن-2-ميجا-الحجم-الصغير.jpg','image/jpeg','public','public',582769,'[]','{\"generated_conversions\":{\"thumb\":true,\"medium\":true}}','{\"media_library_original\":{\"urls\":[\"\\u0643\\u0627\\u0645\\u064a\\u0631\\u0627-\\u0645\\u0631\\u0627\\u0642\\u0628\\u0629-\\u0647\\u064a\\u0643\\u0641\\u062c\\u0646-2-\\u0645\\u064a\\u062c\\u0627-\\u0627\\u0644\\u062d\\u062c\\u0645-\\u0627\\u0644\\u0635\\u063a\\u064a\\u0631___media_library_original_1960_1960.jpg\",\"\\u0643\\u0627\\u0645\\u064a\\u0631\\u0627-\\u0645\\u0631\\u0627\\u0642\\u0628\\u0629-\\u0647\\u064a\\u0643\\u0641\\u062c\\u0646-2-\\u0645\\u064a\\u062c\\u0627-\\u0627\\u0644\\u062d\\u062c\\u0645-\\u0627\\u0644\\u0635\\u063a\\u064a\\u0631___media_library_original_1639_1639.jpg\",\"\\u0643\\u0627\\u0645\\u064a\\u0631\\u0627-\\u0645\\u0631\\u0627\\u0642\\u0628\\u0629-\\u0647\\u064a\\u0643\\u0641\\u062c\\u0646-2-\\u0645\\u064a\\u062c\\u0627-\\u0627\\u0644\\u062d\\u062c\\u0645-\\u0627\\u0644\\u0635\\u063a\\u064a\\u0631___media_library_original_1372_1372.jpg\",\"\\u0643\\u0627\\u0645\\u064a\\u0631\\u0627-\\u0645\\u0631\\u0627\\u0642\\u0628\\u0629-\\u0647\\u064a\\u0643\\u0641\\u062c\\u0646-2-\\u0645\\u064a\\u062c\\u0627-\\u0627\\u0644\\u062d\\u062c\\u0645-\\u0627\\u0644\\u0635\\u063a\\u064a\\u0631___media_library_original_1147_1147.jpg\",\"\\u0643\\u0627\\u0645\\u064a\\u0631\\u0627-\\u0645\\u0631\\u0627\\u0642\\u0628\\u0629-\\u0647\\u064a\\u0643\\u0641\\u062c\\u0646-2-\\u0645\\u064a\\u062c\\u0627-\\u0627\\u0644\\u062d\\u062c\\u0645-\\u0627\\u0644\\u0635\\u063a\\u064a\\u0631___media_library_original_960_960.jpg\",\"\\u0643\\u0627\\u0645\\u064a\\u0631\\u0627-\\u0645\\u0631\\u0627\\u0642\\u0628\\u0629-\\u0647\\u064a\\u0643\\u0641\\u062c\\u0646-2-\\u0645\\u064a\\u062c\\u0627-\\u0627\\u0644\\u062d\\u062c\\u0645-\\u0627\\u0644\\u0635\\u063a\\u064a\\u0631___media_library_original_803_803.jpg\",\"\\u0643\\u0627\\u0645\\u064a\\u0631\\u0627-\\u0645\\u0631\\u0627\\u0642\\u0628\\u0629-\\u0647\\u064a\\u0643\\u0641\\u062c\\u0646-2-\\u0645\\u064a\\u062c\\u0627-\\u0627\\u0644\\u062d\\u062c\\u0645-\\u0627\\u0644\\u0635\\u063a\\u064a\\u0631___media_library_original_672_672.jpg\",\"\\u0643\\u0627\\u0645\\u064a\\u0631\\u0627-\\u0645\\u0631\\u0627\\u0642\\u0628\\u0629-\\u0647\\u064a\\u0643\\u0641\\u062c\\u0646-2-\\u0645\\u064a\\u062c\\u0627-\\u0627\\u0644\\u062d\\u062c\\u0645-\\u0627\\u0644\\u0635\\u063a\\u064a\\u0631___media_library_original_562_562.jpg\",\"\\u0643\\u0627\\u0645\\u064a\\u0631\\u0627-\\u0645\\u0631\\u0627\\u0642\\u0628\\u0629-\\u0647\\u064a\\u0643\\u0641\\u062c\\u0646-2-\\u0645\\u064a\\u062c\\u0627-\\u0627\\u0644\\u062d\\u062c\\u0645-\\u0627\\u0644\\u0635\\u063a\\u064a\\u0631___media_library_original_470_470.jpg\",\"\\u0643\\u0627\\u0645\\u064a\\u0631\\u0627-\\u0645\\u0631\\u0627\\u0642\\u0628\\u0629-\\u0647\\u064a\\u0643\\u0641\\u062c\\u0646-2-\\u0645\\u064a\\u062c\\u0627-\\u0627\\u0644\\u062d\\u062c\\u0645-\\u0627\\u0644\\u0635\\u063a\\u064a\\u0631___media_library_original_393_393.jpg\",\"\\u0643\\u0627\\u0645\\u064a\\u0631\\u0627-\\u0645\\u0631\\u0627\\u0642\\u0628\\u0629-\\u0647\\u064a\\u0643\\u0641\\u062c\\u0646-2-\\u0645\\u064a\\u062c\\u0627-\\u0627\\u0644\\u062d\\u062c\\u0645-\\u0627\\u0644\\u0635\\u063a\\u064a\\u0631___media_library_original_329_329.jpg\",\"\\u0643\\u0627\\u0645\\u064a\\u0631\\u0627-\\u0645\\u0631\\u0627\\u0642\\u0628\\u0629-\\u0647\\u064a\\u0643\\u0641\\u062c\\u0646-2-\\u0645\\u064a\\u062c\\u0627-\\u0627\\u0644\\u062d\\u062c\\u0645-\\u0627\\u0644\\u0635\\u063a\\u064a\\u0631___media_library_original_275_275.jpg\"],\"base64svg\":\"data:image\\/svg+xml;base64,PCFET0NUWVBFIHN2ZyBQVUJMSUMgIi0vL1czQy8vRFREIFNWRyAxLjEvL0VOIiAiaHR0cDovL3d3dy53My5vcmcvR3JhcGhpY3MvU1ZHLzEuMS9EVEQvc3ZnMTEuZHRkIj4KPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbDpzcGFjZT0icHJlc2VydmUiIHg9IjAiCiB5PSIwIiB2aWV3Qm94PSIwIDAgMTk2MCAxOTYwIj4KCTxpbWFnZSB3aWR0aD0iMTk2MCIgaGVpZ2h0PSIxOTYwIiB4bGluazpocmVmPSJkYXRhOmltYWdlL2pwZWc7YmFzZTY0LC85ai80QUFRU2taSlJnQUJBUUVBWUFCZ0FBRC8vZ0E3UTFKRlFWUlBVam9nWjJRdGFuQmxaeUIyTVM0d0lDaDFjMmx1WnlCSlNrY2dTbEJGUnlCMk9EQXBMQ0J4ZFdGc2FYUjVJRDBnT1RBSy85c0FRd0FEQWdJREFnSURBd01EQkFNREJBVUlCUVVFQkFVS0J3Y0dDQXdLREF3TENnc0xEUTRTRUEwT0VRNExDeEFXRUJFVEZCVVZGUXdQRnhnV0ZCZ1NGQlVVLzlzQVF3RURCQVFGQkFVSkJRVUpGQTBMRFJRVUZCUVVGQlFVRkJRVUZCUVVGQlFVRkJRVUZCUVVGQlFVRkJRVUZCUVVGQlFVRkJRVUZCUVVGQlFVRkJRVUZCUVUvOEFBRVFnQUlBQWdBd0VSQUFJUkFRTVJBZi9FQUI4QUFBRUZBUUVCQVFFQkFBQUFBQUFBQUFBQkFnTUVCUVlIQ0FrS0MvL0VBTFVRQUFJQkF3TUNCQU1GQlFRRUFBQUJmUUVDQXdBRUVRVVNJVEZCQmhOUllRY2ljUlF5Z1pHaENDTkNzY0VWVXRId0pETmljb0lKQ2hZWEdCa2FKU1luS0NrcU5EVTJOemc1T2tORVJVWkhTRWxLVTFSVlZsZFlXVnBqWkdWbVoyaHBhbk4wZFhaM2VIbDZnNFNGaG9lSWlZcVNrNVNWbHBlWW1acWlvNlNscHFlb3FhcXlzN1MxdHJlNHVickN3OFRGeHNmSXljclMwOVRWMXRmWTJkcmg0dVBrNWVibjZPbnE4Zkx6OVBYMjkvajUrdi9FQUI4QkFBTUJBUUVCQVFFQkFRRUFBQUFBQUFBQkFnTUVCUVlIQ0FrS0MvL0VBTFVSQUFJQkFnUUVBd1FIQlFRRUFBRUNkd0FCQWdNUkJBVWhNUVlTUVZFSFlYRVRJaktCQ0JSQ2thR3h3UWtqTTFMd0ZXSnkwUW9XSkRUaEpmRVhHQmthSmljb0tTbzFOamM0T1RwRFJFVkdSMGhKU2xOVVZWWlhXRmxhWTJSbFptZG9hV3B6ZEhWMmQzaDVlb0tEaElXR2g0aUppcEtUbEpXV2w1aVptcUtqcEtXbXA2aXBxckt6dExXMnQ3aTV1c0xEeE1YR3g4akp5dExUMU5YVzE5aloydUxqNU9YbTUranA2dkx6OVBYMjkvajUrdi9hQUF3REFRQUNFUU1SQUQ4QStvL0MrZytIZEU4UFcwdDRJNGtBeVN4eFVPYVRzSEs3WFBPUGlKKzBsNEQ4SzNqV2xqWWk4a1RnbE9hOUNuaCtZNEttSlVIWWI4T2YybWZBUGltL1N6dnJJV2tybkEzOFZjOEs0Nm9pR0xqSjJaNmY0MzhBYWJyR2dTNmhaeEsxbTY1VXJYRzBsb2RxYmVwODRmdEZYdXF3YWRwMFZ0ZVBCQ3k4aFRpc1dsZTVyNUhsUHdiMEd4MWp4a2tHcEtMb01lZC9PYTNWU1MyTVhTakxkSHVIeFkvWjMwYVhSbXZ0QWgreTMwUTNncHhYWFN4RHZhUnhWc0tyWGlkdjhBZkdtb2FqOEx0UTBmVW5NazFwOG1XT2VsVGlZcTkwYVlXVHR5czUvd0RhTStGdXE2LzhPclRWOU9SbjhsY3NGRmNjWTh6c2RrcGNxdWZKSHdyOGJKNE84WnBKcVJLTWo0SWJpdXY2cksxemordHdUc2ZZMWo4VTdUeGRhQ0t6a1JsZGNIQnJubEJ3ZXAwUnFSbXREci9BSGc2RFFmQ21yM2FNR2VjN2ppcW5VNWxZVk9ueXR0SHBYZ1g0Z2VGOVE4Q1JXVjlJa2ticnRaV0dheFRzYnRYVmo1LytKMzdObnc2OFhhbkpmV04wdHBJNXlRdkZkME1WS0tzeno2bUVqSjNSYStIbndLOEorRDRXL3dDSnN6dDdtczZ0YjJocFN3L3MrcDZucWV1ZUcvQy9nZTZ0NGJzU09SMU5jaDFwV1AvWiI+Cgk8L2ltYWdlPgo8L3N2Zz4=\"}}',64,'2021-08-31 09:14:58','2021-08-31 09:15:09'),(543,'CobraProjects\\LaraShop\\Models\\LarashopProduct',268,'4fd1286b-a3f5-4eb1-8a1f-909e47e7a125','main','DS-7204HQHI-K1','DS-7204HQHI-K1.jpg','image/jpeg','public','public',576346,'[]','{\"generated_conversions\":{\"thumb\":true,\"medium\":true}}','{\"media_library_original\":{\"urls\":[\"DS-7204HQHI-K1___media_library_original_2130_2130.jpg\",\"DS-7204HQHI-K1___media_library_original_1782_1782.jpg\",\"DS-7204HQHI-K1___media_library_original_1490_1490.jpg\",\"DS-7204HQHI-K1___media_library_original_1247_1247.jpg\",\"DS-7204HQHI-K1___media_library_original_1043_1043.jpg\",\"DS-7204HQHI-K1___media_library_original_873_873.jpg\",\"DS-7204HQHI-K1___media_library_original_730_730.jpg\",\"DS-7204HQHI-K1___media_library_original_611_611.jpg\",\"DS-7204HQHI-K1___media_library_original_511_511.jpg\",\"DS-7204HQHI-K1___media_library_original_427_427.jpg\",\"DS-7204HQHI-K1___media_library_original_357_357.jpg\",\"DS-7204HQHI-K1___media_library_original_299_299.jpg\"],\"base64svg\":\"data:image\\/svg+xml;base64,PCFET0NUWVBFIHN2ZyBQVUJMSUMgIi0vL1czQy8vRFREIFNWRyAxLjEvL0VOIiAiaHR0cDovL3d3dy53My5vcmcvR3JhcGhpY3MvU1ZHLzEuMS9EVEQvc3ZnMTEuZHRkIj4KPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbDpzcGFjZT0icHJlc2VydmUiIHg9IjAiCiB5PSIwIiB2aWV3Qm94PSIwIDAgMjEzMCAyMTMwIj4KCTxpbWFnZSB3aWR0aD0iMjEzMCIgaGVpZ2h0PSIyMTMwIiB4bGluazpocmVmPSJkYXRhOmltYWdlL2pwZWc7YmFzZTY0LC85ai80QUFRU2taSlJnQUJBUUVBWUFCZ0FBRC8vZ0E3UTFKRlFWUlBVam9nWjJRdGFuQmxaeUIyTVM0d0lDaDFjMmx1WnlCSlNrY2dTbEJGUnlCMk9EQXBMQ0J4ZFdGc2FYUjVJRDBnT1RBSy85c0FRd0FEQWdJREFnSURBd01EQkFNREJBVUlCUVVFQkFVS0J3Y0dDQXdLREF3TENnc0xEUTRTRUEwT0VRNExDeEFXRUJFVEZCVVZGUXdQRnhnV0ZCZ1NGQlVVLzlzQVF3RURCQVFGQkFVSkJRVUpGQTBMRFJRVUZCUVVGQlFVRkJRVUZCUVVGQlFVRkJRVUZCUVVGQlFVRkJRVUZCUVVGQlFVRkJRVUZCUVVGQlFVRkJRVUZCUVUvOEFBRVFnQUlBQWdBd0VSQUFJUkFRTVJBZi9FQUI4QUFBRUZBUUVCQVFFQkFBQUFBQUFBQUFBQkFnTUVCUVlIQ0FrS0MvL0VBTFVRQUFJQkF3TUNCQU1GQlFRRUFBQUJmUUVDQXdBRUVRVVNJVEZCQmhOUllRY2ljUlF5Z1pHaENDTkNzY0VWVXRId0pETmljb0lKQ2hZWEdCa2FKU1luS0NrcU5EVTJOemc1T2tORVJVWkhTRWxLVTFSVlZsZFlXVnBqWkdWbVoyaHBhbk4wZFhaM2VIbDZnNFNGaG9lSWlZcVNrNVNWbHBlWW1acWlvNlNscHFlb3FhcXlzN1MxdHJlNHVickN3OFRGeHNmSXljclMwOVRWMXRmWTJkcmg0dVBrNWVibjZPbnE4Zkx6OVBYMjkvajUrdi9FQUI4QkFBTUJBUUVCQVFFQkFRRUFBQUFBQUFBQkFnTUVCUVlIQ0FrS0MvL0VBTFVSQUFJQkFnUUVBd1FIQlFRRUFBRUNkd0FCQWdNUkJBVWhNUVlTUVZFSFlYRVRJaktCQ0JSQ2thR3h3UWtqTTFMd0ZXSnkwUW9XSkRUaEpmRVhHQmthSmljb0tTbzFOamM0T1RwRFJFVkdSMGhKU2xOVVZWWlhXRmxhWTJSbFptZG9hV3B6ZEhWMmQzaDVlb0tEaElXR2g0aUppcEtUbEpXV2w1aVptcUtqcEtXbXA2aXBxckt6dExXMnQ3aTV1c0xEeE1YR3g4akp5dExUMU5YVzE5aloydUxqNU9YbTUranA2dkx6OVBYMjkvajUrdi9hQUF3REFRQUNFUU1SQUQ4QStvL0JmZ3JROUw4SzI5MWRRTEhBcTVabXFlWlg1Uk5XVjJlV2ZFbjlwcjRjK0RiMXJPMXRVdVpVT0dLbnZYbzA4TEtTdXp6cW1NakIyUTc0Wi90Ti9EanhoZkphWFZxdHRJNXdDeHB6d3NvcTZDR01qSjJaNlI4U2ZoMXB1c2VIWDFIVDRWYXpaY2dyelhJMGx1ZGliZXFPRytPbmk2K2crRWxycGVqdmk1bVhhU3A1RmJZZUVYTG1rWTRqbmNlV0o4VFhIN1AydjZ0dXU1NXQwa2gzSEp6WHIvV0lyUkhsL1VweTFLRWZ3UThSYUxkSlBBeks2SElaVFQrc1FaUDFPb2o3aStDM3hFdlQ4S0o5RjFoeTl6RXVGSjVyeU1SWnU2UFlvUmxHTnBFWHhoK0crcWo0WHhhM3BaZVdTSmR4UWMxTkd6ZG1WV2s0UnVqNHFrK09XdTZQZHZCY2gxWkRncTNGZWo5V3ZzZWNzYzFvMGQ1NE0rSldvK09ZekRHTnJEcWE1YXROMHpycFlsVkQ2bitGWGd1S1B3RnFGN2RmUGNZNE5jYzNjNm95YlBhUGgvOEFFZndyZmVBSXJLK2xTU04xd3lzTTFtbmJWRnRKcXpQQWZpait6ajhOZkdPcFNYbHBjcmF1NXlRbzRydmhpcFJWbWVmVXdjWk82SGZEdjluL0FNRGVEWW5LNmlHYzFsVnJ1b1ZTd3lwbnF1cWE1NFc4SitBN3UxdGJvTTVGY3AycFdQL1oiPgoJPC9pbWFnZT4KPC9zdmc+\"}}',65,'2021-08-31 09:48:04','2021-08-31 09:48:14'),(544,'App\\News',5,'27a91b09-2a0a-4829-bd16-2bf409f35041','image','Untitled-1','Untitled-1.png','image/png','public','public',117925,'[]','{\"generated_conversions\":{\"thumb\":true}}','{\"media_library_original\":{\"urls\":[\"Untitled-1___media_library_original_2048_2048.png\",\"Untitled-1___media_library_original_1713_1713.png\",\"Untitled-1___media_library_original_1433_1433.png\",\"Untitled-1___media_library_original_1199_1199.png\",\"Untitled-1___media_library_original_1003_1003.png\",\"Untitled-1___media_library_original_839_839.png\",\"Untitled-1___media_library_original_702_702.png\"],\"base64svg\":\"data:image\\/svg+xml;base64,PCFET0NUWVBFIHN2ZyBQVUJMSUMgIi0vL1czQy8vRFREIFNWRyAxLjEvL0VOIiAiaHR0cDovL3d3dy53My5vcmcvR3JhcGhpY3MvU1ZHLzEuMS9EVEQvc3ZnMTEuZHRkIj4KPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbDpzcGFjZT0icHJlc2VydmUiIHg9IjAiCiB5PSIwIiB2aWV3Qm94PSIwIDAgMjA0OCAyMDQ4Ij4KCTxpbWFnZSB3aWR0aD0iMjA0OCIgaGVpZ2h0PSIyMDQ4IiB4bGluazpocmVmPSJkYXRhOmltYWdlL2pwZWc7YmFzZTY0LC85ai80QUFRU2taSlJnQUJBUUVBWUFCZ0FBRC8vZ0E3UTFKRlFWUlBVam9nWjJRdGFuQmxaeUIyTVM0d0lDaDFjMmx1WnlCSlNrY2dTbEJGUnlCMk9EQXBMQ0J4ZFdGc2FYUjVJRDBnT1RBSy85c0FRd0FEQWdJREFnSURBd01EQkFNREJBVUlCUVVFQkFVS0J3Y0dDQXdLREF3TENnc0xEUTRTRUEwT0VRNExDeEFXRUJFVEZCVVZGUXdQRnhnV0ZCZ1NGQlVVLzlzQVF3RURCQVFGQkFVSkJRVUpGQTBMRFJRVUZCUVVGQlFVRkJRVUZCUVVGQlFVRkJRVUZCUVVGQlFVRkJRVUZCUVVGQlFVRkJRVUZCUVVGQlFVRkJRVUZCUVUvOEFBRVFnQUlBQWdBd0VSQUFJUkFRTVJBZi9FQUI4QUFBRUZBUUVCQVFFQkFBQUFBQUFBQUFBQkFnTUVCUVlIQ0FrS0MvL0VBTFVRQUFJQkF3TUNCQU1GQlFRRUFBQUJmUUVDQXdBRUVRVVNJVEZCQmhOUllRY2ljUlF5Z1pHaENDTkNzY0VWVXRId0pETmljb0lKQ2hZWEdCa2FKU1luS0NrcU5EVTJOemc1T2tORVJVWkhTRWxLVTFSVlZsZFlXVnBqWkdWbVoyaHBhbk4wZFhaM2VIbDZnNFNGaG9lSWlZcVNrNVNWbHBlWW1acWlvNlNscHFlb3FhcXlzN1MxdHJlNHVickN3OFRGeHNmSXljclMwOVRWMXRmWTJkcmg0dVBrNWVibjZPbnE4Zkx6OVBYMjkvajUrdi9FQUI4QkFBTUJBUUVCQVFFQkFRRUFBQUFBQUFBQkFnTUVCUVlIQ0FrS0MvL0VBTFVSQUFJQkFnUUVBd1FIQlFRRUFBRUNkd0FCQWdNUkJBVWhNUVlTUVZFSFlYRVRJaktCQ0JSQ2thR3h3UWtqTTFMd0ZXSnkwUW9XSkRUaEpmRVhHQmthSmljb0tTbzFOamM0T1RwRFJFVkdSMGhKU2xOVVZWWlhXRmxhWTJSbFptZG9hV3B6ZEhWMmQzaDVlb0tEaElXR2g0aUppcEtUbEpXV2w1aVptcUtqcEtXbXA2aXBxckt6dExXMnQ3aTV1c0xEeE1YR3g4akp5dExUMU5YVzE5aloydUxqNU9YbTUranA2dkx6OVBYMjkvajUrdi9hQUF3REFRQUNFUU1SQUQ4QS9WQ2dCQ3dGQUViM01hZmVZRDZtZ0JVbVdRWlVoaDdVQURUQlB2RUNnREE4WDZwTnAranp6MnBEU0lwT0thVjJTM29mSFhpcjlvN3hBbXZ0Wk9za0VYbWJkK0NCMXJwVkYydWpoZGZXeDlWZkNMVXBkVjhMMjl6TE41ek9vT2MxenlWbWRrSGRYSC9FYlV0UjArM2pleWphVG5rTFZRU2U0cHRyWTRXNTFuWHRUdDFWYlY5cmZlQkhhdGJSUmxlVE9MOFgrQ1l0ZEtScG80YWJPV1lMem10SXl0MU1wUnYwUFgvZy9wVjNwR2ppMm5oTUtJTUtwckNvN3U1MDAwMHJIb2sxckhPTVNLR0hvYXhOaGlhZkFnd3NhZ2ZTZ1ZocTZYYm81WVJMazk4VTdoWXNKQ3FmZEFIMHBEUC8yUT09Ij4KCTwvaW1hZ2U+Cjwvc3ZnPg==\"}}',66,'2021-10-09 08:58:35','2021-10-09 08:58:48'); /*!40000 ALTER TABLE `media` ENABLE KEYS */; UNLOCK TABLES; DROP TABLE IF EXISTS `migrations`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `migrations` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `migration` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `batch` int(11) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=42 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; LOCK TABLES `migrations` WRITE; /*!40000 ALTER TABLE `migrations` DISABLE KEYS */; INSERT INTO `migrations` VALUES (1,'2014_10_12_000000_create_users_table',1),(2,'2014_10_12_100000_create_password_resets_table',1),(3,'2017_03_06_023521_create_admins_table',1),(4,'2017_03_06_053834_create_admin_role_table',1),(5,'2018_03_06_023523_create_roles_table',1),(6,'2019_08_19_000000_create_failed_jobs_table',1),(7,'2019_12_01_120121_create_permissions_table',1),(8,'2019_12_01_163205_create_permission_role_table',1),(9,'2019_12_01_163233_create_admin_permission_table',1),(10,'2020_07_11_142154_create_abouts_table',1),(11,'2020_07_11_175406_create_testimonials_table',1),(12,'2020_07_13_123542_create_settings_table',1),(13,'2020_07_13_145800_create_brands_table',1),(14,'2020_07_15_120348_create_services_table',2),(15,'2020_07_15_170435_create_media_table',3),(16,'2020_07_15_171829_add_slug_to_services_table',4),(17,'2020_07_18_123946_create_clients_table',5),(18,'2020_07_18_143923_create_news_table',6),(19,'2020_07_20_110847_create_visits_table',7),(20,'2020_07_20_150842_addfeature_columnto_news_table',7),(21,'2020_07_27_000000_create_larashop_categories_table',8),(22,'2020_07_28_000000_create_larashop_products_table',8),(23,'2020_07_29_000000_create_larashop_category_larashop_product_table',8),(24,'2018_12_23_120000_create_shoppingcart_table',9),(25,'2020_09_12_143829_create_google_reviews_table',10),(26,'2020_10_28_082642_create_cities_table',11),(27,'2020_10_28_112247_create_coupons_table',11),(28,'2020_10_28_130521_create_fixed_coupons_table',11),(29,'2020_10_28_130545_create_category_coupons_table',11),(30,'2020_10_28_130608_create_shipping_coupons_table',11),(31,'2020_10_29_162122_create_addresses_table',11),(32,'2020_11_01_131512_create_orders_table',11),(33,'2020_11_01_132727_create_order_details_table',11),(34,'2020_11_03_113243_add_notes_to_order_table',12),(35,'2020_11_07_174016_add_calculator_to_larashop_products_table',13),(36,'2020_11_21_101726_create_video_categories_table',14),(37,'2020_11_21_112949_create_videos_table',14),(38,'2020_12_09_094828_create_advs_table',15),(39,'2021_01_14_103335_create_calculators_table',16),(40,'2021_01_14_103400_create_calculator_details_table',16),(41,'2021_01_16_153154_add_installment_type_to_calculators_table',16); /*!40000 ALTER TABLE `migrations` ENABLE KEYS */; UNLOCK TABLES; DROP TABLE IF EXISTS `news`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `news` ( `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, `title` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `slug` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `body` text COLLATE utf8mb4_unicode_ci NOT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, `featured` tinyint(1) DEFAULT 0, PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; LOCK TABLES `news` WRITE; /*!40000 ALTER TABLE `news` DISABLE KEYS */; INSERT INTO `news` VALUES (2,'المنازل الذكية','المنازل-الذكية','<p>المنازل الذكية ليست رفاهية , بل هي حاجة المستقبل .</p>\r\n\r\n<p>تُعرف المنازل الذكية على انها المستقبل في الفعالية والأمان والتوفير في استخدام الكهرباء بشكل ملحوظ لإعتمادها على الحساسات والمستشعرات الحركية لمعرفة في حالة وجود اشخاص نشطيين في المنزل وإطفاء او تشغيل الإضاءات واجهزة التكييف بناءاً على ذلك, كما يمكن ايضا التحكم بالمنزل بالكامل عن طريق الجوال مما سيضيف تجربة رائعة&nbsp;وحديثة للعميل في حالة العودة للمنزل سيصبح المنزل جاهز لإستقبالك بالبرودة التي تناسبك وتشغيل الإضائات الازمة&nbsp;مع ادخار كبير في الكهرباء والاموال مع الحفاظ على الفعالية العالية والجودة في آداء الأجهزة .</p>\r\n\r\n<p>نعم إن المنازل الذكية ليست رفاهية كما يعتقد البعض بل هيا حاجة الجميع لمستقبل مشرق وغدٍ افضل.</p>\r\n\r\n<p>&nbsp;</p>\r\n\r\n<p style=\"text-align:center\">أنامل الخبرة&nbsp;</p>\r\n\r\n<p style=\"text-align:center\">مُستقبل واعد .. بتنقيةٍ متجددة</p>\r\n\r\n<p>&nbsp;</p>','2020-08-15 06:54:24','2021-08-10 07:27:30',0),(3,'التحكم في الدخول والخروج','التحكم-في-الدخول-والخروج','<p>نظام التحكم في الدخول والخروج (&nbsp;Access Control System ) .</p>\r\n\r\n<p>يعتبر نظام التحكم في الدخول والخروج من اهم الأنظمة في الشركات والمنشآت وايضا في المعارض والمؤتمرات التي تتطلب&nbsp;الأذونات للأشخاص المصرح لهم فقط مع ربط النظام بأجهزة البصمة التي تتوفر بعدة نماذج , بصمة الاصبع و بصمة الوجه والكرت ومنها ايضا الذي يعمل بالكرت المغانطيسي .</p>\r\n\r\n<p>بوفر النظام بأحجام مختلفة لتناسب حجم الباب كما يتم اغلاق الباب بشكل تلقائي خلال مدة زمنية محددة يتم ضبطها مسبقا من قبل المسؤول , كما يتم ربط االأشخاص المصرح لهم بأجهزة البصمة لتمكين الدخول السريع , ويتوفر النظام بالكامل على حسب احتياج العميل من ابواب زجاجية او خشبية او حتى من المعدن .</p>\r\n\r\n<p>وكما اعدتم فلدينا ضمان لمدة سنتين على كامل النظام .</p>\r\n\r\n<p style=\"text-align:center\">أنامل الخبرة&nbsp;</p>\r\n\r\n<p style=\"text-align:center\">مُستقبل واعد .. بتنقيةٍ متجددة</p>\r\n\r\n<p>&nbsp;</p>','2021-08-10 07:27:09','2021-08-12 07:42:31',0),(4,'كاميرات الطاقة الشمسية','كاميرات-الطاقة-الشمسية','<p><strong>كاميرات الطاقة الشمسية</strong> ... <strong>مستقبل</strong><span style=\"color:#2c3e50\"> <strong><span style=\"font-size:16px\">التوفير , الأمان , الفعالية</span></strong></span> .</p>\r\n\r\n<p>ولأننا في أنامل نحرص دائما على توفير كل جديد وتلبية متطلبات العملاء والحرص على مواكبة التقنيات الحديثة وتوفير سبل الراحة والأمان في ظل التقنيات الحديثة التي اصبحت جزء لا يتجزأ من جميع المهام اليومية .</p>\r\n\r\n<p>اليوم وفي مجال الأنظمة الأمنية وكاميرات المراقبة اصبحنا&nbsp;نوفر الأحل الأمثل <strong><span style=\"color:#2c3e50\">&rsquo;&rsquo; كاميرات الطاقة الشمسية &rsquo;&rsquo;</span></strong> ومن اهم مميزاتها :&nbsp;</p>\r\n\r\n<p>1 - دقة 2 ميجابكسل بجودة <span style=\"color:#2c3e50\"><strong>Full HD</strong></span> وفتحة عدسة 4mm .</p>\r\n\r\n<p>2 - تعمل بدون تمديد اسلاك او كهرباء ( <span style=\"color:#2c3e50\"><strong>موفرة للكهرباء</strong></span> ) .</p>\r\n\r\n<p>3 - <span style=\"color:#2c3e50\"><strong>ربط بالجوال</strong></span> والشاشات الذكية .</p>\r\n\r\n<p>4 - <span style=\"color:#2c3e50\"><strong>نظام صوتي</strong></span> -مايكرفون وسماعات- مدمج&nbsp;بالكاميرا .&nbsp;&nbsp;</p>\r\n\r\n<p>5 - تحتوي على منفذ <span style=\"color:#2c3e50\"><strong>ذاكرة</strong></span> وتدعم <strong><span style=\"color:#2c3e50\">التخزين السحابي</span></strong> .</p>\r\n\r\n<p>6 - تعمل <span style=\"color:#2c3e50\"><strong>بشريحة بيانات</strong></span> وتدعم الـ 4G .</p>\r\n\r\n<p>7 - نظام <span style=\"color:#2c3e50\"><strong>تتبع الحركة البشرية</strong></span> وإرسال تنبيهات فورية .</p>\r\n\r\n<p>8 - <span style=\"color:#2c3e50\"><strong>رؤية ليلية </strong></span>عالية الوضوح .</p>\r\n\r\n<p>&nbsp;</p>\r\n\r\n<p style=\"text-align:center\"><strong>أنامل الخبرة&nbsp;</strong></p>\r\n\r\n<p style=\"text-align:center\"><strong>مستقبل واعد .. بتقنية متجددة</strong></p>\r\n\r\n<p>&nbsp;</p>\r\n\r\n<p>&nbsp;</p>','2021-08-12 07:42:31','2021-08-12 07:43:43',0),(5,'اهمية تمديد الأسلاك لكاميرات المراقبة','اهمية-تمديد-الأسلاك-لكاميرات-المراقبة','<p style=\"text-align:center\"><strong>محتويات المقال :&nbsp;</strong></p>\r\n\r\n<p><strong><span style=\"font-family:Verdana,Geneva,sans-serif\"><span style=\"font-size:12px\">- اهمية التمديد الجيد للأسلاك</span></span></strong></p>\r\n\r\n<p><strong><span style=\"font-family:Verdana,Geneva,sans-serif\"><span style=\"font-size:12px\">- أخطاء شائعة في التمديد</span></span></strong></p>\r\n\r\n<p><strong><span style=\"font-family:Verdana,Geneva,sans-serif\"><span style=\"font-size:12px\">- خطورة التمديد الخاطئ على المدى الطويل</span></span></strong></p>\r\n\r\n<p><strong><span style=\"font-family:Verdana,Geneva,sans-serif\"><span style=\"font-size:12px\">- كيف اعرف ان التمديد صالح لدي</span></span></strong></p>\r\n\r\n<p>&nbsp;</p>\r\n\r\n<p style=\"text-align:center\"><span style=\"font-size:14px\"><strong><span style=\"font-family:Verdana,Geneva,sans-serif\">اهمية التمديد الجيد للأسلاك</span></strong></span></p>\r\n\r\n<p><span style=\"font-family:Verdana,Geneva,sans-serif\"><span style=\"font-size:12px\">يعتبر التمديد اهم مرحلة من مراحل تركيب كاميرات المراقبة فهو بمثابة حجر الأساس الذي تعتمد علية فعالية كاميرات المراقبة على المدى الطويل , ف تمديد الكاميرات بالكهرباء هو العامل الاساسي لتبقى فعالية كاميرات المراقبة مهما طالت المدة او حتى قصرت, حيث تحدث الكثير من اعطال الكاميرات بسبب التمديد الخاطئ للكهرباء في بداية التركيب مما يؤدي لعطل الكاميرا بشكل نهائي او احتراق الأجزاء الداخلية للكاميرا.</span></span></p>\r\n\r\n<p>&nbsp;</p>\r\n\r\n<p style=\"text-align:center\"><strong><span style=\"font-family:Verdana,Geneva,sans-serif\"><span style=\"font-size:12px\">أخطاء شائعة في التمديد</span></span></strong></p>\r\n\r\n<p><span style=\"font-family:Verdana,Geneva,sans-serif\"><span style=\"font-size:12px\">- تعتبر من اكثر الأخطاء الشائعة في التمديد لدى الكثير من العملاء الإعتماد على احد العمال الغير معتمدين او مؤهلين لتمديد اسلاك كاميرات المراقبة.</span></span></p>\r\n\r\n<p><span style=\"font-family:Verdana,Geneva,sans-serif\"><span style=\"font-size:12px\">- عدم الوعي بأنواع الأسلاك المخصصة لتوفير الكهرباء المناسبة.</span></span></p>\r\n\r\n<p><span style=\"font-family:Verdana,Geneva,sans-serif\"><span style=\"font-size:12px\">- التمديد في الأماكن الخاطئ ( معرضة لحرارة عالية , غير ملائمة للمنظر العام , استخدام امتار اكثر من الإحتياج...الخ) .</span></span></p>\r\n\r\n<p>&nbsp;</p>\r\n\r\n<p style=\"text-align:center\"><strong><span style=\"font-family:Verdana,Geneva,sans-serif\"><span style=\"font-size:12px\">خطورة التمديد الخاطئ على المدى الطويل</span></span></strong></p>\r\n\r\n<p><span style=\"font-family:Verdana, Geneva, sans-serif\"><span style=\"font-size:12px\">من الصعب تغيير التمديد الخاطئ مما سيرفع التكلفة على العميل كما من الممكن ان التكلفة لا تكون فقط في الاسلاك بل ايضا في تلف كاميرات المراقبة بسبب التوزيع الخاطئ للكهرباء&nbsp;</span></span></p>\r\n\r\n<p><span style=\"font-family:Verdana, Geneva, sans-serif\"><span style=\"font-size:12px\">فيكون التمديد الخاطئ بمثابة هدر للأموال لا غير.</span></span></p>\r\n\r\n<p>&nbsp;</p>\r\n\r\n<p style=\"text-align:center\"><strong><span style=\"font-family:Verdana,Geneva,sans-serif\"><span style=\"font-size:12px\">كيف اعرف ان التمديد صالح لدي</span></span></strong></p>\r\n\r\n<p><span style=\"font-family:Verdana, Geneva, sans-serif\"><span style=\"font-size:12px\">تأكد من نوع الأسلاك المستخدمةوعدد الأمتار التي تحتاجها , ومصدر الكهرباء الثابت ,كما يجب عليك أن تستعين بالمتخخصين في تمديد الأسلاك ولديهم الخبرة في معرفة الإحتياج لكاميرات تدوم لمدة أطول .</span></span></p>\r\n\r\n<p>&nbsp;</p>\r\n\r\n<p>&nbsp;</p>\r\n\r\n<p style=\"text-align:center\"><span style=\"font-size:14px\"><strong><span style=\"font-family:Verdana, Geneva, sans-serif\">أنامل الخبرة .. تقنية متجددة</span></strong></span></p>','2021-10-09 08:58:35','2021-10-09 08:58:35',1); /*!40000 ALTER TABLE `news` ENABLE KEYS */; UNLOCK TABLES; DROP TABLE IF EXISTS `order_details`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `order_details` ( `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, `order_id` bigint(20) unsigned NOT NULL, `larashop_product_id` bigint(20) unsigned NOT NULL, `price` int(11) NOT NULL, `qty` int(10) unsigned NOT NULL DEFAULT 1, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, PRIMARY KEY (`id`), KEY `order_details_order_id_foreign` (`order_id`), KEY `order_details_larashop_product_id_foreign` (`larashop_product_id`), CONSTRAINT `order_details_larashop_product_id_foreign` FOREIGN KEY (`larashop_product_id`) REFERENCES `larashop_products` (`id`), CONSTRAINT `order_details_order_id_foreign` FOREIGN KEY (`order_id`) REFERENCES `orders` (`id`) ON DELETE CASCADE ) ENGINE=InnoDB AUTO_INCREMENT=24 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; LOCK TABLES `order_details` WRITE; /*!40000 ALTER TABLE `order_details` DISABLE KEYS */; INSERT INTO `order_details` VALUES (7,6,14,120,1,'2020-11-04 14:42:33','2020-11-04 14:42:33'),(8,7,14,120,1,'2020-11-04 14:43:03','2020-11-04 14:43:03'),(9,8,163,150,1,'2020-12-09 21:50:30','2020-12-09 21:50:30'),(10,9,221,1690,1,'2020-12-10 15:12:55','2020-12-10 15:12:55'),(11,10,33,230,4,'2020-12-19 19:09:54','2020-12-19 19:09:54'),(12,11,223,280,1,'2020-12-19 20:19:03','2020-12-19 20:19:03'),(13,11,222,230,1,'2020-12-19 20:19:03','2020-12-19 20:19:03'),(14,12,15,150,1,'2020-12-20 00:51:05','2020-12-20 00:51:05'),(15,12,32,280,1,'2020-12-20 00:51:05','2020-12-20 00:51:05'),(16,13,28,1850,1,'2020-12-25 09:38:58','2020-12-25 09:38:58'),(17,14,219,2190,1,'2020-12-28 13:10:34','2020-12-28 13:10:34'),(18,15,222,230,1,'2021-01-20 14:32:56','2021-01-20 14:32:56'),(19,16,222,230,1,'2021-02-28 17:16:14','2021-02-28 17:16:14'),(20,17,230,300,1,'2021-05-17 11:49:39','2021-05-17 11:49:39'),(21,18,230,300,1,'2021-05-17 11:50:14','2021-05-17 11:50:14'),(22,19,229,280,1,'2021-06-27 10:44:38','2021-06-27 10:44:38'),(23,20,267,480,1,'2021-08-03 10:42:34','2021-08-03 10:42:34'); /*!40000 ALTER TABLE `order_details` ENABLE KEYS */; UNLOCK TABLES; DROP TABLE IF EXISTS `orders`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `orders` ( `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, `user_id` bigint(20) unsigned DEFAULT NULL, `address_id` bigint(20) unsigned DEFAULT NULL, `paid` tinyint(1) NOT NULL DEFAULT 0, `payment_type` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'credit', `status` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'جاري التحضير', `price` int(11) NOT NULL DEFAULT 0, `shipping_cost` int(11) NOT NULL DEFAULT 0, `coupon_discount` int(11) NOT NULL DEFAULT 0, `coupon_code` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `payment_fee` int(11) NOT NULL DEFAULT 0, `address` varchar(1000) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `email` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `first_name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `last_name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `city` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `phone` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `postcode` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, `deleted_at` timestamp NULL DEFAULT NULL, `notes` mediumtext COLLATE utf8mb4_unicode_ci DEFAULT NULL, PRIMARY KEY (`id`), KEY `orders_user_id_foreign` (`user_id`), KEY `orders_address_id_foreign` (`address_id`), CONSTRAINT `orders_address_id_foreign` FOREIGN KEY (`address_id`) REFERENCES `addresses` (`id`) ON DELETE SET NULL, CONSTRAINT `orders_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE SET NULL ) ENGINE=InnoDB AUTO_INCREMENT=21 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; LOCK TABLES `orders` WRITE; /*!40000 ALTER TABLE `orders` DISABLE KEYS */; INSERT INTO `orders` VALUES (6,23,2,0,'mada','تم الإلغاء',120,0,0,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2020-11-04 14:42:33','2020-11-09 08:25:41',NULL,''),(7,23,2,1,'mada','تم الاستلام',120,0,0,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2020-11-04 14:43:03','2020-11-09 08:25:30',NULL,'تجربة الشراء'),(8,35,3,0,'cod','تم الاستلام',150,0,0,'',20,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2020-12-09 21:50:30','2020-12-10 15:06:17',NULL,''),(9,23,2,0,'cod','تم الإلغاء',1690,0,338,'2020',20,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2020-12-10 15:12:55','2020-12-10 15:13:50',NULL,''),(10,38,4,0,'cod','تم الاستلام',920,0,0,NULL,20,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2020-12-19 19:09:53','2020-12-23 14:17:02',NULL,''),(11,39,5,0,'cod','تم الاستلام',510,0,0,NULL,20,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2020-12-19 20:19:03','2020-12-23 14:19:03',NULL,''),(12,40,6,0,'cod','تم الإلغاء',430,0,0,NULL,20,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2020-12-20 00:51:04','2020-12-23 16:15:25',NULL,''),(13,1,7,0,'cod','تم الإلغاء',1850,0,0,NULL,20,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2020-12-25 09:38:57','2020-12-28 13:13:35',NULL,''),(14,44,8,0,'mada','تم الإلغاء',2190,0,0,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2020-12-28 13:10:33','2021-01-02 06:38:00',NULL,''),(15,58,10,0,'cod','تم الإلغاء',230,0,0,NULL,20,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2021-01-20 14:32:55','2021-01-24 15:24:45',NULL,''),(16,76,11,0,'cod','تم الإلغاء',230,0,0,NULL,20,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2021-02-28 17:16:14','2021-03-12 13:58:51',NULL,''),(17,23,2,0,'mada','تم الإلغاء',300,0,0,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2021-05-17 11:49:38','2021-06-07 13:16:14',NULL,''),(18,23,2,0,'cod','تم الإلغاء',300,0,0,NULL,20,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2021-05-17 11:49:59','2021-06-07 13:16:20',NULL,''),(19,121,13,0,'cod','تم الاستلام',280,0,0,NULL,20,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2021-06-27 10:44:38','2021-06-27 12:46:08',NULL,''),(20,130,14,0,'cod','تم الإلغاء',480,0,0,NULL,20,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2021-08-03 10:42:33','2021-08-04 08:17:27',NULL,''); /*!40000 ALTER TABLE `orders` ENABLE KEYS */; UNLOCK TABLES; DROP TABLE IF EXISTS `password_resets`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `password_resets` ( `email` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `token` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `created_at` timestamp NULL DEFAULT NULL, KEY `password_resets_email_index` (`email`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; LOCK TABLES `password_resets` WRITE; /*!40000 ALTER TABLE `password_resets` DISABLE KEYS */; INSERT INTO `password_resets` VALUES ('m.melouk@gmail.com','$2y$10$7qiI3G1wKQZ6BODfF9YhbOXv.oYe8exSuBZeZBDNcSGW1pu4PvKoW','2020-11-09 15:15:09'); /*!40000 ALTER TABLE `password_resets` ENABLE KEYS */; UNLOCK TABLES; DROP TABLE IF EXISTS `permission_role`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `permission_role` ( `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, `role_id` bigint(20) unsigned NOT NULL, `permission_id` bigint(20) unsigned NOT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, PRIMARY KEY (`id`), UNIQUE KEY `permission_role_role_id_permission_id_unique` (`role_id`,`permission_id`), KEY `permission_role_permission_id_foreign` (`permission_id`), CONSTRAINT `permission_role_permission_id_foreign` FOREIGN KEY (`permission_id`) REFERENCES `permissions` (`id`) ON DELETE CASCADE, CONSTRAINT `permission_role_role_id_foreign` FOREIGN KEY (`role_id`) REFERENCES `roles` (`id`) ON DELETE CASCADE ) ENGINE=InnoDB AUTO_INCREMENT=51 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; LOCK TABLES `permission_role` WRITE; /*!40000 ALTER TABLE `permission_role` DISABLE KEYS */; INSERT INTO `permission_role` VALUES (1,1,1,NULL,NULL),(2,1,2,NULL,NULL),(3,1,3,NULL,NULL),(4,1,4,NULL,NULL),(5,1,5,NULL,NULL),(6,1,6,NULL,NULL),(7,1,7,NULL,NULL),(8,1,8,NULL,NULL),(9,1,9,NULL,NULL),(10,1,10,NULL,NULL),(11,1,11,NULL,NULL),(12,1,12,NULL,NULL),(13,1,13,NULL,NULL),(14,1,14,NULL,NULL),(15,1,15,NULL,NULL),(16,1,16,NULL,NULL),(17,1,17,NULL,NULL),(18,1,18,NULL,NULL),(19,1,19,NULL,NULL),(20,1,20,NULL,NULL),(21,1,21,NULL,NULL),(22,1,22,NULL,NULL),(23,1,23,NULL,NULL),(24,1,24,NULL,NULL),(25,1,27,NULL,NULL),(26,1,28,NULL,NULL),(27,1,29,NULL,NULL),(28,1,30,NULL,NULL),(29,1,31,NULL,NULL),(30,1,32,NULL,NULL),(31,1,33,NULL,NULL),(32,1,34,NULL,NULL),(33,1,35,NULL,NULL),(34,1,36,NULL,NULL),(35,1,37,NULL,NULL),(36,1,38,NULL,NULL),(37,1,39,NULL,NULL),(38,1,40,NULL,NULL),(39,1,41,NULL,NULL),(40,1,42,NULL,NULL),(41,1,43,NULL,NULL),(42,1,44,NULL,NULL),(43,1,45,NULL,NULL),(44,1,46,NULL,NULL),(45,1,47,NULL,NULL),(46,1,48,NULL,NULL),(47,1,49,NULL,NULL),(48,1,50,NULL,NULL),(49,1,51,NULL,NULL),(50,1,52,NULL,NULL); /*!40000 ALTER TABLE `permission_role` ENABLE KEYS */; UNLOCK TABLES; DROP TABLE IF EXISTS `permissions`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `permissions` ( `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, `name` varchar(200) COLLATE utf8mb4_unicode_ci NOT NULL, `parent` varchar(200) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, PRIMARY KEY (`id`), KEY `permissions_name_index` (`name`) ) ENGINE=InnoDB AUTO_INCREMENT=53 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; LOCK TABLES `permissions` WRITE; /*!40000 ALTER TABLE `permissions` DISABLE KEYS */; INSERT INTO `permissions` VALUES (1,'CreateAdmin','Admin','2020-07-14 13:25:50','2020-07-14 13:25:50'),(2,'CreateRole','Role','2020-07-14 13:25:50','2020-07-14 13:25:50'),(3,'ReadAdmin','Admin','2020-07-14 13:25:50','2020-07-14 13:25:50'),(4,'ReadRole','Role','2020-07-14 13:25:50','2020-07-14 13:25:50'),(5,'UpdateAdmin','Admin','2020-07-14 13:25:50','2020-07-14 13:25:50'),(6,'UpdateRole','Role','2020-07-14 13:25:50','2020-07-14 13:25:50'),(7,'DeleteAdmin','Admin','2020-07-14 13:25:50','2020-07-14 13:25:50'),(8,'DeleteRole','Role','2020-07-14 13:25:50','2020-07-14 13:25:50'),(9,'CreateNews','News','2020-07-19 12:47:10','2020-07-19 12:47:10'),(10,'ReadNews','News','2020-07-19 12:47:10','2020-07-19 12:47:10'),(11,'UpdateNews','News','2020-07-19 12:47:10','2020-07-19 12:47:10'),(12,'DeleteNews','News','2020-07-19 12:47:10','2020-07-19 12:47:10'),(13,'CreateService','Service','2020-07-19 12:47:20','2020-07-19 12:47:20'),(14,'ReadService','Service','2020-07-19 12:47:20','2020-07-19 12:47:20'),(15,'UpdateService','Service','2020-07-19 12:47:20','2020-07-19 12:47:20'),(16,'DeleteService','Service','2020-07-19 12:47:20','2020-07-19 12:47:20'),(17,'CreateClient','Client','2020-07-19 12:47:31','2020-07-19 12:47:31'),(18,'ReadClient','Client','2020-07-19 12:47:31','2020-07-19 12:47:31'),(19,'UpdateClient','Client','2020-07-19 12:47:31','2020-07-19 12:47:31'),(20,'DeleteClient','Client','2020-07-19 12:47:31','2020-07-19 12:47:31'),(21,'CreateTestimonial','Testimonial','2020-07-19 12:47:39','2020-07-19 12:47:39'),(22,'ReadTestimonial','Testimonial','2020-07-19 12:47:39','2020-07-19 12:47:39'),(23,'UpdateTestimonial','Testimonial','2020-07-19 12:47:39','2020-07-19 12:47:39'),(24,'DeleteTestimonial','Testimonial','2020-07-19 12:47:39','2020-07-19 12:47:39'),(27,'Updateabout','about','2020-07-19 12:48:56','2020-07-19 12:48:56'),(28,'UpdateSetting','Setting','2020-07-19 12:49:54','2020-07-19 12:49:54'),(29,'CreateBrand','Brand','2020-07-28 16:05:58','2020-07-28 16:05:58'),(30,'ReadBrand','Brand','2020-07-28 16:05:58','2020-07-28 16:05:58'),(31,'UpdateBrand','Brand','2020-07-28 16:05:58','2020-07-28 16:05:58'),(32,'DeleteBrand','Brand','2020-07-28 16:05:58','2020-07-28 16:05:58'),(33,'CreateLarashopCategory','LarashopCategory','2020-08-09 14:19:12','2020-08-09 14:19:12'),(34,'ReadLarashopCategory','LarashopCategory','2020-08-09 14:19:12','2020-08-09 14:19:12'),(35,'UpdateLarashopCategory','LarashopCategory','2020-08-09 14:19:12','2020-08-09 14:19:12'),(36,'DeleteLarashopCategory','LarashopCategory','2020-08-09 14:19:12','2020-08-09 14:19:12'),(37,'CreateLarashopProduct','LarashopProduct','2020-08-09 14:19:32','2020-08-09 14:19:32'),(38,'ReadLarashopProduct','LarashopProduct','2020-08-09 14:19:32','2020-08-09 14:19:32'),(39,'UpdateLarashopProduct','LarashopProduct','2020-08-09 14:19:32','2020-08-09 14:19:32'),(40,'DeleteLarashopProduct','LarashopProduct','2020-08-09 14:19:32','2020-08-09 14:19:32'),(41,'CreateCity','City','2020-11-02 16:51:44','2020-11-02 16:51:44'),(42,'ReadCity','City','2020-11-02 16:51:44','2020-11-02 16:51:44'),(43,'UpdateCity','City','2020-11-02 16:51:44','2020-11-02 16:51:44'),(44,'DeleteCity','City','2020-11-02 16:51:44','2020-11-02 16:51:44'),(45,'CreateCoupon','Coupon','2020-11-02 16:51:50','2020-11-02 16:51:50'),(46,'ReadCoupon','Coupon','2020-11-02 16:51:50','2020-11-02 16:51:50'),(47,'UpdateCoupon','Coupon','2020-11-02 16:51:50','2020-11-02 16:51:50'),(48,'DeleteCoupon','Coupon','2020-11-02 16:51:50','2020-11-02 16:51:50'),(49,'CreateOrder','Order','2020-11-02 16:51:58','2020-11-02 16:51:58'),(50,'ReadOrder','Order','2020-11-02 16:51:58','2020-11-02 16:51:58'),(51,'UpdateOrder','Order','2020-11-02 16:51:58','2020-11-02 16:51:58'),(52,'DeleteOrder','Order','2020-11-02 16:51:58','2020-11-02 16:51:58'); /*!40000 ALTER TABLE `permissions` ENABLE KEYS */; UNLOCK TABLES; DROP TABLE IF EXISTS `roles`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `roles` ( `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, PRIMARY KEY (`id`), UNIQUE KEY `roles_name_unique` (`name`) ) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; LOCK TABLES `roles` WRITE; /*!40000 ALTER TABLE `roles` DISABLE KEYS */; INSERT INTO `roles` VALUES (1,'super','2020-07-14 13:25:50','2020-07-14 13:25:50'); /*!40000 ALTER TABLE `roles` ENABLE KEYS */; UNLOCK TABLES; DROP TABLE IF EXISTS `services`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `services` ( `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `short_desc` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `definition` mediumtext COLLATE utf8mb4_unicode_ci NOT NULL, `usage` mediumtext COLLATE utf8mb4_unicode_ci NOT NULL, `is_menu` tinyint(1) NOT NULL DEFAULT 1, `order` int(10) unsigned NOT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, `slug` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, PRIMARY KEY (`id`), UNIQUE KEY `services_slug_unique` (`slug`) ) ENGINE=InnoDB AUTO_INCREMENT=11 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; LOCK TABLES `services` WRITE; /*!40000 ALTER TABLE `services` DISABLE KEYS */; INSERT INTO `services` VALUES (1,'المنازل الذكية','التحكم في جميع وظائف المنزل بالجوال (إنارة، تكييف، شترات وستائر وغيرها).','<p dir=\"RTL\" style=\"margin-left:0in; margin-right:0.5in; text-align:justify\"><span style=\"font-size:11pt\"><span style=\"font-family:Calibri,sans-serif\"><span style=\"font-size:14.0pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\">إن مفهوم أنظمة المنازل الذكية مفهوم عصري وحديث، ويعني التحكم في وظائف المنزل أو مراقبتها عن طريق الجوال من أي مكان في العالم، بشرط أن يكون كل من الجوال ونظام المنزل الذكي على اتصال بالإنترنت.</span></span></span></span></p>\r\n\r\n<p dir=\"RTL\" style=\"margin-left:0in; margin-right:0.5in; text-align:right\"><span style=\"font-size:11pt\"><span style=\"font-family:Calibri,sans-serif\"><span style=\"font-size:14.0pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\">ومن فوائد أنظمة المنازل الذكية:</span></span></span></span></p>\r\n\r\n<ul>\r\n <li dir=\"RTL\" style=\"text-align:right\"><span style=\"font-size:11pt\"><span style=\"font-family:Calibri,sans-serif\"><span style=\"font-size:14.0pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\">التحكم بوظائف المنزل من خلال تطبيق الجوال ومنها</span></span></span></span></li>\r\n <li dir=\"RTL\" style=\"text-align:right\"><span style=\"font-size:11pt\"><span style=\"font-family:Calibri,sans-serif\"><span style=\"font-size:14.0pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\">تهيئة المنزل بالظروف المناسبة قبل الوصول الى المنزل. مثلا (تشغيل التكييف، تشغيل الإنارة .. إلخ).</span></span></span></span></li>\r\n <li dir=\"RTL\" style=\"text-align:right\"><span style=\"font-size:11pt\"><span style=\"font-family:Calibri,sans-serif\"><span style=\"font-size:14.0pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\">ترشيد استهلاك الكهرباء من خلال مراقبة أجهزة المنزل من الجوال وإيقاف تشغيل كل ما هو غير ضروري.</span></span></span></span></li>\r\n <li dir=\"RTL\" style=\"text-align:right\"><span style=\"font-size:11pt\"><span style=\"font-family:Calibri,sans-serif\"><span style=\"font-size:14.0pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\">اضافة جانب الراحة والرفاهية.</span></span></span></span></li>\r\n</ul>','<ul>\r\n <li dir=\"RTL\" style=\"text-align:right\"><span style=\"font-size:11pt\"><span style=\"font-family:Calibri,sans-serif\"><span style=\"font-size:14.0pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\">التحكم في الإنارة العادية والديمر (القابلة للتخفيف).</span></span></span></span></li>\r\n <li dir=\"RTL\" style=\"text-align:right\"><span style=\"font-size:11pt\"><span style=\"font-family:Calibri,sans-serif\"><span style=\"font-size:14.0pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\">التحكم في التكييف تحكم كامل.</span></span></span></span></li>\r\n <li dir=\"RTL\" style=\"text-align:right\"><span style=\"font-size:11pt\"><span style=\"font-family:Calibri,sans-serif\"><span style=\"font-size:14.0pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\">التحكم في الستائر الداخلية وشترات الألمونيوم.</span></span></span></span></li>\r\n <li dir=\"RTL\" style=\"text-align:right\"><span style=\"font-size:11pt\"><span style=\"font-family:Calibri,sans-serif\"><span style=\"font-size:14.0pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\">التحكم الكامل في تشغيل الصوتيات في جميع انحاء المنزل بالإضافة الي المسرح المنزلي.</span></span></span></span></li>\r\n <li dir=\"RTL\" style=\"text-align:right\"><span style=\"font-size:11pt\"><span style=\"font-family:Calibri,sans-serif\"><span style=\"font-size:14.0pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\">إمكانية منح نظام المنزل الذكي خاصية التصرف الذاتي في بعض وظائف المنزل. مثل (إغلاق شترات الألمنيوم في حالة الغبار أو الامطار، إغلاق الستائر في حالة ارتفاع درجة الحرارة ... إلخ).</span></span></span></span></li>\r\n <li dir=\"RTL\" style=\"text-align:right\"><span style=\"font-size:11pt\"><span style=\"font-family:Calibri,sans-serif\"><span style=\"font-size:14.0pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\">عمل سيناريوهات للتحكم في عدد من وظائف المنزل بضغطة زر واحد في الجوال. مثل (تشغيل الإنارة مع التكييف في نفس الوقت).</span></span></span></span></li>\r\n</ul>',1,1,'2020-07-28 07:06:33','2020-07-28 07:09:40','المنازل-الذكية'),(2,'كاميرات المراقبة','العادية والشبكية، الداخلية والخارجية، السلكية واللاسلكية.','<ol>\r\n <li dir=\"RTL\" style=\"text-align:right\"><span style=\"font-size:11pt\"><span style=\"font-family:Calibri,sans-serif\"><strong><span style=\"font-size:14.0pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\">تعريف بكاميرات المراقبة:</span></span></strong></span></span></li>\r\n</ol>\r\n\r\n<p dir=\"RTL\" style=\"margin-left:0in; margin-right:0.5in; text-align:justify\"><span style=\"font-size:11pt\"><span style=\"font-family:Calibri,sans-serif\"><span style=\"font-size:14.0pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\">الهدف الأساسي لكاميرات المراقبة هو مراقبة المكان الذي يطلبه العميل بما فيها غرف الأطفال وأماكن لعبهم. وتعتبر كاميرات المراقبة بمختلف أنواعها تؤدي هذا الغرض حسب القدر المطلوب، إلا في بعض الحالات الخاصة قد يتطلب الأمر أنواع خاصة من الكاميرات كما هو الحال مع المرور في كاميرات ساهر، ومع كورونا والكاميرات الحرارية.</span></span></span></span></p>\r\n\r\n<p dir=\"RTL\" style=\"margin-left:0in; margin-right:0.5in; text-align:justify\"><span style=\"font-size:11pt\"><span style=\"font-family:Calibri,sans-serif\"><span style=\"font-size:14.0pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\">ومن المعلومات الخاطئة والشائعه بكثرة هي: الاعتقاد بأن الكاميرا ذات المواصفات العالية هي الكاميرا الأفضل للشخص بشكل مطلق.</span></span></span></span></p>\r\n\r\n<p dir=\"RTL\" style=\"margin-left:0in; margin-right:0.5in; text-align:justify\"><span style=\"font-size:11pt\"><span style=\"font-family:Calibri,sans-serif\"><span style=\"font-size:14.0pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\">قد يكون هذا الاعتقاد صحيح، ولكن الأهم هو معرفة الغرض المطلوب مراقبته ومن ثم تحديد نوع الكاميرا المطلوبة ودقتها بناءاً على ذلك، حتى لا يتكلف العميل مبالغ إضافية في كاميرا غالية الثمن في&nbsp; حين أن من الممكن أن تكون الكاميرا الأقل ثمنا تفي بالغرض تماماً.</span></span></span></span></p>\r\n\r\n<p dir=\"RTL\" style=\"margin-left:0in; margin-right:0.5in; text-align:right\">&nbsp;</p>\r\n\r\n<p dir=\"RTL\" style=\"margin-left:0in; margin-right:0.5in; text-align:right\">&nbsp;</p>\r\n\r\n<p dir=\"RTL\" style=\"margin-left:0in; margin-right:0.5in; text-align:right\">&nbsp;</p>\r\n\r\n<ol start=\"2\">\r\n <li dir=\"RTL\" style=\"text-align:right\"><span style=\"font-size:11pt\"><span style=\"font-family:Calibri,sans-serif\"><strong><span style=\"font-size:14.0pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\">أنواع كاميرات المراقبة:</span></span></strong></span></span></li>\r\n</ol>\r\n\r\n<p dir=\"RTL\" style=\"margin-left:0in; margin-right:0.5in; text-align:right\"><span style=\"font-size:11pt\"><span style=\"font-family:Calibri,sans-serif\"><span style=\"font-size:14.0pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\">بشكل عام، تنقسم الكاميرات من حيث <u>مكان الاستخدام</u> الي نوعين أساسيين هما:</span></span></span></span></p>\r\n\r\n<ol>\r\n <li dir=\"RTL\" style=\"text-align:right\"><span style=\"font-size:11pt\"><span style=\"font-family:Calibri,sans-serif\"><span style=\"font-size:14.0pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\">كاميرات داخلية: وهي كاميرات يتم تركيبها داخل المباني، وبالتالي يكون قدرة تحملها للظروف الطبيعية الخارجية ضعيف.</span></span></span></span></li>\r\n <li dir=\"RTL\" style=\"text-align:right\"><span style=\"font-size:11pt\"><span style=\"font-family:Calibri,sans-serif\"><span style=\"font-size:14.0pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\">كاميرات خارجية: وهي كاميرات يتم تركيبها خارج المباني، وبالتالي هي مصممة لتتحمل درجات الحرارة العالية والظروف الطبيعية القاسية.</span></span></span></span></li>\r\n</ol>\r\n\r\n<p dir=\"RTL\" style=\"margin-left:0in; margin-right:0in; text-align:right\"><span style=\"font-size:11pt\"><span style=\"font-family:Calibri,sans-serif\"><span style=\"font-size:14.0pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\">أما من حيث <u>نوع التقنية</u>، فهي تنقسم الي قسمين ايضا:</span></span></span></span></p>\r\n\r\n<ol>\r\n <li dir=\"RTL\" style=\"text-align:right\"><span style=\"font-size:11pt\"><span style=\"font-family:Calibri,sans-serif\"><strong><span style=\"font-size:14.0pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\">الكاميرات الرقمية</span></span></strong> <strong><span dir=\"LTR\" style=\"font-size:14.0pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\">Analog</span></span></strong><span style=\"font-size:14.0pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\">، بالنسبة لكاميرات شركة هيكفيجن فإن الدقة المتوفرة منها ما يلي:</span></span></span></span>\r\n\r\n <ul>\r\n <li style=\"list-style-type:none\">\r\n <ul style=\"list-style-type:square\">\r\n <li dir=\"RTL\" style=\"text-align:right\"><span style=\"font-size:11pt\"><span style=\"font-family:Calibri,sans-serif\"><span style=\"font-size:14.0pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\">دقة 2 ميجابكسل.</span></span></span></span></li>\r\n <li dir=\"RTL\" style=\"text-align:right\"><span style=\"font-size:11pt\"><span style=\"font-family:Calibri,sans-serif\"><span style=\"font-size:14.0pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\">دقة 5 ميجابكسل.</span></span></span></span></li>\r\n <li dir=\"RTL\" style=\"text-align:right\"><span style=\"font-size:11pt\"><span style=\"font-family:Calibri,sans-serif\"><span style=\"font-size:14.0pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\">دقة 8 ميجابكسل.</span></span></span></span></li>\r\n </ul>\r\n </li>\r\n </ul>\r\n </li>\r\n <li dir=\"RTL\" style=\"text-align:right\"><span style=\"font-size:11pt\"><span style=\"font-family:Calibri,sans-serif\"><strong><span style=\"font-size:14.0pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\">الكاميرات الشبكية </span></span></strong><strong><span dir=\"LTR\" style=\"font-size:14.0pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\">IP</span></span></strong><span style=\"font-size:14.0pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\">، والتي بدورها تنقسم الي قسمين:</span></span></span></span>\r\n <ul style=\"list-style-type:circle\">\r\n <li dir=\"RTL\" style=\"text-align:right\"><span style=\"font-size:11pt\"><span style=\"font-family:Calibri,sans-serif\"><strong><span style=\"font-size:14.0pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\">الكاميرات السلكية</span></span></strong><span style=\"font-size:14.0pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\">، بالنسبة لكاميرات هيكفيجن فإن الدقة المتوفرة منها ما يلي:</span></span></span></span>\r\n <ul style=\"list-style-type:square\">\r\n <li dir=\"RTL\" style=\"text-align:right\"><span style=\"font-size:11pt\"><span style=\"font-family:Calibri,sans-serif\"><span style=\"font-size:14.0pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\">دقة 2 ميجابكسل.</span></span></span></span></li>\r\n <li dir=\"RTL\" style=\"text-align:right\"><span style=\"font-size:11pt\"><span style=\"font-family:Calibri,sans-serif\"><span style=\"font-size:14.0pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\">دقة 4 ميجابكسل.</span></span></span></span></li>\r\n <li dir=\"RTL\" style=\"text-align:right\"><span style=\"font-size:11pt\"><span style=\"font-family:Calibri,sans-serif\"><span style=\"font-size:14.0pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\">دقة 5 ميجابكسل.</span></span></span></span></li>\r\n <li dir=\"RTL\" style=\"text-align:right\"><span style=\"font-size:11pt\"><span style=\"font-family:Calibri,sans-serif\"><span style=\"font-size:14.0pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\">دقة 6 ميجابكسل.</span></span></span></span></li>\r\n <li dir=\"RTL\" style=\"text-align:right\"><span style=\"font-size:11pt\"><span style=\"font-family:Calibri,sans-serif\"><span style=\"font-size:14.0pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\">دقة 8 ميجابكسل وتسمى ايضا (</span></span><span dir=\"LTR\" style=\"font-size:14.0pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\">4K</span></span><span style=\"font-size:14.0pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\">).</span></span></span></span></li>\r\n </ul>\r\n </li>\r\n <li dir=\"RTL\" style=\"text-align:right\"><span style=\"font-size:11pt\"><span style=\"font-family:Calibri,sans-serif\"><strong><span style=\"font-size:14.0pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\">الكاميرات اللاسلكية</span></span></strong><span style=\"font-size:14.0pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\">، بالنسبة لكاميرات هيكفيجن فإن الدقة المتوفرة منها ما يلي:</span></span></span></span>\r\n <ul style=\"list-style-type:square\">\r\n <li dir=\"RTL\" style=\"text-align:right\"><span style=\"font-size:11pt\"><span style=\"font-family:Calibri,sans-serif\"><span style=\"font-size:14.0pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\">دقة 2 ميجابكسل.</span></span></span></span></li>\r\n <li dir=\"RTL\" style=\"text-align:right\"><span style=\"font-size:11pt\"><span style=\"font-family:Calibri,sans-serif\"><span style=\"font-size:14.0pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\">دقة 4 ميجابكسل.</span></span></span></span></li>\r\n <li dir=\"RTL\" style=\"text-align:right\"><span style=\"font-size:11pt\"><span style=\"font-family:Calibri,sans-serif\"><span style=\"font-size:14.0pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\">دقة 5 ميجابكسل.</span></span></span></span></li>\r\n </ul>\r\n </li>\r\n </ul>\r\n </li>\r\n</ol>','<p>تستخدم الكاميرات بشكل عام للمراقبة بجميع أنواعها</p>',1,2,'2020-07-28 07:09:15','2020-07-28 07:09:15','كاميرات-المراقبة'),(3,'أنظمة الإنتركوم','العادية والشبكية للربط مع الجوال.','<ol>\r\n <li dir=\"RTL\" style=\"text-align:right\"><span style=\"font-size:11pt\"><span style=\"font-family:Calibri,sans-serif\"><strong><span style=\"font-size:14.0pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\">تعريف بالانتركوم:</span></span></strong></span></span></li>\r\n</ol>\r\n\r\n<p dir=\"RTL\" style=\"margin-left:0in; margin-right:0.5in; text-align:justify\"><span style=\"font-size:11pt\"><span style=\"font-family:Calibri,sans-serif\"><span style=\"font-size:14.0pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\">الإنتركوم هو وسيلة اتصال مستقلة، ما بين الشخص الزائر (عند باب المبنى) وصاحب المبنى. وكانت بدايات الإنتركوم تعتمد علي الاتصال الصوتي فقط، وتطورت لتصبح اتصال بالصوت والصورة، ومن ثم تطورت اكثر لتصبح الإمكانية متاحة ليتواصل (صاحب المبنى) مع الزائر عبر الجوال وفتح الباب كذلك إذا أراد وهو في أي مكان في العالم طالما أن الاتصال بالإنترنت متاح لكل من الإنتركوم والجوال.</span></span></span></span></p>\r\n\r\n<p dir=\"RTL\" style=\"margin-left:0in; margin-right:0.5in; text-align:right\">&nbsp;</p>\r\n\r\n<p dir=\"RTL\" style=\"margin-left:0in; margin-right:0.5in; text-align:right\">&nbsp;</p>\r\n\r\n<p dir=\"RTL\" style=\"margin-left:0in; margin-right:0.5in; text-align:right\">&nbsp;</p>\r\n\r\n<p dir=\"RTL\" style=\"margin-left:0in; margin-right:0.5in; text-align:right\">&nbsp;</p>\r\n\r\n<p dir=\"RTL\" style=\"margin-left:0in; margin-right:0.5in; text-align:right\">&nbsp;</p>\r\n\r\n<ol start=\"2\">\r\n <li dir=\"RTL\" style=\"text-align:right\"><span style=\"font-size:11pt\"><span style=\"font-family:Calibri,sans-serif\"><strong><span style=\"font-size:14.0pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\">أنواع الإنتركوم:</span></span></strong></span></span></li>\r\n</ol>\r\n\r\n<ul>\r\n <li dir=\"RTL\" style=\"text-align:right\"><span style=\"font-size:11pt\"><span style=\"font-family:Calibri,sans-serif\"><strong><span style=\"font-size:14.0pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\">إنتركوم شبكي </span></span></strong><strong><span dir=\"LTR\" style=\"font-size:14.0pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\">IP</span></span></strong><strong><span style=\"font-size:14.0pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\">:</span></span></strong><span style=\"font-size:14.0pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\"> يصلح لجميع المباني (سكنية ومكاتب)، مع إمكانية توفير الكميات حسب الحاجة من وحدات الأبواب والشاشات الداخلية مع إمكانية الربط مع قفل الباب والجوال مباشرة .</span></span></span></span></li>\r\n <li dir=\"RTL\" style=\"text-align:justify\"><span style=\"font-size:11pt\"><span style=\"font-family:Calibri,sans-serif\"><strong><span style=\"font-size:14.0pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\">إنتركوم قياسي </span></span></strong><strong><span dir=\"LTR\" style=\"font-size:14.0pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\">Analog</span></span></strong><strong><span style=\"font-size:14.0pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\">:</span></span></strong><span style=\"font-size:14.0pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\"> يصلح كذلك لجميع المباني (سكنية ومكاتب)، ولكن العدد محدود بالنسبة لوحدات الابواب وعدد الشاشات الداخلية، كما يمكن ربطه مع قفل الباب مباشرة، إلا أن ربطه بالجوال يتطلب ملحقات إضافية.</span></span></span></span></li>\r\n</ul>\r\n\r\n<p><strong><span dir=\"RTL\" lang=\"AR-SA\" style=\"font-size:14.0pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\">إنتركوم قياسي للشقق السكنية:</span></span></strong><span dir=\"RTL\" lang=\"AR-SA\" style=\"font-size:14.0pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\"> ويتميز بكاميرا خارجية واحدة مع مجموعة من المفاتيح للشقق، وشاشات داخلية بعدد الشقق. ولا يتوفر معه إمكانية الربط مع الجوال.</span></span></p>','<p><span style=\"font-size:11pt\"><span style=\"font-family:Calibri,sans-serif\"><span style=\"font-size:14.0pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\">الإنتركوم هو وسيلة اتصال مستقلة، ما بين الشخص الزائر (عند باب المبنى) وصاحب المبنى. وكانت بدايات الإنتركوم تعتمد علي الاتصال الصوتي فقط، وتطورت لتصبح اتصال بالصوت والصورة، ومن ثم تطورت اكثر لتصبح الإمكانية متاحة ليتواصل (صاحب المبنى) مع الزائر عبر الجوال وفتح الباب كذلك إذا أراد وهو في أي مكان في العالم طالما أن الاتصال بالإنترنت متاح لكل من الإنتركوم والجوال.</span></span></span></span></p>',1,3,'2020-07-28 07:12:51','2020-07-28 07:12:51','أنظمة-الإنتركوم'),(4,'أنظمة البصمة','للحضور والانصراف، والتحكم بالدخول (Access Control).','<p style=\"text-align:right\"><span style=\"font-size:11pt\"><span style=\"font-family:Calibri,sans-serif\"><strong><span style=\"font-size:14.0pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\">تعريف بأجهزة البصمة:</span></span></strong></span></span></p>\r\n\r\n<p dir=\"RTL\" style=\"margin-left:0in; margin-right:0.5in; text-align:justify\"><span style=\"font-size:11pt\"><span style=\"font-family:Calibri,sans-serif\"><span style=\"font-size:14.0pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\">أبسط تعريف لأجهزة البصمة، هي أجهزة للتحقق من هوية الشخص. وتتحقق أجهزة البصمة من هوية الشخص من خلال البيانات التالية:</span></span></span></span></p>\r\n\r\n<ul>\r\n <li dir=\"RTL\" style=\"text-align:right\"><span style=\"font-size:11pt\"><span style=\"font-family:Calibri,sans-serif\"><span style=\"font-size:14.0pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\">بصمة الوجه.</span></span></span></span></li>\r\n <li dir=\"RTL\" style=\"text-align:right\"><span style=\"font-size:11pt\"><span style=\"font-family:Calibri,sans-serif\"><span style=\"font-size:14.0pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\">بصمة الاصبع.</span></span></span></span></li>\r\n <li dir=\"RTL\" style=\"text-align:right\"><span style=\"font-size:11pt\"><span style=\"font-family:Calibri,sans-serif\"><span style=\"font-size:14.0pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\">الكرت الممغنط.</span></span></span></span></li>\r\n <li dir=\"RTL\" style=\"text-align:right\"><span style=\"font-size:11pt\"><span style=\"font-family:Calibri,sans-serif\"><span style=\"font-size:14.0pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\">كلمة السر.</span></span></span></span></li>\r\n <li dir=\"RTL\" style=\"text-align:right\"><span style=\"font-size:11pt\"><span style=\"font-family:Calibri,sans-serif\"><span style=\"font-size:14.0pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\">أو دمج الخيارات أعلاه مع بعضها البعض (مثل: دمج بصمة الوجه مع الكرت الممغنط).</span></span></span></span></li>\r\n</ul>','<p style=\"text-align:right\"><span style=\"font-size:11pt\"><span style=\"font-family:Calibri,sans-serif\"><strong><span style=\"font-size:14.0pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\">استخدامات أجهزة البصمة:</span></span></strong></span></span></p>\r\n\r\n<ul>\r\n <li dir=\"RTL\" style=\"text-align:right\"><span style=\"font-size:11pt\"><span style=\"font-family:Calibri,sans-serif\"><span style=\"font-size:14.0pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\">التحقق من هوية الشخص مثل الأنظمة الجنائية.</span></span></span></span></li>\r\n <li dir=\"RTL\" style=\"text-align:right\"><span style=\"font-size:11pt\"><span style=\"font-family:Calibri,sans-serif\"><span style=\"font-size:14.0pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\">تسجيل الحضور والانصراف </span></span><span dir=\"LTR\" style=\"font-size:14.0pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\">Time Attendance</span></span><span style=\"font-size:14.0pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\"> للموظفين في أماكن العمل.</span></span></span></span></li>\r\n <li dir=\"RTL\" style=\"text-align:right\"><span style=\"font-size:11pt\"><span style=\"font-family:Calibri,sans-serif\"><span style=\"font-size:14.0pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\">التحكم في فتح الأبواب </span></span><span dir=\"LTR\" style=\"font-size:14.0pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\">Access Control</span></span><span style=\"font-size:14.0pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\"> من خلال منح الصلاحيات لأشخاص محددين.</span></span></span></span></li>\r\n</ul>',1,4,'2020-07-28 07:14:29','2020-07-28 07:14:29','أنظمة-البصمة'),(5,'شبكات الحاسب الآلي','السلكية واللاسلكية.','<ol>\r\n <li dir=\"RTL\" style=\"text-align:right\"><span style=\"font-size:11pt\"><span style=\"font-family:Calibri,sans-serif\"><strong><span style=\"font-size:14.0pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\">تعريف بشبكات الحاسب الآلي:</span></span></strong></span></span></li>\r\n</ol>\r\n\r\n<p dir=\"RTL\" style=\"margin-left:0in; margin-right:0.5in; text-align:justify\"><span style=\"font-size:11pt\"><span style=\"font-family:Calibri,sans-serif\"><span style=\"font-size:14.0pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\">هي نظام لربط جهازين أو أكثر باستخدام إحدى تقنيات نظم الاتصالات من أجل تبادل المعلومات فيما بينها وايضا الاستفادة من الموارد المتاحة في الشبكة مثل خدمات الانترنت الطابعات والماسحات الضوئية أو البرامج التطبيقية أياً كان نوعها وكذلك تسمح بالتواصل المباشر بين المستخد<a name=\"LastPosition\"></a>مين</span></span><span dir=\"LTR\" style=\"font-size:14.0pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\">.</span></span></span></span></p>\r\n\r\n<p dir=\"RTL\" style=\"margin-left:0in; margin-right:0.5in; text-align:justify\">&nbsp;</p>\r\n\r\n<p dir=\"RTL\" style=\"margin-left:0in; margin-right:0.5in; text-align:justify\">&nbsp;</p>\r\n\r\n<ol start=\"2\">\r\n <li dir=\"RTL\" style=\"text-align:right\"><span style=\"font-size:11pt\"><span style=\"font-family:Calibri,sans-serif\"><strong><span style=\"font-size:14.0pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\">أنواع شبكات الحاسب الآلي:</span></span></strong></span></span></li>\r\n</ol>\r\n\r\n<p dir=\"RTL\" style=\"margin-left:0in; margin-right:0.5in; text-align:right\"><span style=\"font-size:11pt\"><span style=\"font-family:Calibri,sans-serif\"><span style=\"font-size:14.0pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\">يوجد نوعين أساسيين من الشبكات:</span></span></span></span></p>\r\n\r\n<ul>\r\n <li dir=\"RTL\" style=\"text-align:right\"><span style=\"font-size:11pt\"><span style=\"font-family:Calibri,sans-serif\"><span style=\"font-size:14.0pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\">الشبكات السلكية: وهي الشبكات الأكثر استخداماً واعتماداً في الشركات والمؤسسات لربط حواسيب العمل.</span></span></span></span></li>\r\n <li dir=\"RTL\" style=\"text-align:right\"><span style=\"font-size:11pt\"><span style=\"font-family:Calibri,sans-serif\"><span style=\"font-size:14.0pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\">الشبكات اللاسلكية: وهي الشبكات الأكثر استخداماً في المنازل والمكاتب والشركات والمؤسسات لربط الجوالات واللابتوب.</span></span></span></span></li>\r\n</ul>','<p dir=\"RTL\" style=\"margin-left:0in; margin-right:0.5in; text-align:justify\"><span style=\"font-size:11pt\"><span style=\"font-family:Calibri,sans-serif\"><span style=\"font-size:14.0pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\">هي نظام لربط جهازين أو أكثر باستخدام إحدى تقنيات نظم الاتصالات من أجل تبادل المعلومات فيما بينها وايضا الاستفادة من الموارد المتاحة في الشبكة مثل خدمات الانترنت الطابعات والماسحات الضوئية أو البرامج التطبيقية أياً كان نوعها وكذلك تسمح بالتواصل المباشر بين المستخد<a name=\"LastPosition\"></a>مين</span></span><span dir=\"LTR\" style=\"font-size:14.0pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\">.</span></span></span></span></p>',1,5,'2020-07-28 07:16:54','2020-07-28 07:16:54','شبكات-الحاسب-الآلي'),(6,'سنترالات التلفونات','العادية والشبكية IP.','<ol>\r\n <li dir=\"RTL\" style=\"text-align:right\"><span style=\"font-size:11pt\"><span style=\"font-family:Calibri,sans-serif\"><strong><span style=\"font-size:14.0pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\">تعريف السنترال:</span></span></strong></span></span></li>\r\n</ol>\r\n\r\n<p dir=\"RTL\" style=\"margin-left:0in; margin-right:0.5in; text-align:justify\"><span style=\"font-size:11pt\"><span style=\"font-family:Calibri,sans-serif\"><span style=\"font-size:14.0pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\">السنترال هو شبكة تلفونات خاصة تستخدم داخل المبنى (عمل أو منزل), وتستخدم فيها التلفونات العادية ليتم التواصل فيها بينها بدون فواتير او تكاليف تشغيلية. كما يمكن ربطها بخط اتصال خارجي بالتنسيق مع إحدى الشركات المزودة للخدمة مقابل مبالغ مالية متفق عليها ليتم التواصل مع العالم الخارجي للمبنى.</span></span></span></span></p>\r\n\r\n<p dir=\"RTL\" style=\"margin-left:0in; margin-right:0.5in; text-align:justify\">&nbsp;</p>\r\n\r\n<ol start=\"2\">\r\n <li dir=\"RTL\" style=\"text-align:right\"><span style=\"font-size:11pt\"><span style=\"font-family:Calibri,sans-serif\"><strong><span style=\"font-size:14.0pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\">أنواع السنترالات:</span></span></strong></span></span></li>\r\n</ol>\r\n\r\n<ul>\r\n <li dir=\"RTL\" style=\"text-align:right\"><span style=\"font-size:11pt\"><span style=\"font-family:Calibri,sans-serif\"><strong><span style=\"font-size:14.0pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\">سنترالات تقليدية </span></span></strong><strong><span dir=\"LTR\" style=\"font-size:14.0pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\">PBX</span></span></strong><strong><span style=\"font-size:14.0pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\">:</span></span></strong><span style=\"font-size:14.0pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\"> وهذه تكون مصممة بعدد خطوط محدودة ولا يمكن زيادتها إلا بتغير النظام عند الضرورة، ويتم فيها استخدام اجهزة التلفونات العادية.</span></span></span></span></li>\r\n <li dir=\"RTL\" style=\"text-align:right\"><span style=\"font-size:11pt\"><span style=\"font-family:Calibri,sans-serif\"><strong><span style=\"font-size:14.0pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\">سنترالات شبكية </span></span></strong><strong><span dir=\"LTR\" style=\"font-size:14.0pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\">IP PBX</span></span></strong><strong><span style=\"font-size:14.0pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\">:</span></span></strong><span style=\"font-size:14.0pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\"> هذا هو النوع المتطور من السنترالات التقليدية ويعمل علي شبكة الانترنت ويستخدم فيه التلفونات الشبكية كذلك </span></span><span dir=\"LTR\" style=\"font-size:14.0pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\">VoIP</span></span><span style=\"font-size:14.0pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\">. وبما أنه نظام حاسوبي في الأساس، لذلك فانه يتسع لعدد كبير جدا من الخطوط بدون تفريق بين المنزل او المؤسسة الصغيرة او الكبيرة.</span></span></span></span></li>\r\n</ul>','<p dir=\"RTL\" style=\"margin-left:0in; margin-right:0.5in; text-align:justify\"><span style=\"font-size:11pt\"><span style=\"font-family:Calibri,sans-serif\"><span style=\"font-size:14.0pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\">السنترال هو شبكة تلفونات خاصة تستخدم داخل المبنى (عمل أو منزل), وتستخدم فيها التلفونات العادية ليتم التواصل فيها بينها بدون فواتير او تكاليف تشغيلية. كما يمكن ربطها بخط اتصال خارجي بالتنسيق مع إحدى الشركات المزودة للخدمة مقابل مبالغ مالية متفق عليها ليتم التواصل مع العالم الخارجي للمبنى.</span></span></span></span></p>',1,6,'2020-07-28 07:20:59','2020-07-28 07:20:59','سنترالات-التلفونات'),(7,'أجهزة التتبع وكاميرات السيارات','إن أنظمة التتبع هي عبارة عن حلول تتيح للشخص تتبع خط سير المركبة الخاصة به.','<ol>\r\n <li dir=\"RTL\" style=\"text-align:right\"><span style=\"font-size:11pt\"><span style=\"font-family:Calibri,sans-serif\"><strong><span style=\"font-size:14.0pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\">تعريف بأنظمة تتبع المركبات:</span></span></strong></span></span></li>\r\n</ol>\r\n\r\n<p dir=\"RTL\" style=\"margin-left:0in; margin-right:0.5in; text-align:justify\"><span style=\"font-size:11pt\"><span style=\"font-family:Calibri,sans-serif\"><span style=\"font-size:14.0pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\">إن أنظمة التتبع هي عبارة عن حلول تتيح للشخص تتبع خط سير المركبة الخاصة به.</span></span></span></span></p>\r\n\r\n<p dir=\"RTL\" style=\"margin-left:0in; margin-right:0.5in; text-align:justify\">&nbsp;</p>\r\n\r\n<ol start=\"2\">\r\n <li dir=\"RTL\" style=\"text-align:right\"><span style=\"font-size:11pt\"><span style=\"font-family:Calibri,sans-serif\"><strong><span style=\"font-size:14.0pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\">أنواع أجهزة تتبع المركبات:</span></span></strong></span></span></li>\r\n</ol>\r\n\r\n<ul>\r\n <li dir=\"RTL\" style=\"text-align:right\"><span style=\"font-size:11pt\"><span style=\"font-family:Calibri,sans-serif\"><strong><span style=\"font-size:14.0pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\">نظام تتبع لحظي</span></span></strong><span style=\"font-size:14.0pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\">: وهو عبارة عن جهاز بشريحة يتم وضعه في المركبة ليعمل علي إعطاء الموقع الحالي فقط للمركبة، بدون حفظ للبيانات السابقة أو وضع قيود علي السائق أو المركبة.</span></span></span></span></li>\r\n <li dir=\"RTL\" style=\"text-align:right\"><span style=\"font-size:11pt\"><span style=\"font-family:Calibri,sans-serif\"><strong><span style=\"font-size:14.0pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\">نظام تتبع عبر الانترنت:</span></span></strong><span style=\"font-size:14.0pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\"> وهو عبارة عن جهاز بشريحة ايضا يتم وضعه في المركبة ولكن هذا الجهاز يرتبط بنظام المركبة، بحيث يمكن من خلاله عمل التالي:</span></span></span></span>\r\n <ul style=\"list-style-type:circle\">\r\n <li dir=\"RTL\" style=\"text-align:right\"><span style=\"font-size:11pt\"><span style=\"font-family:Calibri,sans-serif\"><span style=\"font-size:14.0pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\">تتبع المركبة وخط سيرها من البداية وحتى هذه اللحظة عبر اجهزة الحواسيب او الجوال، مع معرفة السرعة التي تسير بها الآن.</span></span></span></span></li>\r\n <li dir=\"RTL\" style=\"text-align:right\"><span style=\"font-size:11pt\"><span style=\"font-family:Calibri,sans-serif\"><span style=\"font-size:14.0pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\">يمكن الرجوع للبيانات التاريخية لخطوط سير المركبة والسرعات التي كانت تسير بها.</span></span></span></span></li>\r\n <li dir=\"RTL\" style=\"text-align:right\"><span style=\"font-size:11pt\"><span style=\"font-family:Calibri,sans-serif\"><span style=\"font-size:14.0pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\">يمكن التحكم في وضع حد للسرعة وخط السير للمركبة علاوة علي تحديد منطقة جغرافية محددة بحيث يعمل النظام علي تعطيل المركبة في حال الخروج منها.</span></span></span></span></li>\r\n <li dir=\"RTL\" style=\"text-align:right\"><span style=\"font-size:11pt\"><span style=\"font-family:Calibri,sans-serif\"><span style=\"font-size:14.0pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\">يمكن من خلال النظام تعطيل المركبة في أي لحظة يرغب فيها المالك.</span></span></span></span></li>\r\n </ul>\r\n </li>\r\n</ul>','<p><span dir=\"RTL\" lang=\"AR-SA\" style=\"font-size:14.0pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\">إن أنظمة التتبع هي عبارة عن حلول تتيح للشخص تتبع خط سير المركبة الخاصة به.</span></span></p>',1,7,'2020-07-28 07:24:46','2020-07-28 07:24:46','أجهزة-التتبع-وكاميرات-السيارات'),(8,'أنظمة الإنذار','تسرب الغاز، الدخان، الحركة، فتح أو كسر الزجاج للنوافذ، فتح الباب، وغيرها.','<ol>\r\n <li dir=\"RTL\" style=\"text-align:right\"><span style=\"font-size:11pt\"><span style=\"font-family:Calibri,sans-serif\"><strong><span style=\"font-size:14.0pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\">تعريف بأجهزة الإنذار:</span></span></strong></span></span></li>\r\n</ol>\r\n\r\n<p dir=\"RTL\" style=\"margin-left:0in; margin-right:0.5in; text-align:justify\"><span style=\"font-size:11pt\"><span style=\"font-family:Calibri,sans-serif\"><span style=\"font-size:14.0pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\">هي عبارة عن مجموعة الأجهزة اللاسلكية تعمل بشكل متكامل مع بعضها البعض وكل جهاز على حسب وظيفته، بحيث يرسل الجهاز الذي استشعر حدث معين رسالة الي&nbsp; النظام الأساسي ليعمل علي أطلاق إنذار لصاحب المبنى معلنا إياه بحدوث شيء معين يتم تحديدها حسب وظيفة الجهاز المستشعر للحدث.</span></span></span></span></p>\r\n\r\n<ol start=\"2\">\r\n <li dir=\"RTL\" style=\"text-align:right\"><span style=\"font-size:11pt\"><span style=\"font-family:Calibri,sans-serif\"><strong><span style=\"font-size:14.0pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\">مكونات نظام الإنذار: يتكون النظام من مجموعة من الأجهزة منها:</span></span></strong></span></span></li>\r\n</ol>\r\n\r\n<ul>\r\n <li dir=\"RTL\" style=\"text-align:justify\"><span style=\"font-size:11pt\"><span style=\"font-family:Calibri,sans-serif\"><span style=\"font-size:14.0pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\">وحدة التحكم المركزية: وهي الوحدة الرئيسية والتي يتم فيها برمجة جميع الاجهزة الاخرى. كما أن بها صافرة انذار قوية جدا تنطلق عند استلامها رسالة من أي جهاز انذار مرتبط بها.</span></span></span></span></li>\r\n <li dir=\"RTL\" style=\"text-align:justify\"><span style=\"font-size:11pt\"><span style=\"font-family:Calibri,sans-serif\"><span style=\"font-size:14.0pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\">جهاز ريموت كونترول: ويستخدم لتفعيل النظام او تعطيله عن بعد.</span></span></span></span></li>\r\n <li dir=\"RTL\" style=\"text-align:justify\"><span style=\"font-size:11pt\"><span style=\"font-family:Calibri,sans-serif\"><span style=\"font-size:14.0pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\">جهاز سارينا: وهي عبارة عن صافرة انذار خارجية قوية جدا يمكن وضعها علي بعد 35 متر من الجهاز المركزي.</span></span></span></span></li>\r\n <li dir=\"RTL\" style=\"text-align:justify\"><span style=\"font-size:11pt\"><span style=\"font-family:Calibri,sans-serif\"><span style=\"font-size:14.0pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\">حساس حركة داخلي: وهو جهاز يرسل رسال لإطلاق انذار في حال استشعاره لحركة ضمن نطاقه.</span></span></span></span></li>\r\n <li dir=\"RTL\" style=\"text-align:justify\"><span style=\"font-size:11pt\"><span style=\"font-family:Calibri,sans-serif\"><span style=\"font-size:14.0pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\">حساس حركة خارجي: وهو جهاز لاستشعار الحركة خارج المبنى وهو مصمم بحيث يتحمل الظروف الطبيعية. ويعمل علي ارسال رسال لإطلاق انذار في حال استشعاره لحركة ضمن نطاقه.</span></span></span></span></li>\r\n <li dir=\"RTL\" style=\"text-align:justify\"><span style=\"font-size:11pt\"><span style=\"font-family:Calibri,sans-serif\"><span style=\"font-size:14.0pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\">حساس فتح الباب أو الشباك: وهو جهاز يعمل ارسال رسال لإطلاق انذار في حال تم فتح الباب او الشباب الراكب عليه.</span></span></span></span></li>\r\n <li dir=\"RTL\" style=\"text-align:right\"><span style=\"font-size:11pt\"><span style=\"font-family:Calibri,sans-serif\"><span style=\"font-size:14.0pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\">حساس كاشف الدخان.</span></span></span></span></li>\r\n <li dir=\"RTL\" style=\"text-align:right\"><span style=\"font-size:11pt\"><span style=\"font-family:Calibri,sans-serif\"><span style=\"font-size:14.0pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\">حساس كاشف الغاز.</span></span></span></span></li>\r\n <li dir=\"RTL\" style=\"text-align:right\"><span style=\"font-size:11pt\"><span style=\"font-family:Calibri,sans-serif\"><span style=\"font-size:14.0pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\">حساس كاشف تسرب المياه.</span></span></span></span></li>\r\n <li dir=\"RTL\" style=\"text-align:right\"><span style=\"font-size:11pt\"><span style=\"font-family:Calibri,sans-serif\"><span style=\"font-size:14.0pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\">وغيرها الكثير من الحساسات المختلفة الاستخدامات.</span></span></span></span></li>\r\n</ul>','<p>تستخدم للإنذار عن اي خلل فني يتم تحديده حسب وظيفة المستشعر</p>',1,8,'2020-07-28 07:27:54','2020-07-28 07:27:54','أنظمة-الإنذار'),(9,'صوتيات','تجهيز المسرح المنزلي.','<ol>\r\n <li dir=\"RTL\" style=\"text-align:right\"><span style=\"font-size:11pt\"><span style=\"font-family:Calibri,sans-serif\"><strong><span style=\"font-size:14.0pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\">تعريف بأنظمة الصوتيات: بشكل عام هنالك نوعان من الأنظمة الصوتية:</span></span></strong></span></span></li>\r\n</ol>\r\n\r\n<ul>\r\n <li dir=\"RTL\" style=\"text-align:right\"><span style=\"font-size:11pt\"><span style=\"font-family:Calibri,sans-serif\"><strong><span style=\"font-size:14.0pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\">انظمة صوتية سلكية:</span></span></strong><span style=\"font-size:14.0pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\"> وهي تعتبر مناسبة جدا عند تأسيسها في بدايات انشاء المبنى.</span></span></span></span></li>\r\n <li dir=\"RTL\" style=\"text-align:right\"><span style=\"font-size:11pt\"><span style=\"font-family:Calibri,sans-serif\"><strong><span style=\"font-size:14.0pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\">أنظمة صوتية لاسلكية:</span></span></strong><span style=\"font-size:14.0pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\"> وهذه تعتبر مناسبة جدا في حال البيوت الجاهزة لتفادي تمديدات الاسلاك.</span></span></span></span></li>\r\n</ul>\r\n\r\n<p dir=\"RTL\" style=\"margin-left:0in; margin-right:0.5in; text-align:justify\">&nbsp;</p>\r\n\r\n<p dir=\"RTL\" style=\"margin-left:0in; margin-right:0.5in; text-align:justify\"><span style=\"font-size:11pt\"><span style=\"font-family:Calibri,sans-serif\"><span style=\"font-size:14.0pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\">قبل عشرين عامًا كان نظام الصوت المنزلي عبارة عن كثير من الأسلاك المخبأة ما بين الجدران والأثاث الخشبي بالمنزل أو ربما كان أكثر تعقيدًا في شكله، لكن مع ظهور السماعات اللاسلكية أصبح الأمر أكثر روعة، ويمكنك بناء النظام بوجود أكثر من سماعة وفي أماكن مختلفة (كالغرف المختلفة مثلا) سواء كان ذلك سلكيًا أو لاسلكيًا ويتم التحكم بهم عن&nbsp;طريق تطبيق في هاتف ذكي أو جهاز لوحي أو عن طريق الحاسوب، وتستطيع تشغيل موسيقى متشابهة في جميع السماعات أو أن تجعل كل سماعة تجود بنوع معين من الموسيقى حسب رغبة الجالس بهذه الغرفة</span></span><span dir=\"LTR\" style=\"font-size:14.0pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\">.</span></span></span></span></p>\r\n\r\n<p dir=\"RTL\" style=\"margin-left:0in; margin-right:0.5in; text-align:right\">&nbsp;</p>\r\n\r\n<ol start=\"2\">\r\n <li dir=\"RTL\" style=\"text-align:right\"><span style=\"font-size:11pt\"><span style=\"font-family:Calibri,sans-serif\"><strong><span style=\"font-size:14.0pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\">مكونات النظام الصوتي بشكل عام:</span></span></strong></span></span></li>\r\n</ol>\r\n\r\n<ul>\r\n <li dir=\"RTL\" style=\"text-align:right\"><span style=\"font-size:11pt\"><span style=\"font-family:Calibri,sans-serif\"><strong><span style=\"font-size:14.0pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\">مايك:</span></span></strong><span style=\"font-size:14.0pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\"> وهو عبارة عن جهاز يقوم بإرسال الصوت من المستخدم مباشرة علي السماعات.</span></span></span></span></li>\r\n <li dir=\"RTL\" style=\"text-align:right\"><span style=\"font-size:11pt\"><span style=\"font-family:Calibri,sans-serif\"><strong><span style=\"font-size:14.0pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\">سماعات: </span></span></strong><span style=\"font-size:14.0pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\">وهي عبارة عن اجهزة لإخراج الصوت، وهي تعتبر أهم جزء يهتم به المستخدم من حيث جودة الصوت ونقائه.</span></span></span></span></li>\r\n <li dir=\"RTL\" style=\"text-align:right\"><span style=\"font-size:11pt\"><span style=\"font-family:Calibri,sans-serif\"><strong><span style=\"font-size:14.0pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\">مكسر: </span></span></strong><span style=\"font-size:14.0pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\">وهو عبارة عن جهاز يعمل علي الدمج بين جميع الاجهزة في النظام الصوتي والتنسيق فيما بينها. </span></span></span></span></li>\r\n</ul>\r\n\r\n<p dir=\"RTL\" style=\"margin-left:0in; margin-right:0.5in; text-align:right\"><span style=\"font-size:11pt\"><span style=\"font-family:Calibri,sans-serif\"><strong>&nbsp;&nbsp;&nbsp;&nbsp; </strong><span style=\"font-size:14.0pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\">وفي حال كان النظام لاسلكي، فيكون الحاسوب في هذه الحالة هو المكسر.</span></span></span></span></p>\r\n\r\n<p dir=\"RTL\" style=\"margin-left:0in; margin-right:0.5in; text-align:right\">&nbsp;</p>\r\n\r\n<ol start=\"3\">\r\n <li dir=\"RTL\" style=\"text-align:right\"><span style=\"font-size:11pt\"><span style=\"font-family:Calibri,sans-serif\"><strong><span style=\"font-size:14.0pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\">أنظمة المسرح المنزلي:</span></span></strong></span></span></li>\r\n</ol>\r\n\r\n<p dir=\"RTL\" style=\"margin-left:0in; margin-right:0.5in; text-align:justify\"><span style=\"font-size:11pt\"><span style=\"font-family:Calibri,sans-serif\"><span style=\"font-size:14.0pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\">المسرح المنزلي بشكل عام هو عبارة عن أجهزة سمعية ومرئية يتم وضعها في المنزل لمحاكاة المسرح السينمائي الفعلي</span></span><span dir=\"LTR\" style=\"font-size:14.0pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\">.</span></span></span></span></p>\r\n\r\n<p dir=\"RTL\" style=\"margin-left:0in; margin-right:0.5in; text-align:justify\"><span style=\"font-size:11pt\"><span style=\"font-family:Calibri,sans-serif\"><span style=\"font-size:14.0pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\">في الأغلب يتخوف عدد كبير من المستهلكين من مصطلح (المسرح المنزلي)، حيث يعتقدون أن هذا يعني الكثير من المال والمعدات والكابلات التي تنتشر في كل مكان! &nbsp;على الرغم أنه بقليل من التخطيط يمكن أن يكون تجميع المسرح المنزلي أمر سهل جداً، وينتج عنه شيء منظم وعملي وممتع.</span></span></span></span></p>','<p>المسرح المنزلي</p>',1,9,'2020-07-28 07:31:22','2020-07-28 07:31:22','صوتيات'),(10,'نظام حفظ الطاقة UPS','أجهزة حفظ الطاقة عند انقطاع الكهرباء.','<ol>\r\n <li dir=\"RTL\" style=\"text-align:right\"><span style=\"font-size:11pt\"><span style=\"font-family:Calibri,sans-serif\"><strong><span style=\"font-size:14.0pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\">تعريف بأنظمة حفظ الطاقة </span></span></strong><strong><span dir=\"LTR\" style=\"font-size:14.0pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\">UPS</span></span></strong><strong><span style=\"font-size:14.0pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\">:</span></span></strong></span></span></li>\r\n</ol>\r\n\r\n<p dir=\"RTL\" style=\"margin-left:0in; margin-right:0.5in; text-align:justify\"><span style=\"font-size:11pt\"><span style=\"font-family:Calibri,sans-serif\"><span style=\"font-size:14.0pt\"><span style=\"font-family:&quot;Times New Roman&quot;,serif\">هي في الأصل (أنظمة تزويد للطاقة مضادة للانقطاع) وهي عبارة عن أجهزة تأتي مع بطارية احتياطية توفر الطاقة في حالة انقطاع الكهرباء لمدة الزمن تعتمد علي حجم الجهاز. وتستخدم عادة مع الأجهزة الحساسة والتي تتأثر بانقطاع أو تذبذب الكهرباء مثل الحواسيب والكاميرات.</span></span></span></span></p>','<p>حفظ الطاقة عند انقطاع الكهرباء</p>',1,10,'2020-07-28 07:32:45','2020-07-28 07:32:45','نظام-حفظ-الطاقة-ups'); /*!40000 ALTER TABLE `services` ENABLE KEYS */; UNLOCK TABLES; DROP TABLE IF EXISTS `settings`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `settings` ( `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `description` varchar(1000) COLLATE utf8mb4_unicode_ci NOT NULL, `whatsApp` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `phone` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `email` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `facebook` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `twitter` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `instagram` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `youtube` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; LOCK TABLES `settings` WRITE; /*!40000 ALTER TABLE `settings` DISABLE KEYS */; INSERT INTO `settings` VALUES (1,'أنامل الخبرة','موقع أنامل الخبرة الخبرة يقدم لك حلول الامان التكنلوجية من خلال مجموعة متطورة من المنتجات لتحصل على الامان والرقابة والمتابعة وبشكل سهل وبسيط','0557259988','9200 11435','info@anamelcctv.com','anamelcctv','anamelcctv','anamel.cctv','UCnRXcrrKcBdib3q9aImD04g','2020-07-14 13:34:14','2021-01-09 08:06:32'); /*!40000 ALTER TABLE `settings` ENABLE KEYS */; UNLOCK TABLES; DROP TABLE IF EXISTS `shipping_coupons`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `shipping_coupons` ( `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, `value` int(11) NOT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; LOCK TABLES `shipping_coupons` WRITE; /*!40000 ALTER TABLE `shipping_coupons` DISABLE KEYS */; /*!40000 ALTER TABLE `shipping_coupons` ENABLE KEYS */; UNLOCK TABLES; DROP TABLE IF EXISTS `shoppingcart`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `shoppingcart` ( `identifier` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `instance` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `content` longtext COLLATE utf8mb4_unicode_ci NOT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, PRIMARY KEY (`identifier`,`instance`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; LOCK TABLES `shoppingcart` WRITE; /*!40000 ALTER TABLE `shoppingcart` DISABLE KEYS */; INSERT INTO `shoppingcart` VALUES ('102','default','O:29:\"Illuminate\\Support\\Collection\":1:{s:8:\"\0*\0items\";a:1:{s:32:\"eb63eb7eb98a258772e6c30b62d12859\";O:32:\"Gloudemans\\Shoppingcart\\CartItem\":10:{s:5:\"rowId\";s:32:\"eb63eb7eb98a258772e6c30b62d12859\";s:2:\"id\";i:254;s:3:\"qty\";i:1;s:4:\"name\";s:62:\"كاميرا ديجتل بدقة 8 ميجابكسل داخلي\";s:5:\"price\";d:180;s:6:\"weight\";d:0;s:7:\"options\";O:39:\"Gloudemans\\Shoppingcart\\CartItemOptions\":1:{s:8:\"\0*\0items\";a:0:{}}s:7:\"taxRate\";i:0;s:49:\"\0Gloudemans\\Shoppingcart\\CartItem\0associatedModel\";s:45:\"CobraProjects\\LaraShop\\Models\\LarashopProduct\";s:46:\"\0Gloudemans\\Shoppingcart\\CartItem\0discountRate\";i:0;}}}','2021-05-14 17:57:25','2021-05-14 17:57:25'),('107','default','O:29:\"Illuminate\\Support\\Collection\":1:{s:8:\"\0*\0items\";a:2:{s:32:\"12a7057ab4543caeaf10598b12073d9d\";O:32:\"Gloudemans\\Shoppingcart\\CartItem\":10:{s:5:\"rowId\";s:32:\"12a7057ab4543caeaf10598b12073d9d\";s:2:\"id\";i:249;s:3:\"qty\";i:2;s:4:\"name\";s:75:\"كاميرا ديجتل بدقة 5 ميجابكسل الحجم الكبير\";s:5:\"price\";d:150;s:6:\"weight\";d:0;s:7:\"options\";O:39:\"Gloudemans\\Shoppingcart\\CartItemOptions\":1:{s:8:\"\0*\0items\";a:0:{}}s:7:\"taxRate\";i:0;s:49:\"\0Gloudemans\\Shoppingcart\\CartItem\0associatedModel\";s:45:\"CobraProjects\\LaraShop\\Models\\LarashopProduct\";s:46:\"\0Gloudemans\\Shoppingcart\\CartItem\0discountRate\";i:0;}s:32:\"46efd9689ef7075549bb79cf68e35ffd\";O:32:\"Gloudemans\\Shoppingcart\\CartItem\":10:{s:5:\"rowId\";s:32:\"46efd9689ef7075549bb79cf68e35ffd\";s:2:\"id\";i:252;s:3:\"qty\";i:1;s:4:\"name\";s:75:\"كاميرا ديجتل بدقة 8 ميجابكسل الحجم الكبير\";s:5:\"price\";d:250;s:6:\"weight\";d:0;s:7:\"options\";O:39:\"Gloudemans\\Shoppingcart\\CartItemOptions\":1:{s:8:\"\0*\0items\";a:0:{}}s:7:\"taxRate\";i:0;s:49:\"\0Gloudemans\\Shoppingcart\\CartItem\0associatedModel\";s:45:\"CobraProjects\\LaraShop\\Models\\LarashopProduct\";s:46:\"\0Gloudemans\\Shoppingcart\\CartItem\0discountRate\";i:0;}}}','2021-05-18 23:22:01','2021-05-18 23:22:54'),('122','default','O:29:\"Illuminate\\Support\\Collection\":1:{s:8:\"\0*\0items\";a:0:{}}','2021-06-29 18:49:34','2021-06-29 18:49:34'),('133','default','O:29:\"Illuminate\\Support\\Collection\":1:{s:8:\"\0*\0items\";a:0:{}}','2021-08-14 20:28:35','2021-08-14 20:28:35'),('143','default','O:29:\"Illuminate\\Support\\Collection\":1:{s:8:\"\0*\0items\";a:0:{}}','2021-08-26 00:15:29','2021-08-26 00:15:29'),('150','default','O:29:\"Illuminate\\Support\\Collection\":1:{s:8:\"\0*\0items\";a:2:{s:32:\"11c7313429334254572635a5a2d3850a\";O:32:\"Gloudemans\\Shoppingcart\\CartItem\":10:{s:5:\"rowId\";s:32:\"11c7313429334254572635a5a2d3850a\";s:2:\"id\";i:255;s:3:\"qty\";i:1;s:4:\"name\";s:73:\"كاميرا مراقبة هيكفجن 2 ميجا الحجم الصغير\";s:5:\"price\";d:75;s:6:\"weight\";d:0;s:7:\"options\";O:39:\"Gloudemans\\Shoppingcart\\CartItemOptions\":1:{s:8:\"\0*\0items\";a:0:{}}s:7:\"taxRate\";i:0;s:49:\"\0Gloudemans\\Shoppingcart\\CartItem\0associatedModel\";s:45:\"CobraProjects\\LaraShop\\Models\\LarashopProduct\";s:46:\"\0Gloudemans\\Shoppingcart\\CartItem\0discountRate\";i:0;}s:32:\"46efd9689ef7075549bb79cf68e35ffd\";O:32:\"Gloudemans\\Shoppingcart\\CartItem\":10:{s:5:\"rowId\";s:32:\"46efd9689ef7075549bb79cf68e35ffd\";s:2:\"id\";i:252;s:3:\"qty\";i:1;s:4:\"name\";s:75:\"كاميرا ديجتل بدقة 8 ميجابكسل الحجم الكبير\";s:5:\"price\";d:250;s:6:\"weight\";d:0;s:7:\"options\";O:39:\"Gloudemans\\Shoppingcart\\CartItemOptions\":1:{s:8:\"\0*\0items\";a:0:{}}s:7:\"taxRate\";i:0;s:49:\"\0Gloudemans\\Shoppingcart\\CartItem\0associatedModel\";s:45:\"CobraProjects\\LaraShop\\Models\\LarashopProduct\";s:46:\"\0Gloudemans\\Shoppingcart\\CartItem\0discountRate\";i:0;}}}','2021-09-14 18:17:07','2021-09-14 18:17:07'),('159','default','O:29:\"Illuminate\\Support\\Collection\":1:{s:8:\"\0*\0items\";a:1:{s:32:\"915437d17b7e38daaefc9d6d2d2b4f29\";O:32:\"Gloudemans\\Shoppingcart\\CartItem\":10:{s:5:\"rowId\";s:32:\"915437d17b7e38daaefc9d6d2d2b4f29\";s:2:\"id\";i:251;s:3:\"qty\";i:1;s:4:\"name\";s:62:\"كاميرا ديجتل بدقة 5 ميجابكسل داخلي\";s:5:\"price\";d:100;s:6:\"weight\";d:0;s:7:\"options\";O:39:\"Gloudemans\\Shoppingcart\\CartItemOptions\":1:{s:8:\"\0*\0items\";a:0:{}}s:7:\"taxRate\";i:0;s:49:\"\0Gloudemans\\Shoppingcart\\CartItem\0associatedModel\";s:45:\"CobraProjects\\LaraShop\\Models\\LarashopProduct\";s:46:\"\0Gloudemans\\Shoppingcart\\CartItem\0discountRate\";i:0;}}}','2021-09-28 01:38:16','2021-09-28 01:38:17'),('179','default','O:29:\"Illuminate\\Support\\Collection\":1:{s:8:\"\0*\0items\";a:0:{}}','2021-10-13 21:14:43','2021-10-13 21:14:43'),('22','default','O:29:\"Illuminate\\Support\\Collection\":1:{s:8:\"\0*\0items\";a:0:{}}','2020-11-09 16:06:48','2020-11-09 16:06:48'),('29','default','O:29:\"Illuminate\\Support\\Collection\":1:{s:8:\"\0*\0items\";a:2:{s:32:\"923a90440e2a5b0ac5bbba93867fd41b\";O:32:\"Gloudemans\\Shoppingcart\\CartItem\":10:{s:5:\"rowId\";s:32:\"923a90440e2a5b0ac5bbba93867fd41b\";s:2:\"id\";i:223;s:3:\"qty\";i:1;s:4:\"name\";s:113:\"كاميرا مراقبة خارجي 5 ميجا - ملون - كبير | Out Door - big Camera - (colour) H1-5MP\";s:5:\"price\";d:280;s:6:\"weight\";d:0;s:7:\"options\";O:39:\"Gloudemans\\Shoppingcart\\CartItemOptions\":1:{s:8:\"\0*\0items\";a:0:{}}s:7:\"taxRate\";i:0;s:49:\"\0Gloudemans\\Shoppingcart\\CartItem\0associatedModel\";s:45:\"CobraProjects\\LaraShop\\Models\\LarashopProduct\";s:46:\"\0Gloudemans\\Shoppingcart\\CartItem\0discountRate\";i:0;}s:32:\"5506c7fc1606a08349d4fbc918d4830b\";O:32:\"Gloudemans\\Shoppingcart\\CartItem\":10:{s:5:\"rowId\";s:32:\"5506c7fc1606a08349d4fbc918d4830b\";s:2:\"id\";i:51;s:3:\"qty\";i:1;s:4:\"name\";s:97:\"كاميرا مراقبة 8 ميجا IP خارجي صغير | Out Door - Smail Camera HIK IP 8MP\";s:5:\"price\";d:500;s:6:\"weight\";d:0;s:7:\"options\";O:39:\"Gloudemans\\Shoppingcart\\CartItemOptions\":1:{s:8:\"\0*\0items\";a:0:{}}s:7:\"taxRate\";i:0;s:49:\"\0Gloudemans\\Shoppingcart\\CartItem\0associatedModel\";s:45:\"CobraProjects\\LaraShop\\Models\\LarashopProduct\";s:46:\"\0Gloudemans\\Shoppingcart\\CartItem\0discountRate\";i:0;}}}','2020-11-23 15:27:25','2020-11-23 15:27:46'),('31','default','O:29:\"Illuminate\\Support\\Collection\":1:{s:8:\"\0*\0items\";a:0:{}}','2020-12-06 19:17:17','2020-12-06 19:17:17'),('32','default','O:29:\"Illuminate\\Support\\Collection\":1:{s:8:\"\0*\0items\";a:1:{s:32:\"ac226779b18d4112543f70b275e1a8e9\";O:32:\"Gloudemans\\Shoppingcart\\CartItem\":10:{s:5:\"rowId\";s:32:\"ac226779b18d4112543f70b275e1a8e9\";s:2:\"id\";i:222;s:3:\"qty\";i:1;s:4:\"name\";s:115:\"كاميرا مراقبة خارجي 5 ميجا - ملون - صغير | Out Door - small Camera - (colour) H1-5MP\";s:5:\"price\";d:230;s:6:\"weight\";d:0;s:7:\"options\";O:39:\"Gloudemans\\Shoppingcart\\CartItemOptions\":1:{s:8:\"\0*\0items\";a:0:{}}s:7:\"taxRate\";i:0;s:49:\"\0Gloudemans\\Shoppingcart\\CartItem\0associatedModel\";s:45:\"CobraProjects\\LaraShop\\Models\\LarashopProduct\";s:46:\"\0Gloudemans\\Shoppingcart\\CartItem\0discountRate\";i:0;}}}','2020-12-09 06:26:37','2020-12-09 06:26:37'),('37','default','O:29:\"Illuminate\\Support\\Collection\":1:{s:8:\"\0*\0items\";a:1:{s:32:\"ba02b0dddb000b25445168300c65386d\";O:32:\"Gloudemans\\Shoppingcart\\CartItem\":10:{s:5:\"rowId\";s:32:\"ba02b0dddb000b25445168300c65386d\";s:2:\"id\";i:23;s:3:\"qty\";i:1;s:4:\"name\";s:112:\"كاميرا مراقبة داخلي 8 ميجا - موتورايز - ديجتل | In Door - Camera M8 - Motoriz\";s:5:\"price\";d:460;s:6:\"weight\";d:0;s:7:\"options\";O:39:\"Gloudemans\\Shoppingcart\\CartItemOptions\":1:{s:8:\"\0*\0items\";a:0:{}}s:7:\"taxRate\";i:0;s:49:\"\0Gloudemans\\Shoppingcart\\CartItem\0associatedModel\";s:45:\"CobraProjects\\LaraShop\\Models\\LarashopProduct\";s:46:\"\0Gloudemans\\Shoppingcart\\CartItem\0discountRate\";i:0;}}}','2020-12-18 15:37:02','2020-12-18 15:37:02'),('40','default','O:29:\"Illuminate\\Support\\Collection\":1:{s:8:\"\0*\0items\";a:0:{}}','2020-12-20 00:51:55','2020-12-20 00:51:55'),('56','default','O:29:\"Illuminate\\Support\\Collection\":1:{s:8:\"\0*\0items\";a:1:{s:32:\"6aa0d4b8fac3c55a3e83b7e2b7d1cb97\";O:32:\"Gloudemans\\Shoppingcart\\CartItem\":10:{s:5:\"rowId\";s:32:\"6aa0d4b8fac3c55a3e83b7e2b7d1cb97\";s:2:\"id\";i:24;s:3:\"qty\";i:1;s:4:\"name\";s:112:\"كاميرا مراقبة خارجي 8 ميجا - موتورايز - ديجتل | out Door - Camera M8 - Motoriz\";s:5:\"price\";d:560;s:6:\"weight\";d:0;s:7:\"options\";O:39:\"Gloudemans\\Shoppingcart\\CartItemOptions\":1:{s:8:\"\0*\0items\";a:0:{}}s:7:\"taxRate\";i:0;s:49:\"\0Gloudemans\\Shoppingcart\\CartItem\0associatedModel\";s:45:\"CobraProjects\\LaraShop\\Models\\LarashopProduct\";s:46:\"\0Gloudemans\\Shoppingcart\\CartItem\0discountRate\";i:0;}}}','2021-01-14 00:03:25','2021-01-14 00:03:25'),('64','default','O:29:\"Illuminate\\Support\\Collection\":1:{s:8:\"\0*\0items\";a:1:{s:32:\"8b486433ba8a9e4089eafa927840a692\";O:32:\"Gloudemans\\Shoppingcart\\CartItem\":10:{s:5:\"rowId\";s:32:\"8b486433ba8a9e4089eafa927840a692\";s:2:\"id\";i:13;s:3:\"qty\";i:1;s:4:\"name\";s:86:\"كاميرا مراقبة داخلي 2 ميجا - ديجتل | In Door - Camera - 2MP\";s:5:\"price\";d:90;s:6:\"weight\";d:0;s:7:\"options\";O:39:\"Gloudemans\\Shoppingcart\\CartItemOptions\":1:{s:8:\"\0*\0items\";a:0:{}}s:7:\"taxRate\";i:0;s:49:\"\0Gloudemans\\Shoppingcart\\CartItem\0associatedModel\";s:45:\"CobraProjects\\LaraShop\\Models\\LarashopProduct\";s:46:\"\0Gloudemans\\Shoppingcart\\CartItem\0discountRate\";i:0;}}}','2021-01-30 20:16:14','2021-01-30 20:16:14'),('65','default','O:29:\"Illuminate\\Support\\Collection\":1:{s:8:\"\0*\0items\";a:3:{s:32:\"8d87860f768adca0617d79261c6595ab\";O:32:\"Gloudemans\\Shoppingcart\\CartItem\":10:{s:5:\"rowId\";s:32:\"8d87860f768adca0617d79261c6595ab\";s:2:\"id\";i:30;s:3:\"qty\";i:1;s:4:\"name\";s:81:\"كاميرات مراقبة - طقم - 2 ميجا - ديجتل | Kit HIKVISION 2M\";s:5:\"price\";d:650;s:6:\"weight\";d:0;s:7:\"options\";O:39:\"Gloudemans\\Shoppingcart\\CartItemOptions\":1:{s:8:\"\0*\0items\";a:0:{}}s:7:\"taxRate\";i:0;s:49:\"\0Gloudemans\\Shoppingcart\\CartItem\0associatedModel\";s:45:\"CobraProjects\\LaraShop\\Models\\LarashopProduct\";s:46:\"\0Gloudemans\\Shoppingcart\\CartItem\0discountRate\";i:0;}s:32:\"efd03aa5a47152330a89eadb9b09fe52\";O:32:\"Gloudemans\\Shoppingcart\\CartItem\":10:{s:5:\"rowId\";s:32:\"efd03aa5a47152330a89eadb9b09fe52\";s:2:\"id\";i:29;s:3:\"qty\";i:1;s:4:\"name\";s:99:\"كاميرات مراقبة - طقم - 4 ميجا - لاسلكي | NVR- Kit HIKVISION - Wi-f-Fi 4M\";s:5:\"price\";d:1450;s:6:\"weight\";d:0;s:7:\"options\";O:39:\"Gloudemans\\Shoppingcart\\CartItemOptions\":1:{s:8:\"\0*\0items\";a:0:{}}s:7:\"taxRate\";i:0;s:49:\"\0Gloudemans\\Shoppingcart\\CartItem\0associatedModel\";s:45:\"CobraProjects\\LaraShop\\Models\\LarashopProduct\";s:46:\"\0Gloudemans\\Shoppingcart\\CartItem\0discountRate\";i:0;}s:32:\"0143a85950768ddee5eb67b55b76c136\";O:32:\"Gloudemans\\Shoppingcart\\CartItem\":10:{s:5:\"rowId\";s:32:\"0143a85950768ddee5eb67b55b76c136\";s:2:\"id\";i:171;s:3:\"qty\";i:1;s:4:\"name\";s:101:\"كاميرات مراقبة 2 ميجابكسل - طقم لاسلكي ايزي | NVR - KIT EZVIZ - 2MP\";s:5:\"price\";d:1600;s:6:\"weight\";d:0;s:7:\"options\";O:39:\"Gloudemans\\Shoppingcart\\CartItemOptions\":1:{s:8:\"\0*\0items\";a:0:{}}s:7:\"taxRate\";i:0;s:49:\"\0Gloudemans\\Shoppingcart\\CartItem\0associatedModel\";s:45:\"CobraProjects\\LaraShop\\Models\\LarashopProduct\";s:46:\"\0Gloudemans\\Shoppingcart\\CartItem\0discountRate\";i:0;}}}','2021-02-03 00:45:20','2021-02-03 00:45:40'),('67','default','O:29:\"Illuminate\\Support\\Collection\":1:{s:8:\"\0*\0items\";a:3:{s:32:\"1ca30d70ab09187def0f79120f1607ee\";O:32:\"Gloudemans\\Shoppingcart\\CartItem\":10:{s:5:\"rowId\";s:32:\"1ca30d70ab09187def0f79120f1607ee\";s:2:\"id\";i:43;s:3:\"qty\";s:1:\"5\";s:4:\"name\";s:80:\"كاميرا مراقبة 4 ميجا IP داخلي | In Door - Camera HIK IP 4MP\";s:5:\"price\";d:300;s:6:\"weight\";d:0;s:7:\"options\";O:39:\"Gloudemans\\Shoppingcart\\CartItemOptions\":1:{s:8:\"\0*\0items\";a:0:{}}s:7:\"taxRate\";i:0;s:49:\"\0Gloudemans\\Shoppingcart\\CartItem\0associatedModel\";s:45:\"CobraProjects\\LaraShop\\Models\\LarashopProduct\";s:46:\"\0Gloudemans\\Shoppingcart\\CartItem\0discountRate\";i:0;}s:32:\"ac226779b18d4112543f70b275e1a8e9\";O:32:\"Gloudemans\\Shoppingcart\\CartItem\":10:{s:5:\"rowId\";s:32:\"ac226779b18d4112543f70b275e1a8e9\";s:2:\"id\";i:222;s:3:\"qty\";i:1;s:4:\"name\";s:115:\"كاميرا مراقبة خارجي 5 ميجا - ملون - صغير | Out Door - small Camera - (colour) H1-5MP\";s:5:\"price\";d:230;s:6:\"weight\";d:0;s:7:\"options\";O:39:\"Gloudemans\\Shoppingcart\\CartItemOptions\":1:{s:8:\"\0*\0items\";a:0:{}}s:7:\"taxRate\";i:0;s:49:\"\0Gloudemans\\Shoppingcart\\CartItem\0associatedModel\";s:45:\"CobraProjects\\LaraShop\\Models\\LarashopProduct\";s:46:\"\0Gloudemans\\Shoppingcart\\CartItem\0discountRate\";i:0;}s:32:\"0f6c1798aa972a19d9ae90e50c3d9c99\";O:32:\"Gloudemans\\Shoppingcart\\CartItem\":10:{s:5:\"rowId\";s:32:\"0f6c1798aa972a19d9ae90e50c3d9c99\";s:2:\"id\";i:40;s:3:\"qty\";i:1;s:4:\"name\";s:60:\"جهاز عرض وتسجيل 8 قنوات | NVR-DS-7608NI-K2\";s:5:\"price\";d:490;s:6:\"weight\";d:0;s:7:\"options\";O:39:\"Gloudemans\\Shoppingcart\\CartItemOptions\":1:{s:8:\"\0*\0items\";a:0:{}}s:7:\"taxRate\";i:0;s:49:\"\0Gloudemans\\Shoppingcart\\CartItem\0associatedModel\";s:45:\"CobraProjects\\LaraShop\\Models\\LarashopProduct\";s:46:\"\0Gloudemans\\Shoppingcart\\CartItem\0discountRate\";i:0;}}}','2021-02-04 01:29:29','2021-02-04 01:30:04'),('71','default','O:29:\"Illuminate\\Support\\Collection\":1:{s:8:\"\0*\0items\";a:3:{s:32:\"923a90440e2a5b0ac5bbba93867fd41b\";O:32:\"Gloudemans\\Shoppingcart\\CartItem\":10:{s:5:\"rowId\";s:32:\"923a90440e2a5b0ac5bbba93867fd41b\";s:2:\"id\";i:223;s:3:\"qty\";i:1;s:4:\"name\";s:113:\"كاميرا مراقبة خارجي 5 ميجا - ملون - كبير | Out Door - big Camera - (colour) H1-5MP\";s:5:\"price\";d:280;s:6:\"weight\";d:0;s:7:\"options\";O:39:\"Gloudemans\\Shoppingcart\\CartItemOptions\":1:{s:8:\"\0*\0items\";a:0:{}}s:7:\"taxRate\";i:0;s:49:\"\0Gloudemans\\Shoppingcart\\CartItem\0associatedModel\";s:45:\"CobraProjects\\LaraShop\\Models\\LarashopProduct\";s:46:\"\0Gloudemans\\Shoppingcart\\CartItem\0discountRate\";i:0;}s:32:\"ab474a72475ea6ea54d2085e5cdacc28\";O:32:\"Gloudemans\\Shoppingcart\\CartItem\":10:{s:5:\"rowId\";s:32:\"ab474a72475ea6ea54d2085e5cdacc28\";s:2:\"id\";i:15;s:3:\"qty\";i:1;s:4:\"name\";s:91:\"كاميرا مراقبة داخلي 5 ميجا - ديجتل | In Door - Camera - H1IT-5MP\";s:5:\"price\";d:150;s:6:\"weight\";d:0;s:7:\"options\";O:39:\"Gloudemans\\Shoppingcart\\CartItemOptions\":1:{s:8:\"\0*\0items\";a:0:{}}s:7:\"taxRate\";i:0;s:49:\"\0Gloudemans\\Shoppingcart\\CartItem\0associatedModel\";s:45:\"CobraProjects\\LaraShop\\Models\\LarashopProduct\";s:46:\"\0Gloudemans\\Shoppingcart\\CartItem\0discountRate\";i:0;}s:32:\"8b486433ba8a9e4089eafa927840a692\";O:32:\"Gloudemans\\Shoppingcart\\CartItem\":10:{s:5:\"rowId\";s:32:\"8b486433ba8a9e4089eafa927840a692\";s:2:\"id\";i:13;s:3:\"qty\";i:1;s:4:\"name\";s:86:\"كاميرا مراقبة داخلي 2 ميجا - ديجتل | In Door - Camera - 2MP\";s:5:\"price\";d:90;s:6:\"weight\";d:0;s:7:\"options\";O:39:\"Gloudemans\\Shoppingcart\\CartItemOptions\":1:{s:8:\"\0*\0items\";a:0:{}}s:7:\"taxRate\";i:0;s:49:\"\0Gloudemans\\Shoppingcart\\CartItem\0associatedModel\";s:45:\"CobraProjects\\LaraShop\\Models\\LarashopProduct\";s:46:\"\0Gloudemans\\Shoppingcart\\CartItem\0discountRate\";i:0;}}}','2021-02-12 13:11:06','2021-02-12 13:11:34'),('75','default','O:29:\"Illuminate\\Support\\Collection\":1:{s:8:\"\0*\0items\";a:1:{s:32:\"923a90440e2a5b0ac5bbba93867fd41b\";O:32:\"Gloudemans\\Shoppingcart\\CartItem\":10:{s:5:\"rowId\";s:32:\"923a90440e2a5b0ac5bbba93867fd41b\";s:2:\"id\";i:223;s:3:\"qty\";s:1:\"3\";s:4:\"name\";s:113:\"كاميرا مراقبة خارجي 5 ميجا - ملون - كبير | Out Door - big Camera - (colour) H1-5MP\";s:5:\"price\";d:280;s:6:\"weight\";d:0;s:7:\"options\";O:39:\"Gloudemans\\Shoppingcart\\CartItemOptions\":1:{s:8:\"\0*\0items\";a:0:{}}s:7:\"taxRate\";i:0;s:49:\"\0Gloudemans\\Shoppingcart\\CartItem\0associatedModel\";s:45:\"CobraProjects\\LaraShop\\Models\\LarashopProduct\";s:46:\"\0Gloudemans\\Shoppingcart\\CartItem\0discountRate\";i:0;}}}','2021-02-28 01:10:47','2021-02-28 08:21:29'),('76','default','O:29:\"Illuminate\\Support\\Collection\":1:{s:8:\"\0*\0items\";a:2:{s:32:\"dedf9fc0444d5cdb3c9e3e4591397355\";O:32:\"Gloudemans\\Shoppingcart\\CartItem\":10:{s:5:\"rowId\";s:32:\"dedf9fc0444d5cdb3c9e3e4591397355\";s:2:\"id\";i:161;s:3:\"qty\";i:1;s:4:\"name\";s:70:\"موزع شبكخ 5 مخارج عادي | 5 ports network hub - Normal\";s:5:\"price\";d:50;s:6:\"weight\";d:0;s:7:\"options\";O:39:\"Gloudemans\\Shoppingcart\\CartItemOptions\":1:{s:8:\"\0*\0items\";a:0:{}}s:7:\"taxRate\";i:0;s:49:\"\0Gloudemans\\Shoppingcart\\CartItem\0associatedModel\";s:45:\"CobraProjects\\LaraShop\\Models\\LarashopProduct\";s:46:\"\0Gloudemans\\Shoppingcart\\CartItem\0discountRate\";i:0;}s:32:\"baf6a9cf9f20e89137fc06a806d5d9d2\";O:32:\"Gloudemans\\Shoppingcart\\CartItem\":10:{s:5:\"rowId\";s:32:\"baf6a9cf9f20e89137fc06a806d5d9d2\";s:2:\"id\";i:74;s:3:\"qty\";i:1;s:4:\"name\";s:68:\"هارديسك بنفسجي 1 تيرا بايت | Hardisk purple 1TB\";s:5:\"price\";d:250;s:6:\"weight\";d:0;s:7:\"options\";O:39:\"Gloudemans\\Shoppingcart\\CartItemOptions\":1:{s:8:\"\0*\0items\";a:0:{}}s:7:\"taxRate\";i:0;s:49:\"\0Gloudemans\\Shoppingcart\\CartItem\0associatedModel\";s:45:\"CobraProjects\\LaraShop\\Models\\LarashopProduct\";s:46:\"\0Gloudemans\\Shoppingcart\\CartItem\0discountRate\";i:0;}}}','2021-02-28 17:17:59','2021-02-28 17:18:19'),('80','default','O:29:\"Illuminate\\Support\\Collection\":1:{s:8:\"\0*\0items\";a:0:{}}','2021-03-07 01:11:16','2021-03-07 01:11:16'),('88','default','O:29:\"Illuminate\\Support\\Collection\":1:{s:8:\"\0*\0items\";a:1:{s:32:\"35d859dc350ec9809df9a51353a09fe7\";O:32:\"Gloudemans\\Shoppingcart\\CartItem\":10:{s:5:\"rowId\";s:32:\"35d859dc350ec9809df9a51353a09fe7\";s:2:\"id\";i:232;s:3:\"qty\";s:1:\"5\";s:4:\"name\";s:38:\"كاميرا واي فاي MODEL : C3W\";s:5:\"price\";d:350;s:6:\"weight\";d:0;s:7:\"options\";O:39:\"Gloudemans\\Shoppingcart\\CartItemOptions\":1:{s:8:\"\0*\0items\";a:0:{}}s:7:\"taxRate\";i:0;s:49:\"\0Gloudemans\\Shoppingcart\\CartItem\0associatedModel\";s:45:\"CobraProjects\\LaraShop\\Models\\LarashopProduct\";s:46:\"\0Gloudemans\\Shoppingcart\\CartItem\0discountRate\";i:0;}}}','2021-04-06 20:54:36','2021-04-06 20:54:36'),('91','default','O:29:\"Illuminate\\Support\\Collection\":1:{s:8:\"\0*\0items\";a:1:{s:32:\"4930d7a676d2429a6a8d676ee38d832a\";O:32:\"Gloudemans\\Shoppingcart\\CartItem\":10:{s:5:\"rowId\";s:32:\"4930d7a676d2429a6a8d676ee38d832a\";s:2:\"id\";i:230;s:3:\"qty\";i:1;s:4:\"name\";s:39:\"كاميرا واي فاي MODEL : C6TC\";s:5:\"price\";d:300;s:6:\"weight\";d:0;s:7:\"options\";O:39:\"Gloudemans\\Shoppingcart\\CartItemOptions\":1:{s:8:\"\0*\0items\";a:0:{}}s:7:\"taxRate\";i:0;s:49:\"\0Gloudemans\\Shoppingcart\\CartItem\0associatedModel\";s:45:\"CobraProjects\\LaraShop\\Models\\LarashopProduct\";s:46:\"\0Gloudemans\\Shoppingcart\\CartItem\0discountRate\";i:0;}}}','2021-04-18 03:20:08','2021-04-18 03:20:08'),('99','default','O:29:\"Illuminate\\Support\\Collection\":1:{s:8:\"\0*\0items\";a:3:{s:32:\"4ca7d8aa3aa14c2e22db3cec9d24d979\";O:32:\"Gloudemans\\Shoppingcart\\CartItem\":10:{s:5:\"rowId\";s:32:\"4ca7d8aa3aa14c2e22db3cec9d24d979\";s:2:\"id\";i:238;s:3:\"qty\";i:1;s:4:\"name\";s:46:\"انتركوم رقمي MODAL : DS-KIS604-S(B)\";s:5:\"price\";d:1300;s:6:\"weight\";d:0;s:7:\"options\";O:39:\"Gloudemans\\Shoppingcart\\CartItemOptions\":1:{s:8:\"\0*\0items\";a:0:{}}s:7:\"taxRate\";i:0;s:49:\"\0Gloudemans\\Shoppingcart\\CartItem\0associatedModel\";s:45:\"CobraProjects\\LaraShop\\Models\\LarashopProduct\";s:46:\"\0Gloudemans\\Shoppingcart\\CartItem\0discountRate\";i:0;}s:32:\"3818ab782935b0a11c072f99f3a0f47c\";O:32:\"Gloudemans\\Shoppingcart\\CartItem\":10:{s:5:\"rowId\";s:32:\"3818ab782935b0a11c072f99f3a0f47c\";s:2:\"id\";i:244;s:3:\"qty\";i:1;s:4:\"name\";s:32:\"مقوي شبكة MODAL : AC1750\";s:5:\"price\";d:400;s:6:\"weight\";d:0;s:7:\"options\";O:39:\"Gloudemans\\Shoppingcart\\CartItemOptions\":1:{s:8:\"\0*\0items\";a:0:{}}s:7:\"taxRate\";i:0;s:49:\"\0Gloudemans\\Shoppingcart\\CartItem\0associatedModel\";s:45:\"CobraProjects\\LaraShop\\Models\\LarashopProduct\";s:46:\"\0Gloudemans\\Shoppingcart\\CartItem\0discountRate\";i:0;}s:32:\"1efd5661e461410f1f37a75be5a82749\";O:32:\"Gloudemans\\Shoppingcart\\CartItem\":10:{s:5:\"rowId\";s:32:\"1efd5661e461410f1f37a75be5a82749\";s:2:\"id\";i:247;s:3:\"qty\";i:1;s:4:\"name\";s:75:\"كاميرا ديجتل بدقة 2 ميجابكسل الحجم الكبير\";s:5:\"price\";d:100;s:6:\"weight\";d:0;s:7:\"options\";O:39:\"Gloudemans\\Shoppingcart\\CartItemOptions\":1:{s:8:\"\0*\0items\";a:0:{}}s:7:\"taxRate\";i:0;s:49:\"\0Gloudemans\\Shoppingcart\\CartItem\0associatedModel\";s:45:\"CobraProjects\\LaraShop\\Models\\LarashopProduct\";s:46:\"\0Gloudemans\\Shoppingcart\\CartItem\0discountRate\";i:0;}}}','2021-05-06 22:05:11','2021-05-06 22:06:46'); /*!40000 ALTER TABLE `shoppingcart` ENABLE KEYS */; UNLOCK TABLES; DROP TABLE IF EXISTS `testimonials`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `testimonials` ( `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `content` mediumtext COLLATE utf8mb4_unicode_ci NOT NULL, `photo` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=10 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; LOCK TABLES `testimonials` WRITE; /*!40000 ALTER TABLE `testimonials` DISABLE KEYS */; INSERT INTO `testimonials` VALUES (1,'عميل','اخي الفاضل وفريق عملكم المبدع\r\nلكم مني خالص الشكر والتقدير على عملكم الرائع في تركيب الكاميرات وجزى الله خيرا من دلني عليكم لتمتعكم بالالتزام بالوقت وحسن الخلق وكذلك ما لمسته منكم من سرعة التجاوب بعد التركيب (خدمة ما بعد البيع) في الختام لا يسعني المقام الا أن لكرر شكري وعرفاني لكم \r\nدمتم بخير',NULL,'2020-07-29 08:30:45','2020-07-29 08:31:16'),(4,'Ahmed Almousa','عمل متميز وتعامل راقي ودقيق\r\nكثيرة هي المؤسسات التي تقوم بتركيب أنظمة المراقبة الأمنية ولكن قليل الذي يهتم بخدمات ما بعد البيع والصيانة',NULL,'2020-07-29 08:39:59','2020-07-29 08:39:59'),(5,'Abdullah Aljamhan','الله يعطيهم العافية تعامل جدا راقي من الجميع بداية من الإدارة والأخ أبو نايف في تقديم النصح والمساعدة في اختيار المنتج المناسب وكذلك الطاقم الفني بقيادة الأخ معتصم ...تعامل راقي واحترام للمواعيد ودقة في العمل ..زيستحقون اكثر من خمس نجوم بدون مبالغة..',NULL,'2020-07-29 08:43:03','2020-07-29 08:43:03'),(6,'مطاعم ومطابخ العرب','الله يعطيكم العافية العمل كان باحترافية عالية جدا من خلال فنيين على مستوى احترافي واخص المهندس مروان بالشكر الجزيل على ما قدمه والشكر بلا شك موصول للأخ ابو نايف على هذه المجموعة المميزة',NULL,'2020-07-29 08:44:37','2020-07-29 08:44:37'),(7,'ابو سليمان','الف شكر تعاملهم جدا راقي ومصداقية وأسعارهم منافسة بداية من قائد انامل الخبر (( ابو نايف )) في إعطائة الزبون نصائح في اختيار المنتج المناسب للموقع وبشكل احترافي والشكر كذلك للمشرف ابو مروان وفريقة من دقة بمواعيد وجودة وسرعة بالتركيب ونظافة الموقع بعد الانتهاء\r\n(( اسم على مسمى أنامل الخبرة ))',NULL,'2020-07-29 08:47:37','2020-07-29 08:47:37'),(8,'يوسف عازي السلمي','دقة في المواعيد\r\nجودة في التنفيذ \r\nصدق في التعامل\r\nخدمات مميزة لما بعد البيع\r\nانصح وبقوة التعامل مع انامل الخبرة',NULL,'2020-07-29 08:50:12','2020-07-29 08:50:12'),(9,'عميل','حبيت اشكركم واقول لكم \r\nتعامل راقي\r\nتقيد بالمواعيد\r\nالتزام بالرد على المكالمات\r\nجودة في العمل\r\nهمالة متمكنة ومرنة في التعامل\r\nاسعار منافسة \r\nشكرا لكم',NULL,'2020-07-29 08:51:52','2020-07-29 08:51:52'); /*!40000 ALTER TABLE `testimonials` ENABLE KEYS */; UNLOCK TABLES; DROP TABLE IF EXISTS `users`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `users` ( `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `email` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `email_verified_at` timestamp NULL DEFAULT NULL, `password` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `remember_token` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, PRIMARY KEY (`id`), UNIQUE KEY `users_email_unique` (`email`) ) ENGINE=InnoDB AUTO_INCREMENT=182 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; LOCK TABLES `users` WRITE; /*!40000 ALTER TABLE `users` DISABLE KEYS */; INSERT INTO `users` VALUES (1,'عطالله الشقير','attallah.sh@gmail.com',NULL,'$2y$10$1mLfnY/cW9O5npHAwsPE0ei1ppPMKMeLwazkiKeS8KaIcFlLGVNe2','HsBbK3bVs255VYPw0WkRHk1NhwDLm5RSS6CrnBwuEgBg3N3P9e8QhUtPvm20','2020-08-31 10:13:02','2020-12-25 09:34:29'),(2,'محمد','mohammed.awad2000@yahoo.com',NULL,'$2y$10$u7ztp/RM6SjYiwR5S1kcYeLcMJAWFgd5.qUYNJSRqRGv3eVGiqS1K','uQEO5ibqjk4qPVgxBGQztDD2qUhRqUF02lrYyOhp1CAHuwZyKKC0Ek8wvACU','2020-09-01 06:58:52','2020-09-01 06:58:52'),(3,'سعود','soudawayd@gmail.com',NULL,'$2y$10$bsyp6XZOovTFeLwYYVR2FO2ineZc09W..4E5JxC90ot/gNse7k1M.',NULL,'2020-09-05 20:24:54','2020-09-05 20:24:54'),(4,'ADM MOHAMMED','adm0597774577@gmail.com',NULL,'$2y$10$SfyctImPh5oXWguWewKKqu9i0Z51XFiTl607YQy.l5R9FTJ2b9I/O',NULL,'2020-09-05 20:40:22','2020-09-05 20:40:22'),(5,'ابووليد','kanane-1@hotmail.com',NULL,'$2y$10$PEkTEVZhgycAV.igEySq7OAG0eyHznx4cYa9X4NqyQjXugN2inska',NULL,'2020-09-10 16:00:49','2020-09-10 16:00:49'),(6,'فايزالعنزي','Fkk2030@gmail.com',NULL,'$2y$10$c20Y6kwCU9AdFjAQCOG2O.5yUDHIvm0DMMMOHSzpzXJYNeh3mCW8C',NULL,'2020-09-16 20:42:33','2020-09-16 20:42:33'),(7,'Ahmed','thenayan23@gmail.com',NULL,'$2y$10$3anRT76zsQ9xgyPFMP986u7ulzpx/3s16tt0.Q5pCHO7RuYbKPl/W',NULL,'2020-09-21 00:43:46','2020-09-21 00:43:46'),(8,'Sultan Alshalwi','sms-su2006@hotmail.com',NULL,'$2y$10$KV9DLcpXcQXf2pL4S7ktf.T/x1mIe/WIZY8leZaJtbCaCvXO.wLMe',NULL,'2020-09-21 15:58:26','2020-09-21 15:58:26'),(9,'عبدالله المطيري','aa-715@hotmail.com',NULL,'$2y$10$Wn.zUoS/0TVLIF64fgPj3ezHQc0nmpj9dxon1mxeZFJK3cWFf806y',NULL,'2020-09-30 16:24:11','2020-09-30 16:24:11'),(10,'خالد العتيبي','kkkk.mmm@hotmail.com',NULL,'$2y$10$Y7yGPthITr98O2ekCY.vv.uBsB2IO9BtK1lAPtdhDnjALIJueIn4u',NULL,'2020-10-05 20:44:13','2020-10-05 20:44:13'),(11,'Rasha Mas','rashakmas@gmail.com',NULL,'$2y$10$rzTkwPGaZDYjYQ083Zxlq.d8potJaG8KidnwBmECRQt6AJpo72Nni',NULL,'2020-10-08 11:26:09','2020-10-08 11:26:09'),(12,'Abdulelah','samyr-5@hotmail.com',NULL,'$2y$10$dWQeEFqCTstHr9/Wu1oyvulQrvq4Y41oJFxz/6sgLU8.i8Bb9lGga',NULL,'2020-10-08 16:53:09','2020-10-08 16:53:09'),(13,'Naif','n0536661098@gmail.com',NULL,'$2y$10$SLTHCAvqP33wF6B2jOE9Veq2ReUdjXZ95Oj4CdPbCUNqlrmA86lNO',NULL,'2020-10-12 05:25:55','2020-10-12 05:25:55'),(14,'عبدالعزيز الزهراني','gg6226hh@gmail.com',NULL,'$2y$10$uyV4CqlY1aurJHCPudXHxuDcpwLGeX/cTrHlDSk.Ubf2SkCu2i1Ei',NULL,'2020-10-12 06:55:20','2020-10-12 06:55:20'),(15,'بدر عسيري','zoomakh1389@gmail.com',NULL,'$2y$10$oCsg2kIJWE33WUGXXXGT9.Ej4QTT8esg0Yijss8ZAyLB4WMucU9De',NULL,'2020-10-20 20:36:46','2020-10-20 20:36:46'),(16,'ابراهيم الدخيل','ibrahem.aldakhil@hotmail.com',NULL,'$2y$10$2cgQd3aJoFqjLCV5KEuC2eER9l12ESLBnfr1mvqUn8rhLUKZ3kNhq',NULL,'2020-10-22 16:13:23','2020-10-22 16:13:23'),(17,'عبدالعزيز الشهري','dqayq1@gmail.com',NULL,'$2y$10$.HFsufYg7U.1KB5Rqvm7L.3.4yQqx4Uq73hX8oyQzWlsKZF6q6y2W',NULL,'2020-10-22 23:35:41','2020-10-22 23:35:41'),(18,'بوعبدالله','aldosari1395@gmail.com',NULL,'$2y$10$XtGjPz6QwAIXQj5fvqN3Tu6ba07ph8pehV3es8Iu6wXgPcg3yLSqW',NULL,'2020-10-23 05:27:45','2020-10-23 05:27:45'),(19,'حماده عبدالله','hamada3bdallah@hotmail.com',NULL,'$2y$10$JQHGnrQRnd7.S4SzuB6cBusXmAnGsfROjMCFJnW0N7EoeGTjwLpVe',NULL,'2020-10-27 01:25:54','2020-10-27 01:25:54'),(20,'talal.m','goo90goo@hotmail.com',NULL,'$2y$10$UTMU4d3QmROX4yhnZuxEQeYcYkBzHZF3oW9EVm2ifQLvS6/mq3ZkS',NULL,'2020-10-27 14:24:42','2020-10-27 14:24:42'),(21,'Naif Jafare','nayfjfry429@gmail.com',NULL,'$2y$10$TdRRRYEDzruQgThhCpmj4u71CHKjNeuZAJ1UQlt/zSAf8PM7gNb4W',NULL,'2020-10-30 09:22:51','2020-10-30 09:22:51'),(22,'mohamed Mohamed melouk','m.melouk@gmail.com',NULL,'$2y$10$MfXOoW6EUukweLFfjlLTL.1tUfQAUjQHKEiJArIWjZ6Lmtd1EX6yK',NULL,'2020-11-02 17:14:10','2020-11-02 17:14:10'),(23,'ابو نايف الشقير','attallah.sh@hotmail.com',NULL,'$2y$10$qYDGIRmY9wZAHnSXwCmPv.8OU/tsy.YQPaKI65xXm/HGMrLeqpfmG',NULL,'2020-11-04 14:41:02','2020-11-04 14:41:02'),(24,'هاني الشمري','Hani92009@hotmail.com',NULL,'$2y$10$M7f/ClBGJRW63Yi06HWm0ONUEiGmMJxDUY8E7xItPCkc/QPGXi8Ra',NULL,'2020-11-07 19:41:07','2020-11-07 19:41:07'),(25,'fahad alfuhaid','a1c2d3@hotmail.com',NULL,'$2y$10$lV7E4UNjmVXj9qHzvFTEVOFCIW29c9R4jUoNivImhXOpKb92MJHdm',NULL,'2020-11-14 13:55:14','2020-11-14 13:55:14'),(26,'salomonkein https://twitter.com','astartacoma@yandex.com',NULL,'$2y$10$CYtNcLR0gUZwn2JcfJFCJejFJWN2H2Fbjc2J0RhFy0hwQ7yqz7NhK',NULL,'2020-11-17 15:16:37','2020-11-17 15:16:37'),(27,'Mohammed Asseri','mmshs1391@gmail.com',NULL,'$2y$10$P1j9qFfA.RpwCnOz/Koxtupu/fBXvnvZUAz/YkB.HJT8xGkVSfW0K',NULL,'2020-11-22 20:39:08','2020-11-22 20:39:08'),(28,'زياد الجهني','zyadh3300@gmail.com',NULL,'$2y$10$nOcmb4bb8L04jnx.KtISdeJbJuQLn/i3LR.fAE7WpfoULgnEH9.5G',NULL,'2020-11-23 11:48:13','2020-11-23 11:48:13'),(29,'عبدالناصر','3bdulnsser@gmail.com',NULL,'$2y$10$cnGsQXPWfzTcCLimVN/CROhnU3mHh.GyZhDJ6fSOuuN6cr04qLUnG',NULL,'2020-11-23 15:25:44','2020-11-23 15:25:44'),(30,'الجلنداني','aazsdsffcdfc@gmail.com',NULL,'$2y$10$egYn366za7PZ1JRGULwUvO3DcZrVtqe4X88kQkmT0oL91ZnDiRuGK',NULL,'2020-12-03 08:02:27','2020-12-03 08:02:27'),(31,'مصعب مبارك العتيبي','boo.m.511@icloud.com',NULL,'$2y$10$xkps7gzI6yDK3N4jFN27veC5UfMDbmSoBrU.O9N4E/av.7Usz4onC',NULL,'2020-12-06 19:15:49','2020-12-06 19:15:49'),(32,'انا خالد','kfa138@hotmail.com',NULL,'$2y$10$FfwaJ0gs14fGjMPNHGk9IeZ339.fzD.5xKhO1wuc5u1igkaKFSpkW',NULL,'2020-12-09 06:23:18','2020-12-09 06:23:18'),(33,'احمد حماد قاحطي','a7medqahti@gmail.com',NULL,'$2y$10$ZAmnN43.uo7fjqjdjzWA8uGT4N0NPR7YbWkoQnYwM0Nxn6sLj1zky',NULL,'2020-12-09 16:04:26','2020-12-09 16:04:26'),(34,'نايف العنزي','n90056@gmail.com',NULL,'$2y$10$AQl7TWANOXDYYSrjyEvNce7mTo8dZlZRbTvRe.3zwV09.M7DUsCmW',NULL,'2020-12-09 21:02:52','2020-12-09 21:02:52'),(35,'مرزوق العتيبي','maarzooq511@gmail.com',NULL,'$2y$10$/zjDQEKzPfh2VQqelAC9jeEebJk4mm.GtsyVMtgSUaMU1RwHt3nta',NULL,'2020-12-09 21:46:07','2020-12-09 21:46:07'),(36,'محمد','www.mmmm176@gmail.com',NULL,'$2y$10$tbDLUpIAduFVku4o8CszxurH1Xn8.4aLOFcz9tT0I0K2i5mNbL4Mu',NULL,'2020-12-17 01:12:27','2020-12-17 01:12:27'),(37,'سلطان الشمري','saltahn1919@gmail.con',NULL,'$2y$10$wI6tV8wEks2K.4uvAmCQVOTV0fney580jqAr2DECQq6CwARWTfbrC',NULL,'2020-12-18 15:26:43','2020-12-18 15:26:43'),(38,'Hussam','hossam_b52@outlook.sa',NULL,'$2y$10$sWuFH6rBpYpcK87r96z8luvG.IhXTqW.Jyw6hcR3ImiPFIVKymuX2',NULL,'2020-12-19 19:07:28','2020-12-19 19:07:28'),(39,'Amal alotaibi','adwa2525@gmail.com',NULL,'$2y$10$ACLTAs8MBMEFgsRk.QhqGOhhCgXgiYg86wtWHdoaYqi0HrngWvv0a',NULL,'2020-12-19 20:16:02','2020-12-19 20:16:02'),(40,'Ahlam','leemoo344@gmail.com',NULL,'$2y$10$SeJz9JLZkJqbHdinVeRJH.cmzah9B0RG3XWse7mrCtND3mv4hi.y.','YI2lPI4pDwncUWgZqtGqYJVhCm3p8tFIr624SoMEm3mD1Poru5UoPiFCk0jQ','2020-12-20 00:47:54','2020-12-20 00:47:54'),(41,'عبد الله محمد عبد الله جبران معشي','an883898@gmail.com',NULL,'$2y$10$fY.W66N/Y2PqgYLXQM6FbONp3vR3UbJ6Xm4DsakPipe7OqtF9Fg8q',NULL,'2020-12-20 08:14:40','2020-12-20 08:14:40'),(42,'ابو سلطان','Qasem3636@hotmail.com',NULL,'$2y$10$RFoFvilhNUcQPAcaHlGaKe30EP5imTyCIvETkURaqqISrdT2onmoq',NULL,'2020-12-25 15:16:41','2020-12-25 15:16:41'),(43,'فارس','Fasalialg5566@gmail.com',NULL,'$2y$10$EXQ7lSdYmu001fOWrv9DneqjV1F1wgjSxTHdTr1tjMF37qfipu5Ki',NULL,'2020-12-27 17:28:31','2020-12-27 17:28:31'),(44,'Waleed Tariq','Ryd001.fv@gmail.com',NULL,'$2y$10$QT93g6H7twRt40HnsYnEs.4QLRg9u9RjZ/UqScOsmLato8uOnjH4u',NULL,'2020-12-28 13:07:20','2020-12-28 13:07:20'),(45,'خالد العتيبي','kalhafi618@gmail.com',NULL,'$2y$10$NS2DSvmdIefpmsr9HgALmekzrzslEcpuOspF3MclAtMV/ClSbZpp2',NULL,'2020-12-30 07:56:18','2020-12-30 07:56:18'),(46,'فهد حسن','aboqatam2008@gmail.com',NULL,'$2y$10$tOTnR5p2NBTH5FXmqYIaK.EPueQ7tdL9ZfgARvpnAQ60vHM09/Mse',NULL,'2020-12-30 09:04:07','2020-12-30 09:04:07'),(47,'سلمان','salmana585@gmail.com',NULL,'$2y$10$aEAWvlSgc2DxnyK26Fsj4eH6TJMK.LgBhjohD6Dz8liXaXf2qhxeK',NULL,'2020-12-31 17:17:48','2020-12-31 17:17:48'),(48,'هادي','staar810@gmail.com',NULL,'$2y$10$SKMrdzc7AZm/Ug2Batd3y.sPG4R8SN8ZBAP6vGOeeUldishCf6TbO',NULL,'2021-01-03 12:40:06','2021-01-03 12:40:06'),(49,'عبدالله القرني ابوهشام','abood4404@outlook.sa',NULL,'$2y$10$CkmuB.9nBrjpHW05uXn98OWXW3zHh/GtdyXWmISvMPHv959WLexFS',NULL,'2021-01-03 16:33:19','2021-01-03 16:33:19'),(50,'Norahmarii','alshoq009@gmail.com',NULL,'$2y$10$dVoeBXqqjPYwfA7AbUu9HuroGK5ihCOwJ/8dobG/QK5/lo98rTsX6',NULL,'2021-01-04 11:48:33','2021-01-04 11:48:33'),(51,'اوامر سالم','awamersalem12@icloud.com',NULL,'$2y$10$TKfjz4aFKR3I/G5kqefFNe44ZuCVgwzK.8Awc.vRABD/eoNKJeqDG',NULL,'2021-01-05 20:34:57','2021-01-05 20:34:57'),(52,'Geovanny Sauer','Marilyne20@yahoo.com',NULL,'$2y$10$Er2FEh233U66QMSwnxEomePNPfUV1HkO.OFZB6ZiyPMh1akP4j/HG',NULL,'2021-01-06 05:41:00','2021-01-06 05:41:00'),(53,'Alberto Herzog','miles.koch@rocketmail.com',NULL,'$2y$10$0FB8xpc4D.xheqQEWTkSQOYf.kRsSqUPzaKMMPAZff3yhlBhgVl1G',NULL,'2021-01-07 09:39:21','2021-01-07 09:39:21'),(54,'Abduillah Amar','abd221440@gmail.com',NULL,'$2y$10$Th.sXKJLKbfQk/NBwRDEi.X2yXxqspnrO.z6v56psHOIpKXwL.4jy',NULL,'2021-01-12 06:09:39','2021-01-12 06:09:39'),(55,'سعد العمري','saad.alamri25.sa@gmail.com',NULL,'$2y$10$gvOQ9.OUgYZYEoeoDVtjA.Vx2FjRYSP3PXqPqsn1Prer8ikMJWmBm',NULL,'2021-01-13 21:07:24','2021-01-13 21:07:24'),(56,'سامي سحاري','sami.sah1412@hotmail.com',NULL,'$2y$10$lxbk5dVg54.tABgT4U1J9OKqzEVD0CLxGEsislh.UJcILANOJRpaq',NULL,'2021-01-14 00:02:12','2021-01-14 00:02:12'),(57,'علي','ail293995@gmail.com',NULL,'$2y$10$PpjN73F9.gMAEMllwPeKZuA4.1w7i6m//z2gRySAAkg3hD5arsSS.',NULL,'2021-01-20 12:02:23','2021-01-20 12:02:23'),(58,'تركي','tssk5889@gmail.com',NULL,'$2y$10$m5cPNzHLWpeKqimPpD3uKOmh5SAgVkFQ5/VwHaz79Rhgcf0rgzGb2',NULL,'2021-01-20 14:30:37','2021-01-20 14:30:37'),(59,'Dandre Bashirian','sherleyrodriguez50@gmail.com',NULL,'$2y$10$UQ1SppOBtYpMpT6Sjv4j1echbTLB6VS3WXqMLrcMxwASlJwSknUtu',NULL,'2021-01-23 12:03:33','2021-01-23 12:03:33'),(60,'Nana','nawalabukhalid@hotmail.com',NULL,'$2y$10$hJpiW7ZVkJzTIMdbjDJXvOztI/NmHHgXRxOhHhsC3.S3W6olPWF8y',NULL,'2021-01-23 16:37:55','2021-01-23 16:37:55'),(61,'بندر','assaf_b@hotmail.com',NULL,'$2y$10$uBPb.hY4KbN8mY3NqM8FcuJuhCwNfTeNi0LiMI1WiLWFO2nlMPXUa',NULL,'2021-01-27 06:33:04','2021-01-27 06:33:04'),(62,'yousef alanazi','Ooosef7@gmail.com',NULL,'$2y$10$UuPfmX7YVXdF4MwMJqtGdeICEwEZEchsal/yndHqUG1wdeRl5dkHK',NULL,'2021-01-28 14:57:20','2021-01-28 14:57:20'),(63,'Ali Alonazi','alionz@outlook.sa',NULL,'$2y$10$jCUH9XX54UQ8Bg5q/3/uPOWzDRBEU8VWuw1ZsNE0IB.LFg7UlAKyq',NULL,'2021-01-29 04:36:38','2021-01-29 04:36:38'),(64,'Mohamed','moh10141@hotmail.com',NULL,'$2y$10$Wd9vlE3vkA2tn709BHvj9u703.E.IKAAY94U8IsTPj1ZYFEi0rLke',NULL,'2021-01-30 20:15:15','2021-01-30 20:15:15'),(65,'نايف الجواش','Na.Aljawash@gmail.com',NULL,'$2y$10$VyjBNPegDnoTZ1RGSRM.au3vfMK5zqatZ5D3MIXuFhIQCoGt1LD96',NULL,'2021-02-03 00:43:05','2021-02-03 00:43:05'),(66,'Ollie Zieme','casellajos@aol.com',NULL,'$2y$10$P5ZO6o7lVAJrRUw0EgxSre.PUX9MfSfmByAjc2CbsUmGe0KUgFAiu',NULL,'2021-02-03 04:04:25','2021-02-03 04:04:25'),(67,'abosara','pro4tech1661@gmail.com',NULL,'$2y$10$b5HDaW.r3NT2KSsGN3X83e2H10ExSVSgjGhkl41xDp6KEqLw8hhzO',NULL,'2021-02-04 01:18:33','2021-02-04 01:18:33'),(68,'Abdiaziz','azuz74071@gmail.com',NULL,'$2y$10$Hf4/CsiuhsVumrLGitYKu.na0wWN6Y/DQQDSy07lxmiYFn80vhcNS',NULL,'2021-02-04 22:16:07','2021-02-04 22:16:07'),(69,'Arvilla Kutch IV','mark.hutchings7@sky.com',NULL,'$2y$10$SBbz3kwmtZ9QOjmnBeOOVePafSJ0Py22rWdkge9f42Ilg6p5h8rvK',NULL,'2021-02-10 02:33:59','2021-02-10 02:33:59'),(70,'خالد','kha_2345@icloud.com',NULL,'$2y$10$.c7QRvx.ql8nHLfGTxufOezaTluP7im03hc6Hiw4xJli8HuklaLJC',NULL,'2021-02-10 15:26:03','2021-02-10 15:26:03'),(71,'Hamud544','czod544@gmail.com',NULL,'$2y$10$SPJ3/B1KN5wku6IoUtkyF.wMC59d5GqA/8d7Ehp3iSJ1MpkAw8weu',NULL,'2021-02-12 13:09:31','2021-02-12 13:09:31'),(72,'عقيل مطشر العنزي','aqeeell2002@gmail.com',NULL,'$2y$10$3fyi1ZwhApPZklsrKTw2BeQunI03NlfYXaVEUORQEhYRrtoXVyg9O',NULL,'2021-02-12 18:57:14','2021-02-12 18:57:14'),(73,'عبدالله العنزي','abdyalabazi@gmail.com',NULL,'$2y$10$mr24FCR2Bk7OJGqNtljTmuK8FLjBSiEDO9BigUPydAVXSAJOkhg9i',NULL,'2021-02-14 19:11:17','2021-02-14 19:11:17'),(74,'عمر','hhoor6199@gmail.com',NULL,'$2y$10$S.Z5LtoptRNNUBE/zvjSqOK9i5ZTvfSnT45Vh5HhOHZVoyzH7c2rG',NULL,'2021-02-17 08:05:22','2021-02-17 08:05:22'),(75,'ناصر','jjoody007@gmail.com',NULL,'$2y$10$MNJ4IZ382AKfJXTTxQsCM.RMPKn2iN84dsYYf3dmD1N3cY5lYTZ0m',NULL,'2021-02-28 01:09:32','2021-02-28 01:09:32'),(76,'ALSK','apsoqw31@gmail.com',NULL,'$2y$10$qi8l6MCZo5.QBimg2IPC7O7gDlr4eteFvhJ.qtwWzOdU7UqOczgUa',NULL,'2021-02-28 17:03:38','2021-02-28 17:03:38'),(77,'Jesseteevy','io.oxv.ert.ris@gmail.com',NULL,'$2y$10$K0.gbC74ol3quKh9Hi7do.cJIdS28MHlCl1UrJ69DRVkliroc6J5a',NULL,'2021-03-01 07:47:13','2021-03-01 07:47:13'),(78,'Isabell Feest','trailerdumps@gmail.com',NULL,'$2y$10$/P3ihNoi5LYYYpYts5XwUu5UHDzeIp2pVfyVT8gO4HafdSP9zf7u.',NULL,'2021-03-04 21:04:38','2021-03-04 21:04:38'),(79,'نايف','naifasq12719@gmail.com',NULL,'$2y$10$hn7F1YkI3z3jkHoMWL.OWej1koO0x/SY/qeWP84.PlWt8r8Hl3VKG',NULL,'2021-03-06 13:40:02','2021-03-06 13:40:02'),(80,'نشوان حمود','nashwanhamod@gmail.com',NULL,'$2y$10$ctfuOrK7Rk34lYJMgPp3fOnaOY11VKjD/2ksKDq2mdAKhkrd.0byy',NULL,'2021-03-07 01:10:00','2021-03-07 01:10:00'),(81,'Verlie Parisian','mother_natural@hotmail.com',NULL,'$2y$10$tp5ciWpNhEvcRgSHo2myoOcclC./VfIXNJ4KLAQa1VkacVKhV8WoW',NULL,'2021-03-13 00:16:44','2021-03-13 00:16:44'),(82,'مازن الشهري','mazn10150@gmail.com',NULL,'$2y$10$.pFDWv4CjEThgxHcHkEB2ey105zRYqDsIiLjwcQ8KjpnG.7OjQ/2q',NULL,'2021-03-14 13:45:59','2021-03-14 13:45:59'),(83,'Miss Leta Jenkins','5125964681@vtext.com',NULL,'$2y$10$j1C.mXdFtba4PUajIXD0LeMBsciG0oqC/Ngzn3wvixIWKeVQ61M9S',NULL,'2021-03-16 23:33:45','2021-03-16 23:33:45'),(84,'TCR3FZIIERRB66Q6UZN0YRCT http://google.com/543','bennageo.mar4723475@gmail.com',NULL,'$2y$10$KwXCW66zmHjF8ktCBRPA..sEb1vqlexI8pJtg6wCjwXN/gdUtRw7a',NULL,'2021-03-22 11:30:53','2021-03-22 11:30:53'),(85,'Mr. Alfonso Lynch','lisamarie5981@aol.com',NULL,'$2y$10$hi9U5bWCb1uy5EDInVEUEuoqsHhqA9JyRn82Z4Yj.6fatKidM8r1.',NULL,'2021-03-25 07:35:26','2021-03-25 07:35:26'),(86,'aliyy.9999','mmmagrashi10380@gmail.com',NULL,'$2y$10$apERHkGgsbK9hLoLTkBp4e2f8c/HMuZsLfBLDSNRQYvDMfoNaSNmW',NULL,'2021-04-03 21:50:54','2021-04-03 21:50:54'),(87,'Johnson Gaylord','ptcchillin@yahoo.com',NULL,'$2y$10$uuiRXYq8ZFU90tdia6razeVkGO2mMW2bViiV.A8RTLXxvhz7REAlO',NULL,'2021-04-06 04:14:32','2021-04-06 04:14:32'),(88,'ابو سطام','banf111@hotmail.com',NULL,'$2y$10$4uUsPTQ7CTz8Mz79CVLqIOAxnfN75Sdp3/CE0MXr7JIvItf6A0Qlu',NULL,'2021-04-06 20:52:35','2021-04-06 20:52:35'),(89,'Nelle Durgan','Celestino_Treutel@gmail.com',NULL,'$2y$10$K2fn.V5.WuDFfShRIqncD.Djpm5g8nmu/fh/ZYE70eOow3viqgT5e',NULL,'2021-04-07 00:42:58','2021-04-07 00:42:58'),(90,'Aletha Lockman','info@justtinaphotography.co.uk',NULL,'$2y$10$I22FINco5K10YP2gNFVoHu9akBHD.nJHrO6OFEBjbIiVJ4x4PG62K',NULL,'2021-04-09 17:45:07','2021-04-09 17:45:07'),(91,'نايف','nnk909@hotmail.com',NULL,'$2y$10$MnX3BCgcXePRK9FMcZmC0OAOD.0V4vr8r3WQdlbbvij2.lYKBaYBa',NULL,'2021-04-18 03:07:00','2021-04-18 03:07:00'),(92,'ريم','n222007@hotmail.com',NULL,'$2y$10$8uJfbpVDKQKWS6yCH0NsLeh/liGBz/9bp0sxOg/qUgDJhNb5dfXQ2',NULL,'2021-04-19 19:41:29','2021-04-19 19:41:29'),(93,'بندر','bandr2055@gmail.com',NULL,'$2y$10$yTg8Gu9XM9pma/MicjcR8OlZaGZ8Vdid25aev7ZYR/3m/7ZYB0j92',NULL,'2021-04-22 10:08:14','2021-04-22 10:08:14'),(94,'Georgia Reilly','thebarnicks@gmail.com',NULL,'$2y$10$4iTncQDqigEMak//3IIA9uoswllqlZnxZ57Z5Xibk8sYqoycKl/SW',NULL,'2021-04-26 15:37:09','2021-04-26 15:37:09'),(95,'Katrina Lueilwitz','roperry@spectrumretirement.com',NULL,'$2y$10$ygW4B/ITkkgsT4Km8bb.Ze1PaABO/jNS1RLn2K4SA.Gp8pNyNJLXq',NULL,'2021-04-27 09:21:35','2021-04-27 09:21:35'),(96,'dtersghiuyngfdplk http://tumblr.com','polikeeva_92@mail.ru',NULL,'$2y$10$d6adhREXY1I.aJDg13jCTesTNr4Opv3R7407ciZkshw80ioY1Yxja',NULL,'2021-04-30 12:46:03','2021-04-30 12:46:03'),(97,'Meshari NAWAF','meshari27m@gmail.com',NULL,'$2y$10$hHnZH.1ZqLjNo6TWAxDtgedVf3LrEUwqzVPI.XXSyZDWgbHBqX3Su',NULL,'2021-05-04 02:54:48','2021-05-04 02:54:48'),(98,'سيبسيبسي','7a891a936c@mozej.com',NULL,'$2y$10$TKjUvIjFO636ggyhp697xeDGdzvE8v2WdHi44MWNdRXm7Tiry6kb6',NULL,'2021-05-04 02:59:31','2021-05-04 02:59:31'),(99,'محمد شيخين','moh2010266@gmail.com',NULL,'$2y$10$/BKMGUBkjQl5oRMXMo3ZDuAGYrVUGCB4uMRHc0OeI7RTiCbOulTW6',NULL,'2021-05-06 22:03:35','2021-05-06 22:03:35'),(100,'محمد ال مسن','m.10444@hotmail.com',NULL,'$2y$10$T/cX10dVWz.pwxPi8VW1DuL7gIWVotNsR0Ap7DsVvjpHQ2969Z9V2',NULL,'2021-05-07 21:28:13','2021-05-07 21:28:13'),(101,'أبو إبراهيم','mohammed.0556454915@gmail.com',NULL,'$2y$10$HeoS0iW4y7Hzef8BaDYHi.LNe8oIheCRq.EvzO3yOUhfb2LrnB106',NULL,'2021-05-12 02:21:50','2021-05-12 02:21:50'),(102,'Fahad Alanazi','falanazi@ivtc.com.sa',NULL,'$2y$10$5U18wdj/akKZvpbp5A6J2OOK8T4WfPWms3v7T4IyHHTukrSi07ayq',NULL,'2021-05-14 17:55:57','2021-05-14 17:55:57'),(103,'احمد','ahmed7777.aaee@gmail.com',NULL,'$2y$10$VPhFQwXjRO/ziT.6XQ3Kj.eiQli5XzDoiVqcBQrvGpb93zPUKUrWS',NULL,'2021-05-16 22:04:23','2021-05-16 22:04:23'),(104,'Thomasmig','juhastieber@cheerful.com',NULL,'$2y$10$.jd7GhGQjXd7eLm/tngpFuX4I5jpeDJSL2vhdCZOe5phzGzRDP8Wy',NULL,'2021-05-17 20:25:30','2021-05-17 20:25:30'),(105,'Azzam','maxazzam0@gmail.com',NULL,'$2y$10$pYN4i.G.SB9MWGJFjrPieeUDsuUeLZYAybz5A1Qc31KUO.RMVSmJy',NULL,'2021-05-17 23:28:21','2021-05-17 23:28:21'),(106,'جعفر','Jafar.qh@icloud.com',NULL,'$2y$10$791fs8myhNYJRg9bG.t3duFPmcarftMmJNkiYf1CaLzJk3BoD8KQu',NULL,'2021-05-18 21:14:17','2021-05-18 21:14:17'),(107,'A M','sleepesc@gmail.com',NULL,'$2y$10$QkEC0NHVJZZO4eQQUqLePegnwhpJoaCR/4qfOk7l5Aczpi9Cngd4y',NULL,'2021-05-18 23:20:57','2021-05-18 23:20:57'),(108,'مبارك','mmams1082@gmail.com',NULL,'$2y$10$E64JJXzXf1psokxFp/0y4usqc3fh0jSsswgw2IWwG8z6zwrqwxDUu',NULL,'2021-05-19 01:04:02','2021-05-19 01:04:02'),(109,'ابوعبدالعزيز','kar2013ab@gmail.com',NULL,'$2y$10$Fn345joOlwCREiY.9FUdJ.D5lVP3FNFnwhZsD1qy7b.hzB81KV0rW',NULL,'2021-05-19 02:15:44','2021-05-19 02:15:44'),(110,'Bertha Cummings','leticia425@yahoo.com',NULL,'$2y$10$ShVEXfb6GcLRAVj99ADlXOrpUCoxPHEpht48ijfLQuI3jGvmDHQ0y',NULL,'2021-05-19 06:51:41','2021-05-19 06:51:41'),(111,'Leatha Quigley IV','cami.mangiafico@gmail.com',NULL,'$2y$10$n.4tOusauheDH26AJ91NSOOrHHyabBByER2kCV7qX0us3on8HZMfu',NULL,'2021-05-27 04:30:06','2021-05-27 04:30:06'),(112,'Pauline D\'Amore','rayshodnchubb@gmail.com',NULL,'$2y$10$iWhiX3m4j4xS2Q4ZjSNEOuzmZivG/H.OGQ6Ba70d9BHRjZsfobQz.',NULL,'2021-05-28 17:15:32','2021-05-28 17:15:32'),(113,'ابو نواف','arean1arean1@yahoo.com',NULL,'$2y$10$Btr7UenakfKJzPdRG2XNZuhK40L6a/ljl3fkw4NA7vSH3phymojD2',NULL,'2021-06-02 13:44:37','2021-06-02 13:44:37'),(114,'Elvira Abernathy','beishir@hotmail.com',NULL,'$2y$10$St9YthFZ1iexdqcLrsSSauDHhhdhlzCjzV2pul.wuVE0F1pNUoYfy',NULL,'2021-06-03 12:39:19','2021-06-03 12:39:19'),(115,'سعود قباني','wowbetrayer@gmail.com',NULL,'$2y$10$0surQ88D0l9hI8I1vWL3QuOGxjfYmYEQ2SwU1BbM6.l1DAuxW.vJ6',NULL,'2021-06-03 19:53:43','2021-06-03 19:53:43'),(116,'هادي سالم','mar2i@hotmail.com',NULL,'$2y$10$BoNjRnUS3p9vqg/bBHMXMu7lre1n9DHEH6nHsxF7Jsy2ExmyP5PDO',NULL,'2021-06-05 18:43:47','2021-06-05 18:43:47'),(117,'محمد ابراهيم','so12so12346@gmail.com',NULL,'$2y$10$X0FVuiNHPJE0Fc2mCG1DfedfwHWg/0t7OSRHRCBB6S6aXKLew/0Ui','CvFge5bMvuGIe95lIdbPr0E78KxlghFhVBcZaJmiRRfkvb8kP2TxIH5c81VG','2021-06-10 23:29:44','2021-06-10 23:59:05'),(118,'عبدالله الخرعان','sma_mo@hotmail.com',NULL,'$2y$10$A.ISfEuwyT6VAwdEhlzRmucD51Z6xR/nYl9OS9FI3T3JOcnjq20Mq',NULL,'2021-06-16 18:12:25','2021-06-16 18:12:25'),(119,'سليمان','rte374@gmail.com',NULL,'$2y$10$/eepYxI8FpcMB8VAaeV1De1ZifLsDhA7QGLgeJDlY.2HKLLhQVUYy',NULL,'2021-06-21 09:20:16','2021-06-21 09:20:16'),(120,'سعود','mm8209284@gmail.com',NULL,'$2y$10$nx2UZmIQujVvkuVvX29j..j/mLR4pjKT.FD.YxoMjWPxmaABqF3hm',NULL,'2021-06-24 19:54:57','2021-06-24 19:54:57'),(121,'عذووب','l.zh.sa.lz@gmail.com',NULL,'$2y$10$8nxdoRxwNbKXPbHz0vFtgOeJx7tJpDwKzMv7.71UDkLL5v1wRxYRS',NULL,'2021-06-27 10:42:32','2021-06-27 10:42:32'),(122,'Maha alharbi','mahaalharpi4@gmail.com',NULL,'$2y$10$kuqulnaF7Ab5GaHAbjMuAeba78g8iHsB2.ZjAtK3DQ7PRrdxV9Zsa',NULL,'2021-06-29 18:43:28','2021-06-29 18:43:28'),(123,'Bertrand Jacobi PhD','Xavier86@hotmail.com',NULL,'$2y$10$1uCjppJb8D/yqTQXObuuI.DfC5.UqZg7vdJHLV.L2miMrswDQz4Km',NULL,'2021-07-02 02:20:24','2021-07-02 02:20:24'),(124,'Alexis Beatty','sjpriyan11@gmail.com',NULL,'$2y$10$OsDz85BXe79cxXIbcRUQx.BTD1h2hNUHj0fpzzV8NNKQBdiuFHffq',NULL,'2021-07-05 14:57:39','2021-07-05 14:57:39'),(125,'MESHRF ALAMRI','meshref51@gmail.com',NULL,'$2y$10$pEVDqy8hihFCrjjL38hnlezjMZrs2Uea5Qxmx/6.g7tm6AHWCSpy.',NULL,'2021-07-09 10:21:09','2021-07-09 10:21:09'),(126,'فيصل','faisali15@outlook.com',NULL,'$2y$10$pgcBEglHVWDBTP1U3K8v3.xecNPDSboN74kLOKbC34suEZGgWeRty',NULL,'2021-07-17 04:54:59','2021-07-17 04:54:59'),(127,'Ben Brekke','uwimanajdieu@gmail.com',NULL,'$2y$10$lGmcEZA2Wcuu.Z6eGHzjw.mwQCL.q7cSQrsLVmnZkw64J8MfFPpU6',NULL,'2021-07-21 14:32:44','2021-07-21 14:32:44'),(128,'حامد الرشيدي','as0553977@gmail.com',NULL,'$2y$10$c1aokE3fvEdQPH5oe4qJ/uO7F3c1EqVT5dVLHT/ED5VpdvfoH8Xzq',NULL,'2021-07-23 07:28:20','2021-07-23 07:28:20'),(129,'Rodisrix','domtterpsucda1030@maillux.online',NULL,'$2y$10$cdahbl9rALJ66W2puBJ/kuE9Z7IQPTNHBXxBmp6OcmggWLTj3Gv8i',NULL,'2021-07-24 12:18:49','2021-07-24 12:18:49'),(130,'عبدالله','abdullah.thefirst@yahoo.com',NULL,'$2y$10$6MtF2/ouQxSMLaWTE/Tg1uL1qMK7lmKOgB3FK4d.GsivitmkvyhhO',NULL,'2021-08-03 10:41:33','2021-08-03 10:41:33'),(131,'ShaneErync','inamhypcanar@mail.com',NULL,'$2y$10$3U3JacIOXfcaUOP1fcB.v.UAjRbjce/fDhre6ePWvYnhquxi4LmtC',NULL,'2021-08-05 02:22:13','2021-08-05 02:22:13'),(132,'Randall Stiedemann','kolequashie@gmail.com',NULL,'$2y$10$UANVUJ.Q.AncXNHBh33Q4uS.ffuNRTP9YqRGcMZ5dtqHJ0BPHZbd2',NULL,'2021-08-06 13:56:18','2021-08-06 13:56:18'),(133,'ابو سامي','abusami9121@gmail.com',NULL,'$2y$10$aCsLdjYpKQx.5EFJtOHBxudJ5RG6AlpDpIuAZ/gP2/m8raxMO5nWS',NULL,'2021-08-07 17:50:44','2021-08-07 17:50:44'),(134,'Richardviags','kensawerlernmi@mail.com',NULL,'$2y$10$AK0cA.rNKNX.1udtDIZeCeNY6q2S7QK93sXSh5xW3izUSQh9uRRNa',NULL,'2021-08-07 23:34:35','2021-08-07 23:34:35'),(135,'Jessemus','liolectpirocard@mail.com',NULL,'$2y$10$G9vA029OkIWpEOmSl0KpUOzj8m6hvY0bhuRYeizLHzE2KcEGy/ke.',NULL,'2021-08-09 16:28:12','2021-08-09 16:28:12'),(136,'Anthonyimpam','theilaropjobspop@mail.com',NULL,'$2y$10$G7Nx8vbwde9eF6ybFc26d.ZXk7Fm3W0Q6Cuw4yabrhZFPFKKojfOi',NULL,'2021-08-12 21:45:58','2021-08-12 21:45:58'),(137,'عبدالله القرني','s9426@hotmail.com',NULL,'$2y$10$ft9OQbGgUJIQTeNigDJ2HOgvZRhZeyO98v9XA9Phg/RpGEVmVQWcq',NULL,'2021-08-13 17:51:39','2021-08-13 17:51:39'),(138,'Erich Lubowitz','trhubbard4@yahoo.com',NULL,'$2y$10$YqN9yUdH2/umrBtSiVjb/OjlF..tgY5Nqpb5H1nvyGHm112WUFTq6',NULL,'2021-08-23 05:12:02','2021-08-23 05:12:02'),(139,'Courtney Boyle','andysech23@gmail.com',NULL,'$2y$10$eZqmJQlq1NijFy89VBu1EOLdE0NHXrecJgkpZieS1qqnmmaCqF.QK',NULL,'2021-08-23 22:52:30','2021-08-23 22:52:30'),(140,'نور','noor_122@live.com',NULL,'$2y$10$g6iveEVEXybPLSBbAvAWXu93U/frbCM7hjfJXz/4nyW5aTFyT72ze',NULL,'2021-08-24 06:48:26','2021-08-24 06:48:26'),(141,'عبدالعزيز المحياني','Abdulaziz.almihyani@gmail.com',NULL,'$2y$10$0BYpeyhFj0IGYJ7Z.MdJ7.sto/YFd41asNkLLFEocD.BHE0oXEWBG',NULL,'2021-08-24 07:10:52','2021-08-24 07:10:52'),(142,'ميثاق المجيدي','ajauwu727aj@gmail.com',NULL,'$2y$10$KYYM/Ler5N7ft1Q1oywx/OAI4TKyLZA4.xcJFftDIQrEknuuw9eT2',NULL,'2021-08-24 20:59:57','2021-08-24 20:59:57'),(143,'بىوك','adofawaz630@gmail.com',NULL,'$2y$10$bKDo3Se9rUazqHjI7yXBquYfT6owncUDdy9GbMv/lQOo4Wuy5iZi.',NULL,'2021-08-26 00:13:50','2021-08-26 00:13:50'),(144,'Abdulrhman Alrasheed','3bdulrhman.r@gmail.com',NULL,'$2y$10$YRTsTS28Yzu71d0zEZrU5efPVHBE2Hsc.sT4miA6ERxrsV9C7Z37G',NULL,'2021-08-28 14:48:47','2021-08-28 14:48:47'),(145,'يحيى غزواني','yahyax915@gmail.com',NULL,'$2y$10$cM6H587CoLle.zFq7QJtdOZfVnc/bAPKKa3D.D9kYnVNeyFoNRUrG',NULL,'2021-09-01 08:13:14','2021-09-01 08:13:14'),(146,'Mousa','mwsyalhyry5@gmail.com',NULL,'$2y$10$L0MCjVw.XpMUyAwGf/PAmurJAkppXd5ok4v5D2CBti18IQDosVloa',NULL,'2021-09-04 10:05:56','2021-09-04 10:05:56'),(147,'شريفه','sh826286@gmail.com',NULL,'$2y$10$DdLuVbC/gqW976MVq/NifOUpXRztZqngtvZoJVptyu70ykS/p2Dqi',NULL,'2021-09-04 23:03:55','2021-09-04 23:03:55'),(148,'ابو عبدالله الشهري','abosaad14388@gmail.com',NULL,'$2y$10$tyhsB/nZMFPJbc/eSX2MLODf06KcZ4Vy2fA/qHQCNoAnqAM.ajmci',NULL,'2021-09-11 06:30:50','2021-09-11 06:30:50'),(149,'Amani Waters Sr.','marion.backhus@t-online.de',NULL,'$2y$10$fhoraloNyyNNZrpXk7mj/.SJwmbruMQc2PqNbWVZ6CRTTWbjQ9f.W',NULL,'2021-09-12 14:55:47','2021-09-12 14:55:47'),(150,'حمود','ba7ar51@hotmail.com',NULL,'$2y$10$BVNkFHdT5qgKMT5eHe17Beny7wRzoIFkp39OZBrB7izFyhvEMHELi',NULL,'2021-09-14 18:16:19','2021-09-14 18:16:19'),(151,'احمد','blk4456@gmail.com',NULL,'$2y$10$NTghpLrNDCt43wny66Znsega1A/q4pN1ooAZPy3hoMnel.RaoOjHu',NULL,'2021-09-17 19:07:10','2021-09-17 19:07:10'),(152,'تركي الروقي','turkii700@outlook.com',NULL,'$2y$10$xNxf8liXr.5gpqeRGMew7uvigQstaor2gAGrHhtE9BIWb904TzpVi',NULL,'2021-09-19 10:41:36','2021-09-19 10:41:36'),(153,'Alnoor','alnooramin09@gmail.com',NULL,'$2y$10$xCYWZCr3QxWQYUya3CVN4OAFtXuJPzz8mTn2TqbkT33JDkPSR4tKK',NULL,'2021-09-19 10:47:11','2021-09-19 10:47:11'),(154,'نافع على الشهري','nafe0608@gmail.com',NULL,'$2y$10$Q6//KgQ54HKH/ExVI82QRuW8VKsZjLjEKQf6.sw.Nu1HS2k8db/0i',NULL,'2021-09-24 00:35:52','2021-09-24 00:35:52'),(155,'B. B','thm4050@gmail.com',NULL,'$2y$10$/RsXRgGydUquYb5M7qrjqe4qCjKJOjIOLvQHlb2yp35V18Vlz./gC',NULL,'2021-09-25 03:09:52','2021-09-25 03:09:52'),(156,'حمد','7amad.2234@gmail.com',NULL,'$2y$10$JCYA4/Elt6CGsOZP9..dS.XgXEBy7dgU2h1K8L.Wr0CEs0BWp7z36',NULL,'2021-09-25 06:01:42','2021-09-25 06:01:42'),(157,'صالح الحسن','abo-meshl2013@hotmail.com',NULL,'$2y$10$5WXEJ18tyfaYeTDCrFIp4.zPFkfRoqo.jmDZgPJRmSLmCfeDk5vpi',NULL,'2021-09-26 23:57:59','2021-09-26 23:57:59'),(158,'طلال العنزي','zozzoo1997@gmail.com',NULL,'$2y$10$kGuT/D7AFl6ULVUVQoI/iu9.T3OMYcekOIvRXipAn8.HxeD3XpbJa',NULL,'2021-09-27 17:56:31','2021-09-27 17:56:31'),(159,'Bader Al','bbbbaaaa0000@li.com',NULL,'$2y$10$l2GlaHXjS3PBcWJ6e7jHHuxsiEEMYHJ9Pcpj92ObVfkvNipGDJzvW',NULL,'2021-09-27 22:51:12','2021-09-27 22:51:12'),(160,'Miss Leticia Watsica','dembelekoko1@gmail.com',NULL,'$2y$10$VuuNlwhFfJnR0zewlF.F3eYXFK1CdawXmDDey2BIcihz7B6Ey5n.2',NULL,'2021-09-28 18:29:04','2021-09-28 18:29:04'),(161,'خالد القرني','qarni_khalid@hotmail.com',NULL,'$2y$10$g8pQE7d5uYq7P/PJBZbTw.C683MGqHAsoPuyVOmvR5oZFXlHjNe9e',NULL,'2021-09-29 03:30:44','2021-09-29 03:30:44'),(162,'سعد سالم سعد القصيمي','Saad0594747@gmail.com',NULL,'$2y$10$whutEy/8FZCblYT0yphoaeXWoX9HcUaUHj7yQs3v5OBz8uWZMzvdK',NULL,'2021-09-29 05:11:13','2021-09-29 05:11:13'),(163,'محمد السالم','mohammeed112@hotmail.com',NULL,'$2y$10$kEWv7s6gPmm88IQi0EN3oecxBocgvdKAUtK40s1MG8k2dlrpZU2Ra',NULL,'2021-10-01 09:58:28','2021-10-01 09:58:28'),(164,'نوره الشهراني','Norh12@jomail.com',NULL,'$2y$10$eYlOEDSMneZQ6cycxMH7y.Zm.IxklQQilfEzvifo6GDY4gmlIqUd2',NULL,'2021-10-03 00:02:36','2021-10-03 00:02:36'),(165,'حسن','saher135@hotmail.com',NULL,'$2y$10$C54OsxNeBOyCjxpJF1RiyONuLPjOt2OEhFDwWegzvVeBkAig9yq6a',NULL,'2021-10-03 13:16:03','2021-10-03 13:16:03'),(166,'علي عبدالله العطوي','aliatwi2021@gmail.com',NULL,'$2y$10$NnkJw6.S6HoZmx7UrngIqepemNMWsOcADjvdm5UyGOJ/5thl3M3Ui',NULL,'2021-10-04 06:59:56','2021-10-04 06:59:56'),(167,'Mrs. Celestine Simonis','kerry@westernaccountingtax.com',NULL,'$2y$10$mff5Ohh1HKPi/LkJ8.bLaOf5iTKhDmotAD2Ugtr8aWr.O5hCQyje6',NULL,'2021-10-04 17:41:55','2021-10-04 17:41:55'),(168,'صالح','Ssaud8526@gmail.com',NULL,'$2y$10$QZQBAAn/UGsais4dt9qq8.EkzkBy8m6DDCziixc8cakkLgptp8B/e',NULL,'2021-10-05 09:24:26','2021-10-05 09:24:26'),(169,'بدر البلوشي','balbloshi11@gmail.com',NULL,'$2y$10$5J8/S3Temf3ho4RLdZsbPeXW8seKkzNGr3D5GnQD5YozRI9mlWsmi',NULL,'2021-10-05 23:52:57','2021-10-05 23:52:57'),(170,'خالد الوازعي','klhalisssasriksa@gmail.com',NULL,'$2y$10$DyuMoRcf.CuWb37GWt0fLudo8ctpJFA6pZpzKWUXW0enhfEIhdsZ2',NULL,'2021-10-06 14:59:42','2021-10-06 14:59:42'),(171,'ابو بدر','fhd4309@gmail.com',NULL,'$2y$10$1uhGdtlEAeiS4qRw3yhXW.m/Six0tNbr4Zvlo69mXqh3DAxuZrVka',NULL,'2021-10-07 04:16:06','2021-10-07 04:16:06'),(172,'Mrs. Leon Nader','huntinsonny@yahoo.com',NULL,'$2y$10$OxgBQmH9.JF6jeEqWZepaOKCpbjdUrO5yJBUyp4pPLZ5z7ZRhLHX6',NULL,'2021-10-07 05:04:21','2021-10-07 05:04:21'),(173,'Yosif','yyosif14@hotmail.com',NULL,'$2y$10$aHd873lc28GT.Cj3QSUqluCAt9f.mBPnAgdbxbRctbd7d9eEt43QK',NULL,'2021-10-07 11:39:55','2021-10-07 11:39:55'),(174,'سعيد','salaseri2@gmail.com',NULL,'$2y$10$H0shk3dtuUQ4oCDACePOH.AjM0IxvcEz.EFimbQ6Uaw87zMa1lh3.',NULL,'2021-10-07 14:19:34','2021-10-07 14:19:34'),(175,'خالدسالم','ks008647@gmail.com',NULL,'$2y$10$oLnJ.WhZyTqVRUyFVc7EQOTbj8wp7OS.OjdnfFICJuDiIBdC2r.Rq',NULL,'2021-10-08 00:11:32','2021-10-08 00:11:32'),(176,'عهود','alsaudohoud@gmail.com',NULL,'$2y$10$ITK5a9xmMmyZrdCkj/OK1O18QIh69sT3QA7TCV/DdQ86mpg84ORy.',NULL,'2021-10-08 08:22:03','2021-10-08 08:22:03'),(177,'ابتسام','basoma_ksa@hotmail.com',NULL,'$2y$10$k7g4ulGp5pfhp7C/xPG3nORGrFh3uaQekMacm8ooRJdNHRkzTMIDS',NULL,'2021-10-09 20:18:52','2021-10-09 20:18:52'),(178,'نايف','nayf83500@gmail.com',NULL,'$2y$10$7V9LpvpwXl5WbT59xvoj2eSy0Zh4mZ3KRWhGGmTScUEk6zqujq7vu',NULL,'2021-10-13 19:22:22','2021-10-13 19:22:22'),(179,'ملهي عبدالله دوشي','m.abdullh000@gmail.com',NULL,'$2y$10$ASAG7DCILpd3WF5dbvILgOqrEF.PNC8MoWQsz4jXBTy265SSeH1zG','jymfzX6DxMS1kYOvFGjLtD2CI59GlA9hGzNzzBNC7jS4RlKm9sYHyjb92SAD','2021-10-13 21:04:51','2021-10-13 21:04:51'),(180,'خالد عبدالله المقرن','k918886@gmail.com',NULL,'$2y$10$54W4FYaZc.agHwmCi3aWHeu7GkwCpRErZfHDoQYDPX.INxoWttESa',NULL,'2021-10-13 22:26:20','2021-10-13 22:26:20'),(181,'شروق بنت محمد الجيزاني','fahad242322@hotmail.com',NULL,'$2y$10$m.iOL69TVwJDvXAQsdl/o.zUnYC3R47iWz5G/2ydydj.QU009dmKW',NULL,'2021-10-13 22:36:04','2021-10-13 22:36:04'); /*!40000 ALTER TABLE `users` ENABLE KEYS */; UNLOCK TABLES; DROP TABLE IF EXISTS `video_categories`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `video_categories` ( `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; LOCK TABLES `video_categories` WRITE; /*!40000 ALTER TABLE `video_categories` DISABLE KEYS */; INSERT INTO `video_categories` VALUES (1,'الحلول والدعم الفني','2020-11-24 15:10:32','2020-11-24 15:10:32'),(2,'المنتجات والخدمات','2020-11-24 15:10:43','2020-11-24 15:10:43'); /*!40000 ALTER TABLE `video_categories` ENABLE KEYS */; UNLOCK TABLES; DROP TABLE IF EXISTS `videos`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `videos` ( `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, `title` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `slug` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `video_category_id` bigint(20) unsigned NOT NULL, `url` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `description` mediumtext COLLATE utf8mb4_unicode_ci DEFAULT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, PRIMARY KEY (`id`), UNIQUE KEY `videos_slug_unique` (`slug`), KEY `videos_video_category_id_foreign` (`video_category_id`), CONSTRAINT `videos_video_category_id_foreign` FOREIGN KEY (`video_category_id`) REFERENCES `video_categories` (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=10 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; LOCK TABLES `videos` WRITE; /*!40000 ALTER TABLE `videos` DISABLE KEYS */; INSERT INTO `videos` VALUES (1,'اعادة ضبط المصنع لاجهزة العرض والتسجيل','اعادة-ضبط-المصنع-لاجهزة-العرض-والتسجيل',1,'https://www.youtube.com/watch?v=fXfxstPNOi8&t=2s',NULL,'2020-11-24 15:11:10','2020-11-24 15:11:10'),(2,'طريقة ربط مقوي الشبكة tp-link','طريقة-ربط-مقوي-الشبكة-tp-link',1,'https://www.youtube.com/watch?v=g1jcQLsX35g',NULL,'2020-11-24 15:15:38','2020-11-24 15:15:38'),(4,'برمجة الداش كامير وتتبع المركبات','برمجة-الداش-كامير-وتتبع-المركبات',1,'https://www.youtube.com/watch?v=9z--X1Ut3rE',NULL,'2020-12-16 09:42:01','2020-12-16 09:42:01'),(5,'فتح صندوق وبرمجة كاميرا الواي فاي','فتح-صندوق-وبرمجة-كاميرا-الواي-فاي',2,'https://www.youtube.com/watch?v=UGzS4i284C4&t=28s',NULL,'2021-05-20 08:12:02','2021-05-20 08:12:02'),(6,'طريقة ربط مقوي الشبكة D-link','طريقة-ربط-مقوي-الشبكة-d-link',1,'https://www.youtube.com/watch?v=7rCILrtKvfs&t=23s',NULL,'2021-05-20 08:13:39','2021-05-20 08:13:39'),(7,'طريقة ربط كاميرات المراقبة على الجوال','طريقة-ربط-كاميرات-المراقبة-على-الجوال',1,'https://www.youtube.com/watch?v=4mUZFiUgUcM&t=4s',NULL,'2021-05-20 08:28:57','2021-05-20 08:28:57'),(8,'الفروقات في دقة كاميرات الديجتل','الفروقات-في-دقة-كاميرات-الديجتل',2,'https://www.youtube.com/watch?v=-FdaIr23lBY&t=3s',NULL,'2021-05-20 09:02:53','2021-05-20 09:02:53'),(9,'طريقة سحب المقاطع من كاميرات المراقبة','طريقة-سحب-المقاطع-من-كاميرات-المراقبة',1,'https://www.youtube.com/watch?v=y3vX3pqKR0U&t=5s',NULL,'2021-05-20 09:05:42','2021-05-20 09:05:42'); /*!40000 ALTER TABLE `videos` ENABLE KEYS */; UNLOCK TABLES; DROP TABLE IF EXISTS `visits`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `visits` ( `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, `primary_key` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `secondary_key` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `score` bigint(20) unsigned NOT NULL, `list` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL, `expired_at` timestamp NULL DEFAULT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, PRIMARY KEY (`id`), UNIQUE KEY `visits_primary_key_secondary_key_unique` (`primary_key`,`secondary_key`) ) ENGINE=InnoDB AUTO_INCREMENT=303 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; LOCK TABLES `visits` WRITE; /*!40000 ALTER TABLE `visits` DISABLE KEYS */; INSERT INTO `visits` VALUES (1,'visits:news_visits_day_total',NULL,2,NULL,'2021-10-14 00:00:00','2020-08-15 06:54:42','2021-10-13 22:48:54'),(2,'visits:news_visits_day','0',0,NULL,'2021-10-14 00:00:00','2020-08-15 06:54:42','2021-10-13 22:48:54'),(3,'visits:news_visits_week_total',NULL,8,NULL,'2021-10-18 00:00:00','2020-08-15 06:54:42','2021-10-13 22:48:54'),(4,'visits:news_visits_week','0',0,NULL,'2021-10-18 00:00:00','2020-08-15 06:54:42','2021-10-13 22:48:54'),(5,'visits:news_visits_month_total',NULL,40,NULL,'2021-11-01 00:00:00','2020-08-15 06:54:42','2021-10-13 22:48:54'),(6,'visits:news_visits_month','0',0,NULL,'2021-11-01 00:00:00','2020-08-15 06:54:42','2021-10-13 22:48:54'),(7,'visits:news_visits_year_total',NULL,199,NULL,'2022-01-01 00:00:00','2020-08-15 06:54:42','2021-10-13 22:48:54'),(8,'visits:news_visits_year','0',0,NULL,'2022-01-01 00:00:00','2020-08-15 06:54:42','2021-10-13 22:48:54'),(9,'visits:news_visits_recorded_ips:2:188.248.32.56',NULL,1,NULL,'2020-08-15 07:09:42','2020-08-15 06:54:42','2020-08-15 06:54:42'),(10,'visits:news_visits','2',156,NULL,NULL,'2020-08-15 06:54:42','2021-10-13 16:07:58'),(11,'visits:news_visits_total',NULL,238,NULL,NULL,'2020-08-15 06:54:42','2021-10-13 16:07:58'),(12,'visits:news_visits_countries:2','sa',128,NULL,NULL,'2020-08-15 06:54:42','2021-10-13 16:07:58'),(13,'visits:news_visits_referers:2',NULL,156,NULL,NULL,'2020-08-15 06:54:42','2021-10-13 16:07:58'),(14,'visits:news_visits_day','2',2,NULL,'2021-10-14 00:00:00','2020-08-15 06:54:42','2021-10-13 22:48:54'),(15,'visits:news_visits_week','2',4,NULL,'2021-10-18 00:00:00','2020-08-15 06:54:42','2021-10-13 22:48:54'),(16,'visits:news_visits_month','2',11,NULL,'2021-11-01 00:00:00','2020-08-15 06:54:42','2021-10-13 22:48:54'),(17,'visits:news_visits_year','2',117,NULL,'2022-01-01 00:00:00','2020-08-15 06:54:42','2021-10-13 22:48:54'),(18,'visits:news_visits_OSes:2','Windows',46,NULL,NULL,'2020-08-15 06:54:42','2021-09-30 10:23:04'),(19,'visits:news_visits_languages:2','en',47,NULL,NULL,'2020-08-15 06:54:42','2021-10-03 11:37:29'),(20,'visits:news_visits_recorded_ips:2:45.241.177.37',NULL,1,NULL,'2020-08-16 18:14:51','2020-08-16 17:59:51','2020-08-16 17:59:51'),(21,'visits:news_visits_countries:2','eg',6,NULL,NULL,'2020-08-16 17:59:51','2021-03-31 13:08:07'),(22,'visits:news_visits_recorded_ips:2:197.162.114.24',NULL,1,NULL,'2020-08-18 13:55:09','2020-08-18 13:40:09','2020-08-18 13:40:09'),(23,'visits:news_visits_recorded_ips:2:194.33.68.102',NULL,1,NULL,'2020-08-23 15:34:11','2020-08-23 15:19:11','2020-08-23 15:19:11'),(24,'visits:news_visits_recorded_ips:2:197.162.122.93',NULL,1,NULL,'2020-08-28 14:45:21','2020-08-28 14:30:21','2020-08-28 14:30:21'),(25,'visits:news_visits_recorded_ips:2:78.95.145.70',NULL,1,NULL,'2020-09-01 06:57:46','2020-09-01 06:42:46','2020-09-01 06:42:46'),(26,'visits:news_visits_recorded_ips:2:41.130.130.34',NULL,1,NULL,'2020-09-07 09:49:02','2020-09-07 09:34:02','2020-09-07 09:34:02'),(27,'visits:news_visits_recorded_ips:2:78.95.34.61',NULL,1,NULL,'2020-09-07 10:19:20','2020-09-07 10:04:20','2020-09-07 10:04:20'),(28,'visits:news_visits_recorded_ips:2:82.80.249.158',NULL,1,NULL,'2020-09-12 19:02:53','2020-09-12 18:47:53','2020-09-12 18:47:53'),(29,'visits:news_visits_countries:2','il',2,NULL,NULL,'2020-09-12 18:47:53','2021-07-27 19:05:47'),(30,'visits:news_visits_languages:2',NULL,15,NULL,NULL,'2020-09-12 18:47:53','2021-09-30 19:10:08'),(31,'visits:news_visits_recorded_ips:2:5.132.221.64',NULL,1,NULL,'2020-09-24 10:57:12','2020-09-24 10:42:12','2020-09-24 10:42:12'),(32,'visits:news_visits_OSes:2','iPhone',78,NULL,NULL,'2020-09-24 10:42:12','2021-10-13 09:11:33'),(33,'visits:news_visits_languages:2','ar',93,NULL,NULL,'2020-09-24 10:42:12','2021-10-13 16:07:58'),(34,'visits:news_visits_recorded_ips:2:78.95.83.84',NULL,1,NULL,'2020-09-26 19:43:59','2020-09-26 19:28:59','2020-09-26 19:28:59'),(35,'visits:news_visits_OSes:2','AndroidMobile',25,NULL,NULL,'2020-09-26 19:28:59','2021-10-13 16:07:58'),(36,'visits:news_visits_recorded_ips:2:51.36.62.223',NULL,1,NULL,'2020-09-29 07:10:14','2020-09-29 06:55:14','2020-09-29 06:55:14'),(37,'visits:news_visits_recorded_ips:2:5.156.205.200',NULL,1,NULL,'2020-10-07 03:11:42','2020-10-07 02:56:42','2020-10-07 02:56:42'),(38,'visits:news_visits_recorded_ips:2:37.202.102.127',NULL,1,NULL,'2020-10-08 11:39:08','2020-10-08 11:24:08','2020-10-08 11:24:08'),(39,'visits:news_visits_countries:2','jo',1,NULL,NULL,'2020-10-08 11:24:08','2020-10-08 11:24:08'),(40,'visits:news_visits_recorded_ips:2:51.253.41.6',NULL,1,NULL,'2020-10-08 17:11:56','2020-10-08 16:56:56','2020-10-08 16:56:56'),(41,'visits:news_visits_recorded_ips:2:51.253.25.63',NULL,1,NULL,'2020-10-10 05:09:08','2020-10-10 04:54:08','2020-10-10 04:54:08'),(42,'visits:news_visits_recorded_ips:2:78.95.4.222',NULL,1,NULL,'2020-10-13 14:00:05','2020-10-13 13:45:05','2020-10-13 13:45:05'),(43,'visits:news_visits_recorded_ips:2:93.168.40.173',NULL,1,NULL,'2020-10-13 15:20:02','2020-10-13 15:05:02','2020-10-13 15:05:02'),(44,'visits:news_visits_recorded_ips:2:78.95.58.156',NULL,1,NULL,'2020-10-26 07:39:25','2020-10-26 07:24:25','2020-10-26 07:24:25'),(45,'visits:news_visits_recorded_ips:2:78.95.249.210',NULL,1,NULL,'2020-10-27 01:44:39','2020-10-27 01:29:39','2020-10-27 01:29:39'),(46,'visits:news_visits_OSes:2','MacOS',6,NULL,NULL,'2020-10-27 01:29:39','2021-09-30 19:10:08'),(47,'visits:news_visits_recorded_ips:2:37.105.255.103',NULL,1,NULL,'2020-10-29 10:11:22','2020-10-29 09:56:22','2020-10-29 09:56:22'),(48,'visits:news_visits_recorded_ips:2:95.184.82.133',NULL,1,NULL,'2020-10-30 20:41:39','2020-10-30 20:26:39','2020-10-30 20:26:39'),(49,'visits:news_visits_recorded_ips:2:188.51.59.163',NULL,1,NULL,'2020-11-10 10:53:34','2020-11-10 10:38:34','2020-11-10 10:38:34'),(50,'visits:news_visits_recorded_ips:2:37.42.136.91',NULL,1,NULL,'2020-11-21 22:34:53','2020-11-21 22:19:53','2020-11-21 22:19:53'),(51,'visits:news_visits_recorded_ips:2:78.95.116.83',NULL,1,NULL,'2020-11-22 23:42:08','2020-11-22 23:27:08','2020-11-22 23:27:08'),(52,'visits:news_visits_recorded_ips:2:151.255.148.35',NULL,1,NULL,'2020-11-23 15:37:07','2020-11-23 15:22:07','2020-11-23 15:22:07'),(53,'visits:news_visits_recorded_ips:2:2.88.94.22',NULL,1,NULL,'2020-11-29 12:38:53','2020-11-29 12:23:53','2020-11-29 12:23:53'),(54,'visits:news_visits_recorded_ips:2:94.98.237.206',NULL,1,NULL,'2020-12-01 19:48:23','2020-12-01 19:33:23','2020-12-01 19:33:23'),(55,'visits:news_visits_recorded_ips:2:95.185.184.152',NULL,1,NULL,'2020-12-09 21:39:12','2020-12-09 21:24:12','2020-12-09 21:24:12'),(56,'visits:news_visits_recorded_ips:2:51.235.132.177',NULL,1,NULL,'2020-12-09 22:11:49','2020-12-09 21:56:49','2020-12-09 21:56:49'),(57,'visits:news_visits_recorded_ips:2:78.95.68.78',NULL,1,NULL,'2020-12-20 08:08:09','2020-12-20 07:53:09','2020-12-20 07:53:09'),(58,'visits:news_visits_recorded_ips:2:46.153.156.37',NULL,1,NULL,'2020-12-22 23:16:00','2020-12-22 23:01:00','2020-12-22 23:01:00'),(59,'visits:news_visits_recorded_ips:2:37.43.166.197',NULL,1,NULL,'2020-12-23 01:02:18','2020-12-23 00:47:18','2020-12-23 00:47:18'),(60,'visits:news_visits_recorded_ips:2:78.95.196.73',NULL,1,NULL,'2020-12-28 23:44:27','2020-12-28 23:29:27','2020-12-28 23:29:27'),(61,'visits:news_visits_recorded_ips:2:79.170.125.34',NULL,1,NULL,'2020-12-29 10:04:28','2020-12-29 09:49:28','2020-12-29 09:49:28'),(62,'visits:news_visits_recorded_ips:2:93.168.37.152',NULL,1,NULL,'2020-12-29 18:35:27','2020-12-29 18:20:27','2020-12-29 18:20:27'),(63,'visits:news_visits_recorded_ips:2:37.107.86.186',NULL,1,NULL,'2020-12-30 02:16:21','2020-12-30 02:01:21','2020-12-30 02:01:21'),(64,'visits:news_visits_recorded_ips:2:78.95.195.154',NULL,1,NULL,'2021-01-07 11:03:42','2021-01-07 10:48:42','2021-01-07 10:48:42'),(65,'visits:news_visits_recorded_ips:2:51.253.119.171',NULL,1,NULL,'2021-01-09 21:07:33','2021-01-09 20:52:33','2021-01-09 20:52:33'),(66,'visits:news_visits_recorded_ips:2:5.156.207.204',NULL,1,NULL,'2021-01-11 12:20:44','2021-01-11 12:05:44','2021-01-11 12:05:44'),(67,'visits:news_visits_recorded_ips:2:5.132.220.170',NULL,1,NULL,'2021-01-13 06:48:21','2021-01-13 06:33:21','2021-01-13 06:33:21'),(68,'visits:news_visits_recorded_ips:2:136.243.74.196',NULL,1,NULL,'2021-01-15 11:21:26','2021-01-15 11:06:26','2021-01-15 11:06:26'),(69,'visits:news_visits_countries:2','de',4,NULL,NULL,'2021-01-15 11:06:26','2021-04-09 21:53:35'),(70,'visits:news_visits_recorded_ips:2:176.18.133.129',NULL,1,NULL,'2021-01-16 20:53:56','2021-01-16 20:38:56','2021-01-16 20:38:56'),(71,'visits:news_visits_recorded_ips:2:95.186.76.99',NULL,1,NULL,'2021-01-17 09:41:41','2021-01-17 09:26:41','2021-01-17 09:26:41'),(72,'visits:news_visits_recorded_ips:2:94.98.202.184',NULL,1,NULL,'2021-01-28 23:29:20','2021-01-28 23:14:20','2021-01-28 23:14:20'),(73,'visits:news_visits_recorded_ips:2:188.53.30.42',NULL,1,NULL,'2021-01-29 18:07:49','2021-01-29 17:52:49','2021-01-29 17:52:49'),(74,'visits:news_visits_recorded_ips:2:93.169.27.45',NULL,1,NULL,'2021-01-31 08:48:22','2021-01-31 08:33:22','2021-01-31 08:33:22'),(75,'visits:news_visits_recorded_ips:2:197.167.45.237',NULL,1,NULL,'2021-01-31 10:01:34','2021-01-31 09:46:34','2021-01-31 09:46:34'),(76,'visits:news_visits_recorded_ips:2:93.168.111.80',NULL,1,NULL,'2021-02-04 15:28:20','2021-02-04 15:13:20','2021-02-04 15:13:20'),(77,'visits:news_visits_recorded_ips:2:151.254.153.9',NULL,1,NULL,'2021-02-04 22:31:55','2021-02-04 22:16:55','2021-02-04 22:16:55'),(78,'visits:news_visits_recorded_ips:2:185.119.81.110',NULL,1,NULL,'2021-02-06 04:10:33','2021-02-06 03:55:33','2021-02-06 03:55:33'),(79,'visits:news_visits_countries:2','tr',10,NULL,NULL,'2021-02-06 03:55:33','2021-06-04 07:45:28'),(80,'visits:news_visits_recorded_ips:2:93.169.112.54',NULL,1,NULL,'2021-02-10 12:47:51','2021-02-10 12:32:51','2021-02-10 12:32:51'),(81,'visits:news_visits_recorded_ips:2:78.95.49.254',NULL,1,NULL,'2021-02-10 19:18:36','2021-02-10 19:03:36','2021-02-10 19:03:36'),(82,'visits:news_visits_recorded_ips:2:77.30.91.124',NULL,1,NULL,'2021-02-11 23:56:55','2021-02-11 23:41:55','2021-02-11 23:41:55'),(83,'visits:news_visits_recorded_ips:2:151.254.105.252',NULL,1,NULL,'2021-02-14 19:20:24','2021-02-14 19:05:24','2021-02-14 19:05:24'),(84,'visits:news_visits_recorded_ips:2:77.30.206.134',NULL,1,NULL,'2021-02-17 13:33:37','2021-02-17 13:18:37','2021-02-17 13:18:37'),(85,'visits:news_visits_recorded_ips:2:95.187.225.124',NULL,1,NULL,'2021-02-20 09:52:36','2021-02-20 09:37:36','2021-02-20 09:37:36'),(86,'visits:news_visits_recorded_ips:2:46.38.68.150',NULL,1,NULL,'2021-02-20 11:59:43','2021-02-20 11:44:43','2021-02-20 11:44:43'),(87,'visits:news_visits_recorded_ips:2:128.204.242.84',NULL,1,NULL,'2021-02-26 17:24:12','2021-02-26 17:09:12','2021-02-26 17:09:12'),(88,'visits:news_visits_recorded_ips:2:78.95.156.180',NULL,1,NULL,'2021-02-28 03:11:59','2021-02-28 02:56:59','2021-02-28 02:56:59'),(89,'visits:news_visits_recorded_ips:2:151.255.131.232',NULL,1,NULL,'2021-03-01 22:38:17','2021-03-01 22:23:17','2021-03-01 22:23:17'),(90,'visits:news_visits_recorded_ips:2:5.109.13.33',NULL,1,NULL,'2021-03-03 14:06:56','2021-03-03 13:51:56','2021-03-03 13:51:56'),(91,'visits:news_visits_recorded_ips:2:78.95.181.14',NULL,1,NULL,'2021-03-07 01:28:27','2021-03-07 01:13:27','2021-03-07 01:13:27'),(92,'visits:news_visits_recorded_ips:2:176.44.114.5',NULL,1,NULL,'2021-03-10 02:05:01','2021-03-10 01:50:01','2021-03-10 01:50:01'),(93,'visits:news_visits_recorded_ips:2:95.172.92.95',NULL,1,NULL,'2021-03-13 10:48:17','2021-03-13 10:33:17','2021-03-13 10:33:17'),(94,'visits:news_visits_recorded_ips:2:188.48.219.220',NULL,1,NULL,'2021-03-17 14:03:38','2021-03-17 13:48:38','2021-03-17 13:48:38'),(95,'visits:news_visits_recorded_ips:2:54.36.118.49',NULL,1,NULL,'2021-03-17 20:26:05','2021-03-17 20:11:05','2021-03-17 20:11:05'),(96,'visits:news_visits_recorded_ips:2:51.39.226.206',NULL,1,NULL,'2021-03-27 06:26:12','2021-03-27 06:11:12','2021-03-27 06:11:12'),(97,'visits:news_visits_recorded_ips:2:109.82.221.101',NULL,1,NULL,'2021-03-27 19:37:17','2021-03-27 19:22:17','2021-03-27 19:22:17'),(98,'visits:news_visits_recorded_ips:2:95.184.79.93',NULL,1,NULL,'2021-03-28 09:03:51','2021-03-28 08:48:51','2021-03-28 08:48:51'),(99,'visits:news_visits_recorded_ips:2:94.49.4.249',NULL,1,NULL,'2021-03-29 20:19:11','2021-03-29 20:04:11','2021-03-29 20:04:11'),(100,'visits:news_visits_recorded_ips:2:197.167.39.207',NULL,1,NULL,'2021-03-31 13:23:07','2021-03-31 13:08:07','2021-03-31 13:08:07'),(101,'visits:news_visits_recorded_ips:2:87.101.193.108',NULL,1,NULL,'2021-04-03 03:21:02','2021-04-03 03:06:02','2021-04-03 03:06:02'),(102,'visits:news_visits_recorded_ips:2:159.0.213.132',NULL,1,NULL,'2021-04-03 12:59:05','2021-04-03 12:44:05','2021-04-03 12:44:05'),(103,'visits:news_visits_recorded_ips:2:78.95.5.151',NULL,1,NULL,'2021-04-03 17:05:24','2021-04-03 16:50:24','2021-04-03 16:50:24'),(104,'visits:news_visits_recorded_ips:2:109.82.205.125',NULL,1,NULL,'2021-04-03 17:31:08','2021-04-03 17:16:08','2021-04-03 17:16:08'),(105,'visits:news_visits_recorded_ips:2:37.42.133.83',NULL,1,NULL,'2021-04-05 08:57:48','2021-04-05 08:42:48','2021-04-05 08:42:48'),(106,'visits:news_visits_recorded_ips:2:180.234.32.132',NULL,1,NULL,'2021-04-07 09:56:16','2021-04-07 09:41:16','2021-04-07 09:41:16'),(107,'visits:news_visits_recorded_ips:2:37.42.186.85',NULL,1,NULL,'2021-04-08 17:20:16','2021-04-08 17:05:16','2021-04-08 17:05:16'),(108,'visits:news_visits_recorded_ips:2:51.68.180.175',NULL,1,NULL,'2021-04-09 22:08:35','2021-04-09 21:53:35','2021-04-09 21:53:35'),(109,'visits:news_visits_recorded_ips:2:51.253.21.196',NULL,1,NULL,'2021-05-03 14:34:47','2021-05-03 14:19:47','2021-05-03 14:19:47'),(110,'visits:news_visits_recorded_ips:2:51.235.157.68',NULL,1,NULL,'2021-05-04 00:43:44','2021-05-04 00:28:44','2021-05-04 00:28:44'),(111,'visits:news_visits_recorded_ips:2:78.95.137.170',NULL,1,NULL,'2021-05-06 07:47:53','2021-05-06 07:32:53','2021-05-06 07:32:53'),(112,'visits:news_visits_recorded_ips:2:51.36.61.109',NULL,1,NULL,'2021-05-10 05:19:07','2021-05-10 05:04:07','2021-05-10 05:04:07'),(113,'visits:news_visits_recorded_ips:2:78.95.86.246',NULL,1,NULL,'2021-05-14 06:12:41','2021-05-14 05:57:41','2021-05-14 05:57:41'),(114,'visits:news_visits_recorded_ips:2:213.166.153.14',NULL,1,NULL,'2021-05-17 15:45:58','2021-05-17 15:30:58','2021-05-17 15:30:58'),(115,'visits:news_visits_recorded_ips:2:94.49.17.234',NULL,1,NULL,'2021-05-22 07:10:10','2021-05-22 06:55:10','2021-05-22 06:55:10'),(116,'visits:news_visits_recorded_ips:2:95.185.171.120',NULL,1,NULL,'2021-05-28 19:09:29','2021-05-28 18:54:29','2021-05-28 18:54:29'),(117,'visits:news_visits_recorded_ips:2:51.36.221.181',NULL,1,NULL,'2021-06-05 17:32:47','2021-06-05 17:17:47','2021-06-05 17:17:47'),(118,'visits:news_visits_recorded_ips:2:51.223.242.163',NULL,1,NULL,'2021-06-10 16:55:29','2021-06-10 16:40:29','2021-06-10 16:40:29'),(119,'visits:news_visits_recorded_ips:2:51.252.108.126',NULL,1,NULL,'2021-06-12 10:38:50','2021-06-12 10:23:50','2021-06-12 10:23:50'),(120,'visits:news_visits_recorded_ips:2:95.185.150.81',NULL,1,NULL,'2021-06-14 18:16:46','2021-06-14 18:01:46','2021-06-14 18:01:46'),(121,'visits:news_visits_recorded_ips:2:51.39.231.81',NULL,1,NULL,'2021-06-20 11:18:22','2021-06-20 11:03:22','2021-06-20 11:03:22'),(122,'visits:news_visits_recorded_ips:2:78.95.87.253',NULL,1,NULL,'2021-06-22 02:07:41','2021-06-22 01:52:41','2021-06-22 01:52:41'),(123,'visits:news_visits_recorded_ips:2:93.178.19.243',NULL,1,NULL,'2021-06-22 16:45:55','2021-06-22 16:30:55','2021-06-22 16:30:55'),(124,'visits:news_visits_recorded_ips:2:93.168.127.81',NULL,1,NULL,'2021-06-27 00:42:05','2021-06-27 00:27:05','2021-06-27 00:27:05'),(125,'visits:news_visits_recorded_ips:2:95.184.53.148',NULL,1,NULL,'2021-06-27 23:10:57','2021-06-27 22:55:57','2021-06-27 22:55:57'),(126,'visits:news_visits_recorded_ips:2:198.27.97.229',NULL,1,NULL,'2021-06-28 06:30:36','2021-06-28 06:15:36','2021-06-28 06:15:36'),(127,'visits:news_visits_countries:2','ca',1,NULL,NULL,'2021-06-28 06:15:36','2021-06-28 06:15:36'),(128,'visits:news_visits_recorded_ips:2:51.36.1.8',NULL,1,NULL,'2021-07-02 19:21:12','2021-07-02 19:06:12','2021-07-02 19:06:12'),(129,'visits:news_visits_recorded_ips:2:51.39.48.219',NULL,1,NULL,'2021-07-03 12:14:14','2021-07-03 11:59:14','2021-07-03 11:59:14'),(130,'visits:news_visits_recorded_ips:2:51.253.119.231',NULL,1,NULL,'2021-07-08 10:23:53','2021-07-08 10:08:53','2021-07-08 10:08:53'),(131,'visits:news_visits_recorded_ips:2:93.168.45.155',NULL,1,NULL,'2021-07-27 16:05:44','2021-07-27 15:50:44','2021-07-27 15:50:44'),(132,'visits:news_visits_recorded_ips:2:82.80.249.159',NULL,1,NULL,'2021-07-27 19:20:47','2021-07-27 19:05:47','2021-07-27 19:05:47'),(133,'visits:news_visits_recorded_ips:2:129.208.118.172',NULL,1,NULL,'2021-08-09 09:42:27','2021-08-09 09:27:27','2021-08-09 09:27:27'),(134,'visits:news_visits_recorded_ips:2:216.137.184.155',NULL,1,NULL,'2021-08-09 09:45:58','2021-08-09 09:30:58','2021-08-09 09:30:58'),(135,'visits:news_visits_countries:2','sg',1,NULL,NULL,'2021-08-09 09:30:58','2021-08-09 09:30:58'),(136,'visits:news_visits_OSes:2','unknown',1,NULL,NULL,'2021-08-09 09:30:59','2021-08-09 09:30:59'),(137,'visits:news_visits_recorded_ips:2:95.184.4.187',NULL,1,NULL,'2021-08-09 09:46:48','2021-08-09 09:31:48','2021-08-09 09:31:48'),(138,'visits:news_visits_recorded_ips:2:51.252.32.67',NULL,1,NULL,'2021-08-09 09:47:39','2021-08-09 09:32:39','2021-08-09 09:32:39'),(139,'visits:news_visits_recorded_ips:2:51.252.53.146',NULL,1,NULL,'2021-08-09 10:21:01','2021-08-09 10:06:01','2021-08-09 10:06:01'),(140,'visits:news_visits_languages:2','ars',1,NULL,NULL,'2021-08-09 10:06:01','2021-08-09 10:06:01'),(141,'visits:news_visits_recorded_ips:2:188.49.119.68',NULL,1,NULL,'2021-08-09 15:15:59','2021-08-09 15:00:59','2021-08-09 15:00:59'),(142,'visits:news_visits_recorded_ips:3:129.208.118.172',NULL,1,NULL,'2021-08-10 07:43:14','2021-08-10 07:28:14','2021-08-10 07:28:14'),(143,'visits:news_visits','3',31,NULL,NULL,'2021-08-10 07:28:14','2021-10-12 13:20:48'),(144,'visits:news_visits_countries:3','sa',29,NULL,NULL,'2021-08-10 07:28:14','2021-10-12 13:20:48'),(145,'visits:news_visits_referers:3',NULL,31,NULL,NULL,'2021-08-10 07:28:14','2021-10-12 13:20:48'),(146,'visits:news_visits_day','3',1,NULL,'2021-10-13 00:00:00','2021-08-10 07:28:14','2021-10-12 21:27:15'),(147,'visits:news_visits_week','3',2,NULL,'2021-10-18 00:00:00','2021-08-10 07:28:14','2021-10-13 22:48:54'),(148,'visits:news_visits_month','3',10,NULL,'2021-11-01 00:00:00','2021-08-10 07:28:14','2021-10-13 22:48:54'),(149,'visits:news_visits_year','3',31,NULL,'2022-01-01 00:00:00','2021-08-10 07:28:14','2021-10-13 22:48:54'),(150,'visits:news_visits_OSes:3','Windows',4,NULL,NULL,'2021-08-10 07:28:14','2021-09-13 05:11:15'),(151,'visits:news_visits_languages:3','en',7,NULL,NULL,'2021-08-10 07:28:14','2021-09-13 05:11:15'),(152,'visits:news_visits_recorded_ips:2:109.83.233.95',NULL,1,NULL,'2021-08-11 09:12:18','2021-08-11 08:57:18','2021-08-11 08:57:18'),(153,'visits:news_visits_recorded_ips:4:129.208.118.172',NULL,1,NULL,'2021-08-12 07:57:58','2021-08-12 07:42:58','2021-08-12 07:42:58'),(154,'visits:news_visits','4',46,NULL,NULL,'2021-08-12 07:42:58','2021-10-12 21:25:56'),(155,'visits:news_visits_countries:4','sa',43,NULL,NULL,'2021-08-12 07:42:58','2021-10-12 21:25:56'),(156,'visits:news_visits_referers:4',NULL,46,NULL,NULL,'2021-08-12 07:42:58','2021-10-12 21:25:56'),(157,'visits:news_visits_day','4',2,NULL,'2021-10-13 00:00:00','2021-08-12 07:42:58','2021-10-12 21:27:15'),(158,'visits:news_visits_week','4',2,NULL,'2021-10-18 00:00:00','2021-08-12 07:42:58','2021-10-13 22:48:54'),(159,'visits:news_visits_month','4',14,NULL,'2021-11-01 00:00:00','2021-08-12 07:42:58','2021-10-13 22:48:54'),(160,'visits:news_visits_year','4',46,NULL,'2022-01-01 00:00:00','2021-08-12 07:42:58','2021-10-13 22:48:54'),(161,'visits:news_visits_OSes:4','Windows',6,NULL,NULL,'2021-08-12 07:42:58','2021-09-30 10:21:51'),(162,'visits:news_visits_languages:4','en',10,NULL,NULL,'2021-08-12 07:42:58','2021-10-12 02:33:03'),(163,'visits:news_visits_recorded_ips:2:78.95.50.167',NULL,1,NULL,'2021-08-13 22:19:39','2021-08-13 22:04:39','2021-08-13 22:04:39'),(164,'visits:news_visits_recorded_ips:4:51.253.112.99',NULL,1,NULL,'2021-08-20 10:39:20','2021-08-20 10:24:20','2021-08-20 10:24:20'),(165,'visits:news_visits_OSes:4','MacOS',4,NULL,NULL,'2021-08-20 10:24:20','2021-09-30 19:09:56'),(166,'visits:news_visits_languages:4','ar',35,NULL,NULL,'2021-08-20 10:24:20','2021-10-12 21:25:56'),(167,'visits:news_visits_recorded_ips:2:51.36.228.197',NULL,1,NULL,'2021-08-20 13:55:29','2021-08-20 13:40:29','2021-08-20 13:40:29'),(168,'visits:news_visits_recorded_ips:3:176.45.175.215',NULL,1,NULL,'2021-08-22 05:43:24','2021-08-22 05:28:24','2021-08-22 05:28:24'),(169,'visits:news_visits_recorded_ips:4:51.39.227.72',NULL,1,NULL,'2021-08-23 00:02:52','2021-08-22 23:47:52','2021-08-22 23:47:52'),(170,'visits:news_visits_OSes:4','iPhone',33,NULL,NULL,'2021-08-22 23:47:52','2021-10-12 21:25:56'),(171,'visits:news_visits_recorded_ips:4:95.185.169.126',NULL,1,NULL,'2021-08-23 21:17:10','2021-08-23 21:02:10','2021-08-23 21:02:10'),(172,'visits:news_visits_recorded_ips:2:90.148.149.100',NULL,1,NULL,'2021-08-25 07:40:37','2021-08-25 07:25:37','2021-08-25 07:25:37'),(173,'visits:news_visits_recorded_ips:3:78.95.72.52',NULL,1,NULL,'2021-08-25 18:42:46','2021-08-25 18:27:46','2021-08-25 18:27:46'),(174,'visits:news_visits_OSes:3','iPhone',18,NULL,NULL,'2021-08-25 18:27:46','2021-10-12 13:20:48'),(175,'visits:news_visits_recorded_ips:3:129.208.115.100',NULL,1,NULL,'2021-08-27 00:31:48','2021-08-27 00:16:48','2021-08-27 00:16:48'),(176,'visits:news_visits_recorded_ips:4:95.184.77.191',NULL,1,NULL,'2021-09-01 02:37:17','2021-09-01 02:22:17','2021-09-01 02:22:17'),(177,'visits:news_visits_recorded_ips:4:188.49.170.243',NULL,1,NULL,'2021-09-02 16:37:28','2021-09-02 16:22:28','2021-09-02 16:22:28'),(178,'visits:news_visits_recorded_ips:3:188.49.170.243',NULL,1,NULL,'2021-09-02 16:37:54','2021-09-02 16:22:54','2021-09-02 16:22:54'),(179,'visits:news_visits_languages:3','ar',23,NULL,NULL,'2021-09-02 16:22:54','2021-10-12 13:20:48'),(180,'visits:news_visits_recorded_ips:3:51.36.228.148',NULL,1,NULL,'2021-09-02 18:28:39','2021-09-02 18:13:39','2021-09-02 18:13:39'),(181,'visits:news_visits_recorded_ips:3:78.95.81.14',NULL,1,NULL,'2021-09-02 18:51:10','2021-09-02 18:36:10','2021-09-02 18:36:10'),(182,'visits:news_visits_recorded_ips:4:78.95.81.14',NULL,1,NULL,'2021-09-02 18:51:16','2021-09-02 18:36:16','2021-09-02 18:36:16'),(183,'visits:news_visits_recorded_ips:4:77.232.122.70',NULL,1,NULL,'2021-09-02 23:38:22','2021-09-02 23:23:22','2021-09-02 23:23:22'),(184,'visits:news_visits_recorded_ips:4:51.223.207.234',NULL,1,NULL,'2021-09-03 16:50:39','2021-09-03 16:35:39','2021-09-03 16:35:39'),(185,'visits:news_visits_recorded_ips:4:93.169.219.67',NULL,1,NULL,'2021-09-04 23:19:30','2021-09-04 23:04:30','2021-09-04 23:04:30'),(186,'visits:news_visits_recorded_ips:2:93.169.66.45',NULL,1,NULL,'2021-09-05 14:43:13','2021-09-05 14:28:13','2021-09-05 14:28:13'),(187,'visits:news_visits_recorded_ips:4:188.249.177.253',NULL,1,NULL,'2021-09-05 22:49:09','2021-09-05 22:34:09','2021-09-05 22:34:09'),(188,'visits:news_visits_recorded_ips:4:85.154.222.250',NULL,1,NULL,'2021-09-07 06:19:40','2021-09-07 06:04:40','2021-09-07 06:04:40'),(189,'visits:news_visits_countries:4','om',1,NULL,NULL,'2021-09-07 06:04:40','2021-09-07 06:04:40'),(190,'visits:news_visits_recorded_ips:3:37.104.173.197',NULL,1,NULL,'2021-09-07 18:27:24','2021-09-07 18:12:24','2021-09-07 18:12:24'),(191,'visits:news_visits_recorded_ips:2:37.104.173.197',NULL,1,NULL,'2021-09-07 18:27:32','2021-09-07 18:12:32','2021-09-07 18:12:32'),(192,'visits:news_visits_recorded_ips:3:51.253.74.151',NULL,1,NULL,'2021-09-09 05:32:23','2021-09-09 05:17:23','2021-09-09 05:17:23'),(193,'visits:news_visits_recorded_ips:2:51.253.74.151',NULL,1,NULL,'2021-09-09 05:32:43','2021-09-09 05:17:43','2021-09-09 05:17:43'),(194,'visits:news_visits_recorded_ips:4:94.98.33.0',NULL,1,NULL,'2021-09-09 14:55:06','2021-09-09 14:40:06','2021-09-09 14:40:06'),(195,'visits:news_visits_recorded_ips:3:94.98.33.0',NULL,1,NULL,'2021-09-09 14:55:39','2021-09-09 14:40:39','2021-09-09 14:40:39'),(196,'visits:news_visits_OSes:3','MacOS',3,NULL,NULL,'2021-09-09 14:40:39','2021-09-30 19:09:45'),(197,'visits:news_visits_recorded_ips:2:95.186.176.29',NULL,1,NULL,'2021-09-09 22:02:47','2021-09-09 21:47:47','2021-09-09 21:47:47'),(198,'visits:news_visits_recorded_ips:4:51.252.29.231',NULL,1,NULL,'2021-09-09 22:55:18','2021-09-09 22:40:18','2021-09-09 22:40:18'),(199,'visits:news_visits_recorded_ips:2:93.169.109.114',NULL,1,NULL,'2021-09-11 14:26:04','2021-09-11 14:11:04','2021-09-11 14:11:04'),(200,'visits:news_visits_recorded_ips:4:93.169.109.114',NULL,1,NULL,'2021-09-11 14:26:20','2021-09-11 14:11:20','2021-09-11 14:11:20'),(201,'visits:news_visits_recorded_ips:4:192.151.158.244',NULL,1,NULL,'2021-09-13 05:25:36','2021-09-13 05:10:36','2021-09-13 05:10:36'),(202,'visits:news_visits_countries:4','us',2,NULL,NULL,'2021-09-13 05:10:36','2021-09-30 19:09:56'),(203,'visits:news_visits_recorded_ips:2:192.151.158.244',NULL,1,NULL,'2021-09-13 05:25:48','2021-09-13 05:10:48','2021-09-13 05:10:48'),(204,'visits:news_visits_countries:2','us',2,NULL,NULL,'2021-09-13 05:10:48','2021-09-30 19:10:08'),(205,'visits:news_visits_recorded_ips:3:192.151.158.244',NULL,1,NULL,'2021-09-13 05:26:15','2021-09-13 05:11:15','2021-09-13 05:11:15'),(206,'visits:news_visits_countries:3','us',2,NULL,NULL,'2021-09-13 05:11:15','2021-09-30 19:09:45'),(207,'visits:news_visits_recorded_ips:2:185.19.76.2',NULL,1,NULL,'2021-09-13 12:38:31','2021-09-13 12:23:31','2021-09-13 12:23:31'),(208,'visits:news_visits_countries:2','kw',1,NULL,NULL,'2021-09-13 12:23:31','2021-09-13 12:23:31'),(209,'visits:news_visits_recorded_ips:4:51.252.124.244',NULL,1,NULL,'2021-09-15 23:32:13','2021-09-15 23:17:13','2021-09-15 23:17:13'),(210,'visits:news_visits_recorded_ips:2:5.156.133.182',NULL,1,NULL,'2021-09-17 04:41:36','2021-09-17 04:26:36','2021-09-17 04:26:36'),(211,'visits:news_visits_recorded_ips:4:5.156.133.182',NULL,1,NULL,'2021-09-17 04:42:06','2021-09-17 04:27:06','2021-09-17 04:27:06'),(212,'visits:news_visits_OSes:4','AndroidMobile',3,NULL,NULL,'2021-09-17 04:27:06','2021-10-08 12:07:00'),(213,'visits:news_visits_recorded_ips:4:78.95.140.205',NULL,1,NULL,'2021-09-17 13:03:01','2021-09-17 12:48:01','2021-09-17 12:48:01'),(214,'visits:news_visits_recorded_ips:4:93.168.116.156',NULL,1,NULL,'2021-09-17 18:04:24','2021-09-17 17:49:24','2021-09-17 17:49:24'),(215,'visits:news_visits_recorded_ips:3:176.47.14.40',NULL,1,NULL,'2021-09-17 18:15:40','2021-09-17 18:00:40','2021-09-17 18:00:40'),(216,'visits:news_visits_recorded_ips:2:176.47.14.40',NULL,1,NULL,'2021-09-17 18:15:54','2021-09-17 18:00:54','2021-09-17 18:00:54'),(217,'visits:news_visits_recorded_ips:4:176.47.14.40',NULL,1,NULL,'2021-09-17 18:16:35','2021-09-17 18:01:35','2021-09-17 18:01:35'),(218,'visits:news_visits_recorded_ips:3:188.51.3.185',NULL,1,NULL,'2021-09-18 13:12:30','2021-09-18 12:57:30','2021-09-18 12:57:30'),(219,'visits:news_visits_OSes:3','AndroidMobile',6,NULL,NULL,'2021-09-18 12:57:31','2021-10-11 04:09:38'),(220,'visits:news_visits_recorded_ips:2:93.169.238.25',NULL,1,NULL,'2021-09-18 15:25:40','2021-09-18 15:10:40','2021-09-18 15:10:40'),(221,'visits:news_visits_recorded_ips:3:78.95.236.104',NULL,1,NULL,'2021-09-20 15:25:21','2021-09-20 15:10:21','2021-09-20 15:10:21'),(222,'visits:news_visits_recorded_ips:4:188.53.183.64',NULL,1,NULL,'2021-09-20 23:49:01','2021-09-20 23:34:01','2021-09-20 23:34:01'),(223,'visits:news_visits_recorded_ips:3:188.53.183.64',NULL,1,NULL,'2021-09-20 23:49:44','2021-09-20 23:34:44','2021-09-20 23:34:44'),(224,'visits:news_visits_recorded_ips:2:188.53.183.64',NULL,1,NULL,'2021-09-20 23:49:59','2021-09-20 23:34:59','2021-09-20 23:34:59'),(225,'visits:news_visits_recorded_ips:4:151.255.255.163',NULL,1,NULL,'2021-09-21 06:51:45','2021-09-21 06:36:45','2021-09-21 06:36:45'),(226,'visits:news_visits_recorded_ips:3:151.255.255.163',NULL,1,NULL,'2021-09-21 06:52:02','2021-09-21 06:37:02','2021-09-21 06:37:02'),(227,'visits:news_visits_recorded_ips:3:93.168.162.118',NULL,1,NULL,'2021-09-21 10:36:19','2021-09-21 10:21:19','2021-09-21 10:21:19'),(228,'visits:news_visits_recorded_ips:2:51.253.111.221',NULL,1,NULL,'2021-09-23 17:35:38','2021-09-23 17:20:38','2021-09-23 17:20:38'),(229,'visits:news_visits_recorded_ips:4:188.49.167.102',NULL,1,NULL,'2021-09-24 14:59:56','2021-09-24 14:44:56','2021-09-24 14:44:56'),(230,'visits:news_visits_recorded_ips:3:95.186.247.136',NULL,1,NULL,'2021-09-26 09:04:32','2021-09-26 08:49:32','2021-09-26 08:49:32'),(231,'visits:news_visits_recorded_ips:2:180.234.35.87',NULL,1,NULL,'2021-09-27 13:43:25','2021-09-27 13:28:25','2021-09-27 13:28:25'),(232,'visits:news_visits_recorded_ips:2:93.168.174.70',NULL,1,NULL,'2021-09-27 16:46:57','2021-09-27 16:31:57','2021-09-27 16:31:57'),(233,'visits:news_visits_recorded_ips:4:93.168.174.70',NULL,1,NULL,'2021-09-27 16:47:16','2021-09-27 16:32:16','2021-09-27 16:32:16'),(234,'visits:news_visits_recorded_ips:4:93.168.51.165',NULL,1,NULL,'2021-09-29 13:47:52','2021-09-29 13:32:52','2021-09-29 13:32:52'),(235,'visits:news_visits_recorded_ips:4:95.184.6.161',NULL,1,NULL,'2021-09-29 16:23:43','2021-09-29 16:08:43','2021-09-29 16:08:43'),(236,'visits:news_visits_recorded_ips:4:95.184.22.190',NULL,1,NULL,'2021-09-29 17:24:41','2021-09-29 17:09:41','2021-09-29 17:09:41'),(237,'visits:news_visits_recorded_ips:4:51.252.25.1',NULL,1,NULL,'2021-09-30 01:38:44','2021-09-30 01:23:44','2021-09-30 01:23:44'),(238,'visits:news_visits_recorded_ips:2:51.252.25.1',NULL,1,NULL,'2021-09-30 01:40:21','2021-09-30 01:25:21','2021-09-30 01:25:21'),(239,'visits:news_visits_recorded_ips:4:176.45.187.193',NULL,1,NULL,'2021-09-30 10:36:51','2021-09-30 10:21:51','2021-09-30 10:21:51'),(240,'visits:news_visits_recorded_ips:2:176.45.187.193',NULL,1,NULL,'2021-09-30 10:38:04','2021-09-30 10:23:04','2021-09-30 10:23:04'),(241,'visits:news_visits_recorded_ips:4:142.247.96.220',NULL,1,NULL,'2021-09-30 16:33:48','2021-09-30 16:18:48','2021-09-30 16:18:48'),(242,'visits:news_visits_recorded_ips:3:142.247.96.220',NULL,1,NULL,'2021-09-30 16:35:01','2021-09-30 16:20:01','2021-09-30 16:20:01'),(243,'visits:news_visits_recorded_ips:2:142.247.96.220',NULL,1,NULL,'2021-09-30 16:36:13','2021-09-30 16:21:13','2021-09-30 16:21:13'),(244,'visits:news_visits_recorded_ips:3:3.84.246.100',NULL,1,NULL,'2021-09-30 19:24:45','2021-09-30 19:09:44','2021-09-30 19:09:45'),(245,'visits:news_visits_languages:3',NULL,1,NULL,NULL,'2021-09-30 19:09:45','2021-09-30 19:09:45'),(246,'visits:news_visits_recorded_ips:4:3.84.246.100',NULL,1,NULL,'2021-09-30 19:24:56','2021-09-30 19:09:56','2021-09-30 19:09:56'),(247,'visits:news_visits_languages:4',NULL,1,NULL,NULL,'2021-09-30 19:09:56','2021-09-30 19:09:56'),(248,'visits:news_visits_recorded_ips:2:3.84.246.100',NULL,1,NULL,'2021-09-30 19:25:08','2021-09-30 19:10:08','2021-09-30 19:10:08'),(249,'visits:news_visits_recorded_ips:2:46.153.106.207',NULL,1,NULL,'2021-10-01 23:40:25','2021-10-01 23:25:25','2021-10-01 23:25:25'),(250,'visits:news_visits_recorded_ips:3:95.184.22.170',NULL,1,NULL,'2021-10-02 01:06:35','2021-10-02 00:51:35','2021-10-02 00:51:35'),(251,'visits:news_visits_recorded_ips:4:95.184.0.93',NULL,1,NULL,'2021-10-03 11:51:42','2021-10-03 11:36:42','2021-10-03 11:36:42'),(252,'visits:news_visits_recorded_ips:2:95.184.0.93',NULL,1,NULL,'2021-10-03 11:52:29','2021-10-03 11:37:29','2021-10-03 11:37:29'),(253,'visits:news_visits_recorded_ips:4:93.168.24.72',NULL,1,NULL,'2021-10-04 07:15:54','2021-10-04 07:00:54','2021-10-04 07:00:54'),(254,'visits:news_visits_recorded_ips:4:109.83.252.188',NULL,1,NULL,'2021-10-04 13:46:22','2021-10-04 13:31:22','2021-10-04 13:31:22'),(255,'visits:news_visits_recorded_ips:3:93.169.31.25',NULL,1,NULL,'2021-10-05 07:11:41','2021-10-05 06:56:41','2021-10-05 06:56:41'),(256,'visits:news_visits_recorded_ips:2:95.186.238.113',NULL,1,NULL,'2021-10-06 01:49:57','2021-10-06 01:34:57','2021-10-06 01:34:57'),(257,'visits:news_visits_recorded_ips:3:95.186.238.113',NULL,1,NULL,'2021-10-06 01:51:12','2021-10-06 01:36:12','2021-10-06 01:36:12'),(258,'visits:news_visits_recorded_ips:3:82.167.194.49',NULL,1,NULL,'2021-10-06 04:53:36','2021-10-06 04:38:36','2021-10-06 04:38:36'),(259,'visits:news_visits_recorded_ips:2:82.167.194.49',NULL,1,NULL,'2021-10-06 04:53:47','2021-10-06 04:38:47','2021-10-06 04:38:47'),(260,'visits:news_visits_recorded_ips:3:188.54.236.108',NULL,1,NULL,'2021-10-06 07:05:39','2021-10-06 06:50:39','2021-10-06 06:50:39'),(261,'visits:news_visits_recorded_ips:4:51.36.13.203',NULL,1,NULL,'2021-10-06 15:52:06','2021-10-06 15:37:06','2021-10-06 15:37:06'),(262,'visits:news_visits_recorded_ips:3:37.105.168.142',NULL,1,NULL,'2021-10-07 14:04:11','2021-10-07 13:49:11','2021-10-07 13:49:11'),(263,'visits:news_visits_recorded_ips:3:95.187.201.47',NULL,1,NULL,'2021-10-08 00:27:19','2021-10-08 00:12:19','2021-10-08 00:12:19'),(264,'visits:news_visits_recorded_ips:4:95.187.201.47',NULL,1,NULL,'2021-10-08 00:27:38','2021-10-08 00:12:38','2021-10-08 00:12:38'),(265,'visits:news_visits_recorded_ips:4:95.184.127.97',NULL,1,NULL,'2021-10-08 09:31:33','2021-10-08 09:16:33','2021-10-08 09:16:33'),(266,'visits:news_visits_recorded_ips:4:5.156.231.85',NULL,1,NULL,'2021-10-08 10:13:33','2021-10-08 09:58:33','2021-10-08 09:58:33'),(267,'visits:news_visits_recorded_ips:4:5.156.65.189',NULL,1,NULL,'2021-10-08 11:42:26','2021-10-08 11:27:26','2021-10-08 11:27:26'),(268,'visits:news_visits_recorded_ips:4:176.45.171.194',NULL,1,NULL,'2021-10-08 12:22:00','2021-10-08 12:07:00','2021-10-08 12:07:00'),(269,'visits:news_visits_recorded_ips:2:78.95.154.96',NULL,1,NULL,'2021-10-08 19:28:34','2021-10-08 19:13:34','2021-10-08 19:13:34'),(270,'visits:news_visits_recorded_ips:3:78.95.235.213',NULL,1,NULL,'2021-10-08 20:01:08','2021-10-08 19:46:08','2021-10-08 19:46:08'),(271,'visits:news_visits_recorded_ips:2:78.95.235.213',NULL,1,NULL,'2021-10-08 20:01:15','2021-10-08 19:46:15','2021-10-08 19:46:15'),(272,'visits:news_visits_recorded_ips:4:78.95.235.213',NULL,1,NULL,'2021-10-08 20:02:26','2021-10-08 19:47:26','2021-10-08 19:47:26'),(273,'visits:news_visits_recorded_ips:5:188.49.170.202',NULL,1,NULL,'2021-10-09 09:13:59','2021-10-09 08:58:59','2021-10-09 08:58:59'),(274,'visits:news_visits','5',5,NULL,NULL,'2021-10-09 08:58:59','2021-10-09 16:54:10'),(275,'visits:news_visits_countries:5','sa',4,NULL,NULL,'2021-10-09 08:58:59','2021-10-09 16:54:10'),(276,'visits:news_visits_referers:5',NULL,5,NULL,NULL,'2021-10-09 08:58:59','2021-10-09 16:54:10'),(277,'visits:news_visits_day','5',5,NULL,'2021-10-10 00:00:00','2021-10-09 08:58:59','2021-10-09 23:32:09'),(278,'visits:news_visits_week','5',5,NULL,'2021-10-11 00:00:00','2021-10-09 08:58:59','2021-10-10 15:38:11'),(279,'visits:news_visits_month','5',5,NULL,'2021-11-01 00:00:00','2021-10-09 08:58:59','2021-10-13 22:48:54'),(280,'visits:news_visits_year','5',5,NULL,'2022-01-01 00:00:00','2021-10-09 08:58:59','2021-10-13 22:48:54'),(281,'visits:news_visits_OSes:5','Windows',1,NULL,NULL,'2021-10-09 08:58:59','2021-10-09 08:58:59'),(282,'visits:news_visits_languages:5','en',1,NULL,NULL,'2021-10-09 08:58:59','2021-10-09 08:58:59'),(283,'visits:news_visits_recorded_ips:5:216.137.184.155',NULL,1,NULL,'2021-10-09 09:15:39','2021-10-09 09:00:39','2021-10-09 09:00:39'),(284,'visits:news_visits_countries:5','sg',1,NULL,NULL,'2021-10-09 09:00:39','2021-10-09 09:00:39'),(285,'visits:news_visits_OSes:5','unknown',1,NULL,NULL,'2021-10-09 09:00:39','2021-10-09 09:00:39'),(286,'visits:news_visits_languages:5',NULL,1,NULL,NULL,'2021-10-09 09:00:39','2021-10-09 09:00:39'),(287,'visits:news_visits_recorded_ips:5:93.168.112.234',NULL,1,NULL,'2021-10-09 09:27:20','2021-10-09 09:12:20','2021-10-09 09:12:20'),(288,'visits:news_visits_OSes:5','iPhone',3,NULL,NULL,'2021-10-09 09:12:20','2021-10-09 16:54:10'),(289,'visits:news_visits_languages:5','ar',3,NULL,NULL,'2021-10-09 09:12:20','2021-10-09 16:54:10'),(290,'visits:news_visits_recorded_ips:5:37.217.226.114',NULL,1,NULL,'2021-10-09 15:41:36','2021-10-09 15:26:36','2021-10-09 15:26:36'),(291,'visits:news_visits_recorded_ips:2:37.217.226.114',NULL,1,NULL,'2021-10-09 15:43:45','2021-10-09 15:28:45','2021-10-09 15:28:45'),(292,'visits:news_visits_recorded_ips:5:93.169.103.96',NULL,1,NULL,'2021-10-09 17:09:10','2021-10-09 16:54:10','2021-10-09 16:54:10'),(293,'visits:news_visits_recorded_ips:4:93.169.15.188',NULL,1,NULL,'2021-10-09 23:47:09','2021-10-09 23:32:09','2021-10-09 23:32:09'),(294,'visits:news_visits_recorded_ips:4:176.44.69.81',NULL,1,NULL,'2021-10-10 15:53:11','2021-10-10 15:38:11','2021-10-10 15:38:11'),(295,'visits:news_visits_recorded_ips:3:176.17.11.183',NULL,1,NULL,'2021-10-11 04:24:38','2021-10-11 04:09:38','2021-10-11 04:09:38'),(296,'visits:news_visits_recorded_ips:2:176.17.11.183',NULL,1,NULL,'2021-10-11 04:25:29','2021-10-11 04:10:29','2021-10-11 04:10:29'),(297,'visits:news_visits_recorded_ips:4:77.30.224.143',NULL,1,NULL,'2021-10-12 02:48:03','2021-10-12 02:33:03','2021-10-12 02:33:03'),(298,'visits:news_visits_recorded_ips:3:51.252.118.143',NULL,1,NULL,'2021-10-12 13:35:48','2021-10-12 13:20:48','2021-10-12 13:20:48'),(299,'visits:news_visits_recorded_ips:4:93.168.40.52',NULL,1,NULL,'2021-10-12 21:40:56','2021-10-12 21:25:56','2021-10-12 21:25:56'),(300,'visits:news_visits_recorded_ips:2:93.168.40.52',NULL,1,NULL,'2021-10-12 21:42:05','2021-10-12 21:27:05','2021-10-12 21:27:05'),(301,'visits:news_visits_recorded_ips:2:93.168.30.221',NULL,1,NULL,'2021-10-13 09:26:33','2021-10-13 09:11:33','2021-10-13 09:11:33'),(302,'visits:news_visits_recorded_ips:2:5.156.38.228',NULL,1,NULL,'2021-10-13 16:22:58','2021-10-13 16:07:58','2021-10-13 16:07:58'); /*!40000 ALTER TABLE `visits` ENABLE KEYS */; UNLOCK TABLES; /*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */; /*!40101 SET SQL_MODE=@OLD_SQL_MODE */; /*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; /*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
481.597156
105,635
0.76268
40a1d8404dd3681b93d884211fd3138b0e1a2076
27,529
py
Python
modules/templates/NYC/controllers.py
PeterDaveHello/eden
26174a9dde2f19cd3bc879694f373ad5f765b6ed
[ "MIT" ]
1
2015-01-24T04:31:51.000Z
2015-01-24T04:31:51.000Z
modules/templates/NYC/controllers.py
PeterDaveHello/eden
26174a9dde2f19cd3bc879694f373ad5f765b6ed
[ "MIT" ]
null
null
null
modules/templates/NYC/controllers.py
PeterDaveHello/eden
26174a9dde2f19cd3bc879694f373ad5f765b6ed
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from gluon import * from s3 import S3CustomController, S3DataTable, S3Method, s3_request THEME = "NYC" # ============================================================================= class index(S3CustomController): """ Custom Home Page """ def __call__(self): output = {} T = current.T s3 = current.response.s3 auth = current.auth settings = current.deployment_settings roles = current.session.s3.roles system_roles = auth.get_system_roles() # Allow editing of page content from browser using CMS module if settings.has_module("cms"): ADMIN = system_roles.ADMIN in roles s3db = current.s3db table = s3db.cms_post ltable = s3db.cms_post_module module = "default" resource = "index" query = (ltable.module == module) & \ ((ltable.resource == None) | \ (ltable.resource == resource)) & \ (ltable.post_id == table.id) & \ (table.deleted != True) item = current.db(query).select(table.id, table.body, limitby=(0, 1)).first() if item: if ADMIN: item = DIV(XML(item.body), BR(), A(current.T("Edit"), _href=URL(c="cms", f="post", args=[item.id, "update"]), _class="action-btn")) else: item = DIV(XML(item.body)) elif ADMIN: if s3.crud.formstyle == "bootstrap": _class = "btn" else: _class = "action-btn" item = A(T("Edit"), _href=URL(c="cms", f="post", args="create", vars={"module": module, "resource": resource }), _class="%s cms-edit" % _class) else: item = "" else: item = "" output["item"] = item # Login/Registration forms self_registration = settings.get_security_registration_visible() registered = False login_form = None login_div = None register_form = None register_div = None # Check logged in and permissions if system_roles.AUTHENTICATED not in roles: login_buttons = DIV(A(T("Login"), _id="show-login", _class="tiny secondary button"), _id="login-buttons" ) # @ToDo: Move JS to static script = ''' $('#show-intro').click(function(e){ e.preventDefault() $('#intro').slideDown(400, function() { $('#login_box').hide() }); }) $('#show-login').click(function(e){ e.preventDefault() $('#login_form').show() $('#register_form').hide() $('#login_box').show() $('#intro').slideUp() })''' s3.jquery_ready.append(script) # This user isn't yet logged-in if current.request.cookies.has_key("registered"): # This browser has logged-in before registered = True if self_registration is True: # Provide a Registration box on front page login_buttons.append(A(T("Register"), _id="show-register", _class="tiny secondary button", # @ToDo: Move to CSS _style="margin-left:5px")) script = ''' $('#show-register').click(function(e){ e.preventDefault() $('#login_form').hide() $('#register_form').show() $('#login_box').show() $('#intro').slideUp() })''' s3.jquery_ready.append(script) register_form = auth.register() register_div = DIV(H3(T("Register")), P(XML(T("If you would like to help, then please %(sign_up_now)s") % \ dict(sign_up_now=B(T("sign-up now")))))) register_script = ''' $('#register-btn').click(function(e){ e.preventDefault() $('#register_form').show() $('#login_form').hide() }) $('#login-btn').click(function(e){ e.preventDefault() $('#register_form').hide() $('#login_form').show() })''' s3.jquery_ready.append(register_script) # Provide a login box on front page auth.messages.submit_button = T("Login") login_form = auth.login(inline=True) login_div = DIV(H3(T("Login")), P(XML(T("Registered users can %(login)s to access the system") % \ dict(login=B(T("login")))))) else: login_buttons = "" output["login_buttons"] = login_buttons output["self_registration"] = self_registration output["registered"] = registered output["login_div"] = login_div output["login_form"] = login_form output["register_div"] = register_div output["register_form"] = register_form output["items"] = network()() self._view(THEME, "index.html") return output # ----------------------------------------------------------------------------- class network(): """ Function to handle pagination for the network list on the homepage """ @staticmethod def __call__(): request = current.request get_vars = request.get_vars representation = request.extension resource = current.s3db.resource("org_group") totalrows = resource.count() display_start = int(get_vars.displayStart) if get_vars.displayStart else 0 display_length = int(get_vars.pageLength) if get_vars.pageLength else 10 limit = 4 * display_length list_fields = ("id", "name", "mission", "website", "meetings", ) default_orderby = orderby = "org_group.name asc" if representation == "aadata": query, orderby, left = resource.datatable_filter(list_fields, get_vars) if orderby is None: orderby = default_orderby if query: resource.add_filter(query) data = resource.select(list_fields, start=display_start, limit=limit, orderby=orderby, count=True, represent=True) filteredrows = data["numrows"] rfields = data["rfields"] data = data["rows"] dt = S3DataTable(rfields, data) dt.defaultActionButtons(resource) current.response.s3.no_formats = True if representation == "html": items = dt.html(totalrows, totalrows, "org_dt", dt_ajax_url=URL(c="default", f="index", args="network", extension="aadata", vars={"id": "org_dt"}, ), dt_pageLength=display_length, dt_pagination="true", ) elif representation == "aadata": draw = get_vars.get("draw") if draw: draw = int(draw) items = dt.json(totalrows, filteredrows, "org_dt", draw) else: from gluon.http import HTTP raise HTTP(501, ERROR.BAD_FORMAT) return items # ============================================================================= class contact(S3CustomController): """ Contact Form @ToDo: i18n if-required """ def __call__(self): request = current.request response = current.response s3 = response.s3 settings = current.deployment_settings if request.env.request_method == "POST": # Processs Form vars = request.post_vars result = current.msg.send_email(to=settings.get_mail_approver(), subject=vars.subject, message=vars.message, reply_to=vars.address, ) if result: response.confirmation = "Thankyou for your message - we'll be in touch shortly" T = current.T # Allow editing of page content from browser using CMS module if settings.has_module("cms"): ADMIN = current.auth.get_system_roles().ADMIN in \ current.session.s3.roles s3db = current.s3db table = s3db.cms_post ltable = s3db.cms_post_module module = "default" resource = "contact" query = (ltable.module == module) & \ ((ltable.resource == None) | \ (ltable.resource == resource)) & \ (ltable.post_id == table.id) & \ (table.deleted != True) item = current.db(query).select(table.id, table.body, limitby=(0, 1)).first() if item: if ADMIN: item = DIV(XML(item.body), BR(), A(T("Edit"), _href=URL(c="cms", f="post", args=[item.id, "update"]), _class="action-btn")) else: item = DIV(XML(item.body)) elif ADMIN: if s3.crud.formstyle == "bootstrap": _class = "btn" else: _class = "action-btn" item = A(T("Edit"), _href=URL(c="cms", f="post", args="create", vars={"module": module, "resource": resource }), _class="%s cms-edit" % _class) else: item = "" else: item = "" form = FORM(TABLE( TR(LABEL("Your name:", SPAN(" *", _class="req"), _for="name")), TR(INPUT(_name="name", _type="text", _size=62, _maxlength="255")), TR(LABEL("Your e-mail address:", SPAN(" *", _class="req"), _for="address")), TR(INPUT(_name="address", _type="text", _size=62, _maxlength="255")), TR(LABEL("Subject:", SPAN(" *", _class="req"), _for="subject")), TR(INPUT(_name="subject", _type="text", _size=62, _maxlength="255")), TR(LABEL("Message:", SPAN(" *", _class="req"), _for="name")), TR(TEXTAREA(_name="message", _class="resizable", _rows=5, _cols=62)), TR(INPUT(_type="submit", _value="Send e-mail")), ), _id="mailform" ) if s3.cdn: if s3.debug: s3.scripts.append("http://ajax.aspnetcdn.com/ajax/jquery.validate/1.9/jquery.validate.js") else: s3.scripts.append("http://ajax.aspnetcdn.com/ajax/jquery.validate/1.9/jquery.validate.min.js") else: if s3.debug: s3.scripts.append("/%s/static/scripts/jquery.validate.js" % request.application) else: s3.scripts.append("/%s/static/scripts/jquery.validate.min.js" % request.application) # @ToDo: Move to static with i18n s3.jquery_ready.append( '''$('#mailform').validate({ errorClass:'req', rules:{ name:{ required:true }, subject:{ required:true }, message:{ required:true }, name:{ required:true }, address: { required:true, email:true } }, messages:{ name:"Enter your name", subject:"Enter a subject", message:"Enter a message", address:{ required:"Please enter a valid email address", email:"Please enter a valid email address" } }, errorPlacement:function(error,element){ error.appendTo(element.parents('tr').prev().children()) }, submitHandler:function(form){ form.submit() } })''') # @ToDo: Move to static s3.jquery_ready.append( '''$('textarea.resizable:not(.textarea-processed)').each(function() { // Avoid non-processed teasers. if ($(this).is(('textarea.teaser:not(.teaser-processed)'))) { return false; } var textarea = $(this).addClass('textarea-processed'), staticOffset = null; // When wrapping the text area, work around an IE margin bug. See: // http://jaspan.com/ie-inherited-margin-bug-form-elements-and-haslayout $(this).wrap('<div class="resizable-textarea"><span></span></div>') .parent().append($('<div class="grippie"></div>').mousedown(startDrag)); var grippie = $('div.grippie', $(this).parent())[0]; grippie.style.marginRight = (grippie.offsetWidth - $(this)[0].offsetWidth) +'px'; function startDrag(e) { staticOffset = textarea.height() - e.pageY; textarea.css('opacity', 0.25); $(document).mousemove(performDrag).mouseup(endDrag); return false; } function performDrag(e) { textarea.height(Math.max(32, staticOffset + e.pageY) + 'px'); return false; } function endDrag(e) { $(document).unbind("mousemove", performDrag).unbind("mouseup", endDrag); textarea.css('opacity', 1); } });''') response.title = "Contact | NYC:Prepared" self._view(THEME, "contact.html") return dict(form=form, item=item, ) # ============================================================================= class register(S3CustomController): """ Registration Form """ def __call__(self): auth = current.auth response = current.response # Allow editing of page content from browser using CMS module ADMIN = auth.get_system_roles().ADMIN in \ current.session.s3.roles s3db = current.s3db table = s3db.cms_post ltable = s3db.cms_post_module module = "default" resource = "register" query = (ltable.module == module) & \ ((ltable.resource == None) | \ (ltable.resource == resource)) & \ (ltable.post_id == table.id) & \ (table.deleted != True) item = current.db(query).select(table.id, table.body, limitby=(0, 1)).first() if item: if ADMIN: item = DIV(XML(item.body), BR(), A(current.T("Edit"), _href=URL(c="cms", f="post", args=[item.id, "update"]), _class="action-btn")) else: item = DIV(XML(item.body)) elif ADMIN: if response.s3.crud.formstyle == "bootstrap": _class = "btn" else: _class = "action-btn" item = A(current.T("Edit"), _href=URL(c="cms", f="post", args="create", vars={"module": module, "resource": resource }), _class="%s cms-edit" % _class) else: item = "" form = auth.register() response.title = "Register | NYC Prepared" self._view(THEME, "register.html") return dict(form=form, item=item, ) # ============================================================================= class dashboard(S3CustomController): """ Custom controller for personal dashboard """ def __call__(self): auth = current.auth if not auth.s3_logged_in(): auth.permission.fail() # Use custom method current.s3db.set_method("pr", "person", method = "dashboard", action = PersonalDashboard, ) # Call for currently logged-in person r = s3_request("pr", "person", args=[str(auth.s3_logged_in_person()), "dashboard.%s" % auth.permission.format, ], r = current.request, ) return r() # ============================================================================= class PersonalDashboard(S3Method): """ Custom method for personal dashboard """ def apply_method(self, r, **attr): """ Entry point for REST API @param r: the request (S3Request) @param attr: REST controller parameters """ if r.record and r.representation in ("html", "aadata"): T = current.T db = current.db s3db = current.s3db auth = current.auth is_admin = auth.s3_has_role("ADMIN") accessible = auth.s3_accessible_query # Profile widgets profile_widgets = [] add_widget = profile_widgets.append dt_row_actions = self.dt_row_actions from s3 import FS # Organisations widget = {"label": T("My Organizations"), "icon": "organisation", "insert": False, "tablename": "org_organisation", "type": "datatable", "actions": dt_row_actions("org", "organisation"), "list_fields": ["name", (T("Type"), "organisation_organisation_type.organisation_type_id"), "phone", (T("Email"), "email.value"), "website", ], } if not is_admin: otable = s3db.org_organisation rows = db(accessible("update", "org_organisation")).select(otable.id) organisation_ids = [row.id for row in rows] widget["filter"] = FS("id").belongs(organisation_ids) add_widget(widget) # Facilities widget = {"label": T("My Facilities"), "icon": "facility", "insert": False, "tablename": "org_facility", "type": "datatable", "actions": dt_row_actions("org", "facility"), "list_fields": ["name", "code", "site_facility_type.facility_type_id", "organisation_id", "location_id", ], } if not is_admin: ftable = s3db.org_facility rows = db(accessible("update", "org_facility")).select(ftable.id) facility_ids = [row.id for row in rows] widget["filter"] = FS("id").belongs(facility_ids) add_widget(widget) # Networks (only if user can update any records) widget_filter = None if not is_admin: gtable = s3db.org_group rows = db(accessible("update", "org_group")).select(gtable.id) group_ids = [row.id for row in rows] if group_ids: widget_filter = FS("id").belongs(group_ids) if is_admin or widget_filter: widget = {"label": T("My Networks"), "icon": "org-network", "insert": False, "tablename": "org_group", "filter": widget_filter, "type": "datatable", "actions": dt_row_actions("org", "group"), } add_widget(widget) # Groups (only if user can update any records) widget_filter = None if not is_admin: gtable = s3db.pr_group rows = db(accessible("update", "pr_group")).select(gtable.id) group_ids = [row.id for row in rows] if group_ids: widget_filter = FS("id").belongs(group_ids) if is_admin or widget_filter: widget = {"label": T("My Groups"), "icon": "group", "insert": False, "tablename": "pr_group", "filter": widget_filter, "type": "datatable", "actions": dt_row_actions("hrm", "group"), "list_fields": [(T("Network"), "group_team.org_group_id"), "name", "description", (T("Chairperson"), "chairperson"), ], } add_widget(widget) # CMS Content from gluon.html import A, DIV, H2, TAG item = None title = T("Dashboard") if current.deployment_settings.has_module("cms"): name = "Dashboard" ctable = s3db.cms_post query = (ctable.name == name) & (ctable.deleted != True) row = db(query).select(ctable.id, ctable.title, ctable.body, limitby=(0, 1)).first() get_vars = {"page": name, "url": URL(args="dashboard", vars={}), } if row: title = row.title if is_admin: item = DIV(XML(row.body), DIV(A(T("Edit"), _href=URL(c="cms", f="post", args=[row.id, "update"], vars=get_vars, ), _class="action-btn", ), _class="cms-edit", ), ) else: item = DIV(XML(row.body)) elif is_admin: item = DIV(DIV(A(T("Edit"), _href=URL(c="cms", f="post", args="create", vars=get_vars, ), _class="action-btn", ), _class="cms-edit", ) ) # Rheader if r.representation == "html": # Dashboard title profile_header = TAG[""](DIV(DIV(H2(title), _class="medium-6 columns end", ), _class="row", ) ) # CMS content if item: profile_header.append(DIV(DIV(item, _class="medium-12 columns", ), _class="row", )) # Dashboard links dashboard_links = DIV(A(T("Personal Profile"), _href = URL(c="default", f="person"), _class = "action-btn", ), _class="dashboard-links", _style="padding:0.5rem 0;" ) profile_header.append(DIV(DIV(dashboard_links, _class="medium-12 columns", ), _class="row", )) else: profile_header = None # Configure profile tablename = r.tablename s3db.configure(tablename, profile_cols = 2, profile_header = profile_header, profile_widgets = profile_widgets, ) # Render profile from s3 import S3Profile profile = S3Profile() profile.tablename = tablename profile.request = r output = profile.profile(r, **attr) if r.representation == "html": output["title"] = \ current.response.title = T("Personal Dashboard") return output else: raise HTTP(501, current.ERROR.BAD_METHOD) # ------------------------------------------------------------------------- @staticmethod def dt_row_actions(c, f): """ Data table row actions """ return lambda r, list_id: [ {"label": current.deployment_settings.get_ui_label_update(), "url": URL(c=c, f=f, args=["[id]", "update"]), "_class": "action-btn edit", }, ] # END =========================================================================
38.076072
110
0.416034
34603d02f19e22fcc9c88675c802b56dc2f28f2a
1,451
swift
Swift
purenote/Models/Note.swift
sashamitrovich/BookTitles
34a0e9b5dc74ff9f0276f130ee8c09e2b41f2d41
[ "Apache-2.0" ]
1
2020-12-10T08:45:13.000Z
2020-12-10T08:45:13.000Z
purenote/Models/Note.swift
sashamitrovich/BookTitles
34a0e9b5dc74ff9f0276f130ee8c09e2b41f2d41
[ "Apache-2.0" ]
18
2020-10-25T10:48:49.000Z
2020-10-30T12:43:20.000Z
purenote/Models/Note.swift
sashamitrovich/BookTitles
34a0e9b5dc74ff9f0276f130ee8c09e2b41f2d41
[ "Apache-2.0" ]
null
null
null
// // Note.swift // ShareData // // Created by Saša Mitrović on 08.10.20. // import Foundation class Note: NSObject, Identifiable { var type: ItemType = .Note static func == (lhs: Note, rhs: Note) -> Bool { return lhs.content == rhs.content } var id: String var content: String var date: Date var isLocal: Bool = true var url: URL var isDownloading = false var label = "" init(type: ItemType) { self.id=String(Date().currentTimeMillis()) self.content="" self.date=Date() self.isLocal=true self.url=URL(fileURLWithPath: "") self.type = type } init(content:String, date:Date, path:String, isLocal:Bool?, url: URL, type: ItemType! = .Note, label: String! = "") { self.id=path self.content=content self.date=date self.isLocal=isLocal ?? true self.url = url self.type = type if (id.contains(".icloud")) { self.label = self.id self.label.removeFirst() self.label.removeLast(7) } else { self.label = id } } } extension Note { static let sampleNote1 = Note (content: "This is a nice looking note. Always wanted to write one like it.", date: Date(), path: "/notes/trips", isLocal: true, url: URL(fileURLWithPath: "/notes/trips/mynote.md"), type: .Note) }
23.403226
228
0.556857
0163348bed17280db73f77a63112ed94e7484e27
733
kt
Kotlin
app/src/main/kotlin/io/github/beomjo/search/ui/adapter/diff/SearchDocumentDiffUtil.kt
beomjo/kakao-search
8f4ad1d4b769fee069d5d4ed7f8bf3d00ee032f9
[ "Apache-2.0" ]
1
2021-12-29T06:28:31.000Z
2021-12-29T06:28:31.000Z
app/src/main/kotlin/io/github/beomjo/search/ui/adapter/diff/SearchDocumentDiffUtil.kt
beomjo/kakao-search
8f4ad1d4b769fee069d5d4ed7f8bf3d00ee032f9
[ "Apache-2.0" ]
25
2021-08-03T08:29:00.000Z
2021-09-19T17:27:49.000Z
app/src/main/kotlin/io/github/beomjo/search/ui/adapter/diff/SearchDocumentDiffUtil.kt
beomjo/kakao-search
8f4ad1d4b769fee069d5d4ed7f8bf3d00ee032f9
[ "Apache-2.0" ]
null
null
null
package io.github.beomjo.search.ui.adapter.diff import androidx.recyclerview.widget.DiffUtil import io.github.beomjo.search.entity.SearchDocument class SearchDocumentDiffUtil : DiffUtil.ItemCallback<SearchDocument>() { override fun areItemsTheSame( oldItem: SearchDocument, newItem: SearchDocument ): Boolean { val isSameDocumentItem = oldItem.title == newItem.title && oldItem.date == newItem.date val isSameSeparatorItem = oldItem == newItem return isSameDocumentItem || isSameSeparatorItem } override fun areContentsTheSame( oldItem: SearchDocument, newItem: SearchDocument ): Boolean { return oldItem.hashCode() == newItem.hashCode() } }
31.869565
95
0.712142
2b5fcfbe128f84c61606434daa45a4afd52e40a5
220
kt
Kotlin
TestSpringBoot/src/main/java/com/test/springboot/config/Setting.kt
Seachal/LorenWangCustomTools
7690a5b15ad84faa88856a57dba9145fcea0126b
[ "Apache-2.0" ]
5
2019-06-13T11:47:48.000Z
2021-09-09T03:56:13.000Z
TestSpringBoot/src/main/java/com/test/springboot/config/Setting.kt
Seachal/LorenWangCustomTools
7690a5b15ad84faa88856a57dba9145fcea0126b
[ "Apache-2.0" ]
null
null
null
TestSpringBoot/src/main/java/com/test/springboot/config/Setting.kt
Seachal/LorenWangCustomTools
7690a5b15ad84faa88856a57dba9145fcea0126b
[ "Apache-2.0" ]
1
2021-04-13T03:45:58.000Z
2021-04-13T03:45:58.000Z
/** * 创建时间: 0001/2018/6/1 下午 2:10 * 创建人:王亮(Loren wang) * 功能作用:所有的设置参数信息 * 思路: * 修改人: * 修改时间: * 备注: */ object Setting { /** * 所有的token令牌相关的关键字key */ const val ACCESS_TOKEN_KEY = "accesstoken" }
12.941176
46
0.563636
e76edf165e0d97c5ebadbddb78bcb5d9e101ccf0
1,517
kt
Kotlin
app/src/main/java/org/simple/clinic/onboarding/OnboardingEffectHandler.kt
resolvetosavelives/redapp
ff67df1ca4bb9735b8c8578e5435e0899ec6876d
[ "MIT" ]
13
2018-06-22T20:36:04.000Z
2018-07-10T07:51:12.000Z
app/src/main/java/org/simple/clinic/onboarding/OnboardingEffectHandler.kt
resolvetosavelives/redapp
ff67df1ca4bb9735b8c8578e5435e0899ec6876d
[ "MIT" ]
78
2018-05-11T09:14:19.000Z
2018-07-10T11:52:18.000Z
app/src/main/java/org/simple/clinic/onboarding/OnboardingEffectHandler.kt
resolvetosavelives/redapp
ff67df1ca4bb9735b8c8578e5435e0899ec6876d
[ "MIT" ]
1
2018-06-25T20:44:41.000Z
2018-06-25T20:44:41.000Z
package org.simple.clinic.onboarding import com.f2prateek.rx.preferences2.Preference import com.spotify.mobius.functions.Consumer import com.spotify.mobius.rx2.RxMobius import dagger.assisted.Assisted import dagger.assisted.AssistedFactory import dagger.assisted.AssistedInject import io.reactivex.ObservableTransformer import org.simple.clinic.main.TypedPreference import org.simple.clinic.main.TypedPreference.Type.OnboardingComplete class OnboardingEffectHandler @AssistedInject constructor( @TypedPreference(OnboardingComplete) private val hasUserCompletedOnboarding: Preference<Boolean>, @Assisted private val viewEffectsConsumer: Consumer<OnboardingViewEffect> ) { @AssistedFactory interface Factory { fun create( viewEffectsConsumer: Consumer<OnboardingViewEffect> ): OnboardingEffectHandler } fun build(): ObservableTransformer<OnboardingEffect, OnboardingEvent> { return RxMobius .subtypeEffectHandler<OnboardingEffect, OnboardingEvent>() .addTransformer(CompleteOnboardingEffect::class.java, completeOnboardingTransformer()) .addConsumer(OnboardingViewEffect::class.java, viewEffectsConsumer::accept) .build() } private fun completeOnboardingTransformer(): ObservableTransformer<CompleteOnboardingEffect, OnboardingEvent> { return ObservableTransformer { completeOnboardingEffect -> completeOnboardingEffect .doOnNext { hasUserCompletedOnboarding.set(true) } .map { OnboardingCompleted } } } }
37
113
0.794331
d4d0736593dd2581dad5f32c62aef0cc43bdda7a
9,558
lua
Lua
BuyCards/Client_PresentMenuUI.lua
JustMe003/WarlightMod
de82b318f7879d45a15bfcb3b6663b9eaf337572
[ "MIT" ]
null
null
null
BuyCards/Client_PresentMenuUI.lua
JustMe003/WarlightMod
de82b318f7879d45a15bfcb3b6663b9eaf337572
[ "MIT" ]
null
null
null
BuyCards/Client_PresentMenuUI.lua
JustMe003/WarlightMod
de82b318f7879d45a15bfcb3b6663b9eaf337572
[ "MIT" ]
null
null
null
function Client_PresentMenuUI(rootParent, setMaxSize, setScrollable, game) Game = game; root = rootParent; setMaxSize(450, 350); if (game.Settings.CommerceGame == false) then horz = UI.CreateHorizontalLayoutGroup(rootParent); UI.CreateLabel(horz).SetText("This mod only works in commerce games. This isn't a commerce game."); return; end if(game.Us == nil) then horz = UI.CreateHorizontalLayoutGroup(rootParent); UI.CreateLabel(horz).SetText("You cannot use the mod, cause you aren't in the game"); return; end if(game.Game.PlayingPlayers[game.Us.ID] == nil)then horz = UI.CreateHorizontalLayoutGroup(root); UI.CreateLabel(horz).SetText("You have been eliminated, so you are no longer able to interact with the mod"); return; end OpenMenu() end function OpenMenu() vert = UI.CreateVerticalLayoutGroup(root); buygiftcard = UI.CreateButton(vert).SetText("Buy Gift Card for " .. Mod.Settings.GiftCardCost).SetOnClick(function() local goldHave = CalculateGoldUsed(); if(goldHave<Mod.Settings.GiftCardCost)then UI.Alert("You dont have enough Gold to buy this card"); return; end addOrder(WL.GameOrderCustom.Create(Game.Us.ID, "Buy Gift Card", "",{ [WL.ResourceType.Gold] = Mod.Settings.GiftCardCost })); CalcuateBuyPossiblities(); end); buyspycard = UI.CreateButton(vert).SetText("Buy Spy Card for " .. Mod.Settings.SpyCardCost).SetOnClick(function() local goldHave = CalculateGoldUsed(); if(goldHave<Mod.Settings.SpyCardCost)then UI.Alert("You dont have enough Gold to buy this card"); return; end addOrder(WL.GameOrderCustom.Create(Game.Us.ID, "Buy Spy Card", "",{ [WL.ResourceType.Gold] = Mod.Settings.SpyCardCost })); CalcuateBuyPossiblities(); end); buyemergencyblockardcard = UI.CreateButton(vert).SetText("Buy Emergency Blockade Card for " .. Mod.Settings.EmergencyBlockadeCardCost).SetOnClick(function() local goldHave = CalculateGoldUsed(); if(goldHave<Mod.Settings.EmergencyBlockadeCardCost)then UI.Alert("You dont have enough Gold to buy this card"); return; end addOrder(WL.GameOrderCustom.Create(Game.Us.ID, "Buy Emergency Blockade Card", "",{ [WL.ResourceType.Gold] = Mod.Settings.EmergencyBlockadeCardCost })); CalcuateBuyPossiblities(); end); buyblockardcard = UI.CreateButton(vert).SetText("Buy Blockade Card for " .. Mod.Settings.BlockadeCardCost).SetOnClick(function() local goldHave = CalculateGoldUsed(); if(goldHave<Mod.Settings.BlockadeCardCost)then UI.Alert("You dont have enough Gold to buy this card"); return; end addOrder(WL.GameOrderCustom.Create(Game.Us.ID, "Buy Blockade Card", "",{ [WL.ResourceType.Gold] = Mod.Settings.BlockadeCardCost })); CalcuateBuyPossiblities(); end); buyorderprioritycard = UI.CreateButton(vert).SetText("Buy Order Priority Card for " .. Mod.Settings.OrderPriorityCardCost).SetOnClick(function() local goldHave = CalculateGoldUsed(); if(goldHave<Mod.Settings.OrderPriorityCardCost)then UI.Alert("You dont have enough Gold to buy this card"); return; end addOrder(WL.GameOrderCustom.Create(Game.Us.ID, "Buy Order Priority Card", "",{ [WL.ResourceType.Gold] = Mod.Settings.OrderPriorityCardCost })); CalcuateBuyPossiblities(); end); buyorderdelaycard = UI.CreateButton(vert).SetText("Buy Order Delay Card for " .. Mod.Settings.OrderDelayCardCost).SetOnClick(function() local goldHave = CalculateGoldUsed(); if(goldHave<Mod.Settings.OrderDelayCardCost)then UI.Alert("You dont have enough Gold to buy this card"); return; end addOrder(WL.GameOrderCustom.Create(Game.Us.ID, "Buy Order Delay Card", "",{ [WL.ResourceType.Gold] = Mod.Settings.OrderDelayCardCost })); CalcuateBuyPossiblities(); end); buyairliftcard = UI.CreateButton(vert).SetText("Buy Airlift Card for " .. Mod.Settings.AirliftCardCost).SetOnClick(function() local goldHave = CalculateGoldUsed(); if(goldHave<Mod.Settings.AirliftCardCost)then UI.Alert("You dont have enough Gold to buy this card"); return; end addOrder(WL.GameOrderCustom.Create(Game.Us.ID, "Buy Airlift Card", "",{ [WL.ResourceType.Gold] = Mod.Settings.AirliftCardCost })); CalcuateBuyPossiblities(); end); buydiplomacycard = UI.CreateButton(vert).SetText("Buy Diplomacy Card for " .. Mod.Settings.DiplomacyCardCost).SetOnClick(function() local goldHave = CalculateGoldUsed(); if(goldHave<Mod.Settings.DiplomacyCardCost)then UI.Alert("You dont have enough Gold to buy this card"); return; end addOrder(WL.GameOrderCustom.Create(Game.Us.ID, "Buy Diplomacy Card", "",{ [WL.ResourceType.Gold] = Mod.Settings.DiplomacyCardCost })); CalcuateBuyPossiblities(); end); buysanctioncard = UI.CreateButton(vert).SetText("Buy Sanctions Card for " .. Mod.Settings.SanctionsCardCost).SetOnClick(function() local goldHave = CalculateGoldUsed(); if(goldHave<Mod.Settings.SanctionsCardCost)then UI.Alert("You dont have enough Gold to buy this card"); return; end addOrder(WL.GameOrderCustom.Create(Game.Us.ID, "Buy Sanctions Card", "",{ [WL.ResourceType.Gold] = Mod.Settings.SanctionsCardCost })); CalcuateBuyPossiblities(); end); buyreconnaissancecard = UI.CreateButton(vert).SetText("Buy Reconnaissance Card for " .. Mod.Settings.ReconnaissanceCardCost).SetOnClick(function() local goldHave = CalculateGoldUsed(); if(goldHave<Mod.Settings.ReconnaissanceCardCost)then UI.Alert("You dont have enough Gold to buy this card"); return; end addOrder(WL.GameOrderCustom.Create(Game.Us.ID, "Buy Reconnaissance Card", "",{ [WL.ResourceType.Gold] = Mod.Settings.ReconnaissanceCardCost })); CalcuateBuyPossiblities(); end); buysurveillancecard = UI.CreateButton(vert).SetText("Buy Surveillance Card for " .. Mod.Settings.SurveillanceCardCost).SetOnClick(function() local goldHave = CalculateGoldUsed(); if(goldHave<Mod.Settings.SurveillanceCardCost)then UI.Alert("You dont have enough Gold to buy this card"); return; end addOrder(WL.GameOrderCustom.Create(Game.Us.ID, "Buy Surveillance Card", "",{ [WL.ResourceType.Gold] = Mod.Settings.SurveillanceCardCost })); CalcuateBuyPossiblities(); end); buybombcard = UI.CreateButton(vert).SetText("Buy Bomb Card for " .. Mod.Settings.BombCardCost).SetOnClick(function() local goldHave = CalculateGoldUsed(); if(goldHave<Mod.Settings.BombCardCost)then UI.Alert("You dont have enough Gold to buy this card"); return; end addOrder(WL.GameOrderCustom.Create(Game.Us.ID, "Buy Bomb Card", "",{ [WL.ResourceType.Gold] = Mod.Settings.BombCardCost })); CalcuateBuyPossiblities(); end); CalcuateBuyPossiblities(); end function CalculateGoldUsed() return Game.LatestStanding.NumResources(Game.Us.ID, WL.ResourceType.Gold); end --Calculates which cards can be bought function CalcuateBuyPossiblities() if(Game.Settings.Cards[WL.CardID.Gift] == nil or Mod.Settings.GiftCardCost == 0)then buygiftcard.SetInteractable(false).SetText("Gift cards can not be purchased"); end if(Game.Settings.Cards[WL.CardID.Spy] == nil or Mod.Settings.SpyCardCost == 0)then buyspycard.SetInteractable(false).SetText("Gift cards can not be purchased"); end if(Game.Settings.Cards[WL.CardID.EmergencyBlockade] == nil or Mod.Settings.EmergencyBlockadeCardCost == 0)then buyemergencyblockardcard.SetInteractable(false).SetText("EmergencyBlockade cards can not be purchased"); end if(Game.Settings.Cards[WL.CardID.Blockade] == nil or Mod.Settings.BlockadeCardCost == 0)then buyblockardcard.SetInteractable(false).SetText("Blockade cards can not be purchased"); end if(Game.Settings.Cards[WL.CardID.OrderPriority] == nil or Mod.Settings.OrderPriorityCardCost == 0)then buyorderprioritycard.SetInteractable(false).SetText("Order Priority cards can not be purchased"); end if(Game.Settings.Cards[WL.CardID.OrderDelay] == nil or Mod.Settings.OrderDelayCardCost == 0)then buyorderdelaycard.SetInteractable(false).SetText("Order Delay cards can not be purchased"); end if(Game.Settings.Cards[WL.CardID.Airlift] == nil or Mod.Settings.AirliftCardCost == 0)then buyairliftcard.SetInteractable(false).SetText("Airlift cards can not be purchased"); end if(Game.Settings.Cards[WL.CardID.Diplomacy] == nil or Mod.Settings.DiplomacyCardCost == 0)then buydiplomacycard.SetInteractable(false).SetText("Diplomacy cards can not be purchased"); end if(Game.Settings.Cards[WL.CardID.Sanctions] == nil or Mod.Settings.SanctionsCardCost == 0)then buysanctioncard.SetInteractable(false).SetText("Sanctions cards can not be purchased"); end if(Game.Settings.Cards[WL.CardID.Reconnaissance] == nil or Mod.Settings.ReconnaissanceCardCost == 0)then buyreconnaissancecard.SetInteractable(false).SetText("Reconnaissance cards can not be purchased"); end if(Game.Settings.Cards[WL.CardID.Surveillance] == nil or Mod.Settings.SurveillanceCardCost == 0)then buysurveillancecard.SetInteractable(false).SetText("Surveillance cards can not be purchased"); end if(Game.Settings.Cards[WL.CardID.Bomb] == nil or Mod.Settings.BombCardCost == 0)then buybombcard.SetInteractable(false).SetText("Bomb cards can not be purchased"); end end function addOrder(order) local orders = Game.Orders; if(Game.Us.HasCommittedOrders == true)then UI.Alert("You need to uncommit first"); return; end table.insert(orders, order); Game.Orders = orders; end function tablelength(T) local count = 0; for _, elem in pairs(T)do count = count + 1; end return count; end
53.1
159
0.746286
38e32668652185ba7e08b9979d7afac66a4a43a9
90
c
C
lib/PaxHeaders.2308045/jhash.c
cuijianming/ovs-2.13.6
e7fdf06d6c26d280b25bdf235146ae007cd2208c
[ "Apache-2.0" ]
null
null
null
lib/PaxHeaders.2308045/jhash.c
cuijianming/ovs-2.13.6
e7fdf06d6c26d280b25bdf235146ae007cd2208c
[ "Apache-2.0" ]
null
null
null
lib/PaxHeaders.2308045/jhash.c
cuijianming/ovs-2.13.6
e7fdf06d6c26d280b25bdf235146ae007cd2208c
[ "Apache-2.0" ]
null
null
null
30 mtime=1639777085.424355983 30 atime=1639777086.341355983 30 ctime=1639777128.003355983
22.5
29
0.866667
9c57e76a7e36595aa2ec80d6c56c5d70801b0be9
1,928
kt
Kotlin
app/src/main/java/com/telenav/osv/jarvis/login/utils/LoginUtils.kt
openstreetcam/android
66eb0ee1ab093562e2867087084b26803fe58174
[ "MIT" ]
71
2017-01-15T07:52:21.000Z
2020-11-24T11:15:21.000Z
app/src/main/java/com/telenav/osv/jarvis/login/utils/LoginUtils.kt
openstreetcam/android
66eb0ee1ab093562e2867087084b26803fe58174
[ "MIT" ]
104
2017-01-06T18:22:47.000Z
2020-11-23T00:12:59.000Z
app/src/main/java/com/telenav/osv/jarvis/login/utils/LoginUtils.kt
openstreetcam/android
66eb0ee1ab093562e2867087084b26803fe58174
[ "MIT" ]
21
2017-01-20T20:20:04.000Z
2020-11-21T07:28:33.000Z
package com.telenav.osv.jarvis.login.utils import android.content.Context import android.content.Intent import com.telenav.osv.R import com.telenav.osv.activity.MainActivity import com.telenav.osv.application.ApplicationPreferences import com.telenav.osv.application.PreferenceTypes import com.telenav.osv.command.LogoutCommand import com.telenav.osv.common.dialog.KVDialog import com.telenav.osv.event.EventBus import com.telenav.osv.manager.network.LoginManager object LoginUtils { @JvmStatic fun launchAppWithLoginActivity(context: Context) { EventBus.post(LogoutCommand()) val intent = Intent(context, MainActivity::class.java) intent.flags = Intent.FLAG_ACTIVITY_CLEAR_TASK intent.putExtra(MainActivity.KEY_INIT_LOGIN, true) context.startActivity(intent) } @JvmStatic fun getSessionExpiredDialog(context: Context): KVDialog { var sessionExpireDialog: KVDialog? = null sessionExpireDialog = KVDialog.Builder(context) .setTitleResId(R.string.session_expired_dialog_title) .setInfoResId(R.string.session_expired_dialog_message) .setPositiveButton(R.string.login_label) { launchAppWithLoginActivity(context) sessionExpireDialog?.dismiss() } .setIconLayoutVisibility(false) .setCancelableOnOutsideClick(false) .setCancelable() .build() return sessionExpireDialog } @JvmStatic fun restartApp(context: Context) { val intent = Intent(context, MainActivity::class.java) intent.flags = Intent.FLAG_ACTIVITY_CLEAR_TASK context.startActivity(intent) } @JvmStatic fun isLoginTypePartner(appPrefs: ApplicationPreferences) = LoginManager.LOGIN_TYPE_PARTNER == appPrefs.getStringPreference(PreferenceTypes.K_LOGIN_TYPE) }
37.076923
105
0.70695
c3d9f31782ac6ab21860850ac46fb57741ff5dd1
474
kt
Kotlin
core-data/src/main/java/com/javnez/core_data/repository/comics/datasources/LocalDataSource.kt
JaviSFH/android-marvel
5c0b5e1debd506291efa737ab11a02be18ace88d
[ "Apache-2.0" ]
null
null
null
core-data/src/main/java/com/javnez/core_data/repository/comics/datasources/LocalDataSource.kt
JaviSFH/android-marvel
5c0b5e1debd506291efa737ab11a02be18ace88d
[ "Apache-2.0" ]
null
null
null
core-data/src/main/java/com/javnez/core_data/repository/comics/datasources/LocalDataSource.kt
JaviSFH/android-marvel
5c0b5e1debd506291efa737ab11a02be18ace88d
[ "Apache-2.0" ]
null
null
null
package com.javnez.core_data.repository.comics.datasources import com.javnez.core_data.core.Failure.ServerError import com.javnez.core_data.core.Result import com.javnez.core_data.model.comic.Comic import javax.inject.Inject class LocalDataSource @Inject constructor() { fun storeComics(comics: List<Comic>) { //TODO Implement local persistence } fun getComics(characterId: Int): Result<List<Comic>> { return Result.Error(ServerError) } }
27.882353
58
0.755274
9e28588a7a435d25f67d5236b48add97a46ef8ff
919
lua
Lua
etc/old1/src/isa.lua
timm/keys
fd79b481053e2679856078df3a9f74f7097f5812
[ "Unlicense" ]
null
null
null
etc/old1/src/isa.lua
timm/keys
fd79b481053e2679856078df3a9f74f7097f5812
[ "Unlicense" ]
1
2020-12-10T05:28:18.000Z
2020-12-10T05:28:18.000Z
etc/old1/src/isa.lua
timm/keys
fd79b481053e2679856078df3a9f74f7097f5812
[ "Unlicense" ]
4
2021-08-18T20:49:55.000Z
2021-09-01T03:44:56.000Z
#!/usr/bin/env lua -- vim: ts=2 sw=2 et : -- Object support code -- (c) Tim Menzies, 2021 -- ----------------------------- local isa, _id, copy -- Object creation, add a unique id, bind to metatable, -- maybe set some initial values. _id=0 function isa(klass,inits, new) new = copy(klass or {}) for k,v in pairs(inits or {}) do new[k] = v end setmetatable(new, klass) klass.__index = klass _id = _id + 1 new._id = _id new._isa = klass return new end -- Deep copy function copy(obj, old,new) if type(obj) ~= 'table' then return obj end if old and old[obj] then return old[obj] end old, new = old or {}, {} old[obj] = new for k, v in pairs(obj) do new[k] = copy(v, old) end return new end -- ----------------------------- -- And finally... return {isa=isa, copy=copy} -- ----------------------------- -- ## Notes -- Our object system supports encapsulation, polymorphism,
22.414634
59
0.569097
cb26a932de4168305b22be4bb70acf6a685afc32
598
h
C
Bgl-GUI_X11/beagleGUI_InfoMessageWindow.h
acisternino/tierra
195c2eb84d91a1938faabad38e24b9b47d0e262c
[ "FSFAP" ]
16
2018-07-17T12:29:58.000Z
2021-12-14T08:47:19.000Z
Bgl-GUI_X11/beagleGUI_InfoMessageWindow.h
acisternino/tierra
195c2eb84d91a1938faabad38e24b9b47d0e262c
[ "FSFAP" ]
null
null
null
Bgl-GUI_X11/beagleGUI_InfoMessageWindow.h
acisternino/tierra
195c2eb84d91a1938faabad38e24b9b47d0e262c
[ "FSFAP" ]
10
2018-05-31T23:44:22.000Z
2022-01-20T07:11:26.000Z
/* * beagleGUI_InfoMessageWindow.h -- * * This work has been done at ATR HIP * * SCCS Status : @(#)beagleGUI_InfoMessageWindow.h 1.3 10/18/99 09:14:20 * Author : Marc Chaland * Created On : Fri Sep 19 11:03:54 1997 * Last Modified By: YOSHIKAWA Tooru * Last Modified On: Mon Oct 18 09:13:30 1999 * Update Count : 3 * Status : Unknown, Use with caution! */ #ifndef beagleGUI_InfoMessageWindow_h #define beagleGUI_InfoMessageWindow_h #include "clnt.h" extern void InfoInfoWrite P_((String)); extern void CreateInfoMessageWindow P_((Widget)); #endif
23.92
76
0.683946
c06e9f4ad02fc6e8b9a0f7842093dd2a2212c36e
5,909
html
HTML
index.html
EthanThatOneKid/konastats
a90e5ee2059b79ef3ea726c39c92937a3694c12f
[ "MIT" ]
null
null
null
index.html
EthanThatOneKid/konastats
a90e5ee2059b79ef3ea726c39c92937a3694c12f
[ "MIT" ]
null
null
null
index.html
EthanThatOneKid/konastats
a90e5ee2059b79ef3ea726c39c92937a3694c12f
[ "MIT" ]
null
null
null
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv="X-UA-Compatible" content="ie=edge"> <link rel="shortcut icon" type="image/x-icon" href="./cgi-bin/icon.png"> <title>Mr. Pines</title> <!-- Libraries: --> <link rel="stylesheet" href="https://code.getmdl.io/1.3.0/material.light_green-amber.min.css"> <script defer src="https://code.getmdl.io/1.3.0/material.min.js"></script> <!-- My Stuff: --> <link rel="stylesheet" href="./index.css"> </head> <body> <div class="mdl-layout mdl-js-layout"> <header class="mdl-layout__header mdl-layout__header--scroll"> <div class="mdl-layout__header-row"> <span class="mdl-layout-title title">Mr. Pines' Website</span> <div class="mdl-layout-spacer"></div> <nav class="mdl-navigation"> <a class="mdl-navigation__link" href="mailto:gpines@ggusd.us?subject=Hello%2C%20Mr.%20Pines%21">contact</a> </nav> </div> </header> <main class="mdl-layout__content"> <div class="page-content"> <ul> <li> <div class="demo-card-square mdl-card mdl-shadow--2dp"> <div class="mdl-card__title mdl-card--expand var-stats"> <h2 class="mdl-card__title-text">Varsity Statistics</h2> </div> <div class="mdl-card__supporting-text"> Welcome to AP Statistics. Use this website to help guide you through the course. I will be posting our homework assignments, power points, notes, and other helpful links. </div> <div class="mdl-card__actions mdl-card--border"> <a class="mdl-button mdl-button--colored mdl-js-button mdl-js-ripple-effect" href="https://ranchostats.weebly.com/"> Visit Site </a> <a class="mdl-button mdl-button--colored mdl-js-button mdl-js-ripple-effect" href="https://ranchostats.weebly.com/homework.html"> Jump to Homework </a> </div> </div> </li> <li> <div class="demo-card-square mdl-card mdl-shadow--2dp"> <div class="mdl-card__title mdl-card--expand trig"> <h2 class="mdl-card__title-text">Trigonometry</h2> </div> <div class="mdl-card__supporting-text"> Use this website to download homework and review power points for upcoming tests. Check this site frequently, this site is designed to help you be successful in this class. </div> <div class="mdl-card__actions mdl-card--border"> <a class="mdl-button mdl-button--colored mdl-js-button mdl-js-ripple-effect" href="https://ranchotrig.weebly.com/"> Visit Site </a> <a class="mdl-button mdl-button--colored mdl-js-button mdl-js-ripple-effect" href="https://ranchotrig.weebly.com/homework.html"> Jump to Homework </a> </div> </div> </li> <li> <div class="demo-card-square mdl-card mdl-shadow--2dp"> <div class="mdl-card__title mdl-card--expand jv-stats"> <h2 class="mdl-card__title-text">JV Statistics</h2> </div> <div class="mdl-card__supporting-text"> Welcome to the best JV Stats website there is. This might be the only one. This site is designed mainly so you can download the powerpoints and study for your tests. </div> <div class="mdl-card__actions mdl-card--border"> <a class="mdl-button mdl-button--colored mdl-js-button mdl-js-ripple-effect" href="https://jvstats.weebly.com/"> Visit Site </a> <a class="mdl-button mdl-button--colored mdl-js-button mdl-js-ripple-effect" href="https://jvstats.weebly.com/homework.html"> Jump to Homework </a> </div> </div> </li> </ul> </div> </main> <footer class="mdl-mini-footer"> <div class="mdl-mini-footer__left-section"> <div class="mdl-logo">Greg Pines</div> <ul class="mdl-mini-footer__link-list"> <li><a href="https://www.instagram.com/rahsco2019/">Gift from Class of 2019</a></li> <li><a href="http://ethandavidson.com/">Ethan Davidson</a></li> </ul> </div> </footer> </div> <script> const message = "Curious, eh? This is the doing of Ethan Davidson from the class of 2019! LMK if you see this message OwO"; const styling = [ "text-align: center", "font-weight: bold", "font-size: 50px", "color: coral" ].join(";"); console.log(`%c ${message}`, styling); console.log("https://www.instagram.com/ethanthatonekid/", "https://github.com/EthanThatOneKid"); console.log("%c ^~^~^~^~^~^~^~^~^~^~^~^~^~^~^", styling) </script> </body> </html>
52.758929
199
0.493485
6c337ac2c4f6de0d641335814866600e3635d66e
5,296
asm
Assembly
Transynther/x86/_processed/AVXALIGN/_st_sm_/i9-9900K_12_0xca.log_21829_1614.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
9
2020-08-13T19:41:58.000Z
2022-03-30T12:22:51.000Z
Transynther/x86/_processed/AVXALIGN/_st_sm_/i9-9900K_12_0xca.log_21829_1614.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
1
2021-04-29T06:29:35.000Z
2021-05-13T21:02:30.000Z
Transynther/x86/_processed/AVXALIGN/_st_sm_/i9-9900K_12_0xca.log_21829_1614.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
3
2020-07-14T17:07:07.000Z
2022-03-21T01:12:22.000Z
.global s_prepare_buffers s_prepare_buffers: push %r12 push %r14 push %r15 push %rcx push %rdi push %rdx push %rsi lea addresses_D_ht+0x3f3d, %rdx nop nop nop nop inc %r12 mov $0x6162636465666768, %r14 movq %r14, (%rdx) nop nop nop dec %rdx lea addresses_WT_ht+0x1e83d, %rsi lea addresses_UC_ht+0x11707, %rdi and %r15, %r15 mov $79, %rcx rep movsl nop nop nop nop xor $57371, %rdi lea addresses_UC_ht+0xda3d, %r12 dec %rcx mov (%r12), %r15d nop nop nop nop add $47418, %rsi pop %rsi pop %rdx pop %rdi pop %rcx pop %r15 pop %r14 pop %r12 ret .global s_faulty_load s_faulty_load: push %r11 push %r12 push %r13 push %r14 push %r9 push %rbp push %rcx // Store lea addresses_WT+0x1948d, %rbp clflush (%rbp) nop nop nop sub $33034, %r13 movb $0x51, (%rbp) dec %r11 // Store lea addresses_D+0xae3d, %r9 nop cmp $30004, %r14 movl $0x51525354, (%r9) nop xor %r12, %r12 // Store lea addresses_D+0x9fbd, %r12 nop nop nop xor %r11, %r11 movl $0x51525354, (%r12) nop nop sub $45776, %rcx // Faulty Load lea addresses_D+0xae3d, %r11 nop nop nop and $42815, %r13 mov (%r11), %r12w lea oracles, %r14 and $0xff, %r12 shlq $12, %r12 mov (%r14,%r12,1), %r12 pop %rcx pop %rbp pop %r9 pop %r14 pop %r13 pop %r12 pop %r11 ret /* <gen_faulty_load> [REF] {'OP': 'LOAD', 'src': {'size': 32, 'NT': False, 'type': 'addresses_D', 'same': False, 'AVXalign': False, 'congruent': 0}} {'OP': 'STOR', 'dst': {'size': 1, 'NT': False, 'type': 'addresses_WT', 'same': False, 'AVXalign': False, 'congruent': 3}} {'OP': 'STOR', 'dst': {'size': 4, 'NT': False, 'type': 'addresses_D', 'same': True, 'AVXalign': False, 'congruent': 0}} {'OP': 'STOR', 'dst': {'size': 4, 'NT': False, 'type': 'addresses_D', 'same': False, 'AVXalign': False, 'congruent': 6}} [Faulty Load] {'OP': 'LOAD', 'src': {'size': 2, 'NT': True, 'type': 'addresses_D', 'same': True, 'AVXalign': False, 'congruent': 0}} <gen_prepare_buffer> {'OP': 'STOR', 'dst': {'size': 8, 'NT': False, 'type': 'addresses_D_ht', 'same': False, 'AVXalign': False, 'congruent': 8}} {'OP': 'REPM', 'src': {'same': False, 'type': 'addresses_WT_ht', 'congruent': 9}, 'dst': {'same': False, 'type': 'addresses_UC_ht', 'congruent': 1}} {'OP': 'LOAD', 'src': {'size': 4, 'NT': False, 'type': 'addresses_UC_ht', 'same': False, 'AVXalign': False, 'congruent': 8}} {'54': 21829} 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 */
42.709677
2,999
0.656722
25c7747f210cab483be48adca0d6190e748f0aa0
170
sql
SQL
config/db/tables/see_clientmaster.sql
arproio/kpitest
43e015a57ad1bdcf16c19f11ac3cac6c5e20e212
[ "MIT" ]
null
null
null
config/db/tables/see_clientmaster.sql
arproio/kpitest
43e015a57ad1bdcf16c19f11ac3cac6c5e20e212
[ "MIT" ]
null
null
null
config/db/tables/see_clientmaster.sql
arproio/kpitest
43e015a57ad1bdcf16c19f11ac3cac6c5e20e212
[ "MIT" ]
null
null
null
CREATE TABLE public.see_clientmaster ( id numeric(10) NOT NULL DEFAULT nextval('see_clientmaster_seq'::regclass), "name" varchar(100) NOT NULL ) WITH ( OIDS=FALSE ) ;
21.25
75
0.747059
63a1d8744b96a48e46ecd1a3e366e4f08a847a09
223
kt
Kotlin
elytra-api/src/main/kotlin/io/elytra/api/registry/Registry.kt
heroslender/Elytra
0769e5d1f5c061d0ccd03cb26dc6328fd07ff02a
[ "MIT" ]
null
null
null
elytra-api/src/main/kotlin/io/elytra/api/registry/Registry.kt
heroslender/Elytra
0769e5d1f5c061d0ccd03cb26dc6328fd07ff02a
[ "MIT" ]
null
null
null
elytra-api/src/main/kotlin/io/elytra/api/registry/Registry.kt
heroslender/Elytra
0769e5d1f5c061d0ccd03cb26dc6328fd07ff02a
[ "MIT" ]
null
null
null
package io.elytra.api.registry import java.util.stream.Stream interface Registry <T, K> { fun add(record: T) fun remove(record: T) fun get(record: K): T? fun stream(): Stream<T> fun size(): Int fun clear() }
11.15
30
0.663677
26ef2b421205513d70d5425702152d5847f8e974
4,113
sql
SQL
public/territories.sql
TiffanyBenjamin/facebook_websecurity_assignment01
1b91744a6cd0ad16f98aa9a290ffb982ddc828c8
[ "Apache-2.0" ]
null
null
null
public/territories.sql
TiffanyBenjamin/facebook_websecurity_assignment01
1b91744a6cd0ad16f98aa9a290ffb982ddc828c8
[ "Apache-2.0" ]
1
2016-06-23T00:31:43.000Z
2016-06-26T20:47:16.000Z
public/territories.sql
TiffanyBenjamin/facebook_websecurity_assignment01
1b91744a6cd0ad16f98aa9a290ffb982ddc828c8
[ "Apache-2.0" ]
null
null
null
CREATE TABLE territories ( `id` INT, `name` VARCHAR(22) CHARACTER SET utf8, `state_id` INT, `salespeople_ids` VARCHAR(4) CHARACTER SET utf8, `Column_5` VARCHAR(3) CHARACTER SET utf8 ); INSERT INTO territories VALUES (1,'Alabama', 1,' [1]',NULL); INSERT INTO territories VALUES (2,'Alaska', 2,' [4]',NULL); INSERT INTO territories VALUES (3,'Arizona', 3,' [3]',NULL); INSERT INTO territories VALUES (4,'Arkansas', 4,' [6]',NULL); INSERT INTO territories VALUES (5,'Northern California', 5,' [4]',NULL); INSERT INTO territories VALUES (6,'Southern California', 5,' [2]',NULL); INSERT INTO territories VALUES (7,'Colorado', 6,' [3]',NULL); INSERT INTO territories VALUES (8,'Connecticut', 7,' [9]',NULL); INSERT INTO territories VALUES (9,'Delaware', 8,' [9]',NULL); INSERT INTO territories VALUES (10,'Florida', 9,' [1]',NULL); INSERT INTO territories VALUES (11,'Georgia', 10,' [1]',NULL); INSERT INTO territories VALUES (12,'Hawaii', 11,' [3]',NULL); INSERT INTO territories VALUES (13,'Idaho', 12,' [3]',NULL); INSERT INTO territories VALUES (14,'Chicago Metro', 13,' [2]',NULL); INSERT INTO territories VALUES (15,'Outside Chicago', 13,' [5]',NULL); INSERT INTO territories VALUES (16,'Indiana', 14,' [7]',NULL); INSERT INTO territories VALUES (17,'Iowa', 15,' [5]',NULL); INSERT INTO territories VALUES (18,'Kansas', 16,' [8]',NULL); INSERT INTO territories VALUES (19,'Kentucky', 17,' [7]',NULL); INSERT INTO territories VALUES (20,'Louisiana', 18,' [6]',NULL); INSERT INTO territories VALUES (21,'Maine', 19,' [9]',NULL); INSERT INTO territories VALUES (22,'Maryland', 20,' [9]',NULL); INSERT INTO territories VALUES (23,'Massachusetts', 21,' [9]',NULL); INSERT INTO territories VALUES (24,'Michigan', 22,' [7]',NULL); INSERT INTO territories VALUES (25,'Minnesota', 23,' [5]',NULL); INSERT INTO territories VALUES (26,'Mississippi', 24,' [1]',NULL); INSERT INTO territories VALUES (27,'St. Louis Area', 25,' [1]',NULL); INSERT INTO territories VALUES (28,'Kansas City Area', 25,' [5]',NULL); INSERT INTO territories VALUES (29,'Montana', 26,' [3]',NULL); INSERT INTO territories VALUES (30,'Nebraska', 27,' [8]',NULL); INSERT INTO territories VALUES (31,'Las Vegas', 28,' [2]',NULL); INSERT INTO territories VALUES (32,'Outside Las Vegas', 28,' [3]',NULL); INSERT INTO territories VALUES (33,'New Hampshire', 29,' [9]',NULL); INSERT INTO territories VALUES (34,'Northern New Jersey', 30,' [9]',NULL); INSERT INTO territories VALUES (35,'Southern New Jersey', 30,' [2]',NULL); INSERT INTO territories VALUES (36,'New Mexico', 31,' [3]',NULL); INSERT INTO territories VALUES (37,'New York City', 32,' [2',' 9]'); INSERT INTO territories VALUES (38,'Outside New York City', 32,' [9]',NULL); INSERT INTO territories VALUES (39,'North Carolina', 33,' [1]',NULL); INSERT INTO territories VALUES (40,'North Dakota', 34,' [8]',NULL); INSERT INTO territories VALUES (41,'Ohio', 35,' [7]',NULL); INSERT INTO territories VALUES (42,'Oklahoma', 36,' [6]',NULL); INSERT INTO territories VALUES (43,'Oregon', 37,' [4]',NULL); INSERT INTO territories VALUES (44,'Western Pennsylvania', 38,' [7]',NULL); INSERT INTO territories VALUES (45,'Eastern Pennsylvania', 38,' [2]',NULL); INSERT INTO territories VALUES (46,'Rhode Island', 39,' [9]',NULL); INSERT INTO territories VALUES (47,'South Carolina', 40,' [1]',NULL); INSERT INTO territories VALUES (48,'South Dakota', 41,' [8]',NULL); INSERT INTO territories VALUES (49,'Tennessee', 42,' [1]',NULL); INSERT INTO territories VALUES (50,'Texas', 43,' [6]',NULL); INSERT INTO territories VALUES (51,'Utah', 44,' [3]',NULL); INSERT INTO territories VALUES (52,'Vermont', 45,' [9]',NULL); INSERT INTO territories VALUES (53,'Northern Virginia', 46,' [2]',NULL); INSERT INTO territories VALUES (54,'Southern Virginia', 46,' [1]',NULL); INSERT INTO territories VALUES (55,'Washington', 47,' [4]',NULL); INSERT INTO territories VALUES (56,'West Virginia', 48,' [7]',NULL); INSERT INTO territories VALUES (57,'Wisconsin', 49,' [5]',NULL); INSERT INTO territories VALUES (58,'Wyoming', 50,' [3]',NULL);
62.318182
77
0.67858
39b93f4ad0216436af98581fe670f352e51507c1
1,022
js
JavaScript
client/node_modules/snabbdom-pragma/test/pragma-test.js
applefighting/babygo.github.io
07bfab9ef53fbeee00656234116222791fdf1ac2
[ "MIT" ]
49
2017-01-14T20:33:37.000Z
2021-11-16T12:32:03.000Z
client/node_modules/snabbdom-pragma/test/pragma-test.js
applefighting/babygo.github.io
07bfab9ef53fbeee00656234116222791fdf1ac2
[ "MIT" ]
41
2017-02-24T16:21:29.000Z
2020-10-30T02:16:32.000Z
client/node_modules/snabbdom-pragma/test/pragma-test.js
applefighting/babygo.github.io
07bfab9ef53fbeee00656234116222791fdf1ac2
[ "MIT" ]
17
2017-02-26T13:53:48.000Z
2020-10-16T12:01:44.000Z
import path from 'path' import fs from 'fs' import test from 'ava' import h from 'snabbdom/h' import { createElement as src } from '../src/index' import { createElement as dist } from '../dist/index' const fixturesDir = path.join(__dirname, 'pragma-specs') fs.readdirSync(fixturesDir).forEach((caseName) => { test(`src - Should works for ${caseName.split('-').join(' ')}`, (t) => { const fixtureDir = path.join(fixturesDir, caseName) const actual = require( path.join(fixtureDir, 'actual.js') ).default(src) const expected = require( path.join(fixtureDir, 'expected.js') ).default(h) t.deepEqual(actual, expected) }) test(`dist - Should works for ${caseName.split('-').join(' ')}`, (t) => { const fixtureDir = path.join(fixturesDir, caseName) const actual = require( path.join(fixtureDir, 'actual.js') ).default(dist) const expected = require( path.join(fixtureDir, 'expected.js') ).default(h) t.deepEqual(actual, expected) }) })
24.333333
75
0.643836
3db3e06f7fae4f36a1a773f05321147ec8515668
2,299
rs
Rust
Rust/ms-rust/chapter8/rusty-journal/src/tasks.rs
hrntsm/study-language
922578a5321d70c26b935e6052f400125e15649c
[ "MIT" ]
1
2022-02-06T10:50:42.000Z
2022-02-06T10:50:42.000Z
Rust/ms-rust/chapter8/rusty-journal/src/tasks.rs
hrntsm/study-language
922578a5321d70c26b935e6052f400125e15649c
[ "MIT" ]
null
null
null
Rust/ms-rust/chapter8/rusty-journal/src/tasks.rs
hrntsm/study-language
922578a5321d70c26b935e6052f400125e15649c
[ "MIT" ]
null
null
null
use chrono::{serde::ts_seconds, DateTime, Local, Utc}; use serde::Deserialize; use serde::Serialize; use std::fs::{File, OpenOptions}; use std::path::PathBuf; use std::io::{Result, Error, ErrorKind, Seek, SeekFrom}; use std::fmt; #[derive(Debug, Deserialize, Serialize)] pub struct Task { pub text: String, #[serde(with = "ts_seconds")] pub created_at: DateTime<Utc>, } impl Task { pub fn new(text: String) -> Task { let created_at: DateTime<Utc> = Utc::now(); Task { text, created_at } } } impl fmt::Display for Task { fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { let create_at = self.created_at.with_timezone(&Local).format("%F %H:%M"); write!(f, "{:<50} [{}]", self.text, create_at) } } pub fn add_task(journal_path: PathBuf, task: Task) -> Result<()> { let file = OpenOptions::new() .read(true) .write(true) .create(true) .open(journal_path)?; let mut tasks = collect_tasks(&file)?; tasks.push(task); serde_json::to_writer(file, &tasks)?; Ok(()) } pub fn complete_task(journal_path: PathBuf, task_position: usize) -> Result<()> { let file = OpenOptions::new() .read(true) .write(true) .create(true) .open(journal_path)?; let mut tasks = collect_tasks(&file)?; if task_position == 0 || task_position > tasks.len() { return Err(Error::new(ErrorKind::InvalidInput, "Invalid Task ID")); } tasks.remove(task_position -1); file.set_len(0)?; serde_json::to_writer(file, &tasks)?; Ok(()) } pub fn list_tasks(journal_path: PathBuf) -> Result<()> { let file = OpenOptions::new().read(true).open(journal_path)?; let tasks = collect_tasks(&file)?; if tasks.is_empty() { println!("Task list is empty!"); } else { let mut order: u32 = 1; for task in tasks { println!("{}: {}", order, task); order += 1; } } Ok(()) } fn collect_tasks(mut file: &File) -> Result<Vec<Task>> { file.seek(SeekFrom::Start(0))?; let tasks = match serde_json::from_reader(file) { Ok(tasks) => tasks, Err(e) if e.is_eof() => Vec::new(), Err(e) => Err(e)?, }; file.seek(SeekFrom::Start(0))?; Ok(tasks) }
26.732558
81
0.581557
76e14470f2b00c40eca523ab76b781f257ec9ea6
4,677
h
C
AlsaRawMidi.h
DrItanium/syn
bee289392e9e84a12d98a4b19f2a0ada9d7ae14a
[ "BSD-2-Clause" ]
1
2017-04-17T14:46:28.000Z
2017-04-17T14:46:28.000Z
AlsaRawMidi.h
DrItanium/syn
bee289392e9e84a12d98a4b19f2a0ada9d7ae14a
[ "BSD-2-Clause" ]
4
2017-03-15T23:28:14.000Z
2017-10-29T22:48:28.000Z
AlsaRawMidi.h
DrItanium/syn
bee289392e9e84a12d98a4b19f2a0ada9d7ae14a
[ "BSD-2-Clause" ]
null
null
null
/** * @file * extensions for ALSA related operations * @copyright * syn * Copyright (c) 2013-2017, Joshua Scoggins and Contributors * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * * Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ #ifndef ALSA_RAW_MIDI_H__ #define ALSA_RAW_MIDI_H__ #include <alsa/asoundlib.h> #include <string> namespace alsa { using Config = snd_config_t; using StatusCode = int; using CardId = int; using Controller = snd_ctl_t; std::string decodeStatusCode(StatusCode status) noexcept; StatusCode nextCard(CardId* card) noexcept { return snd_card_next(card); } StatusCode close(Controller* ctl) noexcept { return snd_ctl_close(ctl); } // TODO: fix the open mode with an enum inline StatusCode open(Controller** ctl, const std::string& name, int mode) noexcept { return snd_ctl_open(ctl, name.c_str(), static_cast<int>(mode)); } inline StatusCode open(Controller** ctl, const std::string& name, int mode, Config* lconf) noexcept { return snd_ctl_open_lconf(ctl, name.c_str(), static_cast<int>(mode), lconf); } inline StatusCode getCardName(CardId card, char** storage) noexcept { return snd_card_get_name(card, storage); } inline StatusCode getCardLongName(CardId card, char** storage) noexcept { return snd_card_get_longname(card, storage); } namespace rawmidi { using Device = snd_rawmidi_t; using RawInfo = snd_rawmidi_info_t; using DeviceId = int; enum class OpenMode : int { Append = SND_RAWMIDI_APPEND, NonBlocking = SND_RAWMIDI_NONBLOCK, Sync = SND_RAWMIDI_SYNC, }; enum class StreamDirection { Input = SND_RAWMIDI_STREAM_INPUT, Output = SND_RAWMIDI_STREAM_OUTPUT, }; alsa::StatusCode open(Device** inputp, Device** outputp, const std::string& name, OpenMode mode) noexcept { return snd_rawmidi_open(inputp, outputp, name.c_str(), static_cast<int>(mode)); } alsa::StatusCode open(Device** inRmidi, Device** outRMidi, const std::string& name, OpenMode mode, alsa::Config* lconf) noexcept { return snd_rawmidi_open_lconf(inRmidi, outRMidi, name.c_str(), static_cast<int>(mode), lconf); } alsa::StatusCode close(Device* rmidi) noexcept { return snd_rawmidi_close(rmidi); } ssize_t write(Device* dev, const void* buffer, size_t size) noexcept { return snd_rawmidi_write(dev, buffer, size); } ssize_t read(Device* dev, void* buffer, size_t size) noexcept { return snd_rawmidi_read(dev, buffer, size); } alsa::StatusCode nextDevice(alsa::Controller* ctl, int* device) noexcept { return snd_ctl_rawmidi_next_device(ctl, device); } void setDevice(RawInfo* _info, unsigned int val) noexcept { snd_rawmidi_info_set_device(_info, val); } void setSubdevice(RawInfo* _info, unsigned int val) noexcept { snd_rawmidi_info_set_subdevice(_info, val); } void setStream(RawInfo* _info, StreamDirection direction) noexcept { snd_rawmidi_info_set_stream(_info, snd_rawmidi_stream_t(direction)); } alsa::StatusCode populate(RawInfo* _info, alsa::Controller* ctl) noexcept { return snd_ctl_rawmidi_info(ctl, _info); } int getSubdeviceCount(RawInfo* _info) noexcept { return snd_rawmidi_info_get_subdevices_count(_info); } const char* getSubdeviceName(RawInfo* _info) noexcept { return snd_rawmidi_info_get_subdevice_name(_info); } const char* getName(RawInfo* _info) noexcept { return snd_rawmidi_info_get_name(_info); } } } // end namespace alsa #endif // end ALSA_RAW_MIDI_H__
57.740741
231
0.752833
1808e9e61b451cabfcab3e0bf3f0987040cca69f
668
rb
Ruby
examples/process_thin.rb
Bonias/eye
e56b12286628fb88f50e84c1da9dbf48bf83e9a3
[ "MIT" ]
null
null
null
examples/process_thin.rb
Bonias/eye
e56b12286628fb88f50e84c1da9dbf48bf83e9a3
[ "MIT" ]
null
null
null
examples/process_thin.rb
Bonias/eye
e56b12286628fb88f50e84c1da9dbf48bf83e9a3
[ "MIT" ]
null
null
null
def thin(proxy, port) name = "thin-#{port}" opts = [ "-l thins.log", "-p #{port}", "-P #{name}.pid", "-d", "-R thin.ru", "--tag #{proxy.app.name}.#{proxy.name}", "-t 60", "-e #{proxy.env["RAILS_ENV"]}", "-c #{proxy.working_dir}", "-a 127.0.0.1" ] proxy.process(name) do pid_file "#{name}.pid" start_command "#{BUNDLE} exec thin start #{opts * ' '}" stop_signals [:QUIT, 2.seconds, :TERM, 1.seconds, :KILL] stdall "thin.stdall.log" check :http, :url => "http://127.0.0.1:#{port}/hello", :pattern => /World/, :every => 5.seconds, :times => [2, 3], :timeout => 1.second end end
22.266667
79
0.511976
71c112848a82d60564a06ef27bbf9e617f3de13f
262
swift
Swift
Carthage/Checkouts/UIScrollView-InfiniteScroll/InfiniteScrollViewDemoSwift/PhotoCell.swift
rjbrakel/ome-joops-tour-ios
38c9b4f3ac7c6514b717d9063d041b8e0d13269a
[ "MIT" ]
1
2017-03-31T21:42:25.000Z
2017-03-31T21:42:25.000Z
Carthage/Checkouts/UIScrollView-InfiniteScroll/InfiniteScrollViewDemoSwift/PhotoCell.swift
rjbrakel/ome-joops-tour-ios
38c9b4f3ac7c6514b717d9063d041b8e0d13269a
[ "MIT" ]
null
null
null
Carthage/Checkouts/UIScrollView-InfiniteScroll/InfiniteScrollViewDemoSwift/PhotoCell.swift
rjbrakel/ome-joops-tour-ios
38c9b4f3ac7c6514b717d9063d041b8e0d13269a
[ "MIT" ]
1
2019-12-05T19:33:07.000Z
2019-12-05T19:33:07.000Z
// // PhotoCell.swift // InfiniteScrollViewDemoSwift // // Created by pronebird on 5/3/15. // Copyright (c) 2015 pronebird. All rights reserved. // import UIKit class PhotoCell: UICollectionViewCell { @IBOutlet weak var imageView: UIImageView! }
16.375
54
0.706107
4a2f115c293150b812c6d85b02ff4e66f5ca310e
2,381
js
JavaScript
4. Creating documentes in Pimcore/tmp/vendor/pimcore/pimcore/bundles/AdminBundle/Resources/public/js/pimcore/object/layout/iframe.js
PacktPublishing/Modernizing-Enterprise-CMS-using-Pimcore
3ee27fff6172d68e9a0759f9f6a0cafbc4d61ac1
[ "MIT" ]
6
2021-07-04T09:24:23.000Z
2022-01-23T20:52:12.000Z
4. Creating documentes in Pimcore/tmp/vendor/pimcore/pimcore/bundles/AdminBundle/Resources/public/js/pimcore/object/layout/iframe.js
PacktPublishing/Modernizing-Enterprise-CMS-using-Pimcore
3ee27fff6172d68e9a0759f9f6a0cafbc4d61ac1
[ "MIT" ]
2
2020-11-14T20:12:07.000Z
2022-01-18T13:43:00.000Z
4. Creating documentes in Pimcore/tmp/vendor/pimcore/pimcore/bundles/AdminBundle/Resources/public/js/pimcore/object/layout/iframe.js
PacktPublishing/Modernizing-Enterprise-CMS-using-Pimcore
3ee27fff6172d68e9a0759f9f6a0cafbc4d61ac1
[ "MIT" ]
3
2021-06-29T05:35:49.000Z
2021-10-01T13:36:53.000Z
/** * Pimcore * * This source file is available under two different licenses: * - GNU General Public License version 3 (GPLv3) * - Pimcore Enterprise License (PEL) * Full copyright and license information is available in * LICENSE.md which is distributed with this source code. * * @copyright Copyright (c) Pimcore GmbH (http://www.pimcore.org) * @license http://www.pimcore.org/license GPLv3 and PEL */ pimcore.registerNS("pimcore.object.layout.iframe"); pimcore.object.layout.iframe = Class.create(pimcore.object.abstract, { initialize: function (config, context) { this.config = config; this.context = context; this.context["renderingData"] = this.config.renderingData; this.context["name"] = this.config.name; }, getLayout: function () { var queryString = Ext.Object.toQueryString({ context: Ext.encode(this.context) }); var html = '<iframe src="' + this.config.iframeUrl + "?" + queryString + '"frameborder="0" width="100%" height="' + (this.config.height - 38) + '" style="display: block"></iframe>'; this.component = new Ext.Panel({ border: true, style: "margin-bottom: 10px", cls: "pimcore_layout_iframe_border", height: this.config.height, width: this.config.width, scrollable: true, html: html, tbar: { items: [ { xtype: "tbtext", text: this.config.title }, "->", { xtype: 'button', text: t('refresh'), iconCls: 'pimcore_icon_reload', handler: function () { var key = "object_" + this.context.objectId; if (pimcore.globalmanager.exists(key)) { var objectTab = pimcore.globalmanager.get(key); objectTab.saveToSession(function () { this.component.setHtml(html); }.bind(this)); } }.bind(this) } ] } }); return this.component; } });
33.535211
189
0.49433
1252c15d32624f90104210d09dad907754b9fd6e
8,780
c
C
libvirt/pileus-libvirt-1.2.12/tests/securityselinuxhelper.c
SIIS-cloud/pileus
de7546845cf03862cdd2b9884fefb2033d8b11ab
[ "Apache-2.0" ]
3
2017-09-22T15:10:01.000Z
2018-03-30T02:11:54.000Z
libvirt/pileus-libvirt-1.2.12/tests/securityselinuxhelper.c
SIIS-cloud/Pileus
de7546845cf03862cdd2b9884fefb2033d8b11ab
[ "Apache-2.0" ]
null
null
null
libvirt/pileus-libvirt-1.2.12/tests/securityselinuxhelper.c
SIIS-cloud/Pileus
de7546845cf03862cdd2b9884fefb2033d8b11ab
[ "Apache-2.0" ]
null
null
null
/* * Copyright (C) 2011-2013 Red Hat, Inc. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library. If not, see * <http://www.gnu.org/licenses/>. * */ #include <config.h> /* This file is only compiled on Linux, and only if xattr support was * detected. */ #include <dlfcn.h> #include <errno.h> #if HAVE_LINUX_MAGIC_H # include <linux/magic.h> #endif #include <selinux/selinux.h> #if HAVE_SELINUX_LABEL_H # include <selinux/label.h> #endif #include <stdio.h> #include <stdlib.h> #include <string.h> #include <sys/vfs.h> #include <unistd.h> #include <attr/xattr.h> #ifndef NFS_SUPER_MAGIC # define NFS_SUPER_MAGIC 0x6969 #endif #define VIR_FROM_THIS VIR_FROM_NONE #include "viralloc.h" #include "virstring.h" static int (*realstatfs)(const char *path, struct statfs *buf); static int (*realsecurity_get_boolean_active)(const char *name); static int (*realis_selinux_enabled)(void); static const char *(*realselinux_virtual_domain_context_path)(void); static const char *(*realselinux_virtual_image_context_path)(void); #ifdef HAVE_SELINUX_LXC_CONTEXTS_PATH static const char *(*realselinux_lxc_contexts_path)(void); #endif #if HAVE_SELINUX_LABEL_H static struct selabel_handle *(*realselabel_open)(unsigned int backend, struct selinux_opt *opts, unsigned nopts); static void (*realselabel_close)(struct selabel_handle *handle); static int (*realselabel_lookup_raw)(struct selabel_handle *handle, security_context_t *con, const char *key, int type); #endif static void init_syms(void) { if (realstatfs) return; #define LOAD_SYM(name) \ do { \ if (!(real ## name = dlsym(RTLD_NEXT, #name))) { \ fprintf(stderr, "Cannot find real '%s' symbol\n", #name); \ abort(); \ } \ } while (0) LOAD_SYM(statfs); LOAD_SYM(security_get_boolean_active); LOAD_SYM(is_selinux_enabled); LOAD_SYM(selinux_virtual_domain_context_path); LOAD_SYM(selinux_virtual_image_context_path); #ifdef HAVE_SELINUX_LXC_CONTEXTS_PATH LOAD_SYM(selinux_lxc_contexts_path); #endif #if HAVE_SELINUX_LABEL_H LOAD_SYM(selabel_open); LOAD_SYM(selabel_close); LOAD_SYM(selabel_lookup_raw); #endif #undef LOAD_SYM } /* * The kernel policy will not allow us to arbitrarily change * test process context. This helper is used as an LD_PRELOAD * so that the libvirt code /thinks/ it is changing/reading * the process context, whereas in fact we're faking it all. * Furthermore, we fake out that we are using an nfs subdirectory, * where we control whether selinux is enforcing and whether * the virt_use_nfs bool is set. */ int getcon_raw(security_context_t *context) { if (!is_selinux_enabled()) { errno = EINVAL; return -1; } if (getenv("FAKE_SELINUX_CONTEXT") == NULL) { *context = NULL; errno = EINVAL; return -1; } return VIR_STRDUP_QUIET(*context, getenv("FAKE_SELINUX_CONTEXT")); } int getcon(security_context_t *context) { return getcon_raw(context); } int getpidcon_raw(pid_t pid, security_context_t *context) { if (!is_selinux_enabled()) { errno = EINVAL; return -1; } if (pid != getpid()) { *context = NULL; errno = ESRCH; return -1; } if (getenv("FAKE_SELINUX_CONTEXT") == NULL) { *context = NULL; errno = EINVAL; return -1; } return VIR_STRDUP_QUIET(*context, getenv("FAKE_SELINUX_CONTEXT")); } int getpidcon(pid_t pid, security_context_t *context) { return getpidcon_raw(pid, context); } int setcon_raw(VIR_SELINUX_CTX_CONST char *context) { if (!is_selinux_enabled()) { errno = EINVAL; return -1; } return setenv("FAKE_SELINUX_CONTEXT", context, 1); } int setcon(VIR_SELINUX_CTX_CONST char *context) { return setcon_raw(context); } int setfilecon_raw(const char *path, VIR_SELINUX_CTX_CONST char *con) { const char *constr = con; if (STRPREFIX(path, abs_builddir "/securityselinuxlabeldata/nfs/")) { errno = EOPNOTSUPP; return -1; } return setxattr(path, "user.libvirt.selinux", constr, strlen(constr), 0); } int setfilecon(const char *path, VIR_SELINUX_CTX_CONST char *con) { return setfilecon_raw(path, con); } int getfilecon_raw(const char *path, security_context_t *con) { char *constr = NULL; ssize_t len = getxattr(path, "user.libvirt.selinux", NULL, 0); if (STRPREFIX(path, abs_builddir "/securityselinuxlabeldata/nfs/")) { errno = EOPNOTSUPP; return -1; } if (len < 0) return -1; if (!(constr = malloc(len+1))) return -1; memset(constr, 0, len); if (getxattr(path, "user.libvirt.selinux", constr, len) < 0) { free(constr); return -1; } *con = constr; constr[len] = '\0'; return 0; } int getfilecon(const char *path, security_context_t *con) { return getfilecon_raw(path, con); } int statfs(const char *path, struct statfs *buf) { int ret; init_syms(); ret = realstatfs(path, buf); if (!ret && STREQ(path, abs_builddir "/securityselinuxlabeldata/nfs")) buf->f_type = NFS_SUPER_MAGIC; return ret; } int is_selinux_enabled(void) { return getenv("FAKE_SELINUX_DISABLED") == NULL; } int security_disable(void) { if (!is_selinux_enabled()) { errno = ENOENT; return -1; } return setenv("FAKE_SELINUX_DISABLED", "1", 1); } int security_getenforce(void) { if (!is_selinux_enabled()) { errno = ENOENT; return -1; } /* For the purpose of our test, we are enforcing. */ return 1; } int security_get_boolean_active(const char *name) { if (!is_selinux_enabled()) { errno = ENOENT; return -1; } /* For the purpose of our test, nfs is not permitted. */ if (STREQ(name, "virt_use_nfs")) return 0; init_syms(); return realsecurity_get_boolean_active(name); } const char *selinux_virtual_domain_context_path(void) { init_syms(); if (realis_selinux_enabled()) return realselinux_virtual_domain_context_path(); return abs_srcdir "/securityselinuxhelperdata/virtual_domain_context"; } const char *selinux_virtual_image_context_path(void) { init_syms(); if (realis_selinux_enabled()) return realselinux_virtual_image_context_path(); return abs_srcdir "/securityselinuxhelperdata/virtual_image_context"; } #ifdef HAVE_SELINUX_LXC_CONTEXTS_PATH const char *selinux_lxc_contexts_path(void) { init_syms(); if (realis_selinux_enabled()) return realselinux_lxc_contexts_path(); return abs_srcdir "/securityselinuxhelperdata/lxc_contexts"; } #endif #if HAVE_SELINUX_LABEL_H struct selabel_handle *selabel_open(unsigned int backend, struct selinux_opt *opts, unsigned nopts) { char *fake_handle; init_syms(); if (realis_selinux_enabled()) return realselabel_open(backend, opts, nopts); /* struct selabel_handle is opaque; fake it */ if (VIR_ALLOC(fake_handle) < 0) return NULL; return (struct selabel_handle *)fake_handle; } void selabel_close(struct selabel_handle *handle) { init_syms(); if (realis_selinux_enabled()) return realselabel_close(handle); VIR_FREE(handle); } int selabel_lookup_raw(struct selabel_handle *handle, security_context_t *con, const char *key, int type) { init_syms(); if (realis_selinux_enabled()) return realselabel_lookup_raw(handle, con, key, type); /* Unimplemented */ errno = ENOENT; return -1; } #endif
25.085714
75
0.637585
a4f5a4a785529598ef5c4565eb8865cce4ffc170
10,956
lua
Lua
mayoran/src/handler/ressourceHandler.lua
zorfmorf/loveprojects
84b7629e30c0b68b205ca9e18085cc8d514e0698
[ "Apache-2.0" ]
null
null
null
mayoran/src/handler/ressourceHandler.lua
zorfmorf/loveprojects
84b7629e30c0b68b205ca9e18085cc8d514e0698
[ "Apache-2.0" ]
null
null
null
mayoran/src/handler/ressourceHandler.lua
zorfmorf/loveprojects
84b7629e30c0b68b205ca9e18085cc8d514e0698
[ "Apache-2.0" ]
null
null
null
function ressourceHandler_loadAudioFiles() end function ressourceHandler_loadTiles() -- tut files tut_mouse = love.graphics.newImage("res/mouse.png") tut_build = love.graphics.newImage("res/build.png") tut_ressources = love.graphics.newImage("res/ressources.png") tut_layer = love.graphics.newImage("res/layer.png") tileset = {} local tileSource = love.image.newImageData("res/tileset.png") local imgData = love.image.newImageData(tilesize, tilesize) -- grass imgData:paste(tileSource, 0, 0, 0, 0, tilesize, tilesize) tileset["grass1"] = love.graphics.newImage(imgData) imgData:paste(tileSource, 0, 0, 1 * tilesize, 0, tilesize, tilesize) tileset["grass2"] = love.graphics.newImage(imgData) imgData:paste(tileSource, 0, 0, 2 * tilesize, 0, tilesize, tilesize) tileset["grass3"] = love.graphics.newImage(imgData) imgData:paste(tileSource, 0, 0, 3 * tilesize, 0, tilesize, tilesize) tileset["grass4"] = love.graphics.newImage(imgData) imgData:paste(tileSource, 0, 0, 4 * tilesize, 0, tilesize, tilesize) tileset["grass5"] = love.graphics.newImage(imgData) -- grass edges imgData:paste(tileSource, 0, 0, 8 * tilesize, 0, tilesize, tilesize) tileset["grass_edge_u"] = love.graphics.newImage(imgData) imgData:paste(tileSource, 0, 0, 7 * tilesize, 1 * tilesize, tilesize, tilesize) tileset["grass_edge_l"] = love.graphics.newImage(imgData) imgData:paste(tileSource, 0, 0, 9 * tilesize, 1 * tilesize, tilesize, tilesize) tileset["grass_edge_r"] = love.graphics.newImage(imgData) imgData:paste(tileSource, 0, 0, 8 * tilesize, 2 * tilesize, tilesize, tilesize) tileset["grass_edge_d"] = love.graphics.newImage(imgData) imgData:paste(tileSource, 0, 0, 7 * tilesize, 0, tilesize, tilesize) tileset["grass_edge_lu"] = love.graphics.newImage(imgData) imgData:paste(tileSource, 0, 0, 7 * tilesize, 2 * tilesize, tilesize, tilesize) tileset["grass_edge_ld"] = love.graphics.newImage(imgData) imgData:paste(tileSource, 0, 0, 9 * tilesize, 2 * tilesize, tilesize, tilesize) tileset["grass_edge_rd"] = love.graphics.newImage(imgData) imgData:paste(tileSource, 0, 0, 9 * tilesize, 0, tilesize, tilesize) tileset["grass_edge_ru"] = love.graphics.newImage(imgData) imgData:paste(tileSource, 0, 0, 9 * tilesize, 4 * tilesize, tilesize, tilesize) tileset["grass_inner_rd"] = love.graphics.newImage(imgData) imgData:paste(tileSource, 0, 0, 8 * tilesize, 4 * tilesize, tilesize, tilesize) tileset["grass_inner_ld"] = love.graphics.newImage(imgData) imgData:paste(tileSource, 0, 0, 9 * tilesize, 3 * tilesize, tilesize, tilesize) tileset["grass_inner_ru"] = love.graphics.newImage(imgData) imgData:paste(tileSource, 0, 0, 8 * tilesize, 3 * tilesize, tilesize, tilesize) tileset["grass_inner_lu"] = love.graphics.newImage(imgData) -- ressources imgData:paste(tileSource, 0, 0, 0, 4 * tilesize, tilesize, tilesize) tileset["tree1"] = love.graphics.newImage(imgData) imgData:paste(tileSource, 0, 0, 1 * tilesize, 4 * tilesize, tilesize, tilesize) tileset["tree2"] = love.graphics.newImage(imgData) imgData:paste(tileSource, 0, 0, 2 * tilesize, 4 * tilesize, tilesize, tilesize) tileset["tree_down"] = love.graphics.newImage(imgData) imgData:paste(tileSource, 0, 0, 3 * tilesize, 4 * tilesize, tilesize, tilesize) tileset["stump"] = love.graphics.newImage(imgData) --cliff imgData:paste(tileSource, 0, 0, 0, 1 * tilesize, tilesize, tilesize) tileset["cliff1"] = love.graphics.newImage(imgData) imgData:paste(tileSource, 0, 0, 1 * tilesize, 1 * tilesize, tilesize, tilesize) tileset["cliff2"] = love.graphics.newImage(imgData) imgData:paste(tileSource, 0, 0, 2 * tilesize, 1 * tilesize, tilesize, tilesize) tileset["cliff3"] = love.graphics.newImage(imgData) imgData:paste(tileSource, 0, 0, 3 * tilesize, 1 * tilesize, tilesize, tilesize) tileset["cliff4"] = love.graphics.newImage(imgData) imgData:paste(tileSource, 0, 0, 0, 2 * tilesize, tilesize, tilesize) tileset["cliff_edge_l1"] = love.graphics.newImage(imgData) imgData:paste(tileSource, 0, 0, 0, 3 * tilesize, tilesize, tilesize) tileset["cliff_edge_l2"] = love.graphics.newImage(imgData) imgData:paste(tileSource, 0, 0, tilesize, 2 * tilesize, tilesize, tilesize) tileset["cliff_edge_r1"] = love.graphics.newImage(imgData) imgData:paste(tileSource, 0, 0, tilesize, 3 * tilesize, tilesize, tilesize) tileset["cliff_edge_r2"] = love.graphics.newImage(imgData) -- "rock" sort of terrain imgData:paste(tileSource, 0, 0, 9 * tilesize , 1 * tilesize, tilesize, tilesize) tileset["rock"] = love.graphics.newImage(imgData) imgData:paste(tileSource, 0, 0, 3 * tilesize, tilesize, tilesize, tilesize) -- ressources that can lie around imgData:paste(tileSource, 0, 0, 2 * tilesize, 3 * tilesize, tilesize, tilesize) tileset["build_planks1"] = love.graphics.newImage(imgData) imgData:paste(tileSource, 0, 0, 3 * tilesize, 3 * tilesize, tilesize, tilesize) tileset["build_planks2"] = love.graphics.newImage(imgData) imgData:paste(tileSource, 0, 0, 4 * tilesize, 3 * tilesize, tilesize, tilesize) tileset["build_planks3"] = love.graphics.newImage(imgData) imgData:paste(tileSource, 0, 0, 5 * tilesize, 3 * tilesize, tilesize, tilesize) tileset["build_planks4"] = love.graphics.newImage(imgData) imgData:paste(tileSource, 0, 0, 4 * tilesize, 4 * tilesize, tilesize, tilesize) tileset["build_log1"] = love.graphics.newImage(imgData) imgData:paste(tileSource, 0, 0, 5 * tilesize, 4 * tilesize, tilesize, tilesize) tileset["build_log2"] = love.graphics.newImage(imgData) -- buildings imgData:paste(tileSource, 0, 0, 2 * tilesize, 2 * tilesize, tilesize, tilesize) tileset["hut_ground"] = love.graphics.newImage(imgData) imgData:paste(tileSource, 0, 0, 3 * tilesize, 2 * tilesize, tilesize, tilesize) tileset["hut_frame"] = love.graphics.newImage(imgData) imgData:paste(tileSource, 0, 0, 4 * tilesize, 2 * tilesize, tilesize, tilesize) tileset["hut"] = love.graphics.newImage(imgData) imgData:paste(tileSource, 0, 0, 0, 5 * tilesize, tilesize, tilesize) tileset["woodcutter_ground"] = love.graphics.newImage(imgData) imgData:paste(tileSource, 0, 0, 1 * tilesize, 5 * tilesize, tilesize, tilesize) tileset["woodcutter_frame"] = love.graphics.newImage(imgData) imgData:paste(tileSource, 0, 0, 2 * tilesize, 5 * tilesize, tilesize, tilesize) tileset["woodcutter"] = love.graphics.newImage(imgData) -- waterfall imgData:paste(tileSource, 0, 0, 6 * tilesize, 5 * tilesize, tilesize, tilesize) tileset["waterfall_basel"] = love.graphics.newImage(imgData) imgData:paste(tileSource, 0, 0, 7 * tilesize, 5 * tilesize, tilesize, tilesize) tileset["waterfall_baser"] = love.graphics.newImage(imgData) imgData:paste(tileSource, 0, 0, 8 * tilesize, 5 * tilesize, tilesize, tilesize) tileset["waterfall_l1"] = love.graphics.newImage(imgData) imgData:paste(tileSource, 0, 0, 8 * tilesize, 6 * tilesize, tilesize, tilesize) tileset["waterfall_l2"] = love.graphics.newImage(imgData) imgData:paste(tileSource, 0, 0, 8 * tilesize, 7 * tilesize, tilesize, tilesize) tileset["waterfall_l3"] = love.graphics.newImage(imgData) imgData:paste(tileSource, 0, 0, 9 * tilesize, 5 * tilesize, tilesize, tilesize) tileset["waterfall_r1"] = love.graphics.newImage(imgData) imgData:paste(tileSource, 0, 0, 9 * tilesize, 6 * tilesize, tilesize, tilesize) tileset["waterfall_r2"] = love.graphics.newImage(imgData) imgData:paste(tileSource, 0, 0, 9 * tilesize, 7 * tilesize, tilesize, tilesize) tileset["waterfall_r3"] = love.graphics.newImage(imgData) --icons imgData:paste(tileSource, 0, 0, 0, 9 * tilesize, tilesize, tilesize) tileset["log"] = love.graphics.newImage(imgData) imgData:paste(tileSource, 0, 0, 1 * tilesize, 9 * tilesize, tilesize, tilesize) tileset["planks"] = love.graphics.newImage(imgData) imgData:paste(tileSource, 0, 0, 2 * tilesize, 9 * tilesize, tilesize, tilesize) tileset["stone"] = love.graphics.newImage(imgData) imgData:paste(tileSource, 0, 0, 3 * tilesize, 9 * tilesize, tilesize, tilesize) tileset["iron"] = love.graphics.newImage(imgData) imgData:paste(tileSource, 0, 0, 4 * tilesize, 9 * tilesize, tilesize, tilesize) tileset["gold"] = love.graphics.newImage(imgData) imgData:paste(tileSource, 0, 0, 1 * tilesize, 8 * tilesize, tilesize, tilesize) tileset["arrow_up"] = love.graphics.newImage(imgData) imgData:paste(tileSource, 0, 0, 2 * tilesize, 8 * tilesize, tilesize, tilesize) tileset["arrow_down"] = love.graphics.newImage(imgData) imgData:paste(tileSource, 0, 0, 0, 8 * tilesize, tilesize, tilesize) tileset["rectangle"] = love.graphics.newImage(imgData) imgData:paste(tileSource, 0, 0, 3 * tilesize, 8 * tilesize, tilesize, tilesize) tileset["x"] = love.graphics.newImage(imgData) charset = {} tileSource = love.image.newImageData("res/villager.png") imgData = love.image.newImageData(8, 12) imgData:paste(tileSource, 0, 0, 0, 0, 8, 12) charset["idle1"] = love.graphics.newImage(imgData) imgData:paste(tileSource, 0, 0, 8, 0, 8, 12) charset["idle2"] = love.graphics.newImage(imgData) imgData:paste(tileSource, 0, 0, 16, 0, 8, 12) charset["idle3"] = love.graphics.newImage(imgData) imgData:paste(tileSource, 0, 0, 24, 0, 8, 12) charset["idle4"] = love.graphics.newImage(imgData) imgData:paste(tileSource, 0, 0, 0, 12, 8, 12) charset["right1"] = love.graphics.newImage(imgData) imgData:paste(tileSource, 0, 0, 8, 12, 8, 12) charset["right2"] = love.graphics.newImage(imgData) imgData:paste(tileSource, 0, 0, 16, 12, 8, 12) charset["right3"] = love.graphics.newImage(imgData) imgData:paste(tileSource, 0, 0, 24, 12, 8, 12) charset["right4"] = love.graphics.newImage(imgData) imgData:paste(tileSource, 0, 0, 0, 24, 8, 12) charset["left1"] = love.graphics.newImage(imgData) imgData:paste(tileSource, 0, 0, 8, 24, 8, 12) charset["left2"] = love.graphics.newImage(imgData) imgData:paste(tileSource, 0, 0, 16, 24, 8, 12) charset["left3"] = love.graphics.newImage(imgData) imgData:paste(tileSource, 0, 0, 24, 24, 8, 12) charset["left4"] = love.graphics.newImage(imgData) imgData:paste(tileSource, 0, 0, 0, 36, 8, 12) charset["work1"] = love.graphics.newImage(imgData) imgData:paste(tileSource, 0, 0, 8, 36, 8, 12) charset["work2"] = love.graphics.newImage(imgData) imgData:paste(tileSource, 0, 0, 16, 36, 8, 12) charset["work3"] = love.graphics.newImage(imgData) imgData:paste(tileSource, 0, 0, 24, 36, 8, 12) charset["work4"] = love.graphics.newImage(imgData) end
55.614213
84
0.692497
0aaea957cadce96ba4f70c0139b37a83f5087b7e
273
swift
Swift
SwiftManual.playground/Pages/Array.xcplaygroundpage/Contents.swift
wtie/SwiftManual
d80e5e25890e9532e685e0b521e7e8ddc1b34f5e
[ "Apache-2.0" ]
1
2021-06-19T11:00:31.000Z
2021-06-19T11:00:31.000Z
SwiftManual.playground/Pages/Array.xcplaygroundpage/Contents.swift
wtie/SwiftManual
d80e5e25890e9532e685e0b521e7e8ddc1b34f5e
[ "Apache-2.0" ]
null
null
null
SwiftManual.playground/Pages/Array.xcplaygroundpage/Contents.swift
wtie/SwiftManual
d80e5e25890e9532e685e0b521e7e8ddc1b34f5e
[ "Apache-2.0" ]
null
null
null
//: [Previous](@previous) //: 用数组[15,58,510] 输出一个新数组 ["OneSix","FiveEight","FiveOneZero"] //: let numbers = [15,68,510] let digitName = [0:"Zero",1:"One",2:"Two",3:"Three",4:"Four",5:"Five",6:"Six",7:"Seven",8:"Eight",9:"Nine"] let numberStrings = [""] //: [Next](@next)
27.3
107
0.593407
c19e857c7df52e30ee8d42a604a5d7fd4326cf20
6,578
swift
Swift
JumpPad/iPad User Interface/iPadHomeProfileBanner.swift
sitefeng/Uniq-iOS
6589b8c6502bc7cfe57d2fc68c63627361f2d953
[ "Unlicense" ]
null
null
null
JumpPad/iPad User Interface/iPadHomeProfileBanner.swift
sitefeng/Uniq-iOS
6589b8c6502bc7cfe57d2fc68c63627361f2d953
[ "Unlicense" ]
null
null
null
JumpPad/iPad User Interface/iPadHomeProfileBanner.swift
sitefeng/Uniq-iOS
6589b8c6502bc7cfe57d2fc68c63627361f2d953
[ "Unlicense" ]
null
null
null
// // iPadHomeProfileBanner.swift // Uniq // // Created by Si Te Feng on 6/13/14. // Copyright (c) 2014 Si Te Feng. All rights reserved. // import UIKit class iPadHomeProfileBanner: UIView { var homeViewController: iPadMainHomeViewController! var userImage: UIImage! { get{ let retImg = userImageView.image return retImg } set(imageToSet){ self.userImageView.image = imageToSet } } var userImageView: UIImageView! var userImageAddButton: UIButton! var userNameLabel: UITextField! var userLocationLabel: UILabel! var activityIndicator: UIActivityIndicatorView! var averageProgressView: LDProgressView! var userAverage: Float { get{ return Float(self.averageProgressView.progress*100.0) } set (average) { self.averageProgressView.progress = CGFloat(average/100.0) } } var backgroundView: UIView! var setEditing: Selector! required init?(coder aDecoder: NSCoder) { super.init(coder: aDecoder) } override init(frame: CGRect) { super.init(frame: frame) // Initialization code //Background View backgroundView = UIView(frame: CGRect(x: 0, y: 0, width: frame.size.width, height: frame.size.height)) let tapRec:UITapGestureRecognizer = UITapGestureRecognizer(target: self, action: #selector(iPadHomeProfileBanner.backgroundTapped)) backgroundView.addGestureRecognizer(tapRec) let backgroundImgView : UIImageView = UIImageView(frame: CGRect(x: 0, y: 0, width: backgroundView.frame.size.width, height: backgroundView.frame.size.height)) // backgroundImgView.image = UIImage(named: "defaultProgram") backgroundImgView.image = UIImage(named: "edgeBackground") backgroundImgView.contentMode = UIViewContentMode.ScaleAspectFill backgroundView.addSubview(backgroundImgView) let backgroundWhiteCoverView: UIView = UIView(frame: backgroundImgView.frame) backgroundWhiteCoverView.backgroundColor = UIColor(white: 1.0, alpha: 0.5) backgroundView.addSubview(backgroundWhiteCoverView) self.addSubview(backgroundView) //User Image View userImageView = UIImageView(frame: CGRect(x: 60, y: 40, width: 200, height: 200)) userImageView.layer.cornerRadius = 15 userImageView.layer.masksToBounds = true userImageView.contentMode = UIViewContentMode.ScaleAspectFill self.addSubview(userImageView) userImageAddButton = UIButton(frame: CGRect(x: userImageView.frame.origin.x+50, y: userImageView.frame.origin.y+50, width: 100, height: 100)) userImageAddButton.setImage(UIImage(named: "addButtonIcon"), forState: UIControlState.Normal) userImageAddButton.setImage(UIImage(named: "addButtonIcon")?.imageWithAlpha(0.5), forState: UIControlState.Highlighted); userImageAddButton.addTarget(self, action: #selector(iPadHomeProfileBanner.imageAddButtonPressed(_:)), forControlEvents: UIControlEvents.TouchUpInside) userImageAddButton.hidden = true self.addSubview(userImageAddButton) //User Name TextField userNameLabel = UITextField(frame: CGRect(x: 280, y: 60, width: 300, height: 44)) userNameLabel.font = UIFont(name: JPFont.defaultThinFont(), size: 38) userNameLabel.userInteractionEnabled = false userNameLabel.clearsOnBeginEditing = true userNameLabel.autocapitalizationType = UITextAutocapitalizationType.Words userNameLabel.autocorrectionType = UITextAutocorrectionType.No userNameLabel.addTarget(homeViewController, action: #selector(UITextFieldDelegate.textFieldDidBeginEditing(_:)), forControlEvents: UIControlEvents.EditingDidBegin) userNameLabel.addTarget(homeViewController, action: #selector(UITextFieldDelegate.textFieldDidEndEditing(_:)), forControlEvents: UIControlEvents.EditingDidEnd) self.addSubview(userNameLabel) // var userLocationButton = UIButton(frame: CGRect(x: 280, y: 100, width: 100, height: 30)) // userLocationButton.titleLabel?.font = UIFont(name: JPFont.defaultFont(), size: 22) // userLocationButton.setTitle("Location:", forState: UIControlState.Normal) // userLocationButton.addTarget(self, action: "locationButtonPressed:", forControlEvents: UIControlEvents.TouchUpInside) // userLocationButton.setTitleColor(JPStyle.interfaceTintColor(), forState: UIControlState.Normal) // userLocationButton.setTitleColor(UIColor.whiteColor(), forState: UIControlState.Highlighted) // self.addSubview(userLocationButton) activityIndicator = UIActivityIndicatorView(frame: CGRect(x: 280 + 100, y: 100, width: 30, height: 30)) activityIndicator.activityIndicatorViewStyle = UIActivityIndicatorViewStyle.Gray self.addSubview(activityIndicator) userLocationLabel = UILabel(frame: CGRect(x: 280 + 100, y: 100, width: 300, height: 30)) userLocationLabel?.font = UIFont(name: JPFont.defaultFont(), size: 22) self.addSubview(userLocationLabel) //Average Progress View let avgTitle = UILabel(frame: CGRect(x: 280, y: 150, width: 300, height: 30)) avgTitle.font = UIFont(name: JPFont.defaultThinFont(), size: 22) avgTitle.text = "Overall Average" self.addSubview(avgTitle) self.averageProgressView = LDProgressView(frame: CGRect(x: 280, y: 185, width: 340, height: 27)) self.averageProgressView.color = JPStyle.colorWithName("green") self.averageProgressView.flat = true self.averageProgressView.animate = false self.addSubview(self.averageProgressView) } func setEditing(editing: Bool) { userImageAddButton.hidden = !editing self.userNameLabel.userInteractionEnabled = editing; } func imageAddButtonPressed(button: UIButton) { self.homeViewController.profileImageAddButtonPressed(button) } func locationButtonPressed(button: UIButton) { activityIndicator.startAnimating() self.homeViewController.locationButtonPressed(button) } func stopAnimatingActivityIndicator() { activityIndicator.stopAnimating() } func backgroundTapped() { userNameLabel.resignFirstResponder() } }
38.467836
171
0.687747
042dbf2e6718295a3d58ad2726218c4724bc31c4
1,362
kt
Kotlin
app/src/main/java/moe/pine/emoji/view/generator/TextColorView.kt
pine/Emoji-Android
a6447ccba5e729fb664df5b117616c1e44f0c5dd
[ "MIT" ]
9
2017-06-03T20:13:31.000Z
2019-04-05T14:36:06.000Z
app/src/main/java/moe/pine/emoji/view/generator/TextColorView.kt
pine/Emoji-Android
a6447ccba5e729fb664df5b117616c1e44f0c5dd
[ "MIT" ]
5
2017-06-03T16:07:13.000Z
2018-05-20T12:51:42.000Z
app/src/main/java/moe/pine/emoji/view/generator/TextColorView.kt
pine/Emoji-Android
a6447ccba5e729fb664df5b117616c1e44f0c5dd
[ "MIT" ]
null
null
null
package moe.pine.emoji.view.generator import android.content.Context import android.support.v7.app.AppCompatActivity import android.util.AttributeSet import android.widget.LinearLayout import kotlinx.android.synthetic.main.view_generator_text_color.view.* import moe.pine.emoji.fragment.generator.SelectColorDialogFragment import moe.pine.rgba.toColor import moe.pine.rgba.toRGBA /** * TextColorView * Created by pine on May 6, 2017. */ class TextColorView : LinearLayout { var color: Int set(value) { text_view_generator_text_color.text = value.toRGBA() view_generator_text_color_square.setBackgroundColor(value) } get() = text_view_generator_text_color.text.toString().toColor() constructor(context: Context?) : super(context) constructor(context: Context?, attrs: AttributeSet?) : super(context, attrs) constructor(context: Context?, attrs: AttributeSet?, defStyleAttr: Int) : super(context, attrs, defStyleAttr) override fun onFinishInflate() { super.onFinishInflate() view_generator_text_color.setOnClickListener { val dialog = SelectColorDialogFragment.newInstance(this.color, isBackground = false) val activity = this.context as AppCompatActivity activity.supportFragmentManager?.let { dialog.show(it, null) } } } }
36.810811
113
0.73348
617edf3344989a86a1c7c89d88c56a7c3095d7df
797
sql
SQL
migration-table-users.sql
vstaran/php-query-builder
975ecdf33944d3d4b05f72bc749fdcd4bbdfca6f
[ "MIT" ]
null
null
null
migration-table-users.sql
vstaran/php-query-builder
975ecdf33944d3d4b05f72bc749fdcd4bbdfca6f
[ "MIT" ]
null
null
null
migration-table-users.sql
vstaran/php-query-builder
975ecdf33944d3d4b05f72bc749fdcd4bbdfca6f
[ "MIT" ]
null
null
null
-- Adminer 4.7.8 MySQL dump SET NAMES utf8; SET time_zone = '+00:00'; SET foreign_key_checks = 0; SET sql_mode = 'NO_AUTO_VALUE_ON_ZERO'; DROP TABLE IF EXISTS `users`; CREATE TABLE `users` ( `id` int(11) NOT NULL AUTO_INCREMENT, `first_name` varchar(100) NOT NULL, `last_name` varchar(100) NOT NULL, `password` varchar(50) NOT NULL, `status` varchar(10) NOT NULL, `age` smallint(1) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; INSERT INTO `users` (`id`, `first_name`, `last_name`, `password`, `status`, `age`) VALUES (1, 'Ivan', 'Ivanov', 'c4ca4238a0b923820dcc509a6f75849b', 'active', 34), (2, 'Oleg', 'Olegov', 'c81e728d9d4c2f636f067f89cc14862c', 'active', 22), (3, 'Ivan', 'Lorem', 'eccbc87e4b5ce2fe28308fd9f2a7baf3', 'active', 16); -- 2021-11-26 10:56:14
33.208333
89
0.692597
331a7c4db3257ada350cf08ded30927dd48e842d
1,964
swift
Swift
Sources/Models/MKMapView/MKMapView+Area.swift
Machipla/SugarLumpMapKit
c3b4145dbabb02c83253613ed3e8f3fb38a949d7
[ "MIT" ]
null
null
null
Sources/Models/MKMapView/MKMapView+Area.swift
Machipla/SugarLumpMapKit
c3b4145dbabb02c83253613ed3e8f3fb38a949d7
[ "MIT" ]
null
null
null
Sources/Models/MKMapView/MKMapView+Area.swift
Machipla/SugarLumpMapKit
c3b4145dbabb02c83253613ed3e8f3fb38a949d7
[ "MIT" ]
null
null
null
// // MKMapView+Area.swift // SugarLumpMapKit // // Created by Mario Chinchilla on 10/10/18. // import Foundation import MapKit public extension MKMapView{ public struct Area{ public let northWestCoordinate:CLLocationCoordinate2D public let northEastCoordinate:CLLocationCoordinate2D public let southWestCoordinate:CLLocationCoordinate2D public let southEastCoordinate:CLLocationCoordinate2D public init(northWestCoordinate:CLLocationCoordinate2D = CLLocationCoordinate2D(latitude: 0, longitude: 0), northEastCoordinate:CLLocationCoordinate2D = CLLocationCoordinate2D(latitude: 0, longitude: 0), southWestCoordinate:CLLocationCoordinate2D = CLLocationCoordinate2D(latitude: 0, longitude: 0), southEastCoordinate:CLLocationCoordinate2D = CLLocationCoordinate2D(latitude: 0, longitude: 0)){ self.northEastCoordinate = northEastCoordinate self.northWestCoordinate = northWestCoordinate self.southWestCoordinate = southWestCoordinate self.southEastCoordinate = southEastCoordinate } } var visibleArea:MKMapView.Area{ let northWestCoordinate = MKCoordinateForMapPoint(MKMapPoint(x: MKMapRectGetMaxX(visibleMapRect), y: visibleMapRect.origin.y)) let northEastCoordinate = MKCoordinateForMapPoint(MKMapPoint(x: MKMapRectGetMinX(visibleMapRect), y: visibleMapRect.origin.y)) let southWestCoordinate = MKCoordinateForMapPoint(MKMapPoint(x: MKMapRectGetMaxX(visibleMapRect), y: MKMapRectGetMaxY(visibleMapRect))) let southEastCoordinate = MKCoordinateForMapPoint(MKMapPoint(x: visibleMapRect.origin.x, y: MKMapRectGetMaxY(visibleMapRect))) return MKMapView.Area(northWestCoordinate: northWestCoordinate, northEastCoordinate: northEastCoordinate, southWestCoordinate: southWestCoordinate, southEastCoordinate: southEastCoordinate) } }
51.684211
197
0.752546
3327fef21614dc3511498e572fb63b8ff5adf0a3
9,385
py
Python
rec_to_nwb/test/processing/tools/test_beartype.py
jihyunbak/rec_to_nwb
6e65f8bf0a4faa4d986483ec2442ba19d70c92a9
[ "Apache-2.0" ]
8
2020-05-29T13:48:35.000Z
2021-11-19T04:24:48.000Z
rec_to_nwb/test/processing/tools/test_beartype.py
jihyunbak/rec_to_nwb
6e65f8bf0a4faa4d986483ec2442ba19d70c92a9
[ "Apache-2.0" ]
12
2020-11-13T01:36:32.000Z
2022-01-23T20:35:55.000Z
rec_to_nwb/test/processing/tools/test_beartype.py
jihyunbak/rec_to_nwb
6e65f8bf0a4faa4d986483ec2442ba19d70c92a9
[ "Apache-2.0" ]
3
2020-10-20T06:52:45.000Z
2021-07-06T23:00:53.000Z
#!/usr/bin/env python3 """ `py.test`-driven unit test suite for the `@beartype` decorator, implementing a rudimentary subset of PEP 484-style type checking based on Python 3.x function annotations. Usage ---------- These tests assume the `@beartype` decorator and all utility functions (e.g., `_check_type_annotation()`) and globals (e.g., `_PARAMETER_KIND_IGNORED`) required by this decorator to reside in a top-level module named `beartype`. If this is the case, these tests may be run as is with: $ py.test -k test_beartype See Also ---------- https://stackoverflow.com/a/37961120/2809027 Stackoverflow answer introducing the `@beartype` decorator. """ from unittest import TestCase import typing import pytest from testfixtures import should_raise from rec_to_nwb.processing.tools.beartype.beartype import beartype class TestBearyype(TestCase): def test_beartype_noop(self) -> None: """ Test bear typing of a function with no function annotations, reducing to _no_ type checking. """ # Unannotated function to be type checked. @beartype def khorne(gork, mork): return gork + mork # Call this function and assert the expected return value. assert khorne('WAAAGH!', '!HGAAAW') == 'WAAAGH!!HGAAAW' # ....................{ TESTS ~ pass : param }.................... def test_beartype_pass_param_keyword_and_positional(self) -> None: """ Test bear typing of a function call successfully passed both annotated positional and keyword parameters. """ # Function to be type checked. @beartype def slaanesh(daemonette: str, keeper_of_secrets: str) -> str: return daemonette + keeper_of_secrets # Call this function with both positional and keyword arguments and assert # the expected return value. assert slaanesh( 'Seeker of Decadence', keeper_of_secrets="N'Kari") == ( "Seeker of DecadenceN'Kari") def test_beartype_pass_param_keyword_only(self) -> None: """ Test bear typing of a function call successfully passed an annotated keyword-only parameter following an `*` or `*args` parameter. """ # Function to be type checked. @beartype def changer_of_ways(sky_shark: str, *, chaos_spawn: str) -> str: return sky_shark + chaos_spawn # Call this function with keyword arguments and assert the expected return # value. assert changer_of_ways( 'Screamers', chaos_spawn="Mith'an'driarkh") == ( "ScreamersMith'an'driarkh") def test_beartype_pass_param_tuple(self) -> None: """ Test bear typing of a function call successfully passed a parameter annotated as a tuple. """ # Function to be type checked. @beartype def genestealer(tyranid: str, hive_fleet: (str, int)) -> str: return tyranid + str(hive_fleet) # Call this function with each of the two types listed in the above tuple. assert genestealer( 'Norn-Queen', hive_fleet='Behemoth') == 'Norn-QueenBehemoth' assert genestealer( 'Carnifex', hive_fleet=0xDEADBEEF) == 'Carnifex3735928559' def test_type_check_pass_param_custom(self) -> None: """ Test bear typing of a function call successfully passed a parameter annotated as a user-defined rather than builtin type. """ # User-defined type. class CustomTestStr(str): pass # Function to be type checked. @beartype def hrud(gugann: str, delphic_plague: CustomTestStr) -> str: return gugann + delphic_plague # Call this function with each of the two types listed in the above tuple. assert hrud( 'Troglydium hruddi', delphic_plague=CustomTestStr('Delphic Sink')) == ( 'Troglydium hruddiDelphic Sink') def test_type_check_pass_typing_module(self) -> None: """ Test bear typing of a function call successfully passed a parameter annotated with an abstract type from the typing module. """ MyMap = typing.Mapping @beartype def function(par: MyMap, ameter: MyMap) -> MyMap: result = par.copy() result.update(ameter) return result assert function({1:1}, {2:2}) == {1:1, 2:2} def test_type_check_pass_parameterized_typing_module(self) -> None: """ Test bear typing of a function call successfully passed a parameter annotated with a parametirized abstract type from the typing module. """ MyMap = typing.Mapping @beartype def function(par: MyMap, ameter: MyMap) -> MyMap: result = par.copy() result.update(ameter) return result assert function({1:1}, {2:2}) == {1:1, 2:2} # ....................{ TESTS ~ pass : return }.................... def test_type_check_pass_return_none(self) -> None: """ Test bear typing of a function call successfully returning `None` and annotated as such. """ # Function to be type checked. @beartype def xenos(interex: str, diasporex: str) -> None: interex + diasporex # Call this function and assert no value to be returned. assert xenos( 'Luna Wolves', diasporex='Iron Hands Legion') is None # ....................{ TESTS ~ fail }.................... def test_beartype_fail_keyword_unknown(self) -> None: """ Test bear typing of an annotated function call passed an unrecognized keyword parameter. """ # Annotated function to be type checked. @beartype def tau(kroot: str, vespid: str) -> str: return kroot + vespid # Call this function with an unrecognized keyword parameter and assert the # expected exception. with pytest.raises(TypeError) as exception: tau(kroot='Greater Good', nicassar='Dhow') # For readability, this should be a "TypeError" synopsizing the exact issue # raised by the Python interpreter on calling the original function rather # than a "TypeError" failing to synopsize the exact issue raised by the # wrapper type-checking the original function. Since the function # annotations defined above guarantee that the exception message of the # latter will be suffixed by "not a str", ensure this is *NOT* the case. assert not str(exception.value).endswith('not a str') def test_beartype_fail_param_name(self) -> None: """ Test bear typing of a function accepting a parameter name reserved for use by the `@beartype` decorator. """ # Define a function accepting a reserved parameter name and assert the # expected exception. @beartype @should_raise(NameError) def jokaero(weaponsmith: str, __beartype_func: str) -> str: return weaponsmith + __beartype_func # ....................{ TESTS ~ fail : type }.................... def test_beartype_fail_param_type(self) -> None: """ Test bear typing of an annotated function call failing a parameter type check. """ # Annotated function to be type checked. @beartype def eldar(isha: str, asuryan: (str, int)) -> str: return isha + asuryan # Call this function with an invalid type and assert the expected exception. with pytest.raises(TypeError): eldar('Mother of the Eldar', 100.100) def test_beartype_fail_return_type(self) -> None: """ Test bear typing of an annotated function call failing a return type check. """ # Annotated function to be type checked. @beartype def necron(star_god: str, old_one: str) -> str: return 60e6 # Call this function and assert the expected exception. with pytest.raises(TypeError): necron("C'tan", 'Elder Thing') # ....................{ TESTS ~ fail : annotation }.................... def test_beartype_fail_annotation_param(self) -> None: """ Test bear typing of a function with an unsupported parameter annotation. """ # Assert the expected exception from attempting to type check a function # with a parameter annotation that is *NOT* a type. with pytest.raises(TypeError): @beartype def nurgle(nurgling: str, great_unclean_one: 'Bringer of Poxes') -> str: return nurgling + great_unclean_one def test_beartype_fail_annotation_return(self) -> None: """ Test bear typing of a function with an unsupported return annotation. """ # Assert the expected exception from attempting to type check a function # with a return annotation that is *NOT* a type. with pytest.raises(TypeError): @beartype def tzeentch(disc: str, lord_of_change: str) -> 'Player of Games': return disc + lord_of_change
36.235521
84
0.613213
28051d8180c85213ea68c13b52b00cd29ea499cf
1,830
go
Go
file_appender.go
xoba/sc
4ae0cf99f6691a5607acd6c0fb953695359e64b7
[ "MIT" ]
18
2019-11-25T13:29:08.000Z
2021-06-29T19:54:28.000Z
file_appender.go
xoba/sc
4ae0cf99f6691a5607acd6c0fb953695359e64b7
[ "MIT" ]
2
2019-12-04T16:53:48.000Z
2020-01-03T15:19:13.000Z
file_appender.go
xoba/sc
4ae0cf99f6691a5607acd6c0fb953695359e64b7
[ "MIT" ]
1
2020-04-12T15:38:50.000Z
2020-04-12T15:38:50.000Z
package sc import ( "crypto/md5" "fmt" "io/ioutil" "os" "path/filepath" ) // will simply append data upon Merge call type AppendingCombinator struct { dir string } func NewFileAppender(dir string) (*AppendingCombinator, error) { if err := mkdir(dir); err != nil { return nil, err } return &AppendingCombinator{ dir: dir, }, nil } func hash(s string) string { h := md5.New() h.Write([]byte(s)) return fmt.Sprintf("%x", h.Sum(nil)) } func (ac AppendingCombinator) file(r Reference) string { return filepath.Join(ac.dir, hash(r.URI().Path)) } func (ac AppendingCombinator) Find(p string) (Reference, error) { r := NewRef(p) r.uri.Scheme = "merger" return r, nil } func (ac AppendingCombinator) Get(r Reference) (interface{}, error) { buf, err := ioutil.ReadFile(ac.file(r)) if err != nil { return nil, wrapNotFound(r, err) } return buf, nil } func (ac AppendingCombinator) Put(r Reference, i interface{}) error { file := ac.file(r) if err := mkdir(filepath.Dir(file)); err != nil { return err } var buf []byte switch t := i.(type) { case []byte: buf = t case string: buf = []byte(t) default: return fmt.Errorf("unsupported type: %T", t) } return ioutil.WriteFile(file, buf, os.ModePerm) } func (ac AppendingCombinator) Delete(r Reference) error { return os.RemoveAll(ac.file(r)) } // simple appends or creates func (ac AppendingCombinator) Merge(r Reference, i interface{}) error { f, err := os.OpenFile(ac.file(r), os.O_APPEND|os.O_WRONLY|os.O_CREATE, os.ModePerm) if err != nil { fmt.Println("***", ac.file(r)) return err } defer f.Close() var buf []byte switch t := i.(type) { case []byte: buf = t case string: buf = []byte(t) default: return fmt.Errorf("unsupported type: %T", t) } if _, err := f.Write(buf); err != nil { return err } return nil }
19.891304
84
0.657923
0da2e7e234cde2cce5490fd2ad54575847409863
360
swift
Swift
Fotograma/Views/PostImageCell.swift
esauri/Fotograma
650096ff7b3473694f4a7862d449cc909453902e
[ "MIT" ]
null
null
null
Fotograma/Views/PostImageCell.swift
esauri/Fotograma
650096ff7b3473694f4a7862d449cc909453902e
[ "MIT" ]
13
2017-10-18T01:58:01.000Z
2018-01-19T06:08:54.000Z
Fotograma/Views/PostImageCell.swift
esauri/Fotograma
650096ff7b3473694f4a7862d449cc909453902e
[ "MIT" ]
1
2018-02-08T17:35:09.000Z
2018-02-08T17:35:09.000Z
// // PostImageCell.swift // Fotograma // // Created by Erick Sauri on 1/16/18. // Copyright © 2018 Erick Sauri. All rights reserved. // import UIKit class PostImageCell: UITableViewCell { // MARK: - Subviews @IBOutlet weak var postImageView: UIImageView! override func awakeFromNib() { super.awakeFromNib() // Initialization code } }
16.363636
54
0.686111
c4df85866441509e67e5e373c7bab3de76c290b7
589
dart
Dart
example/basic.dart
Blimster/resp_client
e9438f40894f6305b5b1df3123651805c0c43ac1
[ "MIT" ]
11
2018-07-27T15:38:03.000Z
2022-03-13T08:33:58.000Z
example/basic.dart
Blimster/resp_client
e9438f40894f6305b5b1df3123651805c0c43ac1
[ "MIT" ]
12
2018-08-08T16:14:20.000Z
2021-04-06T15:46:13.000Z
example/basic.dart
Blimster/resp_client
e9438f40894f6305b5b1df3123651805c0c43ac1
[ "MIT" ]
1
2021-06-03T09:04:52.000Z
2021-06-03T09:04:52.000Z
import 'package:resp_client/resp_client.dart'; import 'package:resp_client/resp_commands.dart'; import 'package:resp_client/resp_server.dart'; void main(List<String> args) async { // create a server connection using sockets final server = await connectSocket('localhost'); // create a client using the server connection final client = RespClient(server); final commands = RespCommandsTier0(client); // execute a command final result = await commands.execute(['GET', 'myKey', 'NX']); print(result.payload); // close connection to the server await server.close(); }
28.047619
64
0.73854
b5a4a5933d774467a312c96ae3a64616b880a762
52,891
rs
Rust
src/opath/expr/parse/mod.rs
Kodegenix/kg-tree
2920c9c673fd7a0c5b3b7c35888558521813a644
[ "Apache-2.0", "MIT" ]
1
2020-10-03T16:35:47.000Z
2020-10-03T16:35:47.000Z
src/opath/expr/parse/mod.rs
kodegenix/kg-tree
2920c9c673fd7a0c5b3b7c35888558521813a644
[ "Apache-2.0", "MIT" ]
5
2019-07-30T09:01:02.000Z
2019-09-16T14:04:13.000Z
src/opath/expr/parse/mod.rs
kodegenix/kg-tree
2920c9c673fd7a0c5b3b7c35888558521813a644
[ "Apache-2.0", "MIT" ]
1
2018-12-02T19:16:58.000Z
2018-12-02T19:16:58.000Z
use super::*; use std::collections::VecDeque; use kg_display::ListDisplay; use kg_diag::parse::num::{NumberParser, Notation, Sign}; pub type Error = ParseDiag; pub type Token = LexToken<Terminal>; #[derive(Debug, Display, Detail)] #[diag(code_offset = 300)] pub enum ParseErrorDetail { #[display(fmt = "invalid escape")] InvalidEscape { from: Position, to: Position }, #[display(fmt = "invalid character '{input}'")] InvalidChar { input: char, from: Position, to: Position, }, #[display(fmt = "invalid character '{input}', expected '{expected}'")] InvalidCharOne { input: char, from: Position, to: Position, expected: char, }, #[display( fmt = "invalid character '{input}', expected one of: {expected}", expected = "ListDisplay(expected)" )] InvalidCharMany { input: char, from: Position, to: Position, expected: Vec<char>, }, #[display(fmt = "unexpected end of input")] UnexpectedEoi { pos: Position }, #[display(fmt = "unexpected end of input, expected '{expected}'")] UnexpectedEoiOne { pos: Position, expected: char }, #[display( fmt = "unexpected end of input, expected one of: {expected}", expected = "ListDisplay(expected)" )] UnexpectedEoiMany { pos: Position, expected: Vec<char> }, #[display(fmt = "unexpected end of input, expected \"{expected}\"")] UnexpectedEoiOneString { pos: Position, expected: String }, #[display(fmt = "unexpected symbol {token}")] UnexpectedToken { token: Token }, #[display(fmt = "unexpected symbol {token}, expected {expected}")] UnexpectedTokenOne { token: Token, expected: Terminal }, #[display( fmt = "unexpected symbol {token}, expected one of: {expected}", expected = "ListDisplay(expected)" )] UnexpectedTokenMany { token: Token, expected: Vec<Terminal>, }, #[display(fmt = "unclosed {_0}")] UnclosedGroup(Terminal), } impl ParseErrorDetail { pub fn invalid_escape<T>(r: &mut dyn CharReader) -> Result<T, Error> { let p1 = r.position(); let err = match r.next_char()? { Some(_) => { let p2 = r.position(); parse_diag!(ParseErrorDetail::InvalidEscape { from: p1, to: p2 }, r, { p1, p2 => "invalid escape", }) } None => parse_diag!(ParseErrorDetail::UnexpectedEoi { pos: p1, }, r, { p1, p1 => "unexpected end of input", }), }; Err(err) } pub fn invalid_input<T>(r: &mut dyn CharReader) -> Result<T, Error> { let p1 = r.position(); let err = match r.next_char()? { Some(c) => { let p2 = r.position(); parse_diag!(ParseErrorDetail::InvalidChar { input: c, from: p1, to: p2 }, r, { p1, p2 => "invalid character", }) } None => parse_diag!(ParseErrorDetail::UnexpectedEoi { pos: p1, }, r, { p1, p1 => "unexpected end of input", }), }; Err(err) } pub fn invalid_input_one<T>(r: &mut dyn CharReader, expected: char) -> Result<T, Error> { let p1 = r.position(); let err = match r.next_char()? { Some(c) => { let p2 = r.position(); parse_diag!(ParseErrorDetail::InvalidCharOne { input: c, from: p1, to: p2, expected, }, r, { p1, p2 => "invalid character", }) } None => parse_diag!(ParseErrorDetail::UnexpectedEoiOne { pos: p1, expected, }, r, { p1, p1 => "unexpected end of input", }), }; Err(err) } pub fn invalid_input_many<T>(r: &mut dyn CharReader, expected: Vec<char>) -> Result<T, Error> { let p1 = r.position(); let err = match r.next_char()? { Some(c) => { let p2 = r.position(); parse_diag!(ParseErrorDetail::InvalidCharMany { input: c, from: p1, to: p2, expected, }, r, { p1, p2 => "invalid character", }) } None => parse_diag!(ParseErrorDetail::UnexpectedEoiMany { pos: p1, expected, }, r, { p1, p1 => "unexpected end of input", }), }; Err(err) } #[inline] pub fn unexpected_eoi_str<T>(r: &mut dyn CharReader, expected: String) -> Result<T, Error> { let pos = r.position(); Err(parse_diag!(ParseErrorDetail::UnexpectedEoiOneString { pos, expected, }, r, { pos, pos => "unexpected end of input", })) } #[inline] pub fn unexpected_token<T>(token: Token, r: &mut dyn CharReader) -> Result<T, Error> { Err(parse_diag!(ParseErrorDetail::UnexpectedToken { token }, r, { token.start(), token.end() => "unexpected token" })) } #[inline] pub fn unexpected_token_one<T>( token: Token, expected: Terminal, r: &mut dyn CharReader, ) -> Result<T, Error> { Err( parse_diag!(ParseErrorDetail::UnexpectedTokenOne { token, expected }, r, { token.start(), token.end() => "unexpected token" }), ) } #[inline] pub fn unexpected_token_many<T>( token: Token, expected: Vec<Terminal>, r: &mut dyn CharReader, ) -> Result<T, Error> { Err( parse_diag!(ParseErrorDetail::UnexpectedTokenMany { token, expected }, r, { token.start(), token.end() => "unexpected token" }), ) } } #[inline] pub(crate) fn is_ident_char(c: char) -> bool { c.is_alphanumeric() || c == '_' || c == '$' || c == '@' } #[inline] pub(crate) fn is_non_ident_char(c: Option<char>) -> bool { match c { None => true, Some(c) => !is_ident_char(c), } } #[derive(Debug, Display, PartialEq, Eq, Clone, Copy)] pub enum Terminal { #[display(fmt = "END")] End, #[display(fmt = "'$'")] Root, #[display(fmt = "'@'")] Current, #[display(fmt = "'.'")] Dot, #[display(fmt = "'..'")] DoubleDot, #[display(fmt = "':'")] Colon, #[display(fmt = "'^'")] Caret, #[display(fmt = "'+'")] Plus, #[display(fmt = "'-'")] Minus, #[display(fmt = "'/'")] Slash, #[display(fmt = "'*'")] Star, #[display(fmt = "'**'")] DoubleStar, #[display(fmt = "'!' or 'not'")] Not, #[display(fmt = "'&&' or 'and'")] And, #[display(fmt = "'||' or 'or'")] Or, #[display(fmt = "'=='")] Eq, #[display(fmt = "'!='")] Ne, #[display(fmt = "'>'")] Gt, #[display(fmt = "'>='")] Ge, #[display(fmt = "'<'")] Lt, #[display(fmt = "'<='")] Le, #[display(fmt = "'$='")] StartsWith, #[display(fmt = "'^='")] EndsWith, #[display(fmt = "'*='")] Contains, #[display(fmt = "','")] Comma, #[display(fmt = "'('")] ParenLeft, #[display(fmt = "')'")] ParenRight, #[display(fmt = "'['")] BracketLeft, #[display(fmt = "']'")] BracketRight, #[display(fmt = "'{{'")] BraceLeft, #[display(fmt = "'}}'")] BraceRight, #[display(fmt = "'${{'")] VarBegin, #[display(fmt = "VAR")] Var, #[display(fmt = "'env:'")] Env, #[display(fmt = "ID")] Id, #[display(fmt = "ATTR")] Attr, #[display(fmt = "string literal")] String, #[display(fmt = "integer literal")] IntDecimal, #[display(fmt = "hex integer literal")] IntHex, #[display(fmt = "octal integer literal")] IntOctal, #[display(fmt = "binary integer literal")] IntBinary, #[display(fmt = "float literal")] Float, #[display(fmt = "'true'")] True, #[display(fmt = "'false'")] False, #[display(fmt = "'null'")] Null, } impl LexTerm for Terminal {} #[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord)] enum Context { Expr, Property, Index, Range, Env, OpAndOr, OpCmp, OpAddSub, OpMulDivMod, OpNot, OpNeg, } #[derive(Debug)] pub struct Parser { num_parser: NumberParser, partial: bool, multiline: bool, prev_pos: Position, next_pos: Position, token_queue: VecDeque<Token>, } impl Parser { pub fn new() -> Parser { Parser { num_parser: { let mut p = NumberParser::new(); p.decimal.allow_plus = false; p.decimal.allow_minus = false; p.hex.allow_plus = false; p.hex.allow_minus = false; p.octal.allow_plus = false; p.octal.allow_minus = false; p.binary.allow_plus = false; p.binary.allow_minus = false; p }, partial: false, multiline: true, prev_pos: Position::default(), next_pos: Position::default(), token_queue: VecDeque::new(), } } pub fn with_partial(mut self, partial: bool) -> Self { self.set_partial(partial); self } pub fn with_multiline(mut self, multiline: bool) -> Self { self.set_multiline(multiline); self } pub fn is_partial(&self) -> bool { self.partial } pub fn set_partial(&mut self, partial: bool) { self.partial = partial } pub fn is_multiline(&self) -> bool { self.multiline } pub fn set_multiline(&mut self, multiline: bool) { self.multiline = multiline } fn lex(&mut self, r: &mut dyn CharReader) -> Result<Token, Error> { fn consume(r: &mut dyn CharReader, count: usize, term: Terminal) -> Result<Token, Error> { let p1 = r.position(); r.skip_chars(count)?; let p2 = r.position(); Ok(Token::new(term, p1, p2)) } if self.multiline { r.skip_whitespace()?; } else { r.skip_whitespace_nonl()?; } if self.num_parser.is_at_start(r)? { let n = self.num_parser.parse_number(r)?; match n.term().notation() { Notation::Decimal => Ok(Token::new(Terminal::IntDecimal, n.start(), n.end())), Notation::Hex => Ok(Token::new(Terminal::IntHex, n.start(), n.end())), Notation::Octal => Ok(Token::new(Terminal::IntOctal, n.start(), n.end())), Notation::Binary => Ok(Token::new(Terminal::IntBinary, n.start(), n.end())), Notation::Float | Notation::Exponent => Ok(Token::new(Terminal::Float, n.start(), n.end())), } } else { match r.peek_char(0)? { None => Ok(Token::new(Terminal::End, r.position(), r.position())), Some(',') => consume(r, 1, Terminal::Comma), Some('(') => consume(r, 1, Terminal::ParenLeft), Some(')') => consume(r, 1, Terminal::ParenRight), Some('[') => consume(r, 1, Terminal::BracketLeft), Some(']') => consume(r, 1, Terminal::BracketRight), Some('{') => consume(r, 1, Terminal::BraceLeft), Some('}') => consume(r, 1, Terminal::BraceRight), Some(':') => consume(r, 1, Terminal::Colon), Some('+') => consume(r, 1, Terminal::Plus), Some('-') => consume(r, 1, Terminal::Minus), Some('/') => consume(r, 1, Terminal::Slash), Some('|') => { let p1 = r.position(); r.next_char()?; if let Some('|') = r.peek_char(0)? { r.next_char()?; let p2 = r.position(); Ok(Token::new(Terminal::Or, p1, p2)) } else { ParseErrorDetail::invalid_input_one(r, '|') } } Some('&') => { let p1 = r.position(); r.next_char()?; if let Some('&') = r.peek_char(0)? { r.next_char()?; let p2 = r.position(); Ok(Token::new(Terminal::And, p1, p2)) } else { ParseErrorDetail::invalid_input_one(r, '&') } } Some('^') => { let p1 = r.position(); r.next_char()?; if let Some('=') = r.peek_char(0)? { r.next_char()?; let p2 = r.position(); Ok(Token::new(Terminal::StartsWith, p1, p2)) } else { let p2 = r.position(); Ok(Token::new(Terminal::Caret, p1, p2)) } } Some('=') => { let p1 = r.position(); r.next_char()?; if let Some('=') = r.peek_char(0)? { r.next_char()?; let p2 = r.position(); Ok(Token::new(Terminal::Eq, p1, p2)) } else { let p2 = r.position(); Ok(Token::new(Terminal::Eq, p1, p2)) } } Some('!') => { let p1 = r.position(); r.next_char()?; if let Some('=') = r.peek_char(0)? { r.next_char()?; let p2 = r.position(); Ok(Token::new(Terminal::Ne, p1, p2)) } else { let p2 = r.position(); Ok(Token::new(Terminal::Not, p1, p2)) } } Some('>') => { let p1 = r.position(); r.next_char()?; if let Some('=') = r.peek_char(0)? { r.next_char()?; let p2 = r.position(); Ok(Token::new(Terminal::Ge, p1, p2)) } else { let p2 = r.position(); Ok(Token::new(Terminal::Gt, p1, p2)) } } Some('<') => { let p1 = r.position(); r.next_char()?; if let Some('=') = r.peek_char(0)? { r.next_char()?; let p2 = r.position(); Ok(Token::new(Terminal::Le, p1, p2)) } else { let p2 = r.position(); Ok(Token::new(Terminal::Lt, p1, p2)) } } Some('.') => { let p1 = r.position(); r.next_char()?; if let Some('.') = r.peek_char(0)? { r.next_char()?; let p2 = r.position(); Ok(Token::new(Terminal::DoubleDot, p1, p2)) } else { let p2 = r.position(); Ok(Token::new(Terminal::Dot, p1, p2)) } } Some('*') => { let p1 = r.position(); r.next_char()?; match r.peek_char(0)? { Some('*') => { r.next_char()?; let p2 = r.position(); Ok(Token::new(Terminal::DoubleStar, p1, p2)) } Some('=') => { r.next_char()?; let p2 = r.position(); Ok(Token::new(Terminal::Contains, p1, p2)) } _ => { let p2 = r.position(); Ok(Token::new(Terminal::Star, p1, p2)) } } } Some('@') => { let p1 = r.position(); r.next_char()?; let mut more = false; r.skip_while(&mut |c| { if is_ident_char(c) { more = true; true } else { false } })?; let p2 = r.position(); if more { Ok(Token::new(Terminal::Attr, p1, p2)) } else { Ok(Token::new(Terminal::Current, p1, p2)) } } Some('$') => { let p1 = r.position(); r.next_char()?; match r.peek_char(0)? { Some('=') => { r.next_char()?; Ok(Token::new(Terminal::EndsWith, p1, r.position())) } Some('{') => { r.next_char()?; Ok(Token::new(Terminal::VarBegin, p1, r.position())) } _ => { let mut more = false; r.skip_while(&mut |c| { if is_ident_char(c) { more = true; true } else { false } })?; let p2 = r.position(); if more { Ok(Token::new(Terminal::Var, p1, p2)) } else { Ok(Token::new(Terminal::Root, p1, p2)) } } } } Some('e') => { if r.match_str("env:")? { let p1 = r.position(); r.skip_chars(4)?; let p2 = r.position(); Ok(Token::new(Terminal::Env, p1, p2)) } else { let p1 = r.position(); r.next_char()?; r.skip_while(&mut is_ident_char)?; let p2 = r.position(); Ok(Token::new(Terminal::Id, p1, p2)) } } Some('n') => { if r.match_str_term("null", &mut is_non_ident_char)? { let p1 = r.position(); r.skip_chars(4)?; let p2 = r.position(); Ok(Token::new(Terminal::Null, p1, p2)) } else if r.match_str_term("not", &mut is_non_ident_char)? { let p1 = r.position(); r.skip_chars(3)?; let p2 = r.position(); Ok(Token::new(Terminal::Not, p1, p2)) } else { let p1 = r.position(); r.next_char()?; r.skip_while(&mut is_ident_char)?; let p2 = r.position(); Ok(Token::new(Terminal::Id, p1, p2)) } } Some('t') => { if r.match_str_term("true", &mut is_non_ident_char)? { let p1 = r.position(); r.skip_chars(4)?; let p2 = r.position(); Ok(Token::new(Terminal::True, p1, p2)) } else { let p1 = r.position(); r.next_char()?; r.skip_while(&mut is_ident_char)?; let p2 = r.position(); Ok(Token::new(Terminal::Id, p1, p2)) } } Some('f') => { if r.match_str_term("false", &mut is_non_ident_char)? { let p1 = r.position(); r.skip_chars(5)?; let p2 = r.position(); Ok(Token::new(Terminal::False, p1, p2)) } else { let p1 = r.position(); r.next_char()?; r.skip_while(&mut is_ident_char)?; let p2 = r.position(); Ok(Token::new(Terminal::Id, p1, p2)) } } Some('a') => { if r.match_str_term("and", &mut is_non_ident_char)? { let p1 = r.position(); r.skip_chars(3)?; let p2 = r.position(); Ok(Token::new(Terminal::And, p1, p2)) } else { let p1 = r.position(); r.next_char()?; r.skip_while(&mut is_ident_char)?; let p2 = r.position(); Ok(Token::new(Terminal::Id, p1, p2)) } } Some('o') => { if r.match_str_term("or", &mut is_non_ident_char)? { let p1 = r.position(); r.skip_chars(2)?; let p2 = r.position(); Ok(Token::new(Terminal::Or, p1, p2)) } else { let p1 = r.position(); r.next_char()?; r.skip_while(&mut is_ident_char)?; let p2 = r.position(); Ok(Token::new(Terminal::Id, p1, p2)) } } Some(c) if c.is_alphabetic() || c == '_' => { let p1 = r.position(); r.next_char()?; r.skip_while(&mut is_ident_char)?; let p2 = r.position(); Ok(Token::new(Terminal::Id, p1, p2)) } Some(c) if c == '\'' || c == '\"' => { let p1 = r.position(); while let Some(k) = r.next_char()? { if k == '\\' { r.next_char()?; } else if k == c { break; } } if r.eof() { ParseErrorDetail::invalid_input_one(r, c) } else { r.next_char()?; let p2 = r.position(); Ok(Token::new(Terminal::String, p1, p2)) } } Some(_c) => { let p1 = r.position(); // (jc) do not report lex errors when parsing partial input if self.partial { Ok(Token::new(Terminal::End, p1, p1)) } else { ParseErrorDetail::invalid_input(r) } } } } } fn next_token(&mut self, r: &mut dyn CharReader) -> Result<Token, Error> { if self.token_queue.is_empty() { let t = self.lex(r)?; self.prev_pos = self.next_pos; self.next_pos = t.end(); Ok(t) } else { let t = self.token_queue.pop_front().unwrap(); self.next_pos = t.end(); Ok(t) } } fn push_token(&mut self, t: Token) { self.next_pos = self.prev_pos; self.token_queue.push_back(t); } fn expect_token(&mut self, r: &mut dyn CharReader, term: Terminal) -> Result<Token, Error> { let t = self.next_token(r)?; if t.term() == term { Ok(t) } else { ParseErrorDetail::unexpected_token_one(t, term, r) } } fn expect_token_many(&mut self, r: &mut dyn CharReader, terms: &[Terminal]) -> Result<Token, Error> { let t = self.next_token(r)?; if terms.contains(&t.term()) { Ok(t) } else { ParseErrorDetail::unexpected_token_many(t, terms.to_vec(), r) } } pub fn parse(&mut self, r: &mut dyn CharReader) -> Result<Opath, Error> { let p = r.position(); self.token_queue.clear(); self.next_pos = p; let e = self.parse_expr(r, Context::Expr); match e { Ok(e) => { if self.partial { r.seek(self.next_pos)?; } Ok(Opath::new(e)) } Err(err) => { if self.partial { r.seek(p)?; } Err(err) } } } fn parse_expr(&mut self, r: &mut dyn CharReader, ctx: Context) -> Result<Expr, Error> { let t = self.next_token(r)?; let mut e = match t.term() { Terminal::Root => { self.push_token(t); self.parse_sequence(r, ctx)? } Terminal::Current => { self.push_token(t); self.parse_sequence(r, ctx)? } Terminal::Id | Terminal::Attr | Terminal::Var | Terminal::String => { self.push_token(t); self.parse_sequence(r, ctx)? } Terminal::VarBegin => { self.push_token(t); self.parse_var_expr(r, ctx)? } Terminal::Env => { self.push_token(t); self.parse_env_expr(r, ctx)? } Terminal::Minus => { let e = self.parse_expr(r, Context::OpNeg)?; match e { Expr::Integer(n) => Expr::Integer(-n), Expr::Float(n) => Expr::Float(-n), _ => Expr::Neg(Box::new(e)), } } Terminal::Not => { let e = self.parse_expr(r, Context::OpNot)?; match e { Expr::Integer(n) => Expr::Boolean(n == 0), Expr::Float(n) => Expr::Boolean(!n.is_normal()), Expr::Boolean(b) => Expr::Boolean(!b), _ => Expr::Not(Box::new(e)), } } Terminal::ParenLeft => { let c = if ctx == Context::Env { Context::Env } else { Context::Expr }; self.push_token(t); self.parse_group(r, c)? } Terminal::BracketLeft => { let c = if ctx == Context::Env { Context::Env } else { Context::Expr }; self.push_token(t); self.parse_sequence(r, c)? } Terminal::IntDecimal => { match self.num_parser.convert_number::<i64>(t.span(), Sign::None, Notation::Decimal, r) { Ok(n) => Expr::Integer(n), Err(_) => { let n = self.num_parser.convert_number::<f64>(t.span(), Sign::None, Notation::Float, r)?; Expr::Float(n) } } } Terminal::IntHex => { let n = self.num_parser.convert_number::<i64>(t.span(), Sign::None, Notation::Hex, r)?; Expr::Integer(n) } Terminal::IntOctal => { let n = self.num_parser.convert_number::<i64>(t.span(), Sign::None, Notation::Octal, r)?; Expr::Integer(n) } Terminal::IntBinary => { let n = self.num_parser.convert_number::<i64>(t.span(), Sign::None, Notation::Binary, r)?; Expr::Integer(n) } Terminal::Float => { let n = self.num_parser.convert_number::<f64>(t.span(), Sign::None, Notation::Float, r)?; Expr::Float(n) } Terminal::True => Expr::Boolean(true), Terminal::False => Expr::Boolean(false), Terminal::Null => Expr::Null, Terminal::Star if ctx == Context::Index => Expr::All, Terminal::DoubleStar => { let l = self.parse_level_range(r)?.unwrap_or_default(); Expr::Descendants(Box::new(l)) } Terminal::Colon | Terminal::DoubleDot => { if ctx != Context::Range { self.push_token(t); let range = self.parse_number_range(None, r)?; return Ok(Expr::Range(Box::new(range))); } else { return ParseErrorDetail::unexpected_token(t, r); } } _ if ctx == Context::Range => { self.push_token(t); return Ok(Expr::Sequence(Vec::new())); } _ => { let mut expected = vec![ Terminal::Root, Terminal::Current, Terminal::Minus, Terminal::Not, Terminal::ParenLeft, Terminal::BracketLeft, Terminal::DoubleStar, ]; if ctx != Context::Range { expected.push(Terminal::Colon); expected.push(Terminal::DoubleDot); } if ctx == Context::Index { expected.push(Terminal::Star); } return ParseErrorDetail::unexpected_token_many(t, expected, r); } }; loop { let t = self.next_token(r)?; if t.term() == Terminal::End { return Ok(e); } match t.term() { Terminal::Plus => { if ctx > Context::OpAddSub { self.push_token(t); return Ok(e); } else { let f = self.parse_expr(r, Context::OpAddSub)?; e = Expr::Add(Box::new(e), Box::new(f)) } } Terminal::Minus => { if ctx > Context::OpAddSub { self.push_token(t); return Ok(e); } else { let f = self.parse_expr(r, Context::OpAddSub)?; e = Expr::Sub(Box::new(e), Box::new(f)) } } Terminal::Star => { if ctx > Context::OpMulDivMod { self.push_token(t); return Ok(e); } else { let f = self.parse_expr(r, Context::OpMulDivMod)?; e = Expr::Mul(Box::new(e), Box::new(f)) } } Terminal::Slash => { if ctx > Context::OpMulDivMod { self.push_token(t); return Ok(e); } else { let f = self.parse_expr(r, Context::OpMulDivMod)?; e = Expr::Div(Box::new(e), Box::new(f)) } } Terminal::Eq => { if ctx > Context::OpCmp { self.push_token(t); return Ok(e); } else { let f = self.parse_expr(r, Context::OpCmp)?; e = Expr::Eq(Box::new(e), Box::new(f)) } } Terminal::Ne => { if ctx > Context::OpCmp { self.push_token(t); return Ok(e); } else { let f = self.parse_expr(r, Context::OpCmp)?; e = Expr::Ne(Box::new(e), Box::new(f)) } } Terminal::Lt => { if ctx > Context::OpCmp { self.push_token(t); return Ok(e); } else { let f = self.parse_expr(r, Context::OpCmp)?; e = Expr::Lt(Box::new(e), Box::new(f)) } } Terminal::Le => { if ctx > Context::OpCmp { self.push_token(t); return Ok(e); } else { let f = self.parse_expr(r, Context::OpCmp)?; e = Expr::Le(Box::new(e), Box::new(f)) } } Terminal::Gt => { if ctx > Context::OpCmp { self.push_token(t); return Ok(e); } else { let f = self.parse_expr(r, Context::OpCmp)?; e = Expr::Gt(Box::new(e), Box::new(f)) } } Terminal::Ge => { if ctx > Context::OpCmp { self.push_token(t); return Ok(e); } else { let f = self.parse_expr(r, Context::OpCmp)?; e = Expr::Ge(Box::new(e), Box::new(f)) } } Terminal::StartsWith => { if ctx > Context::OpCmp { self.push_token(t); return Ok(e); } else { let f = self.parse_expr(r, Context::OpCmp)?; e = Expr::StartsWith(Box::new(e), Box::new(f)) } } Terminal::EndsWith => { if ctx > Context::OpCmp { self.push_token(t); return Ok(e); } else { let f = self.parse_expr(r, Context::OpCmp)?; e = Expr::EndsWith(Box::new(e), Box::new(f)) } } Terminal::Contains => { if ctx > Context::OpCmp { self.push_token(t); return Ok(e); } else { let f = self.parse_expr(r, Context::OpCmp)?; e = Expr::Contains(Box::new(e), Box::new(f)) } } Terminal::And => { if ctx > Context::OpAndOr { self.push_token(t); return Ok(e); } else { let f = self.parse_expr(r, Context::OpAndOr)?; e = Expr::And(Box::new(e), Box::new(f)) } } Terminal::Or => { if ctx > Context::OpAndOr { self.push_token(t); return Ok(e); } else { let f = self.parse_expr(r, Context::OpAndOr)?; e = Expr::Or(Box::new(e), Box::new(f)) } } Terminal::DoubleDot | Terminal::Colon => { self.push_token(t); if ctx < Context::Range { let range = self.parse_number_range(Some(e), r)?; return Ok(Expr::Range(Box::new(range))); } else { return Ok(e); } } _ => { self.push_token(t); return Ok(e); } } } } #[inline] fn parse_expr_opt( &mut self, r: &mut dyn CharReader, ctx: Context, ) -> Result<Option<Expr>, Error> { let e = self.parse_expr(r, ctx)?; if let Expr::Sequence(ref elems) = e { if elems.is_empty() { return Ok(None); } } Ok(Some(e)) } fn parse_string_literal(&mut self, t: Token, r: &mut dyn CharReader) -> Result<Expr, Error> { let p = r.position(); r.seek(t.start())?; let mut s = String::with_capacity(t.end().offset - t.start().offset); let sep = match r.peek_char(0)? { Some(c) if c == '\'' || c == '\"' => { r.next_char()?; c } Some(_) => unreachable!(), None => return ParseErrorDetail::unexpected_eoi_str(r, Terminal::String.to_string()), }; while let Some(c) = r.peek_char(0)? { if c == sep { r.next_char()?; break; } else if c == '\\' { r.next_char()?; match r.peek_char(0)? { Some('\\') => s.push('\\'), Some('\'') => s.push('\''), Some('\"') => s.push('\"'), Some('t') => s.push('\t'), Some('r') => s.push('\r'), Some('n') => s.push('\n'), _ => return ParseErrorDetail::invalid_escape(r), } } else { s.push(c); } r.next_char()?; } //debug_assert_eq!(r.position(), t.to()); r.seek(p)?; Ok(Expr::String(s)) } fn parse_func(&mut self, r: &mut dyn CharReader, _ctx: Context) -> Result<Expr, Error> { let mut args = Vec::new(); let tname = self.expect_token(r, Terminal::Id)?; let id = func::FuncId::from(r.slice_pos(tname.start(), tname.end())?.as_ref()); self.expect_token(r, Terminal::ParenLeft)?; loop { let t = self.next_token(r)?; match t.term() { Terminal::ParenRight => { break; } Terminal::Comma if !args.is_empty() => {} _ => self.push_token(t), } let e = self.parse_expr(r, Context::Expr)?; args.push(e); } Ok(Expr::FuncCall(Box::new(FuncCall::new(id, args)))) } fn parse_method(&mut self, r: &mut dyn CharReader, _ctx: Context) -> Result<Expr, Error> { let mut args = Vec::new(); let tname = self.expect_token(r, Terminal::Id)?; let id = func::MethodId::from(r.slice_pos(tname.start(), tname.end())?.as_ref()); self.expect_token(r, Terminal::ParenLeft)?; loop { let t = self.next_token(r)?; match t.term() { Terminal::ParenRight => { break; } Terminal::Comma if !args.is_empty() => {} _ => self.push_token(t), } let e = self.parse_expr(r, Context::Expr)?; args.push(e); } Ok(Expr::MethodCall(Box::new(MethodCall::new(id, args)))) } fn parse_sequence(&mut self, r: &mut dyn CharReader, ctx: Context) -> Result<Expr, Error> { let mut elems = Vec::new(); let t = self.next_token(r)?; match t.term() { Terminal::Root => elems.push(Expr::Root), Terminal::Current => { elems.push(Expr::Current); } Terminal::String => { elems.push(self.parse_string_literal(t, r)?); } Terminal::Var => { let n = r.slice_pos(t.start(), t.end())?; elems.push(Expr::Var(box Id::new(&n[1..]))); } Terminal::Attr => { let n = r.slice_pos(t.start(), t.end())?; if let Ok(attr) = Attr::from_str(&n) { elems.push(Expr::Current); elems.push(Expr::Attribute(attr)); } else { elems.push(Expr::Current); elems.push(Expr::Property(box Id::new(n))); } } Terminal::Id => { if ctx == Context::Property || ctx == Context::Env { let n = r.slice_pos(t.start(), t.end())?; elems.push(Expr::String(n.to_string())); } else { let tn = self.next_token(r)?; if tn.term() == Terminal::ParenLeft { self.push_token(t); self.push_token(tn); elems.push(self.parse_func(r, ctx)?); } else { self.push_token(tn); let n = r.slice_pos(t.start(), t.end())?; elems.push(Expr::Current); elems.push(Expr::Property(box Id::new(n))); } } } Terminal::BracketLeft => { self.push_token(t); elems.push(Expr::Current); } _ => { return ParseErrorDetail::unexpected_token(t, r); } } loop { let t = self.next_token(r)?; match t.term() { Terminal::Caret => { let t = self.next_token(r)?; match t.term() { Terminal::DoubleStar => { let l = match self.parse_level_range(r)? { Some(l) => l, None => LevelRange::default(), }; elems.push(Expr::Ancestors(Box::new(l))); } _ => { self.push_token(t); elems.push(Expr::Parent); } } } Terminal::Dot => { let t = self.next_token(r)?; match t.term() { Terminal::String => { if let Expr::String(s) = self.parse_string_literal(t, r)? { let id = box Id::new(s); elems.push(Expr::Property(id)); } else { unreachable!(); } } Terminal::Id | Terminal::Var => { let tn = self.next_token(r)?; if tn.term() == Terminal::ParenLeft { self.push_token(t); self.push_token(tn); elems.push(self.parse_method(r, ctx)?); } else { self.push_token(tn); let n = r.slice_pos(t.start(), t.end())?; let id = box Id::new(n); elems.push(Expr::Property(id)); } } Terminal::Attr => { let n = r.slice_pos(t.start(), t.end())?; if let Ok(attr) = Attr::from_str(&n) { elems.push(Expr::Attribute(attr)); } else { let id = box Id::new(n); elems.push(Expr::Property(id)); } } Terminal::Star => { elems.push(Expr::All); } Terminal::DoubleStar => { let l = self.parse_level_range(r)?.unwrap_or_default(); elems.push(Expr::Descendants(Box::new(l))); } Terminal::ParenLeft => { self.push_token(t); let g = self.parse_group(r, Context::Property)?; elems.push(Expr::PropertyExpr(Box::new(g))); } _ => { let expected = vec![ Terminal::String, Terminal::Id, Terminal::Var, Terminal::Attr, Terminal::Star, Terminal::DoubleStar, Terminal::ParenLeft, ]; return ParseErrorDetail::unexpected_token_many(t, expected, r); } } } Terminal::BracketLeft => { self.push_token(t); let idx = self.parse_group(r, Context::Index)?; match idx { Expr::Integer(index) => elems.push(Expr::Index(index)), Expr::String(s) => elems.push(Expr::Property(box Id::new(s))), _ => elems.push(Expr::IndexExpr(Box::new(idx))), } } Terminal::End => { break; } _ => { self.push_token(t); break; } } } Ok(if elems.len() == 1 { elems.pop().unwrap() } else { let mut segments = Vec::new(); let mut root = false; for e in elems.iter() { match *e { Expr::Root => { if root { segments.clear(); break; } root = true; } Expr::Property(ref id) => { if !root { break; } else { segments.push(PathSegment::Key(*id.clone())); } } Expr::Index(index) => { if !root { break; } else { segments.push(PathSegment::Index(index as usize)); } } _ => { segments.clear(); break; } } } if !segments.is_empty() { Expr::Path(segments) } else { Expr::Sequence(elems) } }) } fn parse_group(&mut self, r: &mut dyn CharReader, ctx: Context) -> Result<Expr, Error> { let t = self.next_token(r)?; let tsep = match t.term() { Terminal::ParenLeft => Terminal::ParenRight, Terminal::BracketLeft => Terminal::BracketRight, Terminal::BraceLeft => Terminal::BraceRight, _ => { let expected = vec![ Terminal::ParenLeft, Terminal::BracketLeft, Terminal::BraceLeft, ]; return ParseErrorDetail::unexpected_token_many(t, expected, r); } }; let op = t; let mut elems = Vec::new(); loop { let e = self.parse_expr(r, ctx)?; elems.push(e); let t = self.next_token(r)?; match t.term() { Terminal::Comma => continue, term if term == tsep => break, _ => { let err = parse_diag!(ParseErrorDetail::UnclosedGroup(tsep), r, { op.start(), op.end() => "opened here", t.start(), t.end() => "error occurred here", }); return Err(err); } } } Ok(if elems.len() == 1 { elems.pop().unwrap() } else { Expr::Group(elems) }) } fn parse_var_expr(&mut self, r: &mut dyn CharReader, _ctx: Context) -> Result<Expr, Error> { self.expect_token(r, Terminal::VarBegin)?; let e = self.parse_expr(r, Context::Expr)?; let _t = self.expect_token(r, Terminal::BraceRight)?; Ok(Expr::VarExpr(Box::new(e))) } fn parse_env_expr(&mut self, r: &mut dyn CharReader, _ctx: Context) -> Result<Expr, Error> { self.expect_token(r, Terminal::Env)?; let e = self.parse_expr(r, Context::Env)?; Ok(Expr::EnvExpr(Box::new(e))) } fn parse_level_range(&mut self, r: &mut dyn CharReader) -> Result<Option<LevelRange>, Error> { let t = self.next_token(r)?; if t.term() == Terminal::BraceLeft { let mut l = LevelRange::default(); let t = self.next_token(r)?; if t.term() == Terminal::Comma { let max = self.parse_expr(r, Context::Expr)?; l.set_max(max); self.expect_token(r, Terminal::BraceRight)?; } else { self.push_token(t); let min = self.parse_expr(r, Context::Expr)?; l.set_min(min); let t = self.next_token(r)?; match t.term() { Terminal::BraceRight => {} Terminal::Comma => { let max = self.parse_expr(r, Context::Expr)?; l.set_max(max); self.expect_token(r, Terminal::BraceRight)?; } _ => { let expected = vec![Terminal::BraceRight, Terminal::Comma]; return ParseErrorDetail::unexpected_token_many(t, expected, r); } } } Ok(Some(l)) } else { self.push_token(t); Ok(None) } } fn parse_number_range( &mut self, start: Option<Expr>, r: &mut dyn CharReader, ) -> Result<NumberRange, Error> { let mut range = NumberRange::default(); range.set_start(start); let t = self.next_token(r)?; match t.term() { Terminal::Colon => { let s = self.parse_expr_opt(r, Context::Range)?; if s.is_some() { let t = self.next_token(r)?; if t.term() == Terminal::Colon { range.set_step(s); range.set_stop(self.parse_expr_opt(r, Context::Range)?); } else { self.push_token(t); range.set_stop(s); } } } Terminal::DoubleDot => { range.set_stop(self.parse_expr_opt(r, Context::Range)?); } _ => { let expected = vec![Terminal::Colon, Terminal::DoubleDot]; return ParseErrorDetail::unexpected_token_many(t, expected, r); } } Ok(range) } } impl Default for Parser { fn default() -> Self { Parser::new() } } #[cfg(test)] mod tests;
35.761325
113
0.382806
0eebc668c1082f23d1ae15ecd44a563e8b2d4216
126,168
h
C
test/aarch32/traces/simulator-cond-rd-operand-rn-ror-amount-sxtb-a32.h
capablevms/VIXL
769c8e46a09bb077e9a2148b86a2093addce8233
[ "BSD-3-Clause" ]
573
2016-08-31T20:21:20.000Z
2021-08-29T14:01:11.000Z
test/aarch32/traces/simulator-cond-rd-operand-rn-ror-amount-sxtb-a32.h
capablevms/VIXL
769c8e46a09bb077e9a2148b86a2093addce8233
[ "BSD-3-Clause" ]
366
2016-09-02T06:37:43.000Z
2021-08-11T18:38:24.000Z
test/aarch32/traces/simulator-cond-rd-operand-rn-ror-amount-sxtb-a32.h
capablevms/VIXL
769c8e46a09bb077e9a2148b86a2093addce8233
[ "BSD-3-Clause" ]
135
2016-09-01T02:02:58.000Z
2021-08-13T01:25:22.000Z
// Copyright 2015, VIXL authors // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // // * Redistributions of source code must retain the above copyright notice, // this list of conditions and the following disclaimer. // * Redistributions in binary form must reproduce the above copyright notice, // this list of conditions and the following disclaimer in the documentation // and/or other materials provided with the distribution. // * Neither the name of ARM Limited nor the names of its contributors may be // used to endorse or promote products derived from this software without // specific prior written permission. // // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS CONTRIBUTORS "AS IS" AND // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED // WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE // DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR // SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER // CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, // OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. // --------------------------------------------------------------------- // This file is auto generated using tools/generate_simulator_traces.py. // // PLEASE DO NOT EDIT. // --------------------------------------------------------------------- #ifndef VIXL_SIMULATOR_COND_RD_OPERAND_RN_ROR_AMOUNT_SXTB_A32_H_ #define VIXL_SIMULATOR_COND_RD_OPERAND_RN_ROR_AMOUNT_SXTB_A32_H_ const Inputs kOutputs_Sxtb_Condition_eq_r0_r0_ROR_0[] = { { 0x80000000, 0xabababab, 0xabababab }, { 0x40000000, 0xffffffab, 0xffffffab }, { 0x20000000, 0xabababab, 0xabababab }, { 0x10000000, 0xabababab, 0xabababab }, { 0xc0000000, 0xffffffab, 0xffffffab }, { 0xa0000000, 0xabababab, 0xabababab }, { 0x90000000, 0xabababab, 0xabababab }, { 0x60000000, 0xffffffab, 0xffffffab }, { 0x50000000, 0xffffffab, 0xffffffab }, { 0x30000000, 0xabababab, 0xabababab }, { 0xe0000000, 0xffffffab, 0xffffffab }, { 0xd0000000, 0xffffffab, 0xffffffab }, { 0xb0000000, 0xabababab, 0xabababab }, { 0x70000000, 0xffffffab, 0xffffffab }, { 0xf0000000, 0xffffffab, 0xffffffab }, }; const Inputs kOutputs_Sxtb_Condition_ne_r0_r0_ROR_0[] = { { 0x80000000, 0xffffffab, 0xffffffab }, { 0x40000000, 0xabababab, 0xabababab }, { 0x20000000, 0xffffffab, 0xffffffab }, { 0x10000000, 0xffffffab, 0xffffffab }, { 0xc0000000, 0xabababab, 0xabababab }, { 0xa0000000, 0xffffffab, 0xffffffab }, { 0x90000000, 0xffffffab, 0xffffffab }, { 0x60000000, 0xabababab, 0xabababab }, { 0x50000000, 0xabababab, 0xabababab }, { 0x30000000, 0xffffffab, 0xffffffab }, { 0xe0000000, 0xabababab, 0xabababab }, { 0xd0000000, 0xabababab, 0xabababab }, { 0xb0000000, 0xffffffab, 0xffffffab }, { 0x70000000, 0xabababab, 0xabababab }, { 0xf0000000, 0xabababab, 0xabababab }, }; const Inputs kOutputs_Sxtb_Condition_cs_r0_r0_ROR_0[] = { { 0x80000000, 0xabababab, 0xabababab }, { 0x40000000, 0xabababab, 0xabababab }, { 0x20000000, 0xffffffab, 0xffffffab }, { 0x10000000, 0xabababab, 0xabababab }, { 0xc0000000, 0xabababab, 0xabababab }, { 0xa0000000, 0xffffffab, 0xffffffab }, { 0x90000000, 0xabababab, 0xabababab }, { 0x60000000, 0xffffffab, 0xffffffab }, { 0x50000000, 0xabababab, 0xabababab }, { 0x30000000, 0xffffffab, 0xffffffab }, { 0xe0000000, 0xffffffab, 0xffffffab }, { 0xd0000000, 0xabababab, 0xabababab }, { 0xb0000000, 0xffffffab, 0xffffffab }, { 0x70000000, 0xffffffab, 0xffffffab }, { 0xf0000000, 0xffffffab, 0xffffffab }, }; const Inputs kOutputs_Sxtb_Condition_cc_r0_r0_ROR_0[] = { { 0x80000000, 0xffffffab, 0xffffffab }, { 0x40000000, 0xffffffab, 0xffffffab }, { 0x20000000, 0xabababab, 0xabababab }, { 0x10000000, 0xffffffab, 0xffffffab }, { 0xc0000000, 0xffffffab, 0xffffffab }, { 0xa0000000, 0xabababab, 0xabababab }, { 0x90000000, 0xffffffab, 0xffffffab }, { 0x60000000, 0xabababab, 0xabababab }, { 0x50000000, 0xffffffab, 0xffffffab }, { 0x30000000, 0xabababab, 0xabababab }, { 0xe0000000, 0xabababab, 0xabababab }, { 0xd0000000, 0xffffffab, 0xffffffab }, { 0xb0000000, 0xabababab, 0xabababab }, { 0x70000000, 0xabababab, 0xabababab }, { 0xf0000000, 0xabababab, 0xabababab }, }; const Inputs kOutputs_Sxtb_Condition_mi_r0_r0_ROR_0[] = { { 0x80000000, 0xffffffab, 0xffffffab }, { 0x40000000, 0xabababab, 0xabababab }, { 0x20000000, 0xabababab, 0xabababab }, { 0x10000000, 0xabababab, 0xabababab }, { 0xc0000000, 0xffffffab, 0xffffffab }, { 0xa0000000, 0xffffffab, 0xffffffab }, { 0x90000000, 0xffffffab, 0xffffffab }, { 0x60000000, 0xabababab, 0xabababab }, { 0x50000000, 0xabababab, 0xabababab }, { 0x30000000, 0xabababab, 0xabababab }, { 0xe0000000, 0xffffffab, 0xffffffab }, { 0xd0000000, 0xffffffab, 0xffffffab }, { 0xb0000000, 0xffffffab, 0xffffffab }, { 0x70000000, 0xabababab, 0xabababab }, { 0xf0000000, 0xffffffab, 0xffffffab }, }; const Inputs kOutputs_Sxtb_Condition_pl_r0_r0_ROR_0[] = { { 0x80000000, 0xabababab, 0xabababab }, { 0x40000000, 0xffffffab, 0xffffffab }, { 0x20000000, 0xffffffab, 0xffffffab }, { 0x10000000, 0xffffffab, 0xffffffab }, { 0xc0000000, 0xabababab, 0xabababab }, { 0xa0000000, 0xabababab, 0xabababab }, { 0x90000000, 0xabababab, 0xabababab }, { 0x60000000, 0xffffffab, 0xffffffab }, { 0x50000000, 0xffffffab, 0xffffffab }, { 0x30000000, 0xffffffab, 0xffffffab }, { 0xe0000000, 0xabababab, 0xabababab }, { 0xd0000000, 0xabababab, 0xabababab }, { 0xb0000000, 0xabababab, 0xabababab }, { 0x70000000, 0xffffffab, 0xffffffab }, { 0xf0000000, 0xabababab, 0xabababab }, }; const Inputs kOutputs_Sxtb_Condition_vs_r0_r0_ROR_0[] = { { 0x80000000, 0xabababab, 0xabababab }, { 0x40000000, 0xabababab, 0xabababab }, { 0x20000000, 0xabababab, 0xabababab }, { 0x10000000, 0xffffffab, 0xffffffab }, { 0xc0000000, 0xabababab, 0xabababab }, { 0xa0000000, 0xabababab, 0xabababab }, { 0x90000000, 0xffffffab, 0xffffffab }, { 0x60000000, 0xabababab, 0xabababab }, { 0x50000000, 0xffffffab, 0xffffffab }, { 0x30000000, 0xffffffab, 0xffffffab }, { 0xe0000000, 0xabababab, 0xabababab }, { 0xd0000000, 0xffffffab, 0xffffffab }, { 0xb0000000, 0xffffffab, 0xffffffab }, { 0x70000000, 0xffffffab, 0xffffffab }, { 0xf0000000, 0xffffffab, 0xffffffab }, }; const Inputs kOutputs_Sxtb_Condition_vc_r0_r0_ROR_0[] = { { 0x80000000, 0xffffffab, 0xffffffab }, { 0x40000000, 0xffffffab, 0xffffffab }, { 0x20000000, 0xffffffab, 0xffffffab }, { 0x10000000, 0xabababab, 0xabababab }, { 0xc0000000, 0xffffffab, 0xffffffab }, { 0xa0000000, 0xffffffab, 0xffffffab }, { 0x90000000, 0xabababab, 0xabababab }, { 0x60000000, 0xffffffab, 0xffffffab }, { 0x50000000, 0xabababab, 0xabababab }, { 0x30000000, 0xabababab, 0xabababab }, { 0xe0000000, 0xffffffab, 0xffffffab }, { 0xd0000000, 0xabababab, 0xabababab }, { 0xb0000000, 0xabababab, 0xabababab }, { 0x70000000, 0xabababab, 0xabababab }, { 0xf0000000, 0xabababab, 0xabababab }, }; const Inputs kOutputs_Sxtb_Condition_hi_r0_r0_ROR_0[] = { { 0x80000000, 0xabababab, 0xabababab }, { 0x40000000, 0xabababab, 0xabababab }, { 0x20000000, 0xffffffab, 0xffffffab }, { 0x10000000, 0xabababab, 0xabababab }, { 0xc0000000, 0xabababab, 0xabababab }, { 0xa0000000, 0xffffffab, 0xffffffab }, { 0x90000000, 0xabababab, 0xabababab }, { 0x60000000, 0xabababab, 0xabababab }, { 0x50000000, 0xabababab, 0xabababab }, { 0x30000000, 0xffffffab, 0xffffffab }, { 0xe0000000, 0xabababab, 0xabababab }, { 0xd0000000, 0xabababab, 0xabababab }, { 0xb0000000, 0xffffffab, 0xffffffab }, { 0x70000000, 0xabababab, 0xabababab }, { 0xf0000000, 0xabababab, 0xabababab }, }; const Inputs kOutputs_Sxtb_Condition_ls_r0_r0_ROR_0[] = { { 0x80000000, 0xffffffab, 0xffffffab }, { 0x40000000, 0xffffffab, 0xffffffab }, { 0x20000000, 0xabababab, 0xabababab }, { 0x10000000, 0xffffffab, 0xffffffab }, { 0xc0000000, 0xffffffab, 0xffffffab }, { 0xa0000000, 0xabababab, 0xabababab }, { 0x90000000, 0xffffffab, 0xffffffab }, { 0x60000000, 0xffffffab, 0xffffffab }, { 0x50000000, 0xffffffab, 0xffffffab }, { 0x30000000, 0xabababab, 0xabababab }, { 0xe0000000, 0xffffffab, 0xffffffab }, { 0xd0000000, 0xffffffab, 0xffffffab }, { 0xb0000000, 0xabababab, 0xabababab }, { 0x70000000, 0xffffffab, 0xffffffab }, { 0xf0000000, 0xffffffab, 0xffffffab }, }; const Inputs kOutputs_Sxtb_Condition_ge_r0_r0_ROR_0[] = { { 0x80000000, 0xabababab, 0xabababab }, { 0x40000000, 0xffffffab, 0xffffffab }, { 0x20000000, 0xffffffab, 0xffffffab }, { 0x10000000, 0xabababab, 0xabababab }, { 0xc0000000, 0xabababab, 0xabababab }, { 0xa0000000, 0xabababab, 0xabababab }, { 0x90000000, 0xffffffab, 0xffffffab }, { 0x60000000, 0xffffffab, 0xffffffab }, { 0x50000000, 0xabababab, 0xabababab }, { 0x30000000, 0xabababab, 0xabababab }, { 0xe0000000, 0xabababab, 0xabababab }, { 0xd0000000, 0xffffffab, 0xffffffab }, { 0xb0000000, 0xffffffab, 0xffffffab }, { 0x70000000, 0xabababab, 0xabababab }, { 0xf0000000, 0xffffffab, 0xffffffab }, }; const Inputs kOutputs_Sxtb_Condition_lt_r0_r0_ROR_0[] = { { 0x80000000, 0xffffffab, 0xffffffab }, { 0x40000000, 0xabababab, 0xabababab }, { 0x20000000, 0xabababab, 0xabababab }, { 0x10000000, 0xffffffab, 0xffffffab }, { 0xc0000000, 0xffffffab, 0xffffffab }, { 0xa0000000, 0xffffffab, 0xffffffab }, { 0x90000000, 0xabababab, 0xabababab }, { 0x60000000, 0xabababab, 0xabababab }, { 0x50000000, 0xffffffab, 0xffffffab }, { 0x30000000, 0xffffffab, 0xffffffab }, { 0xe0000000, 0xffffffab, 0xffffffab }, { 0xd0000000, 0xabababab, 0xabababab }, { 0xb0000000, 0xabababab, 0xabababab }, { 0x70000000, 0xffffffab, 0xffffffab }, { 0xf0000000, 0xabababab, 0xabababab }, }; const Inputs kOutputs_Sxtb_Condition_gt_r0_r0_ROR_0[] = { { 0x80000000, 0xabababab, 0xabababab }, { 0x40000000, 0xabababab, 0xabababab }, { 0x20000000, 0xffffffab, 0xffffffab }, { 0x10000000, 0xabababab, 0xabababab }, { 0xc0000000, 0xabababab, 0xabababab }, { 0xa0000000, 0xabababab, 0xabababab }, { 0x90000000, 0xffffffab, 0xffffffab }, { 0x60000000, 0xabababab, 0xabababab }, { 0x50000000, 0xabababab, 0xabababab }, { 0x30000000, 0xabababab, 0xabababab }, { 0xe0000000, 0xabababab, 0xabababab }, { 0xd0000000, 0xabababab, 0xabababab }, { 0xb0000000, 0xffffffab, 0xffffffab }, { 0x70000000, 0xabababab, 0xabababab }, { 0xf0000000, 0xabababab, 0xabababab }, }; const Inputs kOutputs_Sxtb_Condition_le_r0_r0_ROR_0[] = { { 0x80000000, 0xffffffab, 0xffffffab }, { 0x40000000, 0xffffffab, 0xffffffab }, { 0x20000000, 0xabababab, 0xabababab }, { 0x10000000, 0xffffffab, 0xffffffab }, { 0xc0000000, 0xffffffab, 0xffffffab }, { 0xa0000000, 0xffffffab, 0xffffffab }, { 0x90000000, 0xabababab, 0xabababab }, { 0x60000000, 0xffffffab, 0xffffffab }, { 0x50000000, 0xffffffab, 0xffffffab }, { 0x30000000, 0xffffffab, 0xffffffab }, { 0xe0000000, 0xffffffab, 0xffffffab }, { 0xd0000000, 0xffffffab, 0xffffffab }, { 0xb0000000, 0xabababab, 0xabababab }, { 0x70000000, 0xffffffab, 0xffffffab }, { 0xf0000000, 0xffffffab, 0xffffffab }, }; const Inputs kOutputs_Sxtb_Condition_al_r0_r0_ROR_0[] = { { 0x80000000, 0xffffffab, 0xffffffab }, { 0x40000000, 0xffffffab, 0xffffffab }, { 0x20000000, 0xffffffab, 0xffffffab }, { 0x10000000, 0xffffffab, 0xffffffab }, { 0xc0000000, 0xffffffab, 0xffffffab }, { 0xa0000000, 0xffffffab, 0xffffffab }, { 0x90000000, 0xffffffab, 0xffffffab }, { 0x60000000, 0xffffffab, 0xffffffab }, { 0x50000000, 0xffffffab, 0xffffffab }, { 0x30000000, 0xffffffab, 0xffffffab }, { 0xe0000000, 0xffffffab, 0xffffffab }, { 0xd0000000, 0xffffffab, 0xffffffab }, { 0xb0000000, 0xffffffab, 0xffffffab }, { 0x70000000, 0xffffffab, 0xffffffab }, { 0xf0000000, 0xffffffab, 0xffffffab }, }; const Inputs kOutputs_Sxtb_RdIsRn_al_r0_r0_ROR_0[] = { { 0x00000000, 0x00000000, 0x00000000 }, { 0x00000000, 0x00000001, 0x00000001 }, { 0x00000000, 0x00000002, 0x00000002 }, { 0x00000000, 0x00000020, 0x00000020 }, { 0x00000000, 0x0000007d, 0x0000007d }, { 0x00000000, 0x0000007e, 0x0000007e }, { 0x00000000, 0x0000007f, 0x0000007f }, { 0x00000000, 0xfffffffd, 0xfffffffd }, { 0x00000000, 0xfffffffe, 0xfffffffe }, { 0x00000000, 0xffffffff, 0xffffffff }, { 0x00000000, 0x00000033, 0x00000033 }, { 0x00000000, 0x00000055, 0x00000055 }, { 0x00000000, 0xfffffffd, 0xfffffffd }, { 0x00000000, 0xfffffffe, 0xfffffffe }, { 0x00000000, 0xffffffff, 0xffffffff }, { 0x00000000, 0x00000000, 0x00000000 }, { 0x00000000, 0x00000001, 0x00000001 }, { 0x00000000, 0xffffffaa, 0xffffffaa }, { 0x00000000, 0xffffffcc, 0xffffffcc }, { 0x00000000, 0x00000000, 0x00000000 }, { 0x00000000, 0x00000001, 0x00000001 }, { 0x00000000, 0x00000002, 0x00000002 }, { 0x00000000, 0x00000003, 0x00000003 }, { 0x00000000, 0xffffff80, 0xffffff80 }, { 0x00000000, 0xffffff81, 0xffffff81 }, { 0x00000000, 0xffffff82, 0xffffff82 }, { 0x00000000, 0xffffff83, 0xffffff83 }, { 0x00000000, 0xffffffe0, 0xffffffe0 }, { 0x00000000, 0xfffffffd, 0xfffffffd }, { 0x00000000, 0xfffffffe, 0xfffffffe }, { 0x00000000, 0xffffffff, 0xffffffff }, }; const Inputs kOutputs_Sxtb_RdIsRn_al_r1_r1_ROR_0[] = { { 0x00000000, 0x00000000, 0x00000000 }, { 0x00000000, 0x00000001, 0x00000001 }, { 0x00000000, 0x00000002, 0x00000002 }, { 0x00000000, 0x00000020, 0x00000020 }, { 0x00000000, 0x0000007d, 0x0000007d }, { 0x00000000, 0x0000007e, 0x0000007e }, { 0x00000000, 0x0000007f, 0x0000007f }, { 0x00000000, 0xfffffffd, 0xfffffffd }, { 0x00000000, 0xfffffffe, 0xfffffffe }, { 0x00000000, 0xffffffff, 0xffffffff }, { 0x00000000, 0x00000033, 0x00000033 }, { 0x00000000, 0x00000055, 0x00000055 }, { 0x00000000, 0xfffffffd, 0xfffffffd }, { 0x00000000, 0xfffffffe, 0xfffffffe }, { 0x00000000, 0xffffffff, 0xffffffff }, { 0x00000000, 0x00000000, 0x00000000 }, { 0x00000000, 0x00000001, 0x00000001 }, { 0x00000000, 0xffffffaa, 0xffffffaa }, { 0x00000000, 0xffffffcc, 0xffffffcc }, { 0x00000000, 0x00000000, 0x00000000 }, { 0x00000000, 0x00000001, 0x00000001 }, { 0x00000000, 0x00000002, 0x00000002 }, { 0x00000000, 0x00000003, 0x00000003 }, { 0x00000000, 0xffffff80, 0xffffff80 }, { 0x00000000, 0xffffff81, 0xffffff81 }, { 0x00000000, 0xffffff82, 0xffffff82 }, { 0x00000000, 0xffffff83, 0xffffff83 }, { 0x00000000, 0xffffffe0, 0xffffffe0 }, { 0x00000000, 0xfffffffd, 0xfffffffd }, { 0x00000000, 0xfffffffe, 0xfffffffe }, { 0x00000000, 0xffffffff, 0xffffffff }, }; const Inputs kOutputs_Sxtb_RdIsRn_al_r2_r2_ROR_0[] = { { 0x00000000, 0x00000000, 0x00000000 }, { 0x00000000, 0x00000001, 0x00000001 }, { 0x00000000, 0x00000002, 0x00000002 }, { 0x00000000, 0x00000020, 0x00000020 }, { 0x00000000, 0x0000007d, 0x0000007d }, { 0x00000000, 0x0000007e, 0x0000007e }, { 0x00000000, 0x0000007f, 0x0000007f }, { 0x00000000, 0xfffffffd, 0xfffffffd }, { 0x00000000, 0xfffffffe, 0xfffffffe }, { 0x00000000, 0xffffffff, 0xffffffff }, { 0x00000000, 0x00000033, 0x00000033 }, { 0x00000000, 0x00000055, 0x00000055 }, { 0x00000000, 0xfffffffd, 0xfffffffd }, { 0x00000000, 0xfffffffe, 0xfffffffe }, { 0x00000000, 0xffffffff, 0xffffffff }, { 0x00000000, 0x00000000, 0x00000000 }, { 0x00000000, 0x00000001, 0x00000001 }, { 0x00000000, 0xffffffaa, 0xffffffaa }, { 0x00000000, 0xffffffcc, 0xffffffcc }, { 0x00000000, 0x00000000, 0x00000000 }, { 0x00000000, 0x00000001, 0x00000001 }, { 0x00000000, 0x00000002, 0x00000002 }, { 0x00000000, 0x00000003, 0x00000003 }, { 0x00000000, 0xffffff80, 0xffffff80 }, { 0x00000000, 0xffffff81, 0xffffff81 }, { 0x00000000, 0xffffff82, 0xffffff82 }, { 0x00000000, 0xffffff83, 0xffffff83 }, { 0x00000000, 0xffffffe0, 0xffffffe0 }, { 0x00000000, 0xfffffffd, 0xfffffffd }, { 0x00000000, 0xfffffffe, 0xfffffffe }, { 0x00000000, 0xffffffff, 0xffffffff }, }; const Inputs kOutputs_Sxtb_RdIsRn_al_r3_r3_ROR_0[] = { { 0x00000000, 0x00000000, 0x00000000 }, { 0x00000000, 0x00000001, 0x00000001 }, { 0x00000000, 0x00000002, 0x00000002 }, { 0x00000000, 0x00000020, 0x00000020 }, { 0x00000000, 0x0000007d, 0x0000007d }, { 0x00000000, 0x0000007e, 0x0000007e }, { 0x00000000, 0x0000007f, 0x0000007f }, { 0x00000000, 0xfffffffd, 0xfffffffd }, { 0x00000000, 0xfffffffe, 0xfffffffe }, { 0x00000000, 0xffffffff, 0xffffffff }, { 0x00000000, 0x00000033, 0x00000033 }, { 0x00000000, 0x00000055, 0x00000055 }, { 0x00000000, 0xfffffffd, 0xfffffffd }, { 0x00000000, 0xfffffffe, 0xfffffffe }, { 0x00000000, 0xffffffff, 0xffffffff }, { 0x00000000, 0x00000000, 0x00000000 }, { 0x00000000, 0x00000001, 0x00000001 }, { 0x00000000, 0xffffffaa, 0xffffffaa }, { 0x00000000, 0xffffffcc, 0xffffffcc }, { 0x00000000, 0x00000000, 0x00000000 }, { 0x00000000, 0x00000001, 0x00000001 }, { 0x00000000, 0x00000002, 0x00000002 }, { 0x00000000, 0x00000003, 0x00000003 }, { 0x00000000, 0xffffff80, 0xffffff80 }, { 0x00000000, 0xffffff81, 0xffffff81 }, { 0x00000000, 0xffffff82, 0xffffff82 }, { 0x00000000, 0xffffff83, 0xffffff83 }, { 0x00000000, 0xffffffe0, 0xffffffe0 }, { 0x00000000, 0xfffffffd, 0xfffffffd }, { 0x00000000, 0xfffffffe, 0xfffffffe }, { 0x00000000, 0xffffffff, 0xffffffff }, }; const Inputs kOutputs_Sxtb_RdIsRn_al_r4_r4_ROR_0[] = { { 0x00000000, 0x00000000, 0x00000000 }, { 0x00000000, 0x00000001, 0x00000001 }, { 0x00000000, 0x00000002, 0x00000002 }, { 0x00000000, 0x00000020, 0x00000020 }, { 0x00000000, 0x0000007d, 0x0000007d }, { 0x00000000, 0x0000007e, 0x0000007e }, { 0x00000000, 0x0000007f, 0x0000007f }, { 0x00000000, 0xfffffffd, 0xfffffffd }, { 0x00000000, 0xfffffffe, 0xfffffffe }, { 0x00000000, 0xffffffff, 0xffffffff }, { 0x00000000, 0x00000033, 0x00000033 }, { 0x00000000, 0x00000055, 0x00000055 }, { 0x00000000, 0xfffffffd, 0xfffffffd }, { 0x00000000, 0xfffffffe, 0xfffffffe }, { 0x00000000, 0xffffffff, 0xffffffff }, { 0x00000000, 0x00000000, 0x00000000 }, { 0x00000000, 0x00000001, 0x00000001 }, { 0x00000000, 0xffffffaa, 0xffffffaa }, { 0x00000000, 0xffffffcc, 0xffffffcc }, { 0x00000000, 0x00000000, 0x00000000 }, { 0x00000000, 0x00000001, 0x00000001 }, { 0x00000000, 0x00000002, 0x00000002 }, { 0x00000000, 0x00000003, 0x00000003 }, { 0x00000000, 0xffffff80, 0xffffff80 }, { 0x00000000, 0xffffff81, 0xffffff81 }, { 0x00000000, 0xffffff82, 0xffffff82 }, { 0x00000000, 0xffffff83, 0xffffff83 }, { 0x00000000, 0xffffffe0, 0xffffffe0 }, { 0x00000000, 0xfffffffd, 0xfffffffd }, { 0x00000000, 0xfffffffe, 0xfffffffe }, { 0x00000000, 0xffffffff, 0xffffffff }, }; const Inputs kOutputs_Sxtb_RdIsRn_al_r5_r5_ROR_0[] = { { 0x00000000, 0x00000000, 0x00000000 }, { 0x00000000, 0x00000001, 0x00000001 }, { 0x00000000, 0x00000002, 0x00000002 }, { 0x00000000, 0x00000020, 0x00000020 }, { 0x00000000, 0x0000007d, 0x0000007d }, { 0x00000000, 0x0000007e, 0x0000007e }, { 0x00000000, 0x0000007f, 0x0000007f }, { 0x00000000, 0xfffffffd, 0xfffffffd }, { 0x00000000, 0xfffffffe, 0xfffffffe }, { 0x00000000, 0xffffffff, 0xffffffff }, { 0x00000000, 0x00000033, 0x00000033 }, { 0x00000000, 0x00000055, 0x00000055 }, { 0x00000000, 0xfffffffd, 0xfffffffd }, { 0x00000000, 0xfffffffe, 0xfffffffe }, { 0x00000000, 0xffffffff, 0xffffffff }, { 0x00000000, 0x00000000, 0x00000000 }, { 0x00000000, 0x00000001, 0x00000001 }, { 0x00000000, 0xffffffaa, 0xffffffaa }, { 0x00000000, 0xffffffcc, 0xffffffcc }, { 0x00000000, 0x00000000, 0x00000000 }, { 0x00000000, 0x00000001, 0x00000001 }, { 0x00000000, 0x00000002, 0x00000002 }, { 0x00000000, 0x00000003, 0x00000003 }, { 0x00000000, 0xffffff80, 0xffffff80 }, { 0x00000000, 0xffffff81, 0xffffff81 }, { 0x00000000, 0xffffff82, 0xffffff82 }, { 0x00000000, 0xffffff83, 0xffffff83 }, { 0x00000000, 0xffffffe0, 0xffffffe0 }, { 0x00000000, 0xfffffffd, 0xfffffffd }, { 0x00000000, 0xfffffffe, 0xfffffffe }, { 0x00000000, 0xffffffff, 0xffffffff }, }; const Inputs kOutputs_Sxtb_RdIsRn_al_r6_r6_ROR_0[] = { { 0x00000000, 0x00000000, 0x00000000 }, { 0x00000000, 0x00000001, 0x00000001 }, { 0x00000000, 0x00000002, 0x00000002 }, { 0x00000000, 0x00000020, 0x00000020 }, { 0x00000000, 0x0000007d, 0x0000007d }, { 0x00000000, 0x0000007e, 0x0000007e }, { 0x00000000, 0x0000007f, 0x0000007f }, { 0x00000000, 0xfffffffd, 0xfffffffd }, { 0x00000000, 0xfffffffe, 0xfffffffe }, { 0x00000000, 0xffffffff, 0xffffffff }, { 0x00000000, 0x00000033, 0x00000033 }, { 0x00000000, 0x00000055, 0x00000055 }, { 0x00000000, 0xfffffffd, 0xfffffffd }, { 0x00000000, 0xfffffffe, 0xfffffffe }, { 0x00000000, 0xffffffff, 0xffffffff }, { 0x00000000, 0x00000000, 0x00000000 }, { 0x00000000, 0x00000001, 0x00000001 }, { 0x00000000, 0xffffffaa, 0xffffffaa }, { 0x00000000, 0xffffffcc, 0xffffffcc }, { 0x00000000, 0x00000000, 0x00000000 }, { 0x00000000, 0x00000001, 0x00000001 }, { 0x00000000, 0x00000002, 0x00000002 }, { 0x00000000, 0x00000003, 0x00000003 }, { 0x00000000, 0xffffff80, 0xffffff80 }, { 0x00000000, 0xffffff81, 0xffffff81 }, { 0x00000000, 0xffffff82, 0xffffff82 }, { 0x00000000, 0xffffff83, 0xffffff83 }, { 0x00000000, 0xffffffe0, 0xffffffe0 }, { 0x00000000, 0xfffffffd, 0xfffffffd }, { 0x00000000, 0xfffffffe, 0xfffffffe }, { 0x00000000, 0xffffffff, 0xffffffff }, }; const Inputs kOutputs_Sxtb_RdIsRn_al_r7_r7_ROR_0[] = { { 0x00000000, 0x00000000, 0x00000000 }, { 0x00000000, 0x00000001, 0x00000001 }, { 0x00000000, 0x00000002, 0x00000002 }, { 0x00000000, 0x00000020, 0x00000020 }, { 0x00000000, 0x0000007d, 0x0000007d }, { 0x00000000, 0x0000007e, 0x0000007e }, { 0x00000000, 0x0000007f, 0x0000007f }, { 0x00000000, 0xfffffffd, 0xfffffffd }, { 0x00000000, 0xfffffffe, 0xfffffffe }, { 0x00000000, 0xffffffff, 0xffffffff }, { 0x00000000, 0x00000033, 0x00000033 }, { 0x00000000, 0x00000055, 0x00000055 }, { 0x00000000, 0xfffffffd, 0xfffffffd }, { 0x00000000, 0xfffffffe, 0xfffffffe }, { 0x00000000, 0xffffffff, 0xffffffff }, { 0x00000000, 0x00000000, 0x00000000 }, { 0x00000000, 0x00000001, 0x00000001 }, { 0x00000000, 0xffffffaa, 0xffffffaa }, { 0x00000000, 0xffffffcc, 0xffffffcc }, { 0x00000000, 0x00000000, 0x00000000 }, { 0x00000000, 0x00000001, 0x00000001 }, { 0x00000000, 0x00000002, 0x00000002 }, { 0x00000000, 0x00000003, 0x00000003 }, { 0x00000000, 0xffffff80, 0xffffff80 }, { 0x00000000, 0xffffff81, 0xffffff81 }, { 0x00000000, 0xffffff82, 0xffffff82 }, { 0x00000000, 0xffffff83, 0xffffff83 }, { 0x00000000, 0xffffffe0, 0xffffffe0 }, { 0x00000000, 0xfffffffd, 0xfffffffd }, { 0x00000000, 0xfffffffe, 0xfffffffe }, { 0x00000000, 0xffffffff, 0xffffffff }, }; const Inputs kOutputs_Sxtb_RdIsRn_al_r8_r8_ROR_0[] = { { 0x00000000, 0x00000000, 0x00000000 }, { 0x00000000, 0x00000001, 0x00000001 }, { 0x00000000, 0x00000002, 0x00000002 }, { 0x00000000, 0x00000020, 0x00000020 }, { 0x00000000, 0x0000007d, 0x0000007d }, { 0x00000000, 0x0000007e, 0x0000007e }, { 0x00000000, 0x0000007f, 0x0000007f }, { 0x00000000, 0xfffffffd, 0xfffffffd }, { 0x00000000, 0xfffffffe, 0xfffffffe }, { 0x00000000, 0xffffffff, 0xffffffff }, { 0x00000000, 0x00000033, 0x00000033 }, { 0x00000000, 0x00000055, 0x00000055 }, { 0x00000000, 0xfffffffd, 0xfffffffd }, { 0x00000000, 0xfffffffe, 0xfffffffe }, { 0x00000000, 0xffffffff, 0xffffffff }, { 0x00000000, 0x00000000, 0x00000000 }, { 0x00000000, 0x00000001, 0x00000001 }, { 0x00000000, 0xffffffaa, 0xffffffaa }, { 0x00000000, 0xffffffcc, 0xffffffcc }, { 0x00000000, 0x00000000, 0x00000000 }, { 0x00000000, 0x00000001, 0x00000001 }, { 0x00000000, 0x00000002, 0x00000002 }, { 0x00000000, 0x00000003, 0x00000003 }, { 0x00000000, 0xffffff80, 0xffffff80 }, { 0x00000000, 0xffffff81, 0xffffff81 }, { 0x00000000, 0xffffff82, 0xffffff82 }, { 0x00000000, 0xffffff83, 0xffffff83 }, { 0x00000000, 0xffffffe0, 0xffffffe0 }, { 0x00000000, 0xfffffffd, 0xfffffffd }, { 0x00000000, 0xfffffffe, 0xfffffffe }, { 0x00000000, 0xffffffff, 0xffffffff }, }; const Inputs kOutputs_Sxtb_RdIsRn_al_r9_r9_ROR_0[] = { { 0x00000000, 0x00000000, 0x00000000 }, { 0x00000000, 0x00000001, 0x00000001 }, { 0x00000000, 0x00000002, 0x00000002 }, { 0x00000000, 0x00000020, 0x00000020 }, { 0x00000000, 0x0000007d, 0x0000007d }, { 0x00000000, 0x0000007e, 0x0000007e }, { 0x00000000, 0x0000007f, 0x0000007f }, { 0x00000000, 0xfffffffd, 0xfffffffd }, { 0x00000000, 0xfffffffe, 0xfffffffe }, { 0x00000000, 0xffffffff, 0xffffffff }, { 0x00000000, 0x00000033, 0x00000033 }, { 0x00000000, 0x00000055, 0x00000055 }, { 0x00000000, 0xfffffffd, 0xfffffffd }, { 0x00000000, 0xfffffffe, 0xfffffffe }, { 0x00000000, 0xffffffff, 0xffffffff }, { 0x00000000, 0x00000000, 0x00000000 }, { 0x00000000, 0x00000001, 0x00000001 }, { 0x00000000, 0xffffffaa, 0xffffffaa }, { 0x00000000, 0xffffffcc, 0xffffffcc }, { 0x00000000, 0x00000000, 0x00000000 }, { 0x00000000, 0x00000001, 0x00000001 }, { 0x00000000, 0x00000002, 0x00000002 }, { 0x00000000, 0x00000003, 0x00000003 }, { 0x00000000, 0xffffff80, 0xffffff80 }, { 0x00000000, 0xffffff81, 0xffffff81 }, { 0x00000000, 0xffffff82, 0xffffff82 }, { 0x00000000, 0xffffff83, 0xffffff83 }, { 0x00000000, 0xffffffe0, 0xffffffe0 }, { 0x00000000, 0xfffffffd, 0xfffffffd }, { 0x00000000, 0xfffffffe, 0xfffffffe }, { 0x00000000, 0xffffffff, 0xffffffff }, }; const Inputs kOutputs_Sxtb_RdIsRn_al_r10_r10_ROR_0[] = { { 0x00000000, 0x00000000, 0x00000000 }, { 0x00000000, 0x00000001, 0x00000001 }, { 0x00000000, 0x00000002, 0x00000002 }, { 0x00000000, 0x00000020, 0x00000020 }, { 0x00000000, 0x0000007d, 0x0000007d }, { 0x00000000, 0x0000007e, 0x0000007e }, { 0x00000000, 0x0000007f, 0x0000007f }, { 0x00000000, 0xfffffffd, 0xfffffffd }, { 0x00000000, 0xfffffffe, 0xfffffffe }, { 0x00000000, 0xffffffff, 0xffffffff }, { 0x00000000, 0x00000033, 0x00000033 }, { 0x00000000, 0x00000055, 0x00000055 }, { 0x00000000, 0xfffffffd, 0xfffffffd }, { 0x00000000, 0xfffffffe, 0xfffffffe }, { 0x00000000, 0xffffffff, 0xffffffff }, { 0x00000000, 0x00000000, 0x00000000 }, { 0x00000000, 0x00000001, 0x00000001 }, { 0x00000000, 0xffffffaa, 0xffffffaa }, { 0x00000000, 0xffffffcc, 0xffffffcc }, { 0x00000000, 0x00000000, 0x00000000 }, { 0x00000000, 0x00000001, 0x00000001 }, { 0x00000000, 0x00000002, 0x00000002 }, { 0x00000000, 0x00000003, 0x00000003 }, { 0x00000000, 0xffffff80, 0xffffff80 }, { 0x00000000, 0xffffff81, 0xffffff81 }, { 0x00000000, 0xffffff82, 0xffffff82 }, { 0x00000000, 0xffffff83, 0xffffff83 }, { 0x00000000, 0xffffffe0, 0xffffffe0 }, { 0x00000000, 0xfffffffd, 0xfffffffd }, { 0x00000000, 0xfffffffe, 0xfffffffe }, { 0x00000000, 0xffffffff, 0xffffffff }, }; const Inputs kOutputs_Sxtb_RdIsRn_al_r11_r11_ROR_0[] = { { 0x00000000, 0x00000000, 0x00000000 }, { 0x00000000, 0x00000001, 0x00000001 }, { 0x00000000, 0x00000002, 0x00000002 }, { 0x00000000, 0x00000020, 0x00000020 }, { 0x00000000, 0x0000007d, 0x0000007d }, { 0x00000000, 0x0000007e, 0x0000007e }, { 0x00000000, 0x0000007f, 0x0000007f }, { 0x00000000, 0xfffffffd, 0xfffffffd }, { 0x00000000, 0xfffffffe, 0xfffffffe }, { 0x00000000, 0xffffffff, 0xffffffff }, { 0x00000000, 0x00000033, 0x00000033 }, { 0x00000000, 0x00000055, 0x00000055 }, { 0x00000000, 0xfffffffd, 0xfffffffd }, { 0x00000000, 0xfffffffe, 0xfffffffe }, { 0x00000000, 0xffffffff, 0xffffffff }, { 0x00000000, 0x00000000, 0x00000000 }, { 0x00000000, 0x00000001, 0x00000001 }, { 0x00000000, 0xffffffaa, 0xffffffaa }, { 0x00000000, 0xffffffcc, 0xffffffcc }, { 0x00000000, 0x00000000, 0x00000000 }, { 0x00000000, 0x00000001, 0x00000001 }, { 0x00000000, 0x00000002, 0x00000002 }, { 0x00000000, 0x00000003, 0x00000003 }, { 0x00000000, 0xffffff80, 0xffffff80 }, { 0x00000000, 0xffffff81, 0xffffff81 }, { 0x00000000, 0xffffff82, 0xffffff82 }, { 0x00000000, 0xffffff83, 0xffffff83 }, { 0x00000000, 0xffffffe0, 0xffffffe0 }, { 0x00000000, 0xfffffffd, 0xfffffffd }, { 0x00000000, 0xfffffffe, 0xfffffffe }, { 0x00000000, 0xffffffff, 0xffffffff }, }; const Inputs kOutputs_Sxtb_RdIsRn_al_r12_r12_ROR_0[] = { { 0x00000000, 0x00000000, 0x00000000 }, { 0x00000000, 0x00000001, 0x00000001 }, { 0x00000000, 0x00000002, 0x00000002 }, { 0x00000000, 0x00000020, 0x00000020 }, { 0x00000000, 0x0000007d, 0x0000007d }, { 0x00000000, 0x0000007e, 0x0000007e }, { 0x00000000, 0x0000007f, 0x0000007f }, { 0x00000000, 0xfffffffd, 0xfffffffd }, { 0x00000000, 0xfffffffe, 0xfffffffe }, { 0x00000000, 0xffffffff, 0xffffffff }, { 0x00000000, 0x00000033, 0x00000033 }, { 0x00000000, 0x00000055, 0x00000055 }, { 0x00000000, 0xfffffffd, 0xfffffffd }, { 0x00000000, 0xfffffffe, 0xfffffffe }, { 0x00000000, 0xffffffff, 0xffffffff }, { 0x00000000, 0x00000000, 0x00000000 }, { 0x00000000, 0x00000001, 0x00000001 }, { 0x00000000, 0xffffffaa, 0xffffffaa }, { 0x00000000, 0xffffffcc, 0xffffffcc }, { 0x00000000, 0x00000000, 0x00000000 }, { 0x00000000, 0x00000001, 0x00000001 }, { 0x00000000, 0x00000002, 0x00000002 }, { 0x00000000, 0x00000003, 0x00000003 }, { 0x00000000, 0xffffff80, 0xffffff80 }, { 0x00000000, 0xffffff81, 0xffffff81 }, { 0x00000000, 0xffffff82, 0xffffff82 }, { 0x00000000, 0xffffff83, 0xffffff83 }, { 0x00000000, 0xffffffe0, 0xffffffe0 }, { 0x00000000, 0xfffffffd, 0xfffffffd }, { 0x00000000, 0xfffffffe, 0xfffffffe }, { 0x00000000, 0xffffffff, 0xffffffff }, }; const Inputs kOutputs_Sxtb_RdIsRn_al_r14_r14_ROR_0[] = { { 0x00000000, 0x00000000, 0x00000000 }, { 0x00000000, 0x00000001, 0x00000001 }, { 0x00000000, 0x00000002, 0x00000002 }, { 0x00000000, 0x00000020, 0x00000020 }, { 0x00000000, 0x0000007d, 0x0000007d }, { 0x00000000, 0x0000007e, 0x0000007e }, { 0x00000000, 0x0000007f, 0x0000007f }, { 0x00000000, 0xfffffffd, 0xfffffffd }, { 0x00000000, 0xfffffffe, 0xfffffffe }, { 0x00000000, 0xffffffff, 0xffffffff }, { 0x00000000, 0x00000033, 0x00000033 }, { 0x00000000, 0x00000055, 0x00000055 }, { 0x00000000, 0xfffffffd, 0xfffffffd }, { 0x00000000, 0xfffffffe, 0xfffffffe }, { 0x00000000, 0xffffffff, 0xffffffff }, { 0x00000000, 0x00000000, 0x00000000 }, { 0x00000000, 0x00000001, 0x00000001 }, { 0x00000000, 0xffffffaa, 0xffffffaa }, { 0x00000000, 0xffffffcc, 0xffffffcc }, { 0x00000000, 0x00000000, 0x00000000 }, { 0x00000000, 0x00000001, 0x00000001 }, { 0x00000000, 0x00000002, 0x00000002 }, { 0x00000000, 0x00000003, 0x00000003 }, { 0x00000000, 0xffffff80, 0xffffff80 }, { 0x00000000, 0xffffff81, 0xffffff81 }, { 0x00000000, 0xffffff82, 0xffffff82 }, { 0x00000000, 0xffffff83, 0xffffff83 }, { 0x00000000, 0xffffffe0, 0xffffffe0 }, { 0x00000000, 0xfffffffd, 0xfffffffd }, { 0x00000000, 0xfffffffe, 0xfffffffe }, { 0x00000000, 0xffffffff, 0xffffffff }, }; const Inputs kOutputs_Sxtb_RdIsNotRn_al_r1_r8_ROR_0[] = { { 0x00000000, 0xffffffcc, 0xcccccccc }, { 0x00000000, 0xfffffffe, 0x00007ffe }, { 0x00000000, 0x00000020, 0x00000020 }, { 0x00000000, 0xffffffaa, 0xaaaaaaaa }, { 0x00000000, 0xffffff82, 0xffffff82 }, { 0x00000000, 0xfffffffe, 0x7ffffffe }, { 0x00000000, 0xfffffffe, 0x00007ffe }, { 0x00000000, 0x00000000, 0x80000000 }, { 0x00000000, 0x00000033, 0x33333333 }, { 0x00000000, 0xfffffffe, 0x7ffffffe }, { 0x00000000, 0xffffffcc, 0xcccccccc }, { 0x00000000, 0x00000055, 0x55555555 }, { 0x00000000, 0xffffffff, 0xffffffff }, { 0x00000000, 0x00000002, 0xffff8002 }, { 0x00000000, 0xfffffffd, 0x7ffffffd }, { 0x00000000, 0x0000007e, 0x0000007e }, { 0x00000000, 0x00000001, 0xffff8001 }, { 0x00000000, 0xfffffffd, 0x00007ffd }, { 0x00000000, 0x00000002, 0x00000002 }, { 0x00000000, 0x00000055, 0x55555555 }, { 0x00000000, 0xffffff80, 0xffffff80 }, { 0x00000000, 0x00000000, 0xffff8000 }, { 0x00000000, 0xfffffffe, 0x7ffffffe }, { 0x00000000, 0x00000000, 0x00000000 }, { 0x00000000, 0x0000007e, 0x0000007e }, { 0x00000000, 0xffffffff, 0xffffffff }, { 0x00000000, 0x00000001, 0x80000001 }, { 0x00000000, 0x0000007f, 0x0000007f }, { 0x00000000, 0xffffffcc, 0xcccccccc }, { 0x00000000, 0xfffffffe, 0x00007ffe }, { 0x00000000, 0x0000007e, 0x0000007e }, { 0x00000000, 0xffffffcc, 0xcccccccc }, { 0x00000000, 0x00000002, 0xffff8002 }, { 0x00000000, 0xfffffffe, 0x7ffffffe }, { 0x00000000, 0x00000001, 0x00000001 }, { 0x00000000, 0x00000020, 0x00000020 }, { 0x00000000, 0x00000001, 0xffff8001 }, { 0x00000000, 0xfffffffe, 0xfffffffe }, { 0x00000000, 0x00000055, 0x55555555 }, { 0x00000000, 0xffffff83, 0xffffff83 }, { 0x00000000, 0x00000001, 0xffff8001 }, { 0x00000000, 0x00000000, 0xffff8000 }, { 0x00000000, 0x00000002, 0x00000002 }, { 0x00000000, 0x00000000, 0xffff8000 }, { 0x00000000, 0xffffff81, 0xffffff81 }, { 0x00000000, 0x00000000, 0x00000000 }, { 0x00000000, 0xffffff81, 0xffffff81 }, { 0x00000000, 0xffffff82, 0xffffff82 }, { 0x00000000, 0x00000003, 0xffff8003 }, { 0x00000000, 0xfffffffd, 0x7ffffffd }, { 0x00000000, 0xfffffffe, 0x00007ffe }, { 0x00000000, 0x0000007d, 0x0000007d }, { 0x00000000, 0xfffffffd, 0x00007ffd }, { 0x00000000, 0xffffff82, 0xffffff82 }, { 0x00000000, 0xfffffffe, 0x7ffffffe }, { 0x00000000, 0xffffff83, 0xffffff83 }, { 0x00000000, 0x00000002, 0x00000002 }, { 0x00000000, 0xffffff82, 0xffffff82 }, { 0x00000000, 0x00000020, 0x00000020 }, { 0x00000000, 0xffffff82, 0xffffff82 }, { 0x00000000, 0xffffff82, 0xffffff82 }, { 0x00000000, 0xffffffaa, 0xaaaaaaaa }, { 0x00000000, 0x00000001, 0x00000001 }, { 0x00000000, 0xffffffe0, 0xffffffe0 }, { 0x00000000, 0xffffff83, 0xffffff83 }, { 0x00000000, 0x00000000, 0x00000000 }, { 0x00000000, 0x00000000, 0xffff8000 }, { 0x00000000, 0xffffffff, 0x7fffffff }, { 0x00000000, 0x00000000, 0x80000000 }, { 0x00000000, 0x00000001, 0x00000001 }, { 0x00000000, 0xffffff82, 0xffffff82 }, { 0x00000000, 0xfffffffe, 0x00007ffe }, { 0x00000000, 0xfffffffd, 0xfffffffd }, { 0x00000000, 0x00000033, 0x33333333 }, { 0x00000000, 0x00000000, 0x80000000 }, { 0x00000000, 0xffffffff, 0x00007fff }, { 0x00000000, 0xffffffe0, 0xffffffe0 }, { 0x00000000, 0x0000007f, 0x0000007f }, { 0x00000000, 0x00000001, 0xffff8001 }, { 0x00000000, 0x00000001, 0x00000001 }, { 0x00000000, 0xffffffff, 0xffffffff }, { 0x00000000, 0xffffffcc, 0xcccccccc }, { 0x00000000, 0xfffffffe, 0x7ffffffe }, { 0x00000000, 0x00000000, 0x00000000 }, { 0x00000000, 0xffffffcc, 0xcccccccc }, { 0x00000000, 0xffffff83, 0xffffff83 }, { 0x00000000, 0xffffffe0, 0xffffffe0 }, { 0x00000000, 0xffffffff, 0x00007fff }, { 0x00000000, 0x00000002, 0x00000002 }, { 0x00000000, 0xffffffcc, 0xcccccccc }, { 0x00000000, 0xffffff80, 0xffffff80 }, { 0x00000000, 0x00000020, 0x00000020 }, { 0x00000000, 0xfffffffe, 0xfffffffe }, { 0x00000000, 0xffffff81, 0xffffff81 }, { 0x00000000, 0x0000007f, 0x0000007f }, { 0x00000000, 0xfffffffd, 0x7ffffffd }, { 0x00000000, 0xfffffffe, 0xfffffffe }, { 0x00000000, 0x00000002, 0xffff8002 }, { 0x00000000, 0xffffffff, 0xffffffff }, { 0x00000000, 0xffffff80, 0xffffff80 }, { 0x00000000, 0xffffffff, 0x00007fff }, { 0x00000000, 0x00000001, 0xffff8001 }, { 0x00000000, 0x00000002, 0xffff8002 }, { 0x00000000, 0xffffff83, 0xffffff83 }, { 0x00000000, 0x0000007f, 0x0000007f }, { 0x00000000, 0xfffffffe, 0xfffffffe }, { 0x00000000, 0x00000003, 0xffff8003 }, { 0x00000000, 0x00000002, 0xffff8002 }, { 0x00000000, 0x0000007f, 0x0000007f }, { 0x00000000, 0x00000002, 0x00000002 }, { 0x00000000, 0x00000001, 0xffff8001 }, { 0x00000000, 0x00000001, 0x00000001 }, { 0x00000000, 0x00000002, 0xffff8002 }, { 0x00000000, 0xffffffff, 0x7fffffff }, { 0x00000000, 0x00000000, 0xffff8000 }, { 0x00000000, 0xfffffffd, 0x00007ffd }, { 0x00000000, 0xffffff81, 0xffffff81 }, { 0x00000000, 0x00000055, 0x55555555 }, { 0x00000000, 0x00000020, 0x00000020 }, { 0x00000000, 0x00000001, 0x00000001 }, { 0x00000000, 0x00000002, 0xffff8002 }, { 0x00000000, 0xfffffffe, 0xfffffffe }, { 0x00000000, 0xfffffffd, 0x00007ffd }, { 0x00000000, 0xfffffffd, 0xfffffffd }, { 0x00000000, 0xffffff80, 0xffffff80 }, { 0x00000000, 0xffffff80, 0xffffff80 }, { 0x00000000, 0x00000002, 0xffff8002 }, { 0x00000000, 0x00000002, 0xffff8002 }, { 0x00000000, 0xfffffffe, 0x00007ffe }, { 0x00000000, 0x00000001, 0xffff8001 }, { 0x00000000, 0xffffff80, 0xffffff80 }, { 0x00000000, 0x00000000, 0x80000000 }, { 0x00000000, 0xfffffffe, 0x00007ffe }, { 0x00000000, 0x00000000, 0xffff8000 }, { 0x00000000, 0xffffffff, 0x00007fff }, { 0x00000000, 0x0000007d, 0x0000007d }, { 0x00000000, 0x00000000, 0x00000000 }, { 0x00000000, 0x00000055, 0x55555555 }, { 0x00000000, 0x00000000, 0x80000000 }, { 0x00000000, 0xffffff80, 0xffffff80 }, { 0x00000000, 0x00000003, 0xffff8003 }, { 0x00000000, 0x00000001, 0x80000001 }, { 0x00000000, 0x00000001, 0xffff8001 }, { 0x00000000, 0x00000002, 0x00000002 }, { 0x00000000, 0xffffff81, 0xffffff81 }, { 0x00000000, 0x00000001, 0xffff8001 }, { 0x00000000, 0xfffffffe, 0xfffffffe }, { 0x00000000, 0xfffffffd, 0xfffffffd }, { 0x00000000, 0xffffffff, 0xffffffff }, { 0x00000000, 0x00000000, 0x80000000 }, { 0x00000000, 0x00000001, 0x80000001 }, { 0x00000000, 0xfffffffd, 0x7ffffffd }, { 0x00000000, 0x00000000, 0x00000000 }, { 0x00000000, 0x00000001, 0x00000001 }, { 0x00000000, 0xffffffff, 0x7fffffff }, { 0x00000000, 0xffffffff, 0xffffffff }, { 0x00000000, 0xffffffff, 0x00007fff }, { 0x00000000, 0xffffffff, 0x00007fff }, { 0x00000000, 0x00000055, 0x55555555 }, { 0x00000000, 0x00000033, 0x33333333 }, { 0x00000000, 0xfffffffd, 0xfffffffd }, { 0x00000000, 0x00000001, 0x00000001 }, { 0x00000000, 0xffffffe0, 0xffffffe0 }, { 0x00000000, 0xffffffaa, 0xaaaaaaaa }, { 0x00000000, 0x00000033, 0x33333333 }, { 0x00000000, 0x00000003, 0xffff8003 }, { 0x00000000, 0xffffffff, 0x7fffffff }, { 0x00000000, 0xffffff83, 0xffffff83 }, { 0x00000000, 0x00000000, 0xffff8000 }, { 0x00000000, 0x00000055, 0x55555555 }, { 0x00000000, 0xffffff81, 0xffffff81 }, { 0x00000000, 0xfffffffe, 0xfffffffe }, { 0x00000000, 0xffffffff, 0x7fffffff }, { 0x00000000, 0xffffffff, 0x7fffffff }, { 0x00000000, 0x00000003, 0xffff8003 }, { 0x00000000, 0xffffffff, 0xffffffff }, { 0x00000000, 0xfffffffd, 0x00007ffd }, { 0x00000000, 0xffffffff, 0x00007fff }, { 0x00000000, 0xffffffff, 0xffffffff }, { 0x00000000, 0x00000003, 0xffff8003 }, { 0x00000000, 0xfffffffd, 0xfffffffd }, { 0x00000000, 0x00000000, 0x80000000 }, { 0x00000000, 0x00000020, 0x00000020 }, { 0x00000000, 0x00000002, 0x00000002 }, { 0x00000000, 0x00000002, 0x00000002 }, { 0x00000000, 0xffffffff, 0x00007fff }, { 0x00000000, 0x00000001, 0x00000001 }, { 0x00000000, 0xffffffff, 0x00007fff }, { 0x00000000, 0x00000020, 0x00000020 }, { 0x00000000, 0xffffffe0, 0xffffffe0 }, { 0x00000000, 0xffffffaa, 0xaaaaaaaa }, { 0x00000000, 0x00000001, 0xffff8001 }, { 0x00000000, 0x00000001, 0x80000001 }, { 0x00000000, 0x00000000, 0xffff8000 }, { 0x00000000, 0x00000001, 0xffff8001 }, { 0x00000000, 0x00000000, 0x00000000 }, { 0x00000000, 0x00000033, 0x33333333 }, { 0x00000000, 0xffffff80, 0xffffff80 }, { 0x00000000, 0x00000055, 0x55555555 }, { 0x00000000, 0xffffffff, 0xffffffff }, }; const Inputs kOutputs_Sxtb_RdIsNotRn_al_r7_r4_ROR_0[] = { { 0x00000000, 0xffffffcc, 0xcccccccc }, { 0x00000000, 0xfffffffe, 0x00007ffe }, { 0x00000000, 0x00000020, 0x00000020 }, { 0x00000000, 0xffffffaa, 0xaaaaaaaa }, { 0x00000000, 0xffffff82, 0xffffff82 }, { 0x00000000, 0xfffffffe, 0x7ffffffe }, { 0x00000000, 0xfffffffe, 0x00007ffe }, { 0x00000000, 0x00000000, 0x80000000 }, { 0x00000000, 0x00000033, 0x33333333 }, { 0x00000000, 0xfffffffe, 0x7ffffffe }, { 0x00000000, 0xffffffcc, 0xcccccccc }, { 0x00000000, 0x00000055, 0x55555555 }, { 0x00000000, 0xffffffff, 0xffffffff }, { 0x00000000, 0x00000002, 0xffff8002 }, { 0x00000000, 0xfffffffd, 0x7ffffffd }, { 0x00000000, 0x0000007e, 0x0000007e }, { 0x00000000, 0x00000001, 0xffff8001 }, { 0x00000000, 0xfffffffd, 0x00007ffd }, { 0x00000000, 0x00000002, 0x00000002 }, { 0x00000000, 0x00000055, 0x55555555 }, { 0x00000000, 0xffffff80, 0xffffff80 }, { 0x00000000, 0x00000000, 0xffff8000 }, { 0x00000000, 0xfffffffe, 0x7ffffffe }, { 0x00000000, 0x00000000, 0x00000000 }, { 0x00000000, 0x0000007e, 0x0000007e }, { 0x00000000, 0xffffffff, 0xffffffff }, { 0x00000000, 0x00000001, 0x80000001 }, { 0x00000000, 0x0000007f, 0x0000007f }, { 0x00000000, 0xffffffcc, 0xcccccccc }, { 0x00000000, 0xfffffffe, 0x00007ffe }, { 0x00000000, 0x0000007e, 0x0000007e }, { 0x00000000, 0xffffffcc, 0xcccccccc }, { 0x00000000, 0x00000002, 0xffff8002 }, { 0x00000000, 0xfffffffe, 0x7ffffffe }, { 0x00000000, 0x00000001, 0x00000001 }, { 0x00000000, 0x00000020, 0x00000020 }, { 0x00000000, 0x00000001, 0xffff8001 }, { 0x00000000, 0xfffffffe, 0xfffffffe }, { 0x00000000, 0x00000055, 0x55555555 }, { 0x00000000, 0xffffff83, 0xffffff83 }, { 0x00000000, 0x00000001, 0xffff8001 }, { 0x00000000, 0x00000000, 0xffff8000 }, { 0x00000000, 0x00000002, 0x00000002 }, { 0x00000000, 0x00000000, 0xffff8000 }, { 0x00000000, 0xffffff81, 0xffffff81 }, { 0x00000000, 0x00000000, 0x00000000 }, { 0x00000000, 0xffffff81, 0xffffff81 }, { 0x00000000, 0xffffff82, 0xffffff82 }, { 0x00000000, 0x00000003, 0xffff8003 }, { 0x00000000, 0xfffffffd, 0x7ffffffd }, { 0x00000000, 0xfffffffe, 0x00007ffe }, { 0x00000000, 0x0000007d, 0x0000007d }, { 0x00000000, 0xfffffffd, 0x00007ffd }, { 0x00000000, 0xffffff82, 0xffffff82 }, { 0x00000000, 0xfffffffe, 0x7ffffffe }, { 0x00000000, 0xffffff83, 0xffffff83 }, { 0x00000000, 0x00000002, 0x00000002 }, { 0x00000000, 0xffffff82, 0xffffff82 }, { 0x00000000, 0x00000020, 0x00000020 }, { 0x00000000, 0xffffff82, 0xffffff82 }, { 0x00000000, 0xffffff82, 0xffffff82 }, { 0x00000000, 0xffffffaa, 0xaaaaaaaa }, { 0x00000000, 0x00000001, 0x00000001 }, { 0x00000000, 0xffffffe0, 0xffffffe0 }, { 0x00000000, 0xffffff83, 0xffffff83 }, { 0x00000000, 0x00000000, 0x00000000 }, { 0x00000000, 0x00000000, 0xffff8000 }, { 0x00000000, 0xffffffff, 0x7fffffff }, { 0x00000000, 0x00000000, 0x80000000 }, { 0x00000000, 0x00000001, 0x00000001 }, { 0x00000000, 0xffffff82, 0xffffff82 }, { 0x00000000, 0xfffffffe, 0x00007ffe }, { 0x00000000, 0xfffffffd, 0xfffffffd }, { 0x00000000, 0x00000033, 0x33333333 }, { 0x00000000, 0x00000000, 0x80000000 }, { 0x00000000, 0xffffffff, 0x00007fff }, { 0x00000000, 0xffffffe0, 0xffffffe0 }, { 0x00000000, 0x0000007f, 0x0000007f }, { 0x00000000, 0x00000001, 0xffff8001 }, { 0x00000000, 0x00000001, 0x00000001 }, { 0x00000000, 0xffffffff, 0xffffffff }, { 0x00000000, 0xffffffcc, 0xcccccccc }, { 0x00000000, 0xfffffffe, 0x7ffffffe }, { 0x00000000, 0x00000000, 0x00000000 }, { 0x00000000, 0xffffffcc, 0xcccccccc }, { 0x00000000, 0xffffff83, 0xffffff83 }, { 0x00000000, 0xffffffe0, 0xffffffe0 }, { 0x00000000, 0xffffffff, 0x00007fff }, { 0x00000000, 0x00000002, 0x00000002 }, { 0x00000000, 0xffffffcc, 0xcccccccc }, { 0x00000000, 0xffffff80, 0xffffff80 }, { 0x00000000, 0x00000020, 0x00000020 }, { 0x00000000, 0xfffffffe, 0xfffffffe }, { 0x00000000, 0xffffff81, 0xffffff81 }, { 0x00000000, 0x0000007f, 0x0000007f }, { 0x00000000, 0xfffffffd, 0x7ffffffd }, { 0x00000000, 0xfffffffe, 0xfffffffe }, { 0x00000000, 0x00000002, 0xffff8002 }, { 0x00000000, 0xffffffff, 0xffffffff }, { 0x00000000, 0xffffff80, 0xffffff80 }, { 0x00000000, 0xffffffff, 0x00007fff }, { 0x00000000, 0x00000001, 0xffff8001 }, { 0x00000000, 0x00000002, 0xffff8002 }, { 0x00000000, 0xffffff83, 0xffffff83 }, { 0x00000000, 0x0000007f, 0x0000007f }, { 0x00000000, 0xfffffffe, 0xfffffffe }, { 0x00000000, 0x00000003, 0xffff8003 }, { 0x00000000, 0x00000002, 0xffff8002 }, { 0x00000000, 0x0000007f, 0x0000007f }, { 0x00000000, 0x00000002, 0x00000002 }, { 0x00000000, 0x00000001, 0xffff8001 }, { 0x00000000, 0x00000001, 0x00000001 }, { 0x00000000, 0x00000002, 0xffff8002 }, { 0x00000000, 0xffffffff, 0x7fffffff }, { 0x00000000, 0x00000000, 0xffff8000 }, { 0x00000000, 0xfffffffd, 0x00007ffd }, { 0x00000000, 0xffffff81, 0xffffff81 }, { 0x00000000, 0x00000055, 0x55555555 }, { 0x00000000, 0x00000020, 0x00000020 }, { 0x00000000, 0x00000001, 0x00000001 }, { 0x00000000, 0x00000002, 0xffff8002 }, { 0x00000000, 0xfffffffe, 0xfffffffe }, { 0x00000000, 0xfffffffd, 0x00007ffd }, { 0x00000000, 0xfffffffd, 0xfffffffd }, { 0x00000000, 0xffffff80, 0xffffff80 }, { 0x00000000, 0xffffff80, 0xffffff80 }, { 0x00000000, 0x00000002, 0xffff8002 }, { 0x00000000, 0x00000002, 0xffff8002 }, { 0x00000000, 0xfffffffe, 0x00007ffe }, { 0x00000000, 0x00000001, 0xffff8001 }, { 0x00000000, 0xffffff80, 0xffffff80 }, { 0x00000000, 0x00000000, 0x80000000 }, { 0x00000000, 0xfffffffe, 0x00007ffe }, { 0x00000000, 0x00000000, 0xffff8000 }, { 0x00000000, 0xffffffff, 0x00007fff }, { 0x00000000, 0x0000007d, 0x0000007d }, { 0x00000000, 0x00000000, 0x00000000 }, { 0x00000000, 0x00000055, 0x55555555 }, { 0x00000000, 0x00000000, 0x80000000 }, { 0x00000000, 0xffffff80, 0xffffff80 }, { 0x00000000, 0x00000003, 0xffff8003 }, { 0x00000000, 0x00000001, 0x80000001 }, { 0x00000000, 0x00000001, 0xffff8001 }, { 0x00000000, 0x00000002, 0x00000002 }, { 0x00000000, 0xffffff81, 0xffffff81 }, { 0x00000000, 0x00000001, 0xffff8001 }, { 0x00000000, 0xfffffffe, 0xfffffffe }, { 0x00000000, 0xfffffffd, 0xfffffffd }, { 0x00000000, 0xffffffff, 0xffffffff }, { 0x00000000, 0x00000000, 0x80000000 }, { 0x00000000, 0x00000001, 0x80000001 }, { 0x00000000, 0xfffffffd, 0x7ffffffd }, { 0x00000000, 0x00000000, 0x00000000 }, { 0x00000000, 0x00000001, 0x00000001 }, { 0x00000000, 0xffffffff, 0x7fffffff }, { 0x00000000, 0xffffffff, 0xffffffff }, { 0x00000000, 0xffffffff, 0x00007fff }, { 0x00000000, 0xffffffff, 0x00007fff }, { 0x00000000, 0x00000055, 0x55555555 }, { 0x00000000, 0x00000033, 0x33333333 }, { 0x00000000, 0xfffffffd, 0xfffffffd }, { 0x00000000, 0x00000001, 0x00000001 }, { 0x00000000, 0xffffffe0, 0xffffffe0 }, { 0x00000000, 0xffffffaa, 0xaaaaaaaa }, { 0x00000000, 0x00000033, 0x33333333 }, { 0x00000000, 0x00000003, 0xffff8003 }, { 0x00000000, 0xffffffff, 0x7fffffff }, { 0x00000000, 0xffffff83, 0xffffff83 }, { 0x00000000, 0x00000000, 0xffff8000 }, { 0x00000000, 0x00000055, 0x55555555 }, { 0x00000000, 0xffffff81, 0xffffff81 }, { 0x00000000, 0xfffffffe, 0xfffffffe }, { 0x00000000, 0xffffffff, 0x7fffffff }, { 0x00000000, 0xffffffff, 0x7fffffff }, { 0x00000000, 0x00000003, 0xffff8003 }, { 0x00000000, 0xffffffff, 0xffffffff }, { 0x00000000, 0xfffffffd, 0x00007ffd }, { 0x00000000, 0xffffffff, 0x00007fff }, { 0x00000000, 0xffffffff, 0xffffffff }, { 0x00000000, 0x00000003, 0xffff8003 }, { 0x00000000, 0xfffffffd, 0xfffffffd }, { 0x00000000, 0x00000000, 0x80000000 }, { 0x00000000, 0x00000020, 0x00000020 }, { 0x00000000, 0x00000002, 0x00000002 }, { 0x00000000, 0x00000002, 0x00000002 }, { 0x00000000, 0xffffffff, 0x00007fff }, { 0x00000000, 0x00000001, 0x00000001 }, { 0x00000000, 0xffffffff, 0x00007fff }, { 0x00000000, 0x00000020, 0x00000020 }, { 0x00000000, 0xffffffe0, 0xffffffe0 }, { 0x00000000, 0xffffffaa, 0xaaaaaaaa }, { 0x00000000, 0x00000001, 0xffff8001 }, { 0x00000000, 0x00000001, 0x80000001 }, { 0x00000000, 0x00000000, 0xffff8000 }, { 0x00000000, 0x00000001, 0xffff8001 }, { 0x00000000, 0x00000000, 0x00000000 }, { 0x00000000, 0x00000033, 0x33333333 }, { 0x00000000, 0xffffff80, 0xffffff80 }, { 0x00000000, 0x00000055, 0x55555555 }, { 0x00000000, 0xffffffff, 0xffffffff }, }; const Inputs kOutputs_Sxtb_RdIsNotRn_al_r14_r10_ROR_0[] = { { 0x00000000, 0xffffffcc, 0xcccccccc }, { 0x00000000, 0xfffffffe, 0x00007ffe }, { 0x00000000, 0x00000020, 0x00000020 }, { 0x00000000, 0xffffffaa, 0xaaaaaaaa }, { 0x00000000, 0xffffff82, 0xffffff82 }, { 0x00000000, 0xfffffffe, 0x7ffffffe }, { 0x00000000, 0xfffffffe, 0x00007ffe }, { 0x00000000, 0x00000000, 0x80000000 }, { 0x00000000, 0x00000033, 0x33333333 }, { 0x00000000, 0xfffffffe, 0x7ffffffe }, { 0x00000000, 0xffffffcc, 0xcccccccc }, { 0x00000000, 0x00000055, 0x55555555 }, { 0x00000000, 0xffffffff, 0xffffffff }, { 0x00000000, 0x00000002, 0xffff8002 }, { 0x00000000, 0xfffffffd, 0x7ffffffd }, { 0x00000000, 0x0000007e, 0x0000007e }, { 0x00000000, 0x00000001, 0xffff8001 }, { 0x00000000, 0xfffffffd, 0x00007ffd }, { 0x00000000, 0x00000002, 0x00000002 }, { 0x00000000, 0x00000055, 0x55555555 }, { 0x00000000, 0xffffff80, 0xffffff80 }, { 0x00000000, 0x00000000, 0xffff8000 }, { 0x00000000, 0xfffffffe, 0x7ffffffe }, { 0x00000000, 0x00000000, 0x00000000 }, { 0x00000000, 0x0000007e, 0x0000007e }, { 0x00000000, 0xffffffff, 0xffffffff }, { 0x00000000, 0x00000001, 0x80000001 }, { 0x00000000, 0x0000007f, 0x0000007f }, { 0x00000000, 0xffffffcc, 0xcccccccc }, { 0x00000000, 0xfffffffe, 0x00007ffe }, { 0x00000000, 0x0000007e, 0x0000007e }, { 0x00000000, 0xffffffcc, 0xcccccccc }, { 0x00000000, 0x00000002, 0xffff8002 }, { 0x00000000, 0xfffffffe, 0x7ffffffe }, { 0x00000000, 0x00000001, 0x00000001 }, { 0x00000000, 0x00000020, 0x00000020 }, { 0x00000000, 0x00000001, 0xffff8001 }, { 0x00000000, 0xfffffffe, 0xfffffffe }, { 0x00000000, 0x00000055, 0x55555555 }, { 0x00000000, 0xffffff83, 0xffffff83 }, { 0x00000000, 0x00000001, 0xffff8001 }, { 0x00000000, 0x00000000, 0xffff8000 }, { 0x00000000, 0x00000002, 0x00000002 }, { 0x00000000, 0x00000000, 0xffff8000 }, { 0x00000000, 0xffffff81, 0xffffff81 }, { 0x00000000, 0x00000000, 0x00000000 }, { 0x00000000, 0xffffff81, 0xffffff81 }, { 0x00000000, 0xffffff82, 0xffffff82 }, { 0x00000000, 0x00000003, 0xffff8003 }, { 0x00000000, 0xfffffffd, 0x7ffffffd }, { 0x00000000, 0xfffffffe, 0x00007ffe }, { 0x00000000, 0x0000007d, 0x0000007d }, { 0x00000000, 0xfffffffd, 0x00007ffd }, { 0x00000000, 0xffffff82, 0xffffff82 }, { 0x00000000, 0xfffffffe, 0x7ffffffe }, { 0x00000000, 0xffffff83, 0xffffff83 }, { 0x00000000, 0x00000002, 0x00000002 }, { 0x00000000, 0xffffff82, 0xffffff82 }, { 0x00000000, 0x00000020, 0x00000020 }, { 0x00000000, 0xffffff82, 0xffffff82 }, { 0x00000000, 0xffffff82, 0xffffff82 }, { 0x00000000, 0xffffffaa, 0xaaaaaaaa }, { 0x00000000, 0x00000001, 0x00000001 }, { 0x00000000, 0xffffffe0, 0xffffffe0 }, { 0x00000000, 0xffffff83, 0xffffff83 }, { 0x00000000, 0x00000000, 0x00000000 }, { 0x00000000, 0x00000000, 0xffff8000 }, { 0x00000000, 0xffffffff, 0x7fffffff }, { 0x00000000, 0x00000000, 0x80000000 }, { 0x00000000, 0x00000001, 0x00000001 }, { 0x00000000, 0xffffff82, 0xffffff82 }, { 0x00000000, 0xfffffffe, 0x00007ffe }, { 0x00000000, 0xfffffffd, 0xfffffffd }, { 0x00000000, 0x00000033, 0x33333333 }, { 0x00000000, 0x00000000, 0x80000000 }, { 0x00000000, 0xffffffff, 0x00007fff }, { 0x00000000, 0xffffffe0, 0xffffffe0 }, { 0x00000000, 0x0000007f, 0x0000007f }, { 0x00000000, 0x00000001, 0xffff8001 }, { 0x00000000, 0x00000001, 0x00000001 }, { 0x00000000, 0xffffffff, 0xffffffff }, { 0x00000000, 0xffffffcc, 0xcccccccc }, { 0x00000000, 0xfffffffe, 0x7ffffffe }, { 0x00000000, 0x00000000, 0x00000000 }, { 0x00000000, 0xffffffcc, 0xcccccccc }, { 0x00000000, 0xffffff83, 0xffffff83 }, { 0x00000000, 0xffffffe0, 0xffffffe0 }, { 0x00000000, 0xffffffff, 0x00007fff }, { 0x00000000, 0x00000002, 0x00000002 }, { 0x00000000, 0xffffffcc, 0xcccccccc }, { 0x00000000, 0xffffff80, 0xffffff80 }, { 0x00000000, 0x00000020, 0x00000020 }, { 0x00000000, 0xfffffffe, 0xfffffffe }, { 0x00000000, 0xffffff81, 0xffffff81 }, { 0x00000000, 0x0000007f, 0x0000007f }, { 0x00000000, 0xfffffffd, 0x7ffffffd }, { 0x00000000, 0xfffffffe, 0xfffffffe }, { 0x00000000, 0x00000002, 0xffff8002 }, { 0x00000000, 0xffffffff, 0xffffffff }, { 0x00000000, 0xffffff80, 0xffffff80 }, { 0x00000000, 0xffffffff, 0x00007fff }, { 0x00000000, 0x00000001, 0xffff8001 }, { 0x00000000, 0x00000002, 0xffff8002 }, { 0x00000000, 0xffffff83, 0xffffff83 }, { 0x00000000, 0x0000007f, 0x0000007f }, { 0x00000000, 0xfffffffe, 0xfffffffe }, { 0x00000000, 0x00000003, 0xffff8003 }, { 0x00000000, 0x00000002, 0xffff8002 }, { 0x00000000, 0x0000007f, 0x0000007f }, { 0x00000000, 0x00000002, 0x00000002 }, { 0x00000000, 0x00000001, 0xffff8001 }, { 0x00000000, 0x00000001, 0x00000001 }, { 0x00000000, 0x00000002, 0xffff8002 }, { 0x00000000, 0xffffffff, 0x7fffffff }, { 0x00000000, 0x00000000, 0xffff8000 }, { 0x00000000, 0xfffffffd, 0x00007ffd }, { 0x00000000, 0xffffff81, 0xffffff81 }, { 0x00000000, 0x00000055, 0x55555555 }, { 0x00000000, 0x00000020, 0x00000020 }, { 0x00000000, 0x00000001, 0x00000001 }, { 0x00000000, 0x00000002, 0xffff8002 }, { 0x00000000, 0xfffffffe, 0xfffffffe }, { 0x00000000, 0xfffffffd, 0x00007ffd }, { 0x00000000, 0xfffffffd, 0xfffffffd }, { 0x00000000, 0xffffff80, 0xffffff80 }, { 0x00000000, 0xffffff80, 0xffffff80 }, { 0x00000000, 0x00000002, 0xffff8002 }, { 0x00000000, 0x00000002, 0xffff8002 }, { 0x00000000, 0xfffffffe, 0x00007ffe }, { 0x00000000, 0x00000001, 0xffff8001 }, { 0x00000000, 0xffffff80, 0xffffff80 }, { 0x00000000, 0x00000000, 0x80000000 }, { 0x00000000, 0xfffffffe, 0x00007ffe }, { 0x00000000, 0x00000000, 0xffff8000 }, { 0x00000000, 0xffffffff, 0x00007fff }, { 0x00000000, 0x0000007d, 0x0000007d }, { 0x00000000, 0x00000000, 0x00000000 }, { 0x00000000, 0x00000055, 0x55555555 }, { 0x00000000, 0x00000000, 0x80000000 }, { 0x00000000, 0xffffff80, 0xffffff80 }, { 0x00000000, 0x00000003, 0xffff8003 }, { 0x00000000, 0x00000001, 0x80000001 }, { 0x00000000, 0x00000001, 0xffff8001 }, { 0x00000000, 0x00000002, 0x00000002 }, { 0x00000000, 0xffffff81, 0xffffff81 }, { 0x00000000, 0x00000001, 0xffff8001 }, { 0x00000000, 0xfffffffe, 0xfffffffe }, { 0x00000000, 0xfffffffd, 0xfffffffd }, { 0x00000000, 0xffffffff, 0xffffffff }, { 0x00000000, 0x00000000, 0x80000000 }, { 0x00000000, 0x00000001, 0x80000001 }, { 0x00000000, 0xfffffffd, 0x7ffffffd }, { 0x00000000, 0x00000000, 0x00000000 }, { 0x00000000, 0x00000001, 0x00000001 }, { 0x00000000, 0xffffffff, 0x7fffffff }, { 0x00000000, 0xffffffff, 0xffffffff }, { 0x00000000, 0xffffffff, 0x00007fff }, { 0x00000000, 0xffffffff, 0x00007fff }, { 0x00000000, 0x00000055, 0x55555555 }, { 0x00000000, 0x00000033, 0x33333333 }, { 0x00000000, 0xfffffffd, 0xfffffffd }, { 0x00000000, 0x00000001, 0x00000001 }, { 0x00000000, 0xffffffe0, 0xffffffe0 }, { 0x00000000, 0xffffffaa, 0xaaaaaaaa }, { 0x00000000, 0x00000033, 0x33333333 }, { 0x00000000, 0x00000003, 0xffff8003 }, { 0x00000000, 0xffffffff, 0x7fffffff }, { 0x00000000, 0xffffff83, 0xffffff83 }, { 0x00000000, 0x00000000, 0xffff8000 }, { 0x00000000, 0x00000055, 0x55555555 }, { 0x00000000, 0xffffff81, 0xffffff81 }, { 0x00000000, 0xfffffffe, 0xfffffffe }, { 0x00000000, 0xffffffff, 0x7fffffff }, { 0x00000000, 0xffffffff, 0x7fffffff }, { 0x00000000, 0x00000003, 0xffff8003 }, { 0x00000000, 0xffffffff, 0xffffffff }, { 0x00000000, 0xfffffffd, 0x00007ffd }, { 0x00000000, 0xffffffff, 0x00007fff }, { 0x00000000, 0xffffffff, 0xffffffff }, { 0x00000000, 0x00000003, 0xffff8003 }, { 0x00000000, 0xfffffffd, 0xfffffffd }, { 0x00000000, 0x00000000, 0x80000000 }, { 0x00000000, 0x00000020, 0x00000020 }, { 0x00000000, 0x00000002, 0x00000002 }, { 0x00000000, 0x00000002, 0x00000002 }, { 0x00000000, 0xffffffff, 0x00007fff }, { 0x00000000, 0x00000001, 0x00000001 }, { 0x00000000, 0xffffffff, 0x00007fff }, { 0x00000000, 0x00000020, 0x00000020 }, { 0x00000000, 0xffffffe0, 0xffffffe0 }, { 0x00000000, 0xffffffaa, 0xaaaaaaaa }, { 0x00000000, 0x00000001, 0xffff8001 }, { 0x00000000, 0x00000001, 0x80000001 }, { 0x00000000, 0x00000000, 0xffff8000 }, { 0x00000000, 0x00000001, 0xffff8001 }, { 0x00000000, 0x00000000, 0x00000000 }, { 0x00000000, 0x00000033, 0x33333333 }, { 0x00000000, 0xffffff80, 0xffffff80 }, { 0x00000000, 0x00000055, 0x55555555 }, { 0x00000000, 0xffffffff, 0xffffffff }, }; const Inputs kOutputs_Sxtb_RdIsNotRn_al_r10_r6_ROR_0[] = { { 0x00000000, 0xffffffcc, 0xcccccccc }, { 0x00000000, 0xfffffffe, 0x00007ffe }, { 0x00000000, 0x00000020, 0x00000020 }, { 0x00000000, 0xffffffaa, 0xaaaaaaaa }, { 0x00000000, 0xffffff82, 0xffffff82 }, { 0x00000000, 0xfffffffe, 0x7ffffffe }, { 0x00000000, 0xfffffffe, 0x00007ffe }, { 0x00000000, 0x00000000, 0x80000000 }, { 0x00000000, 0x00000033, 0x33333333 }, { 0x00000000, 0xfffffffe, 0x7ffffffe }, { 0x00000000, 0xffffffcc, 0xcccccccc }, { 0x00000000, 0x00000055, 0x55555555 }, { 0x00000000, 0xffffffff, 0xffffffff }, { 0x00000000, 0x00000002, 0xffff8002 }, { 0x00000000, 0xfffffffd, 0x7ffffffd }, { 0x00000000, 0x0000007e, 0x0000007e }, { 0x00000000, 0x00000001, 0xffff8001 }, { 0x00000000, 0xfffffffd, 0x00007ffd }, { 0x00000000, 0x00000002, 0x00000002 }, { 0x00000000, 0x00000055, 0x55555555 }, { 0x00000000, 0xffffff80, 0xffffff80 }, { 0x00000000, 0x00000000, 0xffff8000 }, { 0x00000000, 0xfffffffe, 0x7ffffffe }, { 0x00000000, 0x00000000, 0x00000000 }, { 0x00000000, 0x0000007e, 0x0000007e }, { 0x00000000, 0xffffffff, 0xffffffff }, { 0x00000000, 0x00000001, 0x80000001 }, { 0x00000000, 0x0000007f, 0x0000007f }, { 0x00000000, 0xffffffcc, 0xcccccccc }, { 0x00000000, 0xfffffffe, 0x00007ffe }, { 0x00000000, 0x0000007e, 0x0000007e }, { 0x00000000, 0xffffffcc, 0xcccccccc }, { 0x00000000, 0x00000002, 0xffff8002 }, { 0x00000000, 0xfffffffe, 0x7ffffffe }, { 0x00000000, 0x00000001, 0x00000001 }, { 0x00000000, 0x00000020, 0x00000020 }, { 0x00000000, 0x00000001, 0xffff8001 }, { 0x00000000, 0xfffffffe, 0xfffffffe }, { 0x00000000, 0x00000055, 0x55555555 }, { 0x00000000, 0xffffff83, 0xffffff83 }, { 0x00000000, 0x00000001, 0xffff8001 }, { 0x00000000, 0x00000000, 0xffff8000 }, { 0x00000000, 0x00000002, 0x00000002 }, { 0x00000000, 0x00000000, 0xffff8000 }, { 0x00000000, 0xffffff81, 0xffffff81 }, { 0x00000000, 0x00000000, 0x00000000 }, { 0x00000000, 0xffffff81, 0xffffff81 }, { 0x00000000, 0xffffff82, 0xffffff82 }, { 0x00000000, 0x00000003, 0xffff8003 }, { 0x00000000, 0xfffffffd, 0x7ffffffd }, { 0x00000000, 0xfffffffe, 0x00007ffe }, { 0x00000000, 0x0000007d, 0x0000007d }, { 0x00000000, 0xfffffffd, 0x00007ffd }, { 0x00000000, 0xffffff82, 0xffffff82 }, { 0x00000000, 0xfffffffe, 0x7ffffffe }, { 0x00000000, 0xffffff83, 0xffffff83 }, { 0x00000000, 0x00000002, 0x00000002 }, { 0x00000000, 0xffffff82, 0xffffff82 }, { 0x00000000, 0x00000020, 0x00000020 }, { 0x00000000, 0xffffff82, 0xffffff82 }, { 0x00000000, 0xffffff82, 0xffffff82 }, { 0x00000000, 0xffffffaa, 0xaaaaaaaa }, { 0x00000000, 0x00000001, 0x00000001 }, { 0x00000000, 0xffffffe0, 0xffffffe0 }, { 0x00000000, 0xffffff83, 0xffffff83 }, { 0x00000000, 0x00000000, 0x00000000 }, { 0x00000000, 0x00000000, 0xffff8000 }, { 0x00000000, 0xffffffff, 0x7fffffff }, { 0x00000000, 0x00000000, 0x80000000 }, { 0x00000000, 0x00000001, 0x00000001 }, { 0x00000000, 0xffffff82, 0xffffff82 }, { 0x00000000, 0xfffffffe, 0x00007ffe }, { 0x00000000, 0xfffffffd, 0xfffffffd }, { 0x00000000, 0x00000033, 0x33333333 }, { 0x00000000, 0x00000000, 0x80000000 }, { 0x00000000, 0xffffffff, 0x00007fff }, { 0x00000000, 0xffffffe0, 0xffffffe0 }, { 0x00000000, 0x0000007f, 0x0000007f }, { 0x00000000, 0x00000001, 0xffff8001 }, { 0x00000000, 0x00000001, 0x00000001 }, { 0x00000000, 0xffffffff, 0xffffffff }, { 0x00000000, 0xffffffcc, 0xcccccccc }, { 0x00000000, 0xfffffffe, 0x7ffffffe }, { 0x00000000, 0x00000000, 0x00000000 }, { 0x00000000, 0xffffffcc, 0xcccccccc }, { 0x00000000, 0xffffff83, 0xffffff83 }, { 0x00000000, 0xffffffe0, 0xffffffe0 }, { 0x00000000, 0xffffffff, 0x00007fff }, { 0x00000000, 0x00000002, 0x00000002 }, { 0x00000000, 0xffffffcc, 0xcccccccc }, { 0x00000000, 0xffffff80, 0xffffff80 }, { 0x00000000, 0x00000020, 0x00000020 }, { 0x00000000, 0xfffffffe, 0xfffffffe }, { 0x00000000, 0xffffff81, 0xffffff81 }, { 0x00000000, 0x0000007f, 0x0000007f }, { 0x00000000, 0xfffffffd, 0x7ffffffd }, { 0x00000000, 0xfffffffe, 0xfffffffe }, { 0x00000000, 0x00000002, 0xffff8002 }, { 0x00000000, 0xffffffff, 0xffffffff }, { 0x00000000, 0xffffff80, 0xffffff80 }, { 0x00000000, 0xffffffff, 0x00007fff }, { 0x00000000, 0x00000001, 0xffff8001 }, { 0x00000000, 0x00000002, 0xffff8002 }, { 0x00000000, 0xffffff83, 0xffffff83 }, { 0x00000000, 0x0000007f, 0x0000007f }, { 0x00000000, 0xfffffffe, 0xfffffffe }, { 0x00000000, 0x00000003, 0xffff8003 }, { 0x00000000, 0x00000002, 0xffff8002 }, { 0x00000000, 0x0000007f, 0x0000007f }, { 0x00000000, 0x00000002, 0x00000002 }, { 0x00000000, 0x00000001, 0xffff8001 }, { 0x00000000, 0x00000001, 0x00000001 }, { 0x00000000, 0x00000002, 0xffff8002 }, { 0x00000000, 0xffffffff, 0x7fffffff }, { 0x00000000, 0x00000000, 0xffff8000 }, { 0x00000000, 0xfffffffd, 0x00007ffd }, { 0x00000000, 0xffffff81, 0xffffff81 }, { 0x00000000, 0x00000055, 0x55555555 }, { 0x00000000, 0x00000020, 0x00000020 }, { 0x00000000, 0x00000001, 0x00000001 }, { 0x00000000, 0x00000002, 0xffff8002 }, { 0x00000000, 0xfffffffe, 0xfffffffe }, { 0x00000000, 0xfffffffd, 0x00007ffd }, { 0x00000000, 0xfffffffd, 0xfffffffd }, { 0x00000000, 0xffffff80, 0xffffff80 }, { 0x00000000, 0xffffff80, 0xffffff80 }, { 0x00000000, 0x00000002, 0xffff8002 }, { 0x00000000, 0x00000002, 0xffff8002 }, { 0x00000000, 0xfffffffe, 0x00007ffe }, { 0x00000000, 0x00000001, 0xffff8001 }, { 0x00000000, 0xffffff80, 0xffffff80 }, { 0x00000000, 0x00000000, 0x80000000 }, { 0x00000000, 0xfffffffe, 0x00007ffe }, { 0x00000000, 0x00000000, 0xffff8000 }, { 0x00000000, 0xffffffff, 0x00007fff }, { 0x00000000, 0x0000007d, 0x0000007d }, { 0x00000000, 0x00000000, 0x00000000 }, { 0x00000000, 0x00000055, 0x55555555 }, { 0x00000000, 0x00000000, 0x80000000 }, { 0x00000000, 0xffffff80, 0xffffff80 }, { 0x00000000, 0x00000003, 0xffff8003 }, { 0x00000000, 0x00000001, 0x80000001 }, { 0x00000000, 0x00000001, 0xffff8001 }, { 0x00000000, 0x00000002, 0x00000002 }, { 0x00000000, 0xffffff81, 0xffffff81 }, { 0x00000000, 0x00000001, 0xffff8001 }, { 0x00000000, 0xfffffffe, 0xfffffffe }, { 0x00000000, 0xfffffffd, 0xfffffffd }, { 0x00000000, 0xffffffff, 0xffffffff }, { 0x00000000, 0x00000000, 0x80000000 }, { 0x00000000, 0x00000001, 0x80000001 }, { 0x00000000, 0xfffffffd, 0x7ffffffd }, { 0x00000000, 0x00000000, 0x00000000 }, { 0x00000000, 0x00000001, 0x00000001 }, { 0x00000000, 0xffffffff, 0x7fffffff }, { 0x00000000, 0xffffffff, 0xffffffff }, { 0x00000000, 0xffffffff, 0x00007fff }, { 0x00000000, 0xffffffff, 0x00007fff }, { 0x00000000, 0x00000055, 0x55555555 }, { 0x00000000, 0x00000033, 0x33333333 }, { 0x00000000, 0xfffffffd, 0xfffffffd }, { 0x00000000, 0x00000001, 0x00000001 }, { 0x00000000, 0xffffffe0, 0xffffffe0 }, { 0x00000000, 0xffffffaa, 0xaaaaaaaa }, { 0x00000000, 0x00000033, 0x33333333 }, { 0x00000000, 0x00000003, 0xffff8003 }, { 0x00000000, 0xffffffff, 0x7fffffff }, { 0x00000000, 0xffffff83, 0xffffff83 }, { 0x00000000, 0x00000000, 0xffff8000 }, { 0x00000000, 0x00000055, 0x55555555 }, { 0x00000000, 0xffffff81, 0xffffff81 }, { 0x00000000, 0xfffffffe, 0xfffffffe }, { 0x00000000, 0xffffffff, 0x7fffffff }, { 0x00000000, 0xffffffff, 0x7fffffff }, { 0x00000000, 0x00000003, 0xffff8003 }, { 0x00000000, 0xffffffff, 0xffffffff }, { 0x00000000, 0xfffffffd, 0x00007ffd }, { 0x00000000, 0xffffffff, 0x00007fff }, { 0x00000000, 0xffffffff, 0xffffffff }, { 0x00000000, 0x00000003, 0xffff8003 }, { 0x00000000, 0xfffffffd, 0xfffffffd }, { 0x00000000, 0x00000000, 0x80000000 }, { 0x00000000, 0x00000020, 0x00000020 }, { 0x00000000, 0x00000002, 0x00000002 }, { 0x00000000, 0x00000002, 0x00000002 }, { 0x00000000, 0xffffffff, 0x00007fff }, { 0x00000000, 0x00000001, 0x00000001 }, { 0x00000000, 0xffffffff, 0x00007fff }, { 0x00000000, 0x00000020, 0x00000020 }, { 0x00000000, 0xffffffe0, 0xffffffe0 }, { 0x00000000, 0xffffffaa, 0xaaaaaaaa }, { 0x00000000, 0x00000001, 0xffff8001 }, { 0x00000000, 0x00000001, 0x80000001 }, { 0x00000000, 0x00000000, 0xffff8000 }, { 0x00000000, 0x00000001, 0xffff8001 }, { 0x00000000, 0x00000000, 0x00000000 }, { 0x00000000, 0x00000033, 0x33333333 }, { 0x00000000, 0xffffff80, 0xffffff80 }, { 0x00000000, 0x00000055, 0x55555555 }, { 0x00000000, 0xffffffff, 0xffffffff }, }; const Inputs kOutputs_Sxtb_RdIsNotRn_al_r6_r5_ROR_0[] = { { 0x00000000, 0xffffffcc, 0xcccccccc }, { 0x00000000, 0xfffffffe, 0x00007ffe }, { 0x00000000, 0x00000020, 0x00000020 }, { 0x00000000, 0xffffffaa, 0xaaaaaaaa }, { 0x00000000, 0xffffff82, 0xffffff82 }, { 0x00000000, 0xfffffffe, 0x7ffffffe }, { 0x00000000, 0xfffffffe, 0x00007ffe }, { 0x00000000, 0x00000000, 0x80000000 }, { 0x00000000, 0x00000033, 0x33333333 }, { 0x00000000, 0xfffffffe, 0x7ffffffe }, { 0x00000000, 0xffffffcc, 0xcccccccc }, { 0x00000000, 0x00000055, 0x55555555 }, { 0x00000000, 0xffffffff, 0xffffffff }, { 0x00000000, 0x00000002, 0xffff8002 }, { 0x00000000, 0xfffffffd, 0x7ffffffd }, { 0x00000000, 0x0000007e, 0x0000007e }, { 0x00000000, 0x00000001, 0xffff8001 }, { 0x00000000, 0xfffffffd, 0x00007ffd }, { 0x00000000, 0x00000002, 0x00000002 }, { 0x00000000, 0x00000055, 0x55555555 }, { 0x00000000, 0xffffff80, 0xffffff80 }, { 0x00000000, 0x00000000, 0xffff8000 }, { 0x00000000, 0xfffffffe, 0x7ffffffe }, { 0x00000000, 0x00000000, 0x00000000 }, { 0x00000000, 0x0000007e, 0x0000007e }, { 0x00000000, 0xffffffff, 0xffffffff }, { 0x00000000, 0x00000001, 0x80000001 }, { 0x00000000, 0x0000007f, 0x0000007f }, { 0x00000000, 0xffffffcc, 0xcccccccc }, { 0x00000000, 0xfffffffe, 0x00007ffe }, { 0x00000000, 0x0000007e, 0x0000007e }, { 0x00000000, 0xffffffcc, 0xcccccccc }, { 0x00000000, 0x00000002, 0xffff8002 }, { 0x00000000, 0xfffffffe, 0x7ffffffe }, { 0x00000000, 0x00000001, 0x00000001 }, { 0x00000000, 0x00000020, 0x00000020 }, { 0x00000000, 0x00000001, 0xffff8001 }, { 0x00000000, 0xfffffffe, 0xfffffffe }, { 0x00000000, 0x00000055, 0x55555555 }, { 0x00000000, 0xffffff83, 0xffffff83 }, { 0x00000000, 0x00000001, 0xffff8001 }, { 0x00000000, 0x00000000, 0xffff8000 }, { 0x00000000, 0x00000002, 0x00000002 }, { 0x00000000, 0x00000000, 0xffff8000 }, { 0x00000000, 0xffffff81, 0xffffff81 }, { 0x00000000, 0x00000000, 0x00000000 }, { 0x00000000, 0xffffff81, 0xffffff81 }, { 0x00000000, 0xffffff82, 0xffffff82 }, { 0x00000000, 0x00000003, 0xffff8003 }, { 0x00000000, 0xfffffffd, 0x7ffffffd }, { 0x00000000, 0xfffffffe, 0x00007ffe }, { 0x00000000, 0x0000007d, 0x0000007d }, { 0x00000000, 0xfffffffd, 0x00007ffd }, { 0x00000000, 0xffffff82, 0xffffff82 }, { 0x00000000, 0xfffffffe, 0x7ffffffe }, { 0x00000000, 0xffffff83, 0xffffff83 }, { 0x00000000, 0x00000002, 0x00000002 }, { 0x00000000, 0xffffff82, 0xffffff82 }, { 0x00000000, 0x00000020, 0x00000020 }, { 0x00000000, 0xffffff82, 0xffffff82 }, { 0x00000000, 0xffffff82, 0xffffff82 }, { 0x00000000, 0xffffffaa, 0xaaaaaaaa }, { 0x00000000, 0x00000001, 0x00000001 }, { 0x00000000, 0xffffffe0, 0xffffffe0 }, { 0x00000000, 0xffffff83, 0xffffff83 }, { 0x00000000, 0x00000000, 0x00000000 }, { 0x00000000, 0x00000000, 0xffff8000 }, { 0x00000000, 0xffffffff, 0x7fffffff }, { 0x00000000, 0x00000000, 0x80000000 }, { 0x00000000, 0x00000001, 0x00000001 }, { 0x00000000, 0xffffff82, 0xffffff82 }, { 0x00000000, 0xfffffffe, 0x00007ffe }, { 0x00000000, 0xfffffffd, 0xfffffffd }, { 0x00000000, 0x00000033, 0x33333333 }, { 0x00000000, 0x00000000, 0x80000000 }, { 0x00000000, 0xffffffff, 0x00007fff }, { 0x00000000, 0xffffffe0, 0xffffffe0 }, { 0x00000000, 0x0000007f, 0x0000007f }, { 0x00000000, 0x00000001, 0xffff8001 }, { 0x00000000, 0x00000001, 0x00000001 }, { 0x00000000, 0xffffffff, 0xffffffff }, { 0x00000000, 0xffffffcc, 0xcccccccc }, { 0x00000000, 0xfffffffe, 0x7ffffffe }, { 0x00000000, 0x00000000, 0x00000000 }, { 0x00000000, 0xffffffcc, 0xcccccccc }, { 0x00000000, 0xffffff83, 0xffffff83 }, { 0x00000000, 0xffffffe0, 0xffffffe0 }, { 0x00000000, 0xffffffff, 0x00007fff }, { 0x00000000, 0x00000002, 0x00000002 }, { 0x00000000, 0xffffffcc, 0xcccccccc }, { 0x00000000, 0xffffff80, 0xffffff80 }, { 0x00000000, 0x00000020, 0x00000020 }, { 0x00000000, 0xfffffffe, 0xfffffffe }, { 0x00000000, 0xffffff81, 0xffffff81 }, { 0x00000000, 0x0000007f, 0x0000007f }, { 0x00000000, 0xfffffffd, 0x7ffffffd }, { 0x00000000, 0xfffffffe, 0xfffffffe }, { 0x00000000, 0x00000002, 0xffff8002 }, { 0x00000000, 0xffffffff, 0xffffffff }, { 0x00000000, 0xffffff80, 0xffffff80 }, { 0x00000000, 0xffffffff, 0x00007fff }, { 0x00000000, 0x00000001, 0xffff8001 }, { 0x00000000, 0x00000002, 0xffff8002 }, { 0x00000000, 0xffffff83, 0xffffff83 }, { 0x00000000, 0x0000007f, 0x0000007f }, { 0x00000000, 0xfffffffe, 0xfffffffe }, { 0x00000000, 0x00000003, 0xffff8003 }, { 0x00000000, 0x00000002, 0xffff8002 }, { 0x00000000, 0x0000007f, 0x0000007f }, { 0x00000000, 0x00000002, 0x00000002 }, { 0x00000000, 0x00000001, 0xffff8001 }, { 0x00000000, 0x00000001, 0x00000001 }, { 0x00000000, 0x00000002, 0xffff8002 }, { 0x00000000, 0xffffffff, 0x7fffffff }, { 0x00000000, 0x00000000, 0xffff8000 }, { 0x00000000, 0xfffffffd, 0x00007ffd }, { 0x00000000, 0xffffff81, 0xffffff81 }, { 0x00000000, 0x00000055, 0x55555555 }, { 0x00000000, 0x00000020, 0x00000020 }, { 0x00000000, 0x00000001, 0x00000001 }, { 0x00000000, 0x00000002, 0xffff8002 }, { 0x00000000, 0xfffffffe, 0xfffffffe }, { 0x00000000, 0xfffffffd, 0x00007ffd }, { 0x00000000, 0xfffffffd, 0xfffffffd }, { 0x00000000, 0xffffff80, 0xffffff80 }, { 0x00000000, 0xffffff80, 0xffffff80 }, { 0x00000000, 0x00000002, 0xffff8002 }, { 0x00000000, 0x00000002, 0xffff8002 }, { 0x00000000, 0xfffffffe, 0x00007ffe }, { 0x00000000, 0x00000001, 0xffff8001 }, { 0x00000000, 0xffffff80, 0xffffff80 }, { 0x00000000, 0x00000000, 0x80000000 }, { 0x00000000, 0xfffffffe, 0x00007ffe }, { 0x00000000, 0x00000000, 0xffff8000 }, { 0x00000000, 0xffffffff, 0x00007fff }, { 0x00000000, 0x0000007d, 0x0000007d }, { 0x00000000, 0x00000000, 0x00000000 }, { 0x00000000, 0x00000055, 0x55555555 }, { 0x00000000, 0x00000000, 0x80000000 }, { 0x00000000, 0xffffff80, 0xffffff80 }, { 0x00000000, 0x00000003, 0xffff8003 }, { 0x00000000, 0x00000001, 0x80000001 }, { 0x00000000, 0x00000001, 0xffff8001 }, { 0x00000000, 0x00000002, 0x00000002 }, { 0x00000000, 0xffffff81, 0xffffff81 }, { 0x00000000, 0x00000001, 0xffff8001 }, { 0x00000000, 0xfffffffe, 0xfffffffe }, { 0x00000000, 0xfffffffd, 0xfffffffd }, { 0x00000000, 0xffffffff, 0xffffffff }, { 0x00000000, 0x00000000, 0x80000000 }, { 0x00000000, 0x00000001, 0x80000001 }, { 0x00000000, 0xfffffffd, 0x7ffffffd }, { 0x00000000, 0x00000000, 0x00000000 }, { 0x00000000, 0x00000001, 0x00000001 }, { 0x00000000, 0xffffffff, 0x7fffffff }, { 0x00000000, 0xffffffff, 0xffffffff }, { 0x00000000, 0xffffffff, 0x00007fff }, { 0x00000000, 0xffffffff, 0x00007fff }, { 0x00000000, 0x00000055, 0x55555555 }, { 0x00000000, 0x00000033, 0x33333333 }, { 0x00000000, 0xfffffffd, 0xfffffffd }, { 0x00000000, 0x00000001, 0x00000001 }, { 0x00000000, 0xffffffe0, 0xffffffe0 }, { 0x00000000, 0xffffffaa, 0xaaaaaaaa }, { 0x00000000, 0x00000033, 0x33333333 }, { 0x00000000, 0x00000003, 0xffff8003 }, { 0x00000000, 0xffffffff, 0x7fffffff }, { 0x00000000, 0xffffff83, 0xffffff83 }, { 0x00000000, 0x00000000, 0xffff8000 }, { 0x00000000, 0x00000055, 0x55555555 }, { 0x00000000, 0xffffff81, 0xffffff81 }, { 0x00000000, 0xfffffffe, 0xfffffffe }, { 0x00000000, 0xffffffff, 0x7fffffff }, { 0x00000000, 0xffffffff, 0x7fffffff }, { 0x00000000, 0x00000003, 0xffff8003 }, { 0x00000000, 0xffffffff, 0xffffffff }, { 0x00000000, 0xfffffffd, 0x00007ffd }, { 0x00000000, 0xffffffff, 0x00007fff }, { 0x00000000, 0xffffffff, 0xffffffff }, { 0x00000000, 0x00000003, 0xffff8003 }, { 0x00000000, 0xfffffffd, 0xfffffffd }, { 0x00000000, 0x00000000, 0x80000000 }, { 0x00000000, 0x00000020, 0x00000020 }, { 0x00000000, 0x00000002, 0x00000002 }, { 0x00000000, 0x00000002, 0x00000002 }, { 0x00000000, 0xffffffff, 0x00007fff }, { 0x00000000, 0x00000001, 0x00000001 }, { 0x00000000, 0xffffffff, 0x00007fff }, { 0x00000000, 0x00000020, 0x00000020 }, { 0x00000000, 0xffffffe0, 0xffffffe0 }, { 0x00000000, 0xffffffaa, 0xaaaaaaaa }, { 0x00000000, 0x00000001, 0xffff8001 }, { 0x00000000, 0x00000001, 0x80000001 }, { 0x00000000, 0x00000000, 0xffff8000 }, { 0x00000000, 0x00000001, 0xffff8001 }, { 0x00000000, 0x00000000, 0x00000000 }, { 0x00000000, 0x00000033, 0x33333333 }, { 0x00000000, 0xffffff80, 0xffffff80 }, { 0x00000000, 0x00000055, 0x55555555 }, { 0x00000000, 0xffffffff, 0xffffffff }, }; const Inputs kOutputs_Sxtb_RdIsNotRn_al_r12_r2_ROR_0[] = { { 0x00000000, 0xffffffcc, 0xcccccccc }, { 0x00000000, 0xfffffffe, 0x00007ffe }, { 0x00000000, 0x00000020, 0x00000020 }, { 0x00000000, 0xffffffaa, 0xaaaaaaaa }, { 0x00000000, 0xffffff82, 0xffffff82 }, { 0x00000000, 0xfffffffe, 0x7ffffffe }, { 0x00000000, 0xfffffffe, 0x00007ffe }, { 0x00000000, 0x00000000, 0x80000000 }, { 0x00000000, 0x00000033, 0x33333333 }, { 0x00000000, 0xfffffffe, 0x7ffffffe }, { 0x00000000, 0xffffffcc, 0xcccccccc }, { 0x00000000, 0x00000055, 0x55555555 }, { 0x00000000, 0xffffffff, 0xffffffff }, { 0x00000000, 0x00000002, 0xffff8002 }, { 0x00000000, 0xfffffffd, 0x7ffffffd }, { 0x00000000, 0x0000007e, 0x0000007e }, { 0x00000000, 0x00000001, 0xffff8001 }, { 0x00000000, 0xfffffffd, 0x00007ffd }, { 0x00000000, 0x00000002, 0x00000002 }, { 0x00000000, 0x00000055, 0x55555555 }, { 0x00000000, 0xffffff80, 0xffffff80 }, { 0x00000000, 0x00000000, 0xffff8000 }, { 0x00000000, 0xfffffffe, 0x7ffffffe }, { 0x00000000, 0x00000000, 0x00000000 }, { 0x00000000, 0x0000007e, 0x0000007e }, { 0x00000000, 0xffffffff, 0xffffffff }, { 0x00000000, 0x00000001, 0x80000001 }, { 0x00000000, 0x0000007f, 0x0000007f }, { 0x00000000, 0xffffffcc, 0xcccccccc }, { 0x00000000, 0xfffffffe, 0x00007ffe }, { 0x00000000, 0x0000007e, 0x0000007e }, { 0x00000000, 0xffffffcc, 0xcccccccc }, { 0x00000000, 0x00000002, 0xffff8002 }, { 0x00000000, 0xfffffffe, 0x7ffffffe }, { 0x00000000, 0x00000001, 0x00000001 }, { 0x00000000, 0x00000020, 0x00000020 }, { 0x00000000, 0x00000001, 0xffff8001 }, { 0x00000000, 0xfffffffe, 0xfffffffe }, { 0x00000000, 0x00000055, 0x55555555 }, { 0x00000000, 0xffffff83, 0xffffff83 }, { 0x00000000, 0x00000001, 0xffff8001 }, { 0x00000000, 0x00000000, 0xffff8000 }, { 0x00000000, 0x00000002, 0x00000002 }, { 0x00000000, 0x00000000, 0xffff8000 }, { 0x00000000, 0xffffff81, 0xffffff81 }, { 0x00000000, 0x00000000, 0x00000000 }, { 0x00000000, 0xffffff81, 0xffffff81 }, { 0x00000000, 0xffffff82, 0xffffff82 }, { 0x00000000, 0x00000003, 0xffff8003 }, { 0x00000000, 0xfffffffd, 0x7ffffffd }, { 0x00000000, 0xfffffffe, 0x00007ffe }, { 0x00000000, 0x0000007d, 0x0000007d }, { 0x00000000, 0xfffffffd, 0x00007ffd }, { 0x00000000, 0xffffff82, 0xffffff82 }, { 0x00000000, 0xfffffffe, 0x7ffffffe }, { 0x00000000, 0xffffff83, 0xffffff83 }, { 0x00000000, 0x00000002, 0x00000002 }, { 0x00000000, 0xffffff82, 0xffffff82 }, { 0x00000000, 0x00000020, 0x00000020 }, { 0x00000000, 0xffffff82, 0xffffff82 }, { 0x00000000, 0xffffff82, 0xffffff82 }, { 0x00000000, 0xffffffaa, 0xaaaaaaaa }, { 0x00000000, 0x00000001, 0x00000001 }, { 0x00000000, 0xffffffe0, 0xffffffe0 }, { 0x00000000, 0xffffff83, 0xffffff83 }, { 0x00000000, 0x00000000, 0x00000000 }, { 0x00000000, 0x00000000, 0xffff8000 }, { 0x00000000, 0xffffffff, 0x7fffffff }, { 0x00000000, 0x00000000, 0x80000000 }, { 0x00000000, 0x00000001, 0x00000001 }, { 0x00000000, 0xffffff82, 0xffffff82 }, { 0x00000000, 0xfffffffe, 0x00007ffe }, { 0x00000000, 0xfffffffd, 0xfffffffd }, { 0x00000000, 0x00000033, 0x33333333 }, { 0x00000000, 0x00000000, 0x80000000 }, { 0x00000000, 0xffffffff, 0x00007fff }, { 0x00000000, 0xffffffe0, 0xffffffe0 }, { 0x00000000, 0x0000007f, 0x0000007f }, { 0x00000000, 0x00000001, 0xffff8001 }, { 0x00000000, 0x00000001, 0x00000001 }, { 0x00000000, 0xffffffff, 0xffffffff }, { 0x00000000, 0xffffffcc, 0xcccccccc }, { 0x00000000, 0xfffffffe, 0x7ffffffe }, { 0x00000000, 0x00000000, 0x00000000 }, { 0x00000000, 0xffffffcc, 0xcccccccc }, { 0x00000000, 0xffffff83, 0xffffff83 }, { 0x00000000, 0xffffffe0, 0xffffffe0 }, { 0x00000000, 0xffffffff, 0x00007fff }, { 0x00000000, 0x00000002, 0x00000002 }, { 0x00000000, 0xffffffcc, 0xcccccccc }, { 0x00000000, 0xffffff80, 0xffffff80 }, { 0x00000000, 0x00000020, 0x00000020 }, { 0x00000000, 0xfffffffe, 0xfffffffe }, { 0x00000000, 0xffffff81, 0xffffff81 }, { 0x00000000, 0x0000007f, 0x0000007f }, { 0x00000000, 0xfffffffd, 0x7ffffffd }, { 0x00000000, 0xfffffffe, 0xfffffffe }, { 0x00000000, 0x00000002, 0xffff8002 }, { 0x00000000, 0xffffffff, 0xffffffff }, { 0x00000000, 0xffffff80, 0xffffff80 }, { 0x00000000, 0xffffffff, 0x00007fff }, { 0x00000000, 0x00000001, 0xffff8001 }, { 0x00000000, 0x00000002, 0xffff8002 }, { 0x00000000, 0xffffff83, 0xffffff83 }, { 0x00000000, 0x0000007f, 0x0000007f }, { 0x00000000, 0xfffffffe, 0xfffffffe }, { 0x00000000, 0x00000003, 0xffff8003 }, { 0x00000000, 0x00000002, 0xffff8002 }, { 0x00000000, 0x0000007f, 0x0000007f }, { 0x00000000, 0x00000002, 0x00000002 }, { 0x00000000, 0x00000001, 0xffff8001 }, { 0x00000000, 0x00000001, 0x00000001 }, { 0x00000000, 0x00000002, 0xffff8002 }, { 0x00000000, 0xffffffff, 0x7fffffff }, { 0x00000000, 0x00000000, 0xffff8000 }, { 0x00000000, 0xfffffffd, 0x00007ffd }, { 0x00000000, 0xffffff81, 0xffffff81 }, { 0x00000000, 0x00000055, 0x55555555 }, { 0x00000000, 0x00000020, 0x00000020 }, { 0x00000000, 0x00000001, 0x00000001 }, { 0x00000000, 0x00000002, 0xffff8002 }, { 0x00000000, 0xfffffffe, 0xfffffffe }, { 0x00000000, 0xfffffffd, 0x00007ffd }, { 0x00000000, 0xfffffffd, 0xfffffffd }, { 0x00000000, 0xffffff80, 0xffffff80 }, { 0x00000000, 0xffffff80, 0xffffff80 }, { 0x00000000, 0x00000002, 0xffff8002 }, { 0x00000000, 0x00000002, 0xffff8002 }, { 0x00000000, 0xfffffffe, 0x00007ffe }, { 0x00000000, 0x00000001, 0xffff8001 }, { 0x00000000, 0xffffff80, 0xffffff80 }, { 0x00000000, 0x00000000, 0x80000000 }, { 0x00000000, 0xfffffffe, 0x00007ffe }, { 0x00000000, 0x00000000, 0xffff8000 }, { 0x00000000, 0xffffffff, 0x00007fff }, { 0x00000000, 0x0000007d, 0x0000007d }, { 0x00000000, 0x00000000, 0x00000000 }, { 0x00000000, 0x00000055, 0x55555555 }, { 0x00000000, 0x00000000, 0x80000000 }, { 0x00000000, 0xffffff80, 0xffffff80 }, { 0x00000000, 0x00000003, 0xffff8003 }, { 0x00000000, 0x00000001, 0x80000001 }, { 0x00000000, 0x00000001, 0xffff8001 }, { 0x00000000, 0x00000002, 0x00000002 }, { 0x00000000, 0xffffff81, 0xffffff81 }, { 0x00000000, 0x00000001, 0xffff8001 }, { 0x00000000, 0xfffffffe, 0xfffffffe }, { 0x00000000, 0xfffffffd, 0xfffffffd }, { 0x00000000, 0xffffffff, 0xffffffff }, { 0x00000000, 0x00000000, 0x80000000 }, { 0x00000000, 0x00000001, 0x80000001 }, { 0x00000000, 0xfffffffd, 0x7ffffffd }, { 0x00000000, 0x00000000, 0x00000000 }, { 0x00000000, 0x00000001, 0x00000001 }, { 0x00000000, 0xffffffff, 0x7fffffff }, { 0x00000000, 0xffffffff, 0xffffffff }, { 0x00000000, 0xffffffff, 0x00007fff }, { 0x00000000, 0xffffffff, 0x00007fff }, { 0x00000000, 0x00000055, 0x55555555 }, { 0x00000000, 0x00000033, 0x33333333 }, { 0x00000000, 0xfffffffd, 0xfffffffd }, { 0x00000000, 0x00000001, 0x00000001 }, { 0x00000000, 0xffffffe0, 0xffffffe0 }, { 0x00000000, 0xffffffaa, 0xaaaaaaaa }, { 0x00000000, 0x00000033, 0x33333333 }, { 0x00000000, 0x00000003, 0xffff8003 }, { 0x00000000, 0xffffffff, 0x7fffffff }, { 0x00000000, 0xffffff83, 0xffffff83 }, { 0x00000000, 0x00000000, 0xffff8000 }, { 0x00000000, 0x00000055, 0x55555555 }, { 0x00000000, 0xffffff81, 0xffffff81 }, { 0x00000000, 0xfffffffe, 0xfffffffe }, { 0x00000000, 0xffffffff, 0x7fffffff }, { 0x00000000, 0xffffffff, 0x7fffffff }, { 0x00000000, 0x00000003, 0xffff8003 }, { 0x00000000, 0xffffffff, 0xffffffff }, { 0x00000000, 0xfffffffd, 0x00007ffd }, { 0x00000000, 0xffffffff, 0x00007fff }, { 0x00000000, 0xffffffff, 0xffffffff }, { 0x00000000, 0x00000003, 0xffff8003 }, { 0x00000000, 0xfffffffd, 0xfffffffd }, { 0x00000000, 0x00000000, 0x80000000 }, { 0x00000000, 0x00000020, 0x00000020 }, { 0x00000000, 0x00000002, 0x00000002 }, { 0x00000000, 0x00000002, 0x00000002 }, { 0x00000000, 0xffffffff, 0x00007fff }, { 0x00000000, 0x00000001, 0x00000001 }, { 0x00000000, 0xffffffff, 0x00007fff }, { 0x00000000, 0x00000020, 0x00000020 }, { 0x00000000, 0xffffffe0, 0xffffffe0 }, { 0x00000000, 0xffffffaa, 0xaaaaaaaa }, { 0x00000000, 0x00000001, 0xffff8001 }, { 0x00000000, 0x00000001, 0x80000001 }, { 0x00000000, 0x00000000, 0xffff8000 }, { 0x00000000, 0x00000001, 0xffff8001 }, { 0x00000000, 0x00000000, 0x00000000 }, { 0x00000000, 0x00000033, 0x33333333 }, { 0x00000000, 0xffffff80, 0xffffff80 }, { 0x00000000, 0x00000055, 0x55555555 }, { 0x00000000, 0xffffffff, 0xffffffff }, }; const Inputs kOutputs_Sxtb_RdIsNotRn_al_r0_r11_ROR_0[] = { { 0x00000000, 0xffffffcc, 0xcccccccc }, { 0x00000000, 0xfffffffe, 0x00007ffe }, { 0x00000000, 0x00000020, 0x00000020 }, { 0x00000000, 0xffffffaa, 0xaaaaaaaa }, { 0x00000000, 0xffffff82, 0xffffff82 }, { 0x00000000, 0xfffffffe, 0x7ffffffe }, { 0x00000000, 0xfffffffe, 0x00007ffe }, { 0x00000000, 0x00000000, 0x80000000 }, { 0x00000000, 0x00000033, 0x33333333 }, { 0x00000000, 0xfffffffe, 0x7ffffffe }, { 0x00000000, 0xffffffcc, 0xcccccccc }, { 0x00000000, 0x00000055, 0x55555555 }, { 0x00000000, 0xffffffff, 0xffffffff }, { 0x00000000, 0x00000002, 0xffff8002 }, { 0x00000000, 0xfffffffd, 0x7ffffffd }, { 0x00000000, 0x0000007e, 0x0000007e }, { 0x00000000, 0x00000001, 0xffff8001 }, { 0x00000000, 0xfffffffd, 0x00007ffd }, { 0x00000000, 0x00000002, 0x00000002 }, { 0x00000000, 0x00000055, 0x55555555 }, { 0x00000000, 0xffffff80, 0xffffff80 }, { 0x00000000, 0x00000000, 0xffff8000 }, { 0x00000000, 0xfffffffe, 0x7ffffffe }, { 0x00000000, 0x00000000, 0x00000000 }, { 0x00000000, 0x0000007e, 0x0000007e }, { 0x00000000, 0xffffffff, 0xffffffff }, { 0x00000000, 0x00000001, 0x80000001 }, { 0x00000000, 0x0000007f, 0x0000007f }, { 0x00000000, 0xffffffcc, 0xcccccccc }, { 0x00000000, 0xfffffffe, 0x00007ffe }, { 0x00000000, 0x0000007e, 0x0000007e }, { 0x00000000, 0xffffffcc, 0xcccccccc }, { 0x00000000, 0x00000002, 0xffff8002 }, { 0x00000000, 0xfffffffe, 0x7ffffffe }, { 0x00000000, 0x00000001, 0x00000001 }, { 0x00000000, 0x00000020, 0x00000020 }, { 0x00000000, 0x00000001, 0xffff8001 }, { 0x00000000, 0xfffffffe, 0xfffffffe }, { 0x00000000, 0x00000055, 0x55555555 }, { 0x00000000, 0xffffff83, 0xffffff83 }, { 0x00000000, 0x00000001, 0xffff8001 }, { 0x00000000, 0x00000000, 0xffff8000 }, { 0x00000000, 0x00000002, 0x00000002 }, { 0x00000000, 0x00000000, 0xffff8000 }, { 0x00000000, 0xffffff81, 0xffffff81 }, { 0x00000000, 0x00000000, 0x00000000 }, { 0x00000000, 0xffffff81, 0xffffff81 }, { 0x00000000, 0xffffff82, 0xffffff82 }, { 0x00000000, 0x00000003, 0xffff8003 }, { 0x00000000, 0xfffffffd, 0x7ffffffd }, { 0x00000000, 0xfffffffe, 0x00007ffe }, { 0x00000000, 0x0000007d, 0x0000007d }, { 0x00000000, 0xfffffffd, 0x00007ffd }, { 0x00000000, 0xffffff82, 0xffffff82 }, { 0x00000000, 0xfffffffe, 0x7ffffffe }, { 0x00000000, 0xffffff83, 0xffffff83 }, { 0x00000000, 0x00000002, 0x00000002 }, { 0x00000000, 0xffffff82, 0xffffff82 }, { 0x00000000, 0x00000020, 0x00000020 }, { 0x00000000, 0xffffff82, 0xffffff82 }, { 0x00000000, 0xffffff82, 0xffffff82 }, { 0x00000000, 0xffffffaa, 0xaaaaaaaa }, { 0x00000000, 0x00000001, 0x00000001 }, { 0x00000000, 0xffffffe0, 0xffffffe0 }, { 0x00000000, 0xffffff83, 0xffffff83 }, { 0x00000000, 0x00000000, 0x00000000 }, { 0x00000000, 0x00000000, 0xffff8000 }, { 0x00000000, 0xffffffff, 0x7fffffff }, { 0x00000000, 0x00000000, 0x80000000 }, { 0x00000000, 0x00000001, 0x00000001 }, { 0x00000000, 0xffffff82, 0xffffff82 }, { 0x00000000, 0xfffffffe, 0x00007ffe }, { 0x00000000, 0xfffffffd, 0xfffffffd }, { 0x00000000, 0x00000033, 0x33333333 }, { 0x00000000, 0x00000000, 0x80000000 }, { 0x00000000, 0xffffffff, 0x00007fff }, { 0x00000000, 0xffffffe0, 0xffffffe0 }, { 0x00000000, 0x0000007f, 0x0000007f }, { 0x00000000, 0x00000001, 0xffff8001 }, { 0x00000000, 0x00000001, 0x00000001 }, { 0x00000000, 0xffffffff, 0xffffffff }, { 0x00000000, 0xffffffcc, 0xcccccccc }, { 0x00000000, 0xfffffffe, 0x7ffffffe }, { 0x00000000, 0x00000000, 0x00000000 }, { 0x00000000, 0xffffffcc, 0xcccccccc }, { 0x00000000, 0xffffff83, 0xffffff83 }, { 0x00000000, 0xffffffe0, 0xffffffe0 }, { 0x00000000, 0xffffffff, 0x00007fff }, { 0x00000000, 0x00000002, 0x00000002 }, { 0x00000000, 0xffffffcc, 0xcccccccc }, { 0x00000000, 0xffffff80, 0xffffff80 }, { 0x00000000, 0x00000020, 0x00000020 }, { 0x00000000, 0xfffffffe, 0xfffffffe }, { 0x00000000, 0xffffff81, 0xffffff81 }, { 0x00000000, 0x0000007f, 0x0000007f }, { 0x00000000, 0xfffffffd, 0x7ffffffd }, { 0x00000000, 0xfffffffe, 0xfffffffe }, { 0x00000000, 0x00000002, 0xffff8002 }, { 0x00000000, 0xffffffff, 0xffffffff }, { 0x00000000, 0xffffff80, 0xffffff80 }, { 0x00000000, 0xffffffff, 0x00007fff }, { 0x00000000, 0x00000001, 0xffff8001 }, { 0x00000000, 0x00000002, 0xffff8002 }, { 0x00000000, 0xffffff83, 0xffffff83 }, { 0x00000000, 0x0000007f, 0x0000007f }, { 0x00000000, 0xfffffffe, 0xfffffffe }, { 0x00000000, 0x00000003, 0xffff8003 }, { 0x00000000, 0x00000002, 0xffff8002 }, { 0x00000000, 0x0000007f, 0x0000007f }, { 0x00000000, 0x00000002, 0x00000002 }, { 0x00000000, 0x00000001, 0xffff8001 }, { 0x00000000, 0x00000001, 0x00000001 }, { 0x00000000, 0x00000002, 0xffff8002 }, { 0x00000000, 0xffffffff, 0x7fffffff }, { 0x00000000, 0x00000000, 0xffff8000 }, { 0x00000000, 0xfffffffd, 0x00007ffd }, { 0x00000000, 0xffffff81, 0xffffff81 }, { 0x00000000, 0x00000055, 0x55555555 }, { 0x00000000, 0x00000020, 0x00000020 }, { 0x00000000, 0x00000001, 0x00000001 }, { 0x00000000, 0x00000002, 0xffff8002 }, { 0x00000000, 0xfffffffe, 0xfffffffe }, { 0x00000000, 0xfffffffd, 0x00007ffd }, { 0x00000000, 0xfffffffd, 0xfffffffd }, { 0x00000000, 0xffffff80, 0xffffff80 }, { 0x00000000, 0xffffff80, 0xffffff80 }, { 0x00000000, 0x00000002, 0xffff8002 }, { 0x00000000, 0x00000002, 0xffff8002 }, { 0x00000000, 0xfffffffe, 0x00007ffe }, { 0x00000000, 0x00000001, 0xffff8001 }, { 0x00000000, 0xffffff80, 0xffffff80 }, { 0x00000000, 0x00000000, 0x80000000 }, { 0x00000000, 0xfffffffe, 0x00007ffe }, { 0x00000000, 0x00000000, 0xffff8000 }, { 0x00000000, 0xffffffff, 0x00007fff }, { 0x00000000, 0x0000007d, 0x0000007d }, { 0x00000000, 0x00000000, 0x00000000 }, { 0x00000000, 0x00000055, 0x55555555 }, { 0x00000000, 0x00000000, 0x80000000 }, { 0x00000000, 0xffffff80, 0xffffff80 }, { 0x00000000, 0x00000003, 0xffff8003 }, { 0x00000000, 0x00000001, 0x80000001 }, { 0x00000000, 0x00000001, 0xffff8001 }, { 0x00000000, 0x00000002, 0x00000002 }, { 0x00000000, 0xffffff81, 0xffffff81 }, { 0x00000000, 0x00000001, 0xffff8001 }, { 0x00000000, 0xfffffffe, 0xfffffffe }, { 0x00000000, 0xfffffffd, 0xfffffffd }, { 0x00000000, 0xffffffff, 0xffffffff }, { 0x00000000, 0x00000000, 0x80000000 }, { 0x00000000, 0x00000001, 0x80000001 }, { 0x00000000, 0xfffffffd, 0x7ffffffd }, { 0x00000000, 0x00000000, 0x00000000 }, { 0x00000000, 0x00000001, 0x00000001 }, { 0x00000000, 0xffffffff, 0x7fffffff }, { 0x00000000, 0xffffffff, 0xffffffff }, { 0x00000000, 0xffffffff, 0x00007fff }, { 0x00000000, 0xffffffff, 0x00007fff }, { 0x00000000, 0x00000055, 0x55555555 }, { 0x00000000, 0x00000033, 0x33333333 }, { 0x00000000, 0xfffffffd, 0xfffffffd }, { 0x00000000, 0x00000001, 0x00000001 }, { 0x00000000, 0xffffffe0, 0xffffffe0 }, { 0x00000000, 0xffffffaa, 0xaaaaaaaa }, { 0x00000000, 0x00000033, 0x33333333 }, { 0x00000000, 0x00000003, 0xffff8003 }, { 0x00000000, 0xffffffff, 0x7fffffff }, { 0x00000000, 0xffffff83, 0xffffff83 }, { 0x00000000, 0x00000000, 0xffff8000 }, { 0x00000000, 0x00000055, 0x55555555 }, { 0x00000000, 0xffffff81, 0xffffff81 }, { 0x00000000, 0xfffffffe, 0xfffffffe }, { 0x00000000, 0xffffffff, 0x7fffffff }, { 0x00000000, 0xffffffff, 0x7fffffff }, { 0x00000000, 0x00000003, 0xffff8003 }, { 0x00000000, 0xffffffff, 0xffffffff }, { 0x00000000, 0xfffffffd, 0x00007ffd }, { 0x00000000, 0xffffffff, 0x00007fff }, { 0x00000000, 0xffffffff, 0xffffffff }, { 0x00000000, 0x00000003, 0xffff8003 }, { 0x00000000, 0xfffffffd, 0xfffffffd }, { 0x00000000, 0x00000000, 0x80000000 }, { 0x00000000, 0x00000020, 0x00000020 }, { 0x00000000, 0x00000002, 0x00000002 }, { 0x00000000, 0x00000002, 0x00000002 }, { 0x00000000, 0xffffffff, 0x00007fff }, { 0x00000000, 0x00000001, 0x00000001 }, { 0x00000000, 0xffffffff, 0x00007fff }, { 0x00000000, 0x00000020, 0x00000020 }, { 0x00000000, 0xffffffe0, 0xffffffe0 }, { 0x00000000, 0xffffffaa, 0xaaaaaaaa }, { 0x00000000, 0x00000001, 0xffff8001 }, { 0x00000000, 0x00000001, 0x80000001 }, { 0x00000000, 0x00000000, 0xffff8000 }, { 0x00000000, 0x00000001, 0xffff8001 }, { 0x00000000, 0x00000000, 0x00000000 }, { 0x00000000, 0x00000033, 0x33333333 }, { 0x00000000, 0xffffff80, 0xffffff80 }, { 0x00000000, 0x00000055, 0x55555555 }, { 0x00000000, 0xffffffff, 0xffffffff }, }; const Inputs kOutputs_Sxtb_RdIsNotRn_al_r10_r14_ROR_0[] = { { 0x00000000, 0xffffffcc, 0xcccccccc }, { 0x00000000, 0xfffffffe, 0x00007ffe }, { 0x00000000, 0x00000020, 0x00000020 }, { 0x00000000, 0xffffffaa, 0xaaaaaaaa }, { 0x00000000, 0xffffff82, 0xffffff82 }, { 0x00000000, 0xfffffffe, 0x7ffffffe }, { 0x00000000, 0xfffffffe, 0x00007ffe }, { 0x00000000, 0x00000000, 0x80000000 }, { 0x00000000, 0x00000033, 0x33333333 }, { 0x00000000, 0xfffffffe, 0x7ffffffe }, { 0x00000000, 0xffffffcc, 0xcccccccc }, { 0x00000000, 0x00000055, 0x55555555 }, { 0x00000000, 0xffffffff, 0xffffffff }, { 0x00000000, 0x00000002, 0xffff8002 }, { 0x00000000, 0xfffffffd, 0x7ffffffd }, { 0x00000000, 0x0000007e, 0x0000007e }, { 0x00000000, 0x00000001, 0xffff8001 }, { 0x00000000, 0xfffffffd, 0x00007ffd }, { 0x00000000, 0x00000002, 0x00000002 }, { 0x00000000, 0x00000055, 0x55555555 }, { 0x00000000, 0xffffff80, 0xffffff80 }, { 0x00000000, 0x00000000, 0xffff8000 }, { 0x00000000, 0xfffffffe, 0x7ffffffe }, { 0x00000000, 0x00000000, 0x00000000 }, { 0x00000000, 0x0000007e, 0x0000007e }, { 0x00000000, 0xffffffff, 0xffffffff }, { 0x00000000, 0x00000001, 0x80000001 }, { 0x00000000, 0x0000007f, 0x0000007f }, { 0x00000000, 0xffffffcc, 0xcccccccc }, { 0x00000000, 0xfffffffe, 0x00007ffe }, { 0x00000000, 0x0000007e, 0x0000007e }, { 0x00000000, 0xffffffcc, 0xcccccccc }, { 0x00000000, 0x00000002, 0xffff8002 }, { 0x00000000, 0xfffffffe, 0x7ffffffe }, { 0x00000000, 0x00000001, 0x00000001 }, { 0x00000000, 0x00000020, 0x00000020 }, { 0x00000000, 0x00000001, 0xffff8001 }, { 0x00000000, 0xfffffffe, 0xfffffffe }, { 0x00000000, 0x00000055, 0x55555555 }, { 0x00000000, 0xffffff83, 0xffffff83 }, { 0x00000000, 0x00000001, 0xffff8001 }, { 0x00000000, 0x00000000, 0xffff8000 }, { 0x00000000, 0x00000002, 0x00000002 }, { 0x00000000, 0x00000000, 0xffff8000 }, { 0x00000000, 0xffffff81, 0xffffff81 }, { 0x00000000, 0x00000000, 0x00000000 }, { 0x00000000, 0xffffff81, 0xffffff81 }, { 0x00000000, 0xffffff82, 0xffffff82 }, { 0x00000000, 0x00000003, 0xffff8003 }, { 0x00000000, 0xfffffffd, 0x7ffffffd }, { 0x00000000, 0xfffffffe, 0x00007ffe }, { 0x00000000, 0x0000007d, 0x0000007d }, { 0x00000000, 0xfffffffd, 0x00007ffd }, { 0x00000000, 0xffffff82, 0xffffff82 }, { 0x00000000, 0xfffffffe, 0x7ffffffe }, { 0x00000000, 0xffffff83, 0xffffff83 }, { 0x00000000, 0x00000002, 0x00000002 }, { 0x00000000, 0xffffff82, 0xffffff82 }, { 0x00000000, 0x00000020, 0x00000020 }, { 0x00000000, 0xffffff82, 0xffffff82 }, { 0x00000000, 0xffffff82, 0xffffff82 }, { 0x00000000, 0xffffffaa, 0xaaaaaaaa }, { 0x00000000, 0x00000001, 0x00000001 }, { 0x00000000, 0xffffffe0, 0xffffffe0 }, { 0x00000000, 0xffffff83, 0xffffff83 }, { 0x00000000, 0x00000000, 0x00000000 }, { 0x00000000, 0x00000000, 0xffff8000 }, { 0x00000000, 0xffffffff, 0x7fffffff }, { 0x00000000, 0x00000000, 0x80000000 }, { 0x00000000, 0x00000001, 0x00000001 }, { 0x00000000, 0xffffff82, 0xffffff82 }, { 0x00000000, 0xfffffffe, 0x00007ffe }, { 0x00000000, 0xfffffffd, 0xfffffffd }, { 0x00000000, 0x00000033, 0x33333333 }, { 0x00000000, 0x00000000, 0x80000000 }, { 0x00000000, 0xffffffff, 0x00007fff }, { 0x00000000, 0xffffffe0, 0xffffffe0 }, { 0x00000000, 0x0000007f, 0x0000007f }, { 0x00000000, 0x00000001, 0xffff8001 }, { 0x00000000, 0x00000001, 0x00000001 }, { 0x00000000, 0xffffffff, 0xffffffff }, { 0x00000000, 0xffffffcc, 0xcccccccc }, { 0x00000000, 0xfffffffe, 0x7ffffffe }, { 0x00000000, 0x00000000, 0x00000000 }, { 0x00000000, 0xffffffcc, 0xcccccccc }, { 0x00000000, 0xffffff83, 0xffffff83 }, { 0x00000000, 0xffffffe0, 0xffffffe0 }, { 0x00000000, 0xffffffff, 0x00007fff }, { 0x00000000, 0x00000002, 0x00000002 }, { 0x00000000, 0xffffffcc, 0xcccccccc }, { 0x00000000, 0xffffff80, 0xffffff80 }, { 0x00000000, 0x00000020, 0x00000020 }, { 0x00000000, 0xfffffffe, 0xfffffffe }, { 0x00000000, 0xffffff81, 0xffffff81 }, { 0x00000000, 0x0000007f, 0x0000007f }, { 0x00000000, 0xfffffffd, 0x7ffffffd }, { 0x00000000, 0xfffffffe, 0xfffffffe }, { 0x00000000, 0x00000002, 0xffff8002 }, { 0x00000000, 0xffffffff, 0xffffffff }, { 0x00000000, 0xffffff80, 0xffffff80 }, { 0x00000000, 0xffffffff, 0x00007fff }, { 0x00000000, 0x00000001, 0xffff8001 }, { 0x00000000, 0x00000002, 0xffff8002 }, { 0x00000000, 0xffffff83, 0xffffff83 }, { 0x00000000, 0x0000007f, 0x0000007f }, { 0x00000000, 0xfffffffe, 0xfffffffe }, { 0x00000000, 0x00000003, 0xffff8003 }, { 0x00000000, 0x00000002, 0xffff8002 }, { 0x00000000, 0x0000007f, 0x0000007f }, { 0x00000000, 0x00000002, 0x00000002 }, { 0x00000000, 0x00000001, 0xffff8001 }, { 0x00000000, 0x00000001, 0x00000001 }, { 0x00000000, 0x00000002, 0xffff8002 }, { 0x00000000, 0xffffffff, 0x7fffffff }, { 0x00000000, 0x00000000, 0xffff8000 }, { 0x00000000, 0xfffffffd, 0x00007ffd }, { 0x00000000, 0xffffff81, 0xffffff81 }, { 0x00000000, 0x00000055, 0x55555555 }, { 0x00000000, 0x00000020, 0x00000020 }, { 0x00000000, 0x00000001, 0x00000001 }, { 0x00000000, 0x00000002, 0xffff8002 }, { 0x00000000, 0xfffffffe, 0xfffffffe }, { 0x00000000, 0xfffffffd, 0x00007ffd }, { 0x00000000, 0xfffffffd, 0xfffffffd }, { 0x00000000, 0xffffff80, 0xffffff80 }, { 0x00000000, 0xffffff80, 0xffffff80 }, { 0x00000000, 0x00000002, 0xffff8002 }, { 0x00000000, 0x00000002, 0xffff8002 }, { 0x00000000, 0xfffffffe, 0x00007ffe }, { 0x00000000, 0x00000001, 0xffff8001 }, { 0x00000000, 0xffffff80, 0xffffff80 }, { 0x00000000, 0x00000000, 0x80000000 }, { 0x00000000, 0xfffffffe, 0x00007ffe }, { 0x00000000, 0x00000000, 0xffff8000 }, { 0x00000000, 0xffffffff, 0x00007fff }, { 0x00000000, 0x0000007d, 0x0000007d }, { 0x00000000, 0x00000000, 0x00000000 }, { 0x00000000, 0x00000055, 0x55555555 }, { 0x00000000, 0x00000000, 0x80000000 }, { 0x00000000, 0xffffff80, 0xffffff80 }, { 0x00000000, 0x00000003, 0xffff8003 }, { 0x00000000, 0x00000001, 0x80000001 }, { 0x00000000, 0x00000001, 0xffff8001 }, { 0x00000000, 0x00000002, 0x00000002 }, { 0x00000000, 0xffffff81, 0xffffff81 }, { 0x00000000, 0x00000001, 0xffff8001 }, { 0x00000000, 0xfffffffe, 0xfffffffe }, { 0x00000000, 0xfffffffd, 0xfffffffd }, { 0x00000000, 0xffffffff, 0xffffffff }, { 0x00000000, 0x00000000, 0x80000000 }, { 0x00000000, 0x00000001, 0x80000001 }, { 0x00000000, 0xfffffffd, 0x7ffffffd }, { 0x00000000, 0x00000000, 0x00000000 }, { 0x00000000, 0x00000001, 0x00000001 }, { 0x00000000, 0xffffffff, 0x7fffffff }, { 0x00000000, 0xffffffff, 0xffffffff }, { 0x00000000, 0xffffffff, 0x00007fff }, { 0x00000000, 0xffffffff, 0x00007fff }, { 0x00000000, 0x00000055, 0x55555555 }, { 0x00000000, 0x00000033, 0x33333333 }, { 0x00000000, 0xfffffffd, 0xfffffffd }, { 0x00000000, 0x00000001, 0x00000001 }, { 0x00000000, 0xffffffe0, 0xffffffe0 }, { 0x00000000, 0xffffffaa, 0xaaaaaaaa }, { 0x00000000, 0x00000033, 0x33333333 }, { 0x00000000, 0x00000003, 0xffff8003 }, { 0x00000000, 0xffffffff, 0x7fffffff }, { 0x00000000, 0xffffff83, 0xffffff83 }, { 0x00000000, 0x00000000, 0xffff8000 }, { 0x00000000, 0x00000055, 0x55555555 }, { 0x00000000, 0xffffff81, 0xffffff81 }, { 0x00000000, 0xfffffffe, 0xfffffffe }, { 0x00000000, 0xffffffff, 0x7fffffff }, { 0x00000000, 0xffffffff, 0x7fffffff }, { 0x00000000, 0x00000003, 0xffff8003 }, { 0x00000000, 0xffffffff, 0xffffffff }, { 0x00000000, 0xfffffffd, 0x00007ffd }, { 0x00000000, 0xffffffff, 0x00007fff }, { 0x00000000, 0xffffffff, 0xffffffff }, { 0x00000000, 0x00000003, 0xffff8003 }, { 0x00000000, 0xfffffffd, 0xfffffffd }, { 0x00000000, 0x00000000, 0x80000000 }, { 0x00000000, 0x00000020, 0x00000020 }, { 0x00000000, 0x00000002, 0x00000002 }, { 0x00000000, 0x00000002, 0x00000002 }, { 0x00000000, 0xffffffff, 0x00007fff }, { 0x00000000, 0x00000001, 0x00000001 }, { 0x00000000, 0xffffffff, 0x00007fff }, { 0x00000000, 0x00000020, 0x00000020 }, { 0x00000000, 0xffffffe0, 0xffffffe0 }, { 0x00000000, 0xffffffaa, 0xaaaaaaaa }, { 0x00000000, 0x00000001, 0xffff8001 }, { 0x00000000, 0x00000001, 0x80000001 }, { 0x00000000, 0x00000000, 0xffff8000 }, { 0x00000000, 0x00000001, 0xffff8001 }, { 0x00000000, 0x00000000, 0x00000000 }, { 0x00000000, 0x00000033, 0x33333333 }, { 0x00000000, 0xffffff80, 0xffffff80 }, { 0x00000000, 0x00000055, 0x55555555 }, { 0x00000000, 0xffffffff, 0xffffffff }, }; const Inputs kOutputs_Sxtb_RdIsNotRn_al_r0_r5_ROR_0[] = { { 0x00000000, 0xffffffcc, 0xcccccccc }, { 0x00000000, 0xfffffffe, 0x00007ffe }, { 0x00000000, 0x00000020, 0x00000020 }, { 0x00000000, 0xffffffaa, 0xaaaaaaaa }, { 0x00000000, 0xffffff82, 0xffffff82 }, { 0x00000000, 0xfffffffe, 0x7ffffffe }, { 0x00000000, 0xfffffffe, 0x00007ffe }, { 0x00000000, 0x00000000, 0x80000000 }, { 0x00000000, 0x00000033, 0x33333333 }, { 0x00000000, 0xfffffffe, 0x7ffffffe }, { 0x00000000, 0xffffffcc, 0xcccccccc }, { 0x00000000, 0x00000055, 0x55555555 }, { 0x00000000, 0xffffffff, 0xffffffff }, { 0x00000000, 0x00000002, 0xffff8002 }, { 0x00000000, 0xfffffffd, 0x7ffffffd }, { 0x00000000, 0x0000007e, 0x0000007e }, { 0x00000000, 0x00000001, 0xffff8001 }, { 0x00000000, 0xfffffffd, 0x00007ffd }, { 0x00000000, 0x00000002, 0x00000002 }, { 0x00000000, 0x00000055, 0x55555555 }, { 0x00000000, 0xffffff80, 0xffffff80 }, { 0x00000000, 0x00000000, 0xffff8000 }, { 0x00000000, 0xfffffffe, 0x7ffffffe }, { 0x00000000, 0x00000000, 0x00000000 }, { 0x00000000, 0x0000007e, 0x0000007e }, { 0x00000000, 0xffffffff, 0xffffffff }, { 0x00000000, 0x00000001, 0x80000001 }, { 0x00000000, 0x0000007f, 0x0000007f }, { 0x00000000, 0xffffffcc, 0xcccccccc }, { 0x00000000, 0xfffffffe, 0x00007ffe }, { 0x00000000, 0x0000007e, 0x0000007e }, { 0x00000000, 0xffffffcc, 0xcccccccc }, { 0x00000000, 0x00000002, 0xffff8002 }, { 0x00000000, 0xfffffffe, 0x7ffffffe }, { 0x00000000, 0x00000001, 0x00000001 }, { 0x00000000, 0x00000020, 0x00000020 }, { 0x00000000, 0x00000001, 0xffff8001 }, { 0x00000000, 0xfffffffe, 0xfffffffe }, { 0x00000000, 0x00000055, 0x55555555 }, { 0x00000000, 0xffffff83, 0xffffff83 }, { 0x00000000, 0x00000001, 0xffff8001 }, { 0x00000000, 0x00000000, 0xffff8000 }, { 0x00000000, 0x00000002, 0x00000002 }, { 0x00000000, 0x00000000, 0xffff8000 }, { 0x00000000, 0xffffff81, 0xffffff81 }, { 0x00000000, 0x00000000, 0x00000000 }, { 0x00000000, 0xffffff81, 0xffffff81 }, { 0x00000000, 0xffffff82, 0xffffff82 }, { 0x00000000, 0x00000003, 0xffff8003 }, { 0x00000000, 0xfffffffd, 0x7ffffffd }, { 0x00000000, 0xfffffffe, 0x00007ffe }, { 0x00000000, 0x0000007d, 0x0000007d }, { 0x00000000, 0xfffffffd, 0x00007ffd }, { 0x00000000, 0xffffff82, 0xffffff82 }, { 0x00000000, 0xfffffffe, 0x7ffffffe }, { 0x00000000, 0xffffff83, 0xffffff83 }, { 0x00000000, 0x00000002, 0x00000002 }, { 0x00000000, 0xffffff82, 0xffffff82 }, { 0x00000000, 0x00000020, 0x00000020 }, { 0x00000000, 0xffffff82, 0xffffff82 }, { 0x00000000, 0xffffff82, 0xffffff82 }, { 0x00000000, 0xffffffaa, 0xaaaaaaaa }, { 0x00000000, 0x00000001, 0x00000001 }, { 0x00000000, 0xffffffe0, 0xffffffe0 }, { 0x00000000, 0xffffff83, 0xffffff83 }, { 0x00000000, 0x00000000, 0x00000000 }, { 0x00000000, 0x00000000, 0xffff8000 }, { 0x00000000, 0xffffffff, 0x7fffffff }, { 0x00000000, 0x00000000, 0x80000000 }, { 0x00000000, 0x00000001, 0x00000001 }, { 0x00000000, 0xffffff82, 0xffffff82 }, { 0x00000000, 0xfffffffe, 0x00007ffe }, { 0x00000000, 0xfffffffd, 0xfffffffd }, { 0x00000000, 0x00000033, 0x33333333 }, { 0x00000000, 0x00000000, 0x80000000 }, { 0x00000000, 0xffffffff, 0x00007fff }, { 0x00000000, 0xffffffe0, 0xffffffe0 }, { 0x00000000, 0x0000007f, 0x0000007f }, { 0x00000000, 0x00000001, 0xffff8001 }, { 0x00000000, 0x00000001, 0x00000001 }, { 0x00000000, 0xffffffff, 0xffffffff }, { 0x00000000, 0xffffffcc, 0xcccccccc }, { 0x00000000, 0xfffffffe, 0x7ffffffe }, { 0x00000000, 0x00000000, 0x00000000 }, { 0x00000000, 0xffffffcc, 0xcccccccc }, { 0x00000000, 0xffffff83, 0xffffff83 }, { 0x00000000, 0xffffffe0, 0xffffffe0 }, { 0x00000000, 0xffffffff, 0x00007fff }, { 0x00000000, 0x00000002, 0x00000002 }, { 0x00000000, 0xffffffcc, 0xcccccccc }, { 0x00000000, 0xffffff80, 0xffffff80 }, { 0x00000000, 0x00000020, 0x00000020 }, { 0x00000000, 0xfffffffe, 0xfffffffe }, { 0x00000000, 0xffffff81, 0xffffff81 }, { 0x00000000, 0x0000007f, 0x0000007f }, { 0x00000000, 0xfffffffd, 0x7ffffffd }, { 0x00000000, 0xfffffffe, 0xfffffffe }, { 0x00000000, 0x00000002, 0xffff8002 }, { 0x00000000, 0xffffffff, 0xffffffff }, { 0x00000000, 0xffffff80, 0xffffff80 }, { 0x00000000, 0xffffffff, 0x00007fff }, { 0x00000000, 0x00000001, 0xffff8001 }, { 0x00000000, 0x00000002, 0xffff8002 }, { 0x00000000, 0xffffff83, 0xffffff83 }, { 0x00000000, 0x0000007f, 0x0000007f }, { 0x00000000, 0xfffffffe, 0xfffffffe }, { 0x00000000, 0x00000003, 0xffff8003 }, { 0x00000000, 0x00000002, 0xffff8002 }, { 0x00000000, 0x0000007f, 0x0000007f }, { 0x00000000, 0x00000002, 0x00000002 }, { 0x00000000, 0x00000001, 0xffff8001 }, { 0x00000000, 0x00000001, 0x00000001 }, { 0x00000000, 0x00000002, 0xffff8002 }, { 0x00000000, 0xffffffff, 0x7fffffff }, { 0x00000000, 0x00000000, 0xffff8000 }, { 0x00000000, 0xfffffffd, 0x00007ffd }, { 0x00000000, 0xffffff81, 0xffffff81 }, { 0x00000000, 0x00000055, 0x55555555 }, { 0x00000000, 0x00000020, 0x00000020 }, { 0x00000000, 0x00000001, 0x00000001 }, { 0x00000000, 0x00000002, 0xffff8002 }, { 0x00000000, 0xfffffffe, 0xfffffffe }, { 0x00000000, 0xfffffffd, 0x00007ffd }, { 0x00000000, 0xfffffffd, 0xfffffffd }, { 0x00000000, 0xffffff80, 0xffffff80 }, { 0x00000000, 0xffffff80, 0xffffff80 }, { 0x00000000, 0x00000002, 0xffff8002 }, { 0x00000000, 0x00000002, 0xffff8002 }, { 0x00000000, 0xfffffffe, 0x00007ffe }, { 0x00000000, 0x00000001, 0xffff8001 }, { 0x00000000, 0xffffff80, 0xffffff80 }, { 0x00000000, 0x00000000, 0x80000000 }, { 0x00000000, 0xfffffffe, 0x00007ffe }, { 0x00000000, 0x00000000, 0xffff8000 }, { 0x00000000, 0xffffffff, 0x00007fff }, { 0x00000000, 0x0000007d, 0x0000007d }, { 0x00000000, 0x00000000, 0x00000000 }, { 0x00000000, 0x00000055, 0x55555555 }, { 0x00000000, 0x00000000, 0x80000000 }, { 0x00000000, 0xffffff80, 0xffffff80 }, { 0x00000000, 0x00000003, 0xffff8003 }, { 0x00000000, 0x00000001, 0x80000001 }, { 0x00000000, 0x00000001, 0xffff8001 }, { 0x00000000, 0x00000002, 0x00000002 }, { 0x00000000, 0xffffff81, 0xffffff81 }, { 0x00000000, 0x00000001, 0xffff8001 }, { 0x00000000, 0xfffffffe, 0xfffffffe }, { 0x00000000, 0xfffffffd, 0xfffffffd }, { 0x00000000, 0xffffffff, 0xffffffff }, { 0x00000000, 0x00000000, 0x80000000 }, { 0x00000000, 0x00000001, 0x80000001 }, { 0x00000000, 0xfffffffd, 0x7ffffffd }, { 0x00000000, 0x00000000, 0x00000000 }, { 0x00000000, 0x00000001, 0x00000001 }, { 0x00000000, 0xffffffff, 0x7fffffff }, { 0x00000000, 0xffffffff, 0xffffffff }, { 0x00000000, 0xffffffff, 0x00007fff }, { 0x00000000, 0xffffffff, 0x00007fff }, { 0x00000000, 0x00000055, 0x55555555 }, { 0x00000000, 0x00000033, 0x33333333 }, { 0x00000000, 0xfffffffd, 0xfffffffd }, { 0x00000000, 0x00000001, 0x00000001 }, { 0x00000000, 0xffffffe0, 0xffffffe0 }, { 0x00000000, 0xffffffaa, 0xaaaaaaaa }, { 0x00000000, 0x00000033, 0x33333333 }, { 0x00000000, 0x00000003, 0xffff8003 }, { 0x00000000, 0xffffffff, 0x7fffffff }, { 0x00000000, 0xffffff83, 0xffffff83 }, { 0x00000000, 0x00000000, 0xffff8000 }, { 0x00000000, 0x00000055, 0x55555555 }, { 0x00000000, 0xffffff81, 0xffffff81 }, { 0x00000000, 0xfffffffe, 0xfffffffe }, { 0x00000000, 0xffffffff, 0x7fffffff }, { 0x00000000, 0xffffffff, 0x7fffffff }, { 0x00000000, 0x00000003, 0xffff8003 }, { 0x00000000, 0xffffffff, 0xffffffff }, { 0x00000000, 0xfffffffd, 0x00007ffd }, { 0x00000000, 0xffffffff, 0x00007fff }, { 0x00000000, 0xffffffff, 0xffffffff }, { 0x00000000, 0x00000003, 0xffff8003 }, { 0x00000000, 0xfffffffd, 0xfffffffd }, { 0x00000000, 0x00000000, 0x80000000 }, { 0x00000000, 0x00000020, 0x00000020 }, { 0x00000000, 0x00000002, 0x00000002 }, { 0x00000000, 0x00000002, 0x00000002 }, { 0x00000000, 0xffffffff, 0x00007fff }, { 0x00000000, 0x00000001, 0x00000001 }, { 0x00000000, 0xffffffff, 0x00007fff }, { 0x00000000, 0x00000020, 0x00000020 }, { 0x00000000, 0xffffffe0, 0xffffffe0 }, { 0x00000000, 0xffffffaa, 0xaaaaaaaa }, { 0x00000000, 0x00000001, 0xffff8001 }, { 0x00000000, 0x00000001, 0x80000001 }, { 0x00000000, 0x00000000, 0xffff8000 }, { 0x00000000, 0x00000001, 0xffff8001 }, { 0x00000000, 0x00000000, 0x00000000 }, { 0x00000000, 0x00000033, 0x33333333 }, { 0x00000000, 0xffffff80, 0xffffff80 }, { 0x00000000, 0x00000055, 0x55555555 }, { 0x00000000, 0xffffffff, 0xffffffff }, }; const Inputs kOutputs_Sxtb_RdIsNotRn_al_r0_r3_ROR_0[] = { { 0x00000000, 0xffffffcc, 0xcccccccc }, { 0x00000000, 0xfffffffe, 0x00007ffe }, { 0x00000000, 0x00000020, 0x00000020 }, { 0x00000000, 0xffffffaa, 0xaaaaaaaa }, { 0x00000000, 0xffffff82, 0xffffff82 }, { 0x00000000, 0xfffffffe, 0x7ffffffe }, { 0x00000000, 0xfffffffe, 0x00007ffe }, { 0x00000000, 0x00000000, 0x80000000 }, { 0x00000000, 0x00000033, 0x33333333 }, { 0x00000000, 0xfffffffe, 0x7ffffffe }, { 0x00000000, 0xffffffcc, 0xcccccccc }, { 0x00000000, 0x00000055, 0x55555555 }, { 0x00000000, 0xffffffff, 0xffffffff }, { 0x00000000, 0x00000002, 0xffff8002 }, { 0x00000000, 0xfffffffd, 0x7ffffffd }, { 0x00000000, 0x0000007e, 0x0000007e }, { 0x00000000, 0x00000001, 0xffff8001 }, { 0x00000000, 0xfffffffd, 0x00007ffd }, { 0x00000000, 0x00000002, 0x00000002 }, { 0x00000000, 0x00000055, 0x55555555 }, { 0x00000000, 0xffffff80, 0xffffff80 }, { 0x00000000, 0x00000000, 0xffff8000 }, { 0x00000000, 0xfffffffe, 0x7ffffffe }, { 0x00000000, 0x00000000, 0x00000000 }, { 0x00000000, 0x0000007e, 0x0000007e }, { 0x00000000, 0xffffffff, 0xffffffff }, { 0x00000000, 0x00000001, 0x80000001 }, { 0x00000000, 0x0000007f, 0x0000007f }, { 0x00000000, 0xffffffcc, 0xcccccccc }, { 0x00000000, 0xfffffffe, 0x00007ffe }, { 0x00000000, 0x0000007e, 0x0000007e }, { 0x00000000, 0xffffffcc, 0xcccccccc }, { 0x00000000, 0x00000002, 0xffff8002 }, { 0x00000000, 0xfffffffe, 0x7ffffffe }, { 0x00000000, 0x00000001, 0x00000001 }, { 0x00000000, 0x00000020, 0x00000020 }, { 0x00000000, 0x00000001, 0xffff8001 }, { 0x00000000, 0xfffffffe, 0xfffffffe }, { 0x00000000, 0x00000055, 0x55555555 }, { 0x00000000, 0xffffff83, 0xffffff83 }, { 0x00000000, 0x00000001, 0xffff8001 }, { 0x00000000, 0x00000000, 0xffff8000 }, { 0x00000000, 0x00000002, 0x00000002 }, { 0x00000000, 0x00000000, 0xffff8000 }, { 0x00000000, 0xffffff81, 0xffffff81 }, { 0x00000000, 0x00000000, 0x00000000 }, { 0x00000000, 0xffffff81, 0xffffff81 }, { 0x00000000, 0xffffff82, 0xffffff82 }, { 0x00000000, 0x00000003, 0xffff8003 }, { 0x00000000, 0xfffffffd, 0x7ffffffd }, { 0x00000000, 0xfffffffe, 0x00007ffe }, { 0x00000000, 0x0000007d, 0x0000007d }, { 0x00000000, 0xfffffffd, 0x00007ffd }, { 0x00000000, 0xffffff82, 0xffffff82 }, { 0x00000000, 0xfffffffe, 0x7ffffffe }, { 0x00000000, 0xffffff83, 0xffffff83 }, { 0x00000000, 0x00000002, 0x00000002 }, { 0x00000000, 0xffffff82, 0xffffff82 }, { 0x00000000, 0x00000020, 0x00000020 }, { 0x00000000, 0xffffff82, 0xffffff82 }, { 0x00000000, 0xffffff82, 0xffffff82 }, { 0x00000000, 0xffffffaa, 0xaaaaaaaa }, { 0x00000000, 0x00000001, 0x00000001 }, { 0x00000000, 0xffffffe0, 0xffffffe0 }, { 0x00000000, 0xffffff83, 0xffffff83 }, { 0x00000000, 0x00000000, 0x00000000 }, { 0x00000000, 0x00000000, 0xffff8000 }, { 0x00000000, 0xffffffff, 0x7fffffff }, { 0x00000000, 0x00000000, 0x80000000 }, { 0x00000000, 0x00000001, 0x00000001 }, { 0x00000000, 0xffffff82, 0xffffff82 }, { 0x00000000, 0xfffffffe, 0x00007ffe }, { 0x00000000, 0xfffffffd, 0xfffffffd }, { 0x00000000, 0x00000033, 0x33333333 }, { 0x00000000, 0x00000000, 0x80000000 }, { 0x00000000, 0xffffffff, 0x00007fff }, { 0x00000000, 0xffffffe0, 0xffffffe0 }, { 0x00000000, 0x0000007f, 0x0000007f }, { 0x00000000, 0x00000001, 0xffff8001 }, { 0x00000000, 0x00000001, 0x00000001 }, { 0x00000000, 0xffffffff, 0xffffffff }, { 0x00000000, 0xffffffcc, 0xcccccccc }, { 0x00000000, 0xfffffffe, 0x7ffffffe }, { 0x00000000, 0x00000000, 0x00000000 }, { 0x00000000, 0xffffffcc, 0xcccccccc }, { 0x00000000, 0xffffff83, 0xffffff83 }, { 0x00000000, 0xffffffe0, 0xffffffe0 }, { 0x00000000, 0xffffffff, 0x00007fff }, { 0x00000000, 0x00000002, 0x00000002 }, { 0x00000000, 0xffffffcc, 0xcccccccc }, { 0x00000000, 0xffffff80, 0xffffff80 }, { 0x00000000, 0x00000020, 0x00000020 }, { 0x00000000, 0xfffffffe, 0xfffffffe }, { 0x00000000, 0xffffff81, 0xffffff81 }, { 0x00000000, 0x0000007f, 0x0000007f }, { 0x00000000, 0xfffffffd, 0x7ffffffd }, { 0x00000000, 0xfffffffe, 0xfffffffe }, { 0x00000000, 0x00000002, 0xffff8002 }, { 0x00000000, 0xffffffff, 0xffffffff }, { 0x00000000, 0xffffff80, 0xffffff80 }, { 0x00000000, 0xffffffff, 0x00007fff }, { 0x00000000, 0x00000001, 0xffff8001 }, { 0x00000000, 0x00000002, 0xffff8002 }, { 0x00000000, 0xffffff83, 0xffffff83 }, { 0x00000000, 0x0000007f, 0x0000007f }, { 0x00000000, 0xfffffffe, 0xfffffffe }, { 0x00000000, 0x00000003, 0xffff8003 }, { 0x00000000, 0x00000002, 0xffff8002 }, { 0x00000000, 0x0000007f, 0x0000007f }, { 0x00000000, 0x00000002, 0x00000002 }, { 0x00000000, 0x00000001, 0xffff8001 }, { 0x00000000, 0x00000001, 0x00000001 }, { 0x00000000, 0x00000002, 0xffff8002 }, { 0x00000000, 0xffffffff, 0x7fffffff }, { 0x00000000, 0x00000000, 0xffff8000 }, { 0x00000000, 0xfffffffd, 0x00007ffd }, { 0x00000000, 0xffffff81, 0xffffff81 }, { 0x00000000, 0x00000055, 0x55555555 }, { 0x00000000, 0x00000020, 0x00000020 }, { 0x00000000, 0x00000001, 0x00000001 }, { 0x00000000, 0x00000002, 0xffff8002 }, { 0x00000000, 0xfffffffe, 0xfffffffe }, { 0x00000000, 0xfffffffd, 0x00007ffd }, { 0x00000000, 0xfffffffd, 0xfffffffd }, { 0x00000000, 0xffffff80, 0xffffff80 }, { 0x00000000, 0xffffff80, 0xffffff80 }, { 0x00000000, 0x00000002, 0xffff8002 }, { 0x00000000, 0x00000002, 0xffff8002 }, { 0x00000000, 0xfffffffe, 0x00007ffe }, { 0x00000000, 0x00000001, 0xffff8001 }, { 0x00000000, 0xffffff80, 0xffffff80 }, { 0x00000000, 0x00000000, 0x80000000 }, { 0x00000000, 0xfffffffe, 0x00007ffe }, { 0x00000000, 0x00000000, 0xffff8000 }, { 0x00000000, 0xffffffff, 0x00007fff }, { 0x00000000, 0x0000007d, 0x0000007d }, { 0x00000000, 0x00000000, 0x00000000 }, { 0x00000000, 0x00000055, 0x55555555 }, { 0x00000000, 0x00000000, 0x80000000 }, { 0x00000000, 0xffffff80, 0xffffff80 }, { 0x00000000, 0x00000003, 0xffff8003 }, { 0x00000000, 0x00000001, 0x80000001 }, { 0x00000000, 0x00000001, 0xffff8001 }, { 0x00000000, 0x00000002, 0x00000002 }, { 0x00000000, 0xffffff81, 0xffffff81 }, { 0x00000000, 0x00000001, 0xffff8001 }, { 0x00000000, 0xfffffffe, 0xfffffffe }, { 0x00000000, 0xfffffffd, 0xfffffffd }, { 0x00000000, 0xffffffff, 0xffffffff }, { 0x00000000, 0x00000000, 0x80000000 }, { 0x00000000, 0x00000001, 0x80000001 }, { 0x00000000, 0xfffffffd, 0x7ffffffd }, { 0x00000000, 0x00000000, 0x00000000 }, { 0x00000000, 0x00000001, 0x00000001 }, { 0x00000000, 0xffffffff, 0x7fffffff }, { 0x00000000, 0xffffffff, 0xffffffff }, { 0x00000000, 0xffffffff, 0x00007fff }, { 0x00000000, 0xffffffff, 0x00007fff }, { 0x00000000, 0x00000055, 0x55555555 }, { 0x00000000, 0x00000033, 0x33333333 }, { 0x00000000, 0xfffffffd, 0xfffffffd }, { 0x00000000, 0x00000001, 0x00000001 }, { 0x00000000, 0xffffffe0, 0xffffffe0 }, { 0x00000000, 0xffffffaa, 0xaaaaaaaa }, { 0x00000000, 0x00000033, 0x33333333 }, { 0x00000000, 0x00000003, 0xffff8003 }, { 0x00000000, 0xffffffff, 0x7fffffff }, { 0x00000000, 0xffffff83, 0xffffff83 }, { 0x00000000, 0x00000000, 0xffff8000 }, { 0x00000000, 0x00000055, 0x55555555 }, { 0x00000000, 0xffffff81, 0xffffff81 }, { 0x00000000, 0xfffffffe, 0xfffffffe }, { 0x00000000, 0xffffffff, 0x7fffffff }, { 0x00000000, 0xffffffff, 0x7fffffff }, { 0x00000000, 0x00000003, 0xffff8003 }, { 0x00000000, 0xffffffff, 0xffffffff }, { 0x00000000, 0xfffffffd, 0x00007ffd }, { 0x00000000, 0xffffffff, 0x00007fff }, { 0x00000000, 0xffffffff, 0xffffffff }, { 0x00000000, 0x00000003, 0xffff8003 }, { 0x00000000, 0xfffffffd, 0xfffffffd }, { 0x00000000, 0x00000000, 0x80000000 }, { 0x00000000, 0x00000020, 0x00000020 }, { 0x00000000, 0x00000002, 0x00000002 }, { 0x00000000, 0x00000002, 0x00000002 }, { 0x00000000, 0xffffffff, 0x00007fff }, { 0x00000000, 0x00000001, 0x00000001 }, { 0x00000000, 0xffffffff, 0x00007fff }, { 0x00000000, 0x00000020, 0x00000020 }, { 0x00000000, 0xffffffe0, 0xffffffe0 }, { 0x00000000, 0xffffffaa, 0xaaaaaaaa }, { 0x00000000, 0x00000001, 0xffff8001 }, { 0x00000000, 0x00000001, 0x80000001 }, { 0x00000000, 0x00000000, 0xffff8000 }, { 0x00000000, 0x00000001, 0xffff8001 }, { 0x00000000, 0x00000000, 0x00000000 }, { 0x00000000, 0x00000033, 0x33333333 }, { 0x00000000, 0xffffff80, 0xffffff80 }, { 0x00000000, 0x00000055, 0x55555555 }, { 0x00000000, 0xffffffff, 0xffffffff }, }; const Inputs kOutputs_Sxtb_Rotations_al_r0_r1_ROR_0[] = { { 0x00000000, 0x00000000, 0x00000000 }, { 0x00000000, 0x00000001, 0x00000001 }, { 0x00000000, 0x00000002, 0x00000002 }, { 0x00000000, 0x00000020, 0x00000020 }, { 0x00000000, 0x0000007d, 0x0000007d }, { 0x00000000, 0x0000007e, 0x0000007e }, { 0x00000000, 0x0000007f, 0x0000007f }, { 0x00000000, 0xfffffffd, 0x00007ffd }, { 0x00000000, 0xfffffffe, 0x00007ffe }, { 0x00000000, 0xffffffff, 0x00007fff }, { 0x00000000, 0x00000033, 0x33333333 }, { 0x00000000, 0x00000055, 0x55555555 }, { 0x00000000, 0xfffffffd, 0x7ffffffd }, { 0x00000000, 0xfffffffe, 0x7ffffffe }, { 0x00000000, 0xffffffff, 0x7fffffff }, { 0x00000000, 0x00000000, 0x80000000 }, { 0x00000000, 0x00000001, 0x80000001 }, { 0x00000000, 0xffffffaa, 0xaaaaaaaa }, { 0x00000000, 0xffffffcc, 0xcccccccc }, { 0x00000000, 0x00000000, 0xffff8000 }, { 0x00000000, 0x00000001, 0xffff8001 }, { 0x00000000, 0x00000002, 0xffff8002 }, { 0x00000000, 0x00000003, 0xffff8003 }, { 0x00000000, 0xffffff80, 0xffffff80 }, { 0x00000000, 0xffffff81, 0xffffff81 }, { 0x00000000, 0xffffff82, 0xffffff82 }, { 0x00000000, 0xffffff83, 0xffffff83 }, { 0x00000000, 0xffffffe0, 0xffffffe0 }, { 0x00000000, 0xfffffffd, 0xfffffffd }, { 0x00000000, 0xfffffffe, 0xfffffffe }, { 0x00000000, 0xffffffff, 0xffffffff }, }; const Inputs kOutputs_Sxtb_Rotations_al_r0_r1_ROR_8[] = { { 0x00000000, 0x00000000, 0x00000000 }, { 0x00000000, 0x00000000, 0x00000001 }, { 0x00000000, 0x00000000, 0x00000002 }, { 0x00000000, 0x00000000, 0x00000020 }, { 0x00000000, 0x00000000, 0x0000007d }, { 0x00000000, 0x00000000, 0x0000007e }, { 0x00000000, 0x00000000, 0x0000007f }, { 0x00000000, 0x0000007f, 0x00007ffd }, { 0x00000000, 0x0000007f, 0x00007ffe }, { 0x00000000, 0x0000007f, 0x00007fff }, { 0x00000000, 0x00000033, 0x33333333 }, { 0x00000000, 0x00000055, 0x55555555 }, { 0x00000000, 0xffffffff, 0x7ffffffd }, { 0x00000000, 0xffffffff, 0x7ffffffe }, { 0x00000000, 0xffffffff, 0x7fffffff }, { 0x00000000, 0x00000000, 0x80000000 }, { 0x00000000, 0x00000000, 0x80000001 }, { 0x00000000, 0xffffffaa, 0xaaaaaaaa }, { 0x00000000, 0xffffffcc, 0xcccccccc }, { 0x00000000, 0xffffff80, 0xffff8000 }, { 0x00000000, 0xffffff80, 0xffff8001 }, { 0x00000000, 0xffffff80, 0xffff8002 }, { 0x00000000, 0xffffff80, 0xffff8003 }, { 0x00000000, 0xffffffff, 0xffffff80 }, { 0x00000000, 0xffffffff, 0xffffff81 }, { 0x00000000, 0xffffffff, 0xffffff82 }, { 0x00000000, 0xffffffff, 0xffffff83 }, { 0x00000000, 0xffffffff, 0xffffffe0 }, { 0x00000000, 0xffffffff, 0xfffffffd }, { 0x00000000, 0xffffffff, 0xfffffffe }, { 0x00000000, 0xffffffff, 0xffffffff }, }; const Inputs kOutputs_Sxtb_Rotations_al_r0_r1_ROR_16[] = { { 0x00000000, 0x00000000, 0x00000000 }, { 0x00000000, 0x00000000, 0x00000001 }, { 0x00000000, 0x00000000, 0x00000002 }, { 0x00000000, 0x00000000, 0x00000020 }, { 0x00000000, 0x00000000, 0x0000007d }, { 0x00000000, 0x00000000, 0x0000007e }, { 0x00000000, 0x00000000, 0x0000007f }, { 0x00000000, 0x00000000, 0x00007ffd }, { 0x00000000, 0x00000000, 0x00007ffe }, { 0x00000000, 0x00000000, 0x00007fff }, { 0x00000000, 0x00000033, 0x33333333 }, { 0x00000000, 0x00000055, 0x55555555 }, { 0x00000000, 0xffffffff, 0x7ffffffd }, { 0x00000000, 0xffffffff, 0x7ffffffe }, { 0x00000000, 0xffffffff, 0x7fffffff }, { 0x00000000, 0x00000000, 0x80000000 }, { 0x00000000, 0x00000000, 0x80000001 }, { 0x00000000, 0xffffffaa, 0xaaaaaaaa }, { 0x00000000, 0xffffffcc, 0xcccccccc }, { 0x00000000, 0xffffffff, 0xffff8000 }, { 0x00000000, 0xffffffff, 0xffff8001 }, { 0x00000000, 0xffffffff, 0xffff8002 }, { 0x00000000, 0xffffffff, 0xffff8003 }, { 0x00000000, 0xffffffff, 0xffffff80 }, { 0x00000000, 0xffffffff, 0xffffff81 }, { 0x00000000, 0xffffffff, 0xffffff82 }, { 0x00000000, 0xffffffff, 0xffffff83 }, { 0x00000000, 0xffffffff, 0xffffffe0 }, { 0x00000000, 0xffffffff, 0xfffffffd }, { 0x00000000, 0xffffffff, 0xfffffffe }, { 0x00000000, 0xffffffff, 0xffffffff }, }; const Inputs kOutputs_Sxtb_Rotations_al_r0_r1_ROR_24[] = { { 0x00000000, 0x00000000, 0x00000000 }, { 0x00000000, 0x00000000, 0x00000001 }, { 0x00000000, 0x00000000, 0x00000002 }, { 0x00000000, 0x00000000, 0x00000020 }, { 0x00000000, 0x00000000, 0x0000007d }, { 0x00000000, 0x00000000, 0x0000007e }, { 0x00000000, 0x00000000, 0x0000007f }, { 0x00000000, 0x00000000, 0x00007ffd }, { 0x00000000, 0x00000000, 0x00007ffe }, { 0x00000000, 0x00000000, 0x00007fff }, { 0x00000000, 0x00000033, 0x33333333 }, { 0x00000000, 0x00000055, 0x55555555 }, { 0x00000000, 0x0000007f, 0x7ffffffd }, { 0x00000000, 0x0000007f, 0x7ffffffe }, { 0x00000000, 0x0000007f, 0x7fffffff }, { 0x00000000, 0xffffff80, 0x80000000 }, { 0x00000000, 0xffffff80, 0x80000001 }, { 0x00000000, 0xffffffaa, 0xaaaaaaaa }, { 0x00000000, 0xffffffcc, 0xcccccccc }, { 0x00000000, 0xffffffff, 0xffff8000 }, { 0x00000000, 0xffffffff, 0xffff8001 }, { 0x00000000, 0xffffffff, 0xffff8002 }, { 0x00000000, 0xffffffff, 0xffff8003 }, { 0x00000000, 0xffffffff, 0xffffff80 }, { 0x00000000, 0xffffffff, 0xffffff81 }, { 0x00000000, 0xffffffff, 0xffffff82 }, { 0x00000000, 0xffffffff, 0xffffff83 }, { 0x00000000, 0xffffffff, 0xffffffe0 }, { 0x00000000, 0xffffffff, 0xfffffffd }, { 0x00000000, 0xffffffff, 0xfffffffe }, { 0x00000000, 0xffffffff, 0xffffffff }, }; const TestResult kReferenceSxtb[] = { { ARRAY_SIZE(kOutputs_Sxtb_Condition_eq_r0_r0_ROR_0), kOutputs_Sxtb_Condition_eq_r0_r0_ROR_0, }, { ARRAY_SIZE(kOutputs_Sxtb_Condition_ne_r0_r0_ROR_0), kOutputs_Sxtb_Condition_ne_r0_r0_ROR_0, }, { ARRAY_SIZE(kOutputs_Sxtb_Condition_cs_r0_r0_ROR_0), kOutputs_Sxtb_Condition_cs_r0_r0_ROR_0, }, { ARRAY_SIZE(kOutputs_Sxtb_Condition_cc_r0_r0_ROR_0), kOutputs_Sxtb_Condition_cc_r0_r0_ROR_0, }, { ARRAY_SIZE(kOutputs_Sxtb_Condition_mi_r0_r0_ROR_0), kOutputs_Sxtb_Condition_mi_r0_r0_ROR_0, }, { ARRAY_SIZE(kOutputs_Sxtb_Condition_pl_r0_r0_ROR_0), kOutputs_Sxtb_Condition_pl_r0_r0_ROR_0, }, { ARRAY_SIZE(kOutputs_Sxtb_Condition_vs_r0_r0_ROR_0), kOutputs_Sxtb_Condition_vs_r0_r0_ROR_0, }, { ARRAY_SIZE(kOutputs_Sxtb_Condition_vc_r0_r0_ROR_0), kOutputs_Sxtb_Condition_vc_r0_r0_ROR_0, }, { ARRAY_SIZE(kOutputs_Sxtb_Condition_hi_r0_r0_ROR_0), kOutputs_Sxtb_Condition_hi_r0_r0_ROR_0, }, { ARRAY_SIZE(kOutputs_Sxtb_Condition_ls_r0_r0_ROR_0), kOutputs_Sxtb_Condition_ls_r0_r0_ROR_0, }, { ARRAY_SIZE(kOutputs_Sxtb_Condition_ge_r0_r0_ROR_0), kOutputs_Sxtb_Condition_ge_r0_r0_ROR_0, }, { ARRAY_SIZE(kOutputs_Sxtb_Condition_lt_r0_r0_ROR_0), kOutputs_Sxtb_Condition_lt_r0_r0_ROR_0, }, { ARRAY_SIZE(kOutputs_Sxtb_Condition_gt_r0_r0_ROR_0), kOutputs_Sxtb_Condition_gt_r0_r0_ROR_0, }, { ARRAY_SIZE(kOutputs_Sxtb_Condition_le_r0_r0_ROR_0), kOutputs_Sxtb_Condition_le_r0_r0_ROR_0, }, { ARRAY_SIZE(kOutputs_Sxtb_Condition_al_r0_r0_ROR_0), kOutputs_Sxtb_Condition_al_r0_r0_ROR_0, }, { ARRAY_SIZE(kOutputs_Sxtb_RdIsRn_al_r0_r0_ROR_0), kOutputs_Sxtb_RdIsRn_al_r0_r0_ROR_0, }, { ARRAY_SIZE(kOutputs_Sxtb_RdIsRn_al_r1_r1_ROR_0), kOutputs_Sxtb_RdIsRn_al_r1_r1_ROR_0, }, { ARRAY_SIZE(kOutputs_Sxtb_RdIsRn_al_r2_r2_ROR_0), kOutputs_Sxtb_RdIsRn_al_r2_r2_ROR_0, }, { ARRAY_SIZE(kOutputs_Sxtb_RdIsRn_al_r3_r3_ROR_0), kOutputs_Sxtb_RdIsRn_al_r3_r3_ROR_0, }, { ARRAY_SIZE(kOutputs_Sxtb_RdIsRn_al_r4_r4_ROR_0), kOutputs_Sxtb_RdIsRn_al_r4_r4_ROR_0, }, { ARRAY_SIZE(kOutputs_Sxtb_RdIsRn_al_r5_r5_ROR_0), kOutputs_Sxtb_RdIsRn_al_r5_r5_ROR_0, }, { ARRAY_SIZE(kOutputs_Sxtb_RdIsRn_al_r6_r6_ROR_0), kOutputs_Sxtb_RdIsRn_al_r6_r6_ROR_0, }, { ARRAY_SIZE(kOutputs_Sxtb_RdIsRn_al_r7_r7_ROR_0), kOutputs_Sxtb_RdIsRn_al_r7_r7_ROR_0, }, { ARRAY_SIZE(kOutputs_Sxtb_RdIsRn_al_r8_r8_ROR_0), kOutputs_Sxtb_RdIsRn_al_r8_r8_ROR_0, }, { ARRAY_SIZE(kOutputs_Sxtb_RdIsRn_al_r9_r9_ROR_0), kOutputs_Sxtb_RdIsRn_al_r9_r9_ROR_0, }, { ARRAY_SIZE(kOutputs_Sxtb_RdIsRn_al_r10_r10_ROR_0), kOutputs_Sxtb_RdIsRn_al_r10_r10_ROR_0, }, { ARRAY_SIZE(kOutputs_Sxtb_RdIsRn_al_r11_r11_ROR_0), kOutputs_Sxtb_RdIsRn_al_r11_r11_ROR_0, }, { ARRAY_SIZE(kOutputs_Sxtb_RdIsRn_al_r12_r12_ROR_0), kOutputs_Sxtb_RdIsRn_al_r12_r12_ROR_0, }, { ARRAY_SIZE(kOutputs_Sxtb_RdIsRn_al_r14_r14_ROR_0), kOutputs_Sxtb_RdIsRn_al_r14_r14_ROR_0, }, { ARRAY_SIZE(kOutputs_Sxtb_RdIsNotRn_al_r1_r8_ROR_0), kOutputs_Sxtb_RdIsNotRn_al_r1_r8_ROR_0, }, { ARRAY_SIZE(kOutputs_Sxtb_RdIsNotRn_al_r7_r4_ROR_0), kOutputs_Sxtb_RdIsNotRn_al_r7_r4_ROR_0, }, { ARRAY_SIZE(kOutputs_Sxtb_RdIsNotRn_al_r14_r10_ROR_0), kOutputs_Sxtb_RdIsNotRn_al_r14_r10_ROR_0, }, { ARRAY_SIZE(kOutputs_Sxtb_RdIsNotRn_al_r10_r6_ROR_0), kOutputs_Sxtb_RdIsNotRn_al_r10_r6_ROR_0, }, { ARRAY_SIZE(kOutputs_Sxtb_RdIsNotRn_al_r6_r5_ROR_0), kOutputs_Sxtb_RdIsNotRn_al_r6_r5_ROR_0, }, { ARRAY_SIZE(kOutputs_Sxtb_RdIsNotRn_al_r12_r2_ROR_0), kOutputs_Sxtb_RdIsNotRn_al_r12_r2_ROR_0, }, { ARRAY_SIZE(kOutputs_Sxtb_RdIsNotRn_al_r0_r11_ROR_0), kOutputs_Sxtb_RdIsNotRn_al_r0_r11_ROR_0, }, { ARRAY_SIZE(kOutputs_Sxtb_RdIsNotRn_al_r10_r14_ROR_0), kOutputs_Sxtb_RdIsNotRn_al_r10_r14_ROR_0, }, { ARRAY_SIZE(kOutputs_Sxtb_RdIsNotRn_al_r0_r5_ROR_0), kOutputs_Sxtb_RdIsNotRn_al_r0_r5_ROR_0, }, { ARRAY_SIZE(kOutputs_Sxtb_RdIsNotRn_al_r0_r3_ROR_0), kOutputs_Sxtb_RdIsNotRn_al_r0_r3_ROR_0, }, { ARRAY_SIZE(kOutputs_Sxtb_Rotations_al_r0_r1_ROR_0), kOutputs_Sxtb_Rotations_al_r0_r1_ROR_0, }, { ARRAY_SIZE(kOutputs_Sxtb_Rotations_al_r0_r1_ROR_8), kOutputs_Sxtb_Rotations_al_r0_r1_ROR_8, }, { ARRAY_SIZE(kOutputs_Sxtb_Rotations_al_r0_r1_ROR_16), kOutputs_Sxtb_Rotations_al_r0_r1_ROR_16, }, { ARRAY_SIZE(kOutputs_Sxtb_Rotations_al_r0_r1_ROR_24), kOutputs_Sxtb_Rotations_al_r0_r1_ROR_24, }, }; #endif // VIXL_SIMULATOR_COND_RD_OPERAND_RN_ROR_AMOUNT_SXTB_A32_H_
40.937054
80
0.718922
668211f61021b352ebf39af14695324bb6156255
7,001
dart
Dart
lib/src/pages/admin_page_panels/admin_dashboard.dart
hakanbakacak/flutter_web_dashboard
02acdf064f99810381338ba77c859dd5f5e1aced
[ "MIT" ]
null
null
null
lib/src/pages/admin_page_panels/admin_dashboard.dart
hakanbakacak/flutter_web_dashboard
02acdf064f99810381338ba77c859dd5f5e1aced
[ "MIT" ]
null
null
null
lib/src/pages/admin_page_panels/admin_dashboard.dart
hakanbakacak/flutter_web_dashboard
02acdf064f99810381338ba77c859dd5f5e1aced
[ "MIT" ]
null
null
null
import 'package:flutter/material.dart'; import '../../widget/card_tile.dart'; import '../../widget/chart_card_tile.dart'; import '../../widget/quick_contact.dart'; class AdminDashboard extends StatelessWidget { DateTime now = DateTime.now(); @override Widget build(BuildContext context) { return Container( width: MediaQuery.of(context).size.width-270, height: MediaQuery.of(context).size.height-55, child:ListView(children: [ Column( crossAxisAlignment: CrossAxisAlignment.start, children: [ Row( children:[ Padding( padding: const EdgeInsets.all(15.0), child: CardTile(cardTitle: "Tıbbi Görüntü", icon: Icons.image_aspect_ratio, iconBgColor: Color(0xFF7560ED), mainText: "3421", subText: "Toplam Tıbbi Görüntü Sayısı",), ), Padding( padding: const EdgeInsets.all(15.0), child: CardTile(cardTitle: "Tahlil", icon: Icons.insert_drive_file, iconBgColor: Color(0xFF25C6DA), mainText: "5042", subText: "Toplam Tahlil Sayısı",), ), Padding( padding: const EdgeInsets.all(15.0), child: CardTile(cardTitle: "Sözleşme", icon: Icons.check, iconBgColor: Colors.orange, mainText: "8010", subText: "Aktif Sözleşme Sayısı",), ), Padding( padding: const EdgeInsets.all(15.0), child: CardTile(cardTitle: "Boyut", icon: Icons.image_aspect_ratio, iconBgColor: Colors.pinkAccent, mainText: "14GB", subText: "Toplam Veri Boyutu",), ) ] ), Row( crossAxisAlignment: CrossAxisAlignment.start, children: [ Column( children: [ Padding( padding: const EdgeInsets.all(15.0), child: ChartCardTile( cardColor: Color(0xFF7560ED), cardTitle: 'Harcanan MSC', subText: "0"+now.month.toString()+"/" +now.year.toString() , icon: Icons.healing, typeText: '4570 MSC'), ), Padding( padding: const EdgeInsets.all(15.0), child: ChartCardTile(cardColor: Color(0xFF25C6DA), cardTitle: 'Potansiyel Veri', subText: 'Kriterlerinize Uygun, Erişilebilecek\nTahlil ve Tıbbi Görüntü Sayısı', icon: Icons.cloud_upload, typeText: '35487'), ), ], ), Padding( padding: const EdgeInsets.all(15.0), child: DataListView(), ), QuickContact(media: MediaQuery.of(context).size) ], ), ], ) ],) ); } } class DataListView extends StatefulWidget { @override _DataListViewState createState() => _DataListViewState(); } class _DataListViewState extends State<DataListView> { @override Widget build(BuildContext context) { return Container( width: MediaQuery.of(context).size.width/2-270, height: MediaQuery.of(context).size.height*0.5+30, decoration: BoxDecoration(borderRadius: BorderRadius.circular(4), color:Colors.white), child:Column( crossAxisAlignment:CrossAxisAlignment.start, children:[ Padding( padding: const EdgeInsets.all(15.0), child: Column( crossAxisAlignment: CrossAxisAlignment.start, children: [ Text("Sözleşmeler"), Container( width: MediaQuery.of(context).size.width/2-271, height: MediaQuery.of(context).size.height*0.5-17, child: ListView( children: [ DataListItem("Akciğer Kanserli Hasta MR", 14), DataListItem("Epilepsi Beyin Tomografisi", 3), DataListItem("Covid-19 Tanılı Konulmuş Kan Testi", 45), DataListItem("Böbrek Yetmezliği Kan Testi", 65), DataListItem("Şeker Hastalığı EKG Sonucu", 20), DataListItem("Parkingson Hastalığı MR", 23), DataListItem("Alzheimer Hastalığı Tomografisi", 30), DataListItem("Pankreas Kanseri Röntgen Filmi", 33), DataListItem("Akciğer Kanserli Hasta MR", 14), DataListItem("Epilepsi Beyin Tomografisi", 3), DataListItem("Covid-19 Tanılı Konulmuş Kan Testi", 45), DataListItem("Böbrek Yetmezliği Kan Testi", 65), DataListItem("Şeker Hastalığı EKG Sonucu", 20), DataListItem("Parkingson Hastalığı MR", 23), DataListItem("Alzheimer Hastalığı Tomografisi", 30), DataListItem("Akciğer Kanserli Hasta MR", 14), DataListItem("Epilepsi Beyin Tomografisi", 3), DataListItem("Covid-19 Tanılı Konulmuş Kan Testi", 45), DataListItem("Böbrek Yetmezliği Kan Testi", 65), DataListItem("Şeker Hastalığı EKG Sonucu", 20), DataListItem("Parkingson Hastalığı MR", 23), DataListItem("Alzheimer Hastalığı Tomografisi", 30), DataListItem("Pankreas Kanseri Röntgen Filmi", 33), DataListItem("Akciğer Kanserli Hasta MR", 14), DataListItem("Epilepsi Beyin Tomografisi", 3), DataListItem("Covid-19 Tanılı Konulmuş Kan Testi", 45), DataListItem("Böbrek Yetmezliği Kan Testi", 65), DataListItem("Şeker Hastalığı EKG Sonucu", 20), DataListItem("Parkingson Hastalığı MR", 23), DataListItem("Alzheimer Hastalığı Tomografisi", 30), ], ), ) ], ), ), ] ) ); } } class DataListItem extends StatefulWidget { DataListItem(this.mainText, this.remainingTime); String mainText; int remainingTime; @override _DataListItemState createState() => _DataListItemState(); } class _DataListItemState extends State<DataListItem> { @override Widget build(BuildContext context) { return Container( width: MediaQuery.of(context).size.width/2-270, height: 50, color: Color(0xfeeeeefe), child:Row(children: [ SizedBox(width:300, child: Padding( padding: const EdgeInsets.only(left:8.0), child: Text(widget.mainText), )), SizedBox(width:100, child: Text(widget.remainingTime.toString()+ " Gün")), SizedBox(width:50, child: CircleAvatar(backgroundColor:Colors.white70, child: IconButton(color: Colors.black, icon: Icon(Icons.add), onPressed: (){widget.remainingTime++; setState(() { });}))), ],) ); } }
41.672619
223
0.561063
837634473e16677a76b8b8ea02e0f8c15aea2e6c
622
kt
Kotlin
src/main/kotlin/dataclass/App.kt
masahitojp/dataset-to-map
6c8c04024bf9b161054cb6491408f8a4964a117a
[ "Apache-2.0" ]
null
null
null
src/main/kotlin/dataclass/App.kt
masahitojp/dataset-to-map
6c8c04024bf9b161054cb6491408f8a4964a117a
[ "Apache-2.0" ]
null
null
null
src/main/kotlin/dataclass/App.kt
masahitojp/dataset-to-map
6c8c04024bf9b161054cb6491408f8a4964a117a
[ "Apache-2.0" ]
null
null
null
/* * This Kotlin source file was generated by the Gradle 'init' task. */ package dataclass import com.fasterxml.jackson.module.kotlin.jacksonObjectMapper import dataclass.utils.asMap import dataclass.utils.serializeToMap import dataclass.utils.serializeToMapWithJackson fun main(args: Array<String>) { val dataclass = Foo(1, Bar(1, 2)).asMap() val map = dataclass.toMutableMap() map.putIfAbsent("aa", 3) val mapper = jacksonObjectMapper() val dataclassAsMap = dataclass.serializeToMapWithJackson() print(dataclassAsMap) val gsonAsMap = dataclass.serializeToMap() print(gsonAsMap) }
24.88
67
0.749196
2aaffaba7e174626c56fb85dea546bfb136300b5
262
sql
SQL
gcp-test/tests/gcp_compute_subnetwork/test-get-query.sql
xanonid/steampipe-plugin-gcp
f0e6a76233c367d227e4b80f142035f174ff4e46
[ "Apache-2.0" ]
10
2021-01-21T19:06:58.000Z
2022-03-14T06:25:51.000Z
gcp-test/tests/gcp_compute_subnetwork/test-get-query.sql
Leectan/steampipe-plugin-gcp
c000c1e234fd53e2c52243a44f64d0856bf6f60f
[ "Apache-2.0" ]
191
2021-01-22T07:14:32.000Z
2022-03-30T15:44:33.000Z
gcp-test/tests/gcp_compute_subnetwork/test-get-query.sql
Leectan/steampipe-plugin-gcp
c000c1e234fd53e2c52243a44f64d0856bf6f60f
[ "Apache-2.0" ]
6
2021-05-04T21:29:31.000Z
2021-11-11T20:21:03.000Z
select name, description, network_name, kind, description, enable_flow_logs, log_config_enable, gateway_address, ip_cidr_range, network, region, self_link, secondary_ip_ranges, project, location from gcp.gcp_compute_subnetwork where name = '{{ resourceName }}'
87.333333
195
0.820611
75e00014bdb8b871dbbb54e13c20bed58d0b471f
3,224
php
PHP
application/index/controller/Base.php
343382140/o2o
ac3243780b426a1d1860115c89d9524ae190b066
[ "Apache-2.0" ]
null
null
null
application/index/controller/Base.php
343382140/o2o
ac3243780b426a1d1860115c89d9524ae190b066
[ "Apache-2.0" ]
null
null
null
application/index/controller/Base.php
343382140/o2o
ac3243780b426a1d1860115c89d9524ae190b066
[ "Apache-2.0" ]
null
null
null
<?php namespace app\index\controller; use think\Controller; class Base extends Controller { // 当前城市 public $city = ""; //当前登录用户 public $account = ""; public $categorys =[]; public $defaultCity = ""; public function _initialize() { //当前选择城市 //获取一级城市数据 //getCitysByParentId(0)不可用,分页的原因获取不到全部 $citys = model('City')->getCitysByParentIdNoPager(0); // print_r($citys); // exit(); //获取当前选择的城市 $this->getCity($citys); // print_r($this->city); // exit(); //获取首页推荐分类 $categorys = $this->getRecommendCategorys(0, 8); //传递数据到view $this->assign('citys', $citys); $this->assign('city', $this->city); $this->assign('categorys', $categorys); $this->assign('loginUser',$this->getLoginUser()); } public function getCity($citys){ foreach ($citys as $city) { $city = $city->toArray(); if ($city['is_default']==1) { $defaultCity = $city['name']; break;//终止foreach } } // foreach ($citys as $city) { // if ($city['is_default']) { // $defaultCity = $city['name']; // break; // } // } //dump($city);exit; //默认城市 $defaultCity = $defaultCity ? $defaultCity : '湛江'; //若session中国已保存,则直接获取session中的值 if (session('city', '', 'o2o') && !input('get.city')) { $city_name = session('city', '', 'o2o'); } else { //当前选择城市 input(获取数据, 如果没有则默认值, 过滤空格。 $city_name = input('get.city', $defaultCity, 'trim'); session('city', $city_name , 'o2o'); } //dump($city_name);exit; $this->city = model('City')->where(['name'=>$city_name])->find(); } //获取登录用户 public function getLoginUser() { $account = session('user', '', 'o2o'); return $account; } //获取首页推荐以及分类 public function getRecommendCategorys($parent_id, $limit) { $parent_ids = []; $childCategorysArray = []; $recommendCategorys =[]; //获取一级分类 $categorys = model('Category')->getCategorysByParentIdLimit($parent_id, $limit); // print_r($categorys);exit(); //获取一级分类的id,保存于数组中 foreach ($categorys as $category) { $parent_ids[] = $category->id; } // print_r($parent_ids);exit(); //获取一级分类对应的二级分类 $childCategorys = model('Category')->getChildCategoryByParentId($parent_ids); foreach ($childCategorys as $childCategory) { $childCategorysArray[$childCategory->parent_id][]= [ 'id' => $childCategory->id, 'name' => $childCategory->name, ]; } // print_r($childCategorysArray);exit(); foreach ($categorys as $category) { // $recommendCategorys 保存所有推荐分类的数据(包括一级二级) // $category->name 一级分类的名称 //childCategorysArray 一级分类对应的二级分类 $recommendCategorys[$category->id] = [$category->name, empty($childCategorysArray[$category->id]) ?[]:$childCategorysArray[$category->id]]; } // print_r($recommendCategorys);exit(); return $recommendCategorys; } }
31.607843
151
0.540323
40a53d0124ba1fcbe0ce3a83076a2a027f86c9fc
3,011
py
Python
src/sendmail.py
renan2scarvalho/MDI_PDE_2030
a919fd7b5755f421e80f6ee4d90d245f2e176184
[ "MIT" ]
null
null
null
src/sendmail.py
renan2scarvalho/MDI_PDE_2030
a919fd7b5755f421e80f6ee4d90d245f2e176184
[ "MIT" ]
null
null
null
src/sendmail.py
renan2scarvalho/MDI_PDE_2030
a919fd7b5755f421e80f6ee4d90d245f2e176184
[ "MIT" ]
null
null
null
""" Description: Envio de E-mails Author: @Palin Created: 2021-04-26 Copyright: (c) Ampere Consultoria Ltda """ import os import sys try: import smtplib from email import encoders from email.mime.base import MIMEBase from email.mime.multipart import MIMEMultipart from email.mime.text import MIMEText from dynaconf import Dynaconf settings = Dynaconf( envvar_prefix="AMPERE", settings_files=["settings.toml", ".secrets.toml"], environments=True, load_dotenv=True, ) except ImportError as error: print(error) print(f"error.name: {error.name}") print(f"error.path: {error.path}") def send_email( MSG_TO: str, MSG_TITULO: str, HTML_BODY_MSG: str, PATH_FILE_ANEXO: str = None ): """Dispara e-mail utilizando SMTPLIB Args: MSG_TO (str): e-mail do destinatário MSG_TITULO (str): Título da Mensagem HTML_BODY_MSG (str): Corpo da Mensagem em Html PATH_FILE_ANEXO (str): string com o caminho completo e nome do arquivo anexo. """ msg = MIMEMultipart() msg["From"] = settings.SMTP_MSG_FROM msg["To"] = MSG_TO msg["Subject"] = MSG_TITULO # ANEXA HTML DO CORPO DO EMAIL part1 = MIMEText(HTML_BODY_MSG, "html") msg.attach(part1) if PATH_FILE_ANEXO: part2 = MIMEBase("application", "octet-stream") try: with open(PATH_FILE_ANEXO, "rb") as fp: part2.set_payload(fp.read()) encoders.encode_base64(part2) part2.add_header( "Content-Disposition", "attachment", filename=os.path.basename(PATH_FILE_ANEXO), ) msg.attach(part2) except: print("Unable to open one of the attachments. Error: ", sys.exc_info()[0]) raise mailServer = smtplib.SMTP(settings.SMTP_HOST, settings.SMTP_PORT) mailServer.ehlo() mailServer.starttls() mailServer.ehlo() mailServer.login(settings.SMTP_USER, settings.SMTP_PASSWORD) mailServer.sendmail(settings.SMTP_MSG_FROM, MSG_TO, msg.as_string()) mailServer.close() def send_email_plain_text(MSG_TO: str, MSG_TITULO: str, STR_MSG_CONTEUDO: str): """Dispara e-mail utilizando SMTPLIB Args: MSG_TO (str): e-mail do destinatário MSG_TITULO (str): Título da Mensagem STR_MSG_CONTEUDO (str): Corpo da Mensagem em TXT """ msg = MIMEMultipart() msg["From"] = settings.SMTP_MSG_FROM msg["To"] = MSG_TO msg["Subject"] = MSG_TITULO # ANEXA HTML DO CORPO DO EMAIL part1 = MIMEText(STR_MSG_CONTEUDO, "plain") msg.attach(part1) mailServer = smtplib.SMTP(settings.SMTP_HOST, settings.SMTP_PORT) mailServer.ehlo() mailServer.starttls() mailServer.ehlo() mailServer.login(settings.SMTP_USER, settings.SMTP_PASSWORD) mailServer.sendmail(settings.SMTP_MSG_FROM, MSG_TO, msg.as_string()) mailServer.close()
28.40566
86
0.643308
39505b654b28755210dda5a89866a1be49cdfe9f
980
html
HTML
webapp/index.html
dracovoldy/DLIMS1812
ebb49222ffc256682b61f6e354fbbd3ff5cc9c59
[ "MIT" ]
null
null
null
webapp/index.html
dracovoldy/DLIMS1812
ebb49222ffc256682b61f6e354fbbd3ff5cc9c59
[ "MIT" ]
null
null
null
webapp/index.html
dracovoldy/DLIMS1812
ebb49222ffc256682b61f6e354fbbd3ff5cc9c59
[ "MIT" ]
null
null
null
<!DOCTYPE HTML> <html> <head> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta http-equiv='Content-Type' content='text/html;charset=UTF-8'/> <script src="https://sapui5.hana.ondemand.com/1.71.13/resources/sap-ui-core.js" id="sap-ui-bootstrap" data-sap-ui-compatVersion="edge" data-sap-ui-libs="sap.m,sap.ui.table,sap.ui.layout" data-sap-ui-theme="sap_fiori_3" data-sap-ui-xx-bindingSyntax="complex" data-sap-ui-resourceroots='{ "com.limscloud.app" : "./" }'> </script> <!-- only load the mobile lib "sap.m" and the "sap_bluecrystal" theme --> <script> new sap.m.Shell({ app: new sap.ui.core.ComponentContainer({ name : "com.limscloud.app" }), appWidthLimited: false }).placeAt("content"); </script> <link rel="stylesheet" type="text/css" href="css/style.css"> </head> <body class="sapUiBody" role="application"> <div id="content"></div> </body> </html>
29.69697
80
0.622449
0b96aaa21f422ac0c7d22576279c69b61dd42c95
154
py
Python
Test/two/payments/momo/urls.py
titan256/Python-Django-Assignment
9f56f69ea7182456729116e27435231925d24d11
[ "MIT" ]
null
null
null
Test/two/payments/momo/urls.py
titan256/Python-Django-Assignment
9f56f69ea7182456729116e27435231925d24d11
[ "MIT" ]
9
2020-06-05T23:53:04.000Z
2022-02-10T08:33:32.000Z
Test/two/payments/momo/urls.py
titan256/Python-Django-Assignment
9f56f69ea7182456729116e27435231925d24d11
[ "MIT" ]
null
null
null
from django.contrib import admin from django.urls import path , include from . import views urlpatterns = [ path('',views.index,name='index') ]
19.25
38
0.701299
3e92555e80ab321e5994b991aa98e7baeb7e902c
420
h
C
lib/include/llvmPy/RT/Scope.h
milliburn/llvmPy
d6fa3002e823fae00cf33d9b2ea480604681376c
[ "MIT" ]
1
2019-01-22T02:58:04.000Z
2019-01-22T02:58:04.000Z
lib/include/llvmPy/RT/Scope.h
roberth-k/llvmPy
d6fa3002e823fae00cf33d9b2ea480604681376c
[ "MIT" ]
null
null
null
lib/include/llvmPy/RT/Scope.h
roberth-k/llvmPy
d6fa3002e823fae00cf33d9b2ea480604681376c
[ "MIT" ]
null
null
null
#pragma once #include <string> #include <llvmPy/Support/Testing.h> #ifdef __cplusplus namespace llvmPy { class Scope { public: Scope(); explicit Scope(Scope &parent); virtual ~Scope(); MOCK_VIRTUAL bool hasParent() const; MOCK_VIRTUAL Scope &getParent() const; virtual size_t getSlotCount() const = 0; private: Scope * const _parent; }; } // namespace llvmPy #endif // __cplusplus
14
44
0.680952
ff7624d9af5008ae2fc6b853c698d9c37f3a9823
281
swift
Swift
DarkLight/Localizations/LocalizedUtils.swift
L1cardo/DarkLight
6de9c535ef5e519f3d226ed69b443dfbf1e158f3
[ "MIT" ]
16
2019-11-15T16:00:54.000Z
2022-02-08T02:01:56.000Z
DarkLight/Localizations/LocalizedUtils.swift
L1cardo/DarkLight
6de9c535ef5e519f3d226ed69b443dfbf1e158f3
[ "MIT" ]
3
2019-11-15T15:58:14.000Z
2021-11-25T05:59:59.000Z
DarkLight/Localizations/LocalizedUtils.swift
L1cardo/DarkLight
6de9c535ef5e519f3d226ed69b443dfbf1e158f3
[ "MIT" ]
null
null
null
// // LocalizedUtils.swift // DarkLight // // Created by Licardo on 2019/11/6. // Copyright © 2019 Licardo. All rights reserved. // import Foundation // localization extension String { var localized: String { return NSLocalizedString(self, comment: self) } }
16.529412
53
0.672598
79eaa1cd8af9adce1aea4ccd5d744d3369817702
467
swift
Swift
CarouselDesign/CarouselDesign/Views/SecondCollectionViewCell.swift
tamappe/CarouselDesign
ecc89641991bb41c86a4ecd20e71bce6d273dc45
[ "MIT" ]
null
null
null
CarouselDesign/CarouselDesign/Views/SecondCollectionViewCell.swift
tamappe/CarouselDesign
ecc89641991bb41c86a4ecd20e71bce6d273dc45
[ "MIT" ]
1
2020-11-03T10:52:43.000Z
2020-11-03T10:52:43.000Z
CarouselDesign/CarouselDesign/Views/SecondCollectionViewCell.swift
tamappe/CarouselDesign
ecc89641991bb41c86a4ecd20e71bce6d273dc45
[ "MIT" ]
null
null
null
// // SecondCollectionViewCell.swift // CarouselDesign // // Created by 玉置 on 2020/10/11. // import UIKit class SecondCollectionViewCell: UICollectionViewCell { static let identifier: String = "SecondCollectionViewCell" static let widthInset: CGFloat = 20.0 static let cellWidth: CGFloat = 330 static let cellHeight: CGFloat = 240 override func awakeFromNib() { super.awakeFromNib() // Initialization code } }
19.458333
62
0.680942
92d944be65b2d35fc9c15a3a7576226af8457852
122
h
C
Pod/Classes/yesteryear/UIFont+Yesteryear.h
parakeety/GoogleFontsiOS
46a0d144b32b14f06f3605568ab210ad390c8e96
[ "MIT" ]
10
2015-08-07T19:43:38.000Z
2019-03-06T10:40:11.000Z
Pod/Classes/yesteryear/UIFont+Yesteryear.h
Maxatma/GoogleFontsiOS
46a0d144b32b14f06f3605568ab210ad390c8e96
[ "MIT" ]
3
2016-03-01T10:29:45.000Z
2017-03-30T12:23:06.000Z
Pod/Classes/yesteryear/UIFont+Yesteryear.h
Maxatma/GoogleFontsiOS
46a0d144b32b14f06f3605568ab210ad390c8e96
[ "MIT" ]
4
2016-02-10T12:34:29.000Z
2020-04-08T07:18:23.000Z
#import <UIKit/UIKit.h> @interface UIFont (Yesteryear) + (instancetype)yesteryearRegularFontOfSize:(CGFloat)size; @end
15.25
58
0.778689
4e17a207e821108a480b535c13a013d61d24489d
87,641
rs
Rust
lib/mem/src/lease/hard.rs
swimos/swim-kernel
312b5f4adfca2260db0b55c72066bb2547137208
[ "Apache-2.0", "MIT" ]
7
2019-04-18T02:57:03.000Z
2020-11-19T06:12:10.000Z
lib/mem/src/lease/hard.rs
swimos/swim-kernel
312b5f4adfca2260db0b55c72066bb2547137208
[ "Apache-2.0", "MIT" ]
null
null
null
lib/mem/src/lease/hard.rs
swimos/swim-kernel
312b5f4adfca2260db0b55c72066bb2547137208
[ "Apache-2.0", "MIT" ]
2
2020-10-13T01:25:52.000Z
2022-02-09T04:06:59.000Z
use core::fmt::{self, Display, Debug, Pointer, Formatter}; use core::hash::{Hash, Hasher}; use core::marker::PhantomData; use core::mem; use core::ptr::{self, NonNull}; use core::sync::atomic::{self, AtomicUsize}; use core::sync::atomic::Ordering::{Acquire, Relaxed, Release, SeqCst}; use crate::block::{self, Block, Layout}; use crate::alloc::{AllocTag, Hold, Holder, HoldError, Stow, TryClone}; use crate::lease::{arc, ArcHeader, ArcError, Lease, Mut, Ref, Soft}; use crate::resident::{Resident, ResidentFromValue, ResidentFromClone, ResidentFromCloneUnchecked, ResidentFromCopy, ResidentFromCopyUnchecked, ResidentFromEmpty, ResidentWithCapacity, ResidentUnwrap, ResidentHash, ResidentDisplay, ResidentDebug, ResidentStow}; /// A thread-safe, atomically counted, undereferenceable hard reference to a /// `Resident` occuping a shared, `Hold`-allocated memory block. pub struct Hard<'a, R: Resident> { /// Pointer to the resident memory block. data: NonNull<R::Data>, /// Variant over R::Data, with drop check. data_lifetime: PhantomData<R::Data>, /// Variant over ArcHeader<R::Meta>, with drop check. meta_lifetime: PhantomData<ArcHeader<R::Meta>>, /// Variant over 'a. hold_lifetime: PhantomData<&'a ()>, } unsafe impl<'a, R: Resident> Send for Hard<'a, R> where R::Data: Send, R::Meta: Send { } unsafe impl<'a, R: Resident> Sync for Hard<'a, R> where R::Data: Sync, R::Meta: Sync { } impl<'a, R: Resident> Hard<'a, R> { #[inline] pub fn try_hold_new_meta<T, M>(hold: &dyn Hold<'a>, data: T, meta: M) -> Result<Hard<'a, R>, HoldError> where R: ResidentFromValue<Hard<'a, R>, T, M> { unsafe { // Allocate a new arc structure. let resident = arc::alloc_new::<R, Hard<'a, R>, T, M>(hold, &data, &meta, arc::HARD_STATUS_INIT)?; // Construct a new Hard lease. let mut lease = Hard::from_raw(resident); // Initialize the new resident. R::new_resident(&mut lease, data, meta); // Return the new lease. Ok(lease) } } #[inline] pub fn try_hold_clone_meta<T: ?Sized, M>(hold: &dyn Hold<'a>, data: &T, meta: M) -> Result<Hard<'a, R>, HoldError> where R: ResidentFromClone<Hard<'a, R>, T, M> { unsafe { // Allocate a new arc structure. let resident = arc::alloc_clone::<R, Hard<'a, R>, T, M>(hold, &data, &meta, arc::HARD_STATUS_INIT)?; // Construct a new Hard lease. let mut lease = Hard::from_raw(resident); // Initialize the new resident. R::new_resident(&mut lease, data, meta); // Return the new lease. Ok(lease) } } #[inline] pub unsafe fn try_hold_clone_unchecked_meta<T: ?Sized, M>(hold: &dyn Hold<'a>, data: &T, meta: M) -> Result<Hard<'a, R>, HoldError> where R: ResidentFromCloneUnchecked<Hard<'a, R>, T, M> { // Allocate a new arc structure. let resident = arc::alloc_clone_unchecked::<R, Hard<'a, R>, T, M>(hold, &data, &meta, arc::HARD_STATUS_INIT)?; // Construct a new Hard lease. let mut lease = Hard::from_raw(resident); // Initialize the new resident. R::new_resident(&mut lease, data, meta); // Return the new lease. Ok(lease) } #[inline] pub fn try_hold_copy_meta<T: ?Sized, M>(hold: &dyn Hold<'a>, data: &T, meta: M) -> Result<Hard<'a, R>, HoldError> where R: ResidentFromCopy<Hard<'a, R>, T, M> { unsafe { // Allocate a new arc structure. let resident = arc::alloc_copy::<R, Hard<'a, R>, T, M>(hold, &data, &meta, arc::HARD_STATUS_INIT)?; // Construct a new Hard lease. let mut lease = Hard::from_raw(resident); // Initialize the new resident. R::new_resident(&mut lease, data, meta); // Return the new lease. Ok(lease) } } #[inline] pub unsafe fn try_hold_copy_unchecked_meta<T: ?Sized, M>(hold: &dyn Hold<'a>, data: &T, meta: M) -> Result<Hard<'a, R>, HoldError> where R: ResidentFromCopyUnchecked<Hard<'a, R>, T, M> { // Allocate a new arc structure. let resident = arc::alloc_copy_unchecked::<R, Hard<'a, R>, T, M>(hold, &data, &meta, arc::HARD_STATUS_INIT)?; // Construct a new Hard lease. let mut lease = Hard::from_raw(resident); // Initialize the new resident. R::new_resident(&mut lease, data, meta); // Return the new lease. Ok(lease) } #[inline] pub fn try_hold_empty_meta<M>(hold: &dyn Hold<'a>, meta: M) -> Result<Hard<'a, R>, HoldError> where R: ResidentFromEmpty<Hard<'a, R>, M> { unsafe { // Allocate a new arc structure. let resident = arc::alloc_empty::<R, Hard<'a, R>, M>(hold, &meta, arc::HARD_STATUS_INIT)?; // Construct a new Hard lease. let mut lease = Hard::from_raw(resident); // Initialize the new resident. R::new_resident(&mut lease, meta); // Return the new lease. Ok(lease) } } #[inline] pub fn try_hold_cap_meta<M>(hold: &dyn Hold<'a>, cap: usize, meta: M) -> Result<Hard<'a, R>, HoldError> where R: ResidentWithCapacity<Hard<'a, R>, M> { unsafe { // Allocate a new arc structure. let resident = arc::alloc_cap::<R, Hard<'a, R>, M>(hold, cap, &meta, arc::HARD_STATUS_INIT)?; // Construct a new Hard lease. let mut lease = Hard::from_raw(resident); // Initialize the new resident. R::new_resident(&mut lease, cap, meta); // Return the new lease. Ok(lease) } } #[inline] pub fn try_hold_new<T>(hold: &dyn Hold<'a>, data: T) -> Result<Hard<'a, R>, HoldError> where R: ResidentFromValue<Hard<'a, R>, T> { Hard::try_hold_new_meta(hold, data, ()) } #[inline] pub fn try_hold_clone<T: ?Sized>(hold: &dyn Hold<'a>, data: &T) -> Result<Hard<'a, R>, HoldError> where R: ResidentFromClone<Hard<'a, R>, T> { Hard::try_hold_clone_meta(hold, data, ()) } #[inline] pub unsafe fn try_hold_clone_unchecked<T: ?Sized>(hold: &dyn Hold<'a>, data: &T) -> Result<Hard<'a, R>, HoldError> where R: ResidentFromCloneUnchecked<Hard<'a, R>, T> { Hard::try_hold_clone_unchecked_meta(hold, data, ()) } #[inline] pub fn try_hold_copy<T: ?Sized>(hold: &dyn Hold<'a>, data: &T) -> Result<Hard<'a, R>, HoldError> where R: ResidentFromCopy<Hard<'a, R>, T> { Hard::try_hold_copy_meta(hold, data, ()) } #[inline] pub unsafe fn try_hold_copy_unchecked<T: ?Sized>(hold: &dyn Hold<'a>, data: &T) -> Result<Hard<'a, R>, HoldError> where R: ResidentFromCopyUnchecked<Hard<'a, R>, T> { Hard::try_hold_copy_unchecked_meta(hold, data, ()) } #[inline] pub fn try_hold_empty(hold: &dyn Hold<'a>) -> Result<Hard<'a, R>, HoldError> where R: ResidentFromEmpty<Hard<'a, R>> { Hard::try_hold_empty_meta(hold, ()) } #[inline] pub fn try_hold_cap(hold: &dyn Hold<'a>, cap: usize) -> Result<Hard<'a, R>, HoldError> where R: ResidentWithCapacity<Hard<'a, R>> { Hard::try_hold_cap_meta(hold, cap, ()) } #[inline] pub fn hold_new<T>(hold: &dyn Hold<'a>, data: T) -> Hard<'a, R> where R: ResidentFromValue<Hard<'a, R>, T> { Hard::try_hold_new(hold, data).unwrap() } #[inline] pub fn hold_clone<T: ?Sized>(hold: &dyn Hold<'a>, data: &T) -> Hard<'a, R> where R: ResidentFromClone<Hard<'a, R>, T> { Hard::try_hold_clone(hold, data).unwrap() } #[inline] pub unsafe fn hold_clone_unchecked<T: ?Sized>(hold: &dyn Hold<'a>, data: &T) -> Hard<'a, R> where R: ResidentFromCloneUnchecked<Hard<'a, R>, T> { Hard::try_hold_clone_unchecked(hold, data).unwrap() } #[inline] pub fn hold_copy<T: ?Sized>(hold: &dyn Hold<'a>, data: &T) -> Hard<'a, R> where R: ResidentFromCopy<Hard<'a, R>, T> { Hard::try_hold_copy(hold, data).unwrap() } #[inline] pub unsafe fn hold_copy_unchecked<T: ?Sized>(hold: &dyn Hold<'a>, data: &T) -> Hard<'a, R> where R: ResidentFromCopyUnchecked<Hard<'a, R>, T> { Hard::try_hold_copy_unchecked(hold, data).unwrap() } #[inline] pub fn hold_empty(hold: &dyn Hold<'a>) -> Hard<'a, R> where R: ResidentFromEmpty<Hard<'a, R>> { Hard::try_hold_empty(hold).unwrap() } #[inline] pub fn hold_cap(hold: &dyn Hold<'a>, cap: usize) -> Hard<'a, R> where R: ResidentWithCapacity<Hard<'a, R>> { Hard::try_hold_cap(hold, cap).unwrap() } #[inline] pub fn new<T>(data: T) -> Hard<'a, R> where R: ResidentFromValue<Hard<'a, R>, T> { Hard::hold_new(Hold::global(), data) } #[inline] pub fn from_clone<T: ?Sized>(data: &T) -> Hard<'a, R> where R: ResidentFromClone<Hard<'a, R>, T> { Hard::hold_clone(Hold::global(), data) } #[inline] pub unsafe fn from_clone_unchecked<T: ?Sized>(data: &T) -> Hard<'a, R> where R: ResidentFromCloneUnchecked<Hard<'a, R>, T> { Hard::hold_clone_unchecked(Hold::global(), data) } #[inline] pub fn from_copy<T: ?Sized>(data: &T) -> Hard<'a, R> where R: ResidentFromCopy<Hard<'a, R>, T> { Hard::hold_copy(Hold::global(), data) } #[inline] pub unsafe fn from_copy_unchecked<T: ?Sized>(data: &T) -> Hard<'a, R> where R: ResidentFromCopyUnchecked<Hard<'a, R>, T> { Hard::hold_copy_unchecked(Hold::global(), data) } #[inline] pub fn empty() -> Hard<'a, R> where R: ResidentFromEmpty<Hard<'a, R>> { Hard::hold_empty(Hold::global()) } #[inline] pub fn with_cap(cap: usize) -> Hard<'a, R> where R: ResidentWithCapacity<Hard<'a, R>> { Hard::hold_cap(Hold::global(), cap) } /// Constructs a `Hard` lease from a raw pointer returned by `Hard::into_raw`. #[inline] pub unsafe fn from_raw(data: *mut R::Data) -> Hard<'a, R> { Hard { data: NonNull::new_unchecked(data), data_lifetime: PhantomData, meta_lifetime: PhantomData, hold_lifetime: PhantomData, } } /// Returns a pointer to the `ArcHeader` preceding the shared resident. #[inline] fn header(&self) -> *mut ArcHeader<R::Meta> { arc::header::<R>(self.data.as_ptr()) } /// Returns the number of hard references to the shared resident. /// Does not traverse relocations. #[inline] pub fn hard_count(&self) -> usize { unsafe { (*self.header()).hard_count() } } /// Returns the number of soft references to the shared resident. /// Does not traverse relocations. #[inline] pub fn soft_count(&self) -> usize { unsafe { (*self.header()).soft_count() } } /// Returns the number of immutable references to the shared resident. /// Does not traverse relocations. #[inline] pub fn ref_count(&self) -> usize { unsafe { (*self.header()).ref_count() } } /// Returns `true` if the shared resident is mutably referenced. /// Does not traverse relocations. #[inline] pub fn is_mut(&self) -> bool { unsafe { (*self.header()).is_mut() } } /// Returns `true` if the shared resident has relocated to a new arc. #[inline] pub fn is_relocated(&self) -> bool { unsafe { (*self.header()).is_relocated() } } /// Returns `true` if the shared resident is immutably or mutably referenced. /// Does not traverse relocations. #[inline] pub fn is_aliased(&self) -> bool { unsafe { (*self.header()).is_aliased() } } /// Returns a mutable lease to the resident, traversing any completed /// relocations, cloning the resident if there are any outstanding leases, /// and returning an error if there is an outstanding mutable lease, if /// the resident is currently being relocated, or on allocation failure. pub fn poll_unique(&self) -> Result<Mut<'a, R>, ArcError> where R::Data: TryClone, R::Meta: TryClone, { unsafe { // Get a pointer to the shared resident. let mut data = self.data.as_ptr(); // Get a pointer to the arc header preceding the resident. let mut header = arc::header::<R>(data); // Load the status field; synchronized by subsequent CAS. let mut old_status = (*header).status.load(Relaxed); // Check if unique, and traverse relocations. loop { // Check if the resident is uniquely referenced. if old_status == arc::UNIQUE_STATUS { // Set the mut flag in the status field. let new_status = old_status | arc::MUT_FLAG; // Atomically update the status field, synchronizing with reference releases. match (*header).status.compare_exchange(old_status, new_status, Acquire, Relaxed) { // CAS succeeded; return a new mutable lease. Ok(_) => return Ok(Mut::from_raw(data)), // CAS failed. Err(_) => (), } } else if old_status & arc::RELOCATED_FLAG != 0 { // Synchronize with relocation initiation. atomic::fence(Release); // Get a fat pointer to the relocated resident, synchronizing with relocation completion. let relocation = block::set_address(data, (*header).relocation.load(Acquire)); // Check if the relocation has completed. if !relocation.is_null() { // Recurse into the relocated lease. data = relocation; // Get a pointer to the relocated header. header = arc::header::<R>(data); // Reload the status field. old_status = (*header).status.load(Relaxed); // Try to make the relocated resident unique. continue; } } else { // Temporarily reify the arc's relocation lease. let relocation = mem::transmute::<*mut R::Data, Hard<'a, R>>(data); // Get an immutable lease to the relocated resident. let lease = relocation.poll_ref(); // Discard the borrowed relocation lease. mem::forget(relocation); // Make the relocated lease unique, and return it. return Ref::try_into_unique(lease?); } // Unable to acquire a mutable lease at this time. return Err(ArcError::Contended); } } } /// Returns a mutable lease to the resident, traversing any completed /// relocations, waiting for any concurrent relocation to complete, /// cloning the resident if there are any outstanding leases, and /// returning an error on allocation failure or hard refcount overflow. pub fn try_to_unique(&self) -> Result<Mut<'a, R>, ArcError> where R::Data: TryClone, R::Meta: TryClone, { unsafe { // Get a pointer to the shared resident. let mut data = self.data.as_ptr(); // Get a pointer to the arc header preceding the resident. let mut header = arc::header::<R>(data); // Load the status field; synchronized by subsequent CAS. let mut old_status = (*header).status.load(Relaxed); // Check if unique, and traverse relocations. loop { // Check if the resident is uniquely referenced. if old_status == arc::UNIQUE_STATUS { // Extract the hard reference count from the status field. let old_hard_count = old_status & arc::HARD_COUNT_MASK; // Increment the hard reference count. let new_hard_count = old_hard_count.wrapping_add(1); // Check if the incremented hard reference count overflows its bit field. if new_hard_count > arc::HARD_COUNT_MAX { return Err(ArcError::HardCountOverflow); } // Clear the hard reference count bit field. let new_status = old_status & !arc::HARD_COUNT_MASK; // Splice the incremented hard reference count into the status field, and set the mut flag. let new_status = new_status | new_hard_count | arc::MUT_FLAG; // Atomically update the status field, synchronizing with reference releases. match (*header).status.compare_exchange_weak(old_status, new_status, Acquire, Relaxed) { // CAS succeeded; return a new mutable lease. Ok(_) => return Ok(Mut::from_raw(data)), // CAS failed; update the status field and try again. Err(status) => old_status = status, } } else if old_status & arc::RELOCATED_FLAG != 0 { // Synchronize with relocation initiation. atomic::fence(Release); // Get a fat pointer to the relocated resident, synchronizing with relocation completion. let relocation = block::set_address(data, (*header).relocation.load(Acquire)); // Check if the relocation has completed. if !relocation.is_null() { // Recurse into the relocated lease. data = relocation; // Get a pointer to the relocated header. header = arc::header::<R>(data); } // Reload the status field and spin. old_status = (*header).status.load(Relaxed); } else { // Temporarily reify the arc's relocation lease. let relocation = mem::transmute::<*mut R::Data, Hard<'a, R>>(data); // Get an immutable lease to the relocated resident. let lease = relocation.poll_ref(); // Discard the borrowed relocation lease. mem::forget(relocation); // Make the relocated lease unique, and return it. return Ref::try_into_unique(lease?); } } } } /// Returns a mutable lease to the resident, traversing any completed /// relocations, waiting for any concurrent relocation to complete, /// and cloning the resident if there are any outstanding leases. /// /// # Panics /// /// Panics on allocation failure or hard refcount overflow. pub fn to_unique(&self) -> Mut<'a, R> where R::Data: TryClone, R::Meta: TryClone, { self.try_to_unique().unwrap() } /// Converts this hard lease into a mutable lease to the resident, /// traversing any completed relocations, waiting for any concurrent /// relocations to complete, cloning the resident if there are any /// outstanding leases, and returning an error on allocation failure. /// /// # Panics /// /// Panics if the incremented hard reference count overflows `HARD_COUNT_MAX`, /// or if the incremented reference count overflows `REF_COUNT_MAX`. pub fn try_into_unique(mut self) -> Result<Mut<'a, R>, ArcError> where R::Data: TryClone, R::Meta: TryClone, { unsafe { // Get a pointer to the shared resident. let mut data = self.data.as_ptr(); // Get a pointer to the arc header preceding the resident. let mut header = arc::header::<R>(data); // Load the status field; synchronized by subsequent CAS. let mut old_status = (*header).status.load(Relaxed); // Check if unique, and traverse relocations. loop { // Check if the resident is uniquely referenced. if old_status == arc::UNIQUE_STATUS { // Set the mut flag in the status field. let new_status = old_status | arc::MUT_FLAG; // Atomically update the status field, synchronizing with reference releases. match (*header).status.compare_exchange_weak(old_status, new_status, Acquire, Relaxed) { // CAS succeeded; return a new mutable lease. Ok(_) => return Ok(Mut::from_raw(data)), // CAS failed; update the status field and try again. Err(status) => old_status = status, } } else if old_status & arc::RELOCATED_FLAG != 0 { // Synchronize with relocation initiation. atomic::fence(Release); // Get a fat pointer to the relocated resident, synchronizing with relocation completion. let relocation = block::set_address(data, (*header).relocation.load(Acquire)); // Check if the relocation has completed. if !relocation.is_null() { // Temporarily reify the arc's relocation lease. let relocation = mem::transmute::<*mut R::Data, Hard<'a, R>>(data); // Recurse into the relocated lease. self = relocation.clone(); // Discard the borrowed relocation lease. mem::forget(relocation); // Get a pointer to the relocated resident. data = self.data.as_ptr(); // Get a pointer to the relocated header. header = arc::header::<R>(data); } // Reload the status field and spin. old_status = (*header).status.load(Relaxed); } else { // Get an immutable lease to the resident, bailing on failure. let lease = self.into_ref(); // Make the immutable lease unique, and return it. return Ref::try_into_unique(lease); } } } } /// Converts this hard lease into a mutable lease to the resident, /// traversing any completed relocations, waiting for any concurrent /// relocations to complete, and cloning the resident if there are any /// outstanding leases. /// /// # Panics /// /// Panics on allocation failure. pub fn into_unique(self) -> Mut<'a, R> where R::Data: TryClone, R::Meta: TryClone, { self.try_into_unique().unwrap() } /// Returns a new mutable lease to the shared resident, traversing any /// complered relocations, and returning an error if the resident is /// currently being relocated, if there is an outstanding mutable lease, /// or if there is atomic operation contention. /// /// # Safety /// /// Mutable leases can coexist with hard and soft leases to the same /// resident. This can cause a future deadlock if a thread holding a /// mutable lease to a resident attempts to convert another hard or soft /// lease to the same resident into a mutable or immutable lease. pub unsafe fn poll_mut(&self) -> Result<Mut<'a, R>, ArcError> { // Get a pointer to the shared resident. let mut data = self.data.as_ptr(); // Get a pointer to the arc header preceding the resident. let mut header = arc::header::<R>(data); // Load the status field; synchronized by subsequent CAS. let mut old_status = (*header).status.load(Relaxed); // Traverse relocations. loop { // Check if the shared resident can be mutably referenced. if old_status & arc::READ_LOCKED_MASK == 0 { // Set the mut flag in the status field. let new_status = old_status | arc::MUT_FLAG; // Atomically update the status field, synchronizing with reference releases. match (*header).status.compare_exchange(old_status, new_status, Acquire, Relaxed) { // CAS succeeded; return a new mutable lease. Ok(_) => return Ok(Mut::from_raw(data)), // CAS failed. Err(_) => return Err(ArcError::Contended), } } else if old_status & arc::RELOCATED_FLAG != 0 { // Synchronize with relocation initiation. atomic::fence(Release); // Get a fat pointer to the relocated resident, synchronizing with relocation completion. let relocation = block::set_address(data, (*header).relocation.load(Acquire)); // Check if the relocation has completed. if !relocation.is_null() { // Recurse into the relocated lease. data = relocation; // Get a pointer to the relocated header. header = arc::header::<R>(data); // Load the relocated status field and repeat. old_status = (*header).status.load(Relaxed); } else { return Err(ArcError::Relocating); } } else { return Err(ArcError::Aliased); } } } /// Returns a new mutable lease to the shared resident, traversing any /// completed relocations, waiting for any concurrent relocation to /// complete and for any outstanding mutable or immutable leases to drop, /// and returning an error if the incremented hard reference count /// overflows `HARD_COUNT_MAX`. /// /// # Safety /// /// Deadlocks if the current thread already holds a mutable or immutable /// lease to the shared resident. Can cause a future deadlock if a thread /// holding a mutable lease to a resident attempts to convert another hard /// or soft lease to the same resident into a mutable or immutable lease. pub unsafe fn try_to_mut(&self) -> Result<Mut<'a, R>, ArcError> { // Get a pointer to the shared resident. let mut data = self.data.as_ptr(); // Get a pointer to the arc header preceding the resident. let mut header = arc::header::<R>(data); // Load the status field; synchronized by subsequent CAS. let mut old_status = (*header).status.load(Relaxed); // Traverse relocations, and spin until a mutable reference is acquired. loop { // Check if the shared resident can be mutably referenced. if old_status & arc::READ_LOCKED_MASK == 0 { // Extract the hard reference count from the status field. let old_hard_count = old_status & arc::HARD_COUNT_MASK; // Increment the hard reference count. let new_hard_count = old_hard_count.wrapping_add(1); // Check if the incremented hard reference count overflows its bit field. if new_hard_count > arc::HARD_COUNT_MAX { return Err(ArcError::HardCountOverflow); } // Clear the hard reference count bit field. let new_status = old_status & !arc::HARD_COUNT_MASK; // Splice the incremented hard reference count into the status field, and set the mut flag. let new_status = new_status | new_hard_count | arc::MUT_FLAG; // Atomically update the status field, synchronizing with reference releases. match (*header).status.compare_exchange_weak(old_status, new_status, Acquire, Relaxed) { // CAS succeeded; return a new mutable lease. Ok(_) => return Ok(Mut::from_raw(data)), // CAS failed; update the status field and try again. Err(status) => old_status = status, } } else { // Check if the shared resident is concurrently relocating. if old_status & arc::RELOCATED_FLAG != 0 { // Synchronize with relocation initiation. atomic::fence(Release); // Get a fat pointer to the relocated resident, synchronizing with relocation completion. let relocation = block::set_address(data, (*header).relocation.load(Acquire)); // Check if the relocation has completed. if !relocation.is_null() { // Recurse into the relocated lease. data = relocation; // Get a pointer to the relocated header. header = arc::header::<R>(data); } } // Concurrently relocating; reload the status field and spin. old_status = (*header).status.load(Relaxed); } } } /// Returns a new mutable lease to the shared resident, traversing any /// completed relocations, and waiting for any concurrent relocation to /// complete and for any outstanding mutable or immutable leases to drop. /// /// # Safety /// /// Deadlocks if the current thread already holds a mutable or immutable /// lease to the shared resident. Can cause a future deadlock if a thread /// holding a mutable lease to a resident attempts to convert another hard /// or soft lease to the same resident into a mutable or immutable lease. /// /// # Panics /// /// Panics if the incremented hard reference count overflows `HARD_COUNT_MAX`. pub unsafe fn to_mut(&self) -> Mut<'a, R> { self.try_to_mut().unwrap() } /// Converts this hard lease into a mutable lease to the shared resident, /// traversing any completed relocations, waiting for any concurrent /// relocations to complete and for any outstanding mutable or immutable /// leases to drop, and returning an error if an incremented hard reference /// count overflows `HARD_COUNT_MAX`. /// /// # Safety /// /// Deadlocks if the current thread already holds a mutable or immutable /// lease to the shared resident. Can cause a future deadlock if a thread /// holding a mutable lease to a resident attempts to convert another hard /// or soft lease to the same resident into a mutable or immutable lease. pub unsafe fn try_into_mut(self) -> Result<Mut<'a, R>, ArcError> { // Get a pointer to the shared resident. let data = self.data.as_ptr(); // Get a pointer to the arc header preceding the resident. let header = arc::header::<R>(data); // Load the status field; synchronized by subsequent CAS. let mut old_status = (*header).status.load(Relaxed); // Spin until a mutable reference is acquired. loop { // Check if the shared resident can be mutably referenced. if old_status & arc::READ_LOCKED_MASK == 0 { // Set the mut flag in the status field. let new_status = old_status | arc::MUT_FLAG; // Atomically update the status field, synchronizing with reference releases. match (*header).status.compare_exchange_weak(old_status, new_status, Acquire, Relaxed) { // CAS succeeded. Ok(_) => { // Discard the original lease, whose hard reference we took. mem::forget(self); // Return a new mutable lease. return Ok(Mut::from_raw(data)); }, // CAS failed; update the status field and try again. Err(status) => old_status = status, } } else { // Check if the shared resident is concurrently relocating. if old_status & arc::RELOCATED_FLAG != 0 { // Synchronize with relocation initiation. atomic::fence(Release); // Get a fat pointer to the relocated resident, synchronizing with relocation completion. let relocation = block::set_address(data, (*header).relocation.load(Acquire)); // Check if the relocation has completed. if !relocation.is_null() { // Temporarily reify the arc's relocation lease. let relocation = mem::transmute::<*mut R::Data, Hard<'a, R>>(relocation); // Recurse into the relocated lease. let lease = relocation.try_to_mut(); // Discard the borrowed relocation lease. mem::forget(relocation); // Return the newly acquired lease. return lease; } } // Concurrently relocating; reload the status field and spin. old_status = (*header).status.load(Relaxed); } } } /// Converts this hard lease into a mutable lease to the shared resident, /// traversing any completed relocations, and waiting for any concurrent /// relocations to complete and for any outstanding mutable or immutable /// leases to drop. /// /// # Safety /// /// Deadlocks if the current thread already holds a mutable or immutable /// lease to the shared resident. Can cause a future deadlock if a thread /// holding a mutable lease to a resident attempts to convert another hard /// or soft lease to the same resident into a mutable or immutable lease. /// /// # Panics /// /// Panics if an incremented hard reference count overflows `HARD_COUNT_MAX`. pub unsafe fn into_mut(self) -> Mut<'a, R> { self.try_into_mut().unwrap() } /// Returns a new immutable lease to the shared resident, traversing any /// completed relocations, and returning an error if the reisdent is /// currently being relocated, or if there is an outstanding mutable lease, /// or if there is atomic operation contention, or if obtaining the lease /// would cause a reference count overflow. pub fn poll_ref(&self) -> Result<Ref<'a, R>, ArcError> { unsafe { // Get a pointer to the shared resident. let mut data = self.data.as_ptr(); // Get a pointer to the arc header preceding the resident. let mut header = arc::header::<R>(data); // Load the status field; synchronized by subsequent CAS. let mut old_status = (*header).status.load(Relaxed); // Traverse relocations. loop { // Check if the shared resident is not mutably referenced, and is not concurrently relocating. if old_status & arc::WRITE_LOCKED_MASK == 0 { // Extract the hard reference count from the status field. let old_hard_count = old_status & arc::HARD_COUNT_MASK; // Increment the hard reference count. let new_hard_count = old_hard_count.wrapping_add(1); // Check if the incremented hard reference count overflows its bit field. if new_hard_count > arc::HARD_COUNT_MAX { return Err(ArcError::HardCountOverflow); } // Extract the immutable reference count from the status field. let old_ref_count = (old_status & arc::REF_COUNT_MASK) >> arc::REF_COUNT_SHIFT; // Increment the immutable reference count. let new_ref_count = old_ref_count.wrapping_add(1); // Check if the incremented shared reference count overflows its bit field. if new_ref_count > arc::REF_COUNT_MAX { return Err(ArcError::RefCountOverflow); } // Clear the hard and immutable reference count bit fields. let new_status = old_status & !(arc::HARD_COUNT_MASK | arc::REF_COUNT_MASK); // Splice the incremented hard and immutable reference counts into the status field. let new_status = new_status | new_hard_count | new_ref_count << arc::REF_COUNT_SHIFT; // Atomically update the status field, synchronizing with reference releases. match (*header).status.compare_exchange(old_status, new_status, Acquire, Relaxed) { // CAS succeeded; return a new immutable lease. Ok(_) => return Ok(Ref::from_raw(data)), // CAS failed; abort. Err(_) => return Err(ArcError::Contended), } } else if old_status & arc::RELOCATED_FLAG != 0 { // Synchronize with relocation initiation. atomic::fence(Release); // Get a fat pointer to the relocated resident, synchronizing with relocation completion. let relocation = block::set_address(data, (*header).relocation.load(Acquire)); // Check if the relocation has completed. if !relocation.is_null() { // Recurse into the relocated lease. data = relocation; // Get a pointer to the relocated header. header = arc::header::<R>(data); // Load the relocated status field and repeat. old_status = (*header).status.load(Relaxed); } else { return Err(ArcError::Relocating); } } else { return Err(ArcError::Aliased); } } } } /// Returns a new immutable lease to the shared resident, traversing any /// completed relocations, waiting for any concurrent relocation to /// complete and for any outstanding mutable lease to drop, and returning /// an error if the incremented hard reference count overflows `HARD_COUNT_MAX`, /// or if the incremented reference count overflows `REF_COUNT_MAX`. pub fn try_to_ref(&self) -> Result<Ref<'a, R>, ArcError> { unsafe { // Get a pointer to the shared resident. let mut data = self.data.as_ptr(); // Get a pointer to the arc header preceding the resident. let mut header = arc::header::<R>(data); // Load the status field; synchronized by subsequent CAS. let mut old_status = (*header).status.load(Relaxed); // Traverse relocations, and spin until an immutable reference is acquired. loop { // Check if the shared resident is not mutably referenced, and is not concurrently relocating. if old_status & arc::WRITE_LOCKED_MASK == 0 { // Extract the hard reference count from the status field. let old_hard_count = old_status & arc::HARD_COUNT_MASK; // Increment the hard reference count. let new_hard_count = old_hard_count.wrapping_add(1); // Check if the incremented hard reference count overflows its bit field. if new_hard_count > arc::HARD_COUNT_MAX { return Err(ArcError::HardCountOverflow); } // Extract the immutable reference count from the status field. let old_ref_count = (old_status & arc::REF_COUNT_MASK) >> arc::REF_COUNT_SHIFT; // Increment the immutable reference count. let new_ref_count = old_ref_count.wrapping_add(1); // Check if the incremented shared reference count overflows its bit field. if new_ref_count > arc::REF_COUNT_MAX { return Err(ArcError::RefCountOverflow); } // Clear the hard and immutable reference count bit fields. let new_status = old_status & !(arc::HARD_COUNT_MASK | arc::REF_COUNT_MASK); // Splice the incremented hard and immutable reference counts into the status field. let new_status = new_status | new_hard_count | new_ref_count << arc::REF_COUNT_SHIFT; // Atomically update the status field, synchronizing with reference releases. match (*header).status.compare_exchange_weak(old_status, new_status, Acquire, Relaxed) { // CAS succeeded; return a new immutable lease. Ok(_) => return Ok(Ref::from_raw(data)), // CAS failed; update the status field and try again. Err(status) => old_status = status, } } else { // Check if the shared resident is concurrently relocating. if old_status & arc::RELOCATED_FLAG != 0 { // Synchronize with relocation initiation. atomic::fence(Release); // Get a fat pointer to the relocated resident, synchronizing with relocation completion. let relocation = block::set_address(data, (*header).relocation.load(Acquire)); // Check if the relocation has completed. if !relocation.is_null() { // Recurse into the relocated lease. data = relocation; // Get a pointer to the relocated header. header = arc::header::<R>(data); } } // Concurrently relocating; reload the status field and spin. old_status = (*header).status.load(Relaxed); } } } } /// Returns a new immutable lease to the shared resident, traversing any /// completed relocations, waiting for any concurrent relocation to /// complete, and for any outstanding mutable lease to drop. /// /// # Panics /// /// Panics if the incremented hard reference count overflows `HARD_COUNT_MAX`, /// or if the incremented reference count overflows `REF_COUNT_MAX`. pub fn to_ref(&self) -> Ref<'a, R> { self.try_to_ref().unwrap() } /// Converts this hard lease into an immutable lease to the shared /// resident, traversing any completed relocations, waiting for any /// concurrent relocation to complete and for any outstanding mutable /// leases to drop, and returning an error if the incremented hard /// reference count overflows `HARD_COUNT_MAX`, or if the incremented /// immutable reference count overflows `REF_COUNT_MAX`. pub fn try_into_ref(self) -> Result<Ref<'a, R>, ArcError> { unsafe { // Get a pointer to the shared resident. let data = self.data.as_ptr(); // Get a pointer to the arc header preceding the resident. let header = arc::header::<R>(data); // Load the status field; synchronized by subsequent CAS. let mut old_status = (*header).status.load(Relaxed); // Traverse relocations, and spin until an immutable reference is acquired. loop { // Check if the shared resident is not mutably referenced, and is not concurrently relocating. if old_status & arc::WRITE_LOCKED_MASK == 0 { // Extract the immutable reference count from the status field. let old_ref_count = (old_status & arc::REF_COUNT_MASK) >> arc::REF_COUNT_SHIFT; // Increment the immutable reference count. let new_ref_count = old_ref_count.wrapping_add(1); // Check if the incremented shared reference count overflows its bit field. if new_ref_count > arc::REF_COUNT_MAX { return Err(ArcError::RefCountOverflow); } // Clear the immutable reference count bit field. let new_status = old_status & !arc::REF_COUNT_MASK; // Splice the incremented immutable reference count into the status field. let new_status = new_status | new_ref_count << arc::REF_COUNT_SHIFT; // Atomically update the status field, synchronizing with reference releases. match (*header).status.compare_exchange_weak(old_status, new_status, Acquire, Relaxed) { // CAS succeeded. Ok(_) => { // Discard the original lease, whose hard reference we took. mem::forget(self); // Return a new immutable lease. return Ok(Ref::from_raw(data)); }, // CAS failed; update the status field and try again. Err(status) => old_status = status, } } else { // Check if the shared resident is concurrently relocating. if old_status & arc::RELOCATED_FLAG != 0 { // Synchronize with relocation initiation. atomic::fence(Release); // Get a fat pointer to the relocated resident, synchronizing with relocation completion. let relocation = block::set_address(data, (*header).relocation.load(Acquire)); // Check if the relocation has completed. if !relocation.is_null() { // Temporarily reify the arc's relocation lease. let relocation = mem::transmute::<*mut R::Data, Hard<'a, R>>(relocation); // Recurse into the relocated lease. let lease = relocation.try_to_ref(); // Discard the borrowed relocation lease. mem::forget(relocation); // Return the newly acquired lease. return lease; } } // Concurrently relocating; reload the status field and spin. old_status = (*header).status.load(Relaxed); } } } } /// Converts this hard lease into an immutable lease to the shared /// resident, traversing any completed relocations, and waiting for any /// concurrent relocation to complete and for any outstanding mutable /// leases to drop. /// /// # Panics /// /// Panics if the incremented hard reference count overflows `HARD_COUNT_MAX`, /// or if the incremented reference count overflows `REF_COUNT_MAX`. pub fn into_ref(self) -> Ref<'a, R> { self.try_into_ref().unwrap() } /// Returns a new soft lease to the shared resident, without traversing any /// relocations, returning an error if the incremented soft reference count /// overflows `SOFT_COUNT_MAX`. pub fn try_to_soft(&self) -> Result<Soft<'a, R>, ArcError> { unsafe { // Get a pointer to the shared resident. let data = self.data.as_ptr(); // Get a pointer to the arc header preceding the resident. let header = arc::header::<R>(data); // Load the status field; synchronized by subsequent CAS. let mut old_status = (*header).status.load(Relaxed); // Spin until a soft reference is acquired. loop { // Extract the soft reference count from the status field. let old_soft_count = (old_status & arc::SOFT_COUNT_MASK) >> arc::SOFT_COUNT_SHIFT; // Increment the soft reference count. let new_soft_count = old_soft_count.wrapping_add(1); // Check if the incremented soft reference count overflows its bit field. if new_soft_count > arc::SOFT_COUNT_MAX { return Err(ArcError::SoftCountOverflow); } // Clear the soft reference count bit field. let new_status = old_status & !arc::SOFT_COUNT_MASK; // Splice the incremented soft reference count into the status field. let new_status = new_status | new_soft_count << arc::SOFT_COUNT_SHIFT; // Atomically update the status field, synchronizing with reference releases. match (*header).status.compare_exchange_weak(old_status, new_status, Acquire, Relaxed) { // CAS succeeded; return a new Soft lease. Ok(_) => return Ok(Soft::from_raw(data)), // CAS failed; update the status field and try again. Err(status) => old_status = status, } } } } /// Returns a new soft lease to the shared resident, without traversing any /// relocations. /// /// # Panics /// /// Panics if the incremented soft reference count overflows `SOFT_COUNT_MAX`. pub fn to_soft(&self) -> Soft<'a, R> { self.try_to_soft().unwrap() } /// Converts this hard lease into a soft lease to the shared resident, /// without traversing any relocations, returning an error if the /// incremented soft reference count overflows `SOFT_COUNT_MAX`. pub fn try_into_soft(self) -> Result<Soft<'a, R>, ArcError> { unsafe { // Get a pointer to the shared resident. let data = self.data.as_ptr(); // Get a pointer to the arc header preceding the resident. let header = arc::header::<R>(data); // Load the status field; synchronized by subsequent CAS. let mut old_status = (*header).status.load(Relaxed); // Spin until a soft reference is acquired. loop { // Extract the hard reference count from the status field. let old_hard_count = old_status & arc::HARD_COUNT_MASK; // Decrement the hard reference count, checking for underflow. let new_hard_count = match old_hard_count.checked_sub(1) { Some(hard_count) => hard_count, None => panic!("hard count underflow"), }; // Extract the soft reference count from the status field. let old_soft_count = (old_status & arc::SOFT_COUNT_MASK) >> arc::SOFT_COUNT_SHIFT; // Increment the soft reference count. let new_soft_count = old_soft_count.wrapping_add(1); // Check if the incremented soft reference count overflows its bit field. if new_soft_count > arc::SOFT_COUNT_MAX { return Err(ArcError::SoftCountOverflow); } // Clear the hard and soft reference count bit fields. let new_status = old_status & !(arc::HARD_COUNT_MASK | arc::SOFT_COUNT_MASK); // Splice the decremented hard and incremented soft reference counts into the status field. let new_status = new_status | new_hard_count | new_soft_count << arc::SOFT_COUNT_SHIFT; // Atomically update the status field, synchronizing with reference acquires and releases. match (*header).status.compare_exchange_weak(old_status, new_status, SeqCst, Relaxed) { // CAS succeeded. Ok(_) => { // Check if the hard count dropped to zero. if new_hard_count == 0 { // Drop the shared resident. R::resident_drop(data, &mut (*header).meta); } // Discard the original lease, whose hard reference we released. mem::forget(self); // Return a new Soft lease. return Ok(Soft::from_raw(data)); }, // CAS failed; update the status field and try again. Err(status) => old_status = status, } } } } /// Converts this hard lease into a soft lease to the shared resident, /// without traversing any relocations. /// /// # Panics /// /// Panics if the incremented soft reference count overflows `SOFT_COUNT_MAX`. pub fn into_soft(self) -> Soft<'a, R> { self.try_into_soft().unwrap() } /// Converts this hard lease into a raw pointer to the shared resident. /// Use `Hard::from_raw` to reconstitute the returned pointer back into /// a hard lease. /// /// # Safety /// /// The shared resident is not pinned to the returned memory address, and /// may be concurrently relocated at any time. A memory leak will occur /// unless the returned pointer is eventually converted back into a hard /// lease and dropped. #[inline] pub unsafe fn into_raw(self) -> *mut R::Data { let data = self.data.as_ptr(); mem::forget(self); data } /// Returns an immutable lease to the shared resident, traversing any /// completed moves, without waiting. /// /// # Panics /// /// Panics if the the shared resident is mutably aliased. pub fn borrow(&self) -> Ref<'a, R> { loop { // Try to acquire an immutable reference. match self.poll_ref() { // Immutable lease acquired. Ok(lease) => return lease, // Concurrently relocating, try again. Err(ArcError::Relocating) => (), // Lock contention encountered, try again. Err(ArcError::Contended) => (), // Immutable reference unavailable. Err(error) => panic!("{:?}", error), } } } /// Returns a raw pointer to the shared resident. /// /// # Safety /// /// The shared resident may be uninitialized, or mutably aliased, /// or may have been have relocated. #[inline] pub unsafe fn as_ptr_unchecked(&self) -> *mut R::Data { self.data.as_ptr() } /// Consumes this hard lease, traversing any completed relocations, /// and returns the shared resident; returns an error if there are /// any outstanding hard, mutable, or immutable leases. pub fn try_unwrap(mut self) -> Result<R::Target, Hard<'a, R>> where R: ResidentUnwrap<Hard<'a, R>> { unsafe { // Get a pointer to the shared resident. let mut data = self.data.as_ptr(); // Get the alignment of the resident. let align = mem::align_of_val(&*data); // Get the offset of the resident in the arc structure by rounding up // the size of the arc header to the alignment of the resident. let offset = mem::size_of::<ArcHeader<R::Meta>>() .wrapping_add(align).wrapping_sub(1) & !align.wrapping_sub(1); // Get a pointer to the arc header by subtracting the resident's // offset in the arc structure. let mut header = (data as *mut u8).wrapping_sub(offset) as *mut ArcHeader<R::Meta>; // Compute the total size of the arc structure. let size = offset.wrapping_add(R::resident_size(data, &mut (*header).meta)); // Load the status field; synchronized by subsequent CAS. let mut old_status = (*header).status.load(Relaxed); // Spin until the hard reference is released. loop { // Check if the shared resident hasn't relocated. if old_status & arc::RELOCATED_FLAG == 0 { // Extract the hard reference count from the status field. let old_hard_count = old_status & arc::HARD_COUNT_MASK; // Check if the resident has multiple hard references. if old_hard_count != 1 { // Can't unwrap an aliased resident. return Err(self); } // Clear the hard reference count bit field. let new_status = old_status & !arc::HARD_COUNT_MASK; // Extract the soft reference count from the status field. let old_soft_count = (old_status & arc::SOFT_COUNT_MASK) >> arc::SOFT_COUNT_SHIFT; // Check if all soft references have dropped. if old_soft_count == 0 { // Store the new status field; can't fail because we're the last reference of any kind. (*header).status.store(new_status, Relaxed); // Read the resident out of the arc structure. let resident = R::resident_unwrap(&self); // Drop the arc header. (*header).drop::<R>(data); // Get the block of memory containing the arc structure. let block = Block::from_raw_parts(header as *mut u8, size); // Deallocate the block. AllocTag::from_ptr(header as *mut u8).dealloc(block); // Discard the original lease, whose hard reference we released. mem::forget(self); // Return the unwrapped resident. return Ok(resident); } else { // Convert our hard reference into a soft reference to avoid racing with other soft refs. let new_soft_count = old_soft_count.wrapping_add(1); // Check if the incremented soft reference count overflows its bit field. if new_soft_count > arc::SOFT_COUNT_MAX { return Err(self); } // Clear the soft reference count bit field. let new_status = new_status & !arc::SOFT_COUNT_MASK; // Splice the incremented soft reference count into the status field. let new_status = new_status | new_soft_count << arc::SOFT_COUNT_SHIFT; // Atomically update the status field, synchronizing with reference releases. match (*header).status.compare_exchange_weak(old_status, new_status, Acquire, Relaxed) { // CAS succeeded; the last hard reference has been released. Ok(_) => { // Read the resident out of the arc structure. let resident = R::resident_unwrap(&self); // Update the status field. old_status = new_status; // Spin until the soft reference has been released. loop { // Extract the soft reference count from the status field. let old_soft_count = (old_status & arc::SOFT_COUNT_MASK) >> arc::SOFT_COUNT_SHIFT; // Decrement the soft reference count, checking for underflow. let new_soft_count = match old_soft_count.checked_sub(1) { Some(soft_count) => soft_count, None => panic!("soft count underflow"), }; // Clear the soft reference count bit field. let new_status = old_status & !arc::SOFT_COUNT_MASK; // Splice the decremented soft reference count into the status field. let new_status = new_status | new_soft_count << arc::SOFT_COUNT_SHIFT; // Atomically update the status field, synchronizing with reference acquires. match (*header).status.compare_exchange_weak(old_status, new_status, Release, Relaxed) { // CAS succeeded. Ok(_) => { // Check if all soft references have been released. if new_soft_count == 0 { // Drop the arc header. (*header).drop::<R>(data); // Get the block of memory containing the arc structure. let block = Block::from_raw_parts(header as *mut u8, size); // Deallocate the block. AllocTag::from_ptr(header as *mut u8).dealloc(block); } // Return the unwrapped resident. return Ok(resident); }, // CAS failed; update the status field and try again. Err(status) => old_status = status, } } }, // CAS failed; update the status field and try again. Err(status) => old_status = status, } } } else { // Synchronize with relocation initiation. atomic::fence(Release); // Get a fat pointer to the relocated resident, synchronizing with relocation completion. let relocation = block::set_address(data, (*header).relocation.load(Acquire)); // Check if the relocation has completed. if !relocation.is_null() { // Temporarily reify the arc's relocation lease. let relocation = mem::transmute::<*mut R::Data, Hard<'a, R>>(relocation); // Recurse into the relocated lease. self = relocation.clone(); // Discard the borrowed relocation lease. mem::forget(relocation); // Get a pointer to the relocated resident. data = self.data.as_ptr(); // Get a pointer to the relocated header. header = (data as *mut u8).wrapping_sub(offset) as *mut ArcHeader<R::Meta>; // Load the relocated status field and try again. old_status = (*header).status.load(Relaxed); } else { // Can't unwrap a relocating resident. return Err(self); } } } } } /// Consumes this hard lease, traversing any completed relocations, /// and returns the shared resident. /// /// # Panics /// /// Panics if there are any outstanding hard, mutable, or immutable leases. pub fn unwrap(self) -> R::Target where R: ResidentUnwrap<Hard<'a, R>> { match self.try_unwrap() { Ok(resident) => resident, Err(_) => panic!("aliased resident"), } } } impl<'a, R: Resident> Holder<'a> for Hard<'a, R> { #[inline] fn holder(&self) -> &'a dyn Hold<'a> { AllocTag::from_ptr(self.header() as *mut u8).holder() } } impl<'a, R: Resident> Lease for Hard<'a, R> { type Data = R::Data; type Meta = R::Meta; #[inline] fn data(&self) -> *mut R::Data { self.data.as_ptr() } #[inline] fn meta(&self) -> *mut R::Meta { unsafe { &mut (*self.header()).meta } } } impl<'a, R: ResidentHash<Ref<'a, R>>> Hash for Hard<'a, R> { #[inline] fn hash<H: Hasher>(&self, state: &mut H) { Hash::hash(&self.borrow(), state); } } impl<'a, R: ResidentDisplay<Ref<'a, R>>> Display for Hard<'a, R> { #[inline] fn fmt(&self, f: &mut Formatter) -> fmt::Result { Display::fmt(&self.borrow(), f) } } impl<'a, R: ResidentDebug<Ref<'a, R>>> Debug for Hard<'a, R> { #[inline] fn fmt(&self, f: &mut Formatter) -> fmt::Result { Debug::fmt(&self.borrow(), f) } } impl<'a, R: Resident> Pointer for Hard<'a, R> { #[inline] fn fmt(&self, f: &mut Formatter) -> fmt::Result { Pointer::fmt(&self.data.as_ptr(), f) } } impl<'a, R: Resident> TryClone for Hard<'a, R> { fn try_clone(&self) -> Result<Hard<'a, R>, HoldError> { unsafe { // Get a pointer to the shared resident. let data = self.data.as_ptr(); // Get a pointer to the arc header preceding the resident. let header = arc::header::<R>(data); // Load the status field; synchronized by subsequent CAS. let mut old_status = (*header).status.load(Relaxed); // Spin until a hard reference is acquired. loop { // Extract the hard reference count from the status field. let old_hard_count = old_status & arc::HARD_COUNT_MASK; // Increment the hard reference count. let new_hard_count = old_hard_count.wrapping_add(1); // Check if the incremented hard reference count overflows its bit field. if new_hard_count > arc::HARD_COUNT_MAX { return Err(HoldError::Unsupported("hard count overflow")); } // Clear the hard reference count bit field. let new_status = old_status & !arc::HARD_COUNT_MASK; // Splice the incremented hard reference count into the status field. let new_status = new_status | new_hard_count; // Atomically update the status field, synchronizing with reference releases. match (*header).status.compare_exchange_weak(old_status, new_status, Acquire, Relaxed) { // CAS succeeded; return a new hard lease. Ok(_) => return Ok(Hard::from_raw(data)), // CAS failed; update the status field and try again. Err(status) => old_status = status, } } } } } impl<'a, R: Resident> Clone for Hard<'a, R> { fn clone(&self) -> Hard<'a, R> { self.try_clone().unwrap() } } impl<'a, 'b, R: ResidentStow<'b, Hard<'a, R>, Hard<'b, R>>> Stow<'b, Hard<'b, R>> for Hard<'a, R> { unsafe fn stow(src: *mut Hard<'a, R>, dst: *mut Hard<'b, R>, hold: &Hold<'b>) -> Result<(), HoldError> { // Get a pointer to the source resident. let src_data = (*src).data.as_ptr(); // Get the alignment of the resident. let src_align = mem::align_of_val(&*src_data); // Get the offset of the resident in the arc structure by rounding up // the size of the arc header to the alignment of the resident. let src_offset = mem::size_of::<ArcHeader<R::Meta>>() .wrapping_add(src_align).wrapping_sub(1) & !src_align.wrapping_sub(1); // Get a pointer to the source header by subtracting the resident's // offset in the arc structure. let src_header = (src_data as *mut u8).wrapping_sub(src_offset) as *mut ArcHeader<R::Meta>; // Load the status field; synchronized by subsequent CAS. let mut old_status = (*src_header).status.load(Relaxed); // Spin until the relocated flag is set. loop { // Check if the source resident can be mutably referenced. if old_status & arc::READ_LOCKED_MASK == 0 { // Set the relocated flag in the status field. let new_status = old_status | arc::RELOCATED_FLAG; // Atomically update the status field, synchronizing with relocation initiation and traversal. match (*src_header).status.compare_exchange_weak(old_status, new_status, SeqCst, Relaxed) { // CAS succeeded. Ok(_) => { // Update the status field. old_status = new_status; // Move initiated. break; }, // CAS failed; update the status field and try again. Err(status) => old_status = status, } } else { // Check if the source resident has already relocated. if old_status & arc::RELOCATED_FLAG != 0 { // Synchronize with relocation initiation. atomic::fence(Release); // Get a fat pointer to the source resident, synchronizing with relocation completion. let relocation = block::set_address(src_data, (*src_header).relocation.load(Acquire)); // Check if the relocation has completed. if !relocation.is_null() { // Temporarily reify the arc's relocation lease. let relocation = mem::transmute::<*mut R::Data, Hard<'b, R>>(relocation); // Set the destination lease to a clone of the relocation lease. ptr::write(dst, relocation.clone()); // Discard the borrowed relocation lease. mem::forget(relocation); // Return successfully. return Ok(()); } } // Concurrently relocating; reload the status field and spin. old_status = (*src_header).status.load(Relaxed); } } // Compute the layout of the destination arc structure, capturing the offset of its resident field. let (dst_layout, dst_offset) = Layout::for_type::<ArcHeader<R::Meta>>() .extended(R::new_resident_layout(&*src))?; // Allocate a block of memory to hold the new arc structure, bailing on failure. let dst_block = match hold.alloc(dst_layout) { // Allocation succeeded. Ok(block) => block, // Allocation failed. Err(error) => { // Spin until the relocated flag is unset. loop { // Unset the relocated flag in the status field. let new_status = old_status & !arc::RELOCATED_FLAG; // Atomically update the status field, synchronizing with reference acquires and releases. match (*src_header).status.compare_exchange_weak(old_status, new_status, SeqCst, Relaxed) { // CAS succeeded; return the allocation error. Ok(_) => return Err(error), // CAS failed; update the status field and try again. Err(status) => old_status = status, } } }, }; // Get a pointer to the header of the new arc. let dst_header = dst_block.as_ptr() as *mut ArcHeader<R::Meta>; // Initialize the new arc's relocation address to zero. ptr::write(&mut (*dst_header).relocation, AtomicUsize::new(0)); // Initialize the new arc's status field with two hard references, // owned by the relocation reference of the source lease, and the other // owned by the destination lease. ptr::write(&mut (*dst_header).status, AtomicUsize::new(2)); // Get a fat pointer to the destination resident. let dst_data = block::set_address(src_data, (dst_header as usize).wrapping_add(dst_offset)); // Initialize the destination lease. ptr::write(dst, Hard::from_raw(dst_data)); // Try to stow the resident. if let err @ Err(_) = R::resident_stow(&mut *src, &mut *dst, hold) { // Free the newly allocated arc. hold.dealloc(dst_block); // Spin until the relocated flag is unset. loop { // Unset the relocated flag in the status field. let new_status = old_status & !arc::RELOCATED_FLAG; // Atomically update the status field, synchronizing with relocation initiation and traversal. match (*src_header).status.compare_exchange_weak(old_status, new_status, SeqCst, Relaxed) { // CAS succeeded; return the stow error. Ok(_) => return err, // CAS failed; update the status field and try again. Err(status) => old_status = status, } } } // Write the relocation address of the new resident into the old arc header, // synchronizing with relocation traversals, completing the relocation. (*src_header).relocation.store(dst_data as *mut u8 as usize, Release); // Return successfully. Ok(()) } unsafe fn unstow(src: *mut Hard<'a, R>, dst: *mut Hard<'b, R>) { // Get a pointer to the source resident. let src_data = (*src).data.as_ptr(); // Get the alignment of the resident. let align = mem::align_of_val(&*src_data); // Get the offset of the resident in the arc structure by rounding up // the size of the arc header to the alignment of the resident. let offset = mem::size_of::<ArcHeader<R::Meta>>() .wrapping_add(align).wrapping_sub(1) & !align.wrapping_sub(1); // Get a pointer to the source header. let src_header = (src_data as *mut u8).wrapping_sub(offset) as *mut ArcHeader<R::Meta>; // Get a pointer to the destination resident. let dst_data = (*dst).data.as_ptr(); // Get a pointer to the destination header. let dst_header = (dst_data as *mut u8).wrapping_sub(offset) as *mut ArcHeader<R::Meta>; // Load the destination status field; synchronized by subsequent CAS. let mut old_dst_status = (*dst_header).status.load(Relaxed); // Spin until the source arc's relocation lease has been dropped. loop { // Check if the source arc's relocation lease is unique. if old_dst_status == arc::UNIQUE_STATUS { // Forward lease is unique, clear the source arc's relocation address. // Can't race with relocation traversal because the src and dst // pointers can't be aliased outside the call stack. (*src_header).relocation.store(0, Release); // Load the source status field; synchronized by subsequent CAS. let mut old_src_status = (*src_header).status.load(Relaxed); // Spin until the source relocated flag is unset. loop { // Unset the relocated flag in the status field. let new_src_status = old_src_status & !arc::RELOCATED_FLAG; // Atomically update the status field, synchronizing with relocation initiation and traversal. match (*src_header).status.compare_exchange_weak(old_src_status, new_src_status, SeqCst, Relaxed) { // CAS succeeded; proceed. Ok(_) => break, // CAS failed; update the status field and try again. Err(status) => old_src_status = status, } } // Unstow the resident. R::resident_unstow(&mut *src, &mut *dst); // Compute the total size of the arc structure. let size = offset.wrapping_add(R::resident_size(dst_data, &mut (*dst_header).meta)); // Get the memory block containing the destination arc. let dst_block = Block::from_raw_parts(dst as *mut u8, size); // Deallocate the destination arc. AllocTag::from_ptr(dst_header as *mut u8).dealloc(dst_block); // Move has been fully reverted. return; } else { // Forward lease is aliased (within the current call stack); // release the source arc's hard reference. // Extract the hard reference count from the status field. let old_hard_count = old_dst_status & arc::HARD_COUNT_MASK; // Decrement the hard reference count, checking for underflow. let new_hard_count = match old_hard_count.checked_sub(1) { Some(hard_count) => hard_count, None => panic!("hard count underflow"), }; // Clear the hard reference count field. let new_dst_status = old_dst_status & !arc::HARD_COUNT_MASK; // Splice the decremented hard reference count into the status field. let new_dst_status = new_dst_status | new_hard_count; // Atomically update the destination status field, synchronizing with reference acquires. match (*dst_header).status.compare_exchange_weak(old_dst_status, new_dst_status, Release, Relaxed) { // CAS succeeded; hard reference released; relocation has been fully reverted. Ok(_) => return, // CAS failed; update the status field and try again. Err(status) => old_dst_status = status, } } } } } unsafe impl<'a, #[may_dangle] R: Resident> Drop for Hard<'a, R> { fn drop(&mut self) { unsafe { // Get a pointer to the shared resident. let data = self.data.as_ptr(); // Get the alignment of the resident. let align = mem::align_of_val(&*data); // Get the offset of the resident in the arc structure by rounding up // the size of the arc header to the alignment of the resident. let offset = mem::size_of::<ArcHeader<R::Meta>>() .wrapping_add(align).wrapping_sub(1) & !align.wrapping_sub(1); // Get a pointer to the arc header by subtracting the resident's // offset in the arc structure. let header = (data as *mut u8).wrapping_sub(offset) as *mut ArcHeader<R::Meta>; // Compute the total size of the arc structure. let size = offset.wrapping_add(R::resident_size(data, &mut (*header).meta)); // Load the status field; synchronized by subsequent CAS. let mut old_status = (*header).status.load(Relaxed); // Spin until the hard reference has been released. loop { // Extract the hard reference count from the status field. let old_hard_count = old_status & arc::HARD_COUNT_MASK; // Decrement the hard reference count, checking for underflow. let new_hard_count = match old_hard_count.checked_sub(1) { Some(hard_count) => hard_count, None => panic!("hard count underflow"), }; // Clear the hard reference count field. let new_status = old_status & !arc::HARD_COUNT_MASK; // Splice the decremented hard reference count into the status field. let new_status = new_status | new_hard_count; // Check if any hard references will remain. if new_hard_count != 0 { // Atomically update the status field, synchronizing with reference acquires. match (*header).status.compare_exchange_weak(old_status, new_status, Release, Relaxed) { // CAS succeeded; hard reference released. Ok(_) => return, // CAS failed; update the status field and try again. Err(status) => old_status = status, } } else { // Extract the soft reference count from the status field. let old_soft_count = (old_status & arc::SOFT_COUNT_MASK) >> arc::SOFT_COUNT_SHIFT; // Check if all soft references have dropped. if old_soft_count == 0 { // Store the new status field; can't fail because we're the last reference of any kind. (*header).status.store(new_status, Relaxed); // Check if the resident hasn't relocated. if new_status & arc::RELOCATED_FLAG == 0 { // Drop the shared resident. R::resident_drop(data, &mut (*header).meta); } // Drop the arc header. (*header).drop::<R>(data); // Get the block of memory containing the arc structure. let block = Block::from_raw_parts(header as *mut u8, size); // Deallocate the block. AllocTag::from_ptr(header as *mut u8).dealloc(block); return; } else { // Convert our hard reference into a soft reference to avoid racing with other soft refs. let new_soft_count = old_soft_count.wrapping_add(1); // Check if the incremented soft reference count overflows its bit field. if new_soft_count > arc::SOFT_COUNT_MAX { panic!("soft count overflow"); } // Clear the soft reference count bit field. let new_status = new_status & !arc::SOFT_COUNT_MASK; // Splice the incremented soft reference count into the status field. let new_status = new_status | new_soft_count << arc::SOFT_COUNT_SHIFT; // Atomically update the status field, synchronizing with reference acquires and releases. match (*header).status.compare_exchange_weak(old_status, new_status, SeqCst, Relaxed) { // CAS succeeded; the last hard reference has been released. Ok(_) => { // Check if the resident hasn't relocated. if new_status & arc::RELOCATED_FLAG == 0 { // Drop the shared resident. R::resident_drop(data, &mut (*header).meta); } // Update the status field. old_status = new_status; // Spin until the soft reference has been released. loop { // Extract the soft reference count from the status field. let old_soft_count = (old_status & arc::SOFT_COUNT_MASK) >> arc::SOFT_COUNT_SHIFT; // Decrement the soft reference count, checking for underflow. let new_soft_count = match old_soft_count.checked_sub(1) { Some(soft_count) => soft_count, None => panic!("soft count underflow"), }; // Clear the soft reference count bit field. let new_status = old_status & !arc::SOFT_COUNT_MASK; // Splice the decremented soft reference count into the status field. let new_status = new_status | new_soft_count << arc::SOFT_COUNT_SHIFT; // Atomically update the status field, synchronizing with reference acquires. match (*header).status.compare_exchange_weak(old_status, new_status, Release, Relaxed) { // CAS succeeded. Ok(_) => { // Check if all soft references have been released. if new_soft_count == 0 { // Shared resident has already been dropped; drop the arc header. (*header).drop::<R>(data); // Get the block of memory containing the arc structure. let block = Block::from_raw_parts(header as *mut u8, size); // Deallocate the block. AllocTag::from_ptr(header as *mut u8).dealloc(block); } return; }, // CAS failed; update the status field and try again. Err(status) => old_status = status, } } }, // CAS failed; update the status field and try again. Err(status) => old_status = status, } } } } } } }
50.659538
124
0.542908
ac83f36fb6ff827c23ad841c6cfe06083732e9ac
1,043
kt
Kotlin
app/src/main/java/com/luca020400/classiperlo/ui/cp/CpViewModel.kt
luca020400/Classiperlo
f43b17111a810fe9b9d5ccfa4ce9d15367b6b862
[ "Apache-2.0" ]
2
2019-12-01T17:36:50.000Z
2019-12-06T09:09:10.000Z
app/src/main/java/com/luca020400/classiperlo/ui/cp/CpViewModel.kt
luca020400/Classiperlo
f43b17111a810fe9b9d5ccfa4ce9d15367b6b862
[ "Apache-2.0" ]
null
null
null
app/src/main/java/com/luca020400/classiperlo/ui/cp/CpViewModel.kt
luca020400/Classiperlo
f43b17111a810fe9b9d5ccfa4ce9d15367b6b862
[ "Apache-2.0" ]
null
null
null
package com.luca020400.classiperlo.ui.cp import androidx.lifecycle.ViewModel import androidx.lifecycle.liveData import com.luca020400.classiperlo.classes.DataItem import com.luca020400.classiperlo.classes.Url import kotlinx.coroutines.Dispatchers import okhttp3.OkHttpClient import okhttp3.Request import org.jsoup.Jsoup class CpViewModel : ViewModel() { private val client = OkHttpClient() val data = liveData(Dispatchers.IO) { val request = Request.Builder().url("http://www.classiperlo.altervista.org") .get().build() try { client.newCall(request).execute().use { if (!it.isSuccessful) throw Exception("Unexpected code $it") val doc = Jsoup.parse(it.body?.string()) emit(doc.select("#cssmenu > ul > li").filter { it.text() != "Contatto" }.map { element -> DataItem(element.text(), Url(element.select("a").attr("href"))) }.toMutableList()) } } catch (e: Exception) { } } }
33.645161
105
0.633749
63e10d50a223151b1628c839567a28e02d5ba323
1,470
dart
Dart
lib/ui/settings/log_settings.dart
qurm/meshtastic-flutter
c294a86f6a6621721fd2ea80fb94c5e55c2ee478
[ "Apache-2.0" ]
5
2021-04-03T10:03:19.000Z
2021-12-08T16:12:17.000Z
lib/ui/settings/log_settings.dart
qurm/meshtastic-flutter
c294a86f6a6621721fd2ea80fb94c5e55c2ee478
[ "Apache-2.0" ]
null
null
null
lib/ui/settings/log_settings.dart
qurm/meshtastic-flutter
c294a86f6a6621721fd2ea80fb94c5e55c2ee478
[ "Apache-2.0" ]
2
2021-04-14T23:48:05.000Z
2021-05-06T10:31:45.000Z
import 'package:logger/logger.dart'; // import 'package:logger_flutter/logger_flutter.dart'; // logger.v("Verbose log"); // logger.d("Debug log"); // logger.i("Info log"); // logger.w("Warning log"); // logger.e("Error log"); // logger.wtf("What a terrible failure log"); Logger appLogger = Logger( // output: ExampleLogOutput(), level: Level.debug, printer: PrettyPrinter( methodCount: 4, // number of method calls to be displayed errorMethodCount: 8, printTime: true, ), ); Logger userLogger = // sl.registerSingleton<Logger>( Logger( // output: ExampleLogOutput(), level: Level.debug, // printer: SimpleLogPrinter(''), printer: PrettyPrinter( methodCount: 0, // number of method calls to be displayed errorMethodCount: 4, printTime: true, ), ); // instanceName: 'userLogger'); //used in logger_flutter /* class ExampleLogOutput extends ConsoleOutput { @override void output(OutputEvent event) { super.output(event); LogConsole.add(event); } } */ // see https://github.com/leisim/logger/issues/31 class SimpleLogPrinter extends LogPrinter { final String className; SimpleLogPrinter(this.className); @override List<String> log(LogEvent event) { AnsiColor color = PrettyPrinter.levelColors[event.level]!; String emoji = PrettyPrinter.levelEmojis[event.level]!; return [color('$emoji $className - ${event.message}')]; } }
25.789474
63
0.663946
582d2fa52d113a9b09f96d8baad039bd7e81dee1
2,671
h
C
Diagram/DiagramItem.h
devonchenc/NovaImage
3d17166f9705ba23b89f1aefd31ac2db97385b1c
[ "MIT" ]
null
null
null
Diagram/DiagramItem.h
devonchenc/NovaImage
3d17166f9705ba23b89f1aefd31ac2db97385b1c
[ "MIT" ]
null
null
null
Diagram/DiagramItem.h
devonchenc/NovaImage
3d17166f9705ba23b89f1aefd31ac2db97385b1c
[ "MIT" ]
null
null
null
#pragma once #include <QGraphicsPolygonItem> #include <QDomElement> QT_BEGIN_NAMESPACE class QGraphicsOpacityEffect; class QDomDocument; QT_END_NAMESPACE class DiagramItem : public QObject, public QGraphicsPolygonItem { Q_OBJECT public: enum { Type = UserType + 15 }; enum DiagramType { None, Rect, RoundRect, Circle, Ellipse, Rhombus, Parallelogram, Text, Line, Arrow, Plot, ImageQuality, Angle }; enum Direction { TopLeft = 0, Top, TopRight, Left, Right, BottomLeft, Bottom, BottomRight }; DiagramItem(QGraphicsItem* parent = nullptr); DiagramItem(DiagramType diagramType, QMenu* contextMenu = nullptr, QGraphicsItem* parent = nullptr); ~DiagramItem(); DiagramType diagramType() const { return _diagramType; } QPolygonF polygon() const { return _polygon; } QPixmap image() const; int type() const override { return Type;} DiagramItem* clone(); void setRectF(const QRectF& rect); void setTransparency(int value); int transparency(); void setDrawingFinished(bool finished); virtual QDomElement saveToXML(QDomDocument& doc); virtual void loadFromXML(const QDomElement& e); void statisticsInfo(); signals: void itemSelectedChange(QGraphicsItem* item); void itemChanged(); protected: void mousePressEvent(QGraphicsSceneMouseEvent* event) override; void mouseMoveEvent(QGraphicsSceneMouseEvent* event) override; void mouseReleaseEvent(QGraphicsSceneMouseEvent* event) override; void hoverMoveEvent(QGraphicsSceneHoverEvent* event) override; void hoverEnterEvent(QGraphicsSceneHoverEvent* event) override; void hoverLeaveEvent(QGraphicsSceneHoverEvent* event) override; void paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr) override; void contextMenuEvent(QGraphicsSceneContextMenuEvent* event) override; QVariant itemChange(GraphicsItemChange change, const QVariant &value) override; private: QPolygonF scaledPolygon(const QPolygonF& old, Direction direction, const QPointF& newPos); int changeIndex(int index); QList<QPointF> resizeHandlePoints(); bool isCloseEnough(const QPointF& p1, const QPointF& p2); private: DiagramType _diagramType; QPolygonF _polygon; QGraphicsOpacityEffect* _effect; QMenu* _contextMenu; static constexpr qreal resizePointWidth = 5; static constexpr qreal closeEnoughDistance = 12; bool _resizeMode = false; Direction _scaleDirection; bool _drawingFinished = false; int _previousMode; QString _info; };
31.423529
117
0.723699
0638f74d337fcb15cbd428cf450d4900ea2f4959
2,017
rs
Rust
native/list/src/test_iter.rs
passcod/blograph
f35f7c6aa302e50673d4a1a094f06b7887bcd198
[ "0BSD" ]
2
2017-11-26T12:57:57.000Z
2020-10-30T12:02:56.000Z
native/list/src/test_iter.rs
passcod/blograph
f35f7c6aa302e50673d4a1a094f06b7887bcd198
[ "0BSD" ]
21
2017-03-09T10:59:34.000Z
2021-09-25T09:38:46.000Z
native/list/src/test_iter.rs
passcod/blograph
f35f7c6aa302e50673d4a1a094f06b7887bcd198
[ "0BSD" ]
null
null
null
use std::sync::Arc; use super::*; #[test] fn empty_list() { assert_eq!(List::new(vec![]).iter().next(), None); } #[test] fn list_map() { assert_eq!(test_util::make_list().iter().map(|i| { i.post.slug() }).collect::<Vec<String>>(), vec![ String::from("2015/jan/25/300-shorts"), String::from("2017/feb/05/some-predictions"), String::from("2017/jan/03/mountain"), String::from("2017/jan/04/there-is-no-such-thing-as-writing-for-adults"), String::from("2017/feb/10/monthly-update"), String::from("2017/mar/10/monthly-update"), ] as Vec<String>); } #[test] fn previous() { assert_eq!(test_util::make_list().iter().map(|i| { i.previous.map(|p| p.slug()) }).collect::<Vec<Option<String>>>(), vec![ None, Some(String::from("2015/jan/25/300-shorts")), Some(String::from("2017/feb/05/some-predictions")), Some(String::from("2017/jan/03/mountain")), Some(String::from("2017/jan/04/there-is-no-such-thing-as-writing-for-adults")), Some(String::from("2017/feb/10/monthly-update")), ] as Vec<Option<String>>); } #[test] fn next() { assert_eq!(test_util::make_list().iter().map(|i| { i.next.map(|p| p.slug()) }).collect::<Vec<Option<String>>>(), vec![ Some(String::from("2017/feb/05/some-predictions")), Some(String::from("2017/jan/03/mountain")), Some(String::from("2017/jan/04/there-is-no-such-thing-as-writing-for-adults")), Some(String::from("2017/feb/10/monthly-update")), Some(String::from("2017/mar/10/monthly-update")), None, ] as Vec<Option<String>>); } #[test] fn no_copy() { let list = test_util::make_list(); let list_item = list.find_by_slug("2015/jan/25/300-shorts").unwrap(); assert_eq!(Arc::strong_count(list_item), 1); let mut iter = list.iter(); let iter_item = iter.next().unwrap().post; assert_eq!(Arc::strong_count(list_item), 2); assert_eq!(list_item, &iter_item); }
32.015873
87
0.600397
4cdb56b2217e02d4b93f90b3d95944a2f353bf09
1,738
asm
Assembly
src/util/icon/gotolab.asm
olifink/qspread
d6403d210bdad9966af5d2a0358d4eed3f1e1c02
[ "MIT" ]
null
null
null
src/util/icon/gotolab.asm
olifink/qspread
d6403d210bdad9966af5d2a0358d4eed3f1e1c02
[ "MIT" ]
null
null
null
src/util/icon/gotolab.asm
olifink/qspread
d6403d210bdad9966af5d2a0358d4eed3f1e1c02
[ "MIT" ]
null
null
null
* Sprite gotolab * * Mode 4 * +----|---------------+ * - g gg gg w w - * |g g g ww ww | * |g gg gg wwwww | * |g g g g wwwww | * | g g g wwwww | * | wwwwwwwww | * | wwwwwww | * | wwwww | * | www | * | w | * | | * | w w ww ww w | * | w w w w w w w | * | w w w ww ww w | * | w www w w w w | * | ww w w ww ww ww| * +----|---------------+ * section sprite xdef mes_gotolab mes_gotolab dc.w $0100,$0000 dc.w 20,16,4,0 dc.l mcs_gotolab-* dc.l mms_gotolab-* dc.l 0 mcs_gotolab dc.w $5900,$8808 dc.w $8080,$0000 dc.w $9200,$0D0D dc.w $8080,$0000 dc.w $9B00,$0F0F dc.w $8080,$0000 dc.w $9200,$8F0F dc.w $8080,$0000 dc.w $5100,$0F0F dc.w $8080,$0000 dc.w $0000,$3F3F dc.w $E0E0,$0000 dc.w $0000,$1F1F dc.w $C0C0,$0000 dc.w $0000,$0F0F dc.w $8080,$0000 dc.w $0000,$0707 dc.w $0000,$0000 dc.w $0000,$0202 dc.w $0000,$0000 dc.w $0000,$0000 dc.w $0000,$0000 dc.w $0808,$9999 dc.w $A0A0,$0000 dc.w $0909,$5555 dc.w $2020,$0000 dc.w $0909,$5959 dc.w $A0A0,$0000 dc.w $0909,$D5D5 dc.w $2020,$0000 dc.w $0D0D,$5959 dc.w $B0B0,$0000 mms_gotolab dc.w $5959,$8888 dc.w $8080,$0000 dc.w $9292,$0D0D dc.w $8080,$0000 dc.w $9B9B,$0F0F dc.w $8080,$0000 dc.w $9292,$8F8F dc.w $8080,$0000 dc.w $5151,$0F0F dc.w $8080,$0000 dc.w $0000,$3F3F dc.w $E0E0,$0000 dc.w $0000,$1F1F dc.w $C0C0,$0000 dc.w $0000,$0F0F dc.w $8080,$0000 dc.w $0000,$0707 dc.w $0000,$0000 dc.w $0000,$0202 dc.w $0000,$0000 dc.w $0000,$0000 dc.w $0000,$0000 dc.w $0808,$9999 dc.w $A0A0,$0000 dc.w $0909,$5555 dc.w $2020,$0000 dc.w $0909,$5959 dc.w $A0A0,$0000 dc.w $0909,$D5D5 dc.w $2020,$0000 dc.w $0D0D,$5959 dc.w $B0B0,$0000 * end
17.38
24
0.543153